A method, device, equipment and storage medium for determining location information of a device

By using auxiliary position information to verify the current position information of the device, the problem of position information deviation caused by the device not being configured with a high-precision positioning chip is solved, and more accurate position information determination is achieved, improving the accuracy and working efficiency of the device positioning.

CN115150939BActive Publication Date: 2024-12-31KEENON ROBOTICS CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202210750413.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2024-12-31
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

Due to cost reasons, existing equipment has not been configured with high-precision positioning chips, making it difficult to accurately determine the device location information, especially the position information based on IP address, and there is a deviation, which cannot be effectively checked and corrected.

Method used

By obtaining the current location information of the target device, and using auxiliary location information (such as the location information of the control end, the holder and the interactive device) for verification, the accurate location information of the target device is determined, and the deviation of the IP information is avoided.

Benefits of technology

When the device is not equipped with a high-precision positioning chip, the accuracy of the device position information is improved with the help of auxiliary position information, avoiding the use of wrong position information, and improving work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115150939B_ABST
    Figure CN115150939B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and storage medium for determining the location information of a device, and belongs to the field of positioning technology. The method comprises: obtaining the current location information reported by the target device; wherein the current location information is determined based on the IP address of the target device; verifying the validity of the current location information according to the auxiliary location information of the target device; and determining the target location information of the target device according to the verification result. Through the above technical solution, when the device is not equipped with a high-precision positioning chip, more accurate device location information can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of positioning technology, and in particular to a method, device, equipment and storage medium for determining location information of a device. Background Art

[0002] Some existing devices are often not equipped with high-precision positioning chips such as the Global Positioning System (GPS) due to cost reasons. Therefore, it is particularly important to accurately determine the location information of the device. Summary of the invention

[0003] The present invention provides a method, apparatus, device and storage medium for determining location information of a device, so as to obtain more accurate location information of the device.

[0004] According to one aspect of the present invention, a method for determining location information of a device is provided, the method comprising:

[0005] Obtaining current location information reported by the target device; wherein the current location information is determined based on the IP address of the target device;

[0006] Verifying the validity of the current location information according to the auxiliary location information of the target device;

[0007] According to the verification result, the target location information of the target device is determined.

[0008] According to another aspect of the present invention, there is provided a device for determining location information of a device, the device comprising:

[0009] A current location information acquisition module, used to acquire the current location information reported by the target device; wherein the current location information is determined based on the IP address of the target device;

[0010] A validity verification module, used to verify the validity of the current location information according to the auxiliary location information of the target device;

[0011] The target location information determination module is used to determine the target location information of the target device according to the verification result.

[0012] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0013] at least one processor; and

[0014] a memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining location information of a device described in any embodiment of the present invention.

[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining location information of a device described in any embodiment of the present invention when executed.

[0017] The technical solution of the embodiment of the present invention obtains the current location information reported by the target device, and then verifies the validity of the current location information according to the auxiliary location information of the target device, and then determines the target location information of the target device according to the verification result. In the above technical solution, when the target device is not equipped with a high-precision positioning chip, the location information of the target device can be verified with the help of the auxiliary location information, so that the location information of the target device can be accurately determined.

[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 is a flowchart of a method for determining location information of a device provided in accordance with Embodiment 1 of the present invention;

[0021] Figure 2 is a flowchart of a method for determining location information of a device provided in accordance with Embodiment 2 of the present invention;

[0022] Figure 3 is a flowchart of a method for determining location information of a device provided in Embodiment 3 of the present invention;

[0023] Figure 4 is a schematic diagram of the structure of a device for determining location information of a device provided in Embodiment 4 of the present invention;

[0024] Figure 5 It is a structural diagram of an electronic device for implementing the method for determining location information of a device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] Embodiment 1

[0028] Figure 1 This is a flow chart of a method for determining the location information of a device provided according to the first embodiment of the present invention. This embodiment of the present invention is applicable to the situation of how to determine the location information of a device, and is particularly applicable to the situation of how to determine the location information of a device when a high-precision positioning chip is not configured in the device. The method can be executed by a device's location information determination device, which can be implemented in the form of hardware and / or software, and can be integrated into an electronic device that carries the device's location information determination function, such as a server. Figure 1 As shown, the method for determining the location information of a device in this embodiment may include:

[0029] S110: Obtain current location information reported by the target device.

[0030] In this embodiment, the target device refers to a device that is not equipped with a high-precision positioning chip and needs to determine the position. For example, the target device may be a robot, etc. The so-called current position information refers to the current position information of the target device determined based on the IP address of the target device; optionally, the target device may obtain its own latitude and longitude information, i.e., current position information, from a third-party map service provider based on its own IP information.

[0031] Specifically, after obtaining its current location information based on the IP information of the target device, the target device reports the current location information to the background server; correspondingly, the background server can periodically obtain the current location information reported by the target device.

[0032] S120. Verify the validity of the current location information based on the auxiliary location information of the target device.

[0033] In this embodiment, the auxiliary location information of the target device refers to the location information of other devices used to assist in determining the location information of the target device, and may include but is not limited to the first location information of the control end of the target device, the second location information of the holder of the target device, the third location information of the interactive device of the target device, and at least one item in the set of historical location information reported by the target device.

[0034] The control end of the target device refers to a mobile terminal that uses a network interface to control the target device; illustratively, the user can perform contactless operations on the target device through an application or applet in a mobile terminal (such as a mobile phone) based on the network interface, such as issuing operation instructions to a robot. At this time, the background server can use the geographical location information from the mobile terminal to the user to filter out the geographical location information (such as longitude and latitude information) of a set time period to form a user geographical location heat map, and then obtain the first location information of the control end of the target device from the user geographical location heat map.

[0035] The holder of the target device refers to the party to which the target device belongs, such as the buyer of the target device.

[0036] The second location information of the target device holder, i.e., the operating geographic location information of the robot; optionally, it can be determined based on the transaction contract information associated with the target device, specifically, the delivery address information can be extracted from the transaction contract information, and then the delivery address information can be parsed into longitude and latitude information, and the longitude and latitude information can be used as the second location information of the target device holder. Optionally, the door-to-door service address assigned to the target device can be parsed into longitude and latitude information, and the longitude and latitude information can be used as the second location information of the target device holder.

[0037] The associated device of the target device refers to a device that is linked with the target device. For example, it can be other devices in the same space as the target device. For example, when the target device is a robot, the associated device can be other robots in the same space, as well as an elevator control device or a telephone control device in the scene where the robot is located. It should be noted that the number of associated devices can be one or more.

[0038] The third location information of the associated device of the target device refers to the location information of the associated device itself reported by the associated device. Optionally, the associated devices can report their respective location information to the background server, and the location information of these associated devices can form a hotspot map of the geographical locations of the associated devices.

[0039] The historical location information set refers to a set of location information reported by the target device within a set time period before the current time.

[0040] Specifically, the validity of the current location information may be verified based on the auxiliary location information of the target device based on certain verification rules. For example, the validity of the current location information may be verified based on the auxiliary location information of the target device based on a validity verification model. The validity verification model may be obtained based on a machine learning algorithm.

[0041] S130. Determine the target location information of the target device according to the verification result.

[0042] Optionally, if the verification result is that the current location information of the target device is valid, the current location information of the target device is used as the target location information of the target device.

[0043] Optionally, if the verification result is that the current location information of the target device is invalid, it can be determined that the target location information of the target device has failed to be determined, and the acquisition of the current location information of the next cycle is awaited.

[0044] It should be noted that in the prior art, most of the IP information of the device uses base station information. Due to IP offset or the presence of a transit gateway in the network used by the device, the IP information of the device will be inaccurate, which will cause the location information (i.e., longitude and latitude information) of the device determined based on the IP information to deviate. When the location information of the device deviates, the background server cannot determine whether the location information reported by the device deviates through an effective data source, nor can it correct the error, and can only continue to use the erroneous location information of the device to perform related work. The technical solution of the present invention introduces auxiliary location information, which can be used to verify the location information of the device, thereby preventing the background server and the device itself from always using erroneous location information, thereby improving work efficiency.

[0045] The technical solution of the embodiment of the present invention obtains the current location information reported by the target device, and then verifies the validity of the current location information according to the auxiliary location information of the target device, and then determines the target location information of the target device according to the verification result. In the above technical solution, when the target device is not equipped with a high-precision positioning chip, the location information of the target device can be verified with the help of the auxiliary location information, so that the location information of the target device can be accurately determined.

[0046] On the basis of the above embodiments, as an optional method of the present disclosure, verifying the validity of the current location information according to the auxiliary location information of the target device can be that the trusted location information is selected from the first location information of the control end of the target device and the second location information of the holder of the target device; if the trusted location information is the first location information, the validity of the current location information is verified according to the first location information of the control end of the target device, the second location information of the holder of the target device and the historical location information set reported by the target device; if the trusted location information is the second location information, the validity of the current location information is verified according to the first location information of the control end of the target device, the second location information of the holder of the target device and the third location information of the interactive device of the target device.

[0047] In this embodiment, the credible location information refers to location information that has credibility.

[0048] Specifically, based on the usage of the target device, the trusted location information can be selected from the first location information of the control end of the target device and the second location information of the holder of the target device. For example, if the target device needs to be contactlessly controlled through a mobile terminal during actual use. At this time, the trusted location information can be the first location information, and the validity of the current location information can be verified based on the preset verification rules according to the first location information of the control end of the target device, the second location information of the holder of the target device, and the historical location information set reported by the target device.

[0049] For example, if the target device needs to be debugged by the subordinate personnel on site before actual use; or if the target device is heavy and the moving cost is high, the accuracy of the second location information of the holder of the target device is relatively high. In this case, the trusted location information is the second location information, and the validity of the current location information can be verified based on the preset verification rules according to the first location information of the control terminal of the target device, the second location information of the holder of the target device, and the third location information of the interactive device of the target device.

[0050] It is understandable that at different usage stages of the target device, different trusted location information is selected to verify the current location information of the target device, and multiple verification methods are provided for the correction of the location information of the target device, which can further ensure the validity of the current location information, thereby providing a guarantee for the subsequent determination of the target location information of the target device.

[0051] Embodiment 2

[0052] Figure 2This is a flow chart of a method for determining the location information of a device provided in accordance with the second embodiment of the present invention. Based on the above embodiment, this embodiment further optimizes "verifying the validity of the current location information according to the first location information of the control terminal of the target device, the second location information of the holder of the target device, and the historical location information set reported by the target device", and further optimizes "determining the target location information of the target device according to the verification result", and provides an optional implementation scheme. Figure 2 As shown, the method for determining the location information of a device in this embodiment may include:

[0053] S210: Obtain current location information reported by the target device.

[0054] Among them, the current location information is determined based on the IP address of the target device.

[0055] S220: Select trusted location information from the first location information of the control terminal of the target device and the second location information of the holder of the target device.

[0056] S230: If the trusted location information is the first location information, verify the validity of the current location information according to the first location information of the control terminal of the target device, the second location information of the holder of the target device, and the historical location information set reported by the target device.

[0057] Optionally, determine a first error between the current location information and the second location information of the holder of the target device; if the first error is less than or equal to a first threshold, determine that the current location information is valid; if the first error is greater than the first threshold, verify the validity of the current location information based on the historical location information set reported by the target device, or the first location information of the control end of the target device.

[0058] Specifically, the difference between the current location information and the second location information of the holder of the target device, or the square of the difference, can be calculated as the first error between the current location information and the second location information; if the first error is less than or equal to the first threshold, the current location information is determined to be valid. If the first error is greater than the first threshold, the validity of the current location information can be further verified based on the historical location information set reported by the target device, or the first location information of the control terminal of the target device. Among them, the first threshold can be determined by a person skilled in the art according to actual conditions.

[0059] It can be understood that when the trusted location information is the second location information of the target device holder, the current location information of the target device is verified with the help of the historical location information of the target device or the first location information of the control end of the target device, further providing multiple methods for verifying the current location information.

[0060] In one possible implementation, the validity of the current location information may be verified based on the historical location information set reported by the target device by determining a second error between the current location information and the historical location information in the historical location information set; based on the second error, determining a mean error between the current location information and the historical location information set; and if the mean error is less than or equal to a first threshold, determining that the current location information is valid.

[0061] Specifically, for each location information in the historical location information set, the difference between the location information and the current location information, or the square of the difference, is calculated as the second error between the location information and the current location information, and then the mean of the second errors between the current location information and each location information in the historical location information set is determined to obtain the mean error between the current location information and the historical location information set. Furthermore, if the mean error is less than or equal to the first threshold, the current location information is determined to be valid, otherwise, the current location information is determined to be invalid.

[0062] It is understandable that a method is provided to verify the validity of the current location information based on the historical location information set, that is, the current location information can also be verified when only the second location information of the holder of the target device and the historical location information set of the target device are obtained.

[0063] In another possible implementation, the validity of the current location information may be verified based on the first location information of the control end of the target device by determining a third error between the current location information and the first location information of the control end of the target device; if the third error is less than or equal to the first threshold, the current location information is determined to be valid; if the third error is greater than the first threshold, the current location information is determined to be invalid.

[0064] Specifically, the difference between the current location information and the first location information of the control terminal of the target device, or the square of the difference, can be calculated as the third error between the current location information and the first location information. If the third error is less than or equal to the first threshold, the current location information is determined to be valid; if the third error is greater than the first threshold, the current location information is determined to be invalid.

[0065] It can be understood that a method is provided to verify the validity of the current location information based on the historical location information set, that is, the current location information can be verified when only the location information of the holder of the target device and the location information of the control end of the target device are obtained.

[0066] It should be noted that the method of calculating the error in this embodiment only provides one or two examples, and other calculation methods for determining the error may also be selected, which are not specifically limited in this implementation.

[0067] S240: Determine the target location information of the target device according to the verification result.

[0068] Specifically, if the verification result shows that the current location information is valid, the current location information is used as the target location information of the target device; if the verification result shows that the current location information is invalid, the fourth error between the first location information of the control end of the target device and the second location information of the holder of the target device is determined; if the fourth error is less than or equal to the second threshold, the first location information of the control end of the target device is used as the target location information of the target device. The second threshold can be set by a person skilled in the art according to the actual situation.

[0069] For example, the difference or the square of the difference between the first position information of the control end of the target device and the second position information of the holder of the target device can be used as the fourth error between the first position information and the second position information. If the fourth error is less than or equal to the second threshold, the first position information of the control end of the target device is used as the target position information of the target device. If the fourth error is less than or equal to the second threshold, the first position information of the control end of the target device is used as the target position information of the target device. If the fourth error is greater than the second threshold, the target position information of the target device in this cycle cannot be determined, and the acquisition of the current position information of the next cycle is awaited.

[0070] It is understandable that when the verification result is that the current location information is invalid, the first location information of the control end of the target device can be used to determine the location information of the target device based on a certain logic, so that when the location information reported by the target device is invalid, the location information of the target device can still be accurately determined.

[0071] The technical solution of the embodiment of the present invention obtains the current location information reported by the target device, then selects the trusted location information from the first location information of the control end of the target device and the second location information of the holder of the target device, and then verifies the validity of the current location information according to the first location information of the control end of the target device, the second location information of the holder of the target device and the historical location information set reported by the target device, and determines the target location information of the target device according to the verification result. The above technical solution verifies the current location information of the target device with the help of auxiliary location information, and assists in determining the target location information of the target device, which can improve the accuracy of determining the location information of the target device.

[0072] Embodiment 3

[0073] Figure 3This is a flow chart of a method for determining the location information of a device provided in accordance with the third embodiment of the present invention. Based on the above embodiment, this embodiment further optimizes "verifying the validity of the current location information by the first location information of the control terminal of the target device, the second location information of the holder of the target device, and the third location information of the interactive device of the target device", and further optimizes "determining the target location information of the target device according to the verification result", and provides an optional implementation scheme. Figure 3 As shown, the method for determining the location information of a device in this embodiment may include:

[0074] S310: Obtain current location information reported by the target device.

[0075] Among them, the current location information is determined based on the IP address of the target device.

[0076] S320: Select trusted location information from the first location information of the control terminal of the target device and the second location information of the holder of the target device.

[0077] S330: If the trusted location information is the second location information, verify the validity of the current location information according to the first location information of the control terminal of the target device, the second location information of the holder of the target device, and the third location information of the interactive device of the target device.

[0078] Optionally, a third error between the current location information and the first location information of the control terminal of the target device is determined; if the third error is less than or equal to a third threshold, the current location information is determined to be valid; if the third error is greater than the third threshold, the validity of the current location information is verified based on the second location information of the holder of the target device and the third location information of the interactive device of the target device. The third threshold can be set by those skilled in the art according to actual conditions.

[0079] Specifically, the difference between the current location information and the first location information of the control end of the target device, or the square of the difference, can be calculated as the third error between the current location information and the first location information. If the third error is less than or equal to the third threshold, the current location information is determined to be valid. If the third error is greater than the third threshold, the validity of the current location information can be further verified based on the second location information of the holder of the target device and the third location information of the interactive device of the target device.

[0080] It can be understood that when the trusted location information is, the current location information of the target device is verified with the help of the second location information of the holder of the target device and the third location information of the interactive device of the target device, further providing multiple methods for verifying the current location information.

[0081] In an optional embodiment, the validity of the current location information may be verified based on the second location information of the holder of the target device and the third location information of the interactive device of the target device, by determining a first error between the current location information and the second location information of the holder of the target device, and a fifth error between the current location information and the third location information of the interactive device of the target device; if the first error is less than or equal to the third threshold, and the first error is less than or equal to the third threshold, then the current location information is determined to be valid; if either the first error or the fifth error is greater than the third threshold, then the current location information is determined to be invalid.

[0082] Specifically, a first error between the current location information and the second location information of the holder of the target device, and a fifth error between the current location information and the third location information of the interactive device of the target device are calculated. For example, the difference between the current location information and the third location information of the interactive device of the target device, or the square of the difference, is calculated as the fifth error between the current location information and the third location information. If the first error is less than or equal to the third threshold, and the first error is less than or equal to the third threshold, the current location information is determined to be valid; if either the first error or the fifth error is greater than the third threshold, the current location information is determined to be invalid.

[0083] It can be understood that a method is provided to verify the validity of the current location information based on the second location information of the holder of the target device and the third location information of the interactive device of the target device.

[0084] S340: Determine the target location information of the target device according to the verification result.

[0085] Specifically, if the verification result shows that the current location information is valid, the current location information is used as the target location information of the target device; if the verification result shows that the current location information is invalid, the fourth error between the first location information of the control end of the target device and the second location information of the holder of the target device, and the sixth error between the first location information of the control end of the target device and the third location information of the interactive device of the target device are determined; if the fourth error is less than or equal to the third threshold, and / or the sixth error is less than or equal to the third threshold, the first location information of the control end of the target device is used as the target location information of the target device. Otherwise, the target location information of the target device of this cycle cannot be determined, and the acquisition of the current location information of the next cycle is awaited.

[0086] It can be understood that when the verification result is that the current location information is invalid, the location information of the target device can be determined based on a certain logic using the first location information of the control end of the target device and the third location information of the interactive information of the target device, so that when the location information reported by the target device is invalid, the location information of the target device can still be accurately determined.

[0087] The technical solution of the embodiment of the present invention obtains the current location information reported by the target device, then selects the trusted location information from the first location information of the control terminal of the target device and the second location information of the holder of the target device, and then verifies the validity of the current location information according to the first location information of the control terminal of the target device, the second location information of the holder of the target device and the third location information of the interactive device of the target device, and determines the target location information of the target device according to the verification result. The above technical solution verifies the current location information of the target device with the help of auxiliary location information, and assists in determining the target location information of the target device, which can improve the accuracy of determining the location information of the target device.

[0088] Embodiment 4

[0089] Figure 4 : is a schematic diagram of the structure of a device location information determination device provided according to the fourth embodiment of the present invention. This embodiment of the present invention can be applied to the situation of how to determine the location information of a device, and is particularly applicable to the situation of how to determine the location information of a device when a high-precision positioning chip is not configured in the device. The device location information determination device can be implemented in the form of hardware and / or software, and can be integrated into an electronic device that carries the device location information determination function. Figure 4 As shown, the device for determining the location information of the device in this embodiment may include:

[0090] The current location information acquisition module 410 is used to acquire the current location information reported by the target device; wherein the current location information is determined based on the IP address of the target device;

[0091] The validity verification module 420 is used to verify the validity of the current location information according to the auxiliary location information of the target device;

[0092] The target location information determination module 430 is used to determine the target location information of the target device according to the verification result.

[0093] The technical solution of the embodiment of the present invention obtains the current location information reported by the target device, and then verifies the validity of the current location information according to the auxiliary location information of the target device, and then determines the target location information of the target device according to the verification result. In the above technical solution, when the target device is not equipped with a high-precision positioning chip, the location information of the target device can be verified with the help of the auxiliary location information, so that the location information of the target device can be accurately determined.

[0094] Optionally, the auxiliary location information of the target device includes first location information of a control terminal of the target device, second location information of a holder of the target device, third location information of an interactive device of the target device, and at least one item in a set of historical location information reported by the target device.

[0095] Optionally, the validity verification module 420 includes:

[0096] A trusted location information selection unit, configured to select trusted location information from first location information of a control terminal of a target device and second location information of a holder of the target device;

[0097] A first validity verification unit, configured to verify the validity of the current location information according to the first location information of the control terminal of the target device, the second location information of the holder of the target device, and the historical location information set reported by the target device if the trusted location information is the first location information;

[0098] The second validity verification unit is used to verify the validity of the current location information according to the first location information of the control terminal of the target device, the second location information of the holder of the target device and the third location information of the interactive device of the target device if the trusted location information is the second location information.

[0099] Optionally, the first validity checking unit includes:

[0100] A first error determination subunit, configured to determine a first error between the current location information and second location information of a holder of the target device;

[0101] A first validity check subunit, configured to determine that the current location information is valid if the first error is less than or equal to a first threshold;

[0102] If the first error is greater than the first threshold, the validity of the current location information is verified according to the historical location information set reported by the target device or the first location information of the control terminal of the target device.

[0103] Optionally, the first validity checking subunit is specifically used for:

[0104] determining a second error between the current position information and the historical position information in the historical position information set;

[0105] Determine a mean error between the current location information and the historical location information set based on the second error;

[0106] If the mean error is less than or equal to the first threshold, it is determined that the current location information is valid.

[0107] Optionally, the first validity checking subunit is specifically used for:

[0108] determining a third error between the current position information and the first position information of the control terminal of the target device;

[0109] If the third error is less than or equal to the first threshold, determining that the current location information is valid;

[0110] If the third error is greater than the first threshold, it is determined that the current position information is invalid.

[0111] Optionally, the target location information determination module 430 is specifically used to:

[0112] If the verification result shows that the current location information is valid, the current location information is used as the target location information of the target device;

[0113] If the verification result is that the current location information is invalid, determining a fourth error between the first location information of the control terminal of the target device and the second location information of the holder of the target device;

[0114] If the fourth error is less than or equal to the second threshold, the first position information of the control terminal of the target device is used as the target position information of the target device.

[0115] Optionally, the second validity checking unit includes:

[0116] A third error determination unit, used to determine a third error between the current position information and the first position information of the control terminal of the target device;

[0117] a second validity check subunit, configured to determine that the current location information is valid if the third error is less than or equal to a third threshold;

[0118] If the third error is greater than the third threshold, the validity of the current location information is verified according to the second location information of the holder of the target device and the third location information of the interactive device of the target device.

[0119] Optionally, the second validity check subunit is specifically used for:

[0120] Determine a first error between the current location information and second location information of a holder of the target device, and a fifth error between the current location information and third location information of an interactive device of the target device;

[0121] If the first error is less than or equal to the third threshold, and the third error is less than or equal to the third threshold, then determining that the current location information is valid;

[0122] If any one of the first error and the fifth error is greater than the third threshold, it is determined that the current position information is invalid.

[0123] Optionally, the target location information determination module 430 is specifically used to:

[0124] If the verification result shows that the current location information is valid, the current location information is used as the target location information of the target device;

[0125] If the verification result is that the current location information is invalid, determining a fourth error between the first location information of the control terminal of the target device and the second location information of the holder of the target device, and a sixth error between the first location information of the control terminal of the target device and the third location information of the interactive device of the target device;

[0126] If the fourth error is less than or equal to the third threshold, and / or the sixth error is less than or equal to the third threshold, the first position information of the control terminal of the target device is used as the target position information of the target device.

[0127] The device for determining the location information of a device provided in the embodiment of the present invention can execute the method for determining the location information of a device provided in any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method.

[0128] In the technical solution of the present invention, the collection, storage, use, processing, transmission, provision and disclosure of various location information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0129] Embodiment 5

[0130] Figure 5 is a structural diagram of an electronic device for implementing a method for determining location information of a device according to an embodiment of the present invention, Figure 5A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0131] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0132] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0133] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for determining the location information of a device.

[0134] In some embodiments, the location information determination method of the device may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the location information determination method of the device described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the location information determination method of the device in any other appropriate manner (e.g., by means of firmware).

[0135] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0136] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0137] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0138] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0139] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0140] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0141] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0142] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for determining location information of a device, characterized in that: include: Obtaining current location information reported by the target device; wherein the current location information is determined based on the IP address of the target device; Verify the validity of the current location information according to the auxiliary location information of the target device; wherein the auxiliary location information of the target device includes the first location information of the control terminal of the target device, the second location information of the holder of the target device, the third location information of the interactive device of the target device, and at least one item of the historical location information set reported by the target device; Determining target location information of the target device according to the verification result; The verifying the validity of the current location information according to the auxiliary location information of the target device includes: Selecting trusted location information from the first location information of the control terminal of the target device and the second location information of the holder of the target device; If the trusted location information is the first location information, verifying the validity of the current location information according to the first location information of the control terminal of the target device, the second location information of the holder of the target device, and the historical location information set reported by the target device; If the trusted location information is the second location information, the validity of the current location information is verified according to the first location information of the control terminal of the target device, the second location information of the holder of the target device and the third location information of the interactive device of the target device.

