WO2022267177A1 - 地址脱敏方法、装置、电子设备及存储介质 - Google Patents

地址脱敏方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2022267177A1
WO2022267177A1 PCT/CN2021/109395 CN2021109395W WO2022267177A1 WO 2022267177 A1 WO2022267177 A1 WO 2022267177A1 CN 2021109395 W CN2021109395 W CN 2021109395W WO 2022267177 A1 WO2022267177 A1 WO 2022267177A1
Authority
WO
WIPO (PCT)
Prior art keywords
latitude
longitude
preset
desensitized
address information
Prior art date
Application number
PCT/CN2021/109395
Other languages
English (en)
French (fr)
Inventor
许超俊
Original Assignee
深圳壹账通智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2022267177A1 publication Critical patent/WO2022267177A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • G06F18/23213Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering

Definitions

  • the present application relates to the technical field of big data, and specifically relates to an address desensitization method, device, electronic equipment and storage medium.
  • the first aspect of the present application provides an address desensitization method, the method comprising:
  • a second aspect of the present application provides an electronic device, the electronic device includes a memory and a processor, the memory is used to store at least one computer-readable instruction, and the processor is used to execute the at least one computer-readable instruction to Implement the following steps:
  • a third aspect of the present application provides a computer-readable storage medium, the computer-readable storage medium stores at least one computer-readable instruction, and when the at least one computer-readable instruction is executed by a processor, the following steps are implemented:
  • a fourth aspect of the present application provides an address desensitization device, the device comprising:
  • the parsing module is used for parsing the address desensitization request to obtain structured address information to be desensitized and multiple preset maps;
  • a determining module configured to determine a plurality of first latitudes and longitudes of the structured address information to be desensitized according to the plurality of preset maps
  • a calculation module configured to calculate a second latitude and longitude corresponding to the structured address information to be desensitized according to the plurality of first latitudes and longitudes;
  • a simulated desensitization module configured to use a fully homomorphic encryption algorithm to perform simulated desensitization on the second latitude and longitude to obtain a third latitude and longitude;
  • a judging module configured to judge whether the third latitude and longitude meet the preset desensitization conditions
  • the anti-analysis module is configured to perform anti-analysis on the third latitude and longitude to obtain desensitized structured address information when the third latitude and longitude satisfies the preset desensitization condition.
  • the address desensitization method, device, electronic equipment and storage medium described in this application adopts a fully homomorphic encryption algorithm to perform simulation desensitization on the second latitude and longitude to obtain the third latitude and longitude, through
  • the second latitude and longitude is encrypted, and the encrypted second latitude and longitude is simulated and desensitized by using a fully homomorphic encryption algorithm to ensure the security of the second latitude and longitude, and through simulation desensitization, the address attributes of the latitude and longitude will not change, and the third longitude and latitude after desensitization has the relevant address information attribute meaning, which improves the authenticity of the desensitized address information;
  • the second latitude and longitude corresponding to the address information by calculating the relative distance between the multiple first latitude and longitude, and using the mean shift clustering algorithm according to the relative distance, the multiple first latitude and longitude
  • FIG. 1 is a flowchart of an address desensitization method provided in Embodiment 1 of the present application.
  • FIG. 2 is a structural diagram of an address desensitization device provided in Embodiment 2 of the present application.
  • FIG. 3 is a schematic structural diagram of an electronic device provided in Embodiment 3 of the present application.
  • FIG. 1 is a flowchart of an address desensitization method provided in Embodiment 1 of the present application.
  • the address desensitization method can be applied to electronic devices.
  • the address desensitization function provided by the method of this application can be directly integrated on the electronic device, or It runs in the electronic device in the form of a software development kit (Software Development Kit, SDK).
  • AI artificial intelligence
  • digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
  • Artificial intelligence basic technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation/interaction systems, and mechatronics.
  • Artificial intelligence software technology mainly includes several major directions such as computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, machine learning, and deep learning.
  • the address desensitization method specifically includes the following steps. According to different requirements, the order of the steps in the flow chart can be changed, and some of them can be omitted.
  • the client when the user performs address desensitization, the client initiates an address desensitization request to the server.
  • the client can be a smart phone, IPAD or other smart devices
  • the server can be an address desensitization request.
  • the desensitization subsystem during the address desensitization process, for example, the client can send an address desensitization request to the address desensitization subsystem, and the address desensitization subsystem is used to receive the address desensitization request sent by the client .
  • multiple preset maps can be preset.
  • the preset maps can be one or more of the following combinations: Baidu map, Google map, Gaode map, Tencent map, Sogou map, etc. .
  • the parsing the address desensitization request to obtain the structured address information to be desensitized and multiple preset maps includes:
  • Extract a plurality of map identifiers from the message information determine a corresponding map location link according to each map identifier, and trigger the address location link to jump to a corresponding map page, and obtain each map from the corresponding map page a preset map.
  • the map identifier is used to uniquely determine map identity information, and a corresponding map location link can be determined according to the map identifier, and each preset map can be obtained by triggering the map location link.
  • the above-mentioned address information to be desensitized can also be stored in a node of a block chain.
  • the first latitude and longitude of the structured address information to be desensitized determined by each preset map is different.
  • the determining the multiple first latitudes and longitudes of the structured address information to be desensitized according to the multiple preset maps includes:
  • each preset map Call the geocoding interface of each preset map, send the structured address information to be desensitized to the corresponding preset map through the geocoding interface, and receive the address code of each preset map The first latitude and longitude reported by the interface;
  • the multiple first latitudes and longitudes reported by the multiple preset maps are determined as the multiple first latitudes and longitudes of the structured address information to be desensitized.
  • the structured address information to be desensitized obtained from the client is relatively messy, and the structured address information to be desensitized is converted into a unified format according to the preset format conversion rule by setting format conversion rules in advance.
  • each preset map has a different address coding interface
  • the structured address information to be desensitized is sent and the first latitude and longitude is received. Pertinence improves the accuracy of obtaining multiple first latitudes and longitudes.
  • the second latitude and longitude is calculated by calculating multiple first latitudes and longitudes reported by multiple preset maps.
  • the calculating the second latitude and longitude corresponding to the structured address information to be desensitized according to the multiple first latitudes and longitudes includes:
  • the circular sliding window takes the center point as a center and a preset distance as a radius
  • the circular sliding window starts to slide from the center point, performs mean shift clustering, and retains the circular sliding window with the largest number of first latitude and longitude, and determines it as the target circular sliding window;
  • the method also includes:
  • the mean shift clustering algorithm is used according to the relative distances to cluster the multiple first latitudes and longitudes, and the first latitudes and longitudes with larger deviations are deleted, and the remaining ones are deleted.
  • the fully homomorphic encryption algorithm is used to represent that both addition and multiplication can be performed on the ciphertext, and the use of fully homomorphic encryption ensures that the data processor cannot know the plaintext information of the processed data, preventing the first Modify the second latitude and longitude to ensure the safety of the second latitude and longitude.
  • the use of a fully homomorphic encryption algorithm to simulate and desensitize the second latitude and longitude to obtain the third latitude and longitude includes:
  • the extended operation is performed on the ciphertext to obtain a new extended ciphertext, and the simulated desensitization is performed on the extended ciphertext to obtain the third latitude and longitude.
  • the simulated desensitization refers to performing any homomorphic operation on the extended ciphertext, specifically, the arbitrary homomorphic operation includes homomorphic addition and homomorphic multiplication.
  • the encrypted second latitude and longitude is simulated and desensitized by using a fully homomorphic encryption algorithm.
  • the security of the second latitude and longitude is ensured.
  • the address attributes of longitude and latitude will not change, and the desensitized third latitude and longitude has the meaning of relevant address information attributes, ensuring the authenticity of desensitized address information.
  • the desensitized longitude and latitude can be calculated for straight-line distance, participant positioning, mileage calculation, and accumulated steps calculation etc.
  • desensitization conditions can be preset, specifically, the preset desensitization conditions can include one or more of the following: a preset boundary threshold according to the client's needs, a preset boundary according to the business scenario Thresholds, border thresholds preset according to country borders, border thresholds preset according to province borders, or border thresholds preset according to city borders.
  • the judging whether the third latitude and longitude meets the preset desensitization conditions includes:
  • the third latitude and longitude is greater than the preset boundary threshold, it is determined that the third latitude and longitude does not satisfy a preset desensitization condition.
  • the client requires the desensitized third
  • the boundary value of Jiangxi as the preset boundary threshold
  • the method also includes:
  • the desensitized structured address information is obtained by de-analyzing the simulated desensitized third latitude and longitude. address information.
  • the de-parsing the third latitude and longitude to obtain desensitized structured address information includes:
  • a preset merging rule of the target map is acquired, and the plurality of address types are combined according to the preset merging rule to obtain desensitized structured address information.
  • a merging rule is preset for each preset map.
  • the corresponding preset merging rules are used to merge the multiple address types to obtain desensitized structured address information.
  • the method also includes:
  • the address is changed with the same nature, so that the desensitized structured address information has the relevant address information attribute meaning, and the authenticity of the desensitized structured address information is improved.
  • the address desensitization method described in this embodiment uses a fully homomorphic encryption algorithm to simulate and desensitize the second latitude and longitude to obtain a third latitude and longitude, and encrypts the second latitude and longitude , the encrypted second latitude and longitude is simulated and desensitized by means of a fully homomorphic encryption algorithm, which ensures the security of the second latitude and longitude, and through simulation desensitization, the address attributes of the longitude and latitude will not change, and the desensitized first latitude and longitude
  • the three latitudes and longitudes have relevant address information attribute meanings, which improves the authenticity of the desensitized address information; on the other hand, calculate the second latitude and longitude corresponding to the structured address information to be desensitized according to the multiple first latitudes and longitudes , by calculating the relative distance between the multiple first latitudes and longitudes, using the mean shift clustering algorithm according to the relative distances,
  • FIG. 2 is a structural diagram of an address desensitization device provided in Embodiment 2 of the present application.
  • the address desensitization device 20 may include a plurality of functional modules composed of program code segments.
  • the program codes of each program segment in the address desensitization device 20 can be stored in the memory of the electronic device and executed by the at least one processor to perform the function of address desensitization (see FIG. 1 for details).
  • the address desensitization device 20 can be divided into multiple functional modules according to the functions it performs.
  • the functional modules may include: an analysis module 201 , a determination module 202 , a calculation module 203 , a simulation desensitization module 204 , a judgment module 205 , an anti-analysis module 206 and a verification module 207 .
  • the module referred to in this application refers to a series of computer-readable instruction segments that can be executed by at least one processor and can complete fixed functions, and are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
  • the parsing module 201 is configured to parse the address desensitization request to obtain structured address information to be desensitized and multiple preset maps.
  • the client when the user performs address desensitization, the client initiates an address desensitization request to the server.
  • the client can be a smart phone, IPAD or other smart devices
  • the server can be an address desensitization request.
  • the desensitization subsystem during the address desensitization process, for example, the client can send an address desensitization request to the address desensitization subsystem, and the address desensitization subsystem is used to receive the address desensitization request sent by the client .
  • multiple preset maps can be preset.
  • the preset maps can be one or more of the following combinations: Baidu map, Google map, Gaode map, Tencent map, Sogou map, etc. .
  • the parsing module 201 parses the address desensitization request to obtain structured address information to be desensitized and multiple preset maps including:
  • Extract a plurality of map identifiers from the message information determine a corresponding map location link according to each map identifier, and trigger the address location link to jump to a corresponding map page, and obtain each map from the corresponding map page a preset map.
  • the map identifier is used to uniquely determine the map identity information, and the corresponding map location link can be determined according to the map identifier, and each preset map can be obtained by triggering the map location link.
  • the above-mentioned address information to be desensitized can also be stored in a node of a block chain.
  • the determining module 202 is configured to determine a plurality of first latitudes and longitudes of the structured address information to be desensitized according to the plurality of preset maps.
  • the first latitude and longitude of the structured address information to be desensitized determined by each preset map is different.
  • the determining module 202 determines the multiple first latitudes and longitudes of the structured address information to be desensitized according to the multiple preset maps, including:
  • each preset map Call the geocoding interface of each preset map, send the structured address information to be desensitized to the corresponding preset map through the geocoding interface, and receive the address code of each preset map The first latitude and longitude reported by the interface;
  • the multiple first latitudes and longitudes reported by the multiple preset maps are determined as the multiple first latitudes and longitudes of the structured address information to be desensitized.
  • the structured address information to be desensitized obtained from the client is relatively messy, and the structured address information to be desensitized is converted into a unified format according to the preset format conversion rule by setting format conversion rules in advance.
  • each preset map has a different address coding interface
  • the structured address information to be desensitized is sent and the first latitude and longitude is received. Pertinence improves the accuracy of obtaining multiple first latitudes and longitudes.
  • the calculation module 203 is configured to calculate a second latitude and longitude corresponding to the structured address information to be desensitized according to the multiple first latitudes and longitudes.
  • the second latitude and longitude is calculated by calculating multiple first latitudes and longitudes reported by multiple preset maps.
  • the computing module 203 calculating the second latitude and longitude corresponding to the structured address information to be desensitized according to the multiple first latitudes and longitudes of the computing module 203 includes:
  • the circular sliding window takes the center point as a center and a preset distance as a radius
  • the circular sliding window starts to slide from the center point, performs mean shift clustering, and retains the circular sliding window with the largest number of first latitude and longitude, and determines it as the target circular sliding window;
  • the mean shift clustering algorithm is used according to the relative distances to cluster the multiple first latitudes and longitudes, and the first latitudes and longitudes with larger deviations are deleted, and the remaining ones are deleted.
  • the simulated desensitization module 204 is configured to use a fully homomorphic encryption algorithm to perform simulated desensitization on the second latitude and longitude to obtain a third latitude and longitude.
  • the fully homomorphic encryption algorithm is used to represent that both addition and multiplication can be performed on the ciphertext, and the use of fully homomorphic encryption ensures that the data processor cannot know the plaintext information of the processed data, preventing the first Modify the second latitude and longitude to ensure the safety of the second latitude and longitude.
  • the simulation desensitization module 204 uses a fully homomorphic encryption algorithm to perform simulation desensitization on the second latitude and longitude, and obtain the third latitude and longitude including:
  • the extended operation is performed on the ciphertext to obtain a new extended ciphertext, and the simulated desensitization is performed on the extended ciphertext to obtain the third latitude and longitude.
  • the simulated desensitization refers to performing any homomorphic operation on the extended ciphertext, specifically, the arbitrary homomorphic operation includes homomorphic addition and homomorphic multiplication.
  • the encrypted second latitude and longitude is simulated and desensitized by using a fully homomorphic encryption algorithm.
  • the security of the second latitude and longitude is ensured.
  • the address attributes of longitude and latitude will not change, and the desensitized third latitude and longitude has the meaning of relevant address information attributes, ensuring the authenticity of desensitized address information.
  • the desensitized longitude and latitude can be calculated for straight-line distance, participant positioning, mileage calculation, and accumulated steps calculation etc.
  • a judging module 205 configured to judge whether the third latitude and longitude meets a preset desensitization condition.
  • desensitization conditions can be preset, specifically, the preset desensitization conditions can include one or more of the following: a preset boundary threshold according to the client's needs, a preset boundary according to the business scenario Thresholds, border thresholds preset according to country borders, border thresholds preset according to province borders, or border thresholds preset according to city borders.
  • the judging module 205 judging whether the third latitude and longitude meets the preset desensitization conditions includes:
  • the third latitude and longitude is greater than the preset boundary threshold, it is determined that the third latitude and longitude does not satisfy a preset desensitization condition.
  • the client requires the desensitized third
  • the boundary value of Jiangxi as the preset boundary threshold
  • the de-analysis module 206 is configured to de-analyze the third latitude and longitude to obtain desensitized structured address information when the third latitude and longitude meets the preset desensitization condition.
  • the desensitized structured address information is obtained by de-analyzing the simulated desensitized third latitude and longitude. address information.
  • the anti-analysis module 206 performs anti-analysis on the third latitude and longitude, and obtains desensitized structured address information including:
  • a preset merging rule of the target map is acquired, and the plurality of address types are combined according to the preset merging rule to obtain desensitized structured address information.
  • a merging rule is preset for each preset map.
  • the corresponding preset merging rules are used to merge the multiple address types to obtain desensitized structured address information.
  • the verification module 207 is configured to perform address verification on the desensitized structured address information.
  • the address is changed with the same nature, so that the desensitized structured address information has the relevant address information attribute meaning, and the authenticity of the desensitized structured address information is improved.
  • the address desensitization device described in this embodiment uses a fully homomorphic encryption algorithm to simulate and desensitize the second latitude and longitude to obtain a third latitude and longitude, and encrypts the second latitude and longitude , the encrypted second latitude and longitude is simulated and desensitized by means of a fully homomorphic encryption algorithm, which ensures the security of the second latitude and longitude, and through simulation desensitization, the address attributes of the longitude and latitude will not change, and the desensitized first latitude and longitude
  • the three latitudes and longitudes have relevant address information attribute meanings, which improves the authenticity of the desensitized address information; on the other hand, calculate the second latitude and longitude corresponding to the structured address information to be desensitized according to the multiple first latitudes and longitudes , by calculating the relative distance between the multiple first latitudes and longitudes, using the mean shift clustering algorithm according to the relative distances,
  • the electronic device 3 includes a memory 31 , at least one processor 32 , at least one communication bus 33 and a transceiver 34 .
  • the structure of the electronic device shown in Figure 3 does not constitute a limitation of the embodiment of the present application, it can be a bus structure or a star structure, and the electronic device 3 can also include a ratio diagram more or less other hardware or software, or a different arrangement of components.
  • the electronic device 3 is an electronic device that can automatically perform numerical calculation and/or information processing according to preset or stored instructions, and its hardware includes but not limited to microprocessors, application-specific integrated circuits , programmable gate arrays, digital processors and embedded devices, etc.
  • the electronic device 3 may also include a client device, which includes but is not limited to any electronic product that can interact with the client through a keyboard, mouse, remote control, touch pad, or voice-activated device, for example, Personal computers, tablets, smartphones, digital cameras, etc.
  • the electronic device 3 is only an example, and other existing or future electronic products that can be adapted to this application should also be included in the scope of protection of this application, and are included here by reference .
  • the memory 31 is used to store program codes and various data, such as the address desensitization device 20 installed in the electronic device 3, and realize high-speed, automatic Complete program or data access.
  • Described memory 31 comprises read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM) , One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (EEPROM), Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.
  • the at least one processor 32 may be composed of an integrated circuit, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same function or different functions packaged, including a Or a combination of multiple central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, and various control chips.
  • the at least one processor 32 is the control core (Control Unit) of the electronic device 3, and uses various interfaces and lines to connect the various components of the entire electronic device 3, by running or executing programs stored in the memory 31 or module, and call the data stored in the memory 31 to execute various functions of the electronic device 3 and process data.
  • Control Unit Control Unit
  • the at least one communication bus 33 is configured to realize connection and communication between the memory 31 and the at least one processor 32 and so on.
  • the electronic device 3 may also include a power supply (such as a battery) for supplying power to various components.
  • the power supply may be logically connected to the at least one processor 32 through a power management device, thereby Realize the functions of managing charging, discharging, and power consumption management.
  • the power supply may also include one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
  • the electronic device 3 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
  • the above-mentioned integrated units implemented in the form of software function modules can be stored in a computer-readable storage medium.
  • the above-mentioned software function modules are stored in a storage medium, and include several instructions to make a computer device (which may be a personal computer, electronic device, or network device, etc.) or a processor (processor) execute the methods described in various embodiments of the present application part.
  • the at least one processor 32 can execute the operating device of the electronic device 3 and various installed applications (such as the address desensitization device 20 ), program codes, etc. , for example, the various modules mentioned above.
  • Program codes are stored in the memory 31 , and the at least one processor 32 can invoke the program codes stored in the memory 31 to execute related functions.
  • the various modules described in FIG. 2 are program codes stored in the memory 31 and executed by the at least one processor 32, so as to realize the functions of the various modules and achieve the purpose of address masking.
  • the computer program can be divided into one or more modules/units, and the one or more modules/units are stored in the memory 31 and executed by the processor 32 to complete this Application.
  • the one or more modules/units may be a series of computer-readable instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device 3 .
  • the computer program can be divided into an analysis module 201 , a determination module 202 , a calculation module 203 , a simulation desensitization module 204 , a judgment module 205 , an anti-analysis module 206 and a verification module 207 .
  • the memory 31 stores a plurality of computer-readable instructions, and the plurality of computer-readable instructions are executed by the at least one processor 32 to realize the function of address masking.
  • the computer-readable storage medium may be non-volatile or volatile.
  • the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function, etc.; The data created using the node, etc.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with each other using cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify its Validity of information (anti-counterfeiting) and generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, and may be located in one place or distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional module in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software function modules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Probability & Statistics with Applications (AREA)
  • Remote Sensing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Document Processing Apparatus (AREA)

