Positioning tamper-proofing method and device, equipment and storage medium

Through the combination of multi-location source data fusion and NFC tags, the problem of existing positioning technology being susceptible to interference and tampering is solved, high-precision and reliable positioning information transmission is achieved, and the authenticity and effectiveness of patrol tasks are ensured.

CN119150900AInactive Publication Date: 2024-12-17WUXI BOTON IOT TECH CO LTD

Patent Information

Application Number
CN202411172613.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing positioning technology is susceptible to interference and tampering, especially in urban environments and indoor environments with high-rise buildings, it is difficult for a single positioning source to provide high-precision and reliable positioning information, affecting the authenticity and effectiveness of inspection tasks.

Method used

Using the multi-location source data fusion method, combined with the NFC tag, the GPS, WIFI, cellular network and Bluetooth beacon data of the handheld device is obtained, and the weighted average algorithm is used to fuse and encrypt the NFC tag data to generate patrol positioning data and compare the To prevent tampering.

Benefits of technology

It improves the accuracy and security of positioning data, reduces manual operations, simplifies the verification process, enhances the reliability and efficiency of inspection tasks, and prevents malicious tampering of positioning information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119150900A_ABST
    Figure CN119150900A_ABST
Patent Text Reader

Abstract

The invention relates to a positioning tamper-proofing method, device and equipment and a storage medium, and is applied to the technical field of positioning, and the method comprises the steps: obtaining the latitude and longitude information of an inspection point and the number of the inspection point, and inputting the latitude and longitude information of the inspection point and the number of the inspection point into an NFC tag; acquiring various positioning source data of the position of the handheld device; performing data fusion and encryption on the multiple positioning source data and the data of the NFC label according to a preset weight to generate inspection positioning data; and obtaining routing inspection result positioning information, comparing the routing inspection result positioning information with the routing inspection positioning data, and obtaining a positioning tampering result. The method has the technical effects that the accuracy of the positioning data is improved, and the positioning information is prevented from being tampered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of positioning technology, and in particular to a positioning anti-tampering method, device, equipment and storage medium. Background Art

[0002] Existing inspection tasks usually rely on a single positioning source, such as GPS, WIFI, etc. However, a single positioning source is susceptible to various interferences or tampering, resulting in inaccurate positioning information and affecting the reliability of inspection tasks. For example, GPS signals may be affected by reflections and occlusions in urban environments with tall buildings, resulting in large positioning errors. In indoor environments, GPS signals may be completely lost. Although WIFI positioning has certain advantages in indoor environments, it is limited by the number and distribution of WIFI hotspots and also has inaccurate problems. Cellular network positioning and Bluetooth beacon positioning also have the problem of low positioning accuracy. Cellular networks and Bluetooth beacons are difficult to meet the needs of high-precision positioning when used alone.

[0003] In order to improve positioning accuracy and reliability, existing technical solutions have proposed a method of fusing multiple positioning sources. However, the data fusion process of multiple positioning sources is complicated and susceptible to tampering, especially in inspection tasks, where positioning information may be maliciously tampered with, which directly affects the authenticity and effectiveness of the inspection tasks. Summary of the invention

[0004] In order to help solve the problem that positioning information may be maliciously tampered with, thereby directly affecting the authenticity and effectiveness of inspection tasks, the present application provides a positioning anti-tampering method, device, equipment and storage medium.

[0005] In a first aspect, the present application provides a positioning and anti-tampering method, which adopts the following technical solution: the method is applied to a positioning and anti-tampering system, the positioning and anti-tampering system includes a handheld device and an NFC tag, the NFC tag is fixed at a patrol point, and the method includes:

[0006] Obtaining the latitude and longitude information and the inspection point number of the inspection point, and entering the latitude and longitude information and the inspection point number into the NFC tag;

[0007] Acquire multiple positioning source data of the location of the handheld device;

[0008] According to preset weights, the multiple positioning source data and the data of the NFC tag are fused and encrypted to generate inspection positioning data;

[0009] Obtain inspection result positioning information, compare the inspection result positioning information with the inspection positioning data, and obtain the positioning tampering result.

[0010] In a specific implementation scheme, the acquisition of multiple positioning source data of the location of the handheld device includes:

[0011] Obtaining GPS positioning longitude and latitude data of the location of the handheld device;

[0012] Calculate the WIFI positioning data of the location of the handheld device according to the signal strength of the access point of the nearby WIFI that the handheld device is connected to;

[0013] Calculate the cellular network positioning data of the location of the handheld device according to the signal strength of the base station near the handheld device;

[0014] The handheld device is controlled to receive a Bluetooth beacon signal near the handheld device, and Bluetooth positioning data of the location of the handheld device is calculated according to the strength of the Bluetooth beacon signal.

[0015] In a specific implementation scheme, the multiple positioning source data include at least one of the GPS positioning longitude and latitude data, the WIFI positioning data, the cellular network positioning data and the Bluetooth positioning data.

[0016] In a specific implementation scheme, the fusion and encryption of the plurality of positioning source data and the data of the NFC tag according to preset weights to generate inspection positioning data includes:

