Internet of Things data desensitization binding method and device, computer equipment and storage medium

By mapping the real longitude and latitude of IoT devices to the grid center point, desensitized data is generated, which solves the problems of low efficiency in transmitting location information of IoT devices and difficulty in privacy protection, improves data transmission and analysis efficiency, and enhances security. .

CN118611940APending Publication Date: 2024-09-06EXTRA HIGH VOLTAGE POWER TRANSMISSION NANJING OF CHINA SOUTHERN POWER GRID
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410755563.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing technologies cannot directly expose the latitude and longitude information of IoT devices due to security reasons, resulting in low transmission efficiency, inability to effectively protect the privacy of device locations, and affecting data transmission and analysis efficiency.

Method used

By obtaining the actual scale information of the target area, dividing the grid and defining a blank grid data table, the real longitude and latitude of the device is mapped to the nearest grid center point, the mapped longitude and latitude is generated, and it is associated with the device collection data to generate an object Internet desensitized data.

Benefits of technology

It improves the efficiency of data transmission between different units or enterprises, improves the efficiency and accuracy of data processing and analysis, enhances the data security and privacy protection capabilities of the Internet of Things system, and avoids the risk of data leakage in real geographical locations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611940A
    Figure CN118611940A
Patent Text Reader

Abstract

The invention relates to an Internet of Things data desensitization binding method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring actual scale information in a target area, and acquiring real longitudes and latitudes corresponding to equipment in the target area; defining a grid blank data table of the target area according to the actual scale information; the grid blank data table comprises a plurality of grid center points; mapping the real longitude and latitude corresponding to each device to a grid center point closest to the device to obtain a mapping longitude and latitude corresponding to each device; and respectively mapping each mapping latitude and longitude to equipment acquisition data of each corresponding equipment, and generating Internet of Things desensitization data of the target area. According to the method, the data transmission efficiency between different units or enterprises can be improved, the efficiency and accuracy of data processing and analysis are improved, and the data security and privacy protection capability of the Internet of Things system are enhanced, so that the system can provide reliable data information support while protecting privacy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, computer equipment, storage medium and computer program product for desensitizing and binding Internet of Things data. Background Art

[0002] The operation and maintenance of the power system requires timely understanding of on-site information, such as weather conditions, etc. Currently, IoT devices are used to collect on-site data. For example, rainfall sensors, wind sensors, temperature and humidity sensors, etc. are used to collect on-site information and return it to the data background. However, due to the requirements of safe production, key information such as the longitude and latitude of the equipment cannot be transmitted through the Internet, and the precise location of the equipment cannot be informed to third parties to avoid information leakage posing a threat to security. Therefore, it is necessary to desensitize key information such as the longitude and latitude of the equipment before transmission. Since the location information of sensitive equipment such as cameras, sensors, optical fibers, cables, etc. is not allowed to be exposed on the public network to avoid damage to the equipment due to location leakage, in traditional technologies, in order to avoid leakage of location during transmission, storage media transportation is generally used to transmit data, resulting in low data transmission efficiency between different units or enterprises. Summary of the invention

[0003] Based on this, it is necessary to provide an IoT data desensitizing and binding method, device, computer equipment, computer-readable storage medium and computer program product that can improve the efficiency of data transmission between different units or enterprises in response to the above technical problems.

[0004] In a first aspect, the present application provides a method for desensitizing and binding IoT data, comprising:

[0005] Acquire actual scale information in the target area, and acquire the real longitude and latitude corresponding to each device in the target area;

[0006] Defining a grid blank data table of the target area according to the actual scale information; the grid blank data table includes a plurality of grid center points;

[0007] Mapping the real longitude and latitude corresponding to each device to the center point of the grid closest to the device to obtain the mapped longitude and latitude corresponding to each device;

[0008] Map each of the mapped longitudes and latitudes to the corresponding device collection data of each of the devices to generate IoT desensitized data of the target area.

[0009] In the second aspect, the present application also provides an IoT data desensitization binding device, comprising:

[0010] The regional data acquisition module is used to obtain the actual scale information of the target area and the real longitude and latitude corresponding to each device in the target area;

[0011] A data table definition module, used to define a grid blank data table of the target area according to the actual scale information; the grid blank data table includes a plurality of grid center points;

[0012] A latitude and longitude mapping module, used to map the real longitude and latitude corresponding to each of the devices to the center point of the grid closest to the device, to obtain the mapped longitude and latitude corresponding to each device;

[0013] The desensitized data acquisition module is used to map each of the mapped longitudes and latitudes to the corresponding device collection data of each of the devices, and generate the Internet of Things desensitized data of the target area.

[0014] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0015] Acquire actual scale information in the target area, and acquire the real longitude and latitude corresponding to each device in the target area;

[0016] Defining a grid blank data table of the target area according to the actual scale information; the grid blank data table includes a plurality of grid center points;

[0017] Mapping the real longitude and latitude corresponding to each device to the center point of the grid closest to the device to obtain the mapped longitude and latitude corresponding to each device;

[0018] Map each of the mapped longitudes and latitudes to the corresponding device collection data of each of the devices to generate IoT desensitized data of the target area.

[0019] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0020] Acquire actual scale information in the target area, and acquire the real longitude and latitude corresponding to each device in the target area;

[0021] Defining a grid blank data table of the target area according to the actual scale information; the grid blank data table includes a plurality of grid center points;

[0022] Mapping the real longitude and latitude corresponding to each device to the center point of the grid closest to the device to obtain the mapped longitude and latitude corresponding to each device;

[0023] Map each of the mapped longitudes and latitudes to the corresponding device collection data of each of the devices to generate IoT desensitized data of the target area.

[0024] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0025] Acquire actual scale information in the target area, and acquire the real longitude and latitude corresponding to each device in the target area;

[0026] Defining a grid blank data table of the target area according to the actual scale information; the grid blank data table includes a plurality of grid center points;

[0027] Mapping the real longitude and latitude corresponding to each device to the center point of the grid closest to the device to obtain the mapped longitude and latitude corresponding to each device;

[0028] Map each of the mapped longitudes and latitudes to the corresponding device collection data of each of the devices to generate IoT desensitized data of the target area.

[0029] The above-mentioned method, device, computer equipment, storage medium and computer program product for desensitizing and binding IoT data obtain the actual scale information in the target area and the real longitude and latitude corresponding to each device in the target area; define the grid blank data table of the target area according to the actual scale information; the grid blank data table includes several grid center points; map the real longitude and latitude corresponding to each device to the grid center point closest to the device, and obtain the mapped longitude and latitude corresponding to each device; map each mapped longitude and latitude to the device collection data of the corresponding device, and generate IoT desensitized data of the target area.

[0030] By obtaining the actual scale information of the target area and the real longitude and latitude of each device, the target area is divided into multiple grids, and a grid blank data table containing the grid center point is created. Then, the longitude and latitude of each device are mapped to the nearest grid center point to obtain the mapped longitude and latitude, and these mapped longitude and latitude are associated with the device collection data to generate the IoT desensitized data of the target area. In this process, the original data is accurately mapped to the grid center point, realizing the spatial aggregation and privacy protection of the data, and avoiding the risk of data leakage that directly exposes the real geographical location. Through grid processing, not only can the data transmission efficiency between different units or enterprises be improved, the efficiency and accuracy of data processing and analysis can be improved, but also the data security and privacy protection capabilities of the IoT system can be enhanced, so that the system can provide reliable data information support while protecting privacy. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0032] FIG1 is an application environment diagram of an Internet of Things data desensitization binding method in one embodiment;

[0033] FIG2 is a schematic diagram of a flow chart of a method for desensitizing and binding IoT data in one embodiment;

[0034] FIG3 is a schematic diagram of a process of obtaining a method for mapping longitude and latitude in one embodiment;

[0035] FIG4 is a schematic diagram of a flow chart of a method for obtaining longitude and latitude mapping in another embodiment;

[0036] FIG5 is a schematic diagram of a flow chart of a method for adjusting a mapping object in one embodiment;

[0037] FIG6 is a schematic diagram of a flow chart of a method for defining a grid blank data table in one embodiment;

[0038] FIG7 is a schematic diagram of a flow chart of a method for obtaining real data of a device in one embodiment;

[0039] FIG8 is a structural block diagram of an Internet of Things data desensitization and binding system in one embodiment;

[0040] FIG9 is a flowchart of a method for desensitizing and binding IoT data in one embodiment;

[0041] FIG10 is a structural block diagram of an IoT data desensitization and binding device in one embodiment;

[0042] FIG. 11 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] The method for desensitizing and binding IoT data provided by the embodiment of the present application can be applied in the application environment shown in FIG. 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The server 104 obtains the actual scale information of the target area from the terminal 102, and obtains the real longitude and latitude corresponding to each device in the target area; defines the grid blank data table of the target area according to the actual scale information; the grid blank data table includes several grid center points; maps the real longitude and latitude corresponding to each device to the grid center point closest to the device, and obtains the mapped longitude and latitude corresponding to each device; maps each mapped longitude and latitude to the device collection data of each corresponding device, and generates the IoT desensitized data of the target area. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices and portable wearable devices, and the IoT devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0045] In an exemplary embodiment, as shown in FIG2 , a method for desensitizing and binding IoT data is provided, and the method is applied to the server in FIG1 as an example for explanation. A corresponding IoT data desensitizing and binding system structure diagram is shown in FIG8 , including the following steps 202 to 208. Among them:

[0046] Step 202: Acquire actual scale information in the target area, and acquire the real longitude and latitude corresponding to each device in the target area.

[0047] The actual scale information may be data of an actual contour of the target area.

[0048] Among them, the target area may be an area where IoT data desensitization is required.

[0049] The real longitude and latitude may be the accurate longitude and latitude of the location of each device in the target area.

[0050] Specifically, high-precision maps or satellite images are used to determine the boundaries and scope of the target area, and geographic information system (GIS) technology is used for data processing to determine the actual scale information; then, the actual location and attribute information of each device is collected through on-site surveys or existing geographic coordinate data; then, a coordinate conversion algorithm is used to convert the collected data from the local coordinate system into a globally unified longitude and latitude coordinate to obtain the true longitude and latitude.

[0051] Step 204: define a grid blank data table of the target area according to the actual scale information.

[0052] The grid blank data table may be a data table in which a plurality of grid center points are set within the actual scale information range of the target area according to a predetermined length and width, but the grid blank data table is not filled with any data.

[0053] The grid center point may be used to carry the longitude and latitude data corresponding to the center point.

[0054] Specifically, according to the actual scale information of the target area, it is divided into several grid cells of equal size according to fixed grid parameters; the geographical range and grid center point of each grid cell are calculated, a grid blank data table is created, a unique identifier of each grid cell (such as row and column numbers) is defined, and a field for storing actual data is reserved for each cell; the longitude and latitude information of the grid center point of each grid cell is filled into the corresponding data table field, thereby completing the definition of the grid blank data table.

[0055] Step 206, mapping the real longitude and latitude corresponding to each device to the center point of the grid closest to the device, to obtain the mapped longitude and latitude corresponding to each device.

[0056] The mapped longitude and latitude may be the definition of the longitude and latitude of the center point of the grid after the real longitude and latitude of the device have been mapped to the longitude and latitude of the center point of the grid.

[0057] Specifically, based on the real longitude and latitude corresponding to each device and the longitude and latitude corresponding to each grid center point; use the formula for calculating the geographic distance between two points (such as the Haversine formula) to calculate the distance from the real longitude and latitude corresponding to each device to the longitude and latitude of all grid center points; find the grid center point with the shortest distance for each device, and map the real longitude and latitude of the device to the longitude and latitude of the grid center point to obtain the mapped longitude and latitude of each device, and generate a new data table containing the mapped longitude and latitude of each device.

[0058] Step 208, mapping each mapped longitude and latitude to the device collection data of each corresponding device, and generating IoT desensitized data of the target area.

[0059] The device collected data may be data collected by each device.

[0060] Among them, IoT desensitized data may be data that has been desensitized.

[0061] Specifically, since each device corresponds to a real longitude and latitude, and each real longitude and latitude has a determined mapped longitude and latitude after mapping, a corresponding relationship is established between each mapped longitude and latitude and the device collection data of each device, and the corresponding mapped longitude and latitude can be found for each device collection data entry, and the mapped longitude and latitude are used as new geographic location data to replace the original real longitude and latitude; check and confirm that all mapped longitudes and latitudes have been correctly associated with their respective device collection data entries to ensure data consistency; generate a new data table containing the device collection data and the desensitized mapped longitude and latitude, thereby completing the generation of desensitized IoT data for the target area.

[0062] In the above-mentioned IoT data desensitization and binding method, the actual scale information in the target area and the real longitude and latitude corresponding to each device in the target area are obtained; a grid blank data table of the target area is defined according to the actual scale information; the grid blank data table includes several grid center points; the real longitude and latitude corresponding to each device are respectively mapped to the grid center point closest to the device to obtain the mapped longitude and latitude corresponding to each device; each mapped longitude and latitude is respectively mapped to the device collection data of each corresponding device to generate IoT desensitized data of the target area.

[0063] By obtaining the actual scale information of the target area and the real longitude and latitude of each device, the target area is divided into multiple grids, and a grid blank data table containing the grid center point is created. Then, the longitude and latitude of each device are mapped to the nearest grid center point to obtain the mapped longitude and latitude, and these mapped longitude and latitude are associated with the device collection data to generate the IoT desensitized data of the target area. In this process, the original data is accurately mapped to the grid center point, realizing the spatial aggregation and privacy protection of the data, and avoiding the risk of data leakage that directly exposes the real geographical location. Through grid processing, not only can the data transmission efficiency between different units or enterprises be improved, the efficiency and accuracy of data processing and analysis can be improved, but also the data security and privacy protection capabilities of the IoT system can be enhanced, so that the system can provide reliable data information support while protecting privacy.

[0064] In an exemplary embodiment, as shown in FIG3 , the real longitude and latitude corresponding to each device are mapped to the center point of the grid closest to the device to obtain the mapped longitude and latitude corresponding to each device, including steps 302 to 306. Wherein:

[0065] Step 302, traverse the device distance from each device to each grid center point.

[0066] Specifically, the real latitude and longitude coordinates of each device and the latitude and longitude coordinates of all grid center points are traversed, and the distance from each device to all grid center points is calculated one by one using a geographic distance calculation formula (such as the Haversine formula); the distance between each device and all grid center points is stored in a matrix or data table, where the rows of the matrix or data table represent devices, the columns of the matrix or data table represent grid center points, and the cells of the matrix or data table represent corresponding distances; finally, this matrix or data table is traversed to ensure that the distance from each device to each grid center point has been calculated and recorded.

[0067] Step 304: for any device, select the grid center point with the minimum device distance as the mapping object.

[0068] Specifically, for any device, extract a row of data corresponding to the current device from the matrix or data table of the distance between the device and the grid center point, that is, the distance from the device to all grid center points; traverse this row of data to find the minimum distance value and its corresponding grid center point, use the grid center point corresponding to the minimum distance as the mapping object of the device, and record the correspondence between the device and the mapping object; repeat the above steps to process all devices to ensure that each device is mapped to the nearest grid center point.

[0069] Step 306, mapping the real longitude and latitude of each device to the corresponding mapping object, to obtain the corresponding mapping longitude and latitude of each device.

[0070] Specifically, based on the previously calculated correspondence between the device and its nearest grid center point, that is, the mapping object of each device, the longitude and latitude of the corresponding center point are extracted from the grid center point data table; then, the longitude and latitude of the mapping object of each device (the nearest grid center point) replace the real longitude and latitude of the device, and a new data table is generated to record the mapping longitude and latitude of each device, thereby obtaining the mapping longitude and latitude data corresponding to each device.

[0071] In this embodiment, by traversing the device distances from each device to each grid center point, and selecting the grid center point with the minimum distance for any device as the mapping object, the real longitude and latitude of each device is mapped to the corresponding mapping object, and the corresponding mapping longitude and latitude of each device is obtained. This method ensures that each device is accurately mapped to the optimal grid center point in its area, thereby effectively reducing the geographic location error and improving the accuracy and reliability of data positioning. In addition, this mapping method simplifies the data processing and analysis process, facilitates the management and visualization of large-scale geographic data, and helps to improve the overall performance and data utilization efficiency of the Internet of Things system.

[0072] In an exemplary embodiment, as shown in FIG4 , the real longitude and latitude of each device are mapped to the corresponding mapping object to obtain the corresponding longitude and latitude of each device, including steps 402 to 406. In which:

[0073] Step 402: When the distance of the device matching the mapping object is less than a preset threshold, a mapping credibility coefficient corresponding to each device is set according to the device distance corresponding to each mapping object.

[0074] The mapping credibility coefficient may be the credibility of mapping the real longitude and latitude of the device to the longitude and latitude of the center point of the grid, wherein the mapping credibility coefficient is related to the distance between the device and the center point of the grid, and the longer the distance, the lower the credibility coefficient.

[0075] Specifically, when the distance of the device matching the mapping object is less than a preset threshold, it indicates that the mapping credibility coefficient can be calculated, where the mapping credibility coefficient can be determined according to the inverse relationship of the device distance (for example, mapping credibility coefficient = 1 / device distance); the calculated mapping credibility coefficient is correspondingly assigned to the mapping record of the device, and a new data table containing the device, mapping longitude and latitude and corresponding credibility coefficient is generated to ensure that the mapping data of each device is accompanied by a reasonable mapping credibility coefficient.

[0076] Step 404: Adjust the corresponding mapping objects according to the mapping credibility coefficients to obtain the adjusted mapping objects.

[0077] The adjusted mapping object may be a mapping object obtained by adjusting the mapping relationship of the mapping object according to the mapping credibility coefficient.

[0078] Specifically, since the mapping credibility coefficient represents the reliability of the mapping relationship between the device and the mapping object, for any device and mapping object, the mapping credibility coefficient is used to adjust the mapping relationship of the mapping object. The adjustment methods include but are not limited to fusion, multiplication, special relationship formulas, specific models, etc. By adding the mapping credibility coefficient to the mapping relationship of the mapping object, the adjusted mapping object corresponding to each device is obtained.

[0079] Step 406, mapping the real longitude and latitude of each device to the corresponding adjustment mapping object, to obtain the corresponding mapping longitude and latitude of each device.

[0080] Specifically, since there is a one-to-one correspondence between the mapping object and the adjustment mapping object, the longitude and latitude of the mapping object are copied to the longitude and latitude of the adjustment mapping object accordingly; then, according to the mapping relationship between each device and the corresponding adjustment mapping object, the actual longitude and latitude of each device is replaced with the longitude and latitude of its adjustment mapping object.

[0081] In this embodiment, when the distance of the device matching the mapping object is less than a preset threshold, the mapping credibility coefficient corresponding to each device is set according to the device distance corresponding to each mapping object, and the mapping object is adjusted according to these credibility coefficients to obtain the adjusted mapping object, and the real longitude and latitude of each device are respectively mapped to the corresponding adjusted mapping object to obtain the mapping longitude and latitude corresponding to each device. This method not only improves the accuracy of location mapping, but also ensures the reliability and accuracy of device location data by setting credibility coefficients and dynamically adjusting mapping objects. This process reduces the uncertainty caused by location errors, improves the credibility of data, and enables the Internet of Things system to more accurately reflect the geographical distribution of devices in practical applications, which helps to improve the stability and performance of the system.

[0082] In an exemplary embodiment, as shown in FIG5 , the corresponding mapping objects are adjusted according to the mapping credibility coefficients to obtain the adjusted mapping objects, including steps 502 to 504. Among them:

[0083] Step 502: modify the corresponding device distance according to each mapped credibility coefficient to obtain the modified device distance corresponding to each device.

[0084] The modified device distance may be data obtained by adjusting the device distance by mapping the credibility coefficient.

[0085] Specifically, the device distance is adjusted according to the mapped credibility coefficient, and a proportional relationship or an inverse relationship can be used for modification (for example, a proportional relationship: modified device distance = original distance × credibility coefficient; an inverse relationship: modified device distance = original distance / credibility coefficient); the modified device distances of all devices are calculated and the corresponding fields in the data table are updated; finally, a new data table is generated to record the modified device distance corresponding to each device, ensuring that the distance data of all devices have been adjusted according to the mapped credibility coefficient.

[0086] Step 504: According to each modified device distance, the mapping relationship between each mapping object and the corresponding device is adjusted to obtain each adjusted mapping object.

[0087] Specifically, according to each modified device distance, check whether the current mapping object is still the nearest center point. If not, recalculate the distance from the device to all grid center points, and select the new nearest grid center point as the mapping object; if the current mapping object is still the nearest center point, update the corresponding relationship between the device and its mapping object. The update method can add the modified device distance to the mapping relationship of the mapping object according to fusion, multiplication, special relationship, specific model, etc.; finally, generate a new data table to record each device and the adjusted mapping object, so as to obtain the adjusted mapping objects corresponding to all devices.

[0088] In this embodiment, by modifying the corresponding device distance according to each mapping credibility coefficient, the modified device distance corresponding to each device is obtained, and the mapping relationship between each mapping object and the corresponding device is adjusted according to these modified device distances to obtain the adjusted mapping object. This process improves the accuracy and reliability of location mapping by dynamically adjusting the device distance and mapping relationship. The adjusted mapping object more accurately reflects the actual geographical location of the device, reducing location errors and data inconsistencies. This not only enhances the data accuracy and credibility of the Internet of Things system, but also improves the performance and reliability of the system in practical applications, ensuring that device management and monitoring are more accurate and efficient.

[0089] In an exemplary embodiment, as shown in FIG6 , defining a grid blank data table of a target area according to actual scale information includes steps 602 to 606 . Among them:

[0090] Step 602: Define the scale information of the target area according to the actual scale information.

[0091] The scale information may be defined as the positions of all grids in the target area.

[0092] Specifically, based on the boundaries, areas and related measurement data of the actual scale information, the boundaries of the set of all grids in the grid blank data table applicable to the target area are determined as the defined scale information, where the defined scale information uses standardized scale units (e.g., meters, kilometers, etc.), and the application scope and definition of each scale unit in the target area are recorded in detail.

[0093] Step 604: determine the center points of each grid in the target area according to the defined scale information.

[0094] Specifically, the target area is divided using the defined scale information, and the grid boundary coordinates are averaged to divide it into several grid cells of equal size. The grid center point of each grid cell is calculated, and the mapping longitude and latitude corresponding to each grid center point is further determined. Then, the coordinates of these center points are recorded in a data table, and each grid cell has a corresponding mapping longitude and latitude. Finally, ensure that the coordinates of all grid center points cover the entire target area.

[0095] Step 606: construct a grid blank data table of the target area according to the center points of each grid.

[0096] Specifically, a blank data table is created based on all grid center points in the target area, and a unique identifier (such as row and column number) is defined for each grid cell and the necessary fields are included to record future data. Then, the mapped longitude and latitude of each grid center point are filled into the corresponding fields of the data table to ensure that each grid cell has its mapped longitude and latitude. Finally, this grid blank data table is saved and verified to ensure that it covers the entire target area.

[0097] In this embodiment, by defining the definition scale information of the target area according to the actual scale information, and determining the center points of each grid in the target area (including the mapped longitude and latitude) based on this, and then constructing the grid blank data table of the target area according to these grid center points, this method ensures the accuracy and consistency of the grid division, so that the geographic information of the target area can be standardized and systematically managed. The determination of the grid center point and the use of the mapped longitude and latitude improve the accuracy of geographic positioning. At the same time, the construction of the grid blank data table provides a clear framework for subsequent data filling and analysis, facilitates the orderly storage, retrieval and processing of data, and improves the data management efficiency and accuracy of the entire system.

[0098] In an exemplary embodiment, as shown in FIG7 , the method further includes steps 702 to 708. Among them:

[0099] Step 702, obtain the measured longitude and latitude corresponding to each device in the target area, and decompile the IoT desensitized data to obtain the center point of each grid.

[0100] The measured longitude and latitude may be the longitude and latitude actually measured on the device and stored locally on the computer.

[0101] Specifically, the measured longitude and latitude of each device is read from the server 104, and based on the mapping relationship between each device and the corresponding mapped longitude and latitude, the IoT desensitized data is decompiled to extract the mapped longitude and latitude information therein, and based on the correspondence between each mapped longitude and latitude and each grid center point in the grid unit, each grid center point is determined.

[0102] Step 704, calculating the longitude and latitude distances between any measured longitude and latitude and the mapped longitude and latitude of each grid center point.

[0103] The longitude and latitude distance may be the distance between the measured longitude and latitude and the longitude and latitude of the center point of the grid.

[0104] Specifically, according to the measured longitude and latitude corresponding to each device and the mapped longitude and latitude of all grid center points, the distance between the measured longitude and latitude of each device and the mapped longitude and latitude of each grid center point is calculated one by one using a geographic distance calculation formula (such as the Haversine formula) to obtain the longitude and latitude distance; the calculation results are recorded in a data table, which includes the distance information between the device and each grid center point; finally, all devices are traversed and the above steps are repeated to generate a complete data table containing the longitude and latitude distances between all devices and the grid center points.

[0105] Step 706: For any device, select the minimum longitude and latitude distance as the target longitude and latitude distance.

[0106] Specifically, for any device, the longitude and latitude distance data between the device and all grid center points are traversed, the minimum distance value is found, and the minimum distance value is marked as the target longitude and latitude distance of the device.

[0107] Step 708, according to the distance of each target longitude and latitude, each measured longitude and latitude is mapped to the device collection data of the corresponding IoT desensitized data, and the real device data corresponding to each device is obtained.

[0108] The real data of the device may be data collected by the device using the real longitude and latitude.

[0109] Specifically, according to the target longitude and latitude distance of each device, the correspondence between the measured longitude and latitude of each device and the device collection data of the corresponding device is determined, and according to each corresponding relationship, the device collection data in the matching desensitized data record is mapped with the measured longitude and latitude of the device to obtain the real data of each device; finally, a new data table is generated containing the real data of each device to ensure that the collection data of each device reflects its actual measured longitude and latitude.

[0110] In this embodiment, by obtaining the measured longitude and latitude of each device in the target area, and decompiling the IoT desensitized data to obtain the center points of each grid, the distance between any measured longitude and latitude and the mapped longitude and latitude of each grid center point is calculated, the minimum distance is selected as the target longitude and latitude distance, and then the measured longitude and latitude are mapped to the device collection data of the corresponding IoT desensitized data, thereby obtaining the real device data corresponding to each device. This method ensures the high accuracy and high reliability of the device location data, reduces the geographic location error through the minimum distance mapping, and restores the real location data of the device. The decompilation and precise matching process enhances the availability and accuracy of the data after desensitization, enabling the IoT system to manage and monitor devices more effectively, and improve the overall data quality and operational efficiency of the system.

[0111] In a specific embodiment, as shown in FIG9 , the first step is to obtain the data to be desensitized. The data is collected by the sensor and transmitted to the field data aggregation background, including the latitude and longitude information of the sensor and the collected data information and stored in the form of a report. The report contains various precise data uploaded by the sensor, and the sensitive information contained in the data includes the latitude and longitude of the device, etc.

[0112] Step 2: Split the data to be desensitized according to the data type and the data field definition in advance, and classify it into several sensitive types of data. The data types include: numbers, Chinese characters and English letters, and the data fields include device name, device type, data name, data format, etc. The program can process the data to be desensitized according to the data type and field.

[0113] Among them, the second step can split the data to be desensitized according to the data type and field to form several categories of data. Classify one category of data as a sensitive type of data. In a specific embodiment, if the data to be desensitized is a 2-digit Chinese character, a 3-digit Chinese character or a 4-digit Chinese character, its sensitive type is the device name; if the data to be desensitized is a number with more than 5 decimal places, its sensitive type is longitude and latitude; if the data to be desensitized is a number with two decimal places, its sensitive type is collected data. The specific sensitive type setting can be set according to the type of conventional sensitive data and the meaning of the field, and the data to be desensitized is classified according to the data type and data field.

[0114] In the second step, the data to be desensitized can be split according to the data type and data length to form several categories of data. According to the preset sensitive information identification rules, various categories of data are identified in turn to form several sensitive types of data. In particular, the pre-set regular expressions can be used to identify and classify various categories of data in turn.

