Virtualization platform integration method, device, equipment and storage medium

By receiving platform convergence request information and connecting the platform to be converged to a virtual bridge, the limitations and network security issues of virtualized platform convergence methods are solved, and efficient platform convergence and network security guarantees are achieved.

CN116055312BActive Publication Date: 2025-03-21XIAN ZHUJIAN INFORMATION TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211638900.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-20
Publication Date
2025-03-21
Estimated Expiration
2042-12-20

AI Technical Summary

Technical Problem

The existing virtualization platform convergence method has high limitations and directly invades the physical network, making the network security low.

Method used

By receiving platform fusion request information, obtain the network information of the platform to be fusion, and connect it to a preset virtual bridge, so that the networks of different virtualization platforms are interconnected.

Benefits of technology

The convergence of multiple virtualization platforms has been achieved, the simulation efficiency has been improved, and network security has been ensured through the isolation mechanism of the virtual bridge.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116055312B_ABST
    Figure CN116055312B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and storage medium for integrating a virtualization platform, which relates to the field of intelligent communication technology, can solve the problem of high limitations of the platform integration method, and can ensure the network security of the platform integration. The specific scheme includes: receiving platform integration request information, the request information includes a first type identifier, a first network address, a second type identifier and a second network address, the first type identifier is used to identify the platform type of the first virtualization platform to be integrated; according to the first type identifier and the first network address, the first network information of the first virtualization platform is obtained, and according to the second type identifier and the second network address, the second network information of the second virtualization platform is obtained; according to the first network information, the first virtualization platform is connected to a preset virtual bridge, and according to the second network information, the second virtualization platform is connected to the virtual bridge, so that the first virtualization platform and the second virtualization platform can communicate with each other.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, equipment and storage medium for integrating a virtualization platform. Background Art

[0002] In scenarios such as attack and defense simulation and attack and defense teaching in the attack and defense range, various virtualization platforms are usually used for network simulation. Common virtualization platforms used for simulation include: Openstack, GNS3, Eve-ng, mininet, etc. Due to the different functions of each platform, different virtualization platforms are sometimes needed to handle different business needs. However, the separation of each platform is not convenient to use. Therefore, the platform fusion method can be used to achieve the fusion of multiple virtualization platforms, thereby improving the simulation efficiency.

[0003] Currently, the integration of multiple virtualization platforms can be achieved by directly mounting virtual machines of different virtualization platforms to the physical network through a bridge network. However, the implementation of this method depends on whether the virtualization platform supports bridged networks and whether the configuration of the virtualization platform supports on-demand settings, which leads to high limitations in the implementation of this method. In addition, this method directly invades the physical network and has low network security. Summary of the invention

[0004] The present application provides a virtualization platform fusion method, device, equipment and storage medium, which can solve the problem of high limitations of platform fusion methods and ensure the network security of platform fusion.

[0005] In a first aspect of an embodiment of the present application, a method for integrating virtualization platforms is provided, which is applied to a computer device, wherein the computer device includes multiple virtualization platforms, and the method includes:

[0006] Receive platform fusion request information, where the platform fusion request information includes a first type identifier, a first network address corresponding to the first type identifier, a second type identifier, and a second network address corresponding to the second type identifier, where the first type identifier is used to identify the platform type of the first virtualization platform to be fused, and the second type identifier is used to identify the platform type of the second virtualization platform to be fused;

[0007] Acquire first network information of the first virtualization platform according to the first type identifier and the first network address, and acquire second network information of the second virtualization platform according to the second type identifier and the second network address;

[0008] The first virtualization platform is connected to a preset virtual bridge according to the first network information, and the second virtualization platform is connected to the virtual bridge according to the second network information, so that the first virtualization platform and the second virtualization platform can communicate with each other.

[0009] In one embodiment, after receiving the fusion request information, the method further includes: creating a corresponding target virtual bridge for the fusion request information;

[0010] Correspondingly, connecting the first virtualization platform and the second virtualization platform to a preset bridge includes: connecting the first virtualization platform and the second virtualization platform to a target virtual bridge.

