CN111769992B - Network data management method, cloud platform and storage medium - Google Patents

Network data management method, cloud platform and storage medium Download PDF

Info

Publication number
CN111769992B
CN111769992B CN202010671699.XA CN202010671699A CN111769992B CN 111769992 B CN111769992 B CN 111769992B CN 202010671699 A CN202010671699 A CN 202010671699A CN 111769992 B CN111769992 B CN 111769992B
Authority
CN
China
Prior art keywords
network
log
arrangement
controller
network arrangement
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.)
Active
Application number
CN202010671699.XA
Other languages
Chinese (zh)
Other versions
CN111769992A (en
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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN202010671699.XA priority Critical patent/CN111769992B/en
Publication of CN111769992A publication Critical patent/CN111769992A/en
Application granted granted Critical
Publication of CN111769992B publication Critical patent/CN111769992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • 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/06Management of faults, events, alarms or notifications
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Abstract

The application provides a network data management method, a cloud platform and a storage medium. The method comprises the following steps: responding to network arrangement operation executed by a user on a network element outside the cloud platform, and generating a network arrangement log of the network element; and sending the network arrangement log to a controller so that the controller can carry out network arrangement on the network element by processing the network arrangement log. The user can arrange the network elements on the cloud platform, and the cloud platform can also issue the network arrangement logs of the network elements to the controller for network arrangement, so that the management of the external physical network is realized through the cloud platform. The cloud platform can manage the internal virtual network, so that the virtual network and the physical network can be integrally managed through the cloud platform, and the operation and maintenance efficiency of the network is improved.

Description

Network data management method, cloud platform and storage medium
Technical Field
The application relates to the technical field of cloud computing, in particular to a network data management method, a cloud platform and a storage medium.
Background
Cloud platforms, such as open source Openstack cloud platforms, typically manage virtual networks within the platform, such as by deploying linux drivers to manage internal virtual networks. For a physical Network managed by the cloud platform, for example, a physical Network formed by physical Network devices such as switches or routers, is managed by an SDN (Software Defined Network) controller, for example, the SDN controller performs Network deployment on Network devices in the physical Network. In other words, the management of the virtual network inside the cloud platform and the management of the physical network outside the cloud platform are separated, and the independent management of each of the virtual network and the physical network greatly reduces the operation and maintenance efficiency of the network.
Disclosure of Invention
An object of the embodiments of the present application is to provide a network data management method, a cloud platform, and a storage medium, so as to implement integrated management on a virtual network and a physical network, and improve operation and maintenance efficiency of the network.
In a first aspect, an embodiment of the present application provides a method for managing network data, which is applied to a cloud platform, and the method includes: responding to network arrangement operation executed by a user on a network element outside the cloud platform, and generating a network arrangement log of the network element; and sending the network arrangement log to a controller so that the controller can carry out network arrangement on the network element by processing the network arrangement log.
In the embodiment of the application, the user can arrange the network element on the cloud platform, and the cloud platform can also issue the network arrangement log of the network element to the controller for network arrangement, so that the management of the external physical network is realized through the cloud platform. The cloud platform can manage the internal virtual network, so that the virtual network and the physical network can be integrally managed through the cloud platform, and the operation and maintenance efficiency of the network is improved.
With reference to the first aspect, in a first possible implementation manner, the issuing the network orchestration log to a controller includes: if the number of the network arrangement logs is one, directly issuing the network arrangement logs to the controller; or if the number of the network arrangement logs is multiple, the multiple network arrangement logs are issued to the controller according to a configuration sequence.
In the embodiment of the application, the cloud platform can issue the plurality of network arrangement logs to the controller according to the configuration sequence, so that the controller can directly process the plurality of network arrangement logs according to the issued sequence to realize network arrangement without the need of adjusting the controller, and the operation and maintenance efficiency of the network is further improved.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, issuing a plurality of network arrangement logs to the controller according to a configuration sequence includes: determining the network equipment or the network to which the plurality of network arrangement logs respectively belong; and issuing each network arrangement log belonging to the network equipment or the network to the controller according to a preset configuration sequence of each network equipment or network.
In the embodiment of the application, the cloud platform issues the corresponding network arrangement log by taking the network equipment as a unit, so that the network arrangement is prevented from being disordered, and the network arrangement efficiency is improved.
With reference to the first aspect, in a third possible implementation manner, the generating the network orchestration log in response to the network orchestration operation includes: responding to the network arranging operation, and determining the name of the network element, the attribute of the network element and the operation type of the network element; and recording the name, the attribute and the operation type according to a preset format, thereby generating the network editing log.
In the embodiment of the application, since the name, the attribute and the type can comprehensively reflect the characteristics of the network arranging operation, the network arranging operation can be comprehensively recorded by recording the name, the attribute and the type.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner, the step of determining the attribute in response to the network orchestration operation where the network element is an interface includes: responding to the network arrangement operation, determining a network and network equipment to which the interface belongs, and determining an available IP address of the interface from an IP address field preset by the network; or, responding to the network arranging operation, correspondingly generating an available IP address of the interface, and determining the network device to which the interface belongs, wherein the attribute includes: the available IP address of the interface and the network device to which the interface belongs.
In the embodiment of the application, the accurate arrangement of the interface can be realized by determining the available IP address of the interface and the network equipment to which the interface belongs, so that the subsequent normal work of the interface is ensured.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, before determining a network and a network device to which the interface belongs, the method further includes: and discovering and recording the network equipment, responding to network arrangement operation executed by a user aiming at the network, and correspondingly generating the IP address field.
In the embodiment of the application, the IP address sections for subsequent distribution are generated in advance through network arrangement operation, so that the respective generation of the subsequent IP addresses can be avoided, the flow is simplified, and the processing efficiency is improved.
With reference to the third possible implementation manner of the first aspect, in a sixth possible implementation manner, the step of determining the attribute in response to the network orchestration operation where the network element is a configuration table includes: and responding to the network arrangement operation, correspondingly determining the content of the configuration table, and determining the network equipment to which the configuration table belongs.
In the embodiment of the application, the configuration table can be generated and the network device to which the configuration table belongs can be determined, so that the configuration table can be ensured to be correctly configured to the corresponding network device.
With reference to the first aspect, in a seventh possible implementation manner, after the generating the network orchestration log and before issuing the network orchestration log to a controller, the method further includes: storing the network arrangement log into a database, and setting the state of the network arrangement log in the database as a to-be-processed state; correspondingly, issuing the network arrangement log to a controller, including: acquiring the network arrangement log by traversing the log record in the to-be-processed state in the database; setting the state of the network arrangement log in the database as a processing state, and issuing the network arrangement log to the controller according to configuration logic; correspondingly, after the network arrangement log is issued to the controller, the method further comprises: and determining that the controller successfully configures the network arrangement log, and setting the state of the network arrangement log in the database as a processing completion state.
In the embodiment of the application, the network arrangement log can be ensured to be correctly processed by recording and adjusting the state of the network arrangement log in real time.
In a second aspect, an embodiment of the present application provides a cloud platform, including: the processing module is used for responding to network arrangement operation executed by a user on a network element outside the cloud platform and generating a network arrangement log of the network element; and the synchronization module is used for sending the network arrangement log to a controller so that the controller can carry out network arrangement on the network element by processing the network arrangement log.
With reference to the second aspect, in a first possible implementation manner, the synchronization module is configured to directly issue the network arrangement log to the controller if the network arrangement log is one; or if the number of the network arrangement logs is multiple, the multiple network arrangement logs are issued to the controller according to a configuration sequence.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the synchronization module is configured to determine a network device or a network to which each of the plurality of network arrangement logs belongs; and sending each network arrangement log belonging to the network equipment or the network to the controller according to a preset configuration sequence of each network equipment or network.
With reference to the second aspect, in a third possible implementation manner, the processing module is configured to determine, in response to the network orchestration operation, a name of the network element, an attribute of the network element, and an operation type of the network element; and recording the name, the attribute and the operation type according to a preset format, thereby generating the network editing log.
With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner, the network element is an interface, and the processing module is configured to determine, in response to the network arrangement operation, a network and a network device to which the interface belongs, and determine an available IP address of the interface from an IP address field preset in the network; or, responding to the network arranging operation, correspondingly generating an available IP address of the interface, and determining the network device to which the interface belongs, wherein the attribute includes: the available IP address of the interface and the network device to which the interface belongs.
With reference to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner, before the processing module determines the network and the network device to which the interface belongs, the processing module is further configured to discover and record the network device, and generate the IP address segment correspondingly in response to a network arranging operation performed by a user for the network.
With reference to the third possible implementation manner of the second aspect, in a sixth possible implementation manner, the network element is a configuration table, and the processing module is configured to determine, in response to the network arrangement operation, content of the configuration table correspondingly, and determine a network device to which the configuration table belongs.
With reference to the second aspect, in a seventh possible implementation manner, after the processing module generates the network arrangement log and before the synchronization module issues the network arrangement log to the controller, the processing module is further configured to store the network arrangement log in a database, and set a state of the network arrangement log in the database as a to-be-processed state; the synchronization module acquires the network arrangement log by traversing the log record in the pending state in the database; setting the state of the network arrangement log in the database as a processing state, and issuing the network arrangement log to the controller according to configuration logic; correspondingly, after the synchronization module issues the network arrangement log to the controller, the synchronization module is further configured to determine that the controller successfully configures the network arrangement log, and set the state of the network arrangement log in the database as a processing completion state.
In a third aspect, an embodiment of the present application provides an electronic device, including: an interface; a bus; a memory for storing a program; a processor, connected to the memory and the interface through the bus, respectively, and configured to run the program to perform the method for managing network data according to the first aspect or any one of the possible implementations of the first aspect.
In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, which stores program code, and when the program code is executed by a computer, performs a method for managing network data according to the first aspect or any possible implementation manner of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart of a method for managing network data according to an embodiment of the present application;
fig. 2 is a network topology diagram of an application scenario in a network data management method according to an embodiment of the present application;
fig. 3 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a block diagram of a cloud platform according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, an embodiment of the present application provides a method for managing network data, where the method for managing network data may be performed by a cloud platform connected to a controller, where the cloud platform may be an Openstack cloud platform and is deployed on a device of an entity, such as a server or a terminal, and the controller may be an SDN controller for managing a physical network.
Specifically, the main process of the network data management method may include:
step S100: and responding to the network arrangement operation executed by the user on the network element outside the cloud platform, and generating a network arrangement log of the network element.
Step S200: and sending the network arrangement log to a controller so that the controller can carry out network arrangement on the network element by processing the network arrangement log.
The above-described flow will be described in detail with reference to examples.
Step S100: and responding to the network arrangement operation executed by the user on the network element outside the cloud platform, and generating a network arrangement log of the network element.
Through interaction between a user and the cloud platform, management of a virtual network in the cloud platform, namely network arrangement of network elements in the virtual network, and management of a physical network outside the cloud platform, namely network arrangement of network elements in the physical network managed outside the cloud platform can be achieved.
Illustratively, the cloud platform may provide an interactive interface, and a user may draw a network topology diagram formed by network elements (according to different actual requirements, the network elements may be objects in a physical network or objects in a virtual network) in the interactive interface by interacting with the cloud platform, and edit related network parameters of the network elements in the network topology diagram, thereby implementing network arrangement on the network elements.
Specifically, the user executes the network arrangement operation of selecting the network element in the interactive interface, and the cloud platform determines the network element selected by the user by responding to the network arrangement operation of selecting the network element. For another example, the user executes a network arrangement operation of dragging the network element in the interactive interface, and the cloud platform responds to the network arrangement operation of dragging the network element to correspond the icon of the network element in the interactive interface to the position dragged by the mobile user. For another example, the user edits the network arrangement operation of the network element in the interactive interface, and the cloud platform determines the name and the attribute of the network element and the operation type of the network element by responding to the network arrangement operation of the edited network element; the operation type of the network element may include: (add) adding a network element, (update) updating the network element, and (delete) deleting the network element; in addition, the determination of the name and the attribute of the network element and the operation type of the network element by the cloud platform may be synchronous determination following the operation of the user or may also be asynchronous determination.
It will be appreciated that the names, attributes and types of operations may vary from network element to network element.
For example, a network element is a network, wherein the network may be a stand-alone network or may be a sub-network belonging to a certain network. The cloud platform may correspondingly determine a name of the network, a route of the network, and an addition, an update, or a deletion of an operation type of the network by responding to a network arrangement operation performed by a user on the network, where the route of the network is an attribute of the network, and specifically is an available IP Address field (Internet Protocol Address) of the network.
For another example, the network element is an interface, and the cloud platform may correspondingly determine the name of the interface, the network to which the interface belongs, the IP address of the interface, and an addition, update, or deletion of the operation type of the interface by responding to a network arrangement operation performed by a user on the interface. In addition, since the cloud platform can discover the network devices in the physical network through the controller, the cloud platform can also record the discovered network devices. Thus, if the interface belongs not only to the network but also to a certain network device discovered by the cloud platform, the cloud platform can also determine the network device to which the interface belongs. Thus, the IP address of the interface and the network device to which the interface belongs are the attributes of the interface.
It should be noted that, according to different application scenarios, the manner of determining the IP address of the interface by the cloud platform is also different. In some cases, the cloud platform may automatically allocate an IP address to the interface, that is, the cloud platform may allocate an available IP address to the interface from an IP address field of a network to which the interface belongs; in other cases, the user may manually determine the IP address of the interface, that is, the user may manually input an available IP address of the interface, and the cloud platform acquires the available IP address by responding to an input operation of the user and correspondingly allocates the available IP address to the interface.
For another example, the network element is a configuration table of the network device, such as a routing table of a router, and the cloud platform may correspondingly determine a name of the configuration table and content of the configuration table, the network device to which the configuration table belongs, and an addition, update, or deletion of an operation type of the configuration table by responding to a network arranging operation performed by a user on the configuration table. The content of the configuration table and the network device to which the configuration table belongs are the attributes of the configuration table.
Further, if the network element performing the network arrangement is an object in the virtual network, the cloud platform may invoke its linux driver to perform corresponding network arrangement on the network element according to the name, attribute, and operation type of the network element (this part is prior art, and this embodiment is not specifically described).
If the network element performing the network arrangement is an object in the physical network, since the network element finally needs to be performed by the controller, the cloud platform needs to generate a network arrangement log that can be processed by the controller based on the name, the attribute, and the operation type of the network element, that is, the cloud platform records the name, the attribute, and the operation type determined by the network element according to the preset format that the controller can perform, so as to generate the network arrangement log of the network element. For example, the network orchestration log may be: log sequence number-name-attribute-operation type.
It should be noted that, because the network belongs to a logical network element and is used for allocating an IP to an interface therebelow, a network arrangement log of the network does not need to be generated. In other words, before generating the network arrangement log, the cloud platform needs to determine the type of the network element, and if the type of the network element is a logical network element, the network arrangement log does not need to be generated, otherwise, the network arrangement log of the network element is generated.
Referring to fig. 2, the present embodiment is described by assuming one assumption.
Suppose that: as shown in fig. 2, the user draws a network topology diagram, which includes: virtual machine VM1, Subnet1, interface Port0, interface Port1, Router, routing table B1, interface PortEx, and external network. The virtual machine VM1 is already programmed, the Router is a discovered device, and if a user needs to implement communication between the virtual machine VM1 and an external network, the user needs to perform network programming on the Subnet1, the interface Port0, the interface Port1, the routing table B1, and the interface PortEx.
Since interface Port0 and interface Port1 belong to Subnet1, it is necessary to perform network deployment on Subnet1 before performing network deployment on interface Port0 and interface Port 1.
For Subnet1, the cloud platform can determine that the name of the Subnet is Subnet1 and the IP address field of the Subnet is 20.1.1.0/24 by responding to the network arranging operation performed by the user for Subnet1, and since Subnet1 is a logical network element, a network arranging log does not need to be generated.
Interface Port0 may then be networked. The cloud platform, in response to a network orchestration operation performed by a user with respect to interface Port0, may determine that the name of the interface is Port0, determine that interface Port0 belongs to Subnet1 and virtual machine VM1, determine that the available IP address of interface Port0 is 20.1.1.1 from 20.1.1.0 to 20.1.1.255, and determine that the type of operation of interface Port0 is an increase. Since the interface Port0 belongs to a virtual network within the cloud platform, the cloud platform calls the linux drive and creates the interface Port0 on the virtual machine VM1 with the name of the interface Port0, IP address 20.1.1.1, and operation type added.
Interface Port1 may then be networked. The cloud platform, in response to a network orchestration operation performed by a user for interface Port1, may determine that the name of the interface is Port1, determine that interface Port1 belongs to Subnet1 and Router, determine that the available IP address of interface Port1 is 20.1.1.2 of 20.1.1.0 to 20.1.1.255, and determine that the type of operation of interface Port1 is an increase. Since the interface Port1 belongs to the physical network managed by the cloud platform, the network orchestration log 1 generated by the cloud platform for the interface Port1 is: 2-Port1-20.1.1.2, Router-add.
Furthermore, the network orchestration can be performed on interface PortEX. The cloud platform can determine that the name of the interface is PortEX by responding to network arrangement operation executed by a user aiming at the interface PortEX, and determine that the interface PortEX belongs to the Router. In addition, since the interface PortEX needs to communicate with the external network of the network segment 10.1.1.x, the user can manually define the IP address of the interface PortEX to be 10.1.1.1, and the cloud platform can determine the available IP address of the interface PortEX to be 10.1.1.1 and determine the operation type of the interface PortEX to be increased by responding to the operation of the user. Also, since the interface PortEX belongs to the physical network managed by the cloud platform, the network arrangement log 3 generated by the cloud platform by the interface PortEX is: 2-PortEX-10.1.1.1, Router-add.
Finally, routing table B1 may be network orchestrated. The cloud platform, in response to a network orchestration operation performed by a user with respect to routing table B1, may determine that the name of the routing table is B1, determine that routing table B1 belongs to Router, determine the content of routing table B1, and determine that the type of operation of routing table B1 is incremental. Also, since the routing table B1 belongs to the physical network managed by the cloud platform, the network arrangement log 3 for generating the routing table B1 is: 4-B1-XXXXXXX, Router-add.
In this embodiment, after obtaining the network arrangement log of the network element, the cloud platform may execute step S200.
Step S200: and sending the network arrangement log to a controller so that the controller can carry out network arrangement on the network element by processing the network arrangement log.
After the cloud platform obtains the network arrangement log of the network element, on one hand, the cloud platform can store the network arrangement log of the network element into a database; on the other hand, because the network arrangement log of the network element is not sent to the controller for processing, the cloud platform can also set the state of the network arrangement log which is not sent to the controller in the database as a to-be-processed state.
In this embodiment, the cloud platform may issue the network organization log in the to-be-processed state to the controller in a polling manner. For example, when the cloud platform polls to a set time point, the cloud platform may traverse the network orchestration logs in the pending state in the database, so as to issue the network orchestration logs to the controller.
It can be understood that, if the network bandwidth is relatively stable, the cloud platform may preset the maximum issuing number of the network arrangement logs in the to-be-processed state under the condition that the network bandwidth allows, and when traversing the network arrangement logs in the to-be-processed state, the cloud platform traverses the database by using the maximum issuing number as a reference, thereby determining the network arrangement logs in the to-be-processed state, the number of which is less than or equal to the maximum issuing number, and issuing the network arrangement logs to the controller. If the number of the network arrangement logs of all the to-be-processed states in the database is less than or equal to the maximum issuing number, determining that the number of the network arrangement logs of the to-be-processed states is the number of the network arrangement logs of all the to-be-processed states in the database.
If the network bandwidth changes dynamically, the cloud platform can determine the most network editing logs of the to-be-processed state under the condition that the current network bandwidth allows according to the current network bandwidth state, and issue the logs.
In this embodiment, if there is one network arrangement log that needs to be sent to the controller, the cloud platform may directly send the network arrangement log to the controller.
If the number of the network arrangement logs which need to be sent to the controller is multiple, in order to ensure that the controller can correctly perform network arrangement by processing the network arrangement logs of the network element, for example, the cloud platform may send the multiple network arrangement logs to the controller according to a preset configuration sequence.
Specifically, since the network device and the network to which the network element belongs are recorded in the network arrangement log, the cloud platform can determine the network device or the network to which each of the plurality of network arrangement logs belongs by analyzing the plurality of network arrangement logs. Because the cloud platform also presets the configuration sequence of each network device or network, the cloud platform can issue each network arrangement log belonging to the network device or network to the controller according to the preset configuration sequence of each network device or network. Therefore, the controller can process the plurality of network arrangement logs in sequence according to the sequence of obtaining the plurality of network arrangement logs so as to carry out network arrangement correctly.
Of course, issuing the multiple network orchestration logs according to the configuration sequence by using the cloud platform is only an exemplary manner of this embodiment, and is not limited to this embodiment. For example, if the controller itself presets a configuration sequence, the cloud platform may issue the plurality of network arrangement logs to the controller in a random sequence, and the controller sequentially processes the plurality of network arrangement logs according to the configuration sequence, thereby implementing correct network arrangement.
In this embodiment, when the cloud platform issues the network organization log to the controller, the cloud platform may set a state of the network organization log in the database to a processing state, so as to avoid issuing the network organization log again during subsequent polling.
In addition, after the controller completes the network arrangement work by processing the network arrangement log, the controller can return the information of the network arrangement completion to the cloud platform. In this way, the cloud platform sets the state of the network editing log in the database again to be the processing completion state, so that the network editing log is prevented from being issued again during subsequent polling.
Continuing with FIG. 2, the foregoing assumptions are explained:
if the cloud platform determines that the network arrangement log of the to-be-processed state comprises:
network orchestration log 1: 2-Port1-20.1.1.2, Router-add;
network orchestration log 2: 3-PortEX-10.1.1.1, Router-add;
network orchestration log 3: 4-B1-XXXXXXX, Router-add.
If the network arrangement logs 1-3 need to be issued to the controller at this time, the cloud platform can determine that the network arrangement log 1, the network arrangement log 2 and the network arrangement log 3 belong to the Router by analyzing the network arrangement logs 1-3. Therefore, the cloud platform can issue the network arrangement log by taking the Router as a unit.
For the Router, the preset configuration sequence in the cloud platform is to configure the interface first and then configure the routing table, and if the sequence is not followed, the network arrangement fails. Therefore, the cloud platform may issue the network arrangement logs 1 and 2 to the controller, and then issue the network arrangement log 3 to the controller.
Referring to fig. 3, based on the same inventive concept, an embodiment of the present application further provides an electronic device 10, where the electronic device 10 may include: an interface 11, a bus 12, a memory 13 for storing programs, and a processor 14 connected to the memory 13 and the interface 11 through the bus 12, respectively.
Wherein, the processor 14 executes the aforementioned management method of the network data by calling and running the program in the memory 13.
Referring to fig. 4, based on the same inventive concept, an embodiment of the present application further provides a cloud platform 100, where the cloud platform 100 may be deployed on an electronic device, and the cloud platform 100 includes:
a processing module 110, configured to generate a network arrangement log of a network element in response to a network arrangement operation performed by a user on the network element outside the cloud platform 100;
a synchronization module 120, configured to send the network arrangement log to a controller, so that the controller performs network arrangement on the network element by processing the network arrangement log.
It should be noted that, as those skilled in the art can clearly understand, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Some embodiments of the present application further provide a computer-readable storage medium of a computer-executable nonvolatile program code, where the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, or the like, and the computer-readable storage medium has a program code stored thereon, where the program code is executed by a computer to perform the steps of the method for managing network data according to any one of the above embodiments.
The program code product of the management method for network data provided in the embodiment of the present application includes a computer-readable storage medium storing the program code, and instructions included in the program code may be used to execute the method in the foregoing method embodiment, and specific implementation may refer to the method embodiment, which is not described herein again.
In summary, since the user can arrange the network element on the cloud platform, and the cloud platform can also issue the network arrangement log of the network element to the controller for network arrangement, the management of the external physical network is realized through the cloud platform. The cloud platform can manage the internal virtual network, so that the virtual network and the physical network can be integrally managed through the cloud platform, and the operation and maintenance efficiency of the network is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (8)

1. A management method of network data is applied to a cloud platform, and the method comprises the following steps:
responding to network arrangement operation executed by a user on a network element outside the cloud platform, and generating a network arrangement log of the network element; the network element outside the cloud platform is a network element in a physical network;
sending the network arrangement log to a controller so that the controller can carry out network arrangement on the network element by processing the network arrangement log;
wherein the generating the network orchestration log in response to the network orchestration operation performed by the user on the network element outside the cloud platform includes:
responding to the network arranging operation, and determining the name of the network element, the attribute of the network element and the operation type of the network element;
recording the name, the attribute and the operation type according to a preset format, thereby generating the network editing log;
after the network arrangement log is generated and before the network arrangement log is issued to a controller, storing the network arrangement log into a database, and setting the state of the network arrangement log in the database as a to-be-processed state;
the sending the network arrangement log to a controller comprises:
acquiring the network arrangement log by traversing the log record in the to-be-processed state in the database;
setting the state of the network arrangement log in the database as a processing state, and issuing the network arrangement log to the controller according to configuration logic;
after the network arrangement log is issued to the controller, the controller is determined to successfully configure the network arrangement log, and the state of the network arrangement log in the database is set as a processing completion state.
2. The method for managing network data according to claim 1, wherein the step of sending the network arrangement log to a controller comprises:
if the number of the network arrangement logs is one, directly sending the network arrangement logs to the controller; alternatively, the first and second electrodes may be,
and if the number of the network arrangement logs is multiple, issuing the multiple network arrangement logs to the controller according to a configuration sequence.
3. The method for managing network data according to claim 2, wherein the issuing the plurality of network layout logs to the controller according to a configuration sequence includes:
determining the network equipment or the network to which the plurality of network arrangement logs respectively belong;
and issuing each network arrangement log belonging to the network equipment or the network to the controller according to a preset configuration sequence of each network equipment or network.
4. The method of claim 1, wherein the network element is an interface, and the step of determining the attribute in response to the network orchestration operation comprises:
responding to the network arrangement operation, determining a network and network equipment to which the interface belongs, and determining an available IP address of the interface from an IP address field preset by the network; alternatively, the first and second electrodes may be,
responding to the network arranging operation, correspondingly generating an available IP address of the interface, and determining the network equipment to which the interface belongs, wherein the attribute comprises: the available IP address of the interface and the network device to which the interface belongs.
5. The method according to claim 4, wherein before determining the network and the network device to which the interface belongs, the method further comprises:
and discovering and recording the network equipment, responding to network arrangement operation executed by a user aiming at the network, and correspondingly generating the IP address field.
6. The method of claim 1, wherein the network element is a configuration table, and the step of determining the attribute in response to the network orchestration operation comprises:
and responding to the network arrangement operation, correspondingly determining the content of the configuration table, and determining the network equipment to which the configuration table belongs.
7. A cloud platform, comprising:
the processing module is used for responding to network arrangement operation executed by a user on a network element outside the cloud platform and generating a network arrangement log of the network element; the network element outside the cloud platform is a network element in a physical network;
the synchronization module is used for sending the network arrangement log to a controller so that the controller can carry out network arrangement on the network element by processing the network arrangement log;
the processing module is configured to determine, in response to the network orchestration operation, a name of the network element, an attribute of the network element, and an operation type of the network element; recording the name, the attribute and the operation type according to a preset format, thereby generating the network editing log;
after the processing module generates the network arrangement log and before the synchronization module issues the network arrangement log to the controller, the processing module is further configured to store the network arrangement log in a database and set a state of the network arrangement log in the database as a to-be-processed state; the synchronization module acquires the network arrangement log by traversing the log record in the pending state in the database; setting the state of the network arrangement log in the database as a processing state, and issuing the network arrangement log to the controller according to configuration logic; correspondingly, after the synchronization module issues the network arrangement log to the controller, the synchronization module is further configured to determine that the controller successfully configures the network arrangement log, and set the state of the network arrangement log in the database as a processing completion state.
8. A non-transitory computer-readable storage medium storing a program code for executing the method for managing network data according to any one of claims 1 to 6 when the program code is executed by a computer.
CN202010671699.XA 2020-07-13 2020-07-13 Network data management method, cloud platform and storage medium Active CN111769992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010671699.XA CN111769992B (en) 2020-07-13 2020-07-13 Network data management method, cloud platform and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010671699.XA CN111769992B (en) 2020-07-13 2020-07-13 Network data management method, cloud platform and storage medium

Publications (2)

Publication Number Publication Date
CN111769992A CN111769992A (en) 2020-10-13
CN111769992B true CN111769992B (en) 2022-06-21

Family

ID=72725236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010671699.XA Active CN111769992B (en) 2020-07-13 2020-07-13 Network data management method, cloud platform and storage medium

Country Status (1)

Country Link
CN (1) CN111769992B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277428A (en) * 2022-07-27 2022-11-01 京东科技信息技术有限公司 Method and apparatus for configuring a network

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105703960A (en) * 2016-04-25 2016-06-22 刘昱 Network function management system based on SDN and method thereof
WO2017067484A1 (en) * 2015-10-23 2017-04-27 中兴通讯股份有限公司 Virtualization data center scheduling system and method
CN108989068A (en) * 2017-05-31 2018-12-11 华为技术有限公司 A kind of arrangement software defines the method and SDN controller of network
CN109788041A (en) * 2017-12-29 2019-05-21 中国联合网络通信有限公司广东省分公司 A kind of SDN cloud net integral system based on UTN network
CN109802852A (en) * 2018-12-13 2019-05-24 烽台科技(北京)有限公司 The construction method and system of network simulation topology applied to network target range
CN110213369A (en) * 2019-06-03 2019-09-06 电子科技大学 A kind of service function chain autopatch system and its method of combination
WO2020095206A1 (en) * 2018-11-06 2020-05-14 Telefonaktiebolaget Lm Ericsson (Publ) System and method for providing intelligent diagnostic support for cloud-based infrastructure
CN111371706A (en) * 2018-12-26 2020-07-03 瞻博网络公司 Cloud network with multiple protocols using virtualization overlays across physical and virtualization workloads

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012111117A1 (en) * 2011-02-16 2012-08-23 三菱電機株式会社 Programmable logic controller, and method of storing password for programmable logic controller
CN111221619B (en) * 2018-11-27 2023-09-08 中国移动通信集团江西有限公司 Method, device and equipment for opening and arranging business

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017067484A1 (en) * 2015-10-23 2017-04-27 中兴通讯股份有限公司 Virtualization data center scheduling system and method
CN105703960A (en) * 2016-04-25 2016-06-22 刘昱 Network function management system based on SDN and method thereof
CN108989068A (en) * 2017-05-31 2018-12-11 华为技术有限公司 A kind of arrangement software defines the method and SDN controller of network
CN109788041A (en) * 2017-12-29 2019-05-21 中国联合网络通信有限公司广东省分公司 A kind of SDN cloud net integral system based on UTN network
WO2020095206A1 (en) * 2018-11-06 2020-05-14 Telefonaktiebolaget Lm Ericsson (Publ) System and method for providing intelligent diagnostic support for cloud-based infrastructure
CN109802852A (en) * 2018-12-13 2019-05-24 烽台科技(北京)有限公司 The construction method and system of network simulation topology applied to network target range
CN111371706A (en) * 2018-12-26 2020-07-03 瞻博网络公司 Cloud network with multiple protocols using virtualization overlays across physical and virtualization workloads
CN110213369A (en) * 2019-06-03 2019-09-06 电子科技大学 A kind of service function chain autopatch system and its method of combination

Also Published As

Publication number Publication date
CN111769992A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
CN114172802B (en) Container network configuration method, device, computing node, master node and storage medium
CN107580083B (en) Method and system for allocating IP addresses of containers
CN111782232A (en) Cluster deployment method and device, terminal equipment and storage medium
US11575592B2 (en) Message processing method and apparatus, control-plane device, and computer storage medium
CN109981493B (en) Method and device for configuring virtual machine network
CN111880902A (en) Pod creation method, device, equipment and readable storage medium
CN109474508B (en) VPN networking method, VPN networking system, VPN master node equipment and VPN master node medium
CN103326887B (en) A kind of interface managerial method and system
CN110650037B (en) Heterogeneous network device configuration method and device
CN113810230A (en) Method, device and system for carrying out network configuration on containers in container cluster
CN113268308B (en) Information processing method, device and storage medium
CN113141405A (en) Service access method, middleware system, electronic device, and storage medium
CN110928554A (en) Deployment method, device, equipment and storage medium
CN112003754A (en) Visual node registration method for OpenStack cluster
CN111769992B (en) Network data management method, cloud platform and storage medium
CN115913937A (en) Container multi-network-card network configuration method, device, equipment and storage medium
CN109218462B (en) IP distribution method of physical host of cloud data center
CN115314353A (en) Device and method for realizing single-pod multi-network card based on kubernets
CN108768849A (en) Message processing method and device
CN116566830A (en) Network configuration method, device, system, edge equipment and storage medium
CN111416732B (en) Method and device for automatically configuring service for capacity expansion of network equipment in SDN
CN107493181B (en) Indication method and device of virtual expansion port
CN111107120A (en) Redis cluster construction method and system
CN111988446B (en) Message processing method and device, electronic equipment and storage medium
CN114448805A (en) Virtual network equipment, virtual overlay network and configuration and message transmission method

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
GR01 Patent grant
GR01 Patent grant