CN109218121A - Machinery of consultation, device and the equipment of Air conduct measurement parameter - Google Patents
Machinery of consultation, device and the equipment of Air conduct measurement parameter Download PDFInfo
- Publication number
- CN109218121A CN109218121A CN201710532510.7A CN201710532510A CN109218121A CN 109218121 A CN109218121 A CN 109218121A CN 201710532510 A CN201710532510 A CN 201710532510A CN 109218121 A CN109218121 A CN 109218121A
- Authority
- CN
- China
- Prior art keywords
- openflow
- openflow equipment
- message
- configuration parameter
- equipment
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses machinery of consultation, device and the equipment of a kind of Air conduct measurement parameter; this method comprises: the first OpenFlow equipment receives the detection time message of negotiation request from the 2nd OpenFlow equipment; wherein; the configuration parameter of the configured ECHO keep alive Packet of the 2nd OpenFlow equipment is carried in detection time message of negotiation request, configuration parameter includes: transmission time interval and transmission times;For first OpenFlow equipment according to the shared configuration parameter after the determining negotiation with the 2nd OpenFlow equipment of configuration parameter of local allocative abilities information and the 2nd OpenFlow equipment, allocative abilities information includes: the value range of transmission time interval and the value range of transmission times;Shared configuration parameter is added to detection time and negotiated in response message by the first OpenFlow equipment, be will test time negotiation response message and is sent to the 2nd OpenFlow equipment.
Description
Technical field
The present invention relates to communication fields, more particularly to machinery of consultation, device and the equipment of a kind of Air conduct measurement parameter.
Background technique
As an example of software defined network, OpenFlow (open flows) network is using control plane and Forwarding plane
The mutually framework of separation, Fig. 1 is OpenFlow networking component configuration diagram.As shown in Figure 1, OpenFlow network-based control plane
It is realized by OpenFlow controller (SDN controller), the Forwarding plane of OpenFlow network is by OpenFlow interchanger (SDN
Network element) it realizes, OpenFlow agreement is run between OpenFlow controller and OpenFlow interchanger;OpenFlow controller
Flow table (Flow Table) and group table (Group Table) are issued to OpenFlow interchanger using OpenFlow agreement, thus
Achieve the purpose that control data forwarding, realizes the separation of data forwarding and route test.
The OpenFlow exchange that open network foundation (Open Networking Foundation, abbreviation ONF) is formulated
The function in the channel OpenFlow, effect and keepalive mechanism are described in machine specification.The channel OpenFlow is used in OpenFlow
Interaction OpenFlow message between controller and OpenFlow interchanger.One OpenFlow controller can manage multiple
The channel OpenFlow, each channel connect an OpenFlow interchanger.One OpenFlow interchanger can also manage multiple
The channel OpenFlow, each channel connect an OpenFlow controller.One channel OpenFlow can by controller or
Interchanger actively initiates to establish connection.
Agreement also defines Path Setup process, after obtaining controller IP address and transmission port number, OpenFlow
Interchanger actively can initiate a TCP (Transmission Control Protocol transmission control to OpenFlow controller
Agreement processed) or TLS (Transport Layer Security, secure transport layer protocol) connection.After connection is established, both ends are needed
A HELLO message is sent immediately, carry out OpenFlow version negotiation.If negotiated successfully, even if channel connection has been established
At.Later, OpenFlow interchanger and OpenFlow controller can be based on channel interaction OpenFlow message.
The timeout duration of session that agreement also describes the time-out time or TLS that can use TCP carrys out sense channel connection
Property and terminate channel connection.In addition to this it is possible to utilize OpenFlow protocol massages ECHO REQUEST and ECHO
REPLY carrys out the connectivity of sense channel.In practical application deployment, since TCP keepalive mechanism is inflexible, first is that default guarantor
Live time is too long, second is that keepalive parameter can not real time modifying.So it is main or using the ECHO keepalive mechanism of agreement itself come
The connectivity of sense channel.
But to ECHO keepalive mechanism without explicitly describing and defining in protocol specification, if it is super only to mention ECHO request
When, need to disconnect channel connection.Since the examination criteria that ECHO keepalive mechanism is not unified holds very much in practical application deployment
Easily there is OpenFlow interchanger and the ECHO detection time at OpenFlow controller both ends is inconsistent, so as to cause both ends detection
Time point to channel interrupt is inconsistent, has in turn resulted on OpenFlow interchanger and OpenFlow controller at related application
Reason is abnormal.Currently, for OpenFlow interchanger in software defined network and OpenFlow controller to the time of channel interrupt
Point detects inconsistent problem and not yet puts forward effective solutions.
Summary of the invention
The present invention provides machinery of consultation, device and the equipment of a kind of Air conduct measurement parameter, to solve the prior art as
Lower problem: the ECHO detection time at OpenFlow interchanger and OpenFlow controller both ends is inconsistent, so as to cause both ends inspection
The time point for measuring channel interrupt is inconsistent, has in turn resulted in related application on OpenFlow interchanger and OpenFlow controller
Processing is abnormal.
In order to solve the above technical problems, on the one hand, the present invention provides a kind of machinery of consultation of Air conduct measurement parameter, comprising:
First OpenFlow equipment receives the detection time message of negotiation request from the 2nd OpenFlow equipment, wherein the detection
The configuration parameter of the configured ECHO keep alive Packet of the 2nd OpenFlow equipment, institute are carried in time message of negotiation request
Stating configuration parameter includes: transmission time interval and transmission times;The first OpenFlow equipment is according to local ECHO keep-alive
The determination of the configuration parameter of the allocative abilities information of message and the 2nd OpenFlow equipment and the 2nd OpenFlow
Shared configuration parameter after equipment negotiation, wherein the allocative abilities information includes: the value range and hair of transmission time interval
Send the value range of number;The shared configuration parameter is added to detection time and negotiates response by the first OpenFlow equipment
In message, and detection time negotiation response message is sent to the 2nd OpenFlow equipment, so that described second
OpenFlow equipment sends ECHO keep alive Packet according to the shared configuration parameter.
Optionally, the first OpenFlow equipment is according to the allocative abilities information of local ECHO keep alive Packet and described
Shared configuration parameter after the determining negotiation with the 2nd OpenFlow equipment of the configuration parameter of 2nd OpenFlow equipment
Before, further includes: the first OpenFlow equipment, which detects the configuration parameter from the 2nd OpenFlow equipment, is
It is no to be in the corresponding value range of the allocative abilities information;The 2nd OpenFlow equipment the configuration parameter not
When in the corresponding value range of the allocative abilities information, the first OpenFlow equipment is to the 2nd OpenFlow
Equipment sends error informing message, wherein the configuration of the first OpenFlow equipment is carried in the error informing message
Ability information.
Optionally, the first OpenFlow equipment is according to the allocative abilities information of local ECHO keep alive Packet and described
Shared configuration parameter after the determining negotiation with the 2nd OpenFlow equipment of the configuration parameter of 2nd OpenFlow equipment,
It include: to be in the corresponding value range of the allocative abilities information in the configuration parameter of the 2nd OpenFlow equipment
When, from the configuration parameter of the ECHO keep alive Packet of the first OpenFlow equipment local and the 2nd OpenFlow equipment
The biggish configuration parameter of option and installment parameter value in configuration parameter, using as the shared configuration parameter after negotiation.
Optionally, it after detection time negotiation response message being sent to the 2nd OpenFlow equipment, also wraps
Include: the first OpenFlow equipment detects whether to receive the error informing message from the 2nd OpenFlow equipment,
Wherein, the allocative abilities information of the 2nd OpenFlow equipment is carried in the error informing message;It is described receiving
In the case where error informing message, the first OpenFlow equipment is believed according to the allocative abilities of the 2nd OpenFlow equipment
The local configuration parameter of breath adjustment, and institute will be sent in message of negotiation request between configuration parameter adjusted carrying when detecting
State the 2nd OpenFlow equipment.
Optionally, the detection time message of negotiation request, the detection time negotiate response message and the mistake is accused
Know that message realizes carrying by way of extending experiment message.
On the other hand, the present invention also provides a kind of machineries of consultation of Air conduct measurement parameter, comprising: the 2nd OpenFlow equipment
Detection time message of negotiation request is sent to the first OpenFlow equipment, wherein is taken in the detection time message of negotiation request
Configuration parameter with the configured ECHO keep alive Packet of the 2nd OpenFlow equipment, the configuration parameter include: to send
Time interval and transmission times;The 2nd OpenFlow equipment receives the detection time from the first OpenFlow equipment
Negotiate response message, wherein the detection time is negotiated after carrying the first OpenFlow equipment negotiation in response message
ECHO keep alive Packet shared configuration parameter;The 2nd OpenFlow equipment sends ECHO according to the shared configuration parameter
Keep alive Packet.
Optionally, the 2nd OpenFlow equipment receives the detection time from the first OpenFlow equipment and negotiates
Before response message, further includes: the 2nd OpenFlow equipment detects whether that receiving the detection time negotiates response report
Text;In the case where not receiving the detection time negotiation response message, the detection time message of negotiation request is detected
Whether transmission times reaches preset times;The transmission times of message of negotiation request is not up to described default time between in the detection
In the case where number, the detection time message of negotiation request is sent to the first OpenFlow equipment again.
Optionally, the 2nd OpenFlow equipment detect whether to receive the detection time negotiate response message it
Before, further includes: the 2nd OpenFlow equipment detects whether to receive the mistake from the first OpenFlow equipment and accuses
Know message;In the case where receiving the error informing message, whether the content that carries in the error informing message is detected
For the allocative abilities information of the first OpenFlow equipment, wherein the allocative abilities information includes: transmission time interval
The value range of value range and transmission times;In the allocative abilities information that the content of carrying is the first OpenFlow equipment
When, the 2nd OpenFlow equipment is local configured according to the adjustment of the allocative abilities information of the first OpenFlow equipment
The configuration parameter of ECHO keep alive Packet, and will be sent in message of negotiation request between configuration parameter adjusted carrying when detecting
The first OpenFlow equipment.
On the other hand, the present invention also provides a kind of consulting devices of Air conduct measurement parameter, comprising: the first receiving module is used
In detection time message of negotiation request of the reception from the 2nd OpenFlow equipment, wherein the detection time negotiates request report
The configuration parameter of the configured ECHO keep alive Packet of the 2nd OpenFlow equipment, the configuration parameter packet are carried in text
It includes: transmission time interval and transmission times;Determining module, for according to the allocative abilities information of local ECHO keep alive Packet and
Shared configuration after the determining negotiation with the 2nd OpenFlow equipment of the configuration parameter of the 2nd OpenFlow equipment
Parameter, wherein the allocative abilities information includes: the value range of transmission time interval and the value range of transmission times;The
One sending module is negotiated in response message for the shared configuration parameter to be added to detection time, and when by the detection
Between negotiate response message be sent to the 2nd OpenFlow equipment so that the 2nd OpenFlow equipment according to it is described share
Configuration parameter sends ECHO keep alive Packet.
Optionally, further includes: first detection module, for detecting the configuration from the 2nd OpenFlow equipment
Whether parameter is in the corresponding value range of the allocative abilities information;First sending module is also used to described
When the configuration parameter of two OpenFlow equipment is not in the corresponding value range of the allocative abilities information, to described
Two OpenFlow equipment send error informing message, wherein the first OpenFlow is carried in the error informing message
The allocative abilities information of equipment.
Optionally, the determining module, is specifically used for: being in the configuration parameter of the 2nd OpenFlow equipment
When in the corresponding value range of the allocative abilities information, from the ECHO keep alive Packet of the first OpenFlow equipment local
The biggish configuration parameter of option and installment parameter value in the configuration parameter of configuration parameter and the 2nd OpenFlow equipment, with
As the shared configuration parameter after negotiation.
Optionally, further includes: first receiving module is also used to detect whether to receive from described second
The error informing message of OpenFlow equipment, wherein the 2nd OpenFlow equipment is carried in the error informing message
Allocative abilities information;The first adjustment module, in the case where receiving the error informing message, according to described second
The local configuration parameter of the allocative abilities information adjustment of OpenFlow equipment;First sending module, after being also used to adjust
Configuration parameter carry when detecting between be sent to the 2nd OpenFlow equipment in message of negotiation request.
On the other hand, the present invention also provides a kind of consulting devices of Air conduct measurement parameter, comprising: the second sending module is used
In to the first OpenFlow equipment send detection time message of negotiation request, wherein in the detection time message of negotiation request
The configuration parameter of the configured ECHO keep alive Packet of the 2nd OpenFlow equipment is carried, the configuration parameter includes: hair
Send time interval and transmission times;Second receiving module, for receiving the detection time from the first OpenFlow equipment
Negotiate response message, wherein the detection time is negotiated after carrying the first OpenFlow equipment negotiation in response message
ECHO keep alive Packet shared configuration parameter;Second sending module is also used to send according to the shared configuration parameter
ECHO keep alive Packet.
Optionally, further includes: second receiving module is also used to detect whether to receive the detection time and negotiates to ring
Answer message;Second detection module, for detecting the inspection in the case where not receiving the detection time negotiation response message
Whether the transmission times for surveying time message of negotiation request reaches preset times;Second sending module, is also used in the inspection
In the case that the transmission times of survey time message of negotiation request is not up to the preset times, again to the first OpenFlow
Equipment sends the detection time message of negotiation request.
Optionally, further includes: second receiving module is also used to detect whether to receive from described first
The error informing message of OpenFlow equipment;Second detection module is also used to receiving the error informing message
In the case of, detect the content that is carried in the error informing message whether be the first OpenFlow equipment allocative abilities letter
Breath, wherein the allocative abilities information includes: the value range of transmission time interval and the value range of transmission times;Second
Module is adjusted, when for the content in carrying being the allocative abilities information of the first OpenFlow equipment, according to described first
The configuration parameter of the local configured ECHO keep alive Packet of allocative abilities information adjustment of OpenFlow equipment;Described second sends
Module is sent to described first in message of negotiation request between being also used to carry configuration parameter adjusted when detecting
OpenFlow equipment.
On the other hand, the present invention also provides a kind of OpenFlow equipment, the negotiation dress including above-mentioned Air conduct measurement parameter
It sets, alternatively, the consulting device of above-mentioned Air conduct measurement parameter.
First OpenFlow equipment of the invention and the 2nd OpenFlow can send ECHO using identical configuration parameter
The ECHO detection time of keep alive Packet, both ends is consistent, is not in the situation abnormal using processing, solve the prior art as
Lower problem: the ECHO detection time at OpenFlow interchanger and OpenFlow controller both ends is inconsistent, so as to cause both ends inspection
The time point for measuring channel interrupt is inconsistent, has in turn resulted in related application on OpenFlow interchanger and OpenFlow controller
Processing is abnormal.
Detailed description of the invention
Fig. 1 is OpenFlow networking component configuration diagram in the prior art;
Fig. 2 is a kind of machinery of consultation of Air conduct measurement parameter in first embodiment of the invention;
Fig. 3 is the machinery of consultation of another Air conduct measurement parameter in first embodiment of the invention;
Fig. 4 is a kind of consulting device of Air conduct measurement parameter in second embodiment of the invention;
Fig. 5 is the consulting device of another Air conduct measurement parameter in second embodiment of the invention;
Fig. 6 is that the detection time of example one in third embodiment of the invention negotiates successfully timing diagram;
Fig. 7 is that the detection time of example two in third embodiment of the invention negotiates failure one timing diagram of situation;
Fig. 8 is that the detection time of example two in third embodiment of the invention negotiates failure two timing diagram of situation;
Fig. 9 is that the detection time of example two in third embodiment of the invention negotiates failure three timing diagram of situation;
Figure 10 is the detection time modification of example three in third embodiment of the invention, negotiates successfully timing diagram.
Specific embodiment
In order to solve the problems, such as the as follows of the prior art: OpenFlow interchanger and the ECHO at OpenFlow controller both ends inspection
Time Inconsistency is surveyed, detects that the time point of channel interrupt is inconsistent so as to cause both ends, has in turn resulted in OpenFlow exchange
Related application processing is abnormal on machine and OpenFlow controller;The present invention provides a kind of machinery of consultation of Air conduct measurement parameter,
Device and equipment, below in conjunction with attached drawing and embodiment, the present invention will be described in further detail.It should be appreciated that this place
The specific embodiment of description is only used to explain the present invention, does not limit the present invention.
First embodiment of the invention provides a kind of machinery of consultation of Air conduct measurement parameter, the process of this method such as Fig. 2 institute
Show, including S202 to S206:
S202, the first OpenFlow equipment receive the detection time message of negotiation request from the 2nd OpenFlow equipment,
Wherein, the configuration ginseng of the configured ECHO keep alive Packet of the 2nd OpenFlow equipment is carried in detection time message of negotiation request
Number, configuration parameter includes: transmission time interval and transmission times;
S204, the first OpenFlow equipment is according to the allocative abilities information and second of local ECHO keep alive Packet
Shared configuration parameter after the determining negotiation with the 2nd OpenFlow equipment of the configuration parameter of OpenFlow equipment, wherein configuration energy
Force information includes: the value range of transmission time interval and the value range of transmission times;
Shared configuration parameter is added to detection time and negotiated in response message by S206, the first OpenFlow equipment, and will
Detection time negotiates response message and is sent to the 2nd OpenFlow equipment, so that the 2nd OpenFlow equipment is joined according to shared configuration
Number sends ECHO keep alive Packet.
First OpenFlow equipment of the embodiment of the present invention receives the detection time from the 2nd OpenFlow equipment and negotiates
Request message, and according to the configuration energy of the configuration parameter carried in detection time message of negotiation request and the first OpenFlow equipment
Force information determines shared configuration parameter, and this is shared configuration parameter is added to detection time and negotiate to be sent to the in response message
Two OpenFlow equipment, so that the 2nd OpenFlow equipment and the first OpenFlow equipment send all in accordance with shared configuration parameter
ECHO keep alive Packet.
By the above method, the first OpenFlow equipment and the 2nd OpenFlow can be sent out using identical configuration parameter
ECHO keep alive Packet is sent, the ECHO detection time at both ends is consistent, is not in the situation abnormal using processing, solves existing skill
The following problem of art: the ECHO detection time at OpenFlow interchanger and OpenFlow controller both ends is inconsistent, so as to cause
Both ends detect that the time point of channel interrupt is inconsistent, have in turn resulted in phase on OpenFlow interchanger and OpenFlow controller
It is abnormal to close application processing.
In the first OpenFlow equipment according to the allocative abilities information and the 2nd OpenFlow of local ECHO keep alive Packet
Before shared configuration parameter after the determining negotiation with the 2nd OpenFlow equipment of the configuration parameter of equipment, the first OpenFlow equipment
Whether configuration parameter of the detection from the 2nd OpenFlow equipment is in the corresponding value range of allocative abilities information;Second
When the configuration parameter of OpenFlow equipment is not in the corresponding value range of allocative abilities information, the first OpenFlow equipment to
2nd OpenFlow equipment sends error informing message, wherein the first OpenFlow equipment is carried in error informing message
Allocative abilities information.
If the configuration parameter in the 2nd OpenFlow equipment is in the corresponding value range of allocative abilities information, the
One OpenFlow equipment is joined according to the configuration of the allocative abilities information and the 2nd OpenFlow equipment of local ECHO keep alive Packet
The process of shared configuration parameter after the determining negotiation with the 2nd OpenFlow equipment of number specifically includes: from the first OpenFlow equipment
Option and installment parameter value is larger in the local configuration parameter of ECHO keep alive Packet and the configuration parameter of the 2nd OpenFlow equipment
A configuration parameter, using as the shared configuration parameter after negotiation.
After it will test time negotiation response message and be sent to the 2nd OpenFlow equipment, the first OpenFlow equipment is also
It can detecte and whether receive the error informing message from the 2nd OpenFlow equipment, wherein carried in error informing message
There is the allocative abilities information of the 2nd OpenFlow equipment;In the case where receiving error informing message, the first OpenFlow is set
The standby configuration parameter local according to the adjustment of the allocative abilities information of the 2nd OpenFlow equipment, and configuration parameter adjusted is taken
Band when detecting between be sent to the 2nd OpenFlow equipment in message of negotiation request.
Response message and error informing message are negotiated for above-mentioned detection time message of negotiation request, detection time,
The carrying that message can be realized by way of extending experiment message, i.e., disappeared using experiment as defined in agreement
Each field in breath carries corresponding parameter information.
Based on the realization process of above-mentioned first OpenFlow equipment, the embodiment of the present invention also provides another Air conduct measurement ginseng
Several machineries of consultation, it is the execution of the corresponding 2nd OpenFlow equipment of above-mentioned first OpenFlow equipment that this method is corresponding
Journey, process is as shown in figure 3, include step S302 to S306:
S302, the 2nd OpenFlow equipment send detection time message of negotiation request to the first OpenFlow equipment, wherein
The configuration parameter that the configured ECHO keep alive Packet of the 2nd OpenFlow equipment is carried in detection time message of negotiation request, matches
Setting parameter includes: transmission time interval and transmission times;
S304, the 2nd OpenFlow equipment receive the detection time from the first OpenFlow equipment and negotiate response message,
Wherein, the shared of ECHO keep alive Packet after the first OpenFlow equipment is negotiated is carried in detection time negotiation response message to match
Set parameter;
S306, the 2nd OpenFlow equipment send ECHO keep alive Packet according to shared configuration parameter.
Before the 2nd OpenFlow equipment receives the detection time negotiation response message from the first OpenFlow equipment,
It can also detect whether that receiving detection time negotiates response message.The case where detection time negotiates response message is not being received
Under, whether the transmission times of detection detection time message of negotiation request reaches preset times;Message of negotiation request between when detecting
Transmission times be not up to preset times in the case where, again to the first OpenFlow equipment send detection time negotiate request report
Text.The process can repeatedly send detection time and negotiate response message, avoid once sending detection time negotiation response message and lose
Not the case where just not negotiating again after mistake.
When specific implementation, before the 2nd OpenFlow equipment detects whether that receiving detection time negotiates response message,
It can also detect whether to receive the error informing message from the first OpenFlow equipment.
In the case where receiving error informing message, detect whether the content carried in error informing message is first
The allocative abilities information of OpenFlow equipment, wherein allocative abilities information includes: the value range and transmission of transmission time interval
The value range of number;When the content of carrying is the allocative abilities information of the first OpenFlow equipment, the 2nd OpenFlow is set
The standby configuration parameter according to the local configured ECHO keep alive Packet of the allocative abilities information of the first OpenFlow equipment adjustment, and
The first OpenFlow equipment is sent in message of negotiation request between configuration parameter adjusted is carried when detecting.
The 2nd OpenFlow equipment and the first OpenFlow equipment of the embodiment of the present invention are in communication with each other, and then are realized and adopted
ECHO keep alive Packet is sent with identical configuration parameter, the ECHO detection time at both ends is consistent, is not in abnormal using processing
The case where.
Second embodiment of the invention provides a kind of consulting device of Air conduct measurement parameter, and the structural representation of the device is as schemed
Shown in 4, comprising:
First receiving module 10, for receiving the detection time message of negotiation request from the 2nd OpenFlow equipment,
In, the configuration ginseng of the configured ECHO keep alive Packet of the 2nd OpenFlow equipment is carried in detection time message of negotiation request
Number, configuration parameter includes: transmission time interval and transmission times;Determining module 11 is coupled with the first receiving module 10, is used for root
It is determined and second according to the allocative abilities information of local ECHO keep alive Packet and the configuration parameter of the 2nd OpenFlow equipment
Shared configuration parameter after the negotiation of OpenFlow equipment, wherein allocative abilities information includes: the value range of transmission time interval
With the value range of transmission times;First sending module 12, couples with determining module 11, for shared configuration parameter to be added to
Detection time is negotiated in response message, and be will test time negotiation response message and be sent to the 2nd OpenFlow equipment, so that the
Two OpenFlow equipment send ECHO keep alive Packet according to shared configuration parameter.
When specific implementation, above-mentioned consulting device can also include:
First detection module 13 is coupled with the first receiving module 10, determining module 11 and the first sending module 12, for examining
Survey whether the configuration parameter from the 2nd OpenFlow equipment is in the corresponding value range of allocative abilities information;First sends
Module 12 is also used to be not in the corresponding value range of allocative abilities information in the configuration parameter of the 2nd OpenFlow equipment
When, error informing message is sent to the 2nd OpenFlow equipment, wherein is carried the first OpenFlow in error informing message and is set
Standby allocative abilities information;Determining module 11 is specifically used for: being in allocative abilities in the configuration parameter of the 2nd OpenFlow equipment
When in the corresponding value range of information, from the configuration parameter and second of the ECHO keep alive Packet of the first OpenFlow equipment local
The biggish configuration parameter of option and installment parameter value in the configuration parameter of OpenFlow equipment, to match as shared after negotiation
Set parameter.
In order to negotiate to obtain a shared configuration parameter with the 2nd OpenFlow equipment, therefore above-mentioned consulting device is also
May include:
First receiving module 10 is also used to detect whether to receive the error informing report from the 2nd OpenFlow equipment
Text, wherein the allocative abilities information of the 2nd OpenFlow equipment is carried in error informing message;The first adjustment module 14, with
First receiving module 10 and the coupling of the first sending module 12, in the case where receiving error informing message, according to second
The local configuration parameter of the allocative abilities information adjustment of OpenFlow equipment;First sending module 12, being also used to will be adjusted
The 2nd OpenFlow equipment is sent in message of negotiation request between configuration parameter carries when detecting.
Based on the consulting device of the above-mentioned Air conduct measurement parameter being arranged in the first OpenFlow equipment, the embodiment of the present invention
The consulting device of another Air conduct measurement parameter is also provided, corresponding can be set of the device corresponds in the first OpenFlow equipment
The 2nd OpenFlow equipment in, the structural representation of the consulting device of the Air conduct measurement parameter is as shown in Figure 5, comprising:
Second sending module 20, for sending detection time message of negotiation request to the first OpenFlow equipment, wherein inspection
Survey the configuration parameter that the configured ECHO keep alive Packet of the 2nd OpenFlow equipment is carried in time message of negotiation request, configuration
Parameter includes: transmission time interval and transmission times;Second receiving module 21 is coupled with the second sending module 20, for receiving
Detection time from the first OpenFlow equipment negotiates response message, wherein detection time negotiates to carry in response message
The shared configuration parameter of ECHO keep alive Packet after the negotiation of first OpenFlow equipment;Second sending module 22 is received with second
Module 21 couples, and is also used to send ECHO keep alive Packet according to shared configuration parameter.
Above-mentioned consulting device can also include: the second receiving module 20, be also used to detect whether to receive detection time association
Quotient's response message;Second detection module 23 is coupled with the second receiving module 20 and the second sending module 22, for not receiving
In the case that detection time negotiates response message, whether the transmission times of detection detection time message of negotiation request reaches default time
Number;The case where second sending module 22, the transmission times of message of negotiation request is not up to preset times between being also used to when detecting
Under, detection time message of negotiation request is sent to the first OpenFlow equipment again.
Above-mentioned consulting device can also include: the second receiving module 20, be also used to detect whether to receive from first
The error informing message of OpenFlow equipment;Second detection module 23 is also used in the case where receiving error informing message,
In detection error informing message the content that carries whether be the first OpenFlow equipment allocative abilities information, wherein configuration energy
Force information includes: the value range of transmission time interval and the value range of transmission times;Second adjustment module 24, with the second inspection
Module 23 and the coupling of the second sending module 22 are surveyed, is the allocative abilities information of the first OpenFlow equipment for the content in carrying
When, according to the configuration parameter of the local configured ECHO keep alive Packet of the allocative abilities information of the first OpenFlow equipment adjustment;
Second sending module 22 is sent to first in message of negotiation request between being also used to carry configuration parameter adjusted when detecting
OpenFlow equipment.
Third example of the present invention provides the channel detection methods in a kind of software defined network, and this method is to Air conduct measurement
Parameter is held consultation, specifically includes the following steps:
Step A, OpenFlow interchanger and OpenFlow controller are after Path Setup, by the side actively initiated the connection
Detection time message of negotiation request is sent to opposite end, negotiates transmission time interval and send secondary that parameter includes ECHO request message
Number.
Wherein, detection time message of negotiation request is realized using extension experiment message.
Step B, if after receiving detection time message of negotiation request, and local terminal supports negotiation functionality, then starts to be examined
It surveys the time to negotiate, the mainly negotiation of the transmission time interval to ECHO request message and transmission times.Negotiate the ECHO come
Transmission time interval is the maximum value for receiving and dispatching both ends ECHO request message transmission time interval, and negotiating the transmission times come is receipts
Send out the maximum value of both ends transmission times.
If negotiating successfully, to send detection time to opposite end and negotiate response message, carry and negotiate successfully in message
The transmission time interval and transmission times of ECHO request message, while local terminal starts channel keep-alive machine according to successful parameter is negotiated
System.
If negotiating failure, an error message is sent to opposite end, informs Peer Negotiation failure.
If not supporting negotiation functionality, processing detection time message of negotiation request, not old to Peer Negotiation mechanism time-out
Change, both sides are handled according to respective keepalive mechanism.
Wherein detection time negotiates response message using extension experiment message to realize, error message is using extension
Experiment message is realized.
Step C starts if receiving detection time negotiates response message according to the parameters of detection time carried in message
Channel keepalive mechanism.
If not receiving detection time response message before, it may be possible to which the request message sent is lost, and also having can
It can be that opposite end does not support Air conduct measurement time negotiation functionality.Negotiate successful reliability to increase, allows request message according to one
Fixed time interval is repeatedly sent, default to send 3 times, every minor tick 3s.If after the 3*3s time, not receiving detection time yet and ringing
Answer message, then it is assumed that negotiate failure, local terminal maintains original keepalive mechanism.
If receiving the error message that opposite end sends over, the termination detection time negotiates, and local terminal maintains original keep-alive
Mechanism.
After step D:OpenFlow interchanger and OpenFlow controller detection time are negotiated successfully, allow real time modifying sheet
Ground parameters of detection time, and hold consultation.
If negotiated successfully, both sides carry out keep-alive control according to the parameters of detection time newly negotiated.
If negotiating failure, both sides maintain original keepalive mechanism to become.
In above-mentioned parameters of detection time real time modifying and during negotiating, the current channel OpenFlow connection is had no effect on
State.
The above process is illustrated with specific example with reference to the accompanying drawing.
Example one
Fig. 6 is that the detection time of example one negotiates successfully timing diagram, as shown in fig. 6, in this example, OpenFlow interchanger
With OpenFlow controller channel detection time negotiations process comprising the following three steps:
Step 1:OpenFlow interchanger is channel attached active initiator, after OpenFlow Path Setup, to
OpenFlow controller sendaisle detection time message of negotiation request, the request message are real by extension experiment message
It is existing.The experiment message format of extension is as follows.
Wherein the extension subtype exp_type in header field is defined as follows:
When OpenFlow interchanger sends detection time message of negotiation request, OFPET_ is set by exp_type
It is set as 3 and 60 seconds, can be closed by configuring setting under NEGOTIATION_REQUEST, count and interval default condition
Suitable parameter.The configuration range that the configuration range of OpenFlow interchanger count is 1 to 10, interval in this example is 1 to arrive
300.Concrete configuration is 2 and 30 seconds.In this way, it is 2 that OpenFlow interchanger will send count to OpenFlow controller,
The detection time message of negotiation request that interval is 30 seconds.
After step 2:OpenFlow controller receives request message, count the and interval field in message, hair are extracted
It is 30 seconds that existing count, which is 2, interval, in the negotiation limit of power of OpenFlow controller, then starts to be assisted
Quotient.The configuration range that the count configuration range of OpenFlow controller is 1 to 9, interval in this example is 1 to 120.Tool
Body is configured to 3 and 40 seconds.Negotiate come count be 3 (2 and 3 maximum values), interval be 40 seconds (30 seconds and 40 seconds
Maximum value).Later, the parameter that controller will negotiate is encapsulated in detection time and negotiates to be sent to OpenFlow in response message
Interchanger.Wherein, response message is also that extension experiment message realizes that the data structure of message is the same with request message
For struct ofp_experiment_negotiation.
When sending response message, OFPET_NEGOTIATION_REPLY is set by exp_type, count is set as
3, interval are set as 40 seconds.
In addition, OpenFlow controller starts keep alive timer, the time of timer immediately after detection time is negotiated successfully
Between be divided into 40 seconds, ECHO will be sent to OpenFlow interchanger every 40 seconds later and request keep alive Packet.If 3 requests are reported
Text is not all responded, it is believed that channel disconnecting, notice affiliate application are handled.Period, as long as once asking
It asks message to be responded, then reopens the new keepalive mechanism of a wheel.
Step 3:OpenFlow interchanger receive detection time negotiate response message when, extract message in count and
Interval, it is 40 seconds that discovery count, which is 3, interval, in the negotiation limit of power of OpenFlow interchanger, then
Start keep alive timer according to the parameter come is negotiated, the time interval of timer is 40 seconds, later will be to every 40 seconds
OpenFlow controller sends ECHO and requests keep alive Packet.If 3 times request message is not all responded, it is believed that channel connection
It interrupts, notice affiliate application is handled.Period reopens a wheel as long as once request message is responded
New keepalive mechanism.
Example two
Detection time negotiation unsuccessfully has following three situation between OpenFlow interchanger and OpenFlow controller.
Situation one: the parameter in detection time request message is more than a kind of situation of locally-supported limit of power.
Fig. 7 is detection time negotiation failure one timing diagram of situation of example two, as shown in fig. 7, in this example, OpenFlow
Interchanger and OpenFlow controller channel detection time negotiations process comprising the following three steps:
Step 1:OpenFlow interchanger is channel attached active initiator, after OpenFlow Path Setup, to
OpenFlow controller sendaisle detection time message of negotiation request, the request message are real by extension experiment message
It is existing.The experiment message format of extension is structofp_experiment_negotiation.
When OpenFlow interchanger sends detection time message of negotiation request, OFPET_ is set by exp_type
It is set as 3 and 60 seconds, can be closed by configuring setting under NEGOTIATION_REQUEST, count and interval default condition
Suitable parameter, the configuration range that the configuration range of OpenFlow interchanger count is 1 to 10, interval in this example are 1 to arrive
300.Concrete configuration is 10 and 300 seconds.In this way, it is 10 that OpenFlow interchanger will send count to OpenFlow controller,
The detection time message of negotiation request that interval is 300 seconds.
After step 2:OpenFlow controller receives request message, count the and interval field in message, hair are extracted
It is 300 seconds that existing count, which is 10, interval, has exceeded the negotiation limit of power of OpenFlow controller.In this example
The configuration range of the count of OpenFlow controller is that the configuration range of 1 to 9, interval is 1 to 120.Then to
OpenFlow interchanger sends an error message, and notice opposite end detection time negotiates failure.
Wherein, error message is that extension experiment message realizes that the format of message is as follows:
Wherein reason is defined as follows:
enum ofp_negotiation_err_reason{
OFPNR_INVALID_COUNT=1 < < 0 ,/* Invalid count*/
OFPNR_INVALID_INTERVAL=1 < < 1 ,/* Invalid interval*/
};
When sending error message, OFPET_NEGOTIATION_ERROR is set by exp_type, reason field is set
It is set to OFPNR_INVALID_COUNT+OFPNR_INVALID_INTERVAL.Count is set as the local maximum that can be supported
Numerical value 9, interval are set as the local greatest measure 120 that can be supported.It can choose adjustment convenient for OpenFlow interchanger
Parameter re-starts negotiation.
Due to negotiating to fail, OpenFlow controller maintains original protection mechanism constant.
After step 3:OpenFlow interchanger receives error message, according to the type of error in message, learn it is local
Count and interval has been above the limit of power of opposite end support.Next, OpenFlow interchanger can be according to false alarm
Count the and interval field of text selects appropriate adjustment to negotiate parameter and re-starts detection time negotiation, also can choose end
Only detection time is negotiated, and maintains original keepalive mechanism.
Situation two: the parameter in detection time response message is more than another situation of locally-supported limit of power.
Fig. 8 is detection time negotiation failure two timing diagram of situation of example two, as shown in figure 8, in this example, OpenFlow
Interchanger and OpenFlow controller channel detection time negotiations process comprising the following three steps:
Step 1:OpenFlow controller is channel attached active initiator, after OpenFlow Path Setup, to
OpenFlow interchanger sendaisle detection time message of negotiation request, the request message are real by extension experiment message
It is existing.The experiment message format of extension is structofp_experiment_negotiation.
When OpenFlow controller sends detection time message of negotiation request, OFPET_ is set by exp_type
It is set as 3 and 60 seconds, can be closed by configuring setting under NEGOTIATION_REQUEST, count and interval default condition
Suitable parameter, the configuration range that the configuration range of OpenFlow controller count is 1 to 9, interval in this example are 1 to arrive
120.Concrete configuration is 3 and 40 seconds.In this way, it is 3 that OpenFlow controller will send count to OpenFlow interchanger,
The detection time message of negotiation request that interval is 40 seconds.
After step 2:OpenFlow interchanger receives request message, count the and interval field in message, hair are extracted
It is 40 seconds that existing count, which is 3, interval, in local negotiation limit of power, then starts to hold consultation.In this example
The configuration range that the count configuration range of OpenFlow interchanger is 1 to 10, interval is 1 to 300.Concrete configuration is 10
With 60 seconds.Negotiating the count come is 10 (3 and 10 maximum values), and interval is 60 seconds (40 seconds and 60 seconds maximum values).
Later, the parameter that OpenFlow interchanger will negotiate is encapsulated in detection time and negotiates to be sent to OpenFlow in response message
Controller.Wherein, response message is also that extension experiment message realizes that the data structure of message is the same with request message
For struct ofp_experiment_negotiation.
When sending response message, OFPET_NEGOTIATION_REPLY is set by exp_type, count is set as
10, interval are set as 60 seconds.
After step 3:OpenFlow controller receives detection time response message, extract message in count and
Interval field, it is 60 seconds that discovery count, which is 10, interval, and wherein count has exceeded local negotiation ability model for discovery
It encloses.The configuration range of the count of OpenFlow controller is 1 to 9 in this example.Then one is sent to OpenFlow interchanger
Error message, notice opposite end detection time negotiate failure.
When sending error message, OFPET_NEGOTIATION_ERROR is set by exp_type, reason field is set
It is set to OFPNR_INVALID_COUNT, count is set as the local greatest measure 9 that can be supported, interval is set as local
The greatest measure 120 that can be supported.It can choose adjusting parameter convenient for OpenFlow interchanger in case re-starting negotiation.
Due to negotiating to fail, OpenFlow controller maintains original protection mechanism constant.
After step 3:OpenFlow interchanger receives error message, according to the type of error in message, learn it is local
Count has been more than the limit of power that opposite end is supported.Next, OpenFlow interchanger can be according to the count word of error message
Section selects appropriate adjustment to negotiate parameter and re-starts detection time negotiation in case of subsequent, also can choose termination detection time association
Quotient is switched to original keepalive mechanism.
Situation three: it does not support to negotiate in opposite end.
Fig. 9 is detection time negotiation failure three timing diagram of situation of example two, as shown in figure 9, in this example, OpenFlow
Interchanger and OpenFlow controller channel detection time negotiations process comprising the following three steps:
Step 1:OpenFlow interchanger is channel attached active initiator, after OpenFlow Path Setup, to
OpenFlow controller sendaisle detection time message of negotiation request, the request message are real by extension experiment message
It is existing.The experiment message format of extension is structofp_experiment_negotiation.
When OpenFlow interchanger sends detection time message of negotiation request, OFPET_ is set by exp_type
It is set as 3 and 60 seconds, can be closed by configuring setting under NEGOTIATION_REQUEST, count and interval default condition
Suitable parameter, the configuration range that the configuration range of OpenFlow interchanger count is 1 to 10, interval in this example are 1 to arrive
300.Use default configuration.In this way, it is 3, interval that OpenFlow interchanger will send count to OpenFlow controller
For 60 seconds detection time message of negotiation request.Negotiate the probability of success to increase, allows repeatedly to send detection time and negotiate request
Message under default condition, allows to send 3 times, every minor tick 3 seconds.In this example, default configuration is used.
After step 2:OpenFlow controller receives request message, discovery local terminal does not support detection time to negotiate, then not
Handle the message.
After step 3:OpenFlow interchanger waits default 3 seconds, discovery does not receive OpenFlow controller and is transmitted across
The detection time come negotiates response message, then retransmits one detection period message of negotiation request.Opposite end is not handled equally, in
It is to send again, when the response message for also not receiving opposite end for the last time and sending over, judges that other side does not support to negotiate, then
It closes and negotiates.Locally maintain original keepalive mechanism.
Example three
Figure 10 is the detection time modification of example three, negotiates successfully timing diagram, as shown in Figure 10, in this example,
OpenFlow interchanger and OpenFlow controller channel parameters of detection time real time modifying and negotiations process include following three
Step:
Step 1:OpenFlow interchanger and OpenFlow controller is negotiated has succeeded the Air conduct measurement time, this example
Middle OpenFlow interchanger local parameter is configured to 2 and 30 seconds, and OpenFlow controller is configured to 3 and 40 seconds, is negotiated successful
Parameter count is that 3, interval is 40 seconds.It is 4, interval by the count of configuration modification OpenFlow interchanger now
It is 60 seconds.OpenFlow interchanger sends a new detection time message of negotiation request immediately, and the count of carrying is 4,
Interval is 60;Do not receive OpenFlow controller reply response message before, OpenFlow interchanger also according to
The parameter negotiated before carries out keep-alive control.
After step 2:OpenFlow controller receives request message, new count and interval are extracted, and negotiates and
New count is that 4, interval is 60 seconds, then carry newly negotiate come parameters of detection time send response message to
OpenFlow interchanger, while modifying local keep alive timer is 60 seconds, sent an ECHO request every 60 seconds later and protects
Message living.If 4 times request message is not all responded, it is believed that channel disconnecting notifies at affiliate application
Reason.Period reopens the new keepalive mechanism of a wheel as long as once request message is responded.
When step 3:OpenFlow interchanger receives parameters of detection time negotiation response message, the count in message is extracted
And interval, it is 60 seconds that discovery count, which is 4, interval, then resets starting keep-alive according to the parameter newly negotiated
Timer, the time interval of timer are 60 seconds, will send ECHO request to OpenFlow controller every 60 seconds later and protect
Message living.If 4 times request message is not all responded, it is believed that channel disconnecting notifies at affiliate application
Reason.Period reopens the new keepalive mechanism of a wheel as long as once request message is responded.
Although for illustrative purposes, the preferred embodiment of the present invention has been disclosed, those skilled in the art will recognize
It is various improve, increase and replace be also it is possible, therefore, the scope of the present invention should be not limited to the above embodiments.
Claims (16)
1. a kind of machinery of consultation of Air conduct measurement parameter characterized by comprising
First open flows OpenFlow equipment receives the detection time message of negotiation request from the 2nd OpenFlow equipment,
In, the configured ECHO keep alive Packet of the 2nd OpenFlow equipment is carried in the detection time message of negotiation request
Configuration parameter, the configuration parameter include: transmission time interval and transmission times;
The first OpenFlow equipment is according to the allocative abilities information and described second of local ECHO keep alive Packet
Shared configuration parameter after the determining negotiation with the 2nd OpenFlow equipment of the configuration parameter of OpenFlow equipment,
In, the allocative abilities information includes: the value range of transmission time interval and the value range of transmission times;
The shared configuration parameter is added to detection time and negotiated in response message by the first OpenFlow equipment, and by institute
State detection time negotiate response message be sent to the 2nd OpenFlow equipment so that the 2nd OpenFlow equipment according to
The shared configuration parameter sends ECHO keep alive Packet.
2. machinery of consultation as described in claim 1, which is characterized in that the first OpenFlow equipment is according to local ECHO
The configuration parameter of the allocative abilities information of keep alive Packet and the 2nd OpenFlow equipment determines and described second
Before shared configuration parameter after the negotiation of OpenFlow equipment, further includes:
Whether the configuration parameter of the first OpenFlow equipment detection from the 2nd OpenFlow equipment is in institute
It states in the corresponding value range of allocative abilities information;
The corresponding value range of the allocative abilities information is not in the configuration parameter of the 2nd OpenFlow equipment
When interior, the first OpenFlow equipment sends error informing message to the 2nd OpenFlow equipment, wherein the mistake
Inform the allocative abilities information that the first OpenFlow equipment is carried in message.
3. machinery of consultation as claimed in claim 2, which is characterized in that the first OpenFlow equipment is according to local ECHO
The configuration parameter of the allocative abilities information of keep alive Packet and the 2nd OpenFlow equipment determines and described second
Shared configuration parameter after the negotiation of OpenFlow equipment, comprising:
It is in the corresponding value range of the allocative abilities information in the configuration parameter of the 2nd OpenFlow equipment
When, from the configuration parameter of the ECHO keep alive Packet of the first OpenFlow equipment local and the 2nd OpenFlow equipment
The biggish configuration parameter of option and installment parameter value in configuration parameter, using as the shared configuration parameter after negotiation.
4. machinery of consultation as claimed in claim 3, which is characterized in that detection time negotiation response message is sent to institute
After stating the 2nd OpenFlow equipment, further includes:
The first OpenFlow equipment detects whether to receive the error informing message from the 2nd OpenFlow equipment,
Wherein, the allocative abilities information of the 2nd OpenFlow equipment is carried in the error informing message;
In the case where receiving the error informing message, the first OpenFlow equipment is according to the 2nd OpenFlow
The local configuration parameter of the allocative abilities information adjustment of equipment, and will negotiate to ask between configuration parameter adjusted carrying when detecting
It asks and is sent to the 2nd OpenFlow equipment in message.
5. machinery of consultation as claimed in claim 4, which is characterized in that the detection time message of negotiation request, the detection
Time negotiates response message and the error informing message realizes carrying by way of extending experiment message.
6. a kind of machinery of consultation of Air conduct measurement parameter characterized by comprising
2nd OpenFlow equipment sends detection time message of negotiation request to the first OpenFlow equipment, wherein the detection
The configuration parameter of the configured ECHO keep alive Packet of the 2nd OpenFlow equipment, institute are carried in time message of negotiation request
Stating configuration parameter includes: transmission time interval and transmission times;
The 2nd OpenFlow equipment receives the detection time from the first OpenFlow equipment and negotiates response message,
In, the detection time negotiates to carry the ECHO keep alive Packet after the first OpenFlow equipment is negotiated in response message
Share configuration parameter;
The 2nd OpenFlow equipment sends ECHO keep alive Packet according to the shared configuration parameter.
7. machinery of consultation as claimed in claim 6, which is characterized in that the 2nd OpenFlow equipment is received from described the
The detection time of one OpenFlow equipment is negotiated before response message, further includes:
The 2nd OpenFlow equipment detects whether that receiving the detection time negotiates response message;
In the case where not receiving the detection time negotiation response message, the detection time message of negotiation request is detected
Whether transmission times reaches preset times;
In the case that the transmission times of message of negotiation request is not up to the preset times between in the detection, again to described
First OpenFlow equipment sends the detection time message of negotiation request.
8. machinery of consultation as claimed in claim 7, which is characterized in that the 2nd OpenFlow equipment detects whether to receive
The detection time is negotiated before response message, further includes:
The 2nd OpenFlow equipment detects whether to receive the error informing message from the first OpenFlow equipment;
In the case where receiving the error informing message, detect whether the content carried in the error informing message is institute
State the allocative abilities information of the first OpenFlow equipment, wherein the allocative abilities information includes: the value of transmission time interval
The value range of range and transmission times;
When the content of carrying is the allocative abilities information of the first OpenFlow equipment, the 2nd OpenFlow equipment root
According to the configuration parameter of the local configured ECHO keep alive Packet of allocative abilities information adjustment of the first OpenFlow equipment, and
The first OpenFlow equipment is sent in message of negotiation request between configuration parameter adjusted is carried when detecting.
9. a kind of consulting device of Air conduct measurement parameter characterized by comprising
First receiving module, for receiving the detection time message of negotiation request from the 2nd OpenFlow equipment, wherein described
The configuration ginseng of the configured ECHO keep alive Packet of the 2nd OpenFlow equipment is carried in detection time message of negotiation request
Number, the configuration parameter includes: transmission time interval and transmission times;
Determining module, for according to the allocative abilities information of local ECHO keep alive Packet and the 2nd OpenFlow equipment
Shared configuration parameter after the determining negotiation with the 2nd OpenFlow equipment of the configuration parameter, wherein the allocative abilities
Information includes: the value range of transmission time interval and the value range of transmission times;
First sending module is negotiated in response message for the shared configuration parameter to be added to detection time, and will be described
Detection time negotiates response message and is sent to the 2nd OpenFlow equipment, so that the 2nd OpenFlow equipment is according to institute
It states shared configuration parameter and sends ECHO keep alive Packet.
10. consulting device as claimed in claim 9, which is characterized in that further include:
Whether first detection module is in described for detecting the configuration parameter from the 2nd OpenFlow equipment and matches
It sets in the corresponding value range of ability information;
First sending module is also used to be not at the configuration in the configuration parameter of the 2nd OpenFlow equipment
When in the corresponding value range of ability information, error informing message is sent to the 2nd OpenFlow equipment, wherein the mistake
Accidentally inform the allocative abilities information that the first OpenFlow equipment is carried in message.
11. consulting device as claimed in claim 10, which is characterized in that the determining module is specifically used for:
It is in the corresponding value range of the allocative abilities information in the configuration parameter of the 2nd OpenFlow equipment
When, from the configuration parameter of the ECHO keep alive Packet of the first OpenFlow equipment local and the 2nd OpenFlow equipment
The biggish configuration parameter of option and installment parameter value in configuration parameter, using as the shared configuration parameter after negotiation.
12. consulting device as claimed in claim 11, which is characterized in that further include:
First receiving module is also used to detect whether to receive the error informing report from the 2nd OpenFlow equipment
Text, wherein the allocative abilities information of the 2nd OpenFlow equipment is carried in the error informing message;
The first adjustment module, for being set according to the 2nd OpenFlow in the case where receiving the error informing message
The local configuration parameter of standby allocative abilities information adjustment;
First sending module is sent in message of negotiation request between being also used to carry configuration parameter adjusted when detecting
To the 2nd OpenFlow equipment.
13. a kind of consulting device of Air conduct measurement parameter characterized by comprising
Second sending module, for sending detection time message of negotiation request to the first OpenFlow equipment, wherein the detection
The configuration parameter of the configured ECHO keep alive Packet of the 2nd OpenFlow equipment, institute are carried in time message of negotiation request
Stating configuration parameter includes: transmission time interval and transmission times;
Second receiving module negotiates response message for receiving the detection time from the first OpenFlow equipment, wherein
The detection time negotiates to carry being total to for the ECHO keep alive Packet after the first OpenFlow equipment is negotiated in response message
Use configuration parameter;
Second sending module is also used to send ECHO keep alive Packet according to the shared configuration parameter.
14. consulting device as claimed in claim 13, which is characterized in that further include:
Second receiving module is also used to detect whether to receive the detection time and negotiates response message;
Second detection module, for detecting the detection in the case where not receiving the detection time negotiation response message
Whether the transmission times of time message of negotiation request reaches preset times;
Second sending module, the transmission times of message of negotiation request is not up to described default between being also used in the detection
In the case where number, the detection time message of negotiation request is sent to the first OpenFlow equipment again.
15. consulting device as claimed in claim 14, which is characterized in that further include:
Second receiving module is also used to detect whether to receive the error informing report from the first OpenFlow equipment
Text;
Second detection module is also used to detect the error informing in the case where receiving the error informing message
The content carried in message whether be the first OpenFlow equipment allocative abilities information, wherein allocative abilities letter
Breath includes: the value range of transmission time interval and the value range of transmission times;
When second adjustment module for the content in carrying is the allocative abilities information of the first OpenFlow equipment, according to
The configuration parameter of the local configured ECHO keep alive Packet of allocative abilities information adjustment of the first OpenFlow equipment;
Second sending module is sent in message of negotiation request between being also used to carry configuration parameter adjusted when detecting
To the first OpenFlow equipment.
16. a kind of OpenFlow equipment, which is characterized in that join including Air conduct measurement described in any one of claim 9 to 12
Several consulting device, alternatively, the consulting device of Air conduct measurement parameter described in any one of claim 13 to 15.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710532510.7A CN109218121A (en) | 2017-07-03 | 2017-07-03 | Machinery of consultation, device and the equipment of Air conduct measurement parameter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710532510.7A CN109218121A (en) | 2017-07-03 | 2017-07-03 | Machinery of consultation, device and the equipment of Air conduct measurement parameter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109218121A true CN109218121A (en) | 2019-01-15 |
Family
ID=64992634
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710532510.7A Withdrawn CN109218121A (en) | 2017-07-03 | 2017-07-03 | Machinery of consultation, device and the equipment of Air conduct measurement parameter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109218121A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111641545A (en) * | 2020-05-15 | 2020-09-08 | 深信服科技股份有限公司 | Tunnel detection method and device, equipment and storage medium |
CN112468357A (en) * | 2020-10-26 | 2021-03-09 | 网络通信与安全紫金山实验室 | IPsec tunnel connectivity rapid detection method, detection system and storage medium |
CN115378816A (en) * | 2022-08-02 | 2022-11-22 | 深信服科技股份有限公司 | Network configuration detection method, device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1264509A2 (en) * | 2000-03-10 | 2002-12-11 | Soma Networks, Inc. | Negotiation for telecommunication resources |
CN1881863A (en) * | 2005-06-13 | 2006-12-20 | 中兴通讯股份有限公司 | Apparatus and method for confirming re-transmission policy in arrangement |
CN102111824A (en) * | 2009-12-28 | 2011-06-29 | 上海无线通信研究中心 | Inter-cell switching parameter negotiation method |
CN103957079A (en) * | 2014-04-30 | 2014-07-30 | 杭州华三通信技术有限公司 | Negotiation method and equipment in HDLC network |
CN104022910A (en) * | 2014-06-25 | 2014-09-03 | 杭州华三通信技术有限公司 | Parameter negotiation method and device |
CN104104661A (en) * | 2013-04-09 | 2014-10-15 | 中兴通讯股份有限公司 | Client, server, and remote user dialing authentication capability negotiation method and system |
-
2017
- 2017-07-03 CN CN201710532510.7A patent/CN109218121A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1264509A2 (en) * | 2000-03-10 | 2002-12-11 | Soma Networks, Inc. | Negotiation for telecommunication resources |
CN1881863A (en) * | 2005-06-13 | 2006-12-20 | 中兴通讯股份有限公司 | Apparatus and method for confirming re-transmission policy in arrangement |
CN102111824A (en) * | 2009-12-28 | 2011-06-29 | 上海无线通信研究中心 | Inter-cell switching parameter negotiation method |
CN104104661A (en) * | 2013-04-09 | 2014-10-15 | 中兴通讯股份有限公司 | Client, server, and remote user dialing authentication capability negotiation method and system |
CN103957079A (en) * | 2014-04-30 | 2014-07-30 | 杭州华三通信技术有限公司 | Negotiation method and equipment in HDLC network |
CN104022910A (en) * | 2014-06-25 | 2014-09-03 | 杭州华三通信技术有限公司 | Parameter negotiation method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111641545A (en) * | 2020-05-15 | 2020-09-08 | 深信服科技股份有限公司 | Tunnel detection method and device, equipment and storage medium |
CN112468357A (en) * | 2020-10-26 | 2021-03-09 | 网络通信与安全紫金山实验室 | IPsec tunnel connectivity rapid detection method, detection system and storage medium |
CN115378816A (en) * | 2022-08-02 | 2022-11-22 | 深信服科技股份有限公司 | Network configuration detection method, device and storage medium |
CN115378816B (en) * | 2022-08-02 | 2024-02-23 | 深信服科技股份有限公司 | Network configuration detection method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2900033B1 (en) | Method, apparatus, and system for data transmission | |
CN108353262A (en) | Internet of Things peer-to-peer services layer Service Quality Management | |
US7940658B2 (en) | ERSPAN dynamic session negotiation | |
US20080037436A1 (en) | Method and system for detecting link failure between nodes in a hybrid network | |
CN109218121A (en) | Machinery of consultation, device and the equipment of Air conduct measurement parameter | |
US20180049261A1 (en) | System and Method for Connection Management | |
US10999289B2 (en) | System and methods for achieving end-to-end security for hop-by-hop services | |
WO2007025425A1 (en) | A method for testing the service performance of the file transfer protocol | |
CN112165447B (en) | WAF equipment-based network security monitoring method, system and electronic device | |
US10594844B2 (en) | Method and system for wireless network bilateral accelerated transmission | |
JPH11355271A (en) | Mobile point-to-point protocol | |
CN105025506B (en) | A kind of method of cloud AC remote managements AP equipment | |
EP2365662A2 (en) | Method and apparatus for active probing of tunneled internet protocol (IP) transmission paths | |
WO2016086890A1 (en) | Method and device for detecting connectivity | |
CN107342885A (en) | Method of adjustment, device and the terminal device of terminal MTU | |
US7225236B1 (en) | Load balancing between LNSs using virtual LNS with minimal LAC configuration | |
CN109104744A (en) | Utilize data transmission, reception and the communication means of WIFI management frame | |
CN108418765A (en) | Remote flow monitors the chip implementing method and device of load balancing | |
CN105978780B (en) | Port switching method and device | |
CN107104892A (en) | The method and apparatus of network acceleration | |
WO2019196853A1 (en) | Tcp acceleration method and apparatus | |
WO2014107971A1 (en) | Method and apparatus for keeping alive l2tp tunnel state | |
JP2581476B2 (en) | Information processing device | |
JP4686875B2 (en) | Data communication device | |
WO2011079743A1 (en) | Data transmission method and associated devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190115 |