[0017] According to preset weights, a weighted average algorithm is used to fuse the multiple positioning source data with the latitude and longitude information of the inspection point in the NFC tag to generate fused positioning data;

[0018] Splicing the fused positioning data with the data of the NFC tag to generate combined positioning data;

[0019] The inspection positioning data is generated by encrypting the combined positioning data using an encryption algorithm.

[0020] In a specific implementation scheme, the weighted average algorithm is used to fuse the multiple positioning source data with the latitude and longitude information of the inspection point in the NFC tag according to the preset weights to generate the fused positioning data, which includes:

[0021] lat fused =W GPS lat GPS +W WIFI lat WIFI +W CELL lat CELL +W BLE lat BLE +W NFC latNFC

[0022] lon fused =W GPS ·lon GPS +W WIFI ·lo WIFI +W CELL ·lon CELL +W BLE ·lon BLE +W NFC ·lon NFC

[0023] Among them, lat fused Indicates the latitude of the fused positioning data, lon fused represents the longitude of the fused positioning data, W GPS Indicates the weight of the GPS positioning latitude and longitude data, lat GPS Indicates the latitude of the GPS positioning longitude and latitude data, lon GPS represents the longitude of the GPS positioning longitude and latitude data, W WIFI Indicates the weight of the WIFI positioning data, lat WIFI Indicates the latitude of the WIFI positioning data, lon WIFI Indicates the longitude of the WIFI positioning data, W CELL Indicates the weight of the cellular network positioning data, lat CELL Indicates the latitude of the cellular network positioning data, lon CELL represents the longitude of the cellular network positioning data, W BLS Indicates the weight of the Bluetooth positioning data, lat BLE Indicates the latitude of the Bluetooth positioning data, lon BLE represents the longitude of the Bluetooth positioning data, W NFC Indicates the weight of the NFC tag data, lat NFC Indicates the latitude of the NFC tag data, lon NFC The data representing the longitude of the NFC tag.

[0024] In a specific possible implementation scheme, comparing the inspection result positioning information with the inspection positioning data and obtaining the positioning tampering result includes:

[0025] The inspection result positioning information is combined with the data of the NFC tag to generate inspection result combined positioning data;

[0026] Encrypting the inspection result combined positioning data to generate inspection result encrypted positioning data;

[0027] Comparing the inspection result encrypted positioning data with the inspection positioning data;

[0028] If the inspection result encrypted positioning data is consistent with the inspection positioning data, the inspection result positioning information has not been tampered with;

[0029] If the inspection result encrypted positioning data is inconsistent with the inspection positioning data, the inspection result positioning information is tampered with.

[0030] In a specific possible implementation scheme, after comparing the inspection result positioning information with the inspection positioning data and obtaining the positioning tampering result, the method further includes:

[0031] Determine whether the inspection result positioning information is within a preset range of the positioning data of the NFC tag;

[0032] If the inspection result positioning information is not within the preset range of the positioning data of the NFC tag, a warning is issued.

[0033] In a second aspect, the present application provides a positioning and anti-tampering device, which adopts the following technical solution: the device is applied to a positioning and anti-tampering system, the positioning and anti-tampering system includes a handheld device and an NFC tag, the NFC tag is fixed at a patrol point, and the device includes:

[0034] A tag data entry module, used to obtain the latitude and longitude information of the inspection point and the inspection point number, and enter the latitude and longitude information of the inspection point and the inspection point number into the NFC tag;

[0035] A multi-source data acquisition module, used to acquire multiple positioning source data of the location of the handheld device;

[0036] A positioning data fusion module, used to fuse and encrypt the multiple positioning source data with the data of the NFC tag according to preset weights to generate inspection positioning data;

[0037] The positioning tampering judgment module is used to obtain the inspection result positioning information, compare the inspection result positioning information with the inspection positioning data, and obtain the positioning tampering result.

[0038] In a third aspect, the present application provides a computer device, which adopts the following technical solution: it includes a memory and a processor, and the memory stores a computer program that can be loaded by the processor and execute any one of the above-mentioned positioning and anti-tampering methods.

[0039] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution: storing a computer program that can be loaded by a processor and execute any of the above-mentioned positioning and anti-tampering methods.

[0040] In summary, this application has the following beneficial technical effects:

[0041] 1. Multiple positioning source data are used and integrated to improve the accuracy of positioning data. The weight setting can be flexibly set according to the environmental conditions and actual needs, so that it can adapt to different or complex environments; encryption algorithms are used to ensure the security of data transmission and storage. In addition, multiple verifications are used to prevent positioning information from being tampered with, improve the security of positioning data, and avoid positioning information from being tampered with during inspection tasks as much as possible.

[0042] 2. Combined with NFC card information and encrypted positioning data, data tampering can be prevented; the location of patrol personnel can be quickly verified through NFC reading equipment, simplifying the verification process and facilitating verification; combined with NFC technology, manual operations can be reduced and inspection efficiency can be improved;

[0043] 3. The entire solution does not require complex hardware. It only requires the installation of NFC tags and the integration of multiple positioning source devices, which is easy to deploy. In addition, it can be applied to logistics tracking, asset management, personnel positioning and other scenarios, and has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a flow chart of a positioning and anti-tampering method in an embodiment of the present application;

