Optical fiber display method and device, computer storage medium, electronic equipment

By marking the latitude and longitude information and connection relationships of optical cable routes on GIS maps, the problem of unintuitive display of optical cable paths has been solved, and synchronous updates and management of optical cable paths have been achieved.

CN115827744BActive Publication Date: 2026-05-19CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA TELECOM CORP LTD
Filing Date
2022-12-23
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In existing technologies, optical cable route management relies on paper materials or forms, which cannot intuitively and vividly display the optical cable route, and cannot be updated in a timely manner after the construction or optimization of the optical cable route.

Method used

By acquiring the latitude and longitude information of the optical cable route, the target points of the optical cable route are marked on the GIS map, and the connection relationship between the target points is displayed, so as to realize the intuitive display and synchronous update of the optical cable route.

Benefits of technology

It achieves a vivid and intuitive display of the optical cable path, avoids reliance on paper materials, and supports real-time updates of the optical cable path.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115827744B_ABST
    Figure CN115827744B_ABST
Patent Text Reader

Abstract

This disclosure belongs to the field of optical fiber transmission cable technology, and relates to an optical fiber cable display method and apparatus, storage medium, and electronic device. The method includes: acquiring optical fiber cable attribute information for different optical fiber cable paths in a target area; the optical fiber cable attribute information includes latitude and longitude information of the optical fiber cable routes corresponding to different optical fiber cable paths; displaying a GIS map corresponding to the target area; marking target points corresponding to the optical fiber cable routes in the GIS map based on the latitude and longitude information; and displaying the target connection relationships between the target points in the GIS map marked with the target points based on the optical fiber cable paths, thereby displaying different optical fiber cable paths on the GIS map. In this disclosure, by marking target points corresponding to the optical fiber cable routes on the GIS map based on latitude and longitude information and displaying the target connection relationships between the target points based on the optical fiber cable paths, the method avoids the reliance on table files to store optical fiber cable route information in the prior art, thus improving the display effect of the optical fiber cable paths.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of optical fiber transmission technology, and in particular to an optical fiber display method and device, a computer-readable storage medium, and an electronic device. Background Technology

[0002] Optical communication can be achieved through optical cables, which is a type of wired communication. Based on this, communication between different locations can be achieved by laying optical cables in different locations.

[0003] In related technologies, since optical cables are considered "dumb" resources, their management is mainly done manually. The optical cable routes rely on paper materials or forms for management, which makes it impossible to display the optical cable routes to staff in a clear and intuitive way. Furthermore, it is impossible to update the optical cable information in a timely manner when new optical cables are built or when the optical cable is optimized and rerouted.

[0004] Therefore, there is an urgent need in the field to develop a new optical fiber display method and device.

[0005] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0006] The purpose of this disclosure is to provide a method, device, computer-readable storage medium, and electronic device for displaying optical cables, thereby overcoming, to some extent, the problem that related technologies cannot intuitively and vividly display the optical cable path to workers.

[0007] Other features and advantages of this disclosure will become apparent from the following detailed description, or may be learned in part from practice of this disclosure.

[0008] According to a first aspect of the present invention, a method for displaying optical cables is provided. The method includes: acquiring optical cable attribute information of different optical cable paths in a target area; the optical cable attribute information including latitude and longitude information of optical cable routes corresponding to the different optical cable paths; displaying a GIS map corresponding to the target area; marking target points corresponding to the optical cable routes in the GIS map based on the latitude and longitude information; and displaying target connection relationships between the target points in the GIS map marked with the target points based on the optical cable paths, so as to display the different optical cable paths on the GIS map.

[0009] According to a second aspect of the present invention, an optical cable display device is provided. The device includes: an acquisition module configured to acquire optical cable attribute information of different optical cable paths in a target area; the optical cable attribute information includes latitude and longitude information of optical cable routes corresponding to the different optical cable paths; a first display module configured to display a GIS map corresponding to the target area, and based on the latitude and longitude information, mark target points corresponding to the optical cable routes in the GIS map; and a second display module configured to display target connection relationships between the target points in the GIS map marked with the target points based on the optical cable paths, so as to display the different optical cable paths on the GIS map.

[0010] According to a third aspect of the present invention, an electronic device is provided, comprising: a processor and a memory; wherein the memory stores computer-readable instructions, which, when executed by the processor, implement the optical fiber display method of any of the above exemplary embodiments.

[0011] According to a fourth aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the optical fiber display method in any of the above exemplary embodiments.

[0012] As can be seen from the above technical solutions, the optical fiber display method, optical fiber display device, computer storage medium, and electronic device in the exemplary embodiments of the present invention have at least the following advantages and positive effects:

[0013] In the methods and apparatus provided in the exemplary embodiments of this disclosure, the optical cable attribute information includes the latitude and longitude information of the optical cable routes corresponding to different optical cable paths. Based on the latitude and longitude information, target points corresponding to the optical cable routes are marked on the GIS map, and the target connection relationship between the target points is displayed based on the optical cable paths. On the one hand, this avoids the situation in the prior art where optical cable route-related information is stored in paper materials or tabular documents, making the display of optical cable paths more vivid and intuitive. On the other hand, if the optical cable path is newly built or optimized, only the latitude and longitude information needs to be re-acquired, and the updated or optimized optical cable path can be displayed on the GIS map, thus achieving synchronous updating.

[0014] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0016] Figure 1 The schematic diagram illustrates a flowchart of the optical fiber display method in an embodiment of this disclosure;

[0017] Figure 2 This schematically illustrates the display of a GIS map corresponding to the target area C in the optical fiber display method of this embodiment of the present disclosure;

