IP configuration method, system, device and storage medium

By packaging the configuration module, tray module, and communication module into an executable program, the problem of low efficiency in virtual machine IP configuration is solved, realizing an automated and efficient IP configuration process and avoiding issues of duplicate and occupied pipe names.

CN116599928BActive Publication Date: 2026-04-14HANGZHOU DBAPPSECURITY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Virtual machine IP configuration is inefficient, and traditional methods are prone to issues such as duplicate pipe names and serial port communication conflicts, leading to configuration failures.

Method used

The program is packaged into an executable program by configuring the module, tray module, and communication module. The tray module is hidden in the operating system taskbar, and the communication module modifies the pipe name and simulates configuration commands at regular intervals to ensure that the pipe is not occupied, thereby achieving automated IP configuration.

Benefits of technology

It improves the automation efficiency of virtual machine IP configuration, prevents pipe duplication and occupation, ensures successful communication, and enhances the reliability and efficiency of configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116599928B_ABST
    Figure CN116599928B_ABST
Patent Text Reader

Abstract

The application relates to an IP configuration method, system, device and storage medium, which sends a runnable program to a client by packaging a configuration module, a tray module and a communication module, wherein the configuration module is used for receiving a configuration instruction, the tray module is used for controlling opening or closing of the configuration module, and the communication module is used for sending a communication request to a virtual host through a pipe and starting the runnable program through the client to obtain and configure an IP of the virtual host, so that the pipe cannot be occupied by other programs, the IP is automatically obtained and configured through the pipe and the virtual machine by using the runnable program, the problem of low virtual machine IP configuration efficiency in the prior art is solved, and the automatic configuration efficiency of the virtual machine IP is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of virtual machine IP configuration, and in particular to an IP configuration method, system, device, and storage medium. Background Technology

[0002] A virtual machine (VM) is a computer system simulated by software, possessing complete hardware system functionality. Virtual hosting, also called web hosting, refers to a portion of disk space allocated on a web server. Users can rent this space to host their websites and application components, providing necessary data storage and transmission functions. Each virtual host has its own independent domain name and IP address (or a shared IP address), possessing complete Internet server functionality. On the same hardware and operating system, different server programs run for multiple users, operating independently; each user has its own portion of system resources (IP address, file storage space, memory, CPU time, etc.). Virtual hosts are completely independent; from the outside, each virtual host behaves exactly like a dedicated physical host.

[0003] When users install virtual hosting products on their computers, they typically need to configure the virtual host's IP address and then access the virtual host products via that IP. Traditionally, users configure this through a terminal interface following the installation manual. However, when the network environment changes, users need to reconfigure the IP address according to the manual, which is complex and inefficient.

[0004] In existing technologies, communication is achieved by connecting to the serial port of the virtual host via a command pipe to automatically obtain the configuration IP. However, configuring the IP in this way may result in duplicate pipe names, and the serial port may not be open or may be occupied by other programs, causing connection failures and reducing the efficiency of virtual machine IP configuration.

[0005] Currently, no effective solution has been proposed to address the issue of low efficiency in virtual machine IP configuration in related technologies. Summary of the Invention

[0006] This application provides an IP configuration method, system, device, and storage medium to at least address the problem of low efficiency in virtual machine IP configuration in related technologies.

[0007] In a first aspect, embodiments of this application provide an IP configuration method, characterized in that it includes:

[0008] The system acquires a configuration module, a tray module, and a communication module between the virtual host and the pipeline. The configuration module is used to receive configuration instructions, the tray module is used to control the opening or closing of the configuration module, and the communication module is used to send communication requests to the virtual host through the pipeline.

[0009] The configuration module, the tray module, and the communication module are packaged into an executable program and sent to the client.

[0010] The client launches the executable program to obtain and configure the IP address of the virtual host.

[0011] In some embodiments, the configuration instructions include instructions to obtain an IP address, instructions to configure an IP type, and instructions to configure a gateway.

[0012] In some embodiments, the tray module runs in the background of the runnable program and is hidden in the taskbar of the client operating system.

[0013] In some embodiments, before the communication module sends a communication request to the virtual host through the pipe, the method further includes:

[0014] The pipes are named, and their names are changed periodically.

