CN105991579A - Information transmitting method, related network equipment and system - Google Patents
Information transmitting method, related network equipment and system Download PDFInfo
- Publication number
- CN105991579A CN105991579A CN201510075461.XA CN201510075461A CN105991579A CN 105991579 A CN105991579 A CN 105991579A CN 201510075461 A CN201510075461 A CN 201510075461A CN 105991579 A CN105991579 A CN 105991579A
- Authority
- CN
- China
- Prior art keywords
- message
- network equipment
- information
- network
- rpc
- 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
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses an information transmitting method, related network equipment and a system, which are used for solving a problem of low efficiency of equipment supporting a specific protocol in a scenario of updating a large amount of frequently changing information. The method disclosed in the embodiment of the invention comprises the steps that when information collected by first network equipment supporting a specific protocol conforms to an information identifier of second network equipment, the first network equipment actively transmits a first message to the second network equipment also supporting the specific protocol without a need of receiving an information request proposed by the second network equipment, and the first message carries information which is collected by the first network equipment and conforms to the information identifier of the second network equipment.
Description
Technical field
The present invention relates to the communications field, particularly relate to method for sending information, related network device and system.
Background technology
Software defined network (Software Defined Network, SDN) is the heat that network field is current
Gate technique, its main purpose is open with the separation of Forwarding plane, Hierarchical abstraction and offer by controlling
Interface makes the upper layer application (application) of network manager and network to make more convenient and efficiently
By the various resources of network, improve the utilization ratio of network, reduce and use and operation cost.
Realize SDN and can have multiple concrete technology, wherein route system interface (Interface to the
Routing System, I2RS) be Internet Engineering Task group (Internet Engineering Task Force,
IETF) a kind of technology that open interface is provided on route system proposed so that upper-layer user can read
Take and operate the information in route system, strategy and state etc..The upper-layer user of I2RS can be network pipe
Ought to use, network controller, or need to use the various application of network.The framework of I2RS includes visitor
Family end client and agent equipment agent, (e.g., network during wherein client may be located at described upper-layer user
In management equipment, network controller or various application), and agent is usually located in the network equipment.At client
And between agent, need a kind of agreement to realize connection therebetween and information is mutual, there is layering knot
Structure, message layer and content layer be separate and comprises the control management of request-reply message mechanism in message layer
Agreement is expected to selected as the agreement sending message between client and agent.
But, in actual applications, owing to I2RS needs the information of transmission between client and agent
Varied, including network topological information, routing iinformation, policy information, status information, and network
Various list items etc. in equipment.The quantity of information having in this category information is relatively big, and the frequency of some renewals is higher.
The most this kind of have hierarchy and the agreement that comprises request-reply message mechanism can not be directly applied to this
In I2RS framework, concrete, owing to request-reply mechanism needs first network equipment first to set to the second network
The information that standby initial request messages needs with request, second network equipment just returns after receiving request message
Carrying the response message of the information of first network device request again, making the request message received should
Answer, such mode be not suitable for a large amount of, change and use under information updating scene frequently, otherwise will make
Support that the device efficiency of this agreement is low, increase equipment and network burden.
Summary of the invention
Embodiments provide method for sending information, related network device and system, be used for solving
Support has that hierarchy, message layer and content layer be separate and comprises request-reply message in message layer
The equipment controlling management agreement of mechanism is asked in poor efficiency a large amount of, that change under information updating scene frequently
Topic.
Embodiment of the present invention first aspect provides a kind of method for sending information, wherein, first network equipment
All support that specific protocol, described specific protocol are a kind of control management agreement with second network equipment, have
Hierarchy, including at least message layer and content layer, described message layer realizes protocol interaction for defining
Type of message, described type of message includes asking message and response message, and described content layer is used for defining
Agreement needs transmission and mutual data and information, and described message layer and described content layer are separate, should
Method includes:
Information in described first network equipment collection network;
Described first network equipment and described second network equipment set up session by described specific protocol,
The message identification of second network equipment is obtained during session establishment;
When the information that described first network equipment is collected meets described message identification, described first network sets
Standby need not first receives the information request that described second network equipment proposes, and actively sets to described second network
Preparation send the first message, and carry in described first message that described first network equipment collects meets institute
State the information of message identification, described in the instruction acquisition of described information request, meet the information of described message identification.
In conjunction with the first aspect of the embodiment of the present invention, the first realization side of embodiment of the present invention first aspect
In formula, described active also includes after described second network equipment sends the step of the first message:
It is sent to the first message of described second network equipment is carried when described first network equipment determines
When information needs to update, described first network equipment collects the information updated;
Described first network equipment actively sends the second message to described second network equipment, and described second disappears
Breath carries the information of the renewal that described first network equipment is collected.
In conjunction with first aspect or the first implementation of first aspect of the embodiment of the present invention, the present invention is real
Executing in the second implementation of example first aspect, described message identification is used for representing that described second network sets
The standby information type supported;
When the described information collected when described first network equipment meets described message identification, described first net
Network equipment need not first receive the information request that described second network equipment proposes, actively to described second net
Network equipment sends the first message, carries the symbol that described first network equipment is collected in described first message
Close the information of described message identification, specifically include:
The information collected when described first network equipment meets the information type that described second network equipment is supported
Time, described first network equipment need not first receive the information request that described second network equipment proposes, main
Second network equipment described in trend sends the first message, carries described first network in described first message
What equipment was collected meets the information of the information type that described second network equipment is supported.
In conjunction with first aspect or the first implementation of first aspect of the embodiment of the present invention, the present invention is real
Executing in the third implementation of example first aspect, described message identification is used for representing that described second network sets
Standby information requirement;
When the described information collected when described first network equipment meets described message identification, described first net
Network equipment need not first receive the information request that described second network equipment proposes, actively to described second net
Network equipment sends the first message, carries the symbol that described first network equipment is collected in described first message
Close the information of described message identification, specifically include:
When the information that described first network equipment is collected meets the information requirement of described second network equipment,
Described first network equipment need not first to receive the information request that described second network equipment proposes, actively to
Described second network equipment sends the first message, carries described first network equipment in described first message
The information of the information requirement meeting described second network equipment collected.
In conjunction with first aspect or the first implementation of first aspect of the embodiment of the present invention, the present invention is real
Execute in the 4th kind of implementation of example first aspect, described type of message also includes PUSH message, described
PUSH message is a kind of unidirectional message, and described second network equipment is not required to after receiving described PUSH message
Response message to be replied, described first message belongs to described PUSH message.
In conjunction with the first implementation of embodiment of the present invention first aspect, embodiment of the present invention first aspect
The 5th kind of implementation in, described type of message also includes PUSH message, described PUSH message is one
Planting unidirectional message, described second network equipment need not reply response and disappears after receiving described PUSH message
Breath, described first message and described second message belong to described PUSH message.
The 4th kind of implementation or the 5th kind of realization of first aspect in conjunction with embodiment of the present invention first aspect
Mode, in the 6th kind of implementation of embodiment of the present invention first aspect, described specific protocol is extension
Network configuration Netconf agreement, described request message is the remote procedure call request in Netconf agreement
Message rpc, described response message is the remote procedure call response message in described Netconf agreement
Rpc-reply, the Netconf agreement of described extension includes a kind of remote procedure call PUSH message rpc-push,
Described PUSH message is described rpc-push.
In conjunction with the 6th kind of implementation of embodiment of the present invention first aspect, embodiment of the present invention first aspect
The 7th kind of implementation in, described rpc-push includes the NameSpace of described rpc-push and described
Specifying information content to be issued for rpc-push.
In conjunction with first aspect or the first implementation of first aspect of the embodiment of the present invention, the present invention is real
Executing in the 8th kind of implementation of example first aspect, the action type of described request message support includes issuing
Operation, described issue operation can make described second network equipment receive and carry the described request issuing operation
After message, preserve the information carried in the described request message issuing operation;Described first message belongs to be taken
With the described request message issuing operation.
In conjunction with the first implementation of embodiment of the present invention first aspect, embodiment of the present invention first aspect
The 9th kind of implementation in, the action type of described request message support include issue operation, described
After cloth operation can make described second network equipment receive the request message carrying described issue operation, preserve
Carry the information in the described request message issuing operation;Described first message and described second message all belong to
In carrying the described request message issuing operation.
The 8th kind of implementation or the 9th kind of realization of first aspect in conjunction with embodiment of the present invention first aspect
Mode, in the tenth kind of implementation of embodiment of the present invention first aspect, described method also includes:
Described first network equipment receives the 3rd message that described second network equipment sends, and the described 3rd disappears
Breath carries the described request message issuing operation for described second network equipment and carries out response at least two
Response message.
In conjunction with the tenth kind of implementation of embodiment of the present invention first aspect, embodiment of the present invention first aspect
The 11st kind of implementation in, described at least two is carried described issue operation request message enter
The response message of row response includes: at least two carries the message numbering of the request message issuing operation.
In conjunction with the 11st kind of implementation of embodiment of the present invention first aspect, embodiment of the present invention first party
In the 12nd kind of implementation in face, described specific protocol is the network configuration Netconf agreement of extension, institute
State the rpc-reply, the rpc-reply of this extension of extension in the Netconf agreement that response message is described extension
Include that at least two carries the message numbering of the request message issuing operation.
In conjunction with the 8th kind of implementation of embodiment of the present invention first aspect to the 12nd kind of reality of first aspect
Any one implementation in existing mode, in the 13rd kind of implementation of embodiment of the present invention first aspect,
Described specific protocol is the network configuration Netconf agreement of extension, and described request message is described extension
In Netconf agreement, the rpc, the rpc of described extension of extension include that described issue operates.
In conjunction with the embodiment of the present invention first aspect in the 13rd kind of implementation of first aspect any one
Implementation, in the 14th kind of implementation of embodiment of the present invention first aspect, described first network sets
The standby information collected includes: the topology information of network, the routing iinformation of network, the performance information of network,
The status information of the network equipment, in the statistical information of the network equipment at least one;
Or,
Configuration information, policy information, in demand information at least one.
Embodiment of the present invention second aspect provides a kind of method for sending information, wherein, first network equipment
All support that specific protocol, described specific protocol are a kind of control management agreement with second network equipment, have
Hierarchy, including at least message layer and content layer, described message layer realizes protocol interaction for defining
Type of message, described type of message includes asking message and response message, and described content layer is used for defining
Agreement needs transmission and mutual data and information, and described message layer and described content layer are separate, institute
The method of stating includes:
Described second network equipment and described first network equipment by described specific protocol set up session it
After, described second network equipment need not first propose information request to described first network equipment, directly connects
Receive the first message that described first network equipment sends, described first message carries described first network
What equipment was collected meets the information of the message identification of described second network equipment, and described information request indicates
The information of the message identification of described second network equipment is met described in acquisition;
Described second network equipment meets described second network equipment described in extracting from described first message
The information of message identification;
The information of the message identification of described second network equipment is met described in described second network equipment preservation.
In conjunction with the second aspect of the embodiment of the present invention, the first realization side of embodiment of the present invention second aspect
In formula, described in directly receive described first network equipment send the first message step after also include:
Described second network equipment receives the second message that described first network equipment sends, and described second disappears
Breath carries the information of the renewal that described first network equipment is collected;
Described second network equipment extracts the information of described renewal from described second message;
Described second network equipment utilizes the information of described renewal to meet described second network described in preserving
The information of the message identification of equipment is updated.
In conjunction with second aspect or the first implementation of second aspect of the embodiment of the present invention, the present invention is real
Execute in the second implementation of example second aspect, described in meet the message identification of described second network equipment
Information include: meet the information of information type that described second network equipment is supported, or, meet described
The information of the information requirement of second network equipment.
In conjunction with second aspect or the first implementation of second aspect of the embodiment of the present invention, the present invention is real
Execute in the third implementation of example second aspect, described type of message also includes PUSH message, described
PUSH message is a kind of unidirectional message, and described second network equipment is not required to after receiving described PUSH message
Response message to be replied, described first message belongs to described PUSH message.
In conjunction with the first implementation of embodiment of the present invention second aspect, embodiment of the present invention second aspect
The 4th kind of implementation in, described type of message also includes PUSH message, described PUSH message is one
Planting unidirectional message, described second network equipment need not reply response and disappears after receiving described PUSH message
Breath, described first message and described second message belong to described PUSH message.
The third implementation or the 4th kind of realization of second aspect in conjunction with embodiment of the present invention second aspect
Mode, in the 5th kind of implementation of embodiment of the present invention second aspect, described specific protocol is extension
Network configuration Netconf agreement, described request message is the remote procedure call request in Netconf agreement
Message rpc, described response message is the remote procedure call response message in described Netconf agreement
Rpc-reply, the Netconf agreement of described extension includes a kind of remote procedure call PUSH message rpc-push,
Described PUSH message is described rpc-push.
In conjunction with the 5th kind of implementation of embodiment of the present invention second aspect, embodiment of the present invention second aspect
The 6th kind of implementation in, described rpc-push includes the NameSpace of described rpc-push and described
Specifying information content to be issued for rpc-push.
In conjunction with second aspect or the first implementation of second aspect of the embodiment of the present invention, the present invention is real
Executing in the 7th kind of implementation of example second aspect, the action type of described request message support includes issuing
Operation, described issue operation can make described second network equipment receive and carry the described request issuing operation
After message, preserve the information carried in the described request message issuing operation;Described first message belongs to be taken
With the described request message issuing operation.
In conjunction with the first implementation of embodiment of the present invention second aspect, embodiment of the present invention second aspect
The 8th kind of implementation in, the action type of described request message support include issue operation, described
After cloth operation can make described second network equipment receive the request message carrying described issue operation, preserve
Carry the information in the described request message issuing operation;Described first message and described second message all belong to
In carrying the described request message issuing operation.
The 7th kind of implementation or the 8th kind of realization of second aspect in conjunction with embodiment of the present invention second aspect
Mode, in the 9th kind of implementation of embodiment of the present invention second aspect, described method also includes:
Described second network equipment sends the 3rd message
Described second network equipment carries described issue operation at least two asks message to carry out answering of response
Answer message.
In conjunction with the 9th kind of implementation of embodiment of the present invention second aspect, embodiment of the present invention second aspect
The tenth kind of implementation in, described at least two is carried described issue operation request message carry out
The response message of response includes: at least two carries the message numbering of the request message issuing operation.
In conjunction with the tenth kind of implementation of embodiment of the present invention second aspect, embodiment of the present invention second aspect
The 11st kind of implementation in, described specific protocol be extension network configuration Netconf agreement, described
Response message is the rpc-reply, the rpc-reply of described extension extended in the Netconf agreement of described extension
Include that at least two carries the message numbering of the request message issuing operation.
In conjunction with the embodiment of the present invention second aspect in the 11st kind of implementation of second aspect any one
Implementation, in the 12nd kind of implementation of embodiment of the present invention second aspect, described in meet described
The information of the message identification of two network equipments includes: the topology information of network, the routing iinformation of network, net
The performance information of network, the status information of the network equipment, in the statistical information of the network equipment at least one;Or,
Configuration information, policy information, in demand information at least one.
The embodiment of the present invention third aspect provides a kind of network equipment, uses as first network equipment,
Wherein, described first network equipment and second network equipment all support that specific protocol, described specific protocol are
A kind of control management agreement, has hierarchy, including at least message layer and content layer, described message layer
For defining the type of message realizing protocol interaction, described type of message includes asking message and response to disappear
Breath, described content layer for define agreement need transmission and mutual data and information, described message layer and
Described content layer is separate, and described first network equipment includes:
Collection module, the information in collection network;
Set up module, for setting up session by described specific protocol, in meeting with described second network equipment
Words obtain the message identification of second network equipment during setting up;
First sending module, is used for when the information that described collection module is collected meets described message identification,
Need not first receive the information request that described second network equipment proposes, actively to described second network equipment
Sending the first message, carry in described first message that described collection module collects meets described second
The information of the message identification of the network equipment, described information request indicates and meets described message identification described in acquisition
Information.
In conjunction with the third aspect of the embodiment of the present invention, the first realization side of the embodiment of the present invention third aspect
In formula, described collection module is additionally operable to, when determining in the first message being sent to described second network equipment
When the information carried needs to update, collect the information updated;
Described first sending module is additionally operable to, and actively sends the second message, institute to described second network equipment
State the information carrying the renewal that described collection module is collected in the second message.
In conjunction with the third aspect or the first implementation of the third aspect of the embodiment of the present invention, the present invention is real
Executing in the second implementation of the example third aspect, described message identification is used for representing that described second network sets
The standby information type supported;
Described first sending module specifically for, the information collected when described collection module meets described second
During the information type that the network equipment is supported, it is not necessary to the information first receiving described second network equipment proposition please
Ask, actively send the first message to described second network equipment, described first message carries described receipts
Collection module collection to meet the information of information type that described second network equipment is supported.
In conjunction with the third aspect or the first implementation of the third aspect of the embodiment of the present invention, the present invention is real
Executing in the third implementation of the example third aspect, described message identification is used for representing that described second network sets
Standby information requirement;
Described first sending module specifically for, the information collected when described collection module meets described second
During the information requirement of the network equipment, it is not necessary to first receive the information request that described second network equipment proposes,
Actively send the first message to described second network equipment, described first message carries described collection mould
What block was collected meets the information of the information requirement of described second network equipment.
In conjunction with the third aspect or the first implementation of the third aspect of the embodiment of the present invention, the present invention is real
Execute in the 4th kind of implementation of the example third aspect, described type of message also includes PUSH message, described
PUSH message is a kind of unidirectional message, and described second network equipment is not required to after receiving described PUSH message
Response message to be replied, described first message belongs to described PUSH message.
In conjunction with the first implementation of the embodiment of the present invention third aspect, the embodiment of the present invention third aspect
The 5th kind of implementation in, described type of message also includes PUSH message, described PUSH message is one
Planting unidirectional message, described second network equipment need not reply response and disappears after receiving described PUSH message
Breath, described first message and described second message belong to described PUSH message.
The 4th kind of implementation or the 5th kind of realization of the third aspect in conjunction with the embodiment of the present invention third aspect
Mode, in the 6th kind of implementation of the embodiment of the present invention third aspect, described specific protocol is extension
Network configuration Netconf agreement, described request message is the remote procedure call request in Netconf agreement
Message rpc, described response message is the remote procedure call response message in described Netconf agreement
Rpc-reply, the Netconf agreement of described extension includes a kind of remote procedure call PUSH message rpc-push,
Described PUSH message is described rpc-push.
In conjunction with the 6th kind of implementation of the embodiment of the present invention third aspect, the embodiment of the present invention third aspect
The 7th kind of implementation in, described rpc-push includes the NameSpace of described rpc-push and described
Specifying information content to be issued for rpc-push.
In conjunction with the third aspect or the first implementation of the third aspect of the embodiment of the present invention, the present invention is real
Executing in the 8th kind of implementation of the example third aspect, the action type of described request message support includes issuing
Operation, described issue operation can make described second network equipment receive and carry the described request issuing operation
After message, preserve the information carried in the described request message issuing operation;Described first message belongs to be taken
With the described request message issuing operation.
In conjunction with the first implementation of the embodiment of the present invention third aspect, the embodiment of the present invention third aspect
The 9th kind of implementation in, the action type of described request message support include issue operation, described
After cloth operation can make described second network equipment receive the request message carrying described issue operation, preserve
Carry the information in the described request message issuing operation;Described first message and described second message all belong to
In carrying the described request message issuing operation.
The 8th kind of implementation or the 9th kind of realization of the third aspect in conjunction with the embodiment of the present invention third aspect
Mode, in the tenth kind of implementation of the embodiment of the present invention third aspect, described first network equipment also wraps
Include:
First receiver module, for receiving the 3rd message that described second network equipment sends, the described 3rd
Message be described second network equipment at least two is carried described issue operation request message carry out should
The response message answered.
In conjunction with the tenth kind of implementation of the embodiment of the present invention third aspect, the embodiment of the present invention third aspect
The 11st kind of implementation in, described at least two is carried described issue operation request message enter
The response message of row response includes: at least two carries the message numbering of the request message issuing operation.
In conjunction with the 11st kind of implementation of the embodiment of the present invention third aspect, embodiment of the present invention third party
In the 12nd kind of implementation in face, described specific protocol is the network configuration Netconf agreement of extension, institute
State the rpc-reply, the rpc-reply of this extension of extension in the Netconf agreement that response message is described extension
Include that at least two carries the message numbering of the request message issuing operation.
In conjunction with the 8th kind of implementation of the embodiment of the present invention third aspect to the 12nd kind of reality of the third aspect
Any one implementation in existing mode, described specific protocol is the network configuration Netconf agreement of extension, institute
State the rpc, the rpc of described extension of extension in the Netconf agreement that request message is described extension to include
Described issue operates.
In conjunction with the embodiment of the present invention the third aspect in the 13rd kind of implementation of the third aspect any one
Implementation, in the 14th kind of implementation of the embodiment of the present invention third aspect, described collection module is received
The information of collection includes: the topology information of network, the routing iinformation of network, the performance information of network, network
The status information of equipment, in the statistical information of the network equipment at least one;Or, configuration information, strategy letter
Breath, in demand information at least one.
Embodiment of the present invention fourth aspect provides a kind of network equipment, uses as second network equipment,
Wherein, first network equipment and described second network equipment all support that specific protocol, described specific protocol are
A kind of control management agreement, has hierarchy, including at least message layer and content layer, described message layer
For defining the type of message realizing protocol interaction, described type of message includes asking message and response to disappear
Breath, described content layer for define agreement need transmission and mutual data and information, described message layer and
Described content layer is separate, and described second network equipment includes:
Second receiver module, for passing through described at described second network equipment with described first network equipment
After specific protocol sets up session, it is not necessary to first propose information request to described first network equipment, directly
Receive the first message that described first network equipment sends, described first message carries described first net
What network equipment was collected meets the information of the message identification of described second network equipment, and described information request refers to
Show the information of the message identification meeting described second network equipment described in acquisition;
Extraction module, for extracting described symbol from the first message that described second receiver module receives
Close the information of the message identification of described second network equipment;
Preserve module, for preserving the letter meeting described second network equipment that described extraction module extracts
The information of breath mark.
In conjunction with the fourth aspect of the embodiment of the present invention, the first realization side of embodiment of the present invention fourth aspect
In formula, described second receiver module is additionally operable to, and receives the second message that described first network equipment sends,
Described second message carries the information of the renewal that described first network equipment is collected;
Described extraction module is additionally operable to, and extracts the information of described renewal from described second message;
Described second network equipment also includes:
More new module, for utilizing the information of renewal that described extraction module the extracts described symbol to preserving
The information of the message identification closing described second network equipment is updated.
In conjunction with fourth aspect or the first implementation of fourth aspect of the embodiment of the present invention, the present invention is real
Execute in the second implementation of example fourth aspect, described in meet the message identification of described second network equipment
Information include: meet the information of information type that described second network equipment is supported, or, meet described
The information of the information requirement of second network equipment.
In conjunction with fourth aspect or the first implementation of fourth aspect of the embodiment of the present invention, the present invention is real
Execute in the third implementation of example fourth aspect, described type of message also includes PUSH message, described
PUSH message is a kind of unidirectional message, and described second network equipment is not required to after receiving described PUSH message
Response message to be replied, described first message belongs to described PUSH message.
In conjunction with the first implementation of embodiment of the present invention fourth aspect, embodiment of the present invention fourth aspect
The 4th kind of implementation in, described type of message also includes PUSH message, described PUSH message is one
Planting unidirectional message, described second network equipment need not reply response and disappears after receiving described PUSH message
Breath, described first message and described second message belong to described PUSH message.
The third implementation or the 4th kind of realization of fourth aspect in conjunction with embodiment of the present invention fourth aspect
Mode, in the 5th kind of implementation of embodiment of the present invention fourth aspect, described specific protocol is extension
Network configuration Netconf agreement, described request message is the remote procedure call request in Netconf agreement
Message rpc, described response message is the remote procedure call response message in described Netconf agreement
Rpc-reply, the Netconf agreement of described extension includes a kind of remote procedure call PUSH message rpc-push,
Described PUSH message is described rpc-push.
In conjunction with the 5th kind of implementation of embodiment of the present invention fourth aspect, embodiment of the present invention fourth aspect
The 6th kind of implementation in, described rpc-push includes the NameSpace of described rpc-push and described
Specifying information content to be issued for rpc-push.
In conjunction with fourth aspect or the first implementation of fourth aspect of the embodiment of the present invention, the present invention is real
Executing in the 7th kind of implementation of example fourth aspect, the action type of described request message support includes issuing
Operation, described issue operation can make described second network equipment receive and carry the described request issuing operation
After message, preserve the information carried in the described request message issuing operation;Described first message belongs to be taken
With the described request message issuing operation.
In conjunction with the first implementation of embodiment of the present invention fourth aspect, embodiment of the present invention fourth aspect
The 8th kind of implementation in, the action type of described request message support include issue operation, described
After cloth operation can make described second network equipment receive the request message carrying described issue operation, preserve
Carry the information in the described request message issuing operation;Described first message and described second message all belong to
In carrying the described request message issuing operation.
The 7th kind of implementation or the 8th kind of realization of fourth aspect in conjunction with embodiment of the present invention fourth aspect
Mode, in the 9th kind of implementation of embodiment of the present invention fourth aspect, described second network equipment also wraps
Include:
Second sending module, for sending the 3rd message to described first network equipment, described 3rd message
For described second network equipment, at least two being carried described issue operation asks message to carry out response
Response message.
In conjunction with the 9th kind of implementation of embodiment of the present invention fourth aspect, embodiment of the present invention fourth aspect
The tenth kind of implementation in, described at least two is carried described issue operation request message carry out
The response message of response includes: at least two carries the message numbering of the request message issuing operation.
In conjunction with the tenth kind of implementation of embodiment of the present invention fourth aspect, embodiment of the present invention fourth aspect
The 11st kind of implementation in, described specific protocol be extension network configuration Netconf agreement, described
Response message is the rpc-reply, the rpc-reply of described extension extended in the Netconf agreement of described extension
Include that at least two carries the message numbering of the request message issuing operation.
In conjunction with the embodiment of the present invention fourth aspect in the 11st kind of implementation of fourth aspect any one
Implementation, in the 12nd kind of implementation of embodiment of the present invention fourth aspect, described in meet described
The information of the message identification of two network equipments includes: the topology information of network, the routing iinformation of network, net
The performance information of network, the status information of the network equipment, in the statistical information of the network equipment at least one;Or,
Configuration information, policy information, in demand information at least one.
The embodiment of the present invention the 5th aspect provides a kind of information transmitting system, including:
The third aspect of the embodiment of the present invention is to any one realization in implementation in the 14th of the third aspect
Mode is provided as the network equipment that first network equipment uses, and the fourth aspect of the embodiment of the present invention
To the 12nd kind of implementation of fourth aspect, any one implementation is provided as second network equipment
The network equipment used.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that the embodiment of the present invention
The information that the first network equipment of middle support specific protocol is collected meets the message identification of second network equipment
Time, this first network equipment need not first receive the information request that this second network equipment proposes, actively
Send the first message to same second network equipment supporting this specific protocol, carry in this first message
The information of the message identification meeting this second network equipment that this first network equipment is collected.Wherein, should
Specific protocol has hierarchy, and including at least message layer and content layer, message layer is the most only with content layer
Stand and message layer comprises request-reply message mechanism.So while supporting this first agreement, greatly
Measure, change under information updating scene frequently, be no longer necessary to every time after first network equipment gather information
Wait second network equipment to file a request after message just sending the information of collection, save the letter that will collect
Time of sending of breath, and second network equipment receive this first message after need not reply response and disappear
Breath, saves message processing flow, improves first network equipment and the second net supporting this specific protocol
Network equipment is a large amount of at this, change the treatment effeciency to information under information updating scene frequently.
Accompanying drawing explanation
Fig. 1 is one schematic flow sheet of message method in the embodiment of the present invention;
Fig. 2 is another schematic flow sheet of message method in the embodiment of the present invention;
Fig. 3 is another schematic flow sheet of message method in the embodiment of the present invention;
Fig. 4 is another schematic flow sheet of message method in the embodiment of the present invention;
Fig. 5 is one structural representation of the network equipment used as first network equipment in the embodiment of the present invention
Figure;
Fig. 6 is that another structure of the network equipment used as first network equipment in the embodiment of the present invention is shown
It is intended to;
Fig. 7 is one structural representation of the network equipment used as second network equipment in the embodiment of the present invention
Figure;
Fig. 8 is that another structure of the network equipment used as second network equipment in the embodiment of the present invention is shown
It is intended to;
Fig. 9 is that another structure of the network equipment used as second network equipment in the embodiment of the present invention is shown
It is intended to;
Figure 10 is another structural representation of the network equipment in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those skilled in the art are not making wound
The every other embodiment obtained under the property made work premise, broadly falls into the scope of protection of the invention.
The term used the most in describing the invention is not for the purpose of describing particular embodiments and not
It is intended to as limitation of the present invention.
Control management agreement: for letters such as the control of exchange network, data and states between network entity
Breath, to realize network-based control and the communication protocol of management.
Message layer and content layer are separate: represent that any data described by content layer all can be by any class
The message of type is carried, and there is not the restriction that certain data content can only be carried by certain type of message.
It is understood that in the embodiment of the present invention, message method includes two executive agents: make
For the first network equipment of information sender, and second network equipment as receiving party.
It should be noted that in various embodiments of the present invention, first network equipment and second network equipment all prop up
Holding specific protocol, this specific protocol is a kind of control management agreement, has hierarchy, including at least disappearing
Breath layer and content layer, this message layer is for defining the type of message realizing protocol interaction, in this type of message
Including request message and response message, this content layer for define agreement need transmission and mutual data and
Information, this message layer and this content layer are separate.
From the angle of the two executive agent, message method the embodiment of the present invention is carried out separately below
Describe:
One, executive agent is first network equipment:
Referring to Fig. 1, in the embodiment of the present invention, one embodiment of message method includes:
101, the information in first network equipment collection network;
Support the information in the first network equipment collection network of this specific protocol.
It is understood that this first network equipment can collect needs in a network according to ad hoc rule
The information of information, this ad hoc rule and these needs specifically can be according to the network residing for this first network equipment
Environment and the difference of this first network equipment responsibility in a network and different, be not construed as limiting herein.
102, first network equipment and second network equipment set up session by specific protocol, at session establishment
During obtain the message identification of second network equipment;
In this step, the demand according to second network equipment is different, at first network equipment and the second network
During equipment sets up session, obtain the message identification of this second network equipment.
It is understood that first network equipment may all have a communication connection with multiple network equipments, second
The network equipment may be to set up one of them in the equipment having communication connection with first network equipment, because of
This, the information that first network equipment is collected may be more than the information being sent to second network equipment, permissible
The information wherein meeting the message identification of second network equipment is sent to this second network equipment, it is also possible to
The other information collected is sent to other equipment establishing communication connection with this first network equipment,
It is not construed as limiting herein.
Optionally, this message identification can represent the information type that second network equipment is supported, the i.e. first net
Network equipment can obtain the information type that this second network equipment is supported, then it represents that this first network equipment needs
The information of the information type meeting this second network equipment support in the information will collect all is sent to this
Second network equipment;
Optionally, this message identification can represent the information requirement of this second network equipment, i.e. first network
What equipment obtained can also is that the information requirement of this second network equipment, then it represents that first network equipment is not required to
The information of the information type meeting the second network equipment support in the information will collect all is sent to
Two network equipments, it is only necessary to the information sending the information requirement meeting second network equipment sets to the second network
Standby.
103, when the information collected when described first network equipment meets described message identification, described first net
Network equipment need not first receive the information request that described second network equipment proposes, actively to described second net
Network equipment sends the first message, carries the symbol that described first network equipment is collected in described first message
Close the information of described message identification.
First network equipment gather information, and after obtaining the message identification of second network equipment, when this first
When the information that the network equipment is collected meets the message identification of this second network equipment, this first network equipment is not
Need not first receive the information request that described second network equipment proposes, actively send out to this second network equipment
Sending the first message, carry in this first message that this first network equipment collects meets this second network
The information of the message identification of equipment, wherein, the instruction of this information request obtains and meets this second network equipment
The information of message identification.
In this step, first network equipment actively sends the triggering bar of this first message to second network equipment
Part is: the information that first network equipment is collected meets the message identification of second network equipment, concrete, root
According to the difference of message identification, can be divided into: 1, this message identification is used for representing that described second network equipment props up
The information type held, then, the information collected when described first network equipment meets described second network equipment
During the information type supported, actively send the first message, described first message to described second network equipment
In carry that described first network equipment collects meet the information type that described second network equipment is supported
Information;2, this message identification is for representing the information requirement of described second network equipment, then, when described
When the information that first network equipment is collected meets the information requirement of described second network equipment, actively to described
Second network equipment sends the first message, carries described first network equipment and collect in described first message
To the information of the information requirement meeting described second network equipment.
It should be noted that above-mentioned active sends the first message to second network equipment, touch except working as
Clockwork spring part sends when meeting the most immediately, additionally, in order to reduce information transmission times, it is also possible to define one
Preset time period, can meet and time preset time period reaches when trigger condition, just direct to this
Second network equipment sends this first message, is not construed as limiting herein.
The embodiment of the present invention being supported, the information that the first network equipment of specific protocol is collected meets the second network
During the message identification of equipment, this first network equipment need not first receive the letter that this second network equipment proposes
Breath request, second network equipment to same this specific protocol of support actively sends the first message, at this
First message is carried the message identification meeting this second network equipment that this first network equipment collects
Information.Wherein, this specific protocol has hierarchy, including at least message layer and content layer, message layer
And message layer separate with content layer comprises request-reply message mechanism.So supporting this first association
While view, a large amount of, change under information updating scene frequently, after first network equipment gather information
It is no longer necessary to wait second network equipment to file a request after message just to send the information of collection, joint every time
Save the time information of collection sent, and second network equipment has received after this first message not
Need to reply response message, save message processing flow, improve the first net supporting this specific protocol
Network equipment and second network equipment are a large amount of at this, change the process to information under information updating scene frequently
Efficiency.
In actual applications, first network equipment sends to second network equipment and carries first network equipment
After first message of the information of the message identification meeting second network equipment collected, if this first net
Network equipment determines that being sent to the information of second network equipment needs to update, it is also possible to retransmit the second message to
This second network equipment, carries the information of renewal in this second message, refers to Fig. 2, and the present invention implements
In example, another embodiment of message method includes:
201, the information in first network equipment collection network;
202, first network equipment and second network equipment set up session by specific protocol, at session establishment
During obtain the message identification of described second network equipment;
203, when the information collected when described first network equipment meets described message identification, described first net
Network equipment need not first receive the information request that described second network equipment proposes, actively to described second net
Network equipment sends the first message, carries the symbol that described first network equipment is collected in described first message
Close the information of described message identification;
Step 201 is similar to 103 with step 101 to 203, does not repeats.
204, it is sent in the first message of described second network equipment take when described first network equipment determines
When the information of band needs to update, described first network equipment collects the information updated;
First network equipment send the first message to second network equipment after, when this first network equipment determines
When the information being sent in the first message of this second network equipment carry needs to update, this first network sets
The standby information collecting renewal.
It is sent in the first message of second network equipment take it is understood that first network equipment determines
The information of band needs the mode updated can have multiple, can be sent to by first network equipment active detecting
Whether the information of this second network equipment has renewal, it is also possible to come by the information communicated with first network equipment
Source notifies that this first network facility information has renewal, is not construed as limiting herein.
205, described first network equipment actively sends the second message to described second network equipment, and described the
Two message carry the information of the renewal that described first network equipment is collected.
After first network equipment has collected the information of renewal, it is not required that wait that second network equipment proposes letter
Breath request, directly send the second message to this second network equipment, this second message carries this first
The information of the renewal that the network equipment is collected.
In the present embodiment, first network equipment determines and is sent in the first message of second network equipment carry
Information when needing to update, can collect the information of renewal carry be then forwarded in the second message this second
The network equipment, it is ensured that second network equipment obtains up-to-date information in time.
In above example, support that the first network equipment of this specific protocol can directly transmit message to the
Two network equipments, the type of message of this specific protocol includes asking message and response message, should in reality
In with, this specific protocol can be the agreement of a kind of new definition, it is also possible to by the message at existing protocol
In type, a kind of type of message of extension obtains, it is also possible to by asking message to be supported in extension existing protocol
Action type obtains, and is not construed as limiting herein.
1, a kind of type of message of extension in the type of message of existing protocol:
As another embodiment of message method in the embodiment of the present invention, the message class of this specific protocol
Also including PUSH message in type, this PUSH message is a kind of unidirectional message, and this second network equipment receives
Need not reply response message after PUSH message, in above-described embodiment, the first message all belongs to the second message
In this PUSH message.
Optionally, as another embodiment of message method in the embodiment of the present invention, this specific protocol
Can be the extension done on the basis of network configuration Netconf agreement, i.e. this specific protocol can be to expand
The Netconf agreement of exhibition, the request message in this specific protocol is that the remote process in Netconf agreement is adjusted
By request message rpc, the response message in this specific protocol is that the remote process in this Netconf agreement is adjusted
By response message rpc-reply, the Netconf agreement of this extension also includes that a kind of remote procedure call pushes and disappears
Breath rpc-push, the PUSH message described in above example can think this rpc-push.It is understood that
In actual applications, except using PUSH message, or rpc-push, it would however also be possible to employ other name is referred to as
The title of the type of message newly increased, is not construed as limiting herein.
It should be noted that Netconf agreement meets the feature of this specific protocol, concrete, Netconf
Agreement is a kind of network configuration protocol of the RFC6241 formulation of IETF, is mainly used for carrying out network and sets
The write of standby configuration and reading.Netconf agreement is divided into following four layers:
Content layer: include configuration information and announcement information, particular content uses Yang modeling language to define;
Operation layer: define the agreement operation of a series of netconf, is used for editing and obtain configuration and configuration letter
Breath;
Message layer: use XML coding message format, defined type of message include realize request-
The rpc request message of response and rpc-reply message, and the notification message of the event of carrying out notice;
Transport layer: multiple reliable host-host protocol can be used, such as SSH, TLS etc..
Optionally, as another embodiment of message method in the embodiment of the present invention, this rpc-push
Include the NameSpace of this rpc-push and the specifying information content that this rpc-push is to be issued.Should
The NameSpace of rpc-push is for showing the particular location in the protocol of the definition to this rpc-push.At this
In inventive embodiments, specifying information content to be issued for this rpc-push is in the first message the letter carried
The information carried in breath or the second message.
This rpc-push can be defined, below as a example by one to use multiple format form:
Wherein,<rpc-push xmlns=" urn:ietf:params:xml:ns:netconf:base:x.x ">i.e. uses
In the NameSpace of expression rpc-push,<push-info><!Specifying information content to be issued-->
</push-info>i.e. it is used for representing specifying information content to be issued for this rpc-push.
Adopt and extend existing protocol in this way, it is not necessary to the request message in existing protocol and response are disappeared
Breath is modified, it is only necessary to increases a kind of new type of message, thus obtains this specific protocol.
2, the action type that in extension existing protocol, request message is supported:
As another embodiment of message method in the embodiment of the present invention, in this specific protocol, request disappears
The action type that breath is supported includes that issue operation, this issue operation can make second network equipment receive and carry
After the request message of this issue operation, preserve the information in the request message carrying this issue operation;Above-mentioned
In embodiment, the first message and described second message belong to carry the request message of this issue operation.
Existing protocol is extended by the mode of action type using extended request message support, due to the
What one network equipment sent still asks message, therefore, according to the agreement regulation of request-reply mechanism, the
Two network equipments must be replied response message and this request message is carried out response.
During it should be noted that this request message carrying issue operation is carried out response, can use
Existing response message, i.e. replys a response message to each request message;Can also be to this response
Message is extended, optionally, as another embodiment of message method in the embodiment of the present invention,
First network equipment can receive the 3rd message that second network equipment sends, and the 3rd message is the second net
Network equipment carries this issue operation at least two asks message to carry out the response message of response.That is,
Response message after extension once can carry out response to multiple request message carrying this issue operation,
Thus reduce and send the expense that response message is brought.
It is understood that the request message after Kuo Zhan can be with existing request message phase on message format
With, simply when selecting action type, the issue operation of extension can be carried in this request message, from
And make to receive this second network equipment carrying the request message issuing operation, it is saved in this request and disappears
The information carried in breath.
And in extension response message, at least two carried the request message of this issue operation and carry out response, can
To carry the message numbering that this at least two carries the request message of issue operation in this response message, also
OK field can be carried simultaneously.
Optionally, this specific protocol can be the extension done on the basis of network configuration Netconf agreement,
That is, this specific protocol can be the Netconf agreement of extension, and wherein replying message can be extension
The rpc-reply, the rpc-reply of this extension extended in Netconf agreement includes that at least two carries and sends out
The message numbering of the request message of cloth operation.
Optionally, in above-described embodiment, this specific protocol can be the base in network configuration Netconf agreement
The extension done on plinth, this specific protocol can be the Netconf agreement of extension, and this request message is extension
In Netconf agreement, the rpc, the rpc of this extension of extension include issuing operation.In actual applications, should
Issuing operation can use advertise as title, it is possible to use other title, does not limits
Fixed.
A kind of message format to rpc and the rpc-reply of extension extended of illustrating below illustrates:
The form of the rpc of extension can be as follows:
Wherein,<advertise/>carries issue operation in i.e. representing this rpc.
The form of the rpc-reply of extension can be as follows:
Wherein, carry 3 message numberings of request message carrying advertise operation, respectively 98,
99 and 100.
It is understood that in embodiments above, should according to first network equipment and second network equipment
Different by scene, the information that first network equipment is collected can be different, such as in I2RS scene, and first
The network equipment is for acting on behalf of agent, and when second network equipment is controller client, this first network equipment is received
The information of collection may include that the topology information of network, the routing iinformation of network, the performance information of network,
The status information of the network equipment, in the information such as statistical information of the network equipment at least one;First network sets
Standby for client, when second network equipment is agent, the information that this first network equipment is collected may include that
Configuration information, policy information, in the information such as demand information at least one.
Two, executive agent is second network equipment:
Referring to Fig. 3, in the embodiment of the present invention, another embodiment of message method includes:
301, after second network equipment sets up session with first network equipment by specific protocol, described
Second network equipment need not first propose information request to described first network equipment, directly receives described the
The first message that one network equipment sends, carries described first network equipment and collects in described first message
To the information of the message identification meeting described second network equipment;
It should be noted that meet the information of described second network equipment described in the instruction acquisition of this information request
The information of mark.
In this step, according to the difference of the message identification of this second network equipment, this meets the second network and sets
The information of standby message identification can be the information meeting the information type that described second network equipment is supported,
Can also be the information of the information requirement meeting described second network equipment.
During it is understood that second network equipment and first network equipment set up session by specific protocol,
The information type that can be supported by this second network equipment, or the information requirement of this second network equipment, make
Message identification for this second network equipment notifies to this first network equipment.
302, described second network equipment extract from described first message described in meet described second network
The information of the message identification of equipment;
After second network equipment receives the first message that first network equipment sends, from this first message
Extract the information of the message identification meeting this second network equipment.
303, the letter of the message identification of described second network equipment is met described in described second network equipment preservation
Breath.
After second network equipment extracts the information of the message identification meeting this second network equipment, preserving should
Meet the information of the message identification of second network equipment.
In the embodiment of the present invention, second network equipment need not first propose information to described first network equipment
Request, directly receives the message that first network equipment sends, and preserves the information in message, and
And need not reply response message, greatly improve efficiency mutual between equipment.
In actual applications, this second network equipment can also receive carrying of first network equipment transmission
The message of the information updated, refers to Fig. 4, another enforcement of the method that in the embodiment of the present invention, message sends
Example includes:
401, after second network equipment sets up session with first network equipment by specific protocol, described
Second network equipment need not first propose information request to described first network equipment, directly receives described the
The first message that one network equipment sends, carries described first network equipment and collects in described first message
To the information of the message identification meeting described second network equipment;
402, described second network equipment extract from described first message described in meet described second network
The information of the message identification of equipment;
403, the letter of the message identification of described second network equipment is met described in described second network equipment preservation
Breath;
Step 401 is similar to 303 with step 301 to 403, does not repeats.
404, second network equipment receives the second message that described first network equipment sends, and described second disappears
Breath carries the information of the renewal that described first network equipment is collected;
After second network equipment preserves the information carried in the first message, it is also possible to receive this first network and set
The second message that preparation is sent, carries the letter of the renewal that this first network equipment is collected in this second message
Breath.
It is understood that the information of this renewal is to have transmitted to this second net for first network equipment
The information that the information of network equipment is updated.
405, described second network equipment extracts the information of described renewal from described second message;
Second network equipment extracts the information of this renewal from this second message received.
406, described second network equipment utilizes the information of described renewal to meet described second described in preserving
The information of the message identification of the network equipment is updated.
After second network equipment extracts the information of this renewal, utilize the information of this renewal this symbol to preserving
The information of the message identification closing second network equipment is updated.
In the present embodiment, second network equipment can receive the second message of the information carrying renewal, and
The information of the message identification that the message extracting this renewal meets this second network equipment to preservation is carried out more
Newly, it is ensured that the real-time of information.
In above example, support that second network equipment of this specific protocol is not initiating the feelings of solicited message
Under condition, the message that first network equipment sends the information preserving in message can be received, apply in reality
In, this specific protocol can be the agreement of a kind of new definition, it is also possible to by the message class at existing protocol
In type, a kind of type of message of extension obtains, it is also possible to by the behaviour asking message to be supported in extension existing protocol
Obtain as type, be not construed as limiting herein.
1, a kind of type of message of extension in the type of message of existing protocol:
2, the action type that in extension existing protocol, request message is supported:
Concrete extended mode, identical with both extended modes in above-described embodiment, do not repeat.
It is understood that the inventive method can be applied in several scenes, except I2RS scene, also
May be used for being controlled the mutual of information between the multiple controllers in SDN, it is also possible to for net
Control information between network equipment mutual etc., is not construed as limiting herein.
For ease of understanding, separately below with two kinds of extended modes, in conjunction with a concrete application scenarios, from first
The method that message in the embodiment of the present invention is sent by the interaction of the network equipment and second network equipment is carried out
Specifically describe:
1, a kind of type of message of extension in the type of message of existing protocol:
The new message mechanism of " rpc-push " it is called, with existing in one defined in Netconf agreement
Rpc and rpc-reply message, issues to the peer node setting up Netconf session with it for a node
The information that collected by this node or needs are updated, should " rpc-push " message be a kind of unidirectional disappearing
Breath, can be by either party initiation of Netconf session, and recipient need not reply any response message;
In I2rs scene, after Netconf session establishment, the network equipment (first network equipment) needs
Quickly the bulk information that itself collects being distributed to network controller (second network equipment), at this moment network sets
The standby information that rpc-push can be used to be issued by needs is unidirectional is sent to network controller, without wait
Network controller is filed a request;Network controller, after receiving rpc-push, will carry in this rpc-push
Information be saved in correspondence data base in, network controller need not respond rpc-push;
When being distributed to a part of information appearance renewal of network controller before the network equipment finds, network
Equipment uses rpc-push that the information of renewal is sent to network controller, and network controller is receiving
After rpc-push, using the stale information in the more fresh information replacement data storehouse in message, network controller is not
Need rpc-push is responded.
2, the action type that in extension existing protocol, request message is supported:
In Netconf agreement, define a kind of new action type for rpc, " advertise " can be called,
For a node to establish collected by peer node this node of proactive dissemination of Netconf session or
Need the information being updated, define a kind of new rpc-reply mechanism, it is allowed to a rpc-reply simultaneously
The multiple rpc of response, thus reduce the expense that rpc-reply brings;
In I2rs scene, after Netconf session establishment, the network equipment (first network equipment) needs
The bulk information quickly collected by this equipment is distributed to network controller (second network equipment), at this moment network
Equipment can use the rpc carrying advertise operation, it would be desirable to the information of issue is unidirectional is sent to network control
Device processed, without waiting that network controller proposes any request, network controller carries advertise receiving
After the rpc of operation, information is saved in the data base of correspondence;
Network controller need not the rpc of each advertise of carrying operation is responded rcp-reply respectively, can
Carry out packing hollow-square with the rpc that multiple band advertise are operated and answer a rpc-reply, the rpc-reply of response
Need to carry the id of all rpc responded, and carry<ok>field;
When being distributed to a part of information appearance renewal of network controller before the network equipment finds, network
Equipment uses the rpc carrying advertise operation that the information of renewal is sent to network controller;Network controls
Device, after receiving the rpc carrying advertise operation, uses in the more fresh information replacement data storehouse in message
Stale information, network controller need not respond the rpc of each advertise of carrying operation respectively
Rcp-reply, can carry out packing hollow-square to the rpc of multiple band advertise operation and answer a rpc-reply, return
The rpc-reply answered needs to carry the id of all rpc responded, and carries<ok>field.
Being described the network equipment in the embodiment of the present invention below, in the embodiment of the present invention, the network equipment is equal
Support above-mentioned specific protocol.
One, the network equipment used as first network equipment:
Refer to Fig. 5, the network equipment one enforcement used in the embodiment of the present invention as first network equipment
Example includes:
Collection module 501, the information in collection network;
Set up module 502, for setting up session with described second network equipment by described specific protocol,
The message identification of second network equipment is obtained during session establishment;
First sending module 503, meets described information mark for the information collected when described collection module 501
During knowledge, it is not necessary to first receive the information request that described second network equipment proposes, actively to described second net
Network equipment sends the first message, carries the symbol that described collection module 501 is collected in described first message
Close the information of the message identification of described second network equipment, described in the instruction acquisition of described information request, meet institute
State the information of message identification.
The embodiment of the present invention is supported the letter that in the first network equipment of specific protocol, collection module 501 is collected
When breath meets the message identification of second network equipment, it is not necessary to first receive the letter that this second network equipment proposes
Breath request, the first sending module 503 second network equipment to same this specific protocol of support actively is sent out
Sending the first message, that carries in this first message that this first network equipment collects meets this second network
The information of the message identification of equipment.Wherein, this specific protocol has hierarchy, including at least message layer
With content layer, message layer and content layer are separate and comprise request-reply message mechanism in message layer.This
Sample is being supported while this first agreement, a large amount of, change under information updating scene frequently, the first net
It is no longer necessary to wait second network equipment to file a request after message after network equipment gather information could send out every time
Go out the information collected, save the time information of collection sent, and second network equipment receives
Need not reply response message after this first message, save message processing flow, improve support should
The first network equipment of specific protocol and second network equipment is a large amount of at this, change information updating field frequently
Treatment effeciency to information under scape.
In actual applications, the first sending module 503 sends to second network equipment and carries first network
After first message of the information of the message identification of second network equipment that what equipment was collected meet, if this
One network equipment determines that the information being sent to second network equipment needs to update, it is also possible to retransmits second and disappears
Breath gives this second network equipment, carries the information of renewal in this second message.Optionally, as this
Another embodiment of the network equipment used as first network equipment in bright embodiment:
Above-mentioned collection module 501 is additionally operable to, when determining the first message being sent to described second network equipment
In the information carried when needing to update, collect the information updated;
Above-mentioned first sending module 503 is additionally operable to, and actively sends the second message to described second network equipment,
Described second message carries the information of the renewal that described collection module 501 is collected.
In the present embodiment, collection module 501 determines and is sent in the first message of second network equipment carry
Information when needing to update, the information of the renewal collected can be carried the by the first sending module 503
Two message are then forwarded to this second network equipment, it is ensured that second network equipment obtains up-to-date letter in time
Breath.
It should be noted that the message identification of above-mentioned second network equipment can be multiple:
Optionally, as the network equipment used as first network equipment in the embodiment of the present invention another
Embodiment, described message identification is for representing the information type that described second network equipment is supported;
Described first sending module 503 specifically for, when described collection module 501 collect information meet
During the information type that described second network equipment is supported, it is not necessary to first receive described second network equipment and propose
Information request, actively send the first message to described second network equipment, described first message carried
What described collection module was collected meets the information of the information type that described second network equipment is supported.
Optionally, as the network equipment used as first network equipment in the embodiment of the present invention another
Embodiment, described message identification is for representing the information requirement of described second network equipment;
Described first sending module 503 specifically for, when described collection module 501 collect information meet
During the information requirement of described second network equipment, it is not necessary to first receive the letter that described second network equipment proposes
Breath request, actively sends the first message to described second network equipment, carries institute in described first message
State the information of the information requirement meeting described second network equipment that collection module is collected.
In above example, disappearing of the specific protocol of the network equipment support used as first network equipment
Breath type includes asking message and response message, and in actual applications, this specific protocol can be a kind of
The agreement of new definition, it is also possible to obtained by a kind of type of message of extension in the type of message of existing protocol,
Can also be not construed as limiting by extension existing protocol asks the action type of message support to obtain herein.
1, a kind of type of message of extension in the type of message of existing protocol:
With preceding method embodiment extends in the type of message of existing protocol the concrete of a kind of type of message
Extended mode is similar to, and is not construed as limiting herein.
2, the action type that in extension existing protocol, request message is supported:
With the concrete expansion extending the action type asking message to be supported in existing protocol in preceding method embodiment
Exhibition mode is similar to, and is not construed as limiting herein.
Being extended this specific protocol according to this mode, first network equipment can use one to answer
Answer message and multiple request message are carried out response.
Optionally, refer to Fig. 6, as the network used as first network equipment in the embodiment of the present invention
Another embodiment of equipment, this network equipment also includes:
First receiver module 601, for receiving the 3rd message that described second network equipment sends, described the
Three message be described second network equipment at least two is carried described issue operation request message carry out
The response message of response.
In the present embodiment, the first receiver module 601 can receive once issues operation to multiple carrying
Request message carries out the response message of response, thus reduces and send and receive the expense that response message is brought.
Optionally, as the network equipment used as first network equipment in the embodiment of the present invention another
Embodiment, the information that above-mentioned collection module 501 is collected includes: the topology information of network, the route of network
Information, the performance information of network, the status information of the network equipment, in the statistical information of the network equipment at least
A kind of;Or, configuration information, policy information, in demand information at least one.
Two, the network equipment used as second network equipment:
Refer to Fig. 7, the network equipment one enforcement used in the embodiment of the present invention as second network equipment
Example includes:
Second receiver module 701, for passing through institute at described second network equipment and described first network equipment
State after specific protocol sets up session, it is not necessary to first propose information request to described first network equipment, directly
Receive the first message that described first network equipment sends, described first message carries described first
What the network equipment was collected meets the information of the message identification of described second network equipment, described information request
The information of the message identification of described second network equipment is met described in instruction acquisition;
Extraction module 702, for extracting from the first message that described second receiver module 701 receives
The information of the described message identification meeting described second network equipment;
Preserving module 703, described second network that meets extracted for preserving described extraction module 702 sets
The information of standby message identification.
In the embodiment of the present invention, the second receiver module 701 need not first propose to described first network equipment
Information request, directly receives the message that first network equipment sends, and preserves module 703 to the letter in message
Breath preserves, and need not reply response message, greatly improves efficiency mutual between equipment.
In actual applications, this second receiver module 701 can also receive taking of first network equipment transmission
With the message of information updated, refer to Fig. 8, as in the embodiment of the present invention as second network equipment
Another embodiment of the network equipment used:
Above-mentioned second receiver module 701 is additionally operable to, and receives the second message that described first network equipment sends,
Described second message carries the information of the renewal that described first network equipment is collected;
Said extracted module 702 is additionally operable to, and extracts the information of described renewal from described second message;
This network equipment also includes:
More new module 801, for utilizing the information of renewal that described extraction module 702 extracts to preserving
The information of the described message identification meeting described second network equipment is updated.
In the present embodiment, the second receiver module 701 can receive the second message of the information carrying renewal,
Extraction module 702 extracts the message of this renewal, more new module 801 and preservation meets this second network
The information of the message identification of equipment is updated, it is ensured that the real-time of information.
Optionally, the information of the above-mentioned message identification meeting described second network equipment includes: meet described
The information of the information type that second network equipment is supported, or, meet the information need of described second network equipment
The information asked.
In above example, the specific protocol that the network equipment used as second network equipment is supported is permissible
It is the agreement of a kind of new definition, it is also possible to by a kind of message class of extension in the type of message of existing protocol
Type obtains, it is also possible to by asking the action type of message support to obtain, the most not in extension existing protocol
It is construed as limiting.
1, a kind of type of message of extension in the type of message of existing protocol:
With preceding method embodiment extends in the type of message of existing protocol the concrete of a kind of type of message
Extended mode is similar to, and is not construed as limiting herein.
2, the action type that in extension existing protocol, request message is supported:
With the concrete expansion extending the action type asking message to be supported in existing protocol in preceding method embodiment
Exhibition mode is similar to, and is not construed as limiting herein.
Being extended this specific protocol according to this mode, second network equipment can send one should
Answer message and multiple request message are carried out response.
Optionally, refer to Fig. 9, as the network used as second network equipment in the embodiment of the present invention
Another embodiment of equipment, this network equipment also includes:
Second sending module 901, for transmission the 3rd message to described first network equipment, the described 3rd disappears
Breath carries the described request message issuing operation for described second network equipment and carries out response at least two
Response message.
In the present embodiment, the second sending module 901 can send a response message and once carry multiple
There is the request message issuing operation to carry out response, thus reduce and send and receive the expense that response message is brought.
Optionally, the information of the above-mentioned message identification meeting described second network equipment may include that network
Topology information, the routing iinformation of network, the performance information of network, the status information of the network equipment, net
In the statistical information of network equipment at least one;Or, configuration information, policy information, in demand information at least
A kind of.
Refer to Figure 10, be the structural representation of a network equipment 1000, it is to be understood that this knot
The network equipment shown in structure schematic diagram both can be denoted as the network equipment that first network equipment uses, also
The network equipment that second network equipment uses can be denoted as, including:
Input equipment 1001, output device 1002, processor 1003 and memorizer 1004 (wherein network
The quantity of the processor 1003 in equipment 1000 can be one or more, with a processor 1003 in Figure 10
As a example by).In some embodiments of the invention, input equipment 1001, output device 1002, processor
1003 and memorizer 1004 can be connected by bus or alternate manner, wherein, to pass through bus in Figure 10
As a example by connection.
When the network equipment shown in this Figure 10 is denoted as the network equipment that first network equipment uses, institute
State first network equipment and second network equipment all supports that specific protocol, described specific protocol are a kind of control
Management agreement, has hierarchy, and including at least message layer and content layer, described message layer is used for defining
Realizing the type of message of protocol interaction, described type of message includes asking message and response message, described
Content layer needs transmission and mutual data and information, described message layer and described content for defining agreement
Layer is separate, by calling the operational order of described memorizer 1004 storage, described processor 1003
For performing following steps:
Information in collection network;
Session is set up by described specific protocol with described second network equipment, during session establishment
Message identification to second network equipment;
When the information collected meets described message identification, it is not necessary to first receive described second network equipment and carry
The information request gone out, actively sends the first message to described second network equipment, takes in described first message
With the information of the message identification meeting described second network equipment that described collection module is collected, described
The information of described message identification is met described in information request instruction acquisition;
In some embodiments of the present invention, described processor 1003 be additionally operable to perform following steps:
When determining that the information being sent in the first message of described second network equipment carry needs to update,
Collect the information updated;
Actively send the second message to described second network equipment, described second message carries described receipts
The information of the renewal that collection module collection arrives.
In some embodiments of the present invention, described message identification is used for representing described second network equipment support
Information type, described processor 1003 specifically for perform following steps:
When the information collected meets the information type that described second network equipment is supported, it is not necessary to first receive
The information request that described second network equipment proposes, actively sends the first message to described second network equipment,
Carry in described first message that described collection module collects meets what described second network equipment was supported
The information of information type.
In some embodiments of the present invention, described message identification is for representing the letter of described second network equipment
Breath demand, described processor 1003 is specifically for performing following steps:
When the information collected meets the information requirement of described second network equipment, it is not necessary to first receive described
The information request that second network equipment proposes, actively sends the first message, institute to described second network equipment
State and the first message carries the information need meeting described second network equipment that described collection module is collected
The information asked.
In some embodiments of the present invention, also including PUSH message in described type of message, described propelling movement disappears
Breath is a kind of unidirectional message, and described second network equipment need not after receiving described PUSH message reply
Response message, described first message belongs to described PUSH message.
In some embodiments of the present invention, also including PUSH message in described type of message, described propelling movement disappears
Breath is a kind of unidirectional message, and described second network equipment need not after receiving described PUSH message reply
Response message, described first message and described second message belong to described PUSH message.
In some embodiments of the present invention, described specific protocol is the network configuration Netconf agreement of extension,
Described request message is remote procedure call request message rpc in Netconf agreement, described response message
For remote procedure call response message rpc-reply in described Netconf agreement, the Netconf of described extension
Agreement includes a kind of remote procedure call PUSH message rpc-push, and described PUSH message is described rpc-push.
In some embodiments of the present invention, described rpc-push includes the NameSpace of described rpc-push
The specifying information content to be issued with described rpc-push.
In some embodiments of the present invention, the action type of described request message support includes issuing operation,
Described issue operation can make described second network equipment receive and carry the described request message issuing operation
After, preserve the information carried in the described request message issuing operation;Described first message belongs to and carries
The described request message issuing operation.
In some embodiments of the present invention, the action type of described request message support includes issuing operation,
Described issue operation can make described second network equipment receive and carry the described request message issuing operation
After, preserve the information carried in the described request message issuing operation;Described first message and described second
Message belongs to carry the described request message issuing operation.
In some embodiments of the present invention, described processor 1003 be additionally operable to perform following steps:
Receiving the 3rd message that described second network equipment sends, described 3rd message is described second network
Equipment carries the response message that described issue operation asks message to carry out response at least two.
In some embodiments of the present invention, the described request that at least two carries described issue operation disappears
Breath carries out the response message of response and includes: at least two carries the message of the request message issuing operation
Numbering.
In some embodiments of the present invention, described specific protocol is the network configuration Netconf agreement of extension,
Described response message is the rpc-reply extended in the Netconf agreement of described extension, this extension
Rpc-reply includes that at least two carries the message numbering of the request message issuing operation.
In some embodiments of the present invention, described specific protocol is the network configuration Netconf agreement of extension,
Described request message is the rpc extended in the Netconf agreement of described extension, wraps in the rpc of described extension
Include described issue to operate.
In some embodiments of the present invention, the information of described collection includes: the topology information of network, network
Routing iinformation, the performance information of network, the status information of the network equipment, the statistical information of the network equipment
In at least one;Or, configuration information, policy information, in demand information at least one.
When the network equipment shown in this Figure 10 is denoted as the network equipment that second network equipment uses, the
One network equipment and described second network equipment all support that specific protocol, described specific protocol are a kind of control
Management agreement, has hierarchy, and including at least message layer and content layer, described message layer is used for defining
Realizing the type of message of protocol interaction, described type of message includes asking message and response message, described
Content layer needs transmission and mutual data and information, described message layer and described content for defining agreement
Layer is separate, by calling the operational order of described memorizer 1004 storage, described processor 1003
For performing following steps:
Described second network equipment and described first network equipment by described specific protocol set up session it
After, it is not necessary to first propose information request to described first network equipment, directly receive described first network and set
The first message that preparation is sent, carry in described first message that described first network equipment collects meets
The information of the message identification of described second network equipment, the instruction of described information request obtain described in meet described
The information of the message identification of second network equipment;
The message identification of described second network equipment is met described in extracting from the first message received
Information;
Preserve the information of the message identification meeting described second network equipment extracted.
In some embodiments of the present invention, described processor 1003 be additionally operable to perform following steps:
Receive the second message that described first network equipment sends, described second message carries described the
The information of the renewal that one network equipment is collected;
The information of described renewal is extracted from described second message;
The information of the renewal that utilization the extracts information mark to meeting described second network equipment described in preservation
The information known is updated.
In some embodiments of the present invention, described in meet the information of message identification of described second network equipment
Including: meet the information of the information type that described second network equipment is supported, or, meet described second net
The information of the information requirement of network equipment.
In some embodiments of the present invention, also including PUSH message in described type of message, described propelling movement disappears
Breath is a kind of unidirectional message, and described second network equipment need not after receiving described PUSH message reply
Response message, described first message belongs to described PUSH message.
In some embodiments of the present invention, also including PUSH message in described type of message, described propelling movement disappears
Breath is a kind of unidirectional message, and described second network equipment need not after receiving described PUSH message reply
Response message, described first message and described second message belong to described PUSH message.
In some embodiments of the present invention, described specific protocol is the network configuration Netconf agreement of extension,
Described request message is remote procedure call request message rpc in Netconf agreement, described response message
For remote procedure call response message rpc-reply in described Netconf agreement, the Netconf of described extension
Agreement includes a kind of remote procedure call PUSH message rpc-push, and described PUSH message is described rpc-push.
In some embodiments of the present invention, described rpc-push includes the NameSpace of described rpc-push
The specifying information content to be issued with described rpc-push.
In some embodiments of the present invention, the action type of described request message support includes issuing operation,
Described issue operation can make described second network equipment receive and carry the described request message issuing operation
After, preserve the information carried in the described request message issuing operation;Described first message belongs to and carries
The described request message issuing operation.
In some embodiments of the present invention, the action type of described request message support includes issuing operation,
Described issue operation can make described second network equipment receive and carry the described request message issuing operation
After, preserve the information carried in the described request message issuing operation;Described first message and described second
Message belongs to carry the described request message issuing operation.
In some embodiments of the present invention, described processor 1003 be additionally operable to perform following steps:
Sending the 3rd message to described first network equipment, described 3rd message is described second network equipment
At least two is carried the response message that described issue operation asks message to carry out response.
In some embodiments of the present invention, the described request that at least two carries described issue operation disappears
Breath carries out the response message of response and includes: at least two carries the message of the request message issuing operation
Numbering.
In some embodiments of the present invention, described specific protocol is the network configuration Netconf agreement of extension,
Described response message is the rpc-reply extended in the Netconf agreement of described extension, described extension
Rpc-reply includes that at least two carries the message numbering of the request message issuing operation.
In some embodiments of the present invention, described in meet the information of message identification of described second network equipment
Including: the topology information of network, the routing iinformation of network, the performance information of network, the shape of the network equipment
State information, in the statistical information of the network equipment at least one;Or, configuration information, policy information, demand
In information at least one.
In the embodiment of the present invention, information transmitting system includes:
The network equipment used as first network equipment that in Fig. 5, Fig. 6 or Figure 10, any one is shown,
With any one shown network used as second network equipment sets in Fig. 7, Fig. 8, Fig. 9 or Figure 10
Standby.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches
The specific works process of the system stated, device and unit, is referred to the correspondence in preceding method embodiment
Process, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, device and
Method, can realize by another way.Such as, device embodiment described above is only shown
Meaning property, such as, the division of described unit, be only a kind of logic function and divide, actual can when realizing
There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another
System, or some features can ignore, or do not perform.Another point, shown or discussed each other
Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit
Or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees
The parts shown for unit can be or may not be physical location, i.e. may be located at a place,
Or can also be distributed on multiple NE.Can select according to the actual needs part therein or
The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit
In, it is also possible to it is that unit is individually physically present, it is also possible to two or more unit are integrated in one
In individual unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ software merit
The form of energy unit realizes.
If described integrated unit realizes and as independent production marketing using the form of SFU software functional unit
Or when using, can be stored in a computer read/write memory medium.Based on such understanding, this
The part that the most in other words prior art contributed of technical scheme of invention or this technical scheme
Completely or partially can embody with the form of software product, this computer software product is stored in one
In storage medium, including some instructions with so that computer equipment (can be personal computer,
Server, or the network equipment etc.) perform completely or partially walking of method described in each embodiment of the present invention
Suddenly.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory),
The various medium that can store program code such as magnetic disc or CD.
The above, above example only in order to technical scheme to be described, is not intended to limit;
Although being described in detail the present invention with reference to previous embodiment, those of ordinary skill in the art should
Work as understanding: the technical scheme described in foregoing embodiments still can be modified by it, or to it
Middle part technical characteristic carries out equivalent;And these amendments or replacement, do not make appropriate technical solution
Essence depart from various embodiments of the present invention technical scheme spirit and scope.
Claims (32)
1. a method for sending information, it is characterised in that first network equipment and second network equipment all prop up
Holding specific protocol, described specific protocol is a kind of control management agreement, has hierarchy, includes at least
Message layer and content layer, described message layer is for defining the type of message realizing protocol interaction, described message
Type includes asking message and response message, and described content layer is used for defining agreement needs transmission with mutual
Data and information, described message layer and described content layer separate, the method includes:
Information in described first network equipment collection network;
Described first network equipment and described second network equipment set up session by described specific protocol,
The message identification of second network equipment is obtained during session establishment;
When the information that described first network equipment is collected meets described message identification, described first network sets
Standby need not first receives the information request that described second network equipment proposes, and actively sets to described second network
Preparation send the first message, and carry in described first message that described first network equipment collects meets institute
State the information of message identification, described in the instruction acquisition of described information request, meet the information of described message identification.
Method the most according to claim 1, it is characterised in that described active is to described second network
Also include after the step that equipment sends the first message:
It is sent to the first message of described second network equipment is carried when described first network equipment determines
When information needs to update, described first network equipment collects the information updated;
Described first network equipment actively sends the second message to described second network equipment, and described second disappears
Breath carries the information of the renewal that described first network equipment is collected.
Method the most according to claim 1 and 2, it is characterised in that also wrap in described type of message
Including PUSH message, described PUSH message is a kind of unidirectional message, and described second network equipment receives institute
Need not after stating PUSH message reply response message, described first message belongs to described PUSH message.
Method the most according to claim 3, it is characterised in that described specific protocol is the net of extension
Network configuration Netconf agreement, described request message is that the remote procedure call request in Netconf agreement disappears
Breath rpc, described response message is the remote procedure call response message in described Netconf agreement
Rpc-reply, the Netconf agreement of described extension includes a kind of remote procedure call PUSH message rpc-push,
Described PUSH message is described rpc-push.
Method the most according to claim 1 and 2, it is characterised in that described request message is supported
Action type includes issuing operation, and described issue operation can make described second network equipment receive and carry institute
State after issuing the request message operated, preserve the information carried in the described request message issuing operation;Institute
State the first message and belong to the request message carrying described issue operation.
Method the most according to claim 5, it is characterised in that described method also includes:
Described first network equipment receives the 3rd message that described second network equipment sends, and the described 3rd disappears
Breath carries the described request message issuing operation for described second network equipment and carries out response at least two
Response message.
Method the most according to claim 6, it is characterised in that described specific protocol is the net of extension
Network configuration Netconf agreement, described response message be described extension Netconf agreement in extension
Rpc-reply, the rpc-reply of this extension include that at least two carries disappearing of the request message of issue operation
Breath numbering.
8. according to the method according to any one of claim 5 to 7, it is characterised in that described specific association
View is the network configuration Netconf agreement of extension, and described request message is the Netconf agreement of described extension
The rpc of middle extension, the rpc of described extension include that described issue operates.
9. a method for sending information, it is characterised in that first network equipment and second network equipment all prop up
Holding specific protocol, described specific protocol is a kind of control management agreement, has hierarchy, includes at least
Message layer and content layer, described message layer is for defining the type of message realizing protocol interaction, described message
Type includes asking message and response message, and described content layer is used for defining agreement needs transmission with mutual
Data and information, described message layer and described content layer separate, described method includes:
Described second network equipment and described first network equipment by described specific protocol set up session it
After, described second network equipment need not first propose information request to described first network equipment, directly connects
Receive the first message that described first network equipment sends, described first message carries described first network
What equipment was collected meets the information of the message identification of described second network equipment, and described information request indicates
The information of the message identification of described second network equipment is met described in acquisition;
Described second network equipment meets described second network equipment described in extracting from described first message
The information of message identification;
The information of the message identification of described second network equipment is met described in described second network equipment preservation.
Method the most according to claim 9, it is characterised in that described in directly receive described first
Also include after the step of the first message that the network equipment sends:
Described second network equipment receives the second message that described first network equipment sends, and described second disappears
Breath carries the information of the renewal that described first network equipment is collected;
Described second network equipment extracts the information of described renewal from described second message;
Described second network equipment utilizes the information of described renewal to meet described second network described in preserving
The information of the message identification of equipment is updated.
11. according to the method described in claim 9 or 10, it is characterised in that described in meet described second
The information of the message identification of the network equipment includes: meet the information type of described second network equipment support
Information, or, meet the information of the information requirement of described second network equipment.
12. according to the method described in claim 9 or 10, it is characterised in that in described type of message also
Including PUSH message, described PUSH message is a kind of unidirectional message, and described second network equipment receives
Need not after described PUSH message reply response message, described first message belongs to described PUSH message.
13. methods according to claim 12, it is characterised in that described specific protocol is extension
Network configuration Netconf agreement, described request message is the remote procedure call request in Netconf agreement
Message rpc, described response message is the remote procedure call response message in described Netconf agreement
Rpc-reply, the Netconf agreement of described extension includes a kind of remote procedure call PUSH message rpc-push,
Described PUSH message is described rpc-push.
14. according to the method described in claim 9 or 10, it is characterised in that described request message is supported
Action type include issuing operation, described issue operation can make described second network equipment receive to carry
After the described request message issuing operation, preserve the information carried in the described request message issuing operation;
Described first message belongs to the request message carrying described issue operation.
15. methods according to claim 14, it is characterised in that described method also includes:
Described second network equipment sends the 3rd message
Described second network equipment carries described issue operation at least two asks message to carry out answering of response
Answer message.
16. methods according to claim 15, it is characterised in that described specific protocol is extension
Network configuration Netconf agreement, described response message be described extension Netconf agreement in extension
Rpc-reply, the rpc-reply of described extension include that at least two carries the request message of issue operation
Message numbering.
17. 1 kinds of network equipments, use as first network equipment, it is characterised in that described first net
Network equipment and second network equipment all support that specific protocol, described specific protocol are a kind of control management agreement,
There is hierarchy, including at least message layer and content layer, described message layer be used for defining realize agreement hand over
Mutual type of message, described type of message includes asking message and response message, and described content layer is used for
Definition agreement needs transmission and mutual data and information, and described message layer and described content layer are separate,
Described first network equipment includes:
Collection module, the information in collection network;
Set up module, for setting up session by described specific protocol, in meeting with described second network equipment
Words obtain the message identification of second network equipment during setting up;
First sending module, is used for when the information that described collection module is collected meets described message identification,
Need not first receive the information request that described second network equipment proposes, actively to described second network equipment
Sending the first message, carry in described first message that described collection module collects meets described second
The information of the message identification of the network equipment, described information request indicates and meets described message identification described in acquisition
Information.
18. network equipments according to claim 17, it is characterised in that described collection module is also used
In, when determining that the information being sent in the first message of described second network equipment carry needs to update,
Collect the information updated;
Described first sending module is additionally operable to, and actively sends the second message, institute to described second network equipment
State the information carrying the renewal that described collection module is collected in the second message.
19. according to the network equipment described in claim 17 or 18, it is characterised in that described message class
Also including PUSH message in type, described PUSH message is a kind of unidirectional message, described second network equipment
Need not after receiving described PUSH message reply response message, described first message belongs to described propelling movement and disappears
Breath.
20. network equipments according to claim 19, it is characterised in that described specific protocol is for expanding
The network configuration Netconf agreement of exhibition, described request message is the remote procedure call in Netconf agreement
Request message rpc, described response message is the remote procedure call response message in described Netconf agreement
Rpc-reply, the Netconf agreement of described extension includes a kind of remote procedure call PUSH message rpc-push,
Described PUSH message is described rpc-push.
21. according to the network equipment described in claim 17 or 18, it is characterised in that described request disappears
The action type that breath is supported includes issuing operation, and described issue operation can make described second network equipment receive
After carrying the described request message issuing operation, preserve and carry in the described request message issuing operation
Information;Described first message belongs to the request message carrying described issue operation.
22. network equipments according to claim 21, it is characterised in that described first network equipment
Also include:
First receiver module, for receiving the 3rd message that described second network equipment sends, the described 3rd
Message be described second network equipment at least two is carried described issue operation request message carry out should
The response message answered.
23. network equipments according to claim 22, it is characterised in that described specific protocol is for expanding
Exhibition network configuration Netconf agreement, described response message be described extension Netconf agreement in extend
Rpc-reply, the rpc-reply of this extension include at least two carry issue operation request message
Message numbering.
24. according to the network equipment according to any one of claim 21 to 23, it is characterised in that institute
Stating the network configuration Netconf agreement that specific protocol is extension, described request message is described extension
In Netconf agreement, the rpc, the rpc of described extension of extension include that described issue operates.
25. 1 kinds of network equipments, use as second network equipment, it is characterised in that first network sets
All support that specific protocol, described specific protocol are a kind of control management agreement for described second network equipment,
There is hierarchy, including at least message layer and content layer, described message layer be used for defining realize agreement hand over
Mutual type of message, described type of message includes asking message and response message, and described content layer is used for
Definition agreement needs transmission and mutual data and information, and described message layer and described content layer are separate,
Described second network equipment includes:
Second receiver module, for passing through described at described second network equipment with described first network equipment
After specific protocol sets up session, it is not necessary to first propose information request to described first network equipment, directly
Receive the first message that described first network equipment sends, described first message carries described first net
What network equipment was collected meets the information of the message identification of described second network equipment, and described information request refers to
Show the information of the message identification meeting described second network equipment described in acquisition;
Extraction module, for extracting described symbol from the first message that described second receiver module receives
Close the information of the message identification of described second network equipment;
Preserve module, for preserving the letter meeting described second network equipment that described extraction module extracts
The information of breath mark.
26. network equipments according to claim 25, it is characterised in that described second receiver module
It is additionally operable to, receives the second message that described first network equipment sends, described second message carries institute
State the information of the renewal that first network equipment is collected;
Described extraction module is additionally operable to, and extracts the information of described renewal from described second message;
Described second network equipment also includes:
More new module, for utilizing the information of renewal that described extraction module the extracts described symbol to preserving
The information of the message identification closing described second network equipment is updated.
27. according to the network equipment described in claim 25 or 26, it is characterised in that described message class
Also including PUSH message in type, described PUSH message is a kind of unidirectional message, described second network equipment
Need not after receiving described PUSH message reply response message, described first message belongs to described propelling movement and disappears
Breath.
28. network equipments according to claim 27, it is characterised in that described specific protocol is for expanding
The network configuration Netconf agreement of exhibition, described request message is the remote procedure call in Netconf agreement
Request message rpc, described response message is the remote procedure call response message in described Netconf agreement
Rpc-reply, the Netconf agreement of described extension includes a kind of remote procedure call PUSH message rpc-push,
Described PUSH message is described rpc-push.
29. according to the network equipment described in claim 25 or 26, it is characterised in that described request disappears
The action type that breath is supported includes issuing operation, and described issue operation can make described second network equipment receive
After carrying the described request message issuing operation, preserve and carry in the described request message issuing operation
Information;Described first message belongs to the request message carrying described issue operation.
30. network equipments according to claim 29, it is characterised in that described second network equipment
Also include:
Second sending module, for sending the 3rd message to described first network equipment, described 3rd message
For described second network equipment, at least two being carried described issue operation asks message to carry out response
Response message.
31. network equipments according to claim 30, it is characterised in that described specific protocol is for expanding
Exhibition network configuration Netconf agreement, described response message be described extension Netconf agreement in extend
Rpc-reply, the rpc-reply of described extension include at least two carry issue operation request disappear
The message numbering of breath.
32. 1 kinds of information transmitting systems, it is characterised in that including:
The network equipment used as first network equipment according to any one of claim 17 to 24,
With the network equipment used as second network equipment according to any one of claim 25 to 31.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510075461.XA CN105991579B (en) | 2015-02-12 | 2015-02-12 | Method for sending information, related network device and system |
PCT/CN2015/099939 WO2016127719A1 (en) | 2015-02-12 | 2015-12-30 | Information transmitting method, related network device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510075461.XA CN105991579B (en) | 2015-02-12 | 2015-02-12 | Method for sending information, related network device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105991579A true CN105991579A (en) | 2016-10-05 |
CN105991579B CN105991579B (en) | 2019-05-28 |
Family
ID=56614157
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510075461.XA Active CN105991579B (en) | 2015-02-12 | 2015-02-12 | Method for sending information, related network device and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105991579B (en) |
WO (1) | WO2016127719A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110971576A (en) * | 2018-09-30 | 2020-04-07 | 北京国双科技有限公司 | Security authentication method and related device |
CN112804144A (en) * | 2019-11-14 | 2021-05-14 | 中国移动通信有限公司研究院 | Information configuration method and network equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110822A (en) * | 2007-07-06 | 2008-01-23 | 华为技术有限公司 | Event notice sending method, system and equipment based on network configuration protocol |
CN101124567A (en) * | 2005-01-06 | 2008-02-13 | 特维拉有限公司 | Caching engine in a messaging system |
CN101141698A (en) * | 2007-10-15 | 2008-03-12 | 中兴通讯股份有限公司 | Customized information pushing system and method based on mobile terminal management service |
CN101453355A (en) * | 2007-11-30 | 2009-06-10 | 华为技术有限公司 | Polling method, system, network manager station and managed equipments |
CN102368716A (en) * | 2011-11-29 | 2012-03-07 | 迈普通信技术股份有限公司 | Data acquisition method of network configuration protocol and network configuration server |
CN103516737A (en) * | 2012-06-21 | 2014-01-15 | 中兴通讯股份有限公司 | Augmented reality content acquisition method, mobile augmented reality server and mobile augmented reality client |
US20140280338A1 (en) * | 2013-03-14 | 2014-09-18 | Cisco Technology, Inc. | Distributed network analytics |
CN104065514A (en) * | 2014-07-02 | 2014-09-24 | 清华大学 | Home network management method based on network configuration protocol (NETCONF) relay |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020198943A1 (en) * | 2001-06-20 | 2002-12-26 | David Zhuang | Web-enabled two-way remote messaging facility |
CN1949770A (en) * | 2005-10-14 | 2007-04-18 | 华为技术有限公司 | Method for providing push message and push agent device |
CN103516788A (en) * | 2013-09-13 | 2014-01-15 | 杭州东方通信软件技术有限公司 | Data pushing method and Flash client terminal and server thereof |
-
2015
- 2015-02-12 CN CN201510075461.XA patent/CN105991579B/en active Active
- 2015-12-30 WO PCT/CN2015/099939 patent/WO2016127719A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101124567A (en) * | 2005-01-06 | 2008-02-13 | 特维拉有限公司 | Caching engine in a messaging system |
CN101110822A (en) * | 2007-07-06 | 2008-01-23 | 华为技术有限公司 | Event notice sending method, system and equipment based on network configuration protocol |
CN101141698A (en) * | 2007-10-15 | 2008-03-12 | 中兴通讯股份有限公司 | Customized information pushing system and method based on mobile terminal management service |
CN101453355A (en) * | 2007-11-30 | 2009-06-10 | 华为技术有限公司 | Polling method, system, network manager station and managed equipments |
CN102368716A (en) * | 2011-11-29 | 2012-03-07 | 迈普通信技术股份有限公司 | Data acquisition method of network configuration protocol and network configuration server |
CN103516737A (en) * | 2012-06-21 | 2014-01-15 | 中兴通讯股份有限公司 | Augmented reality content acquisition method, mobile augmented reality server and mobile augmented reality client |
US20140280338A1 (en) * | 2013-03-14 | 2014-09-18 | Cisco Technology, Inc. | Distributed network analytics |
CN104065514A (en) * | 2014-07-02 | 2014-09-24 | 清华大学 | Home network management method based on network configuration protocol (NETCONF) relay |
Non-Patent Citations (1)
Title |
---|
S.CHISHOLM等: "《Netconf event notification》", 《NETWORK WORKING GROUP RFC 5277》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110971576A (en) * | 2018-09-30 | 2020-04-07 | 北京国双科技有限公司 | Security authentication method and related device |
CN112804144A (en) * | 2019-11-14 | 2021-05-14 | 中国移动通信有限公司研究院 | Information configuration method and network equipment |
CN112804144B (en) * | 2019-11-14 | 2022-10-21 | 中国移动通信有限公司研究院 | Information configuration method and network equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2016127719A1 (en) | 2016-08-18 |
CN105991579B (en) | 2019-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Glaroudis et al. | Survey, comparison and research challenges of IoT application protocols for smart farming | |
Levis et al. | The emergence of a networking primitive in wireless sensor networks | |
US10148565B2 (en) | OPENFLOW communication method and system, controller, and service gateway | |
Huang et al. | Software-defined QoS provisioning for fog computing advanced wireless sensor networks | |
CN107317707B (en) | SDN network topology management method based on point coverage set | |
CN103281197A (en) | ForCES configuration method based on NETCONF | |
CN111541579B (en) | Industrial gateway control method and device, computer equipment and storage medium | |
Azzara et al. | Middleware solutions in WSN: The IoT oriented approach in the ICSI project | |
CN104243198B (en) | A kind of network management and system based on network configuration protocol | |
Kim et al. | Efficient data-forwarding method in delay-tolerant P2P networking for IoT services | |
Ak et al. | T6conf: Digital twin networking framework for ipv6-enabled net-zero smart cities | |
CN105429876A (en) | SDN-based data forwarding method | |
Hou et al. | SeaHTTP: A resource-oriented protocol to extend rest style for Web of Things | |
CN114189444A (en) | Method for managing industrial end equipment, time-sensitive network controller and system | |
CN105991579A (en) | Information transmitting method, related network equipment and system | |
CN104521211A (en) | Session connection establishment method, apparatus and system | |
CN104158877A (en) | Remote control method, and device and system | |
WO2019041944A1 (en) | Method and apparatus for processing packets | |
CN105191231B (en) | Gateway apparatus | |
CN106488269A (en) | System and method to television equipment control is realized based on third-party application platform | |
CN110166448A (en) | Heterogeneous protocol for isomery controller cluster converts middleware and method | |
CN115695512A (en) | Data subscription method, system, equipment and storage medium based on micro-service architecture | |
CN112559472B (en) | File transmission method, device, computer equipment and storage medium | |
KR100929235B1 (en) | Dynamic Reconfiguration Method of Wireless Sensor Network and Its System | |
CN107888683A (en) | A kind of client exchange method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |