Cable display method and related equipment

By dividing the network levels of fiber and cable objects and using rectangular collision detection and delayed loading mechanisms, the problem of interface lag and interference caused by fiber and cable display in large-scale network scenarios is solved, and efficient fiber and cable display and user experience improvement are achieved.

CN118733645APending Publication Date: 2024-10-01HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310360059.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In large-scale network scenarios, existing fiber and cable display methods lead to interface lags and mutual interference between fiber and cable objects, making it difficult to accurately locate network faults.

Method used

By dividing the network levels of fiber and cable objects, and loading and displaying the fiber and cable objects in the visible area in the matching network layer according to business requirements, the rectangular collision detection and delayed loading mechanisms are used to reduce the number of fiber and cable objects loaded and displayed. Avoid interface lag and cable object interference.

Benefits of technology

It improves the fluency and user experience of interface operations, ensures the accuracy and completeness of fiber and cable display, and supports fiber and cable display in large-scale network scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733645A_ABST
    Figure CN118733645A_ABST
Patent Text Reader

Abstract

The invention discloses a cable display method and related equipment, and the method comprises the steps: determining a network hierarchy matched with a proportional scale of a map from a plurality of network hierarchies, and then determining cable objects in a visual region from the cable objects of the matched network hierarchy, and displaying the map in the visible area and displaying the cable object in the visible area. Wherein different network levels include different cable objects. The cable object can be displayed in a large-scale network scene. Moreover, when the cable objects are displayed in a large-scale network scene, the number of the loaded and / or displayed cable objects can be reduced, interface jamming can be effectively avoided, the smoothness of interface operation is improved, mutual interference between the cable objects is effectively avoided, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a fiber cable display method and related equipment. Background Art

[0002] With the rapid development of network technology, in order to more accurately judge network latency and precisely locate network faults, it is necessary to combine the Geographic Information System (GIS) to realize the real wiring display of physical links, that is, to display physical equipment and fiber objects such as fiber segments in combination with regional characteristics. At present, the fiber objects are mainly drawn directly on the map according to their longitude and latitude, and all fiber objects are displayed in the visible area of ​​the GIS system at one time when the map is displayed.

[0003] With the increasing demand for networks, the scale of networks is getting larger and larger. For example, the fiber cable segments of large-scale offices can reach tens of thousands, and the fiber cable segments of small and medium-sized offices can even reach 1 million. The existing fiber cable display method is prone to interface freeze in large-scale network scenarios, and fiber cable objects are prone to mutual interference. Therefore, how to display fiber cables in large-scale network scenarios is an urgent problem to be solved. Summary of the invention

[0004] The embodiments of the present application provide a fiber cable display method and related devices, which can display fiber cable objects in a large-scale network scenario.

[0005] In a first aspect, a fiber cable display method is provided, the method comprising: determining a network level matching the scale of a map from multiple network levels, then determining a fiber cable object in a visible area from the fiber cable objects of the matching network level, and displaying the map and the fiber cable object in the visible area. Different network levels include different fiber cable objects.

[0006] It can be seen that the fiber cable display method described in the first aspect divides the fiber cable objects into corresponding network levels. When displaying the fiber cables, the fiber cable objects in the visible area of ​​the matching network level are loaded and / or displayed according to business needs, which can effectively support large-scale network scenarios. In addition, since the fiber cable objects in the visible area of ​​the matching network level are loaded and / or displayed according to business needs, the number of fiber cable objects loaded and / or displayed is reduced, the interface freezes, and the smoothness of the interface operation is effectively improved. In addition, since only the fiber cable objects in the matching network level are displayed, mutual interference between fiber cable objects at different network levels can be effectively avoided. At the same time, invalid information from a macro perspective can be hidden to avoid presenting too much invalid information, effectively improving the user experience.

[0007] Optionally, the fiber and cable objects in the visible area can be loaded based on a lazy-load mechanism, that is, data loading operations are performed only when data is needed during the execution of the business. In other words, loading the fiber and cable objects in the visible area in the matching network layer according to business needs can effectively save performance overhead.

[0008] Optionally, the fiber and cable object includes but is not limited to physical devices (such as network devices, landmarks, nodes, etc.) and fiber and cable segments (also referred to as optical cable segments). Optionally, the physical devices can be further divided into: source end physical devices and sink end physical devices. The source end physical device refers to the physical device used for inflowing data. The sink end physical device refers to the physical device used for outflowing data.

[0009] In combination with the first aspect, in some optional embodiments, before determining the fiber and cable objects within the visible area from the fiber and cable objects of the matching network layers, the method also includes: determining the fiber and cable objects included in multiple network layers respectively according to the physical length of each fiber and cable segment in the fiber and cable object, and / or the physical position spacing between the source physical device and the host physical device.