[0018] Figure 3 This schematic diagram illustrates the process of displaying the target connection relationship between target points in a GIS map marked with target points based on the optical cable path in the optical cable display method of this disclosure embodiment;

[0019] Figure 4 This schematic diagram illustrates the process of displaying different optical cable paths on a GIS map in the optical cable display method of this embodiment of the present disclosure;

[0020] Figure 5 This schematically illustrates the optical cable attribute information of optical cable path L-2 in the optical cable display method of this embodiment of the present disclosure;

[0021] Figure 6 This schematic diagram illustrates the process of displaying different optical cable paths on a GIS map in the optical cable display method of this embodiment of the present disclosure;

[0022] Figure 7 This schematically illustrates two optical cable paths in the target area D of the optical cable display method according to an embodiment of the present disclosure;

[0023] Figure 8 This schematic diagram illustrates the process of determining a target optical cable route with the same latitude and longitude information in the first optical cable path and the second optical cable path in the optical cable display method of the present disclosure embodiment.

[0024] Figure 9 This schematic diagram illustrates the process of determining multiple target optical cable routes as co-routes between a first optical cable path and a second optical cable path in the optical cable display method of this embodiment of the present disclosure.

[0025] Figure 10 This illustration schematically shows a GIS map in an application scenario of this disclosure.

[0026] Figure 11 This schematic diagram illustrates the structure of an optical fiber display device according to an embodiment of the present disclosure;

[0027] Figure 12 An electronic device for an optical fiber display method is illustrated schematically in an embodiment of this disclosure;

[0028] Figure 13 The illustration schematically shows a computer-readable storage medium for an optical fiber display method according to an embodiment of the present disclosure. Detailed Implementation