[0045] Figure 2 is a schematic diagram of a positioning anti-tampering device in an embodiment of the present application;

[0046] Figure 3 It is a schematic diagram used to embody a computer device in an embodiment of the present application.

[0047] Reference numerals: 201, label data entry module; 202, multi-source data acquisition module; 203, positioning data fusion module; 204, positioning tampering judgment module. DETAILED DESCRIPTION

[0048] The following combination Figure 1-Figure 3 This application is described in further detail.

[0049] The embodiment of the present application discloses a positioning anti-tampering method, which is applied to a positioning anti-tampering system; the positioning anti-tampering method can be applied to the inspection scene to verify the reliability of the inspection results of the inspectors. During the inspection process, the inspectors will detect the inspection points, which can usually be fixed equipment. The fixed equipment at the inspection point usually has a unique equipment number to distinguish and identify the fixed equipment. In general, the normal inspection process requires the inspectors to arrive at the location of the fixed equipment to detect the equipment. However, the inspectors or other irrelevant personnel may tamper with the results of the inspection task. For example, the inspectors are not at the site of the fixed equipment. When uploading the inspection results, the actual location of the inspectors' inspection is tampered, resulting in the inspection results uploaded to the server being untrue, or other irrelevant personnel maliciously tampering with the inspection task results, thereby affecting the authenticity and effectiveness of the inspection task. In addition, this solution can also be applied to other scenarios such as logistics tracking, asset management, and personnel positioning other than inspection tasks.

[0050] Existing inspection tasks usually rely on a single positioning source, such as GPS, WIFI, etc. However, a single positioning source is susceptible to various interferences or tampering, resulting in inaccurate positioning information and affecting the reliability of inspection tasks. For example, GPS signals may be affected by reflections and occlusions in urban environments with tall buildings, resulting in large positioning errors. In indoor environments, GPS signals may be completely lost. Although WIFI positioning has certain advantages in indoor environments, it is limited by the number and distribution of WIFI hotspots and also has inaccurate problems. Cellular network positioning and Bluetooth beacon positioning also have the problem of low positioning accuracy. Cellular networks and Bluetooth beacons are difficult to meet the needs of high-precision positioning when used alone.

[0051] In order to improve positioning accuracy and reliability, the existing technical solution proposes a method of fusing multiple positioning sources. However, the data fusion process of multiple positioning sources is complicated and susceptible to tampering. Especially in inspection tasks, positioning information may be maliciously tampered with, which directly affects the authenticity and effectiveness of the inspection tasks. In order to help prevent positioning information from being tampered with, thereby improving the authenticity and effectiveness of inspection tasks, the present application provides a positioning anti-tampering method.

[0052] Reference Figure 1 , the method comprises the following steps:

[0053] S10, obtaining the latitude and longitude information and the inspection point number of the inspection point, and entering the latitude and longitude information and the inspection point number of the inspection point into the NFC tag.

[0054] Specifically, before the inspection task begins, the user can set an NFC tag for each inspection point in advance. The user obtains the location of each inspection point in advance and sets a unique number for the inspection point. The location of the inspection point mainly includes the latitude and longitude information of the inspection point; the user transmits the unique number set in advance and the latitude and longitude information of the inspection point obtained to the system. The specific system may include a background server and a front-end handheld device. The user can transmit the unique number of the inspection point and the latitude and longitude information of the inspection point to the background server for storage in advance. The background server enters the stored unique number of the inspection point and the latitude and longitude information of the inspection point into the NFC tag of each inspection point through some existing data transmission or data communication methods. Among them, the two parts of data entered into the NFC tag are mainly the unique number and the longitude and latitude information. The unique number means that each inspection point has a unique identifier, which is mainly used to distinguish different inspection points. The longitude and latitude information mainly refers to the fixed position of the tag, which can also be understood as the fixed position of the inspection point. The data structure of the tag can be customized by the user, which is not limited here. In the embodiment of this application, for example: tag ID: tag_id, longitude: latitude, latitude: longitude, or other data entry formats. Among them, the inspection point in the embodiment of the present application mainly refers to fixed equipment. Large equipment is generally fixed at a certain location and will not be easily moved. Therefore, the location of the NFC tag should be set to a fixed location. Inspection personnel need to detect some equipment at fixed locations, and the unique number of the inspection point set by the user in advance can be understood as the unique number of the equipment, for example, it can be XX equipment 001. The equipment location is fixed, and the inspection point number and inspection point latitude and longitude information in the background server and NFC tag are fixed.

[0055] S20, obtaining multiple positioning source data of the location of the handheld device.

