A method, device and storage medium for region identification

Through spatial indexing technology and desensitization processing, it can identify whether an autonomous vehicle is in a sensitive area, solve the problem of location information leakage when an autonomous vehicle enters a sensitive area, achieve accurate identification and information protection, and improve the applicability of autonomous driving technology.

CN112611389BActive Publication Date: 2024-09-06CENNAVI TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011520884.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-21
Publication Date
2024-09-06
Estimated Expiration
2040-12-21

AI Technical Summary

Technical Problem

When an autonomous vehicle enters a sensitive area, it cannot identify its location, causing the location information of the sensitive area to be leaked, which may cause unpredictable consequences.

Method used

By obtaining the initial location information of the current data point, using spatial index technology to match the target geofence information, determine whether the area is a sensitive area, and perform desensitization processing when identified as a sensitive area, including deflection processing and asymmetric encryption, to generate encryption location information.

Benefits of technology

Accurately identify whether an autonomous vehicle is in a sensitive area, prevent leakage of location information, improve the applicability of autonomous driving technology, and meet market demand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112611389B
    Figure CN112611389B
Patent Text Reader

Abstract

The present application provides a method, device and storage medium for identifying an area, and relates to the field of computer application technology. It is capable of accurately identifying whether an autonomous driving vehicle is in a sensitive area. The method comprises: first, matching a spatial index according to the initial position information of the current data point obtained, and determining the target geographic fence information corresponding to the current data point. Afterwards, the target geographic fence information is at least used to characterize the location of the area contained in the target geographic fence. Finally, based on the target geographic fence information, it is determined whether the area enclosed by the target geographic fence is a sensitive area. The embodiment of the present invention is applied to a positioning system.
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 region identification method, device and storage medium. Background Art

[0002] Autonomous driving is a key technology to realize "smart cars" and "smart transportation", and is also an inevitable trend in the development of automobiles in the future. Autonomous driving technology usually relies on the positioning of autonomous driving vehicles. However, there are some sensitive areas at home and abroad (such as civil aviation airports, office buildings, etc.), and these sensitive areas need to keep their location information confidential for some special reasons. When an autonomous driving vehicle enters a sensitive area, the leakage of the location information of the sensitive area may cause unpredictable consequences due to the inability to identify that the autonomous driving vehicle is in a sensitive area. Therefore, how to accurately identify whether an autonomous driving vehicle is in a sensitive area has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The present application provides a region identification method, device and storage medium, which can accurately identify whether an autonomous driving vehicle is in a sensitive area.

[0004] In order to achieve the above objectives, this application adopts the following technical solutions:

[0005] In a first aspect, the present application provides a method for identifying an area, the method comprising: first, matching a spatial index according to the initial position information of a current data point obtained, and determining the target geofence information corresponding to the current data point. Then, the target geofence information is at least used to characterize the location of the area contained in the target geofence. Finally, based on the target geofence information, determining whether the area enclosed by the target geofence is a sensitive area.

[0006] Optionally, when it is determined that the area included in the target geo-fence is a sensitive area, the initial location information is desensitized.

[0007] Optionally, desensitizing the initial position information includes: deflecting the initial position information to generate intermediate position information, and encrypting the intermediate position information based on an asymmetric encryption algorithm using a preset dynamic key to generate encrypted position information.

[0008] Optionally, the initial position information is deflected to generate intermediate position information, including: adding a deflection threshold to the initial position information to generate the intermediate position information; the deflection threshold is determined by the sensitivity of the area enclosed by the target geographic fence.

[0009] Optionally, before obtaining the initial location information of the current data point, it also includes: obtaining the current road test information of the map interface and the area corresponding to the map interface; determining at least one alternative geographic fence in the map interface; correcting at least one alternative geographic fence based on the current road test information, and determining at least one geographic fence of the map interface.

[0010] Optionally, after determining at least one geo-fence of the map interface, the method further includes: determining that an area enclosed by at least one geo-fence is a geo-fence of a sensitive area; and marking the geo-fence as a sensitive area.

[0011] Optionally, after determining at least one geographic fence of the map interface, the method further includes: adding a buffer area outside each geographic fence according to a preset ratio.

[0012] In the above method, the problem of leakage of sensitive area location information due to the inability to identify that the autonomous driving vehicle is in a sensitive area when the autonomous driving vehicle enters a sensitive area is taken into consideration. The present invention determines the geographic fence information corresponding to the current data point based on the initial location information of the current data point by utilizing spatial indexing technology. Then, it is determined whether the area enclosed by the geographic fence is a sensitive area based on the geographic fence information. Based on the above technical solution, it is possible to accurately identify whether the autonomous driving vehicle is in a sensitive area. The applicability of autonomous driving technology is improved, thereby making autonomous driving technology more in line with market demand.

[0013] In a second aspect, the present application provides a region identification device, which includes an acquisition unit and a processing unit. The acquisition unit is used to acquire the initial position information of the current data point; the processing unit is used to match the spatial index according to the initial position information acquired by the acquisition unit to determine the target geofence information corresponding to the current data point; the target geofence information is at least used to characterize the position of the region included in the target geofence; the processing unit is also used to determine whether the area enclosed by the target geofence is a sensitive area based on the target geofence information.

[0014] Optionally, the processing unit is further used to desensitize the initial location information when it is determined that the area included in the target geographic fence is a sensitive area.

[0015] Optionally, the processing unit is specifically used to perform deflection processing on the initial position information to generate the intermediate position information. The processing unit is also used to encrypt the intermediate position information based on an asymmetric encryption algorithm using a preset dynamic key to generate the encrypted position information.

[0016] Optionally, the processing unit is specifically used to add a deflection threshold to the initial position information to generate intermediate position information; the deflection threshold is determined by the sensitivity of the area enclosed by the target geographic fence.

[0017] Optionally, the acquisition unit is further configured to acquire the current drive test information in the map interface and the area corresponding to the map interface. The processing unit is configured to determine at least one candidate geo-fence in the map interface acquired by the acquisition unit. The processing unit is further configured to modify at least one candidate geo-fence according to the current drive test information acquired by the acquisition unit, and determine at least one geo-fence in the map interface.

[0018] Optionally, the processing unit is further configured to determine that an area enclosed by at least one geo-fence is a geo-fence of a sensitive area. The processing unit is specifically configured to mark the geo-fence as a sensitive area.

[0019] Optionally, the processing unit is further used to add a buffer area around the periphery of each geo-fence according to a preset ratio.

[0020] In a third aspect, the present application provides a region identification device, the region identification device comprising a memory and a processor. The memory and the processor are coupled. The memory is used to store computer program code, the computer program code comprising computer instructions. When the processor executes the computer instructions, the region identification device performs the region identification method provided in the first aspect or the region identification method described in any possible design mode of the first aspect.

[0021] In a fourth aspect, the present application provides a chip system, which is applied to a region identification device; the chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected through a line; the interface circuit is used to receive a signal from a memory of the region identification device and send a signal to the processor, the signal including a computer instruction stored in the memory. When the processor executes the computer instruction, the region identification device executes the region identification method provided in the first aspect or the region identification method of any possible design method in the first aspect.

[0022] In a fifth aspect, the present application provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on a region identification device, the region identification device implements the region identification method provided in the first aspect or the region identification method described in any possible design method in the first aspect.

[0023] In a sixth aspect, the present application provides a computer program product, which includes computer instructions. When the computer instructions are executed on a region identification device, the region identification device executes the region identification method provided in the first aspect or the region identification method described in any possible design method in the first aspect.

[0024] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium, wherein the computer-readable storage medium may be packaged together with the processor of the region identification device, or may be packaged separately from the processor of the region identification device, which is not limited in this application.

[0025] The description of the second, third, fourth, fifth and sixth aspects in this application can refer to the detailed description of the first aspect and its various implementations; and the beneficial effects of the second, third, fourth, fifth and sixth aspects can refer to the analysis of the beneficial effects in the first aspect and its various implementations, which will not be repeated here.

[0026] In this application, the name of the above-mentioned area identification device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalent technologies.

[0027] These and other aspects of the present application will become more apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A schematic diagram of the structure of a region identification system provided by an embodiment of the present invention;

[0029] Figure 2 A schematic diagram of the hardware structure of a communication device provided by an embodiment of the present invention;

[0030] Figure 3 One of the flow charts of a region identification method provided by an embodiment of the present invention;

[0031] Figure 4 A second flow chart of a region identification method provided by an embodiment of the present invention;

[0032] Figure 5 A third flow chart of a region identification method provided by an embodiment of the present invention;

[0033] Figure 6 A fourth flow chart of a region identification method provided by an embodiment of the present invention;

[0034] Figure 7 A fifth flow chart of a region identification method provided by an embodiment of the present invention;

[0035] Figure 8 A schematic diagram of the structure of a region identification device provided by an embodiment of the present invention;

[0036] Fig. 9 A schematic diagram of the structure of a computer program product of a region identification method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0037] A region identification method, device and storage medium provided by an embodiment of the present invention are described in detail below with reference to the accompanying drawings.

[0038] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0039] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0040] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.

[0041] It should be noted that, in the embodiments of the present invention, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0042] In the description of the present application, unless otherwise specified, “plurality” means two or more.

[0043] It is understandable that in actual applications, the sequence of steps of the region recognition method provided by the embodiment of the present invention may be adjusted, and the embodiment of the present invention does not limit this.

[0044] When an autonomous vehicle enters a sensitive area, the inability to identify that the autonomous vehicle is in a sensitive area may lead to the leakage of sensitive area location information, which may cause unpredictable consequences. Therefore, how to accurately identify whether an autonomous vehicle is in a sensitive area has become a technical problem that needs to be solved urgently.

[0045] In view of this, an embodiment of the present invention provides a region recognition method to solve the above technical problems. First, the region recognition method provided by the embodiment of the present invention can be applied to a region recognition system. Figure 1 An embodiment of the present invention provides a possible structure of a region identification system, which includes: a device 10 and a region identification apparatus 20.

[0046] exist Figure 1 The device 10 in the figure is shown as a vehicle, which is traveling on a road 30, for example. The road 30 may be an open road or an internal road, etc. The vehicles described herein may include, but are not limited to, cars, trucks, buses, electric cars, motorcycles, RVs, trains, etc. In some embodiments, the device 10 may be a vehicle with partial or full autonomous driving capabilities, also referred to as an unmanned vehicle. Optionally, in other embodiments, the device 10 may also be other devices or vehicles to be located, etc. The scope of the embodiments of the present invention is not limited in this respect.

[0047] In addition, the region identification device 20 may be a computer device. Exemplarily, one implementation of the computer device is a server. The server may be a physical server or a cloud server. The present application does not impose any limitation on the form of the region identification device 20.

[0048] Here, the system architecture and application scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.

[0049] Figure 2 FIG. 1 is a schematic diagram showing the hardware structure of a communication device provided by an embodiment of the present invention. The hardware structure of the device 10 and the region identification device 20 in the embodiment of the present invention can refer to FIG. Figure 2 The communication device includes a processor 41, a communication line 44 and at least one transceiver ( Figure 2 The description is merely illustrative and takes the transceiver 43 as an example).

[0050] The processor 41 may include one or more processing units, for example, the processor 41 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a video processing unit (VPU) controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated in one or more processors.

[0051] The controller can be the nerve center and command center of the communication device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0052] The processor 41 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 41 is a cache memory. The memory may store instructions or data that the processor 41 has just used or cyclically used. If the processor 41 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 41, and thus improves the efficiency of the system.

[0053] In some embodiments, the processor 41 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, a serial peripheral interface (SPI) interface, etc.

[0054] The communication link 44 may include a pathway for transmitting information between the above-mentioned components.

[0055] The transceiver 43 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.

[0056] Optionally, the communication device may further include a memory 42 .

[0057] The memory 42 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be independent and connected to the processor via a communication line 44. The memory may also be integrated with the processor.

[0058] The memory 42 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 41. The processor 41 is used to execute the computer-executable instructions stored in the memory 42, thereby realizing the region identification method provided in the following embodiments of the present application.

[0059] Optionally, the computer-executable instructions in the embodiment of the present invention may also be referred to as application program codes, which is not specifically limited in the embodiment of the present invention.

[0060] In a specific implementation, as an embodiment, the processor 41 may include one or more CPUs, such as Figure 2 CPU0 and CPU1 in.

[0061] In a specific implementation, as an embodiment, the communication device may include multiple processors, such as Figure 241 and processor 45 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0062] The following will be combined Figure 1 to Figure 2 A region identification method provided by an embodiment of the present invention is specifically described.

[0063] It should be noted that the message names between network elements or the names of parameters in the messages in the following embodiments of the present application are merely examples, and other names may be used in specific implementations, which are not specifically limited in the embodiments of the present invention.

[0064] It should be pointed out that the various embodiments of the present application can refer to each other, for example, the same or similar steps, method embodiments, communication system embodiments and device embodiments can refer to each other without limitation.

[0065] Next, combine Figure 1 and Figure 2 A region identification method is specifically described in an embodiment of the present invention.

[0066] The technical principle of the area identification method provided by the embodiment of the present invention is: based on the initial location information of the current data point, by matching the spatial index established by multiple geo-fence information, the target geo-fence information corresponding to the initial location information of the current data point in multiple geo-fence information is determined. Then, based on the target geo-fence information, it is determined whether the area enclosed by it is a sensitive area. This solves the existing problem of leakage of sensitive area location information due to the inability to identify that the autonomous driving vehicle is in a sensitive area.

[0067] Reference Figure 3, the method provided by the embodiment of the present invention mainly includes three parts. The first part mainly includes: generating a geographic fence based on a map interface. Specifically, the process of generating a geographic fence also includes verifying, correcting and updating the geographic fence based on the current road test information. The second part mainly includes: generating a spatial index based on the geographic fence generated in the first part. Based on the spatial index, the data point is judged to determine which geographic fence the data point specifically corresponds to, and the area enclosed by the geographic fence corresponding to the data point is judged as a sensitive area, and the judgment result is output. The third part mainly includes: when the judgment result is that the area enclosed by the geographic fence is a sensitive area, the location information of the data point is deflected and asymmetric encryption is performed using a preset dynamic key. Among them, the third part can also include regular maintenance of the preset dynamic key. The maintenance method includes but is not limited to updating the preset dynamic key according to a preset period. It should be noted that, Figure 3 The method provided in the embodiment of the present invention is briefly shown to mainly include three parts, and please refer to the above description for details.

[0068] Reference Figure 4 The region identification method provided by the embodiment of the present invention specifically includes the following steps:

[0069] S401: The region identification device obtains initial position information of the current data point.

[0070] Exemplarily, the initial location information of the current data point includes one or both of the geographic coordinates and the longitude and latitude of the current data point.

[0071] For example, the current data point takes a vehicle as an example, and the vehicle has an automatic driving function. The vehicle may be equipped with a radar LiDAR for real-time collection of point cloud data. The area recognition device takes a computer device as an example. The initial position information of the vehicle may be the positioning information of the vehicle, which is specifically obtained in the following manner: the computer device may obtain the point cloud data collected by the LiDAR in real time from the vehicle, and determine the current positioning information of the vehicle at least based on the point cloud data. The positioning information may indicate the position and posture of the vehicle in a specific coordinate system. For example, in a two-dimensional coordinate system, the position and posture of an object may be represented by two-dimensional coordinates and a heading angle. In a three-dimensional coordinate system, the position and posture of an object may be represented by three-dimensional coordinates, a pitch angle, a heading angle, and a roll angle. Additionally, in some embodiments, the vehicle may also be equipped with an inertial measurement unit (IMU) for real-time collection of inertial measurement data (such as angular velocity collected by a gyroscope, zero bias of a gyroscope, acceleration collected by an accelerometer, zero bias of an accelerometer, etc.). The computer device can obtain the inertial measurement data and the point cloud data collected by the LiDAR in real time from the vehicle, and determine the current positioning result "1" of the vehicle based at least on the inertial measurement data and the point cloud data.

[0072] S402: The area identification device matches the spatial index according to the initial position information to determine the target geographic fence information corresponding to the current data point.

[0073] The target geo-fence information is at least used to characterize the area location included in the target geo-fence.

[0074] Exemplarily, the data structure of the spatial index is at least any one of the following: a binary space partitioning (BSP) tree, a KDB tree, an R tree, an R+ tree, and a CELL tree. A more preferred choice is an R tree.

[0075] Optionally, taking the initial position information as geographic coordinates as an example, one implementation method for matching the spatial index according to the initial position information is to use the index table corresponding to each geographic fence in the spatial index to index the geographic coordinates. Specifically, it can be to determine whether the geographic coordinates are within the polygon formed by a certain geographic fence. Here, an existing index table can be used for indexing, or other methods can be used. For example, the preset area is divided into multiple blocks, and each block is further divided twice to generate multiple geographic fences. Therefore, to determine the geographic fence where the geographic coordinates are located, the corresponding block information can be obtained through the geographic coordinates, and then the geographic fence information of the geographic coordinates can be determined according to the geographic fence information corresponding to the block information. Since it is no longer necessary to call the index table for comprehensive indexing for each geographic coordinate separately, but first determine the block where the geographic coordinates are located, that is, first determine a relatively small small range where the geographic coordinates are located, and then subdivide the small range to obtain the geographic fence information corresponding to the geographic coordinates. Since the amount of geographic fence information corresponding to each block is relatively small, the efficiency of parsing is greatly improved.

[0076] S403: The area identification device determines whether the area enclosed by the target geo-fence is a sensitive area based on the target geo-fence information.

[0077] Exemplarily, whether the area enclosed by the target geo-fence is a sensitive area can be determined based on a mark in the target geo-fence information. The implementation of the mark in the target geo-fence information will be described in detail below.

[0078] In the above method, the problem of leakage of sensitive area location information due to the inability to identify that the autonomous driving vehicle is in a sensitive area when the autonomous driving vehicle enters a sensitive area is taken into consideration. The present invention determines the geographic fence information corresponding to the current data point based on the initial location information of the current data point by utilizing spatial indexing technology. Then, it is determined whether the area enclosed by the geographic fence is a sensitive area based on the geographic fence information. Based on the above technical solution, it is possible to accurately identify whether the autonomous driving vehicle is in a sensitive area. The applicability of autonomous driving technology is improved, thereby making autonomous driving technology more in line with market demand.

[0079] In one implementation, combining Figure 4 , refer to Figure 5 When the area contained in the target geo-fence is identified as a sensitive area based on the above S401-S403, in order to ensure that the location information of the target geo-fence is not leaked, the following operations are performed on the initial location information of the current data point. Therefore, after S403, the following may also be included:

[0080] S404: When the area recognition device determines that the area included in the target geographic fence is a sensitive area, the area recognition device performs desensitization processing on the initial location information.

[0081] It should be noted that the desensitization processing involved in this method mainly performs data desensitization on the initial position information, and deforms the data by using preset desensitization rules on the initial position information.

[0082] Specifically, the preset desensitization rule can be any of the following:

[0083] Method 1: Desensitization by random value replacement. This method uses random value replacement (letters become random letters, numbers become random numbers) to change the results returned by the query.

[0084] Method 2: Desensitization by replacing special characters. This method is different from random value replacement. When processing the data to be desensitized, this method uses special characters (such as "*") to replace.

[0085] Method 3: Encryption desensitization. This method can use a key to perform symmetric or asymmetric encryption on sensitive data. This method mainly uses asymmetric encryption.

[0086] In this implementation, when it is determined that the area enclosed by the target geographic fence to which the initial location information belongs is a sensitive area, the initial location information is desensitized to achieve reliable protection of sensitive data and avoid leakage of location information in sensitive areas.

[0087] In one implementation, combining Figure 5 , refer to Figure 6 When the above-mentioned method 3 is adopted to implement the desensitization processing of the initial position information, the implementation method of S404 is specifically explained.

[0088] S4041. The area identification device performs deflection processing on the initial position information to generate intermediate position information.

[0089] Optionally, a deflection threshold is added to the initial position information to generate intermediate position information; the deflection threshold is determined by the sensitivity of the area enclosed by the target geographic fence.

[0090] It should be noted that the deflection threshold is specifically a deflection parameter in the initial position information, which can be determined based on the sensitivity of the area surrounded by the target geofence; it can also be determined by other methods. For example, the absolute coordinates of multiple points in the target geofence are obtained; the absolute coordinates are deflected to generate relative coordinates corresponding to the absolute coordinates; based on the absolute coordinates and the relative coordinates, the longitude deflection parameters and latitude deflection parameters corresponding to the multiple points are determined. Afterwards, the longitude deflection parameters and latitude deflection parameters are added to the initial position information to generate the deflected position coordinate information (i.e., the intermediate position information).

[0091] Exemplarily, after the area identification device generates coordinate data corresponding to the current position through high-precision positioning solution, the longitude deflection parameter and the latitude deflection parameter are added to the coordinate data through a function model to generate the deflected position information, that is, the deflected position coordinate information.

[0092] S4042. The area identification device uses a preset dynamic key based on an asymmetric encryption algorithm to encrypt the intermediate location information to generate encrypted location information.

[0093] Exemplarily, the asymmetric encryption algorithm may be any of the following: RSA algorithm; Elliptic Curve Digital Signature Algorithm (ECDSA); Digital Signature Algorithm (DSA). In a possible implementation, the embodiment of the present invention preferentially uses the RSA algorithm as the asymmetric encryption algorithm to encrypt the intermediate location information using a preset dynamic key.

[0094] The embodiment of the present invention desensitizes the initial location information by deflecting it and then encrypting it using a preset dynamic key based on an asymmetric encryption algorithm. This effectively prevents the leakage of the location information of the sensitive area due to the leakage of the initial location information.

[0095] In one implementation, combining Figure 4 , refer to Figure 7 , the embodiment of the present invention provides a method for determining a geographic fence. Therefore, before S401, the following steps may also be included:

[0096] S401a, the area recognition device obtains a map interface and current drive test information in an area corresponding to the map interface.

[0097] It should be noted that the size of the area included in the map interface can obtain the corresponding range as needed, for example, a map interface of a province or a city, etc. The embodiment of the present invention does not impose any limitation on the size of the area displayed in the map interface.

[0098] S401b. The area identification device determines at least one candidate geographic fence in the map interface.

[0099] Specifically, when determining at least one alternative geographic fence in the map interface, the geographical distribution of these target locations in the map interface is determined by obtaining the target locations in the map interface and the marked areas to which the target locations belong, that is, the geographical coordinates of these target locations are obtained. Among them, the method of obtaining the geographical coordinates of the target locations can be to obtain the geographical coordinates of each target location, such as longitude and latitude coordinates, based on the electronic maps provided by each map provider. Afterwards, cluster calculations are performed on the target locations contained in each marked area according to the geographical coordinates corresponding to the target locations, and cluster areas corresponding to each marked area are obtained. Then, after obtaining the geographical coordinates of the target locations contained in the map interface, cluster calculations are performed on the corresponding target locations according to these geographical coordinates, and the map interface is divided into several cluster areas. Finally, a geographic fence of the marked area is generated based on the cluster area.

[0100] S401c: The area identification device corrects at least one candidate geographic fence according to the current drive test information, and determines at least one geographic fence on the map interface.

[0101] In this implementation, the candidate geofence is first determined based on the map interface, and then the candidate geofence is corrected based on the current roadside information, which can improve the accuracy of the geofence and make the generated geofence more consistent with the actual geographical distribution.

[0102] In one implementation, referring to Figure 7 , after S401c, S401d, S401e and S401f may be included.

[0103] S401d. The area identification device determines that the area enclosed by at least one geo-fence is a geo-fence of a sensitive area.

[0104] S401e. The area identification device marks the geographic fence as a sensitive area.

[0105] Exemplarily, whether the area enclosed by the target geofence is a sensitive area can be determined based on the mark in the target geofence information. The mark can be "0" or "1". Among them, "0" indicates that the area enclosed by the target geofence is a non-sensitive area; "1" indicates that the area enclosed by the target geofence is a sensitive area. Here, the embodiment of the present invention only exemplarily describes an implementation form of sensitive area marking and does not constitute a limitation. For example, the mark can be "1" or "2". "1" and "2" represent sensitive areas and non-sensitive areas, respectively.

[0106] The embodiment of the present invention can make it more convenient to determine whether the area enclosed by the target geo-fence corresponding to the current data point is a sensitive area by marking the area enclosed by at least one geo-fence as a sensitive area.

[0107] S401f. The area identification device adds a buffer area outside each geographic fence according to a preset ratio.

[0108] The embodiment of the present invention adds a buffer area at a preset ratio outside each geographic fence, thereby realizing dynamic adjustment of the geographic fence.

[0109] It should be noted that the embodiment of the present invention does not limit the execution order of S401d and S401f.

[0110] The above mainly introduces the solution provided by the embodiment of the present invention from the perspective of the method. In order to achieve the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0111] like Figure 8 FIG. 2 is a schematic diagram of a region identification device 20 provided in an embodiment of the present invention. The region identification device 20 is used to perform Figure 4 The region identification method shown in the figure. The region identification device 20 includes: an acquisition unit 301 and a processing unit 302.

[0112] Specifically, the acquisition unit 301 is used to acquire the initial position information of the current data point. For example, the acquisition unit 301 can be used to implement the following Figure 4 S401 shown.

[0113] The processing unit 302 is used to match the spatial index according to the initial position information obtained by the acquisition unit 301, and determine the target geofence information corresponding to the current data point; the target geofence information is at least used to characterize the area position included in the target geofence. For example, the processing unit 302 can be used to implement the following Figure 4 S402 shown.

[0114] The processing unit 302 is further configured to determine whether the area surrounded by the target geofence is a sensitive area based on the target geofence information. Figure 4 S403 shown.

[0115] In a possible implementation, the processing unit 302 is further configured to desensitize the initial location information when the area included in the target geo-fence is determined to be a sensitive area. Figure 5 S404 shown.

[0116] In a possible implementation, the processing unit 302 is specifically used to perform deflection processing on the initial position information to generate the intermediate position information. For example, the processing unit 302 can be used to implement the following Figure 6 S4041 shown.

[0117] The processing unit 302 is further configured to encrypt the intermediate location information based on an asymmetric encryption algorithm using a preset dynamic key to generate encrypted location information. For example, the processing unit 302 may be used to implement the following: Figure 6 S4042 shown.

[0118] In a possible implementation, the processing unit 302 is specifically configured to add a deflection threshold to the initial position information to generate intermediate position information; the deflection threshold is determined by the sensitivity of the area enclosed by the target geographic fence.

[0119] In a possible implementation, the acquisition unit 301 is further used to acquire the map interface and the current drive test information in the area corresponding to the map interface. Figure 7 S401a shown.

[0120] The processing unit 302 is configured to determine at least one candidate geographic fence in the map interface obtained by the obtaining unit 301. For example, the processing unit 302 may be used to implement the following Figure 7 S401b shown.

[0121] The processing unit 302 is further configured to modify at least one candidate geographic fence according to the current drive test information acquired by the acquisition unit 301, and determine at least one geographic fence of the map interface. For example, the processing unit 302 may be used to implement the following Figure 7 S401c shown.

[0122] In a possible implementation, the processing unit 302 is further configured to determine that at least one area enclosed by a geo-fence is a geo-fence of a sensitive area. Figure 7 S401d shown.

[0123] The processing unit 302 is specifically used to mark the geo-fence as a sensitive area. For example, the processing unit 302 can be used to implement the following Figure 7 S401e shown.

[0124] In a possible implementation, the processing unit 302 is further configured to add a buffer area around each geo-fence according to a preset ratio. Figure 7 S401f shown.

[0125] Of course, the region identification device 20 provided in the embodiment of the present invention includes but is not limited to the above modules. For example, the region identification device 20 may also include a sending unit 303 and a storage unit 304. The sending unit 303 may be used to send relevant data in the region identification device 20 to other devices to implement data interaction with other devices. The storage unit 304 may be used to store the program code of the region identification device 20, and may also be used to store data generated by the region identification device 20 during operation, such as data in a write request.

[0126] Here, the system architecture and business scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.

[0127] In some embodiments, the disclosed methods may be implemented as computer program instructions encoded in a machine-readable format on a computer-readable storage medium or on other non-transitory media or articles of manufacture.

[0128] Fig. 9 The diagram schematically shows a conceptual partial view of a computer program product provided by an embodiment of the present invention, wherein the computer program product includes a computer program for executing a computer process on a computing device.

[0129] In one embodiment, the computer program product is provided using a signal bearing medium 410. The signal bearing medium 410 may include one or more program instructions, which when executed by one or more processors may provide the above-mentioned Figure 4 Thus, for example, reference to Figure 4 In the embodiment shown in , one or more features of S401-S403 may be undertaken by one or more instructions associated with the signal bearing medium 410. In addition, Fig. 9 The program instructions in also describe example instructions.

[0130] In some examples, signal bearing medium 410 may include computer readable medium 411, such as, but not limited to, a hard drive, a compact disk (CD), a digital video disk (DVD), a digital tape, a memory, a read-only memory (ROM), or a random access memory (RAM), and the like.

[0131] In some implementations, signal bearing medium 410 may include computer recordable medium 412 such as, but not limited to, memory, read / write (R / W) CD, R / W DVD, and the like.

[0132] In some implementations, signal bearing medium 410 may include communication medium 413 such as, but not limited to, digital and / or analog communication media (eg, fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).

[0133] The signal bearing medium 410 may be communicated by a wireless form of communication medium 413 (eg, a wireless communication medium complying with the IEEE 802.41 standard or other transmission protocols). The one or more program instructions may be, for example, computer executable instructions or logic implemented instructions.

[0134] In some examples, such as for Figure 3 The described writing data device may be configured to provide various operations, functions, or actions in response to one or more program instructions via computer-readable medium 411 , computer-recordable medium 412 , and / or communication medium 413 .

[0135] In addition, an embodiment of the present invention further provides a chip system, which is applied to a region identification device; the chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected through a line; the interface circuit is used to receive a signal from the memory of the region identification device and send a signal to the processor, the signal including a computer instruction stored in the memory. When the processor executes the computer instruction, the region identification device executes the region identification method provided in the first aspect or the region identification method of any possible design method in the first aspect.

[0136] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0137] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0138] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0139] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0140] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks or optical disks.

[0141] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A region recognition method, characterized in that: include: Obtaining a map interface and current drive test information in an area corresponding to the map interface; Acquire a target location in the map interface and a marked area to which the target location belongs; Performing clustering calculation on the target locations contained in each marked area according to the geographic coordinates corresponding to the target locations to obtain clustering areas corresponding to each marked area; obtaining the geographic coordinates of the target locations contained in the map interface, performing clustering calculation on the corresponding target locations according to the geographic coordinates, and dividing the map interface into a plurality of clustering areas; generating geographic fences of the marked areas according to the clustering areas; determining at least one candidate geofence in the geofence of the marked area; Modifying the at least one candidate geo-fence according to the current drive test information to determine at least one geo-fence of the map interface; Get the initial position information of the current data point; According to the initial location information, the spatial index is matched to determine the target geographic fence information corresponding to the current data point; The target geo-fence information is at least used to characterize the area location included in the target geo-fence; Based on the target geo-fence information, determine whether the area enclosed by the target geo-fence is a sensitive area.

2. The region recognition method according to claim 1, characterized in that: Also includes: When it is determined that the area included in the target geographic fence is a sensitive area, the initial location information is desensitized.

3. The region recognition method according to claim 2, characterized in that: The desensitizing the initial location information includes: Performing deflection processing on the initial position information to generate intermediate position information; The intermediate location information is encrypted using a preset dynamic key based on an asymmetric encryption algorithm to generate encrypted location information.

4. The region recognition method according to claim 3, characterized in that: The deflecting the initial position information to generate the intermediate position information includes: A deflection threshold is added to the initial position information to generate the intermediate position information; the deflection threshold is determined by the sensitivity of the area enclosed by the target geographic fence.

5. The region recognition method according to claim 1, characterized in that: After determining at least one geographic fence of the map interface, the method further includes: Determining that the area enclosed by the at least one geo-fence is the geo-fence of the sensitive area; The geo-fence for the sensitive area is marked.

6. The region recognition method according to claim 5, characterized in that: After determining at least one geographic fence of the map interface, the method further includes: Add a buffer area around each geofence at a preset ratio.

7. A region recognition device, characterized in that: include: An acquisition unit, used to acquire initial position information of a current data point; a processing unit, configured to match a spatial index according to the initial position information acquired by the acquisition unit, and determine target geographic fence information corresponding to the current data point; The target geo-fence information is at least used to characterize the area location included in the target geo-fence; The processing unit is further configured to determine whether the area enclosed by the target geo-fence is a sensitive area based on the target geo-fence information; The acquisition unit is further used to acquire the map interface and the current drive test information in the area corresponding to the map interface; The processing unit is used to obtain the target location in the map interface and the marked area to which the target location belongs; Performing clustering calculation on the target locations contained in each marked area according to the geographic coordinates corresponding to the target locations to obtain clustering areas corresponding to each marked area; obtaining the geographic coordinates of the target locations contained in the map interface, performing clustering calculation on the corresponding target locations according to the geographic coordinates, and dividing the map interface into a plurality of clustering areas; generating geographic fences of the marked areas according to the clustering areas; determining at least one candidate geofence in the geofence of the marked area; The processing unit is further configured to correct the at least one candidate geographic fence according to the current drive test information acquired by the acquisition unit, and determine at least one geographic fence of the map interface.

8. The area recognition device according to claim 7, characterized in that: include: The processing unit is further configured to desensitize the initial location information when it is determined that the area included in the target geographic fence is a sensitive area.

9. The area recognition device according to claim 8, characterized in that: include: The processing unit is specifically used to perform deflection processing on the initial position information to generate intermediate position information; The processing unit is further used to encrypt the intermediate location information based on an asymmetric encryption algorithm using a preset dynamic key to generate encrypted location information.

10. The area recognition device according to claim 9, characterized in that: include: The processing unit is specifically configured to add a deflection threshold to the initial position information to generate the intermediate position information; The deflection threshold is determined by the sensitivity of the area enclosed by the target geo-fence.

11. The area recognition device according to claim 7, characterized in that: include: The processing unit is further configured to determine that the area enclosed by the at least one geo-fence is the geo-fence of the sensitive area; The processing unit is specifically used to mark the geographic fence of the sensitive area.

12. The area recognition device according to claim 7, characterized in that: include: The processing unit is further used to add a buffer area outside each geographic fence according to a preset ratio.

13. A region recognition device, characterized in that: The region identification device includes a memory and a processor; the memory and the processor are coupled; the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor executes the computer instructions, the region identification device executes the region identification method as described in any one of claims 1-6.

14. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on a region identification device, enable the region identification device to execute the region identification method as claimed in any one of claims 1 to 6.