[go: up one dir, main page]

CN110247807A - A kind of port management method and device - Google Patents

A kind of port management method and device Download PDF

Info

Publication number
CN110247807A
CN110247807A CN201910562245.6A CN201910562245A CN110247807A CN 110247807 A CN110247807 A CN 110247807A CN 201910562245 A CN201910562245 A CN 201910562245A CN 110247807 A CN110247807 A CN 110247807A
Authority
CN
China
Prior art keywords
port
network
data library
management platform
platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910562245.6A
Other languages
Chinese (zh)
Inventor
孙庆良
邵宪津
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910562245.6A priority Critical patent/CN110247807A/en
Publication of CN110247807A publication Critical patent/CN110247807A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请提供一种端口管理方法及装置,所述方法包括:当在云管理平台创建网络设备后,获取云计算平台创建的所述网络设备对应的端口信息;将所述网络设备对应的端口信息同步到所述云管理平台中的端口数据库表中。本申请可以实现端口资源的实时同步,提高了云管理平台的易用性。

The present application provides a port management method and device. The method includes: after creating a network device on the cloud management platform, obtaining the port information corresponding to the network device created by the cloud computing platform; Synchronized to the port database table in the cloud management platform. The application can realize real-time synchronization of port resources, and improves the usability of the cloud management platform.

Description

一种端口管理方法及装置A port management method and device

技术领域technical field

本发明涉及云计算领域,尤其涉及端口管理方法及装置。The invention relates to the field of cloud computing, in particular to a port management method and device.

背景技术Background technique

在云管理平台中,网络一直是最复杂的部分,各种设备比如虚拟机、路由器、负载均衡器、VPN等都会使用网络,它们接入网络后,自动生成一个端口。由于各种端口的类型复杂,而现有的云管理平台无法及时同步底层端口信息,因此给端口的管理带来了一定困难。In the cloud management platform, the network has always been the most complicated part. Various devices such as virtual machines, routers, load balancers, VPNs, etc. will use the network. After they are connected to the network, a port is automatically generated. Due to the complex types of various ports, the existing cloud management platform cannot synchronize the underlying port information in time, which brings certain difficulties to port management.

发明内容Contents of the invention

本申请所要解决的技术是提供一种端口管理方法及装置,可以实现端口资源的实时同步,提高了云管理平台的易用性。The technology to be solved in this application is to provide a port management method and device, which can realize real-time synchronization of port resources and improve the usability of the cloud management platform.

为了解决上述技术问题,本申请提供了一种端口管理方法,应用于云管理平台,所述方法包括:In order to solve the above technical problems, the present application provides a port management method applied to a cloud management platform, the method comprising:

当在云管理平台创建网络设备后,获取云计算平台创建的所述网络设备对应的端口信息;After the network device is created on the cloud management platform, the port information corresponding to the network device created by the cloud computing platform is obtained;

将所述网络设备对应的端口信息同步到所述云管理平台中的端口数据库表中。Synchronize the port information corresponding to the network device to the port database table in the cloud management platform.

可选地,所述端口信息包括端口身份标识码ID、网络ID、网络协议IP地址、媒体访问控制MAC地址、设备类型、设备ID。Optionally, the port information includes port identity code ID, network ID, network protocol IP address, media access control MAC address, device type, and device ID.

可选地,所述将所述网络设备对应的端口信息保存到所述云管理平台中的端口数据库表中之前,所述方法还包括:Optionally, before saving the port information corresponding to the network device into the port database table in the cloud management platform, the method further includes:

在云管理平台中创建端口数据库表,所述端口数据库表的字段包括端口ID、网络ID、IP地址、MAC地址、设备类型、设备ID,所述设备类型包括虚拟机、路由器、负载均衡器、虚拟专用网络VPN。Create a port database table in the cloud management platform, the fields of the port database table include port ID, network ID, IP address, MAC address, device type, device ID, and the device type includes virtual machine, router, load balancer, Virtual private network VPN.

可选地,所述将所述网络设备对应的端口信息同步到所述云管理平台中的端口数据库表中包括:Optionally, the synchronizing the port information corresponding to the network device to the port database table in the cloud management platform includes:

通过所述云计算平台的接口查找所述网络设备对应的端口信息;Find port information corresponding to the network device through the interface of the cloud computing platform;

将所述查找到的端口信息同步保存到端口数据库表的相应字段中。Synchronously save the found port information into the corresponding fields of the port database table.

可选地,所述方法还包括:Optionally, the method also includes:

通过所述端口数据库表查询IP地址与设备信息的对应关系,所述设备信息包括设备类型和/或设备名称。The corresponding relationship between the IP address and the device information is queried through the port database table, and the device information includes a device type and/or a device name.

本申请还提供一种端口管理装置,应用于云管理平台,所述装置包括:存储器和处理器;The present application also provides a port management device, which is applied to a cloud management platform, and the device includes: a memory and a processor;

所述存储器,用于保存用于端口管理的程序;The memory is used to store a program for port management;

所述处理器,用于读取执行所述用于端口管理的程序,执行如下操作:The processor is configured to read and execute the program for port management, and perform the following operations:

当在云管理平台创建网络设备后,获取云计算平台创建的所述网络设备对应的端口信息;After the network device is created on the cloud management platform, the port information corresponding to the network device created by the cloud computing platform is obtained;

将所述网络设备对应的端口信息同步到所述云管理平台中的端口数据库表中。Synchronize the port information corresponding to the network device to the port database table in the cloud management platform.

可选地,所述端口信息包括端口身份标识码ID、网络ID、网络协议IP地址、媒体访问控制MAC地址、设备类型、设备ID。Optionally, the port information includes port identity code ID, network ID, network protocol IP address, media access control MAC address, device type, and device ID.

可选地,所述处理器,用于读取执行所述用于端口管理的程序,还执行如下操作:Optionally, the processor is configured to read and execute the program for port management, and further perform the following operations:

所述将所述网络设备对应的端口信息保存到所述云管理平台中的端口数据库表中之前,在云管理平台中创建端口数据库表,所述端口数据库表的字段包括端口ID、网络ID、IP地址、MAC地址、设备类型、设备ID,所述设备类型包括虚拟机、路由器、负载均衡器、虚拟专用网络VPN。Before the port information corresponding to the network device is saved in the port database table in the cloud management platform, a port database table is created in the cloud management platform, and the fields of the port database table include port ID, network ID, IP address, MAC address, device type, and device ID. The device type includes a virtual machine, a router, a load balancer, and a virtual private network (VPN).

可选地,所述将所述网络设备对应的端口信息同步到所述云管理平台中的端口数据库表中包括:Optionally, the synchronizing the port information corresponding to the network device to the port database table in the cloud management platform includes:

通过所述云计算平台的接口查找所述网络设备对应的端口信息;Find port information corresponding to the network device through the interface of the cloud computing platform;

将所述查找到的端口信息同步保存到端口数据库表的相应字段中。Synchronously save the found port information into the corresponding fields of the port database table.

可选地,所述处理器,用于读取执行所述用于端口管理的程序,还执行如下操作:Optionally, the processor is configured to read and execute the program for port management, and further perform the following operations:

通过所述端口数据库表查询IP地址与设备信息的对应关系,所述设备信息包括设备类型和/或设备名称。The corresponding relationship between the IP address and the device information is queried through the port database table, and the device information includes a device type and/or a device name.

与现有技术相比,本申请包括:当在云管理平台创建网络设备后,获取云计算平台创建的所述网络设备对应的端口信息;将所述网络设备对应的端口信息同步到所述云管理平台中的端口数据库表中。本申请可以实现端口资源的实时同步,提高了云管理平台的易用性。Compared with the prior art, the present application includes: after the network device is created on the cloud management platform, obtaining the port information corresponding to the network device created by the cloud computing platform; synchronizing the port information corresponding to the network device to the cloud In the port database table in the management platform. The application can realize real-time synchronization of port resources, and improves the usability of the cloud management platform.

