CN102148817A - 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
CN102148817A
CN102148817A CN2010105902174A CN201010590217A CN102148817A CN 102148817 A CN102148817 A CN 102148817A CN 2010105902174 A CN2010105902174 A CN 2010105902174A CN 201010590217 A CN201010590217 A CN 201010590217A CN 102148817 A CN102148817 A CN 102148817A
Authority
CN
China
Prior art keywords
configuration
configuration information
client
buffer memory
request
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
CN2010105902174A
Other languages
Chinese (zh)
Other versions
CN102148817B (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 is meant the network equipments such as switch, router is configured, and to satisfy user's networking needs, guarantees that network service is unimpeded.NETCONF (Network Configuration Protocol, network configuration protocol) is the mechanism of a cover management network equipment, the user obtains the configuration and the state information of the network equipment by using this cover mechanism, and to the network equipment increase, configurations such as modification and deletion.The user end to server end sends configuring request, and submission configuration information, server end receives and this configuration information is submitted to candidate data behind the configuration information that client sends and concentrates, the snapshot of the operation configuration data set when this candidate data collection sends configuring request for the user, come into force to the operation configuration data set by candidate data transporting something containerized row, after operation comes into force, send execution result to client.
When the network equipment is configured, the situation that a plurality of users dispose simultaneously often appears, when these users operate the operation configuration data set of same equipment simultaneously, after one of them user's configuration successful, the operation configuration data set changes, and other users submit to the candidate data collection when disposing still identical with the preceding operation configuration data set that changes again, this moment is when coming into force to the operation configuration data set by candidate data transporting something containerized row, candidate data collection and the current operation configuration data set that has changed do not match, the semantic test that previous configuration information carries out on original candidate data collection lost efficacy, and produced configuration conflict.
The configuration conflict problem that when the multi-user disposes simultaneously, causes, 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, still 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; Simultaneously, when a plurality of users adopt the same data set of part lock locking simultaneously, the deadlock problem appears easily.
Summary of the invention
In order to solve the configuration conflict problem of multi-user when operating same equipment simultaneously, promote the multi-user operation concurrency, avoid deadlock, the embodiment of the 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 submission request that client sends, the configuration information in the request is submitted in the described configuration of buffer memory to;
Described configuration information is submitted to candidate data concentrates, described configuration information operation is come into force to the operation configuration data set by described candidate data collection;
When configuration conflict takes place, upgrade the basic data collection based on current operation configuration data set;
Obtain the configuration information of buffer memory, and re-execute the configuration information of described buffer memory on new basic data collection, operation comes into force to the operation configuration data set;
Return execution result to described client.
On the other hand, provide a kind of client of configure network devices, having comprised:
Sending module is used for sending configuration to server end and submits request to, and described configuration is submitted to request to be specially to comprise<update-candidate/〉the commit operation requests of parameter;
Receiver module is used to receive the execution result that described server end returns.
On the other hand, provide a kind of server end, having comprised:
Receive cache module, be used to receive the configuration submission request that client sends, the configuration information in the request is submitted in the described configuration of buffer memory to;
Submit the operation module to, be used for configuration information with described reception cache module and be submitted to candidate data and concentrate, described configuration information operation is come into force to the operation configuration data set by described candidate data collection;
Update module is used for upgrading the basic data collection based on current operation configuration data set when described submission moves module generation configuration conflict;
Obtain the operation module, be used for obtaining the configuration information of buffer memory, and re-execute the configuration information of described buffer memory on new basic data collection after described update module is upgraded the basic data collection, operation comes into force to the operation configuration data set;
Sending module is used for returning the described execution result that obtains the operation module to described client.
On the other hand, provide a kind of network system, having comprised: the client and server end; Wherein
Described client is used for sending configuration to described server end and submits request to, and receives the execution result that described server end returns;
Described server end is used to receive the configuration submission request that described client sends, and the configuration information in the request is submitted in the described configuration of buffer memory to; Described configuration information is submitted to candidate data concentrates, described configuration information operation is come into force to the operation configuration data set by described candidate data collection; When configuration conflict takes place, upgrade the basic data collection based on current operation configuration data set; Obtain the configuration information of buffer memory, and re-execute the configuration information of described buffer memory on new basic data collection, operation comes into force to the operation configuration data set; Return execution result to described client.
The beneficial effect of the technical scheme that the embodiment of the invention provides is:
Configuration information by the cache client submission, when configuration conflict takes place, upgrade the basic data collection based on current operation configuration data set, and on new basic data collection, re-execute the configuration information of buffer memory, operation comes into force to the operation configuration data set, satisfy the requirement that multi-user concurrent disposes, promoted the multi-user operation concurrency, solved the low problem that reaches deadlock of user concurrent degree that causes when the mode of locking by integral body lock or part in the prior art is handled.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of the configure network devices that provides of the embodiment of the invention one;
Fig. 2 is the method flow diagram of the configure network devices that provides of the embodiment of the invention two;
Fig. 3 is the client terminal device structural representation of the configure network devices that provides of the embodiment of the invention three;
Fig. 4 is the server-side device structural representation that the embodiment of the invention four provides;
Fig. 5 is the network system apparatus structure schematic diagram that the embodiment of the invention five provides.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment one
The embodiment of the invention provides a kind of method of configure network devices, and referring to Fig. 1, method flow is specific as follows:
101: request is submitted in the configuration that receives the client transmission to, and buffer memory is somebody's turn to do the configuration information in the configuration submission request;
102: configuration information is submitted to candidate data concentrates, this configuration information operation is come into force to the operation configuration data set by this candidate data collection;
103: when configuration conflict takes place, upgrade the basic data collection based on current operation configuration data set;
104: obtain the configuration information of buffer memory, and re-execute the configuration information of buffer memory on new basic data collection, operation comes into force to the operation configuration data set;
105: return execution result to client.
The method that the embodiment of the invention provides, configuration information by the cache client submission, when configuration conflict takes place, upgrade the basic data collection based on current operation configuration data set, and on new basic data collection, re-execute the configuration information of buffer memory, operation comes into force to the operation configuration data set, satisfied the requirement of multi-user concurrent configuration, promote the multi-user operation concurrency, solved the low problem that reaches deadlock of user concurrent degree that causes when the mode of locking by integral body lock or part in the prior art is handled.
Embodiment two
NETCONF provides base1.0 capability set and one group of standard capability collection, and NETCONF client and server end is supported the base1.0 capability set at least, and other capability sets can be selected to support.The client handling capacity can be found the capability set that server end is supported alternately, the operation requests in the capability set scope that client can only the send server end be supported.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 only under the situation of being had the ability of supporting its dependence, could be supported this ability definition.The embodiment of the invention provides a kind of method of configure network devices, by the parameter in a newly-increased a kind of NETCONF ability of server end and an existing operation of newly-increased client, has satisfied the requirement of multi-user concurrent configuration:
Newly-increased a kind of NETCONF ability: when this newly-increased NETCONF ability announces that the NETCONF server end is supported in the configuration submission request that receives client and finds conflict, upgrade the basic data collection based on current operation configuration data set, the configuration information that not submitting to of the client setting of buffer memory come into force carries out the grammatical and semantic inspection based on the basic data collection after upgrading, there is not conflict if determine, then operation comes into force to the operation configuration data set, finish the configuration of the network equipment, the execution result that returns success to client, if define conflict, then return conflicting information to client.
For example, this newly-increased ability can be the 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 support Candidate Configuration ability, and before using this newly-increased update-candidate ability, require the client and server end in hello message, to announce to support the update-candidate ability respectively.Client sends configuring request by RPC (Remote Procedure Call Protocol, remote procedure call protocol) message, and server end returns 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 the update-candidate ability, could be in the commit operation use<update-candidate/ parameter.The message format of the newly-increased parameter of this commit operation is:
<rpc?message-id=″101″
xmlns=″urn:ietf:params:xml:ns:netconf:base:1.0″>
<commit>
<update-candidate/>
</commit>
</rpc>
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, after server end receives this configuring request, start configuration transaction, the snapshot of generating run configuration data set---basic data collection, and, make client that configuration information can be set to this client transmission response message.The embodiment of the invention does not specifically limit receiving client configuring request that sends and the sequencing that starts configuration transaction, when practical application, after both can having adopted 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 the 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: request is submitted in the configuration that receives the client transmission to, and buffer memory is somebody's turn to do the configuration information in the configuration submission request;
Wherein, request is submitted in the configuration that client sends to, is specially to comprise<update-candidate/〉the commit operation requests of parameter, be used to carry out the update-candidate ability of server end.And this configuration is submitted to and is also comprised the configuration information that the user is provided with in the request.
Particularly, after client is received response message, the configuration information that needs configuration is set, and sends the configuration submission request that comprises configuration information to server end.After server end receives that request is submitted in this configuration to, buffer memory should dispose the configuration information of submitting in the request, the embodiment of the invention does not specifically limit the mode of buffer memory, can in the XML database, should dispose the configuration information of submitting in the request by buffer memory, and send configuration in each client and submit request to, when the candidate data collection is submitted configuration information to, all dynamically update the XML database, the new configuration information that client is submitted to adds in the XML database, and, to return the user's of execution result configuration information deletion, and then realize dynamically updating of configuration information.
In addition, client and server end can carry out capability negotiation by hello message, determine whether the client and server end supports the update-candidate ability, the embodiment of the invention supports that with server end the update-candidate ability is that example describes, but is not limited to this.
203: will dispose the configuration information of submitting in the request and be submitted to candidate data and concentrate, and by the candidate data collection this configuration information operation be come into force to the operation configuration data set, and judge whether configuration conflict, if not, then execution in step 204, if then execution in step 205;
Wherein, the data that this candidate data is concentrated are concentrated from basic data and are obtained, and the basic data collection is the snapshot of the operation configuration data set when starting configuration transaction in the step 201.
Particularly, when coming into force this configuration information operation to the operation configuration data set by the candidate data collection, want all to lock earlier the operation configuration data set, the configuration information that candidate data is concentrated carries out the grammatical and semantic inspection based on the service data collection then, judge the candidate data collection whether with the consistent configuration conflict that judges whether of current operation configuration data set, if it is consistent, the configuration that the network equipment then is described does not change, be judged as and do not conflict, if it is inconsistent, the configuration that the network equipment then 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, promptly moving other users' of coming into force configuration information, then send unusual to the above-mentioned client that will lock the operation configuration data set, the prompting client server is busy, is configured after a while again.
204: if configuration does not conflict, then this configuration information operation is come into force to the operation configuration data set, finish the configuration of the network equipment by the candidate data collection, and execution in step 207;
At this moment, the network equipment is reconfigured, and the operation configuration data set becomes the state after the configuration.
205: if configuration conflict then upgrades the basic data collection based on current operation configuration data set;
Particularly,,, need to obtain the snapshot of current operation configuration data set, promptly upgrade the basic data collection based on current operation configuration data set in order to make the subsequent configuration success because variation has taken place the operation configuration data set.
206: obtain the configuration information of buffer memory, and re-execute the configuration information of buffer memory on new basic data collection, operation comes into force to the operation configuration data set, and execution in step 207;
Particularly, that obtains buffer memory does not submit the configuration information come into force to, and when on new basic data collection, re-executing the configuration information of buffer memory, the configuration information that not submitting to of buffer memory come into force carries out the grammatical and semantic inspection based on the basic data collection after upgrading, do not have during inspection conflict then move come into force to the operation configuration data set, finish the configuration of the network equipment,, have conflict then to return conflicting information to client to the execution result that client returns success.Wherein, check having or not conflict to be judges whether this configuration information is consistent with the basic data collection after the renewal, and unanimity is not then conflicted, inconsistent then conflict.
207: return execution result to client.
Wherein, server end returns execution result by RPC-Reply message: if operate successfully, then send and contain<OK/〉the RPC-Reply message of label, if operation failure then sends and contains<RPC-Error〉the RPC-Reply message of label.
The method that the embodiment of the invention provides, parameter by a newly-increased a kind of NETCONF ability and an existing operation, make the user when submitting configuration to, use this parameter, when configuration conflict takes place, the new capacity of the correspondence of application server end, promptly upgrade the basic data collection based on current operation configuration data set, 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 the operation configuration data set, in the middle of this process, configuration conflict has taken place less than submitting in user's impression when disposing, but directly experience the result of configuration take-effective, satisfied the requirement of multi-user concurrent configuration, promoted the multi-user operation concurrency, and locking whole service configuration data set in the middle of the process of configuration can produce of deadlock, has solved in the prior art problem of the low and deadlock of the user concurrent degree that causes when handling by the mode of integral body lock or part lock; Make full use of the framework of existing NETCONF, realize that cost is low; Client and server end can carry out capability negotiation by hello message, determine whether to support the update-candidate ability, and tailorability is good.
Embodiment three
Referring to Fig. 3, the embodiment of the invention provides a kind of client of configure network devices, and this client comprises:
Sending module 301 is used for sending configuration to server end and submits request to, and this configuration is submitted to and asked to be specially to comprise<update-candidate/〉the commit operation requests of parameter;
Receiver module 302 is used for the execution result that the reception server end returns.
The client that the embodiment of the invention provides, by newly-increased one<update-candidate/〉parameter, make the user when submitting configuration to, use this parameter, when configuration conflict takes place, the update-candidate ability of the correspondence of application server end, satisfy the requirement of multi-user concurrent configuration, promoted the multi-user operation concurrency, solved the low problem of user concurrent degree that causes when the mode of locking by integral body lock or part in the prior art is handled; Make full use of the framework of existing NETCONF, realize that cost is low.
Embodiment four
Referring to Fig. 4, the embodiment of the invention provides a kind of server end, and this server end comprises:
Reception cache module 401 is used to receive the configuration submission request that client sends, and buffer memory should dispose the configuration information of submitting in asking;
Submit operation module 402 to, the configuration information that is used for receiving cache module 401 is submitted to candidate data and concentrates, and by this candidate data collection this configuration information operation is come into force to the operation configuration data set;
Update module 403 is used for upgrading the basic data collection based on current operation configuration data set when submitting to operation module 402 that configuration conflict takes place;
Obtain operation module 404, be used for obtaining the configuration information of buffer memory, and re-execute the configuration information of buffer memory on new basic data collection after update module 403 is upgraded the basic data collection, operation comes into force to the operation configuration data set;
Sending module 405 is used for returning the execution result that obtains operation module 404 to client.
Wherein, receive cache module 401, when being used for the configuration information of this configuration submission request of buffer memory, specifically be used for the configuration information in this configuration submission request of XML database buffer memory.
Further, obtain operation module 404, specifically be used for the configuration information of buffer memory is carried out the grammatical and semantic inspection based on the basic data collection after upgrading, do not have during inspection conflict then move come into force to the operation configuration data set, finish the configuration of the network equipment, sending module 405 is used for the execution result that returns success to client, has to conflict then that sending module 405 is used for returning conflicting information to client.
Wherein, above-mentioned reception cache module 401 is used to receive configuration that client sends when submitting request to, specifically is used to receive comprising<update-candidate/ that client sends〉the commit operation requests of parameter.
The server end that the embodiment of the invention provides, by when configuration conflict takes place, upgrade the basic data collection based on current operation configuration data set, and on new basic data collection, re-execute the configuration information of buffer memory, operation comes into force to the operation configuration data set, satisfy the requirement that multi-user concurrent disposes, promoted the multi-user operation concurrency, solved the low problem that reaches deadlock of user concurrent degree that causes when the mode of locking by integral body lock or part in the prior art is handled.
Embodiment five
Referring to Fig. 5, the embodiment of the invention provides a kind of network system, and this system comprises: client 501 and server end 502;
Client 501 is used for sending configuration to server end 502 and submits request to, and the execution result that returns of reception server end 502;
Server end 502 is used to receive the configuration submission request that client 501 sends, and buffer memory should dispose the configuration information of submitting in asking; This configuration information is submitted to candidate data concentrates, this configuration information operation is come into force to the operation configuration data set by this candidate data collection; When configuration conflict takes place, upgrade the basic data collection based on current operation configuration data set; Obtain the configuration information of buffer memory, and re-execute the configuration information of buffer memory on new basic data collection, operation comes into force to the operation configuration data set; Return execution result to client 501.
Wherein, server end 502 when being used for the configuration information of this configuration submission request of buffer memory, specifically is used for the configuration information in this configuration submission request of XML database buffer memory.
Particularly, server end 502, be used on new basic data collection, re-executing the configuration information of buffer memory, operation comes into force to the operation configuration data set, when client 501 is returned execution result, specifically is used for the configuration information of buffer memory is carried out the grammatical and semantic inspection based on the basic data collection after upgrading, do not have during inspection conflict then move come into force to the operation configuration data set, finish the configuration of the network equipment,, have conflict then to return conflicting information to client 501 to the execution result that 501 clients return success.
Further, above-mentioned client 501 is used for when server end 502 sends configuration and submits request to, specifically is used for sending to server end 502 comprising<update-candidate/〉the commit operation requests of parameter.
In sum, the embodiment of the invention is by the parameter of a newly-increased a kind of NETCONF ability and an existing operation, make the user when submitting configuration to, use this parameter, when configuration conflict takes place, the new capacity of the correspondence of application server end, promptly upgrade the basic data collection based on current operation configuration data set, 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 the operation configuration data set, in the middle of this process, configuration conflict has taken place less than submitting in user's impression when disposing, but directly experience the result of configuration take-effective, satisfied the requirement of multi-user concurrent configuration, promoted the multi-user operation concurrency, and locking whole service configuration data set in the middle of the process of configuration can produce of deadlock, has solved in the prior art problem of the low and deadlock of the user concurrent degree that causes when handling by the mode of integral body lock or part lock; Make full use of the framework of existing NETCONF, realize that cost is low; Client and server end can carry out capability negotiation by hello message, determine whether to support the update-candidate ability, and tailorability is good.
Need to prove: the client and server end of the configure network devices that the foregoing description provides is when carrying out network equipments configuration, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the internal structure that is about to the client and server end is divided into different functional modules, to finish all or part of function described above.In addition, the client and server end of the configure network devices that the foregoing description provides and the method embodiment of configure network devices belong to same design, and its specific implementation process sees method embodiment for details, repeats no more here.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
All or part of step in the embodiment of the invention can utilize software to realize that corresponding software programs can be stored in the storage medium that can read, as CD or hard disk etc.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. the method for a configure network devices is characterized in that, described method comprises:
Receive the configuration submission request that client sends, the configuration information in the request is submitted in the described configuration of buffer memory to;
Described configuration information is submitted to candidate data concentrates, described configuration information operation is come into force to the operation configuration data set by described candidate data collection;
When configuration conflict takes place, upgrade the basic data collection based on current operation configuration data set;
Obtain the configuration information of buffer memory, and re-execute the configuration information of described buffer memory on new basic data collection, operation comes into force to the operation configuration data set;
Return execution result to described client.
2. method according to claim 1 is characterized in that, the configuration information in the request is submitted in the described configuration of described buffer memory to, specifically comprises:
The configuration information in the request is submitted in the described configuration of buffer memory in the extensible markup storehouse.
3. method according to claim 1 is characterized in that, the described configuration information that on new basic data collection, re-executes described buffer memory, and operation comes into force to the operation configuration data set, returns execution result to described client, specifically comprises:
The configuration information of described buffer memory is carried out the grammatical and semantic inspection based on the basic data collection after upgrading, do not have during inspection conflict then move come into force to the operation configuration data set, finish the configuration of the network equipment, to the execution result that described client returns success, there is conflict then to return conflicting information to described client.
4. according to the described method of the arbitrary claim of claim 1-3, it is characterized in that request is submitted in described configuration to, is specially:
Comprise<update-candidate/ the commit operation requests of parameter.
5. the client of a configure network devices is characterized in that, comprising:
Sending module is used for sending configuration to server end and submits request to, and described configuration is submitted to request to be specially to comprise<update-candidate/〉the commit operation requests of parameter;
Receiver module is used to receive the execution result that described server end returns.
6. a server end is characterized in that, comprising:
Receive cache module, be used to receive the configuration submission request that client sends, the configuration information in the request is submitted in the described configuration of buffer memory to;
Submit the operation module to, be used for configuration information with described reception cache module and be submitted to candidate data and concentrate, described configuration information operation is come into force to the operation configuration data set by described candidate data collection;
Update module is used for upgrading the basic data collection based on current operation configuration data set when described submission moves module generation configuration conflict;
Obtain the operation module, be used for obtaining the configuration information of buffer memory, and re-execute the configuration information of described buffer memory on new basic data collection after described update module is upgraded the basic data collection, operation comes into force to the operation configuration data set;
Sending module is used for returning the described execution result that obtains the operation module to described client.
7. server end according to claim 6, it is characterized in that, when described reception cache module is used for the configuration information of the described configuration submission of buffer memory request, specifically be used for the configuration information in the described configuration submission of extensible markup storehouse buffer memory request.
8. server end according to claim 6, it is characterized in that, the described operation module of obtaining specifically is used for the configuration information of described buffer memory is carried out the grammatical and semantic inspection based on the basic data collection after upgrading, do not have during inspection conflict then move come into force to the operation configuration data set, finish the configuration of the network equipment, described sending module specifically is used for the execution result that returns success to described client, has the then described sending module of conflict specifically to be used for returning conflicting information to described client.
9. according to the described server end of the arbitrary claim of claim 6-8, it is characterized in that, described reception cache module is used to receive configuration that client sends when submitting request to, specifically is used to receive comprising<update-candidate/ that client sends〉the commit operation requests of parameter.
10. a network system is characterized in that, comprising: the client and server end; Wherein
Described client is used for sending configuration to described server end and submits request to, and receives the execution result that described server end returns;
Described server end is used to receive the configuration submission request that described client sends, and the configuration information in the request is submitted in the described configuration of buffer memory to; Described configuration information is submitted to candidate data concentrates, described configuration information operation is come into force to the operation configuration data set by described candidate data collection; When configuration conflict takes place, upgrade the basic data collection based on current operation configuration data set; Obtain the configuration information of buffer memory, and re-execute the configuration information of described buffer memory on new basic data collection, operation comes into force to the operation configuration data set; Return execution result to described client.
11. system according to claim 10 is characterized in that, when described server end is used for the configuration information of the described configuration submission of buffer memory request, specifically is used for the configuration information in the described configuration submission of extensible markup storehouse buffer memory request.
12. system according to claim 10, it is characterized in that, described server end is used for re-executing the configuration information of described buffer memory on new basic data collection, operation comes into force to the operation configuration data set, when described client is returned execution result, specifically be used for the configuration information of described buffer memory is carried out the grammatical and semantic inspection based on the basic data collection after upgrading, do not have during inspection conflict then move come into force to the operation configuration data set, finish the configuration of the network equipment, to the execution result that described client returns success, there is conflict then to return conflicting information to described client.
13. according to the described system of the arbitrary claim of claim 10-12, it is characterized in that, described client is used for when described server end sends configuration and submits request to, specifically is used for sending to described server end comprising<update-candidate/〉the commit operation requests of parameter.
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 true CN102148817A (en) 2011-08-10
CN102148817B 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)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427409A (en) * 2012-01-31 2012-04-25 迈普通信技术股份有限公司 Configuration data submission method based on network configuration (NETCONF) protocol and server thereof
WO2012075862A1 (en) * 2010-12-08 2012-06-14 华为技术有限公司 Method, client, server and network system for configuring network device
CN103473130A (en) * 2013-09-23 2013-12-25 扬州大学 Concurrent system deadlock detection method based on stochastic process algebra
WO2015117415A1 (en) * 2014-08-22 2015-08-13 中兴通讯股份有限公司 Method for realizing operation on network logic entity, client and proxy end
CN105591796A (en) * 2015-07-21 2016-05-18 杭州华三通信技术有限公司 Network equipment configuration method 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
CN109977097A (en) * 2019-03-07 2019-07-05 烽火通信科技股份有限公司 A kind of network configuration management method and system based on database
WO2020020249A1 (en) * 2018-07-27 2020-01-30 华为技术有限公司 Network management method and apparatus
CN110912743A (en) * 2019-11-26 2020-03-24 中国银联股份有限公司 Method and device for executing configuration instruction
CN111082953A (en) * 2018-10-19 2020-04-28 华为技术有限公司 Configuration method, device and related equipment
CN111984893A (en) * 2020-09-29 2020-11-24 杭州迪普科技股份有限公司 System log configuration conflict reminding method, device and system
CN113132152A (en) * 2021-03-11 2021-07-16 新华三技术有限公司 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
CN115701042A (en) * 2021-07-29 2023-02-07 华为技术有限公司 Method, device, system and computer readable storage medium for updating configuration

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10897397B2 (en) 2019-05-22 2021-01-19 Hewlett Packard Enterprise Development Lp Grammar for configuration validation

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

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012075862A1 (en) * 2010-12-08 2012-06-14 华为技术有限公司 Method, client, server and network system for configuring network device
CN102427409A (en) * 2012-01-31 2012-04-25 迈普通信技术股份有限公司 Configuration data submission method based on network configuration (NETCONF) protocol and server thereof
CN103473130A (en) * 2013-09-23 2013-12-25 扬州大学 Concurrent system deadlock detection method based on stochastic process algebra
CN103473130B (en) * 2013-09-23 2016-07-06 扬州大学 A kind of concurrent system deadlock detection method based on stochastic process algebra
WO2015117415A1 (en) * 2014-08-22 2015-08-13 中兴通讯股份有限公司 Method for realizing operation on network logic entity, client and proxy end
CN105357244A (en) * 2014-08-22 2016-02-24 中兴通讯股份有限公司 Method for operating network logic entity, client and proxy server
CN105591796A (en) * 2015-07-21 2016-05-18 杭州华三通信技术有限公司 Network equipment configuration method and device
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
CN110768818A (en) * 2018-07-27 2020-02-07 华为技术有限公司 Network management method and device
WO2020020249A1 (en) * 2018-07-27 2020-01-30 华为技术有限公司 Network management method and apparatus
CN110768818B (en) * 2018-07-27 2021-02-12 华为技术有限公司 Network management method and device
CN111082953A (en) * 2018-10-19 2020-04-28 华为技术有限公司 Configuration method, device and related equipment
CN109977097B (en) * 2019-03-07 2020-12-29 烽火通信科技股份有限公司 Network configuration management method and system based on database
CN109977097A (en) * 2019-03-07 2019-07-05 烽火通信科技股份有限公司 A kind of network configuration management method and system based on database
CN110912743A (en) * 2019-11-26 2020-03-24 中国银联股份有限公司 Method and device for executing configuration instruction
CN110912743B (en) * 2019-11-26 2021-11-16 中国银联股份有限公司 Method and device for executing configuration instruction
CN111984893A (en) * 2020-09-29 2020-11-24 杭州迪普科技股份有限公司 System log configuration conflict reminding method, device and system
CN111984893B (en) * 2020-09-29 2023-09-12 杭州迪普科技股份有限公司 System log configuration conflict reminding method, device and system
CN113132152A (en) * 2021-03-11 2021-07-16 新华三技术有限公司 Method and device for generating Netconf real-time candidate database
CN113315654A (en) * 2021-05-19 2021-08-27 中国人民大学 Network automatic configuration system
CN115701042A (en) * 2021-07-29 2023-02-07 华为技术有限公司 Method, device, system and computer readable storage medium for updating configuration
CN114006812A (en) * 2021-10-30 2022-02-01 杭州迪普信息技术有限公司 Configuration method and device of network equipment