[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more of the specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.

[0030] The terms “a,” “an,” “the,” and “the” are used in this specification to indicate the presence of one or more elements / components / etc.; the terms “including” and “having” are used to indicate an open-ended inclusion and to mean that there may be other elements / components / etc. in addition to the listed elements / components / etc.; the terms “first” and “second” are used only as markings and are not a limitation on the number of objects.

[0031] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities.

[0032] In view of the problems existing in the related technologies, this disclosure proposes an optical fiber display method. Figure 1 A flowchart illustrating the optical fiber display method is shown, such as... Figure 1 As shown, the optical fiber display method includes at least the following steps:

[0033] Step S110. Obtain optical cable attribute information for different optical cable paths in the target area; the optical cable attribute information includes the latitude and longitude information of the optical cable routes corresponding to different optical cable paths.

[0034] Step S120. Display the GIS map corresponding to the target area. Based on latitude and longitude information, mark the target points corresponding to the optical cable route in the GIS map.

[0035] Step S130. Based on the optical cable path, display the target connection relationship between the target points in the GIS map marked with the target points, so as to display different optical cable paths on the GIS map.

[0036] In the methods and apparatus provided in the exemplary embodiments of this disclosure, the optical cable attribute information includes the latitude and longitude information of the optical cable routes corresponding to different optical cable paths. Based on the latitude and longitude information, target points corresponding to the optical cable routes are marked on the GIS map, and the target connection relationship between the target points is displayed based on the optical cable paths. On the one hand, this avoids the situation in the prior art where optical cable route-related information is stored in paper materials or tabular documents, making the display of optical cable paths more vivid and intuitive. On the other hand, if the optical cable path is newly built or optimized, only the latitude and longitude information needs to be re-acquired, and the updated or optimized optical cable path can be displayed on the GIS map, thus achieving synchronous updating.

[0037] In step S110, optical cable attribute information of different optical cable paths in the target area is obtained; the optical cable attribute information includes the latitude and longitude information of the optical cable routes corresponding to different optical cable paths.

[0038] In the exemplary embodiments of this disclosure, the target area can be any area where optical cables are laid. Specifically, the target area can be a city, a province, multiple cities within a province, or multiple provinces within a country. This exemplary embodiment does not impose any special limitations on this.

[0039] The optical cable path refers to the path of the optical cable laid in the target area. For example, if an optical cable is laid from point A to point B in province X, and another optical cable is laid from point C to point D in province X, then there are two optical cable paths in the target area, namely the optical cable path from point A to point B and the optical cable path from point C to point D.

[0040] It is worth noting that there are multiple optical cable routes along the optical cable path. For example, if there are 10 support facilities along the optical cable path from point A to point B, then these 10 support facilities constitute the optical cable routes along the optical cable path from point A to point B.

[0041] Smart Optical Network refers to an operational software developed by China Telecom to help employees record tag migrations and perform a series of services such as optical cable inspection. Optical cable attribute information can be obtained from the Smart Optical Network. Based on this, if the optical cable is updated or optimized, the latest optical cable attribute information can also be obtained from the Smart Optical Network. Specifically, the optical cable attribute information can include the longitude and latitude information of the optical cable route along the optical cable path.

[0042] For example, the target area is the region where Province C is located. The optical cable attribute information for the three optical cable routes laid in Province C can be obtained from the smart optical network. Specifically, the optical cable attribute information includes the longitude and latitude information of the optical cable routes corresponding to these three optical cable routes.

[0043] In this exemplary embodiment, optical cable attribute information for different optical cable paths in the target area is obtained. Specifically, the optical cable attribute information includes the latitude and longitude information of the optical cable routes on different optical cable paths. This helps to mark the target points corresponding to the optical cable routes on the GIS map using the latitude and longitude information, thereby displaying the optical cable paths on the GIS map more intuitively and vividly.

[0044] In step S120, a GIS map corresponding to the target area is displayed, and the target points corresponding to the optical cable route are marked on the GIS map based on latitude and longitude information.

[0045] In the exemplary embodiments of this disclosure, a GIS (Geographic Information Science) map refers to a technical system that, supported by computer hardware and software systems, collects, stores, processes, analyzes, displays, and describes geographic distribution data in the entire or part of the Earth's surface (including the atmosphere). Based on this, a GIS map can be displayed representing the portion corresponding to a target area, for example, displaying a GIS map representing the portion corresponding to Province C.

[0046] The target point refers to the point marked and displayed on the GIS map that corresponds to the optical cable route in the optical cable path. It is worth noting that the location of the target point displayed in the GIS is determined based on the latitude and longitude information of the optical cable route. Therefore, at this time, the target point marked in the GIS corresponds to the optical cable route on the optical cable path.

[0047] For example, Figure 2 The illustration schematically shows a GIS map corresponding to the target area C in an embodiment of this disclosure. Assuming there are three optical cable paths in the target area C, taking one of these paths as an example, based on the 30 latitude and longitude coordinates corresponding to 30 optical cable routes along that path, it is possible to... Figure 2 The text marks the 30 target points corresponding to these 30 latitude and longitude coordinates.

[0048] In this exemplary embodiment, target points corresponding to the optical cable route are marked on the GIS map based on latitude and longitude information. This helps to determine the target connection relationship between the target points and display the target connection relationship on the GIS map so as to intuitively and vividly display the optical cable path on the GIS map.

[0049] In step S130, based on the optical cable path, the target connection relationship between the target points is displayed in the GIS map marked with the target points, so as to display different optical cable paths on the GIS map.

[0050] In the exemplary embodiments of this disclosure, the target connection relationship refers to the connection relationship between target points. Through the target connection relationship, the link relationship between one target point and another can be determined. After the target connection relationship is determined, it can be displayed as a curve on a GIS map marked with target points to show the optical cable path on the GIS map.

[0051] For example, the target point corresponding to fiber optic route #01 on the GIS map is marked as M-1, the target point corresponding to fiber optic route #02 on the GIS map is marked as M-2, and so on. The target point corresponding to fiber optic route #10 on the GIS map is marked as M-10. Based on this, the target connection relationships can be determined as follows: target point M-1 is connected to target point M-2, target point M-2 is connected to target point M-3, target point M-3 is connected to target point M-4, target point M-4 is connected to target point M-5, target point M-5 is connected to target point M-6, target point M-6 is connected to target point M-7, target point M-7 is connected to target point M-8, target point M-8 is connected to target point M-9, and target point M-9 is connected to target point M-10. According to the above target connection relationships, a fiber optic route from fiber optic route #01 to fiber optic route #10 can be displayed on the GIS map.

[0052] In an optional embodiment, Figure 3 This diagram illustrates a process in the fiber optic cable display method that, based on the fiber optic cable path, displays the connection relationships between target points on a GIS map marked with target points. Figure 3 As shown, the method includes at least the following steps: In step S310, based on the optical cable path, the first connection relationship between optical cable routes on different optical cable paths is determined.

[0053] The first connection relationship refers to the connection relationship of optical cable routes on the optical cable path. For example, suppose there are 10 optical cable routes in optical cable path L-1, namely optical cable route #01, optical cable route #02, optical cable route #03 to optical cable route #10.

[0054] The first connection relationship refers to the connection between optical cable route #01 and optical cable route #02, optical cable route #02 and optical cable route #03, optical cable route #03 and optical cable route #04, optical cable route #04 and optical cable route #05, optical cable route #05 and optical cable route #06, optical cable route #06 and optical cable route #07, optical cable route #07 and optical cable route #08, optical cable route #08 and optical cable route #09, and optical cable route #09 and optical cable route #10.

[0055] In step S320, the target connection relationship between target points is determined based on the first connection relationship.

[0056] Since the target points correspond to the optical cable routes on the optical cable path, the target connection relationships between the target points can be determined according to the first connection relationship.

[0057] For example, suppose there are 10 optical cable routes in optical cable path L-1, namely optical cable route #01, optical cable route #02, optical cable route #03 to optical cable route #10.

[0058] The first connection relationship refers to the connection between optical cable route #01 and optical cable route #02, optical cable route #02 and optical cable route #03, optical cable route #03 and optical cable route #04, optical cable route #04 and optical cable route #05, optical cable route #05 and optical cable route #06, optical cable route #06 and optical cable route #07, optical cable route #07 and optical cable route #08, optical cable route #08 and optical cable route #09, and optical cable route #09 and optical cable route #10.

[0059] The target point corresponding to fiber optic cable route #01 is marked as M-1 on the GIS map, the target point corresponding to fiber optic cable route #02 is marked as M-2, and so on. The target point corresponding to fiber optic cable route #10 is marked as M-10 on the GIS map. Based on this, the target connection relationships can be determined as follows: target point M-1 is connected to target point M-2, target point M-2 is connected to target point M-3, target point M-3 is connected to target point M-4, target point M-4 is connected to target point M-5, target point M-5 is connected to target point M-6, target point M-6 is connected to target point M-7, target point M-7 is connected to target point M-8, target point M-8 is connected to target point M-9, and target point M-9 is connected to target point M-10.

[0060] In step S330, the target connection relationship between target points is displayed on the GIS map marked with target points.

[0061] Once the connection relationships between target points are determined, these relationships can be displayed on a GIS map marked with the target points. Specifically, the connection relationships can be displayed in the form of curves to visually and vividly show the fiber optic cable path on the GIS map.

[0062] In this exemplary embodiment, the target connection relationship between target points is determined based on the first connection relationship between optical cable routes on the optical cable path, and the target connection relationship between target points is displayed on the GIS map marked with the target points, so as to intuitively and vividly display the optical cable path on the GIS map.

[0063] In an optional embodiment, Figure 4 This diagram illustrates the process of displaying different optical cable routes on a GIS map in the optical cable display method. The optical cable attribute information also includes information on the supporting facilities corresponding to the optical cable routes, such as... Figure 4 As shown, the method includes at least the following steps: in step S410, the target point corresponding to the optical cable route is determined, and the display position of the target point in the GIS map is determined.

[0064] The optical cable attribute information also includes supporting facility information, which refers to relevant information about the supporting facilities corresponding to the optical cable route. Specifically, the supporting facility information can be the name of the supporting facility corresponding to the optical cable route, the type of supporting facility corresponding to the optical cable route, or the code of the supporting facility corresponding to the optical cable route. This exemplary embodiment does not impose any special limitations on this. The display location refers to the display location of the target point on the GIS map.

[0065] For example, Figure 5The schematic illustration shows the optical cable attribute information of optical cable path L-2 in an exemplary embodiment of this disclosure. For example... Figure 5 The first column represents the sequence number, which corresponds to the first connection relationship between different optical cable routes in optical cable path L-2. Specifically, optical cable path L-2 starts from optical cable route with sequence number A, connects to optical cable route with sequence number 1, then connects to optical cable route with sequence number 2, and so on, until it connects to optical cable route with sequence number 27, and finally connects to optical cable route with sequence number Z.

[0066] The second column represents the name of the supporting facility corresponding to different optical cable routes in optical cable path L-2; the third column represents the code of the supporting facility corresponding to different optical cable routes in optical cable path L-2; the fourth column represents the type of supporting facility corresponding to different optical cable routes in optical cable path L-2; the fifth column represents the longitude information corresponding to different optical cable routes in optical cable path L-2; and the sixth column represents the latitude information corresponding to different optical cable routes in optical cable path L-2.

[0067] For example, there are currently 10 target points in the GIS map, and the display positions of these 10 target points in the GIS map are P-1, P-2 to P-10 respectively.

[0068] In step S420, based on the display location, the supporting facility information corresponding to the optical cable route is displayed in the GIS map.

[0069] Based on the display location, the target display location of the supporting facility information can be determined in the GIS map, and then the supporting facility information can be displayed at the target display location. Specifically, the target display location can be above, to the right, below, or to the left of the adjacent display location. This exemplary embodiment does not impose any special limitations on this.

[0070] For example, the supporting infrastructure information could specifically be the type of support implementation for the fiber optic cable route. There are currently 10 target points on the GIS map, displayed at locations P-1, P-2, and so on, up to P-10.

[0071] Based on this, the position P-X1 directly above display position P-1 is determined, the position P-X2 directly above display position P-2 is determined, and so on, until the position P-X10 directly above display position P-10 is determined. Then, the corresponding support implementation types for each of the 10 optical cable routes are displayed at positions P-X1, P-X2, P-X3, P-X4, P-X5, P-X6, P-X7, P-X8, P-X9, and P-X10, respectively.

[0072] In this exemplary embodiment, after displaying different optical cable routes on the GIS map, the supporting facility information corresponding to the optical cable routes is also displayed on the GIS map. This allows staff to obtain the supporting facility information for different optical cable routes by viewing the GIS map displaying the optical cable routes, increasing the intuitiveness and convenience of obtaining the supporting facility information.

[0073] In an optional embodiment, Figure 6 The diagram illustrates the process of displaying different optical cable paths on a GIS map in the optical cable display method, such as... Figure 6 As shown, the method includes at least the following steps: in step S610, a first optical cable path and a second optical cable path are determined among different optical cable paths.

[0074] The first optical cable path refers to one of the different optical cable paths, while the second optical cable path also belongs to different optical cable paths, but is different from the first optical cable path.

[0075] For example, if there are three optical cable paths in the target area Z, namely optical cable path L-3, optical cable path L-4, and optical cable path L-5, then the first optical cable path can be optical cable path L-3, and the corresponding second optical cable path can be optical cable path L-4; or the first optical cable path can be optical cable path L-3, and the corresponding second optical cable path can be optical cable path L-5.

[0076] In step S620, according to the first connection relationship corresponding to the first optical cable path, the optical cable route distance between a first optical cable route in the first optical cable path and all optical cable routes in the second optical cable path is calculated in sequence.

[0077] Here, the first connection relationship refers to the connection relationship between optical cable routes corresponding to the first optical cable path. The connection order between optical cable routes can be known through the first connection relationship. Based on this connection order, the distance between an optical cable route on the first optical cable path (i.e., the first optical cable route) and all optical cable routes in the second optical cable (i.e., the optical cable route distance) is calculated sequentially.

[0078] For example, Figure 7 The illustration schematically shows two optical cable paths in target area D in this embodiment of the present disclosure, specifically optical cable path L-6 (the first optical cable path) and optical cable path L-7 (the second optical cable path). Figure 7As shown, the connection sequence of optical cable path L-6 is optical cable route #01, optical cable route #02, optical cable route #03, optical cable route #04, optical cable route #05, optical cable route #06, optical cable route #07, optical cable route #08, optical cable route #09, optical cable route #010, optical cable route #011, and optical cable route #012-1. The connection sequence of optical cable path L-7 is optical cable route #01-1, optical cable route #01, optical cable route #02, optical cable route #03, optical cable route #04, optical cable route #05, optical cable route #06, optical cable route #07, optical cable route #08-1, optical cable route #09, optical cable route #010, optical cable route #011, and optical cable route #012.

[0079] It is worth noting that although there are optical cable routes with the same supporting facility name in the first optical cable path L-6 and the second optical cable path L-7 (for example, optical cable route #02 in the first optical cable path and optical cable route #02 in the second optical cable path L-7 have the same supporting facility name #02), the latitude and longitude information of the optical cable routes with the same supporting facility name may be different. Based on this, the optical cable route distances between optical cable route #01 in the first optical cable path L-6 and all optical cable routes in the second optical cable path L-7 are calculated. Then, the optical cable route distances between optical cable route #02 in the first optical cable path L-6 and all optical cable routes in the second optical cable path L-7 are calculated, until the optical cable route distances between optical cable route #012 in the first optical cable path L-6 and all optical cable routes in the second optical cable path L-7 are calculated.

[0080] It is worth noting that, during the calculation of optical cable route distance, if optical cable route #02 in the first optical cable path and optical cable route #02 in the second optical cable path are found to have the same latitude and longitude information, then when calculating the optical cable route distance between optical cable route #03 in the first optical cable path and all optical cable routes in the second optical cable path, it is not necessary to calculate the optical cable route distance between optical cable route #03 in the first optical cable path and optical cable route #02 in the second optical cable path, so as to improve the efficiency of calculating the optical cable route distance.

[0081] In step S630, a target optical cable route with similar latitude and longitude information is determined in the first optical cable path and the second optical cable path based on the optical cable route distance.

[0082] Among them, based on the optical cable route distance, it can be determined which optical cable route in the first optical cable path and which optical cable route in the second optical cable path have similar latitude and longitude information.

[0083] For example, based on the optical cable route distance, it can be determined that optical cable route #02 in the first optical cable path L-6 has the same latitude and longitude information as optical cable route #02 in the second optical cable path L-7; optical cable route #03 in the first optical cable path L-6 has the same latitude and longitude information as optical cable route #03 in the second optical cable path L-7; optical cable route #04 in the first optical cable path L-6 has the same latitude and longitude information as optical cable route #04 in the second optical cable path L-7; optical cable route #05 in the first optical cable path L-6 has the same latitude and longitude information as optical cable route #05 in the second optical cable path L-7; and optical cable route #0... 6 has the same latitude and longitude information as optical cable route #06 in the second optical cable path L-7; optical cable route #07 in the first optical cable path L-6 has the same latitude and longitude information as optical cable route #07 in the second optical cable path L-7; optical cable route #09 in the first optical cable path L-6 has the same latitude and longitude information as optical cable route #09 in the second optical cable path L-7; optical cable route #010 in the first optical cable path L-6 has the same latitude and longitude information as optical cable route #010 in the second optical cable path L-7; and optical cable route #011 in the first optical cable path L-6 has the same latitude and longitude information as optical cable route #011 in the second optical cable path L-7.

[0084] Based on this, optical cable route #02 in the first optical cable path L-6 and optical cable route #02 in the second optical cable path L-7 are target optical cable routes with similar latitude and longitude information. Similarly, several other target optical cable routes can also be determined.

[0085] In step S640, if there are multiple target optical cable routes in the first optical cable path or the second optical cable path, and the multiple target optical cable routes have a first connection relationship, then the multiple target optical cable routes are determined to be co-routes between the first optical cable path and the second optical cable path.

[0086] If there are multiple target optical cable routes in the first optical cable path or the second optical cable path, and there is a first connection relationship between the multiple target optical cable routes, then these multiple target optical cable routes can be determined to be the same route.

[0087] For example, there are nine target optical cable routes in the first optical cable path: optical cable route #02, optical cable route #03, optical cable route #04, optical cable route #05, optical cable route #06, optical cable route #07, optical cable route #09, optical cable route #010, and optical cable route #011. Furthermore, optical cable routes #02, #03, #04, #05, #06, and #07 have a first connection relationship, as do optical cable routes #09, #010, and #011.

[0088] Based on this, the co-routes in the first optical cable path and the second optical cable path can be determined. Specifically, the co-routes are optical cable routes #02, #03, #04, #05, #06, #07, #09, #010, and #011 in the first optical cable path and the second optical cable path.

[0089] In this exemplary embodiment, the target optical cable route is determined based on the optical cable route distance. Based on the number of target optical cable routes and their connection relationships, the co-routes between the first optical cable path and the second optical cable path can be determined. On the one hand, this facilitates the differentiated display of co-routes on the GIS map; on the other hand, it helps staff manage co-routes in the future.

[0090] In an optional embodiment, Figure 8 The diagram illustrates the process of determining a target optical cable route with the same latitude and longitude information in a first and second optical cable path within the optical cable display method. Figure 8 As shown, the method includes at least the following steps: In step S810, a preset distance range is obtained; the preset distance range is used to limit the optical cable routing distance.

[0091] The preset distance range refers to a distance range used to limit the optical cable routing distance. For example, the preset distance range that can be obtained is [5, 20].

[0092] In step S820, if the optical cable route distance is within a preset distance range, the first optical cable route and the second optical cable route are determined to be target optical cable routes with similar latitude and longitude information based on the optical cable route distance; the second optical cable route is in the second optical cable path, and the distance between the first optical cable route and the second optical cable route is the optical cable route distance.

[0093] Specifically, when the optical cable route distance falls within a preset distance range, it is determined that the first optical cable route and the second optical cable route are target optical cable routes with similar latitude and longitude. Specifically, the first optical cable route refers to the optical cable route within the first optical cable path corresponding to the optical cable route distance, and the second optical cable route refers to the optical cable route within the second optical cable path corresponding to the optical cable route distance.

[0094] For example, the optical cable route distance D-1 between optical cable route #02 in the first optical cable path L-6 and optical cable route #02 in the second optical cable path L-7 is calculated, and the optical cable route distance D-1 is 6, with the obtained preset distance range being [5, 20]. Since the optical cable route distance D-1 falls within the preset distance range, optical cable route #02 in the first optical cable path L-6 and optical cable route #02 in the second optical cable path L-7 are target optical cable routes with similar latitude and longitude information.

[0095] Similarly, it can also determine whether the distance of other optical cable routes is within the preset distance range, so as to identify other target optical cable routes.

[0096] For example, the optical cable route distance D-2 between optical cable route #01 in the first optical cable path L-6 and optical cable route #01-1 in the second optical cable path L-7 is calculated, and the optical cable route distance D-2 is 21, with the obtained preset distance range being [5, 20]. Since the optical cable route distance D-2 does not fall within the preset distance range, optical cable route #01 in the first optical cable path L-6 and optical cable route #01-1 in the second optical cable path L-7 do not have similar latitude and longitude information, and therefore are not the target optical cable routes.

[0097] In this exemplary embodiment, if the optical cable route distance falls within a preset distance range, the first optical cable route and the second optical cable route can be considered as the same optical cable route being constructed (i.e., target optical cable routes with similar latitude and longitude information). This provides a basis for determining the target optical cable route and lays the foundation for subsequently determining the same route.

[0098] In an optional embodiment, Figure 9 The diagram illustrates the process of determining multiple target optical cable routes as co-routes between a first optical cable path and a second optical cable path in the optical cable display method. Figure 9 As shown, the method includes at least the following steps: In step S910, the target length value of the optical cable segment composed of multiple target optical cable routes is calculated, and a preset length value is determined; the preset length value is used to limit the target length value.

[0099] Here, an optical cable segment refers to a section within an optical cable path, and specifically, an optical cable segment is composed of multiple target optical cable routes. The target length value refers to the length of the optical cable corresponding to the optical cable segment. The preset length value is a pre-set numerical value used to limit the target length.

[0100] For example, such as Figure 7As shown, there are two optical cable segments, namely optical cable segment G-1 and optical cable segment G-2. Optical cable segment G-1 consists of optical cable routes #02, #03, #04, #05, #06, and #07, while optical cable segment G-2 consists of optical cable routes #09, #010, and #011.

[0101] The target length value corresponding to optical cable segment G-1 is C-1, the target length value corresponding to optical cable segment G-2 is C-2, and the preset length value is 50.

[0102] In step S920, if the target length value is greater than or equal to the preset length value, the multiple target optical cable routes are determined to be the same route between the first optical cable path and the second optical cable path.

[0103] When the target length value is greater than or equal to the preset length value, the target optical cable route corresponding to the route segment can be considered as the same route between the first optical cable path and the second optical cable path.

[0104] For example, if the target length value C-1 is 1000 and the target length value C-2 is 300, then obviously, the target length value C-1 is greater than the preset length value, and the target length value C-2 is also greater than the preset length value.

[0105] Based on this, optical cable routes #02, #03, #04, #05, #06, and #07 in optical cable segment G-1 are co-routes between the first optical cable path L-6 and the second optical cable path L-7, and optical cable routes #09, #010, and #011 in optical cable segment G-2 are also co-routes between the first optical cable path L-6 and the second optical cable path L-7.

[0106] In this exemplary embodiment, when the target length value of the optical cable segment is greater than the preset length value, multiple target optical cable routes can be determined to be the same route between the first optical cable path and the second optical cable path, providing a basis for determining the same route and laying the foundation for the subsequent display and management of the same route.

[0107] In an optional embodiment, after determining that multiple target optical cable routes are co-routes between the first optical cable path and the second optical cable path, the method further includes: determining a first target point corresponding to the co-routes, distinguishing the first target point from other target points, and displaying it in a GIS map; the target point is composed of the first target point and other target points.

[0108] The first target point refers to the target point displayed on the GIS map that corresponds to the same route. Other target points refer to all target points displayed on the GIS map other than the first target point.

[0109] For example, such as Figure 7 As shown, the first target point refers to the optical cable route #02, #03, #04, #05, #06, and #07 displayed in optical cable segment G-1. Figure 7 The target point, and the corresponding optical cable routes 09, #010, and #011 for optical cable segment G-2, are displayed respectively. Figure 7 The target points in the text refer to the target points corresponding to optical cable routes #01, #01-1, #08, #08-1, #012, and #012-1, respectively.

[0110] Based on this, other target points belonging to the first optical cable path can be displayed in yellow, other target points belonging to the second optical cable path can be displayed in purple, and the first target point can be displayed in green, so as to prompt the user that the green target point is on the same route.

[0111] In addition, the curves between fiber optic routes #01 and #02 can be displayed in yellow, the curves between fiber optic routes #07 and #08 can be displayed in yellow, the curves between fiber optic routes #08 and #09 can be displayed in yellow, the curves between fiber optic routes #011 and #012-1 can be displayed in yellow, the curves between fiber optic routes #01-1 and #02 can be displayed in purple, the curves between fiber optic routes #07 and #08-1 can be displayed in yellow, the curves between fiber optic routes #08-1 and #09 can be displayed in yellow, the curves between fiber optic routes #011 and #012 can be displayed in yellow, and the curves between the same routes can be displayed in green, to enhance the display effect of the same routes and make it easier for staff to distinguish which fiber optic routes are the same routes.

[0112] In this exemplary embodiment, the first target point is distinguished from other target points and displayed on the GIS map to remind staff which fiber optic routes are the same.

[0113] In an optional embodiment, after determining that multiple target optical cable routes are co-routes between the first optical cable path and the second optical cable path, the method further includes: creating a co-routes table corresponding to the co-routes based on the latitude and longitude information corresponding to the co-routes, so as to manage the co-routes according to the co-routes table.

[0114] The same route table refers to the table related to the same route. The same route table can include the latitude and longitude information corresponding to the same route. The staff can then effectively manage the same route based on the same route table.

[0115] For example, the determined same route is Figure 7 Based on the fiber optic routes #02, #03, #04, #05, #06, #07, #09, #010, and #011, the latitude and longitude information of these nine routes was determined, and a corresponding co-routes table was created based on this information. This allows staff to manage the co-routes in the future.

[0116] In this exemplary embodiment, a co-routing table is created based on the latitude and longitude information of co-routes, which increases the convenience for subsequent staff to manage the co-routing table.

[0117] In the methods and apparatus provided in the exemplary embodiments of this disclosure, the optical cable attribute information includes the latitude and longitude information of the optical cable routes corresponding to different optical cable paths. Based on the latitude and longitude information, target points corresponding to the optical cable routes are marked on the GIS map, and the target connection relationship between the target points is displayed based on the optical cable paths. On the one hand, this avoids the situation in the prior art where optical cable route-related information is stored in paper materials or tabular documents, making the display of optical cable paths more vivid and intuitive. On the other hand, if the optical cable path is newly built or optimized, only the latitude and longitude information needs to be re-acquired, and the updated or optimized optical cable path can be displayed on the GIS map, thus achieving synchronous updating.

[0118] The optical fiber display method in this embodiment will be described in detail below with reference to an application scenario.

[0119] Obtain the latitude and longitude information of different optical cable routes on different optical cable paths in the target area Y, determine the target points corresponding to different optical cable routes based on the latitude and longitude information, and display the target points on the GIS map of the target area Y.

[0120] Based on the fiber optic cable paths, the connection relationships between the aforementioned target points can also be determined, allowing different fiber optic cable paths within target area Y to be displayed on the GIS map. Specifically, Figure 10 This illustrates a GIS map in an application scenario, such as... Figure 10 As shown, Figure 10 The dots shown above are the target points. The target points and the lines connecting them form the different optical cable paths in the target area Y.

[0121] In this application scenario, the fiber optic cable attribute information includes the latitude and longitude information of the fiber optic cable routes corresponding to different fiber optic cable paths. Based on the latitude and longitude information, the target points corresponding to the fiber optic cable routes are marked on the GIS map, and the target connection relationships between the target points are displayed based on the fiber optic cable paths. On the one hand, this avoids the situation in the existing technology where fiber optic cable route information is stored in paper materials or tabular files, making the display of fiber optic cable paths more vivid and intuitive. On the other hand, if the fiber optic cable path is newly built or optimized, only the latitude and longitude information needs to be re-acquired, and the updated or optimized fiber optic cable path can be displayed on the GIS map, thus achieving synchronous updates.

[0122] Furthermore, in an exemplary embodiment of this disclosure, an optical fiber display device is also provided. Figure 11 A schematic diagram of the optical fiber display device is shown, such as... Figure 11 As shown, the optical fiber display device 1100 may include: an acquisition module 1110, a first display module 1120, and a second display module 1130. Wherein:

[0123] The acquisition module 1110 is configured to acquire optical cable attribute information for different optical cable paths in the target area; the optical cable attribute information includes the latitude and longitude information of the optical cable routes corresponding to different optical cable paths; the first display module 1120 is configured to display a GIS map corresponding to the target area, and based on the latitude and longitude information, mark the target points corresponding to the optical cable routes in the GIS map; the second display module 1130 is configured to display the target connection relationship between target points in the GIS map marked with target points based on the optical cable paths, so as to display different optical cable paths on the GIS map.

[0124] The specific details of the aforementioned optical fiber display device 1100 have been described in detail in the corresponding optical fiber display method, so they will not be repeated here.

[0125] It should be noted that although several modules or units of the optical fiber display device 1100 are mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0126] Furthermore, in an exemplary embodiment of this disclosure, an electronic device capable of implementing the above-described method is also provided.

[0127] The following reference Figure 12 To describe an electronic device 1200 according to such an embodiment of the present invention. Figure 12The electronic device 1200 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0128] like Figure 12 As shown, the electronic device 1200 is manifested in the form of a general-purpose computing device. The components of the electronic device 1200 may include, but are not limited to: at least one processing unit 1210, at least one storage unit 1220, a bus 1230 connecting different system components (including storage unit 1220 and processing unit 1210), and a display unit 1240.