[0015] The communication module connects to the pipe with the corresponding name and communicates with the virtual host through the pipe.

[0016] In some embodiments, the communication module sending a communication request to the virtual host through the pipe includes:

[0017] In the event of an abnormal connection between the communication module and the virtual host, the communication module is triggered to periodically send communication requests to the virtual host through the pipeline.

[0018] In some embodiments, the communication module sending a communication request to the virtual host through the pipe further includes:

[0019] When the communication module successfully connects to the virtual host, the configuration command is simulated and the simulated configuration command is input.

[0020] Log in to the client, enter the virtual host password, and if the password is correct, run the executable program.

[0021] In some embodiments, after the client closes the runnable program, the method includes:

[0022] The communication module exits the simulation environment and exits the pipeline.

[0023] Secondly, embodiments of this application provide an IP configuration system, characterized in that it includes:

[0024] The configuration module is used to receive configuration commands;

[0025] The tray module is used to control the opening or closing of the configuration module;

[0026] The communication module is used to send communication requests to the virtual host through a pipe;

[0027] A client is used to launch the executable program to obtain and configure the IP address of the virtual host, wherein the executable program is packaged from the configuration module, the tray module, and the communication module.

[0028] Thirdly, embodiments of this application provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the steps of the IP configuration method as described in any one of the first aspects above.

[0029] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, characterized in that, when executed by a processor, the program implements the steps of the IP configuration method as described in any one of the first aspects above.

[0030] Compared to related technologies, the IP configuration method, system, device, and storage medium provided in this application package a configuration module, a tray module, and a communication module into an executable program and send it to the client. The configuration module is used to receive configuration instructions, the tray module is used to control the opening or closing of the configuration module, and the communication module is used to send communication requests to the virtual host through a pipe. The client starts the executable program to obtain and configure the virtual host's IP address, ensuring that the pipe is not occupied by other programs. The executable program communicates with the virtual machine through the pipe to automatically obtain and configure the IP address, which solves the problem of low efficiency in virtual machine IP configuration in related technologies and improves the automatic configuration efficiency of virtual machine IP addresses.

[0031] Details of one or more embodiments of this application are set forth in the following drawings and description to make other features, objects and advantages of this application more readily apparent. Attached Figure Description

[0032] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0033] Figure 1 This is a hardware structure block diagram of a terminal for an IP configuration method according to an embodiment of this application;

[0034] Figure 2 This is a flowchart illustrating the IP configuration method in existing technologies;

[0035] Figure 3 This is a flowchart of an IP configuration method according to an embodiment of this application;

[0036] Figure 4 This is a flowchart illustrating an embodiment of an IP configuration method according to this application;

[0037] Figure 5 This is a client startup flowchart of an embodiment of the IP configuration method of this application;

[0038] Figure 6 This is a structural diagram of an IP configuration system according to an embodiment of this application. Detailed Implementation

[0039] To make the objectives, technical solutions, and advantages of this application clearer, the application is described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.

[0040] Obviously, the accompanying drawings described below are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar scenarios based on these drawings without any inventive effort. Furthermore, it is understood that although the efforts made in this development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, any changes to design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as insufficient disclosure of the content of this application.

[0041] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0042] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms “a,” “an,” “an,” “the,” and similar words used in this application do not indicate quantity limitation and may indicate singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units not listed, or may include other steps or units inherent to these processes, methods, products, or apparatuses. The term “multiple” used in this application refers to two or more.

[0043] The method embodiments provided in this example can be executed on a terminal, computer, or similar computing device. For example, it can run on a terminal. Figure 1 This is a hardware structure block diagram of the terminal for the IP configuration method in this embodiment. For example... Figure 1 As shown, a terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 and a memory 104 for storing data are also included. The processor 102 may be, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA). The terminal may also include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that… Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the terminal described above. For example, the terminal may also include components that are larger than... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown are illustrated.

