Optical cable routing display method, device, equipment and storage medium

By responding to touch operations of selection controls and editing controls, the characteristics of optical cable routes are extracted and displayed, and routing parameters are adjusted. This solves the problem that traditional optical cable routes cannot be effectively displayed, and realizes interactive display and adjustment functions.

CN115617245BActive Publication Date: 2025-09-12BEIJING GAOKAN JUNZHI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211473517.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-23
Publication Date
2025-09-12
Estimated Expiration
2042-11-23

AI Technical Summary

Technical Problem

Traditional optical cable routing display solutions cannot effectively display optical cable routing, cannot display the content corresponding to the optical cable routing based on user interaction, and cannot adjust the optical cable routing on the display interface.

Method used

The selected position of the optical cable route is determined by responding to the touch operation of the selection control, and the editing interface is displayed on the editing control, the display request and characteristic conditions are extracted from the editing interface, and the parameters of the characteristic route and the adjusted route are extracted and displayed from the optical cable route data set in response to the query request and the adjustment request.

Benefits of technology

It realizes the interactive display of the content corresponding to the optical cable route based on the user, which can meet the actual needs of optical cable management and maintenance. By adjusting the route to display the optical cable route that meets the conditions, it is convenient to adjust the optical cable route on the display interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115617245B_ABST
    Figure CN115617245B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of route display technology, and in particular to a method, device, equipment, and storage medium for displaying optical cable routes. The method responds to a touch operation on a selection control, determines a corresponding selected position based on the touch operation, and displays the optical cable route in a graphic display area; reads editing content from an editing interface, and extracts a display request and characteristic conditions from the editing content; responds to a query request, extracts a characteristic route and optical cable parameters corresponding to the characteristic route from a preset optical cable route data set, and displays the characteristic route and the corresponding optical cable parameters; responds to an adjustment request, generates an adjusted route based on a preset planned route data set, displays the adjusted route in a graphic display area, and displays the adjustment parameters corresponding to the adjusted route in a numerical display area; thereby solving the problem of the inability to effectively display optical cable routes in conventional technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of route display, and in particular to a method, device, equipment and storage medium for displaying optical cable routes. Background Art

[0002] The optical cable route reflects the direction and location sequence of the optical cable. The effective display of the optical cable route facilitates the effective use and management of the optical cable.

[0003] In traditional optical cable routing display solutions, the routing information of the optical cable is usually directly mapped into a visual graphic. Due to the complexity of the optical cable routing, directly laying out the optical cable routing for display is not effective. In actual applications, it is impossible to display the content corresponding to the optical cable routing based on user interaction, nor is it possible to adjust the optical cable routing on the display interface.

[0004] In summary, the conventional technology has the problem of being unable to effectively display the optical cable routing. Summary of the Invention

[0005] The main purpose of this application is to provide a method, device, equipment and storage medium for displaying optical cable routes to solve the problem that conventional technologies cannot effectively display optical cable routes.

[0006] A first aspect of the present invention provides a method for displaying an optical cable route, wherein an optical cable route interface is displayed through a terminal, wherein the optical cable route interface includes a graphic display area, a numerical display area, a selection control, and an editing control. The display method includes: responding to a touch operation on the selection control, determining a corresponding selected position based on the touch operation, and determining a corresponding optical cable route based on the selected position, and displaying the optical cable route in the graphic display area, wherein the selected position is the position of the selection control in the graphic display area; responding to a touch operation on the editing control, and displaying a preset editing interface on the editing control; reading editing content from the editing interface, and extracting display requests and feature conditions from the editing content, wherein the editing content is based on the editing interface editing. It is obtained that the display request at least includes a query request and an adjustment request, and the characteristic condition at least includes a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request; in response to the query request, a characteristic route and an optical cable parameter corresponding to the characteristic route are extracted from a preset optical cable route data set, and the characteristic route is displayed in the graphic display area, and the optical cable parameter corresponding to the characteristic route is displayed in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition; in response to the adjustment request, an adjusted route is generated based on a preset planned route data set, and the adjusted route is displayed in the graphic display area, and the adjustment parameters corresponding to the adjusted route are displayed in the numerical display area, wherein the adjusted route is an optical cable route that meets the adjustment condition.

[0007] Optionally, in a first implementation manner of the first aspect of the present invention, a preconfigured map is displayed in the graphic display area; determining the corresponding optical cable route based on the selected location and displaying the optical cable route in the graphic display area includes: extracting the optical cable route corresponding to the selected location from the map, and extracting the optical cable facilities corresponding to the optical cable route from the optical cable route data set, wherein the optical cable facilities include at least manholes, optical cross-connect boxes and pipeline sections; obtaining the facility locations corresponding to the optical cable facilities, and displaying the optical cable facilities at the facility locations on the map, wherein the facility locations include at least the location of the manhole in the map, the location of the optical cross-connect box in the map and the location of the pipeline section in the map.

[0008] Optionally, in a second implementation method of the first aspect of the present invention, the touch operation on the editing control includes at least a single-click operation and a double-click operation, and the editing interface includes at least a query condition editing interface and an adjustment condition editing interface; the response to the touch operation on the editing control and displaying a preset editing interface on the editing control include: in response to a single-click operation on the editing control, displaying the query condition editing interface on the editing control; in response to a double-click operation on the editing control, displaying the adjustment condition editing interface on the editing control.

[0009] Optionally, in a third implementation method of the first aspect of the present invention, the editing interface has a text editing interface and a sliding operation interface, and the editing content includes text content and sliding operation content; reading the editing content from the editing interface and extracting the display request and feature conditions from the editing content include: extracting the sliding operation content from the sliding operation interface, and determining the display request based on the sliding operation content; extracting text content from the text editing interface, and extracting the sliding operation content from the sliding operation interface; calculating the editing distance between the text content and the preset feature condition word according to the minimum editing distance algorithm, and determining the feature condition word corresponding to the display request according to the preset editing distance threshold to obtain the feature condition.

[0010] Optionally, in a fourth implementation manner of the first aspect of the present invention, the query conditions include a target route and a co-route length range; the response to the query request extracts a characteristic route and optical cable parameters corresponding to the characteristic route from a preset optical cable route data set, including: extracting the optical cable routes of all optical cables from the optical cable route data set, and comparing them with the target route in turn to obtain the co-route length corresponding to each optical cable, wherein the co-route length is the length of the same part of the optical cable route of each optical cable and the target route; extracting a characteristic optical cable from the optical cable based on the co-route length, and determining the characteristic route based on the route of the characteristic optical cable, wherein the characteristic optical cable is an optical cable with a co-route length within the co-route length range; calculating the number of optical cables passing through the characteristic route to obtain the optical cable parameters corresponding to the characteristic route.

[0011] Optionally, in a fifth implementation of the first aspect of the present invention, the adjustment conditions include adjustment endpoints, adjustment ranges, length conditions, and risk conditions; the response to the adjustment request generates an adjusted route based on a preset planned route data set, including: extracting the planned route segments within the adjustment range from the planned route data set, and determining to combine the planned route segments based on the adjustment endpoint to obtain an alternative route, wherein the alternative route is an optical cable route formed by connecting at least two planned route segments and having the adjustment endpoint as the head and tail endpoints; extracting corresponding risk points from a preset risk point data set according to the risk conditions, and querying the routes that do not pass through the risk points from each of the alternative routes to obtain a first screening route; extracting all planned route segments contained in the first screening route and the corresponding lengths of each of the planned route segments from the planned route data set, and calculating the corresponding laying lengths of each of the first screening routes based on the corresponding lengths of the planned route segments; querying the routes whose laying lengths meet the length conditions from each of the first screening routes to obtain an adjusted route.

[0012] Optionally, in a sixth implementation manner of the first aspect of the present invention, displaying the adjusted route in the graphic display area and displaying the adjustment parameters corresponding to the adjusted route in the numerical display area includes: when the adjusted route is a route, selecting a route location corresponding to the adjusted route from the planned route data set, and displaying the adjusted route on a pre-configured map in the graphic display area based on the route location; extracting all planned route segments contained in the adjusted route and difficulty parameters corresponding to each planned route segment from the planned route data set, and calculating a laying difficulty parameter of the adjusted route based on the difficulty parameters corresponding to the planned route segments; and displaying the laying difficulty parameter in the numerical display area; When the adjusted routes are at least two routes, all planned route segments contained in each of the adjusted routes and the difficulty parameters corresponding to each of the planned route segments are extracted from the planned route data set, and the laying difficulty parameters of each of the adjusted routes are calculated based on the difficulty parameters corresponding to the planned route segments; each of the adjusted routes is sorted based on the laying difficulty parameters, and the display color corresponding to each of the adjusted routes is determined according to a preset sorting color table; based on the display color, the laying difficulty parameter is displayed in the numerical display area; the route position corresponding to each of the adjusted routes is selected from the planned route data set; based on the route position, the adjusted route is displayed according to the display color on a map pre-configured in the graphic display area.

[0013] The second aspect of the present invention provides a display device for optical cable routing, which includes: a first display module for responding to a touch operation on a selection control, determining a corresponding selected position based on the touch operation, and determining a corresponding optical cable routing based on the selected position, and displaying the optical cable routing in a graphic display area, wherein the selected position is the position of the selection control in the graphic display area; a second display module for responding to a touch operation on an editing control, and displaying a preset editing interface on the editing control; an extraction module for reading editing content from the editing interface, and extracting display requests and feature conditions from the editing content, wherein the editing content is edited based on the editing interface, and the display request at least includes a query request and a call request. an adjustment request, wherein the characteristic condition at least includes a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request; a third display module, configured to respond to the query request, extract a characteristic route and optical cable parameters corresponding to the characteristic route from a preset optical cable route data set, and display the characteristic route in the graphic display area, and display the optical cable parameters corresponding to the characteristic route in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition; a fourth display module, configured to respond to the adjustment request, generate an adjusted route based on a preset planned route data set, and display the adjusted route in the graphic display area, and display the adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is an optical cable route that meets the adjustment condition.

[0014] Optionally, in a first implementation manner of the second aspect of the present invention, the first display module includes: a first extraction unit, used to extract the optical cable route corresponding to the selected location in the map, and extract the optical cable facility corresponding to the optical cable route from the optical cable route data set, wherein the optical cable facility includes at least a manhole, an optical cross-connection box and a pipeline section; a first display unit, used to obtain the facility location corresponding to the optical cable facility, and display the optical cable facility at the facility location on the map, wherein the facility location includes at least the location of the manhole in the map, the location of the optical cross-connection box in the map and the location of the pipeline section in the map.

[0015] Optionally, in a second implementation of the second aspect of the present invention, the second display module includes: a first response unit for displaying a query condition editing interface on the editing control in response to a single-click operation on the editing control; and a second response unit for displaying an adjustment condition editing interface on the editing control in response to a double-click operation on the editing control.

[0016] Optionally, in a third implementation of the second aspect of the present invention, the extraction module includes: a first determination unit, used to extract sliding operation content from the sliding operation interface, and determine a display request based on the sliding operation content; a second extraction unit, used to extract text content from the text editing interface, and extract sliding operation content from the sliding operation interface; a second determination unit, used to calculate the edit distance between the text content and a preset feature condition word according to a minimum edit distance algorithm, and determine the feature condition word corresponding to the display request according to a preset edit distance threshold to obtain a feature condition.

[0017] Optionally, in a fourth implementation of the second aspect of the present invention, the third display module includes: a comparison unit, used to extract the optical cable routes of all optical cables from the optical cable route data set, and compare them with the target route in turn to obtain the same-route length corresponding to each optical cable, wherein the same-route length is the length of the same part of the optical cable route of each optical cable and the target route; a third determination unit, used to extract characteristic optical cables from the optical cables based on the same-route length, and determine the characteristic route based on the route of the characteristic optical cable, wherein the characteristic optical cable is an optical cable with a same-route length within the same-route length range; a calculation unit, used to calculate the number of optical cables passing through the characteristic route to obtain the optical cable parameters corresponding to the characteristic route.

[0018] Optionally, in a fifth implementation of the second aspect of the present invention, the fourth display module includes a route generation unit for extracting the planned route segments within the adjustment range from the planned route data set, and determining to combine the planned route segments based on the adjustment endpoint to obtain an alternative route, wherein the alternative route is an optical cable route formed by connecting at least two planned route segments and having the adjustment endpoint as the head and tail endpoints; extracting the corresponding risk points from the preset risk point data set according to the risk conditions, and querying the routes that do not pass through the risk points from each of the alternative routes to obtain a first screening route; extracting all the planned route segments contained in the first screening route and the corresponding lengths of each of the planned route segments from the planned route data set, and calculating the corresponding laying lengths of each of the first screening routes based on the corresponding lengths of the planned route segments; querying the routes whose laying lengths meet the length conditions from each of the first screening routes to obtain an adjusted route.

[0019] Optionally, in a sixth implementation of the second aspect of the present invention, the fourth display module further includes a route display unit for selecting, when the adjusted route is one route, a route position corresponding to the adjusted route from the planned route data set, and displaying the adjusted route on a pre-configured map in the graphic display area based on the route position; extracting from the planned route data set all planned route segments contained in the adjusted route and difficulty parameters corresponding to each planned route segment, and calculating a laying difficulty parameter of the adjusted route based on the difficulty parameters corresponding to the planned route segments; displaying the laying difficulty parameter in the numerical display area; and when the adjusted route is at least two routes. , extracting all planned route segments contained in each of the adjusted routes and the difficulty parameters corresponding to each of the planned route segments from the planned route data set, and calculating the laying difficulty parameters of each of the adjusted routes based on the difficulty parameters corresponding to the planned route segments; sorting each of the adjusted routes based on the laying difficulty parameters, and determining the display color corresponding to each of the adjusted routes according to a preset sorting color table; displaying the laying difficulty parameter in the numerical display area based on the display color; selecting the route position corresponding to each of the adjusted routes from the planned route data set; and displaying the adjusted routes in accordance with the display color on a pre-configured map in the graphic display area based on the route position.

[0020] A third aspect of the present invention provides a computer device comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the computer device executes each step of the above-mentioned method for displaying optical cable routing.

[0021] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the various steps of the above-mentioned method for displaying optical cable routing.

[0022] In the technical solution of the present invention, the method responds to a touch operation on the selection control, determines a corresponding selected position based on the touch operation, and determines a corresponding optical cable route based on the selected position, and displays the optical cable route in the graphic display area, wherein the selected position is the position of the selection control in the graphic display area; responds to a touch operation on the editing control, and displays a preset editing interface on the editing control; reads editing content from the editing interface, and extracts a display request and a characteristic condition from the editing content, wherein the editing content is edited based on the editing interface, the display request at least includes a query request and an adjustment request, and the characteristic condition at least includes a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request; in response to the query request, extracts a characteristic route and an optical cable parameter corresponding to the characteristic route from a preset optical cable route data set, displays the characteristic route in the graphic display area, and displays the optical cable parameter corresponding to the characteristic route in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition; in response to the adjustment ... The routing data set generates an adjusted route, and displays the adjusted route in the graphic display area, and displays the adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is the optical cable route that meets the adjustment conditions; above, by determining the corresponding optical cable route based on the selected position and displaying the optical cable route in the graphic display area, the content corresponding to the optical cable route is displayed based on user interaction; by responding to the query request, the feature route and the optical cable parameters corresponding to the feature route are extracted from the preset optical cable route data set and displayed separately, which can meet the actual needs of optical cable management and maintenance to select information that meets the query conditions and intuitively display it in the graphic display area and the numerical display area; by responding to the adjustment request, the adjusted route is generated based on the preset planning route data set, and the adjusted route is displayed in the graphic display area, and the adjustment parameters corresponding to the adjusted route are displayed in the numerical display area, which realizes the adjustment of the optical cable route on the display interface, so as to facilitate the display of the route of the optical cable that meets the adjustment conditions; thereby solving the problem of the inability to effectively display the optical cable route in the traditional technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A schematic diagram of a first embodiment of a method for displaying optical cable routing provided by an embodiment of the present invention;

[0024] Figure 2 A schematic diagram of a second embodiment of a method for displaying optical cable routing provided by an embodiment of the present invention;

[0025] Figure 3A schematic diagram of a third embodiment of a method for displaying optical cable routing provided by an embodiment of the present invention;

[0026] Figure 4 A schematic diagram of an embodiment of a device for displaying optical cable routing provided by an embodiment of the present invention;

[0027] Figure 5 A schematic diagram of another embodiment of a device for displaying optical cable routing provided by an embodiment of the present invention;

[0028] Figure 6 A schematic diagram of an embodiment of a computer device provided by an embodiment of the present invention;

[0029] Figure 7 A schematic diagram of a first variation of the optical cable routing interface provided by an embodiment of the present invention;

[0030] Figure 8 A schematic diagram of a second variation of the optical cable routing interface provided by an embodiment of the present invention;

[0031] Figure 9 A schematic diagram of a third variation of the optical cable routing interface provided by an embodiment of the present invention;

[0032] Figure 10 A schematic diagram of a fourth variation of the optical cable routing interface provided by an embodiment of the present invention;

[0033] Figure 11 A schematic diagram of a fifth variation of the optical cable routing interface provided by an embodiment of the present invention;

[0034] Figure 12 This is a schematic diagram of a sixth variation of the optical cable routing interface provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0035] In order to solve the problem in conventional technologies that optical cable routes cannot be effectively displayed, the present application provides a method, apparatus, device and storage medium for displaying optical cable routes. The method responds to a touch operation on the selection control, determines a corresponding selected position based on the touch operation, and determines a corresponding optical cable route based on the selected position, and displays the optical cable route in the graphic display area, wherein the selected position is the position of the selection control in the graphic display area; responds to a touch operation on the editing control, and displays a preset editing interface on the editing control; reads editing content from the editing interface, and extracts a display request and a characteristic condition from the editing content, wherein the editing content is edited based on the editing interface, the display request at least includes a query request and an adjustment request, and the characteristic condition at least includes a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request; responds to the query request, extracts a characteristic route and an optical cable parameter corresponding to the characteristic route from a preset optical cable route data set, displays the characteristic route in the graphic display area, and displays the optical cable parameter corresponding to the characteristic route in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition; responds to the adjustment request, based on preset planned route data The set generates an adjusted route, and displays the adjusted route in the graphic display area, and displays the adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is the optical cable route that meets the adjustment conditions; above, by determining the corresponding optical cable route based on the selected position and displaying the optical cable route in the graphic display area, the content corresponding to the optical cable route is displayed based on user interaction; by responding to the query request, the feature route and the optical cable parameters corresponding to the feature route are extracted from the preset optical cable route data set and displayed separately, which can meet the actual needs of optical cable management and maintenance to select information that meets the query conditions and intuitively display it in the graphic display area and the numerical display area; by responding to the adjustment request, the adjusted route is generated based on the preset planned route data set, and the adjusted route is displayed in the graphic display area, and the adjustment parameters corresponding to the adjusted route are displayed in the numerical display area, which realizes the adjustment of the optical cable route on the display interface, so as to facilitate the display of the route of the optical cable that meets the adjustment conditions; thereby solving the problem of the inability to effectively display the optical cable route in the traditional technology.

[0036] The terms "first," "second," "third," "fourth," and so on (if any) in the description and claims of the present invention and in the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that shown or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, product, or apparatus.

[0037] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 The first embodiment of the method for displaying optical cable routing in the embodiment of the present invention is implemented by the following steps:

[0038] 101. Responding to a touch operation on a selection control, determining a corresponding selected position based on the touch operation, determining a corresponding optical cable route based on the selected position, and displaying the optical cable route in a graphic display area, wherein the selected position is a position of the selection control in the graphic display area;

[0039] In this step, the selection control is located in a graphic display area of ​​the optical cable routing interface, and the optical cable routing interface is displayed through a terminal, wherein the terminal includes at least one of a mobile terminal, a computer terminal, and an image processing terminal;

[0040] In this step, the touch operation includes screen touching and mouse clicking.

[0041] This step can be implemented in the following ways:

[0042] Determining a corresponding optical cable route in a preset optical cable route-position correspondence table based on the selected position;

[0043] The optical cable routing is displayed in a graphic display area.

[0044] In this step, the optical cable routing is displayed in the graphic display area, such as Figure 7 As shown, 701 represents the optical cable routing interface, 702 represents the graphic display area, 703 represents the selection control, and 704 represents the optical cable routing.

[0045] 102. Respond to a touch operation on the edit control and display a preset editing interface on the edit control;

[0046] In this step, the editing control is located in the optical cable routing interface.

[0047] This step can be implemented in the following ways:

[0048] Determining a corresponding touch operation type according to the touch operation, wherein the touch operation includes at least a single-click operation, a double-click operation, and a sliding operation;

[0049] A corresponding editing interface is determined based on the touch operation type, and the corresponding editing interface is displayed on the editing control, wherein the editing interface at least includes a query condition editing interface and an adjustment condition editing interface.

[0050] In practical applications, the editing control is located in an edge area of ​​the optical cable routing interface. For example, the optical cable routing interface includes a graphic display area and a numerical display area, and the editing control is located in an edge area outside the graphic display area and the numerical display area in the optical cable routing interface.

[0051] In this step, the touch operation on the editing control is responded to and a preset editing interface is displayed on the editing control, such as Figure 8 As shown, 705 represents the editing control, 706 represents the editing interface, and 707 represents the numerical display area.

[0052] 103. Read the edit content from the edit interface and extract a display request and characteristic conditions from the edit content, wherein the edit content is edited based on the edit interface, the display request includes at least a query condition and an adjustment request, and the characteristic conditions include at least a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request;

[0053] This step can be implemented in the following ways:

[0054] Reading editing content from the editing interface, for example, the editing content includes text information;

[0055] Comparing the edited content with characteristic text in a preset display request text set, and extracting text paragraphs consistent with the characteristic text in the preset display request text set from the edited content;

[0056] Determining a corresponding display request based on the text paragraph, wherein the display request at least includes a query request and an adjustment request;

[0057] determining a corresponding feature condition set based on the display request;

[0058] The edited content is compared with the characteristic condition text in the characteristic condition set, and the characteristic condition corresponding to the display request is extracted from the edited content, wherein the characteristic condition is a conditional text paragraph in the edited content that is consistent with the characteristic condition text in the characteristic condition set.

[0059] 104. In response to the query request, extract a characteristic route and a corresponding optical cable parameter from a preset optical cable route data set, display the characteristic route in a graphic display area, and display the corresponding optical cable parameter in a numerical display area, wherein the characteristic route is an optical cable route that meets the query condition;

[0060] In this step, the query condition includes the query area;

[0061] In this step, in response to the query request, extracting a characteristic route and the optical cable parameters corresponding to the characteristic route from a preset optical cable route data set includes:

[0062] Extracting location information corresponding to the optical cable route of each optical cable from a preset optical cable route data set, wherein the location information includes a location area through which the optical cable route passes;

[0063] Based on the location information, querying the optical cable routes passing through the query area from the optical cable routes of the optical cables, and recording the optical cable routes as feature routes;

[0064] The optical cable parameters corresponding to the characteristic route are extracted from the optical cable route data set.

[0065] In this step, the characteristic route is displayed in the graphic display area, and the optical cable parameters corresponding to the characteristic route are displayed in the numerical display area, such as Figure 9 As shown, 708 represents the characteristic route and 709 represents the optical cable parameters.

[0066] 105. In response to the adjustment request, generate an adjusted route based on a preset planned route data set, display the adjusted route in the graphic display area, and display adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is an optical cable route that meets the adjustment conditions.

[0067] In this step, the planned route data set includes a pre-configured map and at least two planned route segments on the map, wherein the planned route segments are fiber optic cable layable segments on the map;

[0068] In this step, the map can be obtained by:

[0069] Acquiring geographic information data, and generating a GIS (Geographic Information System) map based on the geographic information data;

[0070] Extracting location points corresponding to the optical cable routes of each optical cable from the optical cable route dataset and embedding the location points into the GIS map to obtain a first embedded map;

[0071] The optical cable layable segments and the location points corresponding to the optical cable layable segments are extracted from a preset optical cable layable segment data set and embedded into the first embedded graph to obtain the map.

[0072] In this step, the adjustment conditions include adjustment endpoints and risk conditions, wherein the adjustment endpoints are two endpoints among all endpoints of the optical cable layable segment on the map, and the risk conditions include risk point type and risk threshold;

[0073] In this step, responding to the adjustment request and generating an adjusted route based on a preset planned route data set includes:

[0074] Determine an adjustment range based on the adjustment endpoints, for example, determine on the map a range encompassed by a circle whose diameter connects two points of the adjustment endpoints to obtain the adjustment range;

[0075] extracting the planned route segments within the adjustment range from the planned route data set;

[0076] Determining to combine the planned route segments based on the adjustment endpoint to obtain an alternative route, wherein the alternative route is an optical cable route formed by connecting at least two planned route segments and having the adjustment endpoint as the first and last endpoints;

[0077] Extracting all corresponding risk points from a preset risk point data set according to the risk point type, and extracting the location of each risk point from the map;

[0078] Determine the risk value corresponding to each risk point according to a preset risk value correspondence table;

[0079] Determine the risk points passed by each of the alternative routes according to the positions of the risk points, and calculate the risk value corresponding to each of the alternative routes according to the risk values ​​corresponding to the risk points, for example, accumulate the risk values ​​corresponding to the risk points passed by each of the alternative routes to obtain the risk value corresponding to each of the alternative routes;

[0080] Determining whether the risk value corresponding to each of the alternative routes is less than the risk threshold;

[0081] If it is not less than, it is recorded as an alternative route that does not meet the adjustment conditions;

[0082] If it is less than, it is recorded as an adjusted route.

[0083] In this step, the adjustment route is displayed in the graphic display area, and the adjustment parameters corresponding to the adjustment route are displayed in the numerical display area. Figure 10 As shown, 710 represents the adjustment route and 711 represents the adjustment parameter.

[0084] By implementing the above method, in response to a touch operation on the selection control, a corresponding selected position is determined based on the touch operation, and a corresponding optical cable route is determined based on the selected position, and the optical cable route is displayed in the graphic display area, wherein the selected position is the position of the selection control in the graphic display area; in response to a touch operation on the editing control, a preset editing interface is displayed on the editing control; editing content is read from the editing interface, and a display request and characteristic conditions are extracted from the editing content, wherein the editing content is edited based on the editing interface, the display request at least includes a query request and an adjustment request, and the characteristic condition at least includes a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request; in response to the query request, a characteristic route and an optical cable parameter corresponding to the characteristic route are extracted from a preset optical cable route data set, and the characteristic route is displayed in the graphic display area, and the optical cable parameter corresponding to the characteristic route is displayed in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition; in response to the adjustment request, a preset planning The routing data set generates an adjusted route, and displays the adjusted route in the graphic display area, and displays the adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is the optical cable route that meets the adjustment conditions; above, by determining the corresponding optical cable route based on the selected position and displaying the optical cable route in the graphic display area, the content corresponding to the optical cable route is displayed based on user interaction; by responding to the query request, the characteristic route and the optical cable parameters corresponding to the characteristic route are extracted from the preset optical cable route data set and displayed separately, which can meet the actual needs of optical cable management and maintenance. Information that meets the query conditions can be selected and intuitively displayed in the graphic display area and the numerical display area; by responding to the adjustment request, an adjusted route is generated based on the preset planned route data set, and the adjusted route is displayed in the graphic display area, and the adjustment parameters corresponding to the adjusted route are displayed in the numerical display area, which realizes the adjustment of the optical cable route on the display interface, facilitating the display of the route of the optical cable that meets the adjustment conditions; thereby solving the problem of the inability to effectively display the optical cable route in the traditional technology.

[0085] See also Figure 2The second embodiment of the method for displaying optical cable routing in the embodiment of the present invention is implemented as follows:

[0086] 201. Responding to a touch operation on a selection control, determining a corresponding selected position based on the touch operation, determining a corresponding optical cable route based on the selected position, and displaying the optical cable route in a graphic display area, wherein the selected position is a position of the selection control in the graphic display area;

[0087] In this step, a pre-configured map is displayed in the graphic display area, wherein the map has optical cable routing information;

[0088] In this step, determining the corresponding optical cable route based on the selected position and displaying the optical cable route in the graphic display area includes:

[0089] extracting the optical cable route corresponding to the selected location in the map;

[0090] Extracting optical cable facilities corresponding to the optical cable route from the optical cable route data set, wherein the optical cable facilities at least include optical cables, manholes, optical cross-connect boxes, and pipeline sections;

[0091] Obtain the facility location corresponding to the optical cable facility, and display the optical cable facility at the facility location on the map, wherein the facility location at least includes the location of the manhole in the map, the location of the optical cross-connect box in the map, and the location of the pipeline section in the map.

[0092] 202. Respond to a touch operation on the edit control and display a preset editing interface on the edit control;

[0093] In this step, the touch operation includes at least a single-click operation, a double-click operation, and a sliding operation, and the editing interface includes at least a query condition editing interface and an adjustment condition editing interface.

[0094] This step can be implemented in the following ways:

[0095] In response to a click operation on the editing control, displaying a query condition editing interface on the editing control;

[0096] In response to a double-click operation on the editing control, displaying an adjustment condition editing interface on the editing control;

[0097] In response to a sliding operation on the editing control, a query condition editing interface and an adjustment condition editing interface are displayed on the editing control.

[0098] 203. Read the edit content from the edit interface and extract a display request and characteristic conditions from the edit content, wherein the edit content is edited based on the edit interface, the display request includes at least a query condition and an adjustment request, and the characteristic conditions include at least a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request;

[0099] In this step, the editing interface includes a text editing interface and a sliding operation interface, and the editing content includes text content and sliding operation content;

[0100] This step can be implemented in the following ways:

[0101] Extracting sliding operation content from the sliding operation interface, and determining a corresponding display request based on the sliding operation content;

[0102] Extracting text content from the text editing interface and extracting sliding operation content from the sliding operation interface;

[0103] The edit distance between the text content and a preset characteristic condition word is calculated according to a minimum edit distance algorithm, and the characteristic condition word corresponding to the display request is determined according to a preset edit distance threshold to obtain a characteristic condition.

[0104] Specifically, the sliding operation content includes a sliding direction, and extracting the sliding operation content from the sliding operation interface includes:

[0105] Determine the sliding starting point and sliding direction according to the track sliding operation;

[0106] Obtaining a sliding trajectory by the terminal responding to a sliding operation on the sliding operation interface;

[0107] Extracting the operation time corresponding to each track point on the sliding track;

[0108] Extract the earliest operation point from the sliding trajectory and record it as the sliding starting point;

[0109] Extract the trajectory point with the latest operation time from the sliding trajectory and record it as the sliding end point;

[0110] A vector pointing from the sliding start point to the sliding end point is constructed and recorded as the sliding direction.

[0111] In this embodiment, the editing interface includes a text editing interface and a sliding operation interface, such as Figure 11 As shown, 712 represents the text editing interface and 713 represents the sliding operation interface.

[0112] 204. In response to the query request, extract a characteristic route and a corresponding optical cable parameter from a preset optical cable route data set, display the characteristic route in a graphic display area, and display the corresponding optical cable parameter in a numerical display area, wherein the characteristic route is an optical cable route that meets the query condition;

[0113] In this step, the query conditions include the target route and the length range of the same route;

[0114] The step of extracting a characteristic route and an optical cable parameter corresponding to the characteristic route from a preset optical cable route data set in response to the query request includes:

[0115] Extracting the optical cable routes of all optical cables from the optical cable route dataset, and comparing them with the target route in sequence to obtain a common route portion, wherein the common route portion is a portion where the optical cable route of each optical cable is the same as the target route;

[0116] Extracting the actual length corresponding to the same-route portion from the optical cable route data set to obtain the same-route length corresponding to each optical cable, wherein the same-route length is the length of the same portion of the optical cable route of each optical cable and the target route;

[0117] Extracting a characteristic optical cable from the optical cables based on the same-route length, and determining the characteristic route based on the route of the characteristic optical cable, wherein the characteristic optical cable is an optical cable with a same-route length within the same-route length range;

[0118] The number of optical cables passing through the characteristic route is calculated to obtain optical cable parameters corresponding to the characteristic route.

[0119] In practical applications, the query conditions also include target route and same-route degree range;

[0120] The step of extracting a characteristic route and an optical cable parameter corresponding to the characteristic route from a preset optical cable route data set in response to the query request includes:

[0121] Extracting the optical cable routes of all optical cables from the optical cable route dataset and comparing them with the target route in sequence to obtain the same-route length corresponding to each optical cable, wherein the same-route length is the length of the same portion of the optical cable route of each optical cable and the target route;

[0122] Extracting the actual lengths of the optical cable routes of all optical cables from the optical cable route data set and accumulating them to obtain the corresponding total route lengths;

[0123] Calculate the ratio of the co-routing length corresponding to each optical cable to the total routing length to obtain the co-routing degree range;

[0124] Extracting a characteristic optical cable from the optical cables based on the degree of same routing, and determining the characteristic route based on the route of the characteristic optical cable, wherein the characteristic optical cable is an optical cable whose degree of same routing is within the range of the degree of same routing;

[0125] The number of optical cables passing through the characteristic route is calculated to obtain optical cable parameters corresponding to the characteristic route.

[0126] 205. In response to the adjustment request, generate an adjusted route based on a preset planned route data set, display the adjusted route in the graphic display area, and display adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is an optical cable route that meets the adjustment conditions.

[0127] In this step, the adjustment conditions include adjustment endpoints, adjustment ranges, length conditions, and risk conditions;

[0128] In this step, responding to the adjustment request and generating an adjusted route based on a preset planned route data set includes:

[0129] Extracting planned route segments within the adjustment range from the planned route data set, and combining the planned route segments based on the adjustment endpoint to obtain an alternative route, wherein the alternative route is an optical cable route formed by connecting at least two planned route segments and having the adjustment endpoint as the first and last endpoints;

[0130] Extracting corresponding risk points from a preset risk point data set according to the risk condition, and querying routes that do not pass through the risk points from each of the alternative routes to obtain a first filtered route;

[0131] Extracting all planned route segments included in the first screening route and the lengths corresponding to the planned route segments from the planned route data set, and calculating the laying lengths corresponding to the first screening routes based on the lengths corresponding to the planned route segments;

[0132] A route whose laying length meets the length condition is queried from each of the first screening routes to obtain an adjusted route.

[0133] In this step, displaying the adjusted route in the graphic display area and displaying the adjustment parameters corresponding to the adjusted route in the numerical display area include:

[0134] When the adjusted route is a single route, a route position corresponding to the adjusted route is selected from the planned route data set, and based on the route position, the adjusted route is displayed on a pre-configured map in the graphic display area; all planned route segments included in the adjusted route and difficulty parameters corresponding to each planned route segment are extracted from the planned route data set, and a laying difficulty parameter of the adjusted route is calculated based on the difficulty parameters corresponding to the planned route segments; and the laying difficulty parameter is displayed in the numerical display area;

[0135] When the adjusted routes are at least two routes, all planned route segments contained in each of the adjusted routes and the difficulty parameters corresponding to each of the planned route segments are extracted from the planned route data set, and the laying difficulty parameters of each of the adjusted routes are calculated based on the difficulty parameters corresponding to the planned route segments; each of the adjusted routes is sorted based on the laying difficulty parameters, and the display color corresponding to each of the adjusted routes is determined according to a preset sorting color table; based on the display color, the laying difficulty parameter is displayed in the numerical display area; the route position corresponding to each of the adjusted routes is selected from the planned route data set; based on the route position, the adjusted route is displayed according to the display color on a map pre-configured in the graphic display area.

[0136] By implementing the above method, in response to a touch operation on the selection control, a corresponding selected position is determined based on the touch operation, and a corresponding optical cable route is determined based on the selected position, and the optical cable route is displayed in the graphic display area, wherein the selected position is the position of the selection control in the graphic display area; in response to a touch operation on the editing control, a preset editing interface is displayed on the editing control; editing content is read from the editing interface, and a display request and characteristic conditions are extracted from the editing content, wherein the editing content is edited based on the editing interface, the display request at least includes a query request and an adjustment request, and the characteristic condition at least includes a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request; in response to the query request, a characteristic route and an optical cable parameter corresponding to the characteristic route are extracted from a preset optical cable route data set, and the characteristic route is displayed in the graphic display area, and the optical cable parameter corresponding to the characteristic route is displayed in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition; in response to the adjustment request, a preset planning The routing data set generates an adjusted route, and displays the adjusted route in the graphic display area, and displays the adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is the optical cable route that meets the adjustment conditions; above, by determining the corresponding optical cable route based on the selected position and displaying the optical cable route in the graphic display area, the content corresponding to the optical cable route is displayed based on user interaction; by responding to the query request, the characteristic route and the optical cable parameters corresponding to the characteristic route are extracted from the preset optical cable route data set and displayed separately, which can meet the actual needs of optical cable management and maintenance. Information that meets the query conditions can be selected and intuitively displayed in the graphic display area and the numerical display area; by responding to the adjustment request, an adjusted route is generated based on the preset planned route data set, and the adjusted route is displayed in the graphic display area, and the adjustment parameters corresponding to the adjusted route are displayed in the numerical display area, which realizes the adjustment of the optical cable route on the display interface, facilitating the display of the route of the optical cable that meets the adjustment conditions; thereby solving the problem of the inability to effectively display the optical cable route in the traditional technology.

[0137] See also Figure 3 The third embodiment of the method for displaying optical cable routing in the embodiment of the present invention is implemented by the following steps:

[0138] 301. Responding to a touch operation on a selection control, determining a corresponding selected position based on the touch operation, determining a corresponding optical cable route based on the selected position, and displaying the optical cable route in a graphic display area, wherein the selected position is a position of the selection control in the graphic display area;

[0139] In this step, a pre-configured map is displayed in the graphic display area;

[0140] This step can be implemented in the following ways:

[0141] Extract the optical cable route corresponding to the selected location in the map, and extract the optical cable facility corresponding to the optical cable route from the optical cable route data set, wherein the optical cable facility at least includes a manhole, an optical cross-connection box, and a pipeline section; obtain the facility position corresponding to the optical cable facility, and display the optical cable facility at the facility position on the map, wherein the facility position at least includes the position of the manhole in the map, the position of the optical cross-connection box in the map, and the position of the pipeline section in the map.

[0142] In this step, after displaying the optical cable route in the graphic display area, the step further includes:

[0143] Extracting characteristic buildings corresponding to the facility location from the map based on a preset characteristic building set, wherein the characteristic buildings are buildings on the map that are consistent with the building types included in the characteristic building set, and the building types in the characteristic building set include at least roads, railways, airports, and gas pipelines;

[0144] The characteristic buildings are displayed on the map, such as Figure 12 As shown, 714 represents the map and 715 represents the characteristic building.

[0145] 302. Respond to a touch operation on the edit control and display a preset editing interface on the edit control;

[0146] In this step, the touch operation on the editing control includes at least a single-click operation and a double-click operation, and the editing interface includes at least a query condition editing interface and an adjustment condition editing interface;

[0147] This step can be implemented in the following ways:

[0148] In response to a single-click operation on the editing control, a query condition editing interface is displayed on the editing control; in response to a double-click operation on the editing control, an adjustment condition editing interface is displayed on the editing control.

[0149] 303. Read the edit content from the edit interface and extract a display request and characteristic conditions from the edit content, wherein the edit content is edited based on the edit interface, the display request includes at least a query condition and an adjustment request, and the characteristic conditions include at least a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request;

[0150] In this step, the editing interface includes a text editing interface and a sliding operation interface, and the editing content includes text content and sliding operation content;

[0151] This step can be implemented in the following ways:

[0152] Extracting sliding operation content from the sliding operation interface, and determining a display request based on the sliding operation content; extracting text content from the text editing interface, and extracting sliding operation content from the sliding operation interface; calculating the edit distance between the text content and a preset feature condition word according to a minimum edit distance algorithm, and determining the feature condition word corresponding to the display request according to a preset edit distance threshold to obtain a feature condition.

[0153] In this step, the minimum edit distance algorithm measures the similarity between two strings by comparing the resources required to convert the source string into the target string through insertion, deletion, and modification. Insertion and deletion operations are assigned corresponding weights, typically set to 1 for insertion and deletion, and 2 for modification. The edit distance, also known as the Levenshtein distance, refers to the minimum number of edit operations required to convert one string into the other. Permitted edit operations include replacing one character with another, inserting a character, and deleting a character. Generally speaking, the smaller the edit distance, the greater the similarity between the two strings.

[0154] 304. In response to the query request, extract a characteristic route and a corresponding optical cable parameter from a preset optical cable route data set, display the characteristic route in a graphic display area, and display the corresponding optical cable parameter in a numerical display area, wherein the characteristic route is an optical cable route that meets the query condition;

[0155] In this step, the query conditions include the target route and the length range of the same route;

[0156] The step of extracting a characteristic route and an optical cable parameter corresponding to the characteristic route from a preset optical cable route data set in response to the query request includes:

[0157] The optical cable routes of all optical cables are extracted from the optical cable route data set, and are compared with the target route in sequence to obtain the same-route length corresponding to each optical cable, wherein the same-route length is the length of the same portion of the optical cable route of each optical cable and the target route; characteristic optical cables are extracted from the optical cables based on the same-route length, and the characteristic route is determined based on the route of the characteristic optical cable, wherein the characteristic optical cable is an optical cable with a same-route length within the same-route length range; the number of optical cables passing through the characteristic route is calculated to obtain the optical cable parameters corresponding to the characteristic route.

[0158] 305. In response to the adjustment request, generate an adjusted route based on a preset planned route data set, display the adjusted route in the graphic display area, and display adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is an optical cable route that meets the adjustment conditions.

[0159] This step can be implemented in the following ways:

[0160] Extracting planned route segments within the adjustment range from the planned route data set, and combining the planned route segments based on the adjustment endpoint to obtain an alternative route, wherein the alternative route is an optical cable route formed by connecting at least two planned route segments and having the adjustment endpoint as the first and last endpoints;

[0161] Extracting corresponding risk points from a preset risk point data set according to the risk condition, and querying routes that do not pass through the risk points from each of the alternative routes to obtain a first filtered route;

[0162] Extracting all planned route segments included in the first screening route and the lengths corresponding to the planned route segments from the planned route data set, and calculating the laying lengths corresponding to the first screening routes based on the lengths corresponding to the planned route segments;

[0163] Querying the routes whose laying lengths satisfy the length condition from the first screening routes to obtain adjusted routes;

[0164] When the adjusted route is a route, selecting a route position corresponding to the adjusted route from the planned route data set, and displaying the adjusted route on a pre-configured map in the graphic display area based on the route position;

[0165] Extracting all planned route segments included in the adjusted route and difficulty parameters corresponding to each of the planned route segments from the planned route data set, and calculating a laying difficulty parameter of the adjusted route based on the difficulty parameters corresponding to the planned route segments;

[0166] Displaying the laying difficulty parameter in the numerical display area;

[0167] When the adjusted route is at least two routes, extracting all planned route segments contained in each of the adjusted routes and difficulty parameters corresponding to each of the planned route segments from the planned route data set, and calculating a laying difficulty parameter of each of the adjusted routes based on the difficulty parameters corresponding to the planned route segments;

[0168] Sorting the adjusted routes based on the installation difficulty parameter, and determining a display color corresponding to each adjusted route according to a preset sorting color table;

[0169] Based on the display color, the laying difficulty parameter is displayed in the numerical display area;

[0170] Selecting a route location corresponding to each of the adjusted routes from the planned route data set;

[0171] Based on the route position, the adjusted route is displayed in the display color on a pre-configured map in the graphic display area.

[0172] By implementing the above method, in response to a touch operation on the selection control, a corresponding selected position is determined based on the touch operation, and a corresponding optical cable route is determined based on the selected position, and the optical cable route is displayed in the graphic display area, wherein the selected position is the position of the selection control in the graphic display area; in response to a touch operation on the editing control, a preset editing interface is displayed on the editing control; editing content is read from the editing interface, and a display request and characteristic conditions are extracted from the editing content, wherein the editing content is edited based on the editing interface, the display request at least includes a query request and an adjustment request, and the characteristic condition at least includes a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request; in response to the query request, a characteristic route and an optical cable parameter corresponding to the characteristic route are extracted from a preset optical cable route data set, and the characteristic route is displayed in the graphic display area, and the optical cable parameter corresponding to the characteristic route is displayed in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition; in response to the adjustment request, a preset planning The routing data set generates an adjusted route, and displays the adjusted route in the graphic display area, and displays the adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is the optical cable route that meets the adjustment conditions; above, by determining the corresponding optical cable route based on the selected position and displaying the optical cable route in the graphic display area, the content corresponding to the optical cable route is displayed based on user interaction; by responding to the query request, the characteristic route and the optical cable parameters corresponding to the characteristic route are extracted from the preset optical cable route data set and displayed separately, which can meet the actual needs of optical cable management and maintenance. Information that meets the query conditions can be selected and intuitively displayed in the graphic display area and the numerical display area; by responding to the adjustment request, an adjusted route is generated based on the preset planned route data set, and the adjusted route is displayed in the graphic display area, and the adjustment parameters corresponding to the adjusted route are displayed in the numerical display area, which realizes the adjustment of the optical cable route on the display interface, facilitating the display of the route of the optical cable that meets the adjustment conditions; thereby solving the problem of the inability to effectively display the optical cable route in the traditional technology.

[0173] The above describes the display method of the optical cable route in the embodiment of the present invention. The following describes the display device of the optical cable route in the embodiment of the present invention. Figure 4 , an embodiment of a display device for optical cable routing in an embodiment of the present invention, the device comprises:

[0174] A first display module 401 is configured to respond to a touch operation on a selection control, determine a corresponding selected position based on the touch operation, determine a corresponding optical cable route based on the selected position, and display the optical cable route in a graphic display area, wherein the selected position is a position of the selection control in the graphic display area;

[0175] The second display module 402 is used to respond to a touch operation on the editing control and display a preset editing interface on the editing control;

[0176] Extraction module 403, configured to read edit content from the editing interface and extract a display request and characteristic conditions from the edit content, wherein the edit content is edited based on the editing interface, the display request includes at least a query request and an adjustment request, and the characteristic conditions include at least a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request;

[0177] A third display module 404 is configured to, in response to the query request, extract a characteristic route and a corresponding optical cable parameter of the characteristic route from a preset optical cable route data set, and display the characteristic route in the graphic display area and the corresponding optical cable parameter of the characteristic route in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition;

[0178] The fourth display module 405 is used to respond to the adjustment request, generate an adjusted route based on a preset planned route data set, display the adjusted route in the graphic display area, and display the adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is an optical cable route that meets the adjustment conditions.

[0179] Through the implementation of the above-mentioned device, by responding to a touch operation on the selection control, determining a corresponding selected position based on the touch operation, and determining a corresponding optical cable route based on the selected position, the optical cable route is displayed in the graphic display area, wherein the selected position is the position of the selection control in the graphic display area; responding to a touch operation on the editing control, and displaying a preset editing interface on the editing control; reading editing content from the editing interface, and extracting display requests and characteristic conditions from the editing content, wherein the editing content is edited based on the editing interface, the display request at least includes a query request and an adjustment request, and the characteristic condition at least includes a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request; in response to the query request, extracting a characteristic route and an optical cable parameter corresponding to the characteristic route from a preset optical cable route data set, and displaying the characteristic route in the graphic display area, and displaying the optical cable parameter corresponding to the characteristic route in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition; in response to the adjustment request, based on a preset planning The routing data set generates an adjusted route, and displays the adjusted route in the graphic display area, and displays the adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is the optical cable route that meets the adjustment conditions; above, by determining the corresponding optical cable route based on the selected position and displaying the optical cable route in the graphic display area, the content corresponding to the optical cable route is displayed based on user interaction; by responding to the query request, the characteristic route and the optical cable parameters corresponding to the characteristic route are extracted from the preset optical cable route data set and displayed separately, which can meet the actual needs of optical cable management and maintenance. Information that meets the query conditions can be selected and intuitively displayed in the graphic display area and the numerical display area; by responding to the adjustment request, an adjusted route is generated based on the preset planned route data set, and the adjusted route is displayed in the graphic display area, and the adjustment parameters corresponding to the adjusted route are displayed in the numerical display area, which realizes the adjustment of the optical cable route on the display interface, facilitating the display of the route of the optical cable that meets the adjustment conditions; thereby solving the problem of the inability to effectively display the optical cable route in the traditional technology.

[0180] See also Figure 5 Another embodiment of the display device for optical cable routing in the embodiment of the present invention includes:

[0181] A first display module 401 is configured to respond to a touch operation on a selection control, determine a corresponding selected position based on the touch operation, determine a corresponding optical cable route based on the selected position, and display the optical cable route in a graphic display area, wherein the selected position is a position of the selection control in the graphic display area;

[0182] The second display module 402 is used to respond to a touch operation on the editing control and display a preset editing interface on the editing control;

[0183] Extraction module 403, configured to read edit content from the editing interface and extract a display request and characteristic conditions from the edit content, wherein the edit content is edited based on the editing interface, the display request includes at least a query request and an adjustment request, and the characteristic conditions include at least a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request;

[0184] A third display module 404 is configured to, in response to the query request, extract a characteristic route and a corresponding optical cable parameter of the characteristic route from a preset optical cable route data set, and display the characteristic route in the graphic display area and the corresponding optical cable parameter of the characteristic route in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition;

[0185] The fourth display module 405 is used to respond to the adjustment request, generate an adjusted route based on a preset planned route data set, display the adjusted route in the graphic display area, and display the adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is an optical cable route that meets the adjustment conditions.

[0186] In this embodiment, the first display module 401 includes:

[0187] A first extraction unit 4011 is configured to extract the optical cable route corresponding to the selected location in the map, and extract the optical cable facilities corresponding to the optical cable route from the optical cable route dataset, wherein the optical cable facilities at least include a manhole, an optical cross-connect box, and a pipeline section;

[0188] The first display unit 4012 is used to obtain the facility location corresponding to the optical cable facility and display the optical cable facility at the facility location on the map, wherein the facility location at least includes the location of the manhole in the map, the location of the optical cross-box in the map and the location of the pipeline section in the map.

[0189] In this embodiment, the second display module 402 includes:

[0190] The first responding unit 4021 is configured to display a query condition editing interface on the edit control in response to a click operation on the edit control;

[0191] The second responding unit 4022 is configured to display an adjustment condition editing interface on the editing control in response to a double-click operation on the editing control.

[0192] In this embodiment, the extraction module 403 includes:

[0193] A first determining unit 4031 is configured to extract sliding operation content from the sliding operation interface and determine a display request based on the sliding operation content;

[0194] A second extraction unit 4032 is configured to extract text content from the text editing interface and extract sliding operation content from the sliding operation interface;

[0195] The second determining unit 4033 is configured to calculate the edit distance between the text content and a preset characteristic condition word according to a minimum edit distance algorithm, and determine the characteristic condition word corresponding to the display request according to a preset edit distance threshold to obtain a characteristic condition.

[0196] In this embodiment, the third display module 404 includes:

[0197] a comparison unit 4041 configured to extract the optical cable routes of all optical cables from the optical cable route dataset and compare them with the target route in sequence to obtain a same-route length corresponding to each optical cable, wherein the same-route length is the length of the same portion of the optical cable route of each optical cable and the target route;

[0198] A third determining unit 4042 is configured to extract a characteristic optical cable from the optical cables based on the same-route length, and determine the characteristic route based on the route of the characteristic optical cable, wherein the characteristic optical cable is an optical cable with a same-route length within the same-route length range;

[0199] The calculation unit 4043 is configured to calculate the number of optical cables passing through the characteristic route and obtain optical cable parameters corresponding to the characteristic route.

[0200] In this embodiment, the fourth display module 405 includes:

[0201] The route generation unit 4051 is configured to extract the planned route segments within the adjustment range from the planned route data set, and determine to combine the planned route segments based on the adjustment endpoints to obtain an alternative route, wherein the alternative route is an optical cable route formed by connecting at least two planned route segments and having the adjustment endpoints as the head and tail endpoints; extract the corresponding risk point from the preset risk point data set according to the risk condition, and query the route that does not pass through the risk point from each of the alternative routes to obtain a first screening route; extract all the planned route segments contained in the first screening route and the length corresponding to each of the planned route segments from the planned route data set, and calculate the laying length corresponding to each of the first screening routes based on the length corresponding to the planned route segments; query the route whose laying length meets the length condition from each of the first screening routes to obtain an adjusted route;

[0202] The route display unit 4052 is configured to, when the adjusted route is one route, select a route position corresponding to the adjusted route from the planned route data set, and display the adjusted route on a pre-configured map in the graphic display area based on the route position; extract all planned route segments and difficulty parameters corresponding to each planned route segment contained in the adjusted route from the planned route data set, and calculate a laying difficulty parameter of the adjusted route based on the difficulty parameters corresponding to the planned route segments; display the laying difficulty parameter in the numerical display area; extract all planned route segments and difficulty parameters corresponding to each planned route segment from the planned route data set when the adjusted route is at least two routes; All planned route segments contained in each of the adjusted routes and the difficulty parameters corresponding to each of the planned route segments, and the laying difficulty parameters of each of the adjusted routes are calculated based on the difficulty parameters corresponding to the planned route segments; each of the adjusted routes is sorted based on the laying difficulty parameters, and the display color corresponding to each of the adjusted routes is determined according to a preset sorting color table; based on the display color, the laying difficulty parameter is displayed in the numerical display area; the route position corresponding to each of the adjusted routes is selected from the planned route data set; based on the route position, the adjusted route is displayed according to the display color on a pre-configured map in the graphic display area.

[0203] Through the implementation of the above-mentioned device, by responding to a touch operation on the selection control, determining a corresponding selected position based on the touch operation, and determining a corresponding optical cable route based on the selected position, the optical cable route is displayed in the graphic display area, wherein the selected position is the position of the selection control in the graphic display area; responding to a touch operation on the editing control, and displaying a preset editing interface on the editing control; reading editing content from the editing interface, and extracting display requests and characteristic conditions from the editing content, wherein the editing content is edited based on the editing interface, the display request at least includes a query request and an adjustment request, and the characteristic condition at least includes a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request; in response to the query request, extracting a characteristic route and an optical cable parameter corresponding to the characteristic route from a preset optical cable route data set, and displaying the characteristic route in the graphic display area, and displaying the optical cable parameter corresponding to the characteristic route in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition; in response to the adjustment request, based on a preset planning The routing data set generates an adjusted route, and displays the adjusted route in the graphic display area, and displays the adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is the optical cable route that meets the adjustment conditions; above, by determining the corresponding optical cable route based on the selected position and displaying the optical cable route in the graphic display area, the content corresponding to the optical cable route is displayed based on user interaction; by responding to the query request, the characteristic route and the optical cable parameters corresponding to the characteristic route are extracted from the preset optical cable route data set and displayed separately, which can meet the actual needs of optical cable management and maintenance. Information that meets the query conditions can be selected and intuitively displayed in the graphic display area and the numerical display area; by responding to the adjustment request, an adjusted route is generated based on the preset planned route data set, and the adjusted route is displayed in the graphic display area, and the adjustment parameters corresponding to the adjusted route are displayed in the numerical display area, which realizes the adjustment of the optical cable route on the display interface, facilitating the display of the route of the optical cable that meets the adjustment conditions; thereby solving the problem of the inability to effectively display the optical cable route in the traditional technology.

[0204] See also Figure 6 , an embodiment of the computer device in the embodiment of the present invention is described in detail below from the perspective of hardware processing.

[0205] Figure 6This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Computer device 600 may vary significantly depending on configuration or performance. It may include one or more processors (central processing units, CPUs) 610 (e.g., one or more processors), memory 620, and one or more storage media 630 (e.g., one or more mass storage devices) storing application programs 633 or data 632. Memory 620 and storage media 630 may be either transient or persistent storage. The program stored in storage medium 630 may include one or more modules (not shown), each of which may include a series of instructions operating on computer device 600. Furthermore, processor 610 may be configured to communicate with storage medium 630 to execute the series of instructions stored in storage medium 630 on computer device 600.

[0206] The computer device 600 may further include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input and output interfaces 660, and / or one or more operating systems 631, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 6 The computer device structure shown does not constitute a limitation on the computer device provided in this application, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0207] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions, which, when executed on a computer, cause the computer to execute the steps of the above-mentioned method for displaying optical cable routing.

[0208] In practical applications, the methods provided above can be implemented based on artificial intelligence technology. Artificial Intelligence (AI) refers to the theories, methods, techniques, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. Specifically, these methods can be executed on a server, which can be a standalone server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and AI platforms.

[0209] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0210] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the method of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0211] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for displaying optical cable routing, characterized in that: The optical cable routing interface is displayed by the terminal, wherein the optical cable routing interface includes a graphic display area, a numerical display area, a selection control, and an editing control. The display method includes: In response to a touch operation on the selection control, determining a corresponding selected position based on the touch operation, determining a corresponding optical cable route based on the selected position, and displaying the optical cable route in the graphic display area, wherein the selected position is a position of the selection control in the graphic display area; Responding to a touch operation on the editing control and displaying a preset editing interface on the editing control; Reading edit content from the editing interface, and extracting a display request and characteristic conditions from the edit content, wherein the edit content is edited based on the editing interface, the display request includes at least a query request and an adjustment request, and the characteristic conditions include at least a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request; In response to the query request, extracting a characteristic route and an optical cable parameter corresponding to the characteristic route from a preset optical cable route data set, displaying the characteristic route in the graphic display area, and displaying the optical cable parameter corresponding to the characteristic route in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition; In response to the adjustment request, an adjusted route is generated based on a preset planned route data set, and the adjusted route is displayed in the graphic display area, and the adjustment parameters corresponding to the adjusted route are displayed in the numerical display area, wherein the adjusted route is an optical cable route that meets the adjustment conditions.

2. The display method according to claim 1, wherein: A pre-configured map is displayed in the graphic display area; The determining a corresponding optical cable route based on the selected position and displaying the optical cable route in the graphic display area includes: Extracting the optical cable route corresponding to the selected location from the map, and extracting the optical cable facilities corresponding to the optical cable route from the optical cable route dataset, wherein the optical cable facilities at least include a manhole, an optical cross-connect box, and a pipeline section; Obtain the facility location corresponding to the optical cable facility, and display the optical cable facility at the facility location on the map, wherein the facility location at least includes the location of the manhole in the map, the location of the optical cross-connect box in the map, and the location of the pipeline section in the map.

3. The display method according to claim 1, wherein: The touch operation on the editing control includes at least a single-click operation and a double-click operation, and the editing interface includes at least a query condition editing interface and an adjustment condition editing interface; The responding to the touch operation on the editing control and displaying a preset editing interface on the editing control includes: In response to a click operation on the editing control, displaying a query condition editing interface on the editing control; In response to a double-click operation on the editing control, an adjustment condition editing interface is displayed on the editing control.

4. The display method according to claim 1, wherein: The editing interface includes a text editing interface and a sliding operation interface, and the editing content includes text content and sliding operation content; The step of reading the edit content from the edit interface and extracting the display request and characteristic conditions from the edit content includes: Extracting sliding operation content from the sliding operation interface, and determining a display request based on the sliding operation content; Extracting text content from the text editing interface and extracting sliding operation content from the sliding operation interface; The edit distance between the text content and a preset characteristic condition word is calculated according to a minimum edit distance algorithm, and the characteristic condition word corresponding to the display request is determined according to a preset edit distance threshold to obtain a characteristic condition.

5. The display method according to claim 1, wherein: The query conditions include the target route and the length range of the same route; The step of extracting a characteristic route and an optical cable parameter corresponding to the characteristic route from a preset optical cable route data set in response to the query request includes: Extracting the optical cable routes of all optical cables from the optical cable route dataset and comparing them with the target route in sequence to obtain the same-route length corresponding to each optical cable, wherein the same-route length is the length of the same portion of the optical cable route of each optical cable and the target route; Extracting a characteristic optical cable from the optical cables based on the same-route length, and determining the characteristic route based on the route of the characteristic optical cable, wherein the characteristic optical cable is an optical cable with a same-route length within the same-route length range; The number of optical cables passing through the characteristic route is calculated to obtain optical cable parameters corresponding to the characteristic route.

6. The display method according to any one of claims 1 to 5, characterized in that: The adjustment conditions include adjustment endpoints, adjustment ranges, length conditions and risk conditions; The step of responding to the adjustment request and generating an adjusted route based on a preset planned route data set includes: Extracting planned route segments within the adjustment range from the planned route data set, and combining the planned route segments based on the adjustment endpoint to obtain an alternative route, wherein the alternative route is an optical cable route formed by connecting at least two planned route segments and having the adjustment endpoint as the first and last endpoints; Extracting corresponding risk points from a preset risk point data set according to the risk condition, and querying routes that do not pass through the risk points from each of the alternative routes to obtain a first filtered route; Extracting all planned route segments included in the first screening route and the lengths corresponding to the planned route segments from the planned route data set, and calculating the laying lengths corresponding to the first screening routes based on the lengths corresponding to the planned route segments; A route whose laying length meets the length condition is queried from each of the first screening routes to obtain an adjusted route.

7. The display method according to claim 6, wherein: The step of displaying the adjustment route in the graphic display area and displaying the adjustment parameter corresponding to the adjustment route in the numerical display area includes: When the adjusted route is a route, selecting a route position corresponding to the adjusted route from the planned route data set, and displaying the adjusted route on a pre-configured map in the graphic display area based on the route position; Extracting all planned route segments included in the adjusted route and difficulty parameters corresponding to each of the planned route segments from the planned route data set, and calculating a laying difficulty parameter of the adjusted route based on the difficulty parameters corresponding to the planned route segments; Displaying the laying difficulty parameter in the numerical display area; When the adjusted route is at least two routes, extracting all planned route segments contained in each of the adjusted routes and difficulty parameters corresponding to each of the planned route segments from the planned route data set, and calculating a laying difficulty parameter of each of the adjusted routes based on the difficulty parameters corresponding to the planned route segments; Sorting the adjusted routes based on the installation difficulty parameter, and determining a display color corresponding to each adjusted route according to a preset sorting color table; Based on the display color, the laying difficulty parameter is displayed in the numerical display area; Selecting a route location corresponding to each of the adjusted routes from the planned route data set; Based on the route position, the adjusted route is displayed on a preconfigured map in the graphic display area according to the display color.

8. A display device for optical cable routing, characterized in that: The device comprises: a first display module, configured to respond to a touch operation on a selection control, determine a corresponding selected position based on the touch operation, determine a corresponding optical cable route based on the selected position, and display the optical cable route in a graphic display area, wherein the selected position is a position of the selection control in the graphic display area; A second display module is used to respond to a touch operation on the editing control and display a preset editing interface on the editing control; an extraction module, configured to read edit content from the editing interface and extract a display request and characteristic conditions from the edit content, wherein the edit content is edited based on the editing interface, the display request includes at least a query request and an adjustment request, and the characteristic conditions include at least a query condition corresponding to the query request and an adjustment condition corresponding to the adjustment request; a third display module, configured to respond to the query request, extract a characteristic route and an optical cable parameter corresponding to the characteristic route from a preset optical cable route data set, and display the characteristic route in the graphic display area, and display the optical cable parameter corresponding to the characteristic route in the numerical display area, wherein the characteristic route is an optical cable route that meets the query condition; The fourth display module is used to respond to the adjustment request, generate an adjusted route based on a preset planned route data set, display the adjusted route in the graphic display area, and display the adjustment parameters corresponding to the adjusted route in the numerical display area, wherein the adjusted route is an optical cable route that meets the adjustment conditions.

9. A computer device, characterized in that: include: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instructions in the memory to enable the computer device to execute each step of the display method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of the display method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Optical path management system and method for quickly positioning and analyzing same route of optical path

    CN110708116A

  • Method for accurately positioning physical position of optical cable

    CN111404601A