CN102148817B - Network equipment configuration method, client, server and network system - Google Patents

Network equipment configuration method, client, server and network system Download PDF

Info

Publication number
CN102148817B
CN102148817B CN201010590217.4A CN201010590217A CN102148817B CN 102148817 B CN102148817 B CN 102148817B CN 201010590217 A CN201010590217 A CN 201010590217A CN 102148817 B CN102148817 B CN 102148817B
Authority
CN
China
Prior art keywords
configuration
configuration information
client
buffer memory
data set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010590217.4A
Other languages
Chinese (zh)
Other versions
CN102148817A (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 CN201010590217.4A priority Critical patent/CN102148817B/en
Publication of CN102148817A publication Critical patent/CN102148817A/en
Priority to PCT/CN2011/081312 priority patent/WO2012075862A1/en
Application granted granted Critical
Publication of CN102148817B publication Critical patent/CN102148817B/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/0866Checking the configuration
    • H04L41/0869Validating the configuration within one network element

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

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

The method of configure network devices, client, server end and network system
Technical field
The present invention relates to network communication field, particularly a kind of method of configure network devices, client, server end and network system.
Background technology
Configure network devices refers to the network equipments such as switch, router is configured, and to meet user's networking needs, guarantees that network service is unimpeded.NETCONF (Network Configuration Protocol, network configuration protocol) be the mechanism of a set of managing network device, user is by using this cover mechanism to obtain configuration and the state information of the network equipment, and to the network equipment increase, the configuration such as modification and deletion.User end to server end sends configuring request, and submit configuration information to, server end receives and this configuration information is submitted to candidate data after the configuration information that client sends and concentrates, this candidate data integrates the snapshot of the operation configuration data set while sending configuring request as user, by candidate data transporting something containerized row, come into force to operation configuration data set, after operation comes into force, to client, send execution result.
When the network equipment is configured, often there is the situation that a plurality of users configure simultaneously, when these users operate the operation configuration data set of same equipment simultaneously, after one of them user's configuration successful, operation configuration data set changes, and the candidate data collection that other users submit when configuration again to still with change before operation configuration data set identical, while now coming into force to operation configuration data set by candidate data transporting something containerized row, candidate data collection does not mate with the current operation configuration data set having changed, the semantic test that previous configuration information carries out on original candidate data collection lost efficacy, produce configuration conflict.
The configuration conflict problem causing when multi-user configures simultaneously, prior art adopts the mode of whole lock or part lock to avoid configuration conflict, but no matter be locking whole service configuration data set, or locking operation configuration data is concentrated the data set of this action need protection, all make other clients can not operate blocked data set, produce configuration conflict, reduced the multi-user operation concurrency of equipment, different user can not be configured simultaneously; Meanwhile, when a plurality of users adopt the same data set of part lock locking simultaneously, easily there is Deadlock.
Summary of the invention
In order to solve the configuration conflict problem of multi-user while operating same equipment simultaneously, promote multi-user operation concurrency, avoid deadlock, the embodiment of the present invention provides a kind of method, client, server end and network system of configure network devices.Described technical scheme is as follows:
On the one hand, provide a kind of method of configure network devices, described method comprises:
Receive the configuration that client sends and submit request to, the configuration information in request is submitted in configuration to described in buffer memory;
Described configuration information is submitted to candidate data and concentrates, by described candidate data collection, described configuration information operation is come into force to operation configuration data set;
When there is configuration conflict, the operation configuration data set based on current upgrades basic data collection;
Obtain the configuration information of buffer memory, and on new basic data collection, re-execute the configuration information of described buffer memory, operation comes into force to operation configuration data set;
To described client, return to execution result.
On the other hand, provide a kind of server end, having comprised:
Receive cache module, for receiving the configuration that client sends, submit request to, the configuration information in request is submitted in configuration to described in buffer memory;
Submit operation module to, for the configuration information of described reception cache module being submitted to candidate data, concentrate, by described candidate data collection, described configuration information operation is come into force to operation configuration data set;
Update module, for when the described submission operation module generation configuration conflict, the operation configuration data set based on current upgrades basic data collection;
Obtain operation module, for upgrading after basic data collection in described update module, obtain the configuration information of buffer memory, and on new basic data collection, re-execute the configuration information of described buffer memory, operation comes into force to operation configuration data set;
Sending module obtains the execution result that moves module described in returning to described client.
On the other hand, provide a kind of network system, having comprised: client and server end; Wherein
Described client, submits request to for sending configuration to described server end, and receives the execution result that described server end returns;
Described server end, submits request to for receiving the configuration that described client sends, and the configuration information in request is submitted in configuration to described in buffer memory; Described configuration information is submitted to candidate data and concentrates, by described candidate data collection, described configuration information operation is come into force to operation configuration data set; When there is configuration conflict, the operation configuration data set based on current upgrades basic data collection; Obtain the configuration information of buffer memory, and on new basic data collection, re-execute the configuration information of described buffer memory, operation comes into force to operation configuration data set; To described client, return to execution result.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
The configuration information of submitting to by cache client, when there is configuration conflict, operation configuration data set based on current upgrades basic data collection, and on new basic data collection, re-execute the configuration information of buffer memory, operation comes into force to operation configuration data set, meet the requirement of multi-user concurrent configuration, promoted multi-user operation concurrency, solved the problem of the low and deadlock of the user concurrent degree of locking by integral body in prior art or causing when the mode of part lock processes.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of the configure network devices that provides of the embodiment of the present invention one;
Fig. 2 is the method flow diagram of the configure network devices that provides of the embodiment of the present invention two;
Fig. 3 is the client terminal device structural representation of the configure network devices that provides of the embodiment of the present invention three;
Fig. 4 is the server-side device structural representation that the embodiment of the present invention four provides;
Fig. 5 is the network system apparatus structure schematic diagram that the embodiment of the present invention five provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
The embodiment of the present invention provides a kind of method of configure network devices, and referring to Fig. 1, method flow is specific as follows:
101: receive the configuration submission request that client sends, the configuration information in request is submitted in this configuration of buffer memory to;
102: configuration information is submitted to candidate data and concentrates, by this candidate data collection, this configuration information operation is come into force to operation configuration data set;
103: when there is configuration conflict, the operation configuration data set based on current upgrades basic data collection;
104: obtain the configuration information of buffer memory, and on new basic data collection, re-execute the configuration information of buffer memory, operation comes into force to operation configuration data set;
105: to client, return to execution result.
The method that the embodiment of the present invention provides, the configuration information of submitting to by cache client, when there is configuration conflict, operation configuration data set based on current upgrades basic data collection, and on new basic data collection, re-execute the configuration information of buffer memory, operation comes into force to operation configuration data set, met the requirement of multi-user concurrent configuration, promote multi-user operation concurrency, solved the problem of the low and deadlock of the user concurrent degree of locking by integral body in prior art or causing when the mode of part lock processes.
Embodiment bis-
NETCONF provides base1.0 capability set and one group of standard capability collection, and NETCONF client and server end is at least supported base1.0 capability set, and other capability sets can be selected to support.The capability set that client handling capacity alternately can discovery server end be supported, client can only send the operation requests within the scope of the capability set that server end supports.The definition of NETCONF tenability collection, can increase the protocol operation that the network equipment is supported newly, also can expand the opereating specification of existing configuration object.Client can be used newly-increased operation, parameter and the configuration object of these ability definition.An ability definition, can depend on other one or more abilities, and server end is only supporting, in the competent situation of institute of its dependence, could to support this ability definition.The embodiment of the present invention provides a kind of method of configure network devices, by the parameter in the newly-increased a kind of NETCONF ability of server end and an existing operation of newly-increased client, has met the requirement of multi-user concurrent configuration:
Newly-increased a kind of NETCONF ability: when this newly-increased NETCONF ability announces that NETCONF server end is supported in the configuration that receives client and submits to request Concurrency now to conflict, operation configuration data set based on current upgrades basic data collection, the basic data collection of the configuration information that not submitting to of the client setting of buffer memory come into force based on after upgrading carries out grammatical and semantic inspection, if determined without conflict, operation comes into force to operation configuration data set, complete the configuration of the network equipment, to client, return to successful execution result, if define conflict, to client, return to conflicting information.
For example, this newly-increased ability can be update-candidate ability, and this newly-increased update-candidate capability identifier is:
urn:ietf:params:netconf:capability:update-candidate:1.0
Use the network equipment of this newly-increased update-candidate ability need to support Candidate Configuration ability, and before using this newly-increased update-candidate ability, require client and server end in hello message, to announce to support respectively update-candidate ability.Client sends configuring request by RPC (Remote Procedure Call Protocol, remote procedure call protocol) message, and server end returns to execution result by RPC-Reply message.
A parameter of request commit operation is submitted in newly-increased configuration to: client is submitted request to by using this parameter to send configuration to server, and carries out above-mentioned newly-increased NETCONF ability, i.e. update-candidate ability when finding configuration conflict.
For example, this newly-increased parameter can be <update-candidate/>, require the network equipment of configuration must announce to support update-candidate ability, could in commit operation, use <update-candidate/> parameter.The message format of the newly-increased parameter of this commit operation is:
Figure GSB0000116516080000051
After having increased above-mentioned NETCONF ability and operating parameter newly, referring to Fig. 2, the method flow of the configuration server end network equipment is specific as follows:
201: receive the configuring request that client sends, start configuration transaction, and send response message to this client;
Wherein, client sends configuring request by RPC message to server end, and server end receives after this configuring request, start configuration transaction, the snapshot of generating run configuration data set---basic data collection, and send response message to this client, make client that configuration information can be set.The embodiment of the present invention does not specifically limit receiving the client configuring request sending and the sequencing that starts configuration transaction, when practical application, both can adopt after the configuring request of above-mentioned reception client transmission, trigger and start configuration transaction, also can be when server end be opened, just start configuration transaction, generate a basic data collection, and then wait for the configuring request that receives client transmission.
Particularly, the response message of the RPC of client request and server end can all adopt XML (Extensible Markup Language, extend markup language) coding.
202: receive the configuration submission request that client sends, the configuration information in request is submitted in this configuration of buffer memory to;
Wherein, request is submitted in the configuration that client sends to, is specially the commit operation requests that comprises <update-candidate/> parameter, for carrying out the update-candidate ability of server end.And the configuration information that also comprises user's setting in request is submitted in this configuration to.
Particularly, client is received after response message, and the configuration information that needs configuration is set, and sends to server end the configuration submission request that comprises configuration information.Server end is received after this configuration submission request, the configuration information in request is submitted in this configuration of buffer memory to, the embodiment of the present invention does not specifically limit the mode of buffer memory, can in XML database, this configuration of buffer memory submit the configuration information in request to, and in each client, send configuration and submit request to, while submitting configuration information to candidate data collection, all dynamically update XML database, the new configuration information that client is submitted to adds in XML database, and, the configuration information that returns to the user of execution result is deleted, and then realize dynamically updating of configuration information.
In addition, client and server can carry out capability negotiation by hello message, determine whether client and server end supports update-candidate ability, the embodiment of the present invention be take server end and is supported update-candidate ability to describe as example, but is not limited to this.
203: the configuration information in this configuration submission request is submitted to candidate data and concentrates, by candidate data collection, this configuration information operation is come into force to operation configuration data set, and judge whether configuration conflict, if not, perform step 204, if so, perform step 205;
Wherein, the concentrated data of this candidate data are concentrated and are obtained from basic data, and basic data integrates the snapshot of the operation configuration data set when starting configuration transaction in step 201.
Particularly, while this configuration information operation being come into force to operation configuration data set by candidate data collection, want first all to lock operation configuration data set, then the concentrated configuration information of candidate data is carried out to grammatical and semantic inspection based on service data collection, judge candidate data collection whether with the current consistent configuration conflict that judges whether of operation configuration data set, if consistent, the configuration that the network equipment is described does not change, be judged as and do not conflict, if inconsistent, the configuration that the network equipment is described changes, and is judged as configuration conflict.When locking operation configuration data set, if find that this operation configuration data set is locked, moving other users' of coming into force configuration information, to the above-mentioned client that will lock operation configuration data set, send abnormal, prompting client server is busy, is configured after a while again.
204: if configuration does not conflict, by candidate data collection, this configuration information operation is come into force to operation configuration data set, complete the configuration of the network equipment, and perform step 207;
Now, the network equipment is reconfigured, and operation configuration data set becomes the state after configuration.
205: if configuration conflict, the operation configuration data set based on current upgrades basic data collection;
Particularly, because variation has occurred operation configuration data set, in order to make subsequent configuration success, need to obtain the snapshot of current operation configuration data set, the operation configuration data set based on current upgrades basic data collection.
206: obtain the configuration information of buffer memory, and on new basic data collection, re-execute the configuration information of buffer memory, operation comes into force to operation configuration data set, and performs step 207;
Particularly, obtain the configuration information that submission does not come into force of buffer memory, and while re-executing the configuration information of buffer memory on new basic data collection, the basic data collection of the configuration information that not submitting to of buffer memory come into force based on after upgrading carries out grammatical and semantic inspection, during inspection, without conflict, move and come into force to operation configuration data set, complete the configuration of the network equipment, to client, return to successful execution result, have conflict to client, to return to conflicting information.Wherein, check that having or not conflict to be judges that whether this configuration information is consistent with the basic data collection after renewal, unanimously do not conflict, inconsistent conflict.
207: to client, return to execution result.
Wherein, server end returns to execution result by RPC-Reply message: if operated successfully, send the RPC-Reply message that contains <OK/> label, if operation failure, sends the RPC-Reply message that contains <RPC-Error> label.
The method that the embodiment of the present invention provides, by the parameter of newly-increased a kind of NETCONF ability and an existing operation, make user when submitting configuration to, use this parameter, when there is configuration conflict, the corresponding new capacity of application server end, the operation configuration data set based on current upgrades basic data collection, and on new basic data collection, re-execute buffer memory do not submit the configuration information come into force to, operation comes into force to operation configuration data set, in the middle of this process, while configuring less than submission, there is configuration conflict in user's impression, but directly experience the result of configuration take-effective, met the requirement of multi-user concurrent configuration, promoted multi-user operation concurrency, and lock whole service configuration data set in the middle of the process of configuration, can produce of deadlock, solved the problem of the low and deadlock of the user concurrent degree of locking by integral body in prior art or causing when the mode of part lock processes, make full use of the framework of existing NETCONF, realize cost low, client and server can carry out capability negotiation by hello message, determines whether to support update-candidate ability, and tailorability is good.
Embodiment tri-
Referring to Fig. 3, the embodiment of the present invention provides a kind of client of configure network devices, and this client comprises:
Sending module 301, submits request to for sending configuration to server end, and this configuration submits to request to be specially the commit operation requests that comprises <update-candidate/> parameter;
Receiver module 302, the execution result returning for reception server end.
The client that the embodiment of the present invention provides, by a newly-increased <update-candidate/> parameter, make user when submitting configuration to, use this parameter, when there is configuration conflict, the corresponding update-candidate ability of application server end, meet the requirement of multi-user concurrent configuration, promoted multi-user operation concurrency, solved the low problem of user concurrent degree causing when the mode of locking by integral body in prior art or partly locking is processed; Make full use of the framework of existing NETCONF, realize cost low.
Embodiment tetra-
Referring to Fig. 4, the embodiment of the present invention provides a kind of server end, and this server end comprises:
Receive cache module 401, the configuration submission request sending for receiving client, the configuration information in request is submitted in this configuration of buffer memory to;
Submit operation module 402 to, for the configuration information that receives cache module 401 is submitted to candidate data, concentrate, by this candidate data collection, this configuration information operation is come into force to operation configuration data set;
Update module 403, for when submitting to operation module 402 that configuration conflict occurs, the operation configuration data set based on current upgrades basic data collection;
Obtain operation module 404, for upgrading after basic data collection in update module 403, obtain the configuration information of buffer memory, and on new basic data collection, re-execute the configuration information of buffer memory, operation comes into force to operation configuration data set;
Sending module 405, for returning to the execution result that obtains operation module 404 to client.
Wherein, receive cache module 401, while submitting the configuration information of request to for this configuration of buffer memory, specifically for this configuration of buffer memory in XML database, submit the configuration information in request to.
Further, obtain operation module 404, specifically for by the configuration information of buffer memory, the basic data collection based on after upgrading carries out grammatical and semantic inspection, during inspection, without conflict, move and come into force to operation configuration data set, complete the configuration of the network equipment, sending module 405 conflicts sending module 405 for returning to conflicting information to client for returning to successful execution result to client, having.
Wherein, when above-mentioned reception cache module 401 is submitted request to for receiving the configuration of client transmission, the commit operation requests that comprises <update-candidate/> parameter sending specifically for receiving client.
The server end that the embodiment of the present invention provides, by when there is configuration conflict, operation configuration data set based on current upgrades basic data collection, and on new basic data collection, re-execute the configuration information of buffer memory, operation comes into force to operation configuration data set, meet the requirement of multi-user concurrent configuration, promoted multi-user operation concurrency, solved the problem of the low and deadlock of the user concurrent degree of locking by integral body in prior art or causing when the mode of part lock processes.
Embodiment five
Referring to Fig. 5, the embodiment of the present invention provides a kind of network system, and this system comprises: client 501 and server end 502;
Client 501, submits request to for sending configuration to server end 502, and the execution result that returns of reception server end 502;
Server end 502, the configuration submission request sending for receiving client 501, the configuration information in request is submitted in this configuration of buffer memory to; This configuration information is submitted to candidate data and concentrates, by this candidate data collection, this configuration information operation is come into force to operation configuration data set; When there is configuration conflict, the operation configuration data set based on current upgrades basic data collection; Obtain the configuration information of buffer memory, and on new basic data collection, re-execute the configuration information of buffer memory, operation comes into force to operation configuration data set; To client 501, return to execution result.
Wherein, server end 502, while submitting the configuration information of request to for this configuration of buffer memory, submits the configuration information in request to specifically for this configuration of buffer memory in XML database.
Particularly, server end 502, for re-execute the configuration information of buffer memory on new basic data collection, operation comes into force to operation configuration data set, while returning to execution result to client 501, specifically for by the configuration information of buffer memory, the basic data collection based on after upgrading carries out grammatical and semantic inspection, during inspection, without conflict, move and come into force to operation configuration data set, complete the configuration of the network equipment, to 501 clients, return to successful execution result, have conflict to client 501, to return to conflicting information.
Further, when above-mentioned client 501 is submitted request to for sending configuration to server end 502, specifically for sending to server end 502 the commit operation requests that comprises <update-candidate/> parameter.
In sum, the embodiment of the present invention is by the parameter of newly-increased a kind of NETCONF ability and an existing operation, make user when submitting configuration to, use this parameter, when there is configuration conflict, the corresponding new capacity of application server end, the operation configuration data set based on current upgrades basic data collection, and on new basic data collection, re-execute buffer memory do not submit the configuration information come into force to, operation comes into force to operation configuration data set, in the middle of this process, while configuring less than submission, there is configuration conflict in user's impression, but directly experience the result of configuration take-effective, met the requirement of multi-user concurrent configuration, promoted multi-user operation concurrency, and lock whole service configuration data set in the middle of the process of configuration, can produce of deadlock, solved the problem of the low and deadlock of the user concurrent degree of locking by integral body in prior art or causing when the mode of part lock processes, make full use of the framework of existing NETCONF, realize cost low, client and server can carry out capability negotiation by hello message, determines whether to support update-candidate ability, and tailorability is good.
It should be noted that: the client and server end of the configure network devices that above-described embodiment provides is when carrying out network equipments configuration, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to client and server end is divided into different functional modules, to complete all or part of function described above.In addition, the client and server end of the configure network devices that above-described embodiment provides and the embodiment of the method for configure network devices belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
All or part of step in the embodiment of the present invention, can utilize software to realize, and corresponding software program can be stored in the storage medium can read, as CD or hard disk etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (12)

1. a method for configure network devices, is characterized in that, described method comprises:
Receive the configuration that client sends and submit request to, the configuration information in request is submitted in configuration to described in buffer memory;
Described configuration information is submitted to candidate data and concentrates, by described candidate data collection, described configuration information operation is come into force to operation configuration data set;
When there is configuration conflict, the operation configuration data set based on current upgrades basic data collection;
Obtain the configuration information of buffer memory, and on new basic data collection, re-execute the configuration information of described buffer memory, operation comes into force to operation configuration data set;
To described client, return to execution result.
2. method according to claim 1, is characterized in that, the configuration information in request is submitted in configuration to described in described buffer memory, specifically comprises:
In extensible markup storehouse, described in buffer memory, the configuration information in request is submitted in configuration to.
3. method according to claim 1, is characterized in that, the described configuration information that re-executes described buffer memory on new basic data collection, and operation comes into force to operation configuration data set, to described client, returns to execution result, specifically comprises:
Basic data collection by the configuration information of described buffer memory based on after upgrading carries out grammatical and semantic inspection, during inspection, without conflict, move and come into force to operation configuration data set, complete the configuration of the network equipment, to described client, return to successful execution result, have conflict to described client, to return to conflicting information.
4. according to the method described in the arbitrary claim of claim 1-3, it is characterized in that, request is submitted in described configuration to, is specially:
The commit operation requests that comprises <update-candidate/> parameter.
5. a server end, is characterized in that, comprising:
Receive cache module, for receiving the configuration that client sends, submit request to, the configuration information in request is submitted in configuration to described in buffer memory;
Submit operation module to, for the configuration information of described reception cache module being submitted to candidate data, concentrate, by described candidate data collection, described configuration information operation is come into force to operation configuration data set;
Update module, for when the described submission operation module generation configuration conflict, the operation configuration data set based on current upgrades basic data collection;
Obtain operation module, for upgrading after basic data collection in described update module, obtain the configuration information of buffer memory, and on new basic data collection, re-execute the configuration information of described buffer memory, operation comes into force to operation configuration data set;
Sending module obtains the execution result that moves module described in returning to described client.
6. server end according to claim 5, it is characterized in that, when described reception cache module is submitted the configuration information of asking to for configuring described in buffer memory, specifically for configuration described in buffer memory in extensible markup storehouse, submit the configuration information in asking to.
7. server end according to claim 5, it is characterized in that, the described operation module of obtaining is specifically for by the configuration information of described buffer memory, the basic data collection based on after upgrading carries out grammatical and semantic inspection, during inspection, without conflict, move and come into force to operation configuration data set, complete the configuration of the network equipment, described sending module is specifically for returning to successful execution result to described client, have conflict described sending module specifically for returning to conflicting information to described client.
8. according to the server end described in the arbitrary claim of claim 5-7, it is characterized in that, when described reception cache module is submitted request to for receiving the configuration of client transmission, the commit operation requests that comprises <update-candidate/> parameter sending specifically for receiving client.
9. a network system, is characterized in that, comprising: client and server end; Wherein
Described client, submits request to for sending configuration to described server end, and receives the execution result that described server end returns;
Described server end, submits request to for receiving the configuration that described client sends, and the configuration information in request is submitted in configuration to described in buffer memory; Described configuration information is submitted to candidate data and concentrates, by described candidate data collection, described configuration information operation is come into force to operation configuration data set; When there is configuration conflict, the operation configuration data set based on current upgrades basic data collection; Obtain the configuration information of buffer memory, and on new basic data collection, re-execute the configuration information of described buffer memory, operation comes into force to operation configuration data set; To described client, return to execution result.
10. system according to claim 9, is characterized in that, when described server end is submitted the configuration information of asking to for configuring described in buffer memory, specifically for configuration described in buffer memory in extensible markup storehouse, submits the configuration information in asking to.
11. systems according to claim 9, it is characterized in that, described server end for re-executing the configuration information of described buffer memory on new basic data collection, operation comes into force to operation configuration data set, while returning to execution result to described client, specifically for by the configuration information of described buffer memory, the basic data collection based on after upgrading carries out grammatical and semantic inspection, during inspection, without conflict, move and come into force to operation configuration data set, complete the configuration of the network equipment, to described client, return to successful execution result, there is conflict to described client, to return to conflicting information.
12. according to the system described in the arbitrary claim of claim 9-11, it is characterized in that, when described client is submitted request to for sending configuration to described server end, specifically for send the commit operation requests that comprises <update-candidate/> parameter to described server end.
CN201010590217.4A 2010-12-08 2010-12-08 Network equipment configuration method, client, server and network system Active CN102148817B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010590217.4A CN102148817B (en) 2010-12-08 2010-12-08 Network equipment configuration method, client, server and network system
PCT/CN2011/081312 WO2012075862A1 (en) 2010-12-08 2011-10-26 Method, client, server and network system for configuring network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010590217.4A CN102148817B (en) 2010-12-08 2010-12-08 Network equipment configuration method, client, server and network system

Publications (2)

Publication Number Publication Date
CN102148817A CN102148817A (en) 2011-08-10
CN102148817B true CN102148817B (en) 2014-04-16

Family

ID=44422814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010590217.4A Active CN102148817B (en) 2010-12-08 2010-12-08 Network equipment configuration method, client, server and network system

Country Status (2)

Country Link
CN (1) CN102148817B (en)
WO (1) WO2012075862A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148817B (en) * 2010-12-08 2014-04-16 华为技术有限公司 Network equipment configuration method, client, server and network system
CN102427409A (en) * 2012-01-31 2012-04-25 迈普通信技术股份有限公司 Configuration data submission method based on network configuration (NETCONF) protocol and server thereof
CN103473130B (en) * 2013-09-23 2016-07-06 扬州大学 A kind of concurrent system deadlock detection method based on stochastic process algebra
CN105357244A (en) * 2014-08-22 2016-02-24 中兴通讯股份有限公司 Method for operating network logic entity, client and proxy server
CN105591796B (en) * 2015-07-21 2019-04-09 新华三技术有限公司 Method for configuring network equipment and device
CN105959148A (en) * 2016-06-15 2016-09-21 上海斐讯数据通信技术有限公司 Method for network management system to control network equipment
CN107578153A (en) * 2017-08-25 2018-01-12 深圳增强现实技术有限公司 Machine operates the workshop configuring management method of monitor system
CN110768818B (en) * 2018-07-27 2021-02-12 华为技术有限公司 Network management method and device
CN111082953B (en) * 2018-10-19 2022-11-22 华为技术有限公司 Configuration method, device and related equipment
CN109977097B (en) * 2019-03-07 2020-12-29 烽火通信科技股份有限公司 Network configuration management method and system based on database
US10897397B2 (en) 2019-05-22 2021-01-19 Hewlett Packard Enterprise Development Lp Grammar for configuration validation
CN110912743B (en) * 2019-11-26 2021-11-16 中国银联股份有限公司 Method and device for executing configuration instruction
CN111984893B (en) * 2020-09-29 2023-09-12 杭州迪普科技股份有限公司 System log configuration conflict reminding method, device and system
CN113132152B (en) * 2021-03-11 2022-08-30 新华三技术有限公司 Method and device for generating Netconf real-time candidate database
CN113315654A (en) * 2021-05-19 2021-08-27 中国人民大学 Network automatic configuration system
CN114006812A (en) * 2021-10-30 2022-02-01 杭州迪普信息技术有限公司 Configuration method and device of network equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7376719B1 (en) * 2004-04-14 2008-05-20 Juniper Networks, Inc. Automatic generation of configuration data using implementation-specific configuration policies
US7565416B1 (en) * 2004-04-14 2009-07-21 Juniper Networks, Inc. Automatic application of implementation-specific configuration policies
CN101494563A (en) * 2009-03-11 2009-07-29 华为技术有限公司 Method and apparatus for managing network configuration

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7523097B1 (en) * 2004-01-13 2009-04-21 Juniper Networks, Inc. Restoration of archived configurations for a network device
CN101827078A (en) * 2009-12-30 2010-09-08 华为技术有限公司 Inquiry method, server and communication system for configured data difference
CN102148817B (en) * 2010-12-08 2014-04-16 华为技术有限公司 Network equipment configuration method, client, server and network system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7376719B1 (en) * 2004-04-14 2008-05-20 Juniper Networks, Inc. Automatic generation of configuration data using implementation-specific configuration policies
US7565416B1 (en) * 2004-04-14 2009-07-21 Juniper Networks, Inc. Automatic application of implementation-specific configuration policies
CN101494563A (en) * 2009-03-11 2009-07-29 华为技术有限公司 Method and apparatus for managing network configuration

Also Published As

Publication number Publication date
CN102148817A (en) 2011-08-10
WO2012075862A1 (en) 2012-06-14

Similar Documents

Publication Publication Date Title
CN102148817B (en) Network equipment configuration method, client, server and network system
CN106453288B (en) A kind of distributed micro services frame system that supporting asynchronous mode and its implementation
US11533220B2 (en) Network-assisted consensus protocol
US8522231B2 (en) Updating a plurality of computers
CN101622587B (en) Centralized service for awakening a computing device
KR20100123897A (en) Data synchronization protocol
CN112118315A (en) Data processing system, method, device, electronic equipment and storage medium
CN109547524B (en) User behavior storage method, device, equipment and storage medium based on Internet of things
WO2005124554A2 (en) Two-stage network device configuration process
WO2009003414A1 (en) A method and device for data synchronization among terminals
CN101360127A (en) File updating method and transmission system
WO2015100646A1 (en) Implementation method and implementation platform for software architecture
WO2016110078A1 (en) Data acquisition method and apparatus, and storage medium
CN113726581B (en) Method and device for restoring factory configuration of network equipment and network equipment
US8725856B2 (en) Discovery of network services
US20120197961A1 (en) Method and system for information exchange utilizing an asynchronous persistent store protocol
US11218371B2 (en) Method and apparatus for performing communication in internet of things
CN114221985A (en) Device control method, device, electronic device and computer-readable storage medium
CN113612825A (en) Internet of things message middleware server cluster expansion method and system
CN109981778B (en) Method, device, equipment and storage medium for realizing service of content distribution network
CN111066339B (en) System and method for distributed mobile network
CN112131014A (en) Decision engine system and business processing method thereof
CN109413180B (en) Data acquisition method, system and equipment and storage medium
CN114025005B (en) Data communication method, system, electronic equipment and storage medium
CN107306290B (en) Session sharing method and application server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant