Resource configuration method and apparatus, electronic device, and storage medium
By sorting and automating the configuration of target channels and repeaters for WDM services, the problem of unreasonable resource utilization in traditional WDM services is solved, improving design efficiency and reducing costs.
Patent Information
- Application Number
- CN202211154864.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-21
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2042-09-21
AI Technical Summary
Traditional wavelength division multiplexing (WDM) services suffer from unreasonable resource utilization during planning and commissioning, resulting in high investment costs and low design efficiency. It requires manual specification of channel and relay station information and repeated scheme design.
By sorting the batch of services to be planned, selecting the routing path of the target service based on the sorting results, configuring the target channel and relay station, and generating resource configuration results, the rational configuration and automated design of channel resources can be achieved.
It improves the efficiency of wavelength division multiplexing (WDM) service design, shortens the design time, and reduces investment costs.
Smart Images

Figure CN115665597B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to a resource configuration method and device, electronic equipment and storage medium. BACKGROUND
[0002] Wavelength Division Multiple (WDM) network, referred to as wavelength division network.
[0003] Wavelength division multiple network is to divide the available bandwidth of single-mode fiber into multiple independent wavelengths, each wavelength is a channel, and the rate of each channel is arbitrarily selected within the range of technology (such as 100Mbit / s-10Gbit / s, etc.). Different services of different users in the network can be transmitted on different logical channels, so the sum of the rates of multiple channels constitutes the rate of the network, and increasing the number of wavelength division multiplexing channels can further tap the bandwidth resources of the optical fiber; and multiple independent non-overlapping channels can simultaneously transmit different types of services, which also realizes the function of network integrated services.
[0004] When the traditional wavelength division service is planned and opened, the calculation of the service and the allocation of the resource need to be performed for each single service, and a large number of services consume a long time in planning. In the design process, the use of wavelength division resources is not considered as a whole, which leads to unreasonable use of resources and increased investment cost. In addition, when the traditional wavelength division service is opened, the wave channel and relay station information are manually specified, and the scheme design needs to be repeated multiple times in the planning process, and the most reasonable scheme is selected from multiple schemes, so the design efficiency of the wavelength division service is low. SUMMARY
[0005] The technical problem to be solved by the embodiments of the present application is to provide a resource configuration method and device, electronic equipment and storage medium, to realize reasonable configuration of wave channel resources, improve the service design efficiency, reduce the service design time, and reduce the investment cost.
[0006] In a first aspect, the embodiments of the present application provide a resource configuration method, which comprises:
[0007] sequencing each service in the batch service to be planned, and sequentially selecting a target service in the batch service based on the sequencing result, and determining a routing path of the target service;
[0008] configuring a target wave channel based on the wave channel resource occupation information and the routing path;
[0009] configuring a target relay station based on the optical signal-to-noise ratio of the routing path;
[0010] generating a resource configuration result of the target service based on the routing path, the target wave channel and the target relay station.
[0011] Optionally, the sorting the services in the batch of services to be planned comprises:
[0012] obtaining service information of the services in the batch of services to be planned, the service information comprising at least one of the following: routing requirement, service distance, number of services involved by network elements at both ends of the service;
[0013] for each service in the batch of services, summing up the items in the service information of the service to obtain a first weight value of the service;
[0014] sorting the services in the batch of services in descending order of the first weight value.
[0015] Optionally, the configuring the target wave channel based on the wave channel resource occupation information and the routing path comprises:
[0016] obtaining idle rates of a plurality of candidate wave channels;
[0017] if there is an idle wave channel with a first target value in the plurality of candidate wave channels, determining the idle wave channel as the target wave channel;
[0018] if there is no idle wave channel in the plurality of candidate wave channels, determining a target wave channel in the plurality of candidate wave channels based on the idle rate and the wave channel resource occupation information of each candidate wave channel in the plurality of candidate wave channels.
[0019] Optionally, the wave channel resource occupation information comprises: number of optical multiplexing sections occupied in the routing path, number of network elements of optical multiplexing sections occupied in the routing path, and local dimension conflict value.
[0020] The determining the target wave channel in the plurality of candidate wave channels based on the idle rate and the wave channel resource occupation information of each candidate wave channel in the plurality of candidate wave channels comprises:
[0021] for each candidate wave channel in the plurality of candidate wave channels, determining the number of relay wave relay network elements of the candidate wave channel in the routing path based on the number of optical multiplexing sections occupied in the routing path and the number of network elements of optical multiplexing sections occupied in the routing path;
[0022] summing up the idle rate, the local dimension conflict value and the number of relay wave relay network elements of the candidate wave channel to obtain a second weight value of the candidate wave channel;
[0023] determining the target wave channel in the plurality of candidate wave channels based on the second weight value of each candidate wave channel.
[0024] Optionally, the configuring the target relay station based on the optical signal-to-noise ratio of the routing path comprises:
[0025] determining an optical signal-to-noise ratio of the routing path;
[0026] if the optical signal-to-noise ratio of the routing path is greater than or equal to a target value, setting a relay network element in the routing path as a target relay station;
[0027] if the optical signal-to-noise ratio of the routing path is less than the target value, adding a relay station in the routing path, and re-executing the step of determining the optical signal-to-noise ratio of the routing path until a target relay station is configured.
[0028] Optionally, the adding a relay station in the routing path comprises:
[0029] if a relay type of the relay network element in the routing path is a two-division relay, setting a two-division relay network element in the routing path as a normal network element, deleting a service channel of the target service in the normal network element, and adding a relay network element in the routing path by using a three-division method;
[0030] if the relay type is not the two-division relay, adding a relay network element in the routing path by using a two-division method.
[0031] Optionally, the adding a relay network element in the routing path by using the two-division method comprises:
[0032] if a local dimension of an intermediate network element in the routing path does not exist a free target wave channel, setting two end network elements of the routing path as relay network elements;
[0033] if the local dimension of the two end network elements of the routing path exists the free target wave channel, increasing a dimension number of the local dimension of the intermediate network element of the routing path.
[0034] Optionally, the adding a relay network element in the routing path by using the three-division method comprises:
[0035] setting network elements at 1 / 3 and 2 / 3 of the routing path as intermediate network elements;
[0036] if a local dimension of an intermediate network element in the routing path does not exist a free target wave channel, setting two end network elements of the routing path as relay network elements;
[0037] if the local dimension of the two end network elements of the routing path exists the free target wave channel, increasing a dimension number of the local dimension of the intermediate network element of the routing path.
[0038] In a second aspect, an embodiment of the present application provides a resource configuration device, the device comprising:
[0039] The service sorting module is configured to sort each service in the batch services to be planned, and select a target service in the batch services based on a sorting result.
[0040] The target channel configuration module is configured to configure a target channel based on the channel resource occupation information and the routing path.
[0041] The target relay station configuration module is configured to configure a target relay station based on an optical signal-to-noise ratio of the routing path.
[0042] The resource configuration result generation module is configured to generate a resource configuration result of the target service based on the routing path, the target channel and the target relay station.
[0043] Optionally, the service sorting module comprises:
[0044] The service information acquisition unit is configured to acquire service information of each service in the batch services to be planned, the service information comprising at least one of the following: routing requirement, service distance, and number of services related to network elements at both ends of the service.
[0045] The first weight acquisition unit is configured to, for each service in the batch services, sum up each item in the service information of the service to obtain a first weight of the service.
[0046] The service sorting unit is configured to sort each service in the batch services in descending order of the first weight.
[0047] Optionally, the target channel configuration module comprises:
[0048] The idle rate acquisition unit is configured to acquire idle rates of a plurality of candidate channels.
[0049] The first channel determination unit is configured to, when there is an idle channel with a first target value in the plurality of candidate channels, determine the idle channel as the target channel.
[0050] The second channel determination unit is configured to, when there is no idle channel in the plurality of candidate channels, determine a target channel in the plurality of candidate channels based on the idle rates and the channel resource occupation information of each candidate channel in the plurality of candidate channels.
[0051] Optionally, the channel resource occupation information comprises: a number of optical multiplexing sections occupied in the routing path, a number of network elements of the optical multiplexing sections occupied in the routing path, and a local dimension conflict value.
[0052] The second channel determination unit comprises:
[0053] The relay network element number determination sub-unit is configured to determine, for each candidate wave channel in the plurality of candidate wave channels, a relay wave relay network element number of the candidate wave channel in the routing path based on a number of optical multiplexing segments occupied by the candidate wave channel in the routing path and a number of network elements of the optical multiplexing segments occupied by the candidate wave channel in the routing path.
[0054] The second weight acquisition sub-unit is configured to obtain a second weight of the candidate wave channel by weighted summation of the idle rate, the local dimension conflict value, and the relay wave relay network element number of the candidate wave channel.
[0055] The target wave channel determination sub-unit is configured to determine a target wave channel in the plurality of candidate wave channels based on the second weight of each candidate wave channel.
[0056] Optionally, the target relay station configuration module comprises:
[0057] The optical signal-to-noise ratio determination unit is configured to determine an optical signal-to-noise ratio of the routing path.
[0058] The target relay station acquisition unit is configured to take a relay network element in the routing path as a target relay station when the optical signal-to-noise ratio of the routing path is greater than or equal to a target value.
[0059] The repeated execution unit is configured to increase a relay station in the routing path and re-execute the optical signal-to-noise ratio determination unit until a target relay station is configured when the optical signal-to-noise ratio of the routing path is less than the target value.
[0060] Optionally, the repeated execution unit comprises:
[0061] The first relay network element increase sub-unit is configured to set a two-way relay network element in the routing path as a normal network element, delete a service channel of the target service in the normal network element, and increase a relay network element in the routing path by using a three-way method when the relay type is a two-way relay.
[0062] The second relay network element increase sub-unit is configured to increase a relay network element in the routing path by using a two-way method when the relay type is not a two-way relay.
[0063] Optionally, the second relay network element increase sub-unit comprises:
[0064] The third relay network element increase sub-unit is configured to set two end network elements of the routing path as relay network elements when a local dimension of an intermediate network element in the routing path does not have an idle target wave channel.
[0065] The first dimension number increase sub-unit is configured to increase a dimension number of a local dimension of an intermediate network element of the routing path when the local dimension of the two end network elements of the routing path has an idle target wave channel.
[0066] Optionally, the first relay network element adding subunit comprises:
[0067] The intermediate network element obtaining subunit is configured to obtain the network elements at 1 / 3 and 2 / 3 of the routing path as intermediate network elements.
[0068] The first relay network element obtaining subunit is configured to set the network elements at both ends of the routing path as relay network elements when there is no idle target wave channel in the local dimension of the intermediate network elements in the routing path.
[0069] The second dimension number increasing subunit is configured to increase the dimension number of the local dimension of the intermediate network elements in the routing path when there is an idle target wave channel in the local dimension of the network elements at both ends of the routing path.
[0070] In a third aspect, an electronic device is provided, comprising:
[0071] A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the resource configuration method according to any one of the preceding aspects when executing the program.
[0072] In a fourth aspect, a computer readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the resource configuration method according to any one of the preceding aspects.
[0073] Compared with the prior art, the embodiments of the present application have the following advantages:
[0074] In the embodiments of the present application, the services in the batch of services to be planned are sorted, and a target service in the batch of services is selected based on the sorting result, a routing path of the target service is determined, a target wave channel is configured based on the wave channel resource occupation information and the routing path, a target relay station is configured based on the optical signal-to-noise ratio of the routing path, and a resource configuration result of the target service is generated based on the routing path, the target wave channel, and the target relay station. The embodiments of the present application can determine the order of resource configuration by sorting the services in the batch of services to be planned and configuring resources in combination with the service routing path, and can realize reasonable configuration of wave channel resources. At the same time, the resource configuration result of the target service can be generated in combination with the routing path, the target wave channel, and the target relay station, which can realize automatic configuration of wave channel resources, and there is no need for manual specification of wave channel and relay station information. Therefore, the design efficiency of wavelength division services can be improved, the time for designing wavelength division services can be reduced, and the investment cost can be reduced.
[0075] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory and are not restrictive of the application. BRIEF DESCRIPTION OF DRAWINGS
[0076] Figure 1 A step flow chart of a resource configuration method provided for an embodiment of the application;
[0077] Figure 2 A step flow chart of a service ordering method provided for an embodiment of the application;
[0078] Figure 3 A step flow chart of a target channel determination method provided for an embodiment of the application;
[0079] Figure 4 A step flow chart of another target channel determination method provided for an embodiment of the application;
[0080] Figure 5 A step flow chart of a target relay station configuration method provided for an embodiment of the application;
[0081] Figure 6 A step flow chart of a relay station adding method provided for an embodiment of the application;
[0082] Figure 7 A step flow chart of another relay station adding method provided for an embodiment of the application;
[0083] Figure 8 A step flow chart of yet another relay station adding method provided for an embodiment of the application;
[0084] Figure 9 A schematic diagram of a resource configuration flow provided for an embodiment of the application;
[0085] Figure 10 A schematic diagram of a channel routing matching flow provided for an embodiment of the application;
[0086] Figure 11 A schematic diagram of an OSNR optimization process provided for an embodiment of the application;
[0087] Figure 12 A structural schematic diagram of a resource configuration apparatus provided for an embodiment of the application;
[0088] Figure 13 A structural schematic diagram of an electronic device provided for an embodiment of the application. DETAILED DESCRIPTION
[0089] In order to make the above objectives, features and advantages of the application more apparent, further detailed description of the application will be given below with reference to the accompanying drawings and specific embodiments.
[0090] The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the description of the embodiments of the present application and the appended claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
[0091] In a specific implementation, there are two switching modes for an all-optical wavelength division multiplexing network: optical circuit switching and optical packet switching, thereby forming two network forms of the all-optical wavelength division multiplexing network, i.e., optical circuit switching WDM (wavelength division multiplexing) network and packet switching WDM (wavelength division multiplexing) network.
[0092] The embodiments of the present application are a service planning sequence weighting algorithm when planning a batch of services in a wavelength division network, and an algorithm for automatically allocating channel resources and relay stations after service path calculation, which provides support for automatic planning of a large number of services in the future from the perspective of reasonable use of resources.
[0093] Referring to Figure 1 , a step flowchart of a resource configuration method provided by the embodiments of the present application is shown, as Figure 1 indicated, the resource configuration method can include: step 101, step 102, step 103 and step 104.
[0094] Step 101: sorting each service in the batch of services to be planned, and selecting a target service in the batch of services in turn based on the sorting result, and determining a routing path of the target service.
[0095] In the embodiments, the batch of services refers to a batch of wavelength division services to be planned.
[0096] The target service refers to a service for wavelength division planning selected from the batch of services according to the sorting result of the batch of services.
[0097] In a specific implementation, when planning and designing the wavelength division service, after obtaining the batch of services to be planned, the batch of services to be planned can be imported into an automatically configured device, which is a virtual device set in a background system, and a plurality of programs corresponding to functions such as service sorting, target channel screening, resource configuration, etc. are preloaded in the device.
[0098] After the batch of services to be planned is imported into the automatically configured device, each service in the batch of services to be planned can be sorted. In this example, the services in the batch of services can be sorted according to the weights corresponding to the service information of each service. For this implementation process, the following detailed description can be combined with Figure 2 .
[0099] Referring to Figure 2 , a step flow chart of a service sequencing method provided by an embodiment of the present application is shown, as Figure 2 shown, the service sequencing method can include: step 201, step 202 and step 203.
[0100] Step 201: obtaining service information of each service in batch services to be planned, the service information including at least one of the following: routing requirement, service distance, number of services involved by network elements at both ends of the service.
[0101] In this embodiment, after obtaining the batch services to be planned, the service information of each service in the batch services to be planned can be obtained, wherein the service information can include: routing requirement, service distance, number of services involved by network elements at both ends of the service, and the like.
[0102] In this example, the routing requirement can be whether to be double routing, routing grouping, must pass point, must not pass point, and the like.
[0103] The number of services involved by network elements at both ends of the service can include: number of services of service A end network element and number of services of service Z end network element.
[0104] The service distance refers to the distance between the service A end network element and the service Z end network element.
[0105] After obtaining the service information of each service in the batch services to be planned, step 202 is executed.
[0106] Step 202: for each service in the batch services, weighted sum of each item in the service information of the service is performed to obtain a first weight value of the service.
[0107] The first weight value refers to the weight value of each wave division service in the batch services to be planned, which can be used to indicate the order of service planning. In this example, when the service is planned, the higher the first weight value corresponding to the service planning order, the higher the priority planning order, and vice versa, the smaller the first weight value corresponding to the service planning order, the later the planning order.
[0108] After obtaining each service in the batch services to be planned, each item in the service information of the service can be weighted and summed to obtain the first weight value of each service in the batch services.
[0109] In the background system, the weighted values corresponding to each service information can be set in advance, as follows:
[0110] 1. Routing strategy mode K: double routing: 30000, service sharing routing: 20000, single routing: 10000;
[0111] 2. The mandatory point: 100*N, wherein N is the number of mandatory points on the service;
[0112] 3. The non-mandatory point: 100*M, wherein M is the number of non-mandatory points on the service;
[0113] 4. The number of services of the A-side network element: X*100, wherein X is the total number of services of the A-side network element and the service planned this time;
[0114] 5. The number of services of the Z-side network element: Y*100, wherein Y is the total number of services of the Z-side network element and the service planned this time;
[0115] 6. The distance weight value of the A-Z service: L units of km, 600-L / 100; L is the straight-line distance between A and Z.
[0116] The first weight value (Q) corresponding to the service planning sequence is defined as: Q=K+100*N+100*M+X*100+Y*100+600-L / 100.
[0117] After the weighted sum of each item in the service information of each service in the batch service is performed to obtain the first weight value of the service, step 203 is performed.
[0118] Step 203: The services in the batch service are sorted in descending order of the first weight value.
[0119] After the weighted sum of each item in the service information of each service in the batch service is performed to obtain the first weight value of the service, the services in the batch service can be sorted in descending order of the first weight value. For example, the batch service includes service A, service B and service C, wherein the first weight value corresponding to service A is 500, the first weight value corresponding to service B is 680, and the first weight value corresponding to service C is 780, and the sorting result of the services in the batch service is service C, service B, service A, and the like.
[0120] It can be understood that the above examples are only examples for better understanding the technical solutions of the embodiments of the present application, and are not the only limitation of the embodiments.
[0121] The service planning weight value set by the embodiments of the present application can be used to weight the services according to the grade of the service, the service routing requirement, the service span and other factors when the batch service planning is performed, and the priority allocation order of the overall resources before service planning can be realized.
[0122] After the sorting of the services in the batch of services to be planned is completed, the target service in the batch of services can be selected based on the sorting result, and the routing path of the target service is determined. In this embodiment, the service routing path calculation strategy can be: the shortest path, the least number of hops, the optimal OSNR (Optical Signal Noise Ratio), and the like. It can be understood that the routing path strategy algorithm is a strategy known in the prior art, and the specific implementation process of the routing path strategy algorithm will not be described here.
[0123] After the sorting of the services in the batch of services to be planned is completed, the target service in the batch of services can be selected based on the sorting result, and the routing path of the target service is determined. In this embodiment, the service routing path calculation strategy can be: the shortest path, the least number of hops, the optimal OSNR (Optical Signal Noise Ratio), and the like. It can be understood that the routing path strategy algorithm is a strategy known in the prior art, and the specific implementation process of the routing path strategy algorithm will not be described here.
[0124] Step 102: Configuring the target wave channel based on the wave channel resource occupation information and the routing path.
[0125] The wave channel refers to a frequency band occupied by the communication device when it is working. There are usually multiple wave channels in the frequency range of the communication device.
[0126] The wave channel resource occupation information refers to information such as the wave channel idle rate, the number of relay wave relay network elements of the wave channel in the service routing path, and the number of OMS (Optical Multiplex Section) section occupied by the wave channel in the service routing path.
[0127] After the sorting of the services in the batch of services to be planned is completed, the target service in the batch of services can be selected based on the sorting result, and the routing path of the target service is determined. In this embodiment, the service routing path calculation strategy can be: the shortest path, the least number of hops, the optimal OSNR (Optical Signal Noise Ratio), and the like. It can be understood that the routing path strategy algorithm is a strategy known in the prior art, and the specific implementation process of the routing path strategy algorithm will not be described here. Figure 3 The following will be described in detail.
[0128] Referring to Figure 3 , a step flowchart of a target wave channel determination method provided by an embodiment of the present application is shown, as Figure 3 indicated, the target wave channel determination method can include: step 301, step 302, and step 303.
[0129] Step 301: Obtaining the idle rate of a plurality of candidate wave channels.
[0130] In this embodiment, the candidate wave channel refers to the wave channel on the routing path corresponding to the target service.
[0131] The idle rate (i.e., the wave channel idle rate) refers to the idle rate of the candidate wave channel in the entire routing path.
[0132] After the routing path of the target service is determined, a plurality of candidate wave channels on the routing path of the target service can be acquired, and then the idle rates of the plurality of candidate wave channels can be acquired.
[0133] After the idle rates of the plurality of candidate wave channels are acquired, step 302 is performed, or step 303 is performed.
[0134] Step 302: If there is an idle wave channel with the first target value in the plurality of candidate wave channels, the idle wave channel is determined as the target wave channel.
[0135] Step 303: If there is no idle wave channel in the plurality of candidate wave channels, a target wave channel in the plurality of candidate wave channels is determined based on the idle rate and the wave channel resource occupation information of each candidate wave channel in the plurality of candidate wave channels.
[0136] The first target value refers to a threshold of a wave channel idle rate for screening an idle wave channel, and a specific value of the first target value can be determined according to service requirements, which is not limited in the embodiment.
[0137] After the idle rates of the plurality of candidate wave channels are acquired, the idle wave channels with an idle rate greater than the first target value can be screened from the plurality of candidate wave channels according to the idle rates of the plurality of candidate wave channels and the first target value, and the idle wave channels with an idle rate greater than the first target value are determined as the target wave channel.
[0138] If there is no idle wave channel in the plurality of candidate wave channels (that is, there is no wave channel with an idle rate greater than the first target value in the plurality of candidate wave channels), at this time, a target wave channel in the plurality of candidate wave channels can be determined based on the idle rate and the wave channel resource occupation information of each candidate wave channel in the plurality of candidate wave channels. Specifically, the second weight of each candidate wave channel can be calculated according to the relay wave relay network element number of the candidate wave channel in the routing path and the local dimension conflict value, and the target wave channel is determined from the plurality of candidate wave channels in combination with the second weight. For the implementation process, the method for determining a target wave channel can be combined with the method for determining a routing path of a target service. Figure 4 The following will be described in detail.
[0139] Referring to Figure 4 , a step flowchart of another target wave channel determination method provided by the embodiment is shown, as shown in Figure 4 , the target wave channel determination method can include steps 401, 402, and 403.
[0140] Step 401: For each candidate wave channel in the plurality of candidate wave channels, the relay wave relay network element number of the candidate wave channel in the routing path is determined based on the number of occupied optical multiplexing segments in the routing path and the number of network elements of the occupied optical multiplexing segments in the routing path.
[0141] In the embodiment, the channel resource occupation information of the candidate channel can include: a number of optical multiplexing sections occupied by the candidate channel in the routing path, a number of network elements of the optical multiplexing sections occupied by the candidate channel in the routing path, and a local dimension conflict value.
[0142] The local dimension conflict is 0 when all landing channels of the A / Z network element where the service lands are occupied by a certain channel, and 1 otherwise.
[0143] After obtaining the plurality of candidate channels on the routing path of the target service, for each candidate channel in the plurality of candidate channels, the number of relay wave relay network elements of the candidate channel in the routing path can be determined based on the number of optical multiplexing sections occupied by the candidate channel in the routing path and the number of network elements of the optical multiplexing sections occupied by the candidate channel in the routing path. Specifically, the number of relay wave relay network elements N = 2*(Y-M)Z, where M is the number of OMS section falls occupied by the candidate channel in the routing path, Z is the number of network elements of the OMS section falls occupied by the candidate channel in the routing path. Y is the total number of services opened by the Z end network element and the service planned this time.
[0144] After determining, for each candidate channel in the plurality of candidate channels, the number of relay wave relay network elements of the candidate channel in the routing path based on the number of optical multiplexing sections occupied by the candidate channel in the routing path and the number of network elements of the optical multiplexing sections occupied by the candidate channel in the routing path, step 402 is performed.
[0145] Step 402: Weighted sum of the idle rate, the local dimension conflict value and the number of relay wave relay network elements of the candidate channel to obtain a second weight value of the candidate channel.
[0146] The second weight value refers to the weight value of each candidate channel calculated for screening the target channel from the candidate channels.
[0147] After determining the number of relay wave relay network elements of each candidate channel in the routing path, the idle rate, the local dimension conflict value and the number of relay wave relay network elements of the candidate channel can be weighted and summed to obtain a second weight value of the candidate channel.
[0148] In a specific implementation, when selecting a channel, the weight value of each parameter on the network element has different degrees of influence, so different parameters need to be defined with weight values, and the optimal channel scheme in the current routing scheme is determined through weighted calculation of the weight values.
[0149] K: The idle rate is valued in percentage, 100%-100, and the weight value decreases by 1 for each percentage decrease.
[0150] N: A relay network element defines a weight value of: -100.
[0151] The second weight P of the candidate channel is K*T+2*(Y-M)Z*(-100), and the greater the second weight of the candidate channel is, the higher the priority of the selection is.
[0152] After the second weight of the candidate channel is obtained by weighting the idle rate, the local dimension conflict value and the number of relay nodes in the relay channel, step 403 is performed.
[0153] Step 403: determining a target channel in the plurality of candidate channels based on the second weight of each candidate channel.
[0154] After the second weight of each candidate channel in the plurality of candidate channels is obtained, a target channel in the plurality of candidate channels can be determined based on the second weight of each candidate channel.
[0155] The process of automatic configuration of channel resources can be as shown in Figure 10 After the candidate channel is selected, the channel idle rate of the candidate channel can be obtained based on the occupied OMS segment. If the candidate channel has 100% idle channels, and the local dimensions of the landing nodes have corresponding idle channels at the same time, the candidate channel is determined as the target channel, and the channel configuration is completed. If the candidate channel does not have 100% idle channels, the channel weight is calculated (i.e., the second weight of the candidate channel is calculated), and then the channel is selected according to the weight (i.e., the second weight).
[0156] In the embodiment of the application, the automatic configuration of channels in the wavelength division network is realized according to the channel resource occupation in the existing network, so that the efficiency of wavelength division service design can be improved, the time of wavelength division service design can be reduced, and the investment in wavelength division service can be effectively reduced.
[0157] Step 103: configuring a target relay station based on the optical signal-to-noise ratio of the routing path.
[0158] After the configuration of the channel resources is completed, the automatic optimization of the OSNR value of the service is completed according to the routing path of the service, so that the OSNR of the service meets the requirements of service opening.
[0159] Specifically, the target relay station can be configured according to the optical signal-to-noise ratio of the routing path of the target service. Specifically, the optical signal-to-noise ratio of the routing path can be obtained, and the target relay station can be selected from the relay nodes in the routing path according to the size relationship between the optical signal-to-noise ratio and the target value. The implementation process can be described in detail in combination with Figure 5 .
[0160] Referring to Figure 5 , a step flowchart of a target relay station configuration method provided by an embodiment of the application is shown, as Figure 5As shown, the target relay station configuration method can include steps 501, 502 and 503.
[0161] Step 501: Determine the optical signal-to-noise ratio of the routing path.
[0162] The optical signal-to-noise ratio (OSNR) refers to the ratio of the optical signal power and the noise power within an optical effective bandwidth of 0.1 nm.
[0163] After obtaining the routing path of the target service, the optical signal-to-noise ratio of the routing path of the target service can be obtained.
[0164] After determining the optical signal-to-noise ratio of the routing path of the target service, step 502 is performed, or step 503 is performed.
[0165] Step 502: If the optical signal-to-noise ratio of the routing path is greater than or equal to a target value, the relay network element in the routing path is used as the target relay station.
[0166] Step 503: If the optical signal-to-noise ratio of the routing path is less than the target value, a relay station is added in the routing path, and step 501 is re-executed.
[0167] The target value refers to an optical signal-to-noise ratio threshold value used for pre-setting to filter the target relay station. The specific value of the target value can be determined according to the service requirement, which is not limited in the embodiment.
[0168] After determining the optical signal-to-noise ratio of the routing path of the target service, the optical signal-to-noise ratio of the routing path can be compared with the target value.
[0169] If the optical signal-to-noise ratio of the routing path of the target service is greater than or equal to the target value, the relay network element in the routing path can be used as the target relay station.
[0170] If the optical signal-to-noise ratio of the routing path of the target service is less than the target value, a relay station can be added in the routing path, and step 501 is re-executed.
[0171] In the embodiment, the way of adding a relay station in the routing path can be that the relay station can be added according to the type of the relay network element in the routing path. The implementation process can be combined with the implementation process of the target relay station configuration method. Figure 6 which is described in detail as follows.
[0172] Referring to Figure 6 , a step flowchart of a relay station adding method provided by the embodiment is shown, as shown in the figure, the relay station adding method can include steps 601 and 602. Figure 6
[0173] Step 601: If the relay type of the relay network element in the routing path is a two-division relay, set the two-division relay network element in the routing path as a normal network element, delete the service channel of the target service in the normal network element, and add a relay network element in the routing path by using a three-division method.
[0174] In the embodiment, when the optical signal-to-noise ratio of the routing path of the target service is less than a target value, the relay type of the relay network element in the routing path can be obtained.
[0175] If the relay type of the relay network element in the routing path is a two-division relay, the two-division relay network element in the routing path can be set as a normal network element, the service channel of the target service in the normal network element is deleted, and a relay network element is added in the routing path by using a three-division method. The implementation process of adding a relay network element in the routing path by using a three-division method can be combined with the implementation process of adding a relay network element in the routing path by using a three-division method in the embodiment of the relay station addition method. Figure 8 The following is a detailed description.
[0176] Referring to Figure 8 , a step flowchart of another relay station addition method provided by the embodiment is shown, as Figure 8 shown, the relay station addition method can include steps 801, 802, and 803.
[0177] Step 801: Set the network elements at 1 / 3 and 2 / 3 of the routing path as intermediate network elements.
[0178] In the embodiment, after the service channel of the target service in the normal network element is deleted, the network elements at 1 / 3 and 2 / 3 of the routing path of the target service can be set as intermediate network elements.
[0179] Step 802: If the local dimension of the intermediate network element in the routing path does not exist an idle target channel, set the two-end network elements of the routing path as relay network elements.
[0180] Step 803: If the local dimension of the two-end network elements of the routing path exists an idle target channel, increase the dimension number of the local dimension of the intermediate network element of the routing path.
[0181] If the local dimension of the intermediate network element in the routing path does not have the idle target wave channel, at this time, the two end network elements of the routing path can be set as the relay network elements. If the local dimension of the two end network elements of the routing path has the idle target wave channel, the dimension number of the local dimension of the intermediate network element of the routing path is increased. Specifically, two network elements at 1 / 3 and 2 / 3 can be selected as the relay network elements, if the local dimension of the intermediate network element has no idle wave channel of the current service channel, the two end network elements are selected as the relay network elements in turn according to the left-right order. If the local dimension of the two end network elements has the idle target wave channel, the intermediate network element can be increased by the corresponding local dimension dimension number.
[0182] Step 602: If the relay type is not the binary relay, the binary method is used to increase the relay network element in the routing path.
[0183] If the relay type of the relay network element in the routing path is not the binary relay, the binary method can be used to increase the relay network element in the routing path. The implementation process of increasing the relay network element by using the binary method can be combined with the implementation process of increasing the relay network element by using the binary method in the method for increasing the relay station provided in the embodiment of the application. Figure 7 The implementation process of increasing the relay network element by using the binary method is described in detail as follows.
[0184] Referring to Figure 7 , a step flow chart of another method for increasing the relay station provided in the embodiment of the application is shown, as shown in Figure 7 , the method for increasing the relay station can include steps 701 and 702.
[0185] Step 701: If the local dimension of the intermediate network element in the routing path does not have the idle target wave channel, the two end network elements of the routing path are set as the relay network elements.
[0186] Step 702: If the local dimension of the two end network elements of the routing path has the idle target wave channel, the dimension number of the local dimension of the intermediate network element of the routing path is increased.
[0187] In the embodiment, when the binary method is used to increase the relay network element in the routing path, if the local dimension of the intermediate network element in the routing path of the target service has no idle target wave channel, the two end network elements of the routing path are set as the relay network elements. If the local dimension of the two end network elements of the routing path has the idle target wave channel, the dimension number of the local dimension of the intermediate network element of the routing path is increased. Specifically, the intermediate network element can be selected, if the local dimension of the intermediate network element has no idle wave channel of the current service channel, the two end network elements are selected as the relay network elements in turn according to the left-right order. If the local dimension of the two end network elements of the service has the idle wave channel, the intermediate network element is increased by the corresponding local dimension dimension number.
[0188] The optimization process of the OSNR can refer to the description of the method for increasing the relay station provided in the embodiment of the application. Figure 11The detailed description is made as follows.
[0189] Referring to Figure 11 , a schematic diagram of an OSNR optimization process provided by an embodiment of the present application is shown. As shown in Figure 11 , first, OSNR calculation can be performed. If the calculated OSNR meets the standard (i.e., the OSNR of the routing path is greater than or equal to the target value), the configuration of the current wavelength service channel is completed (i.e., the relay network element in the routing path is taken as the target relay station). If the calculated OSNR does not meet the standard (i.e., the OSNR of the routing path is less than the target value), an OSNR relay is configured. Specifically, when the relay type of the relay network element is a two-way relay, the two-way relay network element in the service channel can be taken as a normal network element, and the service channel of the two-way network element is deleted, and the service channel before the two-way network element is restored. Then, a three-way relay is performed on the restored service channel. When the relay type of the relay network element is not a two-way relay, a two-way relay is directly performed on the current service channel.
[0190] Step 104: generating a resource configuration result of the target service based on the routing path, the target wave channel and the target relay station.
[0191] After the target wave channel and the target relay station are configured, a resource configuration result of the target service can be generated based on the routing path, the target wave channel and the target relay station, i.e., the configuration of the wavelength service is performed according to the routing path, the target wave channel and the target relay station of the target service, so as to obtain the resource configuration result of the target service.
[0192] The above-mentioned wavelength service design method provided by the embodiments of the present application can be described as follows in combination with the flow chart of Figure 9 .
[0193] Referring to Figure 9 , a schematic diagram of a resource configuration process provided by an embodiment of the present application is shown. As shown in Figure 9 , when the wavelength service design is performed, first, the imported batch of services to be planned can be sorted according to the planning level, then, routing calculation is performed, and when there is no wave channel resource, wave channel matching (i.e., configuration of the target wave channel) can be performed. Finally, OSNR optimization is performed, and thus the resource configuration process of the wavelength service is completed. The detailed description process can be referred to the description in the above-mentioned embodiment part, which will not be described herein again.
[0194] The resource configuration method provided in the embodiments of the present application can sort each service in the batch services to be planned, select a target service in the batch services in sequence based on the sorting result, determine a routing path of the target service, configure a target wave channel based on wave channel resource occupation information and the routing path, configure a target relay station based on an optical signal-to-noise ratio of the routing path, and generate a resource configuration result of the target service based on the routing path, the target wave channel and the target relay station. The embodiments of the present application can determine the sequence of resource configuration by sorting each service in the batch services to be planned and combining the resource configuration with the service routing path, so that the wave channel resources can be reasonably configured. Meanwhile, the resource configuration result of the target service can be generated by combining the routing path, the target wave channel and the target relay station, so that the wave channel resources can be automatically configured without manually specifying the wave channel and relay station information. The scheme is designed repeatedly in the planning process, so that the design efficiency of the wavelength division service can be improved, the time for designing the wavelength division service can be reduced, and the investment cost can be reduced.
[0195] With reference to Figure 12 , a structure schematic diagram of a resource configuration apparatus provided in the embodiments of the present application is shown, as shown in Figure 12 , the resource configuration apparatus 1200 can include the following modules:
[0196] The service sorting module 1210 is configured to sort each service in the batch services to be planned, and select a target service in the batch services in sequence based on the sorting result, and determine a routing path of the target service.
[0197] The target wave channel configuration module 1220 is configured to configure a target wave channel based on wave channel resource occupation information and the routing path.
[0198] The target relay station configuration module 1230 is configured to configure a target relay station based on an optical signal-to-noise ratio of the routing path.
[0199] The resource configuration result generation module 1240 is configured to generate a resource configuration result of the target service based on the routing path, the target wave channel and the target relay station.
[0200] Optionally, the service sorting module 1210 includes:
[0201] The service information acquisition unit is configured to acquire service information of each service in the batch services to be planned, and the service information includes at least one of the following: routing requirement, service distance, and the number of services related to network elements at both ends of the service.
[0202] The first weight acquisition unit is configured to sum each item in the service information of each service in the batch services to obtain a first weight of the service.
[0203] The service sorting unit is configured to sort the services in the batch services in descending order of the first weight values.
[0204] Optionally, the target channel configuration module 1220 includes:
[0205] The idle rate obtaining unit is configured to obtain idle rates of the multiple candidate channels.
[0206] The first channel determining unit is configured to, when there is an idle channel with a first target value of the idle rate in the multiple candidate channels, determine the idle channel as the target channel.
[0207] The second channel determining unit is configured to, when there is no idle channel in the multiple candidate channels, determine a target channel in the multiple candidate channels based on the idle rate and the channel resource occupation information of each candidate channel in the multiple candidate channels.
[0208] Optionally, the channel resource occupation information includes: a number of optical multiplexing sections occupied in the routing path, a number of network elements of the optical multiplexing sections occupied in the routing path, and a local dimension conflict value.
[0209] The second channel determining unit includes:
[0210] The relay network element number determining subunit is configured to, for each candidate channel in the multiple candidate channels, determine a relay wave relay network element number of the candidate channel in the routing path based on a number of optical multiplexing sections occupied in the routing path and a number of network elements of the optical multiplexing sections occupied in the routing path.
[0211] The second weight obtaining subunit is configured to weight and sum the idle rate, the local dimension conflict value, and the relay wave relay network element number of the candidate channel to obtain a second weight of the candidate channel.
[0212] The target channel determining subunit is configured to determine a target channel in the multiple candidate channels based on the second weights of the candidate channels.
[0213] Optionally, the target relay station configuration module 1230 includes:
[0214] The optical signal-to-noise ratio determining unit is configured to determine an optical signal-to-noise ratio of the routing path.
[0215] The target relay station obtaining unit is configured to, when the optical signal-to-noise ratio of the routing path is greater than or equal to a target value, determine a relay network element in the routing path as a target relay station.
[0216] The repeating unit is configured to increase relay stations in the routing path and re-perform the optical signal-to-noise ratio determination unit until a target relay station is configured when the optical signal-to-noise ratio of the routing path is less than the target value.
[0217] Optionally, the repeating unit comprises:
[0218] The first relay network element adding sub-unit is configured to set a two-way relay network element in the routing path as a normal network element, delete a service channel of the target service in the normal network element, and add relay network elements in the routing path by using a three-way method when the relay type is a two-way relay.
[0219] The second relay network element adding sub-unit is configured to add relay network elements in the routing path by using a two-way method when the relay type is not a two-way relay.
[0220] Optionally, the second relay network element adding sub-unit comprises:
[0221] The third relay network element adding sub-unit is configured to set both end network elements of the routing path as relay network elements when there is no idle target wave channel in a local dimension of an intermediate network element in the routing path.
[0222] The first dimension number increasing sub-unit is configured to increase a dimension number of a local dimension of an intermediate network element of the routing path when there is an idle target wave channel in a local dimension of both end network elements of the routing path.
[0223] Optionally, the first relay network element adding sub-unit comprises:
[0224] The intermediate network element obtaining sub-unit is configured to take network elements at 1 / 3 and 2 / 3 of the routing path as intermediate network elements.
[0225] The first relay network element obtaining sub-unit is configured to set both end network elements of the routing path as relay network elements when there is no idle target wave channel in a local dimension of an intermediate network element in the routing path.
[0226] The second dimension number increasing sub-unit is configured to increase a dimension number of a local dimension of an intermediate network element of the routing path when there is an idle target wave channel in a local dimension of both end network elements of the routing path.
[0227] The resource configuration device provided in the embodiments of the present application sorts each service in the batch services to be planned, selects target services in the batch services in turn based on the sorting result, determines the routing path of the target services, configures target wave channels based on the wave channel resource occupation information and the routing path, configures target relay stations based on the optical signal-to-noise ratio of the routing path, and generates the resource configuration result of the target services based on the routing path, the target wave channels and the target relay stations. The embodiments of the present application can determine the sequence of resource configuration by sorting each service in the batch services to be planned and combining the resource configuration with the service routing path, so that the reasonable configuration of wave channel resources is realized. Meanwhile, the resource configuration result of the target services is generated by combining the routing path, the target wave channels and the target relay stations, so that the automatic configuration of wave channel resources is realized, the wave channel and relay station information does not need to be manually specified, the scheme design is repeated multiple times in the planning process, and therefore, the design efficiency of the wavelength division service is improved, the time for designing the wavelength division service is reduced, and the investment cost is reduced.
[0228] The embodiments of the present application also provide an electronic device, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, and the computer program is executed by the processor to implement the resource configuration method.
[0229] Figure 13 The structure schematic diagram of an electronic device 1300 is shown. As shown in the figure, the electronic device 1300 comprises a central processing unit (CPU) 1301, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 1302 or computer program instructions loaded from a storage unit 1308 to a random access memory (RAM) 1303. In the RAM 1303, various programs and data required for the operation of the electronic device 1300 can also be stored. The CPU 1301, the ROM 1302 and the RAM 1303 are connected to each other through a bus 1304. An input / output (I / O) interface 1305 is also connected to the bus 1304. Figure 13
[0230] Various components in the electronic device 1300 are connected to the I / O interface 1305, including an input unit 1306, such as a keyboard, a mouse, a microphone, etc., an output unit 1307, such as various types of displays, a loudspeaker, etc., a storage unit 1308, such as a magnetic disk, an optical disk, etc., and a communication unit 1309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1309 allows the electronic device 1300 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0231] The various processes and processes described above can be performed by processing unit 1301. For example, a method of any of the above-described embodiments can be implemented as a computer software program that is tangibly embodied in a computer-readable medium, such as storage unit 1308. In some embodiments, portions of the computer program, or all of the computer program, can be transferred from the ROM 1302 and / or the communication unit 1309 to the RAM 1303 and / or the electronic device 1300 for execution by the CPU 1301. When the computer program is loaded into the RAM 1303 and executed by the CPU 1301, as described above, one or more acts of any of the above-described methods can be performed.
[0232] Additionally, the embodiments of the present application further provide a computer readable storage medium, having stored thereon a computer program, which, when executed by a processor, implements the above-mentioned resource configuration method.
[0233] Each of the embodiments in the present specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts of each embodiment can be referred to each other.
[0234] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, device or computer program product. Therefore, the embodiments of the present application can be in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present application can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0235] The embodiments of the present application are described with reference to flowcharts and / or block diagrams according to the method, terminal (system) and computer program product of the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing terminal to produce a machine, so that the instructions executed by the computer or other programmable data processing terminal produce a device that implements the functions specified in the flowchart and / or block diagram. Figure 1 The functions specified in one flow or multiple flows and / or blocks Figure 1 The device that implements the functions specified in one flow or multiple flows and / or blocks.
[0236] These computer program instructions can also be stored in a computer-readable memory that can guide the computer or other programmable data processing terminal to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including instruction devices that implement the functions specified in the flowchart and / or block diagram. Figure 1 The functions specified in one flow or multiple flows and / or blocksFigure 1 the function specified in the one or more blocks.
[0237] These computer program instructions can also be loaded into computer or other programmable data processing terminals, so that a series of operational steps are performed on the computer or other programmable terminals to generate a computer-implemented process, so that the instructions executed on the computer or other programmable terminals provide a process for implementing the flow Figure 1 the flow or flows and / or blocks Figure 1 the steps of the function specified in the one or more blocks.
[0238] Although the preferred embodiments of the application have been described, those skilled in the art will be able to make additional changes and modifications to these embodiments once they have the basic inventive concept. Therefore, the appended claims are intended to cover all changes and modifications falling within the scope of the embodiments of the application.
[0239] Finally, it should be noted that, in the present text, relational terms such as first and second and the like can only be used to distinguish one entity or operation from another entity or operation, without necessarily implying any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising", or any other variant thereof are intended to cover non-exclusive inclusions, so that a process, method, article, or terminal that includes a list of elements not only includes those elements, but also includes other elements not explicitly listed, or other elements inherent to such a process, method, article, or terminal. Without more limitations, an element defined by the phrase "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or terminal that includes the said element.
[0240] The above provides a resource configuration method, a resource configuration device, an electronic device and a computer readable storage medium, and the principle and implementation manner of the application are described by applying specific examples. The above description of the embodiments is only used to help understand the method and its core idea of the application; meanwhile, for those skilled in the art, according to the idea of the application, the specific implementation manner and application range will be changed, and the above description of the embodiments should not be understood as a limitation of the application.
Claims
1. A resource configuration method, characterized by, The method comprises: sequencing each service in the batch service to be planned, and selecting target services in the batch service in sequence based on the sequencing result to determine a routing path of the target service; configuring a target wave channel based on the wave channel resource occupation information and the routing path; configuring a target relay station based on the optical signal-to-noise ratio of the routing path; generating a resource configuration result of the target service based on the routing path, the target wave channel and the target relay station; The method comprises: determining the optical signal-to-noise ratio of the routing path; if the optical signal-to-noise ratio of the routing path is greater than or equal to a target value, taking a relay network element in the routing path as a target relay station; if the optical signal-to-noise ratio of the routing path is less than the target value, adding a relay station in the routing path and re-executing the step of determining the optical signal-to-noise ratio of the routing path until a target relay station is configured, wherein the relay station is added according to the type of the relay network element in the routing path.
2. The method of claim 1, wherein, The method comprises: obtaining service information of each service in the batch service to be planned, the service information comprising at least one of the following: routing requirements, service distance, and the number of services involved by network elements at both ends of the service; for each service in the batch service, weighting and summing each item in the service information of the service to obtain a first weight value of the service; sequencing each service in the batch service in descending order of the first weight value.
3. The method of claim 1, wherein, The method comprises: obtaining the idle rate of a plurality of candidate wave channels; if there is an idle wave channel with an idle rate of a first target value in the plurality of candidate wave channels, determining the idle wave channel as a target wave channel; if there is no idle wave channel in the plurality of candidate wave channels, determining a target wave channel in the plurality of candidate wave channels based on the idle rate and wave channel resource occupation information of each candidate wave channel in the plurality of candidate wave channels.
4. The method of claim 3, wherein, The wave channel resource occupation information comprises: the number of optical multiplexing segments occupied in the routing path, the number of network elements of the optical multiplexing segments occupied in the routing path, and a local dimension conflict value; The method comprises: for each candidate wave channel in the plurality of candidate wave channels, determining the number of relay wave network elements in the routing path of the candidate wave channel based on the number of optical multiplexing segments occupied in the routing path and the number of network elements of the optical multiplexing segments occupied in the routing path; weighting and summing the idle rate, the local dimension conflict value and the number of relay wave network elements of the candidate wave channel to obtain a second weight value of the candidate wave channel; determining a target wave channel in the plurality of candidate wave channels based on the second weight value of each candidate wave channel.
5. The method of claim 1, wherein, The method comprises: If the relay type of the relay network element in the routing path is a two-division relay, setting the two-division relay network element in the routing path as a normal network element, deleting the service channel of the target service in the normal network element, and adding a relay network element in the routing path by using a three-division method; If the relay type is not a two-division relay, adding a relay network element in the routing path by using a two-division method.
6. The method of claim 5, wherein, The adding a relay network element in the routing path by using a two-division method comprises: If the local dimension of the intermediate network element in the routing path does not have a free target wave channel, setting the two-end network elements of the routing path as relay network elements; If the local dimension of the two-end network elements of the routing path has a free target wave channel, increasing the dimension number of the local dimension of the intermediate network element of the routing path.
7. The method of claim 5, wherein, The adding a relay network element in the routing path by using a three-division method comprises: Taking the network elements at 1 / 3 and 2 / 3 of the routing path as intermediate network elements; If the local dimension of the intermediate network element in the routing path does not have a free target wave channel, setting the two-end network elements of the routing path as relay network elements; If the local dimension of the two-end network elements of the routing path has a free target wave channel, increasing the dimension number of the local dimension of the intermediate network element of the routing path.
8. A resource configuration apparatus, characterized by comprising: The apparatus comprises: a service ordering module configured to order each service in a batch of services to be planned, and select a target service in the batch of services in sequence based on an ordering result, and determine a routing path of the target service; a target wave channel configuration module configured to configure a target wave channel based on wave channel resource occupation information and the routing path; a target relay station configuration module configured to configure a target relay station based on an optical signal-to-noise ratio of the routing path; a resource configuration result generation module configured to generate a resource configuration result of the target service based on the routing path, the target wave channel, and the target relay station; The target relay station configuration module comprises: an optical signal-to-noise ratio determination unit configured to determine an optical signal-to-noise ratio of the routing path; a target relay station acquisition unit configured to, when the optical signal-to-noise ratio of the routing path is greater than or equal to a target value, take a relay network element in the routing path as a target relay station; a repeated execution unit configured to, when the optical signal-to-noise ratio of the routing path is less than the target value, add a relay station in the routing path, and re-execute the optical signal-to-noise ratio determination unit until a target relay station is configured, wherein the relay station is added according to the type of the relay network element in the routing path.
9. An electronic device, comprising: comprise: a processor, a memory, and a computer program stored on the memory and executable on the processor, and the processor implements the resource configuration method in any one of claims 1 to 7 when executing the program.
10. A computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the resource configuration method in any one of claims 1 to 7.
Citation Information
Patent Citations
Routing method and device in wavelength division network
CN102255801A
Optical transport network wavelength division system channel automatic arrangement method and device
CN108833165A
Service channel automatic configuration method and device, electronic equipment and storage medium
CN115882998A