Method and device for processing message
A packet processing and packet technology, applied in the field of network communication, can solve the problems of waste of LSP label resources, LSP cannot share multiple services, etc., to save label resources and improve network performance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] The embodiment of the present invention provides a message processing method, see figure 1 , the method includes:
[0038] 101: receiving service packets transmitted in the network;
[0039] 102: Obtain the outer label and inner label in the message;
[0040] 103: Find a matching node operation according to the inner label; or find a matching node operation based on the inner label and outer label; if a matching node operation is found, execute 104; if no matching node operation is found, execute 105.
[0041] 104: The message is processed according to the operation of the node, and the process ends.
[0042] 105: The message is forwarded according to the outer label, and the process ends.
[0043] The embodiment of the present invention processes the message according to the outer label and the inner label of the service message, realizes receiving services from different nodes on the same transmission path, saves label resources, and improves network performance. ...
Embodiment 2
[0045] The embodiment of the present invention provides a message processing method, the method includes: use the outer label and the inner label to process the service message in the network, the outer label is used to forward the service message; the inner label is used to to differentiate between different businesses. Specifically, in different networks, different outer labels and inner labels may be selected. For example, in an MPLS network, the LSP label can be selected as the inner label, and the PW label can be selected as the inner label. In VLAN, you can select the outer VLAN tag as the outer tag, and the inner VLAN tag as the inner tag.
[0046] Before packet processing, the following preparation steps are required:
[0047] Pre-configure the processing table items in each node of the network, specifically: determine the corresponding outer label and inner label of each service message in the network according to the preset mapping relationship between the service ...
Embodiment 3
[0070] The embodiment of the present invention provides a message processing method in a ring network, and on this basis, further proposes a service protection method in the ring network message processing process.
[0071] The message processing method provided by the embodiment of the present invention is the same as Embodiment 2, and is specifically applied to a ring network, such as an MPLS ring network. In this MPLS ring network, the outer label can be an LSP label, and the inner label can be Label for the PW.
[0072] Before packet processing, the following preparation steps are required:
[0073] In the MPLS ring network, configure two closed-loop LSPs in opposite directions. Both closed-loops include all nodes in the ring network. The two closed-loop LSPs configured can be two ring LSPs with opposite directions or two bidirectional ring LSPs. .
[0074] Specifically, take a ring network composed of six nodes A, B, C, D, E, and F as an example. In the ring network, co...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com