[0056] Specifically, during the inspection task, the inspection personnel will use the designated handheld device to transmit the inspection results to the backend server. The backend server obtains the results of all inspection tasks to facilitate unified management of all inspection tasks. In order to effectively prevent the inspection personnel or other personnel from tampering with the positioning data, and to avoid the problem of inaccurate positioning of a single positioning source as much as possible, the current position of the current handheld device is improved by collecting data from multiple positioning sources for comprehensive positioning, so as to ensure the accuracy of the current position of the handheld device. The handheld device can be a terminal device such as a mobile phone or a PDA. These terminal devices are equipped with a positioning module. The multiple positioning source data of the location of the handheld device can be directly obtained through the positioning module of the handheld device. The handheld device transmits the obtained multiple positioning source data to the backend server. It should be noted that the multiple positioning source data obtained by the handheld device is real data, and it is generally difficult for users to tamper with the positioning information in the multiple positioning source data. The multiple positioning source data can be one or more of GPS positioning data, WIFI positioning data, cellular network positioning data, and Bluetooth positioning data. The specific selection can be based on the actual environment of the handheld device.

[0057] S30, fusing and encrypting the data of various positioning sources with the data of the NFC tag according to preset weights to generate patrol positioning data.

[0058] Specifically, the various positioning source data include one or more of GPS positioning data, WIFI positioning data, cellular network positioning data and Bluetooth positioning data. A weight is set in advance for each of the various positioning source data, and the sum of all weights is 1. Then, a weighted average method is used to fuse the data from multiple positioning sources, and the fused data is encrypted to ensure the security of data transmission and storage.

[0059] It should be noted that in the embodiments of the present application, the handheld device used in the positioning anti-tampering method is generally a designated device, which can also be understood as the handheld device used contains designated software, and the designated software is used to transmit the results of the inspection task. When uploading the results of the inspection task, relevant positioning information needs to be input, and the input positioning information is signed by the designated software and then transmitted to the server. The server can verify the authenticity of the information according to the pre-set signature method, and whether the designated device is used to perform the inspection task, so as to achieve the purpose of anti-tampering of the positioning information. If other devices or web pages are used to transmit the inspection results to the server, since other devices do not set the signature method, the background server-side inspection fails, and the system can remind the user that data tampering may occur and verification is required.

[0060] S40, obtaining inspection result positioning information, comparing the inspection result positioning information with the inspection positioning data, and obtaining the positioning tampering result.

[0061] Specifically, the inspection result positioning information is obtained. The inspection result positioning information can also be understood as the inspection personnel or other relevant personnel transmitting the inspection result positioning information to the background server. The background server compares the obtained inspection result positioning information with the accurate inspection positioning data collected by the handheld device to obtain the final positioning tampering result, thereby preventing tampering of the positioning data.

[0062] In some cases, the uploaded positioning data may be modified directly through the server to make the false location of the handheld device consistent with the on-site location of the inspection equipment to achieve positioning tampering. In order to prevent direct tampering of the data on the server side, the positioning data of the inspection results obtained by the background server side is compared with the accurate positioning data stored in the background server side in advance to prevent tampering.

[0063] In this application, multiple positioning source data are used and integrated to improve the accuracy of positioning data. The weight setting can be flexibly set according to environmental conditions and actual needs, so that it can adapt to different or complex environments; encryption algorithms are used to ensure the security of data transmission and storage. In addition, through multiple positioning source data and background verification, multiple verifications are used to achieve the purpose of anti-tampering of positioning information, improve the security of positioning data, and avoid tampering of positioning information during the execution of inspection tasks as much as possible.

[0064] In one embodiment, the step of obtaining multiple positioning source data of the location of the handheld device can be specifically performed as follows:

[0065] Obtain the GPS positioning longitude and latitude data of the location of the handheld device. The handheld device contains a GPS positioning module. The GPS positioning longitude and latitude data can be directly obtained through the GPS module in the handheld device and uploaded to the backend server. The GPS positioning data can provide high-precision positioning information in open space. Calculate the WIFI positioning data of the location of the handheld device according to the signal strength of the access point of the nearby WIFI that the handheld device connects to. Specifically, the handheld device scans the WIFI hotspots around the device and accesses the WIFI hotspot. The location of the WIFI hotspot can be obtained through existing technologies. According to the known location of the WIFI hotspot and the signal strength of the handheld device accessing the WIFI hotspot, the handheld device WIFI positioning data can be calculated through existing technologies. The WIFI positioning data has a good positioning effect in indoor environments, especially in areas with dense WIFI hotspots. Calculate the cellular network positioning data of the location of the handheld device according to the signal strength of the base station near the handheld device. The base station can also be understood as a cellular network tower. The location of the base station is a known location. According to the signal strength of the base station near the handheld device and the known location of the base station, the cellular network positioning data of the handheld device can be calculated through the existing calculation method. The base station has a wide coverage range, and the cellular network positioning data can be used both indoors and outdoors, especially in areas with weak GPS signals. Control the handheld device to receive the Bluetooth beacon signal near the handheld device, and calculate the Bluetooth positioning data of the handheld device according to the strength of the Bluetooth beacon signal. Specifically, the handheld device can scan the signals emitted by the surrounding Bluetooth beacons. The location of the Bluetooth beacon signal can generally be obtained through existing technologies. According to the strength of the Bluetooth beacon signal received by the device and the specific location of the Bluetooth beacon signal, the Bluetooth positioning data can be calculated using existing technologies. The Bluetooth positioning data provides high accuracy in small-range indoor positioning and is suitable for precise positioning of specific locations.

[0066] Among them, the multiple positioning source data include at least one of the GPS positioning longitude and latitude data, the WIFI positioning data, the cellular network positioning data and the Bluetooth positioning data. The selection of the multiple positioning data can be made according to the actual environment of the handheld device. For example, if the environment in which the handheld device is located includes GPS, WIFI, cellular network and Bluetooth, four types of positioning source data can be used. If the environment only includes GPS, only GPS positioning data is used. The specific selection can be made according to the actual situation, which has a certain flexibility.

[0067] In the present application, multiple positioning source data are used and integrated to improve the accuracy of the positioning data, wherein the positioning source can be flexibly selected according to environmental conditions and actual needs, so as to adapt to different environments or complex environments.

[0068] In one embodiment, the steps of fusing and encrypting multiple positioning source data with the data of the NFC tag according to preset weights to generate patrol positioning data may be specifically performed as follows:

[0069] First, according to the preset weights, a weighted average algorithm is used to fuse multiple positioning source data with the latitude and longitude information of the inspection point in the NFC tag to generate fused positioning data. The main purpose is to improve the accuracy of positioning, enhance data tamper-proofness and improve the overall reliability of the system. Through multi-source data fusion, more reliable and secure positioning services can be provided in different application scenarios to ensure the authenticity and integrity of positioning data. Specifically, the user can set the weights of different positioning source data in advance according to the different environments of the inspection points. For example, the GPS weight is set to 0.4, the WIFI weight is set to 0.25, the cellular network weight is set to 0.2, the Bluetooth beacon weight is set to 0.15, and the NFC weight is set to 0.1. The above weight values ​​are only for example. The specific weight values ​​can be set according to the actual situation. There is no restriction here. If there is a situation where a certain positioning source data is difficult to obtain, the weight of the difficult-to-obtain positioning source can be directly set to 0 to ensure that the sum of the set weight values ​​is 1; the method of fusing multiple positioning source data and NFC tag data using a weighted average algorithm can be expressed as:

[0070] lat fused =W GPS lat GPS +W WIFI lat WIFI +W CELL lat CELL +W BLE lat BLE +W NFC lat NFC

[0071] lon fused =W GPS ·lon GPS +W WIFI ·lon WIFI +W CELL ·lon CELL +W BLE ·lon BLE +W NFC ·lon NFC

[0072] Among them, lat fused Indicates the latitude of the fused positioning data, lon fused represents the longitude of the fused positioning data, W GPS Indicates the weight of GPS positioning latitude and longitude data, latGPS Indicates the latitude of GPS positioning longitude and latitude data, lon GPS Indicates the longitude of GPS positioning longitude and latitude data, W WIFI Indicates the weight of WIFI positioning data, lat WIFI Indicates the latitude of WIFI positioning data, lon WIFI Indicates the longitude of WIFI positioning data, W CELL Represents the weight of cellular network positioning data, lat CELL Indicates the latitude of cellular network positioning data, lan CELL Indicates the longitude of the cellular network positioning data, W BLE Indicates the weight of Bluetooth positioning data, lat BLE Indicates the latitude of Bluetooth positioning data, lon BLE Indicates the longitude of Bluetooth positioning data, W NFC Indicates the weight of the NFC tag data, lat NFC Indicates the latitude of the NFC tag data, lon NFC The data representing the longitude of the NFC tag.

[0073] Afterwards, the fusion positioning data and the NFC tag data are spliced ​​to generate combined positioning data. The data splicing method can be expressed as:

[0074] L final =(lat fused ,lon fused ,lat NFC ,lon NFC , id)

[0075] Among them, L final Indicates the combined positioning data, and id indicates the unique number in the NFC tag.

[0076] Finally, the combined positioning data is encrypted using an encryption algorithm to generate inspection positioning data. In order to ensure that the data cannot be tampered with, the final combined positioning data is encrypted. The encryption method can be directly encrypted using an existing encryption algorithm. The specific encryption method is not limited here. In this embodiment of the application, the SHA-256 hash algorithm is used as an example for explanation. The encryption method can be expressed as:

[0077] L encrypted =SHA-(L final )

[0078] L encrypted That is the final inspection and positioning data. The inspection and positioning data can be understood as the data obtained by the handheld device through the fusion and encryption of multiple positioning source data, which is the accurate positioning data of the handheld device.

[0079] In the present application, the positioning data of GPS, WIFI, cellular network and Bluetooth beacon are integrated to provide more accurate positioning information, thereby improving the accuracy of positioning; combined with NFC card information, the positioning data is encrypted to prevent data tampering.

[0080] In one embodiment, the step of comparing the inspection result location information with the inspection location data and obtaining the location tampering result may be specifically performed as follows:

[0081] First, the inspection result positioning information is spliced ​​with the data of the NFC tag to generate the inspection result combined positioning data. The inspection result positioning information can be understood as the data that the inspection personnel or other relevant personnel transmit the inspection result positioning information to the background server. It can verify whether the inspection personnel perform the inspection tasks on site at the inspection point and perform inspection operations on the equipment. Among them, the processing method of data splicing is consistent with the method of splicing the above-mentioned fusion positioning data and NFC tag data, which will not be repeated here. Afterwards, the inspection result combined positioning data is encrypted to generate inspection result encrypted positioning data, wherein the encryption algorithm is consistent with the algorithm used to encrypt the combined positioning data to generate the inspection positioning data. The encryption algorithm of the above-mentioned inspection positioning data takes the SHA-256 hash algorithm as an example, and the encryption algorithm here also adopts the SHA-256 hash algorithm; afterwards, the inspection result encrypted positioning data is compared with the inspection positioning data; if the inspection result encrypted positioning data is consistent with the inspection positioning data, the inspection result positioning information has not been tampered with; if the inspection result encrypted positioning data is inconsistent with the inspection positioning data, the inspection result positioning information has been tampered with.

[0082] It should be noted that the data verification operation on the back-end server can mainly prevent the server from tampering with the relevant parameters of the positioning data. By encrypting and comparing, the data security can be improved, and the positioning information uploaded by the inspection results can be prevented from being tampered with. After the comparison obtains a consistent result, the number of the inspection point can be further compared and confirmed. Specifically, the unique number of the inspection point in the inspection result, that is, the unique identifier of the device, and the unique identifier of the device stored in the server in advance are compared and confirmed. If the comparison is consistent, the positioning information has not been tampered with. If the comparison is inconsistent, the system can remind the user that there may be information tampering and needs to be verified and confirmed. Since NFC tags have a certain degree of flexibility, new NFC tags can be replaced to tamper with the positioning information. In order to avoid this situation, it can be determined whether the NFC tag has been replaced or changed based on the uniqueness of the device number to prevent the positioning information from being tampered with.

[0083] In the present application scheme, the data security can be improved by comparing after encryption, and the location information uploaded by the inspection results can be prevented from being tampered with. If tampering occurs, the system can promptly remind the user to verify.

[0084] In one embodiment, considering that the inspection task needs to be performed within a reasonable range of the inspection point, otherwise the inspection result obtained will have problems with authenticity and validity. Therefore, after comparing the inspection result positioning information with the inspection positioning data and obtaining the positioning tampering result, the following steps can also be performed:

[0085] Determine whether the inspection result positioning information is within the preset range of the NFC tag positioning data. If the inspection result positioning information is within the preset range of the NFC tag positioning data, record and store the inspection result to facilitate the management of the inspection task; if the inspection result positioning information is not within the preset range of the NFC tag positioning data, a warning is issued and the result of this inspection task will be excluded.

[0086] Considering that the inspection task needs to be performed within a reasonable range of the inspection point, otherwise the inspection results will have problems with authenticity and effectiveness. Users can set a preset reasonable range of longitude and latitude of the inspection point in advance, and compare the longitude and latitude in the obtained inspection result positioning information with the set radius range of the inspection point, so as to determine whether the results of the inspection task are valid or whether they need to be excluded, so as to ensure the accuracy, authenticity and effectiveness of the inspection task.

[0087] Figure 1 FIG. 1 is a flow chart of a method for positioning anti-tampering in one embodiment. It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but the steps are not necessarily executed in the order indicated by the arrows; unless otherwise specified in this document, there is no strict order restriction for the execution of the steps, and the steps may be executed in other orders; and Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0088] Based on the above method, an embodiment of the present application also discloses a positioning anti-tampering device.

[0089] Reference Figure 2 , the device includes the following modules:

[0090] The tag data input module 201 is used to obtain the latitude and longitude information and the inspection point number of the inspection point, and input the latitude and longitude information and the inspection point number of the inspection point into the NFC tag;

[0091] A multi-source data acquisition module 202 is used to acquire multiple positioning source data of the location of the handheld device;

[0092] The positioning data fusion module 203 is used to fuse and encrypt the data of various positioning sources with the data of the NFC tag according to a preset weight to generate inspection positioning data;

[0093] The positioning tampering judgment module 204 is used to obtain the inspection result positioning information, compare the inspection result positioning information with the inspection positioning data, and obtain the positioning tampering result.

[0094] In one embodiment, the multi-source data acquisition module 202 is specifically used to obtain the GPS positioning longitude and latitude data of the location of the handheld device; calculate the WIFI positioning data of the location of the handheld device based on the signal strength of the handheld device connecting to the nearby WIFI access point; calculate the cellular network positioning data of the location of the handheld device based on the signal strength of the base station near the handheld device; control the handheld device to receive the Bluetooth beacon signal near the handheld device, and calculate the Bluetooth positioning data of the location of the handheld device based on the strength of the Bluetooth beacon signal.

[0095] In one embodiment, the multiple positioning source data in the multi-source data acquisition module 202 include at least one of GPS positioning longitude and latitude data, WIFI positioning data, cellular network positioning data and Bluetooth positioning data.

[0096] In one embodiment, the positioning data fusion module 203 is specifically used to fuse multiple positioning source data with the latitude and longitude information of the inspection point in the NFC tag according to preset weights using a weighted average algorithm to generate fused positioning data; splice the fused positioning data and the data of the NFC tag to generate combined positioning data; and encrypt the combined positioning data using an encryption algorithm to generate inspection positioning data.

[0097] In one embodiment, the positioning data fusion module 203 specifically includes:

[0098] lat fused =W GPS lat GPS +W WIFI lat WIFI +W CELL lat CELL +W BLE lat BLE +W NFC lat NFC

[0099] lon fused =W GPS ·lon GPS +W WIFI ·lon WIFI +W CELL ·lon CELL +W BLE ·lon BLE +W NFC ·lon NFC

[0100] Among them, lat fused Indicates the latitude of the fused positioning data, lon fused represents the longitude of the fused positioning data, W GPS Indicates the weight of GPS positioning latitude and longitude data, lat GPS Indicates the latitude of GPS positioning longitude and latitude data, lon GPS Indicates the longitude of GPS positioning latitude and longitude data, W WIFI Indicates the weight of WIFI positioning data, lat WIFI Indicates the latitude of WIFI positioning data, lon WIFI Indicates the longitude of WIFI positioning data, W CELL Represents the weight of cellular network positioning data, lat CELL Indicates the latitude of cellular network positioning data, lon CELL Indicates the longitude of the cellular network positioning data, W BLE Indicates the weight of Bluetooth positioning data, lat BLE Indicates the latitude of Bluetooth positioning data, lon BLE Indicates the longitude of Bluetooth positioning data, W NFC Indicates the weight of the NFC tag data, lat NFC Indicates the latitude of the NFC tag data, lon NFC The data representing the longitude of the NFC tag.

[0101] In one embodiment, the positioning tampering judgment module 204 is specifically used to splice the inspection result positioning information with the data of the NFC tag to generate the inspection result combined positioning data; encrypt the inspection result combined positioning data to generate the inspection result encrypted positioning data; compare the inspection result encrypted positioning data with the inspection positioning data; if the inspection result encrypted positioning data is consistent with the inspection positioning data, the inspection result positioning information has not been tampered with; if the inspection result encrypted positioning data is inconsistent with the inspection positioning data, the inspection result positioning information has been tampered with.

[0102] In one embodiment, the positioning tampering judgment module 204 is also used to judge whether the inspection result positioning information is within the preset range of the positioning data of the NFC tag; if the inspection result positioning information is not within the preset range of the positioning data of the NFC tag, a warning is issued.

[0103] The positioning anti-tampering device provided in the embodiment of the present application can be applied to the positioning anti-tampering method provided in the above embodiment. For relevant details, refer to the above method embodiment. The implementation principle and technical effect are similar and will not be repeated here.

[0104] It should be noted that: the positioning and tamper-proofing device provided in the embodiment of the present application only uses the division of the above-mentioned functional modules / functional units as an example to illustrate when performing positioning and tamper-proofing. In actual applications, the above-mentioned functions can be assigned to different functional modules / functional units as needed, that is, the internal structure of the positioning and tamper-proofing device is divided into different functional modules / functional units to complete all or part of the functions described above. In addition, the implementation method of the positioning and tamper-proofing method provided in the above-mentioned method embodiment and the implementation method of the positioning and tamper-proofing device provided in this embodiment belong to the same concept. The specific implementation process of the positioning and tamper-proofing device provided in this embodiment is detailed in the above-mentioned method embodiment, which will not be repeated here.

[0105] The embodiment of the present application also discloses a computer device.

[0106] Specifically, if Figure 3 As shown, the computer device can be a computer device such as a desktop computer, a laptop computer, a PDA, and a cloud server. The computer device may include, but is not limited to, a processor and a memory. The processor and the memory may be connected via a bus or otherwise. The processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, graphics processors (GPU), embedded neural network processors (NPU) or other dedicated deep learning coprocessors, discrete gates or transistor logic devices, discrete hardware components and other chips, or a combination of the above-mentioned various chips.

[0107] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the methods in the above-mentioned embodiments of the present application. The processor executes various functional applications and data processing of the processor by running the non-transient software programs, instructions and modules stored in the memory, that is, the method in the above-mentioned method implementation is realized. The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the processor, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.

[0108] The embodiment of the present application also discloses a computer-readable storage medium.

[0109] Specifically, a computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the method in the above-mentioned method implementation is implemented. Those skilled in the art will understand that the implementation of all or part of the process in the above-mentioned implementation method of the present application can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and the program, when executed, may include the process of the implementation of the above-mentioned methods. Among them, the storage medium may be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive, abbreviated as: HDD) or a solid-state drive (SSD), etc.; the storage medium may also include a combination of the above-mentioned types of memory.

[0110] This specific embodiment is merely an explanation of the present invention and is not a limitation of the present invention. After reading this specification, those skilled in the art may make non-creative modifications to the present embodiment as needed. However, as long as they are within the scope of the claims of the present invention, they are protected by the patent law.

Claims

1. A positioning anti-tampering method, Features: The method is applied to a positioning and anti-tampering system, the positioning and anti-tampering system includes a handheld device and an NFC tag, the NFC tag is fixed at a patrol point, and the method includes: Obtaining the latitude and longitude information and the inspection point number of the inspection point, and entering the latitude and longitude information and the inspection point number into the NFC tag; Acquire multiple positioning source data of the location of the handheld device; According to preset weights, the multiple positioning source data and the data of the NFC tag are fused and encrypted to generate inspection positioning data; Obtain inspection result positioning information, compare the inspection result positioning information with the inspection positioning data, and obtain the positioning tampering result.

