Method for determining a link relay site, electronic device, medium and program product

By splitting a long-distance optical transmission link into two sub-links and determining performance requirements step by step, the problem of high computational load and low efficiency in existing technologies is solved, and efficient and reliable relay site determination is achieved.

CN123163731APending Publication Date: 2026-11-24ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611529648.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-29
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In the planning of long-distance optical transmission links, the configuration of relay sites in existing technologies involves a large amount of computation, is time-consuming, has low computational efficiency, and the greedy strategy leads to relay redundancy and poor global performance.

Method used

By selecting a relay station from among the stations of the link to be divided, the link is split into two sub-links. Each sub-link is then judged to see if it meets the performance requirements. The splitting of sub-links that meet the performance requirements is stopped, while the splitting of sub-links that do not meet the requirements continues until all sub-links meet the performance requirements, and then the relay station is determined.

Benefits of technology

It significantly reduces computational load and time, improves the efficiency of relay site determination, and ensures that sub-link performance meets standards and relay site reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123163731A_ABST
    Figure CN123163731A_ABST
Patent Text Reader

Abstract

This disclosure provides a method, electronic device, medium, and program product for determining link relay stations. The method for determining link relay stations according to embodiments of this disclosure includes: obtaining a link to be divided; the number of stations in the link to be divided is greater than two; selecting a relay station from the stations in the link to be divided to obtain two sub-links; one end station of each of the two sub-links is a relay station, and the other end stations are the two ends of the link to be divided; determining whether each sub-link in the two sub-links meets performance requirements; if there is a sub-link in the two sub-links that does not meet performance requirements, designating the sub-link that does not meet performance requirements as a new link to be divided; if all sub-links in the two sub-links meet performance requirements, obtaining all selected relay stations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of communication network technology, and in particular to a method for determining link relay sites, electronic devices, media, and program products. Background Technology

[0002] With the continuous development of communication networks, the deployment of long-distance optical transmission links is increasing.

[0003] In the planning of long-distance optical transmission links, the configuration of relay sites is crucial to ensuring signal transmission quality. A linear traversal approach is typically used to determine and configure relay sites, but this method requires multiple calculations to ensure the link performance meets requirements, resulting in high computational load, long processing time, and low efficiency. Summary of the Invention

[0004] This disclosure provides a method for determining link relay sites, electronic devices, media, and program products.

[0005] In a first aspect, embodiments of this disclosure provide a method for determining relay stations in a link, comprising: obtaining a link to be divided; the number of stations in the link to be divided is greater than 2; selecting a relay station from the stations in the link to be divided to obtain two sub-links; one end of each of the two sub-links is a relay station, and the other end is the two ends of the link to be divided; determining whether each sub-link in the two sub-links meets the performance requirements; if there is a sub-link in the two sub-links that does not meet the performance requirements, the sub-link that does not meet the performance requirements is taken as a new link to be divided; if each sub-link in the two sub-links meets the performance requirements, all selected relay stations are obtained.

[0006] In a second aspect, embodiments of this disclosure provide an electronic device, including 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 method for determining link relay stations in the first aspect.

[0007] Thirdly, embodiments of this disclosure provide a computer-readable medium storing a computer program that, when executed by a processor, implements the method for determining link relay stations according to the first aspect.

[0008] Fourthly, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the method for determining link relay stations in the first aspect.

[0009] The link relay site determination method, electronic device, medium, and program product of this disclosure each select a relay site from the sites of the link to be divided to split the link into two sub-links and determine whether the two sub-links meet the performance requirements. For sub-links that meet the performance requirements, the subsequent splitting and performance calculation of the sub-link is stopped. Only sub-links that do not meet the performance requirements are taken as new links to be divided and split again until all the sub-links obtained meet the performance requirements and all selected relay sites are obtained. This significantly reduces invalid calculations, reduces the amount of calculation, shortens the calculation time, and improves the efficiency of relay site determination while ensuring that the performance of each sub-link meets the standards and the relay sites are reliably determined. Attached Figure Description

[0010] In the accompanying drawings of the embodiments disclosed herein: Figure 1 A flowchart illustrating a method for determining a link relay station as provided in an embodiment of this disclosure.

[0011] Figure 2 A flowchart illustrating another method for determining a link relay station provided in an embodiment of this disclosure.

[0012] Figure 3 A flowchart illustrating yet another method for determining a link relay station provided in an embodiment of this disclosure.

[0013] Figure 4 This is a structural diagram of a network design and planning system in an application scenario of a method for determining link relay stations provided in this embodiment of the disclosure; Figure 5 A flowchart illustrating network service planning in an application scenario of a method for determining link relay sites provided in this embodiment of the disclosure; Figure 6 This is a block diagram of an electronic device provided in an embodiment of the present disclosure. Detailed Implementation

[0014] To enable those skilled in the art to better understand the technical solutions of this disclosure, the following detailed description of the method for determining link relay sites, electronic devices, media, and program products provided in the embodiments of this disclosure is provided in conjunction with the accompanying drawings.

[0015] 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.

[0016] The accompanying drawings are provided to further illustrate 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. These and other features and advantages will become more apparent to those skilled in the art from the description of detailed embodiments with reference to the accompanying drawings.

[0017] Unless otherwise specified, each embodiment and feature of this disclosure may be used individually or in combination with other embodiments and features thereof.

[0018] Those skilled in the art will understand that various changes in form and detail may be made to the embodiments of this disclosure without departing from the scope of this disclosure as set forth by the appended claims.

[0019] 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.

[0020] 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.

[0021] This disclosure is not limited to the embodiments shown in the accompanying drawings, but includes modifications to the configuration based on the manufacturing process. Therefore, the areas illustrated in the drawings are schematic, and the shapes of the areas shown illustrate specific shapes of the areas of an element, but are not intended to be limiting.

[0022] With the development of the communications industry and the internet, ultra-long-distance transmission has become the norm. To ensure link performance, relay configuration has become an indispensable part of long and ultra-long-distance link transmission. Especially in the last two years, with the rapid development of artificial intelligence technology, intelligent computing centers have become the core infrastructure supporting critical tasks such as large model training. The computing power requirements of intelligent computing centers are constantly increasing. Different intelligent computing centers may be distributed in different regions, and the demand for cross-regional data transmission is constantly growing (typically, data transmission between eastern and western regions). Data transmission is mainly completed through optical links, making cross-domain long-distance optical link transmission the norm. Efficient and accurate relay configuration strategies have become the cornerstone of building high-performance intelligent computing optical networks.