[0115] Step 3: Generate a desensitization algorithm corresponding to each sensitive type of data. The key desensitization algorithm for longitude and latitude data is data replacement. Specifically, taking the meteorological data collection in area A as an example, the location of a certain IoT meteorological observation station is longitude: 106.5421, latitude: 22.5149; the rainfall in one hour is observed to be 50 mm. A rectangular area with a side length of 100 kilometers is divided in area A. The area is divided into 10,000 grids with a side length of 1 kilometer. Each grid has a center point, and the center point has its corresponding actual longitude and latitude coordinates, such as the center point numbered #200, longitude "106.5121, latitude: 22.5349; set the calculation threshold, such as 2 kilometers.

[0116] At this time, the relative distance of the location of the IoT observation station corresponding to each grid center point can be calculated. In the algorithm, each device traverses the distance to all grid neutral points, and then sorts them according to the distance to obtain the distance to the nearest grid center point, and then determines whether this distance is less than the threshold. For example, when the observation station is less than 2 kilometers from the nearest center point, the data is valid. Then, according to the distance from the grid center point, the data reliability coefficient is set. For example, if it is less than 100 meters from the center point, the credibility is set to 1, 100 meters to 500 meters is 0.8, 500 meters to 2000 meters is 0.6, etc., and the data credibility is also loaded into the corresponding center point data. The data of the observation station, data name, type, data value, and data credibility are all copied to the corresponding grid data table. Repeat the above process, and the data obtained by all observation stations in area A are written into the data table to form a desensitized intermediate report. This report is uploaded to the map application computer host through the wireless communication device, and the computer host program loads and restores the desensitized intermediate report program.

[0117] Step 4: Data restoration. The restoration process is as follows. The longitude and latitude information on the desensitized report is the longitude and latitude information of the regional grid. The user has a device table, which contains the name, longitude and latitude, device information, etc. of the device under the user's jurisdiction. To match its own data with the grid data, the user's device data is real longitude and latitude data. Each device calculates the distance between its own longitude and latitude and the longitude and latitude of each grid center point, and then sorts them. The grid with the smallest value is the closest to the device. Then determine whether the distance to the smallest grid is less than the set threshold. If it is less than the threshold, it means that the data is valid. Then copy the data of the corresponding grid center point, such as rainfall, time, data credibility, etc. to the device table. At this time, the device table has various data loaded by the grid center point. For example: each device traverses all the center point coordinates, calculates the distance to each center point and sorts them, finds the nearest center point, and then determines whether it meets the maximum error requirement according to the set threshold. For example, the threshold is set to 1 km. After calculating and sorting with all grids, the nearest grid is 800 meters, which is less than 1 km. The data is valid, and the device data is bound to the data of this grid, and the data is read to the corresponding device. Through this method, the data information of all devices is obtained to form a new data report, and the data table also includes the credibility information of the data, such as the credibility of the distance to the real data point 1 or 0.8 as the credibility coefficient for reliability weighted calculation.

[0118] Step 5: Map display: After the channel data table is generated, it is converted into map data through the map data conversion tool, and the longitude and latitude of the device are loaded on the map data as positioning information, and other data points are used as data display information. So far, the data is produced, aggregated, desensitized, transmitted, loaded and restored, and the map is generated, and finally the data is loaded on the map.

[0119] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0120] Based on the same inventive concept, the embodiment of the present application also provides an IoT data desensitization binding device for implementing the IoT data desensitization binding method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more IoT data desensitization binding device embodiments provided below can refer to the limitations of an IoT data desensitization binding method above, and will not be repeated here.

[0121] In an exemplary embodiment, as shown in FIG10 , a device for desensitizing and binding IoT data is provided, including: a regional data acquisition module 1002, a data table definition module 1004, a latitude and longitude mapping module 1006, and a desensitized data acquisition module 1008, wherein:

[0122] The regional data acquisition module 1002 is used to obtain the actual scale information in the target area and the real longitude and latitude corresponding to each device in the target area;

[0123] The data table definition module 1004 is used to define a grid blank data table of the target area according to the actual scale information; the grid blank data table includes a plurality of grid center points;

[0124] The latitude and longitude mapping module 1006 is used to map the real longitude and latitude corresponding to each device to the center point of the grid closest to the device, so as to obtain the mapped longitude and latitude corresponding to each device;

[0125] The desensitized data obtaining module 1008 is used to map each mapped longitude and latitude to the device collection data of each corresponding device, and generate the IoT desensitized data of the target area.

[0126] In one embodiment, the longitude and latitude mapping module 1006 is also used to traverse the device distance from each device to each grid center point; for any device, select the grid center point with the minimum device distance as the mapping object; map the real longitude and latitude of each device to the corresponding mapping object, and obtain the corresponding mapping longitude and latitude of each device.

[0127] In one embodiment, the longitude and latitude mapping module 1006 is also used to set the mapping credibility coefficient corresponding to each device according to the device distance corresponding to each mapping object when the distance of the device matching the mapping object is less than a preset threshold; adjust the corresponding mapping object according to each mapping credibility coefficient to obtain each adjusted mapping object; and map the real longitude and latitude of each device to the corresponding adjusted mapping object to obtain the mapping longitude and latitude corresponding to each device.

[0128] In one embodiment, the latitude and longitude mapping module 1006 is also used to modify the corresponding device distance according to each mapping credibility coefficient to obtain the modified device distance corresponding to each device; according to each modified device distance, adjust the mapping relationship between each mapping object and the corresponding device to obtain each adjusted mapping object.

[0129] In one embodiment, the data table definition module 1004 is also used to define the scale information of the target area based on the actual scale information; determine the center points of each grid in the target area based on the scale information; each grid center point includes mapped longitude and latitude; and construct a grid blank data table of the target area based on each grid center point.

[0130] In one embodiment, the desensitized data obtaining module 1008 is also used to obtain the measured longitude and latitude corresponding to each device in the target area, and decompile the IoT desensitized data to obtain each grid center point; calculate the longitude and latitude distance between any measured longitude and latitude and the mapped longitude and latitude of each grid center point; for any device, select the minimum longitude and latitude distance as the target longitude and latitude distance; according to each target longitude and latitude distance, map each measured longitude and latitude to the device collection data of the corresponding IoT desensitized data to obtain the device real data corresponding to each device.

[0131] Each module in the above-mentioned IoT data desensitization and binding device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0132] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG11. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store server data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for desensitizing and binding data of the Internet of Things is implemented.

[0133] Those skilled in the art will understand that the structure shown in FIG. 11 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0134] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0135] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0136] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.

[0137] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0138] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0139] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0140] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for desensitizing and binding IoT data, characterized in that: The method comprises: Acquire actual scale information in the target area, and acquire the real longitude and latitude corresponding to each device in the target area; Defining a grid blank data table of the target area according to the actual scale information; the grid blank data table includes a plurality of grid center points; Mapping the real longitude and latitude corresponding to each device to the center point of the grid closest to the device to obtain the mapped longitude and latitude corresponding to each device; Map each of the mapped longitudes and latitudes to the corresponding device collection data of each of the devices to generate IoT desensitized data of the target area.

2. The method according to claim 1, characterized in that: The real longitude and latitude corresponding to each of the devices are mapped to the center point of the grid closest to the device to obtain the mapped longitude and latitude corresponding to each of the devices, including: Traversing the device distances from each of the devices to the center points of each of the grids; For any of the devices, select the center point of the grid where the distance to the device is the minimum as the mapping object; The real longitude and latitude of each device are respectively mapped to the corresponding mapping object to obtain the mapping longitude and latitude corresponding to each device.

3. The method according to claim 2, characterized in that The mapping of the real longitude and latitude of each device to the corresponding mapping object to obtain the mapping longitude and latitude corresponding to each device includes: When the distance of the device matching the mapping object is less than a preset threshold, setting the mapping credibility coefficient corresponding to each device according to the device distance corresponding to each mapping object; According to each of the mapping credibility coefficients, the corresponding mapping objects are adjusted to obtain each adjusted mapping object; The real longitude and latitude of each device are respectively mapped to the corresponding adjustment mapping object to obtain the corresponding mapping longitude and latitude of each device.

4. The method according to claim 3, characterized in that The step of adjusting the corresponding mapping objects according to the mapping credibility coefficients to obtain the adjusted mapping objects includes: Modify the corresponding device distance according to each mapping credibility coefficient to obtain the modified device distance corresponding to each device; According to each modified device distance, the mapping relationship between each mapping object and the corresponding device is adjusted to obtain each adjusted mapping object.

5. The method according to claim 1, characterized in that The grid blank data table defining the target area according to the actual scale information includes: Defining the definition scale information of the target area according to the actual scale information; Determining each of the grid center points in the target area according to the defined scale information; each of the grid center points includes the mapped longitude and latitude; A grid blank data table of the target area is constructed according to each of the grid center points.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Obtain the measured longitude and latitude corresponding to each device in the target area, and decompile the IoT desensitized data to obtain the center point of each grid; Calculating the longitude and latitude distances between any of the measured longitude and latitude and the mapped longitude and latitude of each of the grid center points; For any of the devices, selecting the minimum latitude and longitude distance as the target longitude and latitude distance; According to the distance of each target longitude and latitude, each measured longitude and latitude is respectively mapped to the device collection data of the corresponding IoT desensitized data to obtain the real device data corresponding to each device.

7. An IoT data desensitization binding device, characterized in that: The device comprises: The regional data acquisition module is used to obtain the actual scale information of the target area and the real longitude and latitude corresponding to each device in the target area; A data table definition module, used to define a grid blank data table of the target area according to the actual scale information; the grid blank data table includes a plurality of grid center points; A latitude and longitude mapping module, used to map the real longitude and latitude corresponding to each of the devices to the center point of the grid closest to the device, to obtain the mapped longitude and latitude corresponding to each device; The desensitized data acquisition module is used to map each of the mapped longitudes and latitudes to the corresponding device collection data of each of the devices, and generate the Internet of Things desensitized data of the target area.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.