Resource control method and device, readable medium and program product

By determining the resource mapping of different planes and judging the occupancy status in the automatically switched optical network, the problem of resource conflict between the management plane and the control plane is solved, resource control for the coexistence of multiple connection services is realized, and resource utilization and service success rate are improved.

CN121908167APending Publication Date: 2026-04-21ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZTE CORP
Filing Date
2024-10-18
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In automatically switched optical networks, the management plane and control plane manage resources independently, leading to resource usage conflicts, an inability to effectively support the coexistence of multiple types of connection services, and resulting in resource waste and service activation failures.

Method used

By receiving resource lock request messages, the resource mapping relationship in different planes is determined, the resource occupancy status is judged using a preset resource lock list, and a resource lock response message is sent to indicate whether resource locking is allowed, thus avoiding the repeated locking of the same physical resource in different planes.

Benefits of technology

It improves resource utilization and system efficiency, ensures that no resource conflicts occur when multiple types of connection services coexist at the same layer, and enhances the success rate of service establishment and system continuity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121908167A_ABST
    Figure CN121908167A_ABST
Patent Text Reader

Abstract

The invention provides a resource control method, and the method comprises the steps: receiving a resource locking request message which comprises a first resource used for building a target service; according to the first resource and a preset resource corresponding relationship, determining a second resource corresponding to the first resource, the first resource and the second resource being mapping of the same physical resource in different planes; according to the second resource and a pre-stored first resource locking list, whether the second resource is occupied is determined, and the first resource locking list at least comprises the occupied second resource; and a resource locking response message is sent, the resource locking response message comprises a resource locking indication, and the resource locking indication is used for indicating whether the first resource is allowed to be locked or not. The invention further provides a resource control device, a computer readable medium and a computer program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of optical transmission network technology, and in particular to a resource control method, resource control device, computer-readable medium, and computer program product. Background Technology

[0002] Automatically Switched Optical Network (ASON) is an intelligent optical transport network developed based on traditional optical networks. Its core idea is to introduce a control plane into the optical transport network to achieve on-demand allocation of network resources, thereby realizing the intelligence of the optical network. WDM / OTN Automatically Switched Optical Network (WASON) is an ASON for WDM / OTN optical networks. WASON operates similarly to ASON, but in addition to the functions of ASON, it also supports rerouting and automatic wavelength adjustment during optimization, effectively resolving wavelength conflict issues.

[0003] WASON comprises a transport plane, a management plane, and a control plane, supporting three types of connection services: Permanent Connection (PC), Soft Permanent Connection (SPC), and Switched Connection (SC). PC services are initiated, established, and managed by the management plane. SPC services are initiated by the management plane but established and managed by the control plane. SC services are initiated by the user terminal via signaling and established and managed by the control plane.

[0004] In some related technologies, to facilitate service and resource management, only one type of connection service is supported at the same layer of the optical transport network. This way, resources at each layer of the optical transport network are used for only one type of connection service, making resource allocation relatively easy. However, in many practical application scenarios, multiple types of connection services need to coexist, even within the same layer. In these scenarios, some services are initiated, established, and managed by the management plane, while others are initiated by the management plane or network clients and established and managed by the control plane. Since the management plane and control plane manage resources independently, their resource usage information is not shared. This can lead to resources used by services established by the control plane being occupied by the management plane, and vice versa. Therefore, avoiding resource usage conflicts is a problem that needs to be addressed. Summary of the Invention

[0005] This disclosure provides a resource control method, apparatus, medium, and product.

[0006] In a first aspect, embodiments of this disclosure provide a resource control method, the method comprising: receiving a resource lock request message, the resource lock request message including a first resource for establishing a target service; determining a second resource corresponding to the first resource based on the first resource and a preset resource correspondence, wherein the first resource and the second resource are mappings of the same physical resource on different planes; determining whether the second resource has been occupied based on the second resource and a pre-stored first resource lock list, wherein the first resource lock list includes at least the occupied second resource; and sending a resource lock response message, the resource lock response message including a resource lock indication, the resource lock indication being used to indicate whether locking the first resource is permitted.

[0007] Secondly, embodiments of this disclosure provide another resource control method, the method comprising: determining a first resource for establishing a target service; determining whether the first resource has been occupied based on the first resource and a pre-stored second resource lock list, wherein the second resource lock list includes the occupied first resource; if it is determined that the first resource is not occupied, sending a resource lock request message, the resource lock request message including the first resource for establishing the target service; and receiving a resource lock response message, the resource lock response message including a resource lock indication, the resource lock indication being used to indicate whether locking the first resource is permitted.

[0008] Thirdly, embodiments of this disclosure provide a resource control device, which includes a memory and a processor; the memory stores a computer program that can be executed by the processor, and when the computer program is executed by the processor, it implements the first aspect and any possible embodiment of the first aspect or the second aspect and any possible embodiment of the second aspect.

[0009] Fourthly, embodiments of this disclosure provide a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the first aspect and any possible embodiments thereof, or the second aspect and any possible embodiments thereof.

[0010] Fifthly, embodiments of this disclosure provide a computer program product comprising a computer program that, when executed by a processor, implements the first aspect and any possible embodiment of the first aspect, or the second aspect and any possible embodiment of the second aspect.

[0011] In this embodiment, a resource lock request message can be used to request the locking of a first resource used to establish a target service. Based on the first resource and a preset resource correspondence, a second resource corresponding to the physical resource in a different plane than the plane where the first resource is located can be determined. Then, based on the second resource and a pre-stored list of locked first resources, it can be determined whether the second resource is already occupied, and a resource lock response message including a resource lock indication is sent to indicate whether locking the first resource is allowed. This avoids repeatedly locking the same physical resource in different planes, thereby avoiding resource usage conflicts and improving resource utilization and system efficiency. Attached Figure Description

[0012] In the accompanying drawings of the embodiments disclosed herein:

[0013] Figure 1 A schematic diagram of the structure of a WASON provided in an embodiment of this disclosure;

[0014] Figure 2 This is a schematic diagram of an application scenario provided by an embodiment of the present disclosure;

[0015] Figure 3 A flowchart of a resource control method provided in this disclosure embodiment;

[0016] Figure 4 A schematic diagram showing the correspondence between the individual boards and control plane ports of a network element provided in this embodiment of the disclosure;

[0017] Figure 5 A schematic diagram showing the correspondence between the individual boards and management plane ports of a network element provided in this embodiment of the disclosure;

[0018] Figure 6 A flowchart of another resource control method provided in this disclosure embodiment;

[0019] Figure 7 This is a schematic diagram of an SPC service data synchronization process provided in an embodiment of the present disclosure;

[0020] Figure 8 This is a schematic diagram of a PC service data synchronization process provided in an embodiment of the present disclosure;

[0021] Figure 9 This is a schematic diagram of another PC service data synchronization process provided in an embodiment of the present disclosure;

[0022] Figure 10 A flowchart of another resource control method provided in this disclosure embodiment;

[0023] Figure 11 A resource control effect diagram provided by an embodiment of this disclosure;

[0024] Figure 12 A flowchart illustrating the establishment of an optical layer service is provided in this embodiment of the present disclosure.

[0025] Figure 13 A flowchart illustrating the configuration of resource locks during PC service establishment, provided as an embodiment of this disclosure;

[0026] Figure 14 A flowchart illustrating the configuration of resource locks during SPC service establishment, provided as an embodiment of this disclosure;

[0027] Figure 15 This is a schematic diagram of a resource control device provided in an embodiment of the present disclosure. Detailed Implementation

[0028] To enable those skilled in the art to better understand the technical solutions of this disclosure, the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.

[0029] The present disclosure will be described more fully below with reference to the accompanying drawings; however, the embodiments shown may be embodied in different forms, and the present disclosure should not be construed as limited to the embodiments set forth below. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will enable those skilled in the art to fully understand the scope of the disclosure.

[0030] The accompanying drawings of the embodiments of this disclosure are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the detailed embodiments to explain this disclosure and do not constitute a limitation thereof. The above and other features and advantages will become more apparent to those skilled in the art from the description of the detailed embodiments with reference to the accompanying drawings.

[0031] Where there is no conflict, the various embodiments of this disclosure and the features thereof in the embodiments may be combined with each other.

[0032] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to limit the disclosure. The term "and / or" as used in this disclosure includes any and all combinations of one or more of the associated enumerated entries. The singular forms "a" and "the" as used in this disclosure are also intended to include the plural forms, unless the context clearly indicates otherwise. The terms "comprising," "made of," etc., as used in this disclosure specify the presence of the stated feature, integral, step, operation, element, and / or component, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof.

[0033] In the description of this disclosure, the words “first”, “second”, etc., are used only for the purpose of distinguishing the description and should not be construed as indicating or implying relative importance or order.

[0034] Unless otherwise specified, all terms used in this disclosure (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this disclosure, and will not be interpreted as having an idealized or overly formal meaning, unless expressly so defined in this disclosure.

[0035] See attached document Figure 1 This is a schematic diagram of the structure of a WASON provided in an embodiment of this disclosure. Figure 1 The WASON network 100 consists of a transmission plane 110, a management plane 120, a control plane 130, and a data communications network (DCN) 140. The following sections describe each component of the WASON network 100.

[0036] The Transport Plane (TP) 110 consists of a series of physical transport entities, which may include cross-connect units and physical transport links. Cross-connect units are used to implement signal cross-connection and connection in the optical network, and their main function is to switch and route optical signals. Different user terminals (…) Figure 1 (Not shown in the image) Signals can be transmitted via a physical transmission entity. Figure 1 The diagram illustrates physical transmission entities including network element A, network element B, network element C, network element D, and network element Z, as well as the physical transmission links between these network elements. For example, user terminal 1 and user terminal 2 can transmit service signals through network element A and network element Z. Management plane 120 and control plane 130 manage and control the actions of these physical transmission entities to achieve the required connections. Furthermore, transmission plane 110 can also be used to provide a communication channel between management plane 120 and control plane 130.

[0037] The Management Plane (MP) 120 may include a network management system, which manages the network. In addition to the basic functions of traditional network management, the Management Plane 120 also needs to manage the Control Plane 130, configure and address network addresses, and be responsible for formulating control policies and coordinating the overall network. The network management system may include a Path Computation Element (PCE), a resource management unit, a service management unit, a single-point service configuration unit, and channels. The path calculation unit can be used to calculate the paths (routes) of services in the network. The resource management unit can be used to manage user-related resources in the network, such as ports, links, wavelengths, and time slots. The service management unit can be used to manage services in the network, such as managing service configuration information. The single-point service configuration unit can be used to issue service configuration information to single boards via single-board commands. Channels are used for the network management system to interact with the transport plane 110 and the control plane 130.

[0038] The control plane (CP) 130 may include a network control system, which may include a series of components that implement specific functions such as routing and service processing to support connection establishment and release. The control plane 130 functions similarly to a navigator, automatically collecting and disseminating network topology information, automatically finding routes, recalculating routes in case of errors, and supporting the rapid and efficient configuration, reconfiguration, or modification of service connections. The control plane 130 can independently control the transport plane 110 to complete connection establishment and release functions, or it can control connections in cooperation with the management plane 120. In some embodiments, the network control system may include a path calculation unit, a resource management unit, and a service control unit. The path calculation unit can be used to calculate the paths for connected services in the network. The resource management unit can be used to manage user-related resources in the network, such as ports, links, wavelengths, and time slots. The service control unit can be used to control connected services in the network, such as configuring connected services.

[0039] DCN140 provides a communication channel between management plane 120 and control plane 130. Information transmission within management plane 120, and signaling information transmission between user network interfaces (UNI) and network node interfaces (NNI), can all be supported through the DCN network. DCN140 can be included in transport plane 110, for example, using the overhead bytes of transport plane 110, or it can be implemented through a digital communication network independent of the local network of transport plane 110.

[0040] The WASON network 100 supports PC services, SPC services, and SC services. PC services are initiated, established, and managed by the management plane 120. SPC services are initiated by the management plane 120 and established and managed by the control plane 130. SC services are initiated by user terminals via signaling and established and managed by the control plane 130.

[0041] See attached document Figure 2 This is a schematic diagram illustrating an application scenario provided by an embodiment of this disclosure. In some related technologies, only one type of connection service is supported at the same layer of an optical transport network, and resources at each layer are used only for one type of connection service (resources are mutually exclusive). For example, Figure 2 In optical transport networks, PC services managed by the management plane and SPC services managed by the control plane are mutually exclusive in terms of resources at the same layer. That is, resources at the same layer are only used for PC services or SPC services. Resource allocation is relatively easy, but there are problems such as resource waste and inability to launch services. For example, in the same layer of the optical transport network, the resources left over after establishing a service cannot be used to establish other types of services. Or, due to the restriction of resource mutual exclusion, once a service is established in the same layer of the optical transport network, other types of services cannot be established, resulting in multiple services being unable to coexist.

[0042] However, in practical applications, multiple types of connection services need to coexist, even within the same layer. Therefore, this disclosure no longer restricts the mutual exclusion of resources within the same layer of the optical transport network; that is, resources within the same layer can be used simultaneously for PC services, SPC services, and SC services. In scenarios where multiple services coexist, some services are initiated, established, and managed by the management plane, while others are initiated by the management plane or network clients and established and managed by the control plane. Since the management plane and control plane manage resources independently, their resource usage is not shared. This can lead to resources used by services established by the control plane being occupied by the management plane, and vice versa. Therefore, avoiding resource usage conflicts is a problem that needs to be addressed.

[0043] In view of this, the resource control method, resource control device, computer-readable medium, and computer program product provided in this disclosure can be applied to ASON networks as well as WASON networks, and are not limited thereto. A detailed description is provided below with reference to the accompanying drawings.

[0044] Firstly, refer to the appendix Figure 3 This disclosure provides a flowchart of a resource control method, which can be applied to a resource control device. The method includes:

[0045] S301: Receive a resource lock request message, which includes the first resource used to establish the target service.

[0046] In this embodiment of the disclosure, the type of target service is not limited. For example, it can be a PC service established by the management plane, or an SPC service or SC service established by the control plane.

[0047] In one example, if the target service is a PC service, the resource lock request message is initiated by the management plane. When the management plane determines that a PC service needs to be established, it identifies the first resource required for that service. The management plane may have its own resource lock list, which stores resources already occupied by the management plane. In this case, the management plane can determine whether the first resource is already occupied by the management plane based on its own resource lock list. However, since the management plane and the control plane manage resources independently, the management plane cannot determine whether the first resource is already occupied by the control plane. Therefore, it initiates a resource lock request message to request permission to lock the first resource.

[0048] In one example, if the target service is an SPC service, the resource lock request message is initiated by the control plane. When the control plane determines that an SPC service needs to be established, it determines the first resource required to establish the SPC service. The control plane may have its own resource lock list, which stores resources that the control plane has already occupied. In this case, the control plane can determine whether the first resource has already been occupied by the control plane based on its own resource lock list. However, since the management plane and the control plane manage resources independently, the control plane cannot determine whether the first resource has already been occupied by the management plane. Therefore, it initiates a resource lock request message to request permission to lock the first resource.

[0049] S302: Based on the first resource and the preset resource correspondence, determine the second resource corresponding to the first resource. The first resource and the second resource are mappings of the same physical resource on different planes.

[0050] In this embodiment of the disclosure, to support the coexistence of multiple services, such as multiple services coexisting on the same layer of the optical transport network, it is necessary to align different planes that independently manage different services, and combine them with... Figure 2 The planar alignment in this disclosure is explained. Figure 2 Taking the alignment of the management plane and the control plane as an example, plane alignment includes aligning the routing algorithms used by the path calculation unit, aligning the resource models used by the resource management unit, and aligning the business models of the business management unit and the business control unit.

[0051] In this embodiment of the disclosure, when creating a service, the service affiliation (PC / SPC) can be determined by adding a specified connection type in the system's service management interface. In the prior art, the service is determined as a PC service or an SPC service based on the collaborative capabilities enabled by the network element. For example, when the network element enables optical layer collaboration to create an OCH service, it defaults to a coordinated SPC service; otherwise, it defaults to a converged PC service. After adding a specified connection type, the service affiliation can be manually specified, but the manually specified affiliation cannot conflict with the recovery level and collaborative capabilities. For example, an OCH service with recovery attributes can only be an SPC service.

[0052] In this embodiment of the disclosure, routing algorithm alignment means that the management plane and the control plane use the same routing algorithm, such as making routing policies, optical layer routing functions, service recovery, kernel routing algorithms and other functions consistent.

[0053] In this embodiment of the disclosure, resource model alignment refers to associating the resource models constructed based on physical resources between the management plane and the control plane. The following uses resources as a port as an example, referring to Tables 1-2, and... Figures 4-5 Explain the resource associations.

[0054] Table 1

[0055]

[0056] Table 2

[0057]

[0058]

[0059] In one example, Table 1 shows that the resource model of the control plane includes multiple ports of the control plane, and describes the board type corresponding to different ports, general model information, and special board processing. Figure 4 This disclosure provides a schematic diagram showing the correspondence between the individual boards and control plane ports of a network element, in conjunction with embodiments thereof. Figure 4 As shown in Table 1, for the optical layer resource model, the optical layer transmission ports in the control plane correspond to the physical ports of the power boards (optical amplifiers (OA) and DRAS boards at the boundary locations) of the network element. For the electrical layer resource model, the CEP ports in the control plane correspond to the client-side physical ports / OP client-side physical ports of the network element's service boards. The correspondence between other ports in the control plane and the physical ports of the network element can be found in Table 1 and... Figure 4 This will not be elaborated upon here.

[0060] In one example, Table 2 shows that the resource model of the management plane includes multiple ports of the management plane, and describes the board types corresponding to different ports, general model information, and special board processing. Figure 5 This disclosure provides a schematic diagram showing the correspondence between the individual boards and management plane ports of a network element, in conjunction with embodiments thereof. Figure 5 As shown in Table 2, for the optical layer resource model, the ots_port port in the management plane corresponds to the physical port of the board where the node boundary of the network element is located. For the electrical layer resource model, the och_port port in the management plane corresponds to the line-side physical port of the service board of the network element, and the oac_port port corresponds to the client-side physical port / op-side physical port of the service board of the network element. The correspondence between other ports in the management plane and the physical ports of the network element can be found in Table 2 and... Figure 5 This will not be elaborated upon here.

[0061] In this embodiment of the disclosure, to achieve the coexistence of management services on the same network element and on different planes within the same layer of the same network element, resources on different planes are associated to obtain resource correspondences, enabling services managed on different planes to share resources on each plane. Taking resources as ports as an example, according to Tables 1-2, and Figures 4-5 The resource mapping relationship (such as port mapping relationship) between the management plane and the control plane can be obtained, as shown in Table 3. According to Table 3, physical port 1 is mapped to an optical layer transport port in the control plane and to an ots_port port in the management plane; physical port 2 is mapped to an internal link port in both the control plane and the management plane; physical port 3 is mapped to an oep port in the control plane and to an och_port port in the management plane; and physical port 4 is mapped to a cep port in the control plane and to an oac_port port in the management plane. That is, the same physical resource can be mapped to different resources in different planes. To implement the resource control method of this application, a preset resource mapping relationship can be obtained based on the above resource alignment method, facilitating resource sharing when services managed on different planes coexist.

[0062] Table 3

[0063] Control plane port Management plane port physical port Optical layer transmission port ots_port port Physical Port 1 Internal link port Internal link port Physical Port 2 OEP port och_port port Physical Port 3 CEP port oac_port port Physical Port 4

[0064] In this embodiment of the disclosure, business model alignment refers to associating the management plane and the control plane based on the business model. The following refers to Tables 4-5, and... Figures 4-5 Explain the relationships between business models.

[0065] Table 4

[0066]

[0067] Table 5

[0068]

[0069]

[0070] In one example, Table 4 shows the service model of the control plane, which includes different types of services. It also explains the service attributes corresponding to each type of service, the node ports through which the service passes, and the ingress and egress ports within each node. Combined with... Figure 4 As shown in Table 4, for OCH services, the input and output ports of the services in the control plane are OEP ports and optical layer transmission ports. For ODU services generated by the forwarding board (OAC), the node ports through which the services pass in the control plane are CEP ports.

[0071] In one example, Table 5 shows the business model of the management plane, which includes different types of services within the management plane. It also describes the service attributes corresponding to each type of service, the nodes the service passes through, and the inbound and outbound ports within each node. Combined with... Figure 5 As shown in Table 5, for och services, the ingress and egress ports of the service in the management plane are och_port and oms_port. For ODU services generated by the forwarding board (oac), the node ports through which the service passes in the management plane are och_port.

[0072] In this embodiment of the disclosure, in order to achieve the coexistence of management and control services in the same network element and different planes in the same layer of the same network element, the service models of different planes can also be associated.

[0073] In this embodiment of the disclosure, by aligning different planes, the resource correspondence between the different planes can be obtained. Then, based on the first resource and its correspondence, the second resource corresponding to the first resource can be determined. For example, taking the optical layer transport port in Table 3 as the first resource, the second resource can be determined as the ots_port port based on the first resource and the resource correspondence shown in Table 3. In this example, the first and second resources are the mappings of physical port 1 on the control plane and the management plane, respectively. In another example, taking the oep port in Table 3 as the first resource, the second resource can be determined as the och_port port based on the first resource and the resource correspondence shown in Table 3. In this example, the first and second resources are the mappings of physical port 3 on the control plane and the management plane, respectively.

[0074] S303: Determine whether the second resource has been occupied based on the second resource and the pre-stored first resource lock list, wherein the first resource lock list includes at least the second resource that has been occupied.

[0075] In this embodiment of the disclosure, after determining a second resource that is different from the plane to which the first resource belongs, it is determined whether the second resource has been occupied based on the second resource and the first resource lock list.

[0076] It is understood that in this disclosure, the plane can determine whether the first resource has been occupied based on its own resource lock list. Of course, it can also determine whether the first resource has been occupied through a resource lock request message.

[0077] In some embodiments, the first resource lock list further includes a first resource that has been occupied. In this embodiment, the method further includes: determining whether the first resource has been occupied based on the first resource and the first resource lock list.

[0078] S304: Send a resource lock response message. The resource lock response message includes a resource lock indication, which indicates whether locking the first resource is permitted.

[0079] In this embodiment of the disclosure, if the second resource is occupied, it indicates that the physical resource corresponding to the second resource is occupied. At this time, the physical resource is unusable regardless of which plane it is mapped to. If the second resource is not occupied, it indicates that the physical resource corresponding to the second resource is not occupied. At this time, the physical resource is usable regardless of which plane it is mapped to. Therefore, a corresponding resource locking indication can be generated based on whether the second resource is occupied.

[0080] In this embodiment, a resource lock request message can be used to request the locking of a first resource used to establish a target service. Based on the first resource and a preset resource correspondence, a second resource corresponding to the physical resource in a different plane than the plane where the first resource is located can be determined. Then, based on the second resource and a pre-stored list of locked first resources, it can be determined whether the second resource is already occupied, and a resource lock response message including a resource lock indication is sent to indicate whether locking the first resource is allowed. This avoids repeatedly locking the same physical resource in different planes, thereby avoiding resource usage conflicts and improving resource utilization and system efficiency.

[0081] In some embodiments, if it is determined that the second resource is not occupied, the resource lock indication is used to indicate that locking the first resource is permitted; if it is determined that the second resource is occupied, the resource lock indication is used to indicate that locking the first resource is not permitted. Alternatively, if it is determined that neither the second resource nor the first resource is occupied, the resource lock indication is used to indicate that locking the first resource is permitted; if it is determined that either the second resource or the first resource is occupied, the resource lock indication is used to indicate that locking the first resource is not permitted.

[0082] To facilitate understanding by those skilled in the art, the following examples illustrate... Figure 3 The resource control methods shown are explained.

[0083] In one example, taking the control plane initiating a resource lock request message to establish an SPC service as an example, when the control plane determines that an SPC service (target service) needs to be established, it determines that the first resource required to establish the SPC service includes the optical layer transport port and OEP port listed in Table 3. The control plane can determine whether the first resource is occupied based on the occupied resources included in the locally stored resource lock list. If it determines that the first resource is not occupied, it can send a resource lock request message including the first resource to the resource control device. After receiving the resource lock request message, the resource control device determines the second resource corresponding to the first resource, including the ots_port port and och_port port of the management plane, based on the first resource and the resource correspondence shown in Table 3. It can also determine the second resource based on the second resource and the first resource lock list. If the first resource is already occupied, a resource lock response message can be sent to the control plane. The resource lock response message includes a resource lock indication, which indicates that locking the first resource is not allowed. In other words, although the first resource corresponding to the same physical resource is not used by the control plane, the second resource corresponding to the same physical resource is already used by the management plane. Therefore, locking the first resource is not allowed to avoid affecting existing services. If the second resource is not occupied, a resource lock response message can be sent to the control plane. The resource lock response message includes a resource lock indication, which indicates that locking the first resource is allowed. In other words, not only is the first resource corresponding to the same physical resource not used by the control plane, but the second resource corresponding to the same physical resource is also not used by the management plane. Therefore, locking the first resource is allowed.

[0084] Secondly, refer to the appendix. Figure 6 This disclosure provides another resource control method flowchart, which can be applied to the control plane or management plane. The method includes:

[0085] S601: Identify the first resource to be used to establish the target business.

[0086] S602: Determine whether the first resource has been occupied based on the first resource and the pre-stored second resource lock list, wherein the second resource lock list includes the first resource that has been occupied.

[0087] S603: If it is determined that the first resource is not occupied, a resource lock request message is sent. The resource lock request message includes the first resource used to establish the target service.

[0088] S604: Receive a resource lock response message. The resource lock response message includes a resource lock indication, which indicates whether locking the first resource is permitted.

[0089] It should be noted that the same concepts or steps involved in the second aspect as those in the first aspect can be found in the description of the first aspect, and will not be repeated in the second aspect.

[0090] In some embodiments, after executing S604, the method further includes: locking the first resource if the resource locking indicator indicates that locking the first resource is permitted, and establishing the target service based on the first resource. This allows for locking the resource before establishing the service, preventing resource preemption that could lead to service establishment failure and improving the success rate of service establishment.

[0091] In some embodiments, after establishing the target service based on the first resource, the method further includes: receiving a deletion request message for the target service, deleting the target service first and then releasing the first resource according to the deletion request message. In this way, by deleting the service before releasing the resource, it can be ensured that the association between the service and the resource is explicitly severed, which helps to avoid the resource being mistakenly retained or released.

[0092] In some embodiments, after establishing the target service based on the first resource, the method further includes: if the target service has been restored after being disconnected, acquiring first data before the disconnection and second data after the restoration; comparing the first data and the second data, and if it is determined that the first data and the second data are inconsistent, sending a synchronization message to the node associated with the target service, so that the node reports all data of the target service according to the synchronization message; and updating the data of the target service in the local storage according to all data. In this way, after the service is disconnected and then restored, the service data is synchronized to ensure the continuity of the service.

[0093] It is understandable that certain situations may lead to business interruptions. In the event of a business interruption and subsequent recovery, business data needs to be synchronized to ensure business continuity. The following example illustrates the business data synchronization process in a business interruption and recovery scenario.

[0094] An example, see attached Figure 7This disclosure provides a schematic diagram of an SPC service data synchronization process. After a service is disconnected and then restored, data changes may occur. By establishing a link between network elements and the management plane (such as a network management system within the plane), data after service restoration can be automatically synchronized without manual intervention. The process may include comparing the data in the single-point database before the service disconnection (which may carry a timestamp from before the disconnection) with the data reported by the network elements after service restoration (which may carry a timestamp from after service restoration). This determines whether there are any changes in the data before and after the service disconnection. If the data is inconsistent before and after the service disconnection, a synchronization command is sent to the network elements associated with the service. This allows the network elements associated with the service to report all the data after service restoration based on the synchronization message. Furthermore, the data stored locally in the management plane can be updated based on all the data to ensure the consistency of service data and the continuity of services.

[0095] An example, see attached Figure 8 This is a schematic diagram of a PC service data synchronization process provided in this embodiment of the disclosure, and is shown in the attached diagram. Figure 9 This provides another schematic diagram of PC business data synchronization process for embodiments of this disclosure. Figure 8 The middle section describes the data upload process. During the upload process, PC business actions and network data overwrite management plane (network management system) data. Figure 9 The middle part is the data download process. During the download process, network elements actively report data (such as SPC service data), and the management plane (network management system) fully covers the network element data.

[0096] To enable those skilled in the art to more clearly understand the technical solutions provided by the embodiments of this disclosure, the technical solutions provided by the embodiments of this disclosure will be further described below through specific embodiments:

[0097] Example 1

[0098] See attached document Figure 10 This is a flowchart of another resource control method provided in this disclosure. Figure 11 To implement Figure 10 The resource control method shown corresponds to the resource control effect diagram. Figure 10 In the WASON network, when the management plane and control plane send configurations to the transport plane, an agent module is added to the network to shield the implementation details of the underlying interface. The management plane and control plane can directly interact with the agent. The agent stores complete and accurate data. In this embodiment, the resource control method provided in the first aspect of this disclosure is used as an example to illustrate the process.

[0099] S1001: The control plane determines the first resource used to establish SPC services.

[0100] In this embodiment, the optical layer transmission port and OEP port are controlled by the first resource.

[0101] S1002: The control plane determines whether the first resource has been occupied based on the first resource and the second resource lock list stored locally.

[0102] S1003: When the control plane determines that the first resource is not occupied, it sends a resource lock request message. The resource lock request message includes the first resource used to establish the SPC service. Accordingly, the Agent receives the resource lock request message.

[0103] S1004: The Agent determines the second resource corresponding to the first resource based on the first resource and the preset resource correspondence.

[0104] In this embodiment, based on the first resource (optical layer transmission port and OEP port of the control plane) and the resource correspondence shown in Table 3, the second resource corresponding to the first resource can be determined to include the ots_port port and och_port port of the management plane.

[0105] S1005: The Agent determines whether the second resource has been occupied based on the second resource and the pre-stored first resource lock list.

[0106] S1006a: If it is determined that the second resource is not occupied, the Agent sends a resource lock response message. The resource lock response message includes a resource lock indication, which is used to indicate that the first resource can be locked. Accordingly, the control plane receives the resource lock response message.

[0107] S1006b: If it is determined that the second resource is already occupied, the Agent sends a resource lock response message. The resource lock response message includes a resource lock indication, which indicates that locking the first resource is not allowed. Accordingly, the control plane receives the resource lock response message.

[0108] Example 2

[0109] See attached document Figure 12 This is a flowchart illustrating the establishment of optical layer services according to an embodiment of the present disclosure. This embodiment describes the process of establishing optical layer services in a scenario where PC services and SPC services coexist, and includes the following steps:

[0110] S1: User triggers the establishment of a service.

[0111] S2: Specify the service type of the OCH layer as PC or SPC in the system interface, and send the service through the port.

[0112] S3: LCM establishes a service based on the connection type and sends a path calculation request to PCE.

[0113] S4: Generate routes.

[0114] S5: Route entry into database.

[0115] S6: URM responds to PCE.

[0116] S7: PCE responds to LCM.

[0117] S8: LCM sends service configurations to the network management system.

[0118] S9: The network management system issues service configurations to network elements.

[0119] S10: The network element responds to the network management system.

[0120] S11: The network management system responds to the LCM.

[0121] S12: LCM responds to the system interface.

[0122] S13: The system interface responds to the user.

[0123] S14: LCM sends a notification to URM.

[0124] S15: URM configures the operating mode, recovery mode, and alarm filtering for the network management system.

[0125] Example 3

[0126] See attached document Figure 13 This is a flowchart illustrating the configuration of resource locks during PC service establishment, provided by an embodiment of this disclosure. In this embodiment, the calculated resource lock is sent to the device-side master controller for arbitration. If the arbitration is successful, the resource lock is added to the database. If the arbitration or database addition fails, an error message is returned to the network element model to perform a rollback operation, including the following steps:

[0127] S1: LCM sends configuration information to the network element model.

[0128] S2: The network element model determines the resources required to establish PC services based on the configuration information.

[0129] S3: The resource lock module generates resource locks based on the resources required to establish PC services and issues them to network elements.

[0130] S4: The network element locks the resources into the database.

[0131] S5: The network element returns success / failure to the resource lock.

[0132] S6: Resource locking to network element model returns success / failure.

[0133] S7: The network element model returns success / failure to the LCM.

[0134] S8: Resource locks and database synchronization resource locks.

[0135] S9: Network element model failed and rollback.

[0136] S10: LCM failure rollback.

[0137] S11: The database returns success / failure to the resource lock.

[0138] S12: Resource locking to network element model returns success / failure.

[0139] S13: The network element model is deployed to other network elements.

[0140] S14: The network element returns success / failure to the network element model.

[0141] S15: Network element model failed and rollback.

[0142] S16: The network element model returns success / failure to the LCM.

[0143] S17: LCM failure rollback.

[0144] S18: Other network elements are entered into the database.

[0145] S19: The database returns success / failure to the network element model.

[0146] S20: The network element model returns success / failure to the LCM.

[0147] S21: LCM failure rollback.

[0148] Example 4

[0149] See attached document Figure 14 This document presents a flowchart illustrating the configuration of resource locks during SPC service establishment, as provided in this embodiment. In this embodiment, during SPC service establishment, the network element reports a resource lock message via the qx port (0x3714 / 0xC4DF). The resource lock module converts this message to the F port, determines a conflict, stores it in the database, and updates the single-point model data. PC services and SPC services occupy resources within the same network element and at the same level, respectively, and are marked with resource lock occupancy in the management plane or control plane. Both services are then successfully established. If inconsistencies in resource locking occur, a new resource lock comparison page can be added for incremental manual adjustment to ensure consistency. This method includes the following steps:

[0150] S1: WASON reports a resource lock message.

[0151] S2: Main thread decoding multi-threaded (network element + command code mutual exclusion).

[0152] S3: Merge into cache according to subcommands.

[0153] S4: Batch processing by subcommand.

[0154] S5: Decoding.

[0155] S6: Decoding is performed using network elements and command codes as keywords in a multi-threaded process.

[0156] S7: Merge into database, network element + command code are mutually exclusive.

[0157] S8: The configuration file sets a timer to retrieve data from the cache for batch processing.

[0158] S9: Batch processing by subcommand.

[0159] S10: Retrieve resource lock data from the database.

[0160] S11: Return data.

[0161] S12: Resource locks are filtered for conflicts and then entered into the database.

[0162] S13: Query single-point business data.

[0163] S14: Returns single-point business data.

[0164] S15: Update single-point resources.

[0165] S16: Model Reconstruction.

[0166] S17: Operation log records failure information.

[0167] Thirdly, refer to the appendix. Figure 15 This is a schematic diagram of a resource control device structure provided in an embodiment of the present disclosure, comprising: at least one processor 1501, at least one memory 1502, and one or more I / O interfaces 1503. The one or more I / O interfaces 1503 are connected between the processor 1501 and the memory 1502. The memory 1502 stores one or more computer programs, which are executed by the at least one processor 1501 to enable the at least one processor 1501 to implement the methods described in the first aspect and any possible embodiments thereof, or the second aspect and any possible embodiments thereof.

[0168] The processor 1501 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 1502 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); the I / O interface 1503 (read-write interface) is connected between the processor 1501 and the memory 1502, enabling information exchange between the processor 1501 and the memory 1502, including but not limited to a data bus.