[0044] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the IP configuration method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0045] The transmission device 106 is used to receive or send data via a network. This network includes a wireless network provided by the terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 can be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0046] Virtual hosting, also known as shared hosting or virtual servers, is a technology that enables multi-domain services on a single host or a group of hosts. Serial communication refers to a communication method where peripherals and computers transmit data bit by bit via data signal lines, ground lines, and control lines. Compared to other communication methods, serial communication uses fewer data lines, saving communication costs in long-distance communication, but its transmission speed is lower than parallel transmission. Named pipes are a first-in, first-out (FIFO) communication mechanism between computer processes, an extension of traditional pipes. Traditional pipes are anonymous pipes, whose lifetime does not exceed the lifetime of the process that created the pipe, but the lifetime of named pipes can be as long as the operating system's runtime.

[0047] Figure 2 This is a flowchart illustrating the IP configuration method in existing technologies. Figure 2 As is known in existing technologies, serial communication within a virtual machine is typically used. After configuring the serial port name in the virtual host, direct communication is established via a pipe. The program listens for HTTP (Hypertext Transfer) events in the background and obtains the current host IP address through the HTTP interface. While this method can automatically obtain the virtual host IP address, using pre-defined pipe names may lead to pipe duplication issues, and the serial port may be connected to by other programs, causing communication errors and reducing IP configuration efficiency.

[0048] This application provides an IP configuration method. Figure 3 This is a flowchart of the IP configuration method in this embodiment, as follows: Figure 3 As shown, the method includes the following steps:

[0049] Step S301: Obtain the configuration module, the tray module, and the communication module between the virtual host and the pipe. The configuration module is used to receive configuration instructions, the tray module is used to control the opening or closing of the configuration module, and the communication module is used to send communication requests to the virtual host through the pipe.

[0050] The configuration module includes an interactive interface developed using a front-end framework. Through this interface, users interact with the configuration commands, enabling the visual acquisition and setting of IP-related configurations. The tray module includes a system tray program. The system tray is a special area, typically located at the bottom of the desktop, allowing users to access running programs at any time. In this embodiment, the system tray program is developed using the lightweight Golang language and open-source libraries. Golang is a statically typed, compiled, concurrent programming language with garbage collection. Golang ensures both the security and performance of statically compiled languages ​​and the high efficiency of dynamic language development and maintenance. The tray module has basic functions such as opening the virtual machine, opening the configuration module, and exiting the configuration module. The communication module is the core module for communicating with the virtual host and quickly configuring IPs. After the program starts, the configuration module periodically sends communication requests to the virtual host via a pipe. After a successful communication connection, it simulates shell commands for client login. A shell is a shell-command-line interface, a traditional user-computer interaction interface that allows users to directly input commands to execute various types of tasks. When the program exits, the communication module exits the shell environment and then exits the pipe to prevent other programs from connecting to the pipe and entering the shell environment without a password, thus compromising system security.

[0051] Step S302: Package the configuration module, tray module, and communication module into an executable program and send it to the client.

[0052] After acquiring the configuration module, tray module, and communication module, the configuration module, tray module, and communication module are packaged into an executable program and sent to the virtual host. The virtual host files are also packaged and distributed through CD-ROM products or other means for user use.

[0053] Step S303: Start the executable program via the client to obtain and configure the IP address of the virtual host.

[0054] After receiving the relevant products, the client starts the executable program, opens the virtual machine and configuration interface through the tray module, enters relevant configuration commands through the configuration module, and conducts pipeline communication through the communication module to obtain and configure the virtual host's IP.

[0055] Steps S301 to S303 above involve packaging the configuration module, tray module, and communication module into an executable program and sending it to the client. The configuration module receives configuration instructions, the tray module controls the opening and closing of the configuration module, and the communication module sends communication requests to the virtual host through a pipe. The client starts the executable program to obtain and configure the virtual host's IP address, ensuring that the pipe is not occupied by other programs. By using the executable program to communicate with the virtual machine through the pipe to automatically obtain and configure the IP address, the problem of low efficiency in virtual machine IP configuration in related technologies is solved, and the efficiency of automatic virtual machine IP configuration is improved.

[0056] In some embodiments, the configuration instructions include instructions to obtain an IP address, instructions to configure an IP type, and instructions to configure a gateway.

[0057] After the program enters the shell environment, it needs to use relevant configuration commands to complete the relevant predefined IP configuration commands. The IP configuration commands include command types such as obtaining IP, configuring IP type, and configuring gateway. The IP functions implemented by the corresponding configuration commands are exposed to the front-end configuration page through HTTP interface and complete the interaction with the user.