Abstract

本申请涉及大数据技术领域,提供一种地址脱敏方法、装置、电子设备及存储介质,所述方法包括:获取待脱敏结构化地址信息及多个预设的地图;确定出待脱敏结构化地址信息的多个第一经纬度;根据多个第一经纬度计算出待脱敏结构化地址信息对应的第二经纬度;采用全同态加密算法,对第二经纬度进行仿真脱敏,得到第三经纬度;当第三经纬度满足预设的脱敏条件时,对第三经纬度进行反解析,得到脱敏结构化地址信息。本申请采用全同态加密算法,对所述第二经纬度进行仿真脱敏,确保经纬度的地址属性不会改变,提高了脱敏后的地址信息的真实性。此外,本申请还涉及区块链技术领域,待脱敏结构化地址信息存储于区块链节点中。

Description

地址脱敏方法、装置、电子设备及存储介质
本申请要求于2021年6月22日提交中国专利局,申请号为202110692216.9申请名称为“地址脱敏方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及大数据技术领域,具体涉及一种地址脱敏方法、装置、电子设备及存储介质。
背景技术
目前在地址信息方面,很多企业在很多业务场景中都使用的是真实的地址数据和信息,现有技术针对这些地址数据进行脱敏时,无法进行仿真脱敏,采用随机替换地址中的汉字进行地址信息脱敏,发明人发现在脱敏过程中改变了地址信息的属性,导致脱敏后的结构化地址信息的真实性低。
发明内容
鉴于以上内容,有必要提出一种地址脱敏方法、装置、电子设备及存储介质,通过将上一个节点的计算得到的随机数作为下一个节点的延时子函数的输入,通过串行方式计算得到目标随机数,避免了随机数种子被修改的现象,提高了目标随机数的安全性。
鉴于以上内容,有必要提出一种地址脱敏方法、装置、电子设备及存储介质,采用全同态加密算法,对所述第二经纬度进行仿真脱敏,确保经纬度的地址属性不会改变,提高了脱敏后的地址信息的真实性。
本申请的第一方面提供一种地址脱敏方法,所述方法包括:
解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图;
根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度;
根据所述多个第一经纬度计算出所述待脱敏结构化地址信息对应的第二经纬度;
采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度;
判断所述第三经纬度是否符合预设的脱敏条件;
当所述第三经纬度满足所述预设的脱敏条件时,对所述第三经纬度进行反解析,得到脱敏结构化地址信息。
本申请的第二方面提供一种电子设备,所述电子设备包括存储器及处理器,所述存储器用于存储至少一个计算机可读指令,所述处理器用于执行所述至少一个计算机可读指令以实现以下步骤:
解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图;
根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度;
根据所述多个第一经纬度计算出所述待脱敏结构化地址信息对应的第二经纬度;
采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度;
判断所述第三经纬度是否符合预设的脱敏条件;
当所述第三经纬度满足所述预设的脱敏条件时,对所述第三经纬度进行反解析,得到脱敏结构化地址信息。
本申请的第三方面提供一种计算机可读存储介质,所述计算机可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现以下步骤:
解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图;
根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度;
根据所述多个第一经纬度计算出所述待脱敏结构化地址信息对应的第二经纬度;
采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度;
判断所述第三经纬度是否符合预设的脱敏条件;
当所述第三经纬度满足所述预设的脱敏条件时,对所述第三经纬度进行反解析,得到脱敏结构化地址信息。
本申请的第四方面提供一种地址脱敏装置,所述装置包括:
解析模块,用于解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图;
确定模块,用于根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度;
计算模块,用于根据所述多个第一经纬度,计算出所述待脱敏结构化地址信息对应的第二经纬度;
仿真脱敏模块,用于采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度;
判断模块,用于判断所述第三经纬度是否符合预设的脱敏条件;
反解析模块,用于当所述第三经纬度满足所述预设的脱敏条件时,对所述第三经纬度进行反解析,得到脱敏结构化地址信息。
综上所述,本申请所述的地址脱敏方法、装置、电子设备及存储介质,一方面,采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度,通过对所述第二经纬度进行加密,对加密后的第二经纬度采用全同态加密算法的方式进行仿真脱敏,确保了第二经纬度的安全性,并且通过仿真脱敏,经纬度的地址属性不会改变,且脱敏后的第三经纬度具备相关的地址信息属性意义,提高了脱敏后的地址信息的真实性;另一方面,根据所述多个第一经纬度计算出所述待脱敏结构化地址信息对应的第二经纬度,通过计算所述多个第一经纬度之间的相对距离,根据相对距离采用均值漂移聚类算法,对所述多个第一经纬度进行聚类,对偏差较大的第一经纬度进行删除,对保留的多个第一经纬度取绝对中心点,并将绝对中心点的经纬度确定为所述待脱敏结构化地址信息对应的第二经纬度,避免了根据单一地图得到的第二经纬度不精确的问题,提高了第二经纬度的精确性;最后,判断所述第三经纬度是否符合预设的脱敏条件,通过预先设置脱敏条件,可以为获取的待脱敏结构化地址信息进行定制化脱敏,提高了脱敏的灵活性和准确率。
附图说明
图1是本申请实施例一提供的地址脱敏方法的流程图。
图2是本申请实施例二提供的地址脱敏装置的结构图。
图3是本申请实施例三提供的电子设备的结构示意图。
具体实施方式
为了能够更清楚地理解本申请的上述目的、特征和优点,下面结合附图和具体实施例对本申请进行详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。
实施例一
图1是本申请实施例一提供的地址脱敏方法的流程图。
在本实施例中,所述地址脱敏方法可以应用于电子设备中,对于需要进行地址脱敏的电子设备,可以直接在电子设备上集成本申请的方法所提供的地址脱敏的功能,或者以软件开发工具包(Software Development Kit,SDK)的形式运行在电子设备中。
本申请实施例可以基于人工智能技术对相关的数据进行获取和处理。其中,人工智能(Artificial Intelligence,AI)是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。
人工智能基础技术一般包括如传感器、专用人工智能芯片、云计算、分布式存储、大数据处理技术、操作/交互系统、机电一体化等技术。人工智能软件技术主要包括计算机视觉技术、机器人技术、生物识别技术、语音处理技术、自然语言处理技术以及机器学习、深度学习等几大方向。
如图1所示,所述地址脱敏方法具体包括以下步骤,根据不同的需求,该流程图中步骤的顺序可以改变,某些可以省略。
S11,解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图。
本实施例中,用户在进行地址脱敏时,通过客户端发起地址脱敏请求至服务端,具体地,所述客户端可以是智能手机、IPAD或者其他智能设备,所述服务端可以为地址脱敏子系统,在地址脱敏过程中,如所述客户端可以向地址脱敏子系统发送地址脱敏请求,所述地址脱敏子系统用于接收所述客户端发送的地址脱敏请求。
本实施例中,可以预先设置多个预设的地图,具体地,所述预设的地图可以为以下一种或者多种组合:百度地图、谷歌地图、高德地图、腾讯地图、搜狗地图等。
在一个可选的实施例中,所述解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图包括:
解析所述地址脱敏请求的报文,获取所述报文携带的报文信息;
从所述报文信息中提取调用接口,通过所述调用接口调用所述待脱敏结构化地址信息;
从所述报文信息中提取多个地图标识,根据每个地图标识确定对应的地图位置链接,并触发所述地址位置链接跳转至对应的地图页面,从所述对应的地图页面中获取每个预设的地图。
本实施例中,所述地图标识用以唯一确定地图身份信息,根据地图标识可以确定出对应的地图位置链接,通过触发所述地图位置链接获取每个预设的地图。
需要强调的是,为进一步保证上述待脱敏地址信息的私密和安全性,上述待脱敏地址信息还可以存储于一区块链的节点中。
S12,根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度。
本实施例中,由于预设的地图存在差异性,通过每个预设的地图确定出的所述待脱敏结构化地址信息的第一经纬度是不同的。
在一个可选的实施例中,所述根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度包括:
按照预设的格式转换规则,对所述待脱敏结果化地址信息进行转换得到目标结构化地址信息;
调用每个预设的地图的地理编码接口,通过所述地理编码接口发送所述待脱敏结构化地址信息至对应的预设的地图中,并接收所述每个预设的地图的地址编码接口上报的第一经纬度;
将所述多个预设的地图上报的多个第一经纬度,确定为所述待脱敏结构化地址信息 的多个第一经纬度。
本实施例中,从客户端获取的待脱敏结构化地址信息比较杂乱,通过预先设置格式转换规则,将待脱敏结构化地址信息按照预设的格式转换规则转换为统一的格式。
本实施例中,由于每个预设的地图存在不同的地址编码接口,通过调用对应的预设的地图的地理编码接口进行待脱敏结构化地址信息的发送,及第一经纬度的接收,具有针对性,提高了获取的多个第一经纬度的准确率。
S13,根据所述多个第一经纬度,计算出所述待脱敏结构化地址信息对应的第二经纬度。
本实施例中,所述第二经纬度是通过计算多个预设的地图上报的多个第一经纬度计算得到的。
在一个可选的实施例中,所述根据所述多个第一经纬度,计算出所述待脱敏结构化地址信息对应的第二经纬度包括:
计算任意两个第一经纬度之间的相对距离,得到多个第一偏差;
将每个第一偏差与预设的偏离阈值进行比较;
当任意一个第一偏差大于所述预设的偏离阈值时,提取出所述任意一个第一偏差值对应的第一目标经纬度和第二目标经纬度;
从所述第一目标经纬度和第二目标经纬度中随机选取一个目标经纬度作为中心点;
创建一个圆形滑动窗口,其中,所述圆形滑动窗口以所述中心点为圆心,以预设距离为半径;
所述圆形滑动窗口从所述中心点开始滑动,进行均值漂移聚类,保留第一经纬度数量最多的圆形滑动窗口,确定为目标圆形滑动窗口;
计算所述目标圆形滑动窗口内的多个第一经纬度的绝对中心点,将所述绝对中心点的经纬度,确定为所述待脱敏结构化地址信息对应的第二经纬度。
进一步地,所述方法还包括:
删除所述目标圆形滑动窗口以外的多个第一经纬度。
本实施例中,为了确保所述待脱敏结构化地址信息对应的第二经纬度的准确率,通过获取多个预设的地图上报的所述待脱敏结构化地址信息的第一经纬度,计算所述多个第一经纬度之间的相对距离,根据相对距离采用均值漂移聚类算法,对所述多个第一经纬度进行聚类,对偏差较大的第一经纬度进行删除,对保留的多个第一经纬度取绝对中心点,并将绝对中心点的经纬度确定为所述待脱敏结构化地址信息对应的第二经纬度,避免了根据单一地图得到的第二经纬度不精确的问题,提高了第二经纬度的精确性。
S14,采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度。
本实施例中,所述全同态加密算法用以表征在密文上既可以做加法又可以做乘法,采用全同态加密确保了数据处理方无法知道所处理数据的明文信息,防止对第二经纬度进行修改,确保第二经纬度的安全性。
在一个可选的实施例中,所述采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度包括:
采用随机函数对所述第二经纬度生成密匙,并采用所述密匙对所述第二经纬度进行加密得到密文;
对所述密文进行扩展运算,得到新的扩展密文,并对所述扩展密文进行仿真脱敏,得到第三经纬度。
本实施例中,所述仿真脱敏是指对所述扩展密文进行任意同态运算,具体地,所述任意同态运算包括同态相加和同态相乘。
在其他可选的实施例中,在进行任意同态运算时,可以进行多次同态相加或者同态相乘。
本实施例中,通过对所述第二经纬度进行加密,对加密后的第二经纬度采用全同态加密算法的方式进行仿真脱敏,一方面确保了第二经纬度的安全性,另一方面,通过仿真脱敏,经纬度的地址属性不会改变,且脱敏后的第三经纬度具备相关的地址信息属性意义,确保了脱敏后的地址信息的真实性。
在其他可选的实施例中,当业务需要进行多方数据融合分析时,在加密脱敏的情况下,可以对脱敏后的经纬度进行直线距离计算、参与方定位、公里数计算、累加步数计算等。
S15,判断所述第三经纬度是否符合预设的脱敏条件。
本实施例中,可以预先设定脱敏条件,具体地,所述预设的脱敏条件可以包括以下一种或者多种:根据客户端的需求预设的边界阈值、根据业务场景预设的边界阈值、根据国家的边界范围预设的边界阈值、根据省份的边界范围预设的边界阈值或者根据城市的边界范围预设的边界阈值。
在一个可选的实施例中,所述判断所述第三经纬度是否符合预设的脱敏条件包括:
将所述第三经纬度与预设的边界阈值进行比较;
当所述第三经纬度小于或者等于所述预设的边界阈值时,确定所述第三经纬度满足预设的脱敏条件;或者
当所述第三经纬度大于所述预设的边界阈值时,确定所述第三经纬度不满足预设的脱敏条件。
本实施例中,通过将所述第三经纬度与预设的边界阈值进行比较,根据比较结果确定所述第三经纬度是否满足预设的脱敏条件,例如,客户端要求脱敏后的第三经纬度在“江西”时,将江西的边界值设定为预设的边界阈值,将脱敏后的第三经纬度与江西的边界值进行比较,当所述第三经纬度属于江西的边界范围内时,确定满足预设的脱敏条件,确定脱敏成功。
本实施例中,通过预先设置脱敏条件,可以为获取的待脱敏结构化地址信息进行定制化脱敏,提高了脱敏的灵活性和准确率。
进一步地,所述方法还包括:
当确定所述第三经纬度不符合预设的脱敏条件时,执行S14。
本实施例中,在第三经纬度不符合预设的脱敏条件时,需要重新进行仿真脱敏,直至满足预设的脱敏条件。
S16,当所述第三经纬度满足所述预设的脱敏条件时,对所述第三经纬度进行反解析,得到脱敏结构化地址信息。
本实施例中,所述脱敏结构化地址信息是通过对仿真脱敏后的第三经纬度进行反解析得到的,具体地,所述反解析是指将经纬度信息通过预设的地图解析为结果化地址信息。
在一个可选的实施例中,所述对所述第三经纬度进行反解析,得到脱敏结构化地址信息包括:
从所述多个预设的地图中随机选取一个预设的地图作为目标地图;
调用所述目标地图的地理编码接口,通过每个预设的地图的地理编码接口发送所述第三经纬度至所述目标地图中,并接收所述目标地图的地址编码器上报的多个地址类型;
获取所述目标地图的预设的合并规则,按照所述预设的合并规则对所述多个地址类型进行合并,得到脱敏结构化地址信息。
本实施例中,由于不同的预设的地图的地址编码器上报的地址类型不同,故针对每个预设的地图预先设置合并规则,当接收到所述目标地图的地址编码器上报的多个地址类型时,采用对应的预设的合并规则对所述多个地址类型进行合并,得到脱敏结构化地址信息。
进一步地,所述方法还包括:
对所述脱敏结构化地址信息进行地址校验。
本实施例中,通过确定待脱敏结构化地址信息的第二经纬度,对所述第二经纬度进行仿真脱敏得到第三经纬度,对所述第三经纬度经过反解析得到脱敏结构化地址信息,在脱敏过程中,对地址进行了同性质变化,使得脱敏结构化地址信息具备相关的地址信息属性意义,提高了脱敏结构化地址信息的真实性。
综上所述,本实施例所述地址脱敏方法,一方面,采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度,通过对所述第二经纬度进行加密,对加密后的第二经纬度采用全同态加密算法的方式进行仿真脱敏,确保了第二经纬度的安全性,并且通过仿真脱敏,经纬度的地址属性不会改变,且脱敏后的第三经纬度具备相关的地址信息属性意义,提高了脱敏后的地址信息的真实性;另一方面,根据所述多个第一经纬度计算出所述待脱敏结构化地址信息对应的第二经纬度,通过计算所述多个第一经纬度之间的相对距离,根据相对距离采用均值漂移聚类算法,对所述多个第一经纬度进行聚类,对偏差较大的第一经纬度进行删除,对保留的多个第一经纬度取绝对中心点,并将绝对中心点的经纬度确定为所述待脱敏结构化地址信息对应的第二经纬度,避免了根据单一地图得到的第二经纬度不精确的问题,提高了第二经纬度的精确性;最后,判断所述第三经纬度是否符合预设的脱敏条件,通过预先设置脱敏条件,可以为获取的待脱敏结构化地址信息进行定制化脱敏,提高了脱敏的灵活性和准确率。
实施例二
图2是本申请实施例二提供的地址脱敏装置的结构图。
在一些实施例中,所述地址脱敏装置20可以包括多个由程序代码段所组成的功能模块。所述地址脱敏装置20中的各个程序段的程序代码可以存储于电子设备的存储器中,并由所述至少一个处理器所执行,以执行(详见图1描述)地址脱敏的功能。
本实施例中,所述地址脱敏装置20根据其所执行的功能,可以被划分为多个功能模块。所述功能模块可以包括:解析模块201、确定模块202、计算模块203、仿真脱敏模块204、判断模块205、反解析模块206及校验模块207。本申请所称的模块是指一种能够被至少一个处理器所执行并且能够完成固定功能的一系列计算机可读指令段,其存储在存储器中。在本实施例中,关于各模块的功能将在后续的实施例中详述。
解析模块201,用于解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图。
本实施例中,用户在进行地址脱敏时,通过客户端发起地址脱敏请求至服务端,具体地,所述客户端可以是智能手机、IPAD或者其他智能设备,所述服务端可以为地址脱敏子系统,在地址脱敏过程中,如所述客户端可以向地址脱敏子系统发送地址脱敏请求,所述地址脱敏子系统用于接收所述客户端发送的地址脱敏请求。
本实施例中,可以预先设置多个预设的地图,具体地,所述预设的地图可以为以下一种或者多种组合:百度地图、谷歌地图、高德地图、腾讯地图、搜狗地图等。
在一个可选的实施例中,所述解析模块201解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图包括:
解析所述地址脱敏请求的报文,获取所述报文携带的报文信息;
从所述报文信息中提取调用接口,通过所述调用接口调用所述待脱敏结构化地址信息;
从所述报文信息中提取多个地图标识,根据每个地图标识确定对应的地图位置链接,并触发所述地址位置链接跳转至对应的地图页面,从所述对应的地图页面中获取每个预设的地图。
本实施例中,所述地图标识用以唯一确定地图身份信息,根据地图标识可以确定出 对应的地图位置链接,通过触发所述地图位置链接获取每个预设的地图。
需要强调的是,为进一步保证上述待脱敏地址信息的私密和安全性,上述待脱敏地址信息还可以存储于一区块链的节点中。
确定模块202,用于根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度。
本实施例中,由于预设的地图存在差异性,通过每个预设的地图确定出的所述待脱敏结构化地址信息的第一经纬度是不同的。
在一个可选的实施例中,所述确定模块202根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度包括:
按照预设的格式转换规则,对所述待脱敏结果化地址信息进行转换得到目标结构化地址信息;
调用每个预设的地图的地理编码接口,通过所述地理编码接口发送所述待脱敏结构化地址信息至对应的预设的地图中,并接收所述每个预设的地图的地址编码接口上报的第一经纬度;
将所述多个预设的地图上报的多个第一经纬度,确定为所述待脱敏结构化地址信息的多个第一经纬度。
本实施例中,从客户端获取的待脱敏结构化地址信息比较杂乱,通过预先设置格式转换规则,将待脱敏结构化地址信息按照预设的格式转换规则转换为统一的格式。
本实施例中,由于每个预设的地图存在不同的地址编码接口,通过调用对应的预设的地图的地理编码接口进行待脱敏结构化地址信息的发送,及第一经纬度的接收,具有针对性,提高了获取的多个第一经纬度的准确率。
计算模块203,用于根据所述多个第一经纬度,计算出所述待脱敏结构化地址信息对应的第二经纬度。
本实施例中,所述第二经纬度是通过计算多个预设的地图上报的多个第一经纬度计算得到的。
在一个可选的实施例中,所述计算模块203根据计算模块203所述多个第一经纬度,计算出所述待脱敏结构化地址信息对应的第二经纬度包括:
计算任意两个第一经纬度之间的相对距离,得到多个第一偏差;
将每个第一偏差与预设的偏离阈值进行比较;
当任意一个第一偏差大于所述预设的偏离阈值时,提取出所述任意一个第一偏差值对应的第一目标经纬度和第二目标经纬度;
从所述第一目标经纬度和第二目标经纬度中随机选取一个目标经纬度作为中心点;
创建一个圆形滑动窗口,其中,所述圆形滑动窗口以所述中心点为圆心,以预设距离为半径;
所述圆形滑动窗口从所述中心点开始滑动,进行均值漂移聚类,保留第一经纬度数量最多的圆形滑动窗口,确定为目标圆形滑动窗口;
计算所述目标圆形滑动窗口内的多个第一经纬度的绝对中心点,将所述绝对中心点的经纬度,确定为所述待脱敏结构化地址信息对应的第二经纬度。
进一步地,删除所述目标圆形滑动窗口以外的多个第一经纬度。
本实施例中,为了确保所述待脱敏结构化地址信息对应的第二经纬度的准确率,通过获取多个预设的地图上报的所述待脱敏结构化地址信息的第一经纬度,计算所述多个第一经纬度之间的相对距离,根据相对距离采用均值漂移聚类算法,对所述多个第一经纬度进行聚类,对偏差较大的第一经纬度进行删除,对保留的多个第一经纬度取绝对中心点,并将绝对中心点的经纬度确定为所述待脱敏结构化地址信息对应的第二经纬度,避免了根据单一地图得到的第二经纬度不精确的问题,提高了第二经纬度的精确性。
仿真脱敏模块204,用于采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度。
本实施例中,所述全同态加密算法用以表征在密文上既可以做加法又可以做乘法,采用全同态加密确保了数据处理方无法知道所处理数据的明文信息,防止对第二经纬度进行修改,确保第二经纬度的安全性。
在一个可选的实施例中,所述仿真脱敏模块204采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度包括:
采用随机函数对所述第二经纬度生成密匙,并采用所述密匙对所述第二经纬度进行加密得到密文;
对所述密文进行扩展运算,得到新的扩展密文,并对所述扩展密文进行仿真脱敏,得到第三经纬度。
本实施例中,所述仿真脱敏是指对所述扩展密文进行任意同态运算,具体地,所述任意同态运算包括同态相加和同态相乘。
在其他可选的实施例中,在进行任意同态运算时,可以进行多次同态相加或者同态相乘。
本实施例中,通过对所述第二经纬度进行加密,对加密后的第二经纬度采用全同态加密算法的方式进行仿真脱敏,一方面确保了第二经纬度的安全性,另一方面,通过仿真脱敏,经纬度的地址属性不会改变,且脱敏后的第三经纬度具备相关的地址信息属性意义,确保了脱敏后的地址信息的真实性。
在其他可选的实施例中,当业务需要进行多方数据融合分析时,在加密脱敏的情况下,可以对脱敏后的经纬度进行直线距离计算、参与方定位、公里数计算、累加步数计算等。
判断模块205,用于判断所述第三经纬度是否符合预设的脱敏条件。
本实施例中,可以预先设定脱敏条件,具体地,所述预设的脱敏条件可以包括以下一种或者多种:根据客户端的需求预设的边界阈值、根据业务场景预设的边界阈值、根据国家的边界范围预设的边界阈值、根据省份的边界范围预设的边界阈值或者根据城市的边界范围预设的边界阈值。
在一个可选的实施例中,所述判断模块205判断所述第三经纬度是否符合预设的脱敏条件包括:
将所述第三经纬度与预设的边界阈值进行比较;
当所述第三经纬度小于或者等于所述预设的边界阈值时,确定所述第三经纬度满足预设的脱敏条件;或者
当所述第三经纬度大于所述预设的边界阈值时,确定所述第三经纬度不满足预设的脱敏条件。
本实施例中,通过将所述第三经纬度与预设的边界阈值进行比较,根据比较结果确定所述第三经纬度是否满足预设的脱敏条件,例如,客户端要求脱敏后的第三经纬度在“江西”时,将江西的边界值设定为预设的边界阈值,将脱敏后的第三经纬度与江西的边界值进行比较,当所述第三经纬度属于江西的边界范围内时,确定满足预设的脱敏条件,确定脱敏成功。
本实施例中,通过预先设置脱敏条件,可以为获取的待脱敏结构化地址信息进行定制化脱敏,提高了脱敏的灵活性和准确率。
进一步地,当确定所述第三经纬度不符合预设的脱敏条件时,执行所述采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度。
本实施例中,在第三经纬度不符合预设的脱敏条件时,需要重新进行仿真脱敏,直至满足预设的脱敏条件。
反解析模块206,用于当所述第三经纬度满足所述预设的脱敏条件时,对所述第三经纬度进行反解析,得到脱敏结构化地址信息。
本实施例中,所述脱敏结构化地址信息是通过对仿真脱敏后的第三经纬度进行反解析得到的,具体地,所述反解析是指将经纬度信息通过预设的地图解析为结果化地址信息。
在一个可选的实施例中,所述反解析模块206对所述第三经纬度进行反解析,得到脱敏结构化地址信息包括:
从所述多个预设的地图中随机选取一个预设的地图作为目标地图;
调用所述目标地图的地理编码接口,通过每个预设的地图的地理编码接口发送所述第三经纬度至所述目标地图中,并接收所述目标地图的地址编码器上报的多个地址类型;
获取所述目标地图的预设的合并规则,按照所述预设的合并规则对所述多个地址类型进行合并,得到脱敏结构化地址信息。
本实施例中,由于不同的预设的地图的地址编码器上报的地址类型不同,故针对每个预设的地图预先设置合并规则,当接收到所述目标地图的地址编码器上报的多个地址类型时,采用对应的预设的合并规则对所述多个地址类型进行合并,得到脱敏结构化地址信息。
进一步地,校验模块207,用于对所述脱敏结构化地址信息进行地址校验。
本实施例中,通过确定待脱敏结构化地址信息的第二经纬度,对所述第二经纬度进行仿真脱敏得到第三经纬度,对所述第三经纬度经过反解析得到脱敏结构化地址信息,在脱敏过程中,对地址进行了同性质变化,使得脱敏结构化地址信息具备相关的地址信息属性意义,提高了脱敏结构化地址信息的真实性。
综上所述,本实施例所述地址脱敏装置,一方面,采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度,通过对所述第二经纬度进行加密,对加密后的第二经纬度采用全同态加密算法的方式进行仿真脱敏,确保了第二经纬度的安全性,并且通过仿真脱敏,经纬度的地址属性不会改变,且脱敏后的第三经纬度具备相关的地址信息属性意义,提高了脱敏后的地址信息的真实性;另一方面,根据所述多个第一经纬度计算出所述待脱敏结构化地址信息对应的第二经纬度,通过计算所述多个第一经纬度之间的相对距离,根据相对距离采用均值漂移聚类算法,对所述多个第一经纬度进行聚类,对偏差较大的第一经纬度进行删除,对保留的多个第一经纬度取绝对中心点,并将绝对中心点的经纬度确定为所述待脱敏结构化地址信息对应的第二经纬度,避免了根据单一地图得到的第二经纬度不精确的问题,提高了第二经纬度的精确性;最后,判断所述第三经纬度是否符合预设的脱敏条件,通过预先设置脱敏条件,可以为获取的待脱敏结构化地址信息进行定制化脱敏,提高了脱敏的灵活性和准确率。
实施例三
参阅图3所示,为本申请实施例三提供的电子设备的结构示意图。在本申请较佳实施例中,所述电子设备3包括存储器31、至少一个处理器32、至少一条通信总线33及收发器34。
本领域技术人员应该了解,图3示出的电子设备的结构并不构成本申请实施例的限定,既可以是总线型结构,也可以是星形结构,所述电子设备3还可以包括比图示更多或更少的其他硬件或者软件,或者不同的部件布置。
在一些实施例中,所述电子设备3是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路、可编程门阵列、数字处理器及嵌入式设备等。所述电子设备3还可包括客户设备,所述客户设备包括但不限于任何一种可与客户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、数码相机 等。
需要说明的是,所述电子设备3仅为举例,其他现有的或今后可能出现的电子产品如可适应于本申请,也应包含在本申请的保护范围以内,并以引用方式包含于此。
在一些实施例中,所述存储器31用于存储程序代码和各种数据,例如安装在所述电子设备3中的地址脱敏装置20,并在电子设备3的运行过程中实现高速、自动地完成程序或数据的存取。所述存储器31包括只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable Read-Only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子擦除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。
在一些实施例中,所述至少一个处理器32可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述至少一个处理器32是所述电子设备3的控制核心(Control Unit),利用各种接口和线路连接整个电子设备3的各个部件,通过运行或执行存储在所述存储器31内的程序或者模块,以及调用存储在所述存储器31内的数据,以执行电子设备3的各种功能和处理数据。
在一些实施例中,所述至少一条通信总线33被设置为实现所述存储器31以及所述至少一个处理器32等之间的连接通信。
尽管未示出,所述电子设备3还可以包括给各个部件供电的电源(比如电池),可选的,电源可以通过电源管理装置与所述至少一个处理器32逻辑相连,从而通过电源管理装置实现管理充电、放电、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备3还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。
应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。
上述以软件功能模块的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,电子设备,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的部分。
在进一步的实施例中,结合图2,所述至少一个处理器32可执行所述电子设备3的操作装置以及安装的各类应用程序(如所述的地址脱敏装置20)、程序代码等,例如,上述的各个模块。
所述存储器31中存储有程序代码,且所述至少一个处理器32可调用所述存储器31中存储的程序代码以执行相关的功能。例如,图2中所述的各个模块是存储在所述存储器31中的程序代码,并由所述至少一个处理器32所执行,从而实现所述各个模块的功能以达到地址脱敏的目的。
示例性的,所述计算机程序可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器31中,并由所述处理器32执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述计算机程序在所述电子设备3中的执行过程。例如,所述计算机程序可以被分割成解析模块201、确定模块202、计算模块203、仿真脱敏模块204、判断模块205、反解析模块206及校验模块207。
在本申请的一个实施例中,所述存储器31存储多个计算机可读指令,所述多个计算机可读指令被所述至少一个处理器32所执行以实现地址脱敏的功能。
具体地,所述至少一个处理器32对上述指令的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
进一步地,所述计算机可读存储介质可以是非易失性,也可以是易失性。
进一步地,所述计算机可读存储介质可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据区块链节点的使用所创建的数据等。
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,既可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或,单数不排除复数。本申请中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。