[0023] In some related technologies, relay configuration uses a linear "point-to-point judgment" method. Taking a long link consisting of five stations A, B, C, D, and E arranged in sequence, where the performance value of this long link does not meet the transmission requirements and relay configuration is needed as an example, the "point-to-point judgment" method is as follows: First, determine if the performance value of the link from station A to station B meets the transmission requirements. If it does, then determine if the performance value of the link formed by stations A, B, and C in sequence meets the transmission requirements. If it does, then determine if the performance value of the link formed by stations A, B, C, and D in sequence meets the transmission requirements. If it does not, then station C is designated as the relay station and configured. Next, determine if the performance value of the link from station C to station D meets the transmission requirements. If it does, then determine if the performance value of the link formed by stations C, D, and E in sequence meets the transmission requirements. If it does, then no further relay station configuration is needed.

[0024] The "point-to-point judgment" method uses a sequential traversal mechanism, requiring each step to exhaustively enumerate all remaining stations for link estimation, resulting in a time complexity as high as O(N²). This is extremely time-consuming in large-scale scenarios, leading to low computational efficiency. Furthermore, the greedy strategy of "stopping upon encountering an obstacle" is too conservative and lacks global coordination, resulting in short single-hop distances and potential relay redundancy, thus causing poor global performance and relay redundancy.

[0025] The link relay site determination method, electronic device, medium, and program product of this disclosure select a relay site from the sites of the link to be divided each time to split the link to be divided into two sub-links and determine whether the two sub-links meet the performance requirements. For the sub-links that meet the performance requirements, the subsequent splitting and performance calculation of the sub-links are stopped. Only the sub-links that do not meet the performance requirements are taken as new links to be divided and split again until all the sub-links obtained meet the performance requirements and all selected relay sites are obtained. In this way, while ensuring that the performance of each sub-link meets the standards and the relay sites are reliably determined, invalid calculations are greatly reduced, the amount of calculation is reduced, the calculation time is shortened, and the efficiency of relay site determination is improved.

[0026] Firstly, referring to Figure 1 This disclosure provides a method for determining a link relay station, including: S101, Obtain the link to be divided.

[0027] Among them, the number of sites whose links need to be divided is greater than 2.

[0028] S102, select a relay station from the stations of the links to be divided to obtain two sub-links.

[0029] In this system, one end of each of the two sub-links is a relay station, and the other end is the two ends of the link to be divided.

[0030] S103, determine whether each sub-link in the two sub-links meets the performance requirements.

[0031] S104, if there is a sub-link that does not meet the performance requirements among the two sub-links, the sub-link that does not meet the performance requirements will be designated as a new link to be divided.

[0032] S105, if each sub-link in the two sub-links meets the performance requirements, obtain all selected relay sites.

[0033] In S101, the first link to be divided refers to the initial long link, for example, the initial long link is link P, which includes n stations, namely stations N1, N2, ..., Nn, where n is an integer.

[0034] Through steps S101 to S105, at least one relay station can be identified from the n stations included in link P and deployed. The following is an illustrative explanation of each step, taking the link to be divided as link P as an example.

[0035] In S101, if a link includes only two stations and there is no third station between them, then the link formed by these two stations does not have any stations that can be deployed as relay stations. Therefore, the number of stations included in the link to be divided is greater than 2.

[0036] In S102, the method for selecting a relay station from among the stations of the link to be divided can include random selection. After selection, the relay station will divide the link to be divided into two sub-links. The relay station serves as the common endpoint of these two sub-links, and the other endpoints of these two sub-links are the two endpoints of the link to be divided, respectively. That is, of the two sub-links, one sub-link is the link from one end of the link to be divided to the relay station, and the other sub-link is the link from the relay station to the other end of the link to be divided. For example, if the link to be divided is link P, and a station is randomly selected from n stations (taking station N5 as an example) as the relay station, then the two resulting sub-links are the link between station N1 and station N5 (denoted as sub-link P1) and the link between station N5 and station Nn (denoted as sub-link P2).

[0037] Next, in S103, it is determined whether sub-link P1 and sub-link P2 meet the performance requirements, and the results include the following four cases: Scenario 1: Sub-link P1 meets the performance requirements, while sub-link P2 does not. Scenario 2: Sub-link P1 does not meet the performance requirements, while sub-link P2 meets the performance requirements; Scenario 3: Sub-link P1 does not meet the performance requirements, and neither does sub-link P2; Scenario 4: Sub-link P1 meets the performance requirements, and sub-link P2 also meets the performance requirements.

[0038] In S104, if one of the two sub-links fails to meet the performance requirements, it could be any of Situations 1 through 3. In such cases, the sub-link that fails to meet the performance requirements needs to be designated as a new link to be assigned. In Situation 1, the sub-link that fails to meet the performance requirements is sub-link P2, so sub-link P2 needs to be designated as a new link to be assigned. In Situation 2, the sub-link that fails to meet the performance requirements is sub-link P1, so sub-link P1 needs to be designated as a new link to be assigned. In Situation 3, the sub-links that fail to meet the performance requirements are both sub-links P1 and P2, so sub-links P1 and P2 need to be designated as new links to be assigned, respectively.

[0039] For sublinks that meet the performance requirements, such as sublink P1 in Case 1, it is not necessary to search for a relay station in sublink P1. Therefore, sublink P1 can be one of the final sublinks. For new links to be assigned, such as sublink P2 in Case 1, at least one relay station needs to be determined in sublink P2 according to S102 to S105. Specifically, according to S102, a relay station is first selected in sublink P2, resulting in two sublinks. Taking station N9 as the selected relay station as an example, the two sublinks are the link between station N5 and station N9 (denoted as sublink P3) and the link between station N9 and station Nn (denoted as sublink P4). According to S103, it is determined whether sublink P3 and sublink P4 meet the performance requirements. Then, based on the determination result, it is determined whether it belongs to case S104 or case S105, and appropriate processing is performed.

