CN107222321A - A kind of configuration message sending method and device - Google Patents
A kind of configuration message sending method and device Download PDFInfo
- Publication number
- CN107222321A CN107222321A CN201610164075.2A CN201610164075A CN107222321A CN 107222321 A CN107222321 A CN 107222321A CN 201610164075 A CN201610164075 A CN 201610164075A CN 107222321 A CN107222321 A CN 107222321A
- Authority
- CN
- China
- Prior art keywords
- configuration data
- netconf
- packet
- group
- protocol massages
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/046—Network management architectures or arrangements comprising network management agents or mobile agents therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
Abstract
This application discloses a kind of configuration message sending method and device, including:Network configuration NETCONF management equipments determine that the first NETCONF agent equipments support packet capability;The packet capability includes the ability of the NETCONF protocol massages of common configuration data and packet configuration data for processing;The NETCONF management equipments generation includes the first NETCONF protocol massages of common configuration data and N number of packet configuration data;Each packet configuration data include at least one group character, for indicating that the packet configuration data are the configuration data that at least one set of upstream device indicated by least one described group character is exclusively enjoyed;The common configuration data are the shared configuration data of all groups of upstream devices indicated by all group characters in N number of packet configuration data;The NETCONF management equipments send the first NETCONF protocol massages to the first NETCONF agent equipments.
Description
Technical field
The application is related to communication technical field, more particularly to a kind of configuration message sending method and device.
Background technology
Network configuration (English:Network configuration, referred to as:NETCONF) agreement is a kind of
Based on extensible markup language (English:Extensive Markup Language, referred to as:XML net)
Network management agreement, it provides the method for being configured and being managed to the network equipment.As shown in figure 1, being one
Plant typical NETCONF application scenarios schematic diagrams.In Fig. 1, NETCONF management equipments pass through NETCONF
Agreement is configured to the upstream device for accessing NETCONF agent equipments.Can below NETCONF agent equipments
Multiple upstream devices can be accessed, there may come a time when that thousands of trip equipment can be reached.Current NETCONF agreements
Under, the configuration data included in the configuration message that NETCONF management equipments are sent can be for configuration one
Individual upstream device or for configuring one group of upstream device.If the configuration of each upstream device is different, pin
To each upstream device, NETCONF management equipments will send a configuration message, and can not will be multiple
The corresponding different configuration data of upstream device is sent by a configuration message, so as to cause to the network equipment
The inefficiency for being configured and being managed.
The content of the invention
The embodiment of the present application provides a kind of configuration message sending method and device, to avoid depositing in the prior art
The network equipment is configured and the problem of the efficiency of management is low.
The application first aspect provides a kind of configuration message sending method, including:
Network configuration NETCONF management equipments determine that the first NETCONF agent equipments support packet capability;Institute
It is the NETCONF protocol massages that processing includes common configuration data and packet configuration data to state packet capability
Ability;
NETCONF management equipments generation includes the of common configuration data and N number of packet configuration data
One NETCONF protocol massages;Each packet configuration data include at least one group character, for indicating
It is that at least one set of upstream device indicated by least one described group character is exclusively enjoyed to state packet configuration data
Configuration data;The common configuration data are indicated by all group characters in N number of packet configuration data
The shared configuration data of all groups of upstream devices;
The NETCONF management equipments send described first to the first NETCONF agent equipments
NETCONF protocol massages.
The method provided according to the application first aspect, NETCONF management equipments determined for the first NETCONF generations
Manage equipment to support after packet capability, the first NETCONF agreement reports sent to the first NETCONF agent equipments
Text includes common configuration data and N number of packet configuration data.Because each packet configuration data are included extremely
A few group character, for indicating that the packet configuration data are indicated by least one described group character
The configuration data that exclusively enjoys of at least one set of upstream device;The common configuration data are N number of packet configuration
The configuration data that all groups of upstream devices in data indicated by all group characters are shared, therefore, under every group
Swim the configuration data of equipment by common configuration data and the group character including this group of upstream device it is all
Packet configuration data are constituted, it is achieved thereby that the different configuration datas of different upstream devices are passed through into same the
One NETCONF protocol massages are sent to the first NETCONF agent equipments, reduce NETCONF management equipments
Interaction times when being configured to the upstream device that the first NETCONF agent equipments are managed, so as to improve
The efficiency that is configured and managed to the network equipment.
Optionally, the method for the first aspect also includes:
The NETCONF management equipments determine that the 2nd NETCONF agent equipments do not support packet capability, then give birth to
Into K the 2nd NETCONF protocol massages;Each 2nd NETCONF protocol massages include separate configurations number
According to this and group character corresponding with the separate configurations data or device identification;The separate configurations data are
The configuration data that one group of upstream device indicated by the group character is exclusively enjoyed, or be the device identification
The configuration data that indicated upstream device is exclusively enjoyed;
The NETCONF management equipments send described K second to the 2nd NETCONF agent equipments
NETCONF protocol massages.
In the above method, NETCONF management equipments are not it is determined that the 2nd NETCONF agent equipments support packet
During ability, K the 2nd NETCONF protocol massages are generated and sent.Wherein the 2nd NETCONF protocol massages
For the form of NETCONF protocol massages in the prior art so that NETCONF management equipments can with not
The 2nd NETCONF agent equipments interaction of packet capability is supported, equipment compatibility is improved.
Optionally, the common configuration data and N number of packet configuration data are located at the first NETCONF
In configuration data nodes domains in the content layer of protocol massages.
Optionally, the method for the first aspect also includes:NETCONF management equipments are to described first
NETCONF agent equipments send the 3rd NETCONF associations for including publicly-owned configuration data and L group character
Discuss message;Wherein, L is natural number, and the publicly-owned configuration data is located at the 3rd NETCONF protocol massages
In the configuration data nodes domains of content layer, L group character is located at the RPC of the 3rd NETCONF protocol massages
In the command node domain of layer.The publicly-owned configuration data is the L groups downstream indicated by the L group character
The configuration data of collaborative share.
By the method for above-mentioned first aspect, because publicly-owned configuration data is indicated by the L group character
The shared configuration data of L groups upstream device, be handed down to specific L components for NETCONF management equipments
Under the scene of the group same configuration data of equipment, NETCONF management equipments are by sending the 3rd NETCONF agreements
Message, can farthest reduce interacting between NETCONF management equipments and NETCONF agent equipments
Number of times, reduces the occupancy of data bandwidth, improves allocative efficiency.
The application second aspect provides another configuration message sending method, and this method includes:
Network configuration NETCONF agent equipments receive NETCONF management equipments it is determined that the NETCONF generations
Reason equipment possess sent during packet capability include the first of common configuration data and N number of packet configuration data
NETCONF protocol massages;Each packet configuration data include at least one group character, described for indicating
Packet configuration data are matching somebody with somebody that at least one set of upstream device indicated by least one described group character is exclusively enjoyed
Put data;The common configuration data are indicated by all group characters in N number of packet configuration data
The shared configuration data of all groups of upstream devices;The packet capability is to include common configuration data with processing
And the ability of the NETCONF protocol massages of packet configuration data;
The NETCONF agent equipments obtain the first packet configuration data in N number of packet configuration data
The first group character, determine the corresponding first group of upstream device of first group character, and be described the
One group of upstream device configures the first packet configuration data and the common configuration data.
In the above method, NETCONF agent equipments are being received including common configuration data and N number of packet
After first NETCONF protocol massages of configuration data, it can be marked according to the first packet of first group of upstream device
Know and determine corresponding with first group of upstream device the first packet configuration data, and with reference to common configuration data to the
One group of upstream device is configured, so as to improve the allocative efficiency of configuration upstream device.
Optionally, NETCONF agent equipments obtain the first packet configuration in N number of packet configuration data
Before first group character of data, the method for the second aspect also includes:
The NETCONF agent equipments parse the first NETCONF protocol massages, obtain described first
Common configuration data and N number of packet configuration data in NETCONF protocol massages;
For each packet configuration data in N number of packet configuration data, the NETCONF agencies set
It is standby to determine at least one group character that the packet configuration data include, by the packet configuration data point
The corresponding packet storage region of each group character at least one described group character is not stored;
The NETCONF agent equipments are by the common configuration data Cun Chudao public storage areas;
It is described to configure the first packet configuration data and the common configuration for first group of upstream device
Data, including:
The NETCONF agent equipments read the from the corresponding packet storage region of first group character
One packet configuration data, and read from the public storage area common configuration data;
The NETCONF agent equipments are that first group of upstream device configures the first packet configuration data
And the common configuration data.
In the method for above-mentioned second aspect, NETCONF agent equipments match somebody with somebody the corresponding packet of every group of upstream device
Put in the packet storage region corresponding to the corresponding group character of this group of upstream device of data Cun Chudao, and by public affairs
Public storage area is arrived in configuration data storage altogether, so as to save memory space, improves storage efficiency.
Optionally, the common configuration data and N number of packet configuration data are located at the first NETCONF
In configuration data nodes domains in the content layer of protocol massages.
The application third aspect provides a kind of configuration message dispensing device, and the device includes:
Determining unit, for determining whether the first NETCONF agent equipments support packet capability;The packet
Ability includes the ability of the NETCONF protocol massages of common configuration data and packet configuration data for processing;
Message generation unit, for determining that the first NETCONF agent equipments support packet in the determining unit
During ability, generation includes the first NETCONF agreement reports of common configuration data and N number of packet configuration data
Text;Each packet configuration data include at least one group character, for indicating that the packet configuration data are
The configuration data that at least one set of upstream device indicated by least one described group character is exclusively enjoyed;It is described public
Configuration data is total to for all groups of upstream devices indicated by all group characters in N number of packet configuration data
The configuration data enjoyed;
Transmitting element, for sending the first NETCONF agreements to the first NETCONF agent equipments
Message.
The device provided according to the application third aspect, determines that the first NETCONF agent equipments support packet energy
After power, the first NETCONF protocol massages sent to the first NETCONF agent equipments include common configuration
Data and N number of packet configuration data.Because each packet configuration data include at least one group character,
For indicating that the packet configuration data are at least one set of downstream indicated by least one described group character
The configuration data that equipment is exclusively enjoyed;The common configuration data are all packets in N number of packet configuration data
The shared configuration data of all groups of indicated upstream devices of mark, therefore, the configuration number of every group of upstream device
According to by common configuration data and the group character including this group of upstream device all packet configuration data groups
Into it is achieved thereby that the different configuration datas of different upstream devices are passed through into same first NETCONF agreements
Message is sent to the first NETCONF agent equipments, reduces what the first NETCONF agent equipments were managed
Interaction times when upstream device is configured, so as to improve the effect for being configured and being managed to the network equipment
Rate.
Optionally, the message generation unit is additionally operable to determine that the 2nd NETCONF is acted on behalf of in the determining unit
When equipment does not support packet capability, K the 2nd NETCONF protocol massages of generation;Each 2nd NETCONF
Protocol massages include separate configurations data and group character corresponding with the separate configurations data or set
Standby mark;The separate configurations data are by matching somebody with somebody that one group of upstream device indicated by the group character is exclusively enjoyed
Put data, or the configuration data exclusively enjoyed by the upstream device indicated by the device identification;
The transmitting element, for sending described K second to the 2nd NETCONF agent equipments
NETCONF protocol massages.
The device provided according to the application third aspect, it is determined that the 2nd NETCONF agent equipments are not supported point
During group ability, K the 2nd NETCONF protocol massages are generated and sent.Wherein the 2nd NETCONF agreement reports
Text is the form of NETCONF protocol massages in the prior art, so as to not supporting the second of packet capability
NETCONF agent equipments are interacted, and improve equipment compatibility.
Optionally, the common configuration data and N number of packet configuration data are located at the first NETCONF
In configuration data nodes domains in the content layer of protocol massages.
The application fourth aspect provides another configuration message dispensing device, and the device includes:
Receiving unit, for receiving NETCONF management equipments it is determined that the NETCONF agent equipments possess
What is sent during packet capability includes the first NETCONF associations of common configuration data and N number of packet configuration data
Discuss message;Each packet configuration data include at least one group character, for indicating the packet configuration number
According to the configuration data exclusively enjoyed at least one set of upstream device indicated by least one described group character;It is described
Common configuration data set for all groups of downstreams indicated by all group characters in N number of packet configuration data
Standby shared configuration data;The packet capability is to include common configuration data and packet configuration with processing
The ability of the NETCONF protocol massages of data;
Dispensing unit, first for obtaining the first packet configuration data in N number of packet configuration data
Group character, determines the corresponding first group of upstream device of first group character, is first group of downstream
First packet configuration data described in device configuration and the common configuration data.
Optionally, the device of the fourth aspect also includes processing unit, is used for:Parse described first
NETCONF protocol massages, obtain the common configuration data in the first NETCONF protocol massages and institute
State N number of packet configuration data;For each packet configuration data in N number of packet configuration data, really
At least one group character that the fixed packet configuration data include, the packet configuration data are deposited respectively
The corresponding packet storage region of each group character at least one described group character is stored up, and will be described
Common configuration data Cun Chudao public storage areas;
Memory cell, for storing N number of packet configuration data and the common configuration data;
The dispensing unit from the corresponding packet storage region of first group character specifically for reading
First packet configuration data, and the common configuration data are read from the public storage area, it is described
First group of upstream device configures the first packet configuration data and the common configuration data.
The device provided according to the application fourth aspect, is being received including common configuration data and N number of point
After first NETCONF protocol massages of group configuration data, it can be grouped according to the first of first group of upstream device
Mark determines the first packet configuration data corresponding with first group of upstream device, and combines common configuration data pair
First group of upstream device is configured, so as to improve the allocative efficiency of configuration upstream device.
Optionally, the common configuration data and N number of packet configuration data are located at the first NETCONF
In configuration data nodes domains in the content layer of protocol massages.
The aspect of the application the 5th provides another configuration message dispensing device, and the device includes:
Processor, for determining whether the first NETCONF agent equipments support packet capability;The packet energy
Power includes the ability of the NETCONF protocol massages of common configuration data and packet configuration data for processing;
The processor, for when it is determined that the first NETCONF agent equipments support packet capability, generation to be wrapped
Include the first NETCONF protocol massages of common configuration data and N number of packet configuration data;Each packet is matched somebody with somebody
Putting data includes at least one group character, for indicating that the packet configuration data are at least one described point
The configuration data that at least one set of upstream device indicated by group mark is exclusively enjoyed;The common configuration data are described
The configuration data that all groups of upstream devices in N number of packet configuration data indicated by all group characters are shared;
Transceiver, for sending the first NETCONF agreement reports to the first NETCONF agent equipments
Text.
The device provided according to the aspect of the application the 5th, it is determined that the first NETCONF agent equipments support packet
After ability, the first NETCONF protocol massages sent to the first NETCONF agent equipments include public match somebody with somebody
Put data and N number of packet configuration data.Because each packet configuration data include at least one group character,
For indicating that the packet configuration data are at least one set of downstream indicated by least one described group character
The configuration data that equipment is exclusively enjoyed;The common configuration data are all packets in N number of packet configuration data
The shared configuration data of all groups of indicated upstream devices of mark, therefore, the configuration number of every group of upstream device
According to by common configuration data and the group character including this group of upstream device all packet configuration data groups
Into it is achieved thereby that the different configuration datas of different upstream devices are passed through into same first NETCONF agreements
Message is sent to the first NETCONF agent equipments, reduces NETCONF management equipments to the first NETCONF
The interaction times when upstream device that agent equipment is managed is configured, enter so as to improve to the network equipment
Row configuration and the efficiency of management.
Optionally, the processor is additionally operable to it is determined that the 2nd NETCONF agent equipments do not support packet capability
When, K the 2nd NETCONF protocol massages of generation;Each 2nd NETCONF protocol massages include independent
Configuration data and group character corresponding with the separate configurations data or device identification;The separate configurations
The configuration data that data are exclusively enjoyed by one group of upstream device indicated by the group character, or set to be described
The configuration data that upstream device indicated by standby mark is exclusively enjoyed;
The transceiver, for sending K the 2nd NETCONF to the 2nd NETCONF agent equipments
Protocol massages.
The device provided according to the aspect of the application the 5th, it is determined that the 2nd NETCONF agent equipments are not supported point
During group ability, K the 2nd NETCONF protocol massages are generated and sent.Wherein the 2nd NETCONF agreement reports
Text is the form of NETCONF protocol massages in the prior art, so as to not supporting the second of packet capability
NETCONF agent equipments are interacted, and improve equipment compatibility.
Optionally, the common configuration data and N number of packet configuration data are located at the first NETCONF
In configuration data nodes domains in the content layer of protocol massages.
The aspect of the application the 6th provides still another configuration message dispensing device, and the device includes:
Transceiver, for receiving NETCONF management equipments it is determined that the NETCONF agent equipments possess point
What is sent during group ability includes the first NETCONF agreements of common configuration data and N number of packet configuration data
Message;Each packet configuration data include at least one group character, for indicating the packet configuration data
The configuration data exclusively enjoyed at least one set of upstream device indicated by least one described group character;The public affairs
Configuration data is all groups of upstream devices indicated by all group characters in N number of packet configuration data altogether
Shared configuration data;The packet capability is to include common configuration data and packet configuration number with processing
According to NETCONF protocol massages ability;
Processor, first point for obtaining the first packet configuration data in N number of packet configuration data
Group mark, determines the corresponding first group of upstream device of first group character, is that first group of downstream is set
It is standby to configure the first packet configuration data and the common configuration data.
The device provided according to the aspect of the application the 6th, is being received including common configuration data and N number of point
After first NETCONF protocol massages of group configuration data, it can be grouped according to the first of first group of upstream device
Mark determines the first packet configuration data corresponding with first group of upstream device, and combines common configuration data pair
First group of upstream device is configured, so as to improve the allocative efficiency of configuration upstream device.
Optionally, described device also includes memory;
The processor specifically for:The first NETCONF protocol massages are parsed, described first is obtained
Common configuration data and N number of packet configuration data in NETCONF protocol massages;For the N
Each packet configuration data in individual packet configuration data, determine that the packet configuration data are included at least
One group character, the packet configuration data is respectively stored into each at least one described group character
The corresponding packet storage region of group character, and by the common configuration data Cun Chudao common storage areas
Domain;
The memory, for storing N number of packet configuration data and the common configuration data;
The processor from the corresponding packet storage region of first group character specifically for reading the
One packet configuration data, and the common configuration data are read from the public storage area, it is described
One group of upstream device configures the first packet configuration data and the common configuration data.
The device provided according to the aspect of the application the 6th, NETCONF agent equipments are corresponding by every group of upstream device
The corresponding group character of packet configuration data this group of upstream device of Cun Chudao corresponding to packet storage region
In, and by common configuration data Cun Chudao public storage areas, so as to save memory space, improve and deposit
Store up efficiency.
Optionally, the common configuration data and N number of packet configuration data are located at the first NETCONF
In configuration data nodes domains in the content layer of protocol massages.
Brief description of the drawings
Fig. 1 is a kind of typical NETCONF application scenarios schematic diagrams;
A kind of configuration message sending method schematic flow sheet that Fig. 2 provides for the embodiment of the present application;
A kind of configuration message dispensing device structural representation that Fig. 3 provides for the embodiment of the present application;
A kind of configuration message dispensing device structural representation that Fig. 4 provides for the embodiment of the present application;
A kind of configuration message dispensing device structural representation that Fig. 5 provides for the embodiment of the present application;
A kind of configuration message dispensing device structural representation that Fig. 6 provides for the embodiment of the present application.
Embodiment
NETCONF agreements are divided into four layers:Content layer, operation layer, remote procedure call protocol (English:Remote
Procedure Call Protocol, referred to as:PRC) layer, application protocol layer.Content layer describes NETCONF
The configuration data that management equipment is configured.Operation layer defines a series of basic primitive applied in RPC
Operation set, these operations will constitute NETCONF basic capacity.The RPC layers of coding for RPC modules is provided
The one simple, mechanism that host-host protocol is unrelated.Application protocol layer leads to for providing safe Deta bearer
Road.
Three network elements may be related in NETCONF agreements:NETCONF management equipments, NETCONF agencies
Equipment and the upstream device of NETCONF agent equipments management.NETCONF management equipments are equivalent to client
(client), by being realized to NETCONF agent equipment send configurations message to NETCONF agent equipments
The upstream device of management is configured.NETCONF agent equipments can be solved equivalent to server (server)
Configuration message is analysed, and configuration data in configuration message is configured and managed to the upstream device that it is managed
Reason.Upstream device can support NETCONF agreements, can not also support NETCONF agreements.If downstream
Equipment does not support NETCONF agreements, and NETCONF agent equipments then need configuration data being re-packaged into it
The message for the agreement that his upstream device is supported is sent to upstream device, for example, the control of WAP and matching somebody with somebody
Put agreement (English:Control And Provisioning of Wireless Access Points Protocol
Specification, referred to as:CAPWAP) message.Under the scene of wireless access, NETCONF management is set
Standby can be Centralized Controller, and NETCONF agent equipments can be access controller (English:access
Controller, referred to as:AC), upstream device can be access point (English:Access point, letter
Claim:The equipment such as AP).
When NETCONF agent equipments manage multiple upstream devices, multiple upstream devices can be divided into multiple
Packet, the configuration data needed for upstream device in each packet can be with identical.At present, NETCONF is managed
Equipment needs to issue the configuration data of every group of upstream device or each upstream device, inefficiency one by one.In order to
Solve the above problems, the embodiment of the present application provides a kind of configuration message sending method, is described below in detail.
As shown in Fig. 2 providing a kind of configuration message sending method schematic flow sheet for the embodiment of the present application, wrap
Include:
Step 201:NETCONF management equipments determine that the first NETCONF agent equipments support packet capability;Institute
It is the NETCONF protocol massages that processing includes common configuration data and packet configuration data to state packet capability
Ability.
Step 202:The NETCONF management equipments generation includes common configuration data and N number of packet is matched somebody with somebody
Put the first NETCONF protocol massages of data;Each packet configuration data include at least one group character,
For indicating that the packet configuration data are at least one set of downstream indicated by least one described group character
The configuration data that equipment is exclusively enjoyed;The common configuration data are all packets in N number of packet configuration data
The shared configuration data of all groups of indicated upstream devices of mark.
Step 203:The NETCONF management equipments send described to the first NETCONF agent equipments
First NETCONF protocol massages.
Step 204:First NETCONF agent equipments receive NETCONF management equipments it is determined that described
NETCONF agent equipments possess sent during packet capability include common configuration data and N number of packet configuration
First NETCONF protocol massages of data.
Step 205:The first NETCONF agent equipments obtain the in N number of packet configuration data
First group character of one packet configuration data, determines that the corresponding first group of downstream of first group character is set
It is standby, and configure the first packet configuration data and the common configuration number for first group of upstream device
According to.
Before step 201, NETCONF management equipments can initiate connection to the first NETCONF agent equipments please
Ask, the first NETCONF agent equipments the authentications of NETCONF management equipments by rear, is completed with
Connection between NETCONF management equipments is set up.
After connection between NETCONF management equipments and the first NETCONF agent equipments is set up, NETCONF
Management equipment needs progress capability set to exchange with the first NETCONF agent equipments, so that NETCONF is managed
The ability that other side is supported is determined between reason equipment and the first NETCONF agent equipments mutually.Wherein, ability
Collection refers to the competent set of institute that equipment is supported.
At present, according to NETCONF agreements, NETCONF management equipments and the first NETCONF agent equipments it
Between be by send mutually hello packet complete capability set exchange.Specifically, NETCONF management equipments
After connection between the first NETCONF agent equipments is set up, NETCONF management equipments are to first
NETCONF agent equipments, which are sent, includes the hello packet for the capability set that NETCONF management equipments are supported,
Wherein;Meanwhile, the first NETCONF agent equipments can also be sent to NETCONF management equipments includes first
The hello packet for the capability set that NETCONF agent equipments are supported.Now, NETCONF management equipments with
Capability set is completed between first NETCONF agent equipments to exchange.
For example, the content in the hello packet that NETCONF management equipments are sent can be as follows:
<Hello xmlns=" urn:ietf:params:xml:ns:netconf:base:1.0">
<capabilities>
<capability>urn:ietf:params:netconf:base:1.1</capability>
<capability>urn:ietf:params:netconf:capability:group:1.0</capab
ility>
</capabilities>
<session-id>4</session-id>
</hello>
In above-mentioned hello packet, " urn:ietf:params:netconf:base:1.1 " show NETCONF
Management equipment supports basic capacity collection specified in NETCONF agreements, and the version for the basic capacity collection supported
This is V1.1;“urn:ietf:params:netconf:capability:group:1.0 " show NETCONF
Management equipment supports packet capability, and the version of packet capability is V1.0.
Certainly, it is above example, hello packet there can also be other forms, with specific reference to actual conditions
It is determined that, it will not be repeated here.
In step 201, capability set is completed between NETCONF management equipments and the first NETCONF agent equipments
After exchange, it is all that NETCONF management equipments are assured that the first NETCONF agent equipments are supported
Ability, so that it is determined that whether the first NETCONF agent equipments support packet capability.
In the embodiment of the present application, packet capability can be to include common configuration data with processing and be grouped to match somebody with somebody
Put the ability of the NETCONF protocol massages of data.Specifically, the equipment with packet capability can generate bag
Include the NETCONF protocol massages of common configuration data and packet configuration data;It can parse and match somebody with somebody including public
Put the abilities such as the NETCONF protocol massages of data and packet configuration data.
In the embodiment of the present application, configuration data can be configuration name server (English:Domain Name
Server, referred to as:DNS data), or configuration DHCP (English:Dynamic
Host configuration protocol, referred to as:DHCP data) etc..
After completion capability set is exchanged between NETCONF management equipments and the first NETCONF agent equipments,
Multiple upstream devices that NETCONF management equipments can also be managed the first NETCONF agent equipments are carried out
Packet.In a kind of possible implementation, each downstream that the first NETCONF agent equipments are managed it
The facility informations such as the device identification of equipment are sent to NETCONF management equipments, NETCONF management equipments root again
The facility information reported according to the first NETCONF agent equipments received is by the first NETCONF agent equipments institute
Multiple upstream devices of management are grouped, and grouping information is handed down into the first NETCONF agent equipments.
In alternatively possible implementation, NETCONF management equipments are according to the first NETCONF received
The facility information that agent equipment is reported, grouping strategy is issued to the first NETCONF agent equipments, and first
NETCONF agent equipments are so as to the multiple upstream devices voluntarily managed according to the grouping strategy received it
It is grouped.Finally, the grouping information after packet is reported NETCONF by the first NETCONF agent equipments
Management equipment.
It should be noted that in the embodiment of the present application, a upstream device may belong to multiple different packets,
The packet belonging to each upstream device can be specifically determined according to actual conditions.
, can be by the message transmissions grouping informations of NETCONF forms in the embodiment of the present application;It can also lead to
Cross the message transmissions grouping information of other forms.Before the message transmissions grouping information of NETCONF forms,
Need beforehand through another generation (English of future generation:Yet Another Next Generation, referred to as:YANG)
The form of model definition message.
Optionally, in the embodiment of the present application, the form by the message of YANG model definitions can be following
Form:
With reference to YANG models above, three upstream devices that device identification is respectively a, b, c are divided
It can be expressed as below for the message in 1 packet to group character:
In step 202, in the first NETCONF protocol massages of the NETCONF management equipments generation, one
As include RPC layers, operation layer and content layer.Set as it was previously stated, content layer describes NETCONF management
The configuration data that the standby upstream device managed by the first NETCONF agent equipments is configured, therefore, this Shen
Please be in embodiment, common configuration data and N number of packet configuration data are located at the first NETCONF agreements
In configuration data nodes domains in the content layer of message.Wherein, N is natural number.
In the embodiment of the present application, because each packet configuration data in the first NETCONF protocol massages include
At least one group character, so as to indicate the upstream device corresponding to each packet configuration data.
For example, the first NETCONF protocol massages include two packet configuration data, as follows respectively:
<Vlan group=" 1,2 ">1111</vlan>
<Vlan group=" 3 ">333</vlan>
In above-mentioned packet configuration data,<Vlan group=" 1,2 ">1111</vlan>To be marked for packet
The packet that knowledge is one group of upstream device indicated by 1 and group character is one group of upstream device indicated by 2
Configuration data, for by group character being one group of upstream device indicated by 1 and group character is 2 signified
Vlan (Virtual Local Area Network, the VLAN) configurations of the one group of upstream device shown
For 1111.<Vlan group=" 3 ">333</vlan>For under for group character being one group indicated by 3
The packet configuration data of equipment are swum, the vlan for one group of upstream device by group character indicated by 3
It is configured to 333.
By the above method, NETCONF management equipments can be by a first NETCONF protocol massages
The upstream device configuration data of different grouping.
It should be noted that in the embodiment of the present application, if NETCONF management equipments are also managed and not supported point
2nd NETCONF agent equipments of group ability, then can be by method of the prior art to second
The upstream device that NETCONF agent equipments are managed carries out configuration data.Specifically, NETCONF management is set
It is standby to generate K the 2nd NETCONF protocol massages;Each 2nd NETCONF protocol massages include solely
Vertical configuration data and group character corresponding with the separate configurations data or device identification;It is described independently to match somebody with somebody
The configuration data that data are exclusively enjoyed by one group of upstream device indicated by the group character is put, or is described
The configuration data that upstream device indicated by device identification is exclusively enjoyed;The NETCONF management equipments are to described
2nd NETCONF agent equipments send K the 2nd NETCONF protocol massages.Wherein, K be more than
1 positive integer.
The downstream that the 2nd NETCONF agent equipments are managed is set it is, of course, also possible to be realized by other method
It is standby to carry out configuration data, it will not be repeated here.
In step 203, NETCONF management equipments are if it is determined that the first NETCONF agent equipments support packet energy
Power, can also be generated for transmitting the configuration data that the L groups upstream device indicated by L group character is shared
The 3rd NETCONF protocol massages.Specifically, NETCONF management equipments are if it is determined that the first NETCONF generations
Manage equipment and support packet capability, then being sent to the first NETCONF agent equipments includes publicly-owned configuration data
And the 3rd NETCONF protocol massages of L group character;Wherein, L is natural number, described publicly-owned to match somebody with somebody
Data are put in the configuration data nodes domains of the content layer of the 3rd NETCONF protocol massages, L packet mark
Know in the command node domain of the RPC layers of the 3rd NETCONF protocol massages.The publicly-owned configuration data is
The configuration data that L groups upstream device indicated by the L group character is shared.
By the above method, because publicly-owned configuration data is the L groups downstream indicated by the L group character
The configuration data of collaborative share, is handed down to specific L groups packet equipment same for NETCONF management equipments
Under the scene of configuration data, NETCONF management equipments, can be with by sending the 3rd NETCONF protocol massages
Farthest reduce the interaction times between NETCONF management equipments and NETCONF agent equipments, reduce
The occupancy of data bandwidth, improves allocative efficiency.
In step 204, the first NETCONF agent equipments are received before the first NETCONF protocol massages,
Capability set is carried out between the meeting of being also possible to and NETCONF management equipments to exchange.First NETCONF agent equipments with
The specific steps of progress capability set exchange may be referred to description above between NETCONF management equipments, herein
Repeat no more.
In step 205, the first NETCONF agent equipments are received after the first NETCONF protocol massages,
The first NETCONF protocol massages are parsed, so as to obtain the public affairs in the first NETCONF protocol massages
Common configuration data and N number of packet configuration data.
First NETCONF agent equipments are obtained after N number of packet configuration data, it may be determined that first point
Group configuration data, so that it is determined that going out the first group character in the first packet configuration data.Wherein, first point
Group configuration data can be any one group packet configuration data, first point in N number of packet configuration data
Group is designated at least one group character included in the first packet configuration data.
In the embodiment of the present application, the first NETCONF agent equipments can be public by common configuration data Cun Chudao
Each packet configuration data are respectively stored at least one included by the packet configuration data by storage region
At least one corresponding packet storage region of group character.For example, if packet configuration data include two
Individual group character, respectively A and B, then be respectively stored into the corresponding packets of A by the packet configuration data and deposit
Storage area domain, and the corresponding packet storage regions of B.
With it, by the way that the configuration data that all groups of upstream devices are shared is stored in into common storage area
Domain, while the configuration data that every group of upstream device is exclusively enjoyed is remained with less cost again, it is effective to save
Memory space, improves storage efficiency.
It should be noted that the first NETCONF agent equipments can be by packet configuration data or common configuration
Data are stored in the way of xml forms, can also packet configuration data or common configuration data Cun Chudao
In key assignments (key-value) database, the embodiment of the present application is not limited this.
The first NETCONF agent equipments to first group of upstream device when configuring, first basis
First group of upstream device configuration determines the first group character, then from corresponding with first group character
Packet storage region in read the first packet configuration data, and read from the public storage area described
Common configuration data, so that obtaining first group of upstream device configures corresponding all configuration datas.Then, institute
The first NETCONF agent equipments are stated by the first packet configuration data and common configuration data that read, are matched somebody with somebody
Put and give first group of upstream device configuration, so as to realize the configuration configured to first group of upstream device.
In the embodiment of the present application, the first NETCONF agent equipments are also possible to receive NETCONF management equipments
The 3rd NETCONF protocol massages sent.Specifically, the first NETCONF agent equipments receive NETCONF
Management equipment is it is determined that what is sent after the first NETCONF agent equipments support packet capability includes publicly-owned match somebody with somebody
Put the 3rd NETCONF protocol massages of data and L group character;Wherein, L is natural number, described
Publicly-owned configuration data is located in the configuration data nodes domains of the content layer of the 3rd NETCONF protocol massages, L
Group character is located in the command node domain of the RPC layers of the 3rd NETCONF protocol massages.The publicly-owned configuration
Data are the configuration data that the L groups upstream device indicated by the L group character is shared.
First NETCONF agent equipments can be according to the publicly-owned configuration in the 3rd NETCONF protocol massages
Data are that the L group upstream devices indicated by the L group character are configured, so as to improve allocative efficiency.
Optionally, the publicly-owned configuration data can also be stored in institute by the first NETCONF agent equipments
State in the publicly-owned storage region corresponding to the L group upstream devices indicated by L group character, deposited so as to save
Space is stored up, storage efficiency is improved.
Based on identical technical concept, the embodiment of the present application also provides a kind of configuration message dispensing device, the dress
Put executable above method embodiment.
As shown in figure 3, providing a kind of configuration message dispensing device structural representation for the embodiment of the present application.
The device can perform the flow shown in Fig. 2, and the device includes:
Determining unit 301, for determining whether the first NETCONF agent equipments support packet capability;It is described
Packet capability includes the energy of the NETCONF protocol massages of common configuration data and packet configuration data for processing
Power;
Message generation unit 302, for determining that the first NETCONF agent equipments are supported in the determining unit
During packet capability, generation includes the first NETCONF associations of common configuration data and N number of packet configuration data
Discuss message;Each packet configuration data include at least one group character, for indicating the packet configuration number
According to the configuration data exclusively enjoyed at least one set of upstream device indicated by least one described group character;It is described
Common configuration data set for all groups of downstreams indicated by all group characters in N number of packet configuration data
Standby shared configuration data;
Transmitting element 303, for sending the first NETCONF to the first NETCONF agent equipments
Protocol massages.
Optionally, the message generation unit 302 is additionally operable to determine second in the determining unit 301
When NETCONF agent equipments do not support packet capability, K the 2nd NETCONF protocol massages of generation;Each
2nd NETCONF protocol massages include separate configurations data and with corresponding point of the separate configurations data
Group mark or device identification;The separate configurations data are one group of upstream device indicated by the group character
The configuration data exclusively enjoyed, or the configuration number exclusively enjoyed by the upstream device indicated by the device identification
According to;
The transmitting element 303, for sending described K second to the 2nd NETCONF agent equipments
NETCONF protocol massages.
Optionally, the common configuration data and N number of packet configuration data are located at the first NETCONF
In configuration data nodes domains in the content layer of protocol massages.
As shown in figure 4, providing a kind of configuration message dispensing device structural representation for the embodiment of the present application.
Referring to Fig. 4, the device includes:
Receiving unit 401, for receiving NETCONF management equipments it is determined that the NETCONF agent equipments
Possess sent during packet capability include the first of common configuration data and N number of packet configuration data
NETCONF protocol massages;Each packet configuration data include at least one group character, described for indicating
Packet configuration data are matching somebody with somebody that at least one set of upstream device indicated by least one described group character is exclusively enjoyed
Put data;The common configuration data are indicated by all group characters in N number of packet configuration data
The shared configuration data of all groups of upstream devices;The packet capability is to include common configuration data with processing
And the ability of the NETCONF protocol massages of packet configuration data;
Dispensing unit 402, for obtaining the first packet configuration data in N number of packet configuration data
First group character, determines the corresponding first group of upstream device of first group character, is described first group
Upstream device configures the first packet configuration data and the common configuration data.
Optionally, described device also includes processing unit 403, is used for:Parse the first NETCONF associations
Message is discussed, the common configuration data in the first NETCONF protocol massages and N number of packet is obtained
Configuration data;For each packet configuration data in N number of packet configuration data, the packet is determined
At least one group character that configuration data includes, by the packet configuration data be respectively stored into it is described extremely
The corresponding packet storage region of each group character in a few group character, and by the common configuration number
Public storage area is arrived according to storage;
Memory cell 404, for storing N number of packet configuration data and the common configuration data;
The dispensing unit 402 from the corresponding packet storage region of first group character specifically for reading
The first packet configuration data are taken, and the common configuration data are read from the public storage area, are institute
State first group of upstream device and configure the first packet configuration data and the common configuration data.
Optionally, the common configuration data and N number of packet configuration data are located at the first NETCONF
In configuration data nodes domains in the content layer of protocol massages.
As shown in figure 5, providing a kind of configuration message dispensing device structural representation for the embodiment of the present application.
Referring to Fig. 5, the device includes:Processor 501, memory 502, transceiver 503.
Transceiver 503 can be wired transceiver, transceiver or its combination.Wired transceiver for example may be used
Think Ethernet interface.Ethernet interface can be optical interface, electrical interface or its combination.Transceiver example
Such as can be communication interfaces of wireless local network, cellular network communication interface or its combination.Processor 501 can be with
It is central processing unit (English:Central processing unit, referred to as:CPU), network processing unit
(English:Network processor, referred to as:NP) or CPU and NP combination.Processor 501
It can further include hardware chip.Above-mentioned hardware chip can be application specific integrated circuit (English:
Application-specific integrated circuit, referred to as:ASIC), PLD
(English:Programmable logic device, referred to as:PLD) or its combination.Above-mentioned PLD can be with
It is CPLD (English:Complex programmable logic device, referred to as:
CPLD), field programmable gate array (English:Field-programmable gate array, letter
Claim:FPGA), GAL (English:Generic array logic, referred to as:GAL) or its
Any combination.Memory 502 can include volatile memory (English:Volatile memory), example
Such as random access memory (English:Random-access memory, referred to as:RAM);Memory 502
Nonvolatile memory (English can also be included:Non-volatile memory), such as read-only storage
(English:Read-only memory, abbreviation:ROM), flash memory (English:Flash memory),
Hard disk (English:Hard disk drive, abbreviation:HDD) or solid state hard disc (English:solid-state
Drive, referred to as:SSD);Memory 502 can also include the combination of the memory of mentioned kind.
Memory 502 can be for storage program.
Processor 501 reads the corresponding instruction of described program from the memory 502, performs following operation:
Determine whether the first NETCONF agent equipments support packet capability;The packet capability includes for processing
The ability of the NETCONF protocol massages of common configuration data and packet configuration data;It is determined that first
When NETCONF agent equipments support packet capability, generation includes common configuration data and N number of packet configuration
First NETCONF protocol massages of data;Each packet configuration data include at least one group character, use
At least one set of downstream described in being in the instruction packet configuration data indicated by least one group character is set
The standby configuration data exclusively enjoyed;The common configuration data are all packet marks in N number of packet configuration data
Know the shared configuration data of all groups of indicated upstream devices;
Transceiver 503, is assisted for sending the first NETCONF to the first NETCONF agent equipments
Discuss message.
Optionally, the processor 501 is additionally operable to it is determined that the 2nd NETCONF agent equipments do not support packet
During ability, K the 2nd NETCONF protocol massages of generation;Each 2nd NETCONF protocol massages include
Separate configurations data and group character corresponding with the separate configurations data or device identification;The independence
The configuration data that configuration data is exclusively enjoyed by one group of upstream device indicated by the group character, or be institute
State the configuration data that the upstream device indicated by device identification is exclusively enjoyed;
The transceiver 503, for sending described K second to the 2nd NETCONF agent equipments
NETCONF protocol massages.
Optionally, the common configuration data and N number of packet configuration data are located at the first NETCONF
In configuration data nodes domains in the content layer of protocol massages.
Wherein, bus can also be included in Fig. 5, bus can include the bus and bridge of any number of interconnection,
The various electrical chains for the memory that the specific one or more processors represented by processor and memory are represented
It is connected together.Bus can also be by the various of such as ancillary equipment, voltage-stablizer and management circuit or the like
Other circuits are linked together, and no longer it is described further by the application.Transceiver is provided for passing
With the unit of various other equipment communications on defeated medium.Processor is responsible for bus architecture and common place
Reason, memory can store processor used data when performing operation.
As shown in fig. 6, providing a kind of configuration message dispensing device structural representation for the embodiment of the present application.
Referring to Fig. 6, the device includes:Processor 601, memory 602, transceiver 603.
Transceiver 603 can be wired transceiver, transceiver or its combination.Wired transceiver for example may be used
Think Ethernet interface.Ethernet interface can be optical interface, electrical interface or its combination.Transceiver example
Such as can be communication interfaces of wireless local network, cellular network communication interface or its combination.Processor 601 can be with
It is central processing unit, network processing unit or CPU and NP combination.Processor 601 can also be further
Including hardware chip.Above-mentioned hardware chip can be application specific integrated circuit, PLD or its combination.
Above-mentioned PLD can be CPLD, field programmable gate array, GAL
Or its any combination.Memory 602 can include volatile memory, such as random access memory;Deposit
Reservoir 602 can also include nonvolatile memory, such as read-only storage, flash memory, hard disk or
Solid state hard disc;Memory 602 can also include the combination of the memory of mentioned kind.
Memory 602 can be for storage program.
Transceiver, for receiving NETCONF management equipments it is determined that the NETCONF agent equipments possess point
What is sent during group ability includes the first NETCONF agreements of common configuration data and N number of packet configuration data
Message;Each packet configuration data include at least one group character, for indicating the packet configuration data
The configuration data exclusively enjoyed at least one set of upstream device indicated by least one described group character;The public affairs
Configuration data is all groups of upstream devices indicated by all group characters in N number of packet configuration data altogether
Shared configuration data;The packet capability is to include common configuration data and packet configuration number with processing
According to NETCONF protocol massages ability;
Processor 601 reads the corresponding instruction of described program from the memory 602, performs following operation:
The first group character for obtaining the first packet configuration data in N number of packet configuration data,
The corresponding first group of upstream device of first group character is determined, is first group of upstream device configuration institute
State the first packet configuration data and the common configuration data.
Optionally, the processor 601 specifically for:The first NETCONF protocol massages are parsed, are obtained
Take the common configuration data and N number of packet configuration data in the first NETCONF protocol massages;
For each packet configuration data in N number of packet configuration data, determine in the packet configuration data
Including at least one group character, the packet configuration data are respectively stored at least one described packet
The corresponding packet storage region of each group character in mark, and the common configuration data Cun Chudao is public
Common storage region;
The memory 602, for storing N number of packet configuration data and the common configuration data;
The processor 601 from the corresponding packet storage region of first group character specifically for reading
First packet configuration data, and the common configuration data are read from the public storage area, it is described
First group of upstream device configures the first packet configuration data and the common configuration data.
Optionally, the common configuration data and N number of packet configuration data are located at the first NETCONF
In configuration data nodes domains in the content layer of protocol massages.
Wherein, bus can also be included in Fig. 6, bus can include the bus and bridge of any number of interconnection,
The various electrical chains for the memory that the specific one or more processors represented by processor and memory are represented
It is connected together.Bus can also be by the various of such as ancillary equipment, voltage-stablizer and management circuit or the like
Other circuits are linked together, and no longer it is described further by the application.Transceiver is provided for passing
With the unit of various other equipment communications on defeated medium.Processor is responsible for bus architecture and common place
Reason, memory can store processor used data when performing operation.
The application is produced with reference to according to the method, equipment (system) and computer program of the embodiment of the present application
The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions implementation process figure and
/ or each flow and/or square frame in block diagram and the flow in flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to all-purpose computer, special-purpose computer, insertion
Formula processor or the processor of other programmable data processing devices are to produce a machine so that pass through and calculate
The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one
The device for the function of being specified in individual flow or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or the processing of other programmable datas to set
In the standby computer-readable memory worked in a specific way so that be stored in the computer-readable memory
Instruction produce include the manufacture of command device, the command device realization in one flow or multiple of flow chart
The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made
Obtain and perform series of operation steps on computer or other programmable devices to produce computer implemented place
Reason, so that the instruction performed on computer or other programmable devices is provided for realizing in flow chart one
The step of function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.
Obviously, those skilled in the art can carry out various changes and modification without departing from this Shen to the application
Scope please.So, if these modifications and variations of the application belong to the application claim scope it
Interior, then the application is also intended to comprising including these changes and modification.
Claims (12)
1. a kind of configuration message sending method, it is characterised in that this method includes:
Network configuration NETCONF management equipments determine that the first NETCONF agent equipments support packet capability;Institute
It is the NETCONF protocol massages that processing includes common configuration data and packet configuration data to state packet capability
Ability;
NETCONF management equipments generation includes the of common configuration data and N number of packet configuration data
One NETCONF protocol massages;Each packet configuration data include at least one group character, for indicating
It is that at least one set of upstream device indicated by least one described group character is exclusively enjoyed to state packet configuration data
Configuration data;The common configuration data are indicated by all group characters in N number of packet configuration data
The shared configuration data of all groups of upstream devices;
The NETCONF management equipments send described first to the first NETCONF agent equipments
NETCONF protocol massages.
2. the method as described in claim 1, it is characterised in that methods described also includes:
The NETCONF management equipments determine that the 2nd NETCONF agent equipments do not support packet capability, then give birth to
Into K the 2nd NETCONF protocol massages;Each 2nd NETCONF protocol massages include separate configurations number
According to this and group character corresponding with the separate configurations data or device identification;The separate configurations data are
The configuration data that one group of upstream device indicated by the group character is exclusively enjoyed, or be the device identification
The configuration data that indicated upstream device is exclusively enjoyed;
The NETCONF management equipments send described K second to the 2nd NETCONF agent equipments
NETCONF protocol massages.
3. the method as described in claim 1, it is characterised in that common configuration data and N number of
Packet configuration data are located at the configuration data nodes domains in the content layer of the first NETCONF protocol massages
In.
4. a kind of configuration message sending method, it is characterised in that this method includes:
Network configuration NETCONF agent equipments receive NETCONF management equipments it is determined that the NETCONF generations
Reason equipment possess sent during packet capability include the first of common configuration data and N number of packet configuration data
NETCONF protocol massages;Each packet configuration data include at least one group character, described for indicating
Packet configuration data are matching somebody with somebody that at least one set of upstream device indicated by least one described group character is exclusively enjoyed
Put data;The common configuration data are indicated by all group characters in N number of packet configuration data
The shared configuration data of all groups of upstream devices;The packet capability is to include common configuration data with processing
And the ability of the NETCONF protocol massages of packet configuration data;
The NETCONF agent equipments obtain the first packet configuration data in N number of packet configuration data
The first group character, determine the corresponding first group of upstream device of first group character, and be described the
One group of upstream device configures the first packet configuration data and the common configuration data.
5. method as claimed in claim 4, it is characterised in that the NETCONF agent equipments are obtained
Before first group character of the first packet configuration data in N number of packet configuration data, methods described
Also include:
The NETCONF agent equipments parse the first NETCONF protocol massages, obtain described first
Common configuration data and N number of packet configuration data in NETCONF protocol massages;
For each packet configuration data in N number of packet configuration data, the NETCONF agencies set
It is standby to determine at least one group character that the packet configuration data include, by the packet configuration data point
The corresponding packet storage region of each group character at least one described group character is not stored;
The NETCONF agent equipments are by the common configuration data Cun Chudao public storage areas;
It is described to configure the first packet configuration data and the common configuration for first group of upstream device
Data, including:
The NETCONF agent equipments read the from the corresponding packet storage region of first group character
One packet configuration data, and read from the public storage area common configuration data;
The NETCONF agent equipments are that first group of upstream device configures the first packet configuration data
And the common configuration data.
6. the method as described in claim 4 or 5, it is characterised in that the common configuration data and N
Individual packet configuration data are located at the configuration data nodes domains in the content layer of the first NETCONF protocol massages
In.
7. a kind of configuration message dispensing device, it is characterised in that the device includes:
Determining unit, for determining whether the first NETCONF agent equipments support packet capability;The packet
Ability includes the ability of the NETCONF protocol massages of common configuration data and packet configuration data for processing;
Message generation unit, for determining that the first NETCONF agent equipments support packet in the determining unit
During ability, generation includes the first NETCONF agreement reports of common configuration data and N number of packet configuration data
Text;Each packet configuration data include at least one group character, for indicating that the packet configuration data are
The configuration data that at least one set of upstream device indicated by least one described group character is exclusively enjoyed;It is described public
Configuration data is total to for all groups of upstream devices indicated by all group characters in N number of packet configuration data
The configuration data enjoyed;
Transmitting element, for sending the first NETCONF agreements to the first NETCONF agent equipments
Message.
8. device as claimed in claim 7, it is characterised in that the message generation unit is additionally operable to
When the determining unit determines that the 2nd NETCONF agent equipments do not support packet capability, generation K second
NETCONF protocol massages;Each 2nd NETCONF protocol massages include separate configurations data and with institute
State the corresponding group character of separate configurations data or device identification;The separate configurations data are the packet mark
Know the configuration data that one group of indicated upstream device is exclusively enjoyed, or indicated by the device identification under
The configuration data that trip equipment is exclusively enjoyed;
The transmitting element, for sending described K second to the 2nd NETCONF agent equipments
NETCONF protocol massages.
9. device as claimed in claim 7, it is characterised in that common configuration data and N number of
Packet configuration data are located at the configuration data nodes domains in the content layer of the first NETCONF protocol massages
In.
10. a kind of configuration message dispensing device, it is characterised in that the device includes:
Receiving unit, for receiving NETCONF management equipments it is determined that the NETCONF agent equipments possess
What is sent during packet capability includes the first NETCONF associations of common configuration data and N number of packet configuration data
Discuss message;Each packet configuration data include at least one group character, for indicating the packet configuration number
According to the configuration data exclusively enjoyed at least one set of upstream device indicated by least one described group character;It is described
Common configuration data set for all groups of downstreams indicated by all group characters in N number of packet configuration data
Standby shared configuration data;The packet capability is to include common configuration data and packet configuration with processing
The ability of the NETCONF protocol massages of data;
Dispensing unit, first for obtaining the first packet configuration data in N number of packet configuration data
Group character, determines the corresponding first group of upstream device of first group character, is first group of downstream
First packet configuration data described in device configuration and the common configuration data.
11. device as claimed in claim 10, it is characterised in that described device also includes processing unit,
For:The first NETCONF protocol massages are parsed, are obtained in the first NETCONF protocol massages
Common configuration data and N number of packet configuration data;For every in N number of packet configuration data
Individual packet configuration data, determine at least one group character that the packet configuration data include, will be described
Packet configuration data are respectively stored into the corresponding packet of each group character at least one described group character
Storage region, and by the common configuration data Cun Chudao public storage areas;
Memory cell, for storing N number of packet configuration data and the common configuration data;
The dispensing unit from the corresponding packet storage region of first group character specifically for reading
First packet configuration data, and the common configuration data are read from the public storage area, it is described
First group of upstream device configures the first packet configuration data and the common configuration data.
12. device as claimed in claim 10, it is characterised in that the common configuration data and N
Individual packet configuration data are located at the configuration data nodes domains in the content layer of the first NETCONF protocol massages
In.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610164075.2A CN107222321B (en) | 2016-03-21 | 2016-03-21 | Configuration message sending method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610164075.2A CN107222321B (en) | 2016-03-21 | 2016-03-21 | Configuration message sending method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107222321A true CN107222321A (en) | 2017-09-29 |
CN107222321B CN107222321B (en) | 2020-08-14 |
Family
ID=59927255
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610164075.2A Active CN107222321B (en) | 2016-03-21 | 2016-03-21 | Configuration message sending method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107222321B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109194519A (en) * | 2018-09-27 | 2019-01-11 | 锐捷网络股份有限公司 | Configuration method, device, controller and the computer storage medium of the network equipment |
CN109586961A (en) * | 2018-11-28 | 2019-04-05 | 新华三技术有限公司 | Network collocating method and device |
CN110278093A (en) * | 2018-03-13 | 2019-09-24 | 华为技术有限公司 | The configuration method and device of the network equipment |
CN112217845A (en) * | 2019-07-09 | 2021-01-12 | 华为技术有限公司 | Data transmission method based on Netconf protocol and related equipment |
CN113064658A (en) * | 2019-12-31 | 2021-07-02 | 北京华为数字技术有限公司 | Method, device and equipment for copying configuration data and computer readable storage medium |
WO2022012489A1 (en) * | 2020-07-13 | 2022-01-20 | 华为技术有限公司 | Capability indication method and related device |
WO2023168573A1 (en) * | 2022-03-07 | 2023-09-14 | Shenzhen Tcl New Technology Co., Ltd. | Wireless communication method and device for extended reality traffic |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1885858A (en) * | 2005-06-24 | 2006-12-27 | 中国长城计算机深圳股份有限公司 | Method for carrying out cluster management on network equipment based on SNMP protocol |
CN101110822A (en) * | 2007-07-06 | 2008-01-23 | 华为技术有限公司 | Event notice sending method, system and equipment based on network configuration protocol |
CN101183977A (en) * | 2007-10-26 | 2008-05-21 | 杭州华三通信技术有限公司 | Configuration distributing method and apparatus |
CN101237466A (en) * | 2008-02-29 | 2008-08-06 | 华为技术有限公司 | Network configuration method, device and system for terminal |
CN101399774A (en) * | 2008-10-24 | 2009-04-01 | 华为技术有限公司 | Processing method and system for packet data |
CN102368716A (en) * | 2011-11-29 | 2012-03-07 | 迈普通信技术股份有限公司 | Data acquisition method of network configuration protocol and network configuration server |
US20120170582A1 (en) * | 2011-01-05 | 2012-07-05 | Google Inc. | Systems and methods for dynamic routing in a multiprocessor network using local congestion sensing |
EP2509261A1 (en) * | 2011-04-08 | 2012-10-10 | Alcatel Lucent | Monitoring of a network element in a packet-switched network |
US8798002B2 (en) * | 2010-09-30 | 2014-08-05 | Htc Corporation | Method of sending network configuration and related communication device |
-
2016
- 2016-03-21 CN CN201610164075.2A patent/CN107222321B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1885858A (en) * | 2005-06-24 | 2006-12-27 | 中国长城计算机深圳股份有限公司 | Method for carrying out cluster management on network equipment based on SNMP protocol |
CN101110822A (en) * | 2007-07-06 | 2008-01-23 | 华为技术有限公司 | Event notice sending method, system and equipment based on network configuration protocol |
CN101183977A (en) * | 2007-10-26 | 2008-05-21 | 杭州华三通信技术有限公司 | Configuration distributing method and apparatus |
CN101237466A (en) * | 2008-02-29 | 2008-08-06 | 华为技术有限公司 | Network configuration method, device and system for terminal |
CN101399774A (en) * | 2008-10-24 | 2009-04-01 | 华为技术有限公司 | Processing method and system for packet data |
US8798002B2 (en) * | 2010-09-30 | 2014-08-05 | Htc Corporation | Method of sending network configuration and related communication device |
US20120170582A1 (en) * | 2011-01-05 | 2012-07-05 | Google Inc. | Systems and methods for dynamic routing in a multiprocessor network using local congestion sensing |
EP2509261A1 (en) * | 2011-04-08 | 2012-10-10 | Alcatel Lucent | Monitoring of a network element in a packet-switched network |
CN102368716A (en) * | 2011-11-29 | 2012-03-07 | 迈普通信技术股份有限公司 | Data acquisition method of network configuration protocol and network configuration server |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110278093A (en) * | 2018-03-13 | 2019-09-24 | 华为技术有限公司 | The configuration method and device of the network equipment |
CN110278093B (en) * | 2018-03-13 | 2021-12-28 | 华为技术有限公司 | Configuration method and device of network equipment |
CN109194519B (en) * | 2018-09-27 | 2021-11-16 | 锐捷网络股份有限公司 | Configuration method and device of network equipment, controller and computer storage medium |
CN109194519A (en) * | 2018-09-27 | 2019-01-11 | 锐捷网络股份有限公司 | Configuration method, device, controller and the computer storage medium of the network equipment |
CN109586961B (en) * | 2018-11-28 | 2022-03-01 | 新华三技术有限公司 | Network configuration method and device |
CN109586961A (en) * | 2018-11-28 | 2019-04-05 | 新华三技术有限公司 | Network collocating method and device |
CN112217845A (en) * | 2019-07-09 | 2021-01-12 | 华为技术有限公司 | Data transmission method based on Netconf protocol and related equipment |
CN112217845B (en) * | 2019-07-09 | 2022-01-18 | 华为技术有限公司 | Data transmission method based on Netconf protocol and related equipment |
CN113064658A (en) * | 2019-12-31 | 2021-07-02 | 北京华为数字技术有限公司 | Method, device and equipment for copying configuration data and computer readable storage medium |
CN113064658B (en) * | 2019-12-31 | 2023-09-08 | 北京华为数字技术有限公司 | Copying method, copying device, copying equipment and computer readable storage medium for configuration data |
WO2022012489A1 (en) * | 2020-07-13 | 2022-01-20 | 华为技术有限公司 | Capability indication method and related device |
US11943099B2 (en) | 2020-07-13 | 2024-03-26 | Huawei Technologies Co., Ltd. | Capability notification method and related device |
WO2023168573A1 (en) * | 2022-03-07 | 2023-09-14 | Shenzhen Tcl New Technology Co., Ltd. | Wireless communication method and device for extended reality traffic |
Also Published As
Publication number | Publication date |
---|---|
CN107222321B (en) | 2020-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107222321A (en) | A kind of configuration message sending method and device | |
CN103534992B (en) | Send method, interchanger, server and the system for setting up connection request | |
CN105871602B (en) | A kind of control method, device and system counting flow | |
CN104982013B (en) | A kind of method, equipment and the system of business routing | |
CN103401786B (en) | Network topology foundation, path clustering, message transmitting method and device, system | |
CN102137401B (en) | WLAN centralization 802.1X authentication methods and device and system | |
CN105281942B (en) | A kind of network equipment and method sending bgp information | |
CN105376087A (en) | Transaction integrity for network services configuration | |
CN104040972B (en) | The method and device that a kind of path is set up | |
CN107302443A (en) | Equipment configuration method and device based on network configuration protocol | |
CN103441936A (en) | Issuing method of forwarding adjacent link | |
CN108092893A (en) | A kind of special line activating method and device | |
CN109391504A (en) | The dispositions method and device of network slice | |
CN104539632B (en) | A kind of PN device management control method based on virtual address space | |
CN104956629B (en) | Event distributing method in software defined network, control device and processor | |
CN107104824A (en) | A kind of network topology determines method and apparatus | |
CN107404512A (en) | Resource subscription method, resource subscription device and resource subscription Xi System | |
WO2016078312A1 (en) | Single board testing method and device | |
CN110324159A (en) | Link configuration method and controller | |
CN107786669A (en) | A kind of method of load balance process, server, device and storage medium | |
CN108075927A (en) | Network-building method, privately owned cloud platform and storage medium | |
CN107820262A (en) | Method for parameter configuration, apparatus and system | |
CN109525412A (en) | The method and apparatus for managing network slice | |
CN109818769A (en) | The method and apparatus for sending information | |
CN107332857A (en) | A kind of network data transmission method, device, system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |