CN111817869B - Network configuration recovery method and related equipment thereof - Google Patents

Network configuration recovery method and related equipment thereof Download PDF

Info

Publication number
CN111817869B
CN111817869B CN201910294465.5A CN201910294465A CN111817869B CN 111817869 B CN111817869 B CN 111817869B CN 201910294465 A CN201910294465 A CN 201910294465A CN 111817869 B CN111817869 B CN 111817869B
Authority
CN
China
Prior art keywords
configuration
network
network node
configuration information
target
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
CN201910294465.5A
Other languages
Chinese (zh)
Other versions
CN111817869A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910294465.5A priority Critical patent/CN111817869B/en
Publication of CN111817869A publication Critical patent/CN111817869A/en
Application granted granted Critical
Publication of CN111817869B publication Critical patent/CN111817869B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings

Abstract

The embodiment of the application discloses a network configuration recovery method, which is used for recovering a second configuration at the current moment into a first configuration at the historical moment, and comprises the following steps: acquiring at least one pre-stored network intention data set, wherein the at least one network intention data set and at least one configuration have a one-to-one correspondence, and the network intention data is the requirement information of a network operator or a user on a network private line; receiving a selection instruction of a target network intention data set in at least one network intention data set, wherein the target network intention data set corresponds to a first configuration; determining network node configuration information of a first configuration according to the target network intention data set, wherein the network node configuration information refers to configuration information of a network node in a network private line; and sending configuration instructions to the network node corresponding to the first configuration and/or the network node corresponding to the second configuration according to the configuration information of the network node corresponding to the first configuration.

Description

Network configuration recovery method and related equipment thereof
Technical Field
The present disclosure relates to the field of communications, and in particular, to a network configuration restoration method and related devices.
Background
A complete network connection service (hereinafter referred to as "service") needs to be mutually matched with each network node to realize end-to-end connection, as shown in fig. 1, a certain service is a network dedicated line from a network station A to a network station B, when the service is executed, configuration of each network node is adjusted for multiple times due to change of user's requirement and change of network state, for example, the dedicated line from the network station A to the network station B is adjusted to the dedicated line from the network station A to the network station C, configuration of the network node also needs to be correspondingly adjusted, if a problem occurs in the process of continuously adjusting the service, the problem can be discovered after a period of continuous adjustment, and then the configuration of the network node needs to be restored to a certain historical moment.
As shown in fig. 2, the network implementation data refers to parameters that need to be configured for the network node in fig. 1 when creating or modifying a service, after the network management server (specifically, may be a network management system (network management system, NMS)) completes execution of the configuration 3, receives the modification request 3, at this time, the network implementation data at the current moment is the network implementation data 3, the network implementation data 4 is not yet completed in operation, if an operator finds that both the configuration 4 and the configuration 3 have problems, the configuration needs to be restored to the configuration 2, after receiving a configuration restoration instruction, the network management server obtains the stored network implementation data at all time points, that is, the network implementation data 1 to the network implementation data 4, and then displays the configuration restoration instruction to the operator, the operator selects the network implementation data 2 as target data that needs to be restored, and the network management server searches a database according to the selection of the operator to obtain the network implementation data 2, and issues the configuration instruction to the corresponding network node according to the network implementation data 2, thereby completing restoration of the configuration 2.
According to the scheme for carrying out configuration recovery based on the network implementation data of a certain historical moment, the network implementation data is recovered to represent the network node parameters corresponding to the network implementation data to be recovered, the distribution of network resources is continuously changed in the operation process of the network management server, if the network implementation data of the certain historical moment is recovered, the network resources corresponding to the network implementation data of the historical moment are likely to be distributed to other network nodes by the network management server for use, and the success rate of configuration recovery is low.
Disclosure of Invention
The application discloses a network configuration recovery method, which can be used for a network management server to recover a second configuration into a first configuration, wherein the second configuration is a current configuration, the first configuration is a historical configuration of a moment before the second configuration, the first configuration and the second configuration belong to at least one configuration of a first service, namely, the network management server executes the first service and performs the first configuration and the second configuration, and the network management server executes the first service and may perform more configurations besides the first configuration and the second configuration, and the method is not limited in this particular. The network configuration recovery method comprises the following steps:
Acquiring at least one stored network intention data set, wherein the network intention data set comprises at least one network intention data, the network intention data represents that a user has at least one network intention, the network intention data refers to network operator or user demand information of a network private line, the demand information can be network private line of the network operator or user requesting to establish a network site to another network site, the at least one network intention data set has a one-to-one correspondence with at least one configuration, if a first configuration needs to be restored, a network management server receives a selection instruction of an operator of the network management server on a target network intention data set in the at least one network intention data set, the target network intention data set corresponds to the first configuration, then network node configuration information of the first configuration is determined according to the target network intention data set, the network node configuration information of the first configuration is network private line for establishing the first configuration corresponding, the first configuration information of the network nodes in the network private line is calculated again based on the target network intention data set, and the first configuration information is not realization data corresponding to the first configuration stored in a database; and then sending a parameter configuration instruction to the network node corresponding to the first configuration and/or the network node corresponding to the second configuration according to the network node configuration information of the first configuration, so that the network node corresponding to the first configuration and/or the network node corresponding to the second configuration execute corresponding configuration according to the configuration instruction, after the configuration is completed, the second configuration resumes to be the first configuration, and when the parameter configuration instruction is sent to the network node corresponding to the first configuration and/or the network node corresponding to the second configuration, if the network node corresponding to the first configuration and the network node corresponding to the second configuration have the same network node, the configuration instruction can include a configuration modification instruction, and if different network nodes exist between the network node corresponding to the first configuration and the network node corresponding to the second configuration, the configuration instruction can further include a deletion configuration instruction and/or an addition configuration instruction.
The embodiment of the application has the following advantages: the method comprises the steps of obtaining at least one pre-stored network intention data set, wherein the at least one network intention data set has a one-to-one correspondence with at least one configuration, network intention data in the network intention data set is demand information of a network operator or a user on a network private line, after a selection instruction of a target network intention data set in the at least one network intention data set is received, configuration information of a network node of the first configuration can be obtained according to the target network intention data of the first configuration, the configuration information of the network node is the configuration information of a network node in the network private line, then, according to the configuration information of the network node of the first configuration, a parameter configuration instruction is sent to the network node corresponding to the first configuration and/or the network node corresponding to the second configuration, the network node corresponding to the first configuration and/or the network node corresponding to the second configuration can restore the second configuration to the first configuration according to the configuration instruction, and therefore, the target network intention data can be restored to the first configuration, the target network user can be selected and restored, after the configuration information of the first configuration is obtained, configuration information can be restored, instead of the configuration information of the first configuration is obtained, the target network intention data can be restored, the user can be restored, the service network intention data can be restored on the network intention service network intention data is restored, the service network intention data is not be directly or the service on the network intention data is restored, the network intention is realized, the user is realized, and the network intention is based on the service has been directly on the configuration intention data is realized, and has been restored on the service has been changed, and has been restored intention has been changed.
In an optional embodiment of the present application, the sending, according to the network node configuration information of the first configuration, a configuration instruction to a network node corresponding to the first configuration includes: deleting network node configuration parameters corresponding to the second configuration in a full-quantity issuing mode, sending configuration instructions to all network nodes corresponding to the first configuration according to the network node configuration information of the first configuration, and restoring the second configuration to be the first configuration after the network nodes corresponding to the first configuration are configured correspondingly according to the configuration instructions; comparing the configuration information of the network node of the first configuration with the configuration information of the network node of the second configuration by adopting a differential issuing mode, determining the configuration difference of the target network node, wherein the target network node is the network node with the configuration difference between the first configuration and the second configuration, the target network node can be one or more network nodes corresponding to the first configuration and/or one or more network nodes corresponding to the second configuration, a configuration instruction is sent to the target network node according to the configuration difference of the target network node, and the second configuration is restored to the first configuration after the target network node performs corresponding configuration according to the configuration instruction. In this embodiment, the modes of full-scale delivery and differential delivery are respectively described, and configuration recovery can be performed based on the target network intention data set, so that the success rate of configuration recovery can be increased without being affected by network resource allocation in the network management server, and meanwhile, the mode of differential delivery is to perform parameter configuration based on the difference of the first configuration and the second configuration, so that the number of parameters required to be configured for the network node is reduced relative to the scheme of full-scale delivery.
In an optional embodiment of the present application, the determining, according to the target network intention data set, network node configuration information of the first configuration includes: determining network intention according to a target network intention data set, thereby determining a network node to be configured which needs parameter configuration in order to realize the network intention, wherein the network node to be configured is a network node of a first configuration, then determining which amount to be configured needs to be configured for the network node to be configured, and obtaining the preset amount to be configured of the network node, wherein the amount to be configured of the network node specifically comprises a virtual private network VRF of the network node, a tunnel of the network node, a virtual local area network VLAN of the network node and/or an IP address of the network node; and determining the network node configuration information of the first configuration according to the network node to be configured and the quantity to be configured of the network node. In this embodiment, the network node configuration information of the first configuration is redetermined based on the target network intention data set, instead of directly obtaining the network node configuration information of the first configuration at the historical moment stored in the database in advance, so that no matter how network resources are allocated in the network management server, the network node configuration information can be obtained again based on the network intention data set, and then the execution of configuration recovery based on the network intention data set can be not affected by the allocation of network resources in the network management server, thereby increasing the success rate of configuration recovery.
In an optional embodiment of the present application, the determining network node configuration information of the first configuration includes: acquiring network node configuration information of a second service, wherein the second service is different from the first service, the second service is a service except the first service in a network management server, and the number of the second service is not limited; network node configuration information of a first configuration different from network node configuration information of the second service is determined. In an embodiment, the network node configuration information of the first configuration is determined based on the network node configuration information of the second service, so that network resources occupied by other services can be avoided when the first configuration is restored, and resource conflicts can be avoided.
In an optional embodiment of the present application, the configuration information of one or more network nodes exists in the first configured network node configuration information, and the configuration information of one or more network nodes exists in the second configured network node configuration information; the sending of the configuration instruction to the target network node according to the configuration difference of the target network node comprises: when the configuration information of the first configuration network node comprises the configuration information of the target network node, and the configuration information of the second configuration network node does not comprise the configuration information of the target network node, sending an instruction for increasing the configuration of the target network node to the target network node, namely sending a parameter configuration instruction to the target network node in the first configuration; or when the configuration information of the second configured network node includes the configuration information of the target network node, and the configuration information of the first configured network node does not include the configuration information of the target network node, sending an instruction for deleting the configuration of the target network node to the target network node, namely sending a parameter configuration instruction to the target network node in the second configuration; and/or when the configuration information of the target network node in the first configuration network node configuration information is different from the configuration information of the target network node in the second configuration network node configuration information, sending an instruction for modifying the configuration of the target network node to the target network node according to the configuration difference of the target network node, namely sending a parameter configuration instruction to the target network node in the first configuration or the target network node in the second configuration. In this embodiment, one or more network nodes may be included in the target network node. In this embodiment, several possible cases of differentiated delivery are introduced, and an instruction to increase the configuration of the target network node may be sent to the target network node, and/or an instruction to delete the configuration of the target network node may be sent to the target network node, and/or an instruction to modify the configuration of the target network node may be sent to the target network node.
In an alternative embodiment of the present application, the method further comprises: generating a one-to-one correspondence of the at least one network intent data set and the configuration at the at least one point in time, thereby forming a one-to-one correspondence of the at least one network intent data set and the at least one configuration, e.g., forming a correspondence of the first configuration and the target network intent data set at point in time 1, and forming a correspondence of the second configuration and the network intent data set of the second configuration at point in time 2; and forming a snapshot chain according to the at least one-to-one correspondence, and storing the snapshot chain in a database. In the embodiment, the corresponding relation between the network intention data set of at least one time point and the configuration is formed into the snapshot chain, so that when a certain configuration needs to be restored, the system setting can be restored to a state of a certain historical time point based on the snapshot chain, and the system rollback is facilitated.
In an optional embodiment of the present application, after the receiving the selection instruction of the target network intention data set in the at least one network intention data set, the method further includes: when the network management server rolls back to a pre-stored target network intention data set by utilizing the snapshot chain, firstly, a target time point corresponding to the target network intention data set in the snapshot chain is obtained, then the target network intention data set corresponding to the target time point is directly obtained, and the target network intention data set can be obtained from at least one network intention data set stored in the snapshot chain. In this embodiment, the process of rolling back the snapshot chain to obtain the target network intention data set is described, so that the target network intention data set can be quickly searched, and the system performance is improved.
In an optional embodiment of the present application, after the determining the network node configuration information of the first configuration according to the target network intention data set, the method further includes: based on the original snapshot chain, a snapshot chain link point is added, and the newly added snapshot chain node can store network node configuration information according to the target network intention data set and the first configuration, so that the snapshot chain is updated. In this embodiment, updating the snapshot chain may facilitate recovery of the next periodic configuration.
A second aspect of the present application provides a network management server, where the network management server is configured to restore a second configuration at a current time to a first configuration, where the first configuration is a configuration at a time before the second configuration, and both the first configuration and the second configuration belong to at least one configuration of a first service, and the network management server includes:
the business management module is used for acquiring at least one pre-stored network intention data set, wherein the at least one network intention data set has a one-to-one correspondence with at least one configuration, the network intention data set comprises one or more network intention data, and the network intention data is data provided by a network operator for requesting to establish a network private line;
The business management interface module is used for receiving a selection instruction of a target network intention data set in the at least one network intention data set, and the target network intention data set corresponds to the first configuration;
the service arrangement module is used for determining network node configuration information of a first configuration according to the target network intention data set, wherein the network node configuration information refers to the configuration information of the network nodes in the network private line;
the service execution module is used for comparing the first configured network node configuration information with the second configured network node configuration information to obtain the configuration difference of the target network node;
the service execution module is further configured to send a configuration instruction to the target network node according to the configuration difference of the target network node.
In an optional embodiment of the present application, the service orchestration module is specifically configured to determine, according to the target network intention data set, a network node to be configured of the first configuration;
obtaining the quantity to be configured of the network node, wherein the quantity to be configured of the network node comprises a virtual private network VRF of the network node, a tunnel of the network node, a virtual local area network VLAN of the network node and/or an IP address of the network node;
And determining the network node configuration information of the first configuration according to the quantity to be configured and the network node to be configured of the first configuration.
In an optional embodiment of the present application, the service orchestration module is specifically configured to obtain network node configuration information of the second service;
determining network node configuration information of the first configuration different from network node configuration information of the second service.
In an optional embodiment of the present application, the configuration information of one or more network nodes exists in the first configured network node configuration information, and the configuration information of one or more network nodes exists in the second configured network node configuration information;
the service execution module is specifically configured to send an instruction for increasing the configuration of the target network node to the target network node when the configuration information of the first configured network node includes the configuration information of the target network node and the configuration information of the second configured network node does not include the configuration information of the target network node;
or alternatively, the first and second heat exchangers may be,
the service execution module is specifically configured to send an instruction for deleting the configuration of the target network node to the target network node when the configuration information of the second configured network node includes the configuration information of the target network node and the configuration information of the first configured network node does not include the configuration information of the target network node;
And/or the number of the groups of groups,
the service execution module is specifically configured to send, to the target network node, an instruction for modifying the configuration of the target network node according to the configuration difference of the target network node when the configuration information of the target network node in the first configured network node configuration information is different from the configuration information of the target network node in the second configured network node configuration information.
In an optional embodiment of the present application, the service management module is further configured to generate, at least one point in time, a one-to-one correspondence between at least one network intention data set and a configuration;
and forming a snapshot chain according to the at least one-to-one correspondence.
In an optional embodiment of the present application, the method is further configured to determine, according to the selection instruction, a target time point corresponding to the target network intention data in the snapshot chain, where the target time point belongs to the at least one time point;
and determining a target network intention data set from the at least one network intention data set stored in the snapshot chain according to the target time point.
In an optional embodiment of the present application, the service management module is further configured to update the snapshot chain according to the target network intention data set and the first configured network node configuration information.
The advantageous effects of any of the alternative embodiments of the second aspect are similar to the corresponding alternative embodiments of the first aspect and are not described in detail herein.
A third aspect of the present application provides a network management server, including: memory, transceiver, processor, and bus system;
wherein the memory is used for storing programs and instructions;
the transceiver is used for receiving or transmitting information under the control of the processor;
the processor is used for executing the program in the memory;
the bus system is used for connecting the memory, the transceiver and the processor so as to enable the memory, the transceiver and the processor to communicate;
wherein the processor is configured to invoke program instructions in the memory to perform the method of any of the first aspects.
A third aspect of the embodiments provides a computer storage medium including therein operation instructions that, when executed on a computer, cause the computer to perform the method of any of the first aspects described above.
A fourth aspect of the embodiments provides a computer program product which, when run on a computer, causes the computer to perform the method of any of the first aspects described above.
Drawings
Fig. 1 is a schematic diagram of a path for establishing a network dedicated line according to the present application;
FIG. 2 is a schematic diagram of configuration restoration in the prior art of the present application;
FIG. 3 is a diagram of the connection between a network management server and a network node according to the present application;
FIG. 4 is a schematic diagram of configuration restoration of the present application;
FIG. 5 is a schematic diagram of one embodiment of a network configuration recovery method of the present application;
FIG. 6 is a schematic diagram of a network management server according to the present application;
FIG. 7 is a schematic diagram of another embodiment of a network configuration restoration method of the present application;
FIG. 8 is a schematic diagram of a snapshot chain of the present application;
FIG. 9 is a schematic diagram of another embodiment of a network configuration restoration method of the present application;
fig. 10 is another schematic structural diagram of the network management server of the present application.
Detailed Description
The terms "first," "second," "third," "fourth" and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be capable of being practiced otherwise than as specifically illustrated and described. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The network configuration restoration method can be applied to a network management server, the network management server can be the network management system, as shown in fig. 3, the network management server can manage network nodes (or called Network Elements (NEs)) in a network domain, the network management server is connected with each network node, and parameters or instructions can be issued to the network nodes, so that multiple types of network connection services can be established for different devices or different sites.
The network element may be a network element, or a component in a network element (such as a port component in a network element), which is not limited by the embodiment of the present invention. The network element may be: a passive optical network (passive optical network, PON) network element, an optical transport network (optical transport network, OTN) network element, an internet protocol (internet protocol, IP) network element, or a microwave network element, etc. The network element may in particular be a switch, a router, a gateway or the like. More possible cases are not described in detail here.
For example, the plurality of types of network connection services may be divided into a plurality of types according to the difference of the connection objects, and for example, the plurality of types may include: and the internet special line service is used for connecting a plurality of terminals, and the internet special line service is used for connecting the terminals to the internet. For example, each company may have a plurality of branch offices, and the plurality of branch offices may subscribe to an interconnection private line service therebetween to interconnect terminals of the plurality of branch offices, thereby facilitating communication between the terminals of the plurality of branch offices. As shown in fig. 1, the network station a is connected to the network station B through the network node a, the network node B and the network node C in fig. 1 to form an interconnection private line for terminal communication between the network station a and the network station B, and the network station a may also be connected to the network station C through the network node a, the network node B and the network node D in fig. 1 to form an interconnection private line for terminal communication between the network station a and the network station C. As another example, each company may also subscribe to a dedicated internet service to enable terminals in the company to access the internet, thereby facilitating the network surfing of terminals of the company. With continued reference to fig. 1, the network station a is connected to the internet through the network node a, the network node B and the network node E in fig. 1, so as to form a dedicated internet access line for the terminal of the network station a to access the network.
Alternatively, the network connection service may be based on any communication technology, for example, a two-layer virtual private network (layer 2virtual private network,L2VPN) technology or a three-layer virtual private network (layer 3virtual private network,L3VPN) technology, or the like.
Based on the connection relationship between the network management server and the network node, fig. 4 shows a network configuration recovery method of the application. In fig. 4, 4 configurations are taken as an example, and the number of configurations in which actual traffic exists is not limited, and fig. 4 is merely used as an exemplary illustration. As shown in fig. 4, the network management server needs to perform configuration 1 in order to create the first service, and save the network intention data set 1 and the network implementation data 1 in the database, then sequentially modify the first service, perform configuration 2, configuration 3, and configuration 4, respectively, and save the network intention data set 2 to the network intention data set 4 and the network implementation data 2 to the network implementation data 4 in the database. If an operator (or a network management server manager) finds that the configuration 3 and the configuration 4 have problems, the operator needs to restore to the configuration 2, and as can be found by comparing with fig. 2 and fig. 4, the network management server copies the network intention data set 2 of the configuration 2, and then obtains the network realization data 5 based on the network intention data set 2 to restore the configuration, instead of directly rolling back to the network realization data 2 corresponding to the configuration 2 to restore as in the prior art. The following describes the scheme of the present application in detail with reference to fig. 5:
The network private line is called private line or leased line, and the network private line is a separate network line pulled by a certain organization, that is, a separate local area network, and the leased private line service is the most important service in the service of the operators B2B (business-to-business).
Network configuration refers to the configuration of devices or interfaces in a network by a network engineer.
Firstly, it should be noted that, after the network management server performs a certain configuration on the service, that is, the network management server obtains the configuration information of the configured network node based on the configured network intention data set, a configuration instruction is issued to the network node according to the configuration information of the network node, so that the network node performs configuration according to the configuration instruction. The configuration, the network intention data set and the network realization data have a one-to-one correspondence, and the network intention data set and the network realization data corresponding to each configuration are stored in the database. The network intention may be said to be a user's intention or business goal of a network line, or may be said to be a network operator's intention of a network line, or may be said to be a network operator or network architect's intention of a network line based on the network operator's needs. The network intention data is network operator or user demand information for a network private line, which may be network private line that the network operator or user requests to establish one network station to another network station, for example, in order to establish the network private line between network station a to network station B in fig. 1, data of network station a and data of network station B need to be provided, the network intention data including one or more of an IP address, a subnet mask, a bandwidth, a routing policy, and a bandwidth adjustment policy (bandwidth adjustment strategy, QAS) of an originating station in the network private line, and one or more of a terminating station IP address, a subnet mask, a bandwidth, a routing policy, and a bandwidth adjustment policy. The network operator may request that one or more network lines be established and the set of network intent data may then include one or more network intent data. The network implementation data refers to data that needs to be configured for establishing the one or more network dedicated lines, for example, for establishing a network dedicated line between the network station a and the network station B in fig. 1, where the number of network nodes in a certain network dedicated line is not limited. It can be understood that, in the present application, the network implementation data of a certain configuration and the configuration information of a certain configuration may be used as equivalent concepts, and both are used for parameter configuration of a network node in the configuration, and specifically include a network node ID and a configuration parameter corresponding to the network node ID.
Step 501, a network management server acquires at least one pre-stored network intention data set.
After the operator finds that a certain configuration of the first service is wrong, the operator decides to restore the second configuration of the first service at the current moment to the first configuration of the historical moment, the operator issues a request for restoring the configuration to the network management server, and the network management server acquires at least one network intention data set stored in advance according to the configuration restoration request. The operator is a person who operates the network management server, and may also be a manager of the network management server, and other references are not described herein.
Step 502, the network management server receives a selection instruction of a target network intention data set in at least one network intention data set.
An operator selects a target network intention data set corresponding to the first configuration in the network intention data sets on a network management server interface, after the operator selects the target network intention data set, the network management server receives a selection instruction of the target network intention data set, the operator is required to confirm each network intention data in the target network intention data set to ensure that the network intention to be recovered is correct, and the target network intention data set belongs to at least one network intention data set.
Step 503, the network management server determines the network node configuration information of the first configuration according to the target network intention data set.
The network management server calculates the network node configuration information of the first configuration according to the target network intention data set instead of directly acquiring the network implementation data which is stored in advance by the network management server and corresponds to the target network intention data set, and when the network management server calculates the network node configuration information of the first configuration again, the network management server can select the network node configuration information of the first configuration from the network resources which are not allocated yet so as to avoid the conflict with the network resources occupied by other services in the network.
Step 504: and the network management server sends a parameter configuration instruction to the network node corresponding to the first configuration and/or the network node corresponding to the second configuration according to the network node configuration information of the first configuration.
1. One possible scenario is: based on the configuration information of all network nodes in the first configuration, a configuration instruction in the first configuration is obtained, and the configuration instruction is sent to the network node corresponding to the first configuration, in this embodiment, the network node corresponding to the second configuration needs to delete the network configuration parameters, that is, the configuration of the network node at the current moment is cleared to 0 first, and the network node corresponding to the first configuration is reconfigured according to the configuration instruction in the first configuration, which is equivalent to a full-volume issuing manner, so that all the network nodes corresponding to the first configuration perform parameter configuration.
2. Another possible case is: comparing the configuration information of the first configuration with the configuration information of the second configuration to obtain a configuration difference of the target network node, sending a configuration instruction to the target network node according to the configuration difference of the target network node, wherein the target network node is a network node with the configuration difference in the first configuration and the second configuration, and the embodiment is equivalent to performing parameter configuration on only the differentiated network node, and specifically has the following positive cases:
first, the target network node may be one or more network nodes corresponding to the first configuration, or may be one or more network nodes corresponding to the second configuration, or may be one or more network nodes corresponding to the first configuration and one or more network nodes corresponding to the second configuration. The network management server sends a configuration modifying instruction to the target network node in the first configuration or the target network node in the second configuration, namely, the network management server can send the configuration instruction to one or more network nodes corresponding to the first configuration or one or more network nodes corresponding to the second configuration; the network node corresponding to the first configuration comprises a target network node, the network node corresponding to the second configuration does not comprise the target network node, and the network management server issues an additional configuration instruction to the target network node in the first configuration, namely, the network management server can send the configuration instruction to one or more network nodes corresponding to the first configuration; the network node corresponding to the second configuration includes a target network node, the network node corresponding to the first configuration does not include the target network node, and the network management server issues a configuration deleting instruction to the target network node in the second configuration, that is, the network management server may send a configuration instruction to one or more network nodes corresponding to the second configuration, where one or more cases may exist at the same time, that is, the network management server may send a configuration instruction to one or more network nodes corresponding to the first configuration and one or more network nodes corresponding to the second configuration. In summary, the network management server may send parameter configuration instructions to one or more network nodes corresponding to the first configuration and/or one or more network nodes corresponding to the second configuration, and one network node may receive one or more configuration instructions, where the configuration instructions may be a modify configuration instruction or a delete configuration instruction and/or an add configuration instruction.
The following specifically describes the steps of the embodiment described in fig. 5 with reference to fig. 6 and 7, as follows:
one possible architecture of the network management server of the present application is shown in fig. 6, and includes a service management interface module 602, a service management module 601, a service orchestration module 603, a service execution module 604, a database 605, a service template management module 606, and a basic stock module 607.
The operator may click on a "configuration restore" button presented by the service management interface module 602 on the network management server interface.
S1: the traffic management module 601 obtains at least one network intention data set pre-stored in the database 605. Such as network intent data set 1 through network intent data set 4 in fig. 4.
S2: the business management module 601 sends at least one set of network intent data to the business management interface module 602.
S3: the business management interface module 602 presents at least one set of network intent data.
S4: the business management interface module 602 receives a selection instruction of a target network intent data set of the at least one network intent data set.
S5: the service management interface module 602 sends an Identification (ID) of the target network intention data set to the service management module 601.
S6: the service management module 601 searches the database 605 for the target network intent data set according to the ID of the target network intent data set. In this embodiment, the database 605 stores network intent data sets, each with its corresponding network intent data set ID.
S7: the business management module 601 sends the set of network intent data to the business orchestration module 603.
S8: the business orchestration module 603 obtains orchestration templates from the module management module.
S9: the business orchestration module 603 finds the underlying stock module 607 to get the network node ID to be configured according to the target network intent data set.
S10, the service arrangement module 603 determines configuration information of the first configuration according to the arrangement template and the network node ID to be configured.
The above S7 to S10 specifically are: first, it should be noted that, the basic stock module 607 is connected to each network node, and stores the ID of each network node and the IP address corresponding to the ID of the network node, and when the network node is updated or changed, the basic stock module 607 synchronously updates the network node information. After obtaining the network intention data set, the service management module 601 sends the network intention data set to the service orchestration module 603. The service orchestration module 603 determines a target network private line to be established according to the target network intention data set, and determines a network node ID to be configured in the target network private line according to the target network private line to be established by the basic stock searching module 607; meanwhile, the service management module 601 acquires a layout template sent by the service template management module 606, the service template management module 606 stores a preset layout template, the layout template contains the to-be-configured quantity of network nodes, and the to-be-configured quantity of the network nodes specifically refers to the physical quantity required to be configured for establishing the network nodes of the network private line, and the to-be-configured quantity comprises the IP address of the network nodes, virtual routing forwarding (virtual routing and forwarding, VRF), virtual local area network (virtual local area network, VLAN) numbers, tunnel (Tunnel) and the like. The service orchestration module 603 determines configuration information of a first configuration according to IDs of one or more network nodes to be configured corresponding to the target network dedicated line and an amount of to be configured of the network nodes, where the configuration information of the first configuration is used in a configuration process of the network nodes to be configured in the target network dedicated line, so as to complete establishment of the target network dedicated line.
S11: the orchestration template sends configuration information for the first configuration to the business management module 601.
S12: the service management module 601 sends the configuration information of the first configuration to the service execution module 604.
As shown in table 1 below, the manner in which the configuration information of the first configuration is determined is illustrated: the business arrangement module 603 searches the basic stock module 607 according to the target network intention data set to determine that the network node to be configured is a router R1 and a router R2, the basic stock module 607 sends the ID of the router R1 and the ID of the router R2 to the business arrangement module 603, and the business arrangement module 603 configures the router R1 and the router R2 based on the amount to be configured of the arrangement template, the ID of the router R1 and the ID of the router R2, so that configuration information of the first configuration is as shown in the following table: the configuration information of the first configuration includes information such as VRF of the router R1 being the enterprise private line 123, tunnel of the router R1 being the enterprise private line, and the like.
TABLE 1
Figure BDA0002026022540000101
Further, in this embodiment, when the service orchestration module 603 determines the configuration information of the first configuration, it needs to avoid the parameter conflict with the existing service occupation as much as possible, for example, the second service occupies the IP address 192.168.1.1, and when determining the configuration information of the first configuration, it needs to avoid occupying the IP address.
S13: the service execution module 604 obtains configuration information of the second configuration at the current time stored in the database 605.
S14: the service execution module 604 compares the configuration information of the first configuration with the configuration information of the second configuration to obtain a configuration difference of the target network node.
In this embodiment, the definition of the target network node is similar to that of step 504 in the above embodiment, and detailed description thereof is omitted here.
S15: the service execution module 604 generates one or more configuration instructions based on the configuration differences of the target network node.
S16: the service execution module 604 requests the IP address of one or more target network nodes from the infrastructure module 607.
S17, the service execution module 604 sends the configuration instructions to the corresponding target network nodes according to the IP addresses of the target network nodes, so that the target network nodes execute corresponding configuration according to the configuration instructions.
In this embodiment, several possible cases of the configuration instruction are similar to those of step 504 in the above embodiment, and detailed descriptions thereof are omitted here.
After the configuration of the target network node is completed, the target network node sends a message of successful configuration to the service execution module 604, and the service execution module 604 forwards the message of successful configuration to the service management module 601, so that the service management module 601 can determine that the second configuration has been restored to the first configuration.
It can be seen that the embodiments of the present application have the following advantages: 1. in the prior art, the configured network implementation data is directly restored, because the distribution of network resources in the network management server is continuously changed, the network implementation data is rolled back to the network implementation data at the historical moment, which possibly conflicts with the network resources occupied by the existing service, but the application is rolled back to the target network intention data, and the configuration information of the first configuration is obtained by re-arranging the target network intention data set, wherein the network intention data is only the intention information of a user or network operation and is not distributed by the network resources in the network management server, so that the problem of conflict with the existing occupied network resources can be effectively avoided. 2. Meanwhile, in this embodiment, when the second configuration at the current moment is restored to the first configuration, a possible case is that the configuration information of the second configuration and the configuration information of the first configuration have the same part, so compared with the scheme of directly restoring the network implementation data corresponding to the configuration in the prior art, the network management server issues the configuration instruction based on the network implementation data corresponding to the configuration, and the data volume required to be restored by the network node is huge. 3. Moreover, in the prior art, the network realization data which needs to be recovered can be recovered after being confirmed by an operator, the network realization data generally has hundreds of parameters, the data volume confirmed by a user is large, the network intention data set is introduced as an intermediate concept, the network intention data set has tens of parameters, the network intention data set is confirmed by the operator, the network realization data can be directly obtained by the network intention data set, the network realization data does not need to be further confirmed by the operator, and the quantity of the network intention data set is far smaller than that of the network realization data, so that the parameter volume confirmed by the operator can be reduced, and the manpower resource is saved.
It should be noted that, because the content of information interaction and execution process between the modules/units of the above-mentioned device is based on the same concept as the method embodiment of the present application, the technical effects brought by the content are the same as the method embodiment of the present application, and specific content can be referred to the description in the method embodiment shown in the foregoing application, which is not repeated here.
Further, in the embodiment of the present application, one or more pieces of configuration information of the network node exist in the configuration information of the first configuration, and one or more pieces of configuration information of the network node also exist in the configuration information of the second configuration, where the configuration information of the first configuration is compared with the configuration information of the second configuration, and several possible comparison results are illustrated:
based on the example of configuration information for the first configuration in table 1, table 2 is one possible case of configuration information for the second configuration:
TABLE 2
Figure BDA0002026022540000111
The network node configuration information of the first configuration includes configuration information of the target network node as in table 2 above: in the case that the VLAN number and the service port IP address of the router R2 are not included in the configuration information of the second configured network node, the service execution module 604 issues an add configuration instruction to the target network node, specifically: the service execution module 604 searches the IP address of the router R2 in the basic stock module 607 according to the ID of the router R2, the service execution module 604 determines the position of the router R2 according to the IP address of the router R2, and invokes the interface of the router R2 to issue an instruction to the router R2 to increase the VLAN number of the router R2 to 25 and to increase the service port IP address of the router R2 to 192.100.100.11. One possible application scenario is: the network management server at the initial moment executes the first configuration to establish the network dedicated line from the Wuhan to the Shenzhen, and the network management server at the current moment executes the second configuration to modify the network dedicated line configuration from the Wuhan to the Shenzhen, and the configuration needs to be restored to the initial moment.
Or alternatively, the first and second heat exchangers may be,
based on the example of configuration information for the first configuration in table 1, table 3 is another possible case of configuration information for the second configuration:
TABLE 3 Table 3
Figure BDA0002026022540000112
When the configuration information of the second configured network node includes the configuration information of the target network node: the service execution module 604 issues a delete configuration instruction to the target network node if the VRF and the service port IP address of the router R3 but the configuration information of the first configured network node does not include the configuration information of the target network node, specifically: the service execution module 604 searches the IP address of the router R3 in the basic stock module 607 according to the ID of the router R3, and the service execution module 604 determines the position of the router R3 according to the IP address of the router R3 and invokes the interface of the router R3 to issue an instruction for deleting the VRF and the service port IP address. One possible application scenario is: the network management server at the initial moment executes the first configuration to establish the network dedicated line from Wuhan to Shenzhen, and the network management server at the current moment executes the second configuration to increase the network dedicated line from Shenzhen to Beijing on the basis of the original configuration, and the configuration needs to be restored to the initial moment.
Or alternatively, the first and second heat exchangers may be,
based on the example of configuration information for the first configuration in table 1, table 4 is another possible case of configuration information for the second configuration:
TABLE 4 Table 4
Figure BDA0002026022540000121
The service execution module 604 issues a configuration modification instruction to the target network node when the configuration information of the target network node in the first configured network node configuration information is different from the configuration information of the target network node in the second configured network node configuration information, and specifically: as shown in the above table, the VLAN number of the router R2 in the configuration information of the first configuration is 26, the VLAN number of the router R2 in the configuration information of the second configuration is 25, the VRF and the service port IP address of the router R3 also exist in the configuration information of the second configuration, the service execution module 604 searches the IP address of the router R2 in the basic stock module 607 according to the ID of the router R2, the service execution module 604 determines the position of the router R2 according to the IP address of the router R2, and invokes the interface of the router R2 to issue an instruction for modifying the VLAN number of the router R2 from 25 to 26. Meanwhile, the service execution module 604 searches the IP address of the router R3 in the basic stock module 607 according to the ID of the router R3, and the service execution module 604 determines the position of the router R3 according to the IP address of the router R3 and invokes the interface of the router R3 to issue an instruction for deleting the VRF and the service port IP address. One possible application scenario is: the network management server at the initial moment executes the first configuration to establish a network dedicated line from Wuhan to Shenzhen, the network management server at the current moment executes the second configuration, beijing sites are added between the Wuhan stations and Shenzhen stations, and the configuration needs to be restored to the initial moment.
In this embodiment, several possible configuration instructions are discussed in detail, and the target network node is configured according to the configuration instructions, so that the second configuration can be restored to the first configuration.
Further, in this embodiment, before restoring the configuration, the network intent data set and the network implementation data in each configuration may be stored in the database 605 as a snapshot chain, where the snapshot chain is a relational chain formed by multiple snapshots, and the snapshots are arranged into a chain according to the creation time, specifically: as shown in fig. 8, corresponding to fig. 4, at a certain moment, the network intention data set and the network realization data corresponding to the configuration 1 form a snapshot, and are stored in a node of the snapshot chain, at a next moment, the network intention data set and the network realization data corresponding to the configuration 2 form a snapshot, and are stored in a next node of the snapshot chain, and the configuration 3 and the configuration 4 are similarly executed to form the snapshot chain. In fig. 8, only 5 snapshot chain nodes are taken as an example, and it is understood that the number of snapshot chain links is not limited in practical use.
Next, with reference to fig. 9, a description is given of a snapshot chain forming process and an updating process of the present application:
step 901, a network management server forms a snapshot chain according to at least one first data set and at least one network implementation data.
The first data sets and the network implementation data are in one-to-one correspondence, a plurality of the first data sets and the network implementation data in one-to-one correspondence are respectively stored in different snapshot link nodes according to time sequence, each snapshot link node corresponds to a time point, and the snapshot links are stored in the database 605.
Step 902, the network management server acquires at least one network intention data set pre-stored in a snapshot chain.
Step 903, the network management server receives a selection instruction of a target network intention data set in at least one network intention data set.
Steps 902 and 903 of this embodiment are similar to steps 501 and 502 of the above-described embodiments, and detailed descriptions thereof are omitted here.
Step 904, the network management server determines a corresponding target time point of the target network intention data set in the snapshot chain according to the selection instruction.
Step 905, the network management server determines a target network intention data set from at least one network intention data set stored in the snapshot chain according to the target time point.
After selecting the target network intention data set, the service management module 601 obtains the target network intention data set ID, finds a target time point corresponding to the target network intention data set ID in the snapshot chain, directly obtains the target network intention data set corresponding to the target time point, adopts the snapshot chain mode, can quickly restore the system setting to a state of a certain historical time point, is convenient for the system to roll back, and can quickly restore the current network intention data set to the target network intention data set corresponding to the first configuration by adopting the snapshot chain.
Step 906, the network management server determines network node configuration information of the first configuration according to the target network intention data set.
Step 907, the network management server sends a configuration instruction to the network node corresponding to the first configuration and/or the network node corresponding to the second configuration according to the configuration information of the network node corresponding to the first configuration.
Steps 906 and 907 of this embodiment are similar to steps 503 and 504 of the above-described embodiment, and detailed descriptions thereof are omitted here.
Step 908, the network management server updates the snapshot chain according to the target network intent data set and the first configured network node configuration information.
Forming a corresponding relation between the target network intention data set and the first configuration network node configuration information (or the first configuration network realization data) obtained by the arrangement of the arrangement module, and storing the target network intention data set with the corresponding relation and the first configuration network realization data in snapshot link points, wherein the snapshot link nodes are different snapshot link points from the snapshot link nodes occupied in the step 901. Thus, the updating of the snapshot link points is completed, and the updated snapshot chain can be used for the recovery of the next period configuration. As shown in fig. 8, upon restoration of configuration 2, the snapshot chain is updated according to the network intention data 2 of configuration 2 and the recalculated network implementation data 5.
Referring to fig. 10, another possible structure of the network management server 100 of the present application is described below, including:
a receiver 1001, a transmitter 1002, a processor 1003, and a memory 1004 (wherein the number of processors 1003 in the network management server 100 may be one or more, one processor being exemplified in fig. 10). In some embodiments of the present application, the receiver 1001, transmitter 1002, processor 1003, and memory 1004 may be connected by a bus or other means, with the bus connection being exemplified in fig. 10. The memory may also be integrated with the processor.
Memory 1004 may include read only memory and random access memory and provide instructions and data to processor 1003. A portion of the memory 1004 may also include non-volatile random access memory (collectively referred to in english: non-volatile randomaccess memory, acronym in NVRAM). The memory 1004 stores an operating system and operating instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, where the operating instructions may include various operating instructions for performing various operations. The operating system may include various system programs for implementing various underlying services and handling hardware-based tasks.
The processor 1003 controls the operation of the network management server 100, and the processor 1003 may also be referred to as a central processing unit (english: central processing unit, english: CPU). In a specific application, the various components of the network management server 100 are coupled together by a bus system that may include, in addition to a data bus, a power bus, a control bus, a status signal bus, and the like. For clarity of illustration, however, the various buses are referred to in the figures as bus systems.
The methods disclosed in the embodiments of the present application may be applied to the processor 1003 or implemented by the processor 1003. The processor 1003 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry of hardware in the processor 1003 or instructions in the form of software. The processor 1003 may be a general purpose processor, a digital signal processor (acronym for English: digital signal processing, acronym for English: DSP), an application specific integrated circuit (acronym for English: application specific integrated circuit, acronym for English: ASIC), a field programmable gate array (acronym for English: field-Programmable gate array, acronym for FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 1004, and the processor 1003 reads information in the memory 1004 and performs the steps of the method in combination with its hardware.
The receiver 1001 may be used to receive input digital or character information and generate signal inputs related to relevant settings and function control of the network management server, the transmitter 1002 may include a display device such as a display screen, and the transmitter 1002 may be used to output digital or character information through an external interface.
In the embodiment of the present application, the processor 1003 is configured to perform the foregoing method.
It should be further noted that the above-described apparatus embodiments are merely illustrative, and that the units described as separate units may or may not be physically separate, and that units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the application, the connection relation between the modules represents that the modules have communication connection therebetween, and can be specifically implemented as one or more communication buses or signal lines.
From the above description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented by means of software plus necessary general purpose hardware, or of course may be implemented by dedicated hardware including application specific integrated circuits, dedicated CPUs, dedicated memories, dedicated components and the like. Generally, functions performed by computer programs can be easily implemented by corresponding hardware, and specific hardware structures for implementing the same functions can be varied, such as analog circuits, digital circuits, or dedicated circuits. However, a software program implementation is a preferred embodiment in many cases for the present application. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a readable storage medium, such as a floppy disk, a U-disk, a removable hard disk, a read-only memory (ROM), a random-access memory (random access memory, RAM), a magnetic disk or an optical disk of a computer, etc., including several instructions for causing a computer device (which may be a personal computer or a server, etc.) to execute the method described in the embodiments of the present application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.

Claims (18)

1. A network configuration restoration method, wherein the method is used for a network management server to restore a second configuration at a current time to a first configuration, the first configuration being a configuration at a time before the second configuration, and the first configuration and the second configuration both belong to at least one configuration of a first service, the network configuration restoration method comprising:
acquiring at least one pre-stored network intention data set, wherein the at least one network intention data set has a one-to-one correspondence with at least one configuration, the network intention data set comprises one or more network intention data, and the network intention data is the requirement information of a network operator or a user on a network private line;
receiving a selection instruction of a target network intention data set in the at least one network intention data set, wherein the target network intention data set corresponds to the first configuration;
determining network node configuration information of a first configuration according to the target network intention data set, wherein the network node configuration information refers to configuration information of a network node in the network private line;
and sending a parameter configuration instruction to the network node corresponding to the first configuration and/or the network node corresponding to the second configuration according to the network node configuration information of the first configuration.
2. The method according to claim 1, wherein the sending, according to the network node configuration information of the first configuration, a parameter configuration instruction to the network node corresponding to the first configuration and/or the network node corresponding to the second configuration comprises:
comparing the network node configuration information of the first configuration with the network node configuration information of the second configuration to obtain a configuration difference of a target network node, wherein the target network node is a network node with the configuration difference between the first configuration and the second configuration, and the target network node is one or more network nodes corresponding to the first configuration and/or one or more network nodes corresponding to the second configuration;
and sending a configuration instruction to the target network node according to the configuration difference of the target network node.
3. The method of claim 2, wherein determining network node configuration information for a first configuration from the target network intent data set comprises:
determining the network node to be configured of the first configuration according to the target network intention data set;
obtaining the quantity to be configured of the network node, wherein the quantity to be configured of the network node comprises a virtual private network VRF of the network node, a tunnel of the network node, a virtual local area network VLAN of the network node and/or an IP address of the network node;
And determining the network node configuration information of the first configuration according to the quantity to be configured and the network node to be configured of the first configuration.
4. A method according to claim 3, wherein said determining network node configuration information for said first configuration comprises:
acquiring network node configuration information of a second service;
determining network node configuration information of the first configuration different from network node configuration information of the second service.
5. The method according to any of claims 2 to 4, wherein the configuration information of one or more network nodes is present in the configuration information of the network nodes of the first configuration, and the configuration information of one or more network nodes is present in the configuration information of the network nodes of the second configuration;
the sending a configuration instruction to the target network node according to the configuration difference of the target network node comprises:
when the configuration information of the first configured network node includes the configuration information of the target network node, and the configuration information of the second configured network node does not include the configuration information of the target network node, sending an instruction for increasing the configuration of the target network node to the target network node;
Or alternatively, the first and second heat exchangers may be,
when the configuration information of the second configured network node includes the configuration information of the target network node, and the configuration information of the first configured network node does not include the configuration information of the target network node, sending an instruction for deleting the configuration of the target network node to the target network node;
and/or the number of the groups of groups,
and when the configuration information of the target network node in the first configured network node configuration information is different from the configuration information of the target network node in the second configured network node configuration information, sending an instruction for modifying the configuration of the target network node to the target network node according to the configuration difference of the target network node.
6. The method according to any one of claims 1 to 4, further comprising:
generating a one-to-one correspondence of at least one network intent data set and a configuration at least one point in time;
and forming a snapshot chain according to the at least one-to-one correspondence.
7. The method of claim 6, wherein after receiving the selection instruction of the target network intent data set of the at least one network intent data set, the method further comprises:
Determining a corresponding target time point of the target network intention data in the snapshot chain according to the selection instruction, wherein the target time point belongs to the at least one time point;
and determining a target network intention data set from the at least one network intention data set stored in the snapshot chain according to the target time point.
8. The method according to claim 6 or 7, wherein after determining the first configured network node configuration information from the target network intention data set, the method further comprises:
and updating the snapshot chain according to the target network intention data set and the first configured network node configuration information.
9. A network management server for restoring a second configuration at a current time to a first configuration, the first configuration being a configuration at a time prior to the second configuration, the first configuration and the second configuration each belonging to at least one configuration of a first service, the network management server comprising:
the business management module is used for acquiring at least one pre-stored network intention data set, wherein the at least one network intention data set has a one-to-one correspondence with at least one configuration, the network intention data set comprises one or more network intention data, and the network intention data is the requirement information of a network operator or a user on a network private line;
The business management interface module is used for receiving a selection instruction of a target network intention data set in the at least one network intention data set, and the target network intention data set corresponds to the first configuration;
the service arrangement module is used for determining network node configuration information of a first configuration according to the target network intention data set, wherein the network node configuration information refers to the configuration information of the network nodes in the network private line;
and the service execution module is used for sending a parameter configuration instruction to the network node corresponding to the first configuration and/or the network node corresponding to the second configuration according to the network node configuration information of the first configuration.
10. The network management server according to claim 9, wherein the service execution module is specifically configured to compare the configuration information of the network node in the first configuration with the configuration information of the network node in the second configuration to obtain a configuration difference of a target network node, where the target network node is a network node having a configuration difference between the first configuration and the second configuration, and the target network node is one or more network nodes corresponding to the first configuration and/or one or more network nodes corresponding to the second configuration;
And sending a configuration instruction to the target network node according to the configuration difference of the target network node.
11. The network management server according to claim 10, wherein the service orchestration module is specifically configured to determine the first configured network node to be configured according to the target network intent data set;
obtaining the quantity to be configured of the network node, wherein the quantity to be configured of the network node comprises a virtual private network VRF of the network node, a tunnel of the network node, a virtual local area network VLAN of the network node and/or an IP address of the network node;
and determining the network node configuration information of the first configuration according to the quantity to be configured and the network node to be configured of the first configuration.
12. The network management server according to claim 11, wherein the service orchestration module is specifically configured to obtain network node configuration information of the second service;
determining network node configuration information of the first configuration different from network node configuration information of the second service.
13. The network management server according to any one of claims 10 to 12, wherein the configuration information of the first configured network node includes configuration information of one or more network nodes, and the configuration information of the second configured network node includes configuration information of one or more network nodes;
The service execution module is specifically configured to send an instruction for increasing the configuration of the target network node to the target network node when the configuration information of the first configured network node includes the configuration information of the target network node and the configuration information of the second configured network node does not include the configuration information of the target network node;
or alternatively, the first and second heat exchangers may be,
the service execution module is specifically configured to send an instruction for deleting the configuration of the target network node to the target network node when the configuration information of the second configured network node includes the configuration information of the target network node and the configuration information of the first configured network node does not include the configuration information of the target network node;
and/or the number of the groups of groups,
the service execution module is specifically configured to send, to the target network node, an instruction for modifying the configuration of the target network node according to the configuration difference of the target network node when the configuration information of the target network node in the first configured network node configuration information is different from the configuration information of the target network node in the second configured network node configuration information.
14. The network management server according to any one of claims 9 to 12, wherein the traffic management module is further configured to generate, at least one point in time, a one-to-one correspondence of at least one network intent data set to a configuration;
and forming a snapshot chain according to the at least one-to-one correspondence.
15. The network management server of claim 14, wherein the service management module is further configured to determine, according to the selection instruction, a target time point corresponding to the target network intention data in the snapshot chain, the target time point belonging to the at least one time point;
and determining a target network intention data set from the at least one network intention data set stored in the snapshot chain according to the target time point.
16. The network management server of claim 14 or 15, wherein the traffic management module is further configured to update the snapshot chain based on the target network intention data set and the first configured network node configuration information.
17. A network management server, comprising: memory, transceiver, processor, and bus system;
Wherein the memory is used for storing programs and instructions;
the transceiver is used for receiving or transmitting information under the control of the processor;
the processor is used for executing the program in the memory;
the bus system is used for connecting the memory, the transceiver and the processor so as to enable the memory, the transceiver and the processor to communicate;
wherein the processor is configured to invoke program instructions in the memory to perform the method of any of claims 1 to 8.
18. A computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 8.
CN201910294465.5A 2019-04-12 2019-04-12 Network configuration recovery method and related equipment thereof Active CN111817869B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910294465.5A CN111817869B (en) 2019-04-12 2019-04-12 Network configuration recovery method and related equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910294465.5A CN111817869B (en) 2019-04-12 2019-04-12 Network configuration recovery method and related equipment thereof

Publications (2)

Publication Number Publication Date
CN111817869A CN111817869A (en) 2020-10-23
CN111817869B true CN111817869B (en) 2023-05-19

Family

ID=72843921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910294465.5A Active CN111817869B (en) 2019-04-12 2019-04-12 Network configuration recovery method and related equipment thereof

Country Status (1)

Country Link
CN (1) CN111817869B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769620B (en) * 2021-01-08 2023-02-03 深信服科技股份有限公司 Network deployment method, equipment and computer readable storage medium
CN113515305B (en) * 2021-07-12 2024-04-16 北京达佳互联信息技术有限公司 Configuration information determining method, configuration snapshot generating method and device
CN113872817B (en) * 2021-10-20 2024-04-12 中国电信股份有限公司 Network connection control method, device, equipment, storage medium and system
CN114143211A (en) * 2021-11-26 2022-03-04 惠州Tcl移动通信有限公司 Simulation network generation method, device, terminal and storage medium
CN116489029A (en) * 2022-01-17 2023-07-25 华为技术有限公司 Network configuration method, device and system
CN114697211B (en) * 2022-05-31 2022-09-02 深圳市科力锐科技有限公司 Network configuration method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964273A (en) * 2005-11-10 2007-05-16 华为技术有限公司 A method to interact service configuration information
WO2009147674A1 (en) * 2008-06-03 2009-12-10 Ethos Networks Ltd. Automatic signaling method and device for telecommunication services
CN106357443A (en) * 2016-09-14 2017-01-25 中国联合网络通信集团有限公司 Network configuration method and network configuration device
CN107734050A (en) * 2017-10-31 2018-02-23 北京蓝海讯通科技股份有限公司 A kind of load machine distribution method, computing device and load machine distribution system
CN108418776A (en) * 2017-02-09 2018-08-17 上海诺基亚贝尔股份有限公司 Method and apparatus for providing safety service
CN109361553A (en) * 2018-11-30 2019-02-19 新华三技术有限公司合肥分公司 Configure rollback method and device
CN109586864A (en) * 2017-09-28 2019-04-05 华为技术有限公司 Data transmission method, apparatus and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9621968B2 (en) * 2013-11-11 2017-04-11 Infinera Corporation Multi layer, multi vendor, multi domain, applications for software defined networking enabled networks
US10673978B2 (en) * 2015-05-06 2020-06-02 Centurylink Intellectual Property Llc Method and system for implementing network experience shifting using shared objects

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964273A (en) * 2005-11-10 2007-05-16 华为技术有限公司 A method to interact service configuration information
WO2009147674A1 (en) * 2008-06-03 2009-12-10 Ethos Networks Ltd. Automatic signaling method and device for telecommunication services
CN106357443A (en) * 2016-09-14 2017-01-25 中国联合网络通信集团有限公司 Network configuration method and network configuration device
CN108418776A (en) * 2017-02-09 2018-08-17 上海诺基亚贝尔股份有限公司 Method and apparatus for providing safety service
CN109586864A (en) * 2017-09-28 2019-04-05 华为技术有限公司 Data transmission method, apparatus and system
CN107734050A (en) * 2017-10-31 2018-02-23 北京蓝海讯通科技股份有限公司 A kind of load machine distribution method, computing device and load machine distribution system
CN109361553A (en) * 2018-11-30 2019-02-19 新华三技术有限公司合肥分公司 Configure rollback method and device

Also Published As

Publication number Publication date
CN111817869A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN111817869B (en) Network configuration recovery method and related equipment thereof
CN106533883B (en) A kind of method for building up, the apparatus and system of network special line
US10341141B2 (en) Flow entry generating method and apparatus
US20030041170A1 (en) System providing a virtual private network service
CN103209108B (en) A kind of route generating method based on DVPN and equipment
KR20120052981A (en) Method and system for deploying at least one virtual network on the fly and on demand
CN105721306A (en) Configuration information transmission method and device
US10855576B2 (en) Information transmission method and device
CN103546304A (en) Business processing method, equipment and system
CN109660441A (en) The method and device of multicast replication in Overlay network
CN104901825B (en) A kind of method and apparatus for realizing zero configuration starting
WO2018068588A1 (en) Method and software-defined networking (sdn) controller for providing multicast service
CN114143283B (en) Tunnel self-adaptive configuration method and device, central terminal equipment and communication system
CN113572864B (en) Data processing method, network element equipment and readable storage medium
CN108964961A (en) A kind of method, apparatus and system of management transmission network slice
CN102484611A (en) Link state identifier collision handling
CN106571992A (en) Virtual Private Line (VPL) establishing method and device
US9900804B2 (en) Method and device for processing to share network resources, and method, device and system for sharing network resources
CN114024886B (en) Cross-resource-pool network intercommunication method, electronic equipment and readable storage medium
CN115118585A (en) Service deployment method, device and system
WO2020181733A1 (en) Vpc-based multi-data center intercommunication method and related device
CN109327375B (en) Method, device and system for establishing VXLAN tunnel
CN108900422A (en) Multicast forward method, device and electronic equipment
CN113068083B (en) Method, device and equipment for establishing connection and computer readable storage medium
CN109462537B (en) Cross-network intercommunication method and device

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