CN105991448A - Neighbor discovery method and device - Google Patents

Neighbor discovery method and device Download PDF

Info

Publication number
CN105991448A
CN105991448A CN201510083959.0A CN201510083959A CN105991448A CN 105991448 A CN105991448 A CN 105991448A CN 201510083959 A CN201510083959 A CN 201510083959A CN 105991448 A CN105991448 A CN 105991448A
Authority
CN
China
Prior art keywords
service
connection devices
information
protocol message
hdlc protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510083959.0A
Other languages
Chinese (zh)
Other versions
CN105991448B (en
Inventor
张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201510083959.0A priority Critical patent/CN105991448B/en
Priority to PCT/CN2015/086126 priority patent/WO2016127599A1/en
Publication of CN105991448A publication Critical patent/CN105991448A/en
Application granted granted Critical
Publication of CN105991448B publication Critical patent/CN105991448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a neighbor discovery method and a neighbor discovery device. The method includes the following steps that: a first docking device packages a high-level data Link control (HDLC) protocol message, wherein the HDLC protocol message carries first docking device local-terminal information and first docking device remote-end information, wherein the first docking device local-terminal information and the first docking device remote-end information are used for a second docking device to carry out neighbor judgment; and the first docking device sends the HDLC message to the second docking device. With the method provided by the technical schemes of the invention adopted, a standard HDLC protocol message package format is extended, so that the problem of incapability of discovering a neighbor can be solved, and the problem of the interruption of the whole aggregate interface business caused by link single-pass or cross connection errors of members can be effectively solved.

Description

A kind of method and apparatus of neighbor uni-cast
Technical field
The present invention relates to data communication field, the method and apparatus being specifically related to a kind of neighbor uni-cast.
Background technology
With the development of data link technologies, and HDLC (High-Level Data Link Control, senior Data link controls) technology is widely used on the high-speed link of point-to-point.Due to HDLC protocol more Complexity, industry generally uses cHDLC agreement, and cHDLC is a kind of as bit-oriented synchronization Data Control Protocol, is the HDLC protocol of a kind of simplification, only by transmission HELLO message (agreement Broadcasting packet for SLARP) hold consultation.
In order to improve the communication capacity of link, need multiple port (such as POS based on HDLC encapsulation Port) it is tied to an aggregation port, we are tentatively called POSGROUP interface, POSGROUP The total bandwidth of interface is each member bandwidths's sum, by this polymerization methods, can increase the bandwidth of interface; Can realize that (flow is distributed on different links load balancing by POSGROUP interface, finally simultaneously Reach unified destination, flow so can be avoided all to walk the same road blocked-flow that footpath causes);Also The reliability of link can be improved (in POSGROUP port, as certain member port state is Down, flow can also rely on other interface to be transmitted).
But, HDLC protocol is to be unidirectionally controlled agreement, does not possess the ability of discovery neighbours, should in reality In with, often due to the link single-pass that between point-to-point equipment, transmission problem causes, or due to operator Member is optical fiber interconnection mistake, and these mistakes can cause the transmission problem of whole aggregation port service disconnection, The business that affects uses, it is therefore desirable to consider related treating method.
Content of the invention:
The present invention provides the method and apparatus of a kind of neighbor uni-cast, with the problem solving to find neighbours.
For solving above-mentioned technical problem, the present invention provides a kind of method of neighbor uni-cast, and described method includes:
First the service of connection devices encapsulation High-Level Data Link Control HDLC protocol message;Described HDLC protocol Message carries first this client information of the service of connection devices and the first the service of connection devices distal information, and described first docking sets This client information standby and the first the service of connection devices distal information carry out neighbours' judgement for described second the service of connection devices;
Described HDLC protocol message is sent to the second the service of connection devices by described first the service of connection devices.
Preferably,
Described first the service of connection devices encapsulation High-Level Data Link Control HDLC protocol message includes:
Described first this client information of the service of connection devices in HDLC protocol message described in manual configuration and described In one docking device far end information, or the self study described HDLC protocol message of configuration described first is right Connect this client information of equipment and described first the service of connection devices distal information.
Preferably,
Described first this client information of the service of connection devices in HDLC protocol message described in described manual configuration and institute State the first the service of connection devices distal information, or described the in the described HDLC protocol message of self study configuration One this client information of the service of connection devices and described first the service of connection devices distal information include:
When described first this client information of the service of connection devices in HDLC protocol message described in manual configuration and described During the first the service of connection devices distal information, described first this client information of the service of connection devices is this client information of configuration, The distal information of described first the service of connection devices is the distal information of configuration;
When described first this client information of the service of connection devices in the described HDLC protocol message of self study configuration and institute When stating the first the service of connection devices distal information, described first this client information of the service of connection devices is this client information of acquiescence, The distal information of described first the service of connection devices is the distal information or 0 of self study.
The present invention also provides a kind of method of neighbor uni-cast, and described method includes:
Second the service of connection devices receives the High-Level Data Link Control HDLC protocol report that the first the service of connection devices sends Literary composition, described HDLC protocol message carries first this client information of the service of connection devices and the first the service of connection devices far-end letter Breath;
Whether described second the service of connection devices judges described first the service of connection devices according to described HDLC protocol message Neighbours for described second the service of connection devices.
Preferably,
Whether described second the service of connection devices judges described first the service of connection devices according to described HDLC protocol message Neighbours for described second the service of connection devices include:
When described second the service of connection devices does not preserves the second the service of connection devices distal information, preserve described first right Connect this client information of equipment;Described second the service of connection devices judges the first couple that described HDLC protocol message carries Connect second this client information of the service of connection devices that device far end information and described second the service of connection devices preserve whether Causing, if unanimously, then described first the service of connection devices is the neighbours of described second the service of connection devices.
Preferably,
Whether described second the service of connection devices judges described first the service of connection devices according to described HDLC protocol message Neighbours for described second the service of connection devices include:
When described second the service of connection devices preserves the second the service of connection devices distal information, described second docking sets Set for judging that first this client information of the service of connection devices that described HDLC protocol message carries docks with described second Whether standby the second the service of connection devices distal information preserving is consistent, if unanimously, then and described first the service of connection devices Neighbours for described second the service of connection devices.
The present invention also provides the device of a kind of neighbor uni-cast, is arranged at the first the service of connection devices, described device bag Include:
Package module, is used for encapsulating High-Level Data Link Control HDLC protocol message;Described HDLC assists View message carries first this client information of the service of connection devices and the first the service of connection devices distal information, described first docking This client information of equipment and the first the service of connection devices distal information carry out neighbours for described second the service of connection devices and sentence Disconnected;
Sending module, for being sent to the second the service of connection devices by described HDLC protocol message.
Preferably,
Described package module is used for encapsulating High-Level Data Link Control HDLC protocol message and refers to:
Described first this client information of the service of connection devices in HDLC protocol message described in manual configuration and described In one docking device far end information, or the self study described HDLC protocol message of configuration described first is right Connect this client information of equipment and described first the service of connection devices distal information.
Preferably,
Described first this client information of the service of connection devices in HDLC protocol message described in described manual configuration and institute State the first the service of connection devices distal information, or described the in the described HDLC protocol message of self study configuration One this client information of the service of connection devices and described first the service of connection devices distal information refer to:
When described first this client information of the service of connection devices in HDLC protocol message described in manual configuration and described During the first the service of connection devices distal information, described first this client information of the service of connection devices is this client information of configuration, The distal information of described first the service of connection devices is the distal information of configuration;
When described first this client information of the service of connection devices in the described HDLC protocol message of self study configuration and institute When stating the first the service of connection devices distal information, described first this client information of the service of connection devices is this client information of acquiescence, The distal information of described first the service of connection devices is the distal information or 0 of self study.
The present invention also provides the device of a kind of neighbor uni-cast, is arranged at the second the service of connection devices, described device bag Include:
Receiver module, for receiving the High-Level Data Link Control HDLC protocol that the first the service of connection devices sends Message, described HDLC protocol message carries first this client information of the service of connection devices and the first the service of connection devices far-end Information;
According to described HDLC protocol message, judge module, for judging that whether described first the service of connection devices is The neighbours of described second the service of connection devices.
Preferably,
Whether described judge module is for judging described first the service of connection devices according to described HDLC protocol message Neighbours for described second the service of connection devices include:
When described second the service of connection devices does not preserves the second the service of connection devices distal information, preserve described first right Connect this client information of equipment;Described second the service of connection devices judges the first couple that described HDLC protocol message carries Connect second this client information of the service of connection devices that device far end information and described second the service of connection devices preserve whether Causing, if unanimously, then described first the service of connection devices is the neighbours of described second the service of connection devices.
Preferably,
Whether described judge module is for judging described first the service of connection devices according to described HDLC protocol message Neighbours for described second the service of connection devices include:
When described second the service of connection devices preserves the second the service of connection devices distal information, described second docking sets Set for judging that first this client information of the service of connection devices that described HDLC protocol message carries docks with described second Whether standby the second the service of connection devices distal information preserving is consistent, if unanimously, then and described first the service of connection devices Neighbours for described second the service of connection devices.
Such scheme, by being extended standard HDLC protocol message encapsulation format, solves and cannot send out The problem of existing neighbours, effectively prevent because what Member Link single-pass or interconnection mistake caused entirely gathers The problem that splice grafting port service interrupts.
Brief description
Fig. 1 is the flow chart of the method for neighbor uni-cast in the embodiment of the present invention one;
Fig. 2 is another flow chart of the method for neighbor uni-cast in the embodiment of the present invention one;
Fig. 3 is the structural representation of the device of neighbor uni-cast in the embodiment of the present invention one;
Fig. 4 is another structural representation of the device of neighbor uni-cast in the embodiment of the present invention one;
Fig. 5 is the flow chart of the method for neighbor uni-cast in the embodiment of the present invention two;
Fig. 6 is networking schematic diagram in the embodiment of the present invention two;
Fig. 7 is protocol massages form schematic diagram in the embodiment of the present invention two;
Fig. 8 is this client information and the distal information message format figure of self study in the embodiment of the present invention two;
Fig. 9 is the flow chart sending HDLC protocol message in the embodiment of the present invention two;
Figure 10 is to receive the flow chart that HDLC protocol is asked in vain in the embodiment of the present invention two.
Detailed description of the invention
Purpose, technical scheme and advantage for making the application are clearer, below in conjunction with accompanying drawing Embodiments herein is described in detail.It should be noted that in the case of not conflicting, this Shen Embodiment in please and the feature in embodiment can mutually be combined.
Embodiment one
As it is shown in figure 1, the technical problem to be solved is to provide a kind of method of neighbor uni-cast, Solve to find the problem of neighbours, from avoiding HDLC aggregated links scene, because of Member Link The transmission problem of the whole aggregation interface service disconnection that single-pass or interconnection mistake cause.
For solving above-mentioned technical problem, the present invention provides a kind of method of neighbor uni-cast, and described method includes:
Step S101: the first the service of connection devices encapsulation High-Level Data Link Control HDLC protocol message;Described HDLC protocol message carries first this client information of the service of connection devices and the first the service of connection devices distal information, described First this client information of the service of connection devices and the first the service of connection devices distal information carry out neighbours for the second the service of connection devices Judge;
Step S102: described HDLC protocol message is sent to the second the service of connection devices by the first the service of connection devices.
Wherein, described first the service of connection devices encapsulation High-Level Data Link Control HDLC protocol message specifically wraps Include:
Described first this client information of the service of connection devices in HDLC protocol message described in manual configuration and described In one docking device far end information, or the self study described HDLC protocol message of configuration described first is right Connect this client information of equipment and described first the service of connection devices distal information.
When described first this client information of the service of connection devices in HDLC protocol message described in manual configuration and described During the first the service of connection devices distal information, described first this client information of the service of connection devices is this client information of configuration, The distal information of described first the service of connection devices is the distal information of configuration;
When described first this client information of the service of connection devices in the described HDLC protocol message of self study configuration and institute When stating the first the service of connection devices distal information, described first this client information of the service of connection devices is this client information of acquiescence, The distal information of described first the service of connection devices is the distal information or 0 of self study.
As in figure 2 it is shown, the present invention also provides a kind of method of neighbor uni-cast, described method includes:
Step S103: the second the service of connection devices receives the High-Level Data Link Control that the first the service of connection devices sends HDLC protocol message, described HDLC protocol message carries first this client information of the service of connection devices and first right Connect device far end information;
Step S104: according to described HDLC protocol message, the second the service of connection devices judges that the first the service of connection devices is No is the neighbours of the second the service of connection devices.
Concrete, according to described HDLC protocol message, described second the service of connection devices judges that described first docks Whether equipment is that the neighbours of described second the service of connection devices include:
When described second the service of connection devices does not preserves the second the service of connection devices distal information, preserve described first right Connect this client information of equipment;Described second the service of connection devices judges the first couple that described HDLC protocol message carries Connect second this client information of the service of connection devices that device far end information and described second the service of connection devices preserve whether Causing, if unanimously, then described first the service of connection devices is the neighbours of described second the service of connection devices.
When described second the service of connection devices preserves the second the service of connection devices distal information, described second docking sets Set for judging that first this client information of the service of connection devices that described HDLC protocol message carries docks with described second Whether standby the second the service of connection devices distal information preserving is consistent, if unanimously, then and described first the service of connection devices Neighbours for described second the service of connection devices.
It as it is shown on figure 3, the present invention also provides the device of a kind of neighbor uni-cast, is arranged at the first the service of connection devices 1, Described device includes:
Package module 11, is used for encapsulating High-Level Data Link Control HDLC protocol message;Described HDLC Protocol massages carries first this client information of the service of connection devices and the first the service of connection devices distal information, described first right Connect this client information of equipment and the first the service of connection devices distal information carries out neighbours for described second the service of connection devices and sentences Disconnected;
Sending module 12, for being sent to the second the service of connection devices by described HDLC protocol message.
Preferably,
Described package module 11 is used for encapsulating High-Level Data Link Control HDLC protocol message and refers to:
Described first this client information of the service of connection devices in HDLC protocol message described in manual configuration and described In one docking device far end information, or the self study described HDLC protocol message of configuration described first is right Connect this client information of equipment and described first the service of connection devices distal information.
When described first this client information of the service of connection devices in HDLC protocol message described in manual configuration and described During the first the service of connection devices distal information, described first this client information of the service of connection devices is this client information of configuration, The distal information of described first the service of connection devices is the distal information of configuration;
When described first this client information of the service of connection devices in the described HDLC protocol message of self study configuration and institute When stating the first the service of connection devices distal information, described first this client information of the service of connection devices is this client information of acquiescence, The distal information of described first the service of connection devices is the distal information or 0 of self study.
As shown in Figure 4, the device of a kind of neighbor uni-cast, is arranged at the second the service of connection devices 2, described device bag Include:
Receiver module 21, for receiving the High-Level Data Link Control HDLC association that the first the service of connection devices sends View message, described HDLC protocol message carries first this client information of the service of connection devices and the first the service of connection devices is remote Client information;
Whether judge module 22, for judging described first the service of connection devices according to described HDLC protocol message Neighbours for described second the service of connection devices.
Preferably,
According to described HDLC protocol message, described judge module 22 is for judging that described first the service of connection devices is The no neighbours for described second the service of connection devices include:
When described second the service of connection devices does not preserves the second the service of connection devices distal information, preserve described first right Connect this client information of equipment;Described second the service of connection devices judges the first couple that described HDLC protocol message carries Connect second this client information of the service of connection devices that device far end information and described second the service of connection devices preserve whether Causing, if unanimously, then described first the service of connection devices is the neighbours of described second the service of connection devices.
When described second the service of connection devices preserves the second the service of connection devices distal information, described second docking sets Set for judging that first this client information of the service of connection devices that described HDLC protocol message carries docks with described second Whether standby the second the service of connection devices distal information preserving is consistent, if unanimously, then and described first the service of connection devices Neighbours for described second the service of connection devices.
Embodiment two
As it is shown in figure 5, send HDLC protocol message, the second the service of connection devices with the first the service of connection devices below As a example by receiving this HDLC protocol message, further illustrate the second the service of connection devices and judge the method for its neighbours:
Step S201: the first the service of connection devices encapsulation High-Level Data Link Control HDLC protocol message;Described HDLC protocol message carries first this client information of the service of connection devices and the first the service of connection devices distal information;
As shown in Figure 6, in network, two equipment is configured to the equipment JA(junction ambient) of point-to-point, wherein two The POS port link aggregation based on HDLC protocol encapsulation is set up, on point-to-point road between platform bridging device Set up HDLC converging channels under device equipment interconnection scene.
In the present embodiment, unlatching neighbor uni-cast function can be controlled by human configuration mode simultaneously.The One the service of connection devices would generally preserve and safeguard the relation table of this client information and distal information, such as Fig. 7 and Fig. 8 Shown in.When first the service of connection devices local terminal sends HDLC protocol message, except normal construction agreement Outside message format, the TLV field of this client information and distal information is carried in also extension, related unique mark The information announcement of local device is to far-end;
Step S202: described HDLC protocol message is sent to the second docking and sets by described first the service of connection devices Standby.
Step S202: the second the service of connection devices receives the High-Level Data Link Control that the first the service of connection devices sends HDLC protocol message, described HDLC protocol message carries first this client information of the service of connection devices and first right Connect device far end information;
When second the service of connection devices far-end receives HDLC protocol message, except resolving far-end construction Outside protocol massages form, this client information carrying in this HDLC protocol message and distal information can be parsed, This client information carrying in the HDLC protocol message that second the service of connection devices will parse and distal information and Local this client information preserving of two the service of connection devices and distal information compare, and then can determine whether the first docking Whether equipment is its neighbours previously docked;
Step S203: the second the service of connection devices receives the High-Level Data Link Control that the first the service of connection devices sends HDLC protocol message, described HDLC protocol message carries first this client information of the service of connection devices and first right Connect device far end information;
Step S204: according to described HDLC protocol message, described second the service of connection devices judges that described first is right Meet the neighbours whether equipment be described second the service of connection devices.
Concrete, according to described HDLC protocol message, described second the service of connection devices judges that described first docks Whether equipment is that the neighbours of described second the service of connection devices include:
When described second the service of connection devices does not preserves the second the service of connection devices distal information, preserve described first right Connect this client information of equipment;Described second the service of connection devices judges the first couple that described HDLC protocol message carries Connect second this client information of the service of connection devices that device far end information and described second the service of connection devices preserve whether Causing, if unanimously, then described first the service of connection devices is the neighbours of described second the service of connection devices.
When described second the service of connection devices preserves the second the service of connection devices distal information, described second docking sets Set for judging that first this client information of the service of connection devices that described HDLC protocol message carries docks with described second Whether standby the second the service of connection devices distal information preserving is consistent, if unanimously, then and described first the service of connection devices Neighbours for described second the service of connection devices;Otherwise, dropping packets, completes neighbor uni-cast detection activity.
It should be noted that the first the service of connection devices and the second the service of connection devices can exchange, the first docking Equipment and the second the service of connection devices can open neighbor uni-cast function simultaneously.Owing to HDLC is point-to-point right Connecing scene, when the first the service of connection devices and the second the service of connection devices have been switched on neighbor uni-cast function, two ends are just Can realize finding mutually neighbours, it is achieved thereby that two-way neighbor uni-cast;Otherwise, then it is recorded as extremely remote End, and record the time, dropping packets, complete neighbor uni-cast detection activity.
Additionally, in the present embodiment, whether the first the service of connection devices can configure opens neighbor uni-cast function, Second the service of connection devices also can configure whether open neighbor uni-cast function, if the second the service of connection devices or second The service of connection devices does not opens neighbor uni-cast function, then according to standard agreement Message processing.
During as it is shown in figure 9, the first the service of connection devices sends HDLC protocol message, if the first the service of connection devices Open neighbor uni-cast function, then the HDLC protocol message of structural belt extended field can be sent to far-end that is the Two the service of connection devices.HDLC protocol message wherein can carry this client information and the far-end letter of human configuration Breath, or carry this client information of acquiescence and distal information that study is arrived, this segment information of acquiescence is permissible It is the parameter that can uniquely identify the first the service of connection devices uniqueness, such as interface name interface+ host name Hostname, is that then distal information can carry is 0 to distal information without study.
As shown in Figure 10, the second the service of connection devices is when receiving HDLC protocol message, sends out if opening neighbours Existing function, this client information being preserved by this locality and distal information with in the HDLC protocol message receiving Information compares to can determine whether it is previous docking neighbours.
It is emphasized that those skilled in the art should be understood that the strategy and step covered in the present invention Suddenly can realize by general computing device, they can concentrate in single computing device, or Being distributed on the network that multiple computing device is formed, alternatively, they can be able to be performed by computing device Program code realize, such that it is able to be stored in storage device in performed by computing device, Or they are fabricated to respectively each integrated circuit modules, or by the multiple module in them or step It is fabricated to single integrated circuit module to realize.So, the present invention be not restricted to any specific hardware and Software combines.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for this For the technical staff in field, the present invention can have various modifications and variations.All spirit in the present invention and Within principle, any modification, equivalent substitution and improvement etc. made, should be included in the protection of the present invention Within the scope of.One of ordinary skill in the art will appreciate that all or part of step in said method can be led to Program of crossing completes to instruct related hardware, and described program can be stored in computer-readable recording medium, Such as read-only storage, disk or CD etc..Alternatively, all or part of step of above-described embodiment also may be used To use one or more integrated circuit to realize, correspondingly, each module/module in above-described embodiment can To use the form of hardware to realize, it would however also be possible to employ the form of software function module realizes.The application does not limits It is formed on the combination of the hardware and software of any particular form.

Claims (12)

1. the method for a neighbor uni-cast, it is characterised in that described method includes:
First the service of connection devices encapsulation High-Level Data Link Control HDLC protocol message;Described HDLC protocol Message carries first this client information of the service of connection devices and the first the service of connection devices distal information, and described first docking sets This client information standby and the first the service of connection devices distal information carry out neighbours' judgement for described second the service of connection devices;
Described HDLC protocol message is sent to the second the service of connection devices by described first the service of connection devices.
2. the method for claim 1, it is characterised in that:
Described first the service of connection devices encapsulation High-Level Data Link Control HDLC protocol message includes:
Described first this client information of the service of connection devices in HDLC protocol message described in manual configuration and described In one docking device far end information, or the self study described HDLC protocol message of configuration described first is right Connect this client information of equipment and described first the service of connection devices distal information.
3. method as claimed in claim 2, it is characterised in that:
Described first this client information of the service of connection devices in HDLC protocol message described in described manual configuration and institute State the first the service of connection devices distal information, or described the in the described HDLC protocol message of self study configuration One this client information of the service of connection devices and described first the service of connection devices distal information include:
When described first this client information of the service of connection devices in HDLC protocol message described in manual configuration and described During the first the service of connection devices distal information, described first this client information of the service of connection devices is this client information of configuration, The distal information of described first the service of connection devices is the distal information of configuration;
When described first this client information of the service of connection devices in the described HDLC protocol message of self study configuration and institute When stating the first the service of connection devices distal information, described first this client information of the service of connection devices is this client information of acquiescence, The distal information of described first the service of connection devices is the distal information or 0 of self study.
4. the method for a neighbor uni-cast, it is characterised in that described method includes:
Second the service of connection devices receives the High-Level Data Link Control HDLC protocol report that the first the service of connection devices sends Literary composition, described HDLC protocol message carries first this client information of the service of connection devices and the first the service of connection devices far-end letter Breath;
Whether described second the service of connection devices judges described first the service of connection devices according to described HDLC protocol message Neighbours for described second the service of connection devices.
5. method as claimed in claim 4, it is characterised in that:
Whether described second the service of connection devices judges described first the service of connection devices according to described HDLC protocol message Neighbours for described second the service of connection devices include:
When described second the service of connection devices does not preserves the second the service of connection devices distal information, preserve described first right Connect this client information of equipment;Described second the service of connection devices judges the first couple that described HDLC protocol message carries Connect second this client information of the service of connection devices that device far end information and described second the service of connection devices preserve whether Causing, if unanimously, then described first the service of connection devices is the neighbours of described second the service of connection devices.
6. method as claimed in claim 4, it is characterised in that:
Whether described second the service of connection devices judges described first the service of connection devices according to described HDLC protocol message Neighbours for described second the service of connection devices include:
When described second the service of connection devices preserves the second the service of connection devices distal information, described second docking sets Set for judging that first this client information of the service of connection devices that described HDLC protocol message carries docks with described second Whether standby the second the service of connection devices distal information preserving is consistent, if unanimously, then and described first the service of connection devices Neighbours for described second the service of connection devices.
7. a device for neighbor uni-cast, is arranged at the first the service of connection devices, it is characterised in that described device Including:
Package module, is used for encapsulating High-Level Data Link Control HDLC protocol message;Described HDLC assists View message carries first this client information of the service of connection devices and the first the service of connection devices distal information, described first docking This client information of equipment and the first the service of connection devices distal information carry out neighbours for described second the service of connection devices and sentence Disconnected;
Sending module, for being sent to the second the service of connection devices by described HDLC protocol message.
8. device as claimed in claim 7, it is characterised in that:
Described package module is used for encapsulating High-Level Data Link Control HDLC protocol message and refers to:
Described first this client information of the service of connection devices in HDLC protocol message described in manual configuration and described In one docking device far end information, or the self study described HDLC protocol message of configuration described first is right Connect this client information of equipment and described first the service of connection devices distal information.
9. device as claimed in claim 8, it is characterised in that:
Described first this client information of the service of connection devices in HDLC protocol message described in described manual configuration and institute State the first the service of connection devices distal information, or described the in the described HDLC protocol message of self study configuration One this client information of the service of connection devices and described first the service of connection devices distal information refer to:
When described first this client information of the service of connection devices in HDLC protocol message described in manual configuration and described During the first the service of connection devices distal information, described first this client information of the service of connection devices is this client information of configuration, The distal information of described first the service of connection devices is the distal information of configuration;
When described first this client information of the service of connection devices in the described HDLC protocol message of self study configuration and institute When stating the first the service of connection devices distal information, described first this client information of the service of connection devices is this client information of acquiescence, The distal information of described first the service of connection devices is the distal information or 0 of self study.
10. a device for neighbor uni-cast, is arranged at the second the service of connection devices, it is characterised in that described dress Put and include:
Receiver module, for receiving the High-Level Data Link Control HDLC protocol that the first the service of connection devices sends Message, described HDLC protocol message carries first this client information of the service of connection devices and the first the service of connection devices far-end Information;
According to described HDLC protocol message, judge module, for judging that whether described first the service of connection devices is The neighbours of described second the service of connection devices.
11. devices as claimed in claim 10, it is characterised in that:
Whether described judge module is for judging described first the service of connection devices according to described HDLC protocol message Neighbours for described second the service of connection devices include:
When described second the service of connection devices does not preserves the second the service of connection devices distal information, preserve described first right Connect this client information of equipment;Described second the service of connection devices judges the first couple that described HDLC protocol message carries Connect second this client information of the service of connection devices that device far end information and described second the service of connection devices preserve whether Causing, if unanimously, then described first the service of connection devices is the neighbours of described second the service of connection devices.
12. devices as claimed in claim 10, it is characterised in that:
Whether described judge module is for judging described first the service of connection devices according to described HDLC protocol message Neighbours for described second the service of connection devices include:
When described second the service of connection devices preserves the second the service of connection devices distal information, described second docking sets Set for judging that first this client information of the service of connection devices that described HDLC protocol message carries docks with described second Whether standby the second the service of connection devices distal information preserving is consistent, if unanimously, then and described first the service of connection devices Neighbours for described second the service of connection devices.
CN201510083959.0A 2015-02-15 2015-02-15 Neighbor discovery method and device Active CN105991448B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510083959.0A CN105991448B (en) 2015-02-15 2015-02-15 Neighbor discovery method and device
PCT/CN2015/086126 WO2016127599A1 (en) 2015-02-15 2015-08-05 Neighbor discovering method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510083959.0A CN105991448B (en) 2015-02-15 2015-02-15 Neighbor discovery method and device

Publications (2)

Publication Number Publication Date
CN105991448A true CN105991448A (en) 2016-10-05
CN105991448B CN105991448B (en) 2020-06-26

Family

ID=56614045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510083959.0A Active CN105991448B (en) 2015-02-15 2015-02-15 Neighbor discovery method and device

Country Status (2)

Country Link
CN (1) CN105991448B (en)
WO (1) WO2016127599A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565080A (en) * 2020-12-02 2021-03-26 北京邮电大学 Neighbor establishing method and device with open shortest path first

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1280450A (en) * 1999-07-09 2001-01-17 现代电子产业株式会社 Transmit-receiver base station of digit mobile communication system
CN1859304A (en) * 2006-02-13 2006-11-08 华为技术有限公司 Method for realizing neighbour discovery
CN101938477A (en) * 2010-08-31 2011-01-05 中山大学 Method for implementing XML data information exchange
CN102223278A (en) * 2011-05-17 2011-10-19 中兴通讯股份有限公司 Realization method and system for enabling LLDP function on non-Ethernet link
CN103227733A (en) * 2013-04-27 2013-07-31 神州数码网络(北京)有限公司 Topology discovery method and topology discovery system
WO2014125337A1 (en) * 2013-02-15 2014-08-21 Freescale Semiconductor, Inc. Apparatus, system and method for controlling packet data flow

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8532095B2 (en) * 2005-11-18 2013-09-10 Cisco Technology, Inc. Techniques configuring customer equipment for network operations from provider edge

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1280450A (en) * 1999-07-09 2001-01-17 现代电子产业株式会社 Transmit-receiver base station of digit mobile communication system
CN1859304A (en) * 2006-02-13 2006-11-08 华为技术有限公司 Method for realizing neighbour discovery
CN101938477A (en) * 2010-08-31 2011-01-05 中山大学 Method for implementing XML data information exchange
CN102223278A (en) * 2011-05-17 2011-10-19 中兴通讯股份有限公司 Realization method and system for enabling LLDP function on non-Ethernet link
WO2014125337A1 (en) * 2013-02-15 2014-08-21 Freescale Semiconductor, Inc. Apparatus, system and method for controlling packet data flow
CN103227733A (en) * 2013-04-27 2013-07-31 神州数码网络(北京)有限公司 Topology discovery method and topology discovery system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565080A (en) * 2020-12-02 2021-03-26 北京邮电大学 Neighbor establishing method and device with open shortest path first
CN112565080B (en) * 2020-12-02 2022-01-25 北京邮电大学 Neighbor establishing method and device with open shortest path first

Also Published As

Publication number Publication date
WO2016127599A1 (en) 2016-08-18
CN105991448B (en) 2020-06-26

Similar Documents

Publication Publication Date Title
JP5213854B2 (en) Connectivity fault management (CFM) in networks with link aggregation group connections
US20090232152A1 (en) Method and apparatus for aggregating ports
US20150261650A1 (en) Method and system for implementing remote debugging
WO2016086890A1 (en) Method and device for detecting connectivity
US20200044964A1 (en) Defect detection in ip/mpls network tunnels
KR20170038870A (en) Service data transmission method and device
CN103248567B (en) A kind of BFD session message transmitting method and equipment
WO2016124117A1 (en) Method, switching device and network controller for protecting links in software-defined network (sdn)
US20210306206A1 (en) System for implementing a data protocol enabled application
CN105991448A (en) Neighbor discovery method and device
CN102404143A (en) Method for processing port failures based on LACP and LACP terminal
CN104168121A (en) Port protection method of PSE and PSE
CN104394075A (en) Message transmission method and equipment
CN103607301B (en) The protection switching method and equipment of link failure under a kind of ECMP modes
CN101262438B (en) L2 packet forward method for a switch
KR20210037178A (en) System and method for supporting between heterogeneous networks communication using unidirectional communication
CN104636210B (en) A kind of method and device for realizing Data Exchange
CN114640626B (en) Communication system and method based on software defined wide area network SD-WAN
CN107959626A (en) Communication means, the apparatus and system of data center
CN101795216B (en) Method and equipment for resetting watch dog in multi-hop bidirectional forwarding detection (BFD)
CN104320333B (en) A kind of method and apparatus for detecting asymmetric static polymerization
CN108337162A (en) System and method for supporting dual-homing protection
CN104219126B (en) A kind of Auto-learning Method and equipment having subring agreement VLAN under virtual channel mode
CN103825767B (en) The implementation method and bridge of service quality
CN103974454A (en) Transmitting direct mode communication apparatus, receiving direct mode communication apparatus and communication path switching method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant