Network equipment configuration method, client, server and network system

A server-side and network device technology, applied in the field of network communication, can solve problems such as the inability of other clients to operate data sets, reduce the concurrency of multi-user operations of the device, and invalidation of semantic checks, so as to solve the problem of low user concurrency and deadlock , Improve the effect of multi-user operation concurrency

Active Publication Date: 2014-04-16
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When configuring network devices, it often happens that multiple users configure at the same time. When these users operate the running configuration data set of the same device at the same time, after one of the users configures successfully, the running configuration data set changes, while the other The candidate data set when the user submits the configuration is still the same as the running configuration data set before the change. At this time, when the candidate data set takes effect to run the configuration data set, the candidate data set is the same as the current running configuration data that has changed. The set does not match, the semantic check of the previous configuration information on the original candidate data set is invalid, resulting in a configuration conflict
[0004] In order to avoid configuration conflicts caused by multiple users configuring at the same time, the existing technology adopts an overall lock or a partial lock to avoid configuration conflicts, but whether it is locking the entire running configuration data set or locking the running configuration data set that needs to be protected in this operation Data sets, all make other clients unable to operate the locked data sets, resulting in configuration conflicts, reducing the concurrency of multi-user operations on the device, so that different users cannot configure at the same time; at the same time, when multiple users use partial locks at the same time to lock the same A data set is prone to deadlock problems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Network equipment configuration method, client, server and network system
  • Network equipment configuration method, client, server and network system
  • Network equipment configuration method, client, server and network system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] The embodiment of the present invention provides a method for configuring network equipment, see figure 1 , The method flow is as follows:

[0032] 101: Receive the configuration submission request sent by the client, and cache the configuration information in the configuration submission request;

[0033] 102: Submit the configuration information to the candidate data set, and the candidate data set will validate the configuration information to the running configuration data set;

[0034] 103: When a configuration conflict occurs, update the basic data set based on the current running configuration data set;

[0035] 104: Obtain cached configuration information, and re-execute the cached configuration information on the new basic data set, and the operation takes effect until the running configuration data set;

[0036] 105: Return the execution result to the client.

[0037] In the method provided by the embodiment of the present invention, by caching the configuration informat...

Embodiment 2

[0039] NETCONF provides base1.0 capability set and a set of standard capability sets. NETCONF client and server support at least base1.0 capability set, and other capability sets can be optionally supported. The client can discover the capability set supported by the server through capability interaction, and the client can only send operation requests within the range of the capability set supported by the server. NETCONF supports the definition of the capability set, which can add protocol operations supported by network devices, and can also expand the operating range of existing configuration objects. The client can use the new operations, parameters, and configuration objects defined by these capabilities. A capability definition can depend on one or more other capabilities, and the server can only support this capability definition if it supports all the capabilities it depends on. The embodiment of the present invention provides a method for configuring a network device...

Embodiment 3

[0068] See image 3 The embodiment of the present invention provides a client for configuring a network device, and the client includes:

[0069] The sending module 301 is used to send a configuration submission request to the server. The configuration submission request specifically includes Commit operation request for parameters;

[0070] The receiving module 302 is used to receive the execution result returned by the server.

[0071] The client provided in the embodiment of the present invention adds a Parameter, which enables the user to use this parameter when submitting the configuration. When a configuration conflict occurs, the corresponding update-candidate capability of the application server meets the requirements of multi-user concurrent configuration, improves the concurrency of multi-user operations, and solves the existing technology The problem of low user concurrency caused by the overall lock or partial lock in the process; make full use of the existing NETCONF f...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Disclosed are a method, client, server and network system for configuring a network device, belonging to the field of network communication. The method includes: receiving a configuration submit request sent by the client and buffering configuration information in the configuration submit request; submitting the configuration information into a candidate data set which operates the configuration information to be effective in an operating configuration data set; updating a basic data set based on the current operating configuration data set when there is a configuration conflict; acquiring the buffered configuration information, re-executing the buffered configuration information in the new basic data set and operating the same to be effective in the operating configuration data set; and returning the execution result to the client. The present invention fulfils the demands of multiuser concurrent configuration, improves the concurrence degree of multiuser operation, and solves the problem in the prior art of low user concurrence degree and deadlock caused by the processing method of overall locking or partial locking.

Description

Technical field [0001] The present invention relates to the field of network communication, in particular to a method for configuring network equipment, a client, a server and a network system. Background technique [0002] Configuring network equipment refers to configuring network equipment such as switches and routers to meet users' networking needs and ensure smooth network communication. NETCONF (Network Configuration Protocol, network configuration protocol) is a set of mechanisms for managing network devices. Users use this mechanism to obtain configuration and status information of network devices, and to add, modify, and delete network devices. The client sends a configuration request to the server and submits configuration information. After the server receives the configuration information sent by the client, the server submits the configuration information to the candidate data set, which is the running configuration data set when the user sends the configuration requ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06
CPCH04L41/0869
Inventor 郑光迎韩涛肖华山易伟
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products