Claims (20)

  1. 一种地址脱敏方法,其中,所述地址脱敏方法包括:
    解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图;
    根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度;
    根据所述多个第一经纬度计算出所述待脱敏结构化地址信息对应的第二经纬度;
    采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度;
    判断所述第三经纬度是否符合预设的脱敏条件;
    当所述第三经纬度满足所述预设的脱敏条件时,对所述第三经纬度进行反解析,得到脱敏结构化地址信息。
  2. 如权利要求1所述的地址脱敏方法,其中,根据所述多个第一经纬度计算出所述待脱敏结构化地址信息对应的第二经纬度包括:
    计算任意两个第一经纬度之间的相对距离,得到多个第一偏差;
    将每个第一偏差与预设的偏离阈值进行比较;
    当任意一个第一偏差大于所述预设的偏离阈值时,提取出所述任意一个第一偏差值对应的第一目标经纬度和第二目标经纬度;
    从所述第一目标经纬度和第二目标经纬度中随机选取一个目标经纬度作为中心点;
    创建一个圆形滑动窗口,其中,所述圆形滑动窗口以所述中心点为圆心,以预设距离为半径;
    所述圆形滑动窗口从所述中心点开始滑动,进行均值漂移聚类,保留第一经纬度数量最多的圆形滑动窗口,确定为目标圆形滑动窗口;
    计算所述目标圆形滑动窗口内的多个第一经纬度的绝对中心点,将所述绝对中心点的经纬度,确定为所述待脱敏结构化地址信息对应的第二经纬度。
  3. 如权利要求1所述的地址脱敏方法,其中,所述采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度包括:
    采用随机函数对所述第二经纬度生成密匙,并采用所述密匙对所述第二经纬度进行加密得到密文;
    对所述密文进行扩展运算,得到新的扩展密文,并对所述扩展密文进行仿真脱敏,得到第三经纬度。
  4. 如权利要求1所述的地址脱敏方法,其中,所述根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度包括:
    按照预设的格式转换规则,对所述待脱敏结果化地址信息进行转换得到目标结构化地址信息;
    调用每个预设的地图的地理编码接口,通过所述地理编码接口发送所述待脱敏结构化地址信息至对应的预设的地图中,并接收所述每个预设的地图的地址编码接口上报的第一经纬度;
    将所述多个预设的地图上报的多个第一经纬度,确定为所述待脱敏结构化地址信息的多个第一经纬度。
  5. 如权利要求1所述的地址脱敏方法,其中,所述解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图包括:
    解析所述地址脱敏请求的报文,获取所述报文携带的报文信息;
    从所述报文信息中提取调用接口,通过所述调用接口调用所述待脱敏结构化地址信息;
    从所述报文信息中提取多个地图标识,根据每个地图标识确定对应的地图位置链接,并触发所述地址位置链接跳转至对应的地图页面,从所述对应的地图页面中获取每个预设的地图,其中,所述待脱敏结构化地址信息存储于区块链节点中。
  6. 如权利要求1所述的地址脱敏方法,其中,所述判断所述第三经纬度是否符合预设的脱敏条件包括:
    将所述第三经纬度与预设的边界阈值进行比较;
    当所述第三经纬度小于或者等于所述预设的边界阈值时,确定所述第三经纬度满足预设的脱敏条件;或者
    当所述第三经纬度大于所述预设的边界阈值时,确定所述第三经纬度不满足预设的脱敏条件。
  7. 如权利要求1所述的地址脱敏方法,其中,所述对所述第三经纬度进行反解析,得到脱敏结构化地址信息包括:
    从所述多个预设的地图中随机选取一个预设的地图作为目标地图;
    调用所述目标地图的地理编码接口,通过每个预设的地图的地理编码接口发送所述第三经纬度至所述目标地图中,并接收所述目标地图的地址编码器上报的多个地址类型;
    获取所述目标地图的预设的合并规则,按照所述预设的合并规则对所述多个地址类型进行合并,得到脱敏结构化地址信息。
  8. 一种电子设备,其中,所述电子设备包括存储器及处理器,所述存储器用于存储至少一个计算机可读指令,所述处理器用于执行所述至少一个计算机可读指令以实现以下步骤:
    解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图;
    根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度;
    根据所述多个第一经纬度计算出所述待脱敏结构化地址信息对应的第二经纬度;
    采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度;
    判断所述第三经纬度是否符合预设的脱敏条件;
    当所述第三经纬度满足所述预设的脱敏条件时,对所述第三经纬度进行反解析,得到脱敏结构化地址信息。
  9. 如权利要求8所述的电子设备,其中,所述处理器执行所述至少一个计算机可读指令以实现根据所述多个第一经纬度计算出所述待脱敏结构化地址信息对应的第二经纬度时,具体包括:
    计算任意两个第一经纬度之间的相对距离,得到多个第一偏差;
    将每个第一偏差与预设的偏离阈值进行比较;
    当任意一个第一偏差大于所述预设的偏离阈值时,提取出所述任意一个第一偏差值对应的第一目标经纬度和第二目标经纬度;
    从所述第一目标经纬度和第二目标经纬度中随机选取一个目标经纬度作为中心点;
    创建一个圆形滑动窗口,其中,所述圆形滑动窗口以所述中心点为圆心,以预设距离为半径;
    所述圆形滑动窗口从所述中心点开始滑动,进行均值漂移聚类,保留第一经纬度数量最多的圆形滑动窗口,确定为目标圆形滑动窗口;
    计算所述目标圆形滑动窗口内的多个第一经纬度的绝对中心点,将所述绝对中心点的经纬度,确定为所述待脱敏结构化地址信息对应的第二经纬度。
  10. 如权利要求8所述的电子设备,其中,所述处理器执行所述至少一个计算机可读指令以实现所述采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度时,具体包括:
    采用随机函数对所述第二经纬度生成密匙,并采用所述密匙对所述第二经纬度进行加密得到密文;
    对所述密文进行扩展运算,得到新的扩展密文,并对所述扩展密文进行仿真脱敏,得到第三经纬度。
  11. 如权利要求8所述的电子设备,其中,所述处理器执行所述至少一个计算机可读指令以实现所述根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度时,具体包括:
    按照预设的格式转换规则,对所述待脱敏结果化地址信息进行转换得到目标结构化地址信息;
    调用每个预设的地图的地理编码接口,通过所述地理编码接口发送所述待脱敏结构化地址信息至对应的预设的地图中,并接收所述每个预设的地图的地址编码接口上报的第一经纬度;
    将所述多个预设的地图上报的多个第一经纬度,确定为所述待脱敏结构化地址信息的多个第一经纬度。
  12. 如权利要求8所述的电子设备,其中,所述处理器执行所述至少一个计算机可读指令以实现所述解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图时,具体包括:
    解析所述地址脱敏请求的报文,获取所述报文携带的报文信息;
    从所述报文信息中提取调用接口,通过所述调用接口调用所述待脱敏结构化地址信息;
    从所述报文信息中提取多个地图标识,根据每个地图标识确定对应的地图位置链接,并触发所述地址位置链接跳转至对应的地图页面,从所述对应的地图页面中获取每个预设的地图,其中,所述待脱敏结构化地址信息存储于区块链节点中。
  13. 如权利要求8所述的电子设备,其中,所述处理器执行所述至少一个计算机可读指令以实现所述对所述第三经纬度进行反解析,得到脱敏结构化地址信息时,具体包括:
    从所述多个预设的地图中随机选取一个预设的地图作为目标地图;
    调用所述目标地图的地理编码接口,通过每个预设的地图的地理编码接口发送所述第三经纬度至所述目标地图中,并接收所述目标地图的地址编码器上报的多个地址类型;
    获取所述目标地图的预设的合并规则,按照所述预设的合并规则对所述多个地址类型进行合并,得到脱敏结构化地址信息。
  14. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现以下步骤:
    解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图;
    根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度;
    根据所述多个第一经纬度计算出所述待脱敏结构化地址信息对应的第二经纬度;
    采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度;
    判断所述第三经纬度是否符合预设的脱敏条件;
    当所述第三经纬度满足所述预设的脱敏条件时,对所述第三经纬度进行反解析,得到脱敏结构化地址信息。
  15. 如权利要求14所述的存储介质,其中,所述至少一个计算机可读指令被所述处理器执行以实现根据所述多个第一经纬度计算出所述待脱敏结构化地址信息对应的第二经纬度时,具体包括:
    计算任意两个第一经纬度之间的相对距离,得到多个第一偏差;
    将每个第一偏差与预设的偏离阈值进行比较;
    当任意一个第一偏差大于所述预设的偏离阈值时,提取出所述任意一个第一偏差值对应的第一目标经纬度和第二目标经纬度;
    从所述第一目标经纬度和第二目标经纬度中随机选取一个目标经纬度作为中心点;
    创建一个圆形滑动窗口,其中,所述圆形滑动窗口以所述中心点为圆心,以预设距离为半径;
    所述圆形滑动窗口从所述中心点开始滑动,进行均值漂移聚类,保留第一经纬度数量最多的圆形滑动窗口,确定为目标圆形滑动窗口;
    计算所述目标圆形滑动窗口内的多个第一经纬度的绝对中心点,将所述绝对中心点的经纬度,确定为所述待脱敏结构化地址信息对应的第二经纬度。
  16. 如权利要求14所述的存储介质,其中,所述至少一个计算机可读指令被所述处理器执行以实现所述采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度时,具体包括:
    采用随机函数对所述第二经纬度生成密匙,并采用所述密匙对所述第二经纬度进行加密得到密文;
    对所述密文进行扩展运算,得到新的扩展密文,并对所述扩展密文进行仿真脱敏,得到第三经纬度。
  17. 如权利要求14所述的存储介质,其中,所述至少一个计算机可读指令被所述处理器执行以实现所述根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度时,具体包括:
    按照预设的格式转换规则,对所述待脱敏结果化地址信息进行转换得到目标结构化地址信息;
    调用每个预设的地图的地理编码接口,通过所述地理编码接口发送所述待脱敏结构化地址信息至对应的预设的地图中,并接收所述每个预设的地图的地址编码接口上报的第一经纬度;
    将所述多个预设的地图上报的多个第一经纬度,确定为所述待脱敏结构化地址信息的多个第一经纬度。
  18. 如权利要求14所述的存储介质,其中,所述至少一个计算机可读指令被所述处理器执行以实现所述解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图时,具体包括:
    解析所述地址脱敏请求的报文,获取所述报文携带的报文信息;
    从所述报文信息中提取调用接口,通过所述调用接口调用所述待脱敏结构化地址信息;
    从所述报文信息中提取多个地图标识,根据每个地图标识确定对应的地图位置链接,并触发所述地址位置链接跳转至对应的地图页面,从所述对应的地图页面中获取每个预设的地图,其中,所述待脱敏结构化地址信息存储于区块链节点中。
  19. 如权利要求14所述的存储介质,其中,所述至少一个计算机可读指令被所述处理器执行以实现所述对所述第三经纬度进行反解析,得到脱敏结构化地址信息时,具体包括:
    从所述多个预设的地图中随机选取一个预设的地图作为目标地图;
    调用所述目标地图的地理编码接口,通过每个预设的地图的地理编码接口发送所述第三经纬度至所述目标地图中,并接收所述目标地图的地址编码器上报的多个地址类型;
    获取所述目标地图的预设的合并规则,按照所述预设的合并规则对所述多个地址类型进行合并,得到脱敏结构化地址信息。
  20. 一种地址脱敏装置,其中,所述地址脱敏装置包括:
    解析模块,用于解析地址脱敏请求,以获取待脱敏结构化地址信息及多个预设的地图;
    确定模块,用于根据所述多个预设的地图,确定出所述待脱敏结构化地址信息的多个第一经纬度;
    计算模块,用于根据所述多个第一经纬度,计算出所述待脱敏结构化地址信息对应的第二经纬度;
    仿真脱敏模块,用于采用全同态加密算法,对所述第二经纬度进行仿真脱敏,得到第三经纬度;
    判断模块,用于判断所述第三经纬度是否符合预设的脱敏条件;
    反解析模块,用于当所述第三经纬度满足所述预设的脱敏条件时,对所述第三经纬度进行反解析,得到脱敏结构化地址信息。
PCT/CN2021/109395 2021-06-22 2021-07-29 地址脱敏方法、装置、电子设备及存储介质 WO2022267177A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110692216.9 2021-06-22
CN202110692216.9A CN113342915A (zh) 2021-06-22 2021-06-22 地址脱敏方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2022267177A1 true WO2022267177A1 (zh) 2022-12-29

Family

ID=77477891

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/109395 WO2022267177A1 (zh) 2021-06-22 2021-07-29 地址脱敏方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN113342915A (zh)
WO (1) WO2022267177A1 (zh)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130139044A1 (en) * 2011-11-28 2013-05-30 Google Inc. System and method for obtaining a structured address by geocoding unstructured address information
CN106649532A (zh) * 2016-10-31 2017-05-10 电子科技大学 一种针对地址信息的数据脱敏方法
CN110210242A (zh) * 2019-04-25 2019-09-06 深圳壹账通智能科技有限公司 一种数据脱敏的方法、装置、存储介质及计算机设备
CN110889136A (zh) * 2019-11-18 2020-03-17 杭州安恒信息技术股份有限公司 一种地址信息的数据脱敏方法、装置和电子设备
US10600006B1 (en) * 2019-01-11 2020-03-24 Alibaba Group Holding Limited Logistic regression modeling scheme using secrete sharing
CN111199048A (zh) * 2020-01-02 2020-05-26 航天信息股份有限公司 基于具有生命周期的容器的大数据分级脱敏方法和系统
CN111985001A (zh) * 2020-09-01 2020-11-24 深圳壹账通智能科技有限公司 汉字数据的脱敏方法、装置、计算机设备和存储介质
CN112632597A (zh) * 2020-12-08 2021-04-09 国家计算机网络与信息安全管理中心 一种数据脱敏方法、装置可读存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160379388A1 (en) * 2014-07-16 2016-12-29 Digitalglobe, Inc. System and method for combining geographical and economic data extracted from satellite imagery for use in predictive modeling
US11562168B2 (en) * 2018-07-16 2023-01-24 Here Global B.V. Clustering for K-anonymity in location trajectory data
CN109522374B (zh) * 2018-09-14 2020-04-17 北京三快在线科技有限公司 一种定位方法、装置、电子设备及可读存储介质
CN112819544A (zh) * 2021-02-25 2021-05-18 平安普惠企业管理有限公司 基于大数据的广告投放方法、装置、设备及存储介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130139044A1 (en) * 2011-11-28 2013-05-30 Google Inc. System and method for obtaining a structured address by geocoding unstructured address information
CN106649532A (zh) * 2016-10-31 2017-05-10 电子科技大学 一种针对地址信息的数据脱敏方法
US10600006B1 (en) * 2019-01-11 2020-03-24 Alibaba Group Holding Limited Logistic regression modeling scheme using secrete sharing
CN110210242A (zh) * 2019-04-25 2019-09-06 深圳壹账通智能科技有限公司 一种数据脱敏的方法、装置、存储介质及计算机设备
CN110889136A (zh) * 2019-11-18 2020-03-17 杭州安恒信息技术股份有限公司 一种地址信息的数据脱敏方法、装置和电子设备
CN111199048A (zh) * 2020-01-02 2020-05-26 航天信息股份有限公司 基于具有生命周期的容器的大数据分级脱敏方法和系统
CN111985001A (zh) * 2020-09-01 2020-11-24 深圳壹账通智能科技有限公司 汉字数据的脱敏方法、装置、计算机设备和存储介质
CN112632597A (zh) * 2020-12-08 2021-04-09 国家计算机网络与信息安全管理中心 一种数据脱敏方法、装置可读存储介质

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WU YUNPENG, ZHANG SHU-KUI;LONG HAO;ZHANG LI: "Privacy information protection mechanism based on cloud assist in crowd sensing", COMPUTER ENGINEERING AND DESIGN, vol. 41, no. 5, 31 May 2020 (2020-05-31), pages 1227 - 1234, XP093016714, ISSN: 1000-7024, DOI: 10.16208/j.issn1000-7024.2020.05.005 *
ZHANG LEFENG: "Preserving Privacy with Homomorphic Encryption for Reward-Based Spatial Crowdsourcing", CHINA MASTER'S THESES FULL-TEXT DATABASE, INFORMATION TECHNOLOGY, 15 September 2020 (2020-09-15), XP093016712 *

Also Published As

Publication number Publication date
CN113342915A (zh) 2021-09-03

Similar Documents

Publication Publication Date Title
WO2022088804A1 (zh) 消息推送方法、装置、电子设备及存储介质
US10977389B2 (en) Anonymity assessment system
WO2022134760A1 (zh) 数据处理方法、装置、电子设备及介质
CN111163182A (zh) 基于区块链的设备注册方法、装置、电子设备和存储介质
CN111240861A (zh) 服务提供方法、装置、电子设备及存储介质
US11159620B2 (en) Blockchain based data transformation
CN113806434B (zh) 大数据处理方法、装置、设备及介质
WO2022095518A1 (zh) 接口自动化测试方法、装置、计算机设备及存储介质
CN111507439A (zh) 基于信息码的用户信息查验方法及系统
CN112650759A (zh) 数据查询方法、装置、计算机设备及存储介质
WO2021139476A1 (zh) 交集数据的生成方法和基于交集数据的联邦模型训练方法
CN112948723A (zh) 接口调用方法、装置及相关设备
AU2023202016A1 (en) Method for identifying a device using attributes and location signatures from the device
CN113506045A (zh) 基于移动设备的风险用户识别方法、装置、设备及介质
CN114221908A (zh) 动态限流熔断处理方法、装置、计算机设备及存储介质
CN112948275A (zh) 测试数据生成方法、装置、设备及存储介质
CN112104662B (zh) 远端数据读写方法、装置、设备及计算机可读存储介质
WO2021174917A1 (zh) 基于人工智能的poi定位方法、装置、计算机设备及介质
CN112598135A (zh) 模型训练处理方法、装置、计算机设备及介质
WO2022267177A1 (zh) 地址脱敏方法、装置、电子设备及存储介质
CN113626438B (zh) 一种数据表管理的方法、装置、计算机设备及存储介质
US20220405358A1 (en) Enhancing verification in mobile devices using model based on user interaction history
CN112560721B (zh) 无感知模型切换方法、装置、电子设备及存储介质
CN112350868B (zh) 开墙处理方法、装置、服务器、系统及可读存储介质
CN108551484B (zh) 用户信息同步方法、装置、计算机装置及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21946664

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 13/02/2024)