WO2016197689A1 - Procédé, appareil et système pour traiter un paquet - Google Patents

Procédé, appareil et système pour traiter un paquet Download PDF

Info

Publication number
WO2016197689A1
WO2016197689A1 PCT/CN2016/078930 CN2016078930W WO2016197689A1 WO 2016197689 A1 WO2016197689 A1 WO 2016197689A1 CN 2016078930 W CN2016078930 W CN 2016078930W WO 2016197689 A1 WO2016197689 A1 WO 2016197689A1
Authority
WO
WIPO (PCT)
Prior art keywords
processing
target service
packet
service
node
Prior art date
Application number
PCT/CN2016/078930
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 WO2016197689A1 publication Critical patent/WO2016197689A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Definitions

  • the present invention relates to the field of communications, and more particularly to a method, apparatus and system for processing messages.
  • a network architecture in which a plurality of nodes are included in the network, and each node comprehensively considers information carried in the received message, for example, Media Access Control (MAC) layer.
  • the information in the layer such as the Internet Protocol (IP) layer and the Transmission Control Protocol (TCP), determines the processing policy of the packet, and according to the processing policy
  • IP Internet Protocol
  • TCP Transmission Control Protocol
  • the foregoing manner can support how to process the packet according to the information of multiple protocol layers, thereby expanding the matching dimension of the processing policy and implementing flexible configuration of the processing policy.
  • the IP layer information of the packet 1 and the packet 2 (for example, the source IP address or the destination IP address) If the address is different, you can still configure different processing policies for packet 1 and packet 2.
  • each node needs to detect multiple protocol layers of the packet to be able to learn the above processing strategy, which is complicated and computationally intensive, which seriously affects the forwarding efficiency of the packet and reduces the throughput of the system.
  • the embodiment of the invention provides a method, a device and a system for processing a message, which can improve the forwarding efficiency of the message.
  • a method for processing a message comprising:
  • the control device determines a transmission path of the target service, where the transmission path includes at least two processing nodes;
  • the control device separately generates a processing policy for each processing node on the transmission path, where Each processing policy is used to indicate a next hop of the corresponding processing node in the transmission path of the target service;
  • the control device sends, to each processing node, a mapping relationship between the processing policy generated by the processing node and the service identifier of the target service, where the mapping relationship is used to enable receiving the packet carrying the service identifier of the target service.
  • the processing node determines the corresponding processing policy based on the mapping relationship received by the processing node, and processes the packet according to the processing policy, where the service identifier is allocated by the control device for the target service, and is used to uniquely Identify the target business.
  • the method further includes: the control device receiving, by the first processing node, the packet of the target service, where the first processing node is in the transmission path a first node; the control device adds a service identifier of the target service to the packet of the target service; the control device sends a packet with the service identifier of the target service to the first processing node.
  • the method further includes: the control device receiving, by the second processing node, the packet of the target service, where the second processing node is The last node in the transmission path; the control device deletes the service identifier of the target service from the packet of the target service; the control device sends the packet with the service identifier of the target service deleted to the second processing node.
  • the first processing policy that is corresponding to the first processing node is further used to indicate that the first processing node is added in the packet of the target service.
  • a service identifier of the target service the first processing node is a first node in the transmission path, where the first processing policy corresponds to routing information of the target service, so that the first processing node is configured according to the target service.
  • the routing information determines the first processing policy, and the routing information includes at least one of the following: a source media access control MAC address, a destination MAC address, a source Internet Protocol IP address, a source port, a destination IP address, a destination port, and a communication connection protocol. Type and Uniform Resource Locator address.
  • the second processing policy corresponding to the second processing node is further used to indicate that the second processing node uses the service identifier of the target service from the The packet of the target service is deleted, and the second processing node is the last node in the transmission path.
  • a method for processing a message comprising: a processing node receiving a mapping relationship between a processing policy of the processing node sent by a control device and a service identifier of a target service, where the processing policy is the control device
  • the transmission path includes at least Two processing nodes, the processing node is any one of the at least two processing nodes, the processing policy is used to indicate a next hop of the processing node in the transmission path; and the processing node receives the carried the target service And determining, according to the mapping relationship, the processing policy, and processing the packet according to the processing policy, where the service identifier is allocated by the control device for the target service, and is used for unique Identify the target business.
  • the method further includes: the processing node sending the report of the target service to the control device For example, the control device adds the service identifier of the target service to the packet of the target service; the processing node receives the packet sent by the control device and adds the service identifier of the target service.
  • the method when the processing node is the last node in the transmission path, the method further includes:
  • the processing node sends the packet of the target service to the control device, so that the control device deletes the service identifier of the target service from the packet of the target service; and the processing node receives the deleted message sent by the control device.
  • the packet of the service identifier of the target service is a packet of the service identifier of the target service.
  • the processing policy when the processing node is the first node in the transmission path, the processing policy is further used to indicate that the processing node is in the target Adding a service identifier of the target service to the service packet, where the processing policy corresponds to the routing information of the target service, and the method further includes: the processing node determining the processing policy according to the routing information of the target service, where The routing information includes at least one of the following: a source media access control MAC address, a destination MAC address, a source Internet Protocol IP address, a source port, a destination IP address, a destination port, a protocol type of the communication connection, and a uniform resource locator address; The processing node adds the service identifier of the target service to the packet of the target service according to the processing policy.
  • the processing policy is further used to indicate that the processing node targets the target
  • the service identifier of the service is deleted from the packet of the target service
  • the method further includes: the processing node deleting the service identifier of the target service from the packet of the target service according to the processing policy.
  • a third aspect provides an apparatus for processing a message, the apparatus comprising: a determining unit, configured to determine a transmission path of a target service, wherein the transmission path includes at least two processing nodes; a unit, configured to separately generate a processing policy for each processing node on the transmission path, where each processing policy is used to indicate a next hop of the corresponding processing node in the transmission path of the target service;
  • Each processing node sends a mapping relationship between the processing policy generated by the processing node and the service identifier of the target service, where the mapping relationship is used to make the processing node that receives the packet carrying the service identifier of the target service based on the device The received mapping relationship is determined, and the corresponding processing policy is determined, and the packet is processed according to the processing policy, where the service identifier is allocated by the control device for the target service, and is used to uniquely identify the target service.
  • the transceiver unit is further configured to receive a packet of the target service that is sent by the first processing node, where the first processing node is the first one of the transmission paths.
  • the processing unit is further configured to: add a service identifier of the target service to the packet of the target service; the transceiver unit is further configured to send the packet with the service identifier of the target service to the first processing node.
  • the transceiver unit is further configured to receive a packet of the target service that is sent by the second processing node, where the second processing node is the transmission The last node in the path; the processing unit is further configured to delete the service identifier of the target service from the packet of the target service; the transceiver unit is further configured to send the packet that deletes the service identifier of the target service to the The second processing node.
  • the first processing policy corresponding to the first processing node is further used to indicate that the first processing node adds the packet in the target service a service identifier of the target service, the first processing node is a first node in the transmission path, where the first processing policy corresponds to routing information of the target service, so that the first processing node is configured according to the target service.
  • the routing information determines the first processing policy, and the routing information includes at least one of the following: a source media access control MAC address, a destination MAC address, a source Internet Protocol IP address, a source port, a destination IP address, a destination port, and a protocol type of the communication connection. Or Uniform Resource Locator address.
  • the second processing policy corresponding to the second processing node is further used to indicate that the second processing node selects the service identifier of the target service from the The packet of the target service is deleted, and the second processing node is the last node in the transmission path.
  • the fourth aspect provides an apparatus for processing a message, where the apparatus includes: a transceiver unit, configured to receive, between a processing policy of the processing node and a service identifier of a target service, sent by the control device a mapping relationship, the processing policy is generated by the control device according to the transmission path, the transmission path includes at least two processing nodes, and the processing node is any one of the at least two processing nodes, and the processing policy is used to indicate the processing The next hop of the node in the transmission path; the processing unit is configured to: when the receiving unit receives the packet carrying the service identifier of the target service, determine the processing policy based on the mapping relationship, and according to the processing policy And processing the packet, where the service identifier is allocated by the control device for the target service, and is used to uniquely identify the target service.
  • a transceiver unit configured to receive, between a processing policy of the processing node and a service identifier of a target service, sent by the control device a mapping relationship, the processing policy is generated by
  • the transceiver unit when the device is the first node in the transmission path, the transceiver unit is further configured to send the packet of the target service to the control device, so that The control device adds the service identifier of the target service to the packet of the target service, and receives the packet sent by the control device and adds the service identifier of the target service.
  • the transceiver unit when the device is the last node in the transmission path, is further configured to send the target to the control device a packet of the service, so that the control device deletes the service identifier of the target service from the packet of the target service; and receives the packet sent by the control device and deleting the service identifier of the target service.
  • the processing policy when the device is the first node in the transmission path, the processing policy is further used to indicate that the processing node is in the target service.
  • the service identifier of the target service is added to the packet, where the processing policy corresponds to the routing information of the target service, and the processing unit is further configured to determine the processing policy according to the routing information of the target service, where the routing
  • the information includes at least one of: a source media access control MAC address, a destination MAC address, a source Internet Protocol IP address, a source port, a destination IP address, a destination port, a protocol type of a communication connection, or a uniform resource locator address;
  • the policy adds the service identifier of the target service to the packet of the target service.
  • the processing policy is further used to indicate that the processing node uses the target service
  • the service identifier is deleted from the packet of the target service
  • the processing unit is further configured to delete the service identifier of the target service from the packet of the target service according to the processing policy.
  • a system for processing a message comprising:
  • a control device configured to determine a transmission path of the target service, where the transmission path includes at least two processing nodes, and respectively generate a processing policy for each processing node on the transmission path, where Each processing policy is used to indicate a next hop of the corresponding processing node in the transmission path of the target service, and send a mapping relationship between the processing policy generated by the processing node and the service identifier of the target service to each processing node, The mapping relationship is used to determine, according to the mapping relationship received by the processing node, the processing node that receives the packet with the service identifier of the target service, and the corresponding processing policy, and process the packet according to the processing policy.
  • the service identifier is allocated by the control device for the target service, and is used to uniquely identify the target service.
  • the at least one of the at least two processing nodes is configured to receive a mapping relationship between the processing policy of the processing node and the service identifier of the target service that is sent by the control device, and receive the packet carrying the service identifier of the target service. And determining, according to the mapping relationship, the processing policy, and processing the packet according to the processing policy, where the service identifier is allocated by the control device for the target service, and is used to uniquely identify the target service.
  • the control device separately generates a processing policy for each processing node included in the transmission path of the target service, and sends a processing generated for the processing node to each processing node.
  • the mapping relationship between the policy and the service identifier of the target service enables the processing node to process the packet according to the corresponding processing policy when receiving the packet carrying the service identifier, thereby eliminating the need for each processing node pair.
  • the detection of multiple protocol layers of the packet can reduce the burden on the processing node, improve the forwarding efficiency of the packet, and improve the throughput of the system.
  • FIG. 1 is a schematic flowchart of a method for processing a message according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a communication system to which a method for processing a message according to an embodiment of the present invention is applied;
  • FIG. 3 is a schematic diagram of a message structure carrying a service identifier
  • FIG. 4 is a schematic diagram of another packet structure carrying a service identifier
  • FIG. 5 is a schematic flowchart of a method for processing a message according to another embodiment of the present invention.
  • FIG. 6 is a schematic block diagram of an apparatus for processing a message according to an embodiment of the present invention.
  • FIG. 7 is a schematic block diagram of an apparatus for processing a message according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of an apparatus for processing a message according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an apparatus for processing a message according to another embodiment of the present invention.
  • FIG. 10 is a schematic architectural diagram of a system for processing a message according to an embodiment of the present invention.
  • the technical solution of the present invention can be applied to various communication systems, for example, Global System of Mobile communication (English: Global System of Mobile communication, GSM for short), code division multiple access (English: Code Division Multiple Access, CDMA for short) System, Wideband Code Division Multiple Access Wireless (WCDMA), General Packet Radio Service (English: General Packet Radio Service, GPRS for short), Long Term Evolution (English: Long Term Evolution, referred to as: LTE) and so on.
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access Wireless
  • General Packet Radio Service English: General Packet Radio Service, GPRS for short
  • Long Term Evolution Long Term Evolution, referred to as: LTE
  • FIG. 1 is a schematic flowchart of a method 100 for processing a message according to an embodiment of the present invention, as shown in FIG. 1.
  • the method 100 includes:
  • the control device determines a transmission path of the target service, where the transmission path includes at least two processing nodes.
  • the control device separately generates a processing policy for each processing node on the transmission path, where each processing policy is used to indicate a next hop of the corresponding processing node in the transmission path of the target service.
  • the control device sends, to each processing node, a mapping relationship between a processing policy generated by the processing node and a service identifier of the target service.
  • the mapping relationship is used to determine, according to the mapping relationship received by the processing node, the processing node that receives the packet with the service identifier of the target service, and corresponding processing strategy, and process the packet according to the processing policy.
  • the service identifier is allocated by the control device for the target service, and is used to uniquely identify the target service.
  • the transmitting end passes through a plurality of processing nodes (for example, part or all of the processing node 1 to the processing node 7 shown in FIG. 2) and a physical chain between the forwarding devices.
  • the path (for example, fiber) sends the message to the receiving end.
  • the transmitting end may be a base station device
  • the receiving end may be a radio network controller (English: radio network controller, abbreviation: RNC, radio network) Controller, signaling gateway (SGW), or mobility management entity (MME: MME).
  • RNC radio network controller
  • SGW signaling gateway
  • MME mobility management entity
  • the multiple processing nodes may be forwarding nodes, or routing nodes, etc. in the bearer network.
  • the base station After the base station receives the packet (or the uplink data) of the service accessed by the user equipment (English: User Equipment, UE for short), it needs to pass through the bearer network (for example, the path indicated by the dotted line in FIG. 2).
  • the packet is transmitted to the RNC, SGW or MME.
  • the RNC, the SGW, or the MME needs to transmit the packet (or downlink data) of the service accessed by the user equipment to the base station through the bearer network, and then the base station transmits the packet to the user equipment.
  • a packet transmitted between a base station and an RNC, an SGW, or an MME needs to pass through a transmission path composed of a plurality of processing nodes, and each processing node on the transmission path needs to know a processing policy for the packet to determine How to process the message.
  • bearer network is only an exemplary description of a communication system to which the method for processing a message of the present invention is applied, and the present invention is not limited thereto, and other services required for transmission between the source device and the sink device are required. Communication systems that are forwarded via multiple processing nodes are all within the scope of the present invention.
  • processing node may be a virtual machine, a forwarding device, or the like, depending on the application scenario.
  • the executive body of the method 100 can be a control device for managing a bearer network, and the control device can communicate with nodes in the bearer network.
  • the control device may be configured independently or integrated in other network elements (for example, a certain node).
  • each processing node processes the packet of each service according to the processing policy from the control device, for example, the packet is transmitted to the processing node indicated by the processing policy by using the port described in the processing policy. The next hop in the transmission path of the message.
  • the control device may determine a transmission path of the target service, for example, the control device may determine a processing node included in the transmission path, and a relationship between the processing nodes, for example, a processing node on the transmission path Which processing node is the next hop.
  • the transmission path of each service including the target service may be previously notified by the network administrator or the service provider and stored in the control device.
  • control device may also obtain the packet of the target service and parse the packet. Or detecting, so as to know the routing information of the packet, for example, the source MAC address, the destination MAC address, the source IP address, the source port, the destination IP address, the destination port, the protocol type of the communication connection, and the Uniform Resource Locator address (URL, One or more of the Uniform Resource Locators, and the transmission path can be determined according to the routing information, and the method and process for determining the transmission path of the service according to the routing information can be similar to the prior art, here, in order to avoid The details are omitted.
  • the routing information of the packet for example, the source MAC address, the destination MAC address, the source IP address, the source port, the destination IP address, the destination port, the protocol type of the communication connection, and the Uniform Resource Locator address (URL, One or more of the Uniform Resource Locators, and the transmission path can be determined according to the routing information, and the method and process for determining the transmission path of the service according to the routing information
  • the method for obtaining a packet of a target service may be implemented by the following process:
  • each processing node needs to process the packet of each service according to the processing policy from the control device, when the first packet of the target service from the transmitting end reaches the first processing node in the transmission path (for example, FIG. 2 When the processing node 1) is shown, the processing node corresponding to the message cannot be found in the first processing node (the subsequent searching method and process are detailed), that is, it can be determined that the control device does not obtain the The processing policy of the packet of the target service, so that the first processing node transmits the first packet of the target service to the control device, so that the control device can obtain the packet of the target service.
  • the method and process for determining the transmission path of the target service by the above-mentioned control device are merely exemplary, and the present invention is not limited thereto.
  • the processing node may also use the routing information of the packet of the target service and the like.
  • Information for determining the transmission path of the target service is transmitted to the control device, whereby the control device can determine the transmission path directly based on the received information.
  • control device generates a corresponding processing policy for each processing node included in the transmission path of the target service determined as described above.
  • the processing policy may be used to indicate the next hop of each processing node in the transmission path of the target service, so that each processing node may transmit the packet of the target service to the transmission according to the processing policy. The next hop in the path.
  • the processing policy corresponding to a processing node may include a forwarding port used by the processing node to transmit a packet of the target service, where the forwarding port corresponds to a next hop of the processing node in the transmission path, That is, the packet sent by the processing node through the forwarding port can reach the next hop of the processing node in the transmission path.
  • control device may separately send the processing policies corresponding to the processing nodes determined as described above to each processing node.
  • a plurality of services may exist at the same time.
  • the control device may separately allocate a service identifier for each service, so that one The service identifier of the service is used to uniquely identify the service, and the mapping relationship between the service identifier of each service and the processing policy corresponding to each service (for example, a mapping relationship entry) is sent to each processing node, thereby processing the node.
  • the processing policy corresponding to the service identifier in the mapping relationship identifier is found according to the service identifier carried in the packet.
  • the service identifier allocated by the control device may be added to the packet in the following manner, that is, the control device may add a service identifier (ie, mode 1) in the packet, which may be the first one in the transmission path.
  • the node adds a service identifier (that is, mode 2) to the packet.
  • the method further includes:
  • the control device adds the service identifier of the target service to the packet of the target service
  • the control device sends a packet with the service identifier of the target service to the first processing node.
  • the service identifier may be added by the control device, and therefore, when the packet of the target service reaches the first processing node (ie, the first processing node) in the transmission path, the control is not carried.
  • the service identifier assigned by the device therefore, may be pre-negotiated or specified: each processing node receives the packet of the service identifier included in the processing policy delivered by the control device (hereinafter, for ease of understanding and differentiation) For the original message, the original message needs to be sent to the control device.
  • the first processing node transmits the message to the control device according to pre-negotiation or regulation
  • the control device may determine, according to the routing information of the packet, the service to which the packet belongs (that is, the target service), and add the service identifier of the target service to the packet, and return to the first processing. node.
  • the packet transmitted in the transmission path carries the service identifier of the target service, so that each processing node can process the received packet according to the processing policy acquired from the control device as described above (for example, forwarding, etc.) .
  • the processing policy of each processing node is determined according to the control device, and the first processing node in the transmission path of the packet is sent to the control device.
  • the timing of transmitting the packet that does not carry the service identifier may be before the control device sends the control policy to the first processing node, or after the control device sends the control policy to the first processing node.
  • the control device when the transmission path is previously notified by the network administrator or the service provider and stored in the control device, the control device has been able to determine the message before the message carrying the service identifier reaches the first processing node in the transmission path.
  • the transmission path of the service to which the packet belongs, and the processing policy of the first processing node is determined according to the transmission path.
  • the first processing node in the transmission path of the packet transmits the packet that does not carry the service identifier to the control device.
  • the timing may be after the control device issues a control policy to the first processing node.
  • the control device obtains the routing information of the packet and determines the transmission path of the service according to the routing information
  • the control device has not completed the first packet.
  • the processing policy of the processing node is delivered.
  • the timing at which the first processing node in the transmission path of the packet transmits the packet carrying the service identifier to the control device may be the first processing by the control device. Before the node issues the control policy.
  • the first processing policy corresponding to the first processing node is further used to indicate that the first processing node adds the service identifier of the target service in the packet of the target service, where the first processing node is in the transmission path.
  • a first node where the first processing policy corresponds to the routing information of the target service, so that the first processing node determines the first processing policy according to the routing information of the target service, where the routing information includes at least one of the following : Source media access control MAC address, destination MAC address, source Internet Protocol IP address, source port, destination IP address, destination port, protocol type of communication connection, and Uniform Resource Locator address.
  • the processing policy of the first processing node for the transmission path determined as described above may also be configured to receive the specified routing information (that is, the routing information corresponding to the target service, for example, the source MAC address, the destination MAC address, the source IP address, the source port, the destination IP address, When the destination port, the protocol type of the communication connection, or the URL is a packet, the service identifier of the target service is added to the packet.
  • the specified routing information that is, the routing information corresponding to the target service, for example, the source MAC address, the destination MAC address, the source IP address, the source port, the destination IP address,
  • the service identifier of the target service is added to the packet.
  • the first processing node can determine that the packet belongs to the target service according to the routing information carried by the packet. And adding the service identifier of the target service to the packet according to the processing policy obtained from the control device.
  • the packet transmitted in the transmission path carries the service identifier of the target service, so that each processing node can process the received packet according to the processing policy acquired from the control device as described above (for example, forwarding, etc.) ).
  • the packet is affected.
  • the service identifier may be deleted from the packet before the packet carrying the service identifier completes forwarding in the transmission path and leaves the last node in the transmission path.
  • the service identifier allocated by the control device may be deleted from the packet in the following manner, that is, the control device may delete the service identifier from the packet (ie, mode 3), or may be the last in the transmission path.
  • a node deletes the service identifier (ie, mode 4) from the packet.
  • the method further includes:
  • the control device deletes the service identifier of the target service from the packet of the target service
  • the control device sends a message that deletes the service identifier of the target service to the second processing node.
  • the control device may indicate, in a processing policy for the last node (ie, the second processing node) in the transmission path, that the last node receives the service carrying the target service.
  • the packet is transmitted to the control device, and the last node is notified according to the processing policy after receiving the packet returned by the control device. The way to process the message.
  • the last node may determine a processing policy corresponding to the target service according to the service identifier, and according to the processing
  • the policy indicates that the packet is transmitted to the control device, and the control device can delete the service identifier when the packet carrying the service identifier is received, and the packet with the service identifier deleted is transmitted to the transmission path.
  • the last node of the packet whereby the packet leaving the transmission path does not carry the service identifier.
  • the second processing policy corresponding to the second processing node is further used to indicate that the second processing node deletes the service identifier of the target service from the packet of the target service, where the second processing node is in the transmission path. The last node.
  • control device may indicate, in a processing policy for the last node (ie, the second processing node) in the transmission path, that the last node receives the service carrying the target service.
  • the service identifier is deleted, and the packet is processed according to the manner described in the processing policy.
  • the last node may determine a processing policy corresponding to the target service according to the service identifier, and according to the processing The service indicator is deleted, and the packet leaving the transmission path does not carry the service identifier.
  • the service identifier is carried in a field of the packet for carrying the destination MAC address.
  • the processing policy of the packet of the target service in each processing node is determined based on the service identifier, it is not necessary to use the information originally carried in the destination MAC address field of the packet. (ie, the destination MAC address), as shown in Figure 3, the device (processing node or control device) that adds the service identifier can replace the destination MAC address carried in the packet with the control device when adding the service identifier to the packet.
  • the assigned business identifier since the processing policy of the packet of the target service in each processing node is determined based on the service identifier, it is not necessary to use the information originally carried in the destination MAC address field of the packet. (ie, the destination MAC address), as shown in Figure 3, the device (processing node or control device) that adds the service identifier can replace the destination MAC address carried in the packet with the control device when adding the service identifier to the packet.
  • the assigned business identifier is not necessary to use the information originally carried in the destination MAC address field of the packet.
  • the service identifier of the target service may be the same as or different from the destination MAC address of the target service, as long as each processing node can know the information carried in the destination MAC address field in advance as The business logo is OK.
  • the service identifier is carried in a field of the packet for carrying the source IP address
  • the packet of the target service is in each processing node.
  • the processing policy is determined based on the service identifier. Therefore, it is not necessary to use the information originally carried in the source IP address field of the packet (ie, the source IP address), so that the device (processing node or control device) that adds the service identifier is When a service identifier is added to a packet, the source IP address carried in the packet can be replaced with the service identifier assigned by the control device.
  • the service identifier of the target service may be the same as or different from the source IP address of the target service, as long as each processing node can know the information carried in the destination source IP address field in advance.
  • a business identifier As a business identifier.
  • the service identifier is carried in a field of the packet for carrying the destination IP address, where the service identifier of the target service is different from the destination IP address of the target service;
  • the processing policy of the packet of the target service in each processing node is determined based on the service identifier, the information originally carried in the destination IP address field of the packet is not needed. (ie, the destination IP address), so that the device (processing node or control device) that adds the service identifier can replace the destination IP address carried in the packet with the service allocated by the control device when adding the service identifier to the packet.
  • the device processing node or control device
  • the service identifier of the target service may be the same as or different from the destination IP address of the target service, as long as each processing node can know in advance the information carried in the destination IP address field.
  • the business logo is OK.
  • the information originally carried in the packet which is replaced by the service identifier, is only an example description, and the present invention is not limited thereto.
  • Other information that does not affect the transmission of the packet between the processing nodes is Delete and replace with the business ID.
  • information such as an IP option, a TCP option, a TCP acknowledgment number, a TCP sequence number, a source port, or a destination port may also be cited.
  • the service identifier is carried in the field of the packet for carrying the IP option; or the service identifier is carried in the field of the packet for carrying the transmission control protocol TCP option; or the service identifier is carried in the packet a field for carrying a transmission control protocol TCP acknowledgment number; or the service identifier is carried in a field of the packet for carrying the TCP sequence number of the transmission control protocol; or the service identifier is carried in the field of the packet for carrying the source port Or the service identifier is carried in the field of the packet for carrying the destination port.
  • the service identifier of the target service may be the same as or different from the foregoing information, as long as each processing node can know the information in the bearer field of the information as a service identifier in advance.
  • the service identifier is carried in an Ethernet layer of the packet.
  • the service identifier may be added by using an idle field that has not been allocated in the packet.
  • the field for carrying the service identifier may be specified in the Ethernet layer of the packet, according to
  • the bearer service identifier field may be composed of an Ethertype field and a bearer field.
  • the Ethertype of the service identifier may be defined as 0xAAB0 and in the bearer field. Add a business ID.
  • the MAC address of the processing node 1 is 0x112233445566 (where "0x" indicates that the MAC address is hexadecimal. To avoid redundancy, the description of the same or similar cases is omitted below), so that the sender can process the MAC of the node 1.
  • the destination MAC address of the packet serving as the destination service is carried in the destination MAC address field of the packet and sent to the processing node 1.
  • the packet from the destination service of the sender reaches the receiver through the following transmission path, namely:
  • Processing node 1 processing node 5 ⁇ processing node 7 ⁇ processing node 6 ⁇ processing node 3.
  • processing node 1 processing
  • the processing node 1 may not store the processing policy for the target service that is sent by the control device. In this case, the processing node 1 reports the first packet of the target service.
  • the text or the routing information of the packet is sent to the control device, and the control device obtains the routing information of the packet and calculates the forwarding path of the target service as the processing node 1 ⁇ processing node 5 ⁇ processing node 7 ⁇ processing node 6 ⁇ processing node 3
  • assigning a service identifier to the target service, and sending a processing policy to each processing node for example, the processing policy for the processing node 1 may include: when receiving the packet carrying the routing information of the target service, in the report The service identifier is added in the text, and the packet is sent through the port specified by the processing policy (for example, the port indicated in Table 1 below). And, the control device can return the message to the processing node 1.
  • the processing node 1 can store the processing policy for the target service delivered by the control device, and the processing policy can be the mapping relationship table shown in Table 1 below.
  • the processing node 1 can be based on the routing information of the packet (for example, source MAC address, destination MAC address, source IP address, source port, destination IP address, destination port, communication connection)
  • the protocol type or URL determines the processing strategy used when processing the message for the target service is as shown in Table 1 above: the service identifier (0x000000000ABC) is added, and the message is sent through the forwarding port 10.
  • the processing node 1 may add a service identifier according to the manner of FIG. 3 or FIG. 4, that is, the destination MAC address, the destination IP address, or the source IP address of the packet may be replaced with a service identifier, or may be in the Ethernet of the packet. Add a service identifier to the layer.
  • the processing policy for the target service delivered by the control device already exists in the processing node 1 (for example, Table 1 above), so that when the packet arrives at the processing At the time of the node 1, the processing node 1 can determine the processing policy of the packet for the target service according to the routing information of the packet.
  • the MAC address of the packet entering the processing node 1 is 0x112233445566.
  • the destination MAC address becomes 0x00000000000ABC.
  • the destination MAC address field or domain
  • the subsequent processing node 5, processing node 7, processing node 6, and processing node 3 will determine the corresponding processing policy according to the destination MAC address 0x000000000ABC of the message.
  • processing node 1 adds the service identifier.
  • the present invention is not limited thereto, and may be added by the control device, or may be added by the control device to the first packet of the target service.
  • the service identifier of the subsequent packet is added by the processing node 1.
  • the processing node 5 can store the processing policy for the target service that is sent by the control device, and the processing policy can be the mapping relationship table shown in Table 2 below.
  • the processing node 5 can obtain the service identifier carried in the packet, for example, it can be information carried in the target MAC address field of the packet (for example, 0x000000000ABC added by the processing node 1 as described above), and according to the service.
  • the identifier finds a processing policy for the packet based on Table 2: the packet is sent through the forwarding port 150.
  • processing node 7 processing
  • the processing node 7 can store a processing policy for the target service delivered by the control device,
  • the processing strategy may be a mapping relationship entry shown in Table 3 below.
  • the processing node 7 can obtain the service identifier carried in the packet, for example, it can be information carried in the target MAC address field of the packet (for example, 0x000000000ABC added by the processing node 1 as described above), and according to the service.
  • the identifier finds a processing policy for the packet based on Table 3: the packet is sent through the forwarding port 13.
  • the processing node 6 can store a processing policy for the target service that is sent by the control device, and the processing policy can be a mapping relationship entry shown in Table 4 below.
  • the processing node 6 can obtain the service identifier carried in the packet, for example, it can be information carried in the target MAC address field of the packet (for example, 0x000000000ABC added by the processing node 1 as described above), and according to the service.
  • the identifier finds a processing policy for the packet based on Table 4: the packet is sent through the forwarding port 22.
  • the processing node 3 can store the processing policy for the target service that is sent by the control device, and the processing policy can be the mapping relationship table shown in Table 5 below.
  • the processing node 3 can obtain the service identifier carried in the packet, for example, it can be information carried in the target MAC address field of the packet (for example, 0x000000000ABC added by the processing node 1 as described above), and according to the service.
  • the identifier is used to find the processing policy for the packet based on the following: the packet is sent by the forwarding port 20, and the service identifier is deleted.
  • the information in the destination MAC address field of the packet is replaced by the packet entering the bearer.
  • the original destination MAC address before the network namely: 0x112233445566.
  • the manner in which the processing node 3 deletes the service identifier is merely an example description, and may be arbitrarily changed according to the manner in which the service identifier is added (for example, the manner shown in FIG. 3 or FIG. 4).
  • processing node 3 described above deletes the service identifier.
  • present invention is not limited thereto, and may be deleted by the control device.
  • the control device separately generates a processing policy for each processing node included in the transmission path of the target service, and sends a processing policy generated for the processing node to the processing node and the target.
  • the mapping between the service identifiers of the service enables the processing node to process the packet according to the corresponding processing policy when receiving the packet carrying the service identifier, so that the processing node does not need to have more packets.
  • the detection of the protocol layer can reduce the burden on the processing node, improve the forwarding efficiency of the packet, and improve the throughput of the system.
  • FIG. 5 is a schematic flowchart of a method 200 for processing a message according to an embodiment of the present invention. As shown in FIG. 5, the method 200 includes:
  • the processing node receives a mapping relationship between a processing policy of the processing node sent by the control device and a service identifier of the target service.
  • the processing policy is generated by the control device according to the transmission path, where the transmission path includes at least two processing nodes, and the processing node is any one of the at least two processing nodes; the processing policy is used to indicate the processing node. The next hop in the transmission path.
  • the processing node determines the processing policy based on the mapping relationship when receiving the packet carrying the service identifier of the target service, and processes the packet according to the processing policy.
  • the service identifier is allocated by the control device for the target service, and is used to uniquely identify the target service.
  • the method further includes:
  • the processing node sends the packet of the target service to the control device, so that the control device adds the service identifier of the target service to the packet of the target service;
  • the processing node receives the packet sent by the control device and adds the service identifier of the target service.
  • the method further includes:
  • the processing node sends the packet of the target service to the control device, so that the control device deletes the service identifier of the target service from the packet of the target service;
  • the processing policy is further used to indicate that the processing node adds the service identifier of the target service to the packet of the target service, where the processing policy is Corresponding to the routing information of the target service, and
  • the method also includes:
  • the processing node determines the processing policy according to the routing information of the target service, where the routing information includes at least one of the following: a source media access control MAC address, a destination MAC address, a source Internet Protocol IP address, a source port, a destination IP address, Destination port, protocol type of communication connection, and Uniform Resource Locator address;
  • the processing node adds the service identifier of the target service to the packet of the target service according to the processing policy.
  • the processing policy is further used to indicate that the processing node deletes the service identifier of the target service from the packet of the target service, and
  • the method also includes:
  • the processing node deletes the service identifier of the target service from the packet of the target service according to the processing policy.
  • the action of the processing node is similar to the action of the processing node (including the first processing node, the last processing node, or other processing node in the transmission path) in the above method 100, and the action of the control device is controlled in the above method 100.
  • the operations of the devices are similar, and detailed descriptions thereof will be omitted herein for avoiding redundancy.
  • the control device separately generates a processing policy for each processing node included in the transmission path of the target service, and sends a processing policy generated for the processing node to the processing node and the target.
  • the mapping between the service identifiers of the service enables the processing node to process the packet according to the corresponding processing policy when receiving the packet carrying the service identifier, so that the processing node does not need to have more packets.
  • the detection of the protocol layer can reduce the burden on the processing node, improve the forwarding efficiency of the packet, and improve the throughput of the system.
  • FIG. 6 shows a schematic block diagram of an apparatus 300 for processing messages in accordance with an embodiment of the present invention.
  • the apparatus 300 includes:
  • a determining unit 310 configured to determine a transmission path of the target service, where the transmission path includes at least two processing nodes;
  • the processing unit 320 is configured to separately generate a processing policy for each processing node on the transmission path, where each processing policy is used to indicate a next hop of the corresponding processing node in the transmission path of the target service;
  • the transceiver unit 330 is configured to send, to each processing node, a mapping relationship between a processing policy generated by the processing node and a service identifier of the target service, where the mapping relationship is used to enable receiving the service identifier carrying the target service.
  • the processing node of the packet determines the corresponding processing policy based on the mapping relationship received by the processing node, and processes the packet according to the processing policy, where the service identifier is allocated by the control device for the target service. Used to uniquely identify the target business.
  • the transceiver unit is further configured to receive a packet of the target service sent by the first processing node, where the first processing node is the first node in the transmission path;
  • the processing unit is further configured to add a service identifier of the target service to the packet of the target service;
  • the transceiver unit is further configured to send a message that adds the service identifier of the target service to the first processing node.
  • the transceiver unit is further configured to receive a packet of the target service sent by the second processing node, where the second processing node is the last node in the transmission path;
  • the processing unit is further configured to delete the service identifier of the target service from the packet of the target service;
  • the transceiver unit is further configured to send a message that deletes the service identifier of the target service to the second processing node.
  • the first processing policy corresponding to the first processing node is further used to indicate that the first processing node adds the service identifier of the target service in the packet of the target service, where the first processing node is in the transmission path.
  • a first node wherein the first processing policy corresponds to the routing information of the target service, so that the first processing node determines the first processing policy according to the routing information of the target service, where the routing information includes at least one of the following: Source media access control MAC address, destination MAC address, source Internet Protocol IP address, source port, destination IP address, destination port, protocol type of communication connection, or Uniform Resource Locator address.
  • the second processing policy corresponding to the second processing node is further used to indicate that the second processing node deletes the service identifier of the target service from the packet of the target service, where the second processing node is The last node in the transmission path.
  • the device 300 for processing a message in the embodiment of the present invention may correspond to the control device in the method of the embodiment of the present invention, and the modules and the other operations and/or functions in the device 300 for processing the message are respectively implemented.
  • the corresponding process of the method 100 in FIG. 1 is not repeated here for brevity.
  • the device for processing a message in the embodiment of the present invention may separately generate a processing policy for each processing node included in the transmission path of the target service, and send a processing policy generated for the processing node and a service of the target service to each processing node.
  • the mapping relationship between the identifiers enables the processing node to process the packets according to the corresponding processing policy when receiving the packets carrying the service identifiers, so that the processing nodes do not need multiple protocol layers for the packets.
  • FIG. 7 shows a schematic block diagram of an apparatus 400 for processing messages in accordance with an embodiment of the present invention.
  • the apparatus 400 includes:
  • the transceiver unit 410 is configured to receive, by the control device, a mapping relationship between a processing policy of the processing node and a service identifier of the target service, where the processing policy is generated by the control device according to the transmission path, where the transmission path includes at least two Processing a node, the processing node being any one of the at least two processing nodes; the processing policy is used to indicate a next hop of the processing node in the transmission path;
  • the processing unit 420 when the receiving unit receives the packet carrying the service identifier of the target service, determines the processing policy based on the mapping relationship, and processes the packet according to the processing policy, where the service is processed.
  • the identifier is allocated by the control device for the target service, and is used to uniquely identify the target service.
  • the transceiver unit is further configured to send the packet of the target service to the control device, so that the control device adds the packet in the target service. a service identifier of the target service; and receiving a message sent by the control device and adding a service identifier of the target service.
  • the transceiver unit is further configured to send the packet of the target service to the control device, so that the control device identifies the service identifier of the target service from And deleting the packet of the target service; and receiving the packet sent by the control device and deleting the service identifier of the target service.
  • the processing strategy is further used to refer to The processing node adds a service identifier of the target service to the packet of the target service, where the processing policy corresponds to the routing information of the target service;
  • the processing unit is further configured to determine the processing policy according to the routing information of the target service, where the routing information includes at least one of the following: a source media access control MAC address, a destination MAC address, a source Internet Protocol IP address, a source port, and a destination IP address.
  • the address, the destination port, the protocol type of the communication connection, or the Uniform Resource Locator address; and the service identifier of the target service is added to the packet of the target service according to the processing policy.
  • the processing policy is further used to indicate that the processing node deletes the service identifier of the target service from the packet of the target service;
  • the processing unit is further configured to delete the service identifier of the target service from the packet of the target service according to the processing policy.
  • the apparatus 400 for processing a message may correspond to a processing node in the method of the embodiment of the present invention, and the modules and the other operations and/or functions in the apparatus 400 for processing the message are respectively The corresponding process of the method 200 in FIG. 5 is implemented. For brevity, no further details are provided herein.
  • the device for processing a message can receive the message carrying the service identifier by receiving a mapping relationship between the processing policy generated by the control device and the service identifier of the target service.
  • the packet is processed according to the corresponding processing policy, so that it is not necessary to detect multiple protocol layers of the packet, which can reduce the burden on the processing node, improve the forwarding efficiency of the packet, and improve the throughput of the system.
  • FIG. 8 shows a schematic block diagram of an apparatus 500 for processing messages in accordance with an embodiment of the present invention. As shown in FIG. 6, the apparatus 500 includes:
  • processor 520 connected to the bus
  • transceiver 540 connected to the bus
  • the processor 520 calls a program stored in the memory through the bus for:
  • the control transceiver 540 sends, to each processing node, a mapping relationship between the processing policy generated by the processing node and the service identifier of the target service, where the mapping relationship is used to receive the packet carrying the service identifier of the target service.
  • the processing node determines the corresponding processing policy based on the mapping relationship received by the processing node, and processes the packet according to the processing policy, where the service identifier is allocated by the control device for the target service, and is used for Uniquely identifies the target business.
  • the processor 520 is specifically configured to:
  • the control transceiver 540 receives the packet of the target service sent by the first processing node, where the first processing node is the first node in the transmission path;
  • the control transceiver 540 sends a message to which the service identifier of the target service is added to the first processing node.
  • the processor 520 is specifically configured to control the transceiver 540 to receive the packet of the target service sent by the second processing node, where the second processing node is the last node in the transmission path;
  • the control transceiver 540 sends a message that deletes the service identifier of the target service to the second processing node.
  • the first processing policy corresponding to the first processing node is further used to indicate that the first processing node adds the service identifier of the target service in the packet of the target service, where the first processing node is in the transmission path.
  • a first node where the first processing policy corresponds to the routing information of the target service, so that the first processing node determines the first processing policy according to the routing information of the target service, where the routing information includes at least one of the following : Source media access control MAC address, destination MAC address, source Internet Protocol IP address, source port, destination IP address, destination port, protocol type of communication connection, and Uniform Resource Locator address.
  • the second processing policy corresponding to the second processing node is further used to indicate that the second processing node deletes the service identifier of the target service from the packet of the target service, where the second processing node is in the transmission path. The last node.
  • Processor 520 can implement or perform the various steps and logic blocks disclosed in the method embodiments of the present invention.
  • the processor 520 can be a microprocessor or any conventional processor, decoder, or the like.
  • the memory 540 can include read only memory and random access memory and provides instructions and data to the processor 520.
  • a portion of the memory 520 may also include a non-volatile random access memory.
  • the memory 520 can also store device type information.
  • the bus 510 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus 510 in the figure.
  • each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the apparatus 500 for processing a message may correspond to a control device in the method of the embodiment of the present invention, and each unit in the apparatus 500 for processing a message, that is, a module and the other operations and/or functions described above are respectively The corresponding process of the method 100 in FIG. 1 is implemented. For brevity, no further details are provided herein.
  • the device for processing a message in the embodiment of the present invention generates a processing policy for each processing node included in the transmission path of the target service, and sends a processing policy generated for the processing node and a service of the target service to each processing node.
  • the mapping relationship between the identifiers enables the processing node to process the packets according to the corresponding processing policy when receiving the packets carrying the service identifiers, so that the processing nodes do not need multiple protocol layers for the packets.
  • FIG. 9 shows a schematic block diagram of an apparatus 600 for processing messages in accordance with an embodiment of the present invention.
  • the apparatus 600 includes:
  • processor 620 connected to the bus
  • transceiver 640 connected to the bus
  • the processor 620 is configured to:
  • the program stored in the memory 630 is invoked to control the transceiver 640 to receive a mapping relationship between the processing policy of the processing node and the service identifier of the target service sent by the control device, where the processing policy is Generated by the transmission path, the transmission path includes at least two processing nodes, and the processing node is any one of the at least two processing nodes; the processing The policy is used to indicate the next hop of the processing node in the transmission path;
  • the processing policy is determined based on the mapping relationship, and the packet is processed according to the processing policy, where the service identifier is The control device is allocated for the target service and is used to uniquely identify the target service.
  • the processor 620 is specifically configured to: control, by the transceiver, the packet that sends the target service to the control device, so that the control device adds the service identifier of the target service to the packet of the target service;
  • the device 640 receives the packet sent by the control device and adds the service identifier of the target service.
  • the processor 620 is specifically configured to control the packet of the target service sent by the transceiver 640 to the control device, so that the control device deletes the service identifier of the target service from the packet of the target service. And the control transceiver 640 receives the message sent by the control device and deletes the service identifier of the target service.
  • the processing policy is further used to indicate that the processing node adds the service identifier of the target service to the packet of the target service, where the processing policy is Corresponding to the routing information of the target service, and
  • the processor 620 is specifically configured to determine the processing policy according to the routing information of the target service, where the routing information includes at least one of the following: a source media access control MAC address, a destination MAC address, and a source Internet Protocol IP address.
  • the processing policy is further used to indicate that the processing node deletes the service identifier of the target service from the packet of the target service, and
  • the processor 620 is specifically configured to: remove the service identifier of the target service from the packet of the target service according to the processing policy.
  • the processor 620 can implement or perform the steps and logic blocks disclosed in the method embodiments of the present invention.
  • Processor 620 can be a microprocessor or the processor can be any conventional processor, decoder, or the like.
  • the memory 630 can include read only memory and random access memory and provides instructions and data to the processor 620.
  • a portion of the memory 630 may also include a non-volatile random access memory.
  • the memory can also store device type information.
  • the bus 610 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus 610 in the figure.
  • each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the apparatus 600 for processing a message may correspond to a processing node in the method of the embodiment of the present invention, and the modules and the other operations and/or functions in the apparatus 600 for processing the message are respectively The corresponding process of the method 200 in FIG. 5 is implemented. For brevity, no further details are provided herein.
  • the device for processing a message when receiving the mapping relationship between the processing policy generated by the device and the service identifier of the target service, can receive the message carrying the service identifier.
  • the packet is processed according to the corresponding processing policy, so that it is not necessary to detect multiple protocol layers of the packet, which can reduce the burden on the device, improve the forwarding efficiency of the packet, and improve the throughput of the system.
  • FIG. 10 shows a schematic block diagram of a system 700 for processing messages in accordance with an embodiment of the present invention.
  • the system 700 includes:
  • the control device 710 is configured to determine a transmission path of the target service, where the transmission path includes at least two processing nodes, and respectively generate a processing policy for each processing node on the transmission path, where each processing policy is used to indicate a corresponding
  • the processing node sends a mapping relationship between the processing policy generated by the processing node and the service identifier of the target service to the next hop in the transmission path of the target service, and the mapping relationship is used to enable the receiving
  • the processing node that carries the packet with the service identifier of the target service determines a corresponding processing policy based on the mapping relationship received by the processing node, and processes the packet according to the processing policy, where the service identifier is
  • the control device is allocated for the target service and is used to uniquely identify the target service.
  • Any one of the at least two processing nodes 720 is configured to receive a mapping relationship between a processing policy of the processing node and a service identifier of the target service that is sent by the control device; and receive the report that carries the service identifier of the target service And determining, according to the mapping relationship, the processing policy, and processing the packet according to the processing policy, where the service identifier is allocated by the control device for the target service, and is used to uniquely identify the target service.
  • the control device 710 may correspond to the control device in the method of the embodiment of the present invention, and each unit in the control device 710, that is, the module and the other operations and/or functions described above are respectively implemented to implement the method in FIG.
  • the corresponding process of 100 for the sake of brevity, will not be repeated here.
  • the processing node 720 may correspond to a processing node in the method of the embodiment of the present invention, and each unit in the processing node 720, that is, the module and the other operations and/or functions described above are respectively implemented to implement the method in FIG.
  • the corresponding process of 200 is not repeated here for brevity.
  • the control device separately generates a processing policy for each processing node included in the transmission path of the target service, and sends a processing policy generated for the processing node to the processing node and the target.
  • the mapping between the service identifiers of the service enables the processing node to process the packet according to the corresponding processing policy when receiving the packet carrying the service identifier, so that the processing node does not need to have more packets.
  • the detection of the protocol layer can reduce the burden on the processing node, improve the forwarding efficiency of the packet, and improve the throughput of the system.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division, and may be implemented in actual implementation.
  • multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

L'invention concerne un procédé, un appareil et un système pour traiter un paquet, lesquels peuvent améliorer l'efficacité de transfert de paquet. Un dispositif de commande détermine un chemin de transmission d'un service cible, le chemin de transmission comprenant au moins deux nœuds de traitement ; le dispositif de commande génère respectivement une politique de traitement pour chaque nœud de traitement sur le chemin de transmission, chaque politique de traitement étant utilisée pour indiquer le saut suivant du nœud de traitement correspondant dans le chemin de transmission ; le dispositif de commande envoie, à chaque nœud de traitement, une relation de mappage entre une politique de traitement générée pour le nœud de traitement et une identification de service du service cible, la relation de mappage étant utilisée pour permettre à un nœud de traitement qui reçoit un paquet transportant l'identification de service du service cible de déterminer la politique de traitement correspondante sur la base de la relation de mappage reçue par le nœud de traitement, et de traiter le paquet selon la politique de traitement, et l'identification de service étant attribuée au service cible par le dispositif de commande et étant utilisée pour identifier de manière unique le service cible.
PCT/CN2016/078930 2015-06-10 2016-04-11 Procédé, appareil et système pour traiter un paquet WO2016197689A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510315577.6A CN106254265A (zh) 2015-06-10 2015-06-10 处理报文的方法、装置和系统
CN201510315577.6 2015-06-10

Publications (1)

Publication Number Publication Date
WO2016197689A1 true WO2016197689A1 (fr) 2016-12-15

Family

ID=57503077

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078930 WO2016197689A1 (fr) 2015-06-10 2016-04-11 Procédé, appareil et système pour traiter un paquet

Country Status (2)

Country Link
CN (1) CN106254265A (fr)
WO (1) WO2016197689A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782610A (zh) * 2020-06-03 2020-10-16 中移(杭州)信息技术有限公司 日志处理方法、装置、服务器、系统网络和存储介质
CN112272144A (zh) * 2020-10-28 2021-01-26 北京华夏创新科技有限公司 报文转发方法及装置
CN112954045A (zh) * 2021-02-07 2021-06-11 游密科技(深圳)有限公司 节点中的数据传输方法、装置、介质及电子设备

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900604A (zh) * 2018-06-28 2018-11-27 中国建设银行股份有限公司 信息分发方法、装置、分行服务端及存储介质
CN111327571A (zh) * 2018-12-14 2020-06-23 中兴通讯股份有限公司 设备控制方法、装置、控制节点、网络设备、数据中心
CN111953604B (zh) * 2019-05-17 2023-07-18 华为技术有限公司 一种为业务流提供业务服务的方法和装置
CN114285794B (zh) * 2021-12-22 2023-08-18 网宿科技股份有限公司 报文转发控制方法、报文传输网络、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100158010A1 (en) * 2008-12-22 2010-06-24 Electronics And Telecommunications Research Institute Method for forwarding packet in mpls l3vpn
CN103096499A (zh) * 2011-10-31 2013-05-08 中国联合网络通信集团有限公司 业务数据的传输方法及装置
US20140269724A1 (en) * 2013-03-04 2014-09-18 Telefonaktiebolaget L M Ericsson (Publ) Method and devices for forwarding ip data packets in an access network
CN104348728A (zh) * 2013-08-08 2015-02-11 华为技术有限公司 生成转发信息的方法及设备
CN104518967A (zh) * 2013-09-30 2015-04-15 华为技术有限公司 路由方法、设备和系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100158010A1 (en) * 2008-12-22 2010-06-24 Electronics And Telecommunications Research Institute Method for forwarding packet in mpls l3vpn
CN103096499A (zh) * 2011-10-31 2013-05-08 中国联合网络通信集团有限公司 业务数据的传输方法及装置
US20140269724A1 (en) * 2013-03-04 2014-09-18 Telefonaktiebolaget L M Ericsson (Publ) Method and devices for forwarding ip data packets in an access network
CN104348728A (zh) * 2013-08-08 2015-02-11 华为技术有限公司 生成转发信息的方法及设备
CN104518967A (zh) * 2013-09-30 2015-04-15 华为技术有限公司 路由方法、设备和系统

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782610A (zh) * 2020-06-03 2020-10-16 中移(杭州)信息技术有限公司 日志处理方法、装置、服务器、系统网络和存储介质
CN111782610B (zh) * 2020-06-03 2024-03-22 中移(杭州)信息技术有限公司 日志处理方法、装置、服务器、系统网络和存储介质
CN112272144A (zh) * 2020-10-28 2021-01-26 北京华夏创新科技有限公司 报文转发方法及装置
CN112954045A (zh) * 2021-02-07 2021-06-11 游密科技(深圳)有限公司 节点中的数据传输方法、装置、介质及电子设备
CN112954045B (zh) * 2021-02-07 2022-04-26 游密科技(深圳)有限公司 节点中的数据传输方法、装置、介质及电子设备

Also Published As

Publication number Publication date
CN106254265A (zh) 2016-12-21

Similar Documents

Publication Publication Date Title
WO2016197689A1 (fr) Procédé, appareil et système pour traiter un paquet
CN114145054B (zh) 用于支持流量导向通过服务功能链的系统和方法
US10771475B2 (en) Techniques for exchanging control and configuration information in a network visibility system
US9088612B2 (en) Systems and methods for providing link-performance information in socket-based communication devices
CN109889618B (zh) 用于处理dns请求的方法和系统
US8144593B2 (en) Method and apparatus for efficient routing in communication networks
WO2021000827A1 (fr) Procédé et appareil d'établissement de liaison de transmission de données, et support de stockage lisible par ordinateur
WO2015143944A1 (fr) Procédé de production d'informations de transfert, contrôleur et entité de transfert de service
US20150341271A1 (en) Distributed traffic inspection in a telecommunications network
WO2019185062A1 (fr) Procédé et dispositif de communication
US10116577B2 (en) Detecting path MTU mismatch at first-hop router
WO2017036248A1 (fr) Procédé, dispositif, et système de transmission de données
CN109714274B (zh) 一种获取对应关系的方法和路由设备
US10462065B2 (en) Path maximum transmission unit discovery
US20180198643A1 (en) Packet transmission method and apparatus
WO2017156706A1 (fr) Procédé et dispositif pour traiter un paquet de données
WO2018036254A1 (fr) Procédé et dispositif de retransmission de paquets
US9585052B2 (en) Determining a traffic bearer for data traffic between a terminal and a content data source of a content data network
WO2015070755A1 (fr) Procédé et dispositif de sécurité de réseau
WO2018201989A1 (fr) Procédé et dispositif permettant d'établir une session de pdu
CN112134776B (zh) 生成组播转发表项的方法和接入网关
US20180145905A1 (en) Data link layer-based communication method, device, and system
WO2018157551A1 (fr) Procédé et appareil de transmission de données
CN112887209B (zh) 关于数据传输的表项建立方法及相关设备
WO2018103613A1 (fr) Procédé et appareil de traitement de données de service

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: 16806587

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: 16806587

Country of ref document: EP

Kind code of ref document: A1