[0058] In some embodiments, the tray module runs in the background of the runnable program and is hidden in the taskbar of the client operating system.

[0059] The tray module runs in the background of the executable program and does not occupy a large amount of space. It is hidden in the operating system's taskbar and can be quickly opened or closed when in use, enabling quick access to the configuration module.

[0060] In some embodiments, before the communication module sends a communication request to the virtual host through the pipe, the method further includes: naming the pipe and periodically modifying the pipe name; the communication module connecting to the pipe with the corresponding name and communicating with the virtual host through the pipe.

[0061] Before the communication module communicates with the virtual host via a pipe, using pre-defined pipe names without naming the pipes can lead to duplicate names and communication errors. Therefore, the serial port needs to be configured and the pipe name named before the communication module sends a communication request to the virtual host. Furthermore, this application periodically modifies the virtual host's pipe name in the background to prevent duplicate names and ensure normal communication between the communication module and the virtual host. After naming, the communication module connects to the pipe with the corresponding name and communicates with the virtual host through that pipe.

[0062] In some embodiments, the communication module sending communication requests to the virtual host through the pipe includes: triggering the communication module to periodically send communication requests to the virtual host through the pipe when the connection between the communication module and the virtual host is abnormal.

[0063] After the packaged executable program starts, the communication module begins to send communication requests to the pipeline. In the event of an abnormal situation such as a disconnection between the communication module and the pipeline, the communication module will trigger a timed request to request communication with the pipeline, continuously connecting to the pipeline at certain time intervals until the connection is successful or the program stops, ensuring that the connection can be quickly restored and reconnected in the event of an unexpected disconnection.

[0064] In some embodiments, the communication module sending a communication request to the virtual host via a pipe further includes: simulating configuration instructions and inputting the simulated configuration instructions when the communication module successfully connects to the virtual host; logging into the client, entering the virtual host password, and running an executable program if the password is correct.

[0065] After the communication module successfully connects to the virtual host, it simulates shell configuration commands and logs in to the client using the virtual host password configured in the implementation. In case of login errors such as incorrect passwords, it provides the user with relevant error messages. It also includes an automatic logout timeout function; if the login fails after an excessively long time, the user is automatically logged out.

[0066] In some embodiments, the communication module exits the simulation environment and exits the pipeline after the client closes the runnable program.

[0067] Each time the background program exits, the program must strictly execute the current user's exit command. The communication module will automatically exit the shell simulation environment and then exit the pipe to prevent the pipe from being occupied by other programs when the program exits, which would allow other programs to enter the shell environment without a password and cause problems.

[0068] Figure 4This is a flowchart illustrating an embodiment of the IP configuration method of this application, as shown below. Figure 4 As shown, the IP configuration HTML interface serves as the configuration module, developed using a modern front-end framework with good interactive effects. HTML, or Hypertext Markup Language, is a standard markup language used to create web pages. As a fundamental technology, it is commonly used by websites to design user interfaces for web pages, web applications, and mobile applications. Web browsers can read HTML files and render them into visual web pages. The Windows (Microsoft Windows) system tray program serves as the tray module, developed using the lightweight Golang language and open-source libraries. It has basic functions such as opening the virtual machine, opening the configuration webpage, and exiting. The pipe communication logic serves as the communication module; after connecting to the shell, it can automatically log in, obtain, and configure the IP address. The configuration module, tray module, and communication module are packaged into an executable (.exe) program, along with a virtual host file, for distribution as a CD-ROM product. In actual use, the serial port is pre-configured, and the pipe (\\.\pipe) is named to obtain and configure the virtual host's IP address.

[0069] The tray module is used for background program execution, occupying minimal space and being easy to develop. Hidden within the operating system's task manager, it allows for quick opening and closing of the IP configuration page. The communication module is the core of the system, responsible for communication with the virtual host and quick IP configuration. After program startup, this module periodically requests pipe communication, triggering these requests in case of connection drops or other anomalies. Upon successful connection, it simulates shell commands for terminal login. In case of login errors, such as incorrect passwords, it provides relevant prompts and notifies the user to contact relevant personnel for assistance. When the program exits, the communication module proactively exits the shell environment and then the pipe to prevent unauthorized connections and ensures access to the shell environment without a password. The configuration module includes backend IP configuration commands and a frontend interactive interface. Once in the shell environment, it uses relevant configuration commands to complete predefined IP configuration tasks, including obtaining IP addresses, configuring IP types, configuring static IPs, and configuring gateways. These commands are exposed to the frontend via HTTP interfaces, allowing for the visual acquisition and setting of IP-related configurations.