2. The method according to claim 1, Features: The method of obtaining the multiple positioning source data of the location of the handheld device includes: Obtaining GPS positioning longitude and latitude data of the location of the handheld device; Calculate the WIFI positioning data of the location of the handheld device according to the signal strength of the access point of the nearby WIFI that the handheld device is connected to; Calculate the cellular network positioning data of the location of the handheld device according to the signal strength of the base station near the handheld device; The handheld device is controlled to receive a Bluetooth beacon signal near the handheld device, and Bluetooth positioning data of the location of the handheld device is calculated according to the strength of the Bluetooth beacon signal.

3. The method according to claim 2, Features: The multiple positioning source data include at least one of the GPS positioning longitude and latitude data, the WIFI positioning data, the cellular network positioning data and the Bluetooth positioning data.

4. The method according to claim 2, Features: The step of fusing and encrypting the multiple positioning source data with the data of the NFC tag according to the preset weights to generate the inspection positioning data includes: According to preset weights, a weighted average algorithm is used to fuse the multiple positioning source data with the latitude and longitude information of the inspection point in the NFC tag to generate fused positioning data; Splicing the fused positioning data with the data of the NFC tag to generate combined positioning data; The inspection positioning data is generated by encrypting the combined positioning data using an encryption algorithm.

5. The method according to claim 4, Features: The step of fusing the plurality of positioning source data with the latitude and longitude information of the inspection point in the NFC tag using a weighted average algorithm according to preset weights to generate fused positioning data includes: years fused =In GPS ·years GPS +W WIFI ·years WIFI +W CELL ·years CELL +W BLE ·years BLE +W NFC ·years NFC lon fused =W GPS lon GPS +W WIFI lon WIFI +W CELL lon CELL +W BLE lon BLE +W NFC lon NFC Among them, lat fused Indicates the latitude of the fused positioning data, lon fused represents the longitude of the fused positioning data, W GPS Indicates the weight of the GPS positioning latitude and longitude data, iat GPS Indicates the latitude of the GPS positioning longitude and latitude data, lon GPS represents the longitude of the GPS positioning longitude and latitude data, W WIFI Indicates the weight of the WIFI positioning data, lat WIFI Indicates the latitude of the WIFI positioning data, lon WIFI represents the longitude of the WIFI positioning data, W CELL Indicates the weight of the cellular network positioning data, lat CELL Indicates the latitude of the cellular network positioning data, lon CELL represents the longitude of the cellular network positioning data, W BLS Indicates the weight of the Bluetooth positioning data, lat BLE Indicates the latitude of the Bluetooth positioning data, lon BLE represents the longitude of the Bluetooth positioning data, W NFC Indicates the weight of the NFC tag data, lat NFC Indicates the latitude of the NFC tag data, lon NFC The data representing the longitude of the NFC tag.

6. The method according to claim 1, Features: The comparing the inspection result positioning information with the inspection positioning data and obtaining the positioning tampering result includes: The inspection result positioning information is combined with the data of the NFC tag to generate inspection result combined positioning data; Encrypting the inspection result combined positioning data to generate inspection result encrypted positioning data; Comparing the inspection result encrypted positioning data with the inspection positioning data; If the inspection result encrypted positioning data is consistent with the inspection positioning data, the inspection result positioning information has not been tampered with; If the inspection result encrypted positioning data is inconsistent with the inspection positioning data, the inspection result positioning information is tampered with.

7. The method according to claim 1, Features: After comparing the inspection result positioning information with the inspection positioning data and obtaining the positioning tampering result, the method further includes: Determine whether the inspection result positioning information is within a preset range of the positioning data of the NFC tag; If the inspection result positioning information is not within the preset range of the positioning data of the NFC tag, a warning is issued.

8. A positioning anti-tampering device, Features: The device is applied to a positioning and anti-tampering system, the positioning and anti-tampering system comprises a handheld device and an NFC tag, the NFC tag is fixed at a patrol point, and the device comprises: A tag data entry module (201) is used to obtain the latitude and longitude information of the inspection point and the inspection point number, and enter the latitude and longitude information of the inspection point and the inspection point number into the NFC tag; A multi-source data acquisition module (202), used to acquire multiple positioning source data of the location of the handheld device; A positioning data fusion module (203) is used to fuse and encrypt the multiple positioning source data and the data of the NFC tag according to a preset weight to generate inspection positioning data; The positioning tampering judgment module (204) is used to obtain the inspection result positioning information, compare the inspection result positioning information with the inspection positioning data, and obtain the positioning tampering result.

9. A computer device, It is characterized in that The method comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Power communication working site multi-mode positioning method

    CN105487096A

  • Inspection method based on LBS position service

    CN111161444A

  • Dual-positioning monitoring method for preventing inspection cheating

    CN113423067A

  • Green building intelligent inspection method

    CN119233202A

  • Smart patrol system and method for wind power generation equipment

    JP7378564B1

Cited By

  • Equipment inspection and management method and equipment based on image recognition, and storage medium

    CN119516633A