2. The method according to claim 1, characterized in that The second location information of the holder of the target device is determined in the following manner: Extracting delivery address information from the transaction contract information associated with the target device, parsing the delivery address information into longitude and latitude information, and using the longitude and latitude information as second location information of the holder of the target device; or, The door-to-door service address deployed on the target device is resolved into longitude and latitude information, and the longitude and latitude information is used as the second location information of the holder of the target device.

3. The method according to claim 1, characterized in that The verifying the validity of the current location information according to the first location information of the control terminal of the target device, the second location information of the holder of the target device and the historical location information set reported by the target device includes: Determine a first error between the current location information and second location information of a holder of the target device; If the first error is less than or equal to a first threshold, determining that the current location information is valid; If the first error is greater than the first threshold, the validity of the current location information is verified according to the historical location information set reported by the target device or the first location information of the control terminal of the target device.

4. The method according to claim 3, characterized in that The verifying the validity of the current location information according to the historical location information set reported by the target device includes: Determine a second error between the current location information and the historical location information in the historical location information set; determining a mean error between the current location information and the historical location information set according to the second error; If the mean error is less than or equal to the first threshold, it is determined that the current location information is valid.

5. The method according to claim 3, characterized in that: The verifying the validity of the current location information according to the first location information of the control terminal of the target device includes: Determining a third error between the current position information and the first position information of the control terminal of the target device; If the third error is less than or equal to the first threshold, determining that the current location information is valid; If the third error is greater than the first threshold, it is determined that the current location information is invalid.

