WO2017206793A1 - Method and system for creating service function chaining - Google Patents

Method and system for creating service function chaining Download PDF

Info

Publication number
WO2017206793A1
WO2017206793A1 PCT/CN2017/085907 CN2017085907W WO2017206793A1 WO 2017206793 A1 WO2017206793 A1 WO 2017206793A1 CN 2017085907 W CN2017085907 W CN 2017085907W WO 2017206793 A1 WO2017206793 A1 WO 2017206793A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
controller
sfc
path
sub
Prior art date
Application number
PCT/CN2017/085907
Other languages
French (fr)
Chinese (zh)
Inventor
克里斯⋅马里斯
克罗尔⋅朱塞佩
卢克⋅克里斯汀
王岩
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2017206793A1 publication Critical patent/WO2017206793A1/en

Links

Images

Classifications

    • 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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and system for creating a service function chain.
  • the traditional business function chain (English name: Service Function Chaining, English abbreviation: SFC) is composed of a series of proprietary network functions, including firewalls, load balancers and application controllers. Under the new service requirements, some network functions must be deployed and interconnected in a certain order, which will make the deployment of the business function chain complex and time-consuming. The topology changes require careful consideration and require high operations. Cost, and the development of network function virtualization (English name: Network Function Virtualization, English abbreviation: NFV) brings new opportunities and development to SFC technology. Through NFV, service providers can create a virtual SFC. The environment, eliminating the traditional proprietary hardware deployment, makes it more convenient to cascade the required network functions in a virtual environment in a certain order.
  • the current SFC technology solution is: adopting a unified structure, only processing the data path uniformly at the system entry, forming a complete data path, and a network service data packet header for each data path (English full name: Network Service) Header, English abbreviation: NSH) is managed at the entrance of the system.
  • NSH Network Service
  • the data packet transmission process is: at the system entrance, the data packet arrives at the data center (English full name: Data Center, English abbreviation: DC), assuming DC1, the data packet first enters the DC1 classifier for classification.
  • the classifier allocates a network service packet header (English full name: Network Service Header, English abbreviation: NSH) to the data packet, and the NSH is a forward forwarding identifier of the data packet in the system, and the NSH is a service function path created in DC1.
  • NSH Network Service Header
  • SFP Service Function Path
  • the data packet also carries the NSH
  • receives a virtual extensible LAN identifier (English full name: Virtual Extensible LAN Identifier, English abbreviation: VXLAN ID)
  • VXLAN ID is used to indicate the transmission to the next data center DC2. Path; when the data reaches DC2, the VXLAN ID will be deleted on the first conversion node of DC2, and then based on the NSH letter in the packet. Make further data processing and transmission.
  • the SFC technology solution does not consider the difference of the internal network topology of each data center.
  • all network environments are the same.
  • the network between the data center internal network and the data center has no difference and is treated uniformly.
  • the data center internal network has low latency, high capacity, virtualization, and no internal connection cost characteristics, and the network between data centers has a delay that is at least an order of magnitude larger than the delay of the internal network of the data center, and the capacity is limited.
  • There is a certain cost so there is a difference between the network between the data center internal network and the data center.
  • the unified processing obviously affects the data that needs to be transmitted in real time.
  • the embodiment of the invention provides a method and a system for creating a service function chain, which can reduce the impact on data that needs to be transmitted in real time through a sub-path in a data transmission process.
  • the first aspect of the present invention provides a method for creating a service function chain, which is applied to a service function chain creation system, where the system includes a service function chain SFC orchestrator and at least two controllers, including:
  • the SFC orchestration device receives an SFC definition message delivered by the service manager, where the SFC definition message includes a network function of an end-to-end service function chain to be created and an arrangement order of the network function on the service function chain. ;
  • the controller generates a set of valid sub-paths according to the SFC definition message, installs each valid sub-path in the set of valid sub-paths, and assigns a path identifier ID to each valid sub-path, after the installation is completed, Sending an installation completion message to the SFC orchestrator, the installation completion message including a set of valid sub-paths having a path identification ID;
  • the SFC orchestrator determines, according to the installation completion message, an end-to-end service function chain, and sends a binding message to the controller according to the determined end-to-end service function chain, where the binding message is Contains the valid subpath selected;
  • the controller binds the selected valid sub-path from the set of valid sub-paths according to the binding message, and sends a binding success message to the SFC orchestrator after the binding is successful;
  • the SFC orchestrator may be pre-introduced to perform processing on each valid sub-path, so that the valid sub-paths determined according to the binding message are linked into a completed service function chain, and the SFC definition message may be divided into multiple sub-sub-categories. Message.
  • the SFC definition message may further include a starting point and a ending point of the network function on the service function chain.
  • the communication restriction condition may be delay, load balancing, or the like.
  • the controller may further generate a corresponding forwarding rule, where the forwarding rule is used to determine whether the controller transmits the data stream to the corresponding network function or data center.
  • the controller generates all possible sub-paths according to the SFC definition message, and sends all possible sub-path messages to the SFC orchestrator, so that the SFC orchestrator decides a complete business function chain.
  • Each sub-path has a separate controller that is managed and controlled locally, reducing the impact on data that needs to be transmitted in real time.
  • the method further includes: if the binding message does not carry the second category The first controller is in communication connection with the second controller corresponding to the second classifier to obtain an IP address of the second classifier.
  • the method further includes: receiving, by the controller, a first message sent by the SFC orchestrator, where the first message is adding a first network function to the controller a message in a local path of the associated data center; the controller generates a first local sub-path in a local path of the data center according to the second message, and adds the first network function to the In the first local subpath.
  • the method further includes: the controller transmitting a network service packet header NSH associated with the first local sub-path to a classifier corresponding to the controller.
  • the method further includes: the controller modifying network topology information of the first network function.
  • the method further includes: the controller receiving a second message sent by the SFC orchestrator, where the second message is to associate a second network function from the controller a message removed in a second local subpath of the data center; the controller removing a network service packet header NSH associated with the second local subpath in a classifier corresponding to the controller so that Removing the second network function.
  • the method further includes: when the third network function fails, the controller receives a third message, where the third message is a message that the third network function is invalid; The controller determines a third local sub-path according to the third message, where the third local sub-path is used to replace the local sub-path corresponding to the third network function.
  • SFC orchestrator has different controllers and classifiers at the data center level. Each data center is relatively independent and has no influence on each other: different data centers have different solutions; in a data center Scalability does not affect other data centers; load balancing within the data center is transparent and perceptible to other data centers. 2. Each controller maintains a reduced data path. One sub-path may serve multiple end-to-end paths, so the data link maintained by the entire path is reduced. 3. High availability, such as a sub-path failure, the embodiment of the present invention does not need to propagate fault information to other data centers, and can be solved in the local data center without affecting other data centers. 4.
  • a second aspect of the present invention provides a system for creating a service function chain, including:
  • the SFC orchestrator is configured to receive an SFC definition message delivered by the service manager, determine, according to the SFC definition message and the current communication restriction condition, a controller corresponding to the network function, and send the SFC definition message to the controller
  • the SFC definition message includes a network function of an end-to-end service function chain to be created and an arrangement order of the network function on the service function chain;
  • the controller is configured to generate a set of valid sub-paths according to the SFC definition message, install each sub-path in the set of valid sub-paths, and assign a path identification ID to each valid sub-path, after the installation is completed,
  • the SFC orchestrator sends an installation complete message, the installation complete message including a set of valid sub-paths having a path identification ID;
  • the SFC orchestrator is further configured to: according to the installation completion message, determine an end-to-end service function chain, and send a binding message to the controller according to the end-to-end service function chain of the decision, the binding The message contains the valid subpath selected;
  • the controller is further configured to bind the selected valid sub-path from the set of valid sub-paths according to the binding message, and send a binding success message to the SFC orchestrator after the binding is completed. ;
  • the SFC orchestrator is further configured to determine that the service function chain is successfully created according to the binding success message, and report that the service function chain is successfully created to the service manager, so that the service manager determines the service.
  • the function chain was created successfully.
  • the controller is a first controller, the first controller is corresponding to a first classifier, and the controller is further configured to: if the binding message does not carry a second The Internet Protocol IP address of the classifier is in communication connection with the second controller corresponding to the second classifier to obtain an IP address of the second classifier.
  • the controller is further configured to receive a first message sent by the SFC orchestrator, where the first message is to add a first network function to the controller. a message in a local path of the data center; generating a first local sub-path in a local path of the data center according to the first message, and adding the first network function to the first local sub-path.
  • the controller is further configured to send a network service data packet header NSH associated with the first local sub-path to a classifier corresponding to the controller.
  • the controller is further configured to modify network topology information of the first network function.
  • the controller is further configured to receive a second message sent by the SFC orchestrator, where the second message is a data center that associates a second network function from the controller. a message removed in the second local subpath; removing a network service packet header NSH associated with the second local subpath in a classifier corresponding to the controller to remove the second network Features.
  • the controller is further configured to: when the third network function fails, receive a third message, where the third message is a message that the third network function is invalid; according to the third The message determines a third local subpath that is used to replace the local subpath corresponding to the third network function.
  • the system may further include a classifier and a data center, each data center has a local decision classifier and a controller, and the data center deploys some network functions, each network function corresponding to a repeater SW, each There are multiple SWs under the classifier.
  • the controller generates all possible sub-paths according to the SFC definition message, and sends all possible sub-path messages to the SFC orchestrator, so that the SFC orchestrator makes a complete decision.
  • the SFC orchestrator makes a complete decision.
  • Business function chain Each sub-path has a separate controller that is only managed and controlled locally, thereby reducing the impact on data that needs to be transmitted in real time during data transmission.
  • FIG. 1 is a system architecture diagram of an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an embodiment of a method for creating a service function chain according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of another embodiment of a method for creating a service function chain according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an embodiment of adding a network function to a data center according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of another embodiment of adding a network function to a data center according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an embodiment of deleting a network function according to the embodiment.
  • FIG. 7 is a schematic diagram of an embodiment of fault processing of a network function according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an embodiment of a system for creating a service function chain according to an embodiment of the present invention.
  • the embodiment of the invention provides a method and a system for creating a service function chain, which can reduce the impact on data that needs to be transmitted in real time through a sub-path.
  • the invention can be applied to all current communication systems, including second generation mobile communication (English full name: Second Generation, English abbreviation: 2G), 3G, long term evolution (English full name: Long Term Evolution, English abbreviation: LTE), wireless protection Real (English name: WIreless-Fidelity, English abbreviation: WI-FI), etc.
  • the application system architecture can be as shown in Figure 1, Figure 1 is a hybrid deployment application architecture, which has multiple data centers, each The data center contains different network functions.
  • the service function chain links different network functions together to serve specific services.
  • the following logic can be implemented: management of business function chains, including dynamic deployment and operation; data flow classification; Packet routing on the service function chain; load balancing processing; reliability guarantee.
  • an embodiment of a method for creating a service function chain in an embodiment of the present invention includes:
  • the SFC orchestrator receives the SFC definition message delivered by the service manager.
  • the SFC orchestration device receives the SFC definition message delivered by the service manager, and the SFC definition message may include a service model to be deployed, and the service model may include each network function of an end-to-end service function chain to be created. And the order of each network function in the business function chain, and may also include the starting point and the ending point of each network function in the business function chain. The starting point and the ending point are used to determine which data center participates in the SFC deployment.
  • the SFC orchestrator can be pre-introduced for the processing of each valid sub-path, so that the effective sub-paths determined according to the binding message are linked into a complete service function chain.
  • the SFC definition message can be divided into multiple sub-messages, and each sub-message can correspond to one controller.
  • the SFC orchestrator determines, according to the SFC definition message and the current communication restriction condition, a controller corresponding to the network function, and sends an SFC definition message to the controller.
  • the communication restriction condition may be a delay, a load balancing, or the like, and may be other, which is not limited herein.
  • the SFC definition message may be divided into multiple sub-messages, each sub-message corresponding to one controller, and each sub-message is correspondingly transmitted by the corresponding controller.
  • the above-mentioned sending of the SFC definition message to the controller may also be understood as Send each sub-message to the appropriate controller.
  • the controller generates a set of valid sub-paths according to the SFC definition message, and installs a set of valid sub-paths. Each valid sub-path, and assigning a path identification ID to each valid sub-path, after the installation is completed, sending an installation completion message to the SFC orchestrator, the installation completion message containing a set of valid sub-paths having a path identification ID;
  • each valid sub-path is installed, and a path identification ID is assigned to each valid sub-path.
  • an installation completion message is sent to the SFC orchestrator.
  • the installation complete message contains a set of valid sub-paths, each valid sub-path in the set of valid sub-paths having an identification ID.
  • the message of the set of valid sub-paths includes the identifier ID of each valid sub-path in the set, and the start point and the end point of each valid sub-path are respectively the network function in the service model on the service function chain to be created. Start and end points.
  • the set of valid subpaths can be all possible valid subpaths.
  • each controller may also generate a set of valid sub-paths according to the SFC definition message and the local domain.
  • the local domain refers to multiple transponders attached to each controller.
  • the SFC orchestrator determines an end-to-end service function chain according to the installation completion message, and sends a binding message to the controller according to the end-to-end service function chain of the decision;
  • the SFC orchestrator determines a complete end-to-end service function chain from all available valid sub-paths to the corresponding controller respectively.
  • the binding message can be a "binding SFC" message, the binding message contains the selected valid sub-path, and can also include the network service data packet header of the selected valid sub-path (English full name: Network Service Header, English abbreviation: NSH) and the IP address of the corresponding controller,
  • the controller binds the selected valid sub-path from the set of valid sub-paths according to the binding message, and sends a binding success message to the SFC orchestrator after the binding is successful;
  • the controller After receiving the binding message sent by the SFC orchestrator, the controller binds the corresponding valid sub-path and generates a new rule of the classifier.
  • the new rule of the classifier also determines how to transmit the data stream to other domains or data centers. That is, the end-to-end business function chain is created. After the creation is completed, each controller sends a corresponding message to inform the SFC orchestrator.
  • the controller corresponds to the first classifier, and further includes:
  • the first controller performs a communication connection with the second controller corresponding to the second classifier to obtain the IP address of the second classifier.
  • step 105 may be skipped.
  • the SFC orchestration device determines that the service function chain is successfully created according to the binding success message, and reports that the service function chain is successfully created to the service manager, so that the service manager determines that the service function chain is successfully created.
  • the SFC waits for the binding success message to confirm that the end-to-end service function chain is successfully created, and then sends a message to inform the service manager that the service function chain is successfully created.
  • the number of controllers is at least two, and each controller generates a corresponding valid sub-path and reports it to the SFC orchestrator.
  • the SFC orchestrator reports the valid sub-paths reported by the controllers.
  • the message determines a complete business function chain, and the corresponding controller is notified by message to create the service function chain.
  • the SFC orchestrator is notified of the successful creation message, and the SFC orchestrator sends the successful creation message to the SFC orchestrator.
  • Service manager is responsible for managing the SFC orchestrator.
  • the controller generates all possible sub-paths according to the SFC definition message, and sends all possible sub-path messages to the SFC orchestrator, so that the SFC orchestrator decides a complete service function chain.
  • Each sub-path has a separate controller that is managed and controlled locally, reducing the impact on data that needs to be transmitted in real time.
  • the data packet transmission process may be: at the system entry, the data packet arrives at the data center DC1, and the data packet first enters the DC1 classifier for classification, and the classifier allocates the data packet.
  • An NSH is a forward forwarding identifier of a data packet in the system.
  • the NSH is one of a plurality of NSHs pre-allocated when the SFP is created in the DC1.
  • the data packet received by the system is automatically transmitted through the NSH identifier. After DC1, the packet will not carry the NSH in DC1, the packet will be compressed, and a virtual scalable LAN identifier is received, which is used to indicate the transmission to the next data center DC2.
  • the NSH allocated by the system entry does not change in the data center 1 and the data center 2, and the NSH allocated by the system entry in the transmission process of the current solution data packet passes the data in the data packet.
  • the data center 2 classifier re-allocates an NSH.
  • the data center 1 entry is not backtracked for unified processing. Adjusting only at the sub-path level without affecting the entire path can obviously reduce the impact on data that needs to be transmitted in real time.
  • FIG. 3 is a schematic diagram of another embodiment of a method for creating a service function chain
  • the SFC orchestrator receives an SFC definition message, where the SFC definition message includes a first sub-message and a second sub-message.
  • the SFC definition message, the first sub-message and the second sub-message comprise the network function of the end-to-end service function chain to be created and the order of the network functions on the end-to-end service function chain to be created, and the starting point and the ending point.
  • the SFC orchestrator determines the controller 1 and the controller 2, and the controller 1 and the controller 2 respectively transmit the first sub-message and the second sub-message;
  • the first sub-message is sent to the controller 1
  • the second sub-message is sent to the controller 2;
  • the controller 1 generates all possible sub-paths according to the local domain and the first sub-message decision sub-path. Similarly, the controller 2 performs a similar operation.
  • the controller 1 assigns an identifier ID to each sub-path.
  • the identifier ID is deployed on the forwarder node corresponding to the controller 1 through a communication protocol.
  • the controller 2 performs a similar operation.
  • the repeaters are the repeater 1 and the repeater 2, respectively.
  • the controller 1 and the controller 2 respectively send a message to the orchestrator to generate all possible sub-paths;
  • the SFC orchestrator makes a complete SFC decision
  • the SFC orchestrator sends a binding SFC message to the controller 1 and the controller 2 respectively.
  • the controller 1 and the controller 2 respectively bind the corresponding sub-path according to the binding SFC message, and generate a new ruler rule.
  • the controller 1 and the controller 2 perform a communication connection, the controller 1 acquires an IP address of a classifier corresponding to the controller 2, or the controller 2 acquires an IP address of a classifier corresponding to the controller 1;
  • the controller 1 and the controller 2 respectively send a message to notify the SFC orchestrator that the SFC is successfully created.
  • the SFC orchestrator sends a message to inform the service manager that the SFC is successfully created.
  • an embodiment of the network function added to the data center in the embodiment of the present invention includes:
  • the controller receives a message sent by the SFC orchestrator, where the message is a message that adds the first network function to a local path of a data center associated with the controller;
  • the controller generates a first local sub-path in the local path of the data center according to the message, and adds the first network function to the first local sub-path.
  • a specific embodiment of adding a network function to a data center in the embodiment of the present invention includes:
  • the controller receives a notification message that the network function is to be added to the system.
  • the source may come from the orchestrator, the data preamble repeater, or the network function itself.
  • the notification message it is better from the orchestrator and network functions, because it can also be included compared with the data preamble forwarder. Additional information, such as the type of network function.
  • the controller determines a new subpath according to the notification message.
  • the controller After receiving the notification message, the controller adds the network function to the system and modifies the topology information of the network function. Based on the modified topology information, the controller decides a new subpath to handle the specific operation. First, the new sub-path includes the generation of new network functions; second, it is decided which sub-path is reserved and retained in parallel with the existing sub-path.
  • the controller configures an NSH identifier for the new subpath, and transmits a new forwarding rule to the corresponding forwarder.
  • the controller sends the new classifier rule to the classifier.
  • the controller sends the new classifier rules to the classifier so that part of the data stream can be directed to the new subpath and can load a specific payload onto the network function.
  • an embodiment of deleting a network function in the embodiment of the present invention includes:
  • the controller receives a message sent by the SFC orchestrator, where the message is a message that removes the network function from a local sub-path of the data center associated with the controller;
  • the controller removes the NSH associated with the local subpath in a classifier corresponding to the controller to remove the network function.
  • the controller receives a notification message that the network function will be removed, and the controller removes the incoming NSH in the classifier.
  • the controller informs the data center that the orchestrator has removed the Network function.
  • SFC orchestrator has different controllers and classifiers at the data center level. Each data center is relatively independent and has no influence on each other: different data centers have different solutions; in a data center Scalability does not affect other data centers; load balancing within the data center is transparent and perceptible to other data centers. 2. Each controller maintains a reduced data path. A subpath may serve multiple end-to-end paths, so the whole The data link for path maintenance is reduced. 3. High availability, such as a sub-path failure, the embodiment of the present invention does not need to propagate fault information to other data centers, and can be solved in the local data center without affecting other data centers. 4.
  • the sub-path concept is added, and the SFC orchestrator is added, which is responsible for receiving the subscription service information, and issuing a control command to each sub-path controller to evaluate the path status uploaded by each sub-path controller.
  • the SFC orchestrator is added, which is responsible for receiving the subscription service information, and issuing a control command to each sub-path controller to evaluate the path status uploaded by each sub-path controller.
  • Each sub-path has a separate controller and classifier, which only manages and controls the local.
  • the addition or deletion of sub-paths does not affect other sub-paths. Packets being transmitted between data centers are not discarded, increasing reliability and reducing complexity.
  • the fault is handled only in the local data center, and the response is rapid, which increases the robustness of the system.
  • the total number of data paths is greatly reduced and easy to manage.
  • the virtual scalable LAN between the data centers only transmits the necessary packet data, reducing the data overhead.
  • an embodiment of the fault handling of the network function in the embodiment of the present invention includes:
  • the controller receives the message, where the message is a message that the network function is invalid;
  • the controller determines, according to the message, a local sub-path, where the local sub-path is used to replace the local sub-path corresponding to the network function.
  • an embodiment of a service function chain creation system in an embodiment of the present invention includes:
  • the SFC editor 701 is configured to receive an SFC definition message sent by the service manager, determine a controller corresponding to the network function according to the SFC definition message and the current communication restriction condition, and send an SFC definition message to the controller 702;
  • the SFC definition message includes The network function of an end-to-end business function chain created and the order in which network functions are arranged on the business function chain;
  • the controller 702 is configured to generate a set of valid sub-paths according to the SFC definition message, install each sub-path in the set of valid sub-paths, and assign a path identification ID to each valid sub-path.
  • the SFC orchestrator 701 is configured. Sending an installation complete message, the installation complete message including a set of valid sub-paths having a path identification ID;
  • the SFC orchestrator 701 is further configured to determine an end-to-end service function chain according to the installation completion message, and send a binding message to the controller according to an end-to-end service function chain of the decision, where the binding message includes the selected valid sub-path ;
  • the controller 702 is further configured to bind the selected valid sub-path from the set of valid sub-paths according to the binding message, where After the binding is complete, the binding success message is sent to the SFC orchestrator;
  • the SFC orchestrator 701 is further configured to determine that the service function chain is successfully created according to the binding success message, and report that the service function chain is successfully created to the service manager, so that the service manager determines that the service function chain is successfully created.
  • the controller 702 is the first controller, the first controller is corresponding to the first classifier, and the controller 702 is further configured to: if the binding message does not carry the Internet Protocol IP address of the second classifier, The second controller corresponding to the second classifier performs a communication connection to obtain an IP address of the second classifier.
  • the controller 702 is further configured to receive a first message delivered by the SFC orchestrator 701, where the first message is a message that adds the first network function to a local path of the data center associated with the controller 702; The first message generates a first local subpath in a local path of the data center and adds the first network function to the first local subpath.
  • controller 702 is further configured to send the network service data packet header NSH associated with the first local sub-path to the classifier corresponding to the controller 702.
  • controller 702 is further configured to modify network topology information of the first network function.
  • the controller is further configured to receive a second message sent by the SFC orchestrator, where the second message is a message that removes the second network function from the second local subpath of the data center associated with the controller;
  • the network service packet header NSH associated with the second local subpath is removed from the classifier corresponding to the controller to remove the second network function.
  • the controller 702 is further configured to: when the third network function fails, receive the third message, where the third message is a message that the third network function is invalid; and determine, by the third message, the third local sub-path, the third local sub- The path is used to replace the local subpath corresponding to the third network function.
  • FIG. 8 may further include a classifier 703 and a data center 704.
  • Each data center 701 has a classifier 703 and a controller 702 that can be locally determined.
  • the data center 704 deploys some network functions. For example, NF1.1, NF1.2, NF1.3, NF2.1, NF2.2, NF2.3, and NF2.4, each network function corresponds to a repeater SW. It should be noted that there are multiple SWs under each classifier.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

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

