A method and related equipment for end-to-end restoration of Ethernet services in hybrid networking
By establishing notification channels for Ethernet service changes in PTN and SPN networks, subscribing and updating Ethernet service information, the problem of SC missing path changes is solved, and end-to-end link reconstruction and real-time management of Ethernet services is realized.
Patent Information
- Application Number
- CN202111638701.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2041-12-29
AI Technical Summary
In PTN and SPN networks, SCs may miss changes in end-to-end path information of Ethernet services, making it difficult to rebuild end-to-end links of Ethernet services, especially when other systems call DC sending interfaces or directly on DC When creating an Ethernet service.
Establish an notification channel for Ethernet service changes, receive Ethernet service change messages from DCs of each domain controller, and subscribe to messages through this channel to update Ethernet service information of each DC, and use the target AZ terminal information and Ethernet service of each DC. Information determines the Ethernet service between the target AZ ends.
It realizes timely obtaining notifications for changes to Ethernet services under the jurisdiction of each DC, grasping relevant information in real time, and being able to restore the end-to-end links of Ethernet services.
Smart Images

Figure CN114363404B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and more specifically, to a method and related equipment for end-to-end restoration of Ethernet services in a hybrid network. Background Art
[0002] PTN (Packet Transport Network) refers to an optical transmission network architecture in which a layer is set up between IP services and the underlying optical transmission medium. This layer is designed for the burstiness and statistical multiplexing transmission requirements of packet service traffic. It takes packet services as the core and supports multi-service provision. It has a lower TCO (Total Cost of Ownership) while inheriting the traditional advantages of optical transmission, including: high availability and reliability, efficient bandwidth management mechanism and traffic engineering, convenient OAM and network management, scalability, and high security.
[0003] SPN (Slicing Packet Network) is a key technology in 5G network slicing and one of the best technologies for realizing 5G transmission bearer network. It combines with FlexE (Flexible Ethernet) technology to logically divide the 5G network into independent subnets and ports to meet the application needs of various people, objects, vehicles and various private networks, and reduce mutual interference caused by physical bandwidth sharing.
[0004] In the service activation architecture of PTN and SPN networks, the upper layer is the network orchestration system, and the lower layer is the domain controllers (DC) of multiple manufacturers. The Ethernet services carried in PTN and SPN networks are managed by both a single DC and across multiple DCs. The management scope of different DCs is isolated, so in terms of architecture, there is also a super controller (SC) between the network orchestration system and each DC, which is connected to the network orchestration system and DC through a unified and standardized restful north-south interface. Specifically, the SC converts the service activation request of the network orchestration system into parameters that can be used on the DC southbound interface, and adapts to the parameter differences of different DCs. On the other hand, for services across multiple DCs, the SC will be disassembled into multiple segments of services, and the southbound interface of the DC where each segment is located will be called to automatically deliver the service.
[0005] In the process of communication network transition from 4G to 5G, PTN and SPN will generally have mixed networking. The existence of SC also shields the difference between PTN and SPN in implementing Ethernet services from the upper-layer orchestration system. However, the end-to-end path information of Ethernet services carried by PTN and SPN networks is currently saved and restored using the parameters sent by SC. When other systems call the DC to send interfaces, or other systems directly create Ethernet services on DC, SC may miss the changes in the end-to-end path information of Ethernet services, making it difficult to rebuild the end-to-end link of Ethernet services. Summary of the invention
[0006] In view of this, the present application provides a method and related equipment for end-to-end restoration of Ethernet services in a hybrid network to rebuild the end-to-end link of the Ethernet service.
[0007] To achieve the above-mentioned purpose, the first aspect of the present application provides an end-to-end restoration method for Ethernet services in a hybrid network, comprising:
[0008] Establishing an Ethernet service change notification channel, the notification channel is used to receive Ethernet service change messages from each domain controller DC;
[0009] Subscribe Ethernet service change messages to each DC through the notification channel;
[0010] Update the Ethernet service information of each DC according to the received Ethernet service change message;
[0011] The Ethernet service between the target AZ ends is determined according to the information of the target AZ end and the Ethernet service information of each DC.
[0012] Preferably, the process of establishing a notification channel for Ethernet service changes includes:
[0013] A notification channel for Ethernet service changes is established in the form of Web Sockets WS and / or Web Sockets Security WSS.
[0014] Preferably, the process of subscribing to Ethernet service change messages from each DC through the notification channel includes:
[0015] Subscribe to Ethernet service information after Ethernet service changes from each DC through WS and / or WSS;
[0016] The Ethernet service information includes basic attributes of the Ethernet service and resource identifiers of the bound tunnels, and is used to establish the Ethernet service.
[0017] Preferably, the process of determining the Ethernet service between the target AZ ends according to the information of the target AZ end and the Ethernet service information of each DC includes:
[0018] Get the data domain information between the target AZ ends;
[0019] Determine whether the Ethernet service at the target AZ end is a cross-domain service according to the data domain information;
[0020] if:
[0021] Obtain cross-domain link information between DCs;
[0022] Determine each Ethernet service segment between target AZ ends according to the data domain information, the Ethernet service information of each DC, and the cross-domain link information between each DC;
[0023] Determine the Ethernet services of each data domain segment between the target AZ ends according to each Ethernet service segment between the target AZ ends and the Ethernet service information of each DC;
[0024] If not:
[0025] The Ethernet service between the target AZ ends is determined according to the routing information and the Ethernet service information of each DC.
[0026] Preferably, the process of determining the Ethernet services of each data domain segment between the target AZ ends according to each Ethernet service segment between the target AZ ends and the Ethernet service information of each DC includes:
[0027] Determine the VLAN ID of the AZ end of each Ethernet service segment according to the virtual local area network identifier VLAN ID available at the AZ end of each Ethernet service segment;
[0028] Determine the link information of each Ethernet service segment according to the VLAN ID of the AZ end of each Ethernet service segment and the Ethernet service information of each DC;
[0029] According to the link information of each Ethernet service segment, each Ethernet service segment is concatenated to obtain the Ethernet service of each data domain segment between the target AZ ends.
[0030] Preferably, the process of determining the link information of each Ethernet service segment according to the VLAN ID of the AZ end of each Ethernet service segment and the Ethernet service information of each DC includes:
[0031] Determining target Ethernet service information of each Ethernet service segment according to the Ethernet service information of each DC;
[0032] The VLAN ID of the AZ end of each Ethernet service segment and the target Ethernet service information of each Ethernet service segment are determined as the link information of each Ethernet service segment.
[0033] Preferably, the process of determining the Ethernet service between the target AZ ends according to the routing information and the Ethernet service information of each DC includes:
[0034] Determine target Ethernet service information of the Ethernet service segment of the target AZ end according to the routing information and the Ethernet service information of each DC;
[0035] According to the resource identifier of the tunnel in the target Ethernet service information, obtaining the connection information between the target AZ ends;
[0036] According to the connection information, a target connection is created between target AZ ends;
[0037] The Ethernet service between the target AZ ends is created according to the Ethernet service basic attributes in the target Ethernet service information and the target connection.
[0038] A second aspect of the present application provides an end-to-end Ethernet service restoration device in a hybrid network, comprising:
[0039] A channel establishing unit, used for establishing a notification channel for Ethernet service change, wherein the notification channel is used for receiving Ethernet service change messages from each domain controller DC;
[0040] A message subscription unit, used to subscribe Ethernet service change messages to each DC through the notification channel;
[0041] A service update unit, configured to update the Ethernet service information of each DC according to the received Ethernet service change message;
[0042] The service calculation unit is used to determine the Ethernet service between the target AZ ends according to the information of the target AZ end and the Ethernet service information of each DC.
[0043] A third aspect of the present application provides an Ethernet service end-to-end restoration device in a hybrid network, comprising: a memory and a processor;
[0044] The memory is used to store programs;
[0045] The processor is used to execute the program to implement the various steps of the end-to-end restoration method of Ethernet services in hybrid networking as described above.
[0046] A fourth aspect of the present application provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the various steps of the end-to-end restoration method of Ethernet services in a hybrid network as described above.
[0047] Through the above technical solution, it can be known that the present application first establishes a notification channel for Ethernet service changes. Among them, the notification channel is used to receive Ethernet service change messages from each domain controller DC. Then, the Ethernet service change message is subscribed to each DC through the notification channel. Through the notification channel, whether it is the execution subject system of the present application or other systems, when the DC is called to issue an interface or the Ethernet service is directly created on the DC, resulting in changes in the end-to-end path information of the Ethernet service, each DC will actively report the Ethernet change message to the execution subject system of the present application. Then, according to the received Ethernet service change message, the Ethernet service information of each DC is updated. Finally, according to the information of the target AZ end, the Ethernet service information of each DC and the cross-domain link information between each DC, the Ethernet service between the target AZ ends is determined. The present application can obtain the change notification of the Ethernet service under the jurisdiction of each DC in a timely manner, so as to grasp the relevant information of the Ethernet service under the jurisdiction of each DC in real time, and restore the end-to-end link of the Ethernet service accordingly. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0049] Figure 1 A schematic diagram of an end-to-end restoration method for Ethernet services in a hybrid network disclosed in an embodiment of the present application;
[0050] Figure 2 A schematic diagram of an end-to-end Ethernet service restoration device in a hybrid network disclosed in an embodiment of the present application;
[0051] Figure 3 A schematic diagram of an end-to-end Ethernet service restoration device in a hybrid network disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0053] The following describes an end-to-end Ethernet service restoration method in a hybrid network provided by an embodiment of the present application. Figure 1 The end-to-end Ethernet service restoration method under the hybrid network provided by the embodiment of the present application may include the following steps:
[0054] Step S101: establishing a notification channel for Ethernet service changes.
[0055] The notification channel is used to receive Ethernet service change messages from each domain controller DC.
[0056] Step S102: Subscribe to Ethernet service change messages from each DC through a notification channel.
[0057] After the subscription is completed, once an event that affects Ethernet service parameters, such as Ethernet service creation, occurs in each DC, the relevant content will be sent to the subscriber in the form of a message. Since the creation of Ethernet services is not necessarily performed by the subscriber, subscribing to Ethernet service change messages from each DC through the notification channel can enable the subscriber to obtain the Ethernet service changes under the jurisdiction of each DC in a timely manner.
[0058] Step S103: Update the Ethernet service information of each DC according to the received Ethernet service change message.
[0059] Step S104: Determine the Ethernet service between the target AZ ends according to the information of the target AZ ends and the Ethernet service information of each DC.
[0060] The present application first establishes a notification channel for Ethernet service changes. Among them, the notification channel is used to receive Ethernet service change messages from each domain controller DC. Then, the Ethernet service change message is subscribed to each DC through the notification channel. Through the notification channel, whether it is the execution subject system of the present application or other systems, when the DC is called to issue an interface or the Ethernet service is directly created on the DC, causing the end-to-end path information of the Ethernet service to change, each DC will actively report the Ethernet change message to the execution subject system of the present application. Then, according to the received Ethernet service change message, the Ethernet service information of each DC is updated. Finally, according to the information of the target AZ end, the Ethernet service information of each DC and the cross-domain link information between each DC, the Ethernet service between the target AZ ends is determined. The present application can obtain the change notification of the Ethernet service under the jurisdiction of each DC in a timely manner, so as to grasp the relevant information of the Ethernet service under the jurisdiction of each DC in real time, and restore the end-to-end link of the Ethernet service accordingly.
[0061] In some embodiments of the present application, the process of establishing a notification channel for Ethernet service change in step S101 may include:
[0062] A notification channel for Ethernet service changes is established in at least one of a Web Socket (WS) and a Web Socket Secure (WSS).
[0063] The corresponding interface in each DC will return a specific WS or WSS URL for each subscription. After the subscriber successfully connects to this URL, it can receive the message message returned by the DC in real time. Optionally, the content of the message message can be a complete message of the Ethernet service. Specifically, the complete message can include all parameters when the Ethernet service is issued.
[0064] In some embodiments of the present application, the process of subscribing to the Ethernet service change message from each DC through the notification channel in step S102 may include:
[0065] Subscribe to the Ethernet service information after the Ethernet service is changed from each DC through at least one of WS and WSS.
[0066] The Ethernet service information includes basic attributes of the Ethernet service and resource identifiers of the bound tunnels, and is used to establish the Ethernet service.
[0067] Exemplarily, the subscription interface of each DC can be a unified restful subscription interface, and the subscribed change message type can be specified through the content of the POST body of the restful subscription interface. For Ethernet services, the types that need to be subscribed can include: pseudowire PW, MPLS-TP tunnel tunnel, Ethernet eth and connection connection.
[0068] Ethernet services consist of one or two PWs with a protection relationship. Each PW is bound to a connection, and each connection consists of one or two tunnels with a protection relationship.
[0069] Among them, only eth (Ethernet service) and connection have special RESTful interfaces for querying specified objects. PW information is included in the eth query return result, and tunnel information is included in the connection query return result. It can be queried and associated with eth through its resource identifier.
[0070] In some embodiments of the present application, the process of determining the Ethernet service between the target AZ ends according to the information of the target AZ end and the Ethernet service information of each DC in step S104 may include:
[0071] S1, obtain the data domain information between the target AZ ends.
[0072] S2, judging whether the Ethernet service at the target AZ end is a cross-domain service according to the data domain information. If yes, executing S4 to S6; if not, executing S7.
[0073] S4, obtain cross-domain link information between DCs.
[0074] S5, determining each Ethernet service segment between target AZ ends according to the data domain information, the Ethernet service information of each DC, and the cross-domain link information between each DC.
[0075] S6, determining the Ethernet services of each data domain segment between the target AZ ends according to each Ethernet service segment between the target AZ ends and the Ethernet service information of each DC.
[0076] For DCs from the same manufacturer, each city is a data domain, and the provincial trunk is also an independent data domain. Cross-city services will pass through the provincial trunk. Common cross-domain services include three Ethernet service segments: city, provincial trunk, and city.
[0077] For DCs between different manufacturers: Even the services in the same city are considered cross-domain services. For example, for an Ethernet service that crosses the DCs of manufacturers A and B in Guangzhou, the path of the Ethernet service can generally be: from the DC of manufacturer A in Guangzhou to the DC of manufacturer A on the provincial trunk, then from the DC of manufacturer A on the provincial trunk to the DC of manufacturer B on the provincial trunk, and finally from the DC of manufacturer B on the provincial trunk to the DC of manufacturer A in Guangzhou.
[0078] S7, determining the Ethernet service between the target AZ ends according to the routing information and the Ethernet service information of each DC.
[0079] In some embodiments of the present application, the process of determining the Ethernet service between the target AZ ends according to each Ethernet service segment and the Ethernet service information of each DC between the target AZ ends in S6 may include:
[0080] S61, determining the VLAN ID of the AZ end of each Ethernet service segment according to the available virtual local area network identifier VLAN ID of the AZ end of each Ethernet service segment.
[0081] S62, determining link information of each Ethernet service segment according to the VLAN ID of the AZ end of each Ethernet service segment and the Ethernet service information of each DC.
[0082] S63, connecting the Ethernet service segments in series according to the link information of the Ethernet service segments to obtain the Ethernet service between the target AZ ends.
[0083] In some embodiments of the present application, the process of determining the link information of each Ethernet service segment according to the VLAN ID of the AZ end of each Ethernet service segment and the Ethernet service information of each DC in the above S62 may include:
[0084] S621, determining target Ethernet service information of each Ethernet service segment according to the Ethernet service information of each DC;
[0085] S622: Determine the VLAN ID of the AZ end of each Ethernet service segment and the target Ethernet service information of each Ethernet service segment as the link information of each Ethernet service segment.
[0086] In some embodiments of the present application, the process of determining the Ethernet service between the target AZ ends according to the routing information and the Ethernet service information of each DC in S7 may include:
[0087] S71, determining target Ethernet service information of the Ethernet service segment at the target AZ end according to the routing information and the Ethernet service information of each DC.
[0088] The target Ethernet service information includes basic attributes of the Ethernet service and resource identifiers of the bound tunnel. The basic attributes of the Ethernet service may include Ethernet QoS, OAM, protection type, access point, associated PW and other information.
[0089] S72, acquiring connection information between target AZ ends according to the resource identifier of the tunnel in the target Ethernet service information.
[0090] Specifically, the query interface of the connection is called according to the resource identifier to obtain the connection information of the connection, which may include QoS, path information, OAM, tunnel, protection type, etc. Among them, the path information is composed of the network elements and upstream and downstream ports, MPLS labels, etc. passed by the tunnel under the connection.
[0091] S73: Create a target connection between target AZ ends according to the connection information.
[0092] S74: Create an Ethernet service between target AZ ends according to the Ethernet service basic attributes in the target Ethernet service information and the target connection.
[0093] In addition to the above method, you can also optionally subscribe to connection change messages. In this case, when the Ethernet service is created, you will actually receive a connection creation message first. Pairing the resource identifier of the connection with the association identifier of the PW is sufficient to restore all the details of the Ethernet service.
[0094] The following describes an Ethernet service end-to-end restoration device under a hybrid network provided by an embodiment of the present application. The Ethernet service end-to-end restoration device under a hybrid network described below and the Ethernet service end-to-end restoration method under a hybrid network described above can refer to each other.
[0095] See also Figure 2 The end-to-end Ethernet service restoration device under the hybrid network provided in the embodiment of the present application may include:
[0096] A channel establishing unit 21 is used to establish a notification channel for Ethernet service change, wherein the notification channel is used to receive Ethernet service change messages from each domain controller DC;
[0097] A message subscription unit 22, configured to subscribe Ethernet service change messages to each DC through the notification channel;
[0098] The service updating unit 23 is used to update the Ethernet service information of each DC according to the received Ethernet service change message;
[0099] The service calculation unit 24 is used to determine the Ethernet service between the target AZ ends according to the information of the target AZ end and the Ethernet service information of each DC.
[0100] In some embodiments of the present application, the process of the channel establishing unit 21 establishing the notification channel for Ethernet service change may include:
[0101] A notification channel for Ethernet service changes is established in the form of Web Sockets WS and / or Web Sockets Security WSS.
[0102] In some embodiments of the present application, the process of the message subscription unit 22 subscribing to the Ethernet service change message from each DC through the notification channel may include:
[0103] Subscribe to Ethernet service information after Ethernet service changes from each DC through WS and / or WSS;
[0104] The Ethernet service information includes basic attributes of the Ethernet service and resource identifiers of the bound tunnels, and is used to establish the Ethernet service.
[0105] In some embodiments of the present application, the process of determining the Ethernet service between the target AZ ends according to the information of the target AZ end and the Ethernet service information of each DC by the service calculation unit 24 may include:
[0106] Get the data domain information between the target AZ ends;
[0107] Determine whether the Ethernet service at the target AZ end is a cross-domain service according to the data domain information;
[0108] if:
[0109] Obtain cross-domain link information between DCs;
[0110] Determine each Ethernet service segment between target AZ ends according to the data domain information, the Ethernet service information of each DC, and the cross-domain link information between each DC;
[0111] Determine the Ethernet services of each data domain segment between the target AZ ends according to each Ethernet service segment between the target AZ ends and the Ethernet service information of each DC;
[0112] If not:
[0113] The Ethernet service between the target AZ ends is determined according to the routing information and the Ethernet service information of each DC.
[0114] In some embodiments of the present application, the process of determining the Ethernet services of each data domain segment between the target AZ ends by the service calculation unit 24 according to each Ethernet service segment between the target AZ ends and the Ethernet service information of each DC may include:
[0115] Determine the VLAN ID of the AZ end of each Ethernet service segment according to the virtual local area network identifier VLAN ID available at the AZ end of each Ethernet service segment;
[0116] Determine the link information of each Ethernet service segment according to the VLAN ID of the AZ end of each Ethernet service segment and the Ethernet service information of each DC;
[0117] According to the link information of each Ethernet service segment, each Ethernet service segment is concatenated to obtain the Ethernet service of each data domain segment between the target AZ ends.
[0118] In some embodiments of the present application, the process of determining the link information of each Ethernet service segment according to the VLAN ID of the AZ end of each Ethernet service segment and the Ethernet service information of each DC by the service calculation unit 24 may include:
[0119] Determining target Ethernet service information of each Ethernet service segment according to the Ethernet service information of each DC;
[0120] The VLAN ID of the AZ end of each Ethernet service segment and the target Ethernet service information of each Ethernet service segment are determined as the link information of each Ethernet service segment.
[0121] In some embodiments of the present application, the process of the service calculation unit 24 determining the Ethernet service between the target AZ ends according to the routing information and the Ethernet service information of each DC may include:
[0122] Determine target Ethernet service information of the Ethernet service segment of the target AZ end according to the routing information and the Ethernet service information of each DC;
[0123] According to the resource identifier of the tunnel in the target Ethernet service information, obtaining the connection information between the target AZ ends;
[0124] According to the connection information, a target connection is created between target AZ ends;
[0125] The Ethernet service between the target AZ ends is created according to the Ethernet service basic attributes in the target Ethernet service information and the target connection.
[0126] The Ethernet service end-to-end restoration device under hybrid networking provided in the embodiment of the present application can be applied to Ethernet service end-to-end restoration equipment under hybrid networking, such as a super controller SC, etc. Optionally, Figure 3 The hardware structure diagram of the Ethernet service end-to-end restoration device under the hybrid network is shown. Figure 3 The hardware structure of the Ethernet service end-to-end restoration device in the hybrid network may include: at least one processor 31, at least one communication interface 32, at least one memory 33 and at least one communication bus 34.
[0127] In the embodiment of the present application, the number of the processor 31, the communication interface 32, the memory 33, and the communication bus 34 is at least one, and the processor 31, the communication interface 32, and the memory 33 communicate with each other through the communication bus 34;
[0128] The processor 31 may be a central processing unit CPU, or an application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application, etc.;
[0129] The memory 33 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory;
[0130] The memory 33 stores a program, and the processor 31 can call the program stored in the memory 33, and the program is used to:
[0131] Establishing an Ethernet service change notification channel, the notification channel is used to receive Ethernet service change messages from each domain controller DC;
[0132] Subscribe Ethernet service change messages to each DC through the notification channel;
[0133] Update the Ethernet service information of each DC according to the received Ethernet service change message;
[0134] The Ethernet service between the target AZ ends is determined according to the information of the target AZ end and the Ethernet service information of each DC.
[0135] Optionally, the detailed functions and extended functions of the program may refer to the above description.
[0136] The embodiment of the present application further provides a storage medium, which may store a program suitable for execution by a processor, wherein the program is used to:
[0137] Establishing an Ethernet service change notification channel, the notification channel is used to receive Ethernet service change messages from each domain controller DC;
[0138] Subscribe Ethernet service change messages to each DC through the notification channel;
[0139] Update the Ethernet service information of each DC according to the received Ethernet service change message;
[0140] The Ethernet service between the target AZ ends is determined according to the information of the target AZ end and the Ethernet service information of each DC.
[0141] Optionally, the detailed functions and extended functions of the program may refer to the above description.
[0142] In summary:
[0143] The present application first establishes a notification channel for Ethernet service changes. Among them, the notification channel is used to receive Ethernet service change messages from each domain controller DC. Then, the Ethernet service change message is subscribed to each DC through the notification channel. Through the notification channel, whether it is the execution subject system of the present application or other systems, when the DC is called to issue an interface or the Ethernet service is directly created on the DC, causing the end-to-end path information of the Ethernet service to change, each DC will actively report the Ethernet change message to the execution subject system of the present application. Then, according to the received Ethernet service change message, the Ethernet service information of each DC is updated. Finally, according to the information of the target AZ end, the Ethernet service information of each DC and the cross-domain link information between each DC, the Ethernet service between the target AZ ends is determined. The present application can obtain the change notification of the Ethernet service under the jurisdiction of each DC in a timely manner, so as to grasp the relevant information of the Ethernet service under the jurisdiction of each DC in real time, and restore the end-to-end link of the Ethernet service accordingly.
[0144] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0145] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.
[0146] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for end-to-end restoration of Ethernet services in a hybrid network, characterized in that: include: Establishing an Ethernet service change notification channel, the notification channel is used to receive Ethernet service change messages from each domain controller DC; Subscribe Ethernet service change messages to each DC through the notification channel; Update the Ethernet service information of each DC according to the received Ethernet service change message; Determine the Ethernet service between the target AZ ends according to the information of the target AZ end and the Ethernet service information of each DC; The process of determining the Ethernet service between the target AZ ends according to the information of the target AZ end and the Ethernet service information of each DC includes: Get the data domain information between the target AZ ends; Determine whether the Ethernet service at the target AZ end is a cross-domain service according to the data domain information; if: Obtain cross-domain link information between DCs; Determine each Ethernet service segment between target AZ ends according to the data domain information, the Ethernet service information of each DC, and the cross-domain link information between each DC; Determine the Ethernet services of each data domain segment between the target AZ ends according to each Ethernet service segment between the target AZ ends and the Ethernet service information of each DC; If not: The Ethernet service between the target AZ ends is determined according to the routing information and the Ethernet service information of each DC.
2. The method according to claim 1, characterized in that The process of establishing a notification channel for Ethernet service changes includes: A notification channel for Ethernet service changes is established in the form of Web Sockets WS and / or Web Sockets Security WSS.
3. The method according to claim 2, characterized in that The process of subscribing to Ethernet service change messages from each DC through the notification channel includes: Subscribe to Ethernet service information after Ethernet service changes from each DC through WS and / or WSS; The Ethernet service information includes basic attributes of the Ethernet service and resource identifiers of the bound tunnels, and is used to establish the Ethernet service.
4. The method according to claim 1, characterized in that The process of determining the Ethernet services of each data domain segment between the target AZ ends according to each Ethernet service segment between the target AZ ends and the Ethernet service information of each DC includes: Determine the VLAN ID of the AZ end of each Ethernet service segment according to the virtual local area network identifier VLAN ID available at the AZ end of each Ethernet service segment; Determine the link information of each Ethernet service segment according to the VLAN ID of the AZ end of each Ethernet service segment and the Ethernet service information of each DC; According to the link information of each Ethernet service segment, each Ethernet service segment is concatenated to obtain the Ethernet service of each data domain segment between the target AZ ends.
5. The method according to claim 4, characterized in that The process of determining the link information of each Ethernet service segment according to the VLANID of the AZ end of each Ethernet service segment and the Ethernet service information of each DC includes: Determining target Ethernet service information of each Ethernet service segment according to the Ethernet service information of each DC; The VLAN ID of the AZ end of each Ethernet service segment and the target Ethernet service information of each Ethernet service segment are determined as the link information of each Ethernet service segment.
6. The method according to claim 1, characterized in that The process of determining the Ethernet service between target AZ ends according to the routing information and the Ethernet service information of each DC includes: Determine target Ethernet service information of the Ethernet service segment of the target AZ end according to the routing information and the Ethernet service information of each DC; According to the resource identifier of the tunnel in the target Ethernet service information, obtaining the connection information between the target AZ ends; According to the connection information, a target connection is created between target AZ ends; The Ethernet service between the target AZ ends is created according to the Ethernet service basic attributes in the target Ethernet service information and the target connection.
7. An end-to-end Ethernet service restoration device in a hybrid network, characterized in that: include: A channel establishing unit, used for establishing a notification channel for Ethernet service change, wherein the notification channel is used for receiving Ethernet service change messages from each domain controller DC; A message subscription unit, used to subscribe Ethernet service change messages to each DC through the notification channel; A service update unit, configured to update the Ethernet service information of each DC according to the received Ethernet service change message; A service calculation unit, configured to determine the Ethernet service between the target AZ ends according to the information of the target AZ end and the Ethernet service information of each DC; The service calculation unit is specifically used to obtain data domain information between target AZ ends; and determine whether the Ethernet service of the target AZ end is a cross-domain service according to the data domain information; if: Obtain cross-domain link information between DCs; Determine each Ethernet service segment between target AZ ends according to the data domain information, the Ethernet service information of each DC, and the cross-domain link information between each DC; Determine the Ethernet services of each data domain segment between the target AZ ends according to each Ethernet service segment between the target AZ ends and the Ethernet service information of each DC; If not: The Ethernet service between the target AZ ends is determined according to the routing information and the Ethernet service information of each DC.
8. An Ethernet service end-to-end restoration device in a hybrid network, characterized in that: include: Memory and processor; The memory is used to store programs; The processor is used to execute the program to implement each step of the end-to-end restoration method of Ethernet services in a hybrid network as described in any one of claims 1 to 6.
9. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of the end-to-end restoration method of Ethernet services in a hybrid network as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Ethernet link establishing method and controller
CN107483141A
Cross-domain service intercommunication method, network equipment and storage medium
CN109788018A
End-to-end rerouting method and device
CN110048944A
Method, controller and system for establishing forwarding path in network
CN111654438A
Cross-domain recommendation model training method and training system based on privacy protection
CN113312644A
