[go: up one dir, main page]

WO2016107379A1 - Procédé et appareil d'envoi de paquets - Google Patents

Procédé et appareil d'envoi de paquets Download PDF

Info

Publication number
WO2016107379A1
WO2016107379A1 PCT/CN2015/096687 CN2015096687W WO2016107379A1 WO 2016107379 A1 WO2016107379 A1 WO 2016107379A1 CN 2015096687 W CN2015096687 W CN 2015096687W WO 2016107379 A1 WO2016107379 A1 WO 2016107379A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
service flow
service
processing policy
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2015/096687
Other languages
English (en)
Chinese (zh)
Inventor
申思
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2016107379A1 publication Critical patent/WO2016107379A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for transmitting a message.
  • the first virtual machine deployed on the first host performs a service interaction with the second virtual machine deployed on the second host
  • the first virtual machine may send a message to the second virtual machine to implement the first virtual Communication between the machine and the second virtual machine.
  • the first virtual machine When the first virtual machine sends a packet to the second virtual machine, the first virtual machine sends a http (Hypertext Transfer Protocol) request to the first host where the first virtual machine is located, where the http request carries the second virtual Address of the machine; the first host encapsulates the http request into a UDP (User Datagram Protocol) packet, and sends the UDP packet to the switch; the switch calculates the UDP packet according to the address of the second virtual machine.
  • the forwarding path sends the packet to the second virtual machine according to the forwarding path of the UDP packet.
  • the switch cannot detect the UDP packet service and cannot perform bandwidth monitoring and path control on the UDP packet.
  • the present invention provides a method and apparatus for transmitting a message.
  • the technical solutions are as follows:
  • the present invention provides a method for transmitting a message, the method comprising:
  • the packet is sent to the second virtual machine according to the processing policy.
  • the processing policy of acquiring the packet according to the service identifier of the service flow includes:
  • the determining, according to the processing policy, whether to send the packet includes:
  • processing policy is used to perform operations other than discarding the message, it is determined to send the message.
  • the sending, by the processing policy, the packet to the second virtual machine includes:
  • the present invention provides a method for sending a message, the method comprising:
  • the obtaining, by the destination address of the service flow, the service identifier of the service flow includes:
  • the present invention provides an apparatus for transmitting a message, the apparatus comprising:
  • the first receiving module is configured to receive a packet sent by the first host where the first virtual machine is located, where the packet carries a service identifier of the service flow, and the service identifier of the service flow is the first host according to the service
  • the destination address of the stream is set and encapsulated into the message
  • a first acquiring module configured to acquire a processing policy of the packet according to the service identifier of the service flow
  • a determining module configured to determine, according to the processing policy, whether to send the message
  • the first sending module is configured to send the packet to the second virtual machine according to the processing policy if the packet is sent.
  • the first acquiring module is configured to obtain the report from a correspondence between a service identifier and a processing policy according to the service identifier of the service flow.
  • the processing strategy of the text is configured to obtain the report from a correspondence between a service identifier and a processing policy according to the service identifier of the service flow.
  • the determining module includes:
  • a first determining unit configured to determine not to send the message if the processing policy is used to discard the message
  • a second determining unit configured to determine to send the message if the processing policy is used to perform operations other than discarding the message.
  • the first sending module includes:
  • a third determining unit configured to determine, according to the identifier of the first virtual machine and the identifier of the second virtual machine, at least one forwarding path used to send the packet;
  • a selecting unit configured to select a forwarding path from the at least one forwarding path according to the processing policy
  • An obtaining unit configured to acquire, according to the processing policy, a bandwidth of the selected forwarding path
  • a setting unit configured to set a bandwidth size of the selected forwarding path according to the acquired bandwidth
  • a sending unit configured to send the packet to the second according to the set forwarding path virtual machine.
  • the present invention provides an apparatus for transmitting a message, the apparatus comprising:
  • a second receiving module configured to receive a service flow sent by the first virtual machine, where the service flow carries a destination address of the service flow
  • a second obtaining module configured to acquire a service identifier of the service flow according to a destination address of the service flow
  • a second sending module configured to encapsulate the service identifier of the service flow into the packet, and send the packet to the switch, so that the switch obtains the processing policy of the packet according to the service identifier of the service flow, And determining, according to the processing policy, whether to send the packet, and if the packet is sent, sending the packet to the second virtual machine according to the processing policy.
  • the second acquiring module is configured to obtain, according to a destination address of the service flow, a correspondence between a destination address and a service identifier. Business identity of the business flow.
  • the present invention provides an apparatus for transmitting a message, the apparatus comprising: a first memory and a first processor, configured to perform the method of transmitting a message as described in the first aspect.
  • the present invention provides an apparatus for transmitting a message, the apparatus comprising: a second memory and a second processor, configured to perform the method of transmitting a message as described in the second aspect.
  • the packet sent by the first host where the first virtual machine is located is received, and the packet carries the service identifier of the service flow, and the service identifier of the service flow is set and encapsulated by the first host according to the destination address of the service flow. If the packet is sent, the packet is sent to the second virtual machine according to the processing policy. The packet carries the service identifier of the service flow, so that the packet can be controlled according to the service identifier of the service flow.
  • FIG. 1-1 is a flowchart of a method for sending a message according to Embodiment 1 of the present invention
  • 1-2 is a flowchart of another method for sending a message according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of a method for sending a message according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for transmitting a message according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for transmitting a message according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of an apparatus for transmitting a message according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic structural diagram of an apparatus for transmitting a message according to Embodiment 6 of the present invention.
  • An embodiment of the present invention provides a method for sending a packet. Referring to FIG. 1-1, the method includes:
  • Step 101a Receive a packet sent by the first host where the first virtual machine is located, where the packet carries the service identifier of the service flow, and the service identifier of the service flow is set by the first host according to the destination address of the service flow and encapsulated into the packet. of;
  • Step 102a Obtain a processing policy of the packet according to the service identifier of the service flow.
  • Step 103a Determine, according to the processing policy, whether to send a message
  • Step 104a If the packet is sent, the packet is sent to the second virtual machine according to the processing policy.
  • An embodiment of the present invention provides a method for sending a packet. Referring to Figure 1-2, the method includes:
  • Step 101b Receive a service flow sent by the first virtual machine, where the service flow carries a destination address of the service flow.
  • Step 102b Obtain a service identifier of the service flow according to the destination address of the service flow.
  • the service identifier of the service flow is encapsulated into the packet, and the packet is sent to the switch, so that the switch obtains the packet processing policy according to the service identifier of the service flow, and determines whether to send the packet according to the processing policy, if the packet is sent. Send the packet to the second virtual machine according to the processing policy.
  • the packet sent by the first host where the first virtual machine is located is received, and the packet carries the service identifier of the service flow, and the service identifier of the service flow is set and encapsulated by the first host according to the destination address of the service flow.
  • the packet processing policy is obtained; according to the processing policy, it is determined whether to send the packet; if the packet is sent, the packet is sent to the second according to the processing policy. virtual machine.
  • the packet carries the service identifier of the service flow, so that the packet can be controlled according to the service identifier of the service flow.
  • An embodiment of the present invention provides a method for sending a packet. Referring to FIG. 2, the method includes:
  • Step 201 The first host receives a service flow sent by the first virtual machine, where the service flow carries a destination address of the service flow.
  • the first virtual machine is deployed on the first host, and the second virtual machine is deployed on the second host.
  • the first virtual machine sends the service flow to the second virtual machine
  • the first virtual machine firstly goes to the first virtual machine.
  • a host sends a service flow, where the service flow carries at least the destination address of the service flow, and may also carry the identifier of the first virtual machine and the identifier of the second virtual machine; the first host receives the service flow sent by the first virtual machine, and step 202 is performed. .
  • the destination address can be the destination IP address (Internet Protocol), the destination port, or the destination MAC address (Media Access Control) address.
  • the identifier of the first virtual machine may be the IP address of the first virtual machine, the name of the first virtual machine, or the number of the first virtual machine.
  • the identifier of the second virtual machine may be the IP address of the second virtual machine, The name of the second virtual machine or the number of the second virtual machine.
  • the destination address is the destination port 80
  • the identifier of the first virtual machine is 192.231.31.252
  • the identifier of the second virtual machine is 192.231.31.251.
  • the first virtual machine sends a service flow to the first host.
  • the flow carries the destination port 80
  • the identifier of the first virtual machine is 192.231.31.252
  • the identifier of the second virtual machine is 192.23%.
  • the first host receives the service flow sent by the first virtual machine.
  • Step 202 The first host acquires a service identifier of the service flow according to the destination address of the service flow.
  • the user inputs the destination address and the service identifier to the first controller; the first controller receives the destination address and the service identifier input by the user, and stores the destination address and the service identifier entered by the user in the correspondence between the destination address and the service identifier. In the relationship.
  • the first controller sends a correspondence between the destination address and the service identifier to the first host, and the first host receives the correspondence between the destination address and the service identifier sent by the first controller, and stores the correspondence between the destination address and the service identifier.
  • the step 202 may be: the first host obtains the service identifier of the service flow from the correspondence between the destination address and the service identifier according to the destination address of the service flow.
  • the first controller may be an SDN (Software Defined Network) controller or a VxLAN (Virtual eXtension xLAN) controller.
  • SDN Software Defined Network
  • VxLAN Virtual eXtension xLAN
  • the user inputs the destination address 80 and the service identifier 1025, the destination address 443 and the service identifier 2049, the destination address 5000 and the service identifier 4097, and the destination address 5001 and the service identifier 4098 to the first controller.
  • the first controller receives the purpose of the user input.
  • the address 80 and the service identifier 1025, the destination address 443 and the service identifier 2049, the destination address 5000 and the service identifier 4097, and the destination address 5001 and the service identifier 4098 store the destination address and service identifier entered by the user in Table 1 as follows:
  • the first host obtains the service identifier of the service flow as 1025 from the correspondence between the destination address and the service identifier stored in Table 1 according to the destination address 80 of the service flow.
  • the service identifier field ranges from 65535, and 50 virtual machines can be deployed on one host.
  • the service identifier field corresponding to each virtual machine ranges from 1 to 1024, that is, each virtual machine can define up to 1024 service identifiers for policy control of different services.
  • Step 203 The first host encapsulates the service identifier of the service flow into the packet, and sends a packet to the switch.
  • the packet includes an inner packet and an outer packet.
  • the first host encapsulates the service identifier of the service flow into the outer packet.
  • the outer packet includes the source MAC address, the destination MAC address, the VLAN, the source IP address, the destination IP address, the VxLAN port, and the VxLAN header.
  • the first host obtains the source MAC address, destination MAC address, VLAN, source IP address, and destination IP address of the service flow.
  • the VxLAN port and the VxLAN header encapsulate the service ID of the source MAC address, destination MAC address, VLAN, source IP address, destination IP address, VxLAN port, VxLAN header, and packet of the service flow into the outer packet.
  • the inner layer packet includes the source MAC address, the destination MAC address, and the service flow, and the first host obtains the source MAC address, the destination MAC address, and the service flow of the service flow, and encapsulates the source MAC address, the destination MAC address, and the service flow of the service flow into the inner layer. In the message.
  • Step 204 The switch receives the packet sent by the first host, where the packet carries the service identifier of the service flow.
  • the switch receives the packet sent by the first host, and parses the outer packet of the packet to obtain the service identifier of the service flow. Step 205 is performed.
  • the switch can only parse the outer packet of the packet and cannot parse the inner packet of the packet.
  • Step 205 The switch acquires a processing policy of the packet according to the service identifier of the service flow.
  • the user inputs the service identifier and the processing policy to the second controller.
  • the second controller receives the service identifier and the processing policy input by the user, and stores the service identifier and the processing policy input by the user in the correspondence between the service identifier and the processing policy. In the relationship.
  • the second controller sends a correspondence between the service identifier and the processing policy to the switch, and the switch receives the correspondence between the service identifier and the processing policy sent by the second controller, and stores the correspondence between the service identifier and the processing policy.
  • the switch obtains the processing policy of the packet from the correspondence between the service identifier and the processing policy according to the service identifier of the service flow.
  • the processing policy can be any policy for processing packets, including a processing policy for discarding packets and a processing policy for performing operations other than discarding packets.
  • the processing policy can be a discarding policy or a forwarding policy. , redirection policies, or bandwidth-based path control policies.
  • the second controller may be an SDN controller or an OF (open flow table protocol) controller.
  • the user enters the service identity 1025 and the processing policy to the second controller: normal forwarding, service identity 2049 and processing policy: drop, service identity 4097, and processing policy: redirect to low-weight path, service identity 4098, and processing policy: setting The bandwidth of the forwarding path is 100M, etc.;
  • the second controller receives the service identifier 1025 input by the user and the processing policy: normal forwarding, service identifier 2049, and processing policy: discard, service identifier 4097, and processing policy: redirect to the low-weight path, Service ID 4098 and processing policy: set the bandwidth of the forwarding path to 100M, etc., and store the service identifier and processing policy input by the user in Table 2 as follows:
  • the switch stores the pair of service identifiers and processing policies from Table 2 according to the service identifier 1025.
  • the forwarding policy for obtaining packets in the relationship is normal forwarding.
  • Step 206 The switch determines whether to send the packet according to the processing policy of the packet, if the packet is sent, step 207 is performed; if the packet is not sent, step 212 is performed;
  • the processing policy of the packet is used to discard the packet, it is determined that the packet is not sent; if the processing policy of the packet is used to perform operations other than discarding the packet, it is determined to send the packet. Text.
  • the processing policy of the packet may be a drop policy, a forwarding policy, a redirect policy, or a bandwidth-based path control policy. If the processing policy is a discarding policy, it is determined that the packet is not sent; if the processing policy is a forwarding policy, a redirection policy, or a bandwidth-based path control policy, it is determined to send the packet.
  • Step 207 If the packet is sent, the switch determines at least one forwarding path for sending the packet according to the identifier of the first virtual machine and the identifier of the second virtual machine.
  • the second controller acquires the topology of the physical network where the switch is located, and sends the topology of the physical network to the switch.
  • the switch receives the topology of the physical network sent by the second controller and stores the topology of the physical network.
  • the step 207 may be: if the packet is sent, the switch determines at least one forwarding path for sending the packet according to the identifier of the first virtual machine, the identifier of the second virtual machine, and the topology of the physical network.
  • the at least one forwarding path for sending the packet is determined according to the identifier of the first virtual machine, the identifier of the second virtual machine, and the topology of the physical network.
  • the forwarding path is not described in detail.
  • the switch obtains the path weight of each forwarding path according to the path identifier of each forwarding path in the at least one forwarding path.
  • the user inputs a weighting rule to the second controller, and the weighting rule may be set according to the number of forwarding entities included in the forwarding path.
  • the second controller receives the weighting rule input by the user, and generates a path weight of each forwarding path in the physical network according to the weighting rule, and stores the path identifier of each forwarding path and the path weight corresponding to each forwarding path in the path identifier and In the correspondence of path weights.
  • the second controller sends a correspondence between the path identifier and the path weight to the switch; the switch receives the correspondence between the path identifier and the path weight sent by the second controller, and stores the correspondence between the path identifier and the path weight.
  • each piece is obtained according to the path identifier of each forwarding path in at least one forwarding path.
  • the path weight of the forwarding path can be:
  • the path weight of each forwarding path is obtained from the correspondence between the path identifier and the path weight according to the path identifier of each forwarding path in the at least one forwarding path.
  • the weighting rule input by the user to the second controller is: the path weight of the forwarding path including the forwarding entity between 1-5 is 500, and the path weight of the forwarding path including the forwarding entity between 6-10 is 400.
  • the path weight of the forwarding path including the forwarding entity between 11 and 15 is 300, and the path weight of the forwarding path including the forwarding entity between 16 and 20 is 200, and the path weight of the forwarding path including the forwarding entity is 100.
  • the second controller receives the weighting rule input by the user, and the path weight corresponding to the path 1 is 100 according to the weight rule, the path weight corresponding to the path 2 is 500, the path weight corresponding to the path 3 is 200, and the path weight corresponding to the path 4 is 300.
  • Etc the second controller stores path 1, path 2, path 3, and path 4 and their corresponding path weights in Table 3 below:
  • the switch determines, according to the identifier of the first virtual machine and the identifier of the second virtual machine, that the three paths for sending the packet are path 1, path 2, and path 3, respectively, and according to path 1, path 2, and
  • the path identifier of path 3 the path weights corresponding to path 1, path 2, and path 3 from Table 3 are 100, 500, and 200, respectively.
  • Step 208 The switch selects a forwarding path from at least one forwarding path according to the processing policy of the packet.
  • one forwarding path is randomly selected from at least one forwarding path.
  • the redirection condition included in the processing policy of the packet is obtained, and one forwarding path that satisfies the redirection condition is selected from the at least one forwarding path. For example, if the condition of the redirection is to select the forwarding path with the highest weight, then according to the path weight of each forwarding path, select one forwarding path with the highest path weight from at least one forwarding path; if the redirection condition is to select the forwarding with the lowest weight The path selects a forwarding path with the lowest path weight from at least one forwarding path according to the path weight of each forwarding path.
  • path 1 For example, if the processing strategy of the packet is to redirect to the lowest weight forwarding path, then the path with the lowest path weight selected from path 1, path 2, and path 3 is path 1.
  • Step 209 The switch acquires the bandwidth of the selected forwarding path according to the processing policy of the packet.
  • Each processing policy corresponds to the bandwidth of a forwarding path, and the bandwidth of the selected forwarding path is obtained according to the processing policy of the packet.
  • the bandwidth corresponding to the forwarding policy and the redirection policy is the default bandwidth.
  • the bandwidth corresponding to the bandwidth-based path control policy is the bandwidth included in the processing policy.
  • the bandwidth corresponding to the forwarding policy and the redirection policy is 50M
  • the bandwidth-based path control policy includes the bandwidth corresponding to the forwarding path being 100M.
  • Step 210 The switch sets a bandwidth size of the selected forwarding path according to the acquired bandwidth.
  • the switch sets the bandwidth size of the selected forwarding path to the acquired bandwidth.
  • the bandwidth size of path 1 is set to 100M.
  • Step 211 The switch sends the packet to the second virtual machine according to the set forwarding path.
  • the switch forwards the packet to the second host where the second virtual machine is located according to the set forwarding path, and the second host receives the packet sent by the switch, decapsulates the packet, and obtains the second virtual machine.
  • the identifier and the service flow are sent to the second virtual machine according to the identifier of the second virtual machine.
  • Step 212 If the packet is not sent, the switch discards the packet.
  • the switch does not send the packet and discards the packet.
  • the packet sent by the first host where the first virtual machine is located is received, and the packet carries the service identifier of the service flow, and the service identifier of the service flow is set and encapsulated by the first host according to the destination address of the service flow. If the packet is sent, the packet is sent to the second virtual machine according to the processing policy. The packet carries the service identifier of the service flow, so that the packet can be controlled according to the service identifier of the service flow.
  • An embodiment of the present invention provides an apparatus for transmitting a message.
  • the apparatus includes:
  • the first receiving module 301 is configured to receive a packet sent by the first host where the first virtual machine is located, where the packet carries the service identifier of the service flow, and the service identifier of the service flow is the destination of the first host according to the service flow. Address is set and encapsulated in the message;
  • the first obtaining module 302 is configured to obtain a processing policy of the packet according to the service identifier of the service flow.
  • a determining module 303 configured to determine whether to send a message according to the processing policy
  • the first sending module 304 is configured to send the packet to the second virtual machine according to the processing policy if the packet is sent.
  • the first obtaining module 302 is configured to obtain a processing policy of the packet from the correspondence between the service identifier and the processing policy according to the service identifier of the service flow.
  • the determining module 303 includes:
  • a first determining unit configured to determine that the packet is not sent if the processing policy is used to discard the packet
  • a second determining unit configured to determine to send the message if the processing policy is used to perform operations other than discarding the message.
  • the first sending module 304 includes:
  • a third determining unit configured to determine, according to the identifier of the first virtual machine and the identifier of the second virtual machine, at least one forwarding path for sending the packet
  • a selecting unit configured to select a forwarding path from the at least one forwarding path according to the processing policy
  • An obtaining unit configured to obtain a bandwidth of the selected forwarding path according to the processing policy
  • a setting unit configured to set a bandwidth size of the selected forwarding path according to the acquired bandwidth
  • the sending unit is configured to send the packet to the second virtual machine according to the set forwarding path.
  • the packet sent by the first host where the first virtual machine is located is received, and the packet carries the service identifier of the service flow, and the service identifier of the service flow is set and encapsulated by the first host according to the destination address of the service flow. If the packet is sent, the packet is sent to the second virtual machine according to the processing policy. The packet carries the service identifier of the service flow, so that the packet can be controlled according to the service identifier of the service flow.
  • An embodiment of the present invention provides an apparatus for transmitting a message.
  • the apparatus includes:
  • the second receiving module 401 is configured to receive a service flow sent by the first virtual machine, where the service flow carries a destination address of the service flow;
  • the second obtaining module 402 is configured to obtain a service identifier of the service flow according to the destination address of the service flow.
  • the second sending module 403 is configured to encapsulate the service identifier of the service flow into the packet, and send the packet to the switch.
  • the packet is sent, so that the switch obtains the packet processing policy according to the service identifier of the service flow, and determines whether to send the packet according to the processing policy. If the packet is sent, the packet is sent to the second virtual machine according to the processing policy.
  • the second obtaining module 402 is configured to obtain the service identifier of the service flow from the correspondence between the destination address and the service identifier according to the destination address of the service flow.
  • the packet sent by the first host where the first virtual machine is located is received, and the packet carries the service identifier of the service flow, and the service identifier of the service flow is set and encapsulated by the first host according to the destination address of the service flow. If the packet is sent, the packet is sent to the second virtual machine according to the processing policy. The packet carries the service identifier of the service flow, so that the packet can be controlled according to the service identifier of the service flow.
  • An embodiment of the present invention provides an apparatus for transmitting a message.
  • the apparatus includes: a first memory 501 and a first processor 502, configured to perform the following method of sending a message:
  • the packet is sent to the second virtual machine according to the processing policy.
  • the processing policy for obtaining the packet according to the service identifier of the service flow includes:
  • the determining, according to the processing policy, whether to send the packet includes:
  • processing policy is used to perform operations other than discarding the message, it is determined to send the message.
  • the sending the packet to the second virtual machine according to the processing policy includes:
  • the packet sent by the first host where the first virtual machine is located is received, and the packet carries the service identifier of the service flow, and the service identifier of the service flow is set and encapsulated by the first host according to the destination address of the service flow. If the packet is sent, the packet is sent to the second virtual machine according to the processing policy. The packet carries the service identifier of the service flow, so that the packet can be controlled according to the service identifier of the service flow.
  • An embodiment of the present invention provides an apparatus for transmitting a message.
  • the apparatus includes: a second memory 601 and a second processor 602, configured to perform the following method of sending a message:
  • the obtaining the service identifier of the service flow according to the destination address of the service flow includes:
  • the packet sent by the first host where the first virtual machine is located is received, and the packet carries the service identifier of the service flow, and the service identifier of the service flow is set and encapsulated by the first host according to the destination address of the service flow. If the packet is sent, the packet is sent to the second virtual machine according to the processing policy. The packet carries the service identifier of the service flow, so that the packet can be controlled according to the service identifier of the service flow.
  • the device that sends the packet is sent by the foregoing embodiment, only the division of each functional module is used as an example. In an actual application, the function may be allocated by different functional modules according to requirements. Upon completion, the internal structure of the device is divided into different functional modules to perform all or part of the functions described above.
  • the apparatus for sending a message and the method for sending a message provided by the foregoing embodiment are in the same concept, and the specific implementation process is described in the method embodiment, and details are not described herein again.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

