WO2018121485A1 - Service switching method, device, and system - Google Patents
Service switching method, device, and system Download PDFInfo
- Publication number
- WO2018121485A1 WO2018121485A1 PCT/CN2017/118378 CN2017118378W WO2018121485A1 WO 2018121485 A1 WO2018121485 A1 WO 2018121485A1 CN 2017118378 W CN2017118378 W CN 2017118378W WO 2018121485 A1 WO2018121485 A1 WO 2018121485A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- transmission device
- service
- sdn controller
- management data
- controller
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/044—Network management architectures or arrangements comprising hierarchical management structures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/042—Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0659—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/34—Signalling channels for network management communication
- H04L41/342—Signalling channels for network management communication between virtual entities, e.g. orchestrators, SDN or NFV entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/34—Signalling channels for network management communication
- H04L41/344—Out-of-band transfers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
Definitions
- the present disclosure relates to the field of wireless communication technologies, for example, a service switching method, apparatus, and service switching system.
- the distributed control plane has been deployed on a large scale in the transmission network.
- the Software Defined Network (SDN) technology has high flexibility in controlling the network traffic, and the requirement for deploying the SDN controller in the transport network is high.
- FIG. 1 is a schematic diagram of a network architecture in which the SDN controller and the distributed control plane coexist.
- the node devices in the network may be controlled by corresponding distributed controllers or may be managed by an SDN controller that establishes a link with node devices in the network.
- the SDN controller and the distributed controller have the following differences in architecture and protocol usage: the interaction between the SDN controller and the transmission device generally uses the open flow (OPENFLOW) protocol, path calculation.
- OPENFLOW open flow
- PCEP Path Computation Element Protocol
- NETCONF Network Configuration Protocol
- ASON Automatically Switched Optical Network
- RSVP-TE Resource ReSerVation Protocol-Traffic Engineering
- LMP Link Management Protocol
- OSPF Open Shortest Path First
- the centralized management and control (ie, management and control) of the SDN controller is advantageous over the distributed control plane, in the case where the service management data transmission is interrupted, since the transmission device interrupts the transmission of the service management data, the transmission surface is too wide for transmission. Performance requirements such as recovery and switching of devices are very high. Once the SDN controller is unable to centrally control the transmission equipment, the transmission of service management data is likely to be interrupted so that the service data cannot be transmitted.
- the following embodiments provide a service switching method, a device, and a service switching system, so that when the SDN controller centrally controls the transmission device, the service management data of the transmission interruption is switched to the distributed control plane for management, so as to ensure When the transmission device fails, the distributed control plane is used to protect and recover the service data carried in the network.
- a service switching method includes:
- the distributed controller of the source transmission device detects the state of the first signaling channel between the transmission device through which the service data is transmitted and the software-defined network SDN controller;
- the distributed controller of the source transmission device When the distributed controller of the source transmission device detects that the first signaling channel is broken, the distributed controller of the source transmission device transmits service management data through the second signaling channel; wherein the service The data indicates the transmitted data for the service management data, and the second signaling channel is a channel for transmitting control signaling of the service management data from the source transmission device to the sink transmission device.
- the method before the distributed controller of the source transmission device detects the state of the first signaling channel, the method further includes:
- the distributed controller of the source transmission device establishes the second signaling channel for transmitting the service management data according to the service management data received from the SDN controller.
- the distributed controller of the source transmission device establishes the second signaling channel, including:
- the distributed controller of the source transmission device converts the connection routing information in the service management data into an explicit routing object ERO information, and establishes the second hop by hop with the sink transmission device of the service management data. Signaling channel.
- the method further includes:
- a distributed controller of the source transmission device determines a result of creation of the second signaling channel
- the distributed controller of the source transmission device sends a result of the creation of the second signaling channel to the SDN controller, where the creation result is used to indicate that the SDN controller creates the creation result
- the service switching process ends when the creation result is a creation failure.
- the method before the distributed controller of the source transmission device detects that the first signaling channel is broken, the method further includes:
- the distributed controller of the source transmission device receives a notification message sent by the transmission device through which the service data is transmitted, where the notification message is used to indicate a first message between the transmission device and the SDN controller Make the channel broken.
- the method before the distributed controller of the source transmission device detects the state of the first signaling channel, the method further includes:
- the distributed controller of the source transmission device receives the subnet link SNC information sent by the SDN controller;
- the distributed controller of the source transmission device parses and executes the instructions in the SNC information
- the distributed controller of the source transmission device sends an execution result to the SDN controller, where the execution result is used to be successful in the execution result, and all transmission devices through which the service data transmission passes are configured And the distributed controller instructs the SDN controller to send the service management data to a distributed controller of the source transmission device.
- the method before the distributed controller of the source transmission device receives the subnet link SNC information sent by the SDN controller, the method further includes:
- the distributed controller of the source transmission device receives a feature request message sent by the SDN controller
- the distributed controller of the source transmission device sends a feature response message to the SDN controller, wherein the feature response message is used to indicate whether the source transmission device is configured with a distributed controller.
- a source transmission device includes:
- At least one processor At least one processor
- a service switching method includes:
- Software defined network SDN controller generates service management data
- the SDN controller sends the service management data to a distributed controller of the corresponding source transmission device, so that the distributed controller of the source transmission device detects the transmission device through which the service data is transmitted and the SDN control
- the service management data is transmitted through the second signaling channel when the first signaling channel between the devices is broken; wherein the service data indicates the transmitted data for the service management data, and the second signaling
- the channel is a channel for transmitting control signaling of the service management data from the source transmission device to the sink transmission device.
- the second signaling channel is established by the distributed controller of the source transmission device according to the service management data received from the SDN controller.
- the method further includes:
- the SDN controller transmits the service management data by using the first signaling channel when the creation result is successful, and ends the service switching process when the creation result is a creation failure.
- the method before the SDN controller generates the service management data, the method further includes:
- the SDN controller calculates and generates a subnet link SNC information according to a service establishment request received from the application APP;
- the SDN controller sends the SNC information to each of the transmission devices through which the service data is transmitted;
- the SDN controller receives an execution result sent by each of the transmission devices
- the SDN controller sends the service management data to a distributed controller of the corresponding source transmission device, including:
- the SDN controller sends the service management data to a distributed controller of the source transmission device when the execution result is successful, and each of the transmission devices is configured with a distributed controller.
- the method before the SDN controller generates the SNC information, the method further includes:
- the SDN controller determines, according to the feature response message, whether each of the transmission devices is configured with a distributed controller.
- a service switching device is disposed in a distributed controller of a transmission device, and includes:
- a detecting module configured to detect a state of a first signaling channel between a transmission device through which the service data is transmitted and a software-defined network SDN controller;
- control module configured to: when the detecting module detects the disconnection of the first signaling channel, transmit service management data by using a second signaling channel; where the service data indicates the transmitted data for the service management data And the second signaling channel is a channel for transmitting control signaling of the service management data from the source transmission device to the sink transmission device.
- the apparatus further includes:
- the first receiving module is configured to receive the service management data sent by the SDN controller before the detecting module detects the state of the first signaling channel;
- the establishing module establishes the second signaling channel, including:
- connection routing information in the service management data into an explicit routing object ERO information, and establishing the second signaling channel hop by hop with the sink transmission device of the service management data.
- the apparatus further includes:
- Determining a module configured to determine a result of creating the second signaling channel after the establishing module establishes the second signaling channel
- a sending module configured to send a result of the creation of the second signaling channel determined by the determining module to the SDN controller, where the creation result is used to indicate that the SDN controller is in the creation result
- the service management data is transmitted through the first signaling channel, and the service switching process is ended when the creation result is a creation failure.
- the apparatus further includes:
- the first receiving module is configured to receive, before the detecting module detects that the first signaling channel is broken, receiving a notification message sent by the transmission device that is transmitted by the service data, where the notification message is used to indicate The first signaling channel between the transmission device and the SDN controller is broken.
- the apparatus further includes:
- the second receiving module is configured to receive the subnet link SNC information sent by the SDN controller before the detecting module detects the state of the first signaling channel;
- a parsing module configured to parse and execute an instruction in the SNC information received by the second receiving module
- a sending module configured to send an execution result obtained by the parsing module to the SDN controller, where the execution result is used to be successful in the execution result, and all transmission devices through which the service data transmission passes are configured with a distribution And instructing, by the SDN controller, the SDN controller to send the service management data to a distributed controller of the source transmission device.
- the second receiving module is further configured to receive a feature request message sent by the SDN controller before receiving the SNC information sent by the SDN controller;
- the sending module is further configured to send a feature response message to the SDN controller, where the feature response message is used to indicate whether the source transmission device is configured with a distributed controller.
- a service switching device is disposed in a software defined network SDN controller, and includes:
- a sending module configured to send the service management data generated by the generating module to a distributed controller of a corresponding source transmitting device, so that the distributed controller of the source transmitting device detects the transmission of the service data transmission Transmitting, by the second signaling channel, the service management data when the first signaling channel between the device and the SDN controller is broken; wherein the service data indicates the transmitted data for the service management data, and
- the second signaling channel is a channel for transmitting control signaling of the service management data from the source transmission device to the sink transmission device.
- the second signaling channel is established by the distributed controller of the source transmission device according to the service management data received from the SDN controller.
- the apparatus further includes:
- a receiving module configured to receive, after the sending module sends the service management data to a distributed controller of a corresponding source transmission device, the second signaling channel sent by a distributed controller of the source transmission device Creation result;
- control module configured to transmit the service management data by using the first signaling channel when the creation result of the receiving module is successfully created, and ending the service switching process when the creation result is a creation failure .
- the apparatus further includes:
- a receiving module configured to receive a service establishment request sent by the application APP before the generating module generates the service management data
- a calculation module configured to calculate and generate a subnet link SNC information according to the service establishment request received by the receiving module
- the sending module is further configured to send the SNC information generated by the computing module to each transmission device through which the service data is transmitted;
- the receiving module is further configured to receive an execution result sent by each of the transmission devices;
- the sending module is further configured to:
- the service management data is sent to a distributed controller of the source transmission device.
- the sending module is further configured to send a feature request message to the transmitting device before the calculating module generates the SNC information;
- the receiving module is further configured to receive a feature response message sent by each of the transmitting devices;
- the device also includes:
- a determining module configured to determine, according to the feature response message received by the receiving module, whether each of the transmitting devices is configured with a distributed controller.
- a service switching system includes: a software defined network SDN controller and a plurality of transmission devices;
- Each of the transmission devices is provided with the service switching device according to any one of the preceding claims, wherein the SDN controller is provided with the service switching device according to any one of the above.
- a computer readable storage medium storing computer executable instructions arranged to perform the above method.
- FIG. 1 is a schematic diagram of a network architecture in which an SDN controller and a distributed control plane coexist;
- FIG. 2 is a flowchart of a service switching method according to an embodiment
- FIG. 3 is a schematic diagram of a network architecture in a service switching method according to an embodiment
- FIG. 4 is a flowchart of a service switching method according to an embodiment
- FIG. 5 is a schematic diagram of networking of a transmission device in a service switching method according to an embodiment
- FIG. 6 is a flowchart of a service switching method provided by another embodiment
- FIG. 7 is a flowchart of a service switching method according to another embodiment.
- FIG. 8 is a flowchart of a service switching method according to another embodiment
- FIG. 9 is a flowchart of a service switching method according to another embodiment.
- FIG. 10 is a flowchart of signaling interaction of a service switching method according to an embodiment
- FIG. 11 is a schematic diagram of a network component for performing a service switching method according to an embodiment
- FIG. 13 is a flowchart of signaling interaction of a service switching method according to another application example.
- 16 is a signaling interaction flowchart of a service switching method according to another application example.
- FIG. 17 is a schematic structural diagram of a service switching apparatus according to an embodiment
- FIG. 18 is a schematic structural diagram of a service switching apparatus according to another embodiment.
- FIG. 19 is a schematic structural diagram of a service switching apparatus according to another embodiment.
- FIG. 20 is a schematic structural diagram of a service switching apparatus according to another embodiment.
- FIG. 21 is a schematic structural diagram of a service switching apparatus according to another embodiment.
- FIG. 22 is a schematic structural diagram of a service switching apparatus according to another embodiment.
- FIG. 23 is a schematic structural diagram of a service switching system according to another embodiment.
- FIG. 24 is a schematic diagram showing the hardware structure of a source transmission device according to an embodiment.
- ASON Packet Transport Network
- OTN Optical Transport Network
- the transmission device may be centrally managed and controlled by the SDN controller, or may be managed by a distributed controller configured by the device.
- FIG. 2 is a flowchart of a service switching method according to an embodiment.
- the service switching method provided in this embodiment can be applied to the case where the service data is controlled and restored in the network.
- the method can be implemented by the service switching device, and the service switching device can be implemented by combining hardware and software.
- the device can be integrated into the processor of the distributed controller of the source transport device for processing by the processor. As shown in FIG. 2, the method of this embodiment may include the following steps.
- step 110 the distributed controller of the source transmission device detects the state of the first signaling channel between the transmission device through which the service data is transmitted and the SDN controller.
- the service data managed by the SDN controller is switched to the distributed control plane for management control.
- the source transmission device in this embodiment is the transmission device corresponding to the source node of the service data, that is, the service.
- the SDN controller and the distributed control plane may have the same service management data, and the service management data is related configuration of the service data, that is, after the management right of the service management data is switched,
- the service management data can be transmitted normally, the service data is transmitted between the transmission devices, and the service management data is transmitted in the signaling channel.
- the distributed controller of the source transmission device can detect the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted in real time during the transmission of the service data.
- the state that is, whether the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted is connected, and the connection or disconnection of the first signaling channel is the basis for determining whether to switch the management right of the service management data. .
- step 120 when the distributed controller of the source transmission device detects that the first signaling channel is broken, the distributed controller of the source transmission device transmits service management data through the second signaling channel, where the service data is Indicates the transmitted data for the business management data.
- the service management data may be continuously managed by the SDN controller, and if the service data transmission is detected, The first signaling channel between each transmission device and the SDN controller is broken, that is, the first signaling channel cannot transmit service management data, indicating that the SDN controller is no longer suitable for managing service management data, and the second letter can be passed.
- the channel is configured to transmit service management data
- the second signaling channel is a transmission channel of service management data from the source transmission device to the control signaling of the sink transmission device.
- FIG. 3 is a schematic diagram of a network structure in a service switching method according to an embodiment, where “signaling channel 1” in FIG. 3 is a signaling channel through which service data is transmitted, and “signaling channel 1” is used in each transmission device.
- the "signaling channel 1" is a signaling channel for transmitting the service management data
- the "signaling channel 2" is in step 120. After each "signaling channel 1" is broken, the second signaling channel of the service management data is transmitted.
- the service data in the foregoing embodiment is data transmitted between transmission devices, that is, data transmitted through the “data transmission link” in FIG. 3;
- the service management data refers to related configuration of service data, and service management data. It is used to indicate data that needs to be transmitted in the service (ie, service data), and the service management data transmits data through the first signaling channel or the second signaling channel.
- the service management data includes, for example, whether the service is protective, whether the service is recoverable, configuration information of a source node (source transmission device) and a sink node (sink transmission device) of the service, and a transmission path of the service.
- the SDN controller when the first signaling channel between all the transmission devices and the SDN controller is broken, that is, the "signaling channel 1" used by the SDN controller in FIG. 3 to manage each transmission device is broken.
- the SDN controller no longer has the capability of managing the service management data, and the distributed management controller of the source transmission device manages the service management data, that is, the service management data is transmitted through the second signaling channel.
- the service management data is a distributed control enabled state.
- the distributed controller of the source transmission device can protect or recover the service data according to the relevant configuration of the service management data.
- the service management data is controlled by SDN Device management, once the SDN controller can not centrally control the transmission device, it is difficult to protect or restore the service data.
- the service management data is managed by the distributed control plane, it can be based on the protection of the service management data (protection attribute) or Recovery (recovery attribute), protection or recovery of transmitted business data.
- the source transmission device is a source transmission device corresponding to the current service management data.
- the source transmission device in the transmission network may be transformed; the signaling channel corresponding to the service management data and other The transmission equipment is related to the service data.
- the SDN controller and the distributed control plane coexist in the transmission network for a long time.
- the data transmission link is interrupted and the recovery time is long due to the failure of the transmission device, and the service switching method provided by the foregoing embodiment can use the distributed control plane. Protect and recover the service data carried in the transmission network.
- the service switching method provided in the foregoing embodiment detects the state of the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted through the distributed controller of the source transmission device, and detects the first signal.
- the service management data is transmitted through the second signaling channel; the service data indicates the transmitted data for the service management data, and the second signaling channel is the service management data from the source transmission device to the sink transmission device.
- Control signaling transmission channel when the first signaling channel is broken, transmits the service management data originally transmitted in the first signaling channel through the second signaling channel, and uses the distributed when the data transmission link is interrupted.
- the control plane protects and recovers the service data carried in the network.
- FIG. 4 is a flowchart of a service switching method according to an embodiment.
- the method provided in this embodiment may further include the following steps before step 110.
- step 105 the distributed controller of the source transmission device establishes a second signaling channel for transmitting service management data according to the service management data received from the SDN controller.
- the distributed controller of the source transmission device can receive the service data sent by the SDN controller to synchronize the SDN controller.
- the service data; the distributed controller of the source transmission device establishes a signaling channel of the service management data in the distributed control plane, that is, the second signaling channel, according to the service management data.
- FIG. 5 is a schematic diagram of networking of a transmission device according to an embodiment. If the source transmission device of the service management data is A and the sink transmission device is E, the service management data established in step 105 is used to transmit the service management data.
- the second signaling channel may be A->D->E, or A->B->E, or A->C->B->E.
- the distributed controller of the source transmission device can synchronize the service data in the SDN controller to the distributed controller of the source transmission device by receiving the service management data sent by the SDN controller.
- the SDN controller may send the service data group packet to the distributed controller of the source transmission device by using an OFPT_PACKET_OUT message, where the service data is filled in the data of the above message, and the content of the OFPT_PACKET_OUT message may include :
- the above provides an implementation method for synchronizing service management data in an SDN controller to a distributed control plane.
- the position where the service management data is placed in the signaling is specified in the above embodiment.
- the distributed controller of the source transmission device establishes an implementation of the second signaling channel for the service management data, that is, the step 105 may include:
- the distributed controller of the source transmission device converts the connection routing information in the service management data into an explicit route object (ERO) information, and establishes a second letter hop by hop with the sink transmission device of the service management data. Order channel.
- ERO explicit route object
- the distributed signaling controller of the source transmission device establishes a second signaling channel between the source transmission device and the sink transmission device (as in FIG. 5), and the second signaling channel is as shown in FIG. A->B->E, then a path (Resource ReSerVation Protocol-Traffic Engineering, RSVP-TE) path message between B and E (ie, sink transmission device)
- RSVP-TE Resource ReSerVation Protocol-Traffic Engineering
- the order from A to E, one hop and one hop to establish a channel) and the resv message (in the order of E to A, one hop and one hop to establish a channel) establish a second signaling channel.
- the path message is used to initiate a request to establish and release a connection, and apply for resource reservation.
- the resv message is used to respond to the Path request and complete the resource reservation action at each node.
- the method may further include the following steps.
- step 106 the distributed controller of the source transmission device determines the creation result of the second signaling channel.
- step 107 the distributed controller of the source transmission device sends the result of the creation of the second signaling channel to the SDN controller, where the result of the creation is used to indicate that the SDN controller transmits through the first signaling channel when the creation result is successful.
- the business management data ends the business switching process when the creation result is a creation failure.
- the distributed controller of the source transmission device may also determine the creation result of the signaling channel, and return the corresponding result to the SDN controller, so that the SDN controller knows Whether the business data is synchronized successfully.
- the distributed controller of the source transmission device can not only send the successfully created result to the SDN controller, but also set the service management data to the distributed control non-enabled state.
- the service data is controlled by the SDN controller), that is, the service data is identified by adding an identifier in this case, and is controlled by the SDN controller at this time.
- the creation result may be sent to the SDN controller through the OFPT_PACKET_IN message, and the extension reason field of the OFPT_PACKET_IN message is defined as The OFPR_TUNNEL_CREATED, the creation result may be carried in the data (data) of the extension reason field, and the content of the above OFPT_PACKET_IN message includes, for example:
- variable size and padded match is always followed by:
- OFPR_TABLE_MISS 0, /*No matching flow(table-miss flow entry).*/
- OFPR_APPLY_ACTION 1, /*Output to controller in apply-actions.*/
- OFPR_INVALID_TTL 2, /*Packet has invalid TTL*/
- OFPR_ACTION_SET 3, /*Output to controller in action set.*/
- OFPR_GROUP 4,/*Output to controller in group bucket.*/
- OFPR_PACKET_OUT 5, /*Output to controller in packet-out.*/
- OFPR_TUNNEL_CREATED 0xFF, /*The runnel is created.*/
- OFPR_TUNNEL_CREATED is an extension reason field carrying a creation result
- OFPR_TUNNEL_CREATED is an extension reason field carrying a creation result
- the foregoing provides an implementation method for identifying a result of creating a signaling channel by a distributed controller of the source transmission device from the SDN controller side.
- the result of the creation of the second service signaling channel created by the distributed controller of the source transport device can be identified by the extended protocol.
- the transmission device through which the service data is transmitted detects the first signaling channel between the transmission device and the SDN controller.
- the link is broken and reported to the distributed controller of the source transmission device by a notification message, and the first signaling channel between the transmission device that sends the notification message and the SDN controller is broken.
- the distributed controller of the source transmission device can record the received notification message and check whether all the transmission devices through which the service data passes report the notification message. If all the transmission devices through which the service data passes report the notification message, It is indicated that the SDN controller no longer has the control right of the service data, and the operation of setting the service management data to the distributed control enable state can be performed.
- an error code can be configured in the notification message:
- the above provides a method for the distributed controller of the source transmission device to determine the first signaling channel disconnection between the transmission device and the SDN controller through which the service data is transmitted.
- the foregoing embodiment extends the RSVP protocol to enable notification (The notify message can carry the message "Distributed controller of the transmission device and the SDN controller is broken".
- FIG. 6 is a flowchart of a service switching method according to an embodiment.
- the embodiment shown in FIG. 6 is based on the embodiment shown in FIG. 2.
- the method provided in this embodiment may further include the following steps.
- each transmission device through which the service data is transmitted receives the SubNetwork Connection (SNC) information sent by the SDN controller.
- SNC SubNetwork Connection
- each transmission device parses and executes the instructions in the SNC information.
- each transmission device sends an execution result to the SDN controller, and the execution result is used when the execution result is successful, and all the transmission devices through which the service data transmission passes are configured with the distributed controller, the indication station
- the SDN controller sends traffic management data to the distributed controller of the source transport device.
- the SDN controller can calculate the route and convert the routing result into SNC information, and pass the southbound protocol (the south direction of the SDN controller)
- the protocol supported by the interface is sent to each transmission device through which the service data is transmitted; each of the foregoing transmission devices can separately parse the SNC information, execute the instruction in the SNC information, and send the execution result to the SDN controller, thereby enabling the SDN
- the controller performs subsequent operations based on the execution results. If the execution result sent by each transmission device is successful, the SDN controller may further determine whether each transmission device through which the service data is transmitted is configured with a distributed controller, and each of the transmission devices is configured with distributed control. In the case of the device, the SDN controller performs an operation of synchronizing the service management data to the distributed control plane.
- each transmission device in the network can inform the SDN controller in advance whether the transmission device is configured with a distributed controller, so that the SDN controller determines whether the service management data can be synchronized to the distributed control plane.
- the transmission device informs the SDN controller whether it is configured with a distributed controller, including steps 100 and 101.
- each transmission device that establishes a link with the SDN controller receives a feature request message sent by the SDN controller.
- each transmission device sends a feature response message to the SDN controller, where the feature response message is used to indicate whether the transmission device is configured with a distributed controller.
- the SDN controller may send an OFPT_FEATURE_REQUEST message to the link-connecting transmission device, and the transmission device sends the OFPT_FEATURE_REPLY message to the SDN controller after the transmission device configuration.
- the capability field in the OFPT_FEATURE_REPLY message can set the bit bit of OFPC_DISTRIBUTED_CONTROL; when the device transmission does not configure the distributed controller, the bit bit is not required to be set.
- the SDN controller can determine whether the controller is configured on the corresponding transmission device by receiving and parsing the OFPT_FEATURE_REPLY message.
- the content of the above OFPT_FEATURE_REPLY message is as follows:
- the above OFPC_DISTRIBUTED_CONTROL is a capability field for setting a bit bit, and the above provides an implementation method for identifying whether a transmission device is configured with a distributed controller from an SDN controller, and the above embodiment extends the open flow (Openflow)
- the protocol identifies whether the transport device is configured with a distributed controller.
- each of the transmission devices described in steps 100 and 101 may be all transmission devices that are linked with the SDN controller. That is, as long as the transmission device satisfies the premise of establishing a link with the SDN controller, the SDN controller can be informed whether the transmission device is configured with the state of the distributed controller by sending a characteristic response message.
- Each of the transmission devices described in steps 102 to 104 may refer to all transmission devices through which service data is transmitted, that is, transmission devices related to current service management data.
- FIG. 7 is a flowchart of a service switching method according to an embodiment.
- the service switching method provided in this embodiment may be applicable to a service data recovery and switching control in a network, where the method may be performed by a service switching device.
- the service switching device can be implemented by a combination of hardware and software, and the device can be integrated into the processor of the SDN controller for the processor to call.
- the method of this embodiment may include the following steps.
- step 210 the SDN controller generates service management data.
- the SDN controller may generate service management data corresponding to the service establishment request.
- step 220 the SDN controller sends the service management data to the distributed controller of the corresponding source transmission device, so that the distributed controller of the source transmission device detects the transmission between the transmission device and the SDN controller through which the service data is transmitted.
- the service management data is transmitted through the second signaling channel; the service data indicates the transmitted data for the service management data.
- the service switching method provided by the foregoing embodiment is a method for switching service data managed by an SDN controller to a distributed control plane for management control.
- the source transmission device in the foregoing embodiment is a transmission device corresponding to a source node of service data, that is, a start transmission device for service data transmission.
- the SDN controller and the distributed control plane may have the same service management data, and the service management data is a related configuration of the service data, that is, the service is switched after the management right of the service management data is switched.
- the management data can be transmitted normally. Therefore, after generating the service data, the SDN controller can send the service management data to the distributed controller of the source transmission device corresponding to the service management data, and can synchronize the service management data with the distributed control plane. .
- the service data is data transmitted between the transmission devices, that is, data transmitted through the “data transmission link” in FIG. 3;
- the service management data refers to a related configuration of the service data, and the service management data is used to indicate the service.
- Data to be transmitted ie, service data
- the service management data is transmitted through the first signaling channel or the second signaling channel, and the service management data includes, for example, whether the service is protective, whether the service is recoverable, and the service Configuration information such as the source node and the sink node, and the transmission path of the service.
- the service management data group packet may be sent to the distributed controller of the source transmission device by using an OFPT_PACKET_OUT message, where the service management data is filled in the data of the above message (data In the above, the content of the OFPT_PACKET_OUT message has been explained in the above embodiment.
- the second signaling channel may be established by the distributed controller of the source transmission device according to the service management data received from the SDN controller, where the second signaling channel is the service management data from the source transmission device to
- the control signaling transmission channel of the sink transmission device can also refer to the network architecture shown in FIG. 3.
- the "signaling channel 2" in FIG. 3 is a second signaling channel established by the distributed controller of the source transmission device, and The manner in which the distributed controller of the source transmission device establishes the second signaling channel has also been described in the above embodiments.
- the SDN controller and the management service can be continuously managed.
- Data if it is detected that the first signaling channel between each transmission device and the SDN controller through which the service data is transmitted is broken, that is, the SDN controller in FIG. 3 is used to manage the signaling channel 1 of each transmission device. "All chains are broken.
- the SDN controller no longer has the ability to manage service management data, and the distributed controller of the source transmission device manages the management right of the service data, that is, the service management data is transmitted through the second signaling channel.
- the service management data is a distributed control enabled state.
- the distributed controller of the source transmission device can protect or recover the service data according to the relevant configuration of the service management data.
- the service management data is controlled by SDN Device management, once the SDN controller cannot perform centralized control on the transmission device, it is difficult to protect or restore the service data.
- the service management data is managed by the distributed control plane, it can be protected according to the protection or recovery of the service management data. Or restore the transmitted business data.
- the protection or recovery of the service management data may be whether the service data of the service managed by the service management data is protective or recoverable.
- the source transmission device is a source transmission device corresponding to the current service management data.
- the source transmission device in the transmission network may be transformed, the signaling channel corresponding to the service management data, and other The transmission equipment is related to the service data.
- the service switching method provided in the foregoing embodiment generates service management data by using an SDN controller, and sends the service management data to a distributed controller of the source transmission device corresponding to the service data, so that distributed control of the source transmission device is performed.
- the device may transmit service management data through the second signaling channel when detecting that the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted is disconnected; the service data indicates the transmission of the service management data.
- the second signaling channel is a control signaling transmission channel of the service management data from the source transmission device to the sink transmission device.
- the method provided by the foregoing embodiment when the first signaling channel is broken, transmits the service management data originally transmitted in the first signaling channel through the second signaling channel, and uses the distributed when the data transmission link is interrupted.
- the control plane protects and recovers the service data carried in the network.
- FIG. 8 is a flowchart of a service switching method according to an embodiment.
- the method may further include the following steps.
- step 230 the SDN controller receives the creation result of the second signaling channel sent by the distributed controller of the source transmission device.
- step 240 the SDN controller transmits the service management data through the first signaling channel when the creation result is successful, and ends the service switching process when the creation result is that the creation fails.
- the business management data is set to the distributed control non-enabled state.
- the creation result may be sent to the SDN controller, and the SDN controller may receive the creation result sent by the OFPT_PACKET_IN message, and obtain whether the service management data is obtained.
- the information of the successful synchronization may be carried in the data of the extension reason field of the OFPT_PACKET_IN message, and the content of the OFPT_PACKET_IN message has been explained in the above embodiment.
- the service management data is a distributed control non-enabled state.
- the distributed transmission controller of the source transmission device detects The first signaling channel between each transmission device and the SDN controller passing through the service data transmission is broken, indicating that the SDN controller no longer has the control right of the service management data, and may be distributed by the source transmission device.
- the controller manages the service management data, that is, the service management data is set to a distributed control enable state.
- an embodiment provides a service switching method, as shown in FIG. 9, a flowchart of a service switching method provided by this embodiment.
- the embodiment shown in FIG. 9 is based on the embodiment of FIG. 7.
- the method provided in this embodiment may further include the following steps.
- step 203 the SDN controller calculates and generates SNC information according to the service establishment request received from the APP.
- step 204 the SDN controller sends the SNC information to each of the transmission devices through which the service data is transmitted.
- step 205 the SDN controller receives the execution result sent by each transmission device.
- the SDN controller sends the service management data to the distributed controller of the corresponding source transmission device, that is, step 220 may include:
- each transmission device When the execution result of each transmission device is successful, and each transmission device is configured with a distributed controller, the service management data is transmitted to the distributed controller of the source transmission device.
- the SDN controller may calculate a route and convert the routing result into SNC information, and send the southbound protocol to each transmission device through which the service data transmission passes.
- the above-mentioned each transmission device can separately parse the SNC information, execute the instruction in the SNC information, and send the execution result to the SDN controller.
- the SDN controller may perform subsequent operations according to the execution result. If the execution result sent by each transmission device is successful, the SDN controller may continue to judge the transmission of the service data. Whether each transmission device is configured with a distributed controller, and in the case where each of the above transmission devices is configured with a distributed controller, the SDN controller performs an operation of synchronizing the service management data to the distributed control plane.
- the SDN controller may know in advance whether each transmission device in the network is configured with a distributed controller, thereby determining whether the service management data can be synchronized with the distributed control plane.
- the above implementation manner of knowing whether each transmission device in the network is configured with a distributed controller may include the following steps.
- step 200 the SDN controller sends a feature request message to each of the transmitting devices that establish a link with the SDN controller.
- step 201 the SDN controller separately receives the feature response message sent by each transmission device.
- step 202 the SDN controller determines, according to each feature response message, whether the transmission device that sends the feature response message is configured with a distributed controller.
- Steps 200 to 202 of the foregoing embodiment are different from the foregoing steps 204 and 205 in that each of the transmission devices described in steps 200 to 202 may be all transmission devices that are linked with the SDN controller. That is, as long as the transmission device satisfies the premise of establishing a link with the SDN controller, the SDN controller can be informed whether the transmission device is configured with the state of the distributed controller by sending a feature response message.
- Each of the transmission devices described in step 204 and step 205 may refer to all transmission devices through which the service data is transmitted, that is, the transmission device associated with the current service management data.
- FIG. 10 is a flowchart of signaling interaction of a service switching method according to an embodiment.
- the method provided in this embodiment is performed by an SDN controller and a transmission device, where the transmission device includes a source transmission device, a first transmission device, and a
- the second transmission device is: the first transmission device in FIG. 10 is: a device other than the source transmission device in the transmission device through which the service data is transmitted, and the second transmission device does not pass the service data, but establishes a link with the SDN controller.
- the device, as shown in FIG. 10, the method of this embodiment may include the following steps.
- step 301 the SDN controller and the transmission device in the network respectively establish a link.
- the SDN controller separately sends a feature request message (ie, an OFPT_FEATURE_REQUES message) to each of the transmission devices that establish a link with the SDN controller.
- a feature request message ie, an OFPT_FEATURE_REQUES message
- each of the foregoing transmission devices fills in the capability field (ie, capability field) in the OFPT_FEATURE_REPLY message, and the transmission device configured with the distributed controller sets the OFPC_DISTRIBUTED_CONTROL bit (bit) bit, and the transmission device not configured with the distributed controller does not Set the OFPC_DISTRIBUTED_CONTROL bit bit.
- each of the foregoing transmission devices sends a feature response message (ie, an OFPT_FEATURE_REPLY message) to the SDN controller.
- a feature response message ie, an OFPT_FEATURE_REPLY message
- step 305 the SDN controller parses the OFPT_FEATURE_REPLY message sent by each transmission device, and records whether each transmission device is configured with a distributed controller.
- step 306 the SDN controller receives the service establishment request sent by the APP.
- step 307 the SDN controller calculates the route and converts the routing result into SNC information.
- each of the foregoing steps 302 to 307 includes the source transmission device, the first transmission device, and the second transmission device in FIG. 9, wherein both the first transmission device and the second transmission device may be one or more .
- each of the following steps 308 to 326 is a transmission device that passes the service data transmission, that is, includes the source transmission device and the first transmission device in FIG.
- step 308 the SDN controller sends the SNC information to each transmission device through which the service data transmission passes through the OFPT_FLOW_MOD message, and sends an OFPT_BARRIER_REQUEST message as the end message.
- each transmission device through which the service data is transmitted parses the SNC information and executes an instruction in the SNC information.
- each transmission device through which the service data is transmitted transmits an execution result to the SDN controller through an OFPT_BARRIER_REPLY message.
- step 311 the SDN controller determines the received execution result; if there is a failed execution result, the process ends; if all execution results are successful, step 312 is performed.
- step 312 the SDN controller determines whether all the transmission devices through which the service data is transmitted are configured with a distributed controller; if any one of the transmission devices is not configured, the process ends; if all the transmission devices after the service data transmission pass If the distributed controller is configured, go to step 313.
- step 313 the SDN controller sends the service management data to the distributed controller of the source transmission device through the OFPT_PACKET_OUT message, where the service management data is a related configuration of the service data.
- step 314 the distributed controller of the source transmission device converts the connection routing information in the service management data into ERO information.
- step 315 the distributed controller of the source transmission device and the other transmission devices (ie, the first transmission device) through which the service data is transmitted establish a signaling channel 2 hop by hop through RSVP-TE signaling.
- step 316 the distributed controller of the source transmission device determines the creation result of the signaling channel 2; if the creation fails, step 317 is performed; if the creation is successful, step 318 is performed.
- step 317 the distributed controller of the source transmission device rolls back the previously established signaling channel 2. Then step 318 is performed.
- step 318 the distributed controller of the source transmission device sends the creation result to the SDN controller through the OFPT_PACKET_IN message; the content of the creation result may be a failure or a success.
- the method provided in this embodiment may further include: step 319 to step 325.
- step 319 the distributed controller of the source transport device sets the traffic management data to a distributed control non-enabled state. It indicates that the service management data at this time is controlled and controlled by the SDN controller, that is, the service management data is transmitted through the signaling channel 1.
- the SDN controller is disconnected from the source transmission device and the first transmission device, that is, the signaling channel 1 between the SDN controller and all the transmission devices through which the service data is transmitted is broken.
- step 320 after detecting that the signaling channel 1 is broken, the first transmission device sends a notification message to the distributed controller of the source transmission device.
- step 321 the distributed controller of the source transmission device records the received notification message, and checks whether all the transmission devices that have passed the service data transmission report the notification message; if all the transmission devices that have passed the service data transmission are not reported, The notification message ends the process; if all the transmission devices through which the service data is transmitted report the notification message, step 321 is performed.
- step 322 the distributed controller of the source transmission device sets the service management data to a distributed control enabled state, that is, transmits the service management data through the signaling channel 2.
- step 323 the service data sends a transmission failure in the process of transmission, and the distributed controller of the source transmission device receives the alarm message sent by the downstream transmission device.
- step 324 the distributed controller of the source transmission device determines whether the service data has a recovery attribute, and determines whether the service management data is a distributed control enabled state; if the service data does not have a recovery attribute and the service management data is distributed Controlling the enabled state, or the service data has a recovery attribute and the service management data is a distributed control non-enabled state, or the service data does not have a recovery attribute and the service management data is a distributed control non-enabled state, and the process ends; If the service data has a recovery attribute and the service management data is in a distributed control enabled state, step 325 is performed.
- the distributed controller of the source transmission device can determine whether the service data has a recovery attribute through the service management data.
- step 325 the service management data is managed by a distributed controller of the source transmission device, and the service management data has a recovery attribute. Therefore, the distributed controller of the source transmission device can protect or recover the service data.
- FIG. 11 is a schematic diagram of a network component for performing a service switching method in an embodiment.
- the network components shown in FIG. 11 may include the following components: an APP, a northbound communication channel, an SDN controller, a southbound open flow protocol channel, and a transmission device supporting the OPENFLOW protocol.
- the APP is used to deliver a service establishment request to the client, and the instruction is issued by the HyperText Transfer Protocol (HTTP) protocol.
- HTTP HyperText Transfer Protocol
- the northbound communication channel supports the HTTP protocol.
- the northbound interface of the SDN controller supports the HTTP protocol.
- the SDN controller can parse the service establishment request that is sent, and the SDN controller has the routing calculation capability.
- the southbound interface of the SDN controller supports the OpenFlow (OPENFLOW) protocol.
- the northbound interface may be an interface for the SDN controller to receive data
- the southbound interface may be an interface for the SDN controller to send data.
- the SDN controller can parse the bit of the OFPC_DISTRIBUTED_CONTROL set in the capabilities field of the OFPT_FEATURE_REPLY;
- the instruction is sent to the transmission device side through the OFPT_FLOW_MOD;
- the service data of the source node can be sent to the source transmission device through the OFPT_PACKET_OUT message; and the service data setting response carried in the OFPT_PACKET_IN message can be parsed.
- the OPENFLOW protocol channel is the channel for interaction between the SDN controller and the transmission device.
- the transmission device supporting the OPENFLOW protocol can convert the OFPT_FLOW_MOD message sent by the SDN controller into an instruction and deliver it to the optical device. If the transmission device is configured with a distributed controller, the distributed controller of the transmission device can synchronize the service management data to the distributed controller. The result is fed back to the SDN controller through the OFPT_PACKET_IN message, and the distributed controller of the transmission device can be disconnected.
- the case of the chain informs the distributed controller of the source transport device via a notify message that the distributed controller of the transport device can resolve the chain break event in the notify message.
- FIG. 4 is a schematic diagram of a networking of a transmission device, and FIG. 4 has five transmission devices, namely, A, B, C, D, E, and F. If the transmission device B is not configured with a distributed controller, the transmission device A and the transmission device The signaling between C is unreachable.
- FIG. 12 is a flowchart of signaling interaction of a service switching method provided by an application example.
- the method provided in this embodiment is performed by an SDN controller and a transmission device, and the transmission device includes the transmission devices A, B, C, D, E, and F in FIG. 4, as shown in FIG. Includes the following steps.
- step 401 the SDN controller and the transmission devices A, B, C, D, E, and F respectively establish a link.
- step 402 the SDN controller sends a feature request message (ie, an OFPT_FEATURE_REQUES message) to the transmission devices A, B, C, D, E, and F, respectively.
- a feature request message ie, an OFPT_FEATURE_REQUES message
- step 403 the transmission devices A, C, D, E, and F fill in the capability field (ie, the capabilities field) in the OFPT_FEATURE_REPLY message, and set the bit bit, and the transmission device B does not set the bit bit.
- the capability field ie, the capabilities field
- step 404 the transmission devices A, B, C, D, E, and F respectively send a feature response message (ie, an OFPT_FEATURE_REPLY message) to the SDN controller.
- a feature response message ie, an OFPT_FEATURE_REPLY message
- step 405 the SDN controller parses each OFPT_FEATURE_REPLY message and records the case where the transmission devices A, B, C, D, E, F configure the distributed controller.
- the SDN controller receives the service establishment request sent by the APP, and the service establishment request sent by the APP to the SDN controller through the northbound protocol (the protocol supported by the northbound interface) is: establishing a packet from the transmission device A to the transmission device B.
- a service connection, the business management data of the service has no protection attribute and has a recovery attribute.
- step 407 the SDN controller calculates the route as A->B and converts the routing result into SNC information.
- step 408 the SDN controller converts the SNC information into an OFPT_FLOW_MOD message and sends it to the transmission devices A, B, and sends the OFPT_BARRIER_REQUEST as an end message.
- step 409 the transmission devices A, B parse the OFPT_FLOW_MOD message, and execute the corresponding instruction, and the transmission devices A, B successfully execute the instruction.
- step 410 the transmission devices A, B send the execution result to the SDN controller through OFPT_BARRIER_REPLY.
- step 411 the SDN controller determines that the execution results of the transmission devices A and B are all successful.
- step 412 the SDN controller determines whether the transmission devices A, B are all configured with a distributed controller; since the transmission device B is not configured with a distributed controller, the flow ends.
- FIG. 13 is a flowchart of a signaling interaction of a service switching method provided by an application example.
- the method provided in this embodiment is performed by an SDN controller and a transmission device, and the transmission device includes the transmission devices A and B in FIG. 4 .
- the transmission device includes the transmission devices A and B in FIG. 4 .
- C, D, E, F, as shown in FIG. 13, the method of this embodiment may include the following steps.
- step 501 the SDN controller and the transmission devices A, B, C, D, E, and F respectively establish a link.
- step 502 the SDN controller sends a feature request message (ie, an OFPT_FEATURE_REQUES message) to the transmission devices A, B, C, D, E, and F, respectively.
- a feature request message ie, an OFPT_FEATURE_REQUES message
- step 503 the transmission devices A, C, D, E, and F fill in the capability field (ie, the capabilities field) in the OFPT_FEATURE_REPLY message, and set the OFPC_DISTRIBUTED_CONTROL bit (bit) bit, and the transmission device B does not set the OFPC_DISTRIBUTED_CONTROL bit (bit) bit.
- the capability field ie, the capabilities field
- the transmission device B does not set the OFPC_DISTRIBUTED_CONTROL bit (bit) bit.
- step 504 the transmission devices A, B, C, D, E, and F respectively send a feature response message (ie, an OFPT_FEATURE_REPLY message) to the SDN controller.
- a feature response message ie, an OFPT_FEATURE_REPLY message
- step 505 the SDN controller parses each OFPT_FEATURE_REPLY message and records the transmission device A, B, C, D, E, F configuration of the distributed controller.
- step 506 the SDN controller receives the service establishment request sent by the APP, and the service establishment request sent by the APP to the SDN controller through the northbound protocol is: establishing a service connection from the transmission device A to the transmission device C, and the service of the service Management data has no protection attributes and has recovery attributes.
- step 507 the SDN controller calculates the route as A->C and converts the routing result into SNC information.
- step 508 the SDN controller converts the SNC information into an OFPT_FLOW_MOD message and sends it to the transmission devices A, C, and sends the OFPT_BARRIER_REQUEST as the end message.
- step 509 the transmission devices A, C parse the OFPT_FLOW_MOD message and execute the corresponding instruction. Both transmission devices A and C successfully execute the command.
- step 510 the transmission devices A, C send the execution result to the SDN controller through OFPT_BARRIER_REPLY.
- step 511 the SDN controller determines that the execution results of the transmission devices A and C are all successful.
- step 512 the SDN controller determines that the transmission devices A and C are all configured with a distributed controller.
- step 513 the SDN controller sends the service management data to the transmission device A (that is, the source transmission device corresponding to the service data) through the OFPT_PACKET_OUT message.
- step 514 the distributed controller of the transmission device A converts the connection routing information of the service management data into ERO information.
- step 515 the distributed controller of the transmission device A and the transmission device C establish a signaling channel 2 through a path message and a resv message of RSVP-TE signaling.
- step 516 the distributed controller of the transmission device A determines the creation result of the signaling channel 2; since the signaling between the transmission device A and the transmission device C is unreachable, the signaling establishment fails.
- step 517 the transmission device A sends the failure result to the SDN controller through the OFPT_PACKET_IN message, and the process ends.
- FIG. 14 is a flowchart of a signaling interaction of a service switching method according to an application example.
- the method provided in this embodiment is performed by an SDN controller and a transmission device, and the transmission device includes the transmission devices A and B in FIG. 4 .
- the transmission device includes the transmission devices A and B in FIG. 4 .
- C, D, E, F, as shown in FIG. 14, the method of this embodiment may include the following steps.
- step 601 the SDN controller and the transmission devices A, B, C, D, E, and F respectively establish a link.
- step 602 the SDN controller sends a feature request message (ie, an OFPT_FEATURE_REQUES message) to the transmission devices A, B, C, D, E, and F, respectively.
- a feature request message ie, an OFPT_FEATURE_REQUES message
- step 603 the transmission devices A, C, D, E, and F fill in the capability field (ie, the capabilities field) in the OFPT_FEATURE_REPLY message, and set the OFPC_DISTRIBUTED_CONTROL bit (bit) bit, and the transmission device B does not set the OFPC_DISTRIBUTED_CONTROL bit (bit) bit.
- the capability field ie, the capabilities field
- the transmission device B does not set the OFPC_DISTRIBUTED_CONTROL bit (bit) bit.
- step 604 the transmission devices A, B, C, D, E, and F respectively send a feature response message (ie, an OFPT_FEATURE_REPLY message) to the SDN controller.
- a feature response message ie, an OFPT_FEATURE_REPLY message
- step 605 the SDN controller parses each OFPT_FEATURE_REPLY message and records the case where the transmission devices A, B, C, D, E, and F configure the distributed controller.
- step 606 the SDN controller receives the service establishment request sent by the APP, and the service establishment request sent by the APP to the SDN controller through the northbound protocol is: establishing a service connection from the transmission device A to the transmission device E, and the service of the service Management data has no protection attributes and has recovery attributes.
- step 607 the SDN controller calculates the route as A->D->E, and converts the routing result into SNC information.
- step 608 the SDN controller converts the SNC information into an OFPT_FLOW_MOD message and sends it to the transmission devices A, D, and E, and sends the OFPT_BARRIER_REQUEST as the end message.
- step 609 the transmission devices A, D, and E parse the OFPT_FLOW_MOD message and execute the corresponding instruction.
- the transmission devices A, D, and E all successfully execute the instructions.
- step 610 the transmission devices A, D, and E send the execution result to the SDN controller through OFPT_BARRIER_REPLY.
- step 611 the SDN controller determines that the execution results of the transmission devices A, D, and E are all successful.
- step 612 the SDN controller determines that the transmission devices A, D, and E are all configured with a distributed controller.
- step 613 the SDN controller sends the service management data to the transmission device A (ie, the source transmission device corresponding to the service data) through the OFPT_PACKET_OUT message.
- step 614 the distributed controller of the transmission device A converts the connection routing information of the service management data into ERO information.
- step 615 a path message (A->D->E) and a resv message (E->D->A) between the distributed controller of the transmission device A and the transmission device D and E through RSVP-TE signaling. , establish signaling channel 2 hop by hop.
- step 616 the distributed controller of the transmission device A determines that the creation of the signaling channel 2 is successful.
- step 617 the transmitting device A sends the successful result to the SDN controller through the OFPT_PACKET_IN message.
- step 618 the transmission device A sets the service management data to a distributed control non-enabled state. It indicates that the service data at this time is controlled by the SDN controller, that is, the service management data is transmitted through the signaling channel 1.
- the SDN controller is turned off, that is, the signaling channel 1 between the transmission devices A, B, C, D, E, F and the SDN controller is broken.
- transmission devices D and E send a notification message to the distributed controller of transmission device A.
- step 620 the distributed controller of the transmission device A records the received notification message, and confirms that all the transmission devices through which the service data passes (ie, the transmission devices D and E) report the notification message, and the transmission device A and the SDN controller The signaling channel 1 between them is also broken.
- step 621 the distributed controller of the transmission device A sets the service management data to a distributed control enabled state, that is, transmits the service management data through the signaling channel 2.
- step 622 the transmission device D or E sends an alarm message to the transmission device A.
- step 623 the distributed controller of the transmission device A determines that the service management data has a recovery attribute, and the service management data is a distributed control enabled state.
- step 624 the distributed controller of the transmission device A performs a rerouting operation on the service data, for example, rerouting the service data to the path of A->F->E for transmission, because the service data is transmitted by the transmission device A at this time.
- the distributed controller management therefore, the distributed controller of the transmission device A can recover the service management data, and the process ends.
- FIG. 15 is a flowchart of a signaling interaction of a service switching method according to an application example.
- the method provided in this embodiment is performed by an SDN controller and a transmission device, and the transmission device includes the transmission devices A and B in FIG. 4 .
- the transmission device includes the transmission devices A and B in FIG. 4 .
- C, D, E, F, as shown in FIG. 15, the method of this embodiment may include the following steps.
- step 701 the SDN controller and the transmission devices A, B, C, D, E, and F respectively establish a link.
- step 702 the SDN controller sends a feature request message (ie, an OFPT_FEATURE_REQUES message) to the transmission devices A, B, C, D, E, and F, respectively.
- a feature request message ie, an OFPT_FEATURE_REQUES message
- step 703 the transmission devices A, C, D, E, and F fill in the capability field (ie, capability field) in the OFPT_FEATURE_REPLY message, and set the OFPC_DISTRIBUTED_CONTROL bit bit, and the transmission device B does not set the OFPC_DISTRIBUTED_CONTROL bit bit.
- capability field ie, capability field
- step 704 the transmission devices A, B, C, D, E, and F respectively send a feature response message (ie, an OFPT_FEATURE_REPLY message) to the SDN controller.
- a feature response message ie, an OFPT_FEATURE_REPLY message
- step 705 the SDN controller parses each OFPT_FEATURE_REPLY message and records the transmission device A, B, C, D, E, F configuration of the distributed controller.
- step 706 the SDN controller receives the service establishment request sent by the APP, and the service establishment request sent by the APP to the SDN controller through the northbound protocol is: establishing a service connection from the transmission device A to the transmission device E, and the service of the service Management data has no protection attributes and no recovery attributes.
- step 707 the SDN controller calculates the route as A->D->E, and converts the routing result into SNC information.
- step 708 the SDN controller converts the SNC information into an OFPT_FLOW_MOD message and sends it to the transmission devices A, D, and E, and sends the OFPT_BARRIER_REQUEST as the end message.
- step 709 the transmission devices A, D, E parse the OFPT_FLOW_MOD message and execute the corresponding instruction.
- the transmission devices A, D, and E all successfully execute the instructions.
- step 710 the transmission devices A, D, and E send the execution result to the SDN controller through OFPT_BARRIER_REPLY.
- step 711 the SDN controller determines that the execution results of the transmission devices A, D, and E are all successful.
- step 712 the SDN controller determines that the transmission devices A, D, and E are all configured with a distributed controller.
- step 713 the SDN controller sends the service management data to the transmission device A (that is, the source transmission device corresponding to the service data) through the OFPT_PACKET_OUT message.
- step 714 the distributed controller of the transmission device A converts the connection routing information of the service management data into ERO information.
- step 715 a path message (A->D->E) and a resv message (E->D-) between the distributed controller of the transmission device A and the transmission device D and E through RSVP-TE signaling. >A), establish signaling channel 2 hop by hop.
- step 716 the distributed controller of the transmission device A determines that the creation of the signaling channel 2 is successful.
- step 717 the transmission device A sends the success result to the SDN controller through the OFPT_PACKET_IN message.
- step 718 the transmission device A sets the service management data to a distributed control non-enabled state. It indicates that the service data at this time is controlled by the SDN controller, that is, the service management data is transmitted through the signaling channel 1.
- the SDN controller is turned off, that is, the signaling channel 1 between the transmission devices A, B, C, D, E, F and the SDN controller is broken.
- step 719 transmission devices D and E send a notify message to the distributed controller of transmission device A.
- step 720 the distributed controller of the transmission device A records the received notification message, and confirms that all the transmission devices through which the service data passes (ie, the transmission devices D and E) report the notification message, and the transmission device A and the SDN controller The signaling channel 1 between them is also broken.
- step 721 the distributed controller of the transmission device A sets the service management data to a distributed control enabled state, that is, transmits the service management data through the signaling channel 2.
- step 722 the transmission device D or E sends an alarm message to the transmission device A.
- step 722 the distributed controller of the transmission device A determines that the service management data has no protection attribute and does not have a recovery attribute, and the process ends.
- FIG. 16 is a flowchart of a signaling interaction of a service switching method according to an application example.
- the method provided in this embodiment is performed by an SDN controller and a transmission device, and the transmission device includes the transmission devices A and B in FIG. 4 .
- the transmission device includes the transmission devices A and B in FIG. 4 .
- C, D, E, F, as shown in FIG. 16, the method of this embodiment may include the following steps.
- step 801 the SDN controller and the transmission devices A, B, C, D, E, and F respectively establish a link.
- step 802 the SDN controller sends a feature request message (ie, an OFPT_FEATURE_REQUES message) to the transmission devices A, B, C, D, E, and F, respectively.
- a feature request message ie, an OFPT_FEATURE_REQUES message
- step 803 the transmission devices A, C, D, E, and F fill in the capability field (ie, capability field) in the OFPT_FEATURE_REPLY message, and set the OFPC_DISTRIBUTED_CONTROL bit bit, and the transmission device B does not set the OFPC_DISTRIBUTED_CONTROL bit bit.
- capability field ie, capability field
- step 804 the transmission devices A, B, C, D, E, and F respectively send a feature response message (ie, OFPT_FEATURE_REPLY) message to the SDN controller.
- a feature response message ie, OFPT_FEATURE_REPLY
- step 805 the SDN controller parses each OFPT_FEATURE_REPLY message and records the transmission device A, B, C, D, E, F configuration of the distributed controller.
- step 806 the SDN controller receives the service establishment request sent by the APP, and the service establishment request sent by the APP to the SDN controller through the northbound protocol is: establishing a service connection from the transmission device A to the transmission device E, and the service of the service Management data has protection attributes and no recovery attributes.
- step 807 the SDN controller calculates that the working route is A->D->E, the protection route is A->F->E, and the routing result is converted into SNC information.
- step 808 the SDN controller converts the SNC information into an OFPT_FLOW_MOD message and sends it to the transmission devices A, D, E, and F, and sends the OFPT_BARRIER_REQUEST as the end.
- step 809 the transmission devices A, D, E, F parse the OFPT_FLOW_MOD message and execute the instruction.
- the transmission devices A, D, E, and F all successfully execute the instructions.
- step 810 the transmission devices A, D, E, and F send the execution result to the SDN controller through OFPT_BARRIER_REPLY.
- step 811 the SDN controller determines that the execution results of the transmission devices A, D, E, and F are all successful.
- step 812 the SDN controller determines that the transmission devices A, D, E, and F are all configured with a distributed controller.
- step 813 the SDN controller sends the service management data to the transmission device A (that is, the source transmission device corresponding to the service data) through the OFPT_PACKET_OUT message.
- step 814 the distributed controller of the transmission device A converts the connection routing information of the service management data into ERO information.
- a path message (A->D->E) and a resv message (E->D->A) between the distributed controller of the transmission device A and the transmission device D and E through RSVP-TE signaling In step 815, a path message (A->D->E) and a resv message (E->D->A) between the distributed controller of the transmission device A and the transmission device D and E through RSVP-TE signaling. , establishing a signaling channel 2-1 hop by hop; a path message (A->F->E) and a resv message (E->F->E) and a resv message between the distributed controller of the transmission device A and the transmission device F and E through RSVP-TE signaling ->F->A), establish signaling channel 2-2 hop by hop.
- step 816 the distributed controller of the transmission device A determines that both the signaling channel 2-1 and the signaling channel 2-2 are successfully created.
- step 817 the transmission device A sends the success result to the SDN controller through the OFPT_PACKET_IN message.
- step 818 the transmission device A sets the service management data to a distributed control non-enabled state. It indicates that the service data at this time is controlled by the SDN controller, that is, the service management data is transmitted through the signaling channel 1.
- the SDN controller is turned off, that is, the signaling channel 1 between the transmission devices A, B, C, D, E, F and the SDN controller is broken.
- step 819 transmission devices D and E send a notification message to the distributed controller of transmission device A.
- step 820 the distributed controller of the transmission device A records the received notification message, and confirms that all the transmission devices through which the service data passes (ie, the transmission devices D and E) report the notification message, and the transmission device A and the SDN controller The signaling channel 1 between them is also broken.
- step 821 the distributed controller of the transmission device A sets the service management data to a distributed control enabled state, that is, transmits the service management data through the signaling channel 2.
- step 822 the transmitting device D or E sends an alert message to the transmitting device A.
- step 823 the distributed controller of the transmission device A determines that the service management data has a protection attribute and does not have a recovery attribute, and the service management data is a distributed control enabled state.
- step 824 the distributed controller of the transmission device A converts the service data from the working route (A->D->E) to the protection route (A->F->E) for transmission, because the service data is The distributed controller of the transmission device A is managed. Therefore, the distributed controller of the transmission device A can protect the service data, and the process ends.
- the service switching method provided by the foregoing embodiment implements that when the SDN controller cannot manage the transmission device, the switch can be switched to the service data by the distributed control plane, so that when the data transmission link is interrupted, the distributed control is performed.
- the plane can recover and switch the business.
- the SND controller can synchronize the service data to the distributed control plane. After the distributed controller of the source transmission device establishes the service data, It can also be perceived on the SDN controller to ensure that the service and resource management on the distributed controller does not conflict with the service and resource management on the SDN controller.
- FIG. 17 is a schematic structural diagram of a service switching apparatus according to an embodiment.
- the service switching apparatus provided in this embodiment may be applicable to a service in which data is restored and switched in a network, and the service switching apparatus may pass hardware.
- the device can be integrated into the processor of the distributed controller of the source transport device for processing by the processor.
- the service switching apparatus of this embodiment may include: a detecting module 11 and a control module 12.
- the detecting module 11 is configured to detect a state of the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted.
- the control module 12 is configured to transmit the service management data through the second signaling channel when the detecting module 11 detects the first signaling channel disconnection; wherein the service data indicates the transmitted data for the service management data, and the second The signaling channel is a transmission channel of the control signaling of the service management data from the source transmission device to the sink transmission device.
- the service switching device provided by the foregoing embodiment can switch the service data managed by the SDN controller to the distributed control plane for management control.
- the device in the foregoing embodiment is disposed in the distributed controller of the source transmission device, and the source transmission device is configured.
- the transmission device corresponding to the source node of the service data that is, the initial transmission device of the service data transmission.
- the SDN controller and the distributed control plane may have the same service management data, and the service management data is related configuration of the service data, that is, the management right switching of the service management data is guaranteed.
- the service management data can then be transmitted, the service data is transmitted between the transmission devices, and the service management data is transmitted in the signaling channel.
- the detecting module 11 can detect the state of the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted, that is, Whether the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted is normally connected, and the connection or disconnection of the first signaling channel is the basis for determining whether to switch the management right of the service management data.
- the detecting module 11 detects that the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted is connected, the data may be continuously managed by the SDN controller and the management service, if the detection module 11 It is detected that the first signaling channel between each transmission device and the SDN controller through which the service data is transmitted is broken, that is, the first signaling channel cannot transmit the service management data, indicating that the SDN controller is no longer suitable for managing the service management data.
- the service management data may be transmitted through the second signaling channel, where the second signaling channel is a control signaling transmission channel of the service management data from the source transmission device to the sink transmission device.
- the service data is data transmitted between the transmission devices, that is, data transmitted through the “data transmission link” in FIG. 3;
- the service management data refers to a related configuration of the service data, and the service management data is used to indicate the service.
- Data to be transmitted ie, service data
- the service management data is transmitted through the first signaling channel or the second signaling channel, and the service management data includes, for example, whether the service is protective, whether the service is recoverable, and the service Configuration information such as the source node and the sink node, and the transmission path of the service.
- the control module 12 can protect or restore the service data according to the relevant configuration of the service management data.
- the source transmission device is a source transmission device corresponding to the current service management data. If the service management data is different, the source transmission device in the transmission network may be changed. Therefore, the service switching device in the embodiment of the present invention It can be set in any transmission device in the transmission network; the signaling channel and other transmission devices corresponding to the service management data are related to the service data.
- the service switching apparatus provided by the foregoing embodiment may perform the service switching method provided by the embodiment shown in FIG. 2, and has corresponding functional modules.
- FIG. 18 is a schematic structural diagram of a service switching apparatus according to an embodiment.
- the apparatus provided in this embodiment may further include: a receiving module 13 and an establishing module 14 on the basis of the structure of the apparatus shown in FIG.
- the receiving module 13 is configured to receive the service management data sent by the SDN controller before the detecting module detects the state of the first signaling channel.
- the establishing module 14 is configured to establish a second signaling channel for transmitting the service management data according to the service management data received by the receiving module 13.
- the service management data can be transmitted. Therefore, the receiving module 13 can receive the service data sent by the SDN controller to synchronize the service data from the SDN controller, and establish The module 14 establishes a signaling channel, that is, a second signaling channel, of the service management data in the distributed control plane according to the service management data.
- the receiving module 13 can receive the service data sent by the SDN controller to synchronize the service data in the SDN controller.
- the SDN controller may send the service data group packet to the distributed controller of the source transmission device by using an OFPT_PACKET_OUT message, wherein the service data is filled in the data of the above message, and the content of the OFPT_PACKET_OUT message is as described above. It has been explained in the examples.
- the establishing module 14 establishing the second signaling channel may include:
- connection routing information in the service management data is converted into an explicit routing object ERO information, and a second signaling channel is established hop by hop with the sink transmission device of the service management data.
- the manner in which the distributed controller of the source transmission device establishes the second signaling channel between the source transmission device and the sink transmission device may be, for example, the second signaling channel is A-> in FIG. B->E, then pass the RSVP-TE path (path from A to E, establish a channel by one hop) with B and E (ie, the sink transmission device) and resv (from E to A) The order, one hop and one hop to establish a channel) message establishes a second signaling channel.
- the apparatus in the above embodiment may further include: a determining module 15 and a sending module 16.
- the determining module 15 is arranged to determine the creation result of the second signaling channel after the establishing module 14 establishes the second signaling channel.
- the sending module 16 is configured to send the creation result determined by the determining module 15 to the SDN controller, where the creation result is used to instruct the SDN controller to transmit the service management data through the first signaling channel when the creation result is successful, and the creation result is The business switching process ends when the creation fails.
- the service management data may also be set to a distributed control non-enabled state, that is, the service data is identified by adding an identifier to the SDN controller.
- the sending module 16 may send the creation result to the SDN controller by using an OFPT_PACKET_IN message, and the extension reason field of the OFPT_PACKET_IN message may be defined as OFPR_TUNNEL_CREATED
- the creation result may be carried in the data of the extension reason field, and the content of the OFPT_PACKET_IN message has been explained in the above embodiment.
- the receiving module 13 is further configured to receive the service data transmission before the detecting module 11 detects that the first signaling channel between all the transmission devices that have passed the service data transmission and the SDN controller is broken.
- the distributed controller of the source transmission device may record the received notification message, and check whether all the transmission devices through which the service data passes report the notification message, and if all the transmission devices through which the service data passes report the notification message, It is indicated that the SDN controller no longer has the control right of the service data, and the operation of setting the service management data to the distributed control enabled state may be performed.
- the content of the notify message has been explained in the above embodiment.
- the service switching apparatus provided by the foregoing embodiment may perform the service switching method provided by the embodiment shown in FIG. 4, and has a corresponding function module.
- an embodiment provides a service switching apparatus.
- this embodiment provides a schematic structural diagram of a service switching apparatus.
- the apparatus provided in this embodiment may further include: a receiving module 13, a parsing module 17, and a sending module 16.
- the receiving module 13 is configured to receive the subnet link SNC information sent by the SDN controller before the detecting module 11 detects the state of the first signaling channel; the SNC information is calculated by the SDN controller according to the service establishment request sent by the APP.
- the parsing module 17 is arranged to parse and execute the instructions in the SNC information received by the receiving module 13.
- the sending module 16 is configured to send the execution result obtained by the parsing module 17 to the SDN controller, where the execution result is used to indicate that the SDN controller transmits the device to the source when the execution result is successful, and the transmission device is configured with the distributed controller.
- the distributed controller sends the service management data.
- the transmission device here refers specifically to each transmission device through which the service data passes, that is, the transmission device related to the current service management data.
- each transmission device in the network may inform the SDN controller in advance whether the transmission device is configured with a distributed controller such that the SDN controller determines whether the service management data can be synchronized to the distributed control plane.
- the receiving module 13 may be further configured to receive the feature request message sent by the SDN controller before receiving the SNC information sent by the SDN controller.
- the sending module 16 can also be configured to send a feature response message to the SDN controller, the feature response message being used to indicate whether the transmission device is configured with a distributed controller.
- the transmission device here may be all transmission devices that are linked with the SDN controller, that is, the transmission device satisfies the premise of establishing a link with the SDN controller, and may notify the SDN controller whether the transmission device is configured by sending a characteristic response message. The state of the distributed controller.
- the service switching apparatus provided by the foregoing embodiment may perform the service switching method provided by the embodiment shown in FIG. 6 and have corresponding functional modules.
- the sending module 16 and the receiving module 13 in the multiple embodiments shown in FIG. 17 to FIG. 19 are implemented by a transceiver of a distributed controller of a source transmission device, and the establishing module 14 and the control module 12 are
- the determining module 15, the detecting module 11 and the parsing module 17 may be implemented by a processor of a distributed controller of the source transmitting device, which may be, for example, a central processing unit (CPU) or a specific integrated circuit. (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits that implement the above embodiments.
- CPU central processing unit
- ASIC Application Specific Integrated Circuit
- FIG. 20 is a schematic structural diagram of a service switching apparatus according to an embodiment.
- the service switching apparatus provided in this embodiment is applicable to a case where service data is restored and switched in a network, and the service switching apparatus can pass hardware.
- the device can be integrated into the processor of the SDN controller for use by the processor.
- the service switching apparatus of this embodiment may include: a generating module 21 and a sending module 22.
- the generating module 21 is configured to generate service management data.
- the generating module 21 may generate service management data corresponding to the service establishment request after the SDN controller receives the service establishment request sent by the APP.
- the sending module 22 is configured to send the service management data generated by the generating module 21 to the distributed controller of the corresponding source transmitting device, so that the distributed controller of the source transmitting device detects the transmission device and the SDN control through which the service data is transmitted.
- the service management data is transmitted through the second signaling channel, and the service data indicates the transmitted data for the service management data.
- the service switching device switches the service data managed by the SDN controller to the distributed control plane for management and control
- the source transmission device is the transmission device corresponding to the source node of the service data, that is, the initial transmission of the service data transmission. device.
- the SDN controller and the distributed control plane Before the switching of the signaling channel of the service management data, the SDN controller and the distributed control plane have the same service management data, and the service management data is related configuration of the service data, that is, after the management right of the service management data is switched.
- the service management data can be transmitted. Therefore, after the service module generates the service data, the sending module 22 can send the service management data to the distributed controller of the source transmission device corresponding to the service management data to the distributed control plane. Synchronize the business management data.
- the service data is data transmitted between the transmission devices, that is, data transmitted through the “data transmission link” in FIG. 3; the service management data refers to a related configuration of the service data, and the service management data is used to indicate the service.
- the data to be transmitted that is, the service data
- the service management data is transmitted through the first signaling channel or the second signaling channel, and the service management data includes, for example, whether the service is protective, and whether the service is recoverable.
- Configuration information such as the source node and sink node of the service, and the transmission path of the service.
- the sending module 22 sends an implementation manner of the service data, and the service management data group packet may be sent to the distributed controller of the source transmission device by using an OFPT_PACKET_OUT message, where the service management data is filled in the data of the above message (data In the above, the content of the OFPT_PACKET_OUT message has been explained in the above embodiment.
- the second signaling channel in the foregoing embodiment is established by the distributed controller of the source transmission device according to the service management data received from the SDN controller, where the second signaling channel is the service management data from the source transmission device to the sink.
- the control signaling transmission channel of the transmission device reference may be made to the network architecture shown in FIG. 3.
- the "signaling channel 2" in FIG. 3 is a second signaling channel established by the distributed controller of the source transmission device; and, the source transmission
- the manner in which the distributed controller of the device establishes the second signaling channel is also illustrated in the above embodiments.
- the service switching apparatus provided by the foregoing embodiment may perform the service switching method provided by the embodiment shown in FIG. 7 and have corresponding functional modules.
- FIG. 21 is a schematic structural diagram of a service switching apparatus according to an embodiment.
- the apparatus provided in this embodiment may further include: a receiving module 23 and a control module 24, based on the structure of the apparatus shown in FIG.
- the receiving module 23 is configured to receive the creation result of the second signaling channel sent by the distributed controller of the source transmission device after the sending module 22 sends the service management data to the distributed controller of the corresponding source transmission device.
- the control module 24 is configured to transmit the service management data through the first signaling channel when the creation result received by the receiving module 23 is successful, and end the service switching process when the creation result is a creation failure.
- the business management data is set to the distributed control non-enabled state.
- the service switching apparatus provided by the foregoing embodiment may perform the service switching method provided by the embodiment shown in FIG. 8 of the present invention, and has a corresponding function module.
- FIG. 22 is a schematic structural diagram of a service switching device according to an embodiment.
- the embodiment shown in FIG. 22 is based on the embodiment of FIG. 20.
- the receiving module 23 is further configured to receive the service establishment request sent by the sequence APP before the generating module 21 generates the service management data.
- the service switching apparatus may further include: a calculating module 25, a sending module 22, and a receiving module 23.
- the calculation module 25 is arranged to generate SNC information based on the service establishment request received by the receiving module 23.
- the sending module 22 is further configured to send the SNC information obtained by the computing module 25 to each of the transmitting devices through which the service data passes.
- the receiving module 23 is also arranged to receive an execution result transmitted by each transmitting device.
- the distributed controller that sends the service management data to the corresponding source transmission device by the sending module 22 may include:
- each transmission device When the execution result of each transmission device is successful, and each transmission device is configured with a distributed controller, the service management data is transmitted to the distributed controller of the source transmission device.
- Each of the above transmission devices refers to all transmission devices through which the service data passes, that is, transmission devices related to the current service data.
- the SDN controller may know in advance whether each of the transmission devices in the network is configured with a distributed controller, so as to determine whether the service management data can be synchronized to the distributed control plane, that is, in the apparatus provided in this embodiment. .
- the transmitting module 22 is further arranged to transmit a feature request message to each of the transmitting devices that establish a link with the SDN controller, respectively.
- the receiving module 23 is further configured to receive a feature response message sent by each of the transmitting devices, respectively.
- the switching device provided by the above embodiment may further include: a determining module 26.
- the determining module 26 is arranged to determine, based on each of the feature response messages received by the receiving module 23, whether the transmitting device transmitting the feature response message is configured with a distributed controller.
- Each of the foregoing transmission devices may be all transmission devices that are linked with the SDN controller, that is, as long as the transmission device satisfies the premise of establishing a link with the SDN controller, the SDN controller may be notified whether the transmission device is transmitted by sending a feature response message.
- the status of the distributed controller is configured.
- the service switching apparatus provided by the foregoing embodiment may perform the service switching method provided by the embodiment shown in FIG. 9 and have corresponding functional modules.
- the sending module 22 and the receiving module 23 in the multiple embodiments shown in FIG. 20 to FIG. 22 can be implemented by a transceiver of the SDN controller, the generating module 21, the control module 24, the calculating module 25, and the determining.
- Module 26 may be implemented by a processor of an SDN controller, which may be, for example, a CPU, or an ASIC, or one or more integrated circuits implementing at least one of the methods and modules of the above-described embodiments.
- FIG. 23 is a schematic structural diagram of a service switching system according to an embodiment.
- the service switching system includes an SDN controller 100 and a plurality of transmission devices 200.
- Each of the transmission devices 200 in this embodiment is configured with the foregoing FIG. 17 to FIG.
- the SDN controller 100 is provided with the service switching apparatus in any of the embodiments shown in FIG. 20 to FIG.
- the embodiment shown in FIG. 23 is exemplified by including six transmission devices 200 in the service switching system, and may be, for example, the transmission devices A, B, C, D, E, and F in FIG. 5, in the service switching system.
- the manner in which the multiple network elements perform the service switching is the same as the manner in which the corresponding network element performs the service switching in the foregoing embodiment shown in FIG. 17 to FIG. 22, and is also used to perform the implementation of any embodiment shown in FIG. 2 to FIG.
- the business switching method has the corresponding physical device.
- All or part of the above steps may be performed by a program to instruct related hardware (eg, a processor), which may be stored in a computer readable storage medium such as a read only memory, a magnetic disk, or an optical disk.
- a program to instruct related hardware eg, a processor
- a computer readable storage medium such as a read only memory, a magnetic disk, or an optical disk.
- all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits.
- each module or unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Program or instruction to implement its corresponding function.
- the present embodiment provides a computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
- the above technical solution may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to execute All or part of the steps of the method described in the above embodiments.
- the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
- An embodiment provides a source transmission device, and the hardware structure of the source transmission device is as shown in FIG.
- the source transmission device includes:
- At least one processor 30 (eg, a distributed controller), one processor 30 is exemplified in FIG. 3; a memory 31; and a communication interface 32 and a bus 33 may also be included.
- the processor 30, the memory 31, and the communication interface 32 can complete communication with each other through the bus 33.
- the processor 30 can call the logic instructions in the memory 31 to perform the method performed by the distributed controller of the source transmission device in the above embodiments.
- logic instructions in the memory 31 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
- the memory 31 is a computer readable storage medium usable for storing a software program, a computer executable program, such as a program instruction or a module corresponding to a method executed by a distributed controller of the source transmission device in the above embodiment.
- the processor 30 executes the functional application and the data processing by executing a software program, an instruction or a module stored in the memory 31, that is, a method of implementing the distributed controller of the source transmission device in the above embodiment.
- the memory 31 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like. Further, the memory 31 may include a high speed random access memory, and may also include a nonvolatile memory.
- the service switching method and device when the SDN controller centrally controls the transmission device, switches the service management data of the transmission interruption to the distributed control plane for management, so as to ensure that when the transmission device fails, the distributed control plane pair is used.
- the service data carried in the network is protected and restored.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本公开涉及无线通信技术领域,例如,一种业务切换方法、装置及业务切换系统。The present disclosure relates to the field of wireless communication technologies, for example, a service switching method, apparatus, and service switching system.
传输网络中已大规模部署分布式控制平面,软件定义网络(Software Defined Network,SDN)技术以其对网络流量控制的灵活性,在传送网络中部署SDN控制器的需求高。The distributed control plane has been deployed on a large scale in the transmission network. The Software Defined Network (SDN) technology has high flexibility in controlling the network traffic, and the requirement for deploying the SDN controller in the transport network is high.
在传送网络领域中,还没有大规模使用SDN技术。一旦大规模使用SDN技术,SDN控制器和分布式控制平面在传送网络中在很长一段时间内都可能是同时存在的,图1为SDN控制器和分布式控制平面共存的网络构架的示意图,网络中的节点设备可以由对应的分布式控制器控制,也可以由与网络中的节点设备建立链接的SDN控制器管理控制。对网络中节点设备的集中管理控制中,SDN控制器和分布式控制器在架构和协议使用等方面有以下区别:SDN控制器和传输设备之间交互一般使用开放流(OPENFLOW)协议、路径计算元素协议(Path Computation Element Protocol,PCEP)和网络配置协议(Network configuration protocol,NETCONF);分布式控制平面的框架一般都满足自动交换光网络(Automatically Switched Optical Network,ASON)中定义的智能光网络体系结构建议(Architecture for the ASON)(即G.8080)的要求,且支持通用多协议标记交换(Generalized Multiprotocol Label Switching,GMPLS)的基于流量工程扩展的资源预留协议(Resource ReSerVation Protocol-Traffic Engineering,RSVP-TE)、链路管理协议(Link Management Protocol,LMP)和开放式最短路径优先(Open Shortest Path First,OSPF)等协议。In the field of transport networks, there is no large-scale use of SDN technology. Once the SDN technology is used on a large scale, the SDN controller and the distributed control plane may exist simultaneously in the transmission network for a long period of time. FIG. 1 is a schematic diagram of a network architecture in which the SDN controller and the distributed control plane coexist. The node devices in the network may be controlled by corresponding distributed controllers or may be managed by an SDN controller that establishes a link with node devices in the network. In the centralized management control of node devices in the network, the SDN controller and the distributed controller have the following differences in architecture and protocol usage: the interaction between the SDN controller and the transmission device generally uses the open flow (OPENFLOW) protocol, path calculation. The Path Computation Element Protocol (PCEP) and the Network Configuration Protocol (NETCONF); the framework of the distributed control plane generally meets the intelligent optical network system defined in the Automatically Switched Optical Network (ASON). Resource ReSerVation Protocol-Traffic Engineering, which supports the requirements of Architecture for the ASON (G.8080) and supports Generalized Multiprotocol Label Switching (GMPLS). RSVP-TE), Link Management Protocol (LMP), and Open Shortest Path First (OSPF) protocols.
虽然SDN控制器的集中管控(即管理和控制)相对于分布式控制平面是有优势,但是在业务管理数据传输中断的情况下,由于传送设备中断业务管理数据的传输波及面太广,对于传送设备的恢复和倒换等性能要求非常高,一旦SDN控制器无法对传输设备集中控制,业务管理数据的传输很可能中断以至于无法传输业务数据的问题。Although the centralized management and control (ie, management and control) of the SDN controller is advantageous over the distributed control plane, in the case where the service management data transmission is interrupted, since the transmission device interrupts the transmission of the service management data, the transmission surface is too wide for transmission. Performance requirements such as recovery and switching of devices are very high. Once the SDN controller is unable to centrally control the transmission equipment, the transmission of service management data is likely to be interrupted so that the service data cannot be transmitted.
发明内容Summary of the invention
以下实施例提供了一种业务切换方法、装置及业务切换系统,以实现在SDN控制器集中管控传输设备的情况下,将传输中断的业务管理数据切换到分布式控制平面中进行管理,以保证在传输设备出现故障时,使用分布式控制平面对网络中承载的业务数据进行保护和恢复。The following embodiments provide a service switching method, a device, and a service switching system, so that when the SDN controller centrally controls the transmission device, the service management data of the transmission interruption is switched to the distributed control plane for management, so as to ensure When the transmission device fails, the distributed control plane is used to protect and recover the service data carried in the network.
一种业务切换方法,包括:A service switching method includes:
源传输设备的分布式控制器检测业务数据传输经过的传输设备与软件定义网络SDN控制器之间的第一信令通道的状态;以及The distributed controller of the source transmission device detects the state of the first signaling channel between the transmission device through which the service data is transmitted and the software-defined network SDN controller;
当所述源传输设备的分布式控制器检测到所述第一信令通道断链时,所述源传输设备的分布式控制器通过第二信令通道传输业务管理数据;其中,所述业务数据为所述业务管理数据指示传输的数据,以及所述第二信令通道为从所述源传输设备到宿传输设备传输所述业务管理数据的控制信令的通道。When the distributed controller of the source transmission device detects that the first signaling channel is broken, the distributed controller of the source transmission device transmits service management data through the second signaling channel; wherein the service The data indicates the transmitted data for the service management data, and the second signaling channel is a channel for transmitting control signaling of the service management data from the source transmission device to the sink transmission device.
一实施例中,所述源传输设备的分布式控制器检测所述第一信令通道的状态之前,所述方法还包括:In an embodiment, before the distributed controller of the source transmission device detects the state of the first signaling channel, the method further includes:
所述源传输设备的分布式控制器根据从所述SDN控制器接收到的业务管理数据,建立用于传输所述业务管理数据的所述第二信令通道。The distributed controller of the source transmission device establishes the second signaling channel for transmitting the service management data according to the service management data received from the SDN controller.
一实施例中,所述源传输设备的分布式控制器建立所述第二信令通道,包括:In an embodiment, the distributed controller of the source transmission device establishes the second signaling channel, including:
所述源传输设备的分布式控制器将所述业务管理数据中的连接路由信息转化为显式路由对象ERO信息,并与所述业务管理数据的宿传输设备之间逐跳建立所述第二信令通道。The distributed controller of the source transmission device converts the connection routing information in the service management data into an explicit routing object ERO information, and establishes the second hop by hop with the sink transmission device of the service management data. Signaling channel.
一实施例中,所述源传输设备的分布式控制器建立所述第二信令通道之后,所述方法还包括:In an embodiment, after the distributed controller of the source transmission device establishes the second signaling channel, the method further includes:
所述源传输设备的分布式控制器确定所述第二信令通道的创建结果;以及a distributed controller of the source transmission device determines a result of creation of the second signaling channel;
所述源传输设备的分布式控制器将所述第二信令通道的创建结果发送给所述SDN控制器,其中,所述创建结果用于指示所述SDN控制器在所述创建结果为创建成功时通过所述第一信令通道传输业务管理数据,在所述创建结果为创建失败时结束业务切换流程。The distributed controller of the source transmission device sends a result of the creation of the second signaling channel to the SDN controller, where the creation result is used to indicate that the SDN controller creates the creation result When the service management data is transmitted through the first signaling channel, the service switching process ends when the creation result is a creation failure.
一实施例中,所述源传输设备的分布式控制器在检测到所述第一信令通道断链之前,所述方法还包括:In an embodiment, before the distributed controller of the source transmission device detects that the first signaling channel is broken, the method further includes:
所述源传输设备的分布式控制器接收所述业务数据传输经过的传输设备发送的通知消息,其中,所述通知消息用于指示所述传输设备与所述SDN控制器之间的第一信令通道断链。The distributed controller of the source transmission device receives a notification message sent by the transmission device through which the service data is transmitted, where the notification message is used to indicate a first message between the transmission device and the SDN controller Make the channel broken.
一实施例中,所述源传输设备的分布式控制器检测所述第一信令通道的状态之前,所述方法还包括:In an embodiment, before the distributed controller of the source transmission device detects the state of the first signaling channel, the method further includes:
所述源传输设备的分布式控制器接收所述SDN控制器发送的子网链接SNC信息;The distributed controller of the source transmission device receives the subnet link SNC information sent by the SDN controller;
所述源传输设备的分布式控制器解析并执行所述SNC信息中的指令;以及The distributed controller of the source transmission device parses and executes the instructions in the SNC information;
所述源传输设备的分布式控制器将执行结果发送给所述SDN控制器,其中,所述执行结果用于在所述执行结果为成功,且所述业务数据传输经过的所有传输设备配置了分布式控制器时,指示所述SDN控制器向所述源传输设备的分布式控制器发送所述业务管理数据。The distributed controller of the source transmission device sends an execution result to the SDN controller, where the execution result is used to be successful in the execution result, and all transmission devices through which the service data transmission passes are configured And the distributed controller instructs the SDN controller to send the service management data to a distributed controller of the source transmission device.
一实施例中,所述源传输设备的分布式控制器接收所述SDN控制器发送的子网链接SNC信息之前,所述方法还包括:In an embodiment, before the distributed controller of the source transmission device receives the subnet link SNC information sent by the SDN controller, the method further includes:
所述源传输设备的分布式控制器接收所述SDN控制器发送的特征请求消息;以及The distributed controller of the source transmission device receives a feature request message sent by the SDN controller;
所述源传输设备的分布式控制器向所述SDN控制器发送特征响应消息,其中,所述特征响应消息用于指示所述源传输设备是否配置有分布式控制器。The distributed controller of the source transmission device sends a feature response message to the SDN controller, wherein the feature response message is used to indicate whether the source transmission device is configured with a distributed controller.
一种源传输设备,包括:A source transmission device includes:
至少一个处理器;以及At least one processor;
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述的方法。一种业务切换方法,包括:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above. A service switching method includes:
软件定义网络SDN控制器生成业务管理数据;以及Software defined network SDN controller generates service management data;
所述SDN控制器将所述业务管理数据发送给对应的源传输设备的分布式控制器,使得所述源传输设备的分布式控制器在检测到业务数据传输经过的传输设备与所述SDN控制器之间的第一信令通道断链时,通过第二信令通道传输所述业务管理数据;其中,所述业务数据为所述业务管理数据指示传输的数据,以及所述第二信令通道为从所述源传输设备到宿传输设备传输所述业务管理数据的控制信令的通道。The SDN controller sends the service management data to a distributed controller of the corresponding source transmission device, so that the distributed controller of the source transmission device detects the transmission device through which the service data is transmitted and the SDN control The service management data is transmitted through the second signaling channel when the first signaling channel between the devices is broken; wherein the service data indicates the transmitted data for the service management data, and the second signaling The channel is a channel for transmitting control signaling of the service management data from the source transmission device to the sink transmission device.
一实施例中,所述第二信令通道为所述源传输设备的分布式控制器根据从所述SDN控制器接收到的所述业务管理数据建立的。In an embodiment, the second signaling channel is established by the distributed controller of the source transmission device according to the service management data received from the SDN controller.
一实施例中,所述SDN控制器将所述业务管理数据发送给对应的源传输设备的分布式控制器之后,所述方法还包括:In an embodiment, after the SDN controller sends the service management data to the distributed controller of the corresponding source transmission device, the method further includes:
所述SDN控制器接收所述源传输设备的分布式控制器发送的所述第二信令通道的创建结果;以及Receiving, by the SDN controller, a creation result of the second signaling channel sent by a distributed controller of the source transmission device;
所述SDN控制器在所述创建结果为创建成功时,通过所述第一信令通道传输所述业务管理数据,在所述创建结果为创建失败时结束业务切换流程。The SDN controller transmits the service management data by using the first signaling channel when the creation result is successful, and ends the service switching process when the creation result is a creation failure.
一实施例中,所述SDN控制器生成业务管理数据之前,所述方法还包括:In an embodiment, before the SDN controller generates the service management data, the method further includes:
所述SDN控制器根据从应用程序APP接收的业务建立请求,计算并生成子网链接SNC信息;The SDN controller calculates and generates a subnet link SNC information according to a service establishment request received from the application APP;
所述SDN控制器将所述SNC信息发送给所述业务数据传输经过的每个传输设备;以及The SDN controller sends the SNC information to each of the transmission devices through which the service data is transmitted;
所述SDN控制器接收所述每个传输设备发送的执行结果;The SDN controller receives an execution result sent by each of the transmission devices;
所述SDN控制器将所述业务管理数据发送给对应的源传输设备的分布式控制器,包括:The SDN controller sends the service management data to a distributed controller of the corresponding source transmission device, including:
所述SDN控制器在所述执行结果为成功,且所述每个传输设备配置了分布式控制器时,向所述源传输设备的分布式控制器发送所述业务管理数据。The SDN controller sends the service management data to a distributed controller of the source transmission device when the execution result is successful, and each of the transmission devices is configured with a distributed controller.
一实施例中,所述SDN控制器生成所述SNC信息之前,所述方法还包括:In an embodiment, before the SDN controller generates the SNC information, the method further includes:
所述SDN控制器向传输设备发送特征请求消息;Sending, by the SDN controller, a feature request message to the transmission device;
所述SDN控制器接收所述每个传输设备发送的特征响应消息;以及Receiving, by the SDN controller, a feature response message sent by each of the transmission devices;
所述SDN控制器根据所述特征响应消息确定所述每个传输设备是否配置有分布式控制器。The SDN controller determines, according to the feature response message, whether each of the transmission devices is configured with a distributed controller.
一种业务切换装置,设置于传输设备的分布式控制器中,包括:A service switching device is disposed in a distributed controller of a transmission device, and includes:
检测模块,设置为检测业务数据传输经过的传输设备与软件定义网络SDN控制器之间的第一信令通道的状态;以及a detecting module configured to detect a state of a first signaling channel between a transmission device through which the service data is transmitted and a software-defined network SDN controller;
控制模块,设置为在所述检测模块检测到所述第一信令通道断链时,通过第二信令通道传输业务管理数据;其中,所述业务数据为所述业务管理数据指示传输的数据,以及所述第二信令通道为从所述源传输设备到宿传输设备传输所述业务管理数据的控制信令的通道。a control module, configured to: when the detecting module detects the disconnection of the first signaling channel, transmit service management data by using a second signaling channel; where the service data indicates the transmitted data for the service management data And the second signaling channel is a channel for transmitting control signaling of the service management data from the source transmission device to the sink transmission device.
一实施例中,所述的装置还包括:In an embodiment, the apparatus further includes:
第一接收模块,设置为在所述检测模块检测所述第一信令通道的状态之前,接收所述SDN控制器发送的业务管理数据;以及The first receiving module is configured to receive the service management data sent by the SDN controller before the detecting module detects the state of the first signaling channel;
建立模块,设置为根据所述接收模块接收到的所述业务管理数据,建立用 于传输所述业务管理数据的所述第二信令通道。And establishing a module, configured to establish, according to the service management data received by the receiving module, the second signaling channel for transmitting the service management data.
一实施例中,所述建立模块建立所述第二信令通道,包括:In an embodiment, the establishing module establishes the second signaling channel, including:
将所述业务管理数据中的连接路由信息转化为显式路由对象ERO信息,并与所述业务管理数据的宿传输设备之间逐跳建立所述第二信令通道。And converting the connection routing information in the service management data into an explicit routing object ERO information, and establishing the second signaling channel hop by hop with the sink transmission device of the service management data.
一实施例中,所述的装置还包括:In an embodiment, the apparatus further includes:
确定模块,设置为在所述建立模块建立所述第二信令通道之后,确定所述第二信令通道的创建结果;以及Determining a module, configured to determine a result of creating the second signaling channel after the establishing module establishes the second signaling channel;
发送模块,设置为将所述确定模块确定的所述第二信令通道的创建结果发送给所述SDN控制器,其中,所述创建结果用于指示所述SDN控制器在所述创建结果为创建成功时通过所述第一信令通道传输业务管理数据,在所述创建结果为创建失败时结束业务切换流程。a sending module, configured to send a result of the creation of the second signaling channel determined by the determining module to the SDN controller, where the creation result is used to indicate that the SDN controller is in the creation result When the creation is successful, the service management data is transmitted through the first signaling channel, and the service switching process is ended when the creation result is a creation failure.
一实施例中,所述的装置还包括:In an embodiment, the apparatus further includes:
第一接收模块,设置为在所述检测模块检测到所述第一信令通道断链之前,接收所述业务数据传输经过的传输设备发送的通知消息,其中,所述通知消息用于指示所述传输设备与所述SDN控制器之间的第一信令通道断链。The first receiving module is configured to receive, before the detecting module detects that the first signaling channel is broken, receiving a notification message sent by the transmission device that is transmitted by the service data, where the notification message is used to indicate The first signaling channel between the transmission device and the SDN controller is broken.
一实施例中,所述的装置还包括:In an embodiment, the apparatus further includes:
第二接收模块,设置为在所述检测模块检测所述第一信令通道的状态之前,接收所述SDN控制器发送的子网链接SNC信息;The second receiving module is configured to receive the subnet link SNC information sent by the SDN controller before the detecting module detects the state of the first signaling channel;
解析模块,设置为解析并执行所述第二接收模块接收的所述SNC信息中的指令;以及a parsing module configured to parse and execute an instruction in the SNC information received by the second receiving module;
发送模块,设置为将解析模块得到的执行结果发送给所述SDN控制器,其中,所述执行结果用于在所述执行结果为成功,且所述业务数据传输经过的所有传输设备配置了分布式控制器时,指示所述SDN控制器向所述源传输设备的分布式控制器发送所述业务管理数据。a sending module, configured to send an execution result obtained by the parsing module to the SDN controller, where the execution result is used to be successful in the execution result, and all transmission devices through which the service data transmission passes are configured with a distribution And instructing, by the SDN controller, the SDN controller to send the service management data to a distributed controller of the source transmission device.
一实施例中,所述第二接收模块还设置为在接收所述SDN控制器发送的所述SNC信息之前,接收所述SDN控制器发送的特征请求消息;以及In an embodiment, the second receiving module is further configured to receive a feature request message sent by the SDN controller before receiving the SNC information sent by the SDN controller;
所述发送模块还设置为向所述SDN控制器发送特征响应消息,其中,所述特征响应消息用于指示所述源传输设备是否配置有分布式控制器。The sending module is further configured to send a feature response message to the SDN controller, where the feature response message is used to indicate whether the source transmission device is configured with a distributed controller.
一种业务切换装置,设置于软件定义网络SDN控制器中,包括:A service switching device is disposed in a software defined network SDN controller, and includes:
生成模块,设置为生成业务管理数据;以及Generate a module that is set to generate business management data;
发送模块,设置为将所述生成模块生成的所述业务管理数据发送给对应的 源传输设备的分布式控制器,使得所述源传输设备的分布式控制器在检测到业务数据传输经过的传输设备与所述SDN控制器之间的第一信令通道断链时,通过第二信令通道传输所述业务管理数据;其中,所述业务数据为所述业务管理数据指示传输的数据,以及所述第二信令通道为从所述源传输设备到宿传输设备传输所述业务管理数据的控制信令的通道。a sending module, configured to send the service management data generated by the generating module to a distributed controller of a corresponding source transmitting device, so that the distributed controller of the source transmitting device detects the transmission of the service data transmission Transmitting, by the second signaling channel, the service management data when the first signaling channel between the device and the SDN controller is broken; wherein the service data indicates the transmitted data for the service management data, and The second signaling channel is a channel for transmitting control signaling of the service management data from the source transmission device to the sink transmission device.
一实施例中,所述第二信令通道为所述源传输设备的分布式控制器根据从所述SDN控制器接收到的所述业务管理数据建立的。In an embodiment, the second signaling channel is established by the distributed controller of the source transmission device according to the service management data received from the SDN controller.
一实施例中,所述的装置还包括:In an embodiment, the apparatus further includes:
接收模块,设置为在所述发送模块将所述业务管理数据发送给对应的源传输设备的分布式控制器之后,接收所述源传输设备的分布式控制器发送的所述第二信令通道的创建结果;以及a receiving module, configured to receive, after the sending module sends the service management data to a distributed controller of a corresponding source transmission device, the second signaling channel sent by a distributed controller of the source transmission device Creation result;
控制模块,设置为在所述接收模块接收到的所述创建结果为创建成功时,通过所述第一信令通道传输所述业务管理数据,在所述创建结果为创建失败时结束业务切换流程。a control module, configured to transmit the service management data by using the first signaling channel when the creation result of the receiving module is successfully created, and ending the service switching process when the creation result is a creation failure .
一实施例中,所述的装置还包括:In an embodiment, the apparatus further includes:
接收模块,设置为在所述生成模块生成业务管理数据之前,接收应用程序APP发送的业务建立请求;以及a receiving module, configured to receive a service establishment request sent by the application APP before the generating module generates the service management data;
计算模块,设置为根据所述接收模块接收的业务建立请求,计算并生成子网链接SNC信息;其中,a calculation module, configured to calculate and generate a subnet link SNC information according to the service establishment request received by the receiving module;
所述发送模块还设置为将所述计算模块生成的所述SNC信息发送给所述业务数据传输经过的每个传输设备;The sending module is further configured to send the SNC information generated by the computing module to each transmission device through which the service data is transmitted;
所述接收模块还设置为接收所述每个传输设备发送的执行结果;The receiving module is further configured to receive an execution result sent by each of the transmission devices;
所述发送模块还设置为:The sending module is further configured to:
在所述执行结果为成功,且所述每个传输设备配置了分布式控制器时,向所述源传输设备的分布式控制器发送所述业务管理数据。When the execution result is successful, and each of the transmission devices is configured with a distributed controller, the service management data is sent to a distributed controller of the source transmission device.
一实施例中,所述发送模块还设置为在所述计算模块生成SNC信息之前,向传输设备发送特征请求消息;In an embodiment, the sending module is further configured to send a feature request message to the transmitting device before the calculating module generates the SNC information;
所述接收模块还设置为接收所述每个传输设备发送的特征响应消息;The receiving module is further configured to receive a feature response message sent by each of the transmitting devices;
所述装置还包括:The device also includes:
确定模块,设置为根据所述接收模块接收的所述特征响应消息确定所述每个传输设备是否配置有分布式控制器。And a determining module, configured to determine, according to the feature response message received by the receiving module, whether each of the transmitting devices is configured with a distributed controller.
一种业务切换系统,包括:软件定义网络SDN控制器和多个传输设备;A service switching system includes: a software defined network SDN controller and a plurality of transmission devices;
其中,每个传输设备中设置有如上述任一项所述的业务切换装置,所述SDN控制器中设置有上述任一项所述的业务切换装置。Each of the transmission devices is provided with the service switching device according to any one of the preceding claims, wherein the SDN controller is provided with the service switching device according to any one of the above.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。A computer readable storage medium storing computer executable instructions arranged to perform the above method.
图1为SDN控制器和分布式控制平面共存的网络构架的示意图;1 is a schematic diagram of a network architecture in which an SDN controller and a distributed control plane coexist;
图2为一实施例提供的一种业务切换方法的流程图;2 is a flowchart of a service switching method according to an embodiment;
图3为一实施例提供的业务切换方法中网络构架的示意图;3 is a schematic diagram of a network architecture in a service switching method according to an embodiment;
图4为一实施例提供的一种业务切换方法的流程图;4 is a flowchart of a service switching method according to an embodiment;
图5为一实施例提供的业务切换方法中传输设备的组网示意图;FIG. 5 is a schematic diagram of networking of a transmission device in a service switching method according to an embodiment;
图6为另一实施例提供的业务切换方法的流程图;6 is a flowchart of a service switching method provided by another embodiment;
图7为另一实施例提供的业务切换方法的流程图;FIG. 7 is a flowchart of a service switching method according to another embodiment;
图8为另一实施例提供的业务切换方法的流程图;FIG. 8 is a flowchart of a service switching method according to another embodiment;
图9为另一实施例提供的业务切换方法的流程图;FIG. 9 is a flowchart of a service switching method according to another embodiment;
图10为一实施例提供的业务切换方法的信令交互流程图;10 is a flowchart of signaling interaction of a service switching method according to an embodiment;
图11为一实施例提供的执行业务切换方法的网络组件的示意图;11 is a schematic diagram of a network component for performing a service switching method according to an embodiment;
图12为一应用实例提供的一种业务切换方法的信令交互流程图;12 is a signaling interaction flowchart of a service switching method provided by an application example;
图13为另一应用实例提供的一种业务切换方法的信令交互流程图;FIG. 13 is a flowchart of signaling interaction of a service switching method according to another application example;
图14为另一应用实例提供的一种业务切换方法的信令交互流程图;14 is a signaling interaction flowchart of a service switching method according to another application example;
图15为另一应用实例提供的一种业务切换方法的信令交互流程图;15 is a signaling interaction flowchart of a service switching method according to another application example;
图16为另一应用实例提供的一种业务切换方法的信令交互流程图;16 is a signaling interaction flowchart of a service switching method according to another application example;
图17为一实施例提供的一种业务切换装置的结构示意图;FIG. 17 is a schematic structural diagram of a service switching apparatus according to an embodiment; FIG.
图18为另一实施例提供的一种业务切换装置的结构示意图;FIG. 18 is a schematic structural diagram of a service switching apparatus according to another embodiment; FIG.
图19为另一实施例提供的一种业务切换装置的结构示意图;FIG. 19 is a schematic structural diagram of a service switching apparatus according to another embodiment;
图20为另一实施例提供的一种业务切换装置的结构示意图;FIG. 20 is a schematic structural diagram of a service switching apparatus according to another embodiment;
图21为另一实施例提供的一种业务切换装置的结构示意图;FIG. 21 is a schematic structural diagram of a service switching apparatus according to another embodiment;
图22为另一实施例提供的一种业务切换装置的结构示意图;FIG. 22 is a schematic structural diagram of a service switching apparatus according to another embodiment;
图23为另一实施例提供一种业务切换系统的结构示意图;以及FIG. 23 is a schematic structural diagram of a service switching system according to another embodiment; and
图24为一实施例提供一种源传输设备的硬件结构示意图。FIG. 24 is a schematic diagram showing the hardware structure of a source transmission device according to an embodiment.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在一些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
下面通过实施例对技术方案进行详细说明,以下涉及到已部署的分布式平面(例如为ASON)的传输网络,该传输网络可以是分组传送网(Packet Transport Network,PTN)和光传送网(Optical Transport Network,OTN)。参考图1,传输设备可以由SDN控制器进行集中管理控制,也可以由该设备配置的分布式控制器管理控制。The technical solution is described in detail below by using an embodiment. The following relates to a transmission network of a deployed distributed plane (for example, ASON), which may be a Packet Transport Network (PTN) and an Optical Transport Network (Optical Transport). Network, OTN). Referring to FIG. 1, the transmission device may be centrally managed and controlled by the SDN controller, or may be managed by a distributed controller configured by the device.
图2为一实施例提供的一种业务切换方法的流程图。本实施例提供的业务切换方法可适用于业务数据在网络中进行恢复和倒换等控制的情况,该方法可以由业务切换装置执行,该业务切换装置可以通过硬件和软件结合的方式来实现,该装置可以集成在源传输设备的分布式控制器的处理器中,供处理器调用。如图2所示,本实施例的方法可以包括以下步骤。FIG. 2 is a flowchart of a service switching method according to an embodiment. The service switching method provided in this embodiment can be applied to the case where the service data is controlled and restored in the network. The method can be implemented by the service switching device, and the service switching device can be implemented by combining hardware and software. The device can be integrated into the processor of the distributed controller of the source transport device for processing by the processor. As shown in FIG. 2, the method of this embodiment may include the following steps.
步骤110中,源传输设备的分布式控制器检测业务数据传输经过的传输设备与SDN控制器之间的第一信令通道的状态。In
本实施例提供的业务切换方法中,将SDN控制器管理的业务数据切换到分布式控制平面中进行管理控制,本实施例中的源传输设备为业务数据的源节点对应的传输设备,即业务数据传输的起始传输设备。在切换业务管理数据的信令通道前,SDN控制器和分布式控制平面中可以具有相同的业务管理数据,该业务管理数据为业务数据的相关配置,即保证业务管理数据的管理权切换后该业务管理数据能够正常传输,业务数据在传输设备之间进行传输,业务管理数据在信令通道内进行传输。当SDN控制器控制业务管理数据的管理权时,在业务数据的传输过程中,源传输设备的分布式控制器可以实时检测业务数据传输经过的传输设备与SDN控制器之间的第一信令通道的状态,也就是业务数据传输经过的传输设备与SDN控制器之间的第一信令通道是否连通,上述第一信令通道的连通或断链是确定是否切换业务管理数据的管理权的依据。In the service switching method provided in this embodiment, the service data managed by the SDN controller is switched to the distributed control plane for management control. The source transmission device in this embodiment is the transmission device corresponding to the source node of the service data, that is, the service. The initial transmission device for data transmission. Before switching the signaling channel of the service management data, the SDN controller and the distributed control plane may have the same service management data, and the service management data is related configuration of the service data, that is, after the management right of the service management data is switched, The service management data can be transmitted normally, the service data is transmitted between the transmission devices, and the service management data is transmitted in the signaling channel. When the SDN controller controls the management right of the service management data, the distributed controller of the source transmission device can detect the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted in real time during the transmission of the service data. The state, that is, whether the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted is connected, and the connection or disconnection of the first signaling channel is the basis for determining whether to switch the management right of the service management data. .
步骤120中,当源传输设备的分布式控制器检测到第一信令通道断链时,所述源传输设备的分布式控制器通过第二信令通道传输业务管理数据;其中, 该业务数据为业务管理数据指示传输的数据。In
在一实施例中,若检测出业务数据传输经过的传输设备与SDN控制器之间的第一信令通道连通,则可以持续由SDN控制器管理业务管理数据,若检测出业务数据传输经过的每个传输设备与SDN控制器之间的第一信令通道均断链,即第一信令通道无法传输业务管理数据,说明SDN控制器不再适合管理业务管理数据,则可以通过第二信令通道传输业务管理数据,该第二信令通道为业务管理数据从该源传输设备到宿传输设备的控制信令的传输通道。In an embodiment, if it is detected that the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted is connected, the service management data may be continuously managed by the SDN controller, and if the service data transmission is detected, The first signaling channel between each transmission device and the SDN controller is broken, that is, the first signaling channel cannot transmit service management data, indicating that the SDN controller is no longer suitable for managing service management data, and the second letter can be passed. The channel is configured to transmit service management data, and the second signaling channel is a transmission channel of service management data from the source transmission device to the control signaling of the sink transmission device.
图3为一实施例提供的业务切换方法中一种网络结构的示意图,图3中的“信令通道1”为业务数据传输经过的信令通道,“信令通道1”为每个传输设备与SDN控制器之间的第一信令通道,即SDN控制器管理业务管理数据时,“信令通道1”为传输该业务管理数据的信令通道,“信令通道2”为步骤120中每个“信令通道1”断链后,传输业务管理数据的第二信令通道。FIG. 3 is a schematic diagram of a network structure in a service switching method according to an embodiment, where “signaling channel 1” in FIG. 3 is a signaling channel through which service data is transmitted, and “signaling channel 1” is used in each transmission device. When the first signaling channel between the SDN controller and the SDN controller manages the service management data, the "signaling channel 1" is a signaling channel for transmitting the service management data, and the "signaling channel 2" is in
一实施例中,上述实施例中的业务数据是在传输设备间传输的数据,即通过图3中“数据传输链路”传输的数据;业务管理数据是指业务数据的相关配置,业务管理数据用于指示该业务中需要传输的数据(即业务数据),该业务管理数据通过第一信令通道或第二信令通道传输数据。该业务管理数据例如包括:业务是否具有保护性,业务是否具有恢复性,业务的源节点(源传输设备)和宿节点(宿传输设备),以及业务的传输路径等配置信息。In an embodiment, the service data in the foregoing embodiment is data transmitted between transmission devices, that is, data transmitted through the “data transmission link” in FIG. 3; the service management data refers to related configuration of service data, and service management data. It is used to indicate data that needs to be transmitted in the service (ie, service data), and the service management data transmits data through the first signaling channel or the second signaling channel. The service management data includes, for example, whether the service is protective, whether the service is recoverable, configuration information of a source node (source transmission device) and a sink node (sink transmission device) of the service, and a transmission path of the service.
在一实施例中,当所有传输设备与SDN控制器之间的第一信令通道均断链时,即图3中SDN控制器用于管理每个传输设备的“信令通道1”都断链,此时,SDN控制器不再具有管理业务管理数据的能力,则由源传输设备的分布式控制器管理该业务管理数据,即通过第二信令通道传输该业务管理数据,此时,该业务管理数据为分布式控制使能状态。In an embodiment, when the first signaling channel between all the transmission devices and the SDN controller is broken, that is, the "signaling channel 1" used by the SDN controller in FIG. 3 to manage each transmission device is broken. At this time, the SDN controller no longer has the capability of managing the service management data, and the distributed management controller of the source transmission device manages the service management data, that is, the service management data is transmitted through the second signaling channel. The service management data is a distributed control enabled state.
一实施例中,在由源传输设备的分布式控制器管理该业务管理数据后,若业务数据所传输的内容在传输过程中发生故障,即图3中的“数据传输链路”发生中断的情况下,源传输设备的分布式控制器可以根据业务管理数据的相关配置对业务数据进行保护或恢复。In an embodiment, after the service management data is managed by the distributed controller of the source transmission device, if the content transmitted by the service data fails during the transmission, that is, the “data transmission link” in FIG. 3 is interrupted. In this case, the distributed controller of the source transmission device can protect or recover the service data according to the relevant configuration of the service management data.
由于数据传输链路发生中断时的波及面较广(即多个业务的业务数据不能通过数据传输链路进行传输),并且对传输设备恢复和倒换的性能要求高,若业务管理数据由SDN控制器管理,一旦SDN控制器无法对传输设备进行集中控制,难以保护或恢复业务数据,此时,若由分布式控制平面管理业务管理数据,则可以根据业务管理数据的保护性(保护属性)或恢复性(恢复属性),保护或恢复传输的业务数据。Due to the wide coverage of the data transmission link interruption (that is, the service data of multiple services cannot be transmitted through the data transmission link), and the performance requirements for recovery and switching of the transmission equipment are high, if the service management data is controlled by SDN Device management, once the SDN controller can not centrally control the transmission device, it is difficult to protect or restore the service data. At this time, if the service management data is managed by the distributed control plane, it can be based on the protection of the service management data (protection attribute) or Recovery (recovery attribute), protection or recovery of transmitted business data.
一实施例中,源传输设备为当前业务管理数据对应的源传输设备,在业务管理数据不同的情况下,传输网络中的源传输设备可能发生转变;与业务管理数据对应的信令通道和其它传输设备均与该业务数据相关。In an embodiment, the source transmission device is a source transmission device corresponding to the current service management data. When the service management data is different, the source transmission device in the transmission network may be transformed; the signaling channel corresponding to the service management data and other The transmission equipment is related to the service data.
SDN控制器大规模使用后,在很长一段时间内,传输网络中存在SDN控制器和分布式控制平面共存的情况。为了避免SDN控制器管理并控制传输设备的情况下,由于传输设备出现故障而导致数据传输链路中断以及恢复时间较长的问题,通过上述实施例提供的业务切换方法,可以使用分布式控制平面对传输网络中承载的业务数据进行保护和恢复。After the SDN controller is used on a large scale, the SDN controller and the distributed control plane coexist in the transmission network for a long time. In order to avoid the problem that the SDN controller manages and controls the transmission device, the data transmission link is interrupted and the recovery time is long due to the failure of the transmission device, and the service switching method provided by the foregoing embodiment can use the distributed control plane. Protect and recover the service data carried in the transmission network.
上述实施例中提供的业务切换方法,通过源传输设备的分布式控制器检测业务数据传输经过的传输设备与SDN控制器之间的第一信令通道的状态,并且在检测到上述第一信令通道断链时,通过第二信令通道传输业务管理数据;上述业务数据为该业务管理数据指示传输的数据,该第二信令通道为业务管理数据从该源传输设备到宿传输设备的控制信令传输通道。上述实施例提供的方法,在第一信令通道断链时,通过第二信令通道传输原本在第一信令通道中传输的业务管理数据,在数据传输链路发生中断时,使用分布式控制平面对网络中承载的业务数据进行保护和恢复。The service switching method provided in the foregoing embodiment detects the state of the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted through the distributed controller of the source transmission device, and detects the first signal. When the channel is broken, the service management data is transmitted through the second signaling channel; the service data indicates the transmitted data for the service management data, and the second signaling channel is the service management data from the source transmission device to the sink transmission device. Control signaling transmission channel. The method provided by the foregoing embodiment, when the first signaling channel is broken, transmits the service management data originally transmitted in the first signaling channel through the second signaling channel, and uses the distributed when the data transmission link is interrupted. The control plane protects and recovers the service data carried in the network.
可选地,图4为一实施例提供的一种业务切换方法的流程图。在图2所示实施例的基础上,本实施例提供的方法在步骤110之前,所述方法还可以包括以下步骤。Optionally, FIG. 4 is a flowchart of a service switching method according to an embodiment. On the basis of the embodiment shown in FIG. 2, the method provided in this embodiment may further include the following steps before
步骤105中,源传输设备的分布式控制器根据从SDN控制器接收到的业务管理数据,建立用于传输业务管理数据的第二信令通道。In
在一实施例中,要保证业务管理数据的管理权切换后该业务管理数据能够被传输,源传输设备的分布式控制器可以接收SDN控制器发送的业务数据,以从SDN控制器中同步该业务数据;源传输设备的分布式控制器根据该业务管理数据建立该业务管理数据在分布式控制平面中的信令通道,即第二信令通道。In an embodiment, to ensure that the service management data can be transmitted after the management right of the service management data is switched, the distributed controller of the source transmission device can receive the service data sent by the SDN controller to synchronize the SDN controller. The service data; the distributed controller of the source transmission device establishes a signaling channel of the service management data in the distributed control plane, that is, the second signaling channel, according to the service management data.
举例来说,图5为一实施例提供的传输设备的组网示意图,若业务管理数据的源传输设备为A,宿传输设备为E,则步骤105中建立的用于传输该业务管理数据的第二信令通道可以为A->D->E,或A->B->E,或A->C->B->E。For example, FIG. 5 is a schematic diagram of networking of a transmission device according to an embodiment. If the source transmission device of the service management data is A and the sink transmission device is E, the service management data established in
一实施例中,源传输设备的分布式控制器通过接收SDN控制器发送的业务管理数据,可以将SDN控制器中的业务数据同步到源传输设备的分布式控制器中。一实施例中,SDN控制器可以将业务数据组包通过OFPT_PACKET_OUT消息发送给源传输设备的分布式控制器,其中,业务数据填写在上述消息的数据(data)中,上述OFPT_PACKET_OUT消息的内容可以包括:In an embodiment, the distributed controller of the source transmission device can synchronize the service data in the SDN controller to the distributed controller of the source transmission device by receiving the service management data sent by the SDN controller. In an embodiment, the SDN controller may send the service data group packet to the distributed controller of the source transmission device by using an OFPT_PACKET_OUT message, where the service data is filled in the data of the above message, and the content of the OFPT_PACKET_OUT message may include :
上述内容提供了一种将SDN控制器中的业务管理数据同步到分布式控制平面的实现方法。上述实施例中规定了业务管理数据在信令中放置的位置。The above provides an implementation method for synchronizing service management data in an SDN controller to a distributed control plane. The position where the service management data is placed in the signaling is specified in the above embodiment.
在一实施例中,源传输设备的分布式控制器建立用于业务管理数据的第二信令通道的实现方式,即步骤105可以包括:In an embodiment, the distributed controller of the source transmission device establishes an implementation of the second signaling channel for the service management data, that is, the
源传输设备的分布式控制器将业务管理数据中的连接路由信息转化为显式路由对象(Explicit Route Object,ERO)信息,并与该业务管理数据的宿传输设备之间逐跳建立第二信令通道。The distributed controller of the source transmission device converts the connection routing information in the service management data into an explicit route object (ERO) information, and establishes a second letter hop by hop with the sink transmission device of the service management data. Order channel.
在一实施例中,源传输设备的分布式控制器建立源传输设备与宿传输设备之间的第二信令通道可以为(以图5为例),第二信令通道为图5中的A->B->E,则与B和E(即宿传输设备)之间通过基于流量工程扩展的资源预留协议(Resource ReSerVation Protocol-Traffic Engineering,RSVP-TE)的路径(path)消息(由A到E的顺序,一跳一跳建立通道)和resv消息(由E到A的顺序,一跳一跳建立通道)建立起第二信令通道。其中,路径消息用于发起建立和释放连接的请求,并申请资源预留。resv消息用于响应Path请求,并在每个节点完成资源预留动作。In an embodiment, the distributed signaling controller of the source transmission device establishes a second signaling channel between the source transmission device and the sink transmission device (as in FIG. 5), and the second signaling channel is as shown in FIG. A->B->E, then a path (Resource ReSerVation Protocol-Traffic Engineering, RSVP-TE) path message between B and E (ie, sink transmission device) The order from A to E, one hop and one hop to establish a channel) and the resv message (in the order of E to A, one hop and one hop to establish a channel) establish a second signaling channel. The path message is used to initiate a request to establish and release a connection, and apply for resource reservation. The resv message is used to respond to the Path request and complete the resource reservation action at each node.
一实施例中,参见图4,在步骤105之后,所述方法还可以包括以下步骤。In an embodiment, referring to FIG. 4, after
步骤106中,源传输设备的分布式控制器确定该第二信令通道的创建结果。In
步骤107中,源传输设备的分布式控制器将第二信令通道的创建结果发送给SDN控制器,该创建结果用于指示SDN控制器在创建结果为创建成功时通过第一信令通道传输业务管理数据,在创建结果为创建失败时结束业务切换流程。In
在一实施例中,源传输设备的分布式控制器建立第二信令通道后,还可以判断该信令通道的创建结果,并将相应的结果返回给SDN控制器,使得SDN控制器得知业务数据是否同步成功。一实施例中,若第二信令通道创建成功,源传输设备的分布式控制器不仅可以将创建成功的结果发送给SDN控制器,还可以将业务管理数据设置为分布式控制非使能状态(业务数据由SDN控制器管理控制),即通过增加标示符的形式标识该业务数据此时由SDN控制器管理控制。In an embodiment, after the distributed controller of the source transmission device establishes the second signaling channel, it may also determine the creation result of the signaling channel, and return the corresponding result to the SDN controller, so that the SDN controller knows Whether the business data is synchronized successfully. In an embodiment, if the second signaling channel is successfully created, the distributed controller of the source transmission device can not only send the successfully created result to the SDN controller, but also set the service management data to the distributed control non-enabled state. (The service data is controlled by the SDN controller), that is, the service data is identified by adding an identifier in this case, and is controlled by the SDN controller at this time.
一实施例中,源传输设备的分布式控制器在判断出创建结果(包括创建失败或创建成功)后,可以通过OFPT_PACKET_IN消息将创建结果发送给SDN控制器,上述OFPT_PACKET_IN消息的扩展原因字段定义为OFPR_TUNNEL_CREATED,创建结果可以携带在该扩展原因字段的数据(data)中,上述OFPT_PACKET_IN消息的内容例如包括:In an embodiment, after the distributed controller of the source transmission device determines the creation result (including the creation failure or the creation success), the creation result may be sent to the SDN controller through the OFPT_PACKET_IN message, and the extension reason field of the OFPT_PACKET_IN message is defined as The OFPR_TUNNEL_CREATED, the creation result may be carried in the data (data) of the extension reason field, and the content of the above OFPT_PACKET_IN message includes, for example:
struct ofp_packet_in{Struct ofp_packet_in{
struct ofp_header header;Struct ofp_header header;
uint32_t buffer_id;/*ID assigned by datapath.*/Uint32_t buffer_id;/*ID assigned by datapath.*/
uint16_t total_len;/*Full length of frame.*/Uint16_t total_len;/*Full length of frame.*/
uint8_t reason;/*Reason packet is being sent(one of OFPR_*)*/Uint8_t reason;/*Reason packet is being sent(one of OFPR_*)*/
uint8_t table_id;/*ID of the table that was looked up*/Uint8_t table_id;/*ID of the table that was looked up*/
uint64_t cookie;/*Cookie of the flow entry that was looked up.*/Uint64_t cookie;/*Cookie of the flow entry that was looked up.*/
struct ofp_match match;/*Packet metadata.Variable size.*/Struct ofp_match match;/*Packet metadata.Variable size.*/
/*The variable size and padded match is always followed by:/*The variable size and padded match is always followed by:
*-Exactly 2all-zero padding bytes,then*-Exactly 2all-zero padding bytes, then
*-An Ethernet frame whose length is inferred from header.length.*-An Ethernet frame whose length is inferred from header.length.
*The padding bytes preceding the Ethernet frame ensure that the IP*The padding bytes preceding the Ethernet frame ensure that the IP
*header(if any)following the Ethernet header is 32-bit aligned.*header(if any)following the Ethernet header is 32-bit aligned.
*/*/
//uint8_t pad[2];/*Align to 64bit+16bit*///uint8_t pad[2];/*Align to 64bit+16bit*/
//uint8_t data[0];/*Ethernet frame*///uint8_t data[0];/*Ethernet frame*/
};};
OFP_ASSERT(sizeof(struct ofp_packet_in)==32);OFP_ASSERT(sizeof(struct ofp_packet_in)==32);
enum ofp_packet_in_reason{Enum ofp_packet_in_reason{
OFPR_TABLE_MISS=0,/*No matching flow(table-miss flow entry).*/OFPR_TABLE_MISS=0, /*No matching flow(table-miss flow entry).*/
OFPR_APPLY_ACTION=1,/*Output to controller in apply-actions.*/OFPR_APPLY_ACTION=1, /*Output to controller in apply-actions.*/
OFPR_INVALID_TTL=2,/*Packet has invalid TTL*/OFPR_INVALID_TTL=2, /*Packet has invalid TTL*/
OFPR_ACTION_SET=3,/*Output to controller in action set.*/OFPR_ACTION_SET=3, /*Output to controller in action set.*/
OFPR_GROUP=4,/*Output to controller in group bucket.*/OFPR_GROUP=4,/*Output to controller in group bucket.*/
OFPR_PACKET_OUT=5,/*Output to controller in packet-out.*/OFPR_PACKET_OUT=5, /*Output to controller in packet-out.*/
OFPR_TUNNEL_CREATED=0xFF,/*The runnel is created.*/OFPR_TUNNEL_CREATED=0xFF, /*The runnel is created.*/
};};
其中,OFPR_TUNNEL_CREATED为携带有创建结果的扩展原因字段,上述内容提供了一种从SDN控制器侧识别源传输设备的分布式控制器创建信令通道的结果的实现方法。可以通过扩展的协议标识源传输设备的分布式控制器创建的第二业务信令通道的创建结果。Wherein, OFPR_TUNNEL_CREATED is an extension reason field carrying a creation result, and the foregoing provides an implementation method for identifying a result of creating a signaling channel by a distributed controller of the source transmission device from the SDN controller side. The result of the creation of the second service signaling channel created by the distributed controller of the source transport device can be identified by the extended protocol.
在一实施例中,若SDN控制器和传输设备之间的第一信令通道断链,业务数据传输经过的传输设备均会检测到本传输设备与SDN控制器之间的第一信令通道断链,并通过通知(notify)消息向源传输设备的分布式控制器上报,发送该通知消息的传输设备与SDN控制器之间的第一信令通道断链。此时,源传输设备的分布式控制器可以记录收到的通知消息,并检查业务数据经过的所有传输设备是否都上报了通知消息,若业务数据经过的所有传输设备都上报了通知消息,则说明SDN控制器不再具有该业务数据的控制权,可以执行将该业务管理数据设置为分布式控制使能状态的操作。In an embodiment, if the first signaling channel between the SDN controller and the transmission device is broken, the transmission device through which the service data is transmitted detects the first signaling channel between the transmission device and the SDN controller. The link is broken and reported to the distributed controller of the source transmission device by a notification message, and the first signaling channel between the transmission device that sends the notification message and the SDN controller is broken. At this time, the distributed controller of the source transmission device can record the received notification message and check whether all the transmission devices through which the service data passes report the notification message. If all the transmission devices through which the service data passes report the notification message, It is indicated that the SDN controller no longer has the control right of the service data, and the operation of setting the service management data to the distributed control enable state can be performed.
在一实施例中,上述通知(notify)消息中可以配置错误码:In an embodiment, an error code can be configured in the notification message:
ATG_RSVP_ERR_USER_ERROR_SPEC,错误值为:ATG_RSVP_ERR_USER_ERROR_SPEC, the error value is:
ATG_RSVP_ERV_BROKEN_LINK。其中:ATG_RSVP_ERV_BROKEN_LINK. among them:
#define ATG_RSVP_ERR_USER_ERROR_SPEC 33#define
#define ATG_RSVP_ERV_BROKEN_LINK 0xff#define ATG_RSVP_ERV_BROKEN_LINK 0xff
以上内容提供了一种源传输设备的分布式控制器判断业务数据传输经过的传输设备与SDN控制器之间的第一信令通道断链的方法,上述实施例通过扩展RSVP协议,使通知(notify)消息能够携带“传输设备的分布式控制器与SDN控制器断链”的信息。The above provides a method for the distributed controller of the source transmission device to determine the first signaling channel disconnection between the transmission device and the SDN controller through which the service data is transmitted. The foregoing embodiment extends the RSVP protocol to enable notification ( The notify message can carry the message "Distributed controller of the transmission device and the SDN controller is broken".
在上述实施例的基础上,一实施例提供了一种业务切换方法,图6为本实施例提供的一种业务切换方法的流程图。图6所示实施例以图2所示实施例为基础,在步骤110之前,本实施例提供的方法还可以包括以下步骤。On the basis of the foregoing embodiments, an embodiment provides a service switching method, and FIG. 6 is a flowchart of a service switching method according to an embodiment. The embodiment shown in FIG. 6 is based on the embodiment shown in FIG. 2. Before the
步骤102中,业务数据传输经过的每个传输设备分别接收SDN控制器发送的子网链接(SubNetwork Connection,SNC)信息。In
步骤103中,每个传输设备分别解析并执行SNC信息中的指令。In
步骤104中,每个传输设备将执行结果发送给SDN控制器,该执行结果用于在每个执行结果为成功,且业务数据传输经过的所有传输设备都配置了分布式控制器时,指示所述SDN控制器向源传输设备的分布式控制器发送业务管理数据。In
在一实施例中,SDN控制器在接收到应用程序(Application,APP)发送的业务建立请求后,可以计算路由并将路由结果转换为SNC信息,并通过南向协议(SDN控制器的南向接口支持的协议)发送给该业务数据传输经过的每个传输设备;上述每个传输设备可以分别解析SNC信息,执行该SNC信息中的指令,并将执行结果发送给SDN控制器,从而使得SDN控制器根据执行结果进行后续操作。若每个传输设备发送的执行结果均为成功,SDN控制器还可以继续判断该业务数据传输经过的每个传输设备是否配置了分布式控制器,在上述每个传输设备均配置了分布式控制器的情况下,SDN控制器执行向分布式控制平面同步该业务管理数据的操作。In an embodiment, after receiving the service establishment request sent by the application (Application, APP), the SDN controller can calculate the route and convert the routing result into SNC information, and pass the southbound protocol (the south direction of the SDN controller) The protocol supported by the interface is sent to each transmission device through which the service data is transmitted; each of the foregoing transmission devices can separately parse the SNC information, execute the instruction in the SNC information, and send the execution result to the SDN controller, thereby enabling the SDN The controller performs subsequent operations based on the execution results. If the execution result sent by each transmission device is successful, the SDN controller may further determine whether each transmission device through which the service data is transmitted is configured with a distributed controller, and each of the transmission devices is configured with distributed control. In the case of the device, the SDN controller performs an operation of synchronizing the service management data to the distributed control plane.
在应用上述方法时,网络中的每个传输设备可以预先告知SDN控制器,本传输设备是否配置了分布式控制器,以使得SDN控制器确定是否可以向分布式控制平面同步该业务管理数据。When applying the above method, each transmission device in the network can inform the SDN controller in advance whether the transmission device is configured with a distributed controller, so that the SDN controller determines whether the service management data can be synchronized to the distributed control plane.
一实施例中,在上述步骤102之前,传输设备告知SDN控制器其是否配置了分布式控制器,包括步骤100和步骤101。In an embodiment, prior to step 102 above, the transmission device informs the SDN controller whether it is configured with a distributed controller, including
步骤100中,与SDN控制器建立链接的每个传输设备分别接收SDN控制器发送的特征请求消息。In
步骤101中,每个传输设备分别向SDN控制器发送特征响应消息,该特征 响应消息用于指示传输设备是否配置了分布式控制器。In
在一实施例中,SDN控制器与任一个传输设备建立链接后,SDN控制器可以向该建立链接的传输设备发送OFPT_FEATURE_REQUEST消息,传输设备在填写OFPT_FEATURE_REPLY消息后发送给SDN控制器,当传输设备配置了分布式控制器,OFPT_FEATURE_REPLY消息中的性能(capabilities)字段可以设置OFPC_DISTRIBUTED_CONTROL的比特(bit)位;当设备传输没有配置分布式控制器,则不需要设置上述比特(bit)位。SDN控制器可以通过接收并解析OFPT_FEATURE_REPLY消息确定对应的传输设备上是否配置了控制器。上述OFPT_FEATURE_REPLY消息的内容例如为:In an embodiment, after the SDN controller establishes a link with any one of the transmission devices, the SDN controller may send an OFPT_FEATURE_REQUEST message to the link-connecting transmission device, and the transmission device sends the OFPT_FEATURE_REPLY message to the SDN controller after the transmission device configuration. In the distributed controller, the capability field in the OFPT_FEATURE_REPLY message can set the bit bit of OFPC_DISTRIBUTED_CONTROL; when the device transmission does not configure the distributed controller, the bit bit is not required to be set. The SDN controller can determine whether the controller is configured on the corresponding transmission device by receiving and parsing the OFPT_FEATURE_REPLY message. The content of the above OFPT_FEATURE_REPLY message is as follows:
上述OFPC_DISTRIBUTED_CONTROL为需要设置比特(bit)位的性能(capabilities)字段,上述内容提供了一种从SDN控制器识别传输设备是否配置了分布式控制器的实现方法,上述实施例通过扩展开放流(Openflow)协议标识传输设备是否配置了分布式控制器。The above OFPC_DISTRIBUTED_CONTROL is a capability field for setting a bit bit, and the above provides an implementation method for identifying whether a transmission device is configured with a distributed controller from an SDN controller, and the above embodiment extends the open flow (Openflow) The protocol identifies whether the transport device is configured with a distributed controller.
上述实施例的步骤100和步骤101,与上述步骤102~步骤104的不同之处在于:在步骤100和步骤101中所描述的每个传输设备,可以是与SDN控制器建立链接的所有传输设备,即只要传输设备满足与SDN控制器建立链接的前提,就可以通过发送特征响应消息的方式,告知SDN控制器本传输设备是否配置了分布式控制器的状态。在步骤102~步骤104中所描述的每个传输设备,可以是指业务数据传输经过的所有传输设备,即与当前业务管理数据相关的传输设备。The
图7为一实施例提供的一种业务切换方法的流程图,本实施例提供的业务切换方法可以适用于业务数据在网络中进行恢复和倒换等控制的情况中,该方法可以由业务切换装置执行,该业务切换装置可以通过硬件和软件结合的方式来实现,该装置可以集成在SDN控制器的处理器中,供处理器调用。如图7所示,本实施例的方法可以包括以下步骤。FIG. 7 is a flowchart of a service switching method according to an embodiment. The service switching method provided in this embodiment may be applicable to a service data recovery and switching control in a network, where the method may be performed by a service switching device. Executing, the service switching device can be implemented by a combination of hardware and software, and the device can be integrated into the processor of the SDN controller for the processor to call. As shown in FIG. 7, the method of this embodiment may include the following steps.
步骤210中,SDN控制器生成业务管理数据。In
在一实施例中,SDN控制器可以在接收到APP发送的业务建立请求后,生成与该业务建立请求对应的业务管理数据。In an embodiment, after receiving the service establishment request sent by the APP, the SDN controller may generate service management data corresponding to the service establishment request.
步骤220中,SDN控制器将业务管理数据发送给对应的源传输设备的分布式控制器,使得源传输设备的分布式控制器在检测到业务数据传输经过的传输 设备与SDN控制器之间的第一信令通道断链时,通过第二信令通道传输业务管理数据;上述业务数据为该业务管理数据指示传输的数据。In
上述实施例提供的业务切换方法,为一种将SDN控制器管理的业务数据切换到分布式控制平面中进行管理控制的方式。上述实施例中的源传输设备为业务数据的源节点对应的传输设备,即业务数据传输的起始传输设备。在切换业务管理数据的信令通道前,SDN控制器和分布式控制平面中可以具有相同的业务管理数据,该业务管理数据为业务数据的相关配置,即切换业务管理数据的管理权后该业务管理数据能够正常传输,因此,SDN控制器在生成业务数据后,可以向该业务管理数据对应的源传输设备的分布式控制器发送该业务管理数据,可以与分布式控制平面同步该业务管理数据。The service switching method provided by the foregoing embodiment is a method for switching service data managed by an SDN controller to a distributed control plane for management control. The source transmission device in the foregoing embodiment is a transmission device corresponding to a source node of service data, that is, a start transmission device for service data transmission. Before switching the signaling channel of the service management data, the SDN controller and the distributed control plane may have the same service management data, and the service management data is a related configuration of the service data, that is, the service is switched after the management right of the service management data is switched. The management data can be transmitted normally. Therefore, after generating the service data, the SDN controller can send the service management data to the distributed controller of the source transmission device corresponding to the service management data, and can synchronize the service management data with the distributed control plane. .
一实施例中,业务数据是在传输设备间传输的数据,即通过图3中“数据传输链路”传输的数据;业务管理数据是指业务数据的相关配置,业务管理数据用于指示该业务中需要传输的数据(即业务数据),该业务管理数据通过第一信令通道或第二信令通道传输数据,该业务管理数据例如包括:业务是否具有保护性,业务是否具有恢复性,业务的源节点和宿节点,以及业务的传输路径等配置信息。In an embodiment, the service data is data transmitted between the transmission devices, that is, data transmitted through the “data transmission link” in FIG. 3; the service management data refers to a related configuration of the service data, and the service management data is used to indicate the service. Data to be transmitted (ie, service data), the service management data is transmitted through the first signaling channel or the second signaling channel, and the service management data includes, for example, whether the service is protective, whether the service is recoverable, and the service Configuration information such as the source node and the sink node, and the transmission path of the service.
在一实施例中,SDN控制器发送业务数据的实现时,可以将业务管理数据组包通过OFPT_PACKET_OUT消息发送给源传输设备的分布式控制器,其中,业务管理数据填写在上述消息的数据(data)中,OFPT_PACKET_OUT消息的内容在上述实施例中已经说明。一实施例中,第二信令通道可以为源传输设备的分布式控制器根据从SDN控制器接收到的业务管理数据建立的,该第二信令通道为业务管理数据从该源传输设备到宿传输设备的控制信令传输通道,同样可以参照图3所示的网络构架,图3中的“信令通道2”为源传输设备的分布式控制器建立的第二信令通道,并且,源传输设备的分布式控制器建立第二信令通道的方式在上述实施例中也已说明。In an embodiment, when the SDN controller sends the implementation of the service data, the service management data group packet may be sent to the distributed controller of the source transmission device by using an OFPT_PACKET_OUT message, where the service management data is filled in the data of the above message (data In the above, the content of the OFPT_PACKET_OUT message has been explained in the above embodiment. In an embodiment, the second signaling channel may be established by the distributed controller of the source transmission device according to the service management data received from the SDN controller, where the second signaling channel is the service management data from the source transmission device to The control signaling transmission channel of the sink transmission device can also refer to the network architecture shown in FIG. 3. The "signaling channel 2" in FIG. 3 is a second signaling channel established by the distributed controller of the source transmission device, and The manner in which the distributed controller of the source transmission device establishes the second signaling channel has also been described in the above embodiments.
在一实施例中,若源传输设备的分布式控制器检测出业务数据传输经过的传输设备与SDN控制器之间的第一信令通道连通时,则可以持续由SDN控制器与管理业务管理数据,若检测出业务数据传输经过的每个传输设备与SDN控制器之间的第一信令通道均断链时,即图3中SDN控制器用于管理每个传输设备的“信令通道1”都断链,此时,SDN控制器不再具有管理业务管理数据的能力,则由源传输设备的分布式控制器管理该业务数据的管理权,即通过第二信令通道传输业务管理数据,此时,该业务管理数据为分布式控制使能状态。In an embodiment, if the distributed controller of the source transmission device detects that the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted is connected, the SDN controller and the management service can be continuously managed. Data, if it is detected that the first signaling channel between each transmission device and the SDN controller through which the service data is transmitted is broken, that is, the SDN controller in FIG. 3 is used to manage the signaling channel 1 of each transmission device. "All chains are broken. At this time, the SDN controller no longer has the ability to manage service management data, and the distributed controller of the source transmission device manages the management right of the service data, that is, the service management data is transmitted through the second signaling channel. At this time, the service management data is a distributed control enabled state.
一实施例中,在由源传输设备的分布式控制器管理该业务管理数据后,若业务数据所传输的内容在传输过程中发生故障,即图3中的“数据传输链路” 发生中断的情况下,源传输设备的分布式控制器可以根据业务管理数据的相关配置对业务数据进行保护或恢复。In an embodiment, after the service management data is managed by the distributed controller of the source transmission device, if the content transmitted by the service data fails during the transmission, that is, the “data transmission link” in FIG. 3 is interrupted. In this case, the distributed controller of the source transmission device can protect or recover the service data according to the relevant configuration of the service management data.
由于数据传输链路发生中断时的波及面较广(即多种业务的业务数据不能通过数据传输链路进行传输),并且对传输设备恢复和倒换的性能要求高,若业务管理数据由SDN控制器管理,一旦SDN控制器无法对传输设备进行集中控制,难以保护或恢复业务数据,此时,若由分布式控制平面管理业务管理数据,则可以根据业务管理数据的保护性或恢复性,保护或恢复传输的业务数据。业务管理数据的保护性或恢复性可以是业务管理数据管理的业务的业务数据是否具有保护性或恢复性。Due to the wide coverage of the data transmission link interruption (that is, the service data of multiple services cannot be transmitted through the data transmission link), and the performance requirements for recovery and switching of the transmission equipment are high, if the service management data is controlled by SDN Device management, once the SDN controller cannot perform centralized control on the transmission device, it is difficult to protect or restore the service data. At this time, if the service management data is managed by the distributed control plane, it can be protected according to the protection or recovery of the service management data. Or restore the transmitted business data. The protection or recovery of the service management data may be whether the service data of the service managed by the service management data is protective or recoverable.
一实施例中,源传输设备为当前业务管理数据对应的源传输设备,在业务管理数据不同的情况下,传输网络中的源传输设备可能发生转变,与业务管理数据对应的信令通道和其它传输设备均与该业务数据相关。In an embodiment, the source transmission device is a source transmission device corresponding to the current service management data. When the service management data is different, the source transmission device in the transmission network may be transformed, the signaling channel corresponding to the service management data, and other The transmission equipment is related to the service data.
上述实施例中提供的业务切换方法,通过SDN控制器生成业务管理数据,并将该业务管理数据发送给该业务数据对应的源传输设备的分布式控制器,使得该源传输设备的分布式控制器可以在检测到该业务数据传输经过的传输设备与SDN控制器之间的第一信令通道断链时,通过第二信令通道传输业务管理数据;上述业务数据为该业务管理数据指示传输的数据,该第二信令通道为业务管理数据从该源传输设备到宿传输设备的控制信令传输通道。上述实施例提供的方法,在第一信令通道断链时,通过第二信令通道传输原本在第一信令通道中传输的业务管理数据,在数据传输链路发生中断时,使用分布式控制平面对网络中承载的业务数据进行保护和恢复。The service switching method provided in the foregoing embodiment generates service management data by using an SDN controller, and sends the service management data to a distributed controller of the source transmission device corresponding to the service data, so that distributed control of the source transmission device is performed. The device may transmit service management data through the second signaling channel when detecting that the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted is disconnected; the service data indicates the transmission of the service management data. The second signaling channel is a control signaling transmission channel of the service management data from the source transmission device to the sink transmission device. The method provided by the foregoing embodiment, when the first signaling channel is broken, transmits the service management data originally transmitted in the first signaling channel through the second signaling channel, and uses the distributed when the data transmission link is interrupted. The control plane protects and recovers the service data carried in the network.
可选地,图8为一实施例提供的一种业务切换方法的流程图。在图7所示实施例的基础上,本实施例提供的方法在步骤220之后,所述方法还可以包括以下步骤。Optionally, FIG. 8 is a flowchart of a service switching method according to an embodiment. On the basis of the embodiment shown in FIG. 7, after the method provided in this embodiment is after
步骤230中,SDN控制器接收源传输设备的分布式控制器发送的第二信令通道的创建结果。In
步骤240中,SDN控制器在创建结果为创建成功时通过第一信令通道传输业务管理数据,在创建结果为创建失败时结束业务切换流程。创建成功时将该业务管理数据设置为分布式控制非使能状态。In
在一实施例中,源传输设备的分布式控制器建立第二信令通道后,可以将创建结果发送给SDN控制器,SDN控制器可以接收通过OFPT_PACKET_IN消息发送的创建结果,获取业务管理数据是否成功同步的信息,创建结果可以携带在OFPT_PACKET_IN消息的扩展原因字段的数据(data)中,该 OFPT_PACKET_IN消息的内容在上述实施例中已经说明。In an embodiment, after the distributed controller of the source transmission device establishes the second signaling channel, the creation result may be sent to the SDN controller, and the SDN controller may receive the creation result sent by the OFPT_PACKET_IN message, and obtain whether the service management data is obtained. The information of the successful synchronization may be carried in the data of the extension reason field of the OFPT_PACKET_IN message, and the content of the OFPT_PACKET_IN message has been explained in the above embodiment.
可选地,在上述实施例的基础上,若由SDN控制器管理管理业务管理数据,则该业务管理数据为分布式控制非使能状态,此时,若源传输设备的分布式控制器检测到业务数据传输经过的每个传输设备与SDN控制器之间的第一信令通道都断链,说明SDN控制器不再具有该业务管理数据的控制权,则可以由源传输设备的分布式控制器管理该业务管理数据,即将该业务管理数据设置为分布式控制使能状态。源传输设备的分布式控制器检测业务数据传输经过的每个传输设备与SDN控制器之间的第一信令通道断链的实现方式,在上述实施例中已经说明。Optionally, on the basis of the foregoing embodiment, if the management service management data is managed by the SDN controller, the service management data is a distributed control non-enabled state. At this time, if the distributed transmission controller of the source transmission device detects The first signaling channel between each transmission device and the SDN controller passing through the service data transmission is broken, indicating that the SDN controller no longer has the control right of the service management data, and may be distributed by the source transmission device. The controller manages the service management data, that is, the service management data is set to a distributed control enable state. The implementation of the first signaling channel disconnection between each transmission device and the SDN controller through which the distributed controller of the source transmission device detects the transmission of the service data has been described in the above embodiments.
在上述实施例的基础上,一实施例提供了一种业务切换方法,如图9所示,本实施例提供的业务切换方法的流程图。图9所示实施例以图7所在实施例为基础,在步骤210之前,本实施例提供的方法还可以包括以下步骤。On the basis of the foregoing embodiment, an embodiment provides a service switching method, as shown in FIG. 9, a flowchart of a service switching method provided by this embodiment. The embodiment shown in FIG. 9 is based on the embodiment of FIG. 7. Before the
步骤203中,SDN控制器根据从APP接收的业务建立请求,计算并生成SNC信息。In
步骤204中,SDN控制器将SNC信息发送给业务数据传输经过的每个传输设备。In
步骤205中,SDN控制器接收每个传输设备发送的执行结果。In
在一实施例中,SDN控制器将业务管理数据发送给对应的源传输设备的分布式控制器,即步骤220可以包括:In an embodiment, the SDN controller sends the service management data to the distributed controller of the corresponding source transmission device, that is,
SDN控制器在每个传输设备的执行结果为成功,且每个传输设备都配置了分布式控制器时,向源传输设备的分布式控制器发送业务管理数据。When the execution result of each transmission device is successful, and each transmission device is configured with a distributed controller, the service management data is transmitted to the distributed controller of the source transmission device.
在一实施例中,SDN控制器在接收到APP发送的业务建立请求后,可以计算路由并将路由结果转换为SNC信息,并通过南向协议发送给该业务数据传输经过的每个传输设备,使得上述每个传输设备可以分别解析SNC信息,执行该SNC信息中的指令,并将执行结果发送给SDN控制器。In an embodiment, after receiving the service establishment request sent by the APP, the SDN controller may calculate a route and convert the routing result into SNC information, and send the southbound protocol to each transmission device through which the service data transmission passes. The above-mentioned each transmission device can separately parse the SNC information, execute the instruction in the SNC information, and send the execution result to the SDN controller.
SDN控制器在接收到每个传输设备发送的执行结果后,可以根据执行结果进行后续操作,若每个传输设备发送的执行结果均为成功,SDN控制器还可以继续判断该业务数据传输经过的每个传输设备是否配置了分布式控制器,在上述每个传输设备均配置了分布式控制器的情况下,SDN控制器执行向分布式控制平面同步该业务管理数据的操作。After receiving the execution result sent by each transmission device, the SDN controller may perform subsequent operations according to the execution result. If the execution result sent by each transmission device is successful, the SDN controller may continue to judge the transmission of the service data. Whether each transmission device is configured with a distributed controller, and in the case where each of the above transmission devices is configured with a distributed controller, the SDN controller performs an operation of synchronizing the service management data to the distributed control plane.
在应用上述方法时,SDN控制器可以预先获知网络中的每个传输设备是否配置了分布式控制器,从而确定是否可以与分布式控制平面同步该业务管理数 据参见图9,在步骤203之前,上述获知网络中的每个传输设备是否配置了分布式控制器的实现方式可以包括以下步骤。When applying the above method, the SDN controller may know in advance whether each transmission device in the network is configured with a distributed controller, thereby determining whether the service management data can be synchronized with the distributed control plane. Referring to FIG. 9, before
步骤200中,SDN控制器分别向与该SDN控制器建立链接的每个传输设备发送特征请求消息。In
步骤201中,SDN控制器分别接收每个传输设备发送的特征响应消息。In
步骤202中,SDN控制器根据每个特征响应消息确定发送特征响应消息的传输设备是否配置有分布式控制器。In
上述实施例的步骤200~步骤202,与上述步骤204和步骤205的不同之处在于:步骤200~步骤202中所描述的每个传输设备,可以是与SDN控制器建立链接的所有传输设备,即只要传输设备满足与SDN控制器建立链接的前提,就可以通过发送特征响应消息的方式,告知SDN控制器本传输设备是否配置了分布式控制器的状态。步骤204和步骤205中所描述的每个传输设备,可以是指业务数据传输经过的所有传输设备,即与当前业务管理数据相关的传输设备。
图10为一实施例提供的一种业务切换方法的信令交互流程图,本实施例提供的方法由SDN控制器和传输设备交互执行,该传输设备包括源传输设备、第一传输设备和第二传输设备,图10中的第一传输设备为:业务数据传输经过的传输设备中除源传输设备之外的其它设备,第二传输设备为业务数据不经过,但与SDN控制器建立链接的设备,如图10所示,本实施例的方法可以包括以下步骤。FIG. 10 is a flowchart of signaling interaction of a service switching method according to an embodiment. The method provided in this embodiment is performed by an SDN controller and a transmission device, where the transmission device includes a source transmission device, a first transmission device, and a The second transmission device is: the first transmission device in FIG. 10 is: a device other than the source transmission device in the transmission device through which the service data is transmitted, and the second transmission device does not pass the service data, but establishes a link with the SDN controller. The device, as shown in FIG. 10, the method of this embodiment may include the following steps.
步骤301中,SDN控制器和网络中的传输设备分别建立链接。In step 301, the SDN controller and the transmission device in the network respectively establish a link.
步骤302中,SDN控制器向与该SDN控制器建立链接的每个传输设备分别发送特征请求消息(即OFPT_FEATURE_REQUES消息)。In step 302, the SDN controller separately sends a feature request message (ie, an OFPT_FEATURE_REQUES message) to each of the transmission devices that establish a link with the SDN controller.
步骤303中,上述每个传输设备填写OFPT_FEATURE_REPLY消息中的能力字段(即capabilities字段),配置有分布式控制器的传输设备设置OFPC_DISTRIBUTED_CONTROL比特(bit)位,未配置有分布式控制器的传输设备不设置OFPC_DISTRIBUTED_CONTROL比特(bit)位。In step 303, each of the foregoing transmission devices fills in the capability field (ie, capability field) in the OFPT_FEATURE_REPLY message, and the transmission device configured with the distributed controller sets the OFPC_DISTRIBUTED_CONTROL bit (bit) bit, and the transmission device not configured with the distributed controller does not Set the OFPC_DISTRIBUTED_CONTROL bit bit.
步骤304中,上述每个传输设备向SDN控制器发送特征响应消息(即OFPT_FEATURE_REPLY消息)。In step 304, each of the foregoing transmission devices sends a feature response message (ie, an OFPT_FEATURE_REPLY message) to the SDN controller.
步骤305中,SDN控制器解析每个传输设备发送的OFPT_FEATURE_REPLY消息,并记录每个传输设备是否配置了分布式控制器。In step 305, the SDN controller parses the OFPT_FEATURE_REPLY message sent by each transmission device, and records whether each transmission device is configured with a distributed controller.
步骤306中,SDN控制器收到APP发送的业务建立请求。In step 306, the SDN controller receives the service establishment request sent by the APP.
步骤307中,SDN控制器计算路由,并将路由结果转化为SNC信息。In step 307, the SDN controller calculates the route and converts the routing result into SNC information.
上述步骤302~步骤307中的每个传输设备包括图9中的源传输设备,第一传输设备和第二传输设备,其中,第一传输设备和第二传输设备都有可能是一个或多个。另外,以下步骤308~步骤326中的每个传输设备为业务数据传输经过的所有传输设备,即包括图9中的源传输设备和第一传输设备,Each of the foregoing steps 302 to 307 includes the source transmission device, the first transmission device, and the second transmission device in FIG. 9, wherein both the first transmission device and the second transmission device may be one or more . In addition, each of the following steps 308 to 326 is a transmission device that passes the service data transmission, that is, includes the source transmission device and the first transmission device in FIG.
步骤308中,SDN控制器通过OFPT_FLOW_MOD消息向业务数据传输经过的每个传输设备发送SNC信息,并发送OFPT_BARRIER_REQUEST消息作为结束消息。In step 308, the SDN controller sends the SNC information to each transmission device through which the service data transmission passes through the OFPT_FLOW_MOD message, and sends an OFPT_BARRIER_REQUEST message as the end message.
步骤309中,业务数据传输经过的每个传输设备解析SNC信息,并执行该SNC信息中的指令。In step 309, each transmission device through which the service data is transmitted parses the SNC information and executes an instruction in the SNC information.
步骤310中,业务数据传输经过的每个传输设备通过OFPT_BARRIER_REPLY消息将执行结果发送给SDN控制器。In step 310, each transmission device through which the service data is transmitted transmits an execution result to the SDN controller through an OFPT_BARRIER_REPLY message.
步骤311中,SDN控制器判断接收到的执行结果;若有失败的执行结果,则流程结束;若所有执行结果都为成功,则执行步骤312。In
步骤312中,SDN控制器判断业务数据传输经过的所有传输设备是否都配置了分布式控制器;若存在任一个传输设备未配置的情况,则结束流程;若业务数据传输经过的所有传输设备都配置了分布式控制器,则执行步骤313。In step 312, the SDN controller determines whether all the transmission devices through which the service data is transmitted are configured with a distributed controller; if any one of the transmission devices is not configured, the process ends; if all the transmission devices after the service data transmission pass If the distributed controller is configured, go to step 313.
步骤313中,SDN控制器通过OFPT_PACKET_OUT消息将业务管理数据发送给源传输设备的分布式控制器,该业务管理数据为业务数据的相关配置。In step 313, the SDN controller sends the service management data to the distributed controller of the source transmission device through the OFPT_PACKET_OUT message, where the service management data is a related configuration of the service data.
步骤314中,源传输设备的分布式控制器将业务管理数据中的连接路由信息转化为ERO信息。In step 314, the distributed controller of the source transmission device converts the connection routing information in the service management data into ERO information.
步骤315中,源传输设备的分布式控制器与业务数据传输经过的其它传输设备(即第一传输设备)之间通过RSVP-TE信令,逐跳建立信令通道2。In step 315, the distributed controller of the source transmission device and the other transmission devices (ie, the first transmission device) through which the service data is transmitted establish a signaling channel 2 hop by hop through RSVP-TE signaling.
步骤316中,源传输设备的分布式控制器判断信令通道2的创建结果;若创建失败,则执行步骤317;若创建成功,则执行步骤318。In
步骤317中,源传输设备的分布式控制器回退之前建立的信令通道2。随后执行步骤318。In step 317, the distributed controller of the source transmission device rolls back the previously established signaling channel 2. Then step 318 is performed.
步骤318中,源传输设备的分布式控制器通过OFPT_PACKET_IN消息将创建结果发送给SDN控制器;创建结果的内容可以为失败或成功。In step 318, the distributed controller of the source transmission device sends the creation result to the SDN controller through the OFPT_PACKET_IN message; the content of the creation result may be a failure or a success.
在步骤318中发送的创建结果为成功结果时,本实施例提供的方法还可以包括:步骤319至步骤325。When the result of the creation in step 318 is a successful result, the method provided in this embodiment may further include: step 319 to step 325.
步骤319中,源传输设备的分布式控制器将业务管理数据设置为分布式控 制非使能状态。说明此时的业务管理数据由SDN控制器管理控制,即通过信令通道1传输业务管理数据。In step 319, the distributed controller of the source transport device sets the traffic management data to a distributed control non-enabled state. It indicates that the service management data at this time is controlled and controlled by the SDN controller, that is, the service management data is transmitted through the signaling channel 1.
此时,SDN控制器与源传输设备和第一传输设备断链,即SDN控制器与业务数据传输经过的所有传输设备之间的信令通道1断链。At this time, the SDN controller is disconnected from the source transmission device and the first transmission device, that is, the signaling channel 1 between the SDN controller and all the transmission devices through which the service data is transmitted is broken.
步骤320中,第一传输设备检测到信令通道1断链后,向源传输设备的分布式控制器发送通知(notify)消息。In step 320, after detecting that the signaling channel 1 is broken, the first transmission device sends a notification message to the distributed controller of the source transmission device.
步骤321中,源传输设备的分布式控制器记录收到的通知消息,并检查业务数据传输经过的所有传输设备是否都上报了该通知消息;若业务数据传输经过的所有传输设备未全部上报该通知消息,则结束流程;若业务数据传输经过的所有传输设备都上报了该通知消息,则执行步骤321。In step 321, the distributed controller of the source transmission device records the received notification message, and checks whether all the transmission devices that have passed the service data transmission report the notification message; if all the transmission devices that have passed the service data transmission are not reported, The notification message ends the process; if all the transmission devices through which the service data is transmitted report the notification message, step 321 is performed.
步骤322中,源传输设备的分布式控制器将业务管理数据设置为分布式控制使能状态,即通过信令通道2传输业务管理数据。In step 322, the distributed controller of the source transmission device sets the service management data to a distributed control enabled state, that is, transmits the service management data through the signaling channel 2.
步骤323中,业务数据在传输的过程中发送传输故障,源传输设备的分布式控制器接收到下游传输设备发送的告警消息。In step 323, the service data sends a transmission failure in the process of transmission, and the distributed controller of the source transmission device receives the alarm message sent by the downstream transmission device.
步骤324中,源传输设备的分布式控制器判断该业务数据是否具有恢复属性,并且判断业务管理数据是否为分布式控制使能状态;若该业务数据不具有恢复属性且业务管理数据为分布式控制使能状态,或者该业务数据具有恢复属性且业务管理数据为分布式控制非使能状态,或者该业务数据不具有恢复属性且业务管理数据为分布式控制非使能状态,则结束流程;若该业务数据具有恢复属性,并且业务管理数据为分布式控制使能状态,则执行步骤325。In step 324, the distributed controller of the source transmission device determines whether the service data has a recovery attribute, and determines whether the service management data is a distributed control enabled state; if the service data does not have a recovery attribute and the service management data is distributed Controlling the enabled state, or the service data has a recovery attribute and the service management data is a distributed control non-enabled state, or the service data does not have a recovery attribute and the service management data is a distributed control non-enabled state, and the process ends; If the service data has a recovery attribute and the service management data is in a distributed control enabled state, step 325 is performed.
源传输设备的分布式控制器可以通过业务管理数据判断该业务数据是否具有恢复属性。The distributed controller of the source transmission device can determine whether the service data has a recovery attribute through the service management data.
步骤325中,业务管理数据由源传输设备的分布式控制器管理,该业务管理数据具有恢复属性,因此,源传输设备的分布式控制器可以对该业务数据进行保护或恢复。In step 325, the service management data is managed by a distributed controller of the source transmission device, and the service management data has a recovery attribute. Therefore, the distributed controller of the source transmission device can protect or recover the service data.
以下通过一些应用实例对业务切换方法进行说明,图11为一实施例中执行业务切换方法的网络组件的示意图。图11所示的网络组件中可以包括以下几个组件:APP、北向通信通道、SDN控制器、南向开放流协议通道以及支持OPENFLOW协议的传输设备。The following describes the service switching method by using some application examples. FIG. 11 is a schematic diagram of a network component for performing a service switching method in an embodiment. The network components shown in FIG. 11 may include the following components: an APP, a northbound communication channel, an SDN controller, a southbound open flow protocol channel, and a transmission device supporting the OPENFLOW protocol.
APP用于在下发客户的业务建立请求,通过超文本传输协议(HyperText Transfer Protocol,HTTP)协议下发指令。The APP is used to deliver a service establishment request to the client, and the instruction is issued by the HyperText Transfer Protocol (HTTP) protocol.
北向通信通道支持HTTP协议。The northbound communication channel supports the HTTP protocol.
SDN控制器的北向接口支持HTTP协议,SDN控制器能够对下发的业务建立请求进行解析,SDN控制器具备路由计算能力。SDN控制器的南向接口支持开放流(OPENFLOW)协议。北向接口可以是SDN控制器接收数据的接口,南向接口可以是SDN控制器发送数据的接口,例如,SDN控制器能够解析OFPT_FEATURE_REPLY中性能(capabilities)字段设置的OFPC_DISTRIBUTED_CONTROL的比特(bit)位;能够把指令通过OFPT_FLOW_MOD下发到传输设备侧;能够通过OFPT_PACKET_OUT消息将源节点的业务数据发送给源传输设备;以及能够解析OFPT_PACKET_IN消息中携带的业务数据设置应答。The northbound interface of the SDN controller supports the HTTP protocol. The SDN controller can parse the service establishment request that is sent, and the SDN controller has the routing calculation capability. The southbound interface of the SDN controller supports the OpenFlow (OPENFLOW) protocol. The northbound interface may be an interface for the SDN controller to receive data, and the southbound interface may be an interface for the SDN controller to send data. For example, the SDN controller can parse the bit of the OFPC_DISTRIBUTED_CONTROL set in the capabilities field of the OFPT_FEATURE_REPLY; The instruction is sent to the transmission device side through the OFPT_FLOW_MOD; the service data of the source node can be sent to the source transmission device through the OFPT_PACKET_OUT message; and the service data setting response carried in the OFPT_PACKET_IN message can be parsed.
南向开放流(OPENFLOW)协议通道为SDN控制器和传输设备之间交互的通道。The OPENFLOW protocol channel is the channel for interaction between the SDN controller and the transmission device.
支持开放流(OPENFLOW)协议的传输设备能把SDN控制器下发的OFPT_FLOW_MOD消息转化为指令下发到光器件。如果该传输设备配置有分布式控制器,传输设备的分布式控制器可以将业务管理数据同步到分布式控制器的结果通过OFPT_PACKET_IN消息反馈给SDN控制器,传输设备的分布式控制器可以将断链的情况通过通知(notify)消息通知源传输设备的分布式控制器,传输设备的分布式控制器可以解析通知(notify)消息中的断链事件。The transmission device supporting the OPENFLOW protocol can convert the OFPT_FLOW_MOD message sent by the SDN controller into an instruction and deliver it to the optical device. If the transmission device is configured with a distributed controller, the distributed controller of the transmission device can synchronize the service management data to the distributed controller. The result is fed back to the SDN controller through the OFPT_PACKET_IN message, and the distributed controller of the transmission device can be disconnected. The case of the chain informs the distributed controller of the source transport device via a notify message that the distributed controller of the transport device can resolve the chain break event in the notify message.
图4为传输设备的组网示意图,图4中具有5个传输设备,分别为A、B、C、D、E和F,如果传输设备B没有配置分布式控制器,传输设备A和传输设备C之间信令不通。4 is a schematic diagram of a networking of a transmission device, and FIG. 4 has five transmission devices, namely, A, B, C, D, E, and F. If the transmission device B is not configured with a distributed controller, the transmission device A and the transmission device The signaling between C is unreachable.
图12为一应用实例提供的一种业务切换方法的信令交互流程图。本实施例提供的方法由SDN控制器和传输设备执行,该传输设备包括如图4中的传输设备A、B、C、D、E、F,如图12所示,本实施例的方法可以包括以下步骤。FIG. 12 is a flowchart of signaling interaction of a service switching method provided by an application example. The method provided in this embodiment is performed by an SDN controller and a transmission device, and the transmission device includes the transmission devices A, B, C, D, E, and F in FIG. 4, as shown in FIG. Includes the following steps.
步骤401中,SDN控制器和传输设备A、B、C、D、E、F分别建立链接。In step 401, the SDN controller and the transmission devices A, B, C, D, E, and F respectively establish a link.
步骤402中,SDN控制器向传输设备A、B、C、D、E、F分别发送特征请求消息(即OFPT_FEATURE_REQUES消息)。In step 402, the SDN controller sends a feature request message (ie, an OFPT_FEATURE_REQUES message) to the transmission devices A, B, C, D, E, and F, respectively.
步骤403中,传输设备A、C、D、E、F填写OFPT_FEATURE_REPLY消息中的能力字段(即capabilities字段),并设置比特(bit)位,传输设备B不设置比特(bit)位。In step 403, the transmission devices A, C, D, E, and F fill in the capability field (ie, the capabilities field) in the OFPT_FEATURE_REPLY message, and set the bit bit, and the transmission device B does not set the bit bit.
步骤404中,传输设备A、B、C、D、E、F分别向SDN控制器发送特征响应消息(即OFPT_FEATURE_REPLY消息)。In step 404, the transmission devices A, B, C, D, E, and F respectively send a feature response message (ie, an OFPT_FEATURE_REPLY message) to the SDN controller.
步骤405中,SDN控制器解析每个OFPT_FEATURE_REPLY消息,并记录 传输设备A、B、C、D、E、F配置分布式控制器的情况。In step 405, the SDN controller parses each OFPT_FEATURE_REPLY message and records the case where the transmission devices A, B, C, D, E, F configure the distributed controller.
步骤406中,SDN控制器收到APP发送的业务建立请求,该APP通过北向协议(北向接口支持的协议)向SDN控制器下发的业务建立请求为:从传输设备A到传输设备B建立一条业务连接,该业务的业务管理数据无保护属性且具有恢复属性。In step 406, the SDN controller receives the service establishment request sent by the APP, and the service establishment request sent by the APP to the SDN controller through the northbound protocol (the protocol supported by the northbound interface) is: establishing a packet from the transmission device A to the transmission device B. A service connection, the business management data of the service has no protection attribute and has a recovery attribute.
步骤407中,SDN控制器计算路由为A->B,并将路由结果转化为SNC信息。In step 407, the SDN controller calculates the route as A->B and converts the routing result into SNC information.
步骤408中,SDN控制器将SNC信息转化为OFPT_FLOW_MOD消息发送给传输设备A、B,并发送OFPT_BARRIER_REQUEST作为结束消息。In step 408, the SDN controller converts the SNC information into an OFPT_FLOW_MOD message and sends it to the transmission devices A, B, and sends the OFPT_BARRIER_REQUEST as an end message.
步骤409中,传输设备A、B解析OFPT_FLOW_MOD消息,并执行相应的指令,传输设备A、B均成功执行指令。In step 409, the transmission devices A, B parse the OFPT_FLOW_MOD message, and execute the corresponding instruction, and the transmission devices A, B successfully execute the instruction.
步骤410中,传输设备A、B将执行结果通过OFPT_BARRIER_REPLY发送给SDN控制器。In step 410, the transmission devices A, B send the execution result to the SDN controller through OFPT_BARRIER_REPLY.
步骤411中,SDN控制器判断出传输设备A、B的执行结果均为成功。In step 411, the SDN controller determines that the execution results of the transmission devices A and B are all successful.
步骤412中,SDN控制器判断传输设备A、B是否都配置了分布式控制器;由于传输设备B未配置了分布式控制器,则流程结束。In step 412, the SDN controller determines whether the transmission devices A, B are all configured with a distributed controller; since the transmission device B is not configured with a distributed controller, the flow ends.
图13为一应用实例提供的一种业务切换方法的信令交互流程图,本实施例提供的方法由SDN控制器和传输设备交互执行,该传输设备包括如图4中的传输设备A、B、C、D、E、F,如图13所示,本实施例的方法可以包括以下步骤。FIG. 13 is a flowchart of a signaling interaction of a service switching method provided by an application example. The method provided in this embodiment is performed by an SDN controller and a transmission device, and the transmission device includes the transmission devices A and B in FIG. 4 . , C, D, E, F, as shown in FIG. 13, the method of this embodiment may include the following steps.
步骤501中,SDN控制器和传输设备A、B、C、D、E、F分别建立链接。In step 501, the SDN controller and the transmission devices A, B, C, D, E, and F respectively establish a link.
步骤502中,SDN控制器向传输设备A、B、C、D、E、F分别发送特征请求消息(即OFPT_FEATURE_REQUES消息)。In step 502, the SDN controller sends a feature request message (ie, an OFPT_FEATURE_REQUES message) to the transmission devices A, B, C, D, E, and F, respectively.
步骤503中,传输设备A、C、D、E、F填写OFPT_FEATURE_REPLY消息中的能力字段(即capabilities字段),并设置OFPC_DISTRIBUTED_CONTROL比特(bit)位,传输设备B不设置OFPC_DISTRIBUTED_CONTROL比特(bit)位。In step 503, the transmission devices A, C, D, E, and F fill in the capability field (ie, the capabilities field) in the OFPT_FEATURE_REPLY message, and set the OFPC_DISTRIBUTED_CONTROL bit (bit) bit, and the transmission device B does not set the OFPC_DISTRIBUTED_CONTROL bit (bit) bit.
步骤504中,传输设备A、B、C、D、E、F分别向SDN控制器发送特征响应消息(即OFPT_FEATURE_REPLY消息)。In step 504, the transmission devices A, B, C, D, E, and F respectively send a feature response message (ie, an OFPT_FEATURE_REPLY message) to the SDN controller.
步骤505中,SDN控制器解析每个OFPT_FEATURE_REPLY消息,并记录传输设备A、B、C、D、E、F配置分布式控制器的情况。In step 505, the SDN controller parses each OFPT_FEATURE_REPLY message and records the transmission device A, B, C, D, E, F configuration of the distributed controller.
步骤506中,SDN控制器收到APP发送的业务建立请求,该APP通过北 向协议向SDN控制器下发的业务建立请求为:从传输设备A到传输设备C建立一条业务连接,该业务的业务管理数据无保护属性且具有恢复属性。In step 506, the SDN controller receives the service establishment request sent by the APP, and the service establishment request sent by the APP to the SDN controller through the northbound protocol is: establishing a service connection from the transmission device A to the transmission device C, and the service of the service Management data has no protection attributes and has recovery attributes.
步骤507中,SDN控制器计算路由为A->C,并将路由结果转化为SNC信息。In step 507, the SDN controller calculates the route as A->C and converts the routing result into SNC information.
步骤508中,SDN控制器将SNC信息转化为OFPT_FLOW_MOD消息发送给传输设备A、C,并发送OFPT_BARRIER_REQUEST作为结束消息。In step 508, the SDN controller converts the SNC information into an OFPT_FLOW_MOD message and sends it to the transmission devices A, C, and sends the OFPT_BARRIER_REQUEST as the end message.
步骤509中,传输设备A、C解析OFPT_FLOW_MOD消息,并执行相应的指令。传输设备A、C均成功执行指令。In step 509, the transmission devices A, C parse the OFPT_FLOW_MOD message and execute the corresponding instruction. Both transmission devices A and C successfully execute the command.
步骤510中,传输设备A、C将执行结果通过OFPT_BARRIER_REPLY发送给SDN控制器。In step 510, the transmission devices A, C send the execution result to the SDN controller through OFPT_BARRIER_REPLY.
步骤511中,SDN控制器判断出传输设备A、C的执行结果均为成功。In step 511, the SDN controller determines that the execution results of the transmission devices A and C are all successful.
步骤512中,SDN控制器判断出传输设备A、C都配置了分布式控制器。In step 512, the SDN controller determines that the transmission devices A and C are all configured with a distributed controller.
步骤513中,SDN控制器通过OFPT_PACKET_OUT消息将业务管理数据发送给传输设备A(即业务数据对应的源传输设备)。In step 513, the SDN controller sends the service management data to the transmission device A (that is, the source transmission device corresponding to the service data) through the OFPT_PACKET_OUT message.
步骤514中,传输设备A的分布式控制器将业务管理数据的连接路由信息转化为ERO信息。In step 514, the distributed controller of the transmission device A converts the connection routing information of the service management data into ERO information.
步骤515中,传输设备A的分布式控制器与传输设备C之间通过RSVP-TE信令的路径(path)消息和resv消息,建立信令通道2。In step 515, the distributed controller of the transmission device A and the transmission device C establish a signaling channel 2 through a path message and a resv message of RSVP-TE signaling.
步骤516中,传输设备A的分布式控制器判断信令通道2的创建结果;由于传输设备A与传输设备C之间的信令不通,即信令通建立失败。In step 516, the distributed controller of the transmission device A determines the creation result of the signaling channel 2; since the signaling between the transmission device A and the transmission device C is unreachable, the signaling establishment fails.
步骤517中,传输设备A将失败结果通过OFPT_PACKET_IN消息发送给SDN控制器,流程结束。In step 517, the transmission device A sends the failure result to the SDN controller through the OFPT_PACKET_IN message, and the process ends.
图14为一应用实例提供的一种业务切换方法的信令交互流程图,本实施例提供的方法由SDN控制器和传输设备交互执行,该传输设备包括如图4中的传输设备A、B、C、D、E、F,如图14所示,本实施例的方法可以包括以下步骤。FIG. 14 is a flowchart of a signaling interaction of a service switching method according to an application example. The method provided in this embodiment is performed by an SDN controller and a transmission device, and the transmission device includes the transmission devices A and B in FIG. 4 . , C, D, E, F, as shown in FIG. 14, the method of this embodiment may include the following steps.
步骤601中,SDN控制器和传输设备A、B、C、D、E、F分别建立链接。In step 601, the SDN controller and the transmission devices A, B, C, D, E, and F respectively establish a link.
步骤602中,SDN控制器向传输设备A、B、C、D、E、F分别发送特征请求消息(即OFPT_FEATURE_REQUES消息)。In step 602, the SDN controller sends a feature request message (ie, an OFPT_FEATURE_REQUES message) to the transmission devices A, B, C, D, E, and F, respectively.
步骤603中,传输设备A、C、D、E、F填写OFPT_FEATURE_REPLY消息中的能力字段(即capabilities字段),并设置OFPC_DISTRIBUTED_CONTROL比特(bit)位,传输设备B不设置OFPC_DISTRIBUTED_CONTROL比特(bit) 位。In step 603, the transmission devices A, C, D, E, and F fill in the capability field (ie, the capabilities field) in the OFPT_FEATURE_REPLY message, and set the OFPC_DISTRIBUTED_CONTROL bit (bit) bit, and the transmission device B does not set the OFPC_DISTRIBUTED_CONTROL bit (bit) bit.
步骤604中,传输设备A、B、C、D、E、F分别向SDN控制器发送特征响应消息(即OFPT_FEATURE_REPLY消息)。In step 604, the transmission devices A, B, C, D, E, and F respectively send a feature response message (ie, an OFPT_FEATURE_REPLY message) to the SDN controller.
步骤605中,SDN控制器解析每个OFPT_FEATURE_REPLY消息,并记录传输设备A、B、C、D、E、F配置分布式控制器的情况。In step 605, the SDN controller parses each OFPT_FEATURE_REPLY message and records the case where the transmission devices A, B, C, D, E, and F configure the distributed controller.
步骤606中,SDN控制器收到APP发送的业务建立请求,该APP通过北向协议向SDN控制器下发的业务建立请求为:从传输设备A到传输设备E建立一条业务连接,该业务的业务管理数据无保护属性且具有恢复属性。In step 606, the SDN controller receives the service establishment request sent by the APP, and the service establishment request sent by the APP to the SDN controller through the northbound protocol is: establishing a service connection from the transmission device A to the transmission device E, and the service of the service Management data has no protection attributes and has recovery attributes.
步骤607中,SDN控制器计算路由为A->D->E,并将路由结果转化为SNC信息。In step 607, the SDN controller calculates the route as A->D->E, and converts the routing result into SNC information.
步骤608中,SDN控制器将SNC信息转化为OFPT_FLOW_MOD消息发送给传输设备A、D、E,并发送OFPT_BARRIER_REQUEST作为结束消息。In step 608, the SDN controller converts the SNC information into an OFPT_FLOW_MOD message and sends it to the transmission devices A, D, and E, and sends the OFPT_BARRIER_REQUEST as the end message.
步骤609中,传输设备A、D、E解析OFPT_FLOW_MOD消息,并执行相应的指令。传输设备A、D、E均成功执行指令。In step 609, the transmission devices A, D, and E parse the OFPT_FLOW_MOD message and execute the corresponding instruction. The transmission devices A, D, and E all successfully execute the instructions.
步骤610中,传输设备A、D、E将执行结果通过OFPT_BARRIER_REPLY发送给SDN控制器。In step 610, the transmission devices A, D, and E send the execution result to the SDN controller through OFPT_BARRIER_REPLY.
步骤611中,SDN控制器判断出传输设备A、D、E的执行结果均为成功。In step 611, the SDN controller determines that the execution results of the transmission devices A, D, and E are all successful.
步骤612中,SDN控制器判断出传输设备A、D、E都配置了分布式控制器。In step 612, the SDN controller determines that the transmission devices A, D, and E are all configured with a distributed controller.
步骤613中,SDN控制器通过OFPT_PACKET_OUT消息将业务管理数据发送给传输设备A(即业务数据对应的源传输设备)。In step 613, the SDN controller sends the service management data to the transmission device A (ie, the source transmission device corresponding to the service data) through the OFPT_PACKET_OUT message.
步骤614中,传输设备A的分布式控制器将业务管理数据的连接路由信息转化为ERO信息。In step 614, the distributed controller of the transmission device A converts the connection routing information of the service management data into ERO information.
步骤615中,传输设备A的分布式控制器与传输设备D和E之间通过RSVP-TE信令的path消息(A->D->E)和resv消息(E->D->A),逐跳建立信令通道2。In step 615, a path message (A->D->E) and a resv message (E->D->A) between the distributed controller of the transmission device A and the transmission device D and E through RSVP-TE signaling. , establish signaling channel 2 hop by hop.
步骤616中,传输设备A的分布式控制器判断出信令通道2的创建成功。In step 616, the distributed controller of the transmission device A determines that the creation of the signaling channel 2 is successful.
步骤617中,传输设备A将成功结果通过OFPT_PACKET_IN消息发送给SDN控制器。In step 617, the transmitting device A sends the successful result to the SDN controller through the OFPT_PACKET_IN message.
步骤618中,传输设备A将业务管理数据设置为分布式控制非使能状态。说明此时的业务数据由SDN控制器管理控制,即通过信令通道1传输业务管理数据。In step 618, the transmission device A sets the service management data to a distributed control non-enabled state. It indicates that the service data at this time is controlled by the SDN controller, that is, the service management data is transmitted through the signaling channel 1.
此时,关闭SDN控制器,即传输设备A、B、C、D、E、F与SDN控制器之间的信令通道1都断链。At this time, the SDN controller is turned off, that is, the signaling channel 1 between the transmission devices A, B, C, D, E, F and the SDN controller is broken.
步骤619中,传输设备D和E向传输设备A的分布式控制器发送通知(notify)消息。In step 619, transmission devices D and E send a notification message to the distributed controller of transmission device A.
步骤620中,传输设备A的分布式控制器记录接收到的通知消息,并确认业务数据经过的所有传输设备(即传输设备D和E)都上报了通知消息,并且传输设备A与SDN控制器之间的信令通道1也断链。In step 620, the distributed controller of the transmission device A records the received notification message, and confirms that all the transmission devices through which the service data passes (ie, the transmission devices D and E) report the notification message, and the transmission device A and the SDN controller The signaling channel 1 between them is also broken.
步骤621中,传输设备A的分布式控制器将业务管理数据设置为分布式控制使能状态,即通过信令通道2传输业务管理数据。In step 621, the distributed controller of the transmission device A sets the service management data to a distributed control enabled state, that is, transmits the service management data through the signaling channel 2.
此时,A->D->E的链路发生断纤。At this time, the link of A->D->E is broken.
步骤622中,传输设备D或E向传输设备A发送告警消息。In step 622, the transmission device D or E sends an alarm message to the transmission device A.
步骤623中,传输设备A的分布式控制器判断出该业务管理数据具有恢复属性,且该业务管理数据为分布式控制使能状态。In step 623, the distributed controller of the transmission device A determines that the service management data has a recovery attribute, and the service management data is a distributed control enabled state.
步骤624中,传输设备A的分布式控制器对该业务数据进行重路由操作,例如将业务数据重路由到A->F->E的路径上进行传输,由于此时业务数据由传输设备A的分布式控制器管理,因此,传输设备A的分布式控制器可以对该业务管理数据进行恢复,流程结束。In step 624, the distributed controller of the transmission device A performs a rerouting operation on the service data, for example, rerouting the service data to the path of A->F->E for transmission, because the service data is transmitted by the transmission device A at this time. The distributed controller management, therefore, the distributed controller of the transmission device A can recover the service management data, and the process ends.
图15为一应用实例提供的一种业务切换方法的信令交互流程图,本实施例提供的方法由SDN控制器和传输设备交互执行,该传输设备包括如图4中的传输设备A、B、C、D、E、F,如图15所示,本实施例的方法可以包括以下步骤。FIG. 15 is a flowchart of a signaling interaction of a service switching method according to an application example. The method provided in this embodiment is performed by an SDN controller and a transmission device, and the transmission device includes the transmission devices A and B in FIG. 4 . , C, D, E, F, as shown in FIG. 15, the method of this embodiment may include the following steps.
步骤701中,SDN控制器和传输设备A、B、C、D、E、F分别建立链接。In step 701, the SDN controller and the transmission devices A, B, C, D, E, and F respectively establish a link.
步骤702中,SDN控制器向传输设备A、B、C、D、E、F分别发送特征请求消息(即OFPT_FEATURE_REQUES消息)。In step 702, the SDN controller sends a feature request message (ie, an OFPT_FEATURE_REQUES message) to the transmission devices A, B, C, D, E, and F, respectively.
步骤703中,传输设备A、C、D、E、F填写OFPT_FEATURE_REPLY消息中的能力字段(即capabilities字段),并设置OFPC_DISTRIBUTED_CONTROL比特(bit)位,传输设备B不设置OFPC_DISTRIBUTED_CONTROL比特(bit)位。In step 703, the transmission devices A, C, D, E, and F fill in the capability field (ie, capability field) in the OFPT_FEATURE_REPLY message, and set the OFPC_DISTRIBUTED_CONTROL bit bit, and the transmission device B does not set the OFPC_DISTRIBUTED_CONTROL bit bit.
步骤704中,传输设备A、B、C、D、E、F分别向SDN控制器发送特征响应消息(即OFPT_FEATURE_REPLY消息)。In step 704, the transmission devices A, B, C, D, E, and F respectively send a feature response message (ie, an OFPT_FEATURE_REPLY message) to the SDN controller.
步骤705中,SDN控制器解析每个OFPT_FEATURE_REPLY消息,并记录传输设备A、B、C、D、E、F配置分布式控制器的情况。In step 705, the SDN controller parses each OFPT_FEATURE_REPLY message and records the transmission device A, B, C, D, E, F configuration of the distributed controller.
步骤706中,SDN控制器收到APP发送的业务建立请求,该APP通过北向协议向SDN控制器下发的业务建立请求为:从传输设备A到传输设备E建立一条业务连接,该业务的业务管理数据无保护属性且不具有恢复属性。In step 706, the SDN controller receives the service establishment request sent by the APP, and the service establishment request sent by the APP to the SDN controller through the northbound protocol is: establishing a service connection from the transmission device A to the transmission device E, and the service of the service Management data has no protection attributes and no recovery attributes.
步骤707中,SDN控制器计算路由为A->D->E,并将路由结果转化为SNC信息。In step 707, the SDN controller calculates the route as A->D->E, and converts the routing result into SNC information.
步骤708中,SDN控制器将SNC信息转化为OFPT_FLOW_MOD消息发送给传输设备A、D、E,并发送OFPT_BARRIER_REQUEST作为结束消息。In step 708, the SDN controller converts the SNC information into an OFPT_FLOW_MOD message and sends it to the transmission devices A, D, and E, and sends the OFPT_BARRIER_REQUEST as the end message.
步骤709中,传输设备A、D、E解析OFPT_FLOW_MOD消息,并执行相应的指令。传输设备A、D、E均成功执行指令。In step 709, the transmission devices A, D, E parse the OFPT_FLOW_MOD message and execute the corresponding instruction. The transmission devices A, D, and E all successfully execute the instructions.
步骤710中,传输设备A、D、E将执行结果通过OFPT_BARRIER_REPLY发送给SDN控制器。In step 710, the transmission devices A, D, and E send the execution result to the SDN controller through OFPT_BARRIER_REPLY.
步骤711中,SDN控制器判断出传输设备A、D、E的执行结果均为成功。In step 711, the SDN controller determines that the execution results of the transmission devices A, D, and E are all successful.
步骤712中,SDN控制器判断出传输设备A、D、E都配置了分布式控制器。In step 712, the SDN controller determines that the transmission devices A, D, and E are all configured with a distributed controller.
步骤713中,SDN控制器通过OFPT_PACKET_OUT消息将业务管理数据发送给传输设备A(即业务数据对应的源传输设备)。In step 713, the SDN controller sends the service management data to the transmission device A (that is, the source transmission device corresponding to the service data) through the OFPT_PACKET_OUT message.
步骤714中,传输设备A的分布式控制器将业务管理数据的连接路由信息转化为ERO信息。In step 714, the distributed controller of the transmission device A converts the connection routing information of the service management data into ERO information.
步骤715中,传输设备A的分布式控制器与传输设备D和E之间通过RSVP-TE信令的路径(path)消息(A->D->E)和resv消息(E->D->A),逐跳建立信令通道2。In step 715, a path message (A->D->E) and a resv message (E->D-) between the distributed controller of the transmission device A and the transmission device D and E through RSVP-TE signaling. >A), establish signaling channel 2 hop by hop.
步骤716中,传输设备A的分布式控制器判断出信令通道2的创建成功。In step 716, the distributed controller of the transmission device A determines that the creation of the signaling channel 2 is successful.
步骤717中,传输设备A将成功结果通过OFPT_PACKET_IN消息发送给SDN控制器。In step 717, the transmission device A sends the success result to the SDN controller through the OFPT_PACKET_IN message.
步骤718中,传输设备A将业务管理数据设置为分布式控制非使能状态。说明此时的业务数据由SDN控制器管理控制,即通过信令通道1传输业务管理数据。In step 718, the transmission device A sets the service management data to a distributed control non-enabled state. It indicates that the service data at this time is controlled by the SDN controller, that is, the service management data is transmitted through the signaling channel 1.
此时,关闭SDN控制器,即传输设备A、B、C、D、E、F与SDN控制器之间的信令通道1都断链。At this time, the SDN controller is turned off, that is, the signaling channel 1 between the transmission devices A, B, C, D, E, F and the SDN controller is broken.
步骤719中,传输设备D和E向传输设备A的分布式控制器发送通知(notify)消息。In step 719, transmission devices D and E send a notify message to the distributed controller of transmission device A.
步骤720中,传输设备A的分布式控制器记录接收到的通知消息,并确认 业务数据经过的所有传输设备(即传输设备D和E)都上报了通知消息,并且传输设备A与SDN控制器之间的信令通道1也断链。In step 720, the distributed controller of the transmission device A records the received notification message, and confirms that all the transmission devices through which the service data passes (ie, the transmission devices D and E) report the notification message, and the transmission device A and the SDN controller The signaling channel 1 between them is also broken.
步骤721中,传输设备A的分布式控制器将业务管理数据设置为分布式控制使能状态,即通过信令通道2传输业务管理数据。In step 721, the distributed controller of the transmission device A sets the service management data to a distributed control enabled state, that is, transmits the service management data through the signaling channel 2.
此时,A->D->E的链路发生断纤。At this time, the link of A->D->E is broken.
步骤722中,传输设备D或E向传输设备A发送告警消息。In step 722, the transmission device D or E sends an alarm message to the transmission device A.
步骤722中,传输设备A的分布式控制器判断出该业务管理数据无保护属性且不具有恢复属性,流程结束。In step 722, the distributed controller of the transmission device A determines that the service management data has no protection attribute and does not have a recovery attribute, and the process ends.
图16为一应用实例提供的一种业务切换方法的信令交互流程图,本实施例提供的方法由SDN控制器和传输设备交互执行,该传输设备包括如图4中的传输设备A、B、C、D、E、F,如图16所示,本实施例的方法可以包括以下步骤。FIG. 16 is a flowchart of a signaling interaction of a service switching method according to an application example. The method provided in this embodiment is performed by an SDN controller and a transmission device, and the transmission device includes the transmission devices A and B in FIG. 4 . , C, D, E, F, as shown in FIG. 16, the method of this embodiment may include the following steps.
步骤801中,SDN控制器和传输设备A、B、C、D、E、F分别建立链接。In step 801, the SDN controller and the transmission devices A, B, C, D, E, and F respectively establish a link.
步骤802中,SDN控制器向传输设备A、B、C、D、E、F分别发送特征请求消息(即OFPT_FEATURE_REQUES消息)。In step 802, the SDN controller sends a feature request message (ie, an OFPT_FEATURE_REQUES message) to the transmission devices A, B, C, D, E, and F, respectively.
步骤803中,传输设备A、C、D、E、F填写OFPT_FEATURE_REPLY消息中的能力字段(即capabilities字段),并设置OFPC_DISTRIBUTED_CONTROL比特(bit)位,传输设备B不设置OFPC_DISTRIBUTED_CONTROL比特(bit)位。In step 803, the transmission devices A, C, D, E, and F fill in the capability field (ie, capability field) in the OFPT_FEATURE_REPLY message, and set the OFPC_DISTRIBUTED_CONTROL bit bit, and the transmission device B does not set the OFPC_DISTRIBUTED_CONTROL bit bit.
步骤804中,传输设备A、B、C、D、E、F分别向SDN控制器发送特征响应消息(即OFPT_FEATURE_REPLY)消息。In step 804, the transmission devices A, B, C, D, E, and F respectively send a feature response message (ie, OFPT_FEATURE_REPLY) message to the SDN controller.
步骤805中,SDN控制器解析每个OFPT_FEATURE_REPLY消息,并记录传输设备A、B、C、D、E、F配置分布式控制器的情况。In step 805, the SDN controller parses each OFPT_FEATURE_REPLY message and records the transmission device A, B, C, D, E, F configuration of the distributed controller.
步骤806中,SDN控制器收到APP发送的业务建立请求,该APP通过北向协议向SDN控制器下发的业务建立请求为:从传输设备A到传输设备E建立一条业务连接,该业务的业务管理数据有保护属性且不具有恢复属性。In step 806, the SDN controller receives the service establishment request sent by the APP, and the service establishment request sent by the APP to the SDN controller through the northbound protocol is: establishing a service connection from the transmission device A to the transmission device E, and the service of the service Management data has protection attributes and no recovery attributes.
步骤807中,SDN控制器计算出工作路由为A->D->E,保护路由为A->F->E,并将路由结果转化为SNC信息。In step 807, the SDN controller calculates that the working route is A->D->E, the protection route is A->F->E, and the routing result is converted into SNC information.
步骤808中,SDN控制器将SNC信息转化为OFPT_FLOW_MOD消息发送给传输设备A、D、E、F,并发送OFPT_BARRIER_REQUEST作为结束。In step 808, the SDN controller converts the SNC information into an OFPT_FLOW_MOD message and sends it to the transmission devices A, D, E, and F, and sends the OFPT_BARRIER_REQUEST as the end.
步骤809中,传输设备A、D、E、F解析OFPT_FLOW_MOD消息,并执行指令。传输设备A、D、E、F均成功执行指令。In step 809, the transmission devices A, D, E, F parse the OFPT_FLOW_MOD message and execute the instruction. The transmission devices A, D, E, and F all successfully execute the instructions.
步骤810中,传输设备A、D、E、F将执行结果通过OFPT_BARRIER_REPLY发送给SDN控制器。In step 810, the transmission devices A, D, E, and F send the execution result to the SDN controller through OFPT_BARRIER_REPLY.
步骤811中,SDN控制器判断出传输设备A、D、E、F的执行结果均为成功。In step 811, the SDN controller determines that the execution results of the transmission devices A, D, E, and F are all successful.
步骤812中,SDN控制器判断出传输设备A、D、E、F都配置了分布式控制器。In step 812, the SDN controller determines that the transmission devices A, D, E, and F are all configured with a distributed controller.
步骤813中,SDN控制器通过OFPT_PACKET_OUT消息将业务管理数据发送给传输设备A(即业务数据对应的源传输设备)。In step 813, the SDN controller sends the service management data to the transmission device A (that is, the source transmission device corresponding to the service data) through the OFPT_PACKET_OUT message.
步骤814中,传输设备A的分布式控制器将业务管理数据的连接路由信息转化为ERO信息。In step 814, the distributed controller of the transmission device A converts the connection routing information of the service management data into ERO information.
步骤815中,传输设备A的分布式控制器与传输设备D和E之间通过RSVP-TE信令的path消息(A->D->E)和resv消息(E->D->A),逐跳建立信令通道2-1;传输设备A的分布式控制器与传输设备F和E之间通过RSVP-TE信令的path消息(A->F->E)和resv消息(E->F->A),逐跳建立信令通道2-2。In step 815, a path message (A->D->E) and a resv message (E->D->A) between the distributed controller of the transmission device A and the transmission device D and E through RSVP-TE signaling. , establishing a signaling channel 2-1 hop by hop; a path message (A->F->E) and a resv message (E->F->E) and a resv message between the distributed controller of the transmission device A and the transmission device F and E through RSVP-TE signaling ->F->A), establish signaling channel 2-2 hop by hop.
步骤816中,传输设备A的分布式控制器判断出信令通道2-1和信令通道2-2都创建成功。In step 816, the distributed controller of the transmission device A determines that both the signaling channel 2-1 and the signaling channel 2-2 are successfully created.
步骤817中,传输设备A将成功结果通过OFPT_PACKET_IN消息发送给SDN控制器。In step 817, the transmission device A sends the success result to the SDN controller through the OFPT_PACKET_IN message.
步骤818中,传输设备A将业务管理数据设置为分布式控制非使能状态。说明此时的业务数据由SDN控制器管理控制,即通过信令通道1传输业务管理数据。In step 818, the transmission device A sets the service management data to a distributed control non-enabled state. It indicates that the service data at this time is controlled by the SDN controller, that is, the service management data is transmitted through the signaling channel 1.
此时,关闭SDN控制器,即传输设备A、B、C、D、E、F与SDN控制器之间的信令通道1都断链。At this time, the SDN controller is turned off, that is, the signaling channel 1 between the transmission devices A, B, C, D, E, F and the SDN controller is broken.
步骤819中,传输设备D和E向传输设备A的分布式控制器发送通知(notify)消息。In step 819, transmission devices D and E send a notification message to the distributed controller of transmission device A.
步骤820中,传输设备A的分布式控制器记录接收到的通知消息,并确认业务数据经过的所有传输设备(即传输设备D和E)都上报了通知消息,并且传输设备A与SDN控制器之间的信令通道1也断链。In step 820, the distributed controller of the transmission device A records the received notification message, and confirms that all the transmission devices through which the service data passes (ie, the transmission devices D and E) report the notification message, and the transmission device A and the SDN controller The signaling channel 1 between them is also broken.
步骤821中,传输设备A的分布式控制器将业务管理数据设置为分布式控制使能状态,即通过信令通道2传输业务管理数据。In step 821, the distributed controller of the transmission device A sets the service management data to a distributed control enabled state, that is, transmits the service management data through the signaling channel 2.
此时,A->D->E的链路发生断纤。At this time, the link of A->D->E is broken.
步骤822中,传输设备D或E向传输设备A发送告警消息。In step 822, the transmitting device D or E sends an alert message to the transmitting device A.
步骤823中,传输设备A的分布式控制器判断出该业务管理数据有保护属性且不具有恢复属性,且该业务管理数据为分布式控制使能状态。In step 823, the distributed controller of the transmission device A determines that the service management data has a protection attribute and does not have a recovery attribute, and the service management data is a distributed control enabled state.
步骤824中,输设备A的分布式控制器将业务数据由工作路由(A->D->E)倒换到保护路由(A->F->E)上进行传输,由于此时业务数据由传输设备A的分布式控制器管理,因此,传输设备A的分布式控制器可以对该业务数据进行保护,流程结束。In step 824, the distributed controller of the transmission device A converts the service data from the working route (A->D->E) to the protection route (A->F->E) for transmission, because the service data is The distributed controller of the transmission device A is managed. Therefore, the distributed controller of the transmission device A can protect the service data, and the process ends.
上述实施例提供的业务切换方法,实现了在SDN控制器无法对传输设备进行管理的情况下,能够将切换为由分布式控制平面管理业务数据,从而在数据传输链路中断时,分布式控制平面可以对业务进行恢复和倒换。在网络资源冗余的前提下,可以保证业务数据不中断或中断时间非常短时,SND控制器可以将业务数据同步给分布式控制平面,在源传输设备的分布式控制器建立业务数据后,SDN控制器上也能感知,从而保证分布式控制器上的业务和资源管理与SDN控制器上的业务和资源管理不冲突。The service switching method provided by the foregoing embodiment implements that when the SDN controller cannot manage the transmission device, the switch can be switched to the service data by the distributed control plane, so that when the data transmission link is interrupted, the distributed control is performed. The plane can recover and switch the business. On the premise of network resource redundancy, when the service data is not interrupted or the interruption time is very short, the SND controller can synchronize the service data to the distributed control plane. After the distributed controller of the source transmission device establishes the service data, It can also be perceived on the SDN controller to ensure that the service and resource management on the distributed controller does not conflict with the service and resource management on the SDN controller.
图17为一实施例提供的一种业务切换装置的结构示意图,本实施例提供的业务切换装置可以适用于业务数据在网络中进行恢复和倒换等控制的情况中,该业务切换装置可以通过硬件和软件结合的方式来实现,该装置可以集成在源传输设备的分布式控制器的处理器中,供处理器调用。如图17所示,本实施例的业务切换装置可以包括:检测模块11和控制模块12。FIG. 17 is a schematic structural diagram of a service switching apparatus according to an embodiment. The service switching apparatus provided in this embodiment may be applicable to a service in which data is restored and switched in a network, and the service switching apparatus may pass hardware. Implemented in a software-integrated manner, the device can be integrated into the processor of the distributed controller of the source transport device for processing by the processor. As shown in FIG. 17, the service switching apparatus of this embodiment may include: a detecting module 11 and a control module 12.
其中,检测模块11设置为检测业务数据传输经过的传输设备与SDN控制器之间的第一信令通道的状态。The detecting module 11 is configured to detect a state of the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted.
控制模块12设置为在检测模块11检测到第一信令通道断链时,通过第二信令通道传输业务管理数据;其中,该业务数据为业务管理数据指示传输的数据,以及所述第二信令通道为所述业务管理数据从所述源传输设备到宿传输设备的控制信令的传输通道。The control module 12 is configured to transmit the service management data through the second signaling channel when the detecting module 11 detects the first signaling channel disconnection; wherein the service data indicates the transmitted data for the service management data, and the second The signaling channel is a transmission channel of the control signaling of the service management data from the source transmission device to the sink transmission device.
上述实施例提供的业务切换装置可以将SDN控制器管理的业务数据切换到分布式控制平面中进行管理控制,上述实施例中的装置设置于源传输设备的分布式控制器中,该源传输设备为业务数据的源节点对应的传输设备,即业务数据传输的起始传输设备。The service switching device provided by the foregoing embodiment can switch the service data managed by the SDN controller to the distributed control plane for management control. The device in the foregoing embodiment is disposed in the distributed controller of the source transmission device, and the source transmission device is configured. The transmission device corresponding to the source node of the service data, that is, the initial transmission device of the service data transmission.
在进行业务管理数据的信令通道的切换前,SDN控制器和分布式控制平面中可以具有相同的业务管理数据,该业务管理数据为业务数据的相关配置,即保证业务管理数据的管理权切换后该业务管理数据能够被传输,业务数据在传输设备之间传输,业务管理数据在信令通道内传输。当SDN控制器控制业务管 理数据的管理权时,在业务数据的传输过程中,检测模块11可以实时检测业务数据传输经过的传输设备与SDN控制器之间的第一信令通道的状态,也就是业务数据传输经过的传输设备与SDN控制器之间的第一信令通道是否正常连通,上述第一信令通道的连通或断链是确定是否切换业务管理数据的管理权的依据。Before the switching of the signaling channel of the service management data, the SDN controller and the distributed control plane may have the same service management data, and the service management data is related configuration of the service data, that is, the management right switching of the service management data is guaranteed. The service management data can then be transmitted, the service data is transmitted between the transmission devices, and the service management data is transmitted in the signaling channel. When the SDN controller controls the management right of the service management data, in the process of transmitting the service data, the detecting module 11 can detect the state of the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted, that is, Whether the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted is normally connected, and the connection or disconnection of the first signaling channel is the basis for determining whether to switch the management right of the service management data.
在一实施例中,若检测模块11检测出业务数据传输经过的传输设备与SDN控制器之间的第一信令通道连通,则可以持续由SDN控制器与管理业务管理数据,若检测模块11检测出业务数据传输经过的每个传输设备与SDN控制器之间的第一信令通道均断链,即第一信令通道无法传输业务管理数据,说明SDN控制器不再适合管理业务管理数据,则可以通过第二信令通道传输业务管理数据,该第二信令通道为业务管理数据从该源传输设备到宿传输设备的控制信令传输通道。In an embodiment, if the detecting module 11 detects that the first signaling channel between the transmission device and the SDN controller through which the service data is transmitted is connected, the data may be continuously managed by the SDN controller and the management service, if the detection module 11 It is detected that the first signaling channel between each transmission device and the SDN controller through which the service data is transmitted is broken, that is, the first signaling channel cannot transmit the service management data, indicating that the SDN controller is no longer suitable for managing the service management data. The service management data may be transmitted through the second signaling channel, where the second signaling channel is a control signaling transmission channel of the service management data from the source transmission device to the sink transmission device.
一实施例中,业务数据是在传输设备间传输的数据,即通过图3中“数据传输链路”传输的数据;业务管理数据是指业务数据的相关配置,业务管理数据用于指示该业务中需要传输的数据(即业务数据),该业务管理数据通过第一信令通道或第二信令通道传输数据,该业务管理数据例如包括:业务是否具有保护性,业务是否具有恢复性,业务的源节点和宿节点,以及业务的传输路径等配置信息。In an embodiment, the service data is data transmitted between the transmission devices, that is, data transmitted through the “data transmission link” in FIG. 3; the service management data refers to a related configuration of the service data, and the service management data is used to indicate the service. Data to be transmitted (ie, service data), the service management data is transmitted through the first signaling channel or the second signaling channel, and the service management data includes, for example, whether the service is protective, whether the service is recoverable, and the service Configuration information such as the source node and the sink node, and the transmission path of the service.
一实施例中,在由源传输设备的分布式控制器管理该业务管理数据后,若业务数据所传输的内容在传输过程中发生故障,即图3中的“数据传输链路”发生中断的情况下,控制模块12可以根据业务管理数据的相关配置对业务数据进行保护或恢复。In an embodiment, after the service management data is managed by the distributed controller of the source transmission device, if the content transmitted by the service data fails during the transmission, that is, the “data transmission link” in FIG. 3 is interrupted. In this case, the control module 12 can protect or restore the service data according to the relevant configuration of the service management data.
一实施例中,源传输设备为当前业务管理数据对应的源传输设备,在业务管理数据不同的情况下,传输网络中的源传输设备可能发生转变,因此,本发明实施例中的业务切换装置可以设置于传输网络中的任一传输设备中;与业务管理数据对应的信令通道和其它传输设备均与该业务数据相关。In an embodiment, the source transmission device is a source transmission device corresponding to the current service management data. If the service management data is different, the source transmission device in the transmission network may be changed. Therefore, the service switching device in the embodiment of the present invention It can be set in any transmission device in the transmission network; the signaling channel and other transmission devices corresponding to the service management data are related to the service data.
上述实施例提供的业务切换装置可执行图2所示实施例提供的业务切换方法,具备相应的功能模块。The service switching apparatus provided by the foregoing embodiment may perform the service switching method provided by the embodiment shown in FIG. 2, and has corresponding functional modules.
可选地,图18为一实施例提供的一种业务切换装置的结构示意图,在图17所示装置的结构基础上,本实施例提供的装置还可以包括:接收模块13以及建立模块14。Optionally, FIG. 18 is a schematic structural diagram of a service switching apparatus according to an embodiment. The apparatus provided in this embodiment may further include: a receiving module 13 and an establishing module 14 on the basis of the structure of the apparatus shown in FIG.
接收模块13设置为在检测模块检测第一信令通道的状态之前,接收SDN控制器发送的业务管理数据。The receiving module 13 is configured to receive the service management data sent by the SDN controller before the detecting module detects the state of the first signaling channel.
建立模块14设置为根据接收模块13接收的业务管理数据,建立用于传输该业务管理数据的第二信令通道。The establishing module 14 is configured to establish a second signaling channel for transmitting the service management data according to the service management data received by the receiving module 13.
在一实施例中,业务管理数据的管理权切换后,该业务管理数据能够被传输,因此,接收模块13可以接收SDN控制器发送的业务数据,以从SDN控制器中同步该业务数据,建立模块14根据该业务管理数据建立该业务管理数据在分布式控制平面中的信令通道,即第二信令通道。In an embodiment, after the management right of the service management data is switched, the service management data can be transmitted. Therefore, the receiving module 13 can receive the service data sent by the SDN controller to synchronize the service data from the SDN controller, and establish The module 14 establishes a signaling channel, that is, a second signaling channel, of the service management data in the distributed control plane according to the service management data.
一实施例中,接收模块13可以接收SDN控制器发送的业务数据,以同步SDN控制器中的业务数据。在上述方法中,SDN控制器可以将业务数据组包通过OFPT_PACKET_OUT消息发送给源传输设备的分布式控制器,其中,业务数据填写在上述消息的数据(data)中,该OFPT_PACKET_OUT消息的内容在上述实施例中已经说明。In an embodiment, the receiving module 13 can receive the service data sent by the SDN controller to synchronize the service data in the SDN controller. In the above method, the SDN controller may send the service data group packet to the distributed controller of the source transmission device by using an OFPT_PACKET_OUT message, wherein the service data is filled in the data of the above message, and the content of the OFPT_PACKET_OUT message is as described above. It has been explained in the examples.
在一实施例中,建立模块14建立第二信令通道可以包括:In an embodiment, the establishing module 14 establishing the second signaling channel may include:
将业务管理数据中的连接路由信息转化为显式路由对象ERO信息,并与业务管理数据的宿传输设备之间逐跳建立第二信令通道。The connection routing information in the service management data is converted into an explicit routing object ERO information, and a second signaling channel is established hop by hop with the sink transmission device of the service management data.
在一实施例中,源传输设备的分布式控制器建立源传输设备与宿传输设备之间的第二信令通道的方式可以为,例如,第二信令通道为图5中的A->B->E,则与B和E(即宿传输设备)之间通过RSVP-TE的路径(path)(由A到E的顺序,一跳一跳建立通道)消息和resv(由E到A的顺序,一跳一跳建立通道)消息建立起第二信令通道。In an embodiment, the manner in which the distributed controller of the source transmission device establishes the second signaling channel between the source transmission device and the sink transmission device may be, for example, the second signaling channel is A-> in FIG. B->E, then pass the RSVP-TE path (path from A to E, establish a channel by one hop) with B and E (ie, the sink transmission device) and resv (from E to A) The order, one hop and one hop to establish a channel) message establishes a second signaling channel.
上述实施例中的装置还可以包括:确定模块15和发送模块16。The apparatus in the above embodiment may further include: a determining module 15 and a sending module 16.
确定模块15设置为在建立模块14建立第二信令通道之后,确定该第二信令通道的创建结果。The determining module 15 is arranged to determine the creation result of the second signaling channel after the establishing module 14 establishes the second signaling channel.
发送模块16设置为将确定模块15确定的创建结果发送给SDN控制器,该创建结果用于指示SDN控制器在创建结果为创建成功时通过第一信令通道传输业务管理数据,在创建结果为创建失败时结束业务切换流程。The sending module 16 is configured to send the creation result determined by the determining module 15 to the SDN controller, where the creation result is used to instruct the SDN controller to transmit the service management data through the first signaling channel when the creation result is successful, and the creation result is The business switching process ends when the creation fails.
在创建结果为创建成功时,还可以将业务管理数据设置为分布式控制非使能状态,即通过增加标示符的形式标识该业务数据此时由SDN控制器管理控制。When the creation result is successful, the service management data may also be set to a distributed control non-enabled state, that is, the service data is identified by adding an identifier to the SDN controller.
一实施例中,确定模块15在确定出创建结果(包括失败结果或成功结果)后,发送模块16可以通过OFPT_PACKET_IN消息将创建结果发送给SDN控制器,上述OFPT_PACKET_IN消息的扩展原因字段可以定义为OFPR_TUNNEL_CREATED,创建结果可以携带在该扩展原因字段的数据(data)中,该OFPT_PACKET_IN消息的内容在上述实施例中已经说明。In an embodiment, after determining the creation result (including the failure result or the success result), the sending module 16 may send the creation result to the SDN controller by using an OFPT_PACKET_IN message, and the extension reason field of the OFPT_PACKET_IN message may be defined as OFPR_TUNNEL_CREATED The creation result may be carried in the data of the extension reason field, and the content of the OFPT_PACKET_IN message has been explained in the above embodiment.
在一实施例中,接收模块13还设置为在检测模块11检测到业务数据传输经过的所有传输设备都与SDN控制器之间的第一信令通道断链之前,接收该业务数据传输经过的所有传输设备发送的通知(notify)消息,该通知消息指示发送本通知消息的传输设备与SDN控制器之间的第一信令通道断链。此时,源传输设备的分布式控制器可以记录收到的通知消息,并检查业务数据经过该的所有传输设备是否都上报了通知消息,若业务数据经过的所有传输设备都上报了通知消息,则说明SDN控制器不再具有该业务数据的控制权,可以执行将该业务管理数据设置为分布式控制使能状态的操作。该通知(notify)消息的内容在上述实施例中已经说明。In an embodiment, the receiving module 13 is further configured to receive the service data transmission before the detecting module 11 detects that the first signaling channel between all the transmission devices that have passed the service data transmission and the SDN controller is broken. A notification message sent by all transmitting devices, the notification message indicating a first signaling channel disconnection between the transmitting device transmitting the present notification message and the SDN controller. At this time, the distributed controller of the source transmission device may record the received notification message, and check whether all the transmission devices through which the service data passes report the notification message, and if all the transmission devices through which the service data passes report the notification message, It is indicated that the SDN controller no longer has the control right of the service data, and the operation of setting the service management data to the distributed control enabled state may be performed. The content of the notify message has been explained in the above embodiment.
上述实施例提供的业务切换装置可以执行图4所示实施例提供的业务切换方法,具备相应的功能模块。The service switching apparatus provided by the foregoing embodiment may perform the service switching method provided by the embodiment shown in FIG. 4, and has a corresponding function module.
在上述实施例的基础上,一实施例提供一种业务切换装置,如图19所示,本实施例提供了一种业务切换装置的结构示意图。在上述图17所示装置的结构基础上,参见图19,本实施例提供的装置还可以包括:接收模块13、解析模块17和发送模块16。On the basis of the foregoing embodiments, an embodiment provides a service switching apparatus. As shown in FIG. 19, this embodiment provides a schematic structural diagram of a service switching apparatus. Based on the structure of the apparatus shown in FIG. 17, referring to FIG. 19, the apparatus provided in this embodiment may further include: a receiving module 13, a parsing module 17, and a sending module 16.
接收模块13设置为在检测模块11检测第一信令通道的状态之前,接收SDN控制器发送的子网链接SNC信息;该SNC信息为SDN控制器根据APP发送的业务建立请求计算得到的。The receiving module 13 is configured to receive the subnet link SNC information sent by the SDN controller before the detecting module 11 detects the state of the first signaling channel; the SNC information is calculated by the SDN controller according to the service establishment request sent by the APP.
解析模块17设置为解析并执行接收模块13接收的SNC信息中的指令。The parsing module 17 is arranged to parse and execute the instructions in the SNC information received by the receiving module 13.
发送模块16设置为将解析模块17得到的执行结果发送给SDN控制器,该执行结果用于指示SDN控制器在执行结果为成功,且传输设备都配置了分布式控制器时,向源传输设备的分布式控制器发送该业务管理数据。此处的传输设备具体是指业务数据经过的每个传输设备,即与当前业务管理数据相关的传输设备。The sending module 16 is configured to send the execution result obtained by the parsing module 17 to the SDN controller, where the execution result is used to indicate that the SDN controller transmits the device to the source when the execution result is successful, and the transmission device is configured with the distributed controller. The distributed controller sends the service management data. The transmission device here refers specifically to each transmission device through which the service data passes, that is, the transmission device related to the current service management data.
在一实施例中,网络中的每个传输设备可以预先告知SDN控制器,本传输设备是否配置了分布式控制器,以使得SDN控制器确定是否可以向分布式控制平面同步该业务管理数据。In an embodiment, each transmission device in the network may inform the SDN controller in advance whether the transmission device is configured with a distributed controller such that the SDN controller determines whether the service management data can be synchronized to the distributed control plane.
接收模块13还可以设置为在接收SDN控制器发送的SNC信息之前,接收SDN控制器发送的特征请求消息。The receiving module 13 may be further configured to receive the feature request message sent by the SDN controller before receiving the SNC information sent by the SDN controller.
发送模块16还可以设置为向SDN控制器发送特征响应消息,该特征响应消息用于指示传输设备是否配置了分布式控制器。此处的传输设备可以是与SDN控制器建立链接的所有传输设备,即传输设备满足与SDN控制器建立链接的前提,可以通过发送特征响应消息的方式,告知SDN控制器本传输设备是否 配置了分布式控制器的状态。The sending module 16 can also be configured to send a feature response message to the SDN controller, the feature response message being used to indicate whether the transmission device is configured with a distributed controller. The transmission device here may be all transmission devices that are linked with the SDN controller, that is, the transmission device satisfies the premise of establishing a link with the SDN controller, and may notify the SDN controller whether the transmission device is configured by sending a characteristic response message. The state of the distributed controller.
上述实施例提供的业务切换装置可以执行图6所示实施例提供的业务切换方法,具备相应的功能模块。The service switching apparatus provided by the foregoing embodiment may perform the service switching method provided by the embodiment shown in FIG. 6 and have corresponding functional modules.
在一实施例中,图17到图19所示的多个实施例中的发送模块16和接收模块13通过源传输设备的分布式控制器的收发器来实现,建立模块14、控制模块12、确定模块15、检测模块11和解析模块17可以通过源传输设备的分布式控制器的处理器来实现,该处理器例如可以是一个中央处理器(Central Processing Unit,CPU),或者是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是完成上述实施例的一个或多个集成电路。In an embodiment, the sending module 16 and the receiving module 13 in the multiple embodiments shown in FIG. 17 to FIG. 19 are implemented by a transceiver of a distributed controller of a source transmission device, and the establishing module 14 and the control module 12 are The determining module 15, the detecting module 11 and the parsing module 17 may be implemented by a processor of a distributed controller of the source transmitting device, which may be, for example, a central processing unit (CPU) or a specific integrated circuit. (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits that implement the above embodiments.
图20为一实施例提供的一种业务切换装置的结构示意图,本实施例提供的业务切换装置可适用于业务数据在网络中进行恢复和倒换等控制的情况中,该业务切换装置可以通过硬件和软件结合的方式来实现,该装置可以集成在SDN控制器的处理器中,供处理器调用使用。如图20所示,本实施例的业务切换装置可以包括:生成模块21和发送模块22。FIG. 20 is a schematic structural diagram of a service switching apparatus according to an embodiment. The service switching apparatus provided in this embodiment is applicable to a case where service data is restored and switched in a network, and the service switching apparatus can pass hardware. Implemented in a software-integrated manner, the device can be integrated into the processor of the SDN controller for use by the processor. As shown in FIG. 20, the service switching apparatus of this embodiment may include: a generating module 21 and a sending module 22.
其中,生成模块21设置为生成业务管理数据。The generating module 21 is configured to generate service management data.
在一实施例中,生成模块21可以在SDN控制器接收到APP发送的业务建立请求后,生成与该业务建立请求相应的业务管理数据。In an embodiment, the generating module 21 may generate service management data corresponding to the service establishment request after the SDN controller receives the service establishment request sent by the APP.
发送模块22设置为将生成模块21生成的业务管理数据发送给对应的源传输设备的分布式控制器,使得源传输设备的分布式控制器在检测到该业务数据传输经过的传输设备与SDN控制器之间的第一信令通道断链时,通过第二信令通道传输业务管理数据,上述业务数据为该业务管理数据指示传输的数据。The sending module 22 is configured to send the service management data generated by the generating module 21 to the distributed controller of the corresponding source transmitting device, so that the distributed controller of the source transmitting device detects the transmission device and the SDN control through which the service data is transmitted. When the first signaling channel between the devices is broken, the service management data is transmitted through the second signaling channel, and the service data indicates the transmitted data for the service management data.
一实施例中,业务切换装置将SDN控制器管理的业务数据切换到分布式控制平面中进行管理和控制,源传输设备为业务数据的源节点对应的传输设备,即业务数据传输的起始传输设备。在进行业务管理数据的信令通道的切换前,SDN控制器和分布式控制平面中具有相同的业务管理数据,该业务管理数据为业务数据的相关配置,即业务管理数据的管理权切换后该业务管理数据能够被传输,因此,生成模块21在生成业务数据后,可以由发送模块22向该业务管理数据对应的源传输设备的分布式控制器发送该业务管理数据,以向分布式控制平面同步该业务管理数据。In an embodiment, the service switching device switches the service data managed by the SDN controller to the distributed control plane for management and control, and the source transmission device is the transmission device corresponding to the source node of the service data, that is, the initial transmission of the service data transmission. device. Before the switching of the signaling channel of the service management data, the SDN controller and the distributed control plane have the same service management data, and the service management data is related configuration of the service data, that is, after the management right of the service management data is switched. The service management data can be transmitted. Therefore, after the service module generates the service data, the sending module 22 can send the service management data to the distributed controller of the source transmission device corresponding to the service management data to the distributed control plane. Synchronize the business management data.
一实施例中,业务数据是在传输设备间传输的数据,即通过图3中“数据传输链路”传输的数据;业务管理数据是指业务数据的相关配置,业务管理数据用于指示该业务中需要传输的数据(即业务数据),该业务管理数据通过第一信令通道或第二信令通道传输的数据,该业务管理数据例如包括:业务是否 具有保护性,业务是否具有恢复性,业务的源节点和宿节点,以及业务的传输路径等配置信息。In an embodiment, the service data is data transmitted between the transmission devices, that is, data transmitted through the “data transmission link” in FIG. 3; the service management data refers to a related configuration of the service data, and the service management data is used to indicate the service. The data to be transmitted (that is, the service data), the service management data is transmitted through the first signaling channel or the second signaling channel, and the service management data includes, for example, whether the service is protective, and whether the service is recoverable. Configuration information such as the source node and sink node of the service, and the transmission path of the service.
在一实施例中,发送模块22发送业务数据的实现方式,可以将业务管理数据组包通过OFPT_PACKET_OUT消息发送给源传输设备的分布式控制器,其中,业务管理数据填写在上述消息的数据(data)中,OFPT_PACKET_OUT消息的内容在上述实施例中已经说明。In an embodiment, the sending module 22 sends an implementation manner of the service data, and the service management data group packet may be sent to the distributed controller of the source transmission device by using an OFPT_PACKET_OUT message, where the service management data is filled in the data of the above message (data In the above, the content of the OFPT_PACKET_OUT message has been explained in the above embodiment.
上述实施例中的第二信令通道为源传输设备的分布式控制器根据从SDN控制器接收到的业务管理数据建立的,该第二信令通道为业务管理数据从该源传输设备到宿传输设备的控制信令传输通道,可以参照图3所示的网络构架,图3中的“信令通道2”为源传输设备的分布式控制器建立的第二信令通道;并且,源源传输设备的分布式控制器建立第二信令通道的方式在上述实施例中也说明。The second signaling channel in the foregoing embodiment is established by the distributed controller of the source transmission device according to the service management data received from the SDN controller, where the second signaling channel is the service management data from the source transmission device to the sink. For the control signaling transmission channel of the transmission device, reference may be made to the network architecture shown in FIG. 3. The "signaling channel 2" in FIG. 3 is a second signaling channel established by the distributed controller of the source transmission device; and, the source transmission The manner in which the distributed controller of the device establishes the second signaling channel is also illustrated in the above embodiments.
上述实施例提供的业务切换装置可以执行图7所示实施例提供的业务切换方法,具备相应的功能模块。The service switching apparatus provided by the foregoing embodiment may perform the service switching method provided by the embodiment shown in FIG. 7 and have corresponding functional modules.
可选地,图21为一实施例提供的一种业务切换装置的结构示意图。在图20所示装置的结构基础上,本实施例提供的装置还可以包括:接收模块23和控制模块24。Optionally, FIG. 21 is a schematic structural diagram of a service switching apparatus according to an embodiment. The apparatus provided in this embodiment may further include: a receiving module 23 and a control module 24, based on the structure of the apparatus shown in FIG.
接收模块23设置为在发送模块22将业务管理数据发送对应的源传输设备的分布式控制器之后,接收源传输设备的分布式控制器发送的第二信令通道的创建结果。The receiving module 23 is configured to receive the creation result of the second signaling channel sent by the distributed controller of the source transmission device after the sending module 22 sends the service management data to the distributed controller of the corresponding source transmission device.
控制模块24设置为在接收模块23接收到的创建结果为创建成功时通过第一信令通道传输业务管理数据,在创建结果为创建失败时结束业务切换流程。创建成功时将将该业务管理数据设置为分布式控制非使能状态。The control module 24 is configured to transmit the service management data through the first signaling channel when the creation result received by the receiving module 23 is successful, and end the service switching process when the creation result is a creation failure. When the creation is successful, the business management data is set to the distributed control non-enabled state.
上述实施例提供的业务切换装置可以执行本发明图8所示实施例提供的业务切换方法,具备相应的功能模块。The service switching apparatus provided by the foregoing embodiment may perform the service switching method provided by the embodiment shown in FIG. 8 of the present invention, and has a corresponding function module.
在上述实施例的基础上,一实施例提供了一种业务切换装置,图22为一实施例提供的一种业务切换装置的结构示意图。图22所示实施例以图20所在的实施例为基础,本实施例提供的装置中,接收模块23还设置为在生成模块21生成业务管理数据之前,接收序APP发送的业务建立请求。On the basis of the foregoing embodiments, an embodiment provides a service switching device, and FIG. 22 is a schematic structural diagram of a service switching device according to an embodiment. The embodiment shown in FIG. 22 is based on the embodiment of FIG. 20. In the apparatus provided in this embodiment, the receiving module 23 is further configured to receive the service establishment request sent by the sequence APP before the generating module 21 generates the service management data.
一实施例中,业务切换装置还可以包括:计算模块25、发送模块22以及接收模块23。In an embodiment, the service switching apparatus may further include: a calculating module 25, a sending module 22, and a receiving module 23.
计算模块25设置为根据接收模块23接收的业务建立请求计算生成SNC信 息。The calculation module 25 is arranged to generate SNC information based on the service establishment request received by the receiving module 23.
发送模块22还设置为将计算模块25得到的SNC信息发送给业务数据经过的每个传输设备。The sending module 22 is further configured to send the SNC information obtained by the computing module 25 to each of the transmitting devices through which the service data passes.
接收模块23还设置为接收每个传输设备发送的执行结果。The receiving module 23 is also arranged to receive an execution result transmitted by each transmitting device.
发送模块22将业务管理数据发送给对应的源传输设备的分布式控制器可以包括:The distributed controller that sends the service management data to the corresponding source transmission device by the sending module 22 may include:
在每个传输设备的执行结果为成功,且每个传输设备都配置了分布式控制器时,向源传输设备的分布式控制器发送业务管理数据。When the execution result of each transmission device is successful, and each transmission device is configured with a distributed controller, the service management data is transmitted to the distributed controller of the source transmission device.
上述每个传输设备是指业务数据经过的所有传输设备,即与当前业务数据相关的传输设备。Each of the above transmission devices refers to all transmission devices through which the service data passes, that is, transmission devices related to the current service data.
在一实施例中,SDN控制器可以预先获知网络中的每个传输设备是否配置了分布式控制器,从而确定是否可以向分布式控制平面同步该业务管理数据,即本实施例提供的装置中。In an embodiment, the SDN controller may know in advance whether each of the transmission devices in the network is configured with a distributed controller, so as to determine whether the service management data can be synchronized to the distributed control plane, that is, in the apparatus provided in this embodiment. .
发送模块22还设置为分别向与SDN控制器建立链接的每个传输设备发送特征请求消息。The transmitting module 22 is further arranged to transmit a feature request message to each of the transmitting devices that establish a link with the SDN controller, respectively.
接收模块23还设置为分别接收每个传输设备发送的特征响应消息。The receiving module 23 is further configured to receive a feature response message sent by each of the transmitting devices, respectively.
上述实施例提供的切换装置还可以包括:确定模块26。The switching device provided by the above embodiment may further include: a determining
确定模块26设置为根据接收模块23接收的每个特征响应消息确定发送本特征响应消息的传输设备是否配置有分布式控制器。The determining
上述每个传输设备可以是与SDN控制器建立链接的所有传输设备,即只要传输设备满足与SDN控制器建立链接的前提,就可以通过发送特征响应消息的方式,告知SDN控制器本传输设备是否配置了分布式控制器的状态。Each of the foregoing transmission devices may be all transmission devices that are linked with the SDN controller, that is, as long as the transmission device satisfies the premise of establishing a link with the SDN controller, the SDN controller may be notified whether the transmission device is transmitted by sending a feature response message. The status of the distributed controller is configured.
上述实施例提供的业务切换装置可以执行图9所示实施例提供的业务切换方法,具备相应的功能模块。The service switching apparatus provided by the foregoing embodiment may perform the service switching method provided by the embodiment shown in FIG. 9 and have corresponding functional modules.
在一实施例中,图20到图22所示多个实施例中的发送模块22和接收模块23可以通过SDN控制器的收发器来实现,生成模块21、控制模块24、计算模块25和确定模块26可以通过SDN控制器的处理器来实现,该处理器例如可以是一个CPU,或者是ASIC,或者是实施上述实施例中方法和模块中至少之一的一个或多个集成电路。In an embodiment, the sending module 22 and the receiving module 23 in the multiple embodiments shown in FIG. 20 to FIG. 22 can be implemented by a transceiver of the SDN controller, the generating module 21, the control module 24, the calculating module 25, and the determining.
图23为以实施例提供一种业务切换系统的结构示意图,该业务切换系统包括SDN控制器100和多个传输设备200,本实施例中的每个传输设备200中配 置有如上述图17到图19所示任一实施例中的业务切换装置,SDN控制器100中配置有如上述图20到图22所示任一实施例中的业务切换装置。图23所示实施例以业务切换系统中包括6个传输设备200为例予以示出,例如可以是图5中的传输设备A、B、C、D、E、F,该业务切换系统中的多个网元执行业务切换的方式,与上述图17到图22所示实施例中对应网元执行业务切换的方式相同,同样用于执行本发明图2到图16所示任一实施例提供的业务切换方法,具备相应的实体装置。FIG. 23 is a schematic structural diagram of a service switching system according to an embodiment. The service switching system includes an
上述方法中的全部或部分步骤可以通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块或单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序或指令来实现其相应功能。All or part of the above steps may be performed by a program to instruct related hardware (eg, a processor), which may be stored in a computer readable storage medium such as a read only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module or unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Program or instruction to implement its corresponding function.
本实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一实施例中的方法。The present embodiment provides a computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
以上技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行上述实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The above technical solution may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to execute All or part of the steps of the method described in the above embodiments. The foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code, or a transitory storage medium.
一实施例提供了一种源传输设备,该源传输设备的硬件结构如图24所示。该源传输设备包括:An embodiment provides a source transmission device, and the hardware structure of the source transmission device is as shown in FIG. The source transmission device includes:
至少一个处理器(processor)30(如,分布式控制器),图3中以一个处理器30为例;存储器(memory)31;还可以包括通信接口(Communications Interface)32和总线33。其中,处理器30、存储器31以及通信接口32可以通过总线33完成相互间的通信。处理器30可以调用存储器31中的逻辑指令,以执行上述实施例中源传输设备的分布式控制器执行的方法。At least one processor 30 (eg, a distributed controller), one
此外,上述的存储器31中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the logic instructions in the
存储器31作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如上述实施例中源传输设备的分布式控制器执行的方法对应的程序 指令或模块。处理器30通过运行存储在存储器31中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中源传输设备的分布式控制器执行的方法。The
存储器31可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器31可以包括高速随机存取存储器,还可以包括非易失性存储器。The
业务切换方法和装置,在SDN控制器集中管控传输设备的情况下,将传输中断的业务管理数据切换到分布式控制平面中进行管理,以保证在传输设备出现故障时,使用分布式控制平面对网络中承载的业务数据进行保护和恢复。The service switching method and device, when the SDN controller centrally controls the transmission device, switches the service management data of the transmission interruption to the distributed control plane for management, so as to ensure that when the transmission device fails, the distributed control plane pair is used. The service data carried in the network is protected and restored.
Claims (26)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611227579.0A CN108243047B (en) | 2016-12-27 | 2016-12-27 | Service switching method, device and system |
| CN201611227579.0 | 2016-12-27 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018121485A1 true WO2018121485A1 (en) | 2018-07-05 |
Family
ID=62702575
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/118378 Ceased WO2018121485A1 (en) | 2016-12-27 | 2017-12-25 | Service switching method, device, and system |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108243047B (en) |
| WO (1) | WO2018121485A1 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110943998B (en) * | 2019-12-04 | 2022-02-01 | 腾讯科技(深圳)有限公司 | Signal transmission method, device, equipment and medium |
| CN111858088B (en) * | 2020-06-24 | 2024-06-14 | 珠海格力电器股份有限公司 | Communication data processing method, device, computer equipment and storage medium |
| CN115426550A (en) * | 2022-04-22 | 2022-12-02 | 福建永福电力设计股份有限公司 | A method of combining SDN+ASON+OTN intelligent optical transport network |
| CN115834327B (en) * | 2022-11-03 | 2025-05-13 | 紫金山实验室 | Controller system scheduling method, system and non-volatile storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130329601A1 (en) * | 2012-06-11 | 2013-12-12 | Futurewei Technologies, Inc. | Defining Data Flow Paths in Software-Defined Networks with Application-Layer Traffic Optimization |
| CN104426789A (en) * | 2013-08-23 | 2015-03-18 | 杭州华三通信技术有限公司 | Forwarding equipment control method in software defined network and equipment |
| CN104901890A (en) * | 2015-06-24 | 2015-09-09 | 上海斐讯数据通信技术有限公司 | Route generating and coupling method and system of SDN |
| CN105637818A (en) * | 2013-10-11 | 2016-06-01 | 骁阳网络有限公司 | Added centralized data path establishment for distributed control messaging |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103327529B (en) * | 2013-05-27 | 2016-01-27 | 北京邮电大学 | For OpenFlow protocol infrastructure and the business burst processing method of mobile communications network |
| CN104735001B (en) * | 2013-12-24 | 2019-11-05 | 中兴通讯股份有限公司 | Link discovery method, apparatus and system in software defined network |
| CN105471613B (en) * | 2014-09-10 | 2020-03-10 | 中兴通讯股份有限公司 | Method, device and system for establishing temporary channel |
| CN104243113B (en) * | 2014-09-15 | 2018-11-30 | 北京智谷睿拓技术服务有限公司 | Alternative control path determines method and device |
-
2016
- 2016-12-27 CN CN201611227579.0A patent/CN108243047B/en active Active
-
2017
- 2017-12-25 WO PCT/CN2017/118378 patent/WO2018121485A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130329601A1 (en) * | 2012-06-11 | 2013-12-12 | Futurewei Technologies, Inc. | Defining Data Flow Paths in Software-Defined Networks with Application-Layer Traffic Optimization |
| CN104426789A (en) * | 2013-08-23 | 2015-03-18 | 杭州华三通信技术有限公司 | Forwarding equipment control method in software defined network and equipment |
| CN105637818A (en) * | 2013-10-11 | 2016-06-01 | 骁阳网络有限公司 | Added centralized data path establishment for distributed control messaging |
| CN104901890A (en) * | 2015-06-24 | 2015-09-09 | 上海斐讯数据通信技术有限公司 | Route generating and coupling method and system of SDN |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108243047A (en) | 2018-07-03 |
| CN108243047B (en) | 2023-01-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1845656B1 (en) | A method for implementing master and backup transmission path | |
| JP2010226393A (en) | Path setting method and system by autonomous distributed control, and communication apparatus | |
| EP2866394B1 (en) | Method and device for sending inter-domain fault information | |
| US10250492B2 (en) | Segment recovery in connection-oriented network | |
| CN103688510B (en) | Outgoing telecommunication method and device | |
| Giorgetti et al. | Fast restoration in SDN-based flexible optical networks | |
| WO2018121485A1 (en) | Service switching method, device, and system | |
| KR20130062340A (en) | Method and apparatus for restoring a connection through a provider network upon request | |
| EP1921797B1 (en) | Recovery method and apparatus for optical network lsp occuring abnormal delete | |
| EP3139527B1 (en) | Protection switching method, node and control device | |
| US11490178B2 (en) | Method for establishing service path, network device, and system | |
| EP2863580B1 (en) | 1+1 end-to-end bidirectional switching method, system and node | |
| CN105207871B (en) | Double-cut ring network protection method and device | |
| CN104202184A (en) | Quick service switchover method and device | |
| CN101494801B (en) | Fault recovery method, system and network equipment | |
| CN113132223A (en) | Fault detection method and equipment | |
| KR20130039312A (en) | Method of shared mesh protection switching | |
| EP2704382B1 (en) | Method for managing services in a generalized-multi-protocol label switching, GMPLS, controlled network | |
| CN106375212B (en) | A kind of RSVP message treatment method and device | |
| WO2014079010A1 (en) | Service protection method, device and system | |
| WO2012000329A1 (en) | Subnet protection method and device for transport multi-protocol label switching (tmpls) network | |
| WO2017008656A1 (en) | Method and device for realizing service backtracking | |
| CN106464524A (en) | Route calculation method and apparatus in ASON | |
| CN106301835B (en) | BFD link establishing method and device and router | |
| CN108702321B (en) | System, method and apparatus for implementing fast reroute (FRR) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17887744 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17887744 Country of ref document: EP Kind code of ref document: A1 |