6. The method according to claim 5, characterized in that Determining the target location information of the target device according to the verification result includes: If the verification result shows that the current location information is valid, using the current location information as the target location information of the target device; If the verification result is that the current location information is invalid, determining a fourth error between the first location information of the control terminal of the target device and the second location information of the holder of the target device; If the fourth error is less than or equal to the second threshold, the first position information of the control terminal of the target device is used as the target position information of the target device.

7. The method according to claim 1, characterized in that The verifying the validity of the current location information according to the first location information of the control terminal of the target device, the second location information of the holder of the target device, and the third location information of the interactive device of the target device includes: Determining a third error between the current position information and the first position information of the control terminal of the target device; If the third error is less than or equal to a third threshold, determining that the current location information is valid; If the third error is greater than the third threshold, the validity of the current location information is verified according to the second location information of the holder of the target device and the third location information of the interactive device of the target device.

8. The method according to claim 7, characterized in that The verifying the validity of the current location information according to the second location information of the holder of the target device and the third location information of the interactive device of the target device includes: Determine a first error between the current location information and second location information of a holder of the target device, and a fifth error between the current location information and third location information of an interactive device of the target device; If the first error is less than or equal to the third threshold, and the third error is less than or equal to the third threshold, determining that the current location information is valid; If any one of the first error and the fifth error is greater than the third threshold, it is determined that the current location information is invalid.