[0010] In combination with the first aspect, in some optional embodiments, before determining the cable objects respectively included in multiple network levels based on the physical length of each cable segment in the cable object and / or the physical position spacing between the source physical device and the host physical device, the method further includes: obtaining the beginning and end longitude and latitude of the cable segment in the cable object, calling the half-haversine formula to process the beginning and end longitude and latitude of the cable segment, and obtaining the physical length of the cable segment. In this embodiment, the physical length of the cable segment obtained based on the half-haversine formula is more accurate, so that the network level of the cable segment determined based on the physical length of the cable segment is more accurate. Furthermore, when displaying cables, it is also more accurate to determine the cable objects in the visible area from the cable objects of the matching network level, which is conducive to improving the accuracy of the cable display.

[0011] In combination with the first aspect, in some optional implementations, determining the fiber cable objects in the visible area from the fiber cable objects in the matched network layer includes: performing rectangular collision detection on the rectangular frame coordinates of each fiber cable object in the matched network layer based on the rectangular frame coordinates of the visible area to determine the fiber cable objects in the visible area; wherein the rectangular frame indicated by the rectangular frame coordinates of the fiber cable objects in the visible area intersects with the rectangular frame coordinates of the visible area; and the rectangular frame coordinates are constructed based on longitude and latitude. It can be seen that in this implementation, the rectangular collision detection can effectively ensure the retrieval efficiency of the database and realize the retrieval capability of second-level data.

[0012] In combination with the first aspect, in some optional implementations, after displaying the map and the fiber and cable objects in the visible area, the method further includes: receiving a first operation on the visible area; the first operation is used to update the logical coordinates in the visible area to the logical coordinates in the associated area; in response to the first operation, displaying the map in the associated area and the fiber and cable objects in the associated area in the visible area. The distance between the logical coordinates in the associated area and the visible area is within a preset range. Optionally, the first operation includes but is not limited to one or more of a click operation, a slide operation, or a long press operation.

[0013] In combination with the first aspect, in some optional implementations, before displaying the map within the associated area and the fiber and cable objects within the associated area in the visible area, the method further includes: determining the fiber and cable objects within the associated area from the fiber and cable objects at the matching network level.

[0014] In combination with the first aspect, in some optional embodiments, after displaying the map and the fiber cable object in the visible area, the method also includes: receiving a second operation for the visible area; the second operation is used to adjust the network level in the visible area; in response to the second operation, displaying the updated map and the updated fiber cable object in the visible area.

[0015] Optionally, the second operation includes but is not limited to one or more of a click operation, a slide operation, or a long press operation.

[0016] It can be seen that in this implementation, the operation and maintenance personnel are supported to manually adjust the network level on the visual interface, and the fiber and cable objects in different network levels can be displayed as needed to improve the user experience. At the same time, the integrity of the fiber and cable object display can also be ensured in the boundary scenario.

[0017] In a second aspect, the present application provides an electronic device, including one or more processors, one or more memories, and a touch screen. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the fiber cable display method in any possible implementation of the first aspect.

[0018] In a third aspect, an embodiment of the present application provides a computer storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the fiber cable display method in any possible implementation of the first aspect.

[0019] In a fourth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the fiber cable display method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments of the present application will be described below.

[0021] Figure 1 It is a schematic diagram of an interface of a fiber cable display method provided by an existing solution;

[0022] Figure 2 It is a schematic diagram of the architecture of a network control unit system provided in an embodiment of the present application;

[0023] Figure 3 It is a flowchart of a fiber cable display method provided in an embodiment of the present application;

[0024] Figure 4 is a schematic diagram of a rectangular collision detection provided by an embodiment of the present application;

[0025] Figure 5 is a schematic diagram of a user interface provided in an embodiment of the present application;

[0026] Figure 6 is another user interface schematic diagram provided in an embodiment of the present application;

[0027] Figure 7 It is a flowchart of another fiber cable display method provided in an embodiment of the present application;

[0028] Figure 8 is a flow chart of another fiber cable display method provided in an embodiment of the present application;

[0029] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0030] Fig.10 A schematic diagram of the architecture of a software system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0032] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0033] The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device, and finally presented as content that can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0034] With the development of geographical science, computer technology, remote sensing technology and information science, GIS systems have been applied in resource development, environmental protection, urban planning and construction, land management, crop survey and production, transportation, energy, communication, mapping, forestry, real estate development, natural disaster monitoring and evaluation, finance, insurance, oil and gas, military, crime analysis, transportation and navigation, 110 alarm system, bus dispatching, etc. For example, in communication, GIS system can display fiber cable objects in the visible area in combination with regional characteristics.

[0035] At present, when displaying fiber and cable objects in the visible area in combination with regional characteristics, the fiber and cable objects are mainly drawn directly on the map based on their longitude and latitude, and all fiber and cable objects in the map are displayed at once while the map is displayed. This fiber and cable display solution is prone to interface freezes in large-scale network scenarios, and fiber and cable objects are prone to mutual interference.

[0036] With the increasing demand for network, the network scale is getting larger and larger. In the scenario where the scale of mainstream small offices is 20 sites, 500 devices, and 4,000 logical connections, the fiber cable segments will reach nearly 100,000, and the fiber cable segments of some small and medium-sized offices will even reach more than 1 million. Limited by the native drawing performance of the browser, as the number of fiber cable segments increases, the interface will be stuck, and further, the browser may become unresponsive when loading, or freeze.

[0037] Furthermore, when all the fiber and cable objects in the map are displayed at once, too much information may be presented in the visible area, or the fiber and cable objects may interfere with each other. Figure 1 For example, thin lines represent cable segments in a cable object, and dots represent physical devices in a cable object. Figure 1 As can be seen from (a) and (b) in Figure 1, the fiber and cable objects in the rectangular box area will still be displayed in the map with a smaller scale (such as Figure 1 As shown in (a) in the figure, the fiber and cable objects are prone to interfere with each other. In addition, the detailed content of the fiber and cable objects cannot be seen clearly by the operation and maintenance personnel at this time, which is invalid information from a macro perspective.

[0038] Based on this, the embodiment of the present application proposes a fiber cable display method, which can display fiber cable objects in a large-scale network scenario. In addition, when displaying fiber cable objects in a large-scale network scenario, the number of fiber cable objects loaded and / or displayed can be reduced, which can effectively avoid interface freezes, improve the smoothness of interface operations, and effectively avoid mutual interference between fiber cable objects, thereby improving user experience.

[0039] The fiber and cable display method of the embodiment of the present application can be applied to large-scale network scenarios. The network scenario refers to an actual network environment (including physical equipment and fiber and cable segments (i.e., "physical fiber and cable segments")), which can be deployed by operators or enterprises. When a related device in the network environment fails, the device will report an alarm to the network control unit system. For example, after a fiber is broken, the devices at both ends of the fiber and cable will detect the fault and report an alarm, so that the operation and maintenance personnel can accurately locate the network fault. Among them, the network control unit system refers to a system that combines business and environment perception technologies on the basis of network management to map the logical network with the physical network, and realize real-time monitoring in seconds and simulation optimization and other capabilities.

[0040] See also Figure 2 , Figure 2 FIG. 1 shows a schematic diagram of the architecture of a network control unit system. Figure 2 As shown, the network control unit system may include but is not limited to one or more of a browser, a graph computing server, a network control unit database, or a network control unit topology interface. In an optional embodiment, when the operation and maintenance personnel need to monitor the fiber cable object through the network control unit system, the client in the browser is used to obtain the scale and visible area of ​​the current map, and the graph computing server is used to retrieve the fiber cable object in the matching network layer in the visible area from the network control unit database; the network control unit topology interface is used to display the retrieved fiber cable object. Among them, the network control unit topology interface refers to a user interface including a network topology structure, and the network topology structure is presented in the form of points and lines. It should be noted that in the scenario of displaying fiber cable objects in combination with regional characteristics, the network control unit topology interface can also be used to display a map within the visible area. Among them, the network control unit database is used to store data such as the identification of the fiber cable object, the physical connection of the fiber cable object, the logical graph corresponding to the fiber cable object, and the logical connection between the logical graphs, and can further store one or more information such as the longitude and latitude coordinates of the fiber cable object, the service of the fiber cable object, or the network environment in which the fiber cable object is located. The graph computing server is responsible for graph-related computing services, such as determining the network level that matches the scale of the map from multiple network levels as described above, and retrieving the fiber and cable objects in the visible area within the matching network level from the network management and control unit database.

[0041] Optionally, the network management and control unit system can be deployed in an electronic device, which may be a portable electronic device, including but not limited to a wearable electronic device, one or more of a smart phone, a tablet computer or a laptop computer, or a non-portable electronic device, including but not limited to one or more of a vehicle-mounted computer, a desktop computer or a server.

[0042] The following describes in detail the relevant embodiments of fiber cable display in large-scale network scenarios.

[0043] See also Figure 3 , Figure 3 A schematic diagram of a fiber cable display method is shown, which can be applied to Figure 2 The network control unit system shown or Figure 2 For other systems similar to the network control unit system shown, the fiber cable display method may include but is not limited to S301-S303:

[0044] S301: Determine a network layer matching the scale of the map from multiple network layers, where different network layers include different fiber and cable objects.

[0045] The scale of a map is the ratio between the unit length of the map and the actual distance. For example, if the unit length is 1 cm and the actual distance is 1000 meters, the scale of the map is 1 / 100000.

[0046] Optionally, there is a correspondence between the scale interval of the map and the network level. In an optional implementation, there is a direct correspondence between the scale interval of the map and the network level. At this time, determining the network level that matches the scale of the map from multiple network levels includes: the electronic device directly determines the network level that matches the scale of the map from multiple network levels based on the correspondence between the scale interval of the map and the network level.

[0047] In another optional implementation, the correspondence between the scale interval of the map and the network level is determined by the correspondence between the distance range within the unit length and the network level. In this case, determining the network level that matches the scale of the map from multiple network levels includes: the electronic device determines the distance range within the unit length based on the scale interval of the map, and determines the matching network level based on the correspondence between the distance range within the unit length and the network level.

[0048] The following is an illustrative description of the correspondence between the distance range within a unit length and the network level in conjunction with Table 1.

[0049] As shown in Table 1, when the distance range within the unit length is "0 to 100 meters", the corresponding network level is the 1st level; when the distance range within the unit length is "100 meters to 200 meters", the corresponding network level is the 2nd level; when the distance range within the unit length is "200 meters to 500 meters", the corresponding network level is the 3rd level; when the distance range within the unit length is "500 meters to 1000 meters", the corresponding network level is the 4th level; when the distance range within the unit length is "1000 meters to 2000 meters", the corresponding network level is the 5th level; when the distance range within the unit length is "2000 meters to 500 meters", the corresponding network level is the 3rd level; when the distance range within the unit length is "500 meters to 1000 meters", the corresponding network level is the 4th level; when the distance range within the unit length is "1000 meters to 2000 meters", the corresponding network level is the 5th level; When the distance range within the length is "2000 meters to 5000 meters", the corresponding network level is the 6th level; when the distance range within the unit length is "5000 meters to 10000 meters", the corresponding network level is the 7th level; when the distance range within the unit length is "10000 meters to 20000 meters", the corresponding network level is the 8th level; when the distance range within the unit length is "20000 meters to 50000 meters", the corresponding network level is the 9th level; when the distance range within the unit length is "greater than 50000 meters", the corresponding network level is the 10th level.

[0050] Table 1

[0051] Distance range per unit length (meters) Network level 0-100 Tier 1 100-200 Tier 2 200-500 Tier 3 500-1000 Tier 4 1000-2000 Tier 5 2000-5000 Tier 6 5000-10000 Level 7 10000-20000 Level 8 20000-50000 Level 9 More than 50000 Tier 10

[0052] It should be noted that before the electronic device executes step S301, the cable display method also includes: setting different cable objects for different network levels, that is, dividing different cable objects into corresponding network levels. The cable objects include but are not limited to physical devices (such as network devices, landmarks, nodes, etc.) and cable segments (also referred to as optical cable segments). Optionally, the cable object may be a dumb resource that does not need to automatically report its own information.

[0053] Optionally, the physical device can be further divided into: a source end physical device and a sink end physical device, wherein the source end physical device refers to a physical device for inflowing data, and the sink end physical device refers to a physical device for outflowing data.

[0054] Optionally, the cable object has longitude and latitude and logical coordinates. The longitude and latitude of the cable object refer to the longitude and latitude of the cable object in the actual network environment. The logical coordinates of the cable object refer to the coordinate point in the coordinate system of the map, or the coordinate point of the logical graph corresponding to the cable object in the coordinate system of the map. The logical graph is a graph composed of points and lines in the topology interface of the network control unit.

[0055] S302: Determine the fiber and cable objects in the visible area from the matched fiber and cable objects at the network level.

[0056] In an optional implementation, the electronic device may determine the cable objects in the visible area from the cable objects in the matching network layer based on the longitude and latitude of each cable object in the matching network layer. For example, the electronic device may compare the longitude and latitude of any cable object in the matching network layer with the longitude and latitude interval of the corresponding area in the visible area, and when the longitude and latitude interval of the corresponding area in the visible area includes the longitude and latitude of any cable object, the electronic device determines that the cable object is a cable object in the visible area, otherwise, it is not a cable object in the visible area.

[0057] In another optional implementation, the electronic device may perform a rectangular collision detection on the rectangular frame coordinates of each cable object in the matching network layer based on the rectangular frame coordinates of the visible area to determine the cable object in the visible area. The rectangular frame indicated by the rectangular frame coordinates of the cable object in the visible area intersects with the rectangular frame indicated by the rectangular frame coordinates of the visible area; the rectangular frame coordinates are constructed based on longitude and latitude.

[0058] Combine the following Figure 4 The rectangular box of exemplifies the rectangular collision detection. Figure 4As shown, the coordinates of the rectangular frame of the visible area are {a, b, w, h}, and the rectangular frame indicated by the rectangular frame coordinates is rectangular frame A; the coordinates of the rectangular frame of any cable object in the matched network layer are {aa, bb, ww, hh}, and the rectangular frame indicated by the rectangular frame coordinates is rectangular frame B; when the rectangular frame indicated by the rectangular frame coordinates of any cable object in the matched network layer intersects with the rectangular frame indicated by the rectangular frame coordinates of the visible area, the cable object is the cable object in the visible area (such as Figure 4 When the rectangular frame indicated by the rectangular frame coordinates of any fiber cable object in the matching network layer does not intersect with the rectangular frame coordinates of the visible area, the fiber cable object is not a fiber cable object in the visible area (such as Figure 4 In this embodiment, the rectangular collision detection can effectively ensure the retrieval efficiency of the database and achieve the retrieval capability of data in seconds.

[0059] S303: Displaying a map and fiber and cable objects in the visible area.

[0060] It should be noted that the map in the visible area and the cable objects in the visible area are loaded separately and independently (i.e., drawn separately and independently). For example, the cable objects in the visible area are loaded in the manner of steps S301 to S302, and the map in the visible area can be loaded in a tile-based manner without limitation. When loading is completed, the map in the visible area and the cable objects in the visible area can be displayed collaboratively. Optionally, the collaborative display technology may include, but is not limited to, the multi-layer Canvas collaborative technology of HTML5 Canvas.

[0061] Optionally, step S301 and step S302 may be performed based on a lazy-load mechanism, that is, the electronic device loads the fiber and cable objects in the visible area in the matching network layer according to the business requirements. Lazy-loading means that during the execution of the business, the data loading operation is performed only when the data is needed, which can effectively save performance overhead.

[0062] It should be noted that displaying the fiber and cable objects in the visible area described in the embodiment of the present application may include displaying the logical graphics and / or logical connection relationships corresponding to the fiber and cable objects in the visible area.

[0063] In an optional implementation, after displaying the map and the fiber and cable objects in the visible area, the fiber and cable display method further includes: receiving a first operation on the visible area; the first operation is used to update the logical coordinates in the visible area to the logical coordinates in the associated area; in response to the first operation, displaying the map in the associated area and the fiber and cable objects in the associated area in the visible area. The distance between the logical coordinates in the associated area and the visible area is within a preset range, which means that the associated area is located around the logical area corresponding to the visible area.

[0064] Combine the following Figure 5 The user interface shown provides a detailed embodiment of displaying a map within an associated area and fiber / cable objects within the associated area in a visible area from a user's visible perspective. Figure 5 exemplarily shows a user interface displayed by an electronic device, and the user interface may be a display page in a visible area 501, and the visible area 501 may include a map and a fiber and cable object.

[0065] like Figure 5 As shown in , when the electronic device detects a first operation acting on the visible area 501, for example, a left sliding operation acting on the visible area 501, in response to the first operation, the electronic device can slide in the visible area 501 to display the map and cable objects in the associated area, that is, area 501-2 in the visible area 501 is used to display the map and cable objects in the associated area. It should be noted that before displaying the map in the associated area and the cable objects in the associated area in the visible area, the cable display method also includes: determining the cable objects in the associated area from the cable objects of the matching network layer. Optionally, this step can be performed when the first operation is received, or it can be performed before the first operation is received (that is, pre-loading the cable objects in the associated area). Pre-loading the cable objects in the associated area can effectively improve the fluency of the interface operation and achieve smooth perception of topological operations.

[0066] In an optional embodiment, after displaying the map and the cable object in the visible area, the cable display method further includes: receiving a second operation on the visible area, the second operation being used to adjust the network level in the visible area, and displaying an updated map and an updated cable object in the visible area in response to the second operation.

[0067] Combine the following Figure 6 The user interface shown provides a detailed embodiment of displaying an updated map and updated cable objects in a visible area from a user's visible perspective. Figure 6 6 shows an example of a user interface displayed by an electronic device. The user interface may be a display page in a visible area 601. The visible area 601 may include a map and a fiber and cable object.

[0068] like Figure 6 As shown in , when the electronic device detects a second operation acting on the visible area 601, for example, when two fingers acting on the visible area 601 correspond to an inward sliding operation, the scale of the map in the visible area is reduced (the distance range per unit length is increased), and the matching network level is increased, and the updated map (i.e., the map with a reduced scale) and the updated cable object (i.e., the cable object in the enlarged network level in the visible area) can be displayed in the visible area. It should be noted that Figure 6 The scale of the map described in (a) is greater than Figure 6 the scale of the map referred to in (b); Figure 6 The network level described in (a) is less than Figure 6 The network hierarchy described in (b) above.

[0069] It can be seen that in this implementation, the operation and maintenance personnel are supported to manually adjust the network level on the visual interface, and the fiber and cable objects in different network levels can be displayed as needed to improve the user experience. At the same time, the integrity of the fiber and cable object display can also be ensured in the boundary scenario.

[0070] It can be seen that the fiber cable display method described in the embodiment of the present application divides the fiber cable objects into corresponding network levels. When displaying the fiber cables, the fiber cable objects in the visible area of ​​the matching network level are loaded and / or displayed according to business needs, which can effectively support large-scale network scenarios. In addition, since the embodiment of the present application loads and / or displays the fiber cable objects in the visible area of ​​the matching network level according to business needs, the number of fiber cable objects loaded and / or displayed is reduced, the interface freezes, and the smoothness of the interface operation is effectively improved. In addition, since only the fiber cable objects in the matching network level are displayed, mutual interference between fiber cable objects at different network levels can be effectively avoided. At the same time, invalid information from a macro perspective can be hidden to avoid presenting too much invalid information, effectively improving the user experience.

[0071] See also Figure 7 , Figure 7 A schematic flow chart of another fiber cable display method is shown. Figure 7 The fiber cable display method and Figure 3 Compared with the fiber cable display method described above, Figure 7 The electronic device further describes a related implementation method for determining the fiber and cable objects respectively included in multiple network levels. Figure 7 As shown, the fiber cable display method may include but is not limited to the following steps:

[0072] S701: Determine the fiber and cable objects respectively included in multiple network levels according to the physical length of each fiber and cable segment in the fiber and cable object and / or the physical position distance between the source end physical device and the sink end physical device.

[0073] In an optional implementation, the electronic device determines the network layer at which each fiber cable segment is located according to the physical length of each fiber cable segment, and / or determines the network layer at which each physical device is located according to the physical location distance between the source end physical device and the destination end physical device. Thus, the electronic device can determine that multiple network layers include fiber cable objects based on the network layer at which each fiber cable segment is located and the network layer at which each physical device is located.

[0074] Optionally, before the electronic device determines the network level of each cable segment according to the physical length of each cable segment, the cable display method also includes: obtaining the head and tail longitudes and latitudes of the cable segments in the cable object, and calling the half-haven formula to process the head and tail longitudes and latitudes of the cable segments to obtain the physical length of the cable segments.

[0075] Alternatively, the Haversine formula is:

[0076] Wherein, a is the semi-haversine value; Δλ is the absolute value between the longitude of the beginning and the longitude of the end of the cable segment, that is, Δλ=|λ1-λ2|, λ1 is the longitude of the beginning of the cable segment, and λ2 is the longitude of the end of the cable segment; is the absolute value between the latitude of the beginning and the end of the cable segment, that is, is the latitude of the beginning of the cable segment, is the latitude of the tail end of the cable segment;

[0077] Optional, Where d is the physical length of the cable segment, R is the radius of the earth (which can be 6371 km), and a is the haversine value obtained from the haversine formula.

[0078] It should be noted that in other implementations, other methods can also be used to calculate the physical length of the cable segment. For example, based on the correspondence between logical coordinates and longitude and latitude, the logical coordinates of the head end and the logical coordinates of the tail end of the cable segment are respectively determined, and the Euclidean distance formula is used to process the logical coordinates of the head end and the logical coordinates of the tail end to obtain the physical length of the cable segment. No further details will be given.

[0079] It should be noted that the calculation method of the physical position distance between the source physical device and the sink physical device can refer to the relevant embodiments of the physical length of the fiber cable segment, which will not be repeated here. The source physical device and the sink physical device are at the same network layer.

[0080] In another optional implementation, the electronic device may also determine the fiber and cable objects included in the multiple network levels respectively according to the type of the fiber and cable object. Optionally, the type of the fiber and cable object includes but is not limited to one or more of the national trunk type, provincial trunk type, or city and county type.

[0081] Optionally, the electronic device may store data corresponding to the cable object, including but not limited to the cable object identifier, the logical graph corresponding to the cable object, the network layer at which the cable object is located, or one or more of the network layers at which the logical graph of the cable object is located. The network layer at which the logical graph is located is the same as the network layer at which the cable object is located. It should be noted that the data corresponding to the cable object may be reported by the cable object or manually input by the operation and maintenance personnel, without limitation.

[0082] S702: Determine a network layer matching the scale of the map from multiple network layers, where different network layers include different fiber and cable objects.

[0083] S703: Determine the fiber and cable objects in the visible area from the matched fiber and cable objects at the network level.

[0084] S704: Displaying a map and fiber and cable objects in the visible area.

[0085] It should be noted that for the relevant description of steps S702 to S704, please refer to Figure 3 Steps S301 to S303 are not described in detail.

[0086] It can be seen that in the embodiments of the present application, the electronic device can determine the cable objects respectively included in multiple network layers according to the physical length of each cable segment in the cable object, and / or the physical location distance between the source physical device and the host physical device, so that when displaying the cables, the cable objects in the matching network layer can be loaded and / or displayed according to business needs, so that the cable display can be performed in large-scale network scenarios.

[0087] See also Figure 8 , Figure 8 A schematic flow chart of another fiber cable display method is shown. Figure 8 The fiber cable display method and Figure 7 Compared with the fiber cable display method described above, Figure 7 The fiber cable display method is combined with Figure 2 The network control unit system is described. Figure 8 As shown, the fiber cable display method includes but is not limited to:

[0088] S801: The client in the browser sends the physical length of each fiber cable segment in the fiber cable object and / or the physical position distance between the source end physical device and the sink end physical device to the graph computing server.

[0089] Optionally, the physical length of each cable segment in the cable object is determined based on the starting and ending longitudes and latitudes of each cable segment. Optionally, the starting and ending longitudes and latitudes of each cable segment may be automatically reported by the cable segment or manually input by an operation and maintenance personnel.

[0090] Optionally, the physical location distance between the source physical device and the sink physical device is determined based on the longitude and latitude of the source physical device and the longitude and latitude of the sink physical device. Optionally, the longitude and latitude of the source physical device and the longitude and latitude of the sink physical device can be automatically reported by the physical device or manually input by the operation and maintenance personnel.

[0091] It should be noted that other related descriptions of step S801 can be found in step S701 and will not be repeated here.

[0092] S802: The graph calculation server determines the fiber and cable objects respectively included in multiple network layers according to the physical length of each fiber and cable segment in the fiber and cable object and / or the physical location distance between the source end physical device and the sink end physical device.

[0093] S803: The graph computing server sends the fiber and cable objects respectively included in multiple network levels to the network management and control unit database.

[0094] Optionally, when the network management and control unit database receives fiber and cable objects respectively included in multiple network levels, the fiber and cable objects respectively included in the multiple network levels may be stored.

[0095] It should be noted that in other implementations, the graph computing server may also send the data corresponding to each fiber cable object to the network management and control unit database, so as to store the data corresponding to each fiber cable object in the network management and control unit database.

[0096] It should be noted that other related descriptions of step S802 and step S803 can be found in step S701 and will not be repeated here.

[0097] S804: The client in the browser sends the scale and visible area of ​​the map to the map computing server.

[0098] Optionally, the scale and visible area of ​​the map may be carried in a query request message sent by the client to the graph computing server, where the query request message is used to query the fiber and cable objects within the visible area in the matching network layer.

[0099] S805: The graph computing server determines a network layer that matches the scale of the map from multiple network layers.

[0100] S806: The graph computing server retrieves the fiber and cable objects in the visible area in the matching network layer from the network management and control unit database.

[0101] S807: The graph computing server sends the retrieved fiber and cable objects to the topology interface of the network management and control unit.

[0102] S808: The network management and control unit topology interface displays the fiber and cable objects in the visible area.

[0103] It can be seen that in this embodiment, the graph computing server determines the fiber and cable objects respectively included in multiple network levels according to the physical length of each fiber and cable segment in the fiber and cable object, and / or the physical location distance between the source end physical device and the host end physical device, and stores the fiber and cable objects respectively included in the multiple network levels in the network management and control unit database, so that when fiber and cable display is required, the fiber and cable objects in the visible area in the matching network level can be retrieved from the network management and control unit database, and the fiber and cable display can be performed in large-scale network scenarios.

[0104] Fig. 9 A schematic structural diagram of an electronic device 100 is shown.

[0105] The embodiment is described in detail below by taking the electronic device 100 as an example. It should be understood that the electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0106] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0107] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0108] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0109] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0110] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0111] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0112] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0113] The charging management module 140 is used to receive charging input from a charger, where the charger can be a wireless charger or a wired charger.

