WO2016049926A1 - 一种数据包处理装置及方法 - Google Patents

一种数据包处理装置及方法 Download PDF

Info

Publication number
WO2016049926A1
WO2016049926A1 PCT/CN2014/088055 CN2014088055W WO2016049926A1 WO 2016049926 A1 WO2016049926 A1 WO 2016049926A1 CN 2014088055 W CN2014088055 W CN 2014088055W WO 2016049926 A1 WO2016049926 A1 WO 2016049926A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
service
vas
service path
value
Prior art date
Application number
PCT/CN2014/088055
Other languages
English (en)
French (fr)
Inventor
陆伟
周汉
钱涛
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/088055 priority Critical patent/WO2016049926A1/zh
Priority to CN201480008428.9A priority patent/CN105517659A/zh
Priority to EP14903021.5A priority patent/EP3190773A4/en
Publication of WO2016049926A1 publication Critical patent/WO2016049926A1/zh
Priority to US15/471,406 priority patent/US20170201466A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • H04L47/726Reserving resources in multiple paths to be used simultaneously
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1012Server selection for load balancing based on compliance of requirements or conditions with available server resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/56Routing software
    • H04L45/566Routing instructions carried by the data packet, e.g. active networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1023Server selection for load balancing based on a hash applied to IP addresses or costs

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data packet processing apparatus and method.
  • value-added service processing based on Layer 4 to Layer 7, including: anti-virus, firewall, application cache and acceleration, and NAT address translation.
  • a value-added service processing device that provides the above-mentioned value-added service processing function is connected in series with a fixed or mobile user access device, and a network composed of these value-added service processing devices and related switches and control devices is called “ Value-added services processing network.”
  • service chain is the sequence of value-added services that a certain service flow needs to pass and the sequence of value-added service sequences.
  • service chain is the sequence of value-added services that a certain service flow needs to pass and the sequence of value-added service sequences.
  • (anti-virus, firewall, NAT address translation), (application cache and acceleration, firewall, NAT address translation) and (firewall, NAT address translation) belong to different service chains, respectively, business flows of different service chains only need to flow through
  • the corresponding service node ie: value-added service processing device
  • a typical value-added service processing network using service chain technology is shown in FIG. 2, and includes: a controller, such as a Software Defined Network (SDN), a classifier, a switch (which may include one or more switches), and Value Added Service (VAS) processor, etc., wherein the VAS processor is the value-added service processing device described above.
  • a controller such as a Software Defined Network (SDN), a classifier, a switch (which may include one or more switches), and Value Added Service (VAS) processor, etc., wherein the VAS processor is the value-added service processing device described above.
  • SDN Software Defined Network
  • VAS Value Added Service
  • Each type of VAS processor includes one or more VAS instances: instance 1 through instance N, N is a positive integer.
  • N is a positive integer.
  • the same service chain corresponds to multiple service paths.
  • the service chain is VAS type 1+VAS type 2+VAS type 3, but the actual service path includes but is not limited to the following:
  • the embodiment of the invention provides a data packet processing apparatus and method for solving the problem of uneven load between instances in the same VAS type when determining a service path.
  • an embodiment of the present invention provides a data packet processing apparatus, where the data packet processing apparatus is located in a value-added service processing network, and includes:
  • a transceiver module configured to receive a first data packet
  • a processing module configured to determine, according to a load condition of each VAS instance corresponding to each VAS type of the value-added service VAS in the service chain in the value-added service processing network, the first data packet is to pass a service path, where the service path includes each VAS type sequentially included in the service chain, and a VAS instance through which the first data packet corresponding to each VAS type passes;
  • the transceiver module is further configured to: put the service path identifier for identifying the service path in the first data packet, and send the first data packet that carries the service path identifier to the value-added service Processing a packet routing device in the network, instructing the packet routing device to route the first data packet according to the service path identified by the service path identifier.
  • the processing module is specifically configured to:
  • the processing module is specifically configured to:
  • the first data packet is from a classifier in the value-added service processing network, and the first data packet includes a first data packet to pass through Information of the business chain of the business chain;
  • the processing module is further configured to: determine, according to the information about the service chain obtained from the first data packet, the service chain that the first data packet passes.
  • the first data packet is a first packet of the service flow to which the first data packet belongs;
  • the processing module is further configured to: after determining the service path, record a correspondence between a service flow identifier of the service flow to which the first data packet belongs and the service path identifier;
  • the transceiver module is further configured to:
  • the processing module determines the service path, receiving a second data packet, where the second data packet is a non-first packet of the service flow to which the first data packet belongs;
  • the packet routing device routes the second data packet according to the service path identified by the service path identifier.
  • the embodiment of the present invention provides a data packet routing device, where the data packet routing device is located in a value-added service processing network, and includes:
  • a transceiver module configured to receive a first data packet sent by a data packet processing device in the value-added service processing network
  • a processing module configured to obtain, from the first data packet, a service path that the first data packet passes The service path identifier of the trail, and the first data packet is routed according to the obtained service path identifier and the identified service path;
  • the service path includes each VAS type in the value-added service processing network sequentially included in the service chain through which the first data packet passes, and the first data packet corresponding to each VAS type. VAS instance.
  • an embodiment of the present invention provides a classifier, where the classifier is located in a value-added service processing network, and includes:
  • a processing module configured to determine information about a service chain of a service chain in the value-added service processing network to which the first data packet passes;
  • a sending module configured to: put information of the service chain into the first data packet, and send the information to the data packet processing device in the value-added service processing network, and instruct the data packet processing device to use information according to the service chain Determining the service chain through which the first data packet passes.
  • an embodiment of the present invention provides a data packet processing method, including:
  • the data packet processing device in the value-added service processing network receives the first data packet
  • the service path includes: each VAS type sequentially included in the service chain, and a VAS instance through which the first data packet corresponding to each VAS type passes;
  • the data packet processing device places the service path identifier for identifying the service path in the first data packet, and sends the first data packet carrying the service path identifier to the value-added service processing network.
  • the data packet routing device instructs the data packet routing device to route the first data packet according to the service path identified by the service path identifier.
  • the data packet processing apparatus determines a service path used by the first data packet, including:
  • the data packet processing apparatus determines the service path according to the load situation and the status of each VAS instance corresponding to each VAS type on the service chain.
  • the data packet processing apparatus determines a service path used by the first data packet, including:
  • the data packet processing apparatus determines, according to the load condition and the user identifier of the user to which the first data packet belongs, based on the principle that the same VAS instance is selected when the data packet of the same service flow of the same user passes the same VAS type, Business path.
  • the first data packet is from a classifier in the value-added service processing network, where the first data packet includes a first data packet to pass through Information of the business chain of the business chain;
  • the method further includes: the data packet processing apparatus according to the first data packet And obtaining, by the information of the service chain, the service chain through which the first data packet passes.
  • the method before the data packet processing apparatus receives the first data packet, the method further includes:
  • the classifier places the information of the service chain in the first data packet, and sends the information to the data packet processing device, instructing the data packet processing device to determine the first data packet according to the information of the service chain.
  • the business chain that passed.
  • the first data packet is a first packet of a service flow to which the first data packet belongs;
  • the method further includes: the data packet processing apparatus records a correspondence between a service flow identifier of the service flow to which the first data packet belongs and the service path identifier;
  • the data packet processing apparatus receives a second data packet, where the second data packet is the first data packet The non-first package of the service flow to which the package belongs;
  • the data packet processing device places the service path identifier in the recorded correspondence relationship in the second data packet, and sends the second data packet carrying the service path identifier to the data packet. And the routing device instructing the data packet routing device to route the second data packet according to the service path identified by the service path identifier.
  • an embodiment of the present invention provides a data packet routing method, including:
  • the data packet routing device routes the first data packet according to the obtained service path identifier and the identified service path;
  • the service path includes each VAS type sequentially included in the service chain in the value-added service processing network to which the first data packet passes, and the first data packet corresponding to each VAS type. VAS instance.
  • an embodiment of the present invention provides a method for sending information, including:
  • a classifier in the value-added service processing network determines information of a service chain of a service chain in the value-added service processing network through which the first data packet passes;
  • the classifier places the information of the service chain in the first data packet, and sends the information to the data packet processing device in the value-added service processing network, instructing the data packet processing device to determine the information according to the information of the service chain.
  • the service chain through which the first packet passes.
  • the data packet processing apparatus in the value-added service processing network determines the service path to be received by the received first data packet according to the load condition of each VAS instance corresponding to each VAS type of the value-added service in the service chain, and uses The service path identifier identifying the service path is sent to the packet routing device in the value-added service processing network; the packet routing device routes the first data packet according to the service path. Since the service path is determined according to the load condition of each VAS instance, when the first data packet is routed, the load of each VAS instance is considered, and the same VAS is avoided. Uneven load between devices in the type.
  • the data packet processing apparatus places the identifier of the service path in the first data packet and sends the identifier to the data packet routing device, thereby providing a routing control information through the data packet, thereby eliminating the need for special network
  • the control device implements routing of the data packet.
  • the classifier in the value-added service processing network determines the information of the service chain of the service chain in the value-added service processing network to which the first data packet passes; and places the information of the service chain in the first data packet. Transmitting to the data packet processing device; the data packet processing device is configured to obtain the information of the service chain from the first data packet, and determine, according to the information of the service chain, the service chain to be passed by the first data packet, and further The load status of each VAS instance corresponding to each VAS type in the service chain determines the service path through which the first data packet passes, thereby avoiding uneven load between devices in the same VAS type.
  • FIG. 1 is a structural diagram of a value-added service processing network
  • FIG. 2 is an architecture diagram of a value-added service processing network using service chain technology
  • FIG. 3 is a schematic structural diagram of a value-added service processing network according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a first packet processing apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a second data packet processing apparatus according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a first data packet routing apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a second packet routing apparatus according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a first classifier according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a second classifier according to an embodiment of the present disclosure.
  • FIG. 11 is a flowchart of a data packet processing method according to an embodiment of the present invention.
  • FIG. 12 is a flowchart of a data packet routing method according to an embodiment of the present invention.
  • FIG. 13 is a flowchart of a method for sending information according to an embodiment of the present invention.
  • An embodiment of the present invention provides a data packet processing apparatus and method for solving the problem of uneven load between devices in the same VAS type when determining a service path.
  • the data packet processing device provided by the embodiment of the present invention is located in a value-added service processing network, and the transceiver module of the data packet processing device is configured to receive a first data packet; and the processing module of the data packet processing device is configured to: according to the first data packet
  • the load value of each VAS instance corresponding to the VAS type of the value-added service in the service chain in the value-added service processing network determines the service path to be passed by the first data packet, and the transceiver module is further used to identify the service path
  • the path identifier is placed in the first data packet, and the first data packet carrying the service path identifier is sent to the data packet routing device in the value-added service processing network, indicating that the data packet routing device identifies the service path identifier according to the service path identifier.
  • the first packet is routed.
  • the data packet processing device determines, according to the load condition of each VAS instance corresponding to each VAS type of the value-added service in the service chain, the service path to be passed by the first data packet, and sends the service path identifier used to identify the service path to the service path identifier.
  • the value-added service processing packet routing device in the network instructs the packet routing device to route the first data packet according to the service path. Since the service path is determined according to the load condition of each VAS instance, when the first data packet is routed, the load of each VAS instance is considered, and the load unevenness between the devices in the same VAS type is avoided. .
  • the value-added service processing network provided by the embodiment of the present invention is introduced, and then the packet processing device, the packet routing device, and the classifier in the value-added service processing network are respectively introduced. Finally, a data packet processing method, a data packet routing method, and an information sending method provided by the embodiments of the present invention are introduced.
  • FIG. 3 is a value-added service processing network according to an embodiment of the present invention.
  • the network includes: a packet processing device 301, a packet routing device 302, a classifier 303, and a switch and a plurality of VAS processors, each of which processes one type of value-added service.
  • One or more VAS instances are included in one VAS processor;
  • the classifier 303 is configured to determine, in the value-added service processing network that the first data packet passes Information of the business chain of the business chain, and the information of the business chain is placed in the first data packet and sent to the data packet processing device 301;
  • a packet processing device 301 configured to receive a first data packet sent by the classifier 303, and determine, according to information of a service chain in the first data packet, a service chain in the value-added service processing network to which the first data packet passes;
  • the load status of each VAS instance corresponding to each VAS type in the service chain determines the service path through which the first data packet passes; the service path identifier used to identify the service path is placed in the first data packet, and the service path identifier is carried
  • the first data packet is sent to the packet routing device 302;
  • the packet routing device 302 is configured to receive the first data packet sent by the data packet processing device 301, obtain a service path identifier of the service path that the first data packet passes through the first data packet, and identify the identified service according to the obtained service path. Path, routing the first data packet;
  • the service path includes: each VAS type in the value-added service processing network sequentially included in the service chain to which the first data packet passes, and a VAS instance through which the first data packet corresponding to each VAS type passes.
  • the switch in Figure 3 can be composed of one or more switches.
  • the classifier 303 may be a Policy and Charging Enforcement Function (PCEF) unit, a Packet Data Network Gateway (PGW), or a Traffic Detection Function (TDF).
  • PCEF Policy and Charging Enforcement Function
  • PGW Packet Data Network Gateway
  • TDF Traffic Detection Function
  • the packet processing device 301 and the packet routing device 302 can be located in the same device or in different devices, such as in the same switch.
  • the network topology information of the value-added service processing network is pre-configured in the data packet processing device 301 and the data packet routing device 302, including but not limited to, which switches are included in the value-added service processing network, and addresses and ports of each switch. No., the VAS type of each switch connection, the address and port number of each VAS instance in each VAS type.
  • the data packet processing device 301 further pre-configures information about the service chain of each service chain in the value-added service processing network. For example, the service chain A in FIG. 3 passes the VAS type 1 and the VAS type 3.
  • the data packet processing device 301 can obtain the information of the service chain from the first data packet, and determine the service chain through which the first data packet passes according to the information of the service chain. Since the network topology information of the value-added service processing network is pre-configured in the packet processing device 301, the data is The packet processing device 301 can obtain the load status, status information, and the like of each VAS instance corresponding to each VAS type in the service chain, and the data packet processing device 301 can obtain the load status of each VAS instance corresponding to each VAS type in the acquired service chain. And/or status information, determining a VAS instance through which the first data packet passes when the first data packet is transmitted in the value-added service processing network.
  • the data packet processing device 301 first obtains the service chain in the first data packet after receiving the first data packet sent by the classifier 303.
  • the information determines that the first data packet passes through the service chain A according to the information of the service chain.
  • the packet processing device 301 acquires the load condition of each VAS instance in the VAS type 1 on the service chain A, and the load condition of each VAS instance in the VAS type 3. If the load of the instance 1 in the VAS type 1 is lighter than the load of the example 2, and the example 2 in the VAS type 3 is the lightest load example among the four instances, the packet processing means 301 determines the service path through which the first data packet passes. for:
  • the packet processing device 301 acquires state information of each VAS instance in the VAS type 1 on the service chain A, and state information of each VAS instance in the VAS type 3. If the status information of instance 1 in VAS Type 1 indicates that instance 1 is available, the status information of instance 2 indicates that instance 2 is unavailable; four instances of VAS type 3 are available, but instance 2 is the lightest of the four instances. For example, the packet processing apparatus 301 determines that the service path through which the first data packet passes is still:
  • the packet processing device 301 places the service path identifier for identifying the service path in the first data packet, and sends the first data packet to the packet routing device 302.
  • information of all possible service paths can be configured in advance in the packet processing device 301 and the packet routing device 302, and all possible service paths are numbered, for example:
  • the packet routing device 302 can determine that the corresponding service path is VAS Type 1 - Instance 1 + VAS Type 3 - Instance 2 according to P2.
  • the identifier of the service path is a string, for example, "1-1:3-2", that is, the service path VAS type 1 - instance 1 + VAS type 3 - instance 2.
  • the packet routing device 302 can route the packet processing device 301 according to the service path. For example, for the above service path: VAS Type 1 - Instance 1 + VAS Type 3 - Instance 2, the first data packet is first sent to the VAS Type 1 instance 1 through the switch, and then sent to the VAS Type 3 instance 2 for processing. .
  • the data packet processing apparatus 301 may further: according to the load condition of each VAS instance corresponding to each VAS type in the service chain, and the user identifier of the user to which the first data packet belongs, the data packets of the same service flow according to the same user pass the same
  • the VAS type selects the principle of the same VAS instance to determine the service path of the first data packet.
  • the first data packet belongs to the service flow 1 of the user M.
  • the data packet processing device 301 Before the first data packet, the data packet processing device 301 also receives other data packets of the service flow 1 of the user M, if the data packet processing device 301 determines the other
  • the service path of the data packet is: VAS type 1 - instance 1 + VAS type 3 - instance 3, the packet processing device 301 is based on the principle that the same VAS instance is selected when the same service flow of the same user passes the same VAS type.
  • the service path is also selected: VAS Type 1 - Instance 1 + VAS Type 3 - Instance 3.
  • the data packet processing device 301 when the data packet processing device 301 obtains the load status and status information of each VAS instance corresponding to each VAS type in the service chain, the data may be periodically acquired, and after receiving the first data packet, according to the latest acquisition. And/or status information to determine the business path; or
  • the data packet processing device 301 may obtain the load status and status information of each VAS instance corresponding to each VAS type in the service chain, and according to the acquired load situation and/or shape. State information to determine the business path.
  • the first data packet is a first packet of the service flow to which the first data packet belongs, and after determining the service path that the first data packet passes, the data packet processing device 301 records the service flow identifier of the service flow to which the first data packet belongs. Correspondence relationship of the service path identifier of the service path.
  • the identifier of the service flow may be a five-tuple of the service flow or an application identifier corresponding to the service flow.
  • the quintuple includes: a source IP address, a destination IP address, a protocol number, a source port number, and a destination port number.
  • the data packet processing device 301 receives the second data packet in the data packet processing device 301, if the second data packet is a non-first packet of the service flow to which the first data packet belongs, the data packet processing device 301 does not re-determine the service path for the second data packet, but When the first data packet is directly processed, the determined service path identifier of the service path through which the first data packet passes is placed in the second data packet, and the second data packet carrying the service path identifier is sent to the packet routing device 302.
  • the packet routing device 302 routes the second data packet according to the service path identified by the service path identifier, that is, routes different packets belonging to the same service flow according to the same service path, and reduces the processing of the data packet processing device 301. load.
  • the first embodiment includes the following steps:
  • the classifier 303 configures a predefined policy rule, or receives a policy rule from another logic function, for example, a policy rule from a Policy and Charging Rules Function (PCRF) unit; or, the classifier also accepts
  • PCRF Policy and Charging Rules Function
  • the policy rule is sent by the PCRF unit, that is, the classifier generates a service chain according to the predefined policy rules and the policy rules delivered by the PCRF unit.
  • PCRF Policy and Charging Rules Function
  • S402 Generate, according to the policy rule in the step S401 (predefined policy rule and/or the policy rule delivered by the PCRF unit), generate service chain information of different service chains for different service flows;
  • the classifier 303 puts the information of the service chain into the data packet, and sends the data packet to the data packet.
  • the processing device 301 optionally, the data packet may further include a user identifier and/or a service flow identifier, and the like;
  • the data packet processing apparatus 301 determines the data packet according to the information of the service chain in the data packet, according to the same VAS instance requirement of the same service flow of the same user, and the load balancing policy between the VAS instances.
  • the VAS instance in each VAS type in the service chain is determined to determine the service path through which the data packet passes; and the correspondence between the service flow identifier of the service flow and the service path is recorded, for example, the quintuple of the service flow is recorded.
  • Correspondence relationship of the service path when the data packet is the non-first packet of the service flow, directly select the service path previously determined for other data packets on the service flow;
  • the data packet processing apparatus 301 sends a data packet to the data packet routing device 302, where the data packet includes a service path identifier of the service path determined for the data packet;
  • the packet routing device 302 records the correspondence between the service flow identifier and the physical chain, determines the first VAS instance in the service path identified by the service path identifier in the data packet, and obtains the MAC address of the instance, if It is the last hop, and it is processed according to the export policy configured in the service chain, for example, directly sending the data packet to the Internet (INTERNET).
  • the export policy configured in the service chain, for example, directly sending the data packet to the Internet (INTERNET).
  • the packet routing device 302 strips the service path identifier in the data packet, encapsulates the MAC address, and sends the processed data packet to the designated VAS instance.
  • the packet routing device 302 sends the data packet to the first VAS instance.
  • the data packet routing device 302 routes the data packet according to the correspondence between the recorded service flow identifier and the service path.
  • the packet routing device 302 sends the data packet to the next VAS instance in the service path.
  • the packet routing device 302 transmits the data packet to the packet processing device 301, and the packet processing device 301 determines the next hop of the data packet according to the VAS instance of the next hop.
  • the other value-added services process the packet processing device 301 in the network, and then route the data packet to the packet processing device 301 of the other value-added service processing network.
  • the packet processing apparatus 301 is repeatedly executed in accordance with the steps of the present embodiment.
  • the value-added service processing network provided by the embodiment of the present invention is described above. Based on the same inventive concept as the value-added service processing network, the embodiment of the present invention further provides a data packet processing apparatus, a data packet routing apparatus, and a classifier, and a data packet processing method, a data packet routing method, and an information transmission method. Since the principle of solving the problem by these devices and methods is similar to that of the value-added service processing network, the implementation can refer to the value-added service processing network, and the repeated description is not repeated.
  • FIG. 5 is a schematic structural diagram of a first type of data packet processing apparatus according to an embodiment of the present disclosure, where the apparatus is located in a value-added service processing network, and includes:
  • the transceiver module 501 is configured to receive the first data packet.
  • the processing module 502 is configured to determine, according to the load situation of each VAS instance corresponding to each VAS type of the value-added service VAS in the service chain in the value-added service processing network, the service path to which the first data packet passes;
  • the service path includes each VAS type included in the service chain, and a VAS instance through which the first data packet corresponding to each VAS type passes;
  • the transceiver module 501 is further configured to: put the service path identifier for identifying the service path in the first data packet, and send the first data packet that carries the service path identifier to the data packet routing device in the value-added service processing network, and indicate the data.
  • the packet routing device routes the first data packet according to the service path identified by the service path identifier.
  • processing module 502 is specifically configured to:
  • the service path is determined according to the load situation described above and the status of each VAS instance corresponding to each VAS type on the service chain.
  • processing module 502 is specifically configured to:
  • the service path is determined based on the principle that the same VAS instance is selected when the data packet of the same service flow of the same user passes the same VAS type.
  • the first data packet is from a classifier in the value-added service processing network, and the first data packet includes information about a service chain of the service chain through which the first data packet passes;
  • the processing module 502 is further configured to: determine, according to information of a service chain obtained from the first data packet, The business chain through which the first packet passes.
  • the first data packet is a first packet of the service flow to which the first data packet belongs;
  • the processing module 502 is further configured to: after determining the service path, record a correspondence between the service flow identifier and the service path identifier of the service flow to which the first data packet belongs;
  • the transceiver module 501 is further configured to:
  • the second data packet is received, where the second data packet is a non-first packet of the service flow to which the first data packet belongs;
  • the service path identifier in the recorded correspondence is placed in the second data packet, and the second data packet carrying the service path identifier is sent to the data packet routing device, instructing the data packet routing device to identify the service path identifier according to the service path identifier.
  • the second packet is routed.
  • FIG. 6 is a schematic structural diagram of a second type of data packet processing apparatus according to an embodiment of the present disclosure, where the apparatus is located in a value-added service processing network, and includes:
  • the processor 602 is configured to determine, according to the load condition of each VAS instance corresponding to each VAS type of the value-added service VAS in the service chain in the value-added service processing network, the service path to which the first data packet passes;
  • the service path includes each VAS type included in the service chain, and a VAS instance through which the first data packet corresponding to each VAS type passes;
  • the input/output I/O interface 601 is further configured to: put the service path identifier used to identify the service path in the first data packet, and send the first data packet carrying the service path identifier to the data packet in the value-added service processing network. And means, instructing the data packet routing device to route the first data packet according to the service path identified by the service path identifier.
  • the processor 602 is specifically configured to:
  • the service path is determined according to the load situation described above and the status of each VAS instance corresponding to each VAS type on the service chain.
  • the processor 602 is specifically configured to:
  • the principle that the same VAS instance is selected when the data packet of the same service flow of the same user passes the same VAS type is determined.
  • the first data packet is from a classifier in the value-added service processing network, and the first data packet includes information about a service chain of the service chain through which the first data packet passes;
  • the processor 602 is further configured to: determine, according to information of the service chain obtained from the first data packet, a service chain to which the first data packet passes.
  • the first data packet is a first packet of the service flow to which the first data packet belongs;
  • the processor 602 is further configured to: after determining the service path, record a correspondence between the service flow identifier and the service path identifier of the service flow to which the first data packet belongs;
  • the input and output I/O interface 601 is also used to:
  • the second data packet is received, where the second data packet is a non-first packet of the service flow to which the first data packet belongs;
  • the service path identifier in the recorded correspondence is placed in the second data packet, and the second data packet carrying the service path identifier is sent to the data packet routing device, instructing the data packet routing device to identify the service path identifier according to the service path identifier.
  • the second packet is routed.
  • FIG. 7 is a schematic structural diagram of a first type of data packet routing apparatus according to an embodiment of the present invention.
  • the apparatus is located in a value-added service processing network, and includes:
  • the transceiver module 701 is configured to receive a first data packet sent by the data packet processing device in the value-added service processing network;
  • the processing module 702 is configured to obtain, from the first data packet, a service path identifier of the service path that the first data packet passes, and perform routing on the first data packet according to the identified service path identifier.
  • the service path includes each VAS type in the value-added service processing network sequentially included in the service chain through which the first data packet passes, and a VAS instance through which the first data packet corresponding to each VAS type passes.
  • FIG. 8 is a schematic structural diagram of a second type of data packet routing apparatus according to an embodiment of the present invention.
  • the apparatus is located in a value-added service processing network, and includes:
  • An I/O interface 801 configured to receive, by a data packet processing device in a value-added service processing network a data packet;
  • the processor 802 is configured to obtain, from the first data packet, a service path identifier of the service path that the first data packet passes, and perform routing on the first data packet according to the identified service path identifier.
  • the service path includes each VAS type in the value-added service processing network sequentially included in the service chain through which the first data packet passes, and a VAS instance through which the first data packet corresponding to each VAS type passes.
  • FIG. 9 is a schematic structural diagram of a first classifier according to an embodiment of the present invention.
  • the classifier is located in a value-added service processing network, and includes:
  • the processing module 901 is configured to determine information about a service chain of a service chain in the value-added service processing network to which the first data packet passes;
  • the sending module 902 is configured to: put the information of the service chain in the first data packet, and send the information to the data packet processing device in the value-added service processing network, and instruct the data packet processing device to determine, according to the information of the service chain, the service to be passed by the first data packet. chain.
  • FIG. 10 is a schematic structural diagram of a second classifier according to an embodiment of the present invention.
  • the classifier is located in a value-added service processing network, and includes:
  • the processor 1001 is configured to determine information about a service chain of a service chain in a value-added service processing network to which the first data packet passes;
  • the I/O interface 1002 is configured to: put the information of the service chain into the first data packet, and send the information to the data packet processing device in the value-added service processing network, and instruct the data packet processing device to determine, according to the information of the service chain, that the first data packet passes Business chain.
  • FIG. 11 is a flowchart of a data packet processing method according to an embodiment of the present invention. As shown in FIG. 11, the method includes:
  • S1101 The data packet processing apparatus in the value-added service processing network receives the first data packet
  • the data packet processing device determines, according to the load condition of each VAS instance corresponding to each VAS type of the value-added service VAS in the service chain in the value-added service processing network, the service path to which the first data packet passes;
  • the service path includes each VAS type included in the service chain. And a VAS instance through which the first data packet corresponding to each VAS type passes;
  • A1103 The data packet processing device places the service path identifier for identifying the service path in the first data packet, and sends the first data packet carrying the service path identifier to the data packet routing device in the value-added service processing network to indicate the data packet.
  • the routing device routes the first data packet according to the service path identified by the service path identifier.
  • the data packet processing apparatus in step S1102 determines a service path used for transmitting the first data packet, including:
  • the packet processing device determines the service path according to the load situation and the status of each VAS instance corresponding to each VAS type on the service chain.
  • the data packet processing apparatus in step S1102 determines a service path used for transmitting the first data packet, including:
  • the packet processing device determines the service path based on the load condition and the user identifier of the user to which the first data packet belongs, based on the principle that the same VAS instance of the same user flows through the same VAS type to select the same VAS instance.
  • the first data packet is from a classifier in the value-added service processing network, and the first data packet includes information about a service chain of the service chain through which the first data packet passes;
  • the method further includes: the data packet processing device determining, according to the information of the service chain obtained from the first data packet, The business chain through which a packet passes.
  • the method further includes:
  • the classifier determines information of a service chain of the service chain in the value-added service processing network to which the first data packet passes;
  • the classifier places the information of the service chain in the first data packet and sends it to the data packet processing device, instructing the data packet processing device to determine the service chain through which the first data packet passes according to the information of the service chain.
  • the first data packet is a first packet of the service flow to which the first data packet belongs;
  • the method further includes: data The packet processing device records a correspondence between the service flow identifier of the service flow to which the first data packet belongs and the service path identifier;
  • the data packet processing apparatus receives the second data packet, where the second data packet is a non-first packet of the service flow to which the first data packet belongs;
  • the packet processing device places the service path identifier in the recorded correspondence in the second data packet, and sends the second data packet carrying the service path identifier to the data packet routing device, instructing the data packet routing device to identify according to the service path identifier.
  • the service path routes the second packet.
  • FIG. 12 is a flowchart of a data packet routing method according to an embodiment of the present invention. As shown in FIG. 12, the method includes:
  • the data packet routing device in the value-added service processing network receives the first data packet sent by the data packet processing device in the value-added service processing network;
  • the data packet routing device obtains, from the first data packet, a service path identifier of the service path that the first data packet passes;
  • the data packet routing device routes the first data packet according to the identified service path identifier.
  • the service path includes each VAS type sequentially included in the service chain in the value-added service processing network to which the first data packet passes, and a VAS instance through which the first data packet corresponding to each VAS type passes.
  • FIG. 13 is a flowchart of a method for sending information according to an embodiment of the present invention. As shown in Figure 13, the process includes:
  • the classifier in the value-added service processing network determines information about a service chain of a service chain in the value-added service processing network to which the first data packet passes;
  • the classifier places the information of the service chain in the first data packet, and sends the information to the data packet processing device in the value-added service processing network, and instructs the data packet processing device to determine, according to the information of the service chain, the service chain through which the first data packet passes.
  • the data packet processing apparatus in the value-added service processing network determines the received first data packet according to the load condition of each VAS instance corresponding to each VAS type of the value-added service in the service chain.
  • the service path to be passed, and the service path identifier for identifying the service path is sent to the packet routing device in the value-added service processing network; the packet routing device routes the first data packet according to the service path. Since the service path is determined according to the load condition of each VAS instance, when the first data packet is routed, the load of each VAS instance is considered, and the load unevenness between the devices in the same VAS type is avoided. .
  • the data packet processing apparatus places the identifier of the service path in the first data packet and sends the identifier to the data packet routing device, thereby providing a routing control information through the data packet, thereby eliminating the need for special network
  • the control device implements routing of the data packet.
  • the classifier in the value-added service processing network determines the information of the service chain of the service chain in the value-added service processing network to which the first data packet passes; and places the information of the service chain in the first data packet. Transmitting to the data packet processing device; the data packet processing device is configured to obtain the information of the service chain from the first data packet, and determine, according to the information of the service chain, the service chain to be passed by the first data packet, and further The load status of each VAS instance corresponding to each VAS type in the service chain determines the service path through which the first data packet passes, thereby avoiding uneven load between devices in the same VAS type.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

本发明涉及通信技术领域,尤其涉及数据包处理装置及方法,用以解决同一增值业务VAS类型中的各实例之间负荷不均的问题。本发明实施例提供的数据包处理装置位于增值业务处理网络中,其收发模块接收第一数据包;处理模块根据第一数据包要经过的业务链上各VAS类型对应的各VAS实例的负荷情况,确定第一数据包要经过的业务路径;收发模块将携带业务路径标识的第一数据包发往网络中的数据包路由装置,指示数据包路由装置根据业务路径标识所标识的业务路径对第一数据包进行路由。由于业务路径是根据各VAS实例的负荷情况确定的,因此在对第一数据包进行路由时,考虑了各VAS实例的负荷,避免了同一VAS类型中的各设备之间负荷不均的情况。

Description

一种数据包处理装置及方法 技术领域
本发明涉及通信技术领域,尤其涉及一种数据包处理装置及方法。
背景技术
在固定或移动宽带接入领域及数据中心应用中,会存在很多基于4层到7层的增值业务处理,包括:防病毒、防火墙、应用缓存和加速、NAT地址转换等。通常如图1所示,在固定或移动用户接入设备后面串接提供上述增值业务处理功能的增值业务处理设备,将这些增值业务处理设备及相关的交换机和控制设备组成的网络,称为“增值业务处理网络”。
在实际应用中,可能部分用户的业务流需要进行NAT地址转换;仅视频或Web访问的业务流才需要应用缓存和加速。但在图1所示网络架构中,所有的业务流都需要流经串接的多个增值业务处理设备,不管这些业务流是否需要进行相应的增值业务处理。此方式对增值业务处理设备的处理容量要求大,导致不必要的网络设备投资;同时,也会增加网络中的故障点,某个增值业务处理设备故障,会导致整体业务流中断和故障。
为解决上述问题,业界提出了“业务链”的概念,业务链就是某个业务流所需经过的增值业务序列以及经过增值业务序列的顺序。比如:(防病毒、防火墙、NAT地址转换)、(应用缓存和加速、防火墙、NAT地址转换)和(防火墙、NAT地址转换)分别属于不同的业务链,不同业务链的业务流只需流经相应的服务节点(即:增值业务处理设备)即可。
采用业务链技术的一个典型的增值业务处理网络如图2所示,包括:控制器,比如:软件定义网络(Software Defined Network,SDN)、分类器、交换机(可包括一个或多个交换机)和增值业务(Value Added Service,VAS)处理器等,其中VAS处理器就是前面所述增值业务处理设备。
每个类型的VAS处理器中包括一个或多个VAS实例:实例1至实例N, N为正整数。在实际的业务流传输过程中,同一个业务链对应多种业务路径。
比如:业务链是VAS类型1+VAS类型2+VAS类型3,但实际的业务路径包括但不限于下述几种:
VAS类型1-实例1+VAS类型2-实例2+VAS类型3-实例1;
VAS类型1-实例2+VAS类型2-实例1+VAS类型3-实例1;
VAS类型1-实例1+VAS类型2-实例2+VAS类型3-实例3。
目前在确定业务路径时,常用的做法是随机选择VAS类型中的实例,这样的做法可能导致某个实例的负荷较大,而其他实例的负荷较小,各实例之间负荷不均。
发明内容
本发明实施例提供一种数据包处理装置及方法,用以解决在确定业务路径时,同一VAS类型中的各实例之间负荷不均的问题。
第一方面,本发明实施例提供一种数据包处理装置,所述数据包处理装置位于增值业务处理网络中,包括:
收发模块,用于接收第一数据包;
处理模块,用于根据所述第一数据包要经过的所述增值业务处理网络中的业务链上各增值业务VAS类型对应的各VAS实例的负荷情况,确定所述第一数据包要经过的业务路径;其中,所述业务路径包括所述业务链上依次包含的各VAS类型,以及每一种VAS类型对应的所述第一数据包经过的VAS实例;
所述收发模块还用于:将用于标识所述业务路径的业务路径标识置于所述第一数据包中,将携带所述业务路径标识的所述第一数据包发往所述增值业务处理网络中的数据包路由装置,指示所述数据包路由装置根据所述业务路径标识所标识的业务路径对所述第一数据包进行路由。
结合第一方面,在第一种可能的实现方式中,所述处理模块具体用于:
根据所述负荷情况,以及所述业务链上的各VAS类型对应的各VAS实例 的状态,确定所述业务路径。
结合第一方面,在第二种可能的实现方式中,所述处理模块具体用于:
根据所述负荷情况和所述第一数据包所属用户的用户标识,基于同一用户的同一业务流的数据包经过相同的VAS类型时选择同一VAS实例的原则,确定所述业务路径。
结合第一方面,在第三种可能的实现方式中,所述第一数据包来自所述增值业务处理网络中的分类器,所述第一数据包中包括所述第一数据包要经过的所述业务链的业务链的信息;
所述处理模块还用于:根据从所述第一数据包中获取的所述业务链的信息,确定所述第一数据包要经过的所述业务链。
结合第一方面、第一方面的第一种可能的实现方式、第一方面的第二种可能的实现方式或第一方面的第三种可能的实现方式、在第四种可能的实现方式中,所述第一数据包为所述第一数据包所属业务流的首包;
所述处理模块还用于:在确定所述业务路径之后,记录所述第一数据包所属业务流的业务流标识和所述业务路径标识的对应关系;
所述收发模块还用于:
在所述处理模块确定所述业务路径后,接收第二数据包,所述第二数据包为所述第一数据包所属业务流的非首包;
将记录的所述对应关系中的所述业务路径标识置于所述第二数据包中,将携带所述业务路径标识的所述第二数据包发往所述数据包路由装置,指示所述数据包路由装置根据所述业务路径标识所标识的业务路径对所述第二数据包进行路由。
第二方面,本发明实施例提供一种数据包路由装置,所述数据包路由装置位于增值业务处理网络中,包括:
收发模块,用于接收所述增值业务处理网络中的数据包处理装置发送的第一数据包;
处理模块,用于从所述第一数据包中获取所述第一数据包经过的业务路 径的业务路径标识,根据获取的所述业务路径标识所标识业务路径,对所述第一数据包进行路由;
其中,所述业务路径包括所述第一数据包要经过的业务链上依次包含的所述增值业务处理网络中的各VAS类型,以及每一种VAS类型对应的所述第一数据包经过的VAS实例。
第三方面,本发明实施例提供一种分类器,所述分类器位于增值业务处理网络中,包括:
处理模块,用于确定第一数据包要经过的所述增值业务处理网络中的业务链的业务链的信息;
发送模块,用于将所述业务链的信息置于所述第一数据包中,发给所述增值业务处理网络中数据包处理装置,指示所述数据包处理装置根据所述业务链的信息确定所述第一数据包要经过的业务链。
第四方面,本发明实施例提供一种数据包处理方法,包括:
增值业务处理网络中的数据包处理装置接收第一数据包;
所述数据包处理装置根据所述第一数据包要经过的所述增值业务处理网络中的业务链上各增值业务VAS类型对应的各VAS实例的负荷情况,确定所述第一数据包要经过的业务路径;其中,所述业务路径包括所述业务链上依次包含的各VAS类型,以及每一种VAS类型对应的所述第一数据包经过的VAS实例;
所述数据包处理装置将用于标识所述业务路径的业务路径标识置于所述第一数据包中,将携带所述业务路径标识的所述第一数据包发往所述增值业务处理网络中的数据包路由装置,指示所述数据包路由装置根据所述业务路径标识所标识的业务路径对所述第一数据包进行路由。
结合第四方面,在第一种可能的实现方式中,所述数据包处理装置确定传输所述第一数据包使用的业务路径,包括:
所述数据包处理装置根据所述负荷情况,以及所述业务链上的各VAS类型对应的各VAS实例的状态,确定所述业务路径。
结合第四方面,在第二种可能的实现方式中,所述数据包处理装置确定传输所述第一数据包使用的业务路径,包括:
所述数据包处理装置根据所述负荷情况和所述第一数据包所属用户的用户标识,基于同一用户的同一业务流的数据包经过相同的VAS类型时选择同一VAS实例的原则,确定所述业务路径。
结合第四方面,在第三种可能的实现方式中,所述第一数据包来自所述增值业务处理网络中的分类器,所述第一数据包中包括所述第一数据包要经过的所述业务链的业务链的信息;
在所述数据包处理装置接收所述第一数据包之后,确定所述第一数据包要经过的业务路径之前,所述方法还包括:所述数据包处理装置根据从所述第一数据包中获取的所述业务链的信息,确定所述第一数据包要经过的所述业务链。
结合第四方面的第三种可能的实现方式,在第四种可能的实现方式中,在所述数据包处理装置接收所述第一数据包之前,所述方法还包括:
所述分类器确定第一数据包要经过的所述增值业务处理网络中的业务链的业务链的信息;
所述分类器将所述业务链的信息置于所述第一数据包中,发给所述数据包处理装置,指示数据包处理装置根据所述业务链的信息确定所述第一数据包要经过的所述业务链。
结合第四方面,第四方面的第一种可能的实现方式、第四方面的第二种可能的实现方式、第四方面的第三种可能的实现方式或第四方面的第四种可能的实现方式,在第五种可能的实现方式中,所述第一数据包为所述第一数据包所属业务流的首包;
在所述数据包处理装置确定所述业务路径之后,所述方法还包括:所述数据包处理装置记录所述第一数据包所属业务流的业务流标识和所述业务路径标识的对应关系;
所述数据包处理装置接收第二数据包,所述第二数据包为所述第一数据 包所属业务流的非首包;
所述数据包处理装置将记录的所述对应关系中的所述业务路径标识置于所述第二数据包中,将携带所述业务路径标识的所述第二数据包发往所述数据包路由装置,指示所述数据包路由装置根据所述业务路径标识所标识的业务路径对所述第二数据包进行路由。
第五方面,本发明实施例提供一种数据包路由方法,包括:
增值业务处理网络中的数据包路由装置接收所述增值业务处理网络中的数据包处理装置发送的第一数据包;
所述数据包路由装置从所述第一数据包中获取所述第一数据包经过的业务路径的业务路径标识;
所述数据包路由装置根据获取的所述业务路径标识所标识业务路径,对所述第一数据包进行路由;
其中,所述业务路径包括所述第一数据包要经过的所述增值业务处理网络中的业务链上依次包含的各VAS类型,以及每一种VAS类型对应的所述第一数据包经过的VAS实例。
第六方面,本发明实施例提供一种信息发送方法,包括:
增值业务处理网络中的分类器确定第一数据包要经过的所述增值业务处理网络中的业务链的业务链的信息;
所述分类器将所述业务链的信息置于所述第一数据包中,发给所述增值业务处理网络中数据包处理装置,指示数据包处理装置根据所述业务链的信息确定所述第一数据包要经过的所述业务链。
本发明实施例中,增值业务处理网络中的数据包处理装置根据业务链上各增值业务VAS类型对应的各VAS实例的负荷情况,确定接收的第一数据包要经过的业务路径,并将用于标识该业务路径的业务路径标识发给该增值业务处理网络中的数据包路由装置;该数据包路由装置根据该业务路径对第一数据包进行路由。由于该业务路径是根据各VAS实例的负荷情况确定的,因此在对第一数据包进行路由时,考虑了各VAS实例的负荷,避免了同一VAS 类型中的各设备之间负荷不均的情况。
此外,本发明实施例提供的数据包处理装置,将业务路径的标识置于第一数据包中,发给数据包路由装置,提供了一种通过数据包传递路由控制信息,从而无需网络中专门的控制设备实现对数据包的路由。
另一方面,本发明实施例中,增值业务处理网络中分类器确定第一数据包要经过的增值业务处理网络中的业务链的业务链的信息;将业务链的信息置于第一数据包中,发给数据包处理装置;数据包处理装置才得以从第一数据包中获取该业务链的信息,并根据该业务链的信息确定第一数据包要经过的业务链,进而进一步根据该业务链上各VAS类型对应的各VAS实例的负荷情况,确定第一数据包要经过的业务路径,从而避免同一VAS类型中的各设备之间负荷不均的情况。
附图说明
图1为一种增值业务处理网络的架构图;
图2为采用业务链技术的一种增值业务处理网络的架构图;
图3为本发明实施例提供的增值业务处理网络的结构示意图;
图4为本发明实施例一的流程图;
图5为本发明实施例提供的第一种数据包处理装置的结构示意图;
图6为本发明实施例提供的第二种数据包处理装置的结构示意图;
图7为本发明实施例提供的第一种数据包路由装置的结构示意图;
图8为本发明实施例提供的第二种数据包路由装置的结构示意图;
图9为本发明实施例提供的第一种分类器的结构示意图;
图10为本发明实施例提供的第二种分类器的结构示意图;
图11为本发明实施例提供的数据包处理方法的流程图;
图12为本发明实施例提供的数据包路由方法的流程图;
图13为本发明实施例提供的信息发送方法的流程图。
具体实施方式
本发明实施例提供一种本发明实施例提供一种数据包处理装置及方法,用以解决在确定业务路径时,同一VAS类型中的各设备之间负荷不均的问题。
本发明实施例提供的数据包处理装置位于增值业务处理网络中,该数据包处理装置的收发模块用于接收第一数据包;该数据包处理装置的处理模块,用于根据第一数据包要经过的该增值业务处理网络中的业务链上各增值业务VAS类型对应的各VAS实例的负荷情况,确定第一数据包要经过的业务路径,收发模块还用于将用于标识业务路径的业务路径标识置于第一数据包中,将携带业务路径标识的第一数据包发往该增值业务处理网络中的数据包路由装置,指示该数据包路由装置根据业务路径标识所标识的业务路径对第一数据包进行路由。
其中,该数据包处理装置根据业务链上各增值业务VAS类型对应的各VAS实例的负荷情况,确定第一数据包要经过的业务路径,并将用于标识该业务路径的业务路径标识发给该增值业务处理网络中的数据包路由装置,指示数据包路由装置根据该业务路径对第一数据包进行路由。由于该业务路径是根据各VAS实例的负荷情况确定的,因此在对第一数据包进行路由时,考虑了各VAS实例的负荷,避免了同一VAS类型中的各设备之间负荷不均的情况。
下面,结合附图对本发明实施例进行详细说明。
首先,介绍本发明实施例提供的增值业务处理网络,然后分别介绍增值业务处理网络中的数据包处理装置、数据包路由装置和分类器。最后,介绍本发明实施例提供的数据包处理方法、数据包路由方法和信息发送方法。
图3为本发明实施例提供的增值业务处理网络。如图3所示,所述网络中包括:数据包处理装置301、数据包路由装置302、分类器303,以及交换机和若干个VAS处理器,每个VAS处理器处理一种类型的增值业务,一个VAS处理器中包括一个或多个VAS实例;
其中,分类器303用于确定第一数据包要经过的该增值业务处理网络中 的业务链的业务链的信息,并将该业务链的信息置于第一数据包中发给数据包处理装置301;
数据包处理装置301,用于接收分类器303发送的第一数据包,根据第一数据包中的业务链的信息确定第一数据包要经过的该增值业务处理网络中的业务链;根据该业务链上各VAS类型对应的各VAS实例的负荷情况,确定第一数据包要经过的业务路径;将用于标识业务路径的业务路径标识置于第一数据包中,将携带业务路径标识的第一数据包发往数据包路由装置302;
数据包路由装置302,用于接收数据包处理装置301发送的第一数据包,从第一数据包中获取第一数据包经过的业务路径的业务路径标识,根据获取的业务路径标识所标识业务路径,对第一数据包进行路由;
其中,业务路径包括:第一数据包要经过的业务链上依次包含的该增值业务处理网络中的各VAS类型,以及每一种VAS类型对应的第一数据包经过的VAS实例。
图3中的交换机可以由一个或多个交换机组成。分类器303可以是策略及计费执行功能(Policy and Charging Enforcement Function,PCEF)单元、分组数据网络网关(Packet Data Network Gateway,PGW)或数据探测功能(Traffic detection function,TDF)。
数据包处理装置301和数据包路由装置302可位于同一设备或不同设备中,比如位于同一交换机中。可选地,数据包处理装置301和数据包路由装置302中预先配置了该增值业务处理网络的网络拓扑信息,包括但不限于该增值业务处理网络中包括哪些交换机,每个交换机的地址和端口号,每个交换机连接的VAS类型,每个VAS类型中各VAS实例的地址和端口号等。可选地,数据包处理装置301中还预先配置了该增值业务处理网络中的各业务链的业务链的信息,比如:图3中业务链A经过VAS类型1和VAS类型3。
数据包处理装置301在收到第一数据包后,从第一数据包中可获取业务链的信息,根据该业务链的信息确定第一数据包要经过的业务链。由于数据包处理装置301中预先配置了该增值业务处理网络的网络拓扑信息,则数据 包处理装置301可获取该业务链上各VAS类型对应的各VAS实例的负荷情况、状态信息等,数据包处理装置301可根据获取的业务链上各VAS类型对应的各VAS实例的负荷情况和/或状态信息,确定在该增值业务处理网络中传输第一数据包时,第一数据包具体经过的VAS实例。
比如:设第一数据包经过该增值业务处理网络中的业务链A,则数据包处理装置301在收到分类器303发送的第一数据包后,首先获取第一数据包中的业务链的信息,根据该业务链的信息确定第一数据包经过业务链A。数据包处理装置301获取业务链A上的VAS类型1中各VAS实例的负荷情况,以及VAS类型3中各VAS实例的负荷情况。若VAS类型1中的实例1的负荷比实例2的负荷轻,VAS类型3中的实例2是四个实例中负荷最轻的实例,则数据包处理装置301确定第一数据包经过的业务路径为:
VAS类型1-实例1+VAS类型3-实例2。
再比如:数据包处理装置301获取业务链A上的VAS类型1中各VAS实例的状态信息,以及VAS类型3中各VAS实例的状态信息。若VAS类型1中的实例1的状态信息指示实例1可用,实例2的状态信息指示实例2不可用;VAS类型3中的四个实例均可用,但实例2是四个实例中负荷最轻的实例,则数据包处理装置301确定第一数据包经过的业务路径仍为:
VAS类型1-实例1+VAS类型3-实例2。
数据包处理装置301将用于标识上述业务路径的业务路径标识置于第一数据包中,将第一数据包发给数据包路由装置302。
比如:可预先将所有可能的业务路径的信息配置在数据包处理装置301和数据包路由装置302中,并对所有可能的业务路径进行编号,比如:
P1:VAS类型1-实例1+VAS类型3-实例1;
P2:VAS类型1-实例1+VAS类型3-实例2;
P3:VAS类型1-实例1+VAS类型3-实例3;
P4:VAS类型1-实例1+VAS类型3-实例4;
P5:VAS类型1-实例2+VAS类型3-实例1;
……
当数据包处理装置301将业务路径标识P2发给数据包路由装置302时,数据包路由装置302即可根据P2,确定对应的业务路径为VAS类型1-实例1+VAS类型3-实例2。
再比如:业务路径的标识为字符串,比如:“1-1:3-2”,即表示业务路径VAS类型1-实例1+VAS类型3-实例2。
业务路径的标识的实现方式有很多,只要能唯一标识业务路径即可,因此这里不再一一列举。
数据包路由装置302在确定业务路径后,即可根据该业务路径对数据包处理装置301进行路由。比如:对于上面的业务路径:VAS类型1-实例1+VAS类型3-实例2,首先将第一数据包通过交换机发给VAS类型1的实例1处理,之后发给VAS类型3的实例2处理。
可选地,数据包处理装置301还可根据业务链上各VAS类型对应的各VAS实例的负荷情况,以及第一数据包所属用户的用户标识,基于同一用户的同一业务流的数据包经过相同的VAS类型时选择同一VAS实例的原则,确定第一数据包的业务路径。
比如:第一数据包属于用户M的业务流1,在第一数据包之前,数据包处理装置301还接收过用户M的业务流1的其他数据包,若数据包处理装置301在确定该其他数据包的业务路径为:VAS类型1-实例1+VAS类型3-实例3,则基于同一用户的同一业务流的数据包经过相同的VAS类型时选择同一VAS实例的原则,数据包处理装置301在确定第一数据包的业务路径时,还选择业务路径:VAS类型1-实例1+VAS类型3-实例3。
可选地,数据包处理装置301获取业务链上各VAS类型对应的各VAS实例的负荷情况、状态信息时,可周期性获取,当收到第一数据包后,根据最近一次获取的符合情况和/或状态信息,确定业务路径;或者
数据包处理装置301可在收到第一数据包后,再获取业务链上各VAS类型对应的各VAS实例的负荷情况、状态信息,并根据获取的负荷情况和/或状 态信息,确定业务路径。
可选地,第一数据包为第一数据包所属业务流的首包,数据包处理装置301在确定第一数据包经过的业务路径之后,记录第一数据包所属业务流的业务流标识和该业务路径的业务路径标识的对应关系。
业务流的标识可为业务流的五元组或业务流对应的应用标识。其中,五元组包括:源IP地址、目的IP地址、协议号、源端口号、目的端口号。
在数据包处理装置301接收第二数据包,若第二数据包为第一数据包所属业务流的非首包,则数据包处理装置301不再重新为第二数据包确定业务路径,而是直接将处理第一数据包时,确定的第一数据包经过的业务路径的业务路径标识置于第二数据包中,将携带该业务路径标识的第二数据包发往数据包路由装置302,数据包路由装置302根据该业务路径标识所标识的业务路径对第二数据包进行路由,即对属于同一业务流的不同数据包根据相同的业务路径进行路由,减轻了数据包处理装置301的处理负荷。
下面,通过一个具体的实施例一,说明本发明实施例提供的增值业务处理网络中,分类器303、数据包处理装置301和数据包路由装置302对数据包的处理过程。
【实施例一】
如图4所示,实施例一包括如下步骤:
S401:分类器303配置预定义策略规则,或接收来自其它逻辑功能的策略规则,比如:来自策略与计费规则功能(Policy and Charging Rules Function,PCRF)单元的策略规则;或者,分类器还接受PCRF单元下发的策略规则,即:分类器根据预定义策略规则以及PCRF单元下发的策略规则,生成业务链。
S402:根据步骤S401中的策略规则(预定义策略规则和/或PCRF单元下发的策略规则),对不同的业务流生成不同的业务链的业务链的信息;
S403:接收数据包;
S404:分类器303将业务链的信息置于数据包中,将数据包发给数据包 处理装置301,可选地,数据包中还可包括用户标识和/或业务流标识等;
S405:数据包处理装置301根据数据包中的业务链的信息,按照同一个用户的同一种业务流须经过相同的VAS实例的要求,以及根据VAS实例之间的负荷均衡策略等,确定数据包经过的业务链上的每个VAS类型中的VAS实例,以确定该数据包经过的业务路径;并记录业务流的业务流标识与业务路径的对应关系,比如:记录业务流的五元组与业务路径的对应关系,当数据包为该业务流为非首包时,则直接选之前为该业务流上的其他数据包确定的业务路径;
S406:数据包处理装置301向数据包路由装置302发送数据包,数据包中包括为该数据包确定的业务路径的业务路径标识;
S407:数据包路由装置302记录该业务流标识与物理链的对应关系,确定该数据包中的业务路径标识所标识的业务路径中的第一个VAS实例,获取该实例的MAC地址等,如果是最后一跳,则根据业务链中配置的出口策略执行处理,比如:直接将数据包发送至互联网(INTERNET)。
数据包路由装置302剥离数据包中的业务路径标识,封装MAC地址,将处理后的数据包发送给指定的VAS实例;
S408:数据包路由装置302将数据包发送至第一个VAS实例;
S409:第一个VAS实例将数据包处理完后,将数据包返回数据包路由装置302;
S410:数据包路由装置302根据记录的业务流标识与业务路径的对应关系,对数据包进行路由;
S411:数据包路由装置302将数据包发送至业务路径中的下一个VAS实例;
如果下一个VAS实例不属于当前的增值业务处理网络,则数据包路由装置302将数据包发送到数据包处理装置301,数据包处理装置301根据下一跳的VAS实例,确定数据包下一跳的其他增值业务处理网络中的数据包处理装置301,然后将数据包路由到该其他增值业务处理网络的数据包处理装置301 上,由该数据包处理装置301按照本实施例的步骤重复执行。
以上,介绍了本发明实施例提供的增值业务处理网络。基于与该增值业务处理网络相同的发明构思,本发明实施例还提供了数据包处理装置、数据包路由装置和分类器,以及数据包处理方法、数据包路由方法和信息发送方法。由于这些装置和方法解决问题的原理与该增值业务处理网络类似,其实施可参照增值业务处理网络,重复之处不再赘述。
图5为本发明实施例提供的第一种数据包处理装置的结构示意图,该装置位于增值业务处理网络中,包括:
收发模块501,用于接收第一数据包;
处理模块502,用于根据第一数据包要经过的增值业务处理网络中的业务链上各增值业务VAS类型对应的各VAS实例的负荷情况,确定第一数据包要经过的业务路径;其中,业务路径包括业务链上依次包含的各VAS类型,以及每一种VAS类型对应的第一数据包经过的VAS实例;
收发模块501还用于:将用于标识业务路径的业务路径标识置于第一数据包中,将携带业务路径标识的第一数据包发往增值业务处理网络中的数据包路由装置,指示数据包路由装置根据业务路径标识所标识的业务路径对第一数据包进行路由。
可选地,处理模块502具体用于:
根据上述负荷情况,以及业务链上的各VAS类型对应的各VAS实例的状态,确定业务路径。
可选地,处理模块502具体用于:
根据上述负荷情况和第一数据包所属用户的用户标识,基于同一用户的同一业务流的数据包经过相同的VAS类型时选择同一VAS实例的原则,确定业务路径。
可选地,第一数据包来自增值业务处理网络中的分类器,第一数据包中包括第一数据包要经过的业务链的业务链的信息;
处理模块502还用于:根据从第一数据包中获取的业务链的信息,确定 第一数据包要经过的业务链。
可选地,第一数据包为第一数据包所属业务流的首包;
处理模块502还用于:在确定业务路径之后,记录第一数据包所属业务流的业务流标识和业务路径标识的对应关系;
收发模块501还用于:
在处理模块502确定业务路径后,接收第二数据包,第二数据包为第一数据包所属业务流的非首包;
将记录的对应关系中的业务路径标识置于第二数据包中,将携带业务路径标识的第二数据包发往数据包路由装置,指示数据包路由装置根据业务路径标识所标识的业务路径对第二数据包进行路由。
图6为本发明实施例提供的第二种数据包处理装置的结构示意图,该装置位于增值业务处理网络中,包括:
输入输出I/O接口601,用于接收第一数据包;
处理器602,用于根据第一数据包要经过的增值业务处理网络中的业务链上各增值业务VAS类型对应的各VAS实例的负荷情况,确定第一数据包要经过的业务路径;其中,业务路径包括业务链上依次包含的各VAS类型,以及每一种VAS类型对应的第一数据包经过的VAS实例;
输入输出I/O接口601还用于:将用于标识业务路径的业务路径标识置于第一数据包中,将携带业务路径标识的第一数据包发往增值业务处理网络中的数据包路由装置,指示数据包路由装置根据业务路径标识所标识的业务路径对第一数据包进行路由。
可选地,处理器602具体用于:
根据上述负荷情况,以及业务链上的各VAS类型对应的各VAS实例的状态,确定业务路径。
可选地,处理器602具体用于:
根据上述负荷情况和第一数据包所属用户的用户标识,基于同一用户的同一业务流的数据包经过相同的VAS类型时选择同一VAS实例的原则,确定 业务路径。
可选地,第一数据包来自增值业务处理网络中的分类器,第一数据包中包括第一数据包要经过的业务链的业务链的信息;
处理器602还用于:根据从第一数据包中获取的业务链的信息,确定第一数据包要经过的业务链。
可选地,第一数据包为第一数据包所属业务流的首包;
处理器602还用于:在确定业务路径之后,记录第一数据包所属业务流的业务流标识和业务路径标识的对应关系;
输入输出I/O接口601还用于:
在处理器602确定业务路径后,接收第二数据包,第二数据包为第一数据包所属业务流的非首包;
将记录的对应关系中的业务路径标识置于第二数据包中,将携带业务路径标识的第二数据包发往数据包路由装置,指示数据包路由装置根据业务路径标识所标识的业务路径对第二数据包进行路由。
图7为本发明实施例提供的第一种数据包路由装置的结构示意图,该装置位于增值业务处理网络中,包括:
收发模块701,用于接收增值业务处理网络中的数据包处理装置发送的第一数据包;
处理模块702,用于从第一数据包中获取第一数据包经过的业务路径的业务路径标识,根据获取的业务路径标识所标识业务路径,对第一数据包进行路由;
其中,业务路径包括第一数据包要经过的业务链上依次包含的增值业务处理网络中的各VAS类型,以及每一种VAS类型对应的第一数据包经过的VAS实例。
图8为本发明实施例提供的第二种数据包路由装置的结构示意图,该装置位于增值业务处理网络中,包括:
I/O接口801,用于接收增值业务处理网络中的数据包处理装置发送的第 一数据包;
处理器802,用于从第一数据包中获取第一数据包经过的业务路径的业务路径标识,根据获取的业务路径标识所标识业务路径,对第一数据包进行路由;
其中,业务路径包括第一数据包要经过的业务链上依次包含的增值业务处理网络中的各VAS类型,以及每一种VAS类型对应的第一数据包经过的VAS实例。
图9为本发明实施例提供的第一种分类器的结构示意图,该分类器位于增值业务处理网络,包括:
处理模块901,用于确定第一数据包要经过的增值业务处理网络中的业务链的业务链的信息;
发送模块902,用于将业务链的信息置于第一数据包中,发给增值业务处理网络中数据包处理装置,指示数据包处理装置根据业务链的信息确定第一数据包要经过的业务链。
图10为本发明实施例提供的第二种分类器的结构示意图,该分类器位于增值业务处理网络中,包括:
处理器1001,用于确定第一数据包要经过的增值业务处理网络中的业务链的业务链的信息;
I/O接口1002,用于将业务链的信息置于第一数据包中,发给增值业务处理网络中数据包处理装置,指示数据包处理装置根据业务链的信息确定第一数据包要经过的业务链。
图11为本发明实施例提供的数据包处理方法的流程图。如图11所示,该方法包括:
S1101:增值业务处理网络中的数据包处理装置接收第一数据包;
S1102:数据包处理装置根据第一数据包要经过的增值业务处理网络中的业务链上各增值业务VAS类型对应的各VAS实例的负荷情况,确定第一数据包要经过的业务路径;其中,业务路径包括业务链上依次包含的各VAS类型, 以及每一种VAS类型对应的第一数据包经过的VAS实例;
A1103:数据包处理装置将用于标识业务路径的业务路径标识置于第一数据包中,将携带业务路径标识的第一数据包发往增值业务处理网络中的数据包路由装置,指示数据包路由装置根据业务路径标识所标识的业务路径对第一数据包进行路由。
可选地,步骤S1102中数据包处理装置确定传输第一数据包使用的业务路径,包括:
数据包处理装置根据负荷情况,以及业务链上的各VAS类型对应的各VAS实例的状态,确定业务路径。
可选地,步骤S1102中数据包处理装置确定传输第一数据包使用的业务路径,包括:
数据包处理装置根据负荷情况和第一数据包所属用户的用户标识,基于同一用户的同一业务流的数据包经过相同的VAS类型时选择同一VAS实例的原则,确定业务路径。
可选地,第一数据包来自增值业务处理网络中的分类器,第一数据包中包括第一数据包要经过的业务链的业务链的信息;
在步骤S1101数据包处理装置接收第一数据包之后,确定第一数据包要经过的业务路径之前,方法还包括:数据包处理装置根据从第一数据包中获取的业务链的信息,确定第一数据包要经过的业务链。
可选地,在步骤S1101数据包处理装置接收第一数据包之前,该方法还包括:
分类器确定第一数据包要经过的增值业务处理网络中的业务链的业务链的信息;
分类器将业务链的信息置于第一数据包中,发给数据包处理装置,指示数据包处理装置根据业务链的信息确定第一数据包要经过的业务链。
可选地,第一数据包为第一数据包所属业务流的首包;
在步骤S1102数据包处理装置确定业务路径之后,该方法还包括:数据 包处理装置记录第一数据包所属业务流的业务流标识和业务路径标识的对应关系;
数据包处理装置接收第二数据包,第二数据包为第一数据包所属业务流的非首包;
数据包处理装置将记录的对应关系中的业务路径标识置于第二数据包中,将携带业务路径标识的第二数据包发往数据包路由装置,指示数据包路由装置根据业务路径标识所标识的业务路径对第二数据包进行路由。
图12为本发明实施例提供的数据包路由方法的流程图。如图12所示,该方法包括:
S1201:增值业务处理网络中的数据包路由装置接收增值业务处理网络中的数据包处理装置发送的第一数据包;
S1202:数据包路由装置从第一数据包中获取第一数据包经过的业务路径的业务路径标识;
S1203:数据包路由装置根据获取的业务路径标识所标识业务路径,对第一数据包进行路由;
其中,业务路径包括第一数据包要经过的增值业务处理网络中的业务链上依次包含的各VAS类型,以及每一种VAS类型对应的第一数据包经过的VAS实例。
图13为本发明实施例提供的信息发送方法的流程图。如图13所示,该流程包括:
S1301:增值业务处理网络中的分类器确定第一数据包要经过的增值业务处理网络中的业务链的业务链的信息;
S1302:分类器将业务链的信息置于第一数据包中,发给增值业务处理网络中数据包处理装置,指示数据包处理装置根据业务链的信息确定第一数据包要经过的业务链。
本发明实施例中,增值业务处理网络中的数据包处理装置根据业务链上各增值业务VAS类型对应的各VAS实例的负荷情况,确定接收的第一数据包 要经过的业务路径,并将用于标识该业务路径的业务路径标识发给该增值业务处理网络中的数据包路由装置;该数据包路由装置根据该业务路径对第一数据包进行路由。由于该业务路径是根据各VAS实例的负荷情况确定的,因此在对第一数据包进行路由时,考虑了各VAS实例的负荷,避免了同一VAS类型中的各设备之间负荷不均的情况。
此外,本发明实施例提供的数据包处理装置,将业务路径的标识置于第一数据包中,发给数据包路由装置,提供了一种通过数据包传递路由控制信息,从而无需网络中专门的控制设备实现对数据包的路由。
另一方面,本发明实施例中,增值业务处理网络中分类器确定第一数据包要经过的增值业务处理网络中的业务链的业务链的信息;将业务链的信息置于第一数据包中,发给数据包处理装置;数据包处理装置才得以从第一数据包中获取该业务链的信息,并根据该业务链的信息确定第一数据包要经过的业务链,进而进一步根据该业务链上各VAS类型对应的各VAS实例的负荷情况,确定第一数据包要经过的业务路径,从而避免同一VAS类型中的各设备之间负荷不均的情况。
本领域内的技术人员应明白,本发明的实施例可提供为方法、***、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的 装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (15)

  1. 一种数据包处理装置,其特征在于,所述数据包处理装置位于增值业务处理网络中,包括:
    收发模块,用于接收第一数据包;
    处理模块,用于根据所述第一数据包要经过的所述增值业务处理网络中的业务链上各增值业务VAS类型对应的各VAS实例的负荷情况,确定所述第一数据包要经过的业务路径;其中,所述业务路径包括所述业务链上依次包含的各VAS类型,以及每一种VAS类型对应的所述第一数据包经过的VAS实例;
    所述收发模块还用于:将用于标识所述业务路径的业务路径标识置于所述第一数据包中,将携带所述业务路径标识的所述第一数据包发往所述增值业务处理网络中的数据包路由装置,指示所述数据包路由装置根据所述业务路径标识所标识的业务路径对所述第一数据包进行路由。
  2. 如权利要求1所述的数据包处理装置,其特征在于,所述处理模块具体用于:
    根据所述负荷情况,以及所述业务链上的各VAS类型对应的各VAS实例的状态,确定所述业务路径。
  3. 如权利要求1所述的数据包处理装置,其特征在于,所述处理模块具体用于:
    根据所述负荷情况和所述第一数据包所属用户的用户标识,基于同一用户的同一业务流的数据包经过相同的VAS类型时选择同一VAS实例的原则,确定所述业务路径。
  4. 如权利要求1所述的数据包处理装置,其特征在于,所述第一数据包来自所述增值业务处理网络中的分类器,所述第一数据包中包括所述第一数据包要经过的所述业务链的业务链的信息;
    所述处理模块还用于:根据从所述第一数据包中获取的所述业务链的信息,确定所述第一数据包要经过的所述业务链。
  5. 如权利要求1~4任一项所述的数据包处理装置,其特征在于,所述第一数据包为所述第一数据包所属业务流的首包;
    所述处理模块还用于:在确定所述业务路径之后,记录所述第一数据包所属业务流的业务流标识和所述业务路径标识的对应关系;
    所述收发模块还用于:
    在所述处理模块确定所述业务路径后,接收第二数据包,所述第二数据包为所述第一数据包所属业务流的非首包;
    将记录的所述对应关系中的所述业务路径标识置于所述第二数据包中,将携带所述业务路径标识的所述第二数据包发往所述数据包路由装置,指示所述数据包路由装置根据所述业务路径标识所标识的业务路径对所述第二数据包进行路由。
  6. 一种数据包路由装置,其特征在于,所述数据包路由装置位于增值业务处理网络中,包括:
    收发模块,用于接收所述增值业务处理网络中的数据包处理装置发送的第一数据包;
    处理模块,用于从所述第一数据包中获取所述第一数据包经过的业务路径的业务路径标识,根据获取的所述业务路径标识所标识业务路径,对所述第一数据包进行路由;
    其中,所述业务路径包括所述第一数据包要经过的业务链上依次包含的所述增值业务处理网络中的各VAS类型,以及每一种VAS类型对应的所述第一数据包经过的VAS实例。
  7. 一种分类器,其特征在于,所述分类器位于增值业务处理网络中,包括:
    处理模块,用于确定第一数据包要经过的所述增值业务处理网络中的业务链的业务链的信息;
    发送模块,用于将所述业务链的信息置于所述第一数据包中,发给所述增 值业务处理网络中数据包处理装置,指示所述数据包处理装置根据所述业务链的信息确定所述第一数据包要经过的业务链。
  8. 一种数据包处理方法,其特征在于,包括:
    增值业务处理网络中的数据包处理装置接收第一数据包;
    所述数据包处理装置根据所述第一数据包要经过的所述增值业务处理网络中的业务链上各增值业务VAS类型对应的各VAS实例的负荷情况,确定所述第一数据包要经过的业务路径;其中,所述业务路径包括所述业务链上依次包含的各VAS类型,以及每一种VAS类型对应的所述第一数据包经过的VAS实例;
    所述数据包处理装置将用于标识所述业务路径的业务路径标识置于所述第一数据包中,将携带所述业务路径标识的所述第一数据包发往所述增值业务处理网络中的数据包路由装置,指示所述数据包路由装置根据所述业务路径标识所标识的业务路径对所述第一数据包进行路由。
  9. 如权利要求8所述的方法,其特征在于,所述数据包处理装置确定传输所述第一数据包使用的业务路径,包括:
    所述数据包处理装置根据所述负荷情况,以及所述业务链上的各VAS类型对应的各VAS实例的状态,确定所述业务路径。
  10. 如权利要求8所述的方法,其特征在于,所述数据包处理装置确定传输所述第一数据包使用的业务路径,包括:
    所述数据包处理装置根据所述负荷情况和所述第一数据包所属用户的用户标识,基于同一用户的同一业务流的数据包经过相同的VAS类型时选择同一VAS实例的原则,确定所述业务路径。
  11. 如权利要求8所述的方法,其特征在于,所述第一数据包来自所述增值业务处理网络中的分类器,所述第一数据包中包括所述第一数据包要经过的所述业务链的业务链的信息;
    在所述数据包处理装置接收所述第一数据包之后,确定所述第一数据包要 经过的业务路径之前,所述方法还包括:所述数据包处理装置根据从所述第一数据包中获取的所述业务链的信息,确定所述第一数据包要经过的所述业务链。
  12. 如权利要求11所述的方法,其特征在于,在所述数据包处理装置接收所述第一数据包之前,所述方法还包括:
    所述分类器确定第一数据包要经过的所述增值业务处理网络中的业务链的业务链的信息;
    所述分类器将所述业务链的信息置于所述第一数据包中,发给所述数据包处理装置,指示数据包处理装置根据所述业务链的信息确定所述第一数据包要经过的所述业务链。
  13. 如权利要求8~12任一项所述的方法,其特征在于,所述第一数据包为所述第一数据包所属业务流的首包;
    在所述数据包处理装置确定所述业务路径之后,所述方法还包括:所述数据包处理装置记录所述第一数据包所属业务流的业务流标识和所述业务路径标识的对应关系;
    所述数据包处理装置接收第二数据包,所述第二数据包为所述第一数据包所属业务流的非首包;
    所述数据包处理装置将记录的所述对应关系中的所述业务路径标识置于所述第二数据包中,将携带所述业务路径标识的所述第二数据包发往所述数据包路由装置,指示所述数据包路由装置根据所述业务路径标识所标识的业务路径对所述第二数据包进行路由。
  14. 一种数据包路由方法,其特征在于,包括:
    增值业务处理网络中的数据包路由装置接收所述增值业务处理网络中的数据包处理装置发送的第一数据包;
    所述数据包路由装置从所述第一数据包中获取所述第一数据包经过的业务路径的业务路径标识;
    所述数据包路由装置根据获取的所述业务路径标识所标识业务路径,对所述第一数据包进行路由;
    其中,所述业务路径包括所述第一数据包要经过的所述增值业务处理网络中的业务链上依次包含的各VAS类型,以及每一种VAS类型对应的所述第一数据包经过的VAS实例。
  15. 一种信息发送方法,其特征在于,包括:
    增值业务处理网络中的分类器确定第一数据包要经过的所述增值业务处理网络中的业务链的业务链的信息;
    所述分类器将所述业务链的信息置于所述第一数据包中,发给所述增值业务处理网络中数据包处理装置,指示数据包处理装置根据所述业务链的信息确定所述第一数据包要经过的所述业务链。
PCT/CN2014/088055 2014-09-30 2014-09-30 一种数据包处理装置及方法 WO2016049926A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2014/088055 WO2016049926A1 (zh) 2014-09-30 2014-09-30 一种数据包处理装置及方法
CN201480008428.9A CN105517659A (zh) 2014-09-30 2014-09-30 一种数据包处理装置及方法
EP14903021.5A EP3190773A4 (en) 2014-09-30 2014-09-30 Data packet processing apparatus and method
US15/471,406 US20170201466A1 (en) 2014-09-30 2017-03-28 Data packet processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/088055 WO2016049926A1 (zh) 2014-09-30 2014-09-30 一种数据包处理装置及方法

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/471,406 Continuation US20170201466A1 (en) 2014-09-30 2017-03-28 Data packet processing apparatus and method

Publications (1)

Publication Number Publication Date
WO2016049926A1 true WO2016049926A1 (zh) 2016-04-07

Family

ID=55629349

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088055 WO2016049926A1 (zh) 2014-09-30 2014-09-30 一种数据包处理装置及方法

Country Status (4)

Country Link
US (1) US20170201466A1 (zh)
EP (1) EP3190773A4 (zh)
CN (1) CN105517659A (zh)
WO (1) WO2016049926A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018171322A1 (zh) * 2017-03-20 2018-09-27 中兴通讯股份有限公司 虚拟网络功能及其实现业务处理的方法、存储介质
WO2021212439A1 (zh) * 2020-04-23 2021-10-28 华为技术有限公司 一种通信方法及装置

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6711347B2 (ja) * 2015-03-19 2020-06-17 日本電気株式会社 制御装置、通信システム、ネットワーク機能提供装置、通信装置、通信方法及びプログラム
CN106162758B (zh) * 2015-03-23 2020-01-10 华为技术有限公司 业务处理方法、pcrf以及业务处理***
US20170214627A1 (en) * 2016-01-21 2017-07-27 Futurewei Technologies, Inc. Distributed Load Balancing for Network Service Function Chaining
CN114697253A (zh) * 2020-12-28 2022-07-01 华为技术有限公司 一种业务链的转发路径确定方法及通信装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055845A1 (en) * 2009-08-31 2011-03-03 Thyagarajan Nandagopal Technique for balancing loads in server clusters
CN103905447A (zh) * 2014-04-01 2014-07-02 华为技术有限公司 业务链路选择控制方法以及设备
CN103929368A (zh) * 2014-05-05 2014-07-16 华为技术有限公司 多业务单元负载均衡方法及装置
CN103929492A (zh) * 2014-04-28 2014-07-16 华为技术有限公司 业务链负载均衡方法及其装置、***

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055845A1 (en) * 2009-08-31 2011-03-03 Thyagarajan Nandagopal Technique for balancing loads in server clusters
CN103905447A (zh) * 2014-04-01 2014-07-02 华为技术有限公司 业务链路选择控制方法以及设备
CN103929492A (zh) * 2014-04-28 2014-07-16 华为技术有限公司 业务链负载均衡方法及其装置、***
CN103929368A (zh) * 2014-05-05 2014-07-16 华为技术有限公司 多业务单元负载均衡方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3190773A4 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018171322A1 (zh) * 2017-03-20 2018-09-27 中兴通讯股份有限公司 虚拟网络功能及其实现业务处理的方法、存储介质
CN108632161A (zh) * 2017-03-20 2018-10-09 中兴通讯股份有限公司 一种虚拟网络功能及其实现业务处理的方法
CN108632161B (zh) * 2017-03-20 2022-04-12 中兴通讯股份有限公司 一种虚拟网络功能及其实现业务处理的方法
WO2021212439A1 (zh) * 2020-04-23 2021-10-28 华为技术有限公司 一种通信方法及装置

Also Published As

Publication number Publication date
US20170201466A1 (en) 2017-07-13
CN105517659A (zh) 2016-04-20
EP3190773A1 (en) 2017-07-12
EP3190773A4 (en) 2017-08-09

Similar Documents

Publication Publication Date Title
EP3254417B1 (en) Method and system for supporting port ranging in a software-defined networking (sdn) system
CN102857491B (zh) 集管理方案
WO2016049926A1 (zh) 一种数据包处理装置及方法
EP3235176B1 (en) Method and system for load balancing in a software-defined networking (sdn) system upon server reconfiguration
JP6430634B2 (ja) 通信ネットワークにおけるネットワークサービスファンクションのチェーン化
KR101473783B1 (ko) 터널링을 이용한 다이나믹 서비스 체이닝 제어 방법 및 장치
US9325609B2 (en) Segmented source routing in a network
US20170019303A1 (en) Service Chains for Network Services
EP3449604A1 (en) Generating packets in a reverse direction of a service function chain
KR20170106351A (ko) 공격 데이터 패킷 처리 방법, 장치, 및 시스템
JP6920533B2 (ja) データフロー伝送
WO2015090240A1 (en) Source routing with entropy-header
JP2017518710A (ja) サービスフロー処理方法、装置、およびデバイス
US20180077048A1 (en) Controller, control method and program
US10367726B1 (en) Randomized VNF hopping in software defined networks
JP2018536345A (ja) ファイアウォールクラスタ
WO2015039617A1 (zh) 一种报文处理方法、***及设备
US20190132152A1 (en) Dynamic customer vlan identifiers in a telecommunications network
US11146477B2 (en) Discovery and admission control of forwarding boxes in a software-defined network
US11184283B2 (en) Service function chaining congestion tracking
US20160344611A1 (en) Method and control node for handling data packets
EP3465997A1 (en) Packet forwarding using vendor extension in a software-defined networking (sdn) system
CN105812257A (zh) 业务链路由管理***及其使用方法
US9100342B1 (en) External service plane
US20180062876A1 (en) Control apparatus, information processing apparatus, method for presenting virtual network, and program

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014903021

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014903021

Country of ref document: EP