9. The method according to claim 8, characterized in that Determining the target location information of the target device according to the verification result includes: If the verification result shows that the current location information is valid, using the current location information as the target location information of the target device; If the verification result is that the current location information is invalid, determining a fourth error between the first location information of the control terminal of the target device and the second location information of the holder of the target device, and a sixth error between the first location information of the control terminal of the target device and the third location information of the interactive device of the target device; If the fourth error is less than or equal to the third threshold, and / or the sixth error is less than or equal to the third threshold, the first position information of the control terminal of the target device is used as the target position information of the target device.

10. A device for determining location information of a device, characterized in that: include: A current location information acquisition module, used to acquire the current location information reported by the target device; wherein the current location information is determined based on the IP address of the target device; A validity verification module, configured to verify the validity of the current location information according to the auxiliary location information of the target device; wherein the auxiliary location information of the target device includes the first location information of the control terminal of the target device, the second location information of the holder of the target device, the third location information of the interactive device of the target device, and at least one item of the historical location information set reported by the target device; A target location information determination module, used to determine the target location information of the target device according to the verification result; Wherein, the validity verification module includes: A trusted location information selection unit, configured to select trusted location information from the first location information of the control terminal of the target device and the second location information of the holder of the target device; A first validity verification unit, configured to verify the validity of the current location information according to the first location information of the control terminal of the target device, the second location information of the holder of the target device, and the historical location information set reported by the target device if the trusted location information is the first location information; The second validity verification unit is used to verify the validity of the current location information based on the first location information of the control end of the target device, the second location information of the holder of the target device and the third location information of the interactive device of the target device if the trusted location information is the second location information.

11. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the method for determining location information of a device according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining location information of a device according to any one of claims 1 to 9 when executed.

Citation Information

Patent Citations

  • Positioning method and device, positioning equipment and computer readable storage medium

    CN110809232A

  • Position correction method, device and equipment and computer readable storage medium

    CN113203376A

  • Position validity verification method and device, equipment and medium

    CN113624224A

  • Position guiding method and device, robot and storage medium

    CN114407024A

  • Fine-grained location determination of networked computers

    US20110179158A1