[0114] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.

[0115] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0116] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0117] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0118] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0119] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise and brightness of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0120] The camera 193 is used to capture static images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In the embodiment of the present application, the camera 193 includes a camera for collecting images required for face recognition, such as an infrared camera or other cameras. The camera for collecting images required for face recognition is generally located on the front of the electronic device, such as above the touch screen, and can also be located at other locations, which is not limited by the embodiment of the present application. In some embodiments, the electronic device 100 may include other cameras. The electronic device may also include a dot matrix emitter (not shown in the figure) for emitting light. The camera collects light reflected by the face to obtain a face image, and the processor processes and analyzes the face image, and compares it with the stored face image information for verification.

[0121] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0122] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0123] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0124] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0125] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, applications required for at least one function (such as face recognition function, fingerprint recognition function, mobile payment function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as face information template data, fingerprint information template, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0126] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0127] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals.

[0128] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.

[0129] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.

[0130] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.

[0131] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0132] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc.

[0133] The gyro sensor 180B may be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.

[0134] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode.

[0135] The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed brightness of the ambient light. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.

[0136] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc. Among them, the fingerprint sensor 180H can be set below the touch screen, and the electronic device 100 can receive the user's touch operation on the area corresponding to the fingerprint sensor on the touch screen. The electronic device 100 can respond to the touch operation and collect the fingerprint information of the user's finger to realize the opening of the hidden album after the fingerprint recognition is passed, the opening of the hidden application after the fingerprint recognition is passed, the login to the account after the fingerprint recognition is passed, and the completion of the payment after the fingerprint recognition is passed.

