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

Network configuration recovery method and related equipment thereof Download PDF

Info

Publication number
CN111817869A
CN111817869A CN201910294465.5A CN201910294465A CN111817869A CN 111817869 A CN111817869 A CN 111817869A CN 201910294465 A CN201910294465 A CN 201910294465A CN 111817869 A CN111817869 A CN 111817869A
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.)
Granted
Application number
CN201910294465.5A
Other languages
Chinese (zh)
Other versions
CN111817869B (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

Landscapes

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

Abstract

The embodiment of the application discloses a network configuration recovery method, which is used for recovering a second configuration at the current moment to a first configuration at a historical moment, and the method of the embodiment of the application comprises the following steps: 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 relation with at least one configuration, 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 first configured network node configuration information according to the target network intention data set, wherein the network node configuration information refers to configuration information of network nodes in a network private line; and sending 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 network node configuration information of the first configuration.

Description

Network configuration recovery method and related equipment thereof
Technical Field
The present application relates to the field of communications, and in particular, to a network configuration recovery method and related devices.
Background
A complete network connection service (hereinafter referred to as a "service") needs to be implemented by the cooperation of network nodes, for example, as shown in fig. 1, a service is a service that establishes a dedicated network line from a network station a to a network station B, and when the service is executed, the configuration of each network node is adjusted for many times due to a change in the user's requirement and a change in the network state, for example, the dedicated network line between the network station a and the network station B is adjusted to the dedicated network line between the network station a and the network station C, the configuration of the network node also needs to be adjusted accordingly, and in the process of continuously adjusting the service, if a problem occurs in the adjusted service, the problem may be discovered after continuously adjusting for a period of time, and at this time, the configuration of the network node at a certain historical time needs to be recovered.
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, the network management server (specifically, a Network Management System (NMS)) receives a modification request 3 after executing configuration 3, at this time, the network implementation data at the current time is the network implementation data 3, the network implementation data 4 is still unfinished in operation, if an operator finds that both configuration 4 and configuration 3 have a problem, the configuration 2 needs to be restored, after receiving a configuration restoration instruction, the network management server obtains the stored network implementation data at all points, that is, the network implementation data 1 to the network implementation data 4, and then displays the network implementation data to the operator for selection, and the operator selects the network implementation data 2 as target data that needs to be restored, the network management server searches the database according to the selection of the operator to obtain the network implementation data 2, and issues a configuration instruction to the corresponding network node according to the network implementation data 2, so that the recovery of the configuration 2 is completed.
According to the scheme for carrying out configuration recovery based on network implementation data at a certain historical time point, the recovery of certain network implementation data represents that the network node parameters corresponding to the network implementation data are to be recovered, the allocation of network resources is continuously changed in the operation process of the network management server, if the network implementation data at a certain historical time point is recovered, the network resources corresponding to the network implementation data at the historical time are likely to be allocated 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 to a first configuration, the second configuration to a configuration at a current time, the first configuration to a historical 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, that is, 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 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 which indicates that a user has at least one network intention, the network intention data refers to requirement information of a network operator or the user on a network private line, the requirement information can be network private line from one network site to another network site which is requested to be established by the network operator or the user, the at least one network intention data set has one-to-one correspondence with at least one configuration, if the first configuration needs to be recovered, the 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, and then determining the configuration information of the network node of the first configuration according to the target network intention data set, the first configuration network node configuration information is to establish a network dedicated line corresponding to the first configuration, and the network node in the network dedicated line needs to be configured with parameters, wherein the first configuration information is obtained by recalculation based on a target network intention data set, rather than directly acquiring network implementation data corresponding to the first configuration stored in a database; then sending parameter configuration instructions to the network nodes corresponding to the first configuration and/or the network nodes 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 the corresponding configuration according to the configuration instruction, and after the configuration is completed, the second configuration resumes 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 for the first configuration, the configuration instruction may include a modification configuration instruction if the same network node exists between the network node corresponding to the first configuration and the network node corresponding to the second configuration, and the configuration instruction may further include a deletion configuration instruction and/or an addition configuration instruction if different network nodes exist between the network node corresponding to the first configuration and the network node corresponding to the second configuration.
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 relation with at least one configuration, the network intention data in the network intention data set is the requirement information of a network operator or a user on a network private line, after receiving a selection instruction of a target network intention data set in the at least one network intention data set, obtaining the configuration information of a network node of a first configuration according to the target network intention data of the first configuration, the configuration information of the network node is the configuration information of the network node in the network private line, then sending a parameter configuration instruction to the network node corresponding to the first configuration and/or the network node corresponding to a second configuration according to the configuration information of the network node of the first configuration, and 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 by configuring according to the configuration instruction, therefore, the target network intention data selected to be recovered by the user can be recalculated to obtain the configuration information of the first configuration, the configuration recovery can be performed after the configuration information of the first configuration is obtained, instead of directly performing the configuration recovery on network implementation data of historical time points in the prior art, the network intention data is only intention information of the user or network operation, the configuration recovery based on the target network intention data can be free from the influence of network resource allocation in a network management server, and the success rate of the configuration recovery is increased.
In an optional implementation manner 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 the network node configuration parameters corresponding to the second configuration in a full-scale 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 recovering the second configuration into the first configuration after the network nodes corresponding to the first configuration carry out corresponding configuration according to the configuration instructions; comparing the configuration information of the network nodes of the first configuration with the configuration information of the network nodes of the second configuration in a differentiated issuing mode, determining the configuration difference of the target network nodes, wherein the target network nodes are the network nodes with the configuration difference between the first configuration and the second configuration, the target network nodes can be one or more network nodes corresponding to the first configuration and/or one or more network nodes corresponding to the second configuration, sending configuration instructions to the target network nodes according to the configuration difference of the target network nodes, and after the target network nodes carry out corresponding configuration according to the configuration instructions, the second configuration is recovered to be the first configuration. In this embodiment, the full-size delivery and the differentiated delivery are respectively described, the configuration recovery can be performed based on the target network intention data set, the influence of network resource allocation in the network management server can be avoided, the success rate of the configuration recovery is increased, and meanwhile, the differentiated delivery is performed based on the difference between the first configuration and the second configuration, so that the number of parameters to be configured for the network node is reduced compared with the full-size delivery scheme.
In an optional implementation manner of the present application, the determining, according to the target network intention data set, network node configuration information of a first configuration includes: determining a network intention according to a target network intention data set, thereby determining a network node to be configured which needs to perform parameter configuration in order to realize the network intention, wherein the network node to be configured is a first configured network node, then determining which quantity to be configured needs to be configured for the network node to be configured, and acquiring the preset quantity to be configured of the network node, wherein the quantity 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 amount to be configured of the network node. In this embodiment, the network node configuration information of the first configuration is obtained by re-determining based on the target network intention data set, instead of directly obtaining the network node configuration information of the first configuration at the historical time, which is stored in the database in advance, so that no matter how the 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 configuration recovery performed based on the network intention data set can be free from the influence of the network resource allocation in the network management server, and the success rate of the configuration recovery is increased.
In an optional implementation manner of the present application, the determining the 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 in the network management server except the first service, and the number of the second services is not limited; network node configuration information of a first configuration is determined that is different from the network node configuration information of the second service. 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 already occupied by other services can be avoided being occupied when the first configuration is recovered, and resource conflict is avoided.
In an optional embodiment of the present application, the configuration information of one or more network nodes exists in the network node configuration information of the first configuration, and the configuration information of one or more network nodes exists in the network node configuration information of the second configuration; sending 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 network node of the first configuration includes the configuration information of the target network node and the configuration information of the network node of the second configuration 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, namely sending a parameter configuration instruction to the target network node in the first configuration; or, when the network node configuration information of the second configuration includes the configuration information of the target network node, and the network node configuration information of the first configuration does not include the configuration information of the target network node, sending an instruction to delete the configuration of the target network node to the target network node, that is, 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 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, 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, the target network node may include one or more network nodes therein. 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 optional embodiment of the present application, the method further comprises: at least one time point, generating one-to-one correspondence relationship between at least one network intention data set and the configuration, thereby forming one-to-one correspondence relationship between at least one network intention data set and at least one configuration, for example, at a time point 1, forming a correspondence relationship between a first configuration and a target network intention data set, and at a time point 2, forming a correspondence relationship between a second configuration and a network intention data set of the second configuration; 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, a snapshot chain is formed by corresponding relation between the network intention data set of at least one time point and the configuration, so that when a certain configuration needs to be restored, the system setting can be restored to the 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 receiving the instruction to select the target network intention data set from the at least one network intention data set, the method further comprises: when the network management server utilizes the snapshot chain to roll back to the pre-stored target network intention data set, 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, a process of using the snapshot chain to rollback 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 implementation manner of the present application, after determining the network node configuration information of the first configuration according to the target network intention data set, the method further includes: on the basis of the original snapshot chain, a new snapshot chain node is added, and the new snapshot chain node can store the network node configuration information according to the target network intention data set and the first configuration, so that the update of the snapshot chain is realized. In this embodiment, updating the snapshot chain may facilitate the recovery of the next cycle 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 system comprises a service management module, a service management module and a configuration management module, wherein the service management module is used for acquiring at least one pre-stored network intention data set, the at least one network intention data set has 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;
a service management interface module, configured to receive a selection instruction of a target network intention data set in the at least one network intention data set, where the target network intention data set corresponds to the first configuration;
the service arrangement module is used for determining first configured network node configuration information according to the target network intention data set, wherein the network node configuration information refers to configuration information of 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 implementation manner of the present application, the service orchestration module is specifically configured to determine, according to the target network intention data set, the network node to be configured of the first configuration;
acquiring 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 amount to be configured and the network node to be configured of the first configuration.
In an optional implementation manner of the present application, the service orchestration module is specifically configured to obtain network node configuration information of a second service;
determining the network node configuration information of the first configuration different from the network node configuration information of the second service.
In an optional embodiment of the present application, the network node configuration information of the first configuration includes configuration information of one or more network nodes, and the network node configuration information of the second configuration includes configuration information of one or more network nodes;
the service execution module is specifically configured to send, to the target network node, an instruction to increase the configuration of the target network node when the first configured network node configuration information includes the configuration information of the target network node and the second configured network node configuration information does not include the configuration information of the target network node;
or the like, or, alternatively,
the service execution module is specifically configured to send, to the target network node, an instruction to delete the configuration of 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 presence of a gas in the gas,
the service execution module is specifically configured to, 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, send an instruction to modify the configuration of the target network node to the target network node according to the configuration difference of the target network node.
In an optional implementation manner of the present application, the service management module is further configured to generate a one-to-one correspondence between at least one network intention data set and configuration at least one time point;
and forming a snapshot chain according to the at least one-to-one correspondence.
In an optional implementation manner of the present application, the method is further configured to determine, according to the selection instruction, a corresponding target time point of the target network intention data in the snapshot chain, where the target time point belongs to the at least one time point;
determining a target network intention data set from the at least one network intention data set stored by the snapshot chain according to the target time point.
In an optional implementation manner of the present application, the traffic 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 beneficial effects of any optional implementation manner of the second aspect are similar to those of the corresponding optional implementation manner of the first aspect, and are not described herein in detail.
A third aspect of the present application provides a network management server, comprising: a memory, a transceiver, a processor, and a bus system;
wherein the memory is to store programs and instructions;
the transceiver is used for receiving or sending 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 embodiments of the present application provides a computer storage medium, which includes operating instructions that, when executed on a computer, cause the computer to perform the method of any one of the first aspects.
A fourth aspect of embodiments of the present application provides a computer program product, which, when run on a computer, causes the computer to perform the method of any one of the first aspect.
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 diagram illustrating configuration recovery in the prior art of the present application;
FIG. 3 is a diagram illustrating a connection relationship between a network management server and network nodes according to the present application;
FIG. 4 is a schematic diagram of the configuration recovery of the present application;
FIG. 5 is a schematic diagram of an embodiment of a network configuration recovery method according to the present application;
FIG. 6 is a schematic structural diagram of a network management server according to the present application;
fig. 7 is a schematic diagram of another embodiment of the network configuration recovery method of the present application;
FIG. 8 is a schematic structural diagram of a snapshot chain of the present application;
fig. 9 is a schematic diagram of another embodiment of the network configuration recovery method of the present application;
fig. 10 is another schematic structural diagram of the network management server according to the present application.
Detailed Description
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. 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 recovery method can be applied to a network management server, which can be the network management system, as shown in fig. 3, the network management server can manage network nodes (or referred to as Network Elements (NEs)) in a network domain, the network management server is connected to each network node, and can issue parameters or instructions to the network nodes, so as to establish multiple types of network connection services for different devices or different sites.
The network element may be a network element, or a component in the network element (e.g., a port component in the network element), which is not limited in this embodiment of the present invention. The network element may be: passive Optical Network (PON) network elements, Optical Transport Network (OTN) network elements, Internet Protocol (IP) network elements, or microwave network elements, and the like. The network elements may specifically be switches, routers, gateways, etc. Further possible scenarios are not described in detail herein.
For example, the multiple types of network connection services may be divided into multiple types according to different connection objects, and the multiple types may include: the internet access service system comprises two major types of network connection services, namely an internet dedicated line service and an internet dedicated line service, wherein the internet dedicated line service is used for connecting a plurality of terminals, and the internet dedicated line service is used for accessing the terminals into the internet. Each company can have a plurality of branch companies, and the plurality of branch companies can subscribe the special line-of-interconnection service to interconnect terminals of the plurality of branch companies, so that the terminals of the plurality of branch companies can communicate conveniently. As shown in fig. 1, a network station a is connected to a network station B through the network node a, the network node B, and the network node C in fig. 1 to form a dedicated interconnection 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 a dedicated interconnection line for terminal communication between the network station a and the network station C. Further, each company may also subscribe to dedicated internet services to enable terminals in the company to access the internet, thereby facilitating access to the internet by the terminals of the company. Referring 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 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 layer2virtual private network (L2 VPN) technology or a layer 3virtual private network (L3 VPN) technology, and the like.
Based on the connection relationship between the network management server and the network node, fig. 4 shows a network configuration recovery method according to the present application. Fig. 4 illustrates 4 configurations, and the number of configurations in which actual services exist 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 store network intention data set 1 and network implementation data 1 in the database, then modify the first service in sequence, perform configuration 2, configuration 3, and configuration 4, respectively, and store network intention data set 2 to network intention data set 4 and network implementation data 2 to 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 and needs to be restored to the configuration 2, it can be found by referring to fig. 2 and fig. 4, that the network management server copies the network intention data set 2 of the configuration 2 and then obtains the network implementation data 5 based on the network intention data set 2 for configuration restoration, instead of directly rolling back to the network implementation data 2 corresponding to the configuration 2 for restoration in the prior art. The solution of the present application is explained in detail below with reference to fig. 5:
the dedicated network line is also called as a private line or a leased line, and the dedicated network line refers to an independent network line, i.e. an independent local area network, pulled for an organization, and the leased line service is one of the most important services in the service of the operator B2B (business-to-business).
Network configuration refers to the configuration of devices or interfaces in a network by a network engineer.
First, 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 configured network node configuration information based on the configured network intention data set, the network management server issues a configuration instruction to the network node according to the network node configuration information, so that the network node performs configuration according to the configuration instruction. The configuration, the network intention data set and the network implementation data have one-to-one correspondence, and the network intention data set and the network implementation data corresponding to each configuration are stored in the database. The network intent may be said to be the user's intent or business goal for the network private line, or may be said to be the network operator's intent for the network private line, or may be said to be the network operation and maintenance person's or network architect's intent for the network private line based on the network operator's needs. The network intention data is requirement information of a network operator or a user on a network special line, and the requirement information can be requirement information of the network operator or the user for establishing the network special line from one network station to another network station, for example, in order to establish the network special line from the network station A to the network station B in the figure 1, data of the network station A and data of the network station B need to be provided, and the network intention data comprises one or more items of an IP address, a subnet mask, a bandwidth, a routing strategy and a bandwidth adjusting strategy (QAS) of a starting station in the network special line, and one or more items of an IP address, a subnet mask, a bandwidth, a routing strategy and a bandwidth adjusting strategy of a terminating station. The network operator may request that one or more network private lines be established, and the set of network intention data may include one or more network intention data. The network implementation data refers to data that needs to be configured by network nodes in a dedicated network line in order to establish the one or more dedicated network lines, for example, data that needs to be configured by network node a, network node B, and network node C in order to establish a dedicated network line between network station a and network station B in fig. 1, and the number of network nodes in a certain dedicated network 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 regarded as equivalent concepts, and both are used for the network node in this configuration to perform parameter configuration, specifically including a network node ID and a configuration parameter corresponding to the network node ID.
Step 501, the network management server obtains at least one network intention data set stored in advance.
After finding that a certain configuration of the first service is wrong, an 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 configuration restoration request to a 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 operating the network management server, and may also be a manager of the network management server, and further other names are not repeated 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 a first configuration from the network intention data sets on a network management server interface, the network management server receives a selection instruction of the target network intention data set after the operator selects the target network intention data set, and the operator needs to confirm each network intention data in the target network intention data set so as 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 first configured network node configuration information according to the target network intention data set.
The network management server recalculates the network node configuration information of the first configuration according to the target network intention data set, instead of directly acquiring 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 recalculates the network node configuration information of the first configuration, the network management server can select the network node configuration information of the first configuration from the network resources which are not distributed 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.
One, one possible scenario is: in this embodiment, the network node corresponding to the second configuration needs to delete the network configuration parameters, that is, the network node corresponding to the first configuration performs reconfiguration according to the matching instruction of the first configuration, which is equivalent to a full-scale issuing manner, so that all the network nodes corresponding to the first configuration perform parameter configuration.
Two, another possible scenario 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, and sending a configuration instruction to the target network node according to the configuration difference of the 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 this embodiment is equivalent to performing parameter configuration only on differentiated network nodes, and specifically there are some positive cases as follows:
first, the target network node may be one or more network nodes corresponding to the first configuration, the target network node may also be one or more network nodes corresponding to the second configuration, and the target network node may also be one or more network nodes corresponding to the first configuration and one or more network nodes corresponding to the second configuration. If the same target network node exists between the network node corresponding to the first configuration and the network node corresponding to the second configuration, but the parameter configurations of the target network nodes are different, the network management server issues a configuration modification instruction to the target network node in the first configuration or the target network node in the second configuration, that is, 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; if the network node corresponding to the first configuration comprises a target network node and the network node corresponding to the second configuration does not comprise the target network node, the network management server issues a configuration increasing instruction to the target network node in the first configuration, that is, 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, and the network node corresponding to the first configuration does not include the target network node, the network management server issues a delete configuration instruction to the target network node in the second configuration, that is, the network management server may send the configuration instruction to one or more network nodes corresponding to the second configuration, where one or more of the situations may exist at the same time, that is, the network management server may send the 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 a parameter configuration instruction to one or more network nodes corresponding to the first configuration and/or one or more network nodes corresponding to the second configuration, and a network node may receive one or more configuration instructions, where the configuration instruction may be a modification configuration instruction, a deletion configuration instruction, and/or an addition configuration instruction.
Referring to fig. 6 and 7, the embodiment steps described in fig. 5 are specifically explained as follows:
fig. 6 shows a possible structure of the network management server according to the present application, which 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 base stock module 607.
The operator may click on a "configuration restore" button that business management interface module 602 presents on the network management server interface.
S1: the service management module 601 obtains at least one network intention data set pre-stored in the database 605. Such as the network intent data set 1 through the network intent data set 4 in fig. 4.
S2: the business management module 601 sends at least one network intent data set to the business management interface module 602.
S3: the business management interface module 602 presents at least one network intent data set.
S4: the service management interface module 602 receives a selection instruction of a target network intention data set in at least one network intention data set.
S5: the service management interface module 602 sends the 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 to obtain the target network intention data set according to the ID of the target network intention data set. In this embodiment, the database 605 stores network intention data sets, each having its corresponding network intention data set ID.
S7: the traffic management module 601 sends the network intention data set to the traffic orchestration module 603.
S8: the service orchestration module 603 obtains an orchestration template from the module management module.
S9: the service orchestration module 603 searches the basic stock module 607 according to the target network intention data set to obtain the ID of the network node to be configured.
S10, the service orchestration module 603 determines configuration information of the first configuration according to the orchestration template and the ID of the network node to be configured.
The above-mentioned S7 to S10 specifically include: first, the base stock module 607 is connected to each network node, and stores the ID of each network node and the IP address corresponding to the network node ID, and when the network node is updated or changed, the base stock module 607 updates the network node information synchronously. 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 business arrangement module 603 determines a target network dedicated 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 dedicated line according to the target network dedicated line to be established searching basic stock module 607; meanwhile, the service management module 601 obtains an arrangement template sent by the service template management module 606, the preset arrangement template is stored in the service template management module 606, the arrangement template includes a to-be-configured quantity of a network node, and the to-be-configured quantity of the network node specifically refers to a physical quantity which needs to be configured for establishing a network dedicated network node, and includes an IP address of the network node, a Virtual Routing and Forwarding (VRF), a Virtual Local Area Network (VLAN) number, a Tunnel (Tunnel), and the like. The service orchestration module 603 determines configuration information of a first configuration according to the ID of one or more to-be-configured network nodes corresponding to the target network dedicated line and the to-be-configured amount of the network nodes, where the configuration information of the first configuration is used in a configuration process of the to-be-configured network nodes in the target network dedicated line, so as to complete establishment of the target network dedicated line.
S11: the orchestration template sends the configuration information of the first configuration to the traffic 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 determination of the configuration information of the first configuration is illustrated by way of example: the service orchestration module 603 searches the basic inventory module 607 according to the target network intention data set to determine that the network nodes to be configured are the router R1 and the router R2, the basic inventory module 607 sends the ID of the router R1 and the ID of the router R2 to the service orchestration module 603, and the service orchestration module 603 configures the router R1 and the router R2 based on the amount to be configured of the orchestration template, the ID of the router R1 and the ID of the router R2, so as to obtain configuration information of a first configuration as shown in the following table: the configuration information of the first configuration includes information that the VRF of the router R1 is the dedicated enterprise line 123, the Tunnel of the router R1 is the dedicated enterprise line, and the like.
TABLE 1
Figure BDA0002026022540000101
Further, in this embodiment, when determining the configuration information of the first configuration, the service orchestration module 603 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, the service orchestration module needs to avoid occupying the IP address.
S13: the service execution module 604 obtains the 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 in step 504 of the above embodiment, and details are not repeated 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 traffic execution module 604 requests the IP address of one or more target network nodes from the base inventory module 607.
S17, the service execution module 604 sends the configuration instruction to the corresponding target network node according to the IP address of the target network node, so that the target network node executes corresponding configuration according to the configuration instruction.
In this embodiment, several possible cases of configuring the instructions are similar to step 504 in the above embodiment, and detailed description thereof is omitted here.
After the target network node completes configuration, the target network node sends a message of successful configuration to the service execution module 604, the service execution module 604 forwards the message of successful configuration to the service management module 601, and the service management module 601 may 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 distribution of network resources in the network management server is constantly changed, the network implementation data which is rolled back to the historical moment may conflict with the network resources occupied by the existing services, and the application rolls back to the target network intention data, and then rearranges the target network intention data set to obtain the configuration information of the first configuration, wherein the network intention data is only intention information of users 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 time is restored to the first configuration, a possible situation is that the configuration information of the second configuration and the configuration information of the first configuration have the same part, so that, compared with a scheme of directly restoring network implementation data corresponding to the configuration in the prior art, the network management server issues a configuration instruction based on the network implementation data corresponding to the configuration, and the amount of data that needs to be restored by a network node is huge. 3. In addition, in the prior art, network implementation data needing to be recovered can be recovered only after being confirmed by an operator, the network implementation data generally has hundreds of parameters, the data volume confirmed by a user is large, a network intention data set is introduced as an intermediate concept, the network intention data set has only dozens of parameters, the operator confirms the network intention data set, the network implementation data can be directly obtained from the network intention data set, the network implementation data does not need further confirmation of the operator, and the quantity of the network intention data set is far smaller than that of the network implementation data, so that the parameter quantity confirmed by the operator can be reduced, and human resources are saved.
It should be noted that, because the contents of information interaction, execution process, and the like between the modules/units of the apparatus are based on the same concept as the method embodiment of the present application, the technical effect brought by the contents is the same as the method embodiment of the present application, and specific contents may refer to the description in the foregoing method embodiment of the present application, and are not described herein again.
Further, in this embodiment of the present application, configuration information of one or more network nodes exists in the configuration information of the network node of the first configuration, configuration information of one or more network nodes also exists in the configuration information of the network node of the second configuration, and the configuration information of the first configuration is compared with the configuration information of the second configuration, which illustrates several possible comparison results:
based on the example of the configuration information of the first configuration in table 1, table 2 is one possible case of the configuration information of the second configuration:
TABLE 2
Figure BDA0002026022540000111
As shown in table 2 above, the network node configuration information of the first configuration includes configuration information of the target network node: under the condition that the VLAN number and the service port IP address of the router R2 and the configuration information of the second configured network node does not include the configuration information of the target 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 base stock module 607 according to the ID of the router R2, and the service execution module 604 determines the position of the router R2 according to the IP address of the router R2, and calls the interface of the router R2 to issue an instruction to add the VLAN number 25 of the router R2 and add the service port IP address 192.100.100.11 of the router R2 to the router R2. One possible application scenario is: the network management server at the initial moment executes the first configuration to establish the network leased line from Wuhan to Shenzhen, and the network management server at the current moment executes the second configuration to modify the network leased line configuration from Wuhan to Shenzhen, so that the configuration at the initial moment needs to be restored.
Or the like, or, alternatively,
based on the example of the configuration information of the first configuration in table 1, table 3 is another possible case of the configuration information of the second configuration:
TABLE 3
Figure BDA0002026022540000112
When the configuration information of the second configured network node includes the configuration information of the target network node: the VRF and the service port IP address of the router R3, but under the condition that the configuration information of the network node of the first configuration does not include the configuration information of the target network node, the service execution module 604 issues a delete configuration instruction to the target network node, specifically: the service execution module 604 searches the IP address of the router R3 in the base 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 calls the interface of the router R3 to issue an instruction for deleting the VRF and the IP address of the service port. One possible application scenario is: the network management server at the initial moment executes the first configuration to establish the network special line from Wuhan to Shenzhen, and the network management server at the current moment executes the second configuration to add the network special line from Shenzhen to Beijing on the original basis, so that the configuration at the initial moment needs to be restored.
Or the like, or, alternatively,
based on the example of the configuration information of the first configuration in table 1, table 4 is another possible case of the configuration information of the second configuration:
TABLE 4
Figure BDA0002026022540000121
In the case that 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, the service execution module 604 issues a configuration modification instruction to the target network node, 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, and 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 base inventory module 607 according to the ID of the router R2, the service execution module 604 determines the location of the router R2 according to the IP address of the router R2, and invokes an interface of the router R2 to issue an instruction to modify 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 base 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 calls an interface of the router R3 to issue an instruction for deleting the VRF and the IP address of the service port. One possible application scenario is: the network management server at the initial moment executes the first configuration to establish a network leased line from Wuhan to Shenzhen, the network management server at the current moment executes the second configuration, and a Beijing site is added between the Wuhan station and the Shenzhen station and needs to restore the configuration at the initial moment.
In this embodiment, a detailed discussion is given of several possible configuration instructions, and the target network node configures according to the configuration instructions, and may restore the second configuration to the first configuration.
Further, in this embodiment, before configuration is restored, the network intention data set and the network implementation data in each configuration may form a snapshot chain and store the snapshot chain in the database 605, where the snapshot chain is a relationship chain formed by a plurality of snapshots, and the snapshots are arranged in a chain according to creation time, specifically: as shown in fig. 8, corresponding to fig. 4, at a certain time, the network intention data set and the network implementation data corresponding to configuration 1 are configured to form a snapshot and stored in one node of the snapshot chain, at the next time, the network intention data set and the network implementation data corresponding to configuration 2 are configured to form a snapshot and stored in the next node of the snapshot chain, and configuration 3 and configuration 4 are executed similarly to form the snapshot chain. Fig. 8 only takes 5 snapshot chain nodes as an example, and it can be understood that the number of snapshot chain nodes is not limited in actual use.
Next, with reference to fig. 9, a description is given of a process of forming a snapshot chain and an update process of the present application:
step 901, the 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 correspond to the network implementation data one to one, a plurality of one-to-one corresponding first data sets and network implementation data are respectively stored in different snapshot chain nodes according to a time sequence, each snapshot chain node corresponds to a time point, and a snapshot chain is stored in the database 605.
Step 902, the network management server obtains at least one network intention data set pre-stored in the 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 in this embodiment are similar to steps 501 and 502 in the above embodiments, and detailed description thereof is omitted here.
Step 904, the network management server determines a target time point corresponding to 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 a target network intention data set ID, finds a target time point corresponding to the target network intention data set ID in a snapshot chain, directly obtains the target network intention data set corresponding to the target time point, and can quickly restore the system setting to a state of a certain historical time point in a snapshot chain manner, so as to facilitate system rollback.
Step 906, the network management server determines the first configured network node configuration information 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 embodiment, and detailed description thereof is omitted here.
Step 908, the network management server updates the snapshot chain according to the target network intention data set and the first configured network node configuration information.
Forming a corresponding relationship between the target network intention data set and the first configured network node configuration information (or the first configured network implementation data) obtained by the orchestration module, and storing the target network intention data set and the first configured network implementation data having the corresponding relationship in a snapshot chain node, where the snapshot chain node and the link taking node occupied in step 901 are different snapshot chain nodes. Therefore, the nodes of the snapshot chain are updated, and the updated snapshot chain can be used for recovering the configuration in the next period. As shown in fig. 8, when the configuration 2 is restored, the snapshot chain is updated according to the network intention data 2 of the 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 as follows, including:
a receiver 1001, a transmitter 1002, a processor 1003 and a memory 1004 (wherein the number of the processors 1003 in the network management server 100 may be one or more, and one processor is taken as an example in fig. 10). In some embodiments of the present application, the receiver 1001, the transmitter 1002, the processor 1003 and the memory 1004 may be connected by a bus or other means, wherein the connection by the bus is exemplified in fig. 10. The memory may also be integral to the processor.
The memory 1004 may include a read-only memory and a random access memory, and provides instructions and data to the processor 1003. A portion of memory 1004 may also include non-volatile random access memory (NVRAM). The memory 1004 stores an operating system and operating instructions, executable modules or data structures, or a subset or an expanded set thereof, wherein the operating instructions may include various operating instructions for performing various operations. The operating system may include various system programs for implementing various basic services and for handling hardware-based tasks.
The processor 1003 controls the operation of the network management server 100, and the processor 1003 may also be called a Central Processing Unit (CPU). In a specific application, the various components of the network management server 100 are coupled together by a bus system, wherein the bus system may include a power bus, a control bus, a status signal bus, etc., in addition to a data bus. For clarity of illustration, the various buses are referred to in the figures as a bus system.
The method disclosed in the embodiment 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 having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 1003. The processor 1003 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a field-Programmable gate array (FPGA), or other Programmable logic device, discrete gate or transistor logic device, or discrete hardware component. The various methods, steps, and logic blocks disclosed 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 the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1004, and the processor 1003 reads the information in the memory 1004, and completes the steps of the method in combination with the hardware thereof.
The receiver 1001 may be used to receive input numeric or character information and generate signal input related to related 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 numeric or character information through an external interface.
In this embodiment, the processor 1003 is configured to execute the foregoing method.
It should be noted that the above-described embodiments of the apparatus are merely schematic, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiments of the apparatus provided in the present application, the connection relationship between the modules indicates that there is a communication connection therebetween, and may be implemented as one or more communication buses or signal lines.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus necessary general-purpose hardware, and certainly can also be implemented by special-purpose hardware including special-purpose integrated circuits, special-purpose CPUs, special-purpose memories, special-purpose 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 may be various, such as analog circuits, digital circuits, or dedicated circuits. However, for the present application, the implementation of a software program is more preferable. Based on such understanding, the technical solutions of the present application may be substantially embodied in or contributed to by the prior art, and the computer software product may be stored in a readable storage medium, such as a floppy disk, a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk of a computer, and includes instructions for causing a computer device (which may be a personal computer or a server) to execute the method according to the embodiments of the present application.
In the above embodiments, the implementation may be wholly or partially realized 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, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with 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)), among others.

Claims (19)

1. A network configuration recovery method, where the method is used for a network management server to recover 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 configuration recovery method includes:
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 relation 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 for a network private line;
receiving a selection instruction of a target network intention data set in the at least one network intention data set, the target network intention data set corresponding to the first configuration;
determining first configured network node configuration information according to the target network intention data set, wherein the network node configuration information refers to configuration information of network nodes 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 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 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 the first configured network node configuration information from the target network intent data set comprises:
determining the first configured network node to be configured according to the target network intention data set;
acquiring 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 amount to be configured and the network node to be configured of the first configuration.
4. The method of claim 3, wherein the determining the first configured network node configuration information comprises:
acquiring network node configuration information of a second service;
determining the network node configuration information of the first configuration different from the network node configuration information of the second service.
5. The method according to any one of claims 2 to 4, wherein the configuration information of one or more network nodes exists in the network node configuration information of the first configuration, and the configuration information of one or more network nodes exists in the network node configuration information 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 network node configuration information of the first configuration includes the configuration information of the target network node and the network node configuration information of the second configuration 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 the like, or, alternatively,
when the network node configuration information of the second configuration includes the configuration information of the target network node and the network node configuration information of the first configuration 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 presence of a gas in the gas,
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 intention data set and configuration at least one time point;
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 intention data set of the at least one network intention data set, the method further comprises:
determining a target time point corresponding to 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;
determining a target network intention data set from the at least one network intention data set stored by 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 according to the target network intention data set, the method further comprises:
updating the snapshot chain according to the target network intent data set and the first configured network node configuration information.
9. A network management server, wherein the network management server is configured 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, and the network management server comprises:
the service 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 relationship 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 for a network private line;
a service management interface module, configured to receive a selection instruction of a target network intention data set in the at least one network intention data set, where the target network intention data set corresponds to the first configuration;
the service arrangement module is used for determining first configured network node configuration information according to the target network intention data set, wherein the network node configuration information refers to configuration information of 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 of the first configuration with the configuration information of the network node of 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 traffic orchestration module is specifically configured to determine the first configured network node to be configured according to the target network intention data set;
acquiring 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 amount 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 the network node configuration information of the first configuration different from the network node configuration information of the second service.
13. The network management server according to any one of claims 10 to 12, wherein configuration information of one or more network nodes exists in the network node configuration information of the first configuration, and configuration information of one or more network nodes exists in the network node configuration information of the second configuration;
the service execution module is specifically configured to send, to the target network node, an instruction to increase the configuration of the target network node when the first configured network node configuration information includes the configuration information of the target network node and the second configured network node configuration information does not include the configuration information of the target network node;
or the like, or, alternatively,
the service execution module is specifically configured to send, to the target network node, an instruction to delete the configuration of 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 presence of a gas in the gas,
the service execution module is specifically configured to, 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, send an instruction to modify the configuration of the target network node to the target network node according to the configuration difference of the target network node.
14. The network management server according to any of claims 9 to 12, wherein the traffic management module is further configured to generate, at least one time point, 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.
15. The network management server according to claim 14, wherein the traffic 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, where the target time point belongs to the at least one time point;
determining a target network intention data set from the at least one network intention data set stored by the snapshot chain according to the target time point.
16. The network management server according to claim 14 or 15, wherein the traffic 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.
17. A network management server, comprising: a memory, a transceiver, a processor, and a bus system;
wherein the memory is to store programs and instructions;
the transceiver is used for receiving or sending 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 that, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 8.
19. A computer program product 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 true CN111817869A (en) 2020-10-23
CN111817869B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769620A (en) * 2021-01-08 2021-05-07 深信服科技股份有限公司 Network deployment method, equipment and computer readable storage medium
CN113515305A (en) * 2021-07-12 2021-10-19 北京达佳互联信息技术有限公司 Configuration information determining method, configuration snapshot generating method and device
CN113872817A (en) * 2021-10-20 2021-12-31 中国电信股份有限公司 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
CN114697211A (en) * 2022-05-31 2022-07-01 深圳市科力锐科技有限公司 Network configuration method, device, equipment and storage medium
CN115941800A (en) * 2022-11-07 2023-04-07 中国电子科技集团公司第五十二研究所 Intention-based data packet structure, data transmission method and system
WO2023134377A1 (en) * 2022-01-17 2023-07-20 华为技术有限公司 Network configuration method, device and system

Citations (9)

* 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
US20150131997A1 (en) * 2013-11-11 2015-05-14 Infinera Corp. Multi layer, multi vendor, multi domain, applications for software defined networking enabled networks
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
US20180248973A1 (en) * 2015-05-06 2018-08-30 Centurylink Intellectual Property Llc Method and System for Implementing Network Experience Shifting Using Shared Objects
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

Patent Citations (9)

* 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
US20150131997A1 (en) * 2013-11-11 2015-05-14 Infinera Corp. Multi layer, multi vendor, multi domain, applications for software defined networking enabled networks
US20180248973A1 (en) * 2015-05-06 2018-08-30 Centurylink Intellectual Property Llc Method and System for Implementing Network Experience Shifting Using Shared Objects
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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769620A (en) * 2021-01-08 2021-05-07 深信服科技股份有限公司 Network deployment method, equipment and computer readable storage medium
CN113515305A (en) * 2021-07-12 2021-10-19 北京达佳互联信息技术有限公司 Configuration information determining method, configuration snapshot generating method and device
CN113515305B (en) * 2021-07-12 2024-04-16 北京达佳互联信息技术有限公司 Configuration information determining method, configuration snapshot generating method and device
CN113872817A (en) * 2021-10-20 2021-12-31 中国电信股份有限公司 Network connection control method, device, equipment, storage medium and system
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
WO2023134377A1 (en) * 2022-01-17 2023-07-20 华为技术有限公司 Network configuration method, device and system
CN114697211A (en) * 2022-05-31 2022-07-01 深圳市科力锐科技有限公司 Network configuration method, device, equipment and storage medium
CN115941800A (en) * 2022-11-07 2023-04-07 中国电子科技集团公司第五十二研究所 Intention-based data packet structure, data transmission method and system

Also Published As

Publication number Publication date
CN111817869B (en) 2023-05-19

Similar Documents

Publication Publication Date Title
CN111817869A (en) Network configuration recovery method and related equipment thereof
US11082262B2 (en) Flow entry generating method and apparatus
US20200195511A1 (en) Network management method and related device
US20150350077A1 (en) Techniques For Transforming Legacy Networks Into SDN-Enabled Networks
EP3905598B1 (en) Message processing method and apparatus, control plane device, and computer storage medium
CN110730478B (en) Slice association method, device, end-to-end slice organizer and storage medium
US10225159B2 (en) Dynamic graph-based structure for representing a communications network
CN110971702A (en) Service calling method and device, computer equipment and storage medium
CN110474960B (en) Method and device for service deployment in virtual network
CN114024886B (en) Cross-resource-pool network intercommunication method, electronic equipment and readable storage medium
CN112887279B (en) Micro-service calling method and device, computer equipment and storage medium
CN115118585A (en) Service deployment method, device and system
US20220350637A1 (en) Virtual machine deployment method and related apparatus
CN116668511A (en) Data processing method, network element equipment and readable storage medium
CN105939344A (en) TCP (Transmission Control Protocol) connection establishing method and device
CN109218462A (en) A kind of IP distribution method of cloud data center physical host
US20220191777A1 (en) Telecommunications network
CN116095145B (en) Data control method and system of VPC cluster
CN109462537B (en) Cross-network intercommunication method and device
US20160269325A1 (en) Method, apparatus, and system for controlling forwarding of service data in virtual network
CN111416732A (en) Method and device for automatically configuring service for capacity expansion of network equipment in SDN
CN112994915A (en) SD-WAN service arranging method, system, equipment and storage medium
EP3206346A1 (en) Domain control method and domain control device
CN113271218B (en) VPN service configuration method, system, orchestrator and storage medium
WO2016177135A1 (en) Resource management method, device, and control terminal

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