[0070] Figure 5 This is a client startup flowchart of an embodiment of the IP configuration method of this application, as shown below. Figure 5As shown, after receiving the relevant products, the customer launches the executable program, which is packaged from a configuration module, a tray module, and a communication module. The virtual machine and configuration interface are opened through the tray module, relevant configuration commands are entered through the configuration module, and communication is established via the communication module to obtain and configure the virtual host's IP address.

[0071] This application also provides an IP configuration system. Figure 6 This is a hardware structure diagram of the IP configuration system according to an embodiment of this application, such as... Figure 6 As shown, this system includes:

[0072] Configuration module 61 is used to receive configuration instructions;

[0073] The tray module 62 is used to control the opening or closing of the configuration module 61;

[0074] Communication module 63 is used to send communication requests to the virtual host through a pipe;

[0075] Client 64 is used to launch an executable program to obtain and configure the IP of the virtual host. The executable program is packaged from configuration module 61, tray module 62 and communication module 63.

[0076] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can reside in the same processor; or the above modules can be located in different processors in any combination.

[0077] This application also provides a computer device, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of the IP configuration method provided in the above embodiments.

[0078] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps in the IP configuration methods provided in the above embodiments.

[0079] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0080] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0081] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. An IP configuration method, characterized in that, include: The system acquires a configuration module, a tray module, and a communication module between the virtual host and the pipeline. The configuration module receives configuration commands, the tray module controls the opening and closing of the configuration module, and the communication module sends communication requests to the virtual host via the pipeline. The sending of communication requests to the virtual host via the pipeline by the communication module includes: triggering the communication module to periodically send communication requests to the virtual host via the pipeline in the event of a connection failure between the communication module and the virtual host; and, before sending communication requests to the virtual host via the pipeline, naming the pipeline and periodically modifying the pipeline name; the communication module connects to the pipeline with the corresponding name and communicates with the virtual host through the pipeline. The configuration module, the tray module, and the communication module are packaged into an executable program and sent to the client. The client launches the executable program to obtain and configure the IP address of the virtual host.

2. The IP configuration method according to claim 1, characterized in that, The configuration instructions include instructions to obtain IP address, instructions to configure IP type, and instructions to configure gateway.

3. The IP configuration method according to claim 1, characterized in that, The tray module runs in the background of the executable program and is hidden in the taskbar of the client operating system.

4. The IP configuration method according to claim 1, characterized in that, The communication module further includes sending communication requests to the virtual host through the pipeline: When the communication module successfully connects to the virtual host, the configuration command is simulated and the simulated configuration command is input. Log in to the client, enter the virtual host password, and if the password is correct, run the executable program.

5. The IP configuration method according to claim 1, characterized in that, After the client closes the runnable program, the method includes: The communication module exits the simulation environment and exits the pipeline.

6. An IP configuration system, characterized in that, include: The configuration module is used to receive configuration commands; The tray module is used to control the opening or closing of the configuration module; The communication module is used to send communication requests to the virtual host through a pipe; The communication module is also used to trigger the communication module to periodically send communication requests to the virtual host through the pipe when the connection between the communication module and the virtual host is abnormal. The communication module is also used to name the pipes and periodically modify the names of the pipes; the communication module connects to the pipes with corresponding names and communicates with the virtual host through the pipes; A client is used to launch an executable program to obtain and configure the IP address of the virtual host, wherein the executable program is packaged from the configuration module, the tray module, and the communication module.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the IP configuration method as described in any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the IP configuration method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method for setting IP address for virtual machine

    CN105472058A

  • Method and device for configuring IP (Internet Protocol) address of virtual machine

    CN107707687A

  • Mechanism for drivers to create alternate namespaces

    US20070136356A1