[0040] In S105, case four occurs when all sub-links in the two sub-links meet the performance requirements. If it is case four, sub-links P1 and P2 are the final sub-links, and station N5 is all the selected relay stations.

[0041] For example, in the example of Case 1 above, if both sub-link P3 and sub-link P4 meet the performance requirements, then the final sub-links are sub-link P1, sub-link P3, and sub-link P4, and all selected relay stations are station N5 and station N9.

[0042] The link relay site determination method of this disclosure involves selecting a relay site from the links to be divided each time, splitting the link into two sub-links, and only performing performance requirement judgments on the two sub-links obtained from the current split. When one of the sub-links meets the performance requirements, it can be determined that no further relay site needs to be deployed in that sub-link, and no further performance calculations are needed for any links included in that sub-link, thereby avoiding repeated splitting and invalid calculations for links that have already met the requirements. Only when there is a sub-link that does not meet the performance requirements is that sub-link treated as a new link to be divided for the next split, until all sub-links meet the performance requirements and all selected relay sites are obtained. Thus, this disclosure embodiment, while ensuring that all sub-links ultimately meet the transmission performance requirements and reliably determine the location and number of relay sites, significantly reduces the amount of computation and computation time in the process of determining relay sites, thereby improving computational efficiency.

[0043] In some embodiments, S102 includes: determining relay stations among the stations of the links to be divided according to preset information of the links to be divided and in accordance with a preset ratio, so that the preset information of the two sub-links obtained satisfies the preset ratio. The preset information is parameter information used to describe the spatial distribution relationship or resource allocation relationship of each station in the link.

[0044] Understandably, in S102, by determining relay stations in each station according to a preset ratio based on the preset information of the link to be divided, the preset information of the two sub-links obtained by division meets the preset ratio. Thus, it no longer relies on fixed equal division or experience-based division, but can adaptively divide based on the parameter information used to describe the spatial distribution relationship or resource allocation relationship of each station in the link. This allows the two sub-links to achieve the expected ratio in spatial layout or resource allocation, meeting the differentiated division requirements under different link topologies, service needs, and resource conditions. In turn, it provides a reasonable and accurate division basis for subsequent link performance judgment, relay station simplification, and final deployment, improving the flexibility, rationality, and resource utilization of relay station determination.

[0045] In some embodiments, the preset ratio includes any one of equal division ratio and non-equal division ratio.

[0046] For example, the equal division ratio is 1:1, and the non-equal division ratio can be any non-equal division ratio such as 1:3, 2:5, the golden ratio, 9:7, etc.

[0047] In this embodiment, by setting the preset ratio to either an equal division ratio or a non-equal division ratio, the preset information of the two sub-links can be divided according to a balanced or non-balanced ratio, rather than being limited to a single equal division method. An equal division ratio is suitable for scenarios where the spatial distribution or resource allocation of the sites on both sides needs to be balanced, while a non-equal division ratio is suitable for scenarios where there are differences in traffic volume, site importance, or resource requirements on both sides. This allows the determination of relay sites to flexibly adapt to different link topologies, service requirements, and resource allocation situations, improving the flexibility, rationality, and engineering practicality of the link division strategy. It also provides a more practical basis for subsequent relay site selection, performance assessment, and streamlined deployment.

[0048] In some embodiments, in response to the fact that there are multiple target stations for obtaining preset information of two sub-links to satisfy a preset ratio, one of the target stations is selected as a relay station.

[0049] Understandably, in real-world scenarios, since the stations in a link may not be set up according to the preset information, there may be situations where relay stations cannot be determined strictly according to the preset ratio when determining the relay stations among the stations to be divided in the link.

[0050] In this situation, adjustments can be made flexibly according to the actual scenario. For example, if a location is selected according to a preset ratio, but there is no station at that location, target stations can be searched in both directions of the link, and one of the two target stations found can be randomly selected. Alternatively, the station whose preset information of the two sub-links is closest to the preset ratio can be selected.

[0051] In this embodiment, when there are multiple target sites that satisfy the preset proportion of the preset information of two sub-links, by further selecting one site as a relay site from among the multiple target sites, the problem of unclear and non-unique relay site determination results caused by multiple candidate sites meeting the conditions can be solved while ensuring that the preset information of the sub-links still meets the preset proportion. This makes the relay site selection result more clear and controllable. At the same time, this step provides space for optimization by combining factors such as deployment cost, site importance, link performance, resource conditions, or subsequent relay site simplification requirements. This is conducive to selecting a more reasonable, economical, or more suitable relay site from multiple feasible solutions, thereby improving the flexibility, accuracy, and engineering feasibility of relay site determination.

[0052] In some embodiments, the preset information includes the number of indexes of stations in the link.

[0053] Understandably, the number of indexes of stations in a link is the total number of stations in the link.

[0054] In one possible approach, an index number can be assigned to each site on the link before configuring the relay sites. This makes management easier, and the total number of sites on the link can be determined by the maximum value of the site index numbers. For example, for sites N1, N2, ..., Nn included in link P1, with index numbers 1, 2, ..., n respectively, it can be known that the total number of sites and the number of indexes in link P1 are both n.

[0055] Understandably, the method for determining relay stations among the stations in the link to be divided according to a preset ratio based on the number of station indexes in the link can be as follows: determine the index number of the relay station based on the number of station indexes in the link and the preset ratio, and then determine the relay station based on the index number of the relay station.

[0056] Taking link P1 as an example, with a preset ratio of 1:1, the method for determining relay stations among the stations in the link to be divided according to the preset ratio based on the number of station indexes in the link is as follows: Determine Is it an integer? If it is an integer, then determine the relay station's index number as... If the value is not an integer, it will be rounded up or down, and the rounded value will be used as the relay station index number.

[0057] Taking link P1 as an example, with a preset ratio of 1:3, the method for determining relay stations among the stations in the link to be divided according to the preset ratio based on the number of station indexes in the link is as follows: Determine Is it an integer? If it is an integer, then determine the relay station's index number as... If the value is not an integer, it will be rounded up or down, and the rounded value will be used as the relay station index number.

