Message processing method, related equipment and computer readable storage medium

A technology of message processing and computer programs, applied in the field of communication, can solve problems such as no effective technical solutions, inability to identify different business flows, etc., and achieve the effect of QoS performance guarantee

CN107181663AInactive Publication Date: 2017-09-19LENOVO (BEIJING) CO LTD
5 Cites 37 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2017-09-19
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a message processing method, related equipment and computer readable storage medium. The method comprises the steps that: a first switch searches a table item of a first service flow corresponding to a data message in a flow table; the table item corresponding to the first service flow at least comprises generic routing encapsulation (GRE) tunnel information of the first service flow and flow label information for identifying the first service flow; the searched table item is used, and the data message is encapsulated into a GRE message; and the GRE message is forwarded to a quality of service (QoS) port queue corresponding to the first service flow so as to emit the GRE message, wherein the GRE message at least carries the flow label information.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the communication field, in particular to a message processing method, related equipment and a computer-readable storage medium. Background technique

[0002] Generic Routing Encapsulation (GRE, Generic Routing Encapsulation) technology is a tunneling technology, such as figure 1 As shown, this technology can establish a virtual Internet Protocol (IP, Internet Protocol) connection between two tunnel endpoints, and encapsulate the original data packet into a new tunnel packet, thereby realizing the expansion of the two-layer network and the two-layer overlay Network creation. When using GRE technology to transmit data, since the service flow is encapsulated in the tunnel, different service flows cannot be identified during transmission, so end-to-end QoS (Quality of Service) control cannot be provided for different services in the tunnel. For this problem, there is no effective solution in related technologies. Conte...

Examples

Embodiment 1

[0075] An embodiment of the present invention provides a message processing method, which is applied to a first switch, such as figure 2 As shown, the method includes:

[0076] Step 201: Find the entry of the first service flow corresponding to the data message in the flow table;

[0077] Here, the entry corresponding to the first service flow includes at least GRE tunnel information of the first service flow and flow label information used to identify the first service flow.

[0078] In actual application, the SDN controller allocates flow label information and GRE tunnel information for the first service flow, and sends the label information and GRE tunnel information of the first service flow to the GRE tunnel that transmits the first service flow. The source switch and the intermediate switch, so that the source switch and the intermediate switch set the entry of the flow table.

[0079] In an embodiment, when the entry of the first service flow corresponding to the dat...

Embodiment 2

[0101] An embodiment of the present invention provides a message processing method, which is applied to a first switch, such as Figure 5 As shown, the method includes:

[0102] Step 501: judging whether the received information is a data message, and obtaining the judging result;

[0103] Step 502: When the judgment result indicates that the received information is a data packet, look up the entry of the first service flow corresponding to the data packet in the first table;

[0104] That is to say, when the received information is a data packet, the entry of the first service flow corresponding to the data packet is searched in the flow table. When the received information is a control message, perform corresponding operations according to the type of the message. For example, when the message type is a flow table configuration message, configure the entries of the flow table according to the information indicated by the flow table configuration message. When When the mess...

Embodiment 3

[0129] The embodiment of the present invention provides a message processing method, which is applied to the SDN controller, such as Image 6 As shown, the method includes:

[0130] Step 601: Receive a data packet sent by the first switch;

[0131] Step 602: Look up the entry corresponding to the first service flow corresponding to the received data packet in the flow label mapping table;

[0132] Wherein, the entry corresponding to the first service flow includes at least GRE tunnel information and flow label information used to identify the first service flow.

[0133] In practical applications, the network administrator will configure the SDN controller with the service-level agreement (SLA, Service-Level Agreement) requirements of the first service flow, and the SDN controller will set the flow label according to the SLA requirements of the first service flow Entries of the mapping table.

[0134] Specifically, the SDN controller generates label information of the first...