Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for processing lldp messages

A processing method and message technology, applied in the field of network communication, can solve the problems of portability, waste of message space, inability to publish multiple LLDP messages, etc.

Active Publication Date: 2017-02-15
NEW H3C TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0019] The present application provides a method and device for processing LLDP messages, aiming to solve the problem in the prior art that each LLDP message released carries exactly the same information data, resulting in a waste of message space. And, when there are too many information data to be published and it is impossible to carry all the information data to be published in one LLDP message, the problem that it cannot be published in multiple LLDP messages

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for processing lldp messages
  • Method and device for processing lldp messages
  • Method and device for processing lldp messages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] The method in the embodiment of the present application may be executed by any LLDP-enabled device. For convenience of description, the device executing the method in the embodiment of the present application is referred to as a local device. The local device will periodically release the information data of the device to the neighbor devices, wherein the information data released is composed of information data corresponding to different TLV types. When publishing, the data information of different TLV types will constitute different TLVs. Encapsulate these TLVs into LLDP packets and send them to neighboring devices.

[0048] Such as figure 1 As shown, the processing method of the LLDP message of the embodiment of the present application includes the following steps:

[0049] Step S102, predefine KEEP (keep) TLV;

[0050] Among them, the KEEP TLV can be a basic TLV type, which is used to carry the TLV type corresponding to the information data released this time that...

Embodiment 2

[0097] Taking the following application scenario one as an example, the method in the first embodiment above is described in detail.

[0098] Application Scenario 1: Device 1 and all its neighbors are new devices, and Device 1 periodically publishes its own device information to neighbors through LLDP packets. Assume that the information data that device 1 needs to publish for the first time is recorded as A+B+C, and because the network is relatively stable, the information data that needs to be released for the second time is recorded as A+B+C'.

[0099] At this point, the steps to be performed are as follows:

[0100] Step S302, when the information data needs to be released for the first time, the device 1 assembles the information data A+B+C that needs to be released for the first time into multiple TLVs of different TLV types;

[0101] Step S304, device 1 constructs a KEEP TLV, and sets the value of the BasicTLVNum field and the value of the OrgTLVNum field in the KEEP T...

Embodiment 3

[0109] Taking the following application scenario two as an example, the method in the foregoing embodiment one is described in detail.

[0110] Application Scenario 2: Device 1 and its neighbors are new devices, and Device 1 periodically publishes its own device information data to neighbors through LLDP packets. Assume that the information data to be published by device 1 is too long to be carried in one LLDP packet, and the information data is recorded as A+B+C+D.

[0111] At this point, the steps to be performed are as follows:

[0112] Step S402, since the information data A+B+C+D to be released cannot be carried in one LLDP message, then assemble part of the information data A+B into a plurality of TLVs of different TLV types, and set the BasicTLVNum field in the KEEP TLV and OrgTLVNum fields are set to 0, and the KEEP TLV (that is, the initial KEEP TLV) and these assembled TLVs are encapsulated into an LLDP message and sent to the neighbor device;

[0113] Step S404, a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an LLDP (Link Layer Discovery Protocol) message processing method and device. The method comprises the steps of preliminarily defining a KEEP TLV (Type Length Value), wherein the KEEP TLV is used for carrying a TLV type meeting a preset condition and corresponding to information data issued this time, and the preset condition comprises the content that information data corresponding to the TLV type in the information data issued this time is same as information data corresponding to the TLV type in information data issued last time; when the information data is to be issued, comparing the information data issued this time with the information data issued last time; if the information data corresponding to the same TLV type in the information data issued this time and the information data issued last time is the same, adding the TLV type into the KEEP TLV, and deleting the information data corresponding to the TLV type in the information data issued this time; packaging the KEEP TLV and the TLV into an LLDP message, and sending the LLDP message, wherein the TLV carries residual information data in the information data issued this time.

Description

technical field [0001] The present application relates to the technical field of network communication, in particular to a method and device for processing LLDP messages. Background technique [0002] At present, there are more and more types of network communication devices and their respective configurations are intricate. In order to enable devices from different manufacturers to discover each other and exchange their own system configuration information in the network, a standard information exchange platform is required. LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol) was produced under such a background. It provides a standard link layer discovery method, which can combine the main capabilities, management addresses, device identifiers and Interface identification and other information are organized into different TLVs (Type Length Value, type length value), and encapsulated in LLDPDU (Link Layer Discovery Protocol Data Unit, Link Layer Discovery Pr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/70
CPCY02D30/00
Inventor 徐鹏飞
Owner NEW H3C TECH CO LTD