[0011] In one embodiment, obtaining first network information of a first virtualization platform according to the first type identifier and the first network address includes:

[0012] A first communication link with the first virtualization platform is established according to the first type identifier and the first network address, and the first network information is acquired by using the first communication link.

[0013] In one embodiment, connecting the first virtualization platform to a preset virtual bridge according to the first network information includes:

[0014] If it is determined according to the first network information that the first virtualization platform includes a network connection component, the first virtualization platform is connected to the virtual bridge using the network connection component;

[0015] If it is determined according to the first network information that the first virtualization platform does not include a network connection component, after creating a network connection component for the first virtualization platform, the first virtualization platform is connected to the virtual bridge using the network connection component.

[0016] In one embodiment, the method further comprises:

[0017] Use multiple different target virtual bridges to isolate the converged virtualization platform from other virtualization platforms.

[0018] In one embodiment, the method further comprises:

[0019] If a network including a VLAN protocol is obtained in the first virtualization platform or the second virtualization platform, a virtual local area network tag corresponding to the network with the VLAN protocol is obtained;

[0020] A virtual bridge is configured according to the virtual LAN label, and the configured virtual bridge is used to isolate the converged virtualization platform from other virtualization platforms.

[0021] In one embodiment, obtaining a network including a VLAN protocol in the first virtualization platform or the second virtualization platform includes:

[0022] The network including the VLAN protocol in the first virtualization platform or the second virtualization platform is acquired by using the first communication link or the second communication link.

[0023] According to a second aspect of an embodiment of the present application, a virtualization platform fusion device is provided, the device is located in a computer device, and the computer device includes multiple virtualization platforms. The device includes:

[0024] a receiving module, configured to receive platform fusion request information, wherein the platform fusion request information includes a first type identifier, a first network address corresponding to the first type identifier, a second type identifier, and a second network address corresponding to the second type identifier, wherein the first type identifier is used to identify the platform type of the first virtualization platform to be fused, and the second type identifier is used to identify the platform type of the second virtualization platform to be fused;

[0025] an acquisition module, configured to acquire first network information of a first virtualization platform according to a first type identifier and a first network address, and to acquire second network information of a second virtualization platform according to a second type identifier and a second network address;

[0026] The processing module is used to connect the first virtualization platform to a preset virtual bridge according to the first network information, and connect the second virtualization platform to the virtual bridge according to the second network information, so that the first virtualization platform and the second virtualization platform can communicate with each other.

[0027] According to a third aspect of an embodiment of the present application, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the method for integrating the virtualization platform in the first aspect of the embodiment of the present application is implemented.

[0028] According to a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for integrating the virtualization platforms in the first aspect of the embodiments of the present application is implemented.

[0029] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0030] The fusion method of virtualization platforms provided in the embodiment of the present application, after receiving the platform fusion request information, obtains the first network information of the first virtual platform to be fused according to the first type identifier and the first network address in the platform fusion request information, obtains the second network information of the second virtualization platform according to the second type identifier and the second network address in the platform fusion request information, and then connects the first virtualization platform to the preset virtual bridge according to the first network information, and connects the second virtualization platform to the above-mentioned virtual bridge according to the second network information, so that the first virtualization platform and the second virtualization platform can be interconnected. The fusion method of virtualization platforms provided in the present application is to connect multiple platforms to be fused to the virtual bridge according to the network conditions of the platforms to be fused to realize platform fusion, so it has high applicability and can ensure the network security of platform fusion. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A structural diagram of a computer device provided in an embodiment of the present application;

[0032] Figure 2 A flowchart of a virtualization platform fusion method provided in an embodiment of the present application;

[0033] Figure 3 A schematic diagram of a virtualization platform fusion process provided in an embodiment of the present application;

[0034] Figure 4 A structural diagram of a fusion device of a virtualization platform provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0036] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "plurality" means two or more.

[0037] Additionally, the use of “based on” or “according to” is meant to be open and inclusive, as a process, step, calculation, or other action “based on” or “according to” one or more conditions or values ​​may, in practice, be based on additional conditions or beyond values.

[0038] In scenarios such as attack and defense simulation and attack and defense teaching in the attack and defense range, various virtualization platforms are usually used for network simulation. Common virtualization platforms used for simulation include: Openstack, GNS3, Eve-ng, mininet, etc. Due to the different functions of each platform, different virtualization platforms are sometimes needed to handle different business needs. However, the separation of each platform is not convenient to use. Therefore, the platform fusion method can be used to achieve the fusion of multiple virtualization platforms, thereby improving the simulation efficiency.

[0039] At present, virtual machines of different virtualization platforms are directly mounted on the physical network through bridged networks, so that the integration of multiple virtualization platforms can be achieved. However, the implementation of this method depends on whether the virtualization platform supports bridged networks and whether the configuration of the virtualization platform supports on-demand settings, which leads to high limitations in the implementation of this method. In addition, this method directly invades the physical network and has low network security.

[0040] The virtualization platform can also be called a virtual machine manager (VMM). Common virtualization platforms include VmWare, OpenStack, etc. The general functions include the management of virtual machines and virtual networks, and the application directions are different. It can be used for range simulation, cloud computing, or simple virtual machine management.

[0041] Network simulation platforms are usually used for simulating networks and network components. Common ones include GNS3, EVE-NG, mininet, etc. Unlike virtualization platforms, they have powerful network customization capabilities. They are usually used for teaching demonstrations, learning training, technical research, shooting range simulation, etc.

[0042] Virtualization platform convergence means that each virtualization platform can independently start its own virtual resources and access each other's virtual resources. The virtual resources here include: virtual machines, virtual node resources, and virtual network resources.

[0043] In order to solve the above problems, an embodiment of the present application provides a method for fusing virtualization platforms. After receiving the platform fusion request information, the first network information of the first virtual platform to be fused is obtained according to the first type identifier and the first network address in the platform fusion request information, and the second network information of the second virtualization platform is obtained according to the second type identifier and the second network address in the platform fusion request information. Then, the first virtualization platform is connected to the preset virtual bridge according to the first network information, and the second virtualization platform is connected to the above virtual bridge according to the second network information, so that the first virtualization platform and the second virtualization platform can be interconnected. The method for fusing virtualization platforms provided in the present application is to connect multiple platforms to be fused to the virtual bridge according to the network conditions of the platforms to be fused to realize platform fusion. Therefore, it has high applicability and can ensure the network security of platform fusion.

[0044] The execution subject of the virtualization platform fusion method provided in the embodiment of the present application can be a computer device, a physical computer or a server including multiple virtualization platforms, and the embodiment of the present application does not make any specific limitation on this.

[0045] This application takes the execution subject as a computer device as an example. Figure 1 The internal structure diagram of a computer device provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the computer device includes a processor and a memory connected via a system bus. The processor is used to provide computing and control capabilities. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement the steps of a method for integrating a virtualization platform provided in each of the above embodiments. The internal memory provides a cached operating environment for the operating system and the computer program in the non-volatile storage medium.

[0046] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0047] Based on the above execution subject, the embodiment of the present application provides a method for integrating a virtualization platform. Figure 2 As shown, the method comprises the following steps:

[0048] Step 201: Receive platform fusion request information.

[0049] Among them, the platform fusion request information includes a first type identifier, a first network address corresponding to the first type identifier, a second type identifier and a second network address corresponding to the second type identifier. The first type identifier is used to identify the platform type of the first virtualization platform to be fused, and the second type identifier is used to identify the platform type of the second virtualization platform to be fused.

[0050] It should be noted that there may be two or more virtualization platforms to be merged. Correspondingly, the first virtualization platform may be one virtualization platform or multiple virtualization platforms, and the second virtualization platform may be one virtualization platform or multiple virtualization platforms. The embodiment of the present application is described by taking the first virtualization platform and the second virtualization platform as one platform respectively as an example.

[0051] Step 202: Acquire first network information of the first virtualization platform according to the first type identifier and the first network address, and acquire second network information of the second virtualization platform according to the second type identifier and the second network address.

[0052] The first network information includes all network-related information of the first virtualization platform, including network configuration information, network connection information, etc. Similarly, the second network information includes all network-related information of the second virtualization platform.

[0053] Step 203: Connect the first virtualization platform to a preset virtual bridge according to the first network information, and connect the second virtualization platform to the virtual bridge according to the second network information, so that the first virtualization platform and the second virtualization platform can communicate with each other.

[0054] Among them, a virtual bridge is usually a simulation of a physical switch, also known as a virtual switch or bridge, which plays the role of network layer 2 forwarding.

[0055] That is to say, according to the network situation of the first virtualization platform, the first virtualization platform is connected to a virtual bridge. Similarly, according to the network situation of the second virtualization platform, the second virtualization platform is also connected to a virtual bridge. In this way, network interconnection, that is, integration, between the first virtualization platform and the second virtualization platform can be achieved.

[0056] Similarly, according to the above method, if more than two virtualization platforms are to be integrated, the network information of each virtualization platform is obtained respectively, and then each virtualization platform is connected to a virtual bridge according to the network information of each virtualization platform to achieve the integration of multiple virtualization platforms. In this way, to achieve the integration of multiple virtualization platforms, it is only necessary to connect the multiple virtualization platforms to be integrated to a virtual bridge according to the network conditions of each virtualization platform to achieve the integration of multiple virtualization platforms.

[0057] During the actual execution process, each time a platform fusion request is received, a corresponding virtualization platform fusion method needs to be executed. Therefore, in order to facilitate distinction and recording, a corresponding unique identifier can be generated for each platform fusion request. The identifier can be represented by NID, and the network ID and platform type of the platform to be integrated corresponding to the identifier can be obtained through the identifier.

[0058] like Figure 3 As shown, the embodiment of the present application provides a schematic diagram of virtualization platform fusion, wherein each virtualization platform corresponds to a half connector, and the half connector is used to perform the processing of the above steps 202 and 203. Therefore, the corresponding virtualization platform can be connected to the virtual bridge through the half connector, so as to achieve network fusion.

[0059] The embodiment of the present application provides a method for fusing virtualization platforms. After receiving platform fusion request information, the first network information of the first virtual platform to be fused is obtained according to the first type identifier and the first network address in the platform fusion request information, and the second network information of the second virtualization platform is obtained according to the second type identifier and the second network address in the platform fusion request information. Then, the first virtualization platform is connected to a preset virtual bridge according to the first network information, and the second virtualization platform is connected to the above-mentioned virtual bridge according to the second network information, so that the first virtualization platform and the second virtualization platform can be interconnected. The method for fusing virtualization platforms provided in the present application is to connect multiple platforms to be fused to a virtual bridge according to the network conditions of the platforms to be fused to realize platform fusion. Therefore, it has high applicability and can ensure the network security of platform fusion.

[0060] Optionally, after receiving the fusion request information in step 201, the method further includes: creating a corresponding target virtual bridge for the fusion request information;

[0061] Correspondingly, connecting the first virtualization platform and the second virtualization platform to a preset bridge includes: connecting the first virtualization platform and the second virtualization platform to a target virtual bridge.

[0062] That is to say, for the virtual bridge to be connected to the virtualization platform to be merged, a corresponding virtual bridge can be created each time the fusion is performed. At the same time, multiple different target virtual bridges can be used to isolate the merged virtualization platform from other virtualization platforms or other merged virtualization platforms.

[0063] Optionally, in step 202, the process of acquiring the first network information of the first virtualization platform according to the first type identifier and the first network address may be:

[0064] A first communication link with the first virtualization platform is established according to the first type identifier and the first network address, and the first network information is acquired by using the first communication link.

[0065] Similarly, in the above step 202, the process of obtaining the second network information of the second virtualization platform according to the second type identifier and the second network address may be:

[0066] A second communication link with the second virtualization platform is established according to the second type identifier and the second network address, and the second network information is acquired by using the second communication link.

[0067] It is understandable that, since the network communication protocols or network configuration parameters in each virtualization platform are different, it is necessary to establish a communication connection with each virtualization platform before obtaining the network information of each virtualization platform.

[0068] Optionally, the process of connecting the first virtualization platform to the preset virtual bridge according to the first network information in step 203 may be:

[0069] If it is determined according to the first network information that the first virtualization platform includes a network connection component, the first virtualization platform is connected to the virtual bridge using the network connection component;

[0070] If it is determined according to the first network information that the first virtualization platform does not include a network connection component, after creating a network connection component for the first virtualization platform, the first virtualization platform is connected to the virtual bridge using the network connection component.

[0071] Similarly, the process of connecting the second virtualization platform to the preset virtual bridge according to the second network information in the above step 203 may be:

[0072] If it is determined according to the second network information that the second virtualization platform includes a network connection component, the second virtualization platform is connected to the virtual bridge using the network connection component;

[0073] If it is determined according to the second network information that the second virtualization platform does not include a network connection component, after creating a network connection component for the second virtualization platform, the second virtualization platform is connected to the virtual bridge using the network connection component.

[0074] The network connection component is a component that connects the virtualization platform to the bridge, and the network connection component may be a bridge or a virtual network card, etc. If it is determined according to the network information of the virtualization platform that the platform includes a network connection component, the network connection component may be directly used to connect the virtualization platform to the virtual bridge. If it is determined according to the network information of the virtualization platform that the platform does not include a network connection component, a network connection component needs to be created for the virtualization platform according to the network information of the virtualization platform, and then the network connection component is used to connect the virtualization platform to the virtual bridge.

[0075] Optionally, the method further includes: utilizing a plurality of different target virtual network bridges to isolate the merged virtualization platform from other virtualization platforms through network isolation.

[0076] Optionally, the method also includes: if a network including a VLAN protocol is obtained in the first virtualization platform or the second virtualization platform, then obtaining a virtual local area network tag corresponding to the network with the VLAN protocol; configuring a virtual bridge according to the virtual local area network tag, and using the configured virtual bridge to isolate the fused virtualization platform from other virtualization platforms.

[0077] Specifically, the network including the VLAN protocol in the first virtualization platform or the second virtualization platform may be acquired through the first communication link or the second communication link.

[0078] It is understandable that among the multiple virtualization platforms, some need to be integrated and some need to be isolated. For example, there are multiple platforms including platform 1, platform 2, platform 3 and platform 4. Then, platform 1 and platform 2 may be integrated to obtain platform 12, and platform 3 and platform 4 may be integrated to obtain platform 34. At the same time, platform 12 and platform 34 need to be isolated.

[0079] In response to the above situation, in one implementation, the isolation of platform 12 and platform 34 can be achieved by configuring different virtual bridges for platform 12 and platform 34. That is, the isolation of platform 12 and platform 34 can be achieved by connecting platform 1 and platform 2 to one virtual bridge and connecting platform 3 and platform 4 to another virtual bridge.

[0080] In another implementation, platform 1, platform 2, platform 3, and platform 4 may be connected to a virtual bridge, but a corresponding communication link may be configured for platform 12 in the virtual bridge to isolate platform 12 from platform 34. The configuration of this communication link may be configured according to the virtual LAN tag corresponding to the network of the VLAN protocol included in the platform.

[0081] VLAN is a virtual local area network, which is a group of logical devices and users. These devices and users are not restricted by physical location and can be organized according to functions, departments and applications. The communication between them is as if they are in the same network segment, hence the name virtual local area network. VLAN network has a tag attribute. Networks with the same tag can access each other, and networks with different tags are isolated by default.

[0082] The virtualization platform fusion method provided in the embodiment of the present application can achieve the effect of network fusion of different virtualization platforms, and can give full play to the capabilities of each platform without being limited to a single platform. It can achieve the function of taking what is needed and deploying together. At the network level, cross-platform network layer 2 intercommunication is allowed. Different types of virtualized resources can access each other. And it can reuse functions such as Dynamic Host Configuration Protocol (DHCP, Dynamic Host Configuration Protocol), which can reduce the repeated setting of such network components. At the coding level, through the design of semi-connectors, repeated development is reduced and the problem of increasing the number of combinations is avoided. In other words, if a connection component needs to be developed between different types of platforms, then N platforms will need to develop C (N, 2) types of connection components. The design greatly increases the development efficiency.

[0083] like Figure 4 As shown, the embodiment of the present application further provides a fusion device of a virtualization platform, the device is located in a computer device, the computer device includes multiple virtualization platforms, and the device includes:

[0084] A receiving module 11 is used to receive platform fusion request information, where the platform fusion request information includes a first type identifier, a first network address corresponding to the first type identifier, a second type identifier, and a second network address corresponding to the second type identifier, where the first type identifier is used to identify the platform type of the first virtualization platform to be fused, and the second type identifier is used to identify the platform type of the second virtualization platform to be fused;

[0085] An acquisition module 12, configured to acquire first network information of a first virtualization platform according to the first type identifier and the first network address, and to acquire second network information of a second virtualization platform according to the second type identifier and the second network address;

[0086] The processing module 13 is used to connect the first virtualization platform to a preset virtual bridge according to the first network information, and connect the second virtualization platform to the virtual bridge according to the second network information, so that the first virtualization platform and the second virtualization platform can communicate with each other.

[0087] In one embodiment, the device further comprises a creation module 14

[0088] Correspondingly, the processing module 13 is used to connect the first virtualization platform and the second virtualization platform to the target virtual bridge.

[0089] In one embodiment, the acquisition module 12 is specifically used for:

[0090] A first communication link with the first virtualization platform is established according to the first type identifier and the first network address, and the first network information is acquired by using the first communication link.

[0091] In one embodiment, the processing module 13 is specifically used for:

[0092] If it is determined according to the first network information that the first virtualization platform includes a network connection component, the first virtualization platform is connected to the virtual bridge using the network connection component;

[0093] If it is determined according to the first network information that the first virtualization platform does not include a network connection component, after creating a network connection component for the first virtualization platform, the first virtualization platform is connected to the virtual bridge using the network connection component.

[0094] In one embodiment, the device further comprises an isolation module 15, and the isolation module 15 is used to:

[0095] Use multiple different target virtual bridges to isolate the converged virtualization platform from other virtualization platforms.

[0096] In one embodiment, the isolation module 15 is further used for:

[0097] If a network including a VLAN protocol is obtained in the first virtualization platform or the second virtualization platform, a virtual local area network tag corresponding to the network with the VLAN protocol is obtained;

[0098] A virtual bridge is configured according to the virtual LAN label, and the configured virtual bridge is used to isolate the converged virtualization platform from other virtualization platforms.

[0099] In one embodiment, the isolation module 15 is specifically used for:

[0100] The network including the VLAN protocol in the first virtualization platform or the second virtualization platform is acquired by using the first communication link or the second communication link.

[0101] The fusion device of the virtualization platform provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here.

[0102] For the specific definition of the fusion device of the virtualization platform, please refer to the definition of the fusion method of the virtualization platform above, which will not be repeated here. Each module in the above-mentioned fusion device of the virtualization platform can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0103] In another embodiment of the present application, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the virtualization platform fusion method of the embodiment of the present application are implemented.

[0104] In another embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the virtualization platform fusion method in the embodiment of the present application are implemented.

[0105] In another embodiment of the present application, a computer program product is also provided. The computer program product includes computer instructions. When the computer instructions are executed on the fusion device of the virtualization platform, the fusion device of the virtualization platform executes each step of the fusion method of the virtualization platform in the method flow shown in the above method embodiment.

[0106] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer execution instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with a medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0107] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.

