Method, device and equipment for identifying transmission cable span information and storage medium
By subdividing fiber optic cable pole sections and geographic network segments and determining their location relationships, the system automatically identifies fiber optic cable crossing information, solving the problem of fiber optic cables being easily damaged during construction and improving identification efficiency and network stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE GROUP ZHEJIANG
- Filing Date
- 2022-04-24
- Publication Date
- 2026-07-07
AI Technical Summary
Existing technology cannot automatically identify the crossing information of transmission optical cables, resulting in frequent communication failures caused by construction damage, long repair times, high maintenance costs, and impact on network stability.
The transmission optical cable pole section is divided into several sub-pole sections, and the geographical network section is divided into several sub-geographical network sections. By determining the positional relationship between the two, the crossing information of the optical cable is automatically identified.
It improves the efficiency of identifying information crossing optical cables, reduces fault repair time and maintenance costs, and enhances network stability.
Smart Images

Figure CN116992107B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a method, apparatus, device, and storage medium for identifying information crossing optical cables. Background Technology
[0002] Currently, there are a large number of optical cable sections that cross roads and rivers. Due to the numerous infrastructure construction sites, these optical cables are easily damaged during construction, leading to communication failures. Moreover, this type of failure accounts for the highest proportion of all transmission failures. Fault repair is time-consuming and maintenance costs are high, which has a significant impact on network stability and the company.
[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is related technology. Summary of the Invention
[0004] The main objective of this invention is to provide a method, apparatus, device, and storage medium for identifying cross-cable information of transmission optical cables, aiming to solve the technical problem that existing technologies cannot automatically identify cross-cable information of transmission optical cables.
[0005] To achieve the above objectives, the present invention provides a method for identifying optical fiber crossing information, the method comprising the following steps:
[0006] The pole section corresponding to the transmission optical cable is divided into several sub-pole sections;
[0007] The geographic network segment corresponding to the pole segment is divided into several sub-geographic network segments;
[0008] The positional relationship between the plurality of sub-pole segments and the plurality of sub-geographic network segments is determined, and the crossing information of the transmission optical cable relative to the geographic network segment is determined based on the positional relationship.
[0009] Optionally, determining the positional relationship between the plurality of sub-pole road segments and the plurality of sub-geographic network segments includes:
[0010] Determine the pole segment coordinate set corresponding to the several sub-pole segments based on the location information of each sub-pole segment;
[0011] Determine the geographic network coordinate set corresponding to the several sub-geographic network segments based on the location information of each sub-geographic network segment;
[0012] The positional relationship between the several sub-pole segments and the several sub-geographical segments is determined based on the coordinate set of the pole segment and the coordinate set of the geographic network segment.
[0013] Optionally, determining the positional relationship between the plurality of sub-pole segments and the plurality of sub-geographical segments based on the pole segment coordinate set and the geographic network segment coordinate set includes:
[0014] Traverse the set of pole segment coordinates and construct the sub-pole segment expression corresponding to the current pole segment based on the traversed current pole segment coordinates;
[0015] Traverse the set of geographic network coordinates and construct the sub-geographic network expression corresponding to the current geographic network coordinates based on the traversed geographic network coordinates;
[0016] The positional relationship between the plurality of sub-pole road segments and the plurality of sub-geographic network segments is determined based on the sub-pole road segment expression and the sub-geographic network segment expression.
[0017] Optionally, determining the positional relationship between the plurality of sub-pole road segments and the plurality of sub-geographic network segments based on the sub-pole road segment expression and the sub-geographic network segment expression includes:
[0018] The intersection coordinates are determined based on the sub-pole segment expression and the sub-geographic network segment expression;
[0019] When the coordinates of the intersection point satisfy the crossing constraint, the positional relationship between the sub-pole segment and the sub-geographic network segment is determined to be an intersection relationship.
[0020] Optionally, determining the spanning information of the transmission optical cable relative to the geographical network segment based on the location relationship includes:
[0021] When the positional relationship between the sub-pole segment and the sub-geographic network segment is intersecting, the network segment information of the sub-geographic network segment is obtained;
[0022] The crossing information of the transmission optical cable relative to the geographical network segment is determined based on the network segment information.
[0023] Optionally, dividing the pole segment corresponding to the transmission optical cable into several sub-pole segments includes:
[0024] Acquire the initial pole segment data corresponding to the transmission optical cable, and process the initial pole segment data to obtain pole segment data;
[0025] The latitude and longitude of the corresponding pole segment of the transmission optical cable are determined based on the pole segment data;
[0026] The pole section is divided into several sub-pole sections based on the latitude and longitude.
[0027] Optionally, determining the pole segment coordinate set corresponding to the plurality of sub-pole segments based on the location information of each sub-pole segment includes:
[0028] Determine the latitude and longitude of each sub-pole segment based on its location information.
[0029] The latitude and longitude of the road segment are converted into pole segment coordinates using the Gaussian projection algorithm;
[0030] Construct a set of pole segment coordinates corresponding to each sub-pole segment based on the pole segment coordinates corresponding to each sub-pole segment.
[0031] Furthermore, to achieve the above objectives, the present invention also proposes a transmission optical cable crossing information identification device, the device comprising:
[0032] The first division module is used to divide the pole segment corresponding to the transmission optical cable into several sub-pole segments;
[0033] The second partitioning module is used to divide the geographic network segment corresponding to the pole segment into several sub-geographic network segments;
[0034] The determination module is used to determine the positional relationship between the plurality of sub-pole segments and the plurality of sub-geographic network segments, and to determine the crossing information of the transmission optical cable relative to the geographic network segment based on the positional relationship.
[0035] Furthermore, to achieve the above objectives, the present invention also proposes a transmission optical cable crossing information identification device, the device comprising: a memory, a processor, and a transmission optical cable crossing information identification program stored in the memory and executable on the processor, the transmission optical cable crossing information identification program being configured to implement the steps of the transmission optical cable crossing information identification method described above.
[0036] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing a transmission optical cable crossing information identification program, wherein when the transmission optical cable crossing information identification program is executed by a processor, the transmission optical cable crossing information identification method described above is implemented.
[0037] This invention divides the pole segment corresponding to the transmission optical cable into several sub-pole segments; divides the corresponding geographic network segment into several sub-geographic network segments; determines the positional relationship between the several sub-pole segments and the several sub-geographic network segments, and determines the crossing information of the transmission optical cable relative to the geographic network segment based on the positional relationship. Because this invention divides the pole segment into several sub-pole segments, the corresponding geographic network segment into several sub-geographic network segments, and determines the crossing information of the transmission optical cable relative to the geographic network segment based on the positional relationship between the several sub-pole segments and the several sub-geographic network segments, it can automatically identify the crossing information of the transmission optical cable, improving the identification efficiency of the transmission optical cable crossing information. Attached Figure Description
[0038] Figure 1 This is a schematic diagram of the structure of the optical fiber crossing information identification device in the hardware operating environment involved in the embodiments of the present invention;
[0039] Figure 2 This is a flowchart illustrating the first embodiment of the optical cable crossing information identification method of the present invention;
[0040] Figure 3 This is a visual schematic diagram of pole segment crossing information relative to geographical network segment in the first embodiment of the optical cable crossing information identification method of the present invention.
[0041] Figure 4 This is a flowchart illustrating the second embodiment of the optical cable crossing information identification method of the present invention;
[0042] Figure 5 This is a schematic diagram illustrating the division of pole segments and road network segments in the second embodiment of the optical cable crossing information identification method of the present invention;
[0043] Figure 6 This is a structural block diagram of the first embodiment of the optical cable crossing information identification device of the present invention.
[0044] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0045] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0046] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of the optical cable crossing information identification device in the hardware operating environment involved in the embodiments of the present invention.
[0047] like Figure 1 As shown, the optical fiber transmission cable crossing the information identification device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0048] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the transmission optical cable crossing the information identification device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0049] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a transmission optical cable crossing information identification program.
[0050] exist Figure 1 In the optical fiber crossing information identification device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the optical fiber crossing information identification device of the present invention can be set in the optical fiber crossing information identification device, and the optical fiber crossing information identification device calls the optical fiber crossing information identification program stored in the memory 1005 through the processor 1001 and executes the optical fiber crossing information identification method provided in the embodiment of the present invention.
[0051] This invention provides a method for identifying optical cable crossing information, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the optical cable crossing information identification method of the present invention.
[0052] In this embodiment, the method for identifying information crossing of optical cables includes the following steps:
[0053] Step S10: Divide the pole segment corresponding to the transmission optical cable into several sub-pole segments.
[0054] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device capable of performing the above functions, such as a transmission optical cable crossing information identification device. The following uses a transmission optical cable crossing information identification device as an example to illustrate this embodiment and the subsequent embodiments.
[0055] It is understood that a pole segment can be the laying section corresponding to a transmission optical cable; a complete transmission optical cable generally corresponds to one pole segment; the principle of dividing a pole segment into several sub-pole segments can be to divide the pole segment according to the length and curvature information of the pole segment to obtain several sub-pole segments, and the several sub-pole segments approach a straight line. The length of each sub-pole segment can be the same or different, and this embodiment does not impose any restrictions.
[0056] In practical implementation, dividing the pole segment corresponding to the transmission optical cable into several sub-pole segments can be done by dividing the pole segment into several sub-pole segments that are close to straight lines based on the length and curvature information of the pole segment corresponding to the transmission optical cable.
[0057] Step S20: Divide the geographic network segment corresponding to the pole segment into several sub-geographic network segments.
[0058] It is understood that a geographic network segment can be a network segment of artificially constructed and / or naturally formed things corresponding to the transmission optical cable laying section; geographic network segments include road network segments, river network segments or other network segments on the transmission optical cable laying section, etc. In this embodiment, a geographic network segment is used as a road network segment for explanation.
[0059] In practice, the road network segment corresponding to the road pole segment is divided into several sub-road network segments based on the road network information of the road network segment.
[0060] Step S30: Determine the positional relationship between the plurality of sub-pole segments and the plurality of sub-geographic network segments, and determine the crossing information of the transmission optical cable relative to the geographic network segment based on the positional relationship.
[0061] It is understood that positional relationships include intersecting and non-intersecting relationships; determining the positional relationship between the several sub-pole segments and the several sub-geographic network segments may involve traversing several sub-pole segments and determining whether the positional relationship between the current traversed sub-pole segment and each sub-geographic network segment is intersecting or non-intersecting.
[0062] It should be understood that the positional relationship between several sub-pole segments and several sub-geographic network segments constitutes the crossing information of the transmission optical cable laying segment relative to the geographic network segment; for example, if there are M sub-pole segments and N sub-geographic network segments, then M*N positional relationships need to be determined, and the M*N positional relationships constitute the crossing information of the transmission optical cable laying segment, i.e., the pole segment, relative to the geographic network segment.
[0063] In its implementation, the optical fiber cable crossing information identification device divides the corresponding pole segment of the optical fiber cable into several sub-pole segments that are close to straight lines based on the length and curvature of the optical fiber cable laying section. Based on the road network information of the road network segment, it divides the corresponding road network segment of the pole segment into several sub-road network segments. It traverses several sub-pole segments and determines whether the positional relationship between the current traversed sub-pole segment and several sub-road network segments is intersecting or non-intersecting. At the end of the traversal, it obtains the positional relationship between several sub-pole segments and several sub-geographical network segments. This positional relationship constitutes the crossing information of the optical fiber cable laying section relative to the road network segment.
[0064] Furthermore, to improve the accuracy of the positional relationship between several sub-pole road segments and several sub-geographic network segments, determining the positional relationship between the several sub-pole road segments and the several sub-geographic network segments includes: determining the pole-road segment coordinate set corresponding to the several sub-pole road segments based on the position information of each sub-pole road segment; determining the geographic network segment coordinate set corresponding to the several sub-geographic network segments based on the position information of each sub-geographic network segment; and determining the positional relationship between the several sub-pole road segments and the several sub-geographic network segments based on the pole-road segment coordinate set and the geographic network segment coordinate set.
[0065] It is understandable that the location information of each sub-pole segment can be the positioning information of each sub-pole segment; the pole segment coordinate set can be a set composed of the horizontal coordinates of each sub-pole segment; determining the pole segment coordinate set corresponding to the several sub-pole segments based on the location information of each sub-pole segment can be done by transforming the positioning information corresponding to each sub-pole segment to obtain the horizontal coordinates corresponding to each sub-pole segment, and the horizontal coordinates corresponding to each sub-pole segment constitute the pole segment coordinate set.
[0066] It should be understood that the location information of each sub-geographic network segment can be the positioning information of each sub-geographic network segment; the geographic network segment coordinate set can be a set composed of the horizontal plane coordinates of each sub-geographic network segment; determining the geographic network segment coordinate set corresponding to the several sub-geographic network segments based on the location information of each sub-geographic network segment can be achieved by transforming the positioning information corresponding to each sub-geographic network segment to obtain the horizontal plane coordinates corresponding to each sub-geographic network segment, and the horizontal plane coordinates corresponding to each sub-geographic network segment constitute the geographic network segment coordinate set.
[0067] It is understood that the number of location information corresponding to each sub-pole segment is N, where N is an integer greater than or equal to 2. When N equals 2, the location information of the sub-pole segment includes the starting point location information and the ending point location information; when N is greater than 2, the location information of the sub-pole segment includes the starting point location information, the intermediate point location information, and the ending point location information. The intermediate point can be selected according to the specific scenario. The value of N can be determined according to the specific scenario. If the application scenario focuses on recognition efficiency, N can be set to 2. If the application scenario focuses on recognition accuracy, N can be set to a value greater than 2. This embodiment does not impose any restrictions here.
[0068] It should be understood that the method for determining the number of sub-geographic network segment location information can refer to the method for determining the number of sub-pole road segment location information, and will not be repeated here in this embodiment.
[0069] It is understandable that determining the positional relationship between the several sub-pole segments and the several sub-geographic network segments based on the pole segment coordinate set and the geographic network segment coordinate set can involve traversing the pole segment coordinate set and comparing the horizontal plane coordinates of the current sub-pole segment with the horizontal plane coordinates of the sub-geographic network segments in the geographic network segment coordinate set. The positional relationship between the current sub-pole segment and the several sub-geographic network segments can be determined based on the comparison results. At the end of the traversal, the positional relationship between the several sub-pole segments and the several sub-geographic network segments can be obtained.
[0070] In a specific implementation, the optical cable crossing information identification device converts the location information corresponding to each sub-pole segment into horizontal coordinates. The horizontal coordinates corresponding to each sub-pole segment constitute a pole segment coordinate set. The device also converts the location information corresponding to each network segment into horizontal coordinates. The horizontal coordinates corresponding to each network segment constitute a network segment coordinate set. The device traverses the pole segment coordinate set and compares the horizontal coordinates of the current sub-pole segment with the horizontal coordinates of the sub-network segments in the network segment coordinate set. Based on the comparison results, the positional relationship between the current sub-pole segment and several sub-network segments is determined. At the end of the traversal, the positional relationship between several sub-pole segments and several sub-network segments is obtained. Alternatively, the device can traverse the horizontal coordinates of the sub-network segments in the network segment coordinate set and compare them with the horizontal coordinates of the sub-pole segments in the pole segment coordinate set. This embodiment does not impose any limitations on this.
[0071] Furthermore, to improve the accuracy of the positional relationship between sub-pole segments and sub-geographic network segments, the step of determining the positional relationship between the plurality of sub-pole segments and the plurality of sub-geographic network segments based on the pole segment coordinate set and the geographic network segment coordinate set includes: traversing the pole segment coordinate set and constructing a sub-pole segment expression corresponding to the sub-pole segment based on the traversed current pole segment coordinates; traversing the geographic network segment coordinate set and constructing a sub-geographic network segment expression corresponding to the sub-geographic network segment based on the traversed current geographic network segment coordinates; and determining the positional relationship between the plurality of sub-pole segments and the plurality of sub-geographic network segments based on the sub-pole segment expression and the sub-geographic network segment expression.
[0072] It is understandable that sub-pole road segments tend to be straight lines, and corresponding sub-pole road segment expressions can be constructed based on the coordinates of the pole road segments; similarly, sub-geographic network segments tend to be straight lines, and corresponding sub-geographic network segment expressions can be constructed based on the coordinates of the geographic network segments.
[0073] It should be understood that the expression for a sub-pole segment can be: A1x + B1y = C1, where the starting coordinates of the sub-pole segment are (x1, y1) and the ending coordinates are (x2, y2), where x ∈ x1, x2x. Then we have: A1 = y2 - y1, B1 = x1 - x2, C1 = x2*y1 - x1*y2 = A1*x1 + B1*y1; the expression for a sub-geographic network segment can be: A2x + B2y = C2, where the starting coordinates of the sub-geographic network segment are (x11, y11) and the ending coordinates are (x22, y22), where x ∈ x11, x22x. Then we have: A2 = y22 - y11, B2 = x11 - x22, C2 = x22*y11 - x11*y22 = A2*x11 + B2*y11.
[0074] It is understandable that determining the positional relationship between the plurality of sub-pole road segments and the plurality of sub-geographic network segments based on the sub-pole road segment expression and the sub-geographic network segment expression can be achieved by determining the intersection information of the straight lines corresponding to the expressions based on the sub-pole road segment expression and the sub-geographic network segment expression, and then determining the positional relationship between the sub-pole road segments and the sub-geographic network segments based on the intersection information.
[0075] In the specific implementation, the transmission optical cable crosses the information identification device to traverse the pole segment coordinate set, construct the corresponding sub-pole segment expression based on the current pole segment coordinates, traverse the geographic network segment coordinate set, construct the corresponding sub-geographic network segment expression based on the current geographic network segment, determine the intersection information of the corresponding straight lines based on the sub-pole segment expression and the sub-geographic network segment expression, and determine the positional relationship between the sub-pole segment and the sub-geographic network segment based on the intersection information.
[0076] Furthermore, to improve the accuracy of the positional relationship between sub-pole road segments and sub-geographic network segments, the step of determining the positional relationship between the plurality of sub-pole road segments and the plurality of sub-geographic network segments based on the sub-pole road segment expression and the sub-geographic network segment expression includes: determining the intersection coordinates based on the sub-pole road segment expression and the sub-geographic network segment expression; and determining that the positional relationship between the sub-pole road segment and the sub-geographic network segment is an intersection relationship when the intersection coordinates satisfy the crossing constraint condition.
[0077] Understandably, in order to save computing resources and improve recognition efficiency, before determining the intersection coordinates based on the sub-pole segment expression and the sub-geographic network segment expression, the method further includes: determining the slope of the sub-pole segment based on the sub-pole segment expression, determining the slope of the sub-geographic network segment based on the sub-geographic network segment expression, and determining that the positional relationship between the corresponding sub-pole segment and the sub-geographic network segment is non-intersecting when the slope of the sub-pole segment is equal to the slope of the sub-geographic network segment; and determining the intersection coordinates based on the sub-pole segment expression and the sub-geographic network segment expression when the slope of the sub-pole segment is not equal to the slope of the sub-geographic network segment.
[0078] It should be understood that sub-pole segments and sub-geographic network segments correspond to a portion of a straight line, while the intersection coordinates determined by the sub-pole segment expression and the sub-geographic network segment expression are the intersection coordinates of the entire straight line. Therefore, it is necessary to determine whether the intersection coordinates are on the line segments corresponding to the sub-pole segments and sub-geographic network segments; the crossing constraint can be a constraint condition for determining whether the intersection coordinates are on the line segments corresponding to the sub-pole segments and sub-geographic network segments.
[0079] In practical implementation, if the slope of the sub-pole segment is equal to the slope of the sub-geographic network segment, i.e., A1*B2 - A2*B1 = 0, the positional relationship between the corresponding sub-pole segment and the sub-geographic network segment is determined to be non-intersecting; if the slope of the sub-pole segment is not equal to the slope of the sub-geographic network segment, assuming the intersection point coordinates are (X0, Y0), then we can obtain: Y0 = (C1*A2 - C2*A1) / (A1*B2 - A2*B1), X0 = (C2*B1 - If C1*B2) / (A1*B2-A2*B1), then the crossing constraint condition is (X0∈xx1,x2x&Y0∈xy1,y2x)Λ(X0∈xx11,x22x&Y0∈xy11,y22x). That is, when the intersection point is on both the sub-pole segment and the sub-geographic network segment, the positional relationship between the sub-pole segment and the sub-geographic network segment is determined to be an intersection relationship, that is, the transmission optical cable is a crossing optical cable in this sub-pole segment.
[0080] Furthermore, in order to improve the efficiency of identifying the crossing information of the transmission optical cable, the step of determining the crossing information of the transmission optical cable relative to the geographical network segment based on the positional relationship includes: when the positional relationship between the sub-pole segment and the sub-geographical network segment is intersecting, obtaining the network segment information of the sub-geographical network segment; and determining the crossing information of the transmission optical cable relative to the geographical network segment based on the network segment information.
[0081] Understandably, if we assume that the sub-geographic network segment is a road network segment, then the network segment information can be found in Table 1 - Network Segment Information.
[0082] Table 1 - Network Segment Information
[0083]
[0084]
[0085] It should be understood that, assuming the geographical network segment is a road network segment, determining the crossing information of the transmission optical cable relative to the geographical network segment based on the network segment information can be done by determining parameters such as the road name and road coordinates of the sub-road network segment based on the network segment information, storing the road name, road coordinates, and other parameters in the target storage area in correspondence with the intersection coordinates, and obtaining the crossing information of the pole road segment relative to the road network segment.
[0086] Understandably, it can be referenced. Figure 3 , Figure 3 This is a visual diagram illustrating the crossing information of pole segments relative to geographic network segments. To improve the accuracy of identifying fiber optic cable crossing information, the latitude and longitude of the sub-pole segments crossing sub-geographic network segments and the corresponding sub-geographic network segments can be mapped onto the map for visual verification using Ovi Interactive Map. Figure 3 The circular markers in the text indicate the crossing locations.
[0087] In the specific implementation, assuming the geographical network segment is a road network segment, the optical cable crossing information identification device converts the location information of the sub-pole road segment into horizontal coordinates, obtaining a set of pole road segment coordinates D1 corresponding to several sub-pole road segments. It then converts the location information of the sub-road network segment into horizontal coordinates, obtaining a set of road network segment coordinates D2 corresponding to several sub-road network segments. The horizontal coordinate of the sub-pole road segment in the pole road segment coordinate set D1 is di, and the horizontal coordinate of the sub-road network segment in the road network segment coordinate set D2 is Wij. The road network segment coordinate set is traversed, and a sub-road network segment expression is constructed based on the traversed sub-road network segment horizontal coordinates Wij. The pole road segment coordinate set is then traversed again... The sub-pole segment expression is constructed based on the horizontal plane coordinates di of the traversed sub-pole segments. The slope of the sub-road network segment is determined based on the sub-road network segment expression. When the slope of the sub-road network segment is not equal to the slope of the sub-pole segment, the coordinates of the intersection point of the corresponding straight line of the sub-pole segment expression and the sub-road network segment expression are determined. When the intersection point coordinates satisfy the crossing constraint condition, it is determined that the sub-road network segment and the sub-pole segment intersect. The network segment information of the sub-road network segment is obtained. Based on the network segment information, parameters such as road name and road segment coordinates are determined. The road name, road segment coordinates and intersection point coordinates are stored accordingly to obtain the crossing information of the pole segment relative to the road network segment.
[0088] This embodiment divides the pole segment corresponding to the transmission optical cable into several sub-pole segments; it also divides the corresponding geographic network segment into several sub-geographic network segments; it determines the positional relationship between the several sub-pole segments and the several sub-geographic network segments, and determines the crossing information of the transmission optical cable relative to the geographic network segment based on the positional relationship. Because this embodiment divides the pole segment into several sub-pole segments and the corresponding geographic network segment into several sub-geographic network segments, and determines the crossing information of the transmission optical cable relative to the geographic network segment based on the positional relationship between the several sub-pole segments and the several sub-geographic network segments, it can automatically identify the crossing information of the transmission optical cable, improving the identification efficiency of the transmission optical cable crossing information.
[0089] refer to Figure 4 , Figure 4 This is a flowchart illustrating the second embodiment of the optical cable crossing information identification method of the present invention.
[0090] Based on the first embodiment described above, in this embodiment, step S10 includes:
[0091] Step S101: Obtain the initial pole segment data corresponding to the transmission optical cable, and process the initial pole segment data to obtain pole segment data.
[0092] It is understood that the initial pole segment data can be unprocessed pole segment data exported from the corresponding system; processing the initial pole segment data to obtain pole segment data can be done by deleting null values from the initial pole segment data and converting the pole segment data after deleting null values into standard data according to a preset format. The standard data is the pole segment data, which can be referred to in Table 2 - Pole Segment Data.
[0093] Table 2 - Pole Section Data
[0094] Pole segment field Pole Section Name ID Pole section number NAME Pole Section Name COUNTY_ID County / City Number ENTITYTYPE_ID Entity Class Number AENDJOINT_ID Starting point pole number A_NAME Starting point pole name A_LNG Starting point pole line latitude A_LAT Longitude of starting pole ZENDJOINT_ID End point pole number Z_NAME End point pole name Z_LNG Latitude of the endpoint pole Z_LAT Longitude of the endpoint pole
[0095] Step S102: Determine the latitude and longitude of the corresponding pole segment of the transmission optical cable based on the pole segment data.
[0096] It should be understood that determining the latitude and longitude of the corresponding pole segment of the transmission optical cable based on the pole segment data can be achieved by reading the starting pole longitude, starting pole latitude, ending pole longitude, and ending pole latitude from the pole segment data.
[0097] Step S103: Divide the pole section into several sub-pole sections according to the latitude and longitude.
[0098] It is understood that dividing the pole segment into several sub-pole segments based on the latitude and longitude can be achieved by marking the pole segment with latitude and longitude points at a preset distance based on the starting pole longitude, starting pole latitude, ending pole longitude, and ending pole latitude, and then dividing the pole segment into several sub-pole segments based on the latitude and longitude marking results; the method of dividing the geographic network segment can refer to the pole segment, and will not be repeated here in this embodiment.
[0099] For example, assuming the geographical network segment is a road network segment, refer to Figure 5 , Figure 5 This diagram illustrates the division of pole segments and road network segments. With a preset distance of 50 meters, the starting point of a pole segment can be determined based on its longitude and latitude. From this starting point, longitude and latitude points are marked at 50-meter intervals along the pole segment, thus dividing it into four sub-pole segments: A—B—C—D—E (five points constitute four straight sub-pole segments). Correspondingly, the road network segment can be divided into four sub-road network segments: A'—B'—C'—D'—E'. The preset distance can be determined according to the specific scenario. The number of sub-pole segments and sub-road network segments can be equal or unequal; this embodiment does not impose any restrictions on this.
[0100] Furthermore, in order to improve the identification efficiency of optical cable crossing information, the step of determining the pole segment coordinate set corresponding to the plurality of sub-pole segments based on the location information of each sub-pole segment includes: determining the segment latitude and longitude corresponding to each sub-pole segment based on the location information of each sub-pole segment; converting the segment latitude and longitude into pole segment coordinates using a Gaussian projection algorithm; and constructing the pole segment coordinate set corresponding to the plurality of sub-pole segments based on the pole segment coordinates corresponding to each sub-pole segment.
[0101] It should be understood that the process of constructing the geographic network segment coordinate set can refer to the process of constructing the pole segment coordinate set, and will not be repeated here in this embodiment.
[0102] This embodiment acquires initial pole segment data corresponding to the transmission optical cable, processes the initial pole segment data to obtain pole segment data, determines the latitude and longitude of the pole segment corresponding to the transmission optical cable based on the pole segment data, and divides the pole segment into several sub-pole segments based on the latitude and longitude. This embodiment determines the latitude and longitude of the pole segment based on the pole segment data and divides the pole segment into several sub-pole segments based on the latitude and longitude, which can determine the crossing information of the pole segment relative to the geographical network segment based on the several sub-pole segments, thus improving the accuracy of transmission optical cable crossing information identification.
[0103] Furthermore, this embodiment of the invention also proposes a storage medium storing a transmission optical cable crossing information identification program, which, when executed by a processor, implements the steps of the transmission optical cable crossing information identification method described above.
[0104] Reference Figure 6 , Figure 6 This is a structural block diagram of the first embodiment of the optical cable crossing information identification device of the present invention.
[0105] like Figure 6 As shown, the optical cable crossing information identification device proposed in this embodiment of the invention includes: a first division module 10, a second division module 20, and a determination module 30.
[0106] The first division module 10 is used to divide the pole segment corresponding to the transmission optical cable into several sub-pole segments;
[0107] The second division module 20 is used to divide the geographic network segment corresponding to the pole segment into several sub-geographic network segments;
[0108] The determining module 30 is used to determine the positional relationship between the plurality of sub-pole segments and the plurality of sub-geographical network segments, and to determine the crossing information of the transmission optical cable relative to the geographic network segment based on the positional relationship.
[0109] This embodiment divides the pole segment corresponding to the transmission optical cable into several sub-pole segments; it also divides the corresponding geographic network segment into several sub-geographic network segments; it determines the positional relationship between the several sub-pole segments and the several sub-geographic network segments, and determines the crossing information of the transmission optical cable relative to the geographic network segment based on the positional relationship. Because this embodiment divides the pole segment into several sub-pole segments and the corresponding geographic network segment into several sub-geographic network segments, and determines the crossing information of the transmission optical cable relative to the geographic network segment based on the positional relationship between the several sub-pole segments and the several sub-geographic network segments, it can automatically identify the crossing information of the transmission optical cable, improving the identification efficiency of the transmission optical cable crossing information.
[0110] Based on the first embodiment of the optical cable crossing information identification device of the present invention, a second embodiment of the optical cable crossing information identification device of the present invention is proposed.
[0111] In this embodiment, the determining module 30 is further configured to determine the pole segment coordinate set corresponding to the plurality of sub-pole segments based on the location information of each sub-pole segment; determine the geographic network segment coordinate set corresponding to the plurality of sub-geographic network segments based on the location information of each sub-geographic network segment; and determine the positional relationship between the plurality of sub-pole segments and the plurality of sub-geographic network segments based on the pole segment coordinate set and the geographic network segment coordinate set.
[0112] The determining module 30 is further configured to traverse the pole segment coordinate set and construct a sub-pole segment expression corresponding to the sub-pole segment based on the traversed current pole segment coordinates; traverse the geographic network segment coordinate set and construct a sub-geographic network segment expression corresponding to the sub-geographic network segment based on the traversed current geographic network segment coordinates; and determine the positional relationship between the plurality of sub-pole segments and the plurality of sub-geographic network segments based on the sub-pole segment expression and the sub-geographic network segment expression.
[0113] The determining module 30 is further configured to determine the intersection coordinates based on the sub-pole segment expression and the sub-geographic network segment expression; when the intersection coordinates satisfy the crossing constraint condition, the positional relationship between the sub-pole segment and the sub-geographic network segment is determined to be an intersection relationship.
[0114] The determining module 30 is further configured to, when the positional relationship between the sub-pole segment and the sub-geographic network segment is intersecting, obtain the network segment information of the sub-geographic network segment; and determine the crossing information of the transmission optical cable relative to the geographic network segment based on the network segment information.
[0115] The first division module 10 is further configured to acquire initial pole segment data corresponding to the transmission optical cable, process the initial pole segment data to obtain pole segment data; determine the latitude and longitude of the pole segment corresponding to the transmission optical cable based on the pole segment data; and divide the pole segment into several sub-pole segments based on the latitude and longitude.
[0116] The determining module 30 is further configured to determine the latitude and longitude of each sub-pole segment based on the location information of each sub-pole segment; convert the latitude and longitude of the segment into pole segment coordinates using a Gaussian projection algorithm; and construct a set of pole segment coordinates corresponding to the plurality of sub-pole segments based on the pole segment coordinates corresponding to each sub-pole segment.
[0117] Other embodiments or specific implementations of the optical cable crossing information identification device of the present invention can be referred to the above-described method embodiments, and will not be repeated here.
[0118] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0119] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0120] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0121] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for identifying information crossing optical cables, characterized in that, The method includes: The pole section corresponding to the transmission optical cable is divided into several sub-pole sections; The geographical network segment corresponding to the pole section is divided into several sub-geographical network segments, which are network segments of artificially constructed and / or naturally formed things corresponding to the transmission optical cable laying section; The positional relationship between the plurality of sub-pole segments and the plurality of sub-geographic network segments is determined, and the crossing information of the transmission optical cable relative to the geographic network segment is determined based on the positional relationship, wherein the positional relationship includes intersecting relationship and non-intersecting relationship; The process of dividing the pole section corresponding to the transmission optical cable into several sub-pole sections includes: Acquire the initial pole segment data corresponding to the transmission optical cable, and process the initial pole segment data to obtain pole segment data; The latitude and longitude of the corresponding pole segment of the transmission optical cable are determined based on the pole segment data. The latitude and longitude include the starting pole longitude, the starting pole latitude, the ending pole longitude, and the ending pole latitude. Based on the longitude, latitude, longitude, and latitude of the starting pole path, the pole path segment is marked with longitude and latitude points at a preset distance, and the pole path segment is divided into several sub-pole path segments based on the longitude and latitude marking results.
2. The method as described in claim 1, characterized in that, Determining the positional relationship between the plurality of sub-pole road segments and the plurality of sub-geographic network segments includes: Determine the pole segment coordinate set corresponding to the several sub-pole segments based on the location information of each sub-pole segment; Determine the geographic network coordinate set corresponding to the several sub-geographic network segments based on the location information of each sub-geographic network segment; The positional relationship between the several sub-pole segments and the several sub-geographical segments is determined based on the coordinate set of the pole segment and the coordinate set of the geographic network segment.
3. The method as described in claim 2, characterized in that, Determining the positional relationship between the plurality of sub-pole segments and the plurality of sub-geographical segments based on the pole segment coordinate set and the geographic network segment coordinate set includes: Traverse the set of pole segment coordinates and construct the sub-pole segment expression corresponding to the current pole segment based on the traversed current pole segment coordinates; Traverse the set of geographic network coordinates and construct the sub-geographic network expression corresponding to the current geographic network coordinates based on the traversed geographic network coordinates; The positional relationship between the plurality of sub-pole road segments and the plurality of sub-geographic network segments is determined based on the sub-pole road segment expression and the sub-geographic network segment expression.
4. The method as described in claim 3, characterized in that, The step of determining the positional relationship between the plurality of sub-pole road segments and the plurality of sub-geographic network segments based on the sub-pole road segment expression and the sub-geographic network segment expression includes: The intersection coordinates are determined based on the sub-pole segment expression and the sub-geographic network segment expression; When the coordinates of the intersection point satisfy the crossing constraint, the positional relationship between the sub-pole segment and the sub-geographic network segment is determined to be an intersection relationship.
5. The method as described in claim 4, characterized in that, Determining the crossing information of the transmission optical cable relative to the geographical network segment based on the location relationship includes: When the positional relationship between the sub-pole segment and the sub-geographic network segment is intersecting, the network segment information of the sub-geographic network segment is obtained; The crossing information of the transmission optical cable relative to the geographical network segment is determined based on the network segment information.
6. The method as described in claim 2, characterized in that, The step of determining the pole segment coordinate set corresponding to the plurality of sub-pole segments based on the location information of each sub-pole segment includes: Determine the latitude and longitude of each sub-pole segment based on its location information. The latitude and longitude of the road segment are converted into pole segment coordinates using the Gaussian projection algorithm; Construct a set of pole segment coordinates corresponding to each sub-pole segment based on the pole segment coordinates corresponding to each sub-pole segment.
7. A device for identifying information crossing of optical fiber transmission cables, characterized in that, The device includes: The first division module is used to divide the pole segment corresponding to the transmission optical cable into several sub-pole segments; The second partitioning module is used to divide the geographical network segment corresponding to the pole segment into several sub-geographical network segments, wherein the geographical network segments are network segments of artificially constructed and / or naturally formed things corresponding to the transmission optical cable laying segment; The determining module is used to determine the positional relationship between the plurality of sub-pole segments and the plurality of sub-geographic network segments, and to determine the crossing information of the transmission optical cable relative to the geographic network segment based on the positional relationship, wherein the positional relationship includes intersecting relationship and non-intersecting relationship; The first segmentation module is further configured to acquire initial pole segment data corresponding to the transmission optical cable, process the initial pole segment data to obtain pole segment data; determine the latitude and longitude of the pole segment corresponding to the transmission optical cable based on the pole segment data, the latitude and longitude including the starting pole longitude, the starting pole latitude, the ending pole longitude, and the ending pole latitude; mark the pole segment with latitude and longitude at a preset distance based on the starting pole longitude, the starting pole latitude, the ending pole longitude, and the ending pole latitude, and divide the pole segment into several sub-pole segments based on the latitude and longitude marking results.
8. A device for identifying information crossing optical cables, characterized in that, The device includes: a memory, a processor, and a transmission optical cable crossing information identification program stored in the memory and executable on the processor, the transmission optical cable crossing information identification program being configured to implement the steps of the transmission optical cable crossing information identification method as described in any one of claims 1 to 6.
9. A storage medium, characterized in that, The storage medium stores a transmission optical cable crossing information identification program, which, when executed by a processor, implements the steps of the transmission optical cable crossing information identification method as described in any one of claims 1 to 6.