[0169] Fourthly, embodiments of this disclosure provide a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the methods of the first aspect and any possible embodiments of the first aspect, or the second aspect and any possible embodiments of the second aspect.

[0170] Fifthly, embodiments of this disclosure provide a computer program product comprising a computer program that, when executed by a processor, implements the methods of the first aspect and any possible embodiments thereof, or the second aspect and any possible embodiments thereof.

[0171] Those skilled in the art will understand that all or some of the steps, systems, and devices disclosed above, as functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0172] In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be executed by several physical components working together.

[0173] Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit (CPU), digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technique for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH) or other disk storage; read-only optical disc (CD-ROM), digital versatile disc (DVD) or other optical disc storage; magnetic cartridges, magnetic tapes, disk storage or other magnetic storage; and any other media that can be used to store desired information and can be accessed by a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0174] This disclosure has disclosed exemplary embodiments, and although specific terminology has been used, it is for general illustrative purposes only and should not be construed as limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics, and / or elements described in conjunction with particular embodiments may be used alone, or in combination with features, characteristics, and / or elements described in conjunction with other embodiments, unless otherwise expressly indicated. Therefore, those skilled in the art will understand that various changes in form and detail may be made without departing from the scope of this disclosure as set forth by the appended claims.

Claims

1. A resource control method, characterized in that, The method includes: Receive a resource lock request message, the resource lock request message including a first resource for establishing the target service; Based on the first resource and the preset resource correspondence, a second resource corresponding to the first resource is determined, wherein the first resource and the second resource are mappings of the same physical resource on different planes; Based on the second resource and a pre-stored first resource lock list, it is determined whether the second resource has been occupied, wherein the first resource lock list includes at least the second resource that has been occupied; Send a resource lock response message, the resource lock response message including a resource lock indication, the resource lock indication being used to indicate whether locking the first resource is permitted.

2. The method according to claim 1, characterized in that, The first resource lock list also includes a first resource that is already occupied, and the method further includes: Based on the first resource and the first resource lock list, determine whether the first resource has been occupied.

3. The method according to claim 1 or 2, characterized in that, If it is determined that the second resource is not occupied, the resource locking indication is used to indicate that locking the first resource is permitted; if it is determined that the second resource is occupied, the resource locking indication is used to indicate that locking the first resource is not permitted. Alternatively, if it is determined that neither the second resource nor the first resource is occupied, the resource locking indication is used to indicate that locking the first resource is permitted; if it is determined that either the second resource or the first resource is occupied, the resource locking indication is used to indicate that locking the first resource is not permitted.

4. A resource control method, characterized in that, The method includes: Identify the primary resources for establishing the target business; Based on the first resource and a pre-stored second resource lock list, determine whether the first resource has been occupied, wherein the second resource lock list includes the first resource that has been occupied; If it is determined that the first resource is not occupied, a resource lock request message is sent, the resource lock request message including the first resource used to establish the target service; Receive a resource lock response message, the resource lock response message including a resource lock indication, the resource lock indication being used to indicate whether locking the first resource is permitted.

5. The method according to claim 4, characterized in that, After receiving the resource lock response message, the method further includes: When the resource locking indication is used to indicate that locking the first resource is permitted, the first resource is locked, and the target service is established based on the first resource.

6. The method according to claim 5, characterized in that, After establishing the target service based on the first resource, the method further includes: Receive the deletion request message of the target service, delete the target service first and then release the first resource according to the deletion request message.

7. The method according to claim 5, characterized in that, After establishing the target service based on the first resource, the method further includes: If the target service has been restored after being disconnected, acquire the first data before the target service was disconnected and the second data after the service was restored. Compare the first data and the second data. If it is determined that the first data and the second data are inconsistent, send a synchronization message to the node associated with the target service so that the node reports all the data of the target service according to the synchronization message. Update the target service data in the local storage based on all the data.

8. A resource control device, characterized in that, include: Memory, processor; The memory stores a computer program that can be executed by the processor, which, when executed by the processor, implements the method of any one of claims 1 to 7.

9. A computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method according to any one of claims 1 to 7.

10. A computer program product comprising a computer program that, when executed by a processor, implements the method of any one of claims 1 to 7.