Expansion method and device for optical fiber communication network
By acquiring and comparing the KML files of the optical fiber communication network, determining the unavailable proportion of newly designed optical fiber lines and adjusting it, the data processing defects in the planning and operation and maintenance of optical fiber communication networks in the existing technology are solved, and efficient and accurate expansion and operation and maintenance of optical fiber communication networks are achieved.
Patent Information
- Application Number
- CN202510538933.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-08-12
AI Technical Summary
The existing CAD fiber resource management system cannot efficiently and accurately support the planning and operation and maintenance of the fiber communication network, resulting in data processing defects in the construction of the fiber communication network.
By obtaining the first KML file of the arranged fiber communication network and the second KML file of the newly designed fiber line, the unavailable ratio of the newly designed fiber line is determined by using three-dimensional geographical information comparison, and the optical fiber line is adjusted according to the unavailable ratio, and then the unavailable ratio is reduced and the layout is carried out to achieve the expansion of the optical fiber communication network.
It realizes efficient and accurate planning and operation and maintenance of the optical fiber communication network, reduces the risk of interruption caused by unavailable lines construction, optimizes costs, avoids manual on-site surveys and trial and error, and improves capacity expansion efficiency.
Smart Images

Figure CN120474923A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical fields of optical fiber broadband operation services, construction of a new generation of mobile communication core and access networks, networking, mobile telecommunication services, mobile voice services, mobile data communication services, and other telecommunication service technologies, and in particular to a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for expanding an optical fiber communication network. Background Art
[0002] A fiber-optic communication network uses optical fiber as the transmission medium and light waves as the information carrier. Electrical signals are converted into optical signals for transmission at the transmitting end, and optical signals are converted back into electrical signals at the receiving end. During the construction of a fiber-optic communication network, on-site construction data can be collected, categorized, and uniformly entered into a CAD fiber resource management system for subsequent access by operations and maintenance personnel. However, existing CAD fiber resource management systems have data processing flaws, making them unable to efficiently and accurately support the planning and operation and maintenance of fiber-optic communication networks.
[0003] It should be noted that the above content is not necessarily prior art, nor is it intended to limit the scope of patent protection of this application. Summary of the Invention
[0004] The embodiments of the present application provide a method, apparatus, computer device, computer-readable storage medium, and computer program product for expanding the capacity of an optical fiber communication network to solve or alleviate one or more of the technical problems raised above.
[0005] One aspect of an embodiment of the present application provides a method for expanding a fiber optic communication network, the method comprising: Obtaining a first KML file and a second KML file; wherein the first KML file includes three-dimensional geographic information of the deployed optical fiber communication network, and the second KML file includes three-dimensional geographic information of the newly designed optical fiber line; Determining an unusable ratio of the newly designed optical fiber line based on the three-dimensional geographic information of the laid optical fiber communication network and the three-dimensional geographic information of the newly designed optical fiber line; The newly designed optical fiber line is adjusted according to the unavailable ratio, and the adjusted optical fiber line is deployed to be added to the optical fiber communication network; wherein the unavailable ratio of the adjusted optical fiber line is lower than a first preset threshold.
[0006] Optionally, the deployed optical fiber communication network includes a plurality of first nodes, and the first KML file includes three-dimensional geographic information of the plurality of first nodes; the newly designed optical fiber line includes a plurality of second nodes, and the second KML file includes three-dimensional geographic information of the plurality of second nodes; Correspondingly, determining the unavailable ratio of the newly designed optical fiber line according to the three-dimensional geographic information of the laid optical fiber communication network and the three-dimensional geographic information of the newly designed optical fiber line includes: determining, based on the three-dimensional geographic information of the plurality of first nodes and the three-dimensional geographic information of the plurality of second nodes, a degree of matching between the plurality of first nodes and the plurality of second nodes; determining, according to the matching degree, an unavailable node among the plurality of second nodes; An unavailable ratio of the newly designed optical fiber line is determined based on the unavailable nodes in the plurality of second nodes.
[0007] Optionally, determining an unavailable node among the plurality of second nodes according to the matching degree includes: For each second node, determining whether there is a first node whose matching degree with the second node is higher than a second preset threshold; In a case where there is a first node whose matching degree is higher than a second preset threshold, the second node is determined as the unavailable node.
[0008] Optionally, the second KML file further includes time identification information of the plurality of second nodes, where the time identification information is used to indicate whether the corresponding second node exceeds its service life; Correspondingly, determining an unavailable node among the plurality of second nodes according to the matching degree includes: For each second node, determining whether there is a first node whose matching degree with the second node is higher than a second preset threshold; If there is a first node with a matching degree higher than a second preset threshold, obtaining time identification information of the second node; determining, based on the time identification information, whether the second node exceeds a service life; When the service life of the second node has not exceeded, the second node is determined as the unavailable node.
[0009] Optionally, the second KML file further includes resource configuration information of the plurality of second nodes, where the resource configuration information is used to indicate whether the corresponding second node has available resources; Correspondingly, determining an unavailable node among the plurality of second nodes according to the matching degree further includes: In the absence of a match degree higher than the second preset threshold, obtaining resource configuration information of the second node; determining, according to the resource configuration information, whether the second node has available resources; In a case where the second node has no available resources, the second node is determined as the unavailable node.
[0010] Optionally, the second KML file is obtained by the following operations: Acquire three-dimensional geographic information, resource configuration information, and time identification information of the plurality of second nodes; Creating corresponding geographic tag tags, description tags, and timestamp tags for the plurality of second nodes respectively; For each second node, the three-dimensional geographic information is written into the geographic mark tag, the resource configuration information is written into the description tag, and the time identification information is written into the timestamp tag to obtain the second XML file.
[0011] Optionally, the three-dimensional geographic information includes: longitude, latitude and altitude; Correspondingly, determining the matching degree between the plurality of first nodes and the plurality of second nodes according to the three-dimensional geographic information of the plurality of first nodes and the three-dimensional geographic information of the plurality of second nodes includes: For each second node, determining a distance between the second node and each first node, wherein the distance is used to represent a matching degree; The distance is determined by comparing the longitude, latitude and altitude corresponding to the second node and the first node respectively.
[0012] Another aspect of an embodiment of the present application provides a device for expanding a fiber optic communication network, the device comprising: An acquisition module, configured to acquire a first KML file and a second KML file; wherein the first KML file includes three-dimensional geographic information of an already laid optical fiber communication network, and the second KML file includes three-dimensional geographic information of a newly designed optical fiber line; a determination module, configured to determine an unavailable ratio of the newly designed optical fiber line based on the three-dimensional geographic information of the laid optical fiber communication network and the three-dimensional geographic information of the newly designed optical fiber line; An expansion module is used to adjust the newly designed optical fiber line according to the unavailable ratio and lay out the adjusted optical fiber line to add it to the optical fiber communication network; wherein the unavailable ratio of the adjusted optical fiber line is lower than a first preset threshold.
[0013] Another aspect of an embodiment of the present application provides a computer device, including: at least one processor; and a memory communicatively coupled to the at least one processor; Wherein: the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described above.
[0014] Another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method described above is implemented.
[0015] Another aspect of an embodiment of the present application provides a computer program product, including a computer program, which implements the above-mentioned method when executed by a processor.
[0016] The above technical solution adopted in the embodiments of the present application may have the following advantages: A first KML file corresponding to the already laid fiber optic communication network and a second KML file corresponding to the newly designed fiber optic line are obtained to obtain the three-dimensional geographic information of each. By comparing the three-dimensional geographic information, the unavailable ratio of the newly designed fiber optic line is determined. The newly designed fiber optic line is adjusted according to the unavailable ratio to reduce the unavailable ratio, and the adjusted fiber optic line is deployed on site and added to the fiber optic communication network, thereby achieving capacity expansion of the fiber optic communication network. It can be seen that when designing a new fiber optic line, the embodiment of the present application can quickly determine the unavailable ratio of the newly designed fiber optic line by comparing the three-dimensional geographic information of the KML file, reduce the risk of simultaneous interruption caused by the construction of the unavailable line, and perform cost-optimized replacement, which is something that the CAD fiber optic resource management system cannot support and implement. That is, the embodiment of the present application can efficiently and accurately support the planning (such as capacity expansion) and operation and maintenance of the fiber optic communication network based on the KML file, effectively alleviating the defects of the CAD fiber optic resource management system, while eliminating the need for manual on-site surveys and on-site trial and error, further achieving cost reduction and efficiency improvement. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings illustrate exemplary embodiments and constitute a part of the specification. Together with the description of the specification, they serve to explain exemplary implementation of the embodiments. The illustrated embodiments are for illustrative purposes only and do not limit the scope of the claims. Throughout the drawings, the same reference numerals designate similar, but not necessarily identical, elements.
[0018] Figure 1 A flowchart schematically illustrates a method for expanding a fiber optic communication network according to a first embodiment of the present application; Figure 2 Schematically shows Figure 1 Flowchart of sub-steps of step S102; Figure 3 Schematically shows Figure 2 Flowchart of sub-steps of step S202; Figure 4 Schematically shows Figure 2 Flowchart of sub-steps of step S202; Figure 5 Schematically shows Figure 2 Flowchart of sub-steps of step S202; Figure 6 The comparison analysis report according to Example 1 of the present application is schematically shown; Figure 7 A block diagram schematically shows a capacity expansion device for an optical fiber communication network according to a second embodiment of the present application; and Figure 8 The following schematically shows a hardware architecture diagram of a computer device according to the third embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solutions and advantages of this application more clear, the present application is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0020] It should be noted that the descriptions of "first", "second", etc. in the embodiments of the present application are for descriptive purposes only and should not be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0021] In the description of this application, it should be understood that the numerical labels before the steps do not indicate the order in which the steps are executed. They are only used to facilitate the description of this application and to distinguish each step. Therefore, they cannot be understood as limitations on this application.
[0022] First, an explanation of the terms used in this application is provided: Google Earth: A virtual globe software developed by Google based on satellite images, maps and three-dimensional terrain data.
[0023] XML (eXtensible Markup Language): A markup language used to describe data structure and content.
[0024] KML (Keyhole Markup Language): It is a standard format used by Google Earth and other geographic information software. It is an XML-based markup language used to describe geographic data.
[0025] CAD (Computer-Aided Design): Computer-aided design is a technology and tool that uses computer software to assist in product design, drawing, modeling and technical documentation generation.
[0026] geopy library: A Python library that can be used for calculations and operations related to geographic location, such as obtaining geographic coordinates, calculating distances, geocoding (converting addresses to latitude and longitude), etc.
[0027] fastkml library: is a Python library that can be used to process KML files, mainly used in spatial data management in geographic information systems (GIS).
[0028] Secondly, to facilitate those skilled in the art to understand the technical solutions provided in the embodiments of the present application, the following describes the relevant technologies: A fiber-optic communication network uses optical fiber as the transmission medium and light waves as the information carrier. Electrical signals are converted to optical signals for transmission at the transmitting end, and optical signals are converted back to electrical signals at the receiving end. During the construction of a fiber-optic communication network, on-site construction data can be collected, categorized, and uniformly entered into a CAD fiber resource management system for subsequent access by operations and maintenance personnel. However, existing CAD fiber resource management systems only provide recording functions and still have shortcomings in data processing, making them unable to efficiently and accurately support the planning and operation and maintenance of fiber-optic communication networks.
[0029] To this end, embodiments of the present application provide a technical solution for expanding the capacity of a fiber optic communication network. This solution incorporates three-dimensional geographic information for each node into a KML file. For example, the three basic pieces of information, longitude, latitude, and altitude, are identified in a placemark. Resource configuration information for each node is also incorporated into the KML file, such as the availability of resources and the usage of available resources (cable, fiber, and core usage) in the description. Time stamp information for the fiber optic line is also incorporated into the KML file, such as the design time, completion time, and whether the service life has been exceeded in the timestamp. This allows subsequent fiber optic line design to be directly determined by comparing the longitude, latitude, and altitude data in the placemarks. This reduces the risk of simultaneous interruptions caused by overlapping line construction and allows for cost-optimized replacement (seeking a route with lower costs and no overlap with the original route), a feat not supported or implemented by CAD fiber resource management systems. The three-dimensional geographic information based on the placemarks also allows for rapid identification of fault points and restoration of communications. Based on the description and timestamp, sufficient reserve capacity can be determined during capacity expansion, improving expansion efficiency. This eliminates the need for traditional manual on-site inspections and trial-and-error, further reducing costs and increasing efficiency. See below for details.
[0030] The technical solutions of the present application are described below through a number of embodiments. It should be noted that these embodiments can be implemented in a variety of different forms and should not be construed as being limited to the embodiments described herein.
[0031] Example 1 Figure 1 The flowchart of the method for expanding the capacity of an optical fiber communication network according to the first embodiment of the present application is schematically shown.
[0032] like Figure 1 As shown, the method for expanding the capacity of the optical fiber communication network may include steps S100 to S104, wherein: Step S100, obtaining a first KML file and a second KML file; wherein the first KML file includes three-dimensional geographic information of the deployed optical fiber communication network, and the second KML file includes three-dimensional geographic information of the newly designed optical fiber line.
[0033] Step S102: determining the unusable ratio of the newly designed optical fiber line according to the three-dimensional geographic information of the laid optical fiber communication network and the three-dimensional geographic information of the newly designed optical fiber line.
[0034] Step S104, adjusting the newly designed optical fiber line according to the unavailable ratio, and laying the adjusted optical fiber line to add it to the optical fiber communication network; wherein the unavailable ratio of the adjusted optical fiber line is lower than a first preset threshold.
[0035] The fiber optic communication network expansion method provided in this embodiment obtains a first KML file corresponding to an already deployed fiber optic communication network and a second KML file corresponding to a newly designed fiber optic line to obtain three-dimensional geographic information for each. By comparing the three-dimensional geographic information, the unavailability ratio of the newly designed fiber optic line is determined. Based on the unavailability ratio, the newly designed fiber optic line is adjusted to reduce the unavailability ratio. The adjusted fiber optic line is then deployed on-site and added to the fiber optic communication network, thereby achieving capacity expansion of the fiber optic communication network. It can be seen that when designing a new fiber optic line, the embodiment of the present application can quickly determine the unavailability ratio of the newly designed fiber optic line by comparing the three-dimensional geographic information in the KML file, reducing the risk of simultaneous interruption caused by the construction of the unavailable line and performing cost-optimized replacement, which is not supported and implemented by CAD fiber optic resource management systems. In other words, the embodiment of the present application, based on KML files, can efficiently and accurately support the planning (e.g., expansion) and operation and maintenance of the fiber optic communication network, effectively alleviating the shortcomings of CAD fiber optic resource management systems while eliminating the need for manual on-site surveys and trial and error, further reducing costs and increasing efficiency.
[0036] The following combination Figure 1 , each step in steps S100~S104 and other optional steps are described in detail.
[0037] Step S100 , obtain a first KML file and a second KML file; wherein, the first KML file includes three-dimensional geographic information of the laid optical fiber communication network, and the second KML file includes three-dimensional geographic information of the newly designed optical fiber line.
[0038] A fiber-optic communication network uses optical fiber as the transmission medium and light waves as the information carrier. Electrical signals are converted to optical signals for transmission at the transmitting end, and optical signals are converted back to electrical signals at the receiving end. A fiber-optic communication network can include optical transmitters, optical fiber lines, optical receivers, and optical repeaters. The optical transmitter converts information (such as voice, images, and video) into electrical signals, which are then converted back into optical signals using a light source (such as a semiconductor laser or light-emitting diode). The optical transmitter serves as the starting point for information transmission and may include components such as a driver circuit to control the light source's intensity and frequency to accommodate different types of information transmission. The optical fiber line serves as the channel for information transmission. An optical fiber primarily consists of a core, a cladding, and a coating. The core is the core of the fiber and transmits the optical signal. The cladding, which surrounds the core and has a lower refractive index than the core, confines the optical signal within the core. The coating protects the fiber from physical damage and environmental influences. Optical fiber lines can be single-mode or multimode fibers. Single-mode fiber is suitable for long-distance, high-speed communications, while multimode fiber is suitable for shorter-distance communications. An optical receiver serves as the endpoint of information transmission. A photodetector (such as a photodiode) converts the received optical signal into an electrical signal, which is then amplified and processed by an amplifier and other electronic signal processing techniques to restore the original information. Optical receivers must possess sufficient sensitivity to detect weak optical signals. Optical repeaters can amplify and regenerate optical signals. In long-distance fiber-optic communications, they reduce optical signal loss during fiber transmission, ensuring that the optical signal can continue to transmit at sufficient strength, thereby extending the communication distance.
[0039] In the embodiments of this application, the fiber-optic communication network may include multiple existing fiber-optic lines that have already been deployed. Capacity expansion scenarios may involve newly designed but not yet deployed fiber-optic lines. When designing fiber-optic lines, the general routing of the optical cable (consisting of multiple optical fibers) can be determined based on the overall planning and service needs of the fiber-optic communication network. Areas with flat terrain, stable geology, and few obstacles should be selected as the routing path, while also considering connectivity and scalability with the existing fiber-optic communication network. Based on the macro-planning and combined with field measurement results, a detailed design of the optical cable routing should be conducted to determine the specific routing, routing method, and routing depth of the optical cable. For areas that require crossing obstacles such as railways, roads, and rivers, reasonable crossing schemes should be designed, such as pipe jacking, directional drilling, and overhead crossings, and detailed construction drawings should be prepared. The initially designed optical cable route should be optimized to minimize the cable laying length, reduce engineering workload and investment costs, and improve the safety and reliability of the cable route. The optimization process should comprehensively consider factors such as terrain, location, obstacles, and construction difficulty, using mathematical models and optimization algorithms to optimize and select the optimal route.
[0040] Each fiber optic line can include multiple nodes (also known as construction nodes or docking nodes). Specific information (field measurement results) for all nodes on the same fiber optic line can be written into a corresponding KML file. The KML file corresponding to an existing fiber optic communication network can be referred to as the first KML file, while the KML file corresponding to a newly designed fiber optic line can be referred to as the second KML file. It should be noted that the terms "first" and "second" in this embodiment are used solely to distinguish between the types represented (existing or newly designed). Both files have the same format and are standard KML files. KML files have a clear structure, are easy to manage, and support processing and analysis using tools such as geopy. KML files can also be directly loaded into mapping systems (such as Google Earth) to visualize and geolocate the fiber optic line. For example, for a newly designed fiber optic line, its corresponding KML file (the second KML file) can include specific information for multiple nodes (also referred to as second nodes), such as names (e.g., city names, mountain names), geometry types (e.g., point, edge, face), and three-dimensional geographic information (e.g., longitude, latitude, altitude). For example, through technologies such as LiDAR, Global Positioning System (GPS) and Geographic Information System (GIS), we can obtain information such as topography, landform, and elevation along the fiber optic line, determine the name, geometry type, and three-dimensional geographic information of each node, and create a corresponding geographic tag for each node. <placemark>, and in <placemark>Add sub-tags under to write corresponding information. For example, you can use <name>The label is the name of the node. When the node is a specific point (such as a landmark building or a monitoring point), it can be <point>Tags record three-dimensional geographic information (specific coordinate points), such as latitude and longitude, altitude, etc. When the node is linear (such as roads and rivers), it can be <linestring>The tag records three-dimensional geographic information (the coordinates of each point along the line are used to construct a continuous line). When the node is a region (such as an administrative district or a lake), it can be <polygon>Tags record three-dimensional geographic information (a closed polygon constructed from multiple ordered coordinate points). An example is provided below.
[0041] <placemark> <name> Node 1< / name> <point> <coordinates> 116.404,39.915< / coordinates> < / point> < / placemark> <placemark> <name> Node 2< / name> <point> <coordinates> 116.407,39.914< / coordinates> < / point> < / placemark> in, <coordinate>Tags are used to record three-dimensional geographic information.
[0042] In an optional embodiment, the KML file may also include resource configuration information for multiple nodes. The resource configuration information may be used to indicate whether the corresponding node has available resources, resource specifications, and usage. For example, the specifications of the optical cable (composed of multiple fiber cores), such as 24 cores and 48 cores; the usage of each core, such as 1-4 allocated to A, 5-8 allocated to B, etc.; whether there are unallocated cores (available resources), etc. Resource configuration information can be described using tags. <description>In some embodiments, the historical background and characteristics of the node can also be written into <description>In order to provide a more detailed description. You can also write HTML format content, such as hyperlinks, pictures, etc., to further enrich the node data and improve the efficiency of subsequent operation and maintenance. In an optional embodiment, the KML file can also include time identification information of multiple nodes. The time identification information can be used to indicate whether the corresponding node has exceeded the service life, the design time and completion time of the node, the time when a specific state or event occurs, etc. The time identification information can be recorded through the timestamp tag. <timestamp>In some embodiments, it is also possible to <lookat>The tag specifies the camera position, direction, range and other parameters for viewing nodes in Google Earth, such as longitude, latitude, altitude, pitch angle, yaw angle, etc., so that nodes can be viewed from a specific angle and distance; you can also use <latlonbox>Tags are used to define the boundaries of certain geographic data (such as image coverage) in geographic space, such as coordinate information such as north latitude, south latitude, east longitude, and west longitude; <iconstyle>Tags are used to specify the icon style of the node, such as the color, size, shape, etc. of the icon, so as to distinguish nodes of different types or importance. For linear nodes, you can also use <linestyle>Tags to set the line color, width and other style information; for polygon nodes, you can also use <polystye>The tag sets the polygon fill color, border color and other style information, so that different areas can have different visual effects when displayed. In some embodiments, it is also possible to <folder>Manage multiple nodes in groups and create a hierarchical directory structure to facilitate organization and browsing of geographic data of a large number of nodes; you can also <document>Tags integrate multiple nodes and their related styles, descriptions and other information together to form a complete KML file; <networklink>The tag dynamically loads KML from the Internet for your lesson plan or geographic data, enabling real-time data updates and dynamic display, such as obtaining the latest weather data, traffic flow information, etc.
[0043] The above-mentioned multiple embodiments introduce that different tags can be created to record various information of nodes, and a complete KML file can be obtained by combining tags. The KML file can comprehensively describe each node in the newly designed optical fiber line. In the capacity expansion scenario, the availability of the newly designed optical fiber line can be judged based on the KML file. When the availability meets the expectations, the newly designed optical fiber line can be deployed on the spot based on the KML file and added to the original optical fiber communication network, thereby realizing the expansion of the optical fiber communication network. Accordingly, after the field deployment, the second KML file (new design) will be converted into the first KML file (already deployed). The following will further illustrate how to judge the availability of the newly designed optical fiber line based on the KML file.
[0044] Step S102 , determining the unavailable ratio of the newly designed optical fiber line based on the three-dimensional geographic information of the laid optical fiber communication network and the three-dimensional geographic information of the newly designed optical fiber line.
[0045] For example, the fastkml library can be used to parse the first and second KML files to extract the three-dimensional geographic information of the existing fiber-optic communication network and the three-dimensional geographic information of the newly designed fiber-optic line, respectively. Based on this three-dimensional geographic information, the unavailability ratio of the newly designed fiber-optic line can be determined. For example, the higher the degree of match between the three-dimensional geographic information of the two, the higher the overlap between the newly designed fiber-optic line and the existing fiber-optic communication network, which may lead to the risk of simultaneous interruption during field deployment. The degree of match can, to a certain extent, characterize the unavailability ratio. Several exemplary solutions are provided below.
[0046] In an optional embodiment, the deployed optical fiber communication network may include multiple first nodes, and the first KML file may include the three-dimensional geographic information of the multiple first nodes. The newly designed optical fiber line may include multiple second nodes, and the second KML file may include the three-dimensional geographic information of the multiple second nodes. Figure 2 As shown, step S102 may include: Step S200 : determining the matching degree between the plurality of first nodes and the plurality of second nodes according to the three-dimensional geographic information of the plurality of first nodes and the three-dimensional geographic information of the plurality of second nodes.
[0047] Step S202: determining unavailable nodes among the plurality of second nodes according to the matching degree.
[0048] Step S204: determining an unavailable ratio of the newly designed optical fiber line based on the unavailable nodes in the plurality of second nodes.
[0049] For example, the first KML file and the second KML file can be parsed by the fastkml library, each geographic marker tag can be identified, and the three-dimensional geographic information of multiple first nodes and the three-dimensional geographic information of multiple second nodes can be extracted therefrom. Through nested loops, all first nodes are traversed in turn for each second node, and the matching degree between the two points is calculated using the geopy library in Python. Based on the matching degree, it can be determined which nodes among the multiple second nodes are unavailable nodes. For example, the higher the matching degree, the closer the second node and the first node are in spatial position, and they may even completely overlap. If the second node is to be deployed on site, the risk of simultaneous interruption may be caused due to physical overlap. In a high-reliability optical fiber communication network, effectively controlling the risk of simultaneous interruption is a basic design requirement. For this purpose, the second node with a high matching degree can be determined as an unavailable node. Based on the proportion of unavailable nodes among the multiple second nodes, the unavailable ratio of the newly designed optical fiber line can be determined.
[0050] In this embodiment, by comparing the three-dimensional geographic information in the placemark, the unavailable ratio of the newly designed optical fiber line can be directly determined, thereby reducing the risk of simultaneous interruption caused by the construction of the unavailable line.
[0051] In an optional embodiment, the three-dimensional geographic information may include longitude, latitude, and altitude. Correspondingly, step S200 may include: for each second node, determining a distance between the second node and each first node, the distance being used to represent a degree of matching; wherein the distance is determined by comparing the longitude, latitude, and altitude corresponding to the second node and the first node, respectively.
[0052] For example, for each second node, the corresponding geographic tag <placemark>Then, iterate through all the geographic tags of the first node. <placemark>, obtain the corresponding longitude, latitude, and altitude, and calculate the distance between the second node and each first node. The distance can be used to represent the degree of matching. In some embodiments, if the nodes are lines or polygons, the longitude, latitude, and altitude of a representative point (such as the center point) can be used to calculate the distance.
[0053] In this embodiment, a full comparison is performed through nested loops to achieve high-precision, full-coverage distance calculation between two points. The distance is used to effectively characterize the matching degree, which can effectively avoid the risk of simultaneous interruption caused by overlap.
[0054] In an optional embodiment, if Figure 3 As shown, step S202 may include: Step S300: For each second node, determine whether there is a first node whose matching degree with the second node is higher than a second preset threshold.
[0055] Step S302: If there is a first node whose matching degree is higher than a second preset threshold, determine the second node as the unavailable node.
[0056] For example, for each node, it is determined whether there is a first node with a matching degree higher than a second preset threshold. If there is a first node with a matching degree higher than the second preset threshold, it can be considered that the first node and the second node overlap. To avoid the risks brought by the overlapping design, such second nodes can be directly determined as unavailable nodes. It should be noted that the second preset threshold, i.e., the overlap determination threshold, can be set and adjusted according to actual needs or experience.
[0057] In this embodiment, by setting a threshold, the design node (second node) that overlaps with the existing node (first node) is automatically identified, and unavailable nodes are effectively screened out. Subsequently, deployment conflicts and interruption risks can be effectively avoided based on the unavailable nodes, thereby improving the intelligence and reliability of fiber optic communication planning.
[0058] Of course, the method for determining unavailable nodes can be further optimized, and an exemplary solution is provided below.
[0059] In an optional embodiment, if Figure 4 As shown, step S202 may include: Step S400: For each second node, determine whether there is a first node whose matching degree with the second node is higher than a second preset threshold.
[0060] Step S402: When there is a first node with a matching degree higher than a second preset threshold, obtain the time identification information of the second node.
[0061] Step S404: Determine whether the second node exceeds its service life based on the time identification information.
[0062] Step S406: If the service life of the second node has not exceeded, determine the second node as the unavailable node.
[0063] For example, for each node, determine whether there is a first node with a matching degree higher than a second preset threshold. If so, it can be considered that the first node and the second node overlap. In this case, the corresponding timestamp tag can be used to identify the node. <timestamp>The time stamp information of the second node is obtained from the . Based on this time stamp information, it can be determined whether the node (equivalent to the first node) has exceeded its service life (e.g., 20 years). If it has, the optical fiber line where the first node is located is no longer in service. In this case, the overlap design does not pose a risk of simultaneous interruption, so the overlap impact can be ignored and the second node can be considered an available node. Conversely, if it has not exceeded its service life (not expired), the first node is still in use, and the overlap design poses construction risks. In this case, the second node remains an unavailable node.
[0064] In this embodiment, a dual judgment mechanism combining geographic matching and service life is provided, which can accurately identify unavailable nodes, avoid construction conflicts and interruption risks caused by unexpired optical fiber lines, and improve the security and intelligent decision-making capabilities of network deployment.
[0065] In an optional embodiment, if Figure 5 As shown, step S202 may further include: Step S500: When there is no matching degree higher than the second preset threshold, obtain resource configuration information of the second node.
[0066] Step S502: Determine whether the second node has available resources according to the resource configuration information.
[0067] Step S504: When the second node has no available resources, determine the second node as the unavailable node.
[0068] For example, for each node, if there is no first node with a matching degree higher than a second preset threshold, it means that the second node does not overlap with any first node. To further verify the availability of the second node, the description tag can be used to <description>The resource configuration information of the second node is obtained. According to the resource configuration information, it can be determined whether the second node has available resources. If the second node does not have available resources, the second node can be determined as an unavailable node.
[0069] In this embodiment, after eliminating the impact of spatial overlap, the availability of nodes is further determined by parsing resource configuration information to avoid nodes without reserve resources from being mistakenly deployed, thereby improving the reliability and resource utilization efficiency of the fiber optic communication network expansion.
[0070] The above embodiments describe how to determine unavailable nodes and then determine the unavailable ratio. The following describes how to perform capacity expansion based on the unavailable ratio.
[0071] Step S104 , adjusting the newly designed optical fiber line according to the unavailable ratio, and laying the adjusted optical fiber line to add it to the optical fiber communication network; wherein the unavailable ratio of the adjusted optical fiber line is lower than a first preset threshold.
[0072] For example, the unavailable ratio can be compared with a first preset threshold. If the unavailable ratio is higher than or lower than the first preset threshold, it means that the overlap ratio between the newly designed optical fiber line and the original optical fiber communication network is too high. Direct deployment is likely to cause risks, and the newly designed optical fiber line needs to be adjusted. Adjustments include: deleting nodes, modifying nodes, etc., to reduce the unavailable ratio of the optical fiber line. When the unavailable ratio is lower than the first preset threshold, the optical fiber line can be deployed on site and added to the optical fiber communication network, thereby expanding the capacity of the optical fiber communication network. It should be noted that the first preset threshold, i.e., the deployment judgment threshold, can be set and adjusted according to actual needs or experience.
[0073] In this embodiment, by setting a threshold and comparing it with the unavailable ratio, the layout of the newly designed optical fiber line is dynamically optimized to avoid the deployment risks caused by high overlap, thereby achieving safe expansion and intelligent adjustment of the optical fiber communication network.
[0074] When laying fiber optic lines, construction companies should conduct on-site re-surveys of the cable routing based on the design drawings provided by the design company. This includes re-measuring the route length and manhole locations, determining the exact location and length of the pole routing, and the position of each pole. They should also confirm the specific locations and protective measures for communication lines crossing obstacles such as railways, roads, and rivers. Any areas found during re-surveys that differ due to environmental changes or pose potential safety risks to the lines will be promptly reported to the construction and design companies, and adjustments and implementation will be made after a design change notice is issued.
[0075] In some embodiments, a comparison analysis report can also be generated and displayed visually on the front end, such as Figure 6 The comparison and analysis report can include the number of nodes in the already deployed optical fiber communication network (determined based on the first KML file), the number of nodes in the newly designed optical fiber line (determined based on the second KML file), the number of matching pairs between the first and second nodes and the matching rate (unavailable ratio), matching details (which first and second nodes overlap, and the distance between the two points), and overall distance statistics (minimum distance, maximum distance, average distance, etc.). In this embodiment, the visual comparison and analysis report can comprehensively display the spatial overlap of new and old optical fiber lines, improving the transparency and decision-making efficiency of optical fiber communication network planning.
[0076] In order to make this application easier to understand, an exemplary application is provided below.
[0077] S1: Obtain a first KML file corresponding to an already deployed optical fiber communication network. The optical fiber communication network may include multiple optical fiber lines. The first KML file may include multiple first KML files, one for each optical fiber line, and is used to record information about each node in the corresponding optical fiber line. Obtain a second KML file corresponding to a newly designed optical fiber line. The second KML file is used to record information about each node in the newly designed optical fiber line.
[0078] The information is obtained through field measurements and written into different tags in the KML file. For example, three-dimensional geographic information (longitude, latitude, and altitude) is written into the geotag tag. <placemark>, resource configuration information (whether resources are available, resource specifications and usage) is written into the description tag <description>, time identification information (whether it exceeds the service life, the time of occurrence of a specific state or event) is written into the timestamp tag <timestamp>.
[0079] S2: Parse the first and second KML files to obtain three-dimensional geographic information of multiple first nodes in the deployed optical fiber communication network and multiple second nodes in the newly designed optical fiber line. Calculate the distance between the two points and compare the overlap threshold to determine whether each second node has an overlapping first node.
[0080] S3: For the second node determined to be overlapped, obtain time identification information from the second KML file to determine whether the node has exceeded its usage period. If it has not exceeded its usage period, determine the node as an unavailable node.
[0081] S4: For the second node that does not overlap, resource configuration information is obtained from the second KML file to determine whether the node has available resources. If no resources are available, the node is determined to be an unavailable node.
[0082] S5: Determine the unavailable ratio of the newly designed optical fiber line according to the proportion of the unavailable nodes in the plurality of second nodes.
[0083] S6: If the unavailable ratio is too high, the newly designed optical fiber line is adjusted according to the unavailable ratio. The adjusted optical fiber line is deployed on site to be added to the optical fiber communication network, thereby expanding the capacity of the optical fiber communication network.
[0084] In this exemplary application, 3D geographic information for each node is written into a KML file. For example, the three basic pieces of information, longitude, latitude, and altitude, are identified in the placemark. Resource configuration information for each node is also written into the KML file, such as the availability of resources and their usage (cable, fiber, and core usage) in the description. Time stamp information for the fiber line is also written into the KML file, such as the design time, completion time, and whether the service life has expired in the timestamp. This allows subsequent fiber line design to be directly compared with the placemark's latitude, longitude, and altitude to determine the overlap between the newly designed fiber line and the existing fiber communication network, reducing the risk of simultaneous outages caused by overlapping line construction, which is unavailable in CAD fiber resource management systems. The 3D geographic information based on the placemark also allows for rapid identification of fault points and restoration of communications. The description and timestamp also ensure sufficient reserve capacity during capacity expansion, improving expansion efficiency. All of this determination eliminates the need for traditional manual on-site surveys and trial-and-error, further reducing costs and increasing efficiency.
[0085] Example 2 Figure 7 The block diagram of the expansion device of the optical fiber communication network according to the second embodiment of the present application is schematically shown. The device can be divided into one or more program modules, one or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiment of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. Figure 7 As shown, the apparatus 1000 may include: an acquisition module 1100, a determination module 1200, and an expansion module 1300, wherein: An acquisition module 1100 is configured to acquire a first KML file and a second KML file; wherein the first KML file includes three-dimensional geographic information of an already deployed optical fiber communication network, and the second KML file includes three-dimensional geographic information of a newly designed optical fiber line; A determination module 1200 is configured to determine an unusable ratio of the newly designed optical fiber line based on the three-dimensional geographic information of the laid optical fiber communication network and the three-dimensional geographic information of the newly designed optical fiber line; The expansion module 1300 is used to adjust the newly designed optical fiber line according to the unavailable ratio and lay out the adjusted optical fiber line to add it to the optical fiber communication network; wherein the unavailable ratio of the adjusted optical fiber line is lower than a first preset threshold.
[0086] As an optional embodiment, the deployed optical fiber communication network includes a plurality of first nodes, and the first KML file includes three-dimensional geographic information of the plurality of first nodes; the newly designed optical fiber line includes a plurality of second nodes, and the second KML file includes three-dimensional geographic information of the plurality of second nodes; Correspondingly, determining the unavailable ratio of the newly designed optical fiber line according to the three-dimensional geographic information of the laid optical fiber communication network and the three-dimensional geographic information of the newly designed optical fiber line includes: determining, based on the three-dimensional geographic information of the plurality of first nodes and the three-dimensional geographic information of the plurality of second nodes, a degree of matching between the plurality of first nodes and the plurality of second nodes; determining, according to the matching degree, an unavailable node among the plurality of second nodes; An unavailable ratio of the newly designed optical fiber line is determined based on the unavailable nodes in the plurality of second nodes.
[0087] As an optional embodiment, determining an unavailable node among the plurality of second nodes according to the matching degree includes: For each second node, determining whether there is a first node whose matching degree with the second node is higher than a second preset threshold; In a case where there is a first node whose matching degree is higher than a second preset threshold, the second node is determined as the unavailable node.
[0088] As an optional embodiment, the second KML file further includes time identification information of the plurality of second nodes, where the time identification information is used to indicate whether the corresponding second node exceeds the service life; Correspondingly, determining an unavailable node among the plurality of second nodes according to the matching degree includes: For each second node, determining whether there is a first node whose matching degree with the second node is higher than a second preset threshold; If there is a first node with a matching degree higher than a second preset threshold, obtaining time identification information of the second node; determining, based on the time identification information, whether the second node exceeds a service life; When the service life of the second node has not exceeded, the second node is determined as the unavailable node.
[0089] As an optional embodiment, the second KML file further includes resource configuration information of the plurality of second nodes, where the resource configuration information is used to indicate whether the corresponding second node has available resources; Correspondingly, determining an unavailable node among the plurality of second nodes according to the matching degree further includes: In the absence of a match degree higher than the second preset threshold, obtaining resource configuration information of the second node; determining, according to the resource configuration information, whether the second node has available resources; In a case where the second node has no available resources, the second node is determined as the unavailable node.
[0090] As an optional embodiment, the second KML file is obtained by the following operations: Acquire three-dimensional geographic information, resource configuration information, and time identification information of the plurality of second nodes; Creating corresponding geographic tag tags, description tags, and timestamp tags for the plurality of second nodes respectively; For each second node, the three-dimensional geographic information is written into the geographic mark tag, the resource configuration information is written into the description tag, and the time identification information is written into the timestamp tag to obtain the second XML file.
[0091] As an optional embodiment, the three-dimensional geographic information includes: longitude, latitude and altitude; Correspondingly, determining the matching degree between the plurality of first nodes and the plurality of second nodes according to the three-dimensional geographic information of the plurality of first nodes and the three-dimensional geographic information of the plurality of second nodes includes: For each second node, determining a distance between the second node and each first node, wherein the distance is used to represent a matching degree; The distance is determined by comparing the longitude, latitude and altitude corresponding to the second node and the first node respectively.
[0092] Example 3 Figure 8 The following schematically shows the hardware architecture of a computer device 10000 suitable for implementing the method for expanding the capacity of an optical fiber communication network according to the third embodiment of the present application. In some embodiments, the computer device 10000 may be a terminal device such as a smartphone, a wearable device, a tablet computer, a personal computer, a vehicle-mounted terminal, a game console, a virtual device, a workbench, a digital assistant, a set-top box, a robot, etc. In other embodiments, the computer device 10000 may be a rack server, a blade server, a tower server, or a cabinet server (including an independent server or a server cluster composed of multiple servers), etc. Figure 8 As shown, the computer device 10000 includes but is not limited to: a memory 10010, a processor 10020, and a network interface 10030 that can communicate with each other via a system bus. Memory 10010 includes at least one type of computer-readable storage medium, including flash memory, a hard disk, a multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic storage, a magnetic disk, an optical disk, and the like. In some embodiments, memory 10010 may be an internal storage module of computer device 10000, such as a hard disk or memory of computer device 10000. In other embodiments, memory 10010 may also be an external storage device of computer device 10000, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, and the like equipped on computer device 10000. Of course, memory 10010 may also include both internal storage modules and external storage devices of computer device 10000. In this embodiment, the memory 10010 is generally used to store the operating system and various application software installed on the computer device 10000, such as the program code of the method for expanding the capacity of the optical fiber communication network. In addition, the memory 10010 can also be used to temporarily store various data that has been output or will be output.
[0093] In some embodiments, processor 10020 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chips. Processor 10020 is typically used to control the overall operation of computer device 10000, such as performing control and processing related to data exchange or communication with computer device 10000. In this embodiment, processor 10020 is used to execute program code stored in memory 10010 or process data.
[0094] Network interface 10030 may include a wireless network interface or a wired network interface. Network interface 10030 is typically used to establish a communication link between computer device 10000 and other computer devices. For example, network interface 10030 is used to connect computer device 10000 to an external terminal via a network, establishing a data transmission channel and a communication link between computer device 10000 and the external terminal. The network may be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile Communications (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth, or Wi-Fi.
[0095] It should be pointed out that Figure 8 Only a computer device having components 10010 - 10030 is shown, but it should be understood that implementing all of the shown components is not a requirement, and more or fewer components may alternatively be implemented.
[0096] In this embodiment, the method for expanding the optical fiber communication network stored in the memory 10010 can also be divided into one or more program modules and executed by one or more processors (such as processor 10020) to complete the embodiment of the present application.
[0097] Example 4 An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the method for expanding the capacity of the optical fiber communication network in the embodiment are implemented.
[0098] In this embodiment, computer-readable storage media include flash memory, hard disks, multimedia cards, card-type memories (e.g., SD or DX memories), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic storage, magnetic disks, optical disks, and the like. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as the computer device's hard disk or memory. In other embodiments, the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, and the like. Of course, the computer-readable storage medium may also include both the internal storage unit and external storage devices of the computer device. In this embodiment, the computer-readable storage medium is typically used to store the operating system and various application software installed on the computer device, such as the program code for the fiber optic communication network expansion method described in the embodiment. In addition, the computer-readable storage medium may also be used to temporarily store various types of data that has been output or is about to be output.
[0099] Example 5 An embodiment of the present application further provides a computer program product, including a computer program, which implements the method in the above embodiment when executed by a processor.
[0100] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented using general-purpose computer devices. They can be concentrated on a single computer device or distributed on a network composed of multiple computer devices. Alternatively, they can be implemented using program codes executable by the computer device, so that they can be stored in a storage device and executed by the computer device. In some cases, the steps shown or described can be performed in a different order than herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0101] It should be noted that the above are only preferred embodiments of the present application and do not limit the scope of patent protection of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the scope of patent protection of the present application.< / timestamp> < / description> < / placemark> < / description> < / timestamp> < / placemark> < / placemark> < / networklink> < / document> < / folder> < / polystye> < / linestyle> < / iconstyle> < / latlonbox> < / lookat> < / timestamp> < / description> < / description> < / coordinate> < / polygon> < / linestring> < / point> < / name> < / placemark> < / placemark>
Claims
1. A method for expanding the capacity of an optical fiber communication network, characterized in that: The method comprises: Obtaining a first KML file and a second KML file; wherein the first KML file includes three-dimensional geographic information of the deployed optical fiber communication network, and the second KML file includes three-dimensional geographic information of the newly designed optical fiber line; Determining an unusable ratio of the newly designed optical fiber line based on the three-dimensional geographic information of the laid optical fiber communication network and the three-dimensional geographic information of the newly designed optical fiber line; The newly designed optical fiber line is adjusted according to the unavailable ratio, and the adjusted optical fiber line is deployed to be added to the optical fiber communication network; wherein the unavailable ratio of the adjusted optical fiber line is lower than a first preset threshold.
2. The method according to claim 1, characterized in that The deployed optical fiber communication network includes a plurality of first nodes, and the first KML file includes three-dimensional geographic information of the plurality of first nodes; the newly designed optical fiber line includes a plurality of second nodes, and the second KML file includes three-dimensional geographic information of the plurality of second nodes; Correspondingly, determining the unavailable ratio of the newly designed optical fiber line according to the three-dimensional geographic information of the laid optical fiber communication network and the three-dimensional geographic information of the newly designed optical fiber line includes: determining, based on the three-dimensional geographic information of the plurality of first nodes and the three-dimensional geographic information of the plurality of second nodes, a degree of matching between the plurality of first nodes and the plurality of second nodes; determining, according to the matching degree, an unavailable node among the plurality of second nodes; An unavailable ratio of the newly designed optical fiber line is determined based on the unavailable nodes in the plurality of second nodes.
3. The method according to claim 2, characterized in that Determining, according to the matching degree, an unavailable node among the plurality of second nodes, comprising: For each second node, determining whether there is a first node whose matching degree with the second node is higher than a second preset threshold; In a case where there is a first node whose matching degree is higher than a second preset threshold, the second node is determined as the unavailable node.
4. The method according to claim 2, characterized in that The second KML file further includes time identification information of the plurality of second nodes, where the time identification information is used to indicate whether the corresponding second node has exceeded its service life; Correspondingly, determining an unavailable node among the plurality of second nodes according to the matching degree includes: For each second node, determining whether there is a first node whose matching degree with the second node is higher than a second preset threshold; If there is a first node with a matching degree higher than a second preset threshold, obtaining time identification information of the second node; determining, based on the time identification information, whether the second node exceeds a service life; When the service life of the second node has not exceeded, the second node is determined as the unavailable node.
5. The method according to claim 3 or 4, characterized in that The second KML file further includes resource configuration information of the plurality of second nodes, where the resource configuration information is used to indicate whether the corresponding second node has available resources; Correspondingly, determining an unavailable node among the plurality of second nodes according to the matching degree further includes: In the absence of a match degree higher than the second preset threshold, obtaining resource configuration information of the second node; determining, according to the resource configuration information, whether the second node has available resources; In a case where the second node has no available resources, the second node is determined as the unavailable node.
6. The method according to claim 2, characterized in that The second KML file is obtained by the following operations: Acquire three-dimensional geographic information, resource configuration information, and time identification information of the plurality of second nodes; Creating corresponding geographic tag tags, description tags, and timestamp tags for the plurality of second nodes respectively; For each second node, the three-dimensional geographic information is written into the geographic mark tag, the resource configuration information is written into the description tag, and the time identification information is written into the timestamp tag to obtain the second XML file.
7. The method according to claim 2, characterized in that The three-dimensional geographic information includes: longitude, latitude and altitude; Correspondingly, determining the matching degree between the plurality of first nodes and the plurality of second nodes according to the three-dimensional geographic information of the plurality of first nodes and the three-dimensional geographic information of the plurality of second nodes includes: For each second node, determining a distance between the second node and each first node, wherein the distance is used to represent a matching degree; The distance is determined by comparing the longitude, latitude and altitude corresponding to the second node and the first node respectively.
8. A device for expanding the capacity of an optical fiber communication network, characterized in that: The device comprises: An acquisition module, configured to acquire a first KML file and a second KML file; wherein the first KML file includes three-dimensional geographic information of an already laid optical fiber communication network, and the second KML file includes three-dimensional geographic information of a newly designed optical fiber line; a determination module, configured to determine an unavailable ratio of the newly designed optical fiber line based on the three-dimensional geographic information of the laid optical fiber communication network and the three-dimensional geographic information of the newly designed optical fiber line; An expansion module is used to adjust the newly designed optical fiber line according to the unavailable ratio and lay out the adjusted optical fiber line to add it to the optical fiber communication network; wherein the unavailable ratio of the adjusted optical fiber line is lower than a first preset threshold.
9. A computer device, characterized in that: include: at least one processor; and a memory communicatively coupled to the at least one processor; wherein: The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, which, when executed by a processor, implement the method according to any one of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to claims 1 to 7 are implemented.