[0058] In this embodiment, by specifying the preset information as the number of indexes of stations in the link, the spatial distribution and quantitative relationship of stations on both sides can be directly quantified and reflected by using the sequential number or quantity of stations in the link to be divided as the basis for division. This allows the determination of relay stations to be carried out according to the proportion of the number of station indexes. The calculation is simple, intuitive, and highly operable, and the link division can be completed quickly without relying on complex business parameters.

[0059] In some embodiments, the preset information includes distance information between the stations at both ends of the link.

[0060] Understandably, the distance information between the stations at both ends of a link refers to the distance between the two endpoints of the link, which is the distance of the entire link.

[0061] In one possible approach, the distance between any two adjacent stations in the link is known before the relay station is configured, and the distance between the stations at both ends of the link can be calculated based on the distance between any two adjacent stations in the link.

[0062] Understandably, the method for determining relay stations among the stations of the link to be divided according to a preset ratio based on the distance information between the stations at both ends of the link can be as follows: determine the distance information of the two sub-links respectively based on the distance information between the stations at both ends of the link and the preset ratio, and then determine the relay station based on the distance information of the two sub-links.

[0063] Taking link P1 as an example, with a distance of 1000 meters between the two ends of link P1 and a preset ratio of 1:1, the method for determining relay stations among the stations of the link to be divided according to the distance information between the two ends of the link and the preset ratio is as follows: First, determine whether a station exists at a distance of 500 meters from both ends of link P1. If it exists, that station is designated as a relay station. If it does not exist, search for the nearest station in the direction of station N1 or station Nn, and designate that station as a relay station.

[0064] Understandably, if the preset ratio is not equal and the result is closer to one end of the link, and if the relay station cannot be determined strictly according to the preset ratio, and it is necessary to find stations at both ends, then in the process of determining the relay station, care should be taken not to determine the end of the link as the relay station.

[0065] Taking link P1 as an example, with a distance of 1000 meters between the stations at both ends of link P1 and a preset ratio of 1:3, the method for determining the relay station among the stations of the link to be divided according to the preset ratio based on the distance information between the stations at both ends of the link can be as follows: Determine whether there is a station 250 meters away from station N1. If there is, then that station is designated as the relay station. If not, determine whether there is a station other than station N1 in the direction towards station N1. If there is a station other than station N1 in the direction towards station N1, then find the nearest station in the direction of station N1 or in the direction of station Nn, and designate that station as the relay station; however, if there is no station other than station N1 in the direction towards station N1, then find the nearest station in the direction of station Nn, and designate that station as the relay station.

[0066] Taking link P1 as an example, with a distance of 1000 meters between the stations at both ends of link P1 and a preset ratio of 1:3, another method for determining the relay station among the stations of the link to be divided according to the distance information between the stations at both ends of the link and the preset ratio is as follows: Determine whether there is a station at a distance of 250 meters from station Nn. If there is, then that station is designated as a relay station. If not, determine whether there is a station other than station Nn in the direction of station Nn. If there is a station other than station Nn in the direction of station Nn, then find the nearest station in the direction of station N1 or station Nn and designate that station as a relay station. However, if there is no station other than station Nn in the direction of station Nn, then find the nearest station in the direction of station N1 and designate that station as a relay station.

[0067] In this embodiment, by specifying the preset information as the distance information between the stations at both ends of the link, the actual spatial distance can be used as the basis for division, directly reflecting the physical span along the link and distance-related transmission characteristics such as attenuation and delay. This ensures that the two sub-links obtained by division meet the preset ratio in terms of distance relationship, rather than relying solely on the number of stations or abstract resource parameters. As a result, the determination of relay stations is closer to the actual link layout and transmission performance requirements, and is especially suitable for scenarios with uneven station spacing and large differences in the total link length. This is beneficial for the two sub-links to achieve the expected ratio in terms of transmission distance.

[0068] In some embodiments, the preset information includes link weight information. This weight information is used to quantify the importance of a link or the importance of stations within that link.

[0069] For example, in some application scenarios, relay sites are deployed primarily near sections with high traffic and high reliability requirements; in others, they need to be placed in locations that better guarantee the communication quality of high-traffic, high-priority base stations; in still others, priority must be given to ensuring the communication quality of critical substations and dispatch nodes; and in some applications, it is necessary to ensure uninterrupted operation of critical sections. These application scenarios involve determining relay sites based on information such as traffic volume, number of users, Quality of Service (QoS), and reliability. By quantifying and weighting these relevant information, the weighted information can be used to determine relay sites, thereby reducing computational load while meeting the needs of the actual scenario.

[0070] The method for determining relay stations among the stations of the links to be divided according to the link weight information and a preset ratio can be as follows: determine the weight information of two sub-links according to the link weight information and the preset ratio, and then determine the relay stations according to the weight information of the two sub-links.

[0071] Understandably, examples of methods for determining relay stations based on link weight information and preset ratios can be found in the examples described above for determining relay stations based on distance information and preset ratios, and will not be repeated here.

[0072] In this embodiment, by specifying the preset information as link weight information and quantifying the importance of the link or the stations within it using this weight information, the determination of relay stations is no longer based solely on the number of stations or spatial distance, but rather on the actual importance of the links or stations. Therefore, when dividing two sub-links according to a preset ratio, the side with higher importance receives a division result commensurate with its importance, ensuring that critical links, core stations, or important service segments are prioritized and rationally allocated. This provides a more business-oriented and network-realistic basis for relay station selection, link performance assessment, and redundant relay station simplification, improving the flexibility, accuracy, and resource utilization of the relay station determination method, and enhancing network reliability, service assurance capabilities, and engineering practicality.

[0073] In some embodiments, in response to the preset information being the weight information of the link, the preset information of the two sub-links satisfying the preset ratio includes: the ratio of the first weight sum to the second weight sum is the preset ratio.

[0074] In this embodiment, the two sub-links include a first sub-link and a second sub-link, arranged according to the distribution order of the stations along the initial link to be divided. The first weight sum is the sum of the first weight sum and the second weight sum. The first weight sum is the sum of the products of the weight of each station in the first sub-link and the first weight coefficient. The second weight sum is the sum of the products of the weights of the links between adjacent stations in the first sub-link and the second weight coefficient. The second weight sum is the sum of the third weight sum and the fourth weight sum. The third weight sum is the sum of the products of the weights of each station in the second sub-link and the first weight coefficient. The fourth weight sum is the sum of the products of the weights of the links between adjacent stations in the second sub-link and the second weight coefficient.

[0075] Understandably, a link consists of multiple stations and links between adjacent stations. Therefore, the weight of a link is related to the weight of each station in the link and the weight of the links between adjacent stations. Thus, when calculating weight information, the weight of each station and the weight of the links between adjacent stations need to be taken into account.

[0076] As shown in equation (1), the first weight sum It is the first weight sum With the second weight and The sum of the values. First weighted sum. It is the weight of each station in the first sub-link. respectively with the first weighting coefficient The sum of the products of , It is the sequence number of the station in the first sub-link. This is the total number of stations in the first sub-link. The second weight sum... It is the weight of the link between each adjacent station in the first sub-link. respectively with the second weighting coefficient The sum of the products of , It is the sequence number of the link between each adjacent station in the first sub-link. It is the total number of links between each adjacent station in the first sub-link.

[0077] (1)

[0078] Understandably, the first weighting coefficient The second weight coefficient is used to characterize the proportion of site weight in each configuration process. This is used to characterize the proportion of link weight between adjacent sites during each configuration process, by adjusting the first weight coefficient. Second weighting coefficient The value can be adjusted to meet different scenario requirements. For example, in some scenarios, it's preferable to select the site with better equipment; this can be achieved by increasing the primary weighting coefficient. The value is used to meet the requirements of this scenario.

[0079] As shown in equation (2), the second weight sum It is the third weight and With the fourth weight The sum of the values. Third weighted sum. It is the weight of each station in the second sub-link. respectively with the first weighting coefficient The sum of the products of , It is the sequence number of the station in the second sub-link. This is the total number of stations in the second sub-link. Fourth weight sum It is the weight of the link between each adjacent station in the second sub-link. respectively with the second weighting coefficient The sum of the products of , It is the sequence number of the link between each adjacent station in the second sub-link. It is the total number of links between each adjacent station in the second sub-link.

[0080] (2)

[0081] In the three embodiments described above, the preset information includes one of the following: the number of indexed stations in the link, the distance between stations at both ends of the link, and the link weight information. For practical scenarios without any special requirements, the number of indexed stations in the link can be used, as this method has the lowest computational cost among the three information strategies. For practical scenarios with loss requirements, the distance between stations at both ends of the link can be used, as distance is proportional to loss, and relay stations selected based on distance are more likely to meet the needs of such applications. For practical scenarios with performance requirements or other special requirements, the link weight information can be used. This method can take into account link performance, reducing computational cost and improving computational efficiency while meeting the needs of the practical scenario.

[0082] In some embodiments, the weight of each site is obtained by weighting a plurality of preset site parameters after normalization. The plurality of preset site parameters include parameters that quantify at least one of site capacity, site risk, and site performance. The weight of links between adjacent sites is obtained by weighting a plurality of preset link parameters after normalization. The plurality of preset link parameters include parameters that quantify at least one of link risk and link performance.

[0083] Understandably, site capacity refers to the scale of services and resource limits that a site can support or process, such as the number of ports, bandwidth / wavelengths, switching capacity, number of connected users, storage or computing power, etc., reflecting the amount of services the site can accommodate. Site risk refers to the probability and severity of site failures, malfunctions, or adverse external influences, such as historical failure rates, power supply reliability, environmental and security risks, and the scope of impact of single-point failures, used to quantify the site's instability and failure risk. Site performance refers to the quality and efficiency of a site in completing transmission, switching, or processing tasks during actual operation, such as latency, throughput, packet loss rate, bit error rate, resource utilization, and processing speed, reflecting the site's operational performance and level. The importance of a site is related to its capacity, risk, and performance, allowing for the selection of multiple preset site parameters from those characterizing these site features.

[0084] Understandably, link risk refers to the probability and extent of link failure, performance degradation, or external damage between adjacent sites, such as fiber optic cable aging, construction damage, environmental disasters, failure probability, and the scope of failure impact. It is used to quantify the risk of link failure or degradation. Link performance refers to the transmission quality and capacity of the link between adjacent sites, such as attenuation, dispersion, OSNR, nonlinearity, crosstalk, filtering cost, delay, bandwidth, and bit error rate. It reflects whether the link can meet transmission requirements and the level of transmission quality. The importance of a link is related to link risk and link performance, allowing for the selection of multiple preset link parameters from those that characterize these link features.

[0085] Understandably, for multiple preset site parameters and multiple preset link parameters, it is necessary to first quantize them, then normalize them to the same order of magnitude (e.g., 0-100), and then perform weight calculation.

[0086] It's important to note that if the selected parameter is negatively correlated with the importance of the link between a site or adjacent sites, the negative correlation coefficient needs to be processed during quantization to ensure that the quantized negative correlation coefficient is positively correlated with the importance of the link between the site or adjacent sites. For example, a higher weight value corresponds to a higher importance of the link between the corresponding site or adjacent sites. For instance, a risk coefficient negatively correlated with the importance of the link between a site or adjacent sites can be quantified by taking the reciprocal of the risk coefficient to obtain a safety coefficient, which can then be normalized.

[0087] Understandably, for a site, the larger the capacity, the lower the risk (higher the security level), and the higher the performance, the more important the site is in the deployment.

[0088] For example, select one parameter from the parameters characterizing site capacity, such as the number of available resources on the site, denoted as . Choose one parameter from those that characterize site risk, such as the site security factor (which is inversely proportional to the risk factor), and denote it as... Choose one parameter from those that characterize site performance, such as the importance of device types within the site, denoted as . .

[0089] As shown in equation (3), the weight of the site It is obtained by normalizing and weighting these three parameters. , , These are the weighting coefficients for each parameter. The magnitude of these weighting coefficients can be adjusted according to the needs of the scenario. For example, if a scenario prefers to select sites with large capacity, then... Set to greater than and .

[0090] (3)

[0091] Understandably, for links between adjacent sites, the lower the risk (higher the security) and the higher the performance, the more important the link is in deployment.

[0092] For example, select one parameter from the parameters characterizing link risk, such as the link security coefficient, denoted as . Choose one parameter from those that characterize link performance, such as the importance of the fiber type, denoted as . .

[0093] As shown in equation (4), the weight of the link between two adjacent stations It is obtained by normalizing and then weighting these two parameters. , These are the weighting coefficients for each parameter.

[0094] (4)

[0095] In this embodiment, by setting the weight of each site to be obtained by weighting after normalization of multiple preset site parameters, and setting the weight of the links between adjacent sites to be obtained by weighting after normalization of multiple preset link parameters, the dimensional differences between different parameters can be eliminated. Furthermore, by comprehensively weighting according to the importance of each parameter, the importance of sites and links can be quantified more comprehensively, objectively, and accurately. Site parameters cover parameters that can quantify at least one aspect of site capacity, site risk, and site performance; link parameters cover parameters that can quantify at least one aspect of link risk and link performance. This ensures that the weights not only reflect a single attribute of a site and link but also comprehensively embody their multi-dimensional characteristics such as capacity, risk, and performance. Therefore, subsequent link division, relay site selection, performance judgment, and redundant relay site simplification based on weight information can obtain a more reasonable and reliable basis, avoiding division bias caused by relying on only a single indicator or simple equal division. This improves the accuracy, adaptability, resource utilization, and engineering practicality of the relay site determination method, and helps to prioritize sites and links with high capacity, high risk, or high performance requirements, enhancing network reliability and service assurance capabilities.

[0096] In some embodiments, in steps S103 to S105, determining whether each sub-link in the two sub-links meets the performance requirements includes: for any sub-link, in response to any preset performance indicator among the preset performance indicators of the sub-link not meeting the threshold of that preset performance indicator, determining that the sub-link does not meet the performance requirements. The preset performance indicators include at least one of link signal-to-noise ratio (OSNR), nonlinearity (Nonlinar), filtering cost, and crosstalk cost. In response to all preset performance indicators among the preset performance indicators of the sub-link meeting the threshold corresponding to each preset performance indicator, determining that the sub-link meets the performance requirements.

[0097] Understandably, the threshold corresponding to a preset performance indicator refers to the limit set by that preset performance indicator to meet the requirements. For example, if the preset performance indicator must be greater than a certain threshold to meet the requirements, then the threshold corresponding to that preset performance indicator is the preset performance indicator greater than that threshold. Or, if the preset performance indicator must be equal to a certain threshold to meet the requirements, then the threshold corresponding to that preset performance indicator is the preset performance indicator equal to that threshold. Or, if the preset performance indicator must be within a preset range to meet the requirements, then the threshold corresponding to that preset performance indicator is the preset performance indicator within that preset range.

[0098] For example, taking the link signal-to-noise ratio (OSNR) and nonlinearity (Nonlinar) as preset performance indicators, first calculate the link threshold OSNRthreshold, then obtain the user-defined nonlinearity limit value Nonlinarmax. If OSNRthreshold > OSNR or Nonlinar > Nonlinarmax, the sub-link does not meet the performance requirements; conversely, if OSNR >= OSNRthreshold and Nonlinarmax ≥ Nonlinar, the sub-link meets the performance requirements.

[0099] This embodiment sets at least one preset performance indicator for a sub-link, and uses a judgment logic that determines the sub-link does not meet the performance requirements if any preset performance indicator fails to meet the corresponding threshold, and determines the sub-link meets the performance requirements only if all preset performance indicators meet the corresponding threshold. This logic can comprehensively and accurately evaluate the transmission quality of the sub-link from multiple dimensions such as signal-to-noise ratio, nonlinear impairment, filtering impairment, and crosstalk, thereby providing a reliable basis for relay site deployment and reducing the risk of transmission failure, service interruption, or network performance degradation due to substandard link performance.

[0100] In some embodiments, refer to Figure 2 The method for determining a link relay station provided in this embodiment of the disclosure further includes: S106, Search among all selected relay sites for the existence of a first relay site.

[0101] In S106, the first relay station satisfies the following condition: after sorting the selected relay stations according to the initial distribution order of the stations to be divided into links, the link between the previous relay station and the next relay station of the first relay station meets the performance requirements.

[0102] S107, if a first relay site exists among all selected relay sites, delete all first relay sites from all selected relay sites to obtain the remaining relay sites, and use the remaining relay sites as relay sites to be deployed.

[0103] Understandably, in S106, the selected relay stations are restored to their topological order on the links to be divided, clarifying the adjacent relationships of each relay station within the links. Only after sorting according to the actual distribution order of the links can it be determined whether a relay station can be directly traversed by its preceding and following relay stations, thus providing an accurate sequential basis for the identification of subsequent redundant relay stations.

[0104] For the sorted relay stations, check whether the link between the preceding and following relay stations of a given relay station meets the performance requirements. If it does, it means that even without the current relay station, the two relay stations before and after it can directly complete signal transmission and meet the thresholds of preset performance indicators such as OSNR, nonlinearity, filtering cost, and crosstalk cost. Therefore, the current relay station is not essential to maintaining the performance of this link segment and can be identified as the first relay station, i.e., a redundant relay station.

[0105] In step S107, it is confirmed whether there are any redundant relay sites among the selected relay sites that can be bypassed or deleted. If a first relay site exists, it means that there is still room for simplification of the current relay sites, and the deletion operation can be performed; if not, it means that each relay site in the current set has the necessary support for link performance and there is no need to continue simplification.

[0106] Since each first relay station already satisfies the requirement that the link between its preceding and following relay stations meets performance requirements, removing these first relay stations will not disrupt the basic transmission performance of the links. Removing these redundant relay stations from the set can reduce the number of relay stations while ensuring performance requirements, avoiding over-deployment and reducing deployment costs, operational complexity, and resource consumption.

[0107] This embodiment identifies a first relay station among the selected relay stations. If the link between a relay station's predecessor and successor still meets performance requirements, the relay station is determined to be a redundant relay station that can be deleted. All first relay stations are then deleted, and the remaining relay stations are designated as relay stations to be deployed. This effectively streamlines the relay stations without compromising link performance, reducing the number of deployed relay stations, lowering deployment costs, operational complexity, and resource consumption. It also avoids over-deployment of relay stations, improves the rationality of relay station selection and resource utilization, and makes the final determined relay stations to be deployed more streamlined and efficient.

[0108] In some embodiments, refer to Figure 3 Taking a preset ratio of 1:1 as an example, the present disclosure provides an exemplary method for determining a link relay station, which includes the following steps: Step 1 (S0): Obtain the link P that needs to be configured as a relay, including distance, weight information, etc. Here, it is assumed that the station sequence in path P (i.e., link P) is N={N1,N2,...,Nn} (i.e., link P includes n stations, namely stations N1, N2,...,Nn, where n is an integer).

[0109] Step 2 (S1) determines whether the entire link P segment meets the requirements (such as signal-to-noise ratio, nonlinearity, etc.). If the requirements are met, no relay configuration is needed, and the process ends directly. If the requirements are not met, proceed to the next step.

[0110] Step 3 (S2): Calculate the number of path stations (i.e., the total number of stations included in link P). Determine if the number of path stations is 2 (single-span path). If it is 2, it means that path P only includes two stations at both ends, which is a single-span path. Since single-span path P does not meet the requirements, no further steps are needed, and the process ends directly. If it is not 2, it means that path P has the conditions to configure relay stations. In other words, path P is the link to be assigned in S101, and the process proceeds to the next step.

[0111] Step 4 (S3) determines the binary search rule. The information involved in the rule includes, but is not limited to, information such as site location, distance, and weight. When site location plays a decisive role in relay configuration performance, location can be used as the binary search principle. When distance has a significant impact on relay configuration performance, distance can be used as the binary search principle. The specific principle can be determined by the user.

[0112] Understandably, the site location, distance, and weight are equivalent to the preset information of the link to be divided in S102 of the above embodiment. The site location-based binary search is equivalent to determining relay sites among the sites of the link to be divided according to a preset ratio based on the number of site indices in the link, as described in the above embodiment. The distance-based binary search is equivalent to determining relay sites among the sites of the link to be divided according to a preset ratio based on the distance between the sites at both ends of the link, as described in the above embodiment. The weight-based binary search is equivalent to determining relay sites among the sites of the link to be divided according to a preset ratio based on the link weight information, as described in the above embodiment.

[0113] Step 4 (S3) includes the following steps:

[0114] S301: Analyze the current link characteristics and usage scenarios to determine the binary search rule. If the current relay configuration principle is strongly correlated with distance, then distance is selected as the binary search rule.

[0115] S302: Determine the bisection rule based on link analysis.

[0116] Understandably, the scenario requirements can be determined by analyzing the path scenarios and characteristics, and thus the dichotomy rules can be determined based on the scenario requirements.

[0117] Step 5 (S4): Based on the bisection rule determined in S3, perform relay configuration according to the bisection rule.

[0118] There are three ways to do this: Method 1: Implement a binary search based on site location, including the following steps: S401: Select the station Nk at the middle index of the sequence and divide the route into sub-paths P1 and P2. This is equivalent to S102 in the above embodiment, where, based on the number of indexes of stations in the link, the relay station Nk is determined from each station of the link to be divided according to a preset ratio of 1:1, and two sub-links are obtained.

[0119] S402: Save relay station Nk to relay set R.

[0120] S403: Determine if the link meets the requirements (such as signal-to-noise ratio, nonlinearity, etc.): Verify whether P1 and P2 meet the requirements respectively.

[0121] Method 2: Implementing a binary search based on distance, including the following steps: S401: Calculate the total distance Dtotal, select the station Nm whose cumulative distance is closest to Dtotal / 2, and divide the path into sub-paths SP1 and SP2. This is equivalent to S102 in the above embodiment, where, based on the distance information between the stations at both ends of the link, a relay station Nm is determined from the stations of the link to be divided P at a preset ratio of 1:1, and two sub-links are obtained.

[0122] S402: Save relay station Nk to relay set R.

[0123] S403: Determine whether the link meets the requirements (such as signal-to-noise ratio, nonlinearity, etc.), and verify whether P1 and P2 meet the requirements respectively.

[0124] Method 3: Implementing a binary search based on weights, including the following steps: S401: Calculate the total weight Wtotal and select the station Np whose cumulative distance is closest to Wtotal / 2. Divide the path into sub-paths P1 and P2. This is equivalent to S102 in the above embodiment, where, based on the link weight information, a relay station Nk is determined among the stations of the link to be divided P at a preset ratio of 1:1, resulting in two sub-links.

[0125] S402: Save relay station Nk to relay set R.

[0126] S403: Determine whether the link meets the requirements (such as signal-to-noise ratio, nonlinearity, etc.), and verify whether P1 and P2 meet the requirements respectively.

[0127] It is understood that, among the three methods mentioned above, the specific solution of S403 can be referred to in S103 to S105 of the above embodiments, which describes whether each sub-link in the two sub-links meets the performance requirements. It will not be repeated here.

[0128] Step 6 (S5): Based on the sub-paths in S4, and according to the sub-path verification results, recursively configure the sub-paths as binary relays.

[0129] S501: If the subpath meets the requirements, no additional relay is needed for this segment.

[0130] S502: If the sub-path does not meet the requirements, treat the segment as a new path and return to step S4 for recursive binary search.

[0131] S503: End recursion until all sub-links meet the requirements.

[0132] Step 7 (S6): Relay redundancy optimization (pruning) – remove redundant relays.

[0133] The process includes the following steps:

[0134] S601: Using the relay set saved in R from S302 as a basis, traverse the relay set sequence R{R1,R2,...,R...} k}

[0135] S602: Determine R i With R i+2 Check whether the links formed by all stations in R meet the requirements. If they do, remove R from the set R. i+1 (R) i+1 (Equivalent to the first relay station).

[0136] S603: Repeat S602 until deletion is no longer possible.

[0137] For the specific solution of S6, please refer to the relevant descriptions in S106 and S107 of the above embodiments.

[0138] Step 8 (S7): Obtain the final relay list set R for link P.

[0139] In actual deployment, relay sites can be deployed based on the optimized relay set.

[0140] For example, refer to Figure 4In the network design and planning system structure diagram of the application scenario of the link relay site determination method provided in this embodiment, the network design and planning system mainly includes five parts: network management, network design, network service planning, network device configuration, and network reports. The network management module completes network creation, generates the basic engineering network, which includes sites and optical fibers, supports the import and export of network projects, and the import and export of existing network projects, and completes basic network configuration, such as site device type configuration; the network design module completes network transmission link design; the network service planning module completes the creation, import, and export of services in the network, and completes the planning of service transmission paths and required resources in the network; the network device configuration module compiles the resource configurations generated by the service planning in the network; and the network report module outputs the planned and configured resources in the form of reports.

[0141] For example, refer to Figure 5 In the flowchart of the service planning application scenario provided by the embodiment of this disclosure, the method for determining link relay sites is applied to the relay configuration part of the service planning module. It uses a binary search method to quickly configure fewer relays to meet path transmission requirements. It can also be used for relay optimization configuration of a single path. First, the service to be planned is selected, service routes are searched, and the service route set is traversed. During the traversal, it is determined whether a service route exists. If not, the service planning fails; if it exists, service route relay configuration is performed. The method for determining link relay sites provided by this disclosure can be used in the relay configuration part of the planned path, using a binary search method to quickly configure fewer relays to meet path transmission requirements, and can also be used for relay optimization configuration of a single path. Then, the relay configuration result is judged. If it fails, it returns to continue traversing the service route set; if it succeeds, service route resources are allocated. Finally, the service route resource allocation result is judged. If it fails, it returns to continue traversing the service route set; if it succeeds, the service planning is successful.

[0142] Secondly, referring to Figure 6 This disclosure provides an electronic device, including 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 method for determining link relay stations in the first aspect.

[0143] Thirdly, embodiments of this disclosure provide a computer-readable medium storing a computer program that, when executed by a processor, implements the method for determining link relay stations according to the first aspect.

[0144] In this embodiment of the disclosure, the processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory is a device with data storage capabilities, including but not limited to random access memory (RAM), more specifically such as SDRAM, DDR, etc., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface, or read-write interface, is connected between the processor and the memory, enabling information exchange between the memory and the processor, including but not limited to a data bus (Bus).

[0145] Fourthly, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the method for determining link relay stations in the first aspect.

[0146] 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.

[0147] 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.

[0148] 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 and communication media. In embodiments of this disclosure, computer storage media include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, and any other media that can be used to store desired information and can be accessed by a computer. In embodiments of this disclosure, 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.

Claims

1. A method for determining a link relay station, wherein, include: Obtain the link to be divided; The number of stations in the link to be divided is greater than 2; Select a relay station from the stations of the link to be divided to obtain two sub-links; one end of each of the two sub-links is the relay station, and the other end is the two ends of the link to be divided. Determine whether each of the two sub-links meets the performance requirements; If one of the two sub-links does not meet the performance requirements, the sub-link that does not meet the performance requirements will be designated as a new link to be divided. All selected relay sites are obtained if each of the two sub-links meets the performance requirements.

2. The method according to claim 1, wherein, Selecting a relay station from among the stations of the link to be divided includes: Based on the preset information of the link to be divided, the relay station is determined in each station of the link to be divided according to a preset ratio, so that the preset information of the two sub-links obtained satisfies the preset ratio; the preset information is parameter information used to describe the spatial distribution relationship or resource allocation relationship of each station in the link.

3. The method according to claim 2, wherein, The preset information includes one of the following: Information on the number of indexes of stations in the link; Distance information between the stations at both ends of the link; The weight information of the link; the weight information is used to quantify the importance of the link or the importance of the stations in the link.

4. The method according to claim 3, wherein, In response to the preset information being the weight information of the link, the preset information of the two sub-links satisfying the preset ratio includes: the ratio of the first weight sum to the second weight sum is the preset ratio; The two sub-links include a first sub-link and a second sub-link, which are distributed along the initial distribution order of the stations of the link to be divided. The first weight sum is the value obtained by adding the first weight sum and the second weight sum. The first weight sum is the sum of the products of the weight of each station in the first sub-link and the first weight coefficient. The second weight sum is the sum of the products of the weight of the link between each adjacent station in the first sub-link and the second weight coefficient. The second weight sum is the sum of the third weight sum and the fourth weight sum; the third weight sum is the sum of the products of the weight of each station in the second sub-link and the first weight coefficient, and the fourth weight sum is the sum of the products of the weight of the link between each adjacent station in the second sub-link and the second weight coefficient.

5. The method according to claim 3 or 4, wherein, The weight of each site is obtained by weighting multiple preset site parameters after normalization; the preset site parameters include parameters that can quantify at least one of site capacity, site risk, and site performance. The weights of the links between each adjacent station are obtained by weighting multiple preset link parameters after normalization. The preset link parameters include parameters that can quantify at least one aspect of link risk and link performance.

6. The method according to claim 2, wherein, The preset ratio includes any one of the following: equal division ratio and non-equal division ratio.

7. The method according to claim 2, wherein, In response to the fact that there are multiple target stations for the two sub-links to satisfy the preset ratio, one of the target stations is selected as the relay station.

8. The method according to claim 1, wherein, Determining whether each of the two sub-links meets the performance requirements includes: For any sub-link, if any preset performance indicator among the preset performance indicators of the sub-link fails to meet the threshold of that preset performance indicator, the sub-link is determined to not meet the performance requirements; the preset performance indicators include at least one of link signal-to-noise ratio (OSNR), nonlinearity (Nonlinar), filtering cost, and crosstalk cost; or If all preset performance indicators in the preset performance indicators of the sub-link meet the thresholds corresponding to each preset performance indicator, it is determined that the sub-link meets the performance requirements.

9. The method according to claim 1, wherein, Also includes: Search among all the selected relay sites to find if a first relay site exists; The first relay station satisfies the following condition: after sorting the selected relay stations according to the initial distribution order of the stations to be divided in the link, the link between the previous relay station and the next relay station of the first relay station meets the performance requirements. If the first relay site exists among all the selected relay sites, all first relay sites are deleted from all the selected relay sites to obtain the remaining relay sites, and the remaining relay sites are used as relay sites to be deployed.

10. An electronic device, wherein, It 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 method for determining link relay stations as described in any one of claims 1 to 9.

11. A computer-readable medium, wherein, The device contains a computer program that, when executed by a processor, implements the method for determining a link relay station as described in any one of claims 1 to 9.

12. A computer program product, wherein, Includes a computer program, which, when executed by a processor, implements the method for determining a link relay station as described in any one of claims 1 to 9.