This invention discloses a method and
system for enhancing the accuracy of downhole target positioning based on
the Internet of Things (IoT). The method includes: a terminal collecting target positioning-related data in real time to determine the target location and calculating the target displacement; recording the target displacement within a set time period as a continuous displacement sequence; calculating the error
evaluation result of the current target
displacement based on the continuous displacement sequence; when the error
evaluation result exceeds a set error threshold, determining the surrounding positioning devices based on a set
effective radius of the positioning device; each surrounding positioning device collecting target positioning-related data and transmitting it to the terminal via the IoT; the terminal using the target positioning-related data to determine
multiple target locations; dividing all target locations into multiple clusters based on a K-means clustering
algorithm; calculating the clustering rationality coefficient based on the center point of each cluster; and using the center point of the cluster with the largest clustering rationality coefficient as the current target location. This invention has significant advantages such as accurate positioning and high reliability.