[0108] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for integrating a virtualization platform, characterized in that: Applied to a computer device, the computer device includes a plurality of virtualization platforms, the method comprising: Receive platform fusion request information, the platform fusion request information including a first type identifier, a first network address corresponding to the first type identifier, a second type identifier, and a second network address corresponding to the second type identifier, the first type identifier is used to identify the platform type of the first virtualization platform to be fused, and the second type identifier is used to identify the platform type of the second virtualization platform to be fused; Acquire first network information of the first virtualization platform according to the first type identifier and the first network address, and acquire second network information of the second virtualization platform according to the second type identifier and the second network address; Connecting the first virtualization platform to a preset virtual bridge according to the first network information, and connecting the second virtualization platform to the virtual bridge according to the second network information, so that the first virtualization platform and the second virtualization platform are interconnected in network; The step of connecting the first virtualization platform to a preset virtual bridge according to the first network information includes: If it is determined according to the first network information that the first virtualization platform includes a network connection component, the first virtualization platform is connected to the virtual bridge using the network connection component; If it is determined according to the first network information that the first virtualization platform does not include the network connection component, after creating a network connection component for the first virtualization platform, the first virtualization platform is connected to the virtual bridge using the network connection component.

2. The method according to claim 1, characterized in that After receiving the fusion request information, the method further includes: creating a corresponding target virtual bridge for the fusion request information; Correspondingly, connecting the first virtualization platform and the second virtualization platform to a preset bridge includes: connecting the first virtualization platform and the second virtualization platform to the target virtual bridge.

3. The method according to claim 1, characterized in that The acquiring, according to the first type identifier and the first network address, first network information of the first virtualization platform includes: A first communication link with the first virtualization platform is established according to the first type identifier and the first network address, and the first network information is acquired by using the first communication link.

4. The method according to claim 2, characterized in that: The method further comprises: Use multiple different target virtual bridges to isolate the converged virtualization platform from other virtualization platforms.

5. The method according to claim 3, characterized in that: The method further comprises: If a network including a VLAN protocol is obtained in the first virtualization platform or the second virtualization platform, a virtual local area network tag corresponding to the network with the VLAN protocol is obtained; The virtual network bridge is configured according to the virtual LAN tag, and the configured virtual network bridge is used to perform network isolation of the merged virtualization platform from other virtualization platforms.

6. The method according to claim 5, characterized in that The acquiring of a network including a VLAN protocol in the first virtualization platform or the second virtualization platform includes: The first communication link or the second communication link is used to obtain a network including a VLAN protocol in the first virtualization platform or the second virtualization platform.

7. A fusion device for a virtualization platform, characterized in that: Located in a computer device, the computer device includes multiple virtualization platforms, and the device includes: a receiving module, configured to receive platform fusion request information, wherein the platform fusion request information includes a first type identifier, a first network address corresponding to the first type identifier, a second type identifier, and a second network address corresponding to the second type identifier, wherein the first type identifier is used to identify the platform type of the first virtualization platform to be fused, and the second type identifier is used to identify the platform type of the second virtualization platform to be fused; an acquisition module, configured to acquire first network information of the first virtualization platform according to the first type identifier and the first network address, and to acquire second network information of the second virtualization platform according to the second type identifier and the second network address; a processing module, configured to connect the first virtualization platform to a preset virtual network bridge according to the first network information, and connect the second virtualization platform to the virtual network bridge according to the second network information, so that the first virtualization platform and the second virtualization platform are interconnected in network; The processing module is specifically used to connect the first virtualization platform to the virtual bridge by using the network connection component if it is determined according to the first network information that the first virtualization platform includes a network connection component; if it is determined according to the first network information that the first virtualization platform does not include the network connection component, create a network connection component for the first virtualization platform, and then connect the first virtualization platform to the virtual bridge by using the network connection component.

8. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the method for integrating the virtualization platform according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method for integrating the virtualization platform described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Method and equipment for providing network for virtual machine and container in cloud platform

    CN113114552A