L'invention concerne le domaine technique des communications, et un procédé et un apareil d'envoi de paquets. Le procédé consiste à recevoir un paquet envoyé par une première machine principale dans laquelle réside une première machine virtuelle, le paquet de données portant une identification de service de flux de services, et l'identification de service d'un flux de services étant définie et encapsulée dans le paquet par la première machine principale en fonction d'une adresse de destination du flux de services ; à obtenir, en fonction de l'identification de service du flux de services, une politique de traitement du paquet ; à déterminer s'il faut envoyer le paquet en fonction de la politique de traitement ; et le cas échéant, à envoyer le paquet en fonction de la politique de traitement, à une seconde machine virtuelle. L'appareil comprend un premier module de réception, un premier module d'obtention, un module de détermination et un premier module d'envoi. Etant donné que le paquet de l'invention porte l'identification de service du flux de services, une commande de politique peut être exécutée sur le paquet en fonction de l'identification de service du flux de services.
PCT/CN2015/096687 2014-12-31 2015-12-08 Procédé et appareil d'envoi de paquets Ceased WO2016107379A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410855294.6A CN104601467B (zh) 2014-12-31 2014-12-31 一种发送报文的方法和装置
CN201410855294.6 2014-12-31

Publications (1)

Publication Number Publication Date
WO2016107379A1 true WO2016107379A1 (fr) 2016-07-07