[0137] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.

[0138] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0139] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0140] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0141] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting the SIM card interface 195 or removing the SIM card interface 195. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0142] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software system of the electronic device 100.

[0143] Fig.10 It is a schematic diagram of the architecture of the software system of the electronic device 100 according to an embodiment of the present application.

[0144] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0145] The application layer can include a series of application packages.

[0146] like Fig.10 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications (also referred to as applications).

[0147] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0148] like Fig.10As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0149] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0150] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0151] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0152] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0153] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0154] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications from applications running in the background, or a notification that appears on the screen in the form of a dialogue interface. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0155] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0156] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0157] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0158] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0159] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0160] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0161] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0162] A 2D graphics engine is a drawing engine for 2D drawings.

[0163] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0164] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A fiber cable display method, characterized in that: The method comprises: Determine a network layer matching the scale of the map from a plurality of network layers, where different network layers include different fiber and cable objects; Determining the fiber and cable objects in the visible area from the matched fiber and cable objects at the network level; A map and the fiber and cable objects are displayed in the visible area.

2. The method according to claim 1, characterized in that Before determining the fiber and cable objects in the visible area from the fiber and cable objects at the matching network level, the method further includes: The fiber and cable objects respectively included in the multiple network levels are determined according to the physical length of each fiber and cable segment in the fiber and cable object and / or the physical position distance between the source end physical device and the sink end physical device.

3. The method according to claim 2, characterized in that Before determining the fiber and cable objects respectively included in the multiple network levels according to the physical length of each fiber and cable segment in the fiber and cable object and / or the physical position spacing between the source end physical device and the sink end physical device, the method further includes: Obtaining the beginning and end longitudes and latitudes of the fiber and cable segments in the fiber and cable object; The haversine formula is called to process the first and last longitudes and latitudes of the fiber cable segment to obtain the physical length of the fiber cable segment.

4. The method according to any one of claims 1 to 3, characterized in that: The step of determining the fiber and cable objects in the visible area from the fiber and cable objects at the matching network level includes: Based on the rectangular frame coordinates of the visible area, rectangular collision detection is performed on the rectangular frame coordinates of each fiber and cable object in the matched network layer to determine the fiber and cable objects in the visible area; The rectangular frame indicated by the rectangular frame coordinates of the fiber and cable object in the visible area intersects with the rectangular frame indicated by the rectangular frame coordinates of the visible area; the rectangular frame coordinates are constructed based on longitude and latitude.

5. The method according to any one of claims 1 to 4, characterized in that: After displaying the map and the fiber and cable object in the visible area, the method further includes: receiving a first operation for the visible area; the first operation is used to update the logical coordinates in the visible area to the logical coordinates in the associated area; the distance between the logical coordinates in the associated area and the visible area is within a preset range; In response to the first operation, a map within the associated area and fiber and cable objects within the associated area are displayed in the visible area.

6. The method according to claim 5, characterized in that Before displaying the map in the associated area and the fiber and cable objects in the associated area in the visible area, the method further includes: The fiber and cable objects in the associated area are determined from the matched fiber and cable objects at the network level.

7. The method according to any one of claims 1 to 6, characterized in that: After displaying the map and the fiber and cable object in the visible area, the method further includes: receiving a second operation for the visible area; the second operation is used to adjust the network level in the visible area; In response to the second operation, an updated map and an updated cable object are displayed in the visible area.

8. An electronic device comprising a touch screen, a memory, one or more processors, a plurality of application programs, and one or more programs; wherein: The one or more programs are stored in the memory; it is characterized in that when the one or more processors execute the one or more programs, the electronic device implements the method as described in any one of claims 1 to 7.

9. A computer storage medium, characterized in that The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method according to any one of claims 1 to 7.

10. A computer program product, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 7.