Abstract

Provided is a method for creating a service function chaining, specifically comprising: an SFC orchestrator receives an SFC definition message delivered by a service manager; the SFC orchestrator determines, according to the SFC definition message and a current communication restriction condition, a controller corresponding to a network function, and sends the SFC definition message to the controller; the controller generates a valid sub-path set according to the SFC definition message, installs each valid sub-path in the valid sub-path set, assigns a path identifier ID to each valid sub-path, and sends an installation completion message to the SFC orchestrator; the SFC orchestrator determines an end-to-end service function chaining according to the installation completion message, and sends a binding message to the controller according to the determined end-to-end service function chaining; the controller binds, according to the binding message, a valid sub-path selected from the valid sub-path set, and sends a binding success message to the SFC orchestrator; and the SFC orchestrator determines successful creation of the service function chaining according to the binding success message, and reports the successful creation of the service function chaining to the service manager.

Description

一种业务功能链的创建方法及系统Method and system for creating business function chain
本申请要求于2016年06月03日提交中国专利局、申请号为CN201610390879.4、发明名称为“一种业务功能链的创建方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on June 3, 2016, the Chinese Patent Office, the application number is CN201610390879.4, and the invention name is "a method and system for creating a business function chain", the entire contents of which are incorporated by reference. Combined in this application.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种业务功能链的创建方法及系统。The present invention relates to the field of communications technologies, and in particular, to a method and system for creating a service function chain.
背景技术Background technique
传统的业务功能链(英文全称:Service Function Chaining,英文缩写:SFC)是由一系列专有的网络功能组成,网络功能包括防火墙、负载均衡器以及应用控制器等。在新的服务需求下,一些网络功能必须按照一定的顺序进行部署和互联,这将使的业务功能链的部署变得复杂且耗时,拓扑的改变需要周密的考虑,且需要很高的运营成本,而网络功能虚拟化(英文全称:Network Function Virtualization,英文缩写:NFV)的发展,给SFC技术带来了新的机遇和发展,通过NFV的方式,服务提供商可以为SFC创建一个虚拟的环境,消除传统的专有硬件部署,在虚拟的环境中对需要的网络功能按照一定的顺序进行串接将更加方便。The traditional business function chain (English name: Service Function Chaining, English abbreviation: SFC) is composed of a series of proprietary network functions, including firewalls, load balancers and application controllers. Under the new service requirements, some network functions must be deployed and interconnected in a certain order, which will make the deployment of the business function chain complex and time-consuming. The topology changes require careful consideration and require high operations. Cost, and the development of network function virtualization (English name: Network Function Virtualization, English abbreviation: NFV) brings new opportunities and development to SFC technology. Through NFV, service providers can create a virtual SFC. The environment, eliminating the traditional proprietary hardware deployment, makes it more convenient to cascade the required network functions in a virtual environment in a certain order.
当前的一种SFC技术方案为:采用统一的结构,只在系统入口对数据路径作统一处理,形成一条条完整的数据路径,对每条数据路径的网络服务数据包报头(英文全称:Network Service Header,英文缩写:NSH)在系统入口处作统一管理。在该SFC技术方案下,数据包的传输过程为:在系统入口,数据包到达数据中心(英文全称:Data Center,英文缩写:DC),假设为DC1,数据包首先进入DC1的分类器进行分类,分类器给该数据包分配一个网络服务数据包报头(英文全称:Network Service Header,英文缩写:NSH),该NSH为系统内的数据包前向转发标识,该NSH是DC1中创建业务功能路径(英文全称:Service Function Path,英文缩写:SFP)时预分配的多个NSH中的一个,通过该NSH标识,系统接收到的数据包会自动进行数据传输;通过DC1后,数据包会被压缩(此时数据包还携带有NSH),并且接收到一个虚拟可扩展局域网标识(英文全称:Virtual Extensible LAN Identifier,英文缩写:VXLAN ID),该VXLAN ID用于指示传输到下一数据中心DC2的路径;当数据到达DC2时,VXLAN ID将在DC2的第一个转换节点上删除,然后基于数据包内的NSH信息做出进一步数据处理和传输。The current SFC technology solution is: adopting a unified structure, only processing the data path uniformly at the system entry, forming a complete data path, and a network service data packet header for each data path (English full name: Network Service) Header, English abbreviation: NSH) is managed at the entrance of the system. Under the SFC technology scheme, the data packet transmission process is: at the system entrance, the data packet arrives at the data center (English full name: Data Center, English abbreviation: DC), assuming DC1, the data packet first enters the DC1 classifier for classification. The classifier allocates a network service packet header (English full name: Network Service Header, English abbreviation: NSH) to the data packet, and the NSH is a forward forwarding identifier of the data packet in the system, and the NSH is a service function path created in DC1. (English full name: Service Function Path, English abbreviation: SFP), one of the pre-allocated multiple NSHs, through which the data packet received by the system will automatically transmit data; after DC1, the data packet will be compressed. (At this time, the data packet also carries the NSH), and receives a virtual extensible LAN identifier (English full name: Virtual Extensible LAN Identifier, English abbreviation: VXLAN ID), the VXLAN ID is used to indicate the transmission to the next data center DC2. Path; when the data reaches DC2, the VXLAN ID will be deleted on the first conversion node of DC2, and then based on the NSH letter in the packet. Make further data processing and transmission.
该SFC技术方案不考虑各个数据中心内部网络拓扑的不同,默认为所有的网络环境都一样,数据中心内部网络和数据中心之间的网络没有不同之处,作统一处理。但是实际上,数据中心内部网络有低时延、高容量、虚拟化、没有内部连接成本特性,而数据中心之间的网络的时延至少比数据中心内部网络的时延大一个数量级,容量有限,且有一定的成本,所以数据中心内部网络与数据中心之间的网络之间是有区别的,作统一处理显然会对需要实时传输的数据造成影响。The SFC technology solution does not consider the difference of the internal network topology of each data center. By default, all network environments are the same. The network between the data center internal network and the data center has no difference and is treated uniformly. However, in fact, the data center internal network has low latency, high capacity, virtualization, and no internal connection cost characteristics, and the network between data centers has a delay that is at least an order of magnitude larger than the delay of the internal network of the data center, and the capacity is limited. There is a certain cost, so there is a difference between the network between the data center internal network and the data center. The unified processing obviously affects the data that needs to be transmitted in real time.
发明内容Summary of the invention
本发明实施例提供了一种业务功能链的创建方法及系统,在数据传输过程中,能够通过子路径减少对需要实时传输的数据造成的影响。The embodiment of the invention provides a method and a system for creating a service function chain, which can reduce the impact on data that needs to be transmitted in real time through a sub-path in a data transmission process.
有鉴于此,本发明第一方面提供了一种业务功能链的创建方法,应用于业务功能链的创建系统,该系统包括业务功能链SFC编排器以及至少两个控制器,包括:In view of this, the first aspect of the present invention provides a method for creating a service function chain, which is applied to a service function chain creation system, where the system includes a service function chain SFC orchestrator and at least two controllers, including:
所述SFC编排器接收服务管理器下发的SFC定义消息,所述SFC定义消息包含待创建的一条端到端的业务功能链的网络功能以及所述网络功能在所述业务功能链上的排列顺序;The SFC orchestration device receives an SFC definition message delivered by the service manager, where the SFC definition message includes a network function of an end-to-end service function chain to be created and an arrangement order of the network function on the service function chain. ;
所述SFC编排器根据所述SFC定义消息以及当前通信限制条件确定所述网络功能对应的控制器,将所述SFC定义消息发送给所述控制器;Determining, by the SFC definition message, the controller corresponding to the network function according to the SFC definition message and the current communication restriction condition, and sending the SFC definition message to the controller;
所述控制器根据所述SFC定义消息生成有效子路径的集合,安装所述有效子路径的集合中的每条有效子路径,并为每条有效子路径分配路径标识ID,在安装完成后,向所述SFC编排器发送安装完成消息,所述安装完成消息包含具有路径标识ID的有效子路径的集合;The controller generates a set of valid sub-paths according to the SFC definition message, installs each valid sub-path in the set of valid sub-paths, and assigns a path identifier ID to each valid sub-path, after the installation is completed, Sending an installation completion message to the SFC orchestrator, the installation completion message including a set of valid sub-paths having a path identification ID;
所述SFC编排器根据所述安装完成消息决策所述一条端到端的业务功能链,根据决策的所述一条端到端的业务功能链向所述控制器发送绑定消息,所述绑定消息中包含被选择的有效子路径;The SFC orchestrator determines, according to the installation completion message, an end-to-end service function chain, and sends a binding message to the controller according to the determined end-to-end service function chain, where the binding message is Contains the valid subpath selected;
所述控制器根据所述绑定消息从所述有效子路径的集合中绑定所述被选择的有效子路径,在绑定成功后,向所述SFC编排器发送绑定成功消息;The controller binds the selected valid sub-path from the set of valid sub-paths according to the binding message, and sends a binding success message to the SFC orchestrator after the binding is successful;
所述SFC编排器根据所述绑定成功消息确定所述业务功能链创建成功,向所述服务管理器上报所述业务功能链创建成功,以使得所述服务管理器确定所述业务功能链创建成功。Determining, by the SFC orchestration device, that the service function chain is successfully created according to the binding success message, and reporting that the service function chain is successfully created to the service manager, so that the service manager determines that the service function chain is created. success.
可选地,SFC编排器可以预先引入,用于对各个有效子路径作编排处理,使得各个根据绑定消息确定的有效子路径链接成一个完成的业务功能链,SFC定义消息可以划分为多个子消息。Optionally, the SFC orchestrator may be pre-introduced to perform processing on each valid sub-path, so that the valid sub-paths determined according to the binding message are linked into a completed service function chain, and the SFC definition message may be divided into multiple sub-sub-categories. Message.
可选的,SFC定义消息还可以包含网络功能在所述业务功能链上的起始点和终止点。Optionally, the SFC definition message may further include a starting point and a ending point of the network function on the service function chain.
可选地,通信限制条件可以为时延、负载均衡等。Optionally, the communication restriction condition may be delay, load balancing, or the like.
可选地,控制器还可以生成相应的转发规则,该转发规则用于决定控制器传输数据流到相应的网络功能或数据中心。Optionally, the controller may further generate a corresponding forwarding rule, where the forwarding rule is used to determine whether the controller transmits the data stream to the corresponding network function or data center.
可见,控制器根据SFC定义消息生成所有可能的子路径,将所有可能的子路径的消息发送给SFC编排器,使得SFC编排器决策一条完整的业务功能链。每个子路径有单独的控制器,只对本地进行管理和控制,从而能够减少对需要实时传输的数据造成的影响。It can be seen that the controller generates all possible sub-paths according to the SFC definition message, and sends all possible sub-path messages to the SFC orchestrator, so that the SFC orchestrator decides a complete business function chain. Each sub-path has a separate controller that is managed and controlled locally, reducing the impact on data that needs to be transmitted in real time.
在一些可能的实现方式中,若所述控制器为第一控制器,所述第一控制器对应着第一分类器,所述方法还包括:若所述绑定消息未携带有第二分类器的互联网协议IP地址,则所述第一控制器与所述第二分类器对应的第二控制器进行通信连接,以获取所述第二分类器的IP地址。In some possible implementations, if the controller is a first controller, and the first controller is corresponding to the first classifier, the method further includes: if the binding message does not carry the second category The first controller is in communication connection with the second controller corresponding to the second classifier to obtain an IP address of the second classifier.
在另一些可能的实现方式中,所述方法还包括:所述控制器接收所述SFC编排器下发的第一消息,所述第一消息为将第一网络功能添加到与所述控制器相关联的数据中心的本地路径中的消息;所述控制器根据所述第二消息在所述数据中心的本地路径中生成第一本地子路径,并将所述第一网络功能添加到所述第一本地子路径中。 In another possible implementation manner, the method further includes: receiving, by the controller, a first message sent by the SFC orchestrator, where the first message is adding a first network function to the controller a message in a local path of the associated data center; the controller generates a first local sub-path in a local path of the data center according to the second message, and adds the first network function to the In the first local subpath.
在另一些可能的实现方式中,所述方法还包括:所述控制器将与所述第一本地子路径相关联的网络服务数据包报头NSH发送给与所述控制器对应的分类器。In other possible implementations, the method further includes: the controller transmitting a network service packet header NSH associated with the first local sub-path to a classifier corresponding to the controller.
在另一些可能的实现方式中,所述方法还包括:所述控制器修改所述第一网络功能的网络拓扑信息。In other possible implementations, the method further includes: the controller modifying network topology information of the first network function.
在另一些可能的实现方式中,所述方法还包括:所述控制器接收所述SFC编排器下发的第二消息,所述第二消息为将第二网络功能从所述控制器相关联的数据中心的第二本地子路径中移除的消息;所述控制器在所述控制器对应的分类器中移除与所述第二本地子路径相关联的网络服务数据包报头NSH,以便移除所述第二网络功能。In another possible implementation manner, the method further includes: the controller receiving a second message sent by the SFC orchestrator, where the second message is to associate a second network function from the controller a message removed in a second local subpath of the data center; the controller removing a network service packet header NSH associated with the second local subpath in a classifier corresponding to the controller so that Removing the second network function.
在另一些可能的实现方式中,所述方法还包括:当第三网络功能失效时,所述控制器接收第三消息,所述第三消息为所述第三网络功能失效的消息;所述控制器根据所述第三消息确定第三本地子路径,所述第三本地子路径用于替代所述第三网络功能对应的本地子路径。In another possible implementation manner, the method further includes: when the third network function fails, the controller receives a third message, where the third message is a message that the third network function is invalid; The controller determines a third local sub-path according to the third message, where the third local sub-path is used to replace the local sub-path corresponding to the third network function.
可见,1、SFC编排器在数据中心级别上,有不同的控制器和分类器,每个数据中心相对独立,相互之间不受影响:不同数据中心有不同的解决方案;一个数据中心内的伸缩性操作不会影响其他的数据中心;数据中心内的负载均衡对其他数据中心来说是透明的,可感知的。2、每个控制器维护数据路径减少,一个子路径可能服务多个端到端路径,故整个路径维护的数据链路减少。3、具有高可用性,如子路径出现故障,本发明实施例不需要将故障信息传播到其他的数据中心,在本地数据中心就可以解决,并且不会影响其他数据中心。4、具有高鲁棒性,因为本地数据中心对功能失效时作出的处理响应更快,另外,数据中心内部的通信时延不会影响高可用性操作。5、减少了NSH带来的信令开销。现有技术中,一个1500字节的数据包中总共有106比特的开销,开销占7%,而本发明实施例,一个1500字节的数据包中,总共只有28字节的开销,相当于开销只占1.86%,显然大大减少了信令开销。It can be seen that 1. SFC orchestrator has different controllers and classifiers at the data center level. Each data center is relatively independent and has no influence on each other: different data centers have different solutions; in a data center Scalability does not affect other data centers; load balancing within the data center is transparent and perceptible to other data centers. 2. Each controller maintains a reduced data path. One sub-path may serve multiple end-to-end paths, so the data link maintained by the entire path is reduced. 3. High availability, such as a sub-path failure, the embodiment of the present invention does not need to propagate fault information to other data centers, and can be solved in the local data center without affecting other data centers. 4. Highly robust, because the local data center responds faster to the processing when the function fails, and the communication delay inside the data center does not affect the high availability operation. 5. Reduce the signaling overhead caused by NSH. In the prior art, there is a total of 106 bits of overhead in a 1500-byte data packet, and the overhead is 7%. In the embodiment of the present invention, a total of only 280 bytes of data packets has a total cost of 28 bytes, which is equivalent to The overhead is only 1.86%, which obviously reduces the signaling overhead.
本发明第二方面提供了一种业务功能链的创建系统,包括:A second aspect of the present invention provides a system for creating a service function chain, including:
业务功能链SFC编排器以及至少两个控制器;Business function chain SFC orchestrator and at least two controllers;
所述SFC编排器用于接收服务管理器下发的SFC定义消息;根据所述SFC定义消息以及当前通信限制条件确定所述网络功能对应的控制器,将所述SFC定义消息发送给所述控制器;所述SFC定义消息包含待创建的一条端到端的业务功能链的网络功能以及所述网络功能在所述业务功能链上的排列顺序;The SFC orchestrator is configured to receive an SFC definition message delivered by the service manager, determine, according to the SFC definition message and the current communication restriction condition, a controller corresponding to the network function, and send the SFC definition message to the controller The SFC definition message includes a network function of an end-to-end service function chain to be created and an arrangement order of the network function on the service function chain;
所述控制器用于根据所述SFC定义消息生成有效子路径的集合,安装所述有效子路径的集合中的每条子路径,并为每条有效子路径分配路径标识ID,在安装完成后,向所述SFC编排器发送安装完成消息,所述安装完成消息包含具有路径标识ID的有效子路径的集合;The controller is configured to generate a set of valid sub-paths according to the SFC definition message, install each sub-path in the set of valid sub-paths, and assign a path identification ID to each valid sub-path, after the installation is completed, The SFC orchestrator sends an installation complete message, the installation complete message including a set of valid sub-paths having a path identification ID;
所述SFC编排器还用于根据所述安装完成消息决策所述一条端到端的业务功能链,根据决策的所述一条端到端的业务功能链向所述控制器发送绑定消息,所述绑定消息中包含被选择的有效子路径;The SFC orchestrator is further configured to: according to the installation completion message, determine an end-to-end service function chain, and send a binding message to the controller according to the end-to-end service function chain of the decision, the binding The message contains the valid subpath selected;
所述控制器还用于根据所述绑定消息从所述有效子路径的集合中绑定所述被选择的有效子路径,在绑定完成后,向所述SFC编排器发送绑定成功消息; The controller is further configured to bind the selected valid sub-path from the set of valid sub-paths according to the binding message, and send a binding success message to the SFC orchestrator after the binding is completed. ;
所述SFC编排器还用于根据所述绑定成功消息确定所述业务功能链创建成功,向所述服务管理器上报所述业务功能链创建成功,以使得所述服务管理器确定所述业务功能链创建成功。The SFC orchestrator is further configured to determine that the service function chain is successfully created according to the binding success message, and report that the service function chain is successfully created to the service manager, so that the service manager determines the service. The function chain was created successfully.
在一些可能的实现方式中,若所述控制器为第一控制器,所述第一控制器对应着第一分类器,所述控制器还用于若所述绑定消息未携带有第二分类器的互联网协议IP地址,则与所述第二分类器对应的第二控制器进行通信连接,以获取所述第二分类器的IP地址。In some possible implementations, if the controller is a first controller, the first controller is corresponding to a first classifier, and the controller is further configured to: if the binding message does not carry a second The Internet Protocol IP address of the classifier is in communication connection with the second controller corresponding to the second classifier to obtain an IP address of the second classifier.
在另一些可能的实现方式中,所述控制器还用于接收所述SFC编排器下发的第一消息,所述第一消息为将第一网络功能添加到与所述控制器相关联的数据中心的本地路径中的消息;根据所述第一消息在所述数据中心的本地路径中生成第一本地子路径,并将所述第一网络功能添加到所述第一本地子路径中。In other possible implementations, the controller is further configured to receive a first message sent by the SFC orchestrator, where the first message is to add a first network function to the controller. a message in a local path of the data center; generating a first local sub-path in a local path of the data center according to the first message, and adding the first network function to the first local sub-path.
在另一些可能的实现方式中,所述控制器还用于将与所述第一本地子路径相关联的网络服务数据包报头NSH发送给与所述控制器对应的分类器。In other possible implementations, the controller is further configured to send a network service data packet header NSH associated with the first local sub-path to a classifier corresponding to the controller.
在另一些可能的实现方式中,所述控制器还用于修改所述第一网络功能的网络拓扑信息。In other possible implementations, the controller is further configured to modify network topology information of the first network function.
在另一些可能的实现方式中,所述控制器还用于接收所述SFC编排器下发的第二消息,所述第二消息为将第二网络功能从所述控制器相关联的数据中心的第二本地子路径中移除的消息;在所述控制器对应的分类器中移除与所述第二本地子路径相关联的网络服务数据包报头NSH,以便移除所述第二网络功能。In other possible implementations, the controller is further configured to receive a second message sent by the SFC orchestrator, where the second message is a data center that associates a second network function from the controller. a message removed in the second local subpath; removing a network service packet header NSH associated with the second local subpath in a classifier corresponding to the controller to remove the second network Features.
在另一些可能的实现方式中,所述控制器还用于当第三网络功能失效时,接收第三消息,所述第三消息为所述第三网络功能失效的消息;根据所述第三消息确定第三本地子路径,所述第三本地子路径用于替代所述第三网络功能对应的本地子路径。In another possible implementation manner, the controller is further configured to: when the third network function fails, receive a third message, where the third message is a message that the third network function is invalid; according to the third The message determines a third local subpath that is used to replace the local subpath corresponding to the third network function.
可选地,系统还可以包括分类器以及数据中心,每个数据中心都有本地决策的分类器和控制器,数据中心部署了一些网络功能,每个网络功能对应着一个转发器SW,每个分类器下挂有多个SW。Optionally, the system may further include a classifier and a data center, each data center has a local decision classifier and a controller, and the data center deploys some network functions, each network function corresponding to a repeater SW, each There are multiple SWs under the classifier.
从以上技术方案可以看出,本发明实施例具有以下优点:控制器根据SFC定义消息生成所有可能的子路径,将所有可能的子路径的消息发送给SFC编排器,使得SFC编排器决策一条完整的业务功能链。每个子路径有单独的控制器,只对本地进行管理和控制,从而在数据传输过程中,能够减少对需要实时传输的数据造成的影响。It can be seen from the above technical solution that the embodiment of the present invention has the following advantages: the controller generates all possible sub-paths according to the SFC definition message, and sends all possible sub-path messages to the SFC orchestrator, so that the SFC orchestrator makes a complete decision. Business function chain. Each sub-path has a separate controller that is only managed and controlled locally, thereby reducing the impact on data that needs to be transmitted in real time during data transmission.
附图说明DRAWINGS
图1为本发明实施例系统架构图;1 is a system architecture diagram of an embodiment of the present invention;
图2为本发明实施例业务功能链的创建方法一个实施例示意图;2 is a schematic diagram of an embodiment of a method for creating a service function chain according to an embodiment of the present invention;
图3为本发明实施例业务功能链的创建方法另一个实施例示意图;3 is a schematic diagram of another embodiment of a method for creating a service function chain according to an embodiment of the present invention;
图4为本发明实施例网络功能添加到数据中心的一个实施例示意图;4 is a schematic diagram of an embodiment of adding a network function to a data center according to an embodiment of the present invention;
图5为本发明实施例网络功能添加到数据中心的另一个实施例示意图;FIG. 5 is a schematic diagram of another embodiment of adding a network function to a data center according to an embodiment of the present invention; FIG.
图6为本实施例网络功能的删除一个实施例示意图;FIG. 6 is a schematic diagram of an embodiment of deleting a network function according to the embodiment; FIG.
图7为本发明实施例网络功能的故障处理一个实施例示意图; FIG. 7 is a schematic diagram of an embodiment of fault processing of a network function according to an embodiment of the present invention; FIG.
图8为本发明实施例业务功能链的创建系统一个实施例示意图。FIG. 8 is a schematic diagram of an embodiment of a system for creating a service function chain according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种业务功能链的创建方法及系统,能够通过子路径减少对需要实时传输的数据造成的影响。The embodiment of the invention provides a method and a system for creating a service function chain, which can reduce the impact on data that needs to be transmitted in real time through a sub-path.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention and the above figures are used to distinguish similar objects without having to use To describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than what is illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
本发明可以应用于目前所有的通信系统,包括第二代移动通信(英文全称:Second Generation,英文缩写:2G)、3G、长期演进(英文全称:Long Term Evolution,英文缩写:LTE)、无线保真(英文全称:WIreless-Fidelity,英文缩写:WI-FI)等,应用的系统架构可以如图1所示,图1是一种混合式部署的应用架构,其有多个数据中心,每个数据中心所包含的网络功能不一,业务功能链将不同的网络功能串接在一起,为特定的业务服务,可以实现以下逻辑:业务功能链的管理,包括动态部署和运行;数据流分类;在业务功能链上进行数据包路由;负载均衡处理;可靠性保障等。The invention can be applied to all current communication systems, including second generation mobile communication (English full name: Second Generation, English abbreviation: 2G), 3G, long term evolution (English full name: Long Term Evolution, English abbreviation: LTE), wireless protection Real (English name: WIreless-Fidelity, English abbreviation: WI-FI), etc., the application system architecture can be as shown in Figure 1, Figure 1 is a hybrid deployment application architecture, which has multiple data centers, each The data center contains different network functions. The service function chain links different network functions together to serve specific services. The following logic can be implemented: management of business function chains, including dynamic deployment and operation; data flow classification; Packet routing on the service function chain; load balancing processing; reliability guarantee.
下面结合具体的实施例对本发明实施例中业务功能链的创建方法进行说明:The method for creating a service function chain in the embodiment of the present invention is described below with reference to specific embodiments:
请参阅图2,本发明实施例中业务功能链的创建方法一个实施例包括:Referring to FIG. 2, an embodiment of a method for creating a service function chain in an embodiment of the present invention includes:
101、SFC编排器接收服务管理器下发的SFC定义消息;101. The SFC orchestrator receives the SFC definition message delivered by the service manager.
本实施例中,SFC编排器接收到服务管理器下发的SFC定义消息,SFC定义消息可以包含要部署的业务模型,业务模型中可以包含待创建的一条端到端的业务功能链的各个网络功能以及各个网络功能在业务功能链上的排列顺序,还可以包含各个网络功能在业务功能链上的起始点和终止点,起始点和终止点是用来决定哪个数据中心参与到SFC部署中的。In this embodiment, the SFC orchestration device receives the SFC definition message delivered by the service manager, and the SFC definition message may include a service model to be deployed, and the service model may include each network function of an end-to-end service function chain to be created. And the order of each network function in the business function chain, and may also include the starting point and the ending point of each network function in the business function chain. The starting point and the ending point are used to determine which data center participates in the SFC deployment.
需要说明的是,SFC编排器可以预先引入,用于对各个有效子路径作编排处理,使得各个根据绑定消息确定的有效子路径链接成一个完整的业务功能链。SFC定义消息可以划分为多个子消息,每个子消息可以对应一个控制器。It should be noted that the SFC orchestrator can be pre-introduced for the processing of each valid sub-path, so that the effective sub-paths determined according to the binding message are linked into a complete service function chain. The SFC definition message can be divided into multiple sub-messages, and each sub-message can correspond to one controller.
102、SFC编排器根据SFC定义消息以及当前通信限制条件确定网络功能对应的控制器,将SFC定义消息发送给控制器;102. The SFC orchestrator determines, according to the SFC definition message and the current communication restriction condition, a controller corresponding to the network function, and sends an SFC definition message to the controller.
本实施例中,通信限制条件可以为时延、负载均衡等,还可以为其他,此处不作限定。In this embodiment, the communication restriction condition may be a delay, a load balancing, or the like, and may be other, which is not limited herein.
需要说明的是,SFC定义消息可以划分为多个子消息,每个子消息对应着一个控制器,每个子消息通过对应的控制器进行相应的传输,上述将SFC定义消息发送给控制器也可以理解为将每个子消息发送给相应的控制器。It should be noted that the SFC definition message may be divided into multiple sub-messages, each sub-message corresponding to one controller, and each sub-message is correspondingly transmitted by the corresponding controller. The above-mentioned sending of the SFC definition message to the controller may also be understood as Send each sub-message to the appropriate controller.
103、控制器根据SFC定义消息生成有效子路径的集合,安装有效子路径的集合中的 每条有效子路径,并为每条有效子路径分配路径标识ID,在安装完成后,向SFC编排器发送安装完成消息,该安装完成消息包含具有路径标识ID的有效子路径的集合;103. The controller generates a set of valid sub-paths according to the SFC definition message, and installs a set of valid sub-paths. Each valid sub-path, and assigning a path identification ID to each valid sub-path, after the installation is completed, sending an installation completion message to the SFC orchestrator, the installation completion message containing a set of valid sub-paths having a path identification ID;
本实施例中,每个控制器生成有效子路径的集合后,安装每条有效子路径,并为每条有效子路径分配路径标识ID,在安装完成后,向SFC编排器发送安装完成消息,该安装完成消息包含有效子路径的集合,有效子路径的集合中的每条有效子路径具有标识ID。In this embodiment, after each controller generates a set of valid sub-paths, each valid sub-path is installed, and a path identification ID is assigned to each valid sub-path. After the installation is completed, an installation completion message is sent to the SFC orchestrator. The installation complete message contains a set of valid sub-paths, each valid sub-path in the set of valid sub-paths having an identification ID.
其中,有效子路径的集合的消息包含集合中的每个有效子路径的标识ID,每个有效子路径的起始点和终止点分别为业务模型中的网络功能在待创建的业务功能链上的起始点和终止点。有效子路径的集合可以为所有可能的有效子路径。The message of the set of valid sub-paths includes the identifier ID of each valid sub-path in the set, and the start point and the end point of each valid sub-path are respectively the network function in the service model on the service function chain to be created. Start and end points. The set of valid subpaths can be all possible valid subpaths.
需要说明的是,每个控制器还可以根据SFC定义消息以及本地的域来生成有效子路径的集合。It should be noted that each controller may also generate a set of valid sub-paths according to the SFC definition message and the local domain.
需要说明的是,本地的域指的是每个控制器下挂的多个转发器。It should be noted that the local domain refers to multiple transponders attached to each controller.
104、SFC编排器根据安装完成消息决策一条端到端的业务功能链,根据决策的端到端的业务功能链向控制器发送绑定消息;104. The SFC orchestrator determines an end-to-end service function chain according to the installation completion message, and sends a binding message to the controller according to the end-to-end service function chain of the decision;
本实施例中,SFC获取到各个控制器发送的所有可用的有效子路径后,SFC编排器从所有可用的有效子路径中决策出一条完整的端到端的业务功能链,分别向相应的控制器发送绑定消息,绑定消息可以为“绑定SFC”消息,绑定消息中包含被选择的有效子路径,还可以包含被选择的有效子路径的网络服务数据包报头(英文全称:Network Service Header,英文缩写:NSH)和相应的控制器的IP地址,In this embodiment, after the SFC obtains all available valid sub-paths sent by each controller, the SFC orchestrator determines a complete end-to-end service function chain from all available valid sub-paths to the corresponding controller respectively. Send the binding message, the binding message can be a "binding SFC" message, the binding message contains the selected valid sub-path, and can also include the network service data packet header of the selected valid sub-path (English full name: Network Service Header, English abbreviation: NSH) and the IP address of the corresponding controller,
105、控制器根据绑定消息从有效子路径的集合中绑定被选择的有效子路径,在绑定成功后,向SFC编排器发送绑定成功消息;105. The controller binds the selected valid sub-path from the set of valid sub-paths according to the binding message, and sends a binding success message to the SFC orchestrator after the binding is successful;
控制器接收到SFC编排器发送的绑定消息后,绑定相应的有效子路径,生成分类器的新规则,该分类器的新规则也决定了如何传输数据流到其他域或数据中心,也即是完成端到端的业务功能链的创建,创建完成后,每个控制器发送相应的消息告知SFC编排器。After receiving the binding message sent by the SFC orchestrator, the controller binds the corresponding valid sub-path and generates a new rule of the classifier. The new rule of the classifier also determines how to transmit the data stream to other domains or data centers. That is, the end-to-end business function chain is created. After the creation is completed, each controller sends a corresponding message to inform the SFC orchestrator.
可选地,若控制器为第一控制器,第一控制器对应着第一分类器,还包括:Optionally, if the controller is the first controller, the first controller corresponds to the first classifier, and further includes:
若绑定消息未携带有第二分类器的IP地址,则第一控制器与第二分类器对应的第二控制器进行通信连接,以获取第二分类器的IP地址。If the binding message does not carry the IP address of the second classifier, the first controller performs a communication connection with the second controller corresponding to the second classifier to obtain the IP address of the second classifier.
需要说明的是,若绑定消息携带有第二分类器的IP地址,则步骤105中的可选地步骤可以跳过。It should be noted that if the binding message carries the IP address of the second classifier, the optional step in step 105 may be skipped.
106、SFC编排器根据绑定成功消息确定业务功能链创建成功,向服务管理器上报业务功能链创建成功,以使得服务管理器确定业务功能链创建成功。The SFC orchestration device determines that the service function chain is successfully created according to the binding success message, and reports that the service function chain is successfully created to the service manager, so that the service manager determines that the service function chain is successfully created.
本实施例中,SFC等待绑定成功消息,以确认端到端的业务功能链创建成功,然后发送消息告知服务管理器该业务功能链创建成功。In this embodiment, the SFC waits for the binding success message to confirm that the end-to-end service function chain is successfully created, and then sends a message to inform the service manager that the service function chain is successfully created.
需要说明的是,本实施例中控制器的个数至少为两个,每个控制器都会生成相应的有效子路径,并上报给SFC编排器,SFC编排器根据各个控制器上报的有效子路径消息决策一条完整的业务功能链,通过消息告知相应的控制器以创建该业务功能链,控制器创建成功后,将创建成功的消息告知SFC编排器,SFC编排器再将创建成功的消息发送给服务管理器。 It should be noted that, in this embodiment, the number of controllers is at least two, and each controller generates a corresponding valid sub-path and reports it to the SFC orchestrator. The SFC orchestrator reports the valid sub-paths reported by the controllers. The message determines a complete business function chain, and the corresponding controller is notified by message to create the service function chain. After the controller is successfully created, the SFC orchestrator is notified of the successful creation message, and the SFC orchestrator sends the successful creation message to the SFC orchestrator. Service manager.
本实施例中,控制器根据SFC定义消息生成所有可能的子路径,将所有可能的子路径的消息发送给SFC编排器,使得SFC编排器决策一条完整的业务功能链。每个子路径有单独的控制器,只对本地进行管理和控制,从而能够减少对需要实时传输的数据造成的影响。In this embodiment, the controller generates all possible sub-paths according to the SFC definition message, and sends all possible sub-path messages to the SFC orchestrator, so that the SFC orchestrator decides a complete service function chain. Each sub-path has a separate controller that is managed and controlled locally, reducing the impact on data that needs to be transmitted in real time.
需要说明的是,在业务功能链创建完成后,数据包的传输过程可以为:在系统入口,数据包到达数据中心DC1,数据包首先进入DC1的分类器进行分类,分类器给该数据包分配一个NSH,该NSH为系统内的数据包前向转发标识,该NSH是DC1中创建SFP时预分配的多个NSH中的一个;通过该NSH标识,系统接收到的数据包会自动进行数据传输;通过DC1后,这个数据包将不携带DC1中的NSH了,数据包会被压缩,并且接收到一个虚拟可扩展局域网标识,该虚拟可扩展局域网标识用于指示传输到下一数据中心DC2的路径;当数据包到达DC2时,虚拟可扩展局域网标识将在转换节点上删除,然后DC2的分类器将数据包分类,并给该数据包分配另一个NSH,该NSH是DC2中创建SFP时预分配的多个NSH中的一个,数据包将基于DC2分配的NSH做出进一步数据处理和传输。It should be noted that after the service function chain is created, the data packet transmission process may be: at the system entry, the data packet arrives at the data center DC1, and the data packet first enters the DC1 classifier for classification, and the classifier allocates the data packet. An NSH is a forward forwarding identifier of a data packet in the system. The NSH is one of a plurality of NSHs pre-allocated when the SFP is created in the DC1. The data packet received by the system is automatically transmitted through the NSH identifier. After DC1, the packet will not carry the NSH in DC1, the packet will be compressed, and a virtual scalable LAN identifier is received, which is used to indicate the transmission to the next data center DC2. Path; when the data packet arrives at DC2, the virtual scalable local area network identifier will be deleted on the conversion node, and then the DC2 classifier classifies the data packet and assigns another data NSH to the data packet, which is pre-defined when the SFP is created in DC2. One of the assigned multiple NSHs, the data packet will be further processed and transmitted based on the DC2 assigned NSH.
需要说明的是,现有方案的数据包的传输过程中系统入口分配的NSH在数据中心1和数据中心2没有变化,而本方案数据包的传输过程中系统入口分配的NSH在数据包经过数据中心1后就丢弃了,数据包到达数据中心2后,由数据中心2的分类器重新分配一个NSH,本方案数据包在传输过程中出现异常状况时不用回溯到数据中心1入口作统一处理,只在子路径级别作相应调整,而不用波及整个路径,显然能够减少对需要实时传输的数据造成的影响。It should be noted that, in the transmission process of the data packet of the existing solution, the NSH allocated by the system entry does not change in the data center 1 and the data center 2, and the NSH allocated by the system entry in the transmission process of the current solution data packet passes the data in the data packet. After the center 1 is discarded, after the data packet arrives at the data center 2, the data center 2 classifier re-allocates an NSH. When the data packet of the solution is abnormal during the transmission process, the data center 1 entry is not backtracked for unified processing. Adjusting only at the sub-path level without affecting the entire path can obviously reduce the impact on data that needs to be transmitted in real time.
为了便于理解,下面以控制器的个数为两个进行说明,具体的,可以参见图3,图3为业务功能链的创建方法另一个实施例示意图;For ease of understanding, the following describes the number of controllers as two. For details, refer to FIG. 3, which is a schematic diagram of another embodiment of a method for creating a service function chain;
201、SFC编排器接收SFC定义消息,该SFC定义消息包含第一子消息和第二子消息;201. The SFC orchestrator receives an SFC definition message, where the SFC definition message includes a first sub-message and a second sub-message.
SFC定义消息、第一子消息和第二子消息包含待创建的端到端的业务功能链的网络功能以及网络功能在待创建的端到端的业务功能链上的排列顺序以及起始点和终止点。The SFC definition message, the first sub-message and the second sub-message comprise the network function of the end-to-end service function chain to be created and the order of the network functions on the end-to-end service function chain to be created, and the starting point and the ending point.
202、SFC编排器确定控制器1以及控制器2,控制器1和控制器2分别传输第一子消息和第二子消息;202. The SFC orchestrator determines the controller 1 and the controller 2, and the controller 1 and the controller 2 respectively transmit the first sub-message and the second sub-message;
203、将第一子消息发送给控制器1,将第二子消息发送给控制器2;203, the first sub-message is sent to the controller 1, the second sub-message is sent to the controller 2;
204、控制器1根据本地的域以及第一子消息决策子路径,生成所有可能的子路径,同理,控制器2执行类似操作;204. The controller 1 generates all possible sub-paths according to the local domain and the first sub-message decision sub-path. Similarly, the controller 2 performs a similar operation.
具体可参见图3中的204a以及204b。For details, please refer to 204a and 204b in FIG.
205、控制器1为每个子路径分配标识ID,标识ID通过通信协议部署在控制器1对应的转发器节点上,同理,控制器2执行类似操作;205. The controller 1 assigns an identifier ID to each sub-path. The identifier ID is deployed on the forwarder node corresponding to the controller 1 through a communication protocol. Similarly, the controller 2 performs a similar operation.
其中,转发器分别为转发器1和转发器2。The repeaters are the repeater 1 and the repeater 2, respectively.
206、控制器1和控制器2分别给编排器发送生成所有可能的子路径的消息;206. The controller 1 and the controller 2 respectively send a message to the orchestrator to generate all possible sub-paths;
207、SFC编排器决策完整的SFC;207. The SFC orchestrator makes a complete SFC decision;
208、SFC编排器向控制器1和控制器2分别发送绑定SFC消息;208. The SFC orchestrator sends a binding SFC message to the controller 1 and the controller 2 respectively.
209、控制器1和控制器2分别根据绑定SFC消息绑定相应的子路径,并生成分类器新规则; 209. The controller 1 and the controller 2 respectively bind the corresponding sub-path according to the binding SFC message, and generate a new ruler rule.
210(可选)、控制器1和控制器2进行通信连接,控制器1获取控制器2对应的分类器的IP地址,或控制器2获取控制器1对应的分类器的IP地址;210 (optional), the controller 1 and the controller 2 perform a communication connection, the controller 1 acquires an IP address of a classifier corresponding to the controller 2, or the controller 2 acquires an IP address of a classifier corresponding to the controller 1;
211、控制器1和控制器2分别发送消息告知SFC编排器SFC创建成功;211. The controller 1 and the controller 2 respectively send a message to notify the SFC orchestrator that the SFC is successfully created.
212、SFC编排器发送消息告知服务管理器SFC创建成功。212. The SFC orchestrator sends a message to inform the service manager that the SFC is successfully created.
在现有方案中,当进行增加或删除网络功能的操作时,又或者网络功能的故障处理时,涉及到的修改点比较多,设计大量的操作,增加了管理的复杂度,为了解决这个问题,在上述业务功能链的创建方法的实施例的基础上,本发明将通过以下实施例解决该问题,请参阅图4,本发明实施例中网络功能添加到数据中心的一个实施例包括:In the existing solution, when the operation of adding or deleting a network function is performed, or when the fault of the network function is processed, the number of modification points involved is relatively large, and a large number of operations are designed, which increases the complexity of management, in order to solve the problem. On the basis of the foregoing embodiment of the method for creating a service function chain, the present invention solves the problem by using the following embodiments. Referring to FIG. 4, an embodiment of the network function added to the data center in the embodiment of the present invention includes:
301、控制器接收SFC编排器下发的消息,该消息为将第一网络功能添加到与控制器相关联的数据中心的本地路径中的消息;301: The controller receives a message sent by the SFC orchestrator, where the message is a message that adds the first network function to a local path of a data center associated with the controller;
302、控制器根据该消息在数据中心的本地路径中生成第一本地子路径,并将第一网络功能添加到第一本地子路径中。302. The controller generates a first local sub-path in the local path of the data center according to the message, and adds the first network function to the first local sub-path.
具体的,可以参见图5,本发明实施例中网络功能添加到数据中心的一个具体实施例包括:Specifically, referring to FIG. 5, a specific embodiment of adding a network function to a data center in the embodiment of the present invention includes:
401、控制器接收网络功能要添加到系统的通知消息;401. The controller receives a notification message that the network function is to be added to the system.
该消息来源可能来自于编排器、数据前传转发器或者网络功能本身,对于这个通知消息,从编排器和网络功能传来的更好,因为和数据前传转发器传来的相比,还可以包括额外的信息,比如网络功能类型等。The source may come from the orchestrator, the data preamble repeater, or the network function itself. For this notification message, it is better from the orchestrator and network functions, because it can also be included compared with the data preamble forwarder. Additional information, such as the type of network function.
402、控制器根据通知消息决策新的子路径;402. The controller determines a new subpath according to the notification message.
控制器接收到通知消息后,将网络功能增加到系统中,并修改网络功能的拓扑信息。基于修改的拓扑信息,控制器决策一个新的子路径来处理具体的操作。首先,新的子路径包括新的网络功能产生;其次,决策哪个子路径被保留,与已有子路径并行保留。After receiving the notification message, the controller adds the network function to the system and modifies the topology information of the network function. Based on the modified topology information, the controller decides a new subpath to handle the specific operation. First, the new sub-path includes the generation of new network functions; second, it is decided which sub-path is reserved and retained in parallel with the existing sub-path.
403、控制器对新的子路径配置NSH标识,并传输新的转发规则给相应的转发器;403. The controller configures an NSH identifier for the new subpath, and transmits a new forwarding rule to the corresponding forwarder.
404、控制器将新的分类器规则发送给分类器。404. The controller sends the new classifier rule to the classifier.
控制器将新的分类器规则发送给分类器,这样,部分数据流就能导向新的子路径,且能加载特定的负载到该网络功能上。The controller sends the new classifier rules to the classifier so that part of the data stream can be directed to the new subpath and can load a specific payload onto the network function.
请参阅图6,本发明实施例中网络功能的删除一个实施例包括:Referring to FIG. 6, an embodiment of deleting a network function in the embodiment of the present invention includes:
501、控制器接收SFC编排器下发的消息,该消息为将网络功能从控制器相关联的数据中心的本地子路径中移除的消息;501: The controller receives a message sent by the SFC orchestrator, where the message is a message that removes the network function from a local sub-path of the data center associated with the controller;
502、控制器在控制器对应的分类器中移除与本地子路径相关联的NSH,以便移除网络功能。502. The controller removes the NSH associated with the local subpath in a classifier corresponding to the controller to remove the network function.
控制器接收到一个网络功能将被移除的通知消息,控制器在分类器中移除传入的NSH,当传入的数据流完成后,控制器告知该数据中心的编排器已经移除该网络功能了。The controller receives a notification message that the network function will be removed, and the controller removes the incoming NSH in the classifier. When the incoming data stream is completed, the controller informs the data center that the orchestrator has removed the Network function.
可见,1、SFC编排器在数据中心级别上,有不同的控制器和分类器,每个数据中心相对独立,相互之间不受影响:不同数据中心有不同的解决方案;一个数据中心内的伸缩性操作不会影响其他的数据中心;数据中心内的负载均衡对其他数据中心来说是透明的,可感知的。2、每个控制器维护数据路径减少,一个子路径可能服务多个端到端路径,故整个 路径维护的数据链路减少。3、具有高可用性,如子路径出现故障,本发明实施例不需要将故障信息传播到其他的数据中心,在本地数据中心就可以解决,并且不会影响其他数据中心。4、具有高鲁棒性,因为本地数据中心对功能失效时作出的处理响应更快,另外,数据中心内部的通信时延不会影响高可用性操作。5、减少了NSH带来的信令开销。现有技术中,一个1500字节的数据包中总共有106比特的开销,开销占7%,而本发明实施例,一个1500字节的数据包中,总共只有28字节的开销,相当于开销只占1.86%,显然大大减少了信令开销。It can be seen that 1. SFC orchestrator has different controllers and classifiers at the data center level. Each data center is relatively independent and has no influence on each other: different data centers have different solutions; in a data center Scalability does not affect other data centers; load balancing within the data center is transparent and perceptible to other data centers. 2. Each controller maintains a reduced data path. A subpath may serve multiple end-to-end paths, so the whole The data link for path maintenance is reduced. 3. High availability, such as a sub-path failure, the embodiment of the present invention does not need to propagate fault information to other data centers, and can be solved in the local data center without affecting other data centers. 4. Highly robust, because the local data center responds faster to the processing when the function fails, and the communication delay inside the data center does not affect the high availability operation. 5. Reduce the signaling overhead caused by NSH. In the prior art, there is a total of 106 bits of overhead in a 1500-byte data packet, and the overhead is 7%. In the embodiment of the present invention, a total of only 280 bytes of data packets has a total cost of 28 bytes, which is equivalent to The overhead is only 1.86%, which obviously reduces the signaling overhead.
相较于现有技术,增加了子路径概念,增加了SFC编排器,其负责接收签约服务信息,并下发控制命令给各个子路径控制器,对各个子路径控制器上传的路径状态进行评估,来编排各个子路径以形成一条完整的端到端的业务功能链。Compared with the prior art, the sub-path concept is added, and the SFC orchestrator is added, which is responsible for receiving the subscription service information, and issuing a control command to each sub-path controller to evaluate the path status uploaded by each sub-path controller. To organize each sub-path to form a complete end-to-end business function chain.
对一条端到端的业务功能链,其划分为若干个子路径,每个子路径有单独的控制器和分类器,只对本地进行管理和控制,子路径的增加或删除不会对其他子路径造成影响,数据中心之间正在传输的包也不会丢弃,增加了可靠性,降低了复杂度。For an end-to-end business function chain, it is divided into several sub-paths. Each sub-path has a separate controller and classifier, which only manages and controls the local. The addition or deletion of sub-paths does not affect other sub-paths. Packets being transmitted between data centers are not discarded, increasing reliability and reducing complexity.
只在本地数据中心进行故障的处理,响应迅速,增加了系统的鲁棒性。相对于现有技术,大大降低了数据路径的总数,易于管理。对网络拓扑进行区分,在数据中心之间的虚拟可扩展局域网只传输必要的包数据,减少了数据开销。The fault is handled only in the local data center, and the response is rapid, which increases the robustness of the system. Compared with the prior art, the total number of data paths is greatly reduced and easy to manage. Differentiating the network topology, the virtual scalable LAN between the data centers only transmits the necessary packet data, reducing the data overhead.
请参阅图7,本发明实施例中网络功能的故障处理一个实施例包括:Referring to FIG. 7, an embodiment of the fault handling of the network function in the embodiment of the present invention includes:
601、当网络功能失效时,控制器接收消息,该消息为网络功能失效的消息;601. When the network function fails, the controller receives the message, where the message is a message that the network function is invalid;
602、控制器根据该消息确定本地子路径,该本地子路径用于替代网络功能对应的本地子路径。602. The controller determines, according to the message, a local sub-path, where the local sub-path is used to replace the local sub-path corresponding to the network function.
本实施例中,对于子路径上故障的发生,只在子路径上进行处理,响应速度,寻找替代路径,不影响其他数据中心,对于正在业务功能链上的其他子路径上传输的数据包,不受影响,不发生丢包情况。而现有技术中当某个数据路径的一个网络功能失效时,所有经过该网络功能的端到端的数据路径将被重新规划,这需要大量的计算和消息通知,造成管理复杂的问题,显然,本发明实施例有效简化了管理。In this embodiment, for the occurrence of a fault on the sub-path, only processing on the sub-path, the response speed, finding an alternative path, and not affecting other data centers, for data packets transmitted on other sub-paths in the service function chain, Not affected, no packet loss occurs. In the prior art, when a network function of a data path fails, all end-to-end data paths through the network function will be re-planned, which requires a large amount of calculation and message notification, resulting in complicated management problems, obviously, The embodiments of the present invention effectively simplify management.
请参阅图8,本发明实施例中业务功能链的创建系统一个实施例包括:Referring to FIG. 8, an embodiment of a service function chain creation system in an embodiment of the present invention includes:
业务功能链SFC编排器701以及至少两个控制器702;a service function chain SFC arranger 701 and at least two controllers 702;
SFC编排器701用于接收服务管理器下发的SFC定义消息;根据SFC定义消息以及当前通信限制条件确定网络功能对应的控制器,将SFC定义消息发送给控制器702;该SFC定义消息包含待创建的一条端到端的业务功能链的网络功能以及网络功能在业务功能链上的排列顺序;The SFC editor 701 is configured to receive an SFC definition message sent by the service manager, determine a controller corresponding to the network function according to the SFC definition message and the current communication restriction condition, and send an SFC definition message to the controller 702; the SFC definition message includes The network function of an end-to-end business function chain created and the order in which network functions are arranged on the business function chain;
控制器702用于根据SFC定义消息生成有效子路径的集合,安装有效子路径的集合中的每条子路径,并为每条有效子路径分配路径标识ID,在安装完成后,向SFC编排器701发送安装完成消息,所述安装完成消息包含具有路径标识ID的有效子路径的集合;The controller 702 is configured to generate a set of valid sub-paths according to the SFC definition message, install each sub-path in the set of valid sub-paths, and assign a path identification ID to each valid sub-path. After the installation is completed, the SFC orchestrator 701 is configured. Sending an installation complete message, the installation complete message including a set of valid sub-paths having a path identification ID;
SFC编排器701还用于根据安装完成消息决策一条端到端的业务功能链,根据决策的一条端到端的业务功能链向控制器发送绑定消息,该绑定消息中包含被选择的有效子路径;The SFC orchestrator 701 is further configured to determine an end-to-end service function chain according to the installation completion message, and send a binding message to the controller according to an end-to-end service function chain of the decision, where the binding message includes the selected valid sub-path ;
控制器702还用于根据绑定消息从有效子路径的集合中绑定被选择的有效子路径,在 绑定完成后,向SFC编排器发送绑定成功消息;The controller 702 is further configured to bind the selected valid sub-path from the set of valid sub-paths according to the binding message, where After the binding is complete, the binding success message is sent to the SFC orchestrator;
SFC编排器701还用于根据绑定成功消息确定业务功能链创建成功,向服务管理器上报业务功能链创建成功,以使得服务管理器确定业务功能链创建成功。The SFC orchestrator 701 is further configured to determine that the service function chain is successfully created according to the binding success message, and report that the service function chain is successfully created to the service manager, so that the service manager determines that the service function chain is successfully created.
可选地,若控制器702为第一控制器,第一控制器对应着第一分类器,控制器702还用于若绑定消息未携带有第二分类器的互联网协议IP地址,则与第二分类器对应的第二控制器进行通信连接,以获取第二分类器的IP地址。Optionally, if the controller 702 is the first controller, the first controller is corresponding to the first classifier, and the controller 702 is further configured to: if the binding message does not carry the Internet Protocol IP address of the second classifier, The second controller corresponding to the second classifier performs a communication connection to obtain an IP address of the second classifier.
可选地,控制器702还用于接收SFC编排器701下发的第一消息,第一消息为将第一网络功能添加到与控制器702相关联的数据中心的本地路径中的消息;根据第一消息在数据中心的本地路径中生成第一本地子路径,并将第一网络功能添加到第一本地子路径中。Optionally, the controller 702 is further configured to receive a first message delivered by the SFC orchestrator 701, where the first message is a message that adds the first network function to a local path of the data center associated with the controller 702; The first message generates a first local subpath in a local path of the data center and adds the first network function to the first local subpath.
可选地,控制器702还用于将与第一本地子路径相关联的网络服务数据包报头NSH发送给与控制器702对应的分类器。Optionally, the controller 702 is further configured to send the network service data packet header NSH associated with the first local sub-path to the classifier corresponding to the controller 702.
可选地,控制器702还用于修改第一网络功能的网络拓扑信息。Optionally, the controller 702 is further configured to modify network topology information of the first network function.
可选地,控制器还用于接收SFC编排器下发的第二消息,第二消息为将第二网络功能从控制器相关联的数据中心的第二本地子路径中移除的消息;在控制器对应的分类器中移除与第二本地子路径相关联的网络服务数据包报头NSH,以便移除第二网络功能。Optionally, the controller is further configured to receive a second message sent by the SFC orchestrator, where the second message is a message that removes the second network function from the second local subpath of the data center associated with the controller; The network service packet header NSH associated with the second local subpath is removed from the classifier corresponding to the controller to remove the second network function.
可选地,控制器702还用于当第三网络功能失效时,接收第三消息,第三消息为第三网络功能失效的消息;根据第三消息确定第三本地子路径,第三本地子路径用于替代第三网络功能对应的本地子路径。Optionally, the controller 702 is further configured to: when the third network function fails, receive the third message, where the third message is a message that the third network function is invalid; and determine, by the third message, the third local sub-path, the third local sub- The path is used to replace the local subpath corresponding to the third network function.
可选地,同参阅图8,图8中还可以包括分类器703以及数据中心704,每一个数据中心701都有可本地决策的分类器703和控制器702,数据中心704部署了一些网络功能,例如NF1.1、NF1.2、NF1.3、NF2.1、NF2.2、NF2.3以及NF2.4等,每个网络功能对应着一个转发器SW。需要说明的是,每个分类器下挂有多个SW。Optionally, referring to FIG. 8, FIG. 8 may further include a classifier 703 and a data center 704. Each data center 701 has a classifier 703 and a controller 702 that can be locally determined. The data center 704 deploys some network functions. For example, NF1.1, NF1.2, NF1.3, NF2.1, NF2.2, NF2.3, and NF2.4, each network function corresponds to a repeater SW. It should be noted that there are multiple SWs under each classifier.
本实施例的有益效果可参见前述方法实施例的有益效果,此处不再赘述。For the beneficial effects of the embodiment, reference may be made to the beneficial effects of the foregoing method embodiments, and details are not described herein again.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。 In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.

Claims (14)

  1. 一种业务功能链的创建方法,其特征在于,应用于业务功能链的创建系统,所述系统包括业务功能链SFC编排器以及至少两个控制器,所述方法包括:A method for creating a service function chain, which is characterized in that it is applied to a service function chain creation system, the system includes a service function chain SFC orchestrator and at least two controllers, and the method includes:
    所述SFC编排器接收服务管理器下发的SFC定义消息,所述SFC定义消息包含待创建的一条端到端的业务功能链的网络功能以及所述网络功能在所述业务功能链上的排列顺序;The SFC orchestration device receives an SFC definition message delivered by the service manager, where the SFC definition message includes a network function of an end-to-end service function chain to be created and an arrangement order of the network function on the service function chain. ;
    所述SFC编排器根据所述SFC定义消息以及当前通信限制条件确定所述网络功能对应的控制器,将所述SFC定义消息发送给所述控制器;Determining, by the SFC definition message, the controller corresponding to the network function according to the SFC definition message and the current communication restriction condition, and sending the SFC definition message to the controller;
    所述控制器根据所述SFC定义消息生成有效子路径的集合,安装所述有效子路径的集合中的每条有效子路径,并为每条有效子路径分配路径标识ID,在安装完成后,向所述SFC编排器发送安装完成消息,所述安装完成消息包含具有路径标识ID的有效子路径的集合;The controller generates a set of valid sub-paths according to the SFC definition message, installs each valid sub-path in the set of valid sub-paths, and assigns a path identifier ID to each valid sub-path, after the installation is completed, Sending an installation completion message to the SFC orchestrator, the installation completion message including a set of valid sub-paths having a path identification ID;
    所述SFC编排器根据所述安装完成消息决策所述一条端到端的业务功能链,根据决策的所述一条端到端的业务功能链向所述控制器发送绑定消息,所述绑定消息中包含被选择的有效子路径;The SFC orchestrator determines, according to the installation completion message, an end-to-end service function chain, and sends a binding message to the controller according to the determined end-to-end service function chain, where the binding message is Contains the valid subpath selected;
    所述控制器根据所述绑定消息从所述有效子路径的集合中绑定所述被选择的有效子路径,在绑定成功后,向所述SFC编排器发送绑定成功消息;The controller binds the selected valid sub-path from the set of valid sub-paths according to the binding message, and sends a binding success message to the SFC orchestrator after the binding is successful;
    所述SFC编排器根据所述绑定成功消息确定所述业务功能链创建成功,向所述服务管理器上报所述业务功能链创建成功,以使得所述服务管理器确定所述业务功能链创建成功。Determining, by the SFC orchestration device, that the service function chain is successfully created according to the binding success message, and reporting that the service function chain is successfully created to the service manager, so that the service manager determines that the service function chain is created. success.
  2. 根据权利要求1所述的方法,其特征在于,若所述控制器为第一控制器,所述第一控制器对应着第一分类器,所述方法还包括:The method according to claim 1, wherein if the controller is a first controller, the first controller corresponds to a first classifier, the method further comprises:
    若所述绑定消息未携带有第二分类器的互联网协议IP地址,则所述第一控制器与所述第二分类器对应的第二控制器进行通信连接,以获取所述第二分类器的IP地址。If the binding message does not carry the Internet Protocol IP address of the second classifier, the first controller performs a communication connection with the second controller corresponding to the second classifier to obtain the second category. The IP address of the device.
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    所述控制器接收所述SFC编排器下发的第一消息,所述第一消息为将第一网络功能添加到与所述控制器相关联的数据中心的本地路径中的消息;Receiving, by the controller, a first message delivered by the SFC orchestrator, where the first message is a message that adds a first network function to a local path of a data center associated with the controller;
    所述控制器根据所述第一消息在所述数据中心的本地路径中生成第一本地子路径,并将所述第一网络功能添加到所述第一本地子路径中。The controller generates a first local sub-path in a local path of the data center according to the first message, and adds the first network function to the first local sub-path.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, wherein the method further comprises:
    所述控制器将与所述第一本地子路径相关联的网络服务数据包报头NSH发送给与所述控制器对应的分类器。The controller transmits a network service packet header NSH associated with the first local sub-path to a classifier corresponding to the controller.
  5. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, wherein the method further comprises:
    所述控制器修改所述第一网络功能的网络拓扑信息。The controller modifies network topology information of the first network function.
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    所述控制器接收所述SFC编排器下发的第二消息,所述第二消息为将第二网络功能从所述控制器相关联的数据中心的第二本地子路径中移除的消息;Receiving, by the controller, a second message delivered by the SFC orchestrator, where the second message is a message that removes a second network function from a second local sub-path of a data center associated with the controller;
    所述控制器在所述控制器对应的分类器中移除与所述第二本地子路径相关联的网络服务数据包报头NSH,以便移除所述第二网络功能。 The controller removes a network service packet header NSH associated with the second local subpath in a classifier corresponding to the controller to remove the second network function.
  7. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    当第三网络功能失效时,所述控制器接收第三消息,所述第三消息为所述第三网络功能失效的消息;When the third network function fails, the controller receives a third message, where the third message is a message that the third network function is invalid;
    所述控制器根据所述第三消息确定第三本地子路径,所述第三本地子路径用于替代所述第三网络功能对应的本地子路径。The controller determines a third local sub-path according to the third message, where the third local sub-path is used to replace the local sub-path corresponding to the third network function.
  8. 一种业务功能链的创建系统,其特征在于,包括:A system for creating a business function chain, comprising:
    业务功能链SFC编排器以及至少两个控制器;Business function chain SFC orchestrator and at least two controllers;
    所述SFC编排器用于接收服务管理器下发的SFC定义消息;根据所述SFC定义消息以及当前通信限制条件确定网络功能对应的控制器,将所述SFC定义消息发送给所述控制器;所述SFC定义消息包含待创建的一条端到端的业务功能链的网络功能以及所述网络功能在所述业务功能链上的排列顺序;The SFC orchestrator is configured to receive an SFC definition message delivered by the service manager, determine, according to the SFC definition message and the current communication restriction condition, a controller corresponding to the network function, and send the SFC definition message to the controller; The SFC definition message includes a network function of an end-to-end service function chain to be created and an arrangement order of the network function on the service function chain;
    所述控制器用于根据所述SFC定义消息生成有效子路径的集合,安装所述有效子路径的集合中的每条子路径,并为每条有效子路径分配路径标识ID,在安装完成后,向所述SFC编排器发送安装完成消息,所述安装完成消息包含具有路径标识ID的有效子路径的集合;The controller is configured to generate a set of valid sub-paths according to the SFC definition message, install each sub-path in the set of valid sub-paths, and assign a path identification ID to each valid sub-path, after the installation is completed, The SFC orchestrator sends an installation complete message, the installation complete message including a set of valid sub-paths having a path identification ID;
    所述SFC编排器还用于根据所述安装完成消息决策所述一条端到端的业务功能链,根据决策的所述一条端到端的业务功能链向所述控制器发送绑定消息,所述绑定消息中包含被选择的有效子路径;The SFC orchestrator is further configured to: according to the installation completion message, determine an end-to-end service function chain, and send a binding message to the controller according to the end-to-end service function chain of the decision, the binding The message contains the valid subpath selected;
    所述控制器还用于根据所述绑定消息从所述有效子路径的集合中绑定所述被选择的有效子路径,在绑定完成后,向所述SFC编排器发送绑定成功消息;The controller is further configured to bind the selected valid sub-path from the set of valid sub-paths according to the binding message, and send a binding success message to the SFC orchestrator after the binding is completed. ;
    所述SFC编排器还用于根据所述绑定成功消息确定所述业务功能链创建成功,向所述服务管理器上报所述业务功能链创建成功,以使得所述服务管理器确定所述业务功能链创建成功。The SFC orchestrator is further configured to determine that the service function chain is successfully created according to the binding success message, and report that the service function chain is successfully created to the service manager, so that the service manager determines the service. The function chain was created successfully.
  9. 根据权利要求8所述的系统,其特征在于,若所述控制器为第一控制器,所述第一控制器对应着第一分类器,所述控制器还用于若所述绑定消息未携带有第二分类器的互联网协议IP地址,则与所述第二分类器对应的第二控制器进行通信连接,以获取所述第二分类器的IP地址。The system according to claim 8, wherein if the controller is a first controller, the first controller corresponds to a first classifier, and the controller is further configured to: if the binding message If the Internet Protocol IP address of the second classifier is not carried, the second controller corresponding to the second classifier is connected to obtain the IP address of the second classifier.
  10. 根据权利要求8所述的系统,其特征在于,所述控制器还用于接收所述SFC编排器下发的第一消息,所述第一消息为将第一网络功能添加到与所述控制器相关联的数据中心的本地路径中的消息;根据所述第一消息在所述数据中心的本地路径中生成第一本地子路径,并将所述第一网络功能添加到所述第一本地子路径中。The system according to claim 8, wherein the controller is further configured to receive a first message delivered by the SFC orchestrator, the first message is to add a first network function to the control a message in a local path of the associated data center; generating a first local sub-path in the local path of the data center according to the first message, and adding the first network function to the first local In the sub path.
  11. 根据权利要求10所述的系统,其特征在于,所述控制器还用于将与所述第一本地子路径相关联的网络服务数据包报头NSH发送给与所述控制器对应的分类器。The system of claim 10, wherein the controller is further configured to transmit a network service data packet header NSH associated with the first local sub-path to a classifier corresponding to the controller.
  12. 根据权利要求10所述的系统,其特征在于,所述控制器还用于修改所述第一网络功能的网络拓扑信息。The system according to claim 10, wherein the controller is further configured to modify network topology information of the first network function.
  13. 根据权利要求8所述的系统,其特征在于,所述控制器还用于接收所述SFC编排器下发的第二消息,所述第二消息为将第二网络功能从所述控制器相关联的数据中心的第二本地子路径中移除的消息;在所述控制器对应的分类器中移除与所述第二本地子路径相 关联的网络服务数据包报头NSH,以便移除所述第二网络功能。The system according to claim 8, wherein the controller is further configured to receive a second message sent by the SFC orchestrator, where the second message is related to the second network function from the controller. a message removed from a second local subpath of the associated data center; removed from the classifier corresponding to the controller and the second local subpath The associated network service packet header NSH is used to remove the second network function.
  14. 根据权利要求8所述的系统,其特征在于,所述控制器还用于当第三网络功能失效时,接收第三消息,所述第三消息为所述第三网络功能失效的消息;根据所述第三消息确定第三本地子路径,所述第三本地子路径用于替代所述第三网络功能对应的本地子路径。 The system according to claim 8, wherein the controller is further configured to: when the third network function fails, receive a third message, where the third message is a message that the third network function is invalid; The third message determines a third local sub-path, and the third local sub-path is used to replace the local sub-path corresponding to the third network function.
PCT/CN2017/085907 2016-06-03 2017-05-25 Method and system for creating service function chaining WO2017206793A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610390879.4A CN106130894B (en) 2016-06-03 2016-06-03 A kind of creation method and system of business function chain
CN201610390879.4 2016-06-03

Publications (1)

Publication Number Publication Date
WO2017206793A1 true WO2017206793A1 (en) 2017-12-07

Family

ID=57270909

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/085907 WO2017206793A1 (en) 2016-06-03 2017-05-25 Method and system for creating service function chaining

Country Status (2)

Country Link
CN (1) CN106130894B (en)
WO (1) WO2017206793A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3751799A4 (en) * 2018-03-07 2021-03-10 Huawei Technologies Co., Ltd. Message processing method, controller, and forwarding device

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130894B (en) * 2016-06-03 2019-04-19 上海华为技术有限公司 A kind of creation method and system of business function chain
CN106452930B (en) * 2016-12-16 2019-07-26 北京邮电大学 A kind of fault diagnosis method and system of the service function chain based on detection
CN109150720B (en) * 2017-06-19 2022-04-12 中兴通讯股份有限公司 Service chain message forwarding method, device, equipment and computer readable storage medium
CN107800571B (en) * 2017-10-23 2019-11-22 清华大学 A kind of network function dynamic method of combination, device and system
CN109922002A (en) * 2017-12-13 2019-06-21 中国电信股份有限公司 Business datum retransmission method and Overlay system based on SFC
CN108684046B (en) * 2018-04-23 2021-07-06 重庆邮电大学 Random learning-based access network service function chain deployment method
CN110557343A (en) * 2018-05-31 2019-12-10 中国电信股份有限公司 SFC service data forwarding method and SFC network system
WO2020010557A1 (en) * 2018-07-11 2020-01-16 上海诺基亚贝尔股份有限公司 Implementation of service function chain on basis of software-defined network
US10873528B2 (en) * 2018-11-24 2020-12-22 Nanning Fugui Precision Industrial Co., Ltd. Packet forwarding method and device utilizing the same
CN111314220B (en) * 2018-12-11 2022-05-17 中国电信股份有限公司 Method and system for minimizing SFC time delay
CN113300861B (en) * 2020-02-24 2022-05-03 中国电信股份有限公司 Network slice configuration method, device and storage medium
CN111371593B (en) * 2020-02-24 2022-09-16 中移(杭州)信息技术有限公司 Service deployment method, device, electronic equipment and storage medium
CN111464443B (en) * 2020-03-10 2022-06-28 中移(杭州)信息技术有限公司 Message forwarding method, device, equipment and storage medium based on service function chain
CN112217874B (en) * 2020-09-21 2021-08-17 北京邮电大学 Service function chain generation method and device
WO2022083394A1 (en) * 2020-10-23 2022-04-28 Telefonaktiebolaget Lm Ericsson (Publ) Methods and devices for binding indication
CN114629685B (en) * 2022-02-17 2022-12-16 华南理工大学 Industrial private network hard slicing service function chain deployment method, device and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150163150A1 (en) * 2013-12-06 2015-06-11 Telefonaktiebolaget L M Ericsson (Publ) Method and system of service placement for service chaining
US20150195197A1 (en) * 2014-01-06 2015-07-09 Futurewei Technologies, Inc. Service Function Chaining in a Packet Network
CN105323234A (en) * 2014-08-05 2016-02-10 中兴通讯股份有限公司 Service node capability processing method and device, service classifier and service controller
CN106130894A (en) * 2016-06-03 2016-11-16 上海华为技术有限公司 The creation method of a kind of business function chain and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954245B (en) * 2014-03-27 2019-07-16 中兴通讯股份有限公司 Business function chain processing method and processing device
US9923815B2 (en) * 2014-11-11 2018-03-20 Avago Technologies General Ip (Singapore) Pte. Ltd. Network based service function chaining on top of rack switches
CN105141617B (en) * 2015-09-14 2018-06-15 上海华为技术有限公司 The deployment method of adjustment and device of service function body between a kind of data center

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150163150A1 (en) * 2013-12-06 2015-06-11 Telefonaktiebolaget L M Ericsson (Publ) Method and system of service placement for service chaining
US20150195197A1 (en) * 2014-01-06 2015-07-09 Futurewei Technologies, Inc. Service Function Chaining in a Packet Network
CN105323234A (en) * 2014-08-05 2016-02-10 中兴通讯股份有限公司 Service node capability processing method and device, service classifier and service controller
CN106130894A (en) * 2016-06-03 2016-11-16 上海华为技术有限公司 The creation method of a kind of business function chain and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3751799A4 (en) * 2018-03-07 2021-03-10 Huawei Technologies Co., Ltd. Message processing method, controller, and forwarding device
US11546255B2 (en) 2018-03-07 2023-01-03 Huawei Technologies Co., Ltd. Packet processing method, controller, and forwarding device