Family

ID=53126985

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096687 Ceased WO2016107379A1 (fr) 2014-12-31 2015-12-08 Procédé et appareil d'envoi de paquets

Country Status (2)

Country Link
CN (1) CN104601467B (fr)
WO (1) WO2016107379A1 (fr)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220329527A1 (en) * 2021-04-09 2022-10-13 Microsoft Technology Licensing, Llc Architectures for disaggregating sdn from the host
US11588740B2 (en) 2021-04-09 2023-02-21 Microsoft Technology Licensing, Llc Scaling host policy via distribution
CN116055423A (zh) * 2022-12-26 2023-05-02 南京中孚信息技术有限公司 一种基于策略控制的流量并行分发装置
US11799785B2 (en) 2021-04-09 2023-10-24 Microsoft Technology Licensing, Llc Hardware-based packet flow processing

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102035047B1 (ko) 2015-10-22 2019-10-22 후아웨이 테크놀러지 컴퍼니 리미티드 서비스 처리 방법, 장치 및 시스템
CN106789757B (zh) * 2016-03-29 2020-10-13 新华三技术有限公司 一种访问控制方法及装置
CN105791304B (zh) * 2016-03-31 2019-08-27 联想(北京)有限公司 一种报文处理方法及设备
CN107395786B (zh) * 2017-08-09 2020-12-04 杭州迪普科技股份有限公司 一种arp表项的索引方法及装置
CN110768884B (zh) * 2018-07-25 2021-10-15 华为技术有限公司 Vxlan报文封装及策略执行方法、设备、系统
CN112437009B (zh) * 2020-11-27 2022-07-01 网络通信与安全紫金山实验室 SRv6端到端流策略的方法、路由器、路由系统和存储介质
CN114020970A (zh) * 2021-11-04 2022-02-08 北京天融信网络安全技术有限公司 一种查询方法、装置、存储介质及电子设备
CN115834472B (zh) * 2022-10-17 2024-07-19 北京奇艺世纪科技有限公司 一种报文处理方法、转发策略获取方法及装置
CN115842792B (zh) * 2023-02-20 2023-05-12 之江实验室 一种数据处理方法、装置、存储介质及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299929A (zh) * 2011-09-15 2011-12-28 北京天地云箱科技有限公司 虚拟机的访问控制方法、系统和装置
CN102549977A (zh) * 2009-09-24 2012-07-04 日本电气株式会社 虚拟服务器间通信识别系统和虚拟服务器间通信识别方法
CN102801729A (zh) * 2012-08-13 2012-11-28 福建星网锐捷网络有限公司 虚拟机报文转发方法、网络交换设备及通信系统
CN103905383A (zh) * 2012-12-26 2014-07-02 华为技术有限公司 一种数据报文转发方法、装置和系统

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0517304D0 (en) * 2005-08-23 2005-10-05 Netronome Systems Inc A system and method for processing and forwarding transmitted information
CN101127691A (zh) * 2006-08-17 2008-02-20 王玉鹏 一种在网络处理器上实现的基于流的策略路由的方法
US8407366B2 (en) * 2010-05-14 2013-03-26 Microsoft Corporation Interconnecting members of a virtual network
JP5585219B2 (ja) * 2010-06-03 2014-09-10 富士通株式会社 スイッチング装置および仮想lan構築方法
CN103905309A (zh) * 2012-12-28 2014-07-02 中国电信股份有限公司 虚拟机之间的数据交换方法和系统
CN104184676B (zh) * 2013-05-27 2017-08-11 华为技术有限公司 一种数据中心网络及其流量均衡方法和控制器
CN103618679A (zh) * 2013-11-25 2014-03-05 上海华为技术有限公司 服务质量控制方法、装置和系统
CN103795622B (zh) * 2014-01-22 2017-02-15 杭州华三通信技术有限公司 一种报文转发方法及其装置
CN104158753B (zh) * 2014-06-12 2017-10-24 南京工程学院 基于软件定义网络的动态流调度方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102549977A (zh) * 2009-09-24 2012-07-04 日本电气株式会社 虚拟服务器间通信识别系统和虚拟服务器间通信识别方法
CN102299929A (zh) * 2011-09-15 2011-12-28 北京天地云箱科技有限公司 虚拟机的访问控制方法、系统和装置
CN102801729A (zh) * 2012-08-13 2012-11-28 福建星网锐捷网络有限公司 虚拟机报文转发方法、网络交换设备及通信系统
CN103905383A (zh) * 2012-12-26 2014-07-02 华为技术有限公司 一种数据报文转发方法、装置和系统

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220329527A1 (en) * 2021-04-09 2022-10-13 Microsoft Technology Licensing, Llc Architectures for disaggregating sdn from the host
US11588740B2 (en) 2021-04-09 2023-02-21 Microsoft Technology Licensing, Llc Scaling host policy via distribution
US11652749B2 (en) 2021-04-09 2023-05-16 Microsoft Technology Licensing, Llc High availability for hardware-based packet flow processing
US11757782B2 (en) * 2021-04-09 2023-09-12 Microsoft Technology Licensing, Llc Architectures for disaggregating SDN from the host
US11799785B2 (en) 2021-04-09 2023-10-24 Microsoft Technology Licensing, Llc Hardware-based packet flow processing
CN116055423A (zh) * 2022-12-26 2023-05-02 南京中孚信息技术有限公司 一种基于策略控制的流量并行分发装置

