WO2015074550A1 - Procédé de traitement de service de réseau, adaptateur et système de traitement de service de réseau - Google Patents

Procédé de traitement de service de réseau, adaptateur et système de traitement de service de réseau Download PDF

Info

Publication number
WO2015074550A1
WO2015074550A1 PCT/CN2014/091491 CN2014091491W WO2015074550A1 WO 2015074550 A1 WO2015074550 A1 WO 2015074550A1 CN 2014091491 W CN2014091491 W CN 2014091491W WO 2015074550 A1 WO2015074550 A1 WO 2015074550A1
Authority
WO
WIPO (PCT)
Prior art keywords
network service
packet
service node
adapter
field
Prior art date
Application number
PCT/CN2014/091491
Other languages
English (en)
Chinese (zh)
Inventor
周洪
李峰
殷悦
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015074550A1 publication Critical patent/WO2015074550A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1033Signalling gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities

Definitions

  • the present invention relates to the field of communications, and in particular, to a network service processing method, an adapter, and a network service processing system.
  • Network communication is a process of parsing packets according to the protocol of network packets.
  • Different network services may correspond to different packet structures.
  • different network services such as load balancing services, firewall services, or intrusion detection services, etc.
  • a dedicated network service node is usually required for service processing. In order to adapt to different packets, the network service node needs to be constantly changed, so that the network service node cannot focus on the service itself.
  • the embodiment of the invention provides a network service processing method, which can simplify the network service node and focus on the service processing.
  • a first aspect of the present invention provides a network service processing method, including:
  • the adapter receives the first message sent from the network device
  • the adapter processes the first packet according to the first adaptation rule, and forms a second packet that can be processed by the network service node.
  • the first adaptation rule includes: deleting the first performance rule according to the performance of the network service node. A field in the message that is not supported by the network service node or a field that needs to be blocked to the network service node, or a field in the first packet that does not need to be processed by the network service node, or a network service that is not included in the first packet but is added A field that must be available when a node performs business processing;
  • the adapter sends the second packet to the network service node for service processing.
  • the first packet is processed by the adapter according to the first adaptation rule, and the second packet that can be processed by the network service node is formed.
  • the second packet that can be processed by the network service node is formed.
  • the adapter receives a first adaptation rule sent from a network service controller.
  • the network service processing method further includes:
  • the adapter processes the return packet according to the second adaptation rule to form a third packet for the adapter to forward;
  • the second adaptation rule includes: adding the first suitable in the return packet A field that is not supported by the network service node deleted in the rule, or a field that needs to be masked to the network service node deleted in the first adaptation rule, or a network service node that is not required to be modified in the first packet.
  • the returning packet is processed by the adapter according to a second adaptation rule to form an adapter.
  • the third packet is forwarded, it also includes:
  • the adapter receives a second adaptation rule sent from a network service controller.
  • a second aspect of the invention provides an adapter, the adapter comprising:
  • a first receiving module configured to receive a first packet sent from a network device
  • the first processing module is configured to process the first packet according to the first adaptation rule to form a second packet that can be processed by the network service node, where the first adaptation rule includes: according to the network service node The performance of deleting the field that is not supported by the network service node in the first packet or the field that needs to be blocked to the network service node, or modifying the field in the first packet that does not need to be processed by the network service node, or adding the first packet However, the network service node must have a field for business processing;
  • the first sending module is configured to send the second packet to a network service node for service processing.
  • the adapter further includes:
  • the second receiving module is configured to receive a first adaptation rule sent from the network service controller.
  • the adapter further includes:
  • a third receiving module configured to receive, after the network service node performs service processing on the second packet, Return message
  • a second processing module configured to process the returned packet according to the second adaptation rule to form a third packet for forwarding by the adapter; and the second adaptation rule includes: adding the a field that is not supported by the network service node deleted in the first adaptation rule, or a field that needs to be blocked to the network service node deleted in the first adaptation rule, or the first message is modified in the return message.
  • the second receiving module is further configured to receive a second adaptation rule that is sent from the network service controller. .
  • a third aspect of the present invention provides a network service processing system, where the network service processing system includes: a network service controller, a network device, an adapter, and a network service node, where
  • the network service controller is configured to send a first adaptation rule to the adapter, where the first adaptation rule includes: deleting a field that is not supported by the network service node in the first packet according to the performance of the network service node Or a field that needs to be blocked to the network service node, or a field in the first packet that does not need to be processed by the network service node, or a field that is not included in the first packet but that is required to be processed by the network service node;
  • the network device is configured to send a first packet to the adapter
  • the adapter is configured to receive the first adaptation rule sent from a network service controller, and receive a first packet sent from a network device, and compare the first packet according to the first adaptation rule.
  • the packet is processed to form a second packet that can be processed by the network service node, and the second packet is sent to the network service node for service processing;
  • the network service node is configured to perform service processing on the second packet sent by the adapter.
  • the network service node is further configured to perform a service processing on the second packet to generate a return packet, and send the return packet to the Adapter
  • the network service controller is further configured to send a second adaptation rule to the adapter, where the second adaptation rule includes: adding, in the return message, the deleted in the first adaptation rule A field that is not supported by the network service node, or a field that is deleted in the first adaptation rule and needs to be blocked to the network service node, or a network service node that does not need to be modified in the first packet.
  • the adapter is further configured to receive the second adaptation rule sent from a network service controller, and receive a return message generated by a network service node, and send the return message according to the second adaptation rule. Processing is performed to form a third message for the adapter to forward.
  • the first packet to be sent to the network service node is processed by the adapter to form a second packet that can be processed by the network service node, so that the network service node can focus on Business processing.
  • FIG. 1 is a schematic flowchart of a network service processing method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of another network service processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an adapter according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another adapter according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of still another adapter according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a network service processing system according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a packet including an SR field according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of an interaction process when the network service processing system shown in FIG. 6 performs network service processing on a packet of the structure shown in FIG. 7;
  • FIG. 9 is a schematic structural diagram of another network service processing system according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a packet including a source MAC field and a destination MAC field according to an embodiment of the present disclosure
  • FIG. 11 is a schematic diagram of an interaction process when the network service processing system shown in FIG. 9 performs network service processing on a packet of the structure shown in FIG. 10;
  • FIG. 12 is a schematic structural diagram of still another network service processing system according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of a packet including a VLAN ID field according to an embodiment of the present disclosure
  • FIG. 14 is a schematic diagram showing the interaction process when the network service processing system shown in FIG. 12 performs network service processing on the packet of the structure shown in FIG. 13;
  • FIG. 15 is a schematic structural diagram of still another network service processing system according to an embodiment of the present disclosure.
  • FIG. 16 is a schematic diagram of the interaction process when the network service processing system shown in FIG. 15 performs network service processing on the packet of the structure shown in FIG. 13;
  • FIG. 17 is a schematic diagram of another interaction process when the network service processing system shown in FIG. 6 performs network service processing.
  • the network device is configured to send a first packet to an adapter, where the network device may be a router or a switch.
  • the network service controller is configured to send an adaptation rule for processing the first packet or the returned packet according to the characteristics of the network service node, where the network service controller may be a server, a PC, a virtual machine, or a virtual container ( For example, Linux Containers and other devices, the adapter is used to process the received first packet or the returned packet according to the adaptation rule.
  • the adapter may be a router, a switch, a server, a PC, or a virtual machine;
  • the network service node may be a server, a PC, a virtual machine, or a virtual container (such as Linux Containers), after processing the received message or forwarding the processed result to generate a return message.
  • the network service processing method includes:
  • the adapter receives the first packet sent from the network device.
  • the first message may include a field that is not supported by the network service node, or a field that needs to be blocked to the network service node, or a field that does not need to be processed by the network service node, and the first report.
  • the text may be missing from the network service node for business processing.
  • the field that does not need to be processed by the network service node includes the field for network service. The node can handle it, but in order to simplify the network service node, the network service node does not process the field, and the field is processed by other devices such as an adapter.
  • the adapter processes the first packet according to the first adaptation rule to form a second packet that can be processed by the network service node.
  • the first adaptation rule includes: performing performance according to the network service node. Deleting a field that is not supported by the network service node in the first packet or a field that needs to be blocked to the network service node, or modifying a field in the first packet that does not need to be processed by the network service node, or adding a field that is not in the first packet but A field that must be available when a network service node performs business processing.
  • the method further includes: the adapter receiving the slave network service controller The first adaptation rule sent.
  • the adapter sends the second packet to the network service node for service processing.
  • the first packet to be sent to the network service node is processed by the adapter to form a second packet that can be processed by the network service node, so that the network service node can focus on the service processing and simplify the network service node.
  • FIG. 2 is a schematic flowchart of another network service processing method according to the present invention.
  • a network service node performs a service processing on a second packet to generate a return packet.
  • the network service processing method includes the following steps:
  • the adapter receives the first packet sent from the network device.
  • the first message may include a field that is not supported by the network service node, or a field that needs to be blocked to the network service node, or a field that does not need to be processed by the network service node, and the first report.
  • the text may be missing from the network service node for business processing.
  • the field that does not need to be processed by the network service node includes the field that can be processed by the network service node, but in order to simplify the network service node, the network service node does not process the field, and other devices For example, the adapter processes the field.
  • the adapter processes the first packet according to the first adaptation rule, and forms a second packet that can be processed by the network service node.
  • the first adaptation rule includes: performing performance according to the network service node. Deleting a field that is not supported by the network service node in the first packet or a field that needs to be blocked to the network service node, or modifying a field in the first packet that does not need to be processed by the network service node, or According to the performance of the network service node, a field that is not included in the first packet but is required to be processed by the network service node in the first packet is added in the first packet.
  • the method further includes: the adapter receiving the slave network service controller The first adaptation rule sent.
  • the adapter sends the second packet to the network service node for service processing.
  • the first packet to be sent to the network service node is processed by the adapter to form a second packet that can be processed by the network service node, so that the network service node can focus on the service processing.
  • the adapter receives a return message generated by the network service node after performing service processing on the second packet.
  • the network service node generates a return message after performing the service processing on the second packet, and when the return message needs to be returned, the network service node sends the return message to the adapter.
  • the adapter processes the return packet according to the second adaptation rule to form a third packet for the adapter to forward.
  • the second adaptation rule includes: adding the first packet to the return packet. a field that is not supported by the network service node deleted in an adaptation rule, or a field that needs to be blocked to the network service node deleted in the first adaptation rule, or modified in the first packet, in the return message A field that needs to be processed by the network service node, or a field that is not included in the first packet added in the first adaptation rule but must be available when the network service node performs service processing.
  • the method further includes:
  • the adapter receives a second adaptation rule sent from a network service controller.
  • the adapter may further forward the third packet to a network device or other network device that sends the first packet.
  • the network relay device such as a switch, can be used to receive the first processed second packet sent by the adapter, and forward the second packet to the network service.
  • the node receives the third packet sent by the adapter and forwards the third packet to the network device.
  • the network relay device can also be used to receive the packet sent by the network device, send the packet to the adapter, or forward the return packet sent by the adapter to the network device.
  • the forwarding mode is not limited to the foregoing forwarding format, and may be in other forms as long as the forwarding of the packet or the returned packet can be implemented. .
  • the first packet is processed by the adapter to form a second packet that can be processed by the network service node, so that the network service node can focus on the service processing and simplify the network service node.
  • FIG. 3 is a schematic structural diagram of an adapter 1 according to an embodiment of the present invention, including:
  • the first receiving module 11 is configured to receive the first packet sent from the network device.
  • the first processing module 12 is configured to process the first packet according to the first adaptation rule to form a second packet that can be processed by the network service node.
  • the first sending module 13 is configured to send the second packet to a network service node for service processing.
  • the adapter may further include: a second receiving module 14 configured to receive the first adaptation rule sent from the network service controller.
  • the first adaptation rule includes: deleting a field that is not supported by the network service node in the first packet or a field that needs to be blocked to the network service node according to the performance of the network service node, or modifying the network service node that is not required in the first packet.
  • the field that does not need to be processed by the network service node includes the field that can be processed by the network service node, but in order to simplify the network service node, the network service node does not process the field, and other devices For example, the adapter processes the field.
  • the second packet that can be processed by the network service node is formed, so that the network service node can focus on the service processing and simplify the network service node.
  • FIG. 4 is another schematic structural diagram of an adapter according to an embodiment of the present invention.
  • the adapter 2 includes:
  • the first receiving module 21 is configured to receive the first packet sent from the network device.
  • the first processing module 22 is configured to process the first packet according to the first adaptation rule to form a second packet that can be processed by the network service node, where the first adaptation rule includes: according to the network service
  • the performance of the node deletes the field in the first packet that is not supported by the network service node or needs to be sent to the network service.
  • the first sending module 23 is configured to send the second packet to a network service node for service processing
  • a second receiving module 24 configured to receive a first adaptation rule and a second adaptation rule sent from a network service controller
  • the third receiving module 25 is configured to receive a return message generated by the network service node after performing service processing on the second packet;
  • the second processing module 26 is configured to process the return packet according to the second adaptation rule to form a third packet for forwarding by the adapter; and the second adaptation rule includes: adding in the return packet a field that is not supported by the network service node deleted in the first adaptation rule, or a field that needs to be blocked to the network service node deleted in the first adaptation rule, or modified in the first packet, in the return message A field that does not need to be processed by the network service node, or a field that is not included in the first packet added in the first adaptation rule but must be available when the network service node performs service processing.
  • the adapter 2 can further comprise a second sending module 27 for forwarding the third message to the network device or other network device that sends the first message.
  • the packet to be sent to the network service node is processed by the adapter to form a second packet that can be processed by the network service node, so that the network service node can focus on the service processing. , simplifying network service nodes.
  • FIG. 5 is a schematic structural diagram of another embodiment of an adapter according to the present invention.
  • the embodiment includes at least one receiver, a processor, and a transmitting unit, wherein the receiver has the same functions as the first receiving module 21, the second receiving module 24, and the third receiving module 25, and details are not described herein.
  • the functions of the processor are the same as those of the first processing module 22 and the second processing module 26, and are not described herein.
  • the transmitting unit in this embodiment has the same functions as the first transmitting unit 23 and the second transmitting unit 27, and details are not described herein.
  • the receiver is configured to receive the first packet sent by the network device, and the adaptation rule sent by the network service controller, where the processor processes, according to the adaptation rule, the first packet received by the receiver, and sends the packet.
  • the unit sends the second packet that the network service node processed by the processor can process to the network service node.
  • the receiving unit receives the return message and sends it to The processor performs processing to obtain a third packet for forwarding by the sending unit, and the third packet is forwarded to the network device by the sending unit.
  • the processing of the packet to be sent to the network service node by the adapter forms a second packet that can be processed by the network service node, so that the network service node can focus on the service processing and simplify the network service node.
  • FIG. 6 is a schematic structural diagram of a network service processing system according to an embodiment of the present invention.
  • the network service processing system 3 includes:
  • a network device 31 a network service controller 32, a network service node 33, and an adapter 34, wherein
  • the network device 31 is configured to send a first packet to the adapter 34.
  • the network service controller 32 is configured to send an adaptation rule to the adapter 34.
  • the network service node 33 is configured to perform service processing on the second packet formed by the adapter 34 and processed by the adaptation rule according to the adaptation rule;
  • the adapter 34 is configured to receive the first packet sent from the network device 31, receive the adaptation rule sent from the network service controller 32, and process the first packet according to the adaptation rule to form a network service.
  • the second packet that the node 33 can process, and the second packet are sent to the network service node 33 for service processing.
  • the network service node 33 is further configured to perform a service processing on the second packet to generate a return packet, and send the return packet to the adapter 34;
  • the adapter 34 is further configured to receive a return message generated by the network service node 33 after performing service processing, process the return message to form a third message for the adapter to forward, and forward the third message.
  • the network device to which the third packet is forwarded and the network device that sends the first packet may be the same network device or different network devices.
  • the network service processing system may further include a network relay device:
  • the network relay device is configured to receive the second packet processed by the adapter for the first time, and forward the second packet to the network service node.
  • the adapter is further configured to send the first packet that can be processed by the first processed network service node to the network relay device.
  • the adapter is further configured to send the third processed message to the network relay device;
  • the network relay device is further configured to receive a third packet sent by the adapter, and forward the third packet to a network device.
  • the first processing of the packet to be sent to the network service node by the adapter forms a message that the network service node can process, so that the network service node can focus on the service processing and simplify the network service node.
  • the message as shown in FIG. 7, includes a field SR, where SR is a data structure, as follows:
  • FIG. 8 is a schematic diagram of the interaction process of the network device 31, the network service controller 32, the adapter 34, and the network service node 33 when the network service processing system shown in FIG. 6 performs network service processing on the packet of the structure shown in FIG. step:
  • the network service controller 32 sends an adaptation rule to the adapter 34.
  • the adaptation rule includes a first adaptation rule and a second adaptation rule.
  • the first adaptation rule includes deleting the SR field in the first packet; the second adaptation rule includes adding an SR field in the return message.
  • the network device 31 sends the first packet with the service identifier to the adapter 34.
  • the first packet is as shown in FIG. 7, where the SR field is a field that needs to be blocked to the network service node.
  • the adapter 34 processes the first packet according to the adaptation rule to form a second packet that can be processed by the network service node.
  • the adapter 34 deletes the SR field in the packet according to the first adaptation rule, and the packet after deleting the SR field is the second packet that the network service node 33 can process.
  • the adapter 34 sends the second packet to the network service node 33 for service processing.
  • the network service node 33 performs service processing on the received second packet to generate a return packet.
  • the network service node 33 sends the return message to the adapter 34;
  • the adapter 34 processes the returned packet according to the adaptation rule, and generates a third packet for the adapter to forward.
  • the adapter 34 adds the SR field to the return message according to the second adaptation rule.
  • the adapter 34 sends the third packet to the network device 31.
  • the method further includes a transit step, such as the step of the network service controller 32 sending an adaptation rule to the adapter 34, where the adaptation rule may not be directly the network service controller 32.
  • a transit step such as the step of the network service controller 32 sending an adaptation rule to the adapter 34, where the adaptation rule may not be directly the network service controller 32.
  • network service controller 32 Sended to adapter 34, network service controller 32 first sends the adaptation rules to a relay device, such as a network controller, which then forwards the adaptation rules to adapter 34.
  • the network controller can be a network management system or an Openflow controller.
  • the first processing of the first packet to be sent to the network service node by the adapter forms a second packet that can be processed by the network service node, so that the network service node can focus on the service processing, simplifying the network service node.
  • FIG. 10 it is a schematic structural diagram of a first packet in another embodiment.
  • a source MAC field and a destination MAC field belong to a field that does not need to be processed by a network service node.
  • the field that is not processed by the network service node can be processed for the network service node, but in order to simplify the network service node, the network service node does not process the field, and other A device such as an adapter processes the field.
  • the source MAC field and the destination MAC field are handleable for the network service node, but to simplify the network service node, the processing of the source MAC field and the destination MAC field is done by the adapter.
  • the schematic diagram of the process mainly includes:
  • the network service controller 42 sends an adaptation rule to the adapter 44.
  • the adaptation rule includes a first adaptation rule and a second adaptation rule.
  • the first adaptation rule includes when the value of the source MAC is a certain value, for example, when the value of the source MAC is 11-22-33-44-55-66, The value of the destination MAC of a packet is modified to the MAC address value of the network service node. For example, when the MAC value of the network service node is 22-33-44-55-66-77, the first adaptation rule is: when the source MAC is If the value is 11-22-33-44-55-66, change the destination MAC address of the packet to 22-33-44-55-66-77.
  • the second adaptation rule includes modifying the destination MAC value of the returned packet to 11-22-33-44-55-66.
  • the network device 41 sends the first packet to the adapter 44.
  • the structure of the first message is as shown in FIG.
  • the adapter 44 processes the first packet according to the adaptation rule to form a second packet that can be processed by the network service node;
  • the adapter 44 modifies the destination MAC value in the packet to 22-33-44-55-66 when the value of the source MAC is 11-22-33-44-55-66 according to the first adaptation rule. -77.
  • the processed message is a second message that the network service node 33 can process.
  • the adapter 44 sends the second message to the network relay device 45;
  • the network relay device 45 forwards the second packet to the network service node 43;
  • the network service node 43 performs service processing on the received second packet to generate a return packet.
  • the network service node 43 sends a return message to the adapter 44;
  • the adapter 44 processes the returned packet according to the adaptation rule, and generates a third packet for the adapter 44 to forward.
  • the adapter 44 modifies the destination MAC value of the return message to 11-22-33-44-55-66 according to the second adaptation rule.
  • the adapter 44 sends the third message to the network relay device 45;
  • the network relay device 45 forwards the third packet to the network device 41 according to the destination MAC value.
  • the method further includes a transit step, such as the step of the network service controller 42 sending an adaptation rule to the adapter 44, where the adaptation rule may not be directly the network service controller 42.
  • a transit step such as the step of the network service controller 42 sending an adaptation rule to the adapter 44, where the adaptation rule may not be directly the network service controller 42.
  • network service controller 42 Sended to adapter 44, network service controller 42 first sends the adaptation rules to a relay device, such as a network controller, which then forwards the adaptation rules to adapter 44.
  • the network controller can be a network management system or an Openflow controller.
  • the first processing of the packet to be sent to the network service node by the adapter forms a message that the network service node can process, so that the network service node can focus on the service processing,
  • the network service node is transformed.
  • FIG. 13 it is a schematic structural diagram of a first packet in another embodiment.
  • a VLAN ID field belongs to a field that is not supported by a network service node or a field that needs to be blocked to a network service node.
  • the schematic diagram of the interaction process mainly includes:
  • the network service controller 52 sends a forwarding rule to the network relay device 55.
  • the forwarding rule includes: forwarding a packet with a VLAN ID value of 100 sent by the network device 51 to the adapter 54;
  • the network service controller 52 sends an adaptation rule to the adapter 54.
  • the adaptation rule includes a first adaptation rule and a second adaptation rule.
  • the first adaptation rule includes: when the value of the VLAN ID is 100, the VLAN ID field in the packet is deleted; the second adaptation rule includes: the adapter adds a VLAN ID field in the received return packet, and the VLAN is added.
  • the value of the ID is set to 100.
  • the network device 51 sends a first packet containing a VLAN ID field and a VLAN ID value of 100 to the network relay device 55;
  • the network relay device 55 sends the received first message to the adapter 54;
  • the adapter 54 processes the first packet according to the adaptation rule to generate a second packet.
  • the VLAN ID field in the first packet is deleted according to the first adaptation rule.
  • the adapter 54 sends the second message to the network service node 53;
  • the network service node 53 performs service processing on the received second packet to generate a return packet.
  • the network service node 53 sends a return message to the adapter 54;
  • the adapter 54 performs a second processing on the returned packet according to the adaptation rule to generate a third packet.
  • the VLAN ID field is added to the return packet, and the value of the VLAN ID is set to 100.
  • the adapter 54 sends the second processed return message to the network relay device 55;
  • the network relay device 55 forwards the received third packet to the network device 51.
  • the method further includes a relay step.
  • the network service controller 52 sends an adaptation rule to the adapter 54, wherein the adaptation rule may be that the network service controller 52 does not directly send to the adapter 54, but the network service controller 52 first sends the adaptation rule.
  • a relay device such as a network controller, is then forwarded by the network controller to the adapter 54.
  • the network controller can be a network management system or an Openflow controller.
  • the first packet to be sent to the network service node is processed by the adapter to form a second packet that can be processed by the network service node, so that the network service node can focus on the service processing and simplify the network service node.
  • the structure of the first message is as shown in FIG. 13.
  • the VLAN ID field is a field that is not supported by the network service node or a field that needs to be blocked to the network service node.
  • the schematic diagram of the process mainly includes:
  • the network service controller 62 sends a forwarding rule to the network relay device 63.
  • the forwarding rule includes: forwarding a packet with a VLAN ID value of 100 sent by the network device 61 to the adapter 64, and sending the packet with the adapter 64 without the VLAN ID field. Forwarding to the network service node 65, forwarding the return message sent from the network service node 65 to the adapter 64, forwarding the packet sent by the adapter 64 and having a VLAN ID of 100 to the network device 61;
  • the network service controller 62 sends an adaptation rule to the adapter 64.
  • the adaptation rule includes a first adaptation rule and a second adaptation rule.
  • the first adaptation rule includes: when the value of the VLAN ID is 100, the VLAN ID field in the packet is deleted; the second adaptation rule includes: the adapter adds a VLAN ID field in the received return packet, and the VLAN is added.
  • the value of the ID is set to 100.
  • the network device 61 sends a first packet containing a VLAN ID field and a VLAN ID value of 100 to the network relay device 63;
  • the network relay device 63 sends the received first message to the adapter 64;
  • the adapter 64 processes the first packet according to the adaptation rule to generate a second packet.
  • the VLAN ID field in the packet is deleted according to the first adaptation rule.
  • the adapter 64 sends the second message to the network relay device 63;
  • the network relay device 63 forwards the second packet to the network service node 65;
  • the network service node 65 performs service processing on the received second packet to generate a return packet.
  • the network service node 65 sends the return message to the network relay device 63;
  • the network relay device 63 sends a return message to the adapter 64;
  • the adapter 64 performs a second processing on the returned packet according to the adaptation rule to generate a third packet.
  • the VLAN ID field is added to the return packet, and the value of the VLAN ID is set to 100.
  • the adapter 64 sends the third message to the network relay device 63;
  • the network relay device 63 sends the third packet to the network device 61.
  • the method further includes a transit step, such as the step of the network service controller 62 sending an adaptation rule to the adapter 64, where the adaptation rule may not be directly the network service controller 62.
  • a transit step such as the step of the network service controller 62 sending an adaptation rule to the adapter 64, where the adaptation rule may not be directly the network service controller 62.
  • network service controller 62 Sended to adapter 64, network service controller 62 first sends the adaptation rules to a relay device, such as a network controller, which then forwards the adaptation rules to adapter 64.
  • the network controller can be a network management system or an Openflow controller.
  • the first packet to be sent to the network service node is processed by the adapter to form a second packet that can be processed by the network service node, so that the network service node can focus on the service processing.
  • FIG. 17 is a schematic diagram of another interaction process when the network service processing system shown in FIG. 6 performs network service processing.
  • the network service node 33 has the following characteristics: When the network service node 33 performs service processing, the VLAN ID field must be present in the packet, and the network service node 33 can perform service processing. The VLAN ID field is not included in the first message sent by the network device 31 in this embodiment.
  • the specific process includes the following steps:
  • the network service controller 32 sends an adaptation rule to the adapter 34.
  • the adaptation rule includes a first adaptation rule and a second adaptation rule.
  • the first adaptation rule includes: adding, according to the characteristics of the network service node 33, the VLAN ID field in the first packet when the first packet sent by the network device 31 to the adapter 34 does not include the VLAN ID field;
  • the matching rule includes: deleting the VLAN ID field added in the first adaptation rule in the return message.
  • the network device 31 sends a first packet to the adapter 34.
  • the field in the first packet does not report the VLAN ID field.
  • the adapter 34 adds a VLAN ID field to the first packet according to the first adaptation rule. Into the second message;
  • the adapter 34 sends the second packet to the network service node 33;
  • S705 The network service node 33 performs service processing on the second packet to generate a return packet.
  • the network service node 33 sends the return message to the adapter 34;
  • the adapter 34 deletes the VLAN ID field added in the first adaptation rule in the return packet according to the second adaptation rule, to generate a third packet.
  • the adapter 34 sends the third message to the network device 31.
  • a field that is required in the first packet and that is required to be processed by the network service node is added in the first packet, so that the processed second packet becomes a packet that can be processed by the network service node. So that network service nodes can focus on business processing.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

La présente invention concerne un procédé de traitement de service de réseau, un adaptateur et un système de traitement de service de réseau. Le procédé de traitement de service de réseau comprend les étapes suivantes : un adaptateur reçoit un premier paquet envoyé par un dispositif de réseau ; l'adaptateur traite le premier paquet conformément à une première règle d'adaptation afin de former un second paquet pouvant être traité par un nœud de service de réseau, la première règle d'adaptation consistant à : supprimer, conformément aux performances d'un nœud de service de réseau, un champ contenu dans le premier paquet que le nœud de service de réseau ne prend pas en charge ou qui doit être masqué vis-à-vis du nœud de service de réseau, modifier un champ contenu dans le premier paquet qu'il n'est pas nécessaire de traiter au moyen du nœud de service de réseau, ou ajouter un champ qui n'existe pas dans le premier paquet et est nécessaire pour le traitement de service du nœud de service de réseau ; et l'adaptateur envoie le second paquet au nœud de service de réseau pour le traitement de service. La présente invention permet de simplifier le nœud de service de réseau, cela permettant au nœud de service de réseau de se concentrer sur le traitement de service.
PCT/CN2014/091491 2013-11-25 2014-11-19 Procédé de traitement de service de réseau, adaptateur et système de traitement de service de réseau WO2015074550A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310607077.0A CN104660657B (zh) 2013-11-25 2013-11-25 一种网络业务处理方法、适配器及网络业务处理系统
CN201310607077.0 2013-11-25

Publications (1)

Publication Number Publication Date
WO2015074550A1 true WO2015074550A1 (fr) 2015-05-28

Family

ID=53178949

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/091491 WO2015074550A1 (fr) 2013-11-25 2014-11-19 Procédé de traitement de service de réseau, adaptateur et système de traitement de service de réseau

Country Status (2)

Country Link
CN (1) CN104660657B (fr)
WO (1) WO2015074550A1 (fr)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109818905B (zh) * 2017-11-21 2022-06-03 中国移动通信有限公司研究院 一种传输层协议适配的方法、网元设备及系统
GB2592850B (en) * 2019-08-20 2024-02-21 Metaswitch Networks Ltd Processing signalling messages in a network node
CN112991023B (zh) * 2021-04-22 2021-11-02 深圳华锐金融技术股份有限公司 订单数据处理方法、装置、计算机设备和存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1399475A (zh) * 2001-07-25 2003-02-26 华为技术有限公司 快速查找流的方法
CN101335759A (zh) * 2007-06-22 2008-12-31 埃森哲环球服务有限公司 会话发起协议适配器

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7509431B2 (en) * 2004-11-17 2009-03-24 Cisco Technology, Inc. Performing message and transformation adapter functions in a network element on behalf of an application

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1399475A (zh) * 2001-07-25 2003-02-26 华为技术有限公司 快速查找流的方法
CN101335759A (zh) * 2007-06-22 2008-12-31 埃森哲环球服务有限公司 会话发起协议适配器

Also Published As

Publication number Publication date
CN104660657B (zh) 2018-05-18
CN104660657A (zh) 2015-05-27

Similar Documents

Publication Publication Date Title
US10237089B2 (en) Packet tunneling method, switching device, and control device
US10541920B2 (en) Communication system, communication device, controller, and method and program for controlling forwarding path of packet flow
CN107948076B (zh) 一种转发报文的方法及装置
US20160330167A1 (en) Arp Implementation Method, Switch Device, and Control Device
CN111107001B (zh) 网络中分段源路由的方法及存储介质
WO2018059284A1 (fr) Procédé de transmission de données et équipement de réseau
US10263808B2 (en) Deployment of virtual extensible local area network
EP3026872B1 (fr) Procédé, appareil et système d'acheminement de paquets
CN108429680B (zh) 一种基于虚拟私有云的路由配置方法、系统、介质及设备
KR20130045873A (ko) 다이어미터 네트워크에서 동적 시발 기반 라우팅 키 등록을 제공하기 위한 방법, 시스템 및 컴퓨터 판독 가능한 매체
US20160150043A1 (en) Source ip address transparency systems and methods
WO2018036254A1 (fr) Procédé et dispositif de retransmission de paquets
CN109361606A (zh) 一种报文处理系统及网络设备
CN104852855A (zh) 拥塞控制方法、装置及设备
WO2015074550A1 (fr) Procédé de traitement de service de réseau, adaptateur et système de traitement de service de réseau
US11343153B2 (en) BGP logical topology generation method, and device
US10104018B2 (en) Method, apparatus, and system for controlling forwarding of service data in virtual network
US11924103B2 (en) Traffic processing method, apparatus, and network device
JP5459226B2 (ja) 経路制御装置、経路制御方法、経路制御プログラム、ネットワークシステム
CN107404546B (zh) 一种sdn网络内的通信方法及装置
WO2022089169A1 (fr) Procédé et appareil d'envoi d'informations de routage de calcul, dispositif, et support de stockage
CN111464441A (zh) 一种通信方法及装置
WO2017164068A1 (fr) Dispositif de commande de réseau de transport, système de communication, procédé de commande de nœud de transfert et programme
CN105471817A (zh) 业务流的卸载方法、装置和系统
EP3972206A1 (fr) Procédé, dispositif de réseau et système de traitement de paquet bier

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14863841

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14863841

Country of ref document: EP

Kind code of ref document: A1