Method for determining the accuracy of a cable data, determining device and computer program product
Patent Information
- Application Number
- CN202410755687.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2044-06-12
AI Technical Summary
[0004]本申请的主要目的在于提供一种电缆数据准确性的确定方法、确定装置、计算机可读存储介质和计算机程序产品,以至少解决现有技术中缺少对获取的电缆数据的准确度进行确定导致电缆施工效率低的问题
[0015] Applying the technical solution of this application, in the method for determining the accuracy of cable data, firstly, cable data of the cable in the power well is acquired. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path in the power well acquired through an RTK positioning device, and the actual cable image is an image of the actual path of the cable in the power well. Then, the cable path diagram and the actual cable image are compared to obtain a first length ratio. The first length ratio is the ratio of the first overlap length to the total path length in the actual cable image. The first overlap length is the length of the overlap portion between the actual cable image and the cable path diagram. Finally, at least if the first length ratio is less than or equal to a first preset length ratio, it is preliminarily determined that the cable path diagram is inaccurate and the operating status does not meet the preset standard, and a first alarm message is issued. The first alarm message is used to indicate that the cable path diagram acquired through the RTK positioning device is inaccurate, and the operating status refers to the status of the operating parameters when the cable path diagram was acquired through the RTK positioning device. This application detects the cable path map within a power well obtained through RTK positioning equipment and compares it with actual cable images within the well to determine the length ratio. If the length ratio is less than a preset ratio, it is preliminarily determined that the cable path map obtained by the RTK equipment is inaccurate. Based on this determination, the operating parameters of the RTK positioning equipment are adjusted to ensure that the accuracy of RTK positioning is effectively improved while simultaneously enhancing the safety of cable construction. This application solves the problem of low cable construction efficiency caused by the lack of accuracy determination of acquired cable data in existing technologies.
Smart Images