Also Published As

Publication number Publication date
CN104601467B (zh) 2018-03-13
CN104601467A (zh) 2015-05-06

Similar Documents

Publication Publication Date Title
CN104601467B (zh) 一种发送报文的方法和装置
US11979322B2 (en) Method and apparatus for providing service for traffic flow
CN113676361B (zh) 针对体验质量度量的按需探测
EP3213480B1 (fr) Filtrage de contenu pour réseaux centrés sur l'information
US9167501B2 (en) Implementing a 3G packet core in a cloud computer with openflow data and control planes
EP3213489B1 (fr) Filtrage de contenu pour réseaux centrés sur l'information
US10050877B2 (en) Packet forwarding method and apparatus
CN106559325B (zh) 路径检测方法和装置
US8867361B2 (en) Implementing EPC in a cloud computer with OpenFlow data plane
CN103685009B (zh) 数据包的处理方法、控制器及系统
EP3140964B1 (fr) Implémentation d'un coeur de paquet 3g dans un ordinateur en nuage comportant des données openflow et des plans de commande
US9509631B2 (en) Quality of service (QoS) for information centric networks
US9712649B2 (en) CCN fragmentation gateway
US20150334057A1 (en) Packet forwarding
US20160308770A1 (en) Packet Processing Method, Node, and System
WO2015057404A1 (fr) Mappage de serveur mandataire de services configurable
WO2015109821A1 (fr) Procédé, système et dispositif de gestion de chaîne de service
US10084702B2 (en) Packet processing method and system, and device
US10003529B2 (en) Method and system for memory allocation in a software-defined networking (SDN) system
US20170155582A1 (en) Method and Apparatus for Processing Modified Packet
WO2017008712A1 (fr) Détection d'accessibilité pour un chemin entre des points d'extrémité de tunnel vxlan (vtep)
JP6472876B2 (ja) コンピュータ・プログラム、装置及び記憶媒体
WO2019196914A1 (fr) Procédé de découverte de trajet de réacheminement, et dispositif associé
WO2015039616A1 (fr) Procédé et dispositif de traitement de paquets
CN105812272A (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: 15875057

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

Country of ref document: EP

Kind code of ref document: A1