[0129] The storage unit stores program code that can be executed by the processing unit 1210, causing the processing unit 1210 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of the present invention.

[0130] Storage unit 1220 may include a readable medium in the form of a volatile storage unit, such as random access memory (RAM) 1221 and / or cache memory 1222, and may further include a read-only memory (ROM) 1223.

[0131] Storage unit 1220 may also include a program / utility 1224 having a set (at least one) program module 1225, such program module 1225 including but not limited to: operating system, one or more application programs, other program modules and program data, each or some combination of these examples may contain the reality of the network environment.

[0132] Bus 1230 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.

[0133] Electronic device 1200 can also communicate with one or more external devices 1270 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 1200, and / or with any device that enables electronic device 1200 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 1250. Furthermore, electronic device 1200 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 1260. As shown, network adapter 1260 communicates with other modules of electronic device 1200 via bus 1230. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0134] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.

[0135] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the methods described above is stored. In some possible embodiments, various aspects of the invention may also be implemented as a program product comprising program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps of the various exemplary embodiments of the invention described in the "Exemplary Methods" section above.

[0136] refer to Figure 13 As shown, a program product 1300 for implementing the above-described method according to an embodiment of the present invention is described. It may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, the readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0137] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0138] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.

[0139] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.

[0140] Program code for performing the operations of this invention can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0141] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