Figure CN118657728B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of cable data management technology, and more specifically, to a method, apparatus, computer-readable storage medium, and computer program product for determining the accuracy of cable data. Background Technology
[0002] With rapid urbanization, the cable coverage rate of power distribution networks is increasing, reaching over 90% in central urban areas. Cable and channel information plays a crucial foundational and supportive role in the operation and maintenance of power distribution networks. It can reduce the occurrence of external force damage accidents during cable construction, avoid redundant construction, and help optimize the network structure design.
[0003] Publication number (CN111175317A) discloses a digital intelligent power distribution network idle power cable pipeline inspection system, including an inspection device, an RTK processing system, and a control terminal. The inspection device includes a camera, a laser rangefinder, and an ultrasonic rangefinder. The camera is communicatively connected to the control terminal. The laser rangefinder and the ultrasonic rangefinder are respectively connected to the RTK processing system, and the output of the RTK processing system is connected to the input of the control terminal. The control terminal displays the situation inside the pipeline in real time and provides accurate location information of blockages. However, the above technical solution has the following problem: it does not consider determining the accuracy of the acquired information, which affects the efficiency of cable construction. Summary of the Invention
[0004] The main objective of this application is to provide a method, apparatus, computer-readable storage medium, and computer program product for determining the accuracy of cable data, so as to at least solve the problem of low cable construction efficiency caused by the lack of determination of the accuracy of acquired cable data in the prior art.
[0005] To achieve the above objectives, according to one aspect of this application, a method for determining the accuracy of cable data is provided, comprising: acquiring cable data of cables within a power well, the cable data including at least a cable path diagram and an actual cable image, the cable path diagram being an image of the cable path within the power well acquired through an RTK positioning device, and the actual cable image being an image of the actual path of the cable within the power well; comparing the cable path diagram and the actual cable image to obtain a first length ratio, the first length ratio being the ratio of a first overlap length to the total path length in the actual cable image, the first overlap length being the length of the overlap portion between the actual cable image and the cable path diagram; at least when the first length ratio is less than or equal to a first preset length ratio, preliminarily determining that the cable path diagram is inaccurate and the operating status does not meet a preset standard, and issuing a first alarm message, the first alarm message being used to indicate that the cable path diagram acquired through the RTK positioning device is inaccurate, the operating status being the status of the operating parameters when the cable path diagram was acquired through the RTK positioning device.
[0006] Optionally, before comparing the cable image with the cable path map to obtain the first length ratio, the method further includes: obtaining a preset number of edge points of the cable in the power well using the RTK positioning device; and performing data fitting on all the edge points to obtain the cable path map.
[0007] Optionally, the first length ratio is obtained by superimposing and comparing the cable path diagram with the actual cable image, including: extracting edge features from the cable features in the actual cable image to obtain edge features; superimposing and comparing the edge features with the cable path diagram to obtain the first overlap length; and calculating the ratio of the first overlap length to the total path length in the actual cable image to obtain the first length ratio.
[0008] Optionally, at least when the first length proportion is less than or equal to the first preset length proportion, after initially determining that the cable path diagram is inaccurate and the operating condition does not meet the preset standard, the method further includes: an acquisition step, acquiring historical temperature and current temperature, wherein the historical temperature is the temperature corresponding to each historical length proportion in historical data, and the current temperature is the temperature corresponding to the currently obtained first length proportion; a generation step, generating a temperature-length proportion curve based on the current length proportion, historical length proportion, current temperature, and historical temperature, wherein the temperature-length proportion curve is used to represent the relationship between temperature and the first length proportion; a calculation step, calculating the derivative at the current temperature based on the temperature-length proportion curve; a first execution step, executing a first processing method when the derivative is less than or equal to the preset derivative, wherein the first processing method is to increase the number of sampling points between each power well to a first set number; and a second execution step, executing a second processing method when the derivative is greater than the preset derivative, wherein the second processing method is to increase the number of repeaters to a second set number.
[0009] Optionally, after initially determining that the cable path diagram is inaccurate and the operating condition does not meet the preset standard when at least the first length proportion is less than or equal to the first preset length proportion, the method further includes: obtaining a distance variance, where the distance variance is the variance of the straight-line distance between each reference area, and the reference area is the area where the cable image and the cable path diagram do not overlap; when the distance variance is less than or equal to the preset distance variance, executing a third processing method and issuing a second alarm message, the second alarm message being used to prompt the re-acquisition of the cable path diagram, the third processing method being to increase the number of edge points detected by the RTK positioning device to a third preset number; when the distance variance is greater than the preset distance variance, obtaining a reference length, and making a final determination on whether the cable path diagram is accurate and whether the operating condition meets the preset standard based on the reference length, where the reference length is the sum of the side lengths of each of the reference areas.
[0010] Optionally, after determining that the cable path diagram is accurate and the operating status meets the preset standard when the distance variance is greater than the preset distance variance, the method further includes: when the reference length is less than or equal to the preset length, finally determining that the cable path diagram is accurate and the operating status meets the preset standard; when the reference length is greater than the preset length, finally determining that the cable path diagram is inaccurate and the operating status does not meet the preset standard, and executing a fourth processing method, wherein the fourth processing method is to increase the number of repeaters to a fourth preset number.
[0011] Optionally, after executing the third processing method and issuing the second alarm information when the distance variance is less than or equal to a preset distance variance, the method further includes: obtaining a latest cable path diagram, wherein the latest cable path diagram is a cable path diagram re-obtained after issuing the second alarm information; comparing the latest cable path diagram with a historical cable path diagram to obtain a second length ratio, wherein the historical cable path diagram is a cable path diagram obtained at a historical time, and the second length ratio is the ratio of the second overlap length to the total path length in the latest cable path diagram, wherein the second overlap length is the length of the overlap portion between the latest cable path diagram and the historical cable path diagram; if the second length ratio is greater than the second preset length ratio, determining that the cable path diagram is accurate and the operating status meets the preset standard; if the second length ratio is less than or equal to the second preset length ratio, sequentially executing the acquisition step, the generation step, and the calculation step until the first execution step or the second execution step is completed.
[0012] According to another aspect of this application, a device for determining the accuracy of cable data is provided. The device includes: a first acquisition unit, configured to acquire cable data of cables in a power well, the cable data including at least a cable path diagram and an actual cable image, the cable path diagram being an image of the cable path in the power well acquired by an RTK positioning device, and the actual cable image being an image of the actual path of the cable in the power well; a first comparison unit, configured to compare the cable path diagram and the actual cable image to obtain a length ratio, the length ratio being the ratio of a first overlap length to the total path length in the actual cable image, the first overlap length being the length of the overlap portion between the actual cable image and the cable path diagram; and a first determination unit, configured to, at least when the length ratio is less than or equal to a first preset length ratio, preliminarily determine that the cable path diagram is inaccurate and the operating status does not meet a preset standard, and issue a first alarm message, the first alarm message being used to indicate that the cable path diagram acquired by the RTK positioning device is inaccurate, and the operating status being the status of the operating parameters when the cable path diagram was acquired by the RTK positioning device.
[0013] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform any of the methods described.
[0014] According to another aspect of this application, a computer program product is provided, including computer instructions that, when executed by a processor, implement any of the methods described.
[0015] Applying the technical solution of this application, in the method for determining the accuracy of cable data, firstly, cable data of the cable in the power well is acquired. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path in the power well acquired through an RTK positioning device, and the actual cable image is an image of the actual path of the cable in the power well. Then, the cable path diagram and the actual cable image are compared to obtain a first length ratio. The first length ratio is the ratio of the first overlap length to the total path length in the actual cable image. The first overlap length is the length of the overlap portion between the actual cable image and the cable path diagram. Finally, at least if the first length ratio is less than or equal to a first preset length ratio, it is preliminarily determined that the cable path diagram is inaccurate and the operating status does not meet the preset standard, and a first alarm message is issued. The first alarm message is used to indicate that the cable path diagram acquired through the RTK positioning device is inaccurate, and the operating status refers to the status of the operating parameters when the cable path diagram was acquired through the RTK positioning device. This application detects the cable path map within a power well obtained through RTK positioning equipment and compares it with actual cable images within the well to determine the length ratio. If the length ratio is less than a preset ratio, it is preliminarily determined that the cable path map obtained by the RTK equipment is inaccurate. Based on this determination, the operating parameters of the RTK positioning equipment are adjusted to ensure that the accuracy of RTK positioning is effectively improved while simultaneously enhancing the safety of cable construction. This application solves the problem of low cable construction efficiency caused by the lack of accuracy determination of acquired cable data in existing technologies. Attached Figure Description
[0016] Figure 1 A hardware structure block diagram of a mobile terminal for performing a method for determining the accuracy of cable data according to an embodiment of this application is shown.
[0017] Figure 2 A flowchart illustrating a method for determining the accuracy of cable data according to an embodiment of this application is shown.
[0018] Figure 3 A structural block diagram of a cable data accuracy determination device provided according to an embodiment of this application is shown.
[0019] The above figures include the following reference numerals:
[0020] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device. Detailed Implementation
[0021] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0022] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0024] For ease of description, the following explains some of the nouns or terms used in the embodiments of this application:
[0025] RTK positioning equipment includes several repeaters to extend signal coverage and improve signal quality, a base station to receive positioning signals from satellites via a GPS receiver, and a mobile station to record positioning data.
[0026] As described in the background section, the prior art does not consider determining the accuracy of the acquired information, which affects the efficiency of cable construction. To solve the problem of low cable construction efficiency caused by the lack of determination of the accuracy of the acquired cable data, the embodiments of this application provide a method, apparatus, computer-readable storage medium, and computer program product for determining the accuracy of cable data.
[0027] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0028] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a method of determining the accuracy of cable data according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0029] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the device information display method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the aforementioned networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0030] This embodiment provides a method for determining the accuracy of cable data running on a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0031] Figure 2 This is a flowchart of a method for determining the accuracy of cable data according to an embodiment of this application. Figure 2 As shown, the method includes the following steps:
[0032] Step S201: Obtain cable data of the cables in the power well. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path in the power well obtained by the RTK positioning device, and the actual cable image is an image of the actual path of the cable in the power well.
[0033] Specifically, the RTK positioning equipment includes several repeaters to extend signal coverage and improve signal quality, a base station to receive positioning signals from satellites via a GPS receiver, and a mobile station to record positioning data. The cable path map is generated based on the positioning data recorded by the mobile station. Actual cable images of the cables in each power well during the laying process can be obtained using high-definition cameras or similar equipment.
[0034] Step S202: Compare the above cable path diagram with the actual cable image to obtain a first length ratio. The first length ratio is the ratio of the first overlapping length to the total path length in the actual cable image. The first overlapping length is the length of the overlapping portion between the actual cable image and the above cable path diagram.
[0035] Specifically, the cable path diagram is compared with the corresponding actual cable image to obtain the length of the overlapping part, namely the first overlapping length, and the proportion of the first overlapping length to the total length of the cable path in the actual cable image is obtained, which is denoted as the first length proportion.
[0036] Step S203: At least when the first length proportion is less than or equal to the first preset length proportion, it is preliminarily determined that the cable path diagram is inaccurate and the operating status does not meet the preset standard, and a first alarm message is issued. The first alarm message is used to indicate that the cable path diagram obtained by the RTK positioning device is inaccurate, and the operating status refers to the status of the operating parameters when the cable path diagram is obtained by the RTK positioning device.
[0037] Specifically, at least when the aforementioned first length proportion is less than or equal to the first preset length proportion, it is preliminarily determined that the cable path diagram is inaccurate and the operating condition does not meet the preset standard, and a first alarm message is issued. Conversely, when the aforementioned first length proportion is greater than the aforementioned first preset length proportion, it is preliminarily determined that the aforementioned cable path diagram is accurate and the aforementioned operating condition meets the preset standard.
[0038] In this embodiment, firstly, cable data of the cables in the power well is acquired. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path in the power well acquired by an RTK positioning device, and the actual cable image is an image of the actual path of the cable in the power well. Then, the cable path diagram and the actual cable image are compared to obtain a first length ratio. The first length ratio is the ratio of the first overlap length to the total path length in the actual cable image. The first overlap length is the length of the overlap portion between the actual cable image and the cable path diagram. Finally, if the first length ratio is less than or equal to a first preset length ratio, it is preliminarily determined that the cable path diagram is inaccurate and the operating status does not meet a preset standard, and a first alarm message is issued. The first alarm message is used to indicate that the cable path diagram acquired by the RTK positioning device is inaccurate, and the operating status refers to the status of the operating parameters when the cable path diagram was acquired by the RTK positioning device. This application detects the cable path map within a power well obtained through RTK positioning equipment and compares it with actual cable images within the well to determine the length ratio. If the length ratio is less than a preset ratio, it is preliminarily determined that the cable path map obtained by the RTK equipment is inaccurate. Based on this determination, the operating parameters of the RTK positioning equipment are adjusted to ensure that the accuracy of RTK positioning is effectively improved while simultaneously enhancing the safety of cable construction. This application solves the problem of low cable construction efficiency caused by the lack of accuracy determination of acquired cable data in existing technologies.
[0039] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the method for determining the accuracy of cable data in this application will be described in detail below with reference to specific embodiments.
[0040] To gain a clearer understanding of the cable's route and improve the efficiency of acquiring cable data, in an optional implementation, before step S202 above, the method further includes:
[0041] Step S301: Obtain the preset number of edge points of the cables in the power well using the RTK positioning device.
[0042] Step S302: Perform data fitting on all the above edge points to obtain the above cable path diagram.
[0043] In the above embodiment, a predetermined number of edge points of the cables within the power well to be detected are first determined. Data from all edge points is collected, including at least the cable's length, diameter, and material. This data is then processed and analyzed using statistical methods or mathematical modeling to fit the data, thereby determining the trends and patterns of each edge point and ultimately obtaining the cable path.
[0044] To improve data accuracy and provide a data foundation for subsequent data accuracy assessment, in one optional implementation, step S202 includes:
[0045] Step S2021: Extract edge features from the cable features in the actual cable image to obtain edge features;
[0046] Step S2022: Compare the aforementioned edge features with the aforementioned cable path diagram to obtain the aforementioned first overlap length;
[0047] Step S2023: Calculate the ratio of the first overlapping length to the total path length in the actual cable image to obtain the first length ratio.
[0048] In the above embodiments, cable feature extraction from cable images can typically be achieved using edge detection algorithms. Commonly used edge detection algorithms include the Sobel operator, the Prewitt operator, and Canny edge detection. After extracting the edge features, the edge features are compared with the cable path in the cable path diagram to obtain the length of the overlapping portion, i.e., the first overlapping length. Then, the proportion of the first overlapping length in the total path length in the actual cable image is calculated to obtain the first length proportion.
[0049] To effectively improve the accuracy of the acquired information, in an optional implementation, after step S203 above, the method further includes:
[0050] Step S401, the acquisition step, acquire the historical temperature and the current temperature, wherein the historical temperature is the temperature corresponding to each historical length ratio in the historical data, and the current temperature is the temperature corresponding to the first length ratio obtained at the moment.
[0051] Step S402, generation step, generating a temperature-length ratio curve based on the current length ratio, historical length ratio, current temperature and historical temperature. The temperature-length ratio curve is used to represent the relationship between temperature and the first length ratio.
[0052] Step S403, Calculation step: Calculate the derivative at the current temperature based on the temperature-length-gravity curve mentioned above;
[0053] Step S404, first execution step, if the derivative is less than or equal to the preset derivative, execute the first processing method, the first processing method is to increase the number of sampling points between the power wells to the first preset number;
[0054] Step S405, the second execution step, in the case that the derivative is greater than the preset derivative, execute the second processing method, which is to increase the number of repeaters to a second preset number.
[0055] In the above embodiments, the corresponding processing method is determined according to the change in the length ratio. When the derivative is greater than the preset derivative, the length ratio is slowly increased. At this time, the data collected at the cable construction site becomes more accurate, and the number of repeaters is adjusted to improve the accuracy of signal transmission. When the derivative is less than or equal to the preset derivative, the length ratio is decreased. In this case, the accuracy of the collected data fluctuates due to environmental factors. At this time, the number of sampling points between each power well is adjusted, which effectively improves the accuracy of the acquired information and the efficiency of cable construction.
[0056] Specifically, when the derivative is greater than the preset derivative, the temperature sensor installed in the construction area is controlled to acquire the temperature of the construction area. A temperature-length-weight curve is plotted based on the historical data of each length proportion and the temperature corresponding to the acquisition of the length proportion. The processing method for the RTK positioning device is determined based on the derivative of the temperature-length-weight curve at the current temperature. This includes the first processing method and the second processing method. The first processing method includes a first quantity adjustment method, a second quantity adjustment method, and a third quantity adjustment method. The first quantity adjustment method involves adjusting the number of repeaters to a first quantity when the derivative difference is less than or equal to a first preset derivative difference. The first quantity is the sum of the first preset quantity adjustment coefficient and the current preset value. The product of the number of repeaters, where the derivative difference is the difference between the derivative and the preset derivative, and the current number of devices is the current number of repeaters; the second quantity adjustment method is to adjust the number of repeaters to a second quantity when the derivative difference is greater than the first preset derivative difference and less than or equal to the second preset derivative difference, where the second quantity is the product of the second preset quantity adjustment coefficient and the current number of devices, and the first preset derivative difference is less than the second preset derivative difference; the third quantity adjustment method is to adjust the number of repeaters to a third quantity when the derivative difference is greater than the second preset derivative difference, where the third quantity is the product of the third preset quantity adjustment coefficient and the current number of devices.
[0057] When the aforementioned derivative is less than or equal to a preset derivative, the second processing method includes a first sampling adjustment method, a second sampling adjustment method, and a third sampling adjustment method. The first sampling method involves adjusting the number of sampling points between each power well to a first sampling number when the weight difference is less than or equal to a first preset weight difference. The weight difference is the difference between the length weight and a preset length weight. The first sampling number is the product of a first preset sampling adjustment coefficient and the current number of sampling points. The current sampling point is the number of sampling points within the current power well. The second sampling method involves adjusting the number of sampling points between each power well to a second sampling number when the weight difference is greater than the first preset weight difference and less than or equal to a second preset weight difference. The second sampling number is the product of a second preset sampling adjustment coefficient and the current number of sampling points. The third sampling method involves adjusting the number of sampling points between each power well to a third sampling number when the weight difference is greater than the second preset weight difference. The third sampling number is the product of a third preset sampling adjustment coefficient and the current number of sampling points. The above number of sampling points refers to the number of sampling points set by the RTK positioning device between each power well when acquiring the cable path between each power well.
[0058] To mitigate the issues of low data accuracy caused by complex terrain and insufficient sampling points, in an optional implementation, after step S203, the method further includes:
[0059] Step S501: Obtain the distance variance, which is the variance of the straight-line distance between each reference area, and the reference area is the area where the cable image and the cable path diagram do not overlap.
[0060] Step S502: If the distance variance is less than or equal to the preset distance variance, execute the third processing method and issue a second alarm message. The second alarm message is used to prompt the re-acquisition of the cable path diagram. The third processing method is to increase the number of edge points detected by the RTK positioning device to a third preset number.
[0061] Step S503: If the distance variance is greater than the preset distance variance, obtain the reference length, and make a final judgment on whether the cable path diagram is accurate and whether the operating condition meets the preset standard based on the reference length. The reference length is the sum of the side lengths of each of the reference areas.
[0062] In the above embodiments, if it is initially determined that the operating status of the RTK positioning device does not meet the preset standard and the cable path map is inaccurate, it is necessary to further re-determine whether the operating status of the RTK positioning device meets the preset standard based on the variance of the straight-line distance between each of the above reference areas. If the variance of the distance is greater than the preset distance variance, it is also necessary to further determine whether the cable path map is accurate and whether the operating status meets the preset standard. When the variance of the distance is less than or equal to the preset distance variance, it indicates that there are only a few continuous reference areas in this case. At this time, considering that the preset sampling points for the cable are too low, resulting in a deviation between the cable path map and the actual cable image, an alarm message is issued to re-acquire the cable path map of the cable in a single power well using the RTK positioning device, so as to provide timely warning of abnormal situations in cable construction, thereby improving the safety of cable construction while ensuring the accuracy of cable positioning. Specifically, when the aforementioned distance variance is less than or equal to a preset distance variance, a detection adjustment method for the number of sampling points is determined based on the variance difference value. The variance difference value is the difference between the aforementioned distance variance and the preset distance variance. The detection adjustment method includes a first detection adjustment method, a second detection adjustment method, and a third detection adjustment method. The first detection adjustment method involves adjusting the preset detection number of edge points detected by the RTK positioning device to a first detection number when the aforementioned variance difference value is less than or equal to a first preset variance difference value. The first detection number is the product of a first preset detection adjustment coefficient and a current preset detection number, where the current preset detection number is the number of edge points currently being detected. The second detection adjustment method involves adjusting the preset detection quantity of edge points within each power well to a second detection quantity when the variance difference is greater than the first preset variance difference and less than or equal to the second preset variance difference. The second detection quantity is the product of the second preset detection adjustment coefficient and the current preset detection quantity. The third detection adjustment method involves adjusting the preset detection quantity of edge points within each power well to a third detection quantity when the variance difference is greater than the second preset variance difference. The third detection quantity is the product of the third preset detection adjustment coefficient and the current preset detection quantity. The third set quantity can be the first detection quantity, the second detection quantity, or the third detection quantity. When the distance variance is greater than a preset distance variance, a final determination is made based on the reference length to assess the accuracy of the cable path diagram and whether the operating conditions meet the preset standards.
[0063] To effectively ensure the stable operation of the RTK positioning device, in an optional embodiment, after step S502, the method further includes:
[0064] Step S601: Obtain the latest cable path diagram. The latest cable path diagram is the cable path diagram that was re-obtained after the second alarm information was issued.
[0065] Step S602: Compare the latest cable path diagram with the historical cable path diagram to obtain the second length ratio. The historical cable path diagram is the cable path diagram obtained at a historical time. The second length ratio is the ratio of the second overlap length to the total path length in the latest cable path diagram. The second overlap length is the length of the overlap between the latest cable path diagram and the historical cable path diagram.
[0066] Step S602: If the second length proportion is greater than the second preset length proportion, it is determined that the cable path diagram is accurate and the operating condition meets the preset standard.
[0067] Step S603: If the second length ratio is less than or equal to the second preset length ratio, the above-mentioned acquisition step, generation step and calculation step are executed sequentially until the execution of the first execution step or the second execution step is completed.
[0068] In the above embodiment, the operating status of the RTK positioning device is determined to meet the preset standard based on the length proportion of the re-acquired cable path map, i.e., the second length proportion. The cable path map for a single power well in the historical record is compared with the re-acquired cable path map to obtain the proportion of the overlapping length to the total length of the re-acquired cable path, i.e., the second length proportion. If the second length proportion is less than or equal to the second preset length proportion, the deviation between the two cable path map acquisitions is large, and the RTK positioning device is unstable. Therefore, the processing method for the RTK positioning device is determined based on the derivative of the temperature-length proportion curve at the current temperature. The above acquisition step, generation step, and calculation step are executed sequentially. After calculating the derivative, it is compared with the preset derivative to determine whether to execute the first or second execution step. If the second length proportion is greater than the second preset length proportion, the deviation is small, and the RTK positioning device operates stably. The operating status of the RTK positioning device is determined to meet the preset standard, and the RTK positioning device is controlled to continue using the current operating parameters to acquire each cable path map.
[0069] To improve the accuracy of signal transmission, in one optional embodiment, step S503 includes:
[0070] Step S301: If the reference length is less than or equal to the preset length, it is finally determined that the cable path diagram is accurate and the operating condition meets the preset standard.
[0071] In step S302, if the reference length is greater than the preset length, it is finally determined that the cable path diagram is inaccurate and the operating status does not meet the preset standard, and the fourth processing method is executed, which is to increase the number of repeaters to the fourth preset number.
[0072] In the above embodiments, when the distance variance is greater than the preset distance variance, there is a problem of uneven dispersion of the reference area. In this case, due to the complex terrain, the drawing of the cable path map within the power well has multiple area deviations. At this time, the length sum of each reference area in the cable path map that does not coincide with the actual cable path map is obtained to determine the actual degree of deviation. When the length sum is less than or equal to the preset length sum, it is determined that the operation status of the RTK positioning device meets the preset standard. When the length sum is greater than the preset length sum, the actual degree of deviation is too large, and the number of repeaters is increased to improve the accuracy of signal transmission. Specifically, the device adjustment method for determining the number of repeaters is based on the length difference, where the length difference is the difference between the sum of the lengths and the preset length sum. The device adjustment method includes a first device adjustment method, a second device adjustment method, and a third device adjustment method. The first device adjustment method involves adjusting the number of repeaters to a corresponding first device number when the length difference is less than or equal to a first preset length difference. The first device number is the product of a first preset device adjustment coefficient and the current device number, where the current device number is the current number of repeaters. The second device adjustment method involves adjusting the number of repeaters to a corresponding first device number when the length difference is less than or equal to a second preset length difference. If the length difference is greater than the first preset length difference, the number of repeaters is adjusted to the second number of devices, where the second number of devices is the product of the second preset device adjustment coefficient and the current number of devices. The first preset length difference is less than the second preset length difference. The third device adjustment method is to adjust the number of repeaters to the third number of devices if the length difference is greater than the second preset length difference. The third number of devices is the product of the third preset device adjustment coefficient and the current number of devices. The fourth set number can be the first number of devices, the second number of devices, or the third number of devices. In addition, after adjusting the number of repeaters, the adjusted number is compared with the preset maximum number. If the adjusted number is less than or equal to the preset maximum number, the adjusted number is used as the operating parameter of the RTK positioning device. If the adjusted number is greater than the preset maximum number, the preset maximum number is used as the operating parameter of the RTK positioning device, and the number of sampling points between each power well is adjusted to the first sampling number. The weight difference is the difference between the length weight and the preset length weight. The first sampling number is the product of the first preset sampling adjustment coefficient and the current number of sampling points. The current sampling point is the number of sampling points in the current power well.
[0073] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0074] This application also provides a device for determining the accuracy of cable data. It should be noted that this device can be used to execute the method for determining cable data accuracy provided in this application. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0075] The following describes the device for determining the accuracy of cable data provided in the embodiments of this application.
[0076] Figure 3 This is a structural block diagram of a device for determining the accuracy of cable data according to an embodiment of this application. Figure 3 As shown, the device includes:
[0077] The first acquisition unit 10 is used to acquire cable data of cables in the power well. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path in the power well acquired by an RTK positioning device, and the actual cable image is an image of the actual path of the cable in the power well.
[0078] Specifically, the RTK positioning equipment includes several repeaters to extend signal coverage and improve signal quality, a base station to receive positioning signals from satellites via a GPS receiver, and a mobile station to record positioning data. The cable path map is generated based on the positioning data recorded by the mobile station. Actual cable images of the cables in each power well during the laying process can be obtained using high-definition cameras or similar equipment.
[0079] The first comparison unit 20 is used to compare the cable path diagram with the actual cable image to obtain a first length ratio. The first length ratio is the ratio of the first overlap length to the total path length in the actual cable image. The first overlap length is the length of the overlap portion between the actual cable image and the cable path diagram.
[0080] Specifically, the cable path diagram is compared with the corresponding actual cable image to obtain the length of the overlapping part, namely the first overlapping length, and the proportion of the first overlapping length to the total length of the cable path in the actual cable image is obtained, which is denoted as the first length proportion.
[0081] The first determination unit 30 is used to preliminarily determine that the cable path diagram is inaccurate and the operating status does not meet the preset standard, at least when the first length proportion is less than or equal to the first preset length proportion, and to issue a first alarm message. The first alarm message is used to indicate that the cable path diagram obtained by the RTK positioning device is inaccurate, and the operating status refers to the status of the operating parameters when the cable path diagram is obtained by the RTK positioning device.
[0082] Specifically, at least when the aforementioned first length proportion is less than or equal to the first preset length proportion, it is preliminarily determined that the cable path diagram is inaccurate and the operating condition does not meet the preset standard, and a first alarm message is issued. Conversely, when the aforementioned first length proportion is greater than the aforementioned first preset length proportion, it is preliminarily determined that the aforementioned cable path diagram is accurate and the aforementioned operating condition meets the preset standard.
[0083] In this embodiment, the first acquisition unit is used to acquire cable data of the cable in the power well. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path in the power well acquired by the RTK positioning device, and the actual cable image is an image of the actual path of the cable in the power well. The first comparison unit is used to compare the cable path diagram and the actual cable image to obtain a length ratio. The length ratio is the ratio of the first overlap length to the total path length in the actual cable image. The first overlap length is the length of the overlap portion between the actual cable image and the cable path diagram. The first determination unit is used to initially determine that the cable path diagram is inaccurate and the operating status does not meet a preset standard, at least when the length ratio is less than or equal to the first preset length ratio, and to issue a first alarm message. The first alarm message is used to indicate that the cable path diagram acquired by the RTK positioning device is inaccurate, and the operating status refers to the status of the operating parameters when the cable path diagram was acquired by the RTK positioning device. This application detects the cable path map within a power well obtained through RTK positioning equipment and compares it with actual cable images within the well to determine the length ratio. If the length ratio is less than a preset ratio, it is preliminarily determined that the cable path map obtained by the RTK equipment is inaccurate. Based on this determination, the operating parameters of the RTK positioning equipment are adjusted to ensure that the accuracy of RTK positioning is effectively improved while simultaneously enhancing the safety of cable construction. This application solves the problem of low cable construction efficiency caused by the lack of accuracy determination of acquired cable data in existing technologies.
[0084] To provide a clearer understanding of the cable's route and improve the efficiency of acquiring cable data, in one optional embodiment, the device further includes:
[0085] The second acquisition unit is used to acquire a preset number of edge points of the cable in the power well through the RTK positioning device before comparing the above-mentioned cable path diagram with the actual cable image to obtain the first length ratio value.
[0086] The fitting unit is used to fit the data to all the above edge points to obtain the above cable path diagram.
[0087] In the above embodiment, a predetermined number of edge points of the cables within the power well to be detected are first determined. Data from all edge points is collected, including at least the cable's length, diameter, and material. This data is then processed and analyzed using statistical methods or mathematical modeling to fit the data, thereby determining the trends and patterns of each edge point and ultimately obtaining the cable path.
[0088] To improve data accuracy and provide a data foundation for subsequent data accuracy judgment, in one optional implementation, the first comparison unit includes:
[0089] The feature extraction module extracts edge features from the cable features in the actual cable image to obtain edge features;
[0090] The comparison module compares the aforementioned edge features with the aforementioned cable path diagram to obtain the aforementioned first overlap length;
[0091] The calculation module calculates the ratio of the first overlapping length to the total path length in the actual cable image to obtain the first length ratio.
[0092] In the above embodiments, cable feature extraction from cable images can typically be achieved using edge detection algorithms. Commonly used edge detection algorithms include the Sobel operator, the Prewitt operator, and Canny edge detection. After extracting the edge features, the edge features are compared with the cable path in the cable path diagram to obtain the length of the overlapping portion, i.e., the first overlapping length. Then, the proportion of the first overlapping length in the total path length in the actual cable image is calculated to obtain the first length proportion.
[0093] To effectively improve the accuracy of the acquired information, in one optional embodiment, the device further includes:
[0094] The third acquisition unit is used to perform an acquisition step after initially determining that the cable path diagram is inaccurate and the operating condition does not meet the preset standard, at least when the first length ratio is less than or equal to the first preset length ratio. The acquisition unit acquires the historical temperature and the current temperature. The historical temperature is the temperature corresponding to each historical length ratio in the historical data, and the current temperature is the temperature corresponding to the first length ratio obtained at the moment.
[0095] The generation unit is used to perform the generation step, generating a temperature-length ratio curve based on the current length ratio, historical length ratio, current temperature, and historical temperature. The temperature-length ratio curve is used to represent the relationship between temperature and the first length ratio.
[0096] The calculation unit is used to perform calculation steps and calculate the derivative at the current temperature based on the temperature-length-gravity curve mentioned above.
[0097] The first execution unit is used to execute the first execution step. When the derivative is less than or equal to the preset derivative, the first processing method is to increase the number of sampling points between the power wells to a first set number.
[0098] The second execution unit is used to execute the second execution step. When the derivative is greater than the preset derivative, the second processing method is to increase the number of repeaters to a second preset number.
[0099] In the above embodiments, the corresponding processing method is determined according to the change in the length ratio. When the derivative is greater than the preset derivative, the length ratio is slowly increased. At this time, the data collected at the cable construction site becomes more accurate, and the number of repeaters is adjusted to improve the accuracy of signal transmission. When the derivative is less than or equal to the preset derivative, the length ratio is decreased. In this case, the accuracy of the collected data fluctuates due to environmental factors. At this time, the number of sampling points between each power well is adjusted, which effectively improves the accuracy of the acquired information and the efficiency of cable construction.
[0100] Specifically, when the derivative is greater than the preset derivative, the temperature sensor installed in the construction area is controlled to acquire the temperature of the construction area. A temperature-length-weight curve is plotted based on the historical data of each length proportion and the temperature corresponding to the acquisition of the length proportion. The processing method for the RTK positioning device is determined based on the derivative of the temperature-length-weight curve at the current temperature. This includes the first processing method and the second processing method. The first processing method includes a first quantity adjustment method, a second quantity adjustment method, and a third quantity adjustment method. The first quantity adjustment method involves adjusting the number of repeaters to a first quantity when the derivative difference is less than or equal to a first preset derivative difference. The first quantity is the sum of the first preset quantity adjustment coefficient and the current preset value. The product of the number of repeaters, where the derivative difference is the difference between the derivative and the preset derivative, and the current number of devices is the current number of repeaters; the second quantity adjustment method is to adjust the number of repeaters to a second quantity when the derivative difference is greater than the first preset derivative difference and less than or equal to the second preset derivative difference, where the second quantity is the product of the second preset quantity adjustment coefficient and the current number of devices, and the first preset derivative difference is less than the second preset derivative difference; the third quantity adjustment method is to adjust the number of repeaters to a third quantity when the derivative difference is greater than the second preset derivative difference, where the third quantity is the product of the third preset quantity adjustment coefficient and the current number of devices. When the aforementioned derivative is less than or equal to a preset derivative, the second processing method includes a first sampling adjustment method, a second sampling adjustment method, and a third sampling adjustment method. The first sampling method involves adjusting the number of sampling points between each power well to a first sampling number when the weight difference is less than or equal to a first preset weight difference. The weight difference is the difference between the length weight and a preset length weight. The first sampling number is the product of a first preset sampling adjustment coefficient and the current number of sampling points. The current sampling point is the number of sampling points within the current power well. The second sampling method involves adjusting the number of sampling points between each power well to a second sampling number when the weight difference is greater than the first preset weight difference and less than or equal to a second preset weight difference. The second sampling number is the product of a second preset sampling adjustment coefficient and the current number of sampling points. The third sampling method involves adjusting the number of sampling points between each power well to a third sampling number when the weight difference is greater than the second preset weight difference. The third sampling number is the product of a third preset sampling adjustment coefficient and the current number of sampling points. The above number of sampling points refers to the number of sampling points set by the RTK positioning device between each power well when acquiring the cable path between each power well.
[0101] To mitigate the issues of low data accuracy caused by complex terrain and insufficient sampling points, in one optional embodiment, the above-mentioned apparatus further includes:
[0102] The fourth acquisition unit is used to acquire the distance variance after initially determining that the cable path diagram is inaccurate and the operating condition does not meet the preset standard when at least the first length ratio is less than or equal to the first preset length ratio. The distance variance is the variance of the straight distance between each reference area, and the reference area is the area where the cable image and the cable path diagram do not overlap.
[0103] The third execution unit is used to execute the third processing method and issue a second alarm message when the distance variance is less than or equal to the preset distance variance. The second alarm message is used to prompt the reacquisition of the cable path diagram. The third processing method is to increase the number of edge points detected by the RTK positioning device to a third preset number.
[0104] The second determination unit is used to obtain a reference length when the aforementioned distance variance is greater than a preset distance variance, and to make a final determination on whether the aforementioned cable path diagram is accurate and whether the aforementioned operating conditions meet the aforementioned preset standards based on the aforementioned reference length. The aforementioned reference length is the sum of the side lengths of each of the aforementioned reference areas.
[0105] In the above embodiments, if it is initially determined that the operating status of the RTK positioning device does not meet the preset standard and the cable path map is inaccurate, it is necessary to further re-determine whether the operating status of the RTK positioning device meets the preset standard based on the variance of the straight-line distance between each of the above reference areas. If the variance of the distance is greater than the preset distance variance, it is also necessary to further determine whether the cable path map is accurate and whether the operating status meets the preset standard. When the variance of the distance is less than or equal to the preset distance variance, it indicates that there are only a few continuous reference areas in this case. At this time, considering that the preset sampling points for the cable are too low, resulting in a deviation between the cable path map and the actual cable image, an alarm message is issued to re-acquire the cable path map of the cable in a single power well using the RTK positioning device, so as to provide timely warning of abnormal situations in cable construction, thereby improving the safety of cable construction while ensuring the accuracy of cable positioning. Specifically, when the aforementioned distance variance is less than or equal to a preset distance variance, a detection adjustment method for the number of sampling points is determined based on the variance difference value. The variance difference value is the difference between the aforementioned distance variance and the aforementioned preset distance variance. The detection adjustment method includes a first detection adjustment method, a second detection adjustment method, and a third detection adjustment method. The first detection adjustment method involves adjusting the preset detection number of edge points during RTK positioning device detection to a first detection number when the aforementioned variance difference value is less than or equal to a first preset variance difference value. The first detection number is the product of a first preset detection adjustment coefficient and a current preset detection number. The current preset detection number is... The number of edge points currently being detected; the second detection adjustment method is to adjust the preset detection number of edge points in each power well to the second detection number when the variance difference is greater than the first preset variance difference and less than or equal to the second preset variance difference, wherein the second detection number is the product of the second preset detection adjustment coefficient and the current preset detection number; the third detection adjustment method is to adjust the preset detection number of edge points in each power well to the third detection number when the variance difference is greater than the second preset variance difference, wherein the third detection number is the product of the third preset detection adjustment coefficient and the current preset detection number. When the distance variance is greater than the preset distance variance, a final determination is made based on the reference length to determine whether the cable path diagram is accurate and whether the operating condition meets the preset standards.
[0106] To effectively ensure the stable operation of the RTK positioning device, in one optional embodiment, the above-mentioned device further includes:
[0107] The fifth acquisition unit is used to acquire the latest cable path diagram after executing the third processing method and issuing the second alarm information when the distance variance is less than or equal to the preset distance variance. The latest cable path diagram is the cable path diagram re-acquired after issuing the second alarm information.
[0108] The second comparison unit is used to compare the latest cable path diagram with the historical cable path diagram to obtain a second length ratio. The historical cable path diagram is the cable path diagram obtained at a historical time. The second length ratio is the ratio of the second overlap length to the total path length in the latest cable path diagram. The second overlap length is the length of the overlap between the latest cable path diagram and the historical cable path diagram.
[0109] The third determination unit is used to determine that the cable path diagram is accurate and the operating condition meets the preset standard when the second length proportion is greater than the second preset length proportion.
[0110] The fourth execution unit, when the second length proportion is less than or equal to the second preset length proportion, sequentially executes the acquisition step, the generation step, and the calculation step until the execution of the first execution step or the second execution step is completed.
[0111] In the above embodiment, the operating status of the RTK positioning device is determined to meet the preset standard based on the length proportion of the re-acquired cable path map, i.e., the second length proportion. The cable path map for a single power well in the historical record is compared with the re-acquired cable path map to obtain the proportion of the overlapping length to the total length of the re-acquired cable path, i.e., the second length proportion. If the second length proportion is less than or equal to the second preset length proportion, the deviation between the two cable path map acquisitions is large, and the RTK positioning device is unstable. Therefore, the processing method for the RTK positioning device is determined based on the derivative of the temperature-length proportion curve at the current temperature. The above acquisition step, generation step, and calculation step are executed sequentially. After calculating the derivative, it is compared with the preset derivative to determine whether to execute the first or second execution step. If the second length proportion is greater than the second preset length proportion, the deviation is small, and the RTK positioning device operates stably. The operating status of the RTK positioning device is determined to meet the preset standard, and the RTK positioning device is controlled to continue using the current operating parameters to acquire each cable path map.
[0112] To improve the accuracy of signal transmission, in one optional embodiment, the second determination unit includes:
[0113] The first determination module, when the reference length is less than or equal to the preset length, finally determines that the cable path diagram is accurate and the operating condition meets the preset standard.
[0114] The second determination module, when the reference length is greater than the preset length, ultimately determines that the cable path diagram is inaccurate and the operating status does not meet the preset standard, and executes the fourth processing method, which is to increase the number of repeaters to the fourth preset number.
[0115] In the above embodiments, when the distance variance is greater than the preset distance variance, there is a problem of uneven dispersion of the reference area. In this case, due to the complex terrain, the drawing of the cable path map within the power well has multiple area deviations. At this time, the length sum of each reference area in the cable path map that does not coincide with the actual cable path map is obtained to determine the actual degree of deviation. When the length sum is less than or equal to the preset length sum, it is determined that the operation status of the RTK positioning device meets the preset standard. When the length sum is greater than the preset length sum, the actual degree of deviation is too large, and the number of repeaters is increased to improve the accuracy of signal transmission. Specifically, the device adjustment method for determining the number of repeaters is based on the length difference, where the length difference is the difference between the sum of the lengths and the preset sum of lengths. The device adjustment method includes a first device adjustment method, a second device adjustment method, and a third device adjustment method. The first device adjustment method involves adjusting the number of repeaters to a corresponding first device number when the length difference is less than or equal to a first preset length difference. The first device number is the product of a first preset device adjustment coefficient and the current device number, where the current device number is the current number of repeaters. The second device adjustment method involves adjusting the number of repeaters to a second device number when the length difference is less than or equal to a second preset length difference and the length difference is greater than the first preset length difference. The second device number is the product of a second preset device adjustment coefficient and the current device number, where the first preset length difference is less than the second preset length difference. The third device adjustment method involves adjusting the number of repeaters to a third device number when the length difference is greater than the second preset length difference. The third device number is the product of a third preset device adjustment coefficient and the current device number. In addition, after adjusting the number of repeaters, the adjusted number is compared with the preset maximum number. If the adjusted number is less than or equal to the preset maximum number, the adjusted number is used as the operating parameter of the RTK positioning device. If the adjusted number is greater than the preset maximum number, the preset maximum number is used as the operating parameter of the RTK positioning device, and the number of sampling points between each power well is adjusted to the first sampling number. The weight difference is the difference between the length weight and the preset length weight. The first sampling number is the product of the first preset sampling adjustment coefficient and the current number of sampling points. The current sampling point is the number of sampling points in the current power well.
[0116] The aforementioned device for determining the accuracy of cable data includes a processor and a memory. The first acquisition unit, the first comparison unit, and the first determination unit are all stored as program units in the memory. The processor executes these program units stored in the memory to achieve their respective functions. All of the aforementioned modules are located in the same processor; alternatively, the modules may be located in different processors in any combination.
[0117] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can address the problem of low cable installation efficiency caused by the lack of accuracy verification of acquired cable data in existing technologies.
[0118] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0119] This invention provides a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform a method for determining the accuracy of cable data.
[0120] Specifically, methods for determining the accuracy of cable data include:
[0121] Step S201: Obtain cable data of the cable in the power well. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path in the power well obtained by the RTK positioning device, and the actual cable image is an image of the actual path of the cable in the power well.
[0122] Step S202: Compare the above cable path diagram with the actual cable image to obtain a first length ratio. The first length ratio is the ratio of the first overlap length to the total path length in the actual cable image. The first overlap length is the length of the overlap portion between the actual cable image and the cable path diagram.
[0123] Step S203: At least when the first length proportion is less than or equal to the first preset length proportion, it is preliminarily determined that the cable path diagram is inaccurate and the operating status does not meet the preset standard, and a first alarm message is issued. The first alarm message is used to indicate that the cable path diagram obtained by the RTK positioning device is inaccurate, and the operating status refers to the status of the operating parameters when the cable path diagram is obtained by the RTK positioning device.
[0124] This invention provides a processor for running a program, wherein the program executes a method for determining the accuracy of cable data.
[0125] Specifically, methods for determining the accuracy of cable data include:
[0126] Step S201: Obtain cable data of the cable in the power well. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path in the power well obtained by the RTK positioning device, and the actual cable image is an image of the actual path of the cable in the power well.
[0127] Step S202: Compare the above cable path diagram with the actual cable image to obtain a first length ratio. The first length ratio is the ratio of the first overlap length to the total path length in the actual cable image. The first overlap length is the length of the overlap portion between the actual cable image and the cable path diagram.
[0128] Step S203: At least when the first length proportion is less than or equal to the first preset length proportion, it is preliminarily determined that the cable path diagram is inaccurate and the operating status does not meet the preset standard, and a first alarm message is issued. The first alarm message is used to indicate that the cable path diagram obtained by the RTK positioning device is inaccurate, and the operating status refers to the status of the operating parameters when the cable path diagram is obtained by the RTK positioning device.
[0129] This invention provides a cable data accuracy determination system, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:
[0130] Step S201: Obtain cable data of the cable in the power well. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path in the power well obtained by the RTK positioning device, and the actual cable image is an image of the actual path of the cable in the power well.
[0131] Step S202: Compare the above cable path diagram with the actual cable image to obtain a first length ratio. The first length ratio is the ratio of the first overlap length to the total path length in the actual cable image. The first overlap length is the length of the overlap portion between the actual cable image and the cable path diagram.
[0132] Step S203: At least when the first length proportion is less than or equal to the first preset length proportion, it is preliminarily determined that the cable path diagram is inaccurate and the operating status does not meet the preset standard, and a first alarm message is issued. The first alarm message is used to indicate that the cable path diagram obtained by the RTK positioning device is inaccurate, and the operating status refers to the status of the operating parameters when the cable path diagram is obtained by the RTK positioning device.
[0133] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:
[0134] Step S201: Obtain cable data of the cable in the power well. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path in the power well obtained by the RTK positioning device, and the actual cable image is an image of the actual path of the cable in the power well.
[0135] Step S202: Compare the above cable path diagram with the actual cable image to obtain a first length ratio. The first length ratio is the ratio of the first overlap length to the total path length in the actual cable image. The first overlap length is the length of the overlap portion between the actual cable image and the cable path diagram.
[0136] Step S203: At least when the first length proportion is less than or equal to the first preset length proportion, it is preliminarily determined that the cable path diagram is inaccurate and the operating status does not meet the preset standard, and a first alarm message is issued. The first alarm message is used to indicate that the cable path diagram obtained by the RTK positioning device is inaccurate, and the operating status refers to the status of the operating parameters when the cable path diagram is obtained by the RTK positioning device.
[0137] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0138] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0139] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0140] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0141] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0142] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0143] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0144] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0145] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. 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 apparatus that includes that element.
[0146] As can be seen from the above description, the embodiments of this application achieve the following technical effects:
[0147] 1) The method for determining the accuracy of cable data in this application includes: First, acquiring cable data of cables within a power well. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path within the power well obtained through an RTK positioning device, and the actual cable image is an image of the actual path of the cable within the power well. Then, comparing the cable path diagram with the actual cable image to obtain a first length ratio. The first length ratio is the ratio of the first overlap length to the total path length in the actual cable image. The first overlap length is the length of the overlap portion between the actual cable image and the cable path diagram. Finally, if at least the first length ratio is less than or equal to a first preset length ratio, it is preliminarily determined that the cable path diagram is inaccurate and the operating status does not meet a preset standard, and a first alarm message is issued. The first alarm message is used to indicate that the cable path diagram obtained through the RTK positioning device is inaccurate, and the operating status refers to the status of the operating parameters when the cable path diagram was obtained through the RTK positioning device. This application detects the cable path map within a power well obtained through RTK positioning equipment and compares it with actual cable images within the well to determine the length ratio. If the length ratio is less than a preset ratio, it is preliminarily determined that the cable path map obtained by the RTK equipment is inaccurate. Based on this determination, the operating parameters of the RTK positioning equipment are adjusted to ensure that the accuracy of RTK positioning is effectively improved while simultaneously enhancing the safety of cable construction. This application solves the problem of low cable construction efficiency caused by the lack of accuracy determination of acquired cable data in existing technologies.
[0148] 2) The cable data accuracy determination device of this application includes a first acquisition unit for acquiring cable data of cables in a power well, the cable data including at least a cable path diagram and an actual cable image, the cable path diagram being an image of the cable path in the power well acquired by an RTK positioning device, and the actual cable image being an image of the actual path of the cable in the power well; a first comparison unit for comparing the cable path diagram and the actual cable image to obtain a length ratio, the length ratio being the ratio of a first overlap length to the total path length in the actual cable image, the first overlap length being the length of the overlap portion between the actual cable image and the cable path diagram; and a first determination unit for initially determining that the cable path diagram is inaccurate and the operating condition does not meet a preset standard, at least when the length ratio is less than or equal to a first preset length ratio, and issuing a first alarm message, the first alarm message being used to indicate that the cable path diagram acquired by the RTK positioning device is inaccurate, and the operating condition being the status of the operating parameters when the cable path diagram was acquired by the RTK positioning device. This application detects the cable path map within a power well obtained through RTK positioning equipment and compares it with actual cable images within the well to determine the length ratio. If the length ratio is less than a preset ratio, it is preliminarily determined that the cable path map obtained by the RTK equipment is inaccurate. Based on this determination, the operating parameters of the RTK positioning equipment are adjusted to ensure that the accuracy of RTK positioning is effectively improved while simultaneously enhancing the safety of cable construction. This application solves the problem of low cable construction efficiency caused by the lack of accuracy determination of acquired cable data in existing technologies.
[0149] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for determining the accuracy of cable data, characterized in that, include: Acquire cable data of cables inside the power well. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path inside the power well obtained by an RTK positioning device, and the actual cable image is an image of the actual path of the cable inside the power well. The cable path diagram is compared with the actual cable image to obtain a first length ratio. The first length ratio is the ratio of the first overlap length to the total path length in the actual cable image. The first overlap length is the length of the overlap portion between the actual cable image and the cable path diagram. At least when the first length proportion is less than or equal to the first preset length proportion, it is preliminarily determined that the cable path diagram is inaccurate and the operating status does not meet the preset standard, and a first alarm message is issued. The first alarm message is used to indicate that the cable path diagram obtained by the RTK positioning device is inaccurate, and the operating status refers to the status of the operating parameters when the cable path diagram is obtained by the RTK positioning device. At least when the first length proportion is less than or equal to the first preset length proportion, after initially determining that the cable path diagram is inaccurate and the operating condition does not meet the preset standard, the method further includes: an acquisition step, acquiring historical temperature and current temperature, wherein the historical temperature is the temperature corresponding to each historical length proportion in historical data, and the current temperature is the temperature corresponding to the currently obtained first length proportion; a generation step, generating a temperature-length proportion curve based on the current length proportion, historical length proportion, current temperature, and historical temperature, wherein the temperature-length proportion curve is used to represent the relationship between temperature and the first length proportion; a calculation step, calculating the derivative at the current temperature based on the temperature-length proportion curve; a first execution step, executing a first processing method when the derivative is less than or equal to the preset derivative, wherein the first processing method is to increase the number of sampling points between each power well to a first set number; and a second execution step, executing a second processing method when the derivative is greater than the preset derivative, wherein the second processing method is to increase the number of repeaters to a second set number. If, at least, the first length proportion is less than or equal to the first preset length proportion, and after initially determining that the cable path diagram is inaccurate and the operating condition does not meet the preset standard, the method further includes: obtaining a distance variance, wherein the distance variance is the variance of the straight-line distance between each reference area, and the reference area is the area where the cable image and the cable path diagram do not overlap; if the distance variance is less than or equal to the preset distance variance, executing a third processing method and issuing a second alarm message, wherein the second alarm message is used to prompt the re-acquisition of the cable path diagram, and the third processing method is to increase the number of edge points detected by the RTK positioning device to a third preset number; if the distance variance is greater than the preset distance variance, obtaining a reference length, and making a final determination on whether the cable path diagram is accurate and whether the operating condition meets the preset standard based on the reference length, wherein the reference length is the sum of the side lengths of each of the reference areas; After obtaining the reference length, the method further includes: if the reference length is less than or equal to a preset length, finally determining that the cable path diagram is accurate and the operating status meets the preset standard; if the reference length is greater than the preset length, finally determining that the cable path diagram is inaccurate and the operating status does not meet the preset standard, and executing a fourth processing method, wherein the fourth processing method is to increase the number of repeaters to a fourth preset number. If the distance variance is less than or equal to a preset distance variance, after executing the third processing method and issuing a second alarm message, the method further includes: obtaining a latest cable path diagram, wherein the latest cable path diagram is a cable path diagram re-obtained after issuing the second alarm message; comparing the latest cable path diagram with a historical cable path diagram to obtain a second length ratio, wherein the historical cable path diagram is a cable path diagram obtained at a historical time, and the second length ratio is the ratio of the second overlap length to the total path length in the latest cable path diagram, wherein the second overlap length is the length of the overlap portion between the latest cable path diagram and the historical cable path diagram; if the second length ratio is greater than the second preset length ratio, determining that the cable path diagram is accurate and the operating status meets the preset standard; if the second length ratio is less than or equal to the second preset length ratio, sequentially executing the acquisition step, the generation step, and the calculation step until the first execution step or the second execution step is completed.
2. The method according to claim 1, characterized in that, Before comparing the cable image with the cable path diagram to obtain the first length weight, the method further includes: The RTK positioning device is used to obtain a preset number of edge points of the cable inside the power well. Data fitting is performed on all the edge points to obtain the cable path diagram.
3. The method according to claim 1, characterized in that, The cable path diagram is compared with the actual cable image to obtain a first length weight, including: Edge features are extracted from the cable features in the actual cable image to obtain edge features; The first overlap length is obtained by comparing the edge features with the cable path diagram. The ratio of the first overlapping length to the total path length in the actual cable image is calculated to obtain the first length proportion.
4. A device for determining the accuracy of cable data, characterized in that, The device includes: The first acquisition unit is used to acquire cable data of cables in the power well. The cable data includes at least a cable path diagram and an actual cable image. The cable path diagram is an image of the cable path in the power well acquired by an RTK positioning device, and the actual cable image is an image of the actual path of the cable in the power well. The first comparison unit is used to compare the cable path diagram with the actual cable image to obtain a length ratio. The length ratio is the ratio of the first overlap length to the total path length in the actual cable image. The first overlap length is the length of the overlap portion between the actual cable image and the cable path diagram. The first determination unit is used to preliminarily determine that the cable path diagram is inaccurate and the operating status does not meet the preset standard when the length ratio is less than or equal to the first preset length ratio, and to issue a first alarm message. The first alarm message is used to indicate that the cable path diagram obtained by the RTK positioning device is inaccurate, and the operating status is the status of the operating parameters when the cable path diagram is obtained by the RTK positioning device. The device further includes: a third acquisition unit, configured to, at least when the first length proportion is less than or equal to the first preset length proportion, after initially determining that the cable path diagram is inaccurate and the operating condition does not meet the preset standard, execute an acquisition step to acquire historical temperature and current temperature, wherein the historical temperature is the temperature corresponding to each historical length proportion in the historical data, and the current temperature is the temperature corresponding to the currently obtained first length proportion; a generation unit, configured to execute a generation step to generate a temperature-length proportion curve based on the current length proportion, historical length proportion, current temperature, and historical temperature, wherein the temperature-length proportion curve is used to represent the relationship between temperature and the first length proportion; a calculation unit, configured to execute a calculation step to calculate the derivative at the current temperature based on the temperature-length proportion curve; a first execution unit, configured to execute a first execution step, wherein when the derivative is less than or equal to the preset derivative, execute a first processing method, wherein the first processing method is to increase the number of sampling points between each power well to a first set number; and a second execution unit, configured to execute a second execution step, wherein when the derivative is greater than the preset derivative, execute a second processing method, wherein the second processing method is to increase the number of repeaters to a second set number. The device further includes: a fourth acquisition unit, configured to, after initially determining that the cable path diagram is inaccurate and the operating condition does not meet the preset standard when at least the first length proportion is less than or equal to the first preset length proportion, acquire a distance variance, wherein the distance variance is the variance of the straight-line distance between each reference area, and the reference area is the area where the cable image and the cable path diagram do not overlap; a third execution unit, configured to, when the distance variance is less than or equal to the preset distance variance, execute a third processing method and issue a second alarm message, wherein the second alarm message is used to prompt the reacquisition of the cable path diagram, and the third processing method is to increase the number of edge points detected by the RTK positioning device to a third set number; and a second determination unit, configured to, when the distance variance is greater than the preset distance variance, acquire a reference length, and make a final determination on whether the cable path diagram is accurate and whether the operating condition meets the preset standard based on the reference length, wherein the reference length is the sum of the side lengths of each reference area; The second determination unit includes: a first determination module, used to determine that the cable path diagram is accurate and the operating status meets the preset standard when the reference length is less than or equal to the preset length; and a second determination module, used to determine that the cable path diagram is inaccurate and the operating status does not meet the preset standard when the reference length is greater than the preset length, and to execute a fourth processing method, wherein the fourth processing method is to increase the number of repeaters to a fourth preset number. The device further includes: a fifth acquisition unit, configured to acquire a latest cable path diagram after executing a third processing method and issuing a second alarm message when the distance variance is less than or equal to a preset distance variance; the latest cable path diagram being a cable path diagram re-acquired after issuing the second alarm message; a second comparison unit, configured to compare the latest cable path diagram with a historical cable path diagram to obtain a second length ratio; the historical cable path diagram being a cable path diagram acquired at a historical time; the second length ratio being the ratio of the second overlap length to the total path length in the latest cable path diagram; the second overlap length being the length of the overlap portion between the latest cable path diagram and the historical cable path diagram; a third determination unit, configured to determine that the cable path diagram is accurate and the operating status meets the preset standard when the second length ratio is greater than the second preset length ratio; and a fourth execution unit, configured to sequentially execute the acquisition step, the generation step, and the calculation step when the second length ratio is less than or equal to the second preset length ratio, until the first execution step or the second execution step is completed.
5. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 3.
6. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the method described in any one of claims 1 to 3.
Citation Information
Patent Citations
Digital intelligent distribution network idle power cable pipeline detection system
CN111175317A
Underground cable fault position determining method and device
CN110736897A
Communication cable laying route analysis system and method based on digital modeling
CN114065513A