附图说明Description of drawings

附图用来提供对本申请技术方案的理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。The accompanying drawings are used to provide an understanding of the technical solution of the present application, and constitute a part of the description, and are used together with the embodiments of the present application to explain the technical solution of the present application, and do not constitute a limitation to the technical solution of the present application.

图1是本发明实施例一的端口管理方法的流程示意图;FIG. 1 is a schematic flowchart of a port management method according to Embodiment 1 of the present invention;

图2是本发明实施例一的端口管理方法的另一流程示意图;FIG. 2 is another schematic flowchart of the port management method in Embodiment 1 of the present invention;

图3是本发明实施例一的端口管理装置的结构示意图。FIG. 3 is a schematic structural diagram of a port management device according to Embodiment 1 of the present invention.

具体实施方式Detailed ways

本申请描述了多个实施例,但是该描述是示例性的,而不是限制性的,并且对于本领域的普通技术人员来说显而易见的是,在本申请所描述的实施例包含的范围内可以有更多的实施例和实现方案。尽管在附图中示出了许多可能的特征组合,并在具体实施方式中进行了讨论,但是所公开的特征的许多其它组合方式也是可能的。除非特意加以限制的情况以外,任何实施例的任何特征或元件可以与任何其它实施例中的任何其他特征或元件结合使用,或可以替代任何其它实施例中的任何其他特征或元件。The application describes a number of embodiments, but the description is illustrative rather than restrictive, and it will be obvious to those of ordinary skill in the art that within the scope of the embodiments described in the application, There are many more embodiments and implementations. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Except where expressly limited, any feature or element of any embodiment may be used in combination with, or substituted for, any other feature or element of any other embodiment.

本申请包括并设想了与本领域普通技术人员已知的特征和元件的组合。本申请已经公开的实施例、特征和元件也可以与任何常规特征或元件组合,以形成由权利要求限定的独特的发明方案。任何实施例的任何特征或元件也可以与来自其它发明方案的特征或元件组合,以形成另一个由权利要求限定的独特的发明方案。因此,应当理解,在本申请中示出和/或讨论的任何特征可以单独地或以任何适当的组合来实现。因此,除了根据所附权利要求及其等同替换所做的限制以外,实施例不受其它限制。此外,可以在所附权利要求的保护范围内进行各种修改和改变。This application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The disclosed embodiments, features and elements of this application can also be combined with any conventional features or elements to form unique inventive solutions as defined by the claims. Any feature or element of any embodiment may also be combined with features or elements from other inventive solutions to form yet another unique inventive solution as defined by the claims. It is therefore to be understood that any of the features shown and/or discussed in this application can be implemented alone or in any suitable combination. Accordingly, the embodiments are not to be limited except in accordance with the appended claims and their equivalents. Furthermore, various modifications and changes may be made within the scope of the appended claims.

此外,在描述具有代表性的实施例时,说明书可能已经将方法和/或过程呈现为特定的步骤序列。然而,在该方法或过程不依赖于本文所述步骤的特定顺序的程度上,该方法或过程不应限于所述的特定顺序的步骤。如本领域普通技术人员将理解的,其它的步骤顺序也是可能的。因此,说明书中阐述的步骤的特定顺序不应被解释为对权利要求的限制。此外,针对该方法和/或过程的权利要求不应限于按照所写顺序执行它们的步骤,本领域技术人员可以容易地理解,这些顺序可以变化,并且仍然保持在本申请实施例的精神和范围内。Furthermore, in describing representative embodiments, the specification may have presented a method and/or process as a particular sequence of steps. However, to the extent the method or process is not dependent on the specific order of steps described herein, the method or process should not be limited to the specific order of steps described. Other sequences of steps are also possible, as will be appreciated by those of ordinary skill in the art. Therefore, the specific order of the steps set forth in the specification should not be construed as limitations on the claims. In addition, claims for the method and/or process should not be limited to performing their steps in the order written, those skilled in the art can easily understand that these orders can be changed and still remain within the spirit and scope of the embodiments of the present application Inside.

实施例一Embodiment one

如图1所示,本实施例提供一种端口管理方法,包括:As shown in Figure 1, this embodiment provides a port management method, including:

步骤S101、当在云管理平台创建网络设备后,获取云计算平台创建的所述网络设备对应的端口信息;Step S101, after the network device is created on the cloud management platform, obtain the port information corresponding to the network device created by the cloud computing platform;

步骤S102、将所述网络设备对应的端口信息同步到所述云管理平台中的端口数据库表中。Step S102, synchronizing the port information corresponding to the network device to the port database table in the cloud management platform.

上述技术方案可以实现端口资源的实时同步,提高了云管理平台的易用性。The above technical solution can realize real-time synchronization of port resources, and improves the usability of the cloud management platform.

可选地,所述端口信息可以包括端口ID((Identification,身份标识码)、网络ID、IP(Internet Protocol Address,互联网络协议地址)、MAC(Media Access ControlAddress,媒体访问控制地址)、设备类型、设备ID。Optionally, the port information may include port ID ((Identification, identity code), network ID, IP (Internet Protocol Address, Internet Protocol address), MAC (Media Access Control Address, media access control address), device type , device ID.

可选地,如图2所示,所述将所述网络设备对应的端口信息保存到所述云管理平台中的端口数据库表中之前,所述方法还可以包括:Optionally, as shown in FIG. 2, before saving the port information corresponding to the network device into the port database table in the cloud management platform, the method may further include:

步骤S100、在云管理平台中创建端口数据库表,所述端口数据库表的字段包括端口ID、网络ID、IP地址、MAC地址、设备类型、设备ID,所述设备类型包括虚拟机、路由器、负载均衡器、虚拟专用网络VPN。Step S100, create a port database table in the cloud management platform, the fields of the port database table include port ID, network ID, IP address, MAC address, device type, device ID, and the device type includes virtual machine, router, load Equalizer, virtual private network VPN.

可选地,所述将所述网络设备对应的端口信息同步到所述云管理平台中的端口数据库表中可以包括:Optionally, the synchronizing the port information corresponding to the network device to the port database table in the cloud management platform may include:

通过所述云计算平台的接口查找所述网络设备对应的端口信息;Find port information corresponding to the network device through the interface of the cloud computing platform;

将所述查找到的端口信息同步保存到端口数据库表的相应字段中。Synchronously save the found port information into the corresponding fields of the port database table.

可选地,所述方法还可以包括:Optionally, the method may also include:

步骤S103、通过所述端口数据库表查询IP地址与设备信息的对应关系,所述设备信息包括设备类型和/或设备名称。Step S103, query the correspondence between the IP address and the device information through the port database table, the device information includes the device type and/or the device name.

上述技术方案可以对IP地址的使用情况进行有效展示,可以使用户清楚了解IP被哪些设备使用,提高了云管理平台的易用性。The above technical solution can effectively display the use of IP addresses, enable users to clearly understand which devices use IP addresses, and improve the usability of the cloud management platform.

如图3所示,本实施例还提供一种端口管理装置,应用于云管理平台,包括:存储器10和处理器11;As shown in FIG. 3 , this embodiment also provides a port management device, which is applied to a cloud management platform, including: a memory 10 and a processor 11;

所述存储器10,用于保存用于端口管理的程序;The memory 10 is used to store programs for port management;

所述处理器11,用于读取执行所述用于端口管理的程序,执行如下操作:The processor 11 is configured to read and execute the program for port management, and perform the following operations:

当在云管理平台创建网络设备后,获取云计算平台创建的所述网络设备对应的端口信息;After the network device is created on the cloud management platform, the port information corresponding to the network device created by the cloud computing platform is obtained;

将所述网络设备对应的端口信息同步到所述云管理平台中的端口数据库表中。Synchronize the port information corresponding to the network device to the port database table in the cloud management platform.

可选地,所述端口信息可以包括端口身份标识码ID、网络ID、网络协议IP地址、媒体访问控制MAC地址、设备类型、设备ID。Optionally, the port information may include port identity code ID, network ID, network protocol IP address, media access control MAC address, device type, and device ID.

可选地,所述处理器11,用于读取执行所述用于端口管理的程序,还可以执行如下操作:Optionally, the processor 11 is configured to read and execute the program for port management, and may also perform the following operations:

所述将所述网络设备对应的端口信息保存到所述云管理平台中的端口数据库表中之前,在云管理平台中创建端口数据库表,所述端口数据库表的字段包括端口ID、网络ID、IP地址、MAC地址、设备类型、设备ID,所述设备类型包括虚拟机、路由器、负载均衡器、虚拟专用网络VPN。Before the port information corresponding to the network device is saved in the port database table in the cloud management platform, a port database table is created in the cloud management platform, and the fields of the port database table include port ID, network ID, IP address, MAC address, device type, and device ID. The device type includes a virtual machine, a router, a load balancer, and a virtual private network (VPN).

可选地,所述将所述网络设备对应的端口信息同步到所述云管理平台中的端口数据库表中可以包括:Optionally, the synchronizing the port information corresponding to the network device to the port database table in the cloud management platform may include:

通过所述云计算平台的接口查找所述网络设备对应的端口信息;Find port information corresponding to the network device through the interface of the cloud computing platform;

将所述查找到的端口信息同步保存到端口数据库表的相应字段中。Synchronously save the found port information into the corresponding fields of the port database table.

可选地,所述处理器11,用于读取执行所述用于端口管理的程序,还可以执行如下操作:Optionally, the processor 11 is configured to read and execute the program for port management, and may also perform the following operations:

通过所述端口数据库表查询IP地址与设备信息的对应关系,所述设备信息包括设备类型和/或设备名称。The corresponding relationship between the IP address and the device information is queried through the port database table, and the device information includes a device type and/or a device name.

上述技术方案可以实现端口资源的实时同步和端口信息的展示,提高了云管理平台的易用性。The above technical solution can realize real-time synchronization of port resources and display of port information, and improves the usability of the cloud management platform.

示例一example one

下面结合以云海平台为例进一步说明本申请的端口管理方法。The port management method of the present application will be further described below in combination with the Yunhai platform as an example.

云海平台为浪潮公司开发的统一云管理平台,集成了OpenStack(一个开源的云计算管理平台项目)。以虚拟机为例,在云海平台创建虚拟机后(虚拟机的创建可以由云海平台的计算模块完成),云海平台后台会调用OpenStack接口以便在底层OpenStack创建虚拟机,底层OpenStack创建虚拟机后,底层OpenStack会自动生成虚拟机网卡对应的端口,该端口记录着网卡信息及虚拟机信息。为了实现端口信息的实时同步,云海平台的网络模块读取底层OpenStack生成的端口,并将端口信息实时同步保存到云海平台的数据库中。这样,云海平台的端口数据就和OpenStack中的端口数据保持一致了。Yunhai Platform is a unified cloud management platform developed by Inspur, which integrates OpenStack (an open source cloud computing management platform project). Taking a virtual machine as an example, after the virtual machine is created on the Yunhai platform (the creation of the virtual machine can be completed by the computing module of the Yunhai platform), the background of the Yunhai platform will call the OpenStack interface to create a virtual machine on the underlying OpenStack. After the underlying OpenStack creates the virtual machine, The underlying OpenStack will automatically generate the port corresponding to the network card of the virtual machine, and the port records the information of the network card and the virtual machine. In order to realize the real-time synchronization of port information, the network module of Yunhai platform reads the ports generated by the underlying OpenStack, and saves the port information in the database of Yunhai platform synchronously in real time. In this way, the port data of Yunhai platform is consistent with the port data in OpenStack.

本示例中,云海平台可以包括计算模块和网络模块,计算模块用于在云海平台上创建网络设备(如虚拟机),网络模块用于从OpenStack读取端口信息,并将端口信息实时同步保存到云海平台的数据库中。In this example, the Yunhai platform can include a computing module and a network module. The computing module is used to create network devices (such as virtual machines) on the Yunhai platform. The network module is used to read port information from OpenStack and save the port information to the In the database of Yunhai platform.

本示例中的端口管理方法包括:The port management methods in this example include:

步骤一、在云海平台创建端口数据库表,端口数据库表可以包括以下参数:I端口身份标识码ID、网络ID、网络协议IP地址、媒体访问控制MAC地址、设备类型、设备ID,设备类型可以包括:虚拟机、路由器、负载均衡器、VPN。Step 1, create the port database table on the Yunhai platform, the port database table can include the following parameters: I port identity code ID, network ID, network protocol IP address, media access control MAC address, device type, device ID, and the device type can include : Virtual machines, routers, load balancers, VPNs.

步骤二、创建虚拟机;Step 2. Create a virtual machine;

该步骤中,可以先由云海平台的计算模块会调用底层OpenStack的接口去创建虚拟机;In this step, the computing module of the Yunhai platform can call the interface of the underlying OpenStack to create a virtual machine;

当底层OpenStack成功创建虚拟机后,会自动生成一个端口,这个端口就是网卡的映射,里面包含网卡的IP、MAC、虚拟机ID等信息;When the underlying OpenStack successfully creates a virtual machine, a port will be automatically generated. This port is the mapping of the network card, which contains information such as the IP, MAC, and virtual machine ID of the network card;

步骤三、进行端口信息同步;Step 3: Perform port information synchronization;

为保证底层OpenStack的端口信息同步到云海平台,云海平台的网络模块可以调底层OpenStack的接口查询这个端口,查到这个端口的相关信息之后,将该端口的信息同步保存到云海平台创建的端口数据库表中;In order to ensure that the port information of the underlying OpenStack is synchronized to the Yunhai platform, the network module of the Yunhai platform can adjust the interface of the underlying OpenStack to query this port. After finding the relevant information of this port, the information of the port is synchronously saved to the port database created by the Yunhai platform. table;

步骤四、进行IP地址使用情况的展示。Step 4, displaying the usage status of the IP address.

可以根据用户需求查询IP地址的使用情况,使用户清楚了解IP地址被哪些设备使用。The use of IP addresses can be queried according to user needs, so that users can clearly understand which devices use IP addresses.

本示例中,可以查询云海平台端口数据库表,从而获取与各端口关联的设备信息,并在界面上展示出来。In this example, you can query the Yunhai platform port database table to obtain the device information associated with each port and display it on the interface.

例如,可以通过表1的形式展示IP的使用情况:For example, the usage of IP can be displayed in the form of Table 1:

IP地址IP address 设备类型Equipment type 设备名称device name 176.16.1.2176.16.1.2 虚拟机virtual machine V1V1 180.16.2.2180.16.2.2 路由器router Router1Router1 ……... ……... ……...

表1Table 1

上述表1中仅显示了IP地址、设备类型和设备名称三个参数,在其它的示例中,除了上述三个参数外,还可以增加显示与IP地址关联的其它参数,如MAC地址等。The above Table 1 only shows the three parameters of IP address, device type and device name. In other examples, in addition to the above three parameters, other parameters associated with the IP address, such as MAC address, can also be displayed.

此外,上述示例是以虚拟机为例,对于路由器、负载均衡器等网络设备,也可以采用类似的端口管理方法。In addition, the above example is a virtual machine as an example, and a similar port management method can also be adopted for network devices such as routers and load balancers.

通过上述技术方案,可以实现端口资源的实时同步以及端口信息的展示,提高了云管理平台的易用性。Through the above technical solution, real-time synchronization of port resources and display of port information can be realized, which improves the usability of the cloud management platform.

本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components cooperate to execute. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer. In addition, as is known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.

Claims (10)

1. a kind of port management method is applied to cloud management platform, which is characterized in that the described method includes:
After cloud management platform creates the network equipment, the corresponding port letter of the network equipment of cloud computing platform creation is obtained Breath;
The corresponding port information of the network equipment is synchronized in the port data library table in the cloud management platform.
2. port management method as described in claim 1, it is characterised in that:
The port information includes port identities identification code ID, network ID, network protocol IP address, media access control MAC Location, device type, device id.
3. port management method as claimed in claim 2, which is characterized in that described to believe the corresponding port of the network equipment Before ceasing in the port data library table being saved in the cloud management platform, the method also includes:
Port data library table is created in cloud management platform, the field of port data library table includes port id, network ID, IP Address, MAC Address, device type, device id, the device type include virtual machine, router, load balancer, it is virtual specially With network VPN.
4. port management method as claimed in claim 3, which is characterized in that described to believe the corresponding port of the network equipment It ceases in the port data library table being synchronized in the cloud management platform and includes:
The corresponding port information of the network equipment described in interface lookup by the cloud computing platform;
The port information found is synchronized and is saved in the respective field of port data library table.
5. the port management method as described in Claims 1-4 is any, which is characterized in that the method also includes:
The corresponding relationship of IP address and facility information is inquired by port data library table, the facility information includes equipment class Type and/or device name.
6. a kind of port management means are applied to cloud management platform, described device includes: memory and processor;Its feature exists In:
The memory, for saving the program for being used for Port Management;
The processor executes the program for being used for Port Management for reading, performs the following operations:
After cloud management platform creates the network equipment, the corresponding port letter of the network equipment of cloud computing platform creation is obtained Breath;
The corresponding port information of the network equipment is synchronized in the port data library table in the cloud management platform.
7. port management means as claimed in claim 6, it is characterised in that:
The port information includes port identities identification code ID, network ID, network protocol IP address, media access control MAC Location, device type, device id.
8. port management means as claimed in claim 7, which is characterized in that the processor executes the use for reading In the program of Port Management, also perform the following operations:
It is described that the corresponding port information of the network equipment is saved in it in the port data library table in the cloud management platform Before, port data library table is created in cloud management platform, the field of port data library table includes port id, network ID, IP Address, MAC Address, device type, device id, the device type include virtual machine, router, load balancer, it is virtual specially With network VPN.
9. port management means as claimed in claim 8, which is characterized in that described to believe the corresponding port of the network equipment It ceases in the port data library table being synchronized in the cloud management platform and includes:
The corresponding port information of the network equipment described in interface lookup by the cloud computing platform;
The port information found is synchronized and is saved in the respective field of port data library table.
10. the port management means as described in claim 6 to 9 is any, which is characterized in that the processor is held for reading The row program for being used for Port Management, also performs the following operations:
The corresponding relationship of IP address and facility information is inquired by port data library table, the facility information includes equipment class Type and/or device name.
CN201910562245.6A 2019-06-26 2019-06-26 A kind of port management method and device Pending CN110247807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910562245.6A CN110247807A (en) 2019-06-26 2019-06-26 A kind of port management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910562245.6A CN110247807A (en) 2019-06-26 2019-06-26 A kind of port management method and device

Publications (1)

Publication Number Publication Date
CN110247807A true CN110247807A (en) 2019-09-17

Family

ID=67889612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910562245.6A Pending CN110247807A (en) 2019-06-26 2019-06-26 A kind of port management method and device

Country Status (1)

Country Link
CN (1) CN110247807A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147320A (en) * 2019-11-29 2020-05-12 苏州浪潮智能科技有限公司 A method, device, device and readable storage medium for port information monitoring
CN112565320A (en) * 2019-09-25 2021-03-26 大唐移动通信设备有限公司 Load balancing method and device
CN112737846A (en) * 2020-12-29 2021-04-30 北京浪潮数据技术有限公司 Remote equipment configuration method, device and system and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120179802A1 (en) * 2011-01-10 2012-07-12 Fiberlink Communications Corporation System and method for extending cloud services into the customer premise
CN102710814A (en) * 2012-06-21 2012-10-03 奇智软件(北京)有限公司 Method and device for controlling Internet protocol (IP) address of virtual machine
CN103825954A (en) * 2014-03-10 2014-05-28 中国联合网络通信集团有限公司 OpenFlow control method and corresponding insert, platform and network thereof
CN106936715A (en) * 2015-12-31 2017-07-07 新华三技术有限公司 virtual machine message control method and device
CN109274784A (en) * 2018-11-13 2019-01-25 郑州云海信息技术有限公司 IP and MAC address binding method, device, terminal and storage medium based on openstack

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120179802A1 (en) * 2011-01-10 2012-07-12 Fiberlink Communications Corporation System and method for extending cloud services into the customer premise
CN102710814A (en) * 2012-06-21 2012-10-03 奇智软件(北京)有限公司 Method and device for controlling Internet protocol (IP) address of virtual machine
CN103825954A (en) * 2014-03-10 2014-05-28 中国联合网络通信集团有限公司 OpenFlow control method and corresponding insert, platform and network thereof
CN106936715A (en) * 2015-12-31 2017-07-07 新华三技术有限公司 virtual machine message control method and device
CN109274784A (en) * 2018-11-13 2019-01-25 郑州云海信息技术有限公司 IP and MAC address binding method, device, terminal and storage medium based on openstack

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565320A (en) * 2019-09-25 2021-03-26 大唐移动通信设备有限公司 Load balancing method and device
CN111147320A (en) * 2019-11-29 2020-05-12 苏州浪潮智能科技有限公司 A method, device, device and readable storage medium for port information monitoring
CN112737846A (en) * 2020-12-29 2021-04-30 北京浪潮数据技术有限公司 Remote equipment configuration method, device and system and computer readable storage medium
CN112737846B (en) * 2020-12-29 2023-01-10 北京浪潮数据技术有限公司 Remote equipment configuration method, device and system and computer readable storage medium

Similar Documents

Publication Publication Date Title
US9124633B1 (en) IP address and domain name automation of virtual infrastructure
EP3618352B1 (en) Virtual machine management
CN104780115B (en) Load-balancing method and system in cloud computing environment
CN103888358B (en) Routing method, device, system and gateway equipment
EP3451592B1 (en) Packet transmission between vxlan domains
CN110247807A (en) A kind of port management method and device
US10084652B2 (en) Customizing network configuration of virtual machines using subnet mapping rules
CN106201648A (en) A kind of virtual machine creation method and device
CN107547242B (en) The acquisition methods and device of VM configuration information
US10177962B2 (en) Network management systems and methods
CN108243079A (en) A kind of method and apparatus that network access is carried out based on VPC
CN109995814A (en) Moving method and device, communication equipment, the storage medium of cloud host resource
CN106911779A (en) A kind of cloud platform virtual machine obtains IP method and devices
US20190079791A1 (en) Data Storage Method and Apparatus
CN114640678B (en) Pod management method, equipment and media based on SR-IOV
CN108965094A (en) A kind of virtual machine network connection method and device
US20170063627A1 (en) Allocation of virtual clusters in a large-scale processing environment
CN114244805B (en) Domain name configuration method and device
CN105657078B (en) A kind of data transmission method, device and multitiered network manager
CN113114571A (en) Data packet processing method and device, electronic equipment and storage medium
CN108351798A (en) Expansible addressing mechanism for virtual machine
CN111327509B (en) Information updating method and device
US20140226523A1 (en) Mechanism to dynamically apply configuration settings to interfaces using a port-profile
CN109995816A (en) Information introduction method, device and communication equipment based on cloud computing platform
CN111061541A (en) A method, system, computer storage medium and terminal for creating a virtual machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190917

RJ01 Rejection of invention patent application after publication