Claims

1. A method for displaying optical fiber, characterized in that, The method includes: Obtain optical cable attribute information for different optical cable paths in the target area; the optical cable attribute information includes the latitude and longitude information of the optical cable routes corresponding to the different optical cable paths respectively; Display a GIS map corresponding to the target area, and mark the target points corresponding to the optical cable route in the GIS map based on the latitude and longitude information; Based on the optical cable path, the target connection relationship between the target points is displayed in the GIS map marked with the target points, so as to display the different optical cable paths on the GIS map; The first optical cable path and the second optical cable path are determined among the different optical cable paths; According to the first connection relationship corresponding to the first optical cable path, the optical cable route distance between a first optical cable route in the first optical cable path and all optical cable routes in the second optical cable path is calculated in sequence; the first connection relationship is used to indicate the connection relationship between optical cable routes on the first optical cable path. Based on the optical cable route distance, a target optical cable route with similar latitude and longitude information is determined in the first optical cable path and the second optical cable path; If there are multiple target optical cable routes in the first optical cable path or the second optical cable path, and the multiple target optical cable routes have the first connection relationship, then the multiple target optical cable routes are determined to be co-routes between the first optical cable path and the second optical cable path.

2. The optical fiber display method according to claim 1, characterized in that, The step of displaying the target connection relationships between the target points on the GIS map marked with the target points based on the optical cable path includes: Based on the optical cable path, the first connection relationship between the optical cable routes on the different optical cable paths is determined; Based on the first connection relationship, the target connection relationship between the target points is determined; The target connection relationships between the target points are displayed on the GIS map marked with the target points.

3. The optical fiber display method according to claim 1, characterized in that, The optical cable attribute information also includes supporting facility information corresponding to the optical cable route; After displaying the different optical cable paths on the GIS map, the method further includes: Determine the target point corresponding to the optical cable route, and determine the display location of the target point in the GIS map; Based on the display location, the supporting facility information corresponding to the optical cable route will be displayed in the GIS map.

4. The optical fiber display method according to claim 1, characterized in that, The step of determining a target optical cable route with similar latitude and longitude information among the first optical cable path and the second optical cable path based on the optical cable route distance includes: Obtain a preset distance range; the preset distance range is used to limit the optical cable routing distance. If the optical cable route distance is within the preset distance range, the first optical cable route and the second optical cable route are determined to be target optical cable routes with similar latitude and longitude information based on the optical cable route distance; the second optical cable route is in the second optical cable path, and the distance between the first optical cable route and the second optical cable route is the optical cable route distance.

5. The optical fiber display method according to claim 1, characterized in that, Determining that the plurality of target optical cable routes are co-routes between the first optical cable path and the second optical cable path includes: The target length of the optical cable segment composed of the multiple target optical cable routes is calculated, and a preset length value is determined; the preset length value is used to limit the target length value. If the target length value is greater than or equal to the preset length value, the plurality of target optical cable routes are determined to be the same route between the first optical cable path and the second optical cable path.

6. The optical fiber display method according to claim 4 or 5, characterized in that, After determining that the plurality of target optical cable routes are co-routes between the first optical cable path and the second optical cable path, the method further includes: A first target point corresponding to the same route is determined, and the first target point is distinguished from other target points and displayed in the GIS map; the target point consists of the first target point and the other target points.

7. An optical fiber display device, characterized in that, include: The acquisition module is configured to acquire optical cable attribute information for different optical cable paths in the target area; The optical cable attribute information includes the latitude and longitude information of the optical cable routes corresponding to the different optical cable paths; The first display module is configured to display a GIS map corresponding to the target area, and based on the latitude and longitude information, mark the target point corresponding to the optical cable route in the GIS map; The second display module is configured to display the target connection relationship between the target points in the GIS map marked with the target points based on the optical cable path, so as to display the different optical cable paths on the GIS map; The second display module is configured to determine the first optical cable path and the second optical cable path among the different optical cable paths; According to the first connection relationship corresponding to the first optical cable path, the optical cable route distance between a first optical cable route in the first optical cable path and all optical cable routes in the second optical cable path is calculated in sequence; the first connection relationship is used to indicate the connection relationship between optical cable routes on the first optical cable path. Based on the optical cable route distance, a target optical cable route with similar latitude and longitude information is determined in the first optical cable path and the second optical cable path; If there are multiple target optical cable routes in the first optical cable path or the second optical cable path, and the multiple target optical cable routes have the first connection relationship, then the multiple target optical cable routes are determined to be co-routes between the first optical cable path and the second optical cable path.

8. An electronic device, characterized in that, include: processor; Memory for storing the executable instructions of the processor; The processor is configured to execute the optical fiber display method according to any one of claims 1-6 by executing the executable instructions.

9. A computer-readable storage medium storing a computer program thereon, characterized in that, When the computer program is executed by the processor, it implements the optical fiber display method according to any one of claims 1-6.