Also Published As

Publication number Publication date
WO2012075862A1 (en) 2012-06-14
CN102148817B (en) 2014-04-16

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
US8402132B2 (en) Method, system and device for device capabilities exchange
CN100459556C (en) Method for data sharing
CN101622587B (en) Centralized service for awakening a computing device
CN110413418B (en) Cache synchronization device and method, cache synchronization system and electronic equipment
CN103237060B (en) A kind of data object acquisition, Apparatus and system
CN110995797B (en) Multilayer B/S and C/S mixed software system and asynchronous real-time communication method between layers
CN103532823A (en) Message processing method, device and system for Internet of Things
CN103916423A (en) Data synchronization method and device
CN109547524B (en) User behavior storage method, device, equipment and storage medium based on Internet of things
CN101183946B (en) Method and system of obtaining resource listing of download file
WO2009003414A1 (en) A method and device for data synchronization among terminals
WO2015100646A1 (en) Implementation method and implementation platform for software architecture
CN101360127A (en) File updating method and transmission system
Wu et al. Tango: a flexible mobility-enabled architecture for online and offline mobile enterprise applications
CN114338063B (en) Message queue system, service processing method and computer readable storage medium
CN112711635A (en) Method for cross-regional data consistency of distributed Internet of things equipment and service cluster
KR100974472B1 (en) Dynamic ui system to remote control legacy device and the method thereof
CN100442897C (en) Terminal and server communication method, system and device
CN107733974A (en) A kind of upgrade method of mobile terminal
CN101753621A (en) Method and system for actively pushing data to browser through server
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
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