Also Published As

Publication number Publication date
CN106130894B (en) 2019-04-19
CN106130894A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
WO2017206793A1 (en) Method and system for creating service function chaining
US11792046B2 (en) Method for generating forwarding information, controller, and service forwarding entity
US11563669B2 (en) Method for implementing network virtualization and related apparatus and communications system
EP2676411B1 (en) Method and system for classification and management of inter-blade network traffic in a blade server
JP6470838B2 (en) Data transfer method, apparatus, and system in software-defined networking
WO2015165312A1 (en) Method, apparatus and system for load balancing of service chain
CN104320350B (en) Method and system for providing fiduciary flow control
CN112804112B (en) Multi-cloud access method in SD-WAN (secure digital-Wide area network) network environment
CN103944828A (en) Method and equipment for transmitting protocol messages
CN102263646B (en) Multicasting within a distributed control plane of a switch
US10003522B2 (en) Routing with flow over shared risk link groups
US11444840B2 (en) Virtualized networking application and infrastructure
CN107078974A (en) Multicast advertisements message for the network switch in storage area network
WO2018006675A1 (en) Data processing method and apparatus
US10050906B2 (en) Virtual node having separate control and data planes
WO2023103461A1 (en) Cross-board message multicast replication and forwarding method and system based on clos architecture
CN114285794A (en) Message forwarding control method, message transmission network, electronic device and storage medium
US9979698B2 (en) Local internet with quality of service (QoS) egress queuing
US20200028779A1 (en) Packet processing method and apparatus
WO2021135792A1 (en) Data forwarding method, forwarding device, system, server, and storage medium
JP6062388B2 (en) COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND CONTROL DEVICE
CN106657355B (en) Cluster management method and device
EP3817295A1 (en) Layer-2 private wire network system and configuration method
CN117978535A (en) Method and system for policy-based networking
CN108702391B (en) Processing source routing content

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17805738

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17805738

Country of ref document: EP

Kind code of ref document: A1