LLDP (link layer discovery protocol) massage processing method and device
A processing method and message technology, applied in the field of network communication, can solve the problem of data space waste, and achieve the effect of saving data space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] The method for processing LLDP packets in Embodiment 1 of the present application may be performed by any network device capable of running LLDP, and this application does not limit it. Such as figure 2 As shown, the method includes the following steps:
[0047] Step S202, pre-defining STY (Same Type, same type) TLV, STY TLV means the same as the TLV type of the previous TLV, that is, the STY TLV is the same as the TLV type of the TLV immediately before the TLV in the LLDP message where it is located ;Such as Figure 4 As shown, the STY TLV is composed of TLV header and TLV information field. Among them, the TLV header is composed of Type field and Length field. The meaning of each field is explained as follows:
[0048] Type field: used to indicate the type of this TLV. When the value of the Type field is set to the first value, it means that this TLV is a STY TLV; in the actual implementation process, the first value can be 125, for example, and the length of the T...
Embodiment 2
[0069] The method in the first embodiment above may also include the following steps:
[0070] Step S402, pre-define CONT (Continue, continue) TLV, CONT TLV indicates that the information data carried by this TLV is the follow-up information data immediately following the information data carried by the previous TLV;
[0071] For example, if the previous TLV of the CONT TLV is the CDCP TLV, then the information data carried by the CONT TLV is the subsequent information data immediately after the information data carried by the CDCP TLV.
[0072] In the actual implementation process, such as Figure 5 As shown, the CONT TLV is composed of TLV header and TLV information field. Among them, the TLV header is composed of Type field and Length field. The meaning of each field is explained as follows:
[0073] Type field: used to indicate the type of this TLV. When the value of the Type field is set to the second value, it means that this TLV is CONT TLV; in the actual implementatio...
Embodiment 3
[0091] With regard to the methods in Embodiment 1 and Embodiment 2 above, this embodiment of the present application provides an apparatus for processing LLDP packets to which the method can be applied.
[0092] Such as Figure 7 As shown, the following modules are included in the processing device: a definition module 10, a judgment module 20, a construction module 30 and a sending module 40, wherein:
[0093] The definition module 10 is used to predefine the STY TLV, the STY TLV represents the same TLV type as the previous TLV, and the STY TLV is composed of a TLV header and a TLV information field;
[0094] The judging module 20 is used to determine that each of the N information data to be sent needs a first TLV to carry when the information data is to be sent, wherein the first TLV is composed of an extended TLV header and a TLV information field Composition, and it is allowed to carry more than two consecutive first TLVs in one LLDP message, N is a natural number greate...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
