Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 reducing the concurrency of multi-user operations of the device, other clients cannot operate data sets, and configuration conflicts, so as to improve the concurrency of multi-user operations and solve user problems. The effect of low concurrency and deadlock

Active Publication Date: 2011-08-10
HUAWEI TECH CO LTD
View PDF3 Cites 22 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

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

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

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

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

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

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

[0040] In the method provided by the embodiment of the present invention, by caching the configur...

Embodiment 2

[0042] NETCONF provides base1.0 capability set and a set of standard capability sets. NETCONF clients and servers 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 capability sets, which can add new protocol operations supported by network devices, and can also expand the operating range of existing configuration objects. Clients can use these capabilities to define new operations, parameters, and configuration objects. 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 network equipment. B...

Embodiment 3

[0076] see image 3 , the embodiment of the present invention provides a client for configuring network equipment, the client includes:

[0077] The sending module 301 is configured to send a configuration submission request to the server, and the configuration submission request specifically includes Parameter commit operation request;

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

[0079] The client provided by the embodiment of the present invention, by adding a parameter, so that the user can 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 problem of existing technologies. The problem of low user concurrency caused by the overall lock or partial lock in the pr...

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

The invention discloses a network equipment configuration method, a client, a server and a network system, which belong to the field of network communication. The method comprises the following steps of: receiving a configuration submission request from the client, and caching configuration information in the configuration submission request; submitting the configuration information into a candidate dataset, and running and validating the configuration information to a running configuration database by using the candidate dataset; in a configuration conflict, updating a fundament dataset based on the current running configuration dataset; and acquiring the cached configuration information, re-executing the cached configuration information on the new fundamental dataset, running and validating the re-executed configuration information to the running configuration data set; and returning an execution result to the client. By the method, the client, the server and the network system, the requirements of concurrent configuration of a plurality of users are met, the operation concurrency of the plurality of users is improved, and the problems of low user concurrency and deadlock produced in overall locking or partial locking processing in the prior art are solved.

Description

technical field [0001] The 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 devices refers to configuring switches, routers and other network devices to meet the networking needs of users and ensure smooth network communication. NETCONF (Network Configuration Protocol, Network Configuration Protocol) is a mechanism for managing network devices. Users can 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 the configuration information. After receiving the configuration information sent by the client, the server submits the configuration information to the candidate data set. The candidate data set is the running configuration data set when the user sends the configuration ...

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 Applications(China)
IPC IPC(8): H04L29/06H04L12/56
CPCH04L41/0869
Inventor 郑光迎韩涛肖华山易伟
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products