WO2016197689A1 - 处理报文的方法、装置和系统 - Google Patents
处理报文的方法、装置和系统 Download PDFInfo
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/20—Traffic policing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address 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
本发明提供一种处理报文的方法、装置和系统,能够提高报文的转发效率。控制设备确定目标业务的传输路径,该传输路径包括至少两个处理节点;该控制设备为该传输路径上的每个处理节点分别生成处理策略,每个处理策略用于指示对应的处理节点在所述传输路径中的下一跳;该控制设备向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,该映射关系用于使接收到携带有该目标业务的业务标识的报文的处理节点基于所述处理节点接收的映射关系,确定对应的处理策略,并根据该处理策略,对该报文进行处理,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
Description
本申请要求于2015年06月10日提交中国专利局、申请号为201510315577.6、发明名称为“处理报文的方法、装置和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及通信领域,更具体地,涉及处理报文的方法、装置和系统。
目前,已知一种网络架构,在该网络中包括多个节点,每个节点综合考虑携带于接收的报文中的信息,例如,媒体访问控制(英文:Media Access Control,简称:MAC)层、网际协议(英文:Internet Protocol,简称:IP)层及传输控制协议(英文:Transmission Control Protocol,简称:TCP)等层中的信息,确定对报文的处理策略,并根据该处理策略对该报文进行处理。上述方式能够支持根据多个协议层的信息来决定对报文如何处理,从而能够扩展处理策略的匹配维度,实现处理策略灵活配置。例如,即使报文1和报文2的MAC层的信息(例如,源MAC地址或目的MAC地址)相同,但在报文1和报文2的IP层信息(例如,源IP地址或目的IP地址)不同的情况下,仍能够实现为报文1和报文2配置不同的处理策略。
但是,在该处理中,各节点需要探测报文的多个协议层才能够获知上述处理策略,处理繁杂,计算量较大,严重影响了报文的转发效率,降低了系统的吞吐量。
发明内容
本发明实施例提供一种处理报文的方法、装置和系统,能够提高报文的转发效率。
第一方面,提供了一种处理报文的方法,该方法包括:
控制设备确定目标业务的传输路径,其中,该传输路径包括至少两个处理节点;
该控制设备为该传输路径上的每个处理节点分别生成处理策略,其中,
每个处理策略用于指示对应的处理节点在目标业务的传输路径中的下一跳;
该控制设备向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,该映射关系用于使接收到携带有该目标业务的业务标识的报文的处理节点基于该处理节点接收的映射关系,确定对应的处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
结合第一方面,在第一方面的第一种实现方式中,该方法还包括:该控制设备接收第一处理节点发送的该目标业务的报文,该第一处理节点是该传输路径中的首个节点;该控制设备在该目标业务的报文中添加该目标业务的业务标识;该控制设备将添加了该目标业务的业务标识的报文发送至该第一处理节点。
结合第一方面及其上述实现方式,在第一方面的第二种实现方式中,该方法还包括:该控制设备接收第二处理节点发送的该目标业务的报文,该第二处理节点是该传输路径中的最后一个节点;该控制设备将该目标业务的业务标识从该目标业务的报文中删除;该控制设备将删除了该目标业务的业务标识的报文发送至该第二处理节点。
结合第一方面及其上述实现方式,在第一方面的第三种实现方式中,第一处理节点对应的第一处理策略还用于指示该第一处理节点在该目标业务的报文中添加该目标业务的业务标识,该第一处理节点是该传输路径中的首个节点,其中,该第一处理策略与该目标业务的路由信息相对应,以便于该第一处理节点根据该目标业务的路由信息确定该第一处理策略,该路由信息包括以下至少一种:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型和统一资源定位器地址。
结合第一方面及其上述实现方式,在第一方面的第四种实现方式中,第二处理节点对应的第二处理策略还用于指示该第二处理节点将该目标业务的业务标识从该目标业务的报文中删除,该第二处理节点是该传输路径中的最后一个节点。
第二方面,提供了一种处理报文的方法,该方法包括:处理节点接收控制设备发送的该处理节点的处理策略与目标业务的业务标识之间的映射关系,该处理策略是该控制设备根据该传输路径生成的,该传输路径包括至少
两个处理节点,该处理节点为该至少两个处理节点中的任意一个,该处理策略用于指示该处理节点在该传输路径中的下一跳;该处理节点在接收到携带有该目标业务的业务标识的报文时,基于该映射关系,确定该处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
结合第二方面,在第二方面的第一种实现方式中,当该处理节点是该传输路径中的首个节点时,该方法还包括:该处理节点向该控制设备发送该目标业务的报文,以便于该控制设备在该目标业务的报文中添加该目标业务的业务标识;该处理节点接收该控制设备发送的添加了该目标业务的业务标识的报文。
结合第二方面及其上述实现方式,在第二方面的第二种实现方式中,当该处理节点是该传输路径中的最后一个节点时,该方法还包括:
该处理节点向该控制设备发送的该目标业务的报文,以便于该控制设备将该目标业务的业务标识从该目标业务的报文中删除;该处理节点接收该控制设备发送的删除了该目标业务的业务标识的报文。
结合第二方面及其上述实现方式,在第二方面的第三种实现方式中,当该处理节点是该传输路径中的首个节点时,该处理策略还用于指示该处理节点在该目标业务的报文中添加该目标业务的业务标识,其中,该处理策略与该目标业务的路由信息相对应,以及该方法还包括:该处理节点根据该目标业务的路由信息确定该处理策略,其中,该路由信息包括以下至少一种:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型和统一资源定位器地址;该处理节点根据该处理策略,在该目标业务的报文中添加该目标业务的业务标识。
结合第二方面及其上述实现方式,在第二方面的第四种实现方式中,当该处理节点是该传输路径中的最后一个节点时,该处理策略还用于指示该处理节点将该目标业务的业务标识从该目标业务的报文中删除,以及,该方法还包括:该处理节点根据该处理策略,将该目标业务的业务标识从该目标业务的报文中删除。
第三方面,提供了一种处理报文的装置,该装置包括:确定单元,用于确定目标业务的传输路径,其中,该传输路径包括至少两个处理节点;处理
单元,用于为该传输路径上的每个处理节点分别生成处理策略,其中,每个处理策略用于指示对应的处理节点在目标业务的传输路径中的下一跳;收发单元,用于向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,该映射关系用于使接收到携带有该目标业务的业务标识的报文的处理节点基于装置接收的映射关系,确定对应的处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
结合第三方面,在第三方面的第一种实现方式中,该收发单元还用于接收第一处理节点发送的该目标业务的报文,该第一处理节点是该传输路径中的首个节点;该处理单元还用于在该目标业务的报文中添加该目标业务的业务标识;该收发单元还用于将添加了该目标业务的业务标识的报文发送至该第一处理节点。
结合第三方面及其上述实现方式,在第三方面的第二种实现方式中,该收发单元还用于接收第二处理节点发送的该目标业务的报文,该第二处理节点是该传输路径中的最后一个节点;该处理单元还用于将该目标业务的业务标识从该目标业务的报文中删除;该收发单元还用于将删除了该目标业务的业务标识的报文发送至该第二处理节点。
结合第三方面及其上述实现方式,在第三方面的第三种实现方式中,第一处理节点对应的第一处理策略还用于指示该第一处理节点在该目标业务的报文中添加该目标业务的业务标识,该第一处理节点是该传输路径中的首个节点,其中,该第一处理策略与该目标业务的路由信息相对应,以便于该第一处理节点根据该目标业务的路由信息确定该第一处理策略,该路由信息包括以下至少一个:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型或统一资源定位器地址。
结合第三方面及其上述实现方式,在第三方面的第四种实现方式中,第二处理节点对应的第二处理策略还用于指示该第二处理节点将该目标业务的业务标识从该目标业务的报文中删除,该第二处理节点是该传输路径中的最后一个节点。
第四方面,提供了一种处理报文的装置,该装置包括:收发单元,用于接收控制设备发送的该处理节点的处理策略与目标业务的业务标识之间的
映射关系,该处理策略是该控制设备根据该传输路径生成的,该传输路径包括至少两个处理节点,该处理节点为该至少两个处理节点中的任意一个,该处理策略用于指示该处理节点在该传输路径中的下一跳;处理单元,用于在该接收单元接收到携带有该目标业务的业务标识的报文时,基于该映射关系,确定该处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
结合第四方面,在第四方面的第一种实现方式中,当该装置是该传输路径中的首个节点时,该收发单元还用于向该控制设备发送该目标业务的报文,以便于该控制设备在该目标业务的报文中添加该目标业务的业务标识;以及接收该控制设备发送的添加了该目标业务的业务标识的报文。
结合第四方面及其上述实现方式,在第四方面的第二种实现方式中,当该装置是该传输路径中的最后一个节点时,该收发单元还用于向该控制设备发送的该目标业务的报文,以便于该控制设备将该目标业务的业务标识从该目标业务的报文中删除;以及接收该控制设备发送的删除了该目标业务的业务标识的报文。
结合第四方面及其上述实现方式,在第四方面的第三种实现方式中,当该装置是该传输路径中的首个节点时,该处理策略还用于指示该处理节点在该目标业务的报文中添加该目标业务的业务标识,其中,该处理策略与该目标业务的路由信息相对应,以及该处理单元还用于根据该目标业务的路由信息确定该处理策略,其中,该路由信息包括以下至少一个:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型或统一资源定位器地址;用于根据该处理策略,在该目标业务的报文中添加该目标业务的业务标识。
结合第四方面及其上述实现方式,在第四方面的第四种实现方式中,当该装置是该传输路径中的最后一个节点时,该处理策略还用于指示该处理节点将该目标业务的业务标识从该目标业务的报文中删除,以及该处理单元还用于根据该处理策略,将该目标业务的业务标识从该目标业务的报文中删除。
第五方面,提供了一种处理报文的系统,该系统包括:
控制设备,用于确定目标业务的传输路径,其中,该传输路径包括至少两个处理节点,为该传输路径上的每个处理节点分别生成处理策略,其中,
每个处理策略用于指示对应的处理节点在目标业务的传输路径中的下一跳,向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,该映射关系用于使接收到携带有该目标业务的业务标识的报文的处理节点基于该处理节点接收的映射关系,确定对应的处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务;
该至少两个处理节点中的任意一个,用于接收控制设备发送的该处理节点的处理策略与目标业务的业务标识之间的映射关系;在接收到携带有该目标业务的业务标识的报文时,基于该映射关系,确定该处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
本发明实施例的处理报文的方法、装置和系统中,控制设备为目标业务的传输路径所包括的每个处理节点分别生成处理策略,并向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,能够使处理节点在接收到携带有该业务标识的报文时,根据其对应的处理策略对该报文进行处理,从而无需各处理节点对报文的多个协议层进行探测,能够减少处理节点的负担,提高报文的转发效率,进而提高系统的吞吐量。
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍。
图1是根据本发明一实施例的处理报文的方法的示意性流程图;
图2是适用本发明实施例提供的的处理报文的方法的通信系统的示意性架构图;
图3是承载有业务标识的一种报文结构的示意图;
图4是承载有业务标识的另一种报文结构的示意图;
图5是根据本发明另一实施例的处理报文的方法的示意性流程图;
图6是根据本发明一实施例的处理报文的装置的示意性框图;
图7是根据本发明另一实施例的处理报文的装置的示意性框图;
图8是根据本发明一实施例的处理报文的设备的示意性结构图;
图9是根据本发明另一实施例的处理报文的设备的示意性结构图;
图10是根据本发明一实施例的处理报文的系统的示意性架构图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的技术方案,可以应用于各种通信系统,例如:全球移动通讯系统(英文:Global System of Mobile communication,简称:GSM),码分多址(英文:Code Division Multiple Access,简称:CDMA)系统,宽带码分多址(英文:Wideband Code Division Multiple Access Wireless,简称:WCDMA),通用分组无线业务(英文:General Packet Radio Service,简称:GPRS),长期演进(英文:Long Term Evolution,简称:LTE)等。
图1示出了从控制设备角度描述的根据本发明一实施例的处理报文的方法100的示意性流程图,如图1所示,该方法100包括:
S110,控制设备确定目标业务的传输路径,其中,该传输路径包括至少两个处理节点。
S120,该控制设备为该传输路径上的每个处理节点分别生成处理策略,其中,每个处理策略用于指示对应的处理节点在目标业务的传输路径中的下一跳。
S130,该控制设备向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系。
该映射关系用于使接收到携带有该目标业务的业务标识的报文的处理节点基于所述处理节点接收的映射关系,确定对应的处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
例如,如图2所示,在通信系统中,发送端通过多个处理节点(例如,图2所示的处理节点1~处理节点7中的部分或全部)及各转发设备之间的物理链路(例如,光纤)将报文发送至接收端。
并且,作为实例而非限定,该发送端可以是基站设备,该接收端可以是无线网络控制器(英文:radio network controller,简称:RNC,radio network
controller)、信令网关(英文:signaling gateway,SGW,)或移动性管理实体(英文:mobility management entity,简称:MME)。此情况下,该多个处理节点可以是承载网络中的转发节点,或者说路由节点等。
即,当基站接收到来自用户设备(英文:User Equipment,简称:UE)所访问的业务的报文(或者说,上行数据)后,需要通过承载网络(例如,图2中虚线所示路径)将该报文包传输至RNC、SGW或MME。同样,RNC、SGW或MME需要将用户设备所访问的业务的报文(或者说,下行数据)通过承载网络传输至基站,进而由基站将该报文包传输至用户设备。
如上所说,在基站和RNC、SGW或MME之间传输的报文需要经由多个处理节点所组成的传输路径,该传输路径上的各处理节点需要获知针对该报文的处理策略,以确定如何对该报文进行处理。
应理解,以上列举的承载网络仅为适用本发明的处理报文的方法的通信系统的示例性说明,本发明并未限定于此,其他在发送端设备和接收端设备之间传输的业务需要经由多个处理节点转发的通信系统均落入本发明的保护范围内。
为了便于理解和说明,以下将根据本发明实施例的处理报文的方法适用于承载网络时的处理过程为例进行说明。
另外,需要说明的是,根据应用场景的不同,上述处理节点也可以为虚拟机或转发设备等。
该方法100的执行主体可以是用于管理承载网络的控制设备,并且该控制设备可以与承载网络中的节点通信。并且,在本发明实施例中,该控制设备可以独立配置,也可以集成在其他网元(例如,某个节点)中。
在本发明实施例中,各处理节点根据来自控制设备的处理策略对各业务的报文进行处理,例如,将该报文通过处理策略中记载的端口,传输至该处理策略指示的该处理节点在该报文的传输路径中的下一跳。
因此,在S110,控制设备可以确定目标业务的传输路径,例如,控制设备可以确定该传输路径所包括的处理节点,以及各处理节点之间的关系,例如,一个处理节点在该传输路径上的下一跳是哪个处理节点。
在本发明实施例中,包括目标业务在内的各业务的传输路径可以由网络管理员或服务供应商预先通知并存储在控制设备中。
或者,控制设备也可以通过获取目标业务的报文,并对该报文进行解析
或探测,从而获知该报文的路由信息,例如,源MAC地址、目的MAC地址、源IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型和统一资源定位器地址(URL,Uniform Resource Locator)中的一种或多种,并且,可以根据该路由信息,确定该传输路径,并且,根据路由信息确定业务的传输路径的方法和过程可以与现有技术相似,这里,为了避免赘述,省略其详细说明。
在本发明的具体实现方式中,所述获取目标业务的报文的方法可以通过如下过程实现:
由于各处理节点需要根据来自控制设备的处理策略对各业务的报文进行处理,因此,当来自发送端的目标业务的首个报文到达该传输路径中的首个处理节点(例如,图2所示的处理节点1)时,位于该首个处理节点无法查找到与该报文相对应的处理策略(随后对该查找方法和过程进行详细说明),即,可以确定未从控制设备获得针对该目标业务的报文的处理策略,从而,该首个处理节点将该目标业务的首个报文传输至控制设备,由此,控制设备能够获取该目标业务的报文。
应理解,以上列举的控制设备获取目标业务的报文的方法仅为示例性说明,本发明并不限定于此,其他能够使控制设备获得目标业务的报文的方法均落入本发明的保护范围内。
并且,以上列举的控制设备确定目标业务的传输路径的方法和过程仅为示例性说明,本发明并不限定于此,例如,处理节点也可以将目标业务的报文的路由信息等能够用于确定目标业务的传输路径的信息传输给控制设备,从而,控制设备能够直接根据所接收到的信息确定传输路径。
在S120,控制设备对于如上所述确定的目标业务的传输路径所包括的各处理节点分别生成对应的处理策略。
在本发明实施例中,处理策略可以用于指示各处理节点在目标业务的传输路径中的下一跳,从而,各处理节点可以根据该处理策略,将该目标业务的报文传输至该传输路径中的下一跳。
在本发明实施例中,一个处理节点对应的处理策略可以包括该处理节点传输该目标业务的报文所使用的转发端口,该转发端口与该处理节点在传输路径中的下一跳相对应,即,该处理节点通过该转发端口发送出的报文能够到达该处理节点在传输路径中的下一跳。
应理解,以上列举的处理策略所包括的具体信息仅为示例性说明,本发明并不限定于此,其他能够使处理节点将报文传输至下一跳的信息或参数均落入本发明的保护范围内。
在S130,控制设备可以将如上所述确定的各处理节点对应的处理策略分别下发至各处理节点。
在本发明实施例中,可能存在多种业务同时存在的情况,此情况下,为了能够使各处理节点准确确定各业务对应的处理策略,控制设备可以为各业务分别分配业务标识,以使一个业务的业务标识用于唯一的标识该业务,并将各业务的业务标识与各业务对应的处理策略之间的映射关系(例如,映射关系表项)下发至各处理节点,从而,处理节点能够根据报文所携带的业务标识查找到上述映射关系表象中与该业务标识相对应的处理策略。
在本发明中可以采用以下方式在报文中添加控制设备所分配的业务标识,即,可以由该控制设备在报文中添加业务标识(即,方式1),可以由传输路径中的首个节点在报文中添加业务标识(即,方式2),下面,分别对以上两种方式进行详细说明。
方式1
可选地,该方法还包括:
该控制设备接收第一处理节点发送的该目标业务的报文,该第一处理节点是该传输路径中的首个节点;
该控制设备在该目标业务的报文中添加该目标业务的业务标识;
该控制设备将添加了该目标业务的业务标识的报文发送至该第一处理节点。
具体地说,在本发明实施例中,业务标识可以由控制设备添加,因此,当目标业务的报文到达该传输路径中的首个处理节点(即,第一处理节点)时未携带有控制设备所分配的业务标识,因此,可以预先协商或规定:各处理节点在接收到未携带有控制设备下发的处理策略中包括的业务标识的报文时(以下,为了便于理解和区分,称为原始报文),需要将该原始报文发送至控制设备。
从而,当未经由控制设备添加业务标识的该目标业务的报文到达该传输路径中的首个处理节点时,该首个处理节点无法从该报文中探测到该目标业务的业务标识,该首个处理节点按预先协商或规定将该报文传输至控制设
备,控制设备可以根据该报文的路由信息,确定该报文所属于的业务(即,上述目标业务),并将该目标业务的业务标识添加在该报文中,返回给该首个处理节点。
由此,在传输路径中传输的报文携带了目标业务的业务标识,从而,各处理节点能够根据如上所述从控制设备获取的处理策略,对接收的报文进行处理(例如,转发等)。
需要说明的是,在本发明实施例中,根据控制设备确定各处理节点的处理策略(或者说,控制设备确定传输路径)的方式,该报文的传输路径中的首个处理节点向控制设备传输未携带有业务标识的报文的时机可以是在控制设备向该首个处理节点下发控制策略之前,也可以是在控制设备向该首个处理节点下发控制策略之后。
例如,当传输路径由网络管理员或服务供应商预先通知并存储在控制设备中时,在未携带有业务标识的报文到达该传输路径中的首个处理节点之前,控制设备已经能够确定该报文所属业务的传输路径,并根据该传输路径确定首个处理节点的处理策略,此情况下,该报文的传输路径中的首个处理节点向控制设备传输未携带有业务标识的报文的时机可以是在控制设备向该首个处理节点下发控制策略之后。
再例如,当控制设备通过获取报文的路由信息,并根据该路由信息确定该业务的传输路径时,业务的首个报文到达传输路径中的首个处理节点时,控制设备尚未完成该首个处理节点的处理策略的下发,此情况下,该报文的传输路径中的首个处理节点向控制设备传输未携带有业务标识的报文的时机可以是在控制设备向该首个处理节点下发控制策略之前。
方式2
可选地,第一处理节点对应的第一处理策略还用于指示该第一处理节点在该目标业务的报文中添加该目标业务的业务标识,该第一处理节点是该传输路径中的首个节点,其中,该第一处理策略与该目标业务的路由信息相对应,以便于该第一处理节点根据该目标业务的路由信息确定该第一处理策略,该路由信息包括以下至少一种:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型和统一资源定位器地址。
具体地说,在如上所述确定的针对该传输路径的首个处理节点的处理策
略中,还可以指示首个处理节点在接收到携带有规定的路由信息(即,目标业务对应的路由信息,例如,源MAC地址、目的MAC地址、源IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型或URL)的报文时,在该报文中添加该目标业务的业务标识。
从而,当未添加业务标识的该目标业务的报文到达该传输路径中的首个处理节点时,该首个处理节点能够根据该报文所携带的路由信息,确定该报文属于目标业务,并根据从控制设备获取的处理策略,在该报文中添加该目标业务的业务标识。
由此,在传输路径中传输的报文携带了目标业务的业务标识,从而,各处理节点能够根据如上所述从控制设备获取的处理策略,对接收到的报文进行处理(例如,转发等)。
在本发明实施例中,由于上述业务标识是控制设备分配并由控制设备或处理节点添加的,为了避免该业务标识对通信系统中的其他设备(例如,接收端等)解析报文时造成影响,可以在携带有业务标识的报文完成在传输路径中的转发并离开传输路径中的最后一个节点之前,将该业务标识从报文中删除。
在本发明中可以采用以下方式从报文中删除控制设备所分配的业务标识,即,可以由该控制设备从报文中删除业务标识(即,方式3),也可以由传输路径中的最后一个节点从报文中删除业务标识(即,方式4),下面,分别对以上两种方式进行详细说明。
方式3
可选地,该方法还包括:
该控制设备接收第二处理节点发送的该目标业务的报文,该第二处理节点是该传输路径中的最后一个节点;
该控制设备将该目标业务的业务标识从该目标业务的报文中删除;
该控制设备将删除了该目标业务的业务标识的报文发送至该第二处理节点。
具体地说,在本发明实施例中,控制设备可以在针对该传输路径中的最后一个节点(即,第二处理节点)的处理策略中指示该最后一个节点在收到携带有该目标业务的业务标识的报文后,将该报文传输至控制设备,并指示该最后一个节点在接收到该控制设备返回的报文后,将根据处理策略所记载
的方式对该报文进行处理。
从而,当携带有目标业务的业务标识的该目标业务的报文到达该传输路径中的最后一个节点时,该最后一个节点可以根据该业务标识确定该目标业务对应的处理策略,并根据该处理策略的指示,将该报文传输至控制设备,控制设备在接收到携带有业务标识的报文时,可以将该业务标识删除,并将删除了业务标识后的报文传输至该传输路径中的最后一个节点,由此,离开传输路径的报文不会携带业务标识。
方式4
可选地,第二处理节点对应的第二处理策略还用于指示该第二处理节点将该目标业务的业务标识从该目标业务的报文中删除,该第二处理节点是该传输路径中的最后一个节点。
具体地说,在本发明实施例中,控制设备可以在针对该传输路径中的最后一个节点(即,第二处理节点)的处理策略中指示该最后一个节点在收到携带有该目标业务的业务标识的报文后,将该业务标识删除,并根据处理策略所记载的方式对该报文进行处理。
从而,当携带有目标业务的业务标识的该目标业务的报文到达该传输路径中的最后一个节点时,该最后一个节点可以根据该业务标识确定该目标业务对应的处理策略,并根据该处理策略的指示,将该业务标识删除,由此,离开传输路径的报文不会携带业务标识。
下面,对本发明实施例中业务标识在报文中的添加位置进行详细说明。
可选地,该业务标识携带于报文的用于承载目的MAC地址的字段。
具体地说,在本发明实施例中,由于目标业务的报文在各处理节点中的处理策略是基于业务标识来确定的,因此,无需使用原本承载于报文的目的MAC地址字段中的信息(即,目的MAC地址),如图3所示,添加业务标识的设备(处理节点或控制设备)在报文中添加业务标识时,可以将承载于报文中的目的MAC地址替换为控制设备所分配的业务标识。
需要说明的是,在本发明实施例中,该目标业务的业务标识与该目标业务的目的MAC地址可以相同也可以不同,只要各处理节点能够预先获知承载于该目的MAC地址字段中的信息作为业务标识即可。
可选地,该业务标识携带于报文的用于承载源IP地址的字段;
具体地说,在本发明实施例中,由于目标业务的报文在各处理节点中的
处理策略是基于业务标识来确定的,因此,无需使用原本承载于报文的源IP地址字段中的信息(即,源IP地址),从而,添加业务标识的设备(处理节点或控制设备)在报文中添加业务标识时,可以将承载于报文中的源IP地址替换为控制设备所分配的业务标识。
需要说明的是,在本发明实施例中,该目标业务的业务标识与该目标业务的源IP地址可以相同也可以不同,只要各处理节点能够预先获知承载于该目的源IP地址字段中的信息作为业务标识即可。
可选地,该业务标识携带于报文的用于承载目的IP地址的字段,其中,该目标业务的业务标识与该目标业务的目的IP地址不同;
具体地说,在本发明实施例中,由于目标业务的报文在各处理节点中的处理策略是基于业务标识来确定的,因此,无需使用原本承载于报文的目的IP地址字段中的信息(即,目的IP地址),从而,添加业务标识的设备(处理节点或控制设备)在报文中添加业务标识时,可以将承载于报文中的目的IP地址替换为控制设备所分配的业务标识。
需要说明的是,在本发明实施例中,该目标业务的业务标识与该目标业务的目的IP地址可以相同也可以不同,只要各处理节点能够预先获知承载于该目的IP地址字段中的信息作为业务标识即可。
应理解,以上列举的由业务标识所替换的原本承载于报文中的信息仅为实例性说明,本发明并不限定于此,其他不影响报文在各处理节点之间传输的信息均被删除并替换为业务标识。例如,作为实例而非限定,还可以列举IP选项、TCP选项、TCP确认号、TCP序列号、源端口或目的端口等信息。
即,可选地,该业务标识携带于报文的用于承载IP选项的字段;或该业务标识携带于报文的用于承载传输控制协议TCP选项的字段;或该业务标识携带于报文的用于承载传输控制协议TCP确认号的字段;或该业务标识携带于报文的用于承载传输控制协议TCP序列号的字段;或该业务标识携带于报文的用于承载源端口的字段;或该业务标识携带于报文的用于承载目的端口的字段。
需要说明的是,在本发明实施例中,该目标业务的业务标识与上述信息可以相同也可以不同,只要各处理节点能够预先获知上述信息的承载字段中的信息作为业务标识即可。
可选地,该业务标识携带于报文的以太层。
具体地说,在本发明实施例中,可以使用报文中尚未分配的空闲字段添加业务标识,例如,如图4所示,可以在报文的以太层规定用于承载业务标识的字段,根据以太层的信息承载规则,该承载业务标识字段可以由以太类型字段和承载字段构成,作为实例而非限定,在本发明实施例中,可以将业务标识的以太类型定义为0xAAB0,并在承载字段添加业务标识。
下面,以将该方法应用于图2所示承载系统时各设备的动作为例,对该方法100的处理流程进行示例性说明。
设处理节点1的MAC地址为0x112233445566(其中,“0x”表示该MAC地址为16进制,为了避免赘述,以下省略对相同或相似情况的说明),从而,发送端可以将处理节点1的MAC地址作为该目标业务的报文的目的MAC地址,承载于报文的目的MAC地址字段,并发送至处理节点1。
来自发送端的目标业务的报文经过以下传输路径到达接收端,即:
处理节点1→处理节点5→处理节点7→处理节点6→处理节点3。
A、处理节点1的处理过程
如果该报文是目标业务是首个报文,则处理节点1中可能未存储控制设备所下发的针对该目标业务的处理策略,此情况下,处理节点1将该目标业务的首个报文或该报文的路由信息发送至控制设备,控制设备获取报文的路由信息并计算该目标业务的转发的路径为处理节点1→处理节点5→处理节点7→处理节点6→处理节点3,为该目标业务分配业务标识,并向上述各处理节点下发处理策略,例如,针对处理节点1的处理策略可以包括当接收到承载有该目标业务的路由信息的报文时,在该报文中添加业务标识,并通过该处理策略所指定的端口(例如,以下表1中指示的端口)发送该报文。并且,控制设备可以将该报文返回给处理节点1。
从而,处理节点1中能够存储控制设备所下发的针对该目标业务的处理策略,该处理策略可以是以下表1所示的映射关系表项。
表1
从而,处理节点1可以根据该报文的路由信息(例如,源MAC地址、目的MAC地址、源IP地址、源端口、目的IP地址、目的端口、通信连接
的协议类型或URL)确定在进行针对该目标业务的报文的处理时使用的处理策略为上述表1所示的:增加业务标识(0x000000000ABC),并通过转发端口10发送该报文。
这里,处理节点1可以根据图3或图4的方式添加业务标识,即,可以将报文的目的MAC地址、目的IP地址或源IP地址替换为业务标识,或者,也可以在报文的以太层添加业务标识,。
另外,如果该报文不是目标业务的首个报文,则处理节点1中已存在控制设备所下发的针对该目标业务的处理策略(例如,上述表1),从而,当报文到达处理节点1时,处理节点1可以根据该报文的路由信息确定针对该目标业务的报文的处理策略。
例如,在将报文的目的MAC地址替换为业务标识时,进入处理节点1时报文的MAC地址是0x112233445566,通过处理节点1的业务标识添加动作,目的MAC地址变为了0x00000000000ABC。虽然目的MAC地址字段(或者说,域)没有消失,但是目的MAC地址字段所表征的含义已经变更。后续的处理节点5、处理节点7、处理节点6、处理节点3将根据报文的目的MAC地址0x000000000ABC确定对应的处理策略。
需要说明的是,以上列举说明的处理节点1添加业务标识的方式,但本发明并不限定于此,也可以由控制设备添加,或者也可以由控制设备添加目标业务的首个报文的业务标识,并由处理节点1添加后续报文的业务标识,。
B、处理节点5的处理过程
处理节点5中能够存储控制设备所下发的针对该目标业务的处理策略,该处理策略可以是以下表2所示的映射关系表项。
表2
索引 | 策略 |
报文所承载的业务标识 | 输出端口:150 |
从而,处理节点5可以获取报文中携带的业务标识,例如,可以是承载于报文的目标MAC地址字段中的信息(例如,如上所述由处理节点1添加的0x000000000ABC),并根据该业务标识基于表2查找到针对该报文的处理策略:通过转发端口150发送该报文。
C、处理节点7的处理过程
处理节点7中能够存储控制设备所下发的针对该目标业务的处理策略,
该处理策略可以是以下表3所示的映射关系表项。
表3
索引 | 策略 |
报文所承载的业务标识 | 输出端口:13 |
从而,处理节点7可以获取报文中携带的业务标识,例如,可以是承载于报文的目标MAC地址字段中的信息(例如,如上所述由处理节点1添加的0x000000000ABC),并根据该业务标识基于表3查找到针对该报文的处理策略:通过转发端口13发送该报文。
D、处理节点6的处理过程
处理节点6中能够存储控制设备所下发的针对该目标业务的处理策略,该处理策略可以是以下表4所示的映射关系表项。
表4
索引 | 策略 |
报文所承载的业务标识 | 输出端口:22 |
从而,处理节点6可以获取报文中携带的业务标识,例如,可以是承载于报文的目标MAC地址字段中的信息(例如,如上所述由处理节点1添加的0x000000000ABC),并根据该业务标识基于表4查找到针对该报文的处理策略:通过转发端口22发送该报文。
E、处理节点3的处理过程
处理节点3中能够存储控制设备所下发的针对该目标业务的处理策略,该处理策略可以是以下表5所示的映射关系表项。
表5
从而,处理节点3可以获取报文中携带的业务标识,例如,可以是承载于报文的目标MAC地址字段中的信息(例如,如上所述由处理节点1添加的0x000000000ABC),并根据该业务标识基于表5查找到针对该报文的处理策略:通过转发端口20发送该报文,并删除业务标识,例如,将承载于报文的目标MAC地址字段中的信息替换为该报文进入承载网络之前的原始的目的MAC地址,即:0x112233445566。
这里,处理节点3删除业务标识的方式仅为实例性说明,可以根据添加该业务标识的方式(例如图3或图4所示方式)任意变更。
需要说明的是,以上列举说明的处理节点3删除业务标识的方式,但本发明并不限定于此,也可以由控制设备删除。
本发明实施例的处理报文的方法中,控制设备为目标业务的传输路径所包括的每个处理节点分别生成处理策略,并向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,能够使处理节点在接收到携带有该业务标识的报文时,根据其对应的处理策略对该报文进行处理,从而无需各处理节点对报文的多个协议层进行探测,能够减少处理节点的负担,提高报文的转发效率,进而提高系统的吞吐量。
图5示出了从处理节点侧角度描述的是根据本发明一实施例的处理报文的方法200的示意性流程图,如图5所示,该方法200包括:
S210,处理节点接收控制设备发送的该处理节点的处理策略与目标业务的业务标识之间的映射关系。
其中,该处理策略是该控制设备根据该传输路径生成的,该传输路径包括至少两个处理节点,该处理节点为该至少两个处理节点中的任意一个;该处理策略用于指示该处理节点在该传输路径中的下一跳。
S220,该处理节点在接收到携带有该目标业务的业务标识的报文时,基于该映射关系,确定该处理策略,并根据该处理策略,对该报文进行处理。
其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
可选地,当该处理节点是该传输路径中的首个节点时,该方法还包括:
该处理节点向该控制设备发送该目标业务的报文,以便于该控制设备在该目标业务的报文中添加该目标业务的业务标识;
该处理节点接收该控制设备发送的添加了该目标业务的业务标识的报文。
可选地,当该处理节点是该传输路径中的最后一个节点时,该方法还包括:
该处理节点向该控制设备发送的该目标业务的报文,以便于该控制设备将该目标业务的业务标识从该目标业务的报文中删除;
该处理节点接收该控制设备发送的删除了该目标业务的业务标识的报
文。
可选地,当该处理节点是该传输路径中的首个节点时,该处理策略还用于指示该处理节点在该目标业务的报文中添加该目标业务的业务标识,其中,该处理策略与该目标业务的路由信息相对应,以及
该方法还包括:
该处理节点根据该目标业务的路由信息确定该处理策略,其中,该路由信息包括以下至少一种:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型和统一资源定位器地址;
该处理节点根据该处理策略,在该目标业务的报文中添加该目标业务的业务标识。
可选地,当该处理节点是该传输路径中的最后一个节点时,该处理策略还用于指示该处理节点将该目标业务的业务标识从该目标业务的报文中删除,以及
该方法还包括:
该处理节点根据该处理策略,将该目标业务的业务标识从该目标业务的报文中删除。
在方法200中,处理节点的动作与上述方法100中处理节点(包括传输路径中的首个处理节点、最后一个处理节点或其他处理节点)的动作相似,控制设备的动作与上述方法100中控制设备的动作相似,这里,为了避免赘述,省略其详细说明。
本发明实施例的处理报文的方法中,控制设备为目标业务的传输路径所包括的每个处理节点分别生成处理策略,并向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,能够使处理节点在接收到携带有该业务标识的报文时,根据其对应的处理策略对该报文进行处理,从而无需各处理节点对报文的多个协议层进行探测,能够减少处理节点的负担,提高报文的转发效率,进而提高系统的吞吐量。
以上,结合图1至图5详细说明了根据本发明实施例的处理报文的方法,下面,结合图6至图7详细说明根据本发明实施例的处理报文的装置。
图6示出了根据本发明实施例的处理报文的装置300的示意性框图。如图6所示,该装置300包括:
确定单元310,用于确定目标业务的传输路径,其中,该传输路径包括至少两个处理节点;
处理单元320,用于为该传输路径上的每个处理节点分别生成处理策略,其中,每个处理策略用于指示对应的处理节点在目标业务的传输路径中的下一跳;
收发单元330,用于向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,该映射关系用于使接收到携带有该目标业务的业务标识的报文的处理节点基于所述处理节点接收的映射关系,确定对应的处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
可选地,该收发单元还用于接收第一处理节点发送的该目标业务的报文,该第一处理节点是该传输路径中的首个节点;
该处理单元还用于在该目标业务的报文中添加该目标业务的业务标识;
该收发单元还用于将添加了该目标业务的业务标识的报文发送至该第一处理节点。
可选地,该收发单元还用于接收第二处理节点发送的该目标业务的报文,该第二处理节点是该传输路径中的最后一个节点;
该处理单元还用于将该目标业务的业务标识从该目标业务的报文中删除;
该收发单元还用于将删除了该目标业务的业务标识的报文发送至该第二处理节点。
可选地,第一处理节点对应的第一处理策略还用于指示该第一处理节点在该目标业务的报文中添加该目标业务的业务标识,该第一处理节点是该传输路径中的首个节点,其中,该第一处理策略与该目标业务的路由信息相对应,以便于该第一处理节点根据该目标业务的路由信息确定该第一处理策略,该路由信息包括以下至少一个:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型或统一资源定位器地址。
可选地,第二处理节点对应的第二处理策略还用于指示该第二处理节点将该目标业务的业务标识从该目标业务的报文中删除,该第二处理节点是该
传输路径中的最后一个节点。
本发明实施例的处理报文的装置300可对应于本发明实施例的方法中的控制设备,并且,处理报文的装置300中的各单元即模块和上述其他操作和/或功能分别为了实现图1中的方法100的相应流程,为了简洁,在此不再赘述。
本发明实施例的处理报文的装置可以为目标业务的传输路径所包括的每个处理节点分别生成处理策略,并向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,能够使处理节点在接收到携带有该业务标识的报文时,根据其对应的处理策略对该报文进行处理,从而无需各处理节点对报文的多个协议层进行探测,能够减少处理节点的负担,提高报文的转发效率,进而提高系统的吞吐量。
图7示出了根据本发明实施例的处理报文的装置400的示意性框图。如图4所示,该装置400包括:
收发单元410,用于接收控制设备发送的该处理节点的处理策略与目标业务的业务标识之间的映射关系,该处理策略是该控制设备根据该传输路径生成的,该传输路径包括至少两个处理节点,该处理节点为该至少两个处理节点中的任意一个;该处理策略用于指示该处理节点在该传输路径中的下一跳;
处理单元420,在该接收单元接收到携带有该目标业务的业务标识的报文时,基于该映射关系,确定该处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
可选地,当该装置是该传输路径中的首个节点时,该收发单元还用于向该控制设备发送该目标业务的报文,以便于该控制设备在该目标业务的报文中添加该目标业务的业务标识;以及接收该控制设备发送的添加了该目标业务的业务标识的报文。
可选地,当该装置是该传输路径中的最后一个节点时,该收发单元还用于向该控制设备发送的该目标业务的报文,以便于该控制设备将该目标业务的业务标识从该目标业务的报文中删除;以及接收该控制设备发送的删除了该目标业务的业务标识的报文。
可选地,当该装置是该传输路径中的首个节点时,该处理策略还用于指
示该处理节点在该目标业务的报文中添加该目标业务的业务标识,其中,该处理策略与该目标业务的路由信息相对应;
该处理单元还用于根据该目标业务的路由信息确定该处理策略,其中,该路由信息包括以下至少一个:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型或统一资源定位器地址;以及根据该处理策略,在该目标业务的报文中添加该目标业务的业务标识。
可选地,当该装置是该传输路径中的最后一个节点时,该处理策略还用于指示该处理节点将该目标业务的业务标识从该目标业务的报文中删除;
该处理单元还用于根据该处理策略,将该目标业务的业务标识从该目标业务的报文中删除。
根据本发明实施例的处理报文的装置400可对应于本发明实施例的方法中的处理节点,并且,处理报文的装置400中的各单元即模块和上述其他操作和/或功能分别为了实现图5中的方法200的相应流程,为了简洁,在此不再赘述。
本发明实施例的处理报文的装置,通过接收控制设备为目标业务的传输路径生成的处理策略与该目标业务的业务标识之间的映射关系,能够在接收到携带有该业务标识的报文时,根据其对应的处理策略对该报文进行处理,从而无需对报文的多个协议层进行探测,能够减少处理节点的负担,提高报文的转发效率,进而提高系统的吞吐量。
以上,结合图1至图5详细说明了根据本发明实施例的处理报文的方法,下面,结合图8至图9详细说明根据本发明实施例的处理报文的装置。
图8示出了根据本发明实施例的处理报文的装置500的示意性框图。如图6所示,该装置500包括:
总线510;
与该总线相连的处理器520;
与该总线相连的存储器530;
与该总线相连的收发器540;
其中,该处理器520通过该总线,调用该存储器中存储的程序,以用于:
确定目标业务的传输路径,其中,该传输路径包括至少两个处理节点;
为该传输路径上的每个处理节点分别生成处理策略,其中,每个处理策
略用于指示对应的处理节点在目标业务的传输路径中的下一跳;
控制收发器540向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,该映射关系用于使接收到携带有该目标业务的业务标识的报文的处理节点基于所述处理节点接收的映射关系,确定对应的处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
可选地,该处理器520具体用于:
控制收发器540接收第一处理节点发送的该目标业务的报文,该第一处理节点是该传输路径中的首个节点;
在该目标业务的报文中添加该目标业务的业务标识;
控制收发器540将添加了该目标业务的业务标识的报文发送至该第一处理节点。
可选地,该处理器520具体用于控制收发器540接收第二处理节点发送的该目标业务的报文,该第二处理节点是该传输路径中的最后一个节点;
将该目标业务的业务标识从该目标业务的报文中删除;
控制收发器540将删除了该目标业务的业务标识的报文发送至该第二处理节点。
可选地,第一处理节点对应的第一处理策略还用于指示该第一处理节点在该目标业务的报文中添加该目标业务的业务标识,该第一处理节点是该传输路径中的首个节点,其中,该第一处理策略与该目标业务的路由信息相对应,以便于该第一处理节点根据该目标业务的路由信息确定该第一处理策略,该路由信息包括以下至少一种:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型和统一资源定位器地址。
可选地,第二处理节点对应的第二处理策略还用于指示该第二处理节点将该目标业务的业务标识从该目标业务的报文中删除,该第二处理节点是该传输路径中的最后一个节点。
处理器520可以实现或者执行本发明方法实施例中的公开的各步骤及逻辑框图。所述处理器520可以是微处理器或者任何常规的处理器,解码器等。
该存储器540可以包括只读存储器和随机存取存储器,并向处理器520提供指令和数据。存储器520的一部分还可以包括非易失性随机存取存储器。
例如,存储器520还可以存储装置类型的信息。
该总线510除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线510。
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
根据本发明实施例的处理报文的装置500可对应于本发明实施例的方法中的控制设备,并且,处理报文的装置500中的各单元即模块和上述其他操作和/或功能分别为了实现图1中的方法100的相应流程,为了简洁,在此不再赘述。
本发明实施例的处理报文的装置,为目标业务的传输路径所包括的每个处理节点分别生成处理策略,并向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,能够使处理节点在接收到携带有该业务标识的报文时,根据其对应的处理策略对该报文进行处理,从而无需各处理节点对报文的多个协议层进行探测,能够减少处理节点的负担,提高报文的转发效率,进而提高系统的吞吐量。
图9示出了根据本发明实施例的处理报文的装置600的示意性框图。如图9所示,该装置600包括:
总线610;
与该总线相连的处理器620;
与该总线相连的存储器630;
与该总线相连的收发器640;
其中,该处理器620用于:
通过该总线,调用该存储器630中存储的程序,以控制收发器640接收控制设备发送的该处理节点的处理策略与目标业务的业务标识之间的映射关系,该处理策略是该控制设备根据该传输路径生成的,该传输路径包括至少两个处理节点,该处理节点为该至少两个处理节点中的任意一个;该处理
策略用于指示该处理节点在该传输路径中的下一跳;以及
在该收发器640接收到携带有该目标业务的业务标识的报文时,基于该映射关系,确定该处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
可选地,该处理器620具体用于控制收发器向该控制设备发送该目标业务的报文,以便于该控制设备在该目标业务的报文中添加该目标业务的业务标识;以及控制收发器640接收该控制设备发送的添加了该目标业务的业务标识的报文。
可选地,该处理器620具体用于控制收发器640向该控制设备发送的该目标业务的报文,以便于该控制设备将该目标业务的业务标识从该目标业务的报文中删除;以及控制收发器640接收该控制设备发送的删除了该目标业务的业务标识的报文。
可选地,当该装置是该传输路径中的首个节点时,该处理策略还用于指示该处理节点在该目标业务的报文中添加该目标业务的业务标识,其中,该处理策略与该目标业务的路由信息相对应,以及
可选地,该处理器620具体用于根据该目标业务的路由信息确定该处理策略,其中,该路由信息包括以下至少一种:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型和统一资源定位器地址;以及根据该处理策略,在该目标业务的报文中添加该目标业务的业务标识。
可选地,当该装置是该传输路径中的最后一个节点时,该处理策略还用于指示该处理节点将该目标业务的业务标识从该目标业务的报文中删除,以及
可选地,该处理器620具体用于根据该处理策略,将该目标业务的业务标识从该目标业务的报文中删除。
处理器620可以实现或者执行本发明方法实施例中的公开的各步骤及逻辑框图。处理器620可以是微处理器或者该处理器也可以是任何常规的处理器,解码器等。
该存储器630可以包括只读存储器和随机存取存储器,并向处理器620提供指令和数据。存储器630的一部分还可以包括非易失性随机存取存储器。
例如,存储器还可以存储装置类型的信息。
该总线610除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线610。
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
根据本发明实施例的处理报文的装置600可对应于本发明实施例的方法中的处理节点,并且,处理报文的装置600中的各单元即模块和上述其他操作和/或功能分别为了实现图5中的方法200的相应流程,为了简洁,在此不再赘述。
根据本发明实施例的处理报文的装置,通过接收控制设备发送为该装置生成的处理策略与该目标业务的业务标识之间的映射关系,能够在接收到携带有该业务标识的报文时,根据其对应的处理策略对该报文进行处理,从而无需对报文的多个协议层进行探测,能够减少所述装置的负担,提高报文的转发效率,进而提高系统的吞吐量。
以上,结合图1至图5详细说明了根据本发明实施例的处理报文的方法,下面,结合图10详细说明根据本发明实施例的处理报文的装置。
图10示出了根据本发明实施例的处理报文的系统700的示意性框图。如图10所示,该系统700包括:
控制设备710,用于确定目标业务的传输路径,其中,该传输路径包括至少两个处理节点,为该传输路径上的每个处理节点分别生成处理策略,其中,每个处理策略用于指示对应的处理节点在目标业务的传输路径中的下一跳,向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,该映射关系用于使接收到携带有该目标业务的业务标识的报文的处理节点基于所述处理节点接收的映射关系,确定对应的处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
所述至少两个处理节点720中的任意一个用于接收控制设备发送的该处理节点的处理策略与目标业务的业务标识之间的映射关系;在接收到携带有该目标业务的业务标识的报文时,基于该映射关系,确定该处理策略,并根据该处理策略,对该报文进行处理,其中,该业务标识是该控制设备为该目标业务分配的,用于唯一地标识该目标业务。
根据本发明实施例的控制设备710可对应于本发明实施例的方法中的控制设备,并且,控制设备710中的各单元即模块和上述其他操作和/或功能分别为了实现图1中的方法100的相应流程,为了简洁,在此不再赘述。
根据本发明实施例的处理节点720可对应于本发明实施例的方法中的处理节点,并且,处理节点720中的各单元即模块和上述其他操作和/或功能分别为了实现图5中的方法200的相应流程,为了简洁,在此不再赘述。
本发明实施例的处理报文的系统中,控制设备为目标业务的传输路径所包括的每个处理节点分别生成处理策略,并向每个处理节点发送为该处理节点生成的处理策略与该目标业务的业务标识之间的映射关系,能够使处理节点在接收到携带有该业务标识的报文时,根据其对应的处理策略对该报文进行处理,从而无需各处理节点对报文的多个协议层进行探测,能够减少处理节点的负担,提高报文的转发效率,进而提高系统的吞吐量。
应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可
以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以是个人计算机,服务器,或者网络装置等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。
Claims (20)
- 一种处理报文的方法,其特征在于,所述方法包括:控制设备确定目标业务的传输路径,其中,所述传输路径包括至少两个处理节点;所述控制设备为所述传输路径上的每个处理节点分别生成处理策略,其中,每个处理策略用于指示对应的处理节点在目标业务的传输路径中的下一跳;所述控制设备向每个处理节点发送为所述处理节点生成的处理策略与所述目标业务的业务标识之间的映射关系,所述映射关系用于使接收到携带有所述目标业务的业务标识的报文的处理节点基于所述处理节点接收的映射关系,确定对应的处理策略,并根据所述处理策略,对所述报文进行处理,其中,所述业务标识是所述控制设备为所述目标业务分配的,用于唯一地标识所述目标业务。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:所述控制设备接收第一处理节点发送的所述目标业务的报文,所述第一处理节点是所述传输路径中的首个节点;所述控制设备在所述目标业务的报文中添加所述目标业务的业务标识;所述控制设备将添加了所述目标业务的业务标识的报文发送至所述第一处理节点。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:所述控制设备接收第二处理节点发送的所述目标业务的报文,所述第二处理节点是所述传输路径中的最后一个节点;所述控制设备将所述目标业务的业务标识从所述目标业务的报文中删除;所述控制设备将删除了所述目标业务的业务标识的报文发送至所述第二处理节点。
- 根据权利要求1或3所述的方法,其特征在于,第一处理节点对应的第一处理策略还用于指示所述第一处理节点在所述目标业务的报文中添加所述目标业务的业务标识,所述第一处理节点是所述传输路径中的首个节点,其中,所述第一处理策略与所述目标业务的路由信息相对应,以便于所述第一处理节点根据所述目标业务的路由信息确定所述第一处理策略,所述 路由信息包括以下至少一种:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型和统一资源定位器地址。
- 根据权利要求1、2或4所述的方法,其特征在于,第二处理节点对应的第二处理策略还用于指示所述第二处理节点将所述目标业务的业务标识从所述目标业务的报文中删除,所述第二处理节点是所述传输路径中的最后一个节点。
- 一种处理报文的方法,其特征在于,所述方法包括:处理节点接收控制设备发送的所述处理节点的处理策略与目标业务的业务标识之间的映射关系,所述处理策略是所述控制设备根据传输路径生成的,所述传输路径包括至少两个处理节点,所述处理节点为所述至少两个处理节点中的任意一个,所述处理策略用于指示所述处理节点在所述传输路径中的下一跳;所述处理节点在接收到携带有所述目标业务的业务标识的报文时,基于所述映射关系,确定所述处理策略,并根据所述处理策略,对所述报文进行处理,其中,所述业务标识是所述控制设备为所述目标业务分配的,用于唯一地标识所述目标业务。
- 根据权利要求6所述的方法,其特征在于,当所述处理节点是所述传输路径中的首个节点时,所述方法还包括:所述处理节点向所述控制设备发送所述目标业务的报文,以便于所述控制设备在所述目标业务的报文中添加所述目标业务的业务标识;所述处理节点接收所述控制设备发送的添加了所述目标业务的业务标识的报文。
- 根据权利要求6所述的方法,其特征在于,当所述处理节点是所述传输路径中的最后一个节点时,所述方法还包括:所述处理节点向所述控制设备发送的所述目标业务的报文,以便于所述控制设备将所述目标业务的业务标识从所述目标业务的报文中删除;所述处理节点接收所述控制设备发送的删除了所述目标业务的业务标识的报文。
- 根据权利要求6所述的方法,其特征在于,当所述处理节点是所述传输路径中的首个节点时,所述处理策略还用于指示所述处理节点在所述目 标业务的报文中添加所述目标业务的业务标识,其中,所述处理策略与所述目标业务的路由信息相对应,以及所述方法还包括:所述处理节点根据所述目标业务的路由信息确定所述处理策略,其中,所述路由信息包括以下至少一种:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型和统一资源定位器地址;所述处理节点根据所述处理策略,在所述目标业务的报文中添加所述目标业务的业务标识。
- 根据权利要求6所述的方法,其特征在于,当所述处理节点是所述传输路径中的最后一个节点时,所述处理策略还用于指示所述处理节点将所述目标业务的业务标识从所述目标业务的报文中删除,以及所述方法还包括:所述处理节点根据所述处理策略,将所述目标业务的业务标识从所述目标业务的报文中删除。
- 一种处理报文的装置,其特征在于,所述装置包括:确定单元,用于确定目标业务的传输路径,其中,所述传输路径包括至少两个处理节点;处理单元,用于为所述传输路径上的每个处理节点分别生成处理策略,其中,每个处理策略用于指示对应的处理节点在目标业务的传输路径中的下一跳;收发单元,用于向每个处理节点发送为所述处理节点生成的处理策略与所述目标业务的业务标识之间的映射关系,所述映射关系用于使接收到携带有所述目标业务的业务标识的报文的处理节点基于装置接收的映射关系,确定对应的处理策略,并根据所述处理策略,对所述报文进行处理,其中,所述业务标识是所述控制设备为所述目标业务分配的,用于唯一地标识所述目标业务。
- 根据权利要求11所述的装置,其特征在于,所述收发单元还用于接收第一处理节点发送的所述目标业务的报文,所述第一处理节点是所述传输路径中的首个节点;所述处理单元还用于在所述目标业务的报文中添加所述目标业务的业 务标识;所述收发单元还用于将添加了所述目标业务的业务标识的报文发送至所述第一处理节点。
- 根据权利要求11所述的装置,其特征在于,所述收发单元还用于接收第二处理节点发送的所述目标业务的报文,所述第二处理节点是所述传输路径中的最后一个节点;所述处理单元还用于将所述目标业务的业务标识从所述目标业务的报文中删除;所述收发单元还用于将删除了所述目标业务的业务标识的报文发送至所述第二处理节点。
- 根据权利要求11或12所述的装置,其特征在于,第一处理节点对应的第一处理策略还用于指示所述第一处理节点在所述目标业务的报文中添加所述目标业务的业务标识,所述第一处理节点是所述传输路径中的首个节点,其中,所述第一处理策略与所述目标业务的路由信息相对应,以便于所述第一处理节点根据所述目标业务的路由信息确定所述第一处理策略,所述路由信息包括以下至少一个:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型或统一资源定位器地址。
- 根据权利要求11、12或14所述的装置,其特征在于,第二处理节点对应的第二处理策略还用于指示所述第二处理节点将所述目标业务的业务标识从所述目标业务的报文中删除,所述第二处理节点是所述传输路径中的最后一个节点。
- 一种处理报文的装置,其特征在于,所述装置包括:收发单元,用于接收控制设备发送的所述处理节点的处理策略与目标业务的业务标识之间的映射关系,所述处理策略是所述控制设备根据所述传输路径生成的,所述传输路径包括至少两个处理节点,所述处理节点为所述至少两个处理节点中的任意一个,所述处理策略用于指示所述处理节点在所述传输路径中的下一跳;处理单元,用于在所述接收单元接收到携带有所述目标业务的业务标识的报文时,基于所述映射关系,确定所述处理策略,并根据所述处理策略,对所述报文进行处理,其中,所述业务标识是所述控制设备为所述目标业务 分配的,用于唯一地标识所述目标业务。
- 根据权利要求16所述的装置,其特征在于,当所述装置是所述传输路径中的首个节点时,所述收发单元还用于向所述控制设备发送所述目标业务的报文,以便于所述控制设备在所述目标业务的报文中添加所述目标业务的业务标识;以及接收所述控制设备发送的添加了所述目标业务的业务标识的报文。
- 根据权利要求16所述的装置,其特征在于,当所述装置是所述传输路径中的最后一个节点时,所述收发单元还用于向所述控制设备发送的所述目标业务的报文,以便于所述控制设备将所述目标业务的业务标识从所述目标业务的报文中删除;以及接收所述控制设备发送的删除了所述目标业务的业务标识的报文。
- 根据权利要求16所述的装置,其特征在于,当所述装置是所述传输路径中的首个节点时,所述处理策略还用于指示所述处理节点在所述目标业务的报文中添加所述目标业务的业务标识,其中,所述处理策略与所述目标业务的路由信息相对应,以及所述处理单元还用于根据所述目标业务的路由信息确定所述处理策略,其中,所述路由信息包括以下至少一个:源媒体访问控制MAC地址、目的MAC地址、源网际协议IP地址、源端口、目的IP地址、目的端口、通信连接的协议类型或统一资源定位器地址;以及根据所述处理策略,在所述目标业务的报文中添加所述目标业务的业务标识。
- 根据权利要求16所述的装置,其特征在于,当所述装置是所述传输路径中的最后一个节点时,所述处理策略还用于指示所述处理节点将所述目标业务的业务标识从所述目标业务的报文中删除,以及所述处理单元还用于根据所述处理策略,将所述目标业务的业务标识从所述目标业务的报文中删除。
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 (zh) | 2016-12-15 |
Family
ID=57503077
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/078930 WO2016197689A1 (zh) | 2015-06-10 | 2016-04-11 | 处理报文的方法、装置和系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106254265A (zh) |
WO (1) | WO2016197689A1 (zh) |
Cited By (3)
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 (5)
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 | 网宿科技股份有限公司 | 报文转发控制方法、报文传输网络、电子设备及存储介质 |
CN115834472B (zh) * | 2022-10-17 | 2024-07-19 | 北京奇艺世纪科技有限公司 | 一种报文处理方法、转发策略获取方法及装置 |
Citations (5)
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 | 华为技术有限公司 | 路由方法、设备和系统 |
-
2015
- 2015-06-10 CN CN201510315577.6A patent/CN106254265A/zh active Pending
-
2016
- 2016-04-11 WO PCT/CN2016/078930 patent/WO2016197689A1/zh active Application Filing
Patent Citations (5)
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)
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 (zh) | 处理报文的方法、装置和系统 | |
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 (zh) | 数据传输链路建立方法、装置以及计算机可读存储介质 | |
WO2015143944A1 (zh) | 生成转发信息的方法、控制器和业务转发实体 | |
US20150341271A1 (en) | Distributed traffic inspection in a telecommunications network | |
WO2019185062A1 (zh) | 一种通信方法及装置 | |
US10116577B2 (en) | Detecting path MTU mismatch at first-hop router | |
WO2017036248A1 (zh) | 一种数据传输方法、装置及系统 | |
CN109714274B (zh) | 一种获取对应关系的方法和路由设备 | |
WO2018036254A1 (zh) | 报文转发方法及装置 | |
US10462065B2 (en) | Path maximum transmission unit discovery | |
WO2017156706A1 (zh) | 用于处理数据包的方法及设备 | |
US20180198643A1 (en) | Packet transmission method and apparatus | |
US9585052B2 (en) | Determining a traffic bearer for data traffic between a terminal and a content data source of a content data network | |
US20180145905A1 (en) | Data link layer-based communication method, device, and system | |
WO2015070755A1 (zh) | 网络安全方法和设备 | |
WO2018201989A1 (zh) | 一种pdu会话建立方法及装置 | |
WO2018157551A1 (zh) | 数据传输的方法与装置 | |
CN112134776B (zh) | 生成组播转发表项的方法和接入网关 | |
CN114128227B (zh) | 在支持SRv6的数据面上传输MTNC-ID以实现5G传输 | |
CN112887209B (zh) | 关于数据传输的表项建立方法及相关设备 |
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 |