Location privacy protection method and device and storage medium

By acquiring and processing interest area information, and using the differential privacy mechanism to select and report target interest areas, the problem of balancing user location privacy protection and data availability in areas with small crowds is solved, achieving efficient privacy protection and accurate group portrait data acquisition. .

CN118842832APending Publication Date: 2024-10-25HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310469210.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-23
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

It is difficult for existing technology to protect user location privacy while meeting the crowd portrait learning effect. Especially in areas with a small number of people, the degree of user privacy protection is insufficient, and it is difficult to balance location privacy protection and data availability.

Method used

By obtaining information on multiple interest areas, using the index mechanism and randomization processing of differential privacy, the target interest area is selected and reported to indicate the location information of the end-side device, thereby achieving privacy protection for location information, and at the same time, generalizing user data. processing to improve privacy protection.

Benefits of technology

It effectively balances location privacy protection and user data availability, improves the degree of user privacy protection, ensures that accurate group portrait data can still be obtained in areas with a small number of people, and improves the accuracy of information recommendation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118842832A_ABST
    Figure CN118842832A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a position privacy protection method and device and a storage medium, and the method comprises the steps: an end-side device obtains the information of a plurality of interest surfaces at a first moment, the plurality of interest surfaces comprise a plurality of interest surfaces associated with the position of the end-side device at the first moment, and the types of the plurality of interest surfaces are the same; the end side equipment selects a target interest surface from the multiple interest surfaces according to the information of the multiple interest surfaces in a randomly generated probability distribution; and reporting the information of the target interest surface to the cloud side device, wherein the information of the target interest surface is used for indicating the position information of the end side device. In the method, end-side equipment realizes privacy protection of the position of the end-side equipment by reporting randomly scrambled interest surface information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network and information security technology, and in particular to a location privacy protection method, device and storage medium. Background Art

[0002] Current information recommendation solutions can improve user experience by evaluating and analyzing user data of a certain area and pushing relevant information of interest to users in that area. For example, if a community has a large proportion of young users, advertisements and applications that young users are interested in can be placed in that area.

[0003] Regional division is the basis of the above information recommendation scheme. The number of people in a region not only affects the learning effect of the population portrait in the region, but also affects the privacy protection of users in the region. If the number of people in a region is small, it will significantly affect the accuracy of population portrait learning, and it will be easier to infer the portrait of a single user, and the degree of user privacy protection needs to be improved.

[0004] How to reasonably construct regions to protect users' location privacy while meeting the learning effect of regional population portraits is a problem that needs to be solved urgently. Summary of the invention

[0005] The embodiments of the present application provide a method, device and storage medium for protecting location privacy, which achieve an effective balance between location privacy protection and user data availability.

[0006] In the first aspect, an embodiment of the present application proposes a method for protecting location privacy, which can be applied to an end-side device, the method comprising: at a first moment, obtaining information of multiple interest surfaces, the multiple interest surfaces comprising multiple interest surfaces associated with the position of the end-side device at the first moment, and the multiple interest surfaces are of the same type; based on the information of the multiple interest surfaces, selecting a target interest surface from the multiple interest surfaces with a randomly generated probability distribution; reporting the information of the target interest surface to a cloud-side device, the information of the target interest surface is used to indicate the location information of the end-side device. In this method, the end-side device implements privacy protection of the location of the end-side device by reporting the randomly encrypted interest surface information.

[0007] In an optional embodiment of the first aspect, the obtaining of information about the multiple interest surfaces includes: sending a first request to the server, the first request including the longitude and latitude data of the terminal device; and receiving a first response from the server, the first response including information about the multiple interest surfaces associated with the longitude and latitude data of the terminal device. The server may be a server provided by a map manufacturer, and the server stores information about different interest surfaces on a map.

[0008] In some examples, the terminal device sends a first request to the server by calling a query interface provided by the server, and obtains information on multiple interest surfaces associated with the longitude and latitude data of the terminal device from a first response returned by the server.

[0009] This method shows how the terminal device obtains information of multiple interest surfaces associated with the current location, providing data support for subsequent reporting of interest surface information.

[0010] In an optional embodiment of the first aspect, the information of the multiple interest surfaces includes: information of a first interest surface corresponding to the position of the terminal device at the first moment; and information of a second interest surface whose distance value to the first interest surface is less than or equal to a preset threshold, and the second interest surface is of the same type as the first interest surface.

[0011] In this method, the first interest surface is the interest surface corresponding to the current location of the terminal device, and the second interest surface is the interest surface of the same type near the first interest surface. Multiple interest surfaces can be regarded as candidate interest surfaces that can be reported. The terminal device selects one of the interest surfaces from the candidate interest surfaces to report to indicate the location of the terminal device, which will not expose the precise location of the terminal device. By increasing the number of interest surfaces of the same type, the problem of too few interest surfaces to perform differential privacy perturbation can be avoided.

[0012] In an optional embodiment of the first aspect, the information of the multiple interest surfaces includes: an identifier of each interest surface, and a distance value between each interest surface and the terminal side device.

[0013] In this method, the terminal device obtains the identifiers of multiple interest surfaces associated with the current location and the distance between each interest surface and the current location of the terminal device from the cloud device, so as to select a target interest surface from the multiple interest surfaces based on these data for reporting.

[0014] In an optional embodiment of the first aspect, the selecting a target interest surface from the multiple interest surfaces according to the information of the multiple interest surfaces with a randomly generated probability distribution includes: obtaining the reporting probability values ​​of the multiple interest surfaces respectively according to the distance values ​​of the multiple interest surfaces and the terminal side device using an exponential mechanism of differential privacy; and selecting the target interest surface from the multiple interest surfaces according to the reporting probability values ​​of the multiple interest surfaces with a randomly generated probability distribution.

[0015] In this method, the exponential mechanism of differential privacy is used to select one of the interest surfaces from multiple interest surfaces for reporting with a certain probability distribution. The reported interest surface is more likely to be the interest surface with a smaller distance value to the end-side device, thereby scrambling the location of the end-side device.

[0016] In an optional embodiment of the first aspect, the reporting probability values ​​of the multiple interest surfaces are respectively obtained according to the distance values ​​between the multiple interest surfaces and the terminal side device using the index mechanism of differential privacy, including: respectively inputting the distance values ​​between the multiple interest surfaces and the terminal side device into a preset scoring function to obtain scores corresponding to the distance values ​​between the multiple interest surfaces and the terminal side device; and respectively obtaining the reporting probability values ​​of the multiple interest surfaces according to the scores corresponding to the distance values ​​between the multiple interest surfaces and the terminal side device using the index mechanism of differential privacy.

[0017] In this method, the scoring function is mainly based on the score corresponding to the distance value output between the interest surface and the current location of the end-side device. The score is inversely proportional to the distance value, that is, the smaller the distance value of the interest surface, the larger the corresponding score, and vice versa. The reporting probability value of the interest surface is determined based on the score output by the scoring function and the index mechanism, which satisfies (∈, 0)-differential privacy.

[0018] In an optional embodiment of the first aspect, the target interest surface includes any one of the following: a first interest surface corresponding to the position of the terminal device at the first moment; or a second interest surface whose distance value to the first interest surface is less than or equal to a preset threshold, and the second interest surface is of the same type as the first interest surface.

[0019] This method shows the target interest surfaces that may be reported. Due to the addition of random disturbance, the interest surface finally reported may be the interest surface corresponding to the current location of the end-side device, and may also disturb the interest surfaces of the same type nearby, which can improve the degree of protection of location privacy.

[0020] In an optional embodiment of the first aspect, the obtaining of information on the plurality of interest surfaces at the first moment includes: obtaining information on the plurality of interest surfaces in response to an operation of enabling location permission of a target application at the first moment.

[0021] In some examples, the target application may be a system application or a third-party application.

[0022] In some examples, when the target application is opened or the target application is running in the background, if the user has enabled the location permission of the target application, information of multiple interest surfaces is obtained.

[0023] This method shows the conditions for obtaining information of multiple interest surfaces. The location privacy protection method provided by this application is executed only when the user authorizes.

[0024] In an optional embodiment of the first aspect, the method further includes: obtaining user data within a preset period before the first moment; after generalizing the user data, reporting the generalized user data to the cloud-side device; the user data includes at least one of the following: statistical data of user use of applications; data information of users using different applications. In this method, the user data is generalized to improve the privacy protection of the user data.

[0025] In an optional embodiment of the first aspect, the method also includes: receiving group portrait data from the cloud-side device, the group portrait data being obtained by the cloud-side device by aggregating user data reported by the terminal-side devices within the coverage range of the target interest surface; and executing at least one of the following according to the group portrait data: application preloading; data content request.

[0026] In this method, group portrait data is determined by the cloud-side device based on user data of geographic fences divided by interest surfaces. The amount of user data is large, the availability of group portrait data is high, and the push information obtained by the terminal-side device based on the group portrait data is highly accurate.

[0027] In a second aspect, an embodiment of the present application provides a method for protecting location privacy, which is applied to a cloud-side device. The method includes:

[0028] Receiving information of a target interest facet and user data reported by different end-side devices; the target interest facet is an interest facet selected by the end-side device from multiple interest faces using a randomly generated probability distribution using an exponential mechanism of differential privacy;

[0029] By aggregating user data of the terminal devices that report information of the same target interest surface, group portrait data within the coverage of the target interest surface is obtained;

[0030] The group portrait data is pushed to the terminal side device within the coverage range of the target interest area, and the group portrait data is used for information recommendation of the terminal side device.

[0031] In this method, group portrait data is determined by the cloud-side device based on user data of geographic fences divided by interest surfaces. The amount of user data is large and the availability of group portrait data is high.

[0032] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: an acquisition module, a processing module and a sending module.

[0033] At a first moment, an acquisition module is used to acquire information of a plurality of interest surfaces, wherein the plurality of interest surfaces include a plurality of interest surfaces associated with a position of the terminal device at the first moment, and the plurality of interest surfaces are of the same type;

[0034] A processing module, configured to select a target interest surface from the multiple interest surfaces according to information of the multiple interest surfaces using a randomly generated probability distribution;

[0035] The sending module is used to report the information of the target interest surface to the cloud-side device, where the information of the target interest surface is used to indicate the location information of the terminal-side device.

[0036] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: a receiving module, a processing module and a sending module.

[0037] A receiving module, configured to receive information of a target interest facet and user data reported by different end-side devices; the target interest facet is an interest facet selected by the end-side device from multiple interest faces using a randomly generated probability distribution using an exponential mechanism of differential privacy;

[0038] A processing module, configured to obtain group portrait data within a coverage range of the target interest surface by aggregating user data of terminal devices that report information of the same target interest surface;

[0039] A sending module is used to push the group portrait data to the terminal side device within the coverage range of the target interest surface, and the group portrait data is used for information recommendation of the terminal side device.

[0040] In the fifth aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so that the electronic device executes the method as described in any one of the first aspect, or executes the method as described in the second aspect.

[0041] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the method described in any one of the first aspect or the method described in the second aspect is implemented.

[0042] In a seventh aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the method as described in any one of the first aspect, or executes the method as described in the second aspect.

[0043] In an eighth aspect, an embodiment of the present application provides a chip, the chip including a processor, the processor being used to call a computer program in a memory to execute the method as described in any one of the first aspect, or to execute the method as described in the second aspect.

[0044] It should be understood that the third aspect of the present application corresponds to the technical solution of the first aspect of the present application, the fourth aspect of the present application corresponds to the technical solution of the second aspect of the present application, and the fifth to eighth aspects of the present application correspond to the technical solution of the first or second aspect of the present application. The beneficial effects achieved by the third to eighth aspects and their optional embodiments can refer to the beneficial effects of the first or second aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of geographic fence division provided in an embodiment of the present application;

[0046] Figure 2 A schematic diagram of geographic fence division provided in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of the system architecture of a location privacy protection method provided in an embodiment of the present application;

[0048] Figure 4 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0049] Figure 5 A schematic diagram of the software architecture of a terminal device provided in an embodiment of the present application;

[0050] Figure 6 A flowchart of a location privacy protection method provided in an embodiment of the present application;

[0051] Figure 7 A flowchart of an information push method provided in an embodiment of the present application;

[0052] Figure 8 A schematic diagram of group portrait data of a geographic fence divided based on interest areas provided in an embodiment of the present application;

[0053] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0054] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0056] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0057] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0058] The following first introduces the terms involved in the embodiments of the present application.

[0059] Differential privacy index mechanism: This mechanism can select the "best" response from the set of candidate responses while ensuring that the response process satisfies differential privacy. The function based on the mechanism is an exponential function, so it is called an exponential mechanism. The analyst needs to define a set of candidate responses. At the same time, the analyst needs to specify a scoring function that outputs the score of each response in the set of candidate responses. The response with the highest score is the best response. The index mechanism implements differential privacy protection by returning the response with the approximate maximum score. In other words, in order to make the response process satisfy differential privacy, the score corresponding to the result returned by the index mechanism may not be the result with the highest score in the set of candidate responses.

[0060] AOI: It is the abbreviation of Area of ​​Interest, which can be called the area of ​​interest. It is surface data. Each AOI usually includes four basic information, such as name, address, type, latitude and longitude coordinates. It is mainly used to express regional geographical entities in the map, such as a residential area, a university, an office building, an industrial park, a comprehensive shopping mall, a hospital, a scenic spot or a stadium, etc.

[0061] In an embodiment of the present application, the alternative response set refers to information of multiple AOIs associated with the current position of the terminal device obtained by the terminal device from the map provider server, such as a candidate AOI list, and the best response refers to information of the target interest surface reported by the encrypted back-end device, such as the identifier of a certain AOI reported after disturbance.

[0062] Regional division: It can also be called geographic fence division. Geographic fence is a form of spatiotemporal analysis. Through geographic fence, the system can define virtual geographic boundaries, evaluate and analyze users in a specific geographic area, obtain a profile of the population in a specific area, and make information recommendations. For example, customize advertisements for a specific area, request user feedback, or push relevant information.

[0063] The following is an example of an information recommendation solution based on a specific usage scenario.

[0064] In one possible scenario, information is pushed based on crowd portraits within a geographic fence. The pushed information includes, but is not limited to, customized advertisements, event information, application data, etc. Exemplarily, taking application push as an example, the user device collects the user's location information and application usage data, and reports it to the server. The application usage data includes, for example, the duration and frequency of user application use. Based on the location information, the server aggregates and analyzes the application usage data of users in the same area, and obtains application preference tags for people in the area. The tags are sent to the user device, thereby enabling intelligent application recommendations or application preloading for users within the geographic fence, thereby improving the user experience. Application preloading refers to loading the resources required for the application locally in advance, so that when the application is needed, the resources can be directly retrieved from the cache.

[0065] In one possible scenario, the geographic fence assists in store location selection based on crowd portraits. The user device collects the user's location information and user behavior data and reports it to the server. The user behavior data includes, for example, the content that the user browses in different applications. Based on the location information, the server aggregates and analyzes the user behavior data in the same area to obtain the preference tags of the people in the area, which can assist merchants in store location selection and business development.

[0066] The implementation of the above information recommendation scheme requires consideration of the following issues.

[0067] First, the issue of geographic fence division. The division of geographic fences needs to take into account the distribution density of the crowd, because the number of people in the geographic fence not only affects the learning effect of the crowd portrait in the fence, but also affects the degree of privacy protection required by the fence. It is understandable that a small number of people in the fence will affect the accuracy of the crowd portrait learning effect and make it easier to locate individuals, so the privacy protection level of the fence needs to be improved. It can be seen that the division of geographic fences needs to be consistent with the distribution density of the crowd.

[0068] Currently in practical applications, one of the most common methods of dividing geographic fences is to divide them into grids based on longitude and latitude. Figure 1 A schematic diagram of geo-fence division provided in an embodiment of the present application. Figure 1 As shown in the figure, in the method based on longitude and latitude grid division, it is necessary to obtain the longitude and latitude data reported by the user device to analyze the crowd distribution. In order to ensure that the crowd density of the fence is evenly distributed, the geo-fences in the city and in the urban and rural areas have different sizes. It is necessary to manually adjust the fence size dynamically according to the crowd distribution density, which makes actual deployment difficult.

[0069] Second, the issue of protecting user location privacy. User location information is personal sensitive data and is protected by laws such as the Personal Information Protection Act. Therefore, collecting such data may lead to the exposure of user location privacy. Therefore, how to protect user location privacy when building geographic fences and analyzing the crowd profile of users within the fence is a key issue.

[0070] Third, there is the issue of balancing the privacy protection of user location and the availability of user data. Protecting the privacy of user location data will inevitably affect the availability of user data, causing it to decrease. User data includes but is not limited to user application usage data, behavioral data within different applications, etc. Therefore, how to achieve an effective balance between user location privacy protection and data availability also requires careful design and consideration.

[0071] In response to the above-mentioned problem analysis, an embodiment of the present application provides a method for protecting location privacy. The method uses the interest surface provided by the map manufacturer as a geographic fence. The user device divides the geographic fence based on the interest surface. When reporting the interest surface information associated with the current location of the user device, in order to protect the user's location privacy, the interest surface information can be randomized to determine the final reported interest surface information, such as the identifier of the interest surface, to indicate the location information of the user device, thereby protecting the user's location privacy.

[0072] For example, Figure 2 A schematic diagram of geographic fence division provided in an embodiment of the present application, such as Figure 2As shown, map manufacturers mark plots according to the types of different plots in the map, and the same plot type corresponds to the same serial number, for example Figure 2 The plot type corresponding to serial number 1 is a school, the plot type corresponding to serial number 2 is a shopping mall, and the plot type corresponding to serial number 3 is a park. The plot type can also be called the interest surface type. In this embodiment, the interest surface can be regarded as a geographical fence delineated according to the building area. The user device can use the application programming interface (API) provided by the map manufacturer to query the interest surface information corresponding to the current location of the user device. Usually, the density of the interest surface is related to the density of the crowd, and the number of people included in a single interest surface will also be similar. The geographical fence generated based on the interest surface can make the group portrait data corresponding to the geographical fence more accurate (the specific scheme will be elaborated in detail in the embodiments below), and the degree of privacy protection required for each geographical fence is basically the same, avoiding complicating the location privacy protection method.

[0073] It should be noted that, first of all, the above randomization process is to randomly disturb the reported interest surface information, but the type of interest surface after disturbance always remains unchanged. Users in the same type of interest surface generally have similar behaviors or interests. For example, although they are in different office buildings, users in the office building will use office applications or browse the same type of content, etc. Therefore, to a certain extent, the high availability of user data within the geo-fence can be guaranteed, and the accuracy of the group portrait within the geo-fence can be improved.

[0074] Secondly, the proportion of disturbed user devices is still relatively small, and for most user devices, the interest information they report is still accurate. Therefore, the user data collected by the cloud-side device based on the interest information reported by the user device is still relatively accurate, and as the amount of collected user data increases, the overall accuracy of the user data will gradually increase.

[0075] Before introducing the technical solution provided by the present application, the system architecture provided by the embodiment of the present application is first described.

[0076] Figure 3 A schematic diagram of the system architecture of a location privacy protection method provided in an embodiment of the present application. Figure 3 As shown, the system provided by this embodiment includes: an end-side device 301, a cloud-side device 302 and a map server 303, wherein the end-side device 301 is communicatively connected to the cloud-side device 302 via an end-cloud link, and the end-side device 301 is communicatively connected to the map server 303.

[0077] In this embodiment, the terminal side device 301 specifically refers to a data production device, including but not limited to a smart phone, a portable computer, a tablet computer, a wearable device, a smart home appliance, a smart security device, a vehicle-mounted device, etc. The terminal side device 301 is responsible for the production, collection and uploading of various types of data.

[0078] In this embodiment, the map server 303 stores the surface of interest information. When making a map, the map manufacturer divides the surface of interest into different areas on the map, determines the name, address, type, longitude and latitude coordinates, boundary range and other information of the surface of interest, and stores the information of the surface of interest in the map server 303 so that the terminal device 301 can query it.

[0079] In this embodiment, the cloud-side device 302 can be a central cloud device of a distributed architecture or an edge cloud device of a distributed architecture. The cloud-side device 302 provides super computing and storage capabilities, and can perform clustering, statistics and analysis based on the interest information and user data uploaded by the terminal-side device 301, obtain group portrait data within the corresponding geographic fence, such as crowd tags, and send group portrait data to the terminal-side device 301, so that the terminal-side device 301 can recommend information based on the group portrait data.

[0080] Exemplarily, the terminal device 301 is a smart phone, and the terminal device 301 can collect user data and report the interest information and user data of the terminal device 301 to the cloud device 302 through the terminal-cloud link.

[0081] In one example, the terminal device 301 can collect the user's application usage data, which includes the name of the application used by the user within a preset time period, the duration and / or frequency of using different applications, etc. The terminal device 301 reports the interest information and application usage data of the terminal device 301 to the cloud device 302 through the terminal-cloud link.

[0082] In another example, the terminal device 301 can collect behavioral data of users using a certain application. The behavioral data includes the user's browsing history in the application within a preset time period, such as browsing products, videos, pictures and texts, etc. The terminal device 301 reports the interest information and user behavior data of the terminal device 301 to the cloud device 302 through the terminal-cloud link.

[0083] In an optional embodiment, the terminal device 301 generalizes the user data and reports the generalized user data to the cloud device 302, including the generalized application usage data and / or the generalized user behavior data of using a certain application.

[0084] In an optional embodiment, the interest surface information reported by the terminal device 301 includes identification information of the interest surface corresponding to the current location of the terminal device 301, and the identification information of the interest surface is used to indicate the location information of the terminal device 301, or in other words, the geographic fence or area where the terminal device 301 is located can be known through the identification information of the interest surface.

[0085] In an optional embodiment, the interest surface information reported by the terminal device 301 is the interest surface information after randomization processing. Exemplarily, after randomization processing, the interest surface reported by the terminal device 301 may be other interest surfaces of the same type near the interest surface corresponding to the current position of the terminal device 301, or may be the interest surface corresponding to the current position of the terminal device 301. For example, the terminal device 301 is currently located in shopping mall A, and there are shopping malls B and C within 100 meters of shopping mall A. After randomization processing, the identification information of shopping mall B may be reported to the cloud side device 302 as the interest surface information, and the identification information of shopping mall A may also be reported to the cloud side device 302 as the interest surface information.

[0086] In an optional embodiment, the terminal device 301 sends a query request to the map server 303, and the query request carries the current location data of the terminal device 301, such as the latitude and longitude data of the terminal device 301. In response to the query request, the map server 303 returns the interest surface information of the terminal device 301 to the terminal device 301, and the interest surface information may include information of multiple interest surfaces, and the types of the multiple interest surfaces are the same.

[0087] In an optional embodiment, the cloud-side device 301 includes a data aggregation processing module 3021, a data statistics module 3022, a data annotation module 3023, and a model learning module 3024. The functions of each module are introduced below.

[0088] The data aggregation processing module 3021 is used to aggregate the user data of different geographic fences. In one example, the data aggregation processing module 3021 aggregates the user data of the terminal device 301 with the same interest face identifier reported.

[0089] The data statistics module 3022 is used to count the group data of user data in different geographic fences. In one example, the user data includes the application usage data of the user within a preset time period, and the data statistics module 3022 can be used to count the application names used by people within the geographic fence corresponding to the same interest face identifier within the preset time period, the average usage time and average usage frequency of each application. In another example, the user data includes the behavior data of the user in a certain application within the preset time period, such as the product categories browsed or purchased, and the data statistics module 3022 can be used to count the statistical values ​​of the people within the geographic fence corresponding to the same interest face identifier using the application to browse or purchase various types of products within the preset time period.

[0090] The data annotation module 3023 is used to annotate the group portrait data corresponding to the data statistical results based on the data statistical results of the data statistics module 3022. In one example, a certain data statistical result of the data statistics module 3022 includes the names of applications used by people within a certain preset time period within a geographic fence corresponding to a certain interest face identifier, the average usage time and average usage frequency of each application, etc. The data annotation module 3023 can use the identifiers of the top three applications with the average usage time (or average usage frequency) from high to low as the group portrait data. In another example, a certain data statistical result of the data statistics module 3022 includes the statistical values ​​of people using a certain application to browse or purchase various products within a certain preset time period within a geographic fence corresponding to a certain interest face identifier. The data annotation module 3023 can use the product category with a browsing or purchase volume greater than a preset threshold as the group portrait data.

[0091] The model learning module 3024 is used to collect training data, train the machine learning model, and deploy the machine learning model to the cloud-side device 302 when the model converges. One set of training data for model training includes user data reported by a certain end-side device 301 within a certain preset time period within a geographic fence corresponding to a certain interest face identifier (belonging to the input part of the model), and group portrait data of the geographic fence within the preset time period (belonging to the output part of the model).

[0092] It should be noted that, in some embodiments, the terminal side device may have Figure 3 The terminal device 301 shown has more or fewer modules, which is not limited in the present embodiment. Exemplarily, the data aggregation module 3021 and the data statistics module 3022 can be integrated into one module for aggregation and statistics of user data.

[0093] In actual applications, the machine learning model analyzes the user data reported by a certain end-side device 301 and outputs the group portrait data corresponding to the user data of the end-side device 301. Based on the group portrait data output by the machine learning model, the cloud-side device 302 sends the group portrait data corresponding to the end-side device 301 to the end-side device 301 so that the end-side device 301 can make information recommendations, such as application preloading and service push. Optionally, the machine learning model can be trained using a neural network model.

[0094] The cloud-side device 302 of the above system architecture can be used to collect any location-related data, and aggregate, count and analyze the collected data, thereby improving the availability of statistical data while satisfying certain location privacy protection conditions.

[0095] In order to better understand the embodiment of the present application, the structure of the terminal side device of the embodiment of the present application is first introduced below. Figure 4 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Figure 4 As shown, the terminal device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195. It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

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

[0097] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) 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, etc.

[0098] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0099] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, data files such as music, photos, and videos are stored in the external memory card.

[0100] The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can enable the terminal device 100 to perform various functional applications and data processing by running the above instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the terminal device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. In some embodiments, the processor 110 can enable the terminal device 100 to perform various functional applications and data processing by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor 110.

[0101] The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. The power management module 141 is used to connect to the battery 150. The power management module 141 receives input from the battery 150 and / or the charging management module 140 to power the processor 110, the internal memory 121, the display 193, the camera 192, and the communication module 160. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0102] The communication module 160 may include a mobile communication module and a wireless communication module. The mobile communication module provides solutions for wireless communications including 2G / 3G / 4G / 5G applied on the terminal device 100. The wireless communication module may provide solutions for wireless communications including wireless local area networks (WLAN), Bluetooth, global navigation satellite system (GNSS), frequency modulation (FM), NFC, infrared technology (IR), etc. applied on the terminal device 100.

[0103] The end device 100 can realize the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute instructions to generate or change display information.

[0104] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the display screen 194 is a foldable flexible screen, and the display screen 194 can be called a folding screen.

[0105] The terminal device 100 can realize the shooting function through an ISP, one or more cameras 193, a video codec, a GPU, one or more display screens 194, and an application processor.

[0106] The terminal device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor.

[0107] The sensor 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a Hall sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.

[0108] The button 190 includes a power button, a volume button, etc. The button 190 may be a mechanical button or a touch button. The terminal device 100 may receive a button input and generate a key signal input related to user settings and function control of the terminal device 100.

[0109] The motor 191 is used to realize the vibration of the terminal device 100. The SIM card interface 194 is used to connect a SIM card. In some embodiments, the terminal device 100 uses an eSIM, that is, an embedded SIM card.

[0110] In addition, an operating system runs on the above components, such as the iOS operating system, the Android open source operating system, the Windows operating system, etc. Application programs can be installed and run on the operating system.

[0111] The location privacy protection method provided in the embodiment of the present application can be applied to Figure 4 It should be noted that the above Figure 4 The description thereof is merely an example of an application carrier of the solution provided in the embodiment of the present application. Figure 4The composition does not constitute a limitation on the solution described in the embodiment of the present application. In other embodiments, the terminal side device may also have Figure 4 More or fewer components may be shown.

[0112] The software system of the terminal device can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. For example, Figure 5 A schematic diagram of the software architecture of a terminal device provided in an embodiment of the present application.

[0113] Figure 5 The layered architecture of the end-side device shown can divide the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android software architecture is divided into multiple layers, from top to bottom, namely, the application layer, the framework layer, the hardware abstraction layer, and the kernel layer.

[0114] The application layer may also be referred to as the application layer, or the application (APP) layer. In some embodiments, the application layer may include a series of applications. The applications may include camera, gallery, calendar, call, map, navigation, wireless local area network (WLAN), Bluetooth, music, video, short message, etc.

[0115] In an embodiment of the present application, different applications have different location permissions. If a user turns on the location permission of an application, in one example, when it is detected that the user has turned on the application, or when the application is running in the background, the application of the terminal device can obtain the information of multiple interest surfaces corresponding to the current location of the terminal device by calling the interface provided by the map server, randomly select a target interest surface from the multiple interest surfaces, and report the information of the target interest surface to the cloud-side device to indicate the location information of the terminal device. In one example, the application of the terminal device can periodically obtain the information of multiple interest surfaces corresponding to the current location from the map server, randomly select a target interest surface from the multiple interest surfaces, and report the information of the target interest surface to the cloud-side device to indicate the location information of the terminal device.

[0116] The framework layer can also be called the application framework layer. The framework layer can provide an application programming interface (API) and a programming framework for the application of the application layer. In an embodiment of the present application, the framework layer may include a first interface, and the application (system application or third-party application) obtains the location information of the terminal device at the current moment from the positioning module of the hardware abstraction layer by calling the first interface, so as to obtain the information of multiple interest surfaces corresponding to the location information from the map server based on the location information.

[0117] The application layer and framework layer run in the virtual machine. The virtual machine executes the java files of the application layer and framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0118] The hardware abstraction layer is an interface layer between the kernel layer and the hardware circuit. In the embodiment of the present application, the hardware abstraction layer may include a positioning module, which is used to detect the location information of the terminal device, such as longitude and latitude coordinates, or three-dimensional coordinates.

[0119] The kernel layer is a layer between hardware and software. In some embodiments, the kernel layer includes a camera driver, a display driver, a sensor driver, an audio driver, etc.

[0120] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0121] Figure 6 The flowchart of a location privacy protection method provided in an embodiment of the present application is as follows. The location privacy protection method of this embodiment can be applied to a terminal device or any executable device, such as Figure 6 As shown, the method comprises the following steps:

[0122] S601. At the first moment, obtain information of multiple interest surfaces.

[0123] In this embodiment, the multiple interest surfaces include multiple interest surfaces associated with the position of the terminal device at the first moment, and the multiple interest surfaces are of the same type.

[0124] In an optional embodiment, the terminal device obtains information about multiple interest surfaces from a server, which may be a server provided by a map manufacturer. Specifically, the terminal device sends a first request to the server, the first request includes the longitude and latitude data of the terminal device; the terminal device receives a first response returned from the server, the first response includes information about multiple interest surfaces associated with the longitude and latitude data of the terminal device.

[0125] In an optional embodiment, the information of multiple interest surfaces acquired by the terminal device at the first moment includes: information of a first interest surface corresponding to the position of the terminal device at the first moment, and information of a second interest surface whose distance value to the first interest surface is less than or equal to a preset threshold, and the second interest surface is of the same type as the first interest surface. The second interest surface includes one or more interest surfaces.

[0126] For example, the terminal device is located in a large shopping mall A at the first moment. The logo of shopping mall A can be used as the logo of the first interest surface. Other shopping malls adjacent to shopping mall A, such as shopping mall B and shopping mall C, are queried on the map, and the logos of shopping mall B and shopping mall C are used as logos of the second interest surface.

[0127] In an optional embodiment, at the first moment, the terminal device obtains information of multiple interest surfaces associated with the location of the terminal device at the first moment in response to an operation of enabling the location permission of the target application. The target application may be a system application or a third-party application.

[0128] In an optional embodiment, after the location permission of the target application is enabled, information of multiple interest surfaces associated with the location of the terminal device at different times can be periodically obtained.

[0129] In an optional embodiment, the information of multiple interest surfaces obtained by the terminal device from the server includes: the identifier of each interest surface, and the distance value between each interest surface and the terminal device. Table 1 shows a list of interest surface information, and the interest surfaces in the list can be regarded as candidate interest surfaces, mainly including the identifier of the interest surface, and the distance value between the center position of the interest surface on the map and the current position of the terminal device.

[0130] Table 1

[0131] Identification of interest Distance between the surface of interest and the end device (m) 10256 2 23471 609 … … 1234 3202

[0132] S602: Select a target interest surface from the multiple interest surfaces according to information of the multiple interest surfaces using a randomly generated probability distribution.

[0133] In an optional embodiment, the terminal side device obtains the reporting probability values ​​of multiple interest surfaces respectively according to the distance values ​​between the multiple interest surfaces and the terminal side device using the exponential mechanism of differential privacy; the terminal side device selects the target interest surface from the multiple interest surfaces according to the reporting probability values ​​of the multiple interest surfaces using a randomly generated probability distribution.

[0134] The reporting probability value of the interest surface is inversely proportional to the distance value between the interest surface and the terminal device. That is, the larger the distance value between the interest surface and the terminal device, the smaller the reporting probability value of the interest surface; the smaller the distance value between the interest surface and the terminal device, the larger the reporting probability value of the interest surface.

[0135] In this embodiment, after obtaining the reporting probability values ​​of multiple interest surfaces, the terminal device can determine the interest surface with the largest reporting probability value. Usually, the interest surface with the largest reporting probability value is the interest surface to which the terminal device is currently connected. When the terminal device reports the information of the interest surface as an indication of its location information, it does not directly select the interest surface with the largest reporting probability value, but selects the target interest surface from multiple interest surfaces with a certain probability distribution. It is possible to select the interest surface with the second largest reporting probability value, or select the interest surface with the largest reporting probability value.

[0136] In an optional embodiment, the target interest surface selected to be reported by the terminal side device may be the first interest surface corresponding to the position of the terminal side device at the first moment.

[0137] In an optional embodiment, the target interest surface selected to be reported by the terminal side device may be a second interest surface near the first interest surface corresponding to the position of the terminal side device at the first moment. The distance value between the second interest surface and the first interest surface is less than or equal to a preset threshold, and the second interest surface is of the same type as the first interest surface.

[0138] Exemplarily, based on the interest surface information list in Table 1, the terminal device uses the index mechanism of differential privacy to obtain the reporting probability value of each interest surface in the interest surface information list, as shown in Table 2. The distance value between the interest surface identified as 10256 in Table 2 and the terminal device is less than the first threshold value, and it can be determined that the interest surface identified as 10256 is the first interest surface corresponding to the current position of the terminal device, and its reporting probability value is greater than other interest surfaces in Table 2. If the terminal device selects a target interest surface from the interest surface information list with a certain probability distribution, the target interest surface may be the interest surface identified as 10256 or the interest surface identified as 23471.

[0139] Table 2

[0140]

[0141]

[0142] In an optional embodiment, the terminal device obtains the reporting probability values ​​of the multiple interest surfaces respectively according to the distance values ​​between the multiple interest surfaces and the terminal device by using the index mechanism of differential privacy, including:

[0143] The distance values ​​between the multiple interest surfaces and the terminal side device are respectively input into a preset scoring function to obtain scores corresponding to the distance values ​​between the multiple interest surfaces and the terminal side device; according to the scores corresponding to the distance values ​​between the multiple interest surfaces and the terminal side device, the index mechanism of differential privacy is used to obtain the reporting probability values ​​of the multiple interest surfaces respectively.

[0144] Exemplarily, the preset scoring function u maps the interest face information list D and the interest face identifier (represented by r) therein to a specific score u(D, r), and the distance value corresponding to the interest face identifier is used as the input of the scoring function. Using the exponential mechanism of differential privacy, the reporting probability value of the interest face is proportional to exp(∈·u(D, r) / (2Δu)). Where ∈ is the preset privacy budget, ∈ is a positive number; Δu=max r∈D max D,D′ |u(D,r)-u(D′,r)|, Δu represents the sensitivity of the scoring function; D and D′ are adjacent data sets. For example, D includes information about 5 facets of interest, and D′ includes information about 4 of the 5 facets of interest in D, that is, the number of facets of interest in D′ is one less than the number of facets of interest in D. For another example, D includes information about 5 facets of interest, and D′ includes information about 6 facets of interest, and the 6 facets of interest include 5 of the facets of interest in D, that is, the number of facets of interest in D′ is one more than the number of facets of interest in D.

[0145] Then, the normalization calculation is performed using the following formula to obtain the reporting probability value of each interest surface in the interest surface information list D, as shown in Table 2:

[0146]

[0147] It should be noted that the privacy budget ∈ can be determined through experimental verification to achieve an effective balance between the location privacy of the end-side device and the availability of user data of the end-side device.

[0148] In this step, after obtaining the reporting probabilities of multiple interest surfaces, the terminal device selects a target interest surface from the multiple interest surfaces as the interest surface to be reported through a randomly generated probability distribution. This process can be regarded as a random processing process of the location information of the terminal device. The interest surface is randomly selected with a certain probability value, and the interest surface with a higher reporting probability value is more likely to be selected.

[0149] S603: Report information of the target interest surface to the cloud-side device, where the information of the target interest surface is used to indicate location information of the terminal-side device.

[0150] The target interest surface information reported by the terminal device includes identification information of the target interest surface. Optionally, the target interest surface information may also include the name, type, address information, longitude and latitude coordinates, etc. of the target interest surface.

[0151] The location privacy protection method shown in this embodiment is that the terminal side device randomizes the information of multiple interest surfaces associated with the current location of the terminal side device, selects a target interest surface from the multiple interest surfaces, and reports the information of the target interest surface to indicate the location information of the terminal side device, thereby realizing privacy protection of the location of the terminal side device.

[0152] Based on the above location privacy protection method, the embodiment of the present application also provides an information push method, which involves an interaction process between a terminal device and a cloud device. The information push method is described in detail below in conjunction with the accompanying drawings.

[0153] For example, Figure 7 A flowchart of an information push method provided in an embodiment of the present application. Figure 7 As shown, the information push method includes the following steps:

[0154] S701. At the first moment, the terminal-side device reports information of the target interest surface to the cloud-side device.

[0155] In this embodiment, the target interest face is an interest face selected from multiple interest faces by the end-side device using the index mechanism of differential privacy with a randomly generated probability distribution. The selection process of the target interest face can be found in Figure 6 The embodiments shown will not be described in detail here.

[0156] Among them, the information of the target interest surface is used to indicate the location information of the terminal side device. In some examples, the information of the target interest surface includes identification information of the target interest surface. For the cloud side device, according to the identification information of the target interest surface reported by the terminal side device, by querying the interest surface list, the location information and / or coverage range of the target interest surface corresponding to the identification information can be obtained. Optionally, the cloud side device can pre-acquire the interest surface list from the map server. In some examples, the information of the target interest surface includes the location information of the target interest surface, such as the latitude and longitude data of the center position of the target interest surface on the map.

[0157] In an optional embodiment, the target interest facet includes any of the following:

[0158] The first interest surface corresponding to the position of the terminal device at the first moment; or

[0159] A second interest surface having a distance value from the first interest surface that is less than or equal to a preset threshold.

[0160] The second interest surface is of the same type as the first interest surface.

[0161] S702: The terminal-side device obtains user data within a preset time period before a first moment.

[0162] In this embodiment, the user data includes at least one of the following: statistical data of the user's use of applications; data information of the user's use of different applications. The statistical data of the user's use of applications includes the name of the application used by the user, the frequency and / or duration of using different applications within a preset period of time. The data information of the user's use of different applications includes: for example, the video content watched by the user, the product information purchased by the user, the service information purchased by the user, the article information browsed by the user, etc.

[0163] S703: After generalizing the user data, the terminal-side device reports the generalized user data to the cloud-side device.

[0164] In this embodiment, the terminal-side device performs generalized processing on the user data to enhance the privacy protection of the user data.

[0165] In an optional embodiment, the user data is the statistical data of the user's application usage, and the generalization process is mainly to extract the application category based on the user's application usage. That is, the statistical data of the application reported by the end-side device will not directly expose the specific application used by the user, but report the category of the application used by the user, as well as the frequency and / or duration of use of the application category.

[0166] In an optional embodiment, user data is data information about users using different applications, and generalization processing mainly involves extracting data categories based on the data information about users using applications. For example, based on the video content watched by the user, the category of the video content watched by the user is extracted; based on the product information purchased by the user, the category of the product purchased by the user is extracted; based on the service information purchased by the user, the category of the service purchased by the user is extracted; based on the article information browsed by the user, the category of the article browsed by the user is extracted. It can be seen that the data information of the application reported by the terminal device will not directly expose the specific behavior of the user in the application, but will report the interest tags of their behavior.

[0167] It should be noted that this embodiment does not limit the execution order of the end-side device reporting the information of the target interest surface and reporting the user data after generalization. In some examples, the end-side device can report the generalized user data at the same time as reporting the information of the target interest surface. In some examples, the end-side device can report the generalized user data after reporting the information of the target interest surface. In some examples, the end-side device can report the information of the target interest surface after reporting the generalized user data.

[0168] S704: The cloud-side device receives information about target interest surfaces reported by different end-side devices, as well as generalized user data.

[0169] S705. The cloud-side device aggregates the user data of the terminal-side devices that report information on the same target interest surface, and obtains group portrait data within the coverage of the target interest surface.

[0170] In an optional embodiment, the user data is statistical data of users' use of applications. The cloud-side device collects user data from different end-side devices, aggregates the user data of the end-side devices that report information on the same target interest surface, and obtains group portrait data within the coverage of the target interest surface. The group portrait data includes, for example, the name or category of the application most frequently used by the group. Exemplarily, Table 3 shows a statistical table of the use of various types of applications by groups within the coverage of different interest surfaces by the end-side device. For example, the frequency of use of application A by the group within the coverage of interest surface 0 within a preset time period is 1221. The end-side device can determine the name or category of the application most frequently used by the groups within the coverage of different interest surfaces through the statistical table. For example, the top three applications most frequently used by the groups within the coverage of interest surface 0 are application A, application B, and application C.

[0171] Table 3

[0172] Identification of interest Application Name Frequency 0 [Application A, Application B, Application C, Application D, …] [1221,885,446,144,…] 1 [App E,App F,App B,App H,…] [2234,1885,946,545,…] 2 [App G,App C,App D,App H,…] [994,885,411,164,…] … … …

[0173] For example, Figure 8 A schematic diagram of group portrait data of a geographic fence divided based on interest areas provided in an embodiment of the present application. Combined with the example in Table 3, Figure 8 As shown, the geo-fence corresponding to the interest face identified as 0 covers a community. During the day or night, the user group within the geo-fence is mainly the elderly, and the applications most commonly used by the elderly are: Application A, Application B and Application C. The geo-fence corresponding to the interest face identified as 1 covers an office park. During the day, the user group within the geo-fence is mainly office workers, and the applications most commonly used by office workers are: Application E, Application F and Application B. The geo-fence corresponding to the interest face identified as 2 covers a park. During the night, the user group within the geo-fence is mainly sports enthusiasts, and the applications most commonly used by sports enthusiasts are: Application G, Application C and Application D. It should be understood that the geo-fences corresponding to different interest faces are usually non-overlapping on the map, such as Figure 8 shown.

[0174] In an optional embodiment, the user data is data information of users using different applications. The cloud-side device collects user data from different end-side devices, aggregates the user data of the end-side devices that report information of the same target interest surface, and obtains group portrait data within the coverage of the target interest surface. The group portrait data includes the labels or categories of the group's popular data in a certain application, such as the labels or categories of popular videos watched by the group in a certain application, the labels or categories of popular products purchased, and the labels or categories of popular articles browsed.

[0175] In summary, the cloud-side device uses the information of the interest surface reported by the end-side device (such as the identifier of the interest surface) as a data statistical dimension, and collects the user data reported by the end-side device under this data statistical dimension to obtain group portrait data within the coverage of the interest surface, thereby ensuring the availability of statistical data while ensuring a certain degree of location privacy.

[0176] S706. The cloud-side device pushes group portrait data to the terminal-side devices within the coverage of the target interest area. The group portrait data is used for information recommendation on the terminal-side devices.

[0177] S707. The terminal device executes at least one of the following according to the group portrait data: application preloading; data content request.

[0178] In an optional embodiment, the terminal device performs application preloading according to the group portrait data. Exemplarily, the group portrait data includes the name or category of the application most frequently used by the group, and the terminal device can send a data request to the server according to the group portrait data.

[0179] In one example, the data request carries the name of the application most frequently used by the group, which is used to request the relevant resources of the application. The terminal device can preload the relevant resources of the application locally on the terminal device so that the user can directly obtain the resources from the cache when needed, thereby improving the user experience.

[0180] In another example, the data request carries the application category most frequently used by the group, which is used to request the server to push related applications of this category, thereby realizing intelligent recommendation of applications for users within the coverage area of ​​interest.

[0181] In an optional embodiment, the end-side device executes a data content request based on the group portrait data. Exemplarily, the group portrait data includes a tag of the group's popular data in a certain application. When the user opens the application, the end-side device can send a data request to the server, and the data request carries the tag of the group's popular data in the application, which is used to request to obtain the popular data and realize accurate push of data content.

[0182] In the information push method shown in this embodiment, the cloud-side device receives interest surface information and user data reported by different end-side devices, and aggregates the user data of the end-side devices that report the same interest surface information, so as to obtain the group portrait data within the coverage range of the interest surface. The cloud-side device can send group portrait data to the end-side devices within the coverage range of the interest surface, so that the end-side devices can obtain the server recommended data. In the above scheme, the interest surface information reported by the end-side device is the information after disturbance, which ensures a certain degree of privacy protection. In addition, the user data is the data after generalization processing, and based on these data, the obtained group portrait data has high availability.

[0183] Fig. 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig. 9 As shown, the electronic device 900 of this embodiment includes: an acquisition module 901 , a processing module 902 and a sending module 903 .

[0184] At a first moment, an acquisition module 901 is configured to acquire information of a plurality of interest surfaces, where the plurality of interest surfaces include a plurality of interest surfaces associated with a position of the terminal device at the first moment, and the plurality of interest surfaces are of the same type;

[0185] A processing module 902 is configured to select a target interest surface from the multiple interest surfaces according to information of the multiple interest surfaces using a randomly generated probability distribution;

[0186] The sending module 903 is used to report the information of the target interest surface to the cloud-side device, where the information of the target interest surface is used to indicate the location information of the terminal-side device.

[0187] In an optional embodiment, the electronic device 900 of this embodiment further includes: a receiving module 904 .

[0188] A sending module 903 is used to send a first request to the server, where the first request includes the longitude and latitude data of the terminal device;

[0189] The receiving module 904 is used to receive a first response from the server, where the first response includes information of multiple interest surfaces associated with the longitude and latitude data of the terminal device.

[0190] In an optional embodiment, the information of the multiple interest aspects includes:

[0191] Information about a first interest surface corresponding to the position of the terminal device at the first moment; and

[0192] Information about a second interest surface whose distance to the first interest surface is less than or equal to a preset threshold, and the second interest surface is of the same type as the first interest surface.

[0193] In an optional embodiment, the information of the multiple interest aspects includes:

[0194] The identifier of each interest surface, and the distance value between each interest surface and the terminal side device.

[0195] In an optional embodiment, the processing module 902 is used to:

[0196] According to the distance values ​​between the multiple interest surfaces and the terminal side device, using the index mechanism of differential privacy, respectively obtain the reporting probability values ​​of the multiple interest surfaces;

[0197] The target interest surface is selected from the multiple interest surfaces according to the reported probability values ​​of the multiple interest surfaces with a randomly generated probability distribution.

[0198] In an optional embodiment, the processing module 902 is used to:

[0199] Inputting the distance values ​​between the multiple interest surfaces and the terminal side device into a preset scoring function respectively, and obtaining scores corresponding to the distance values ​​between the multiple interest surfaces and the terminal side device;

[0200] According to the scores corresponding to the distance values ​​between the multiple interest surfaces and the terminal side device, the reporting probability values ​​of the multiple interest surfaces are respectively obtained by utilizing the index mechanism of differential privacy.

[0201] In an optional embodiment, the target interest surface includes any one of the following: a first interest surface corresponding to the position of the terminal device at the first moment; or

[0202] A second interest surface having a distance value from the first interest surface less than or equal to a preset threshold, and the second interest surface is of the same type as the first interest surface.

[0203] In an optional embodiment, the acquisition module 901 is used to acquire the information of the multiple interest surfaces in response to an operation of enabling the location permission of the target application at the first moment.

[0204] In an optional embodiment, the acquisition module 901 is used to acquire user data within a preset period before the first moment;

[0205] The processing module 902 is used to generalize the user data and report the generalized user data to the cloud-side device; the user data includes at least one of the following: statistical data of user use of applications; data information of users using different applications.

[0206] In an optional embodiment, the receiving module 904 is used to receive group portrait data from the cloud-side device, where the group portrait data is obtained by the cloud-side device by aggregating user data reported by the terminal-side devices within the coverage range of the target interest surface;

[0207] The processing module 902 is used to perform at least one of the following according to the group portrait data: application preloading; data content request.

[0208] The electronic device provided in this embodiment can execute the technical solution of the terminal side device in the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0209] Fig.10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.10 As shown, the electronic device 1000 of this embodiment includes: a receiving module 1001 , a processing module 1002 and a sending module 1003 .

[0210] The receiving module 1001 is used to receive information of a target interest facet and user data reported by different end-side devices; the target interest facet is an interest facet selected by the end-side device from multiple interest faces using a randomly generated probability distribution using an exponential mechanism of differential privacy;

[0211] The processing module 1002 is used to obtain group portrait data within the coverage of the target interest surface by aggregating user data of the terminal side devices that report information of the same target interest surface;

[0212] The sending module 1003 is used to push the group portrait data to the terminal side devices within the coverage area of ​​the target interest surface, and the group portrait data is used for information recommendation of the terminal side devices.

[0213] The electronic device provided in this embodiment can execute the technical solution of the cloud-side device in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here.

[0214] In the above embodiments, a "module" may be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.

[0215] Therefore, the modules of each example described in the embodiments of the present application can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in the form of hardware or software 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 be beyond the scope of this application.

[0216] The present application also provides an electronic device including: a memory, a processor and a computer program. The computer program is stored in the memory and is configured to be executed by the processor to implement the technical solution of the terminal device in the above method embodiment. The implementation principle and technical effect are similar and will not be repeated here.

[0217] The present application also provides an electronic device including: a memory, a processor and a computer program. The computer program is stored in the memory and is configured to be executed by the processor to implement the technical solution of the cloud-side device in the above method embodiment. The implementation principle and technical effect are similar and will not be repeated here.

[0218] The memory may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device 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, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, 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 desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0219] The memory can be independent and connected to the processor through a communication line, or it can be integrated with the processor.

[0220] The processor may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0221] An embodiment of the present application provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the technical solution of the terminal device in the above embodiment. The implementation principle and technical effect are similar to those of the above-mentioned related embodiments and will not be repeated here.

[0222] An embodiment of the present application provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the technical solution of the cloud-side device in the above embodiment. The implementation principle and technical effect are similar to those of the above-mentioned related embodiments and will not be repeated here.

[0223] An embodiment of the present application provides a chip, which includes a processor. The processor is used to call a computer program in a memory to execute the technical solution of the terminal device in the above embodiment. Its implementation principle and technical effect are similar to those of the above-mentioned related embodiments and will not be repeated here.

[0224] An embodiment of the present application provides a chip, which includes a processor. The processor is used to call a computer program in a memory to execute the technical solution of the cloud-side device in the above embodiment. Its implementation principle and technical effect are similar to those of the above-mentioned related embodiments and will not be repeated here.

[0225] An embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the technical solution of the terminal device in the above embodiment. The implementation principle and technical effect are similar to those of the above-mentioned related embodiments and are not repeated here.

[0226] An embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the technical solution of the cloud-side device in the above embodiment. The implementation principle and technical effect are similar to those of the above-mentioned related embodiments and will not be repeated here.

[0227] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for protecting location privacy, characterized in that: Applied to a terminal device, the method includes: At a first moment, obtaining information of a plurality of interest surfaces, the plurality of interest surfaces including a plurality of interest surfaces associated with a position of the terminal side device at the first moment, and the plurality of interest surfaces are of the same type; According to the information of the multiple interest surfaces, selecting a target interest surface from the multiple interest surfaces with a randomly generated probability distribution; Report the information of the target interest surface to the cloud-side device, where the information of the target interest surface is used to indicate the location information of the terminal-side device.

2. The method according to claim 1, characterized in that The obtaining of information of multiple interest surfaces includes: Sending a first request to a server, where the first request includes the longitude and latitude data of the terminal device; A first response is received from the server, where the first response includes information of multiple interest surfaces associated with the longitude and latitude data of the end-side device.

3. The method according to claim 1 or 2, characterized in that: The information of the multiple interest aspects includes: Information about a first interest surface corresponding to the position of the terminal device at the first moment; and Information about a second interest surface whose distance to the first interest surface is less than or equal to a preset threshold, and the second interest surface is of the same type as the first interest surface.

4. The method according to any one of claims 1 to 3, characterized in that: The information of the multiple interest aspects includes: The identifier of each interest surface, and the distance value between each interest surface and the terminal side device.

5. The method according to any one of claims 1 to 4, characterized in that: The selecting a target interest surface from the multiple interest surfaces according to the information of the multiple interest surfaces with a randomly generated probability distribution includes: According to the distance values ​​between the multiple interest surfaces and the terminal side device, using the index mechanism of differential privacy, respectively obtain the reporting probability values ​​of the multiple interest surfaces; The target interest surface is selected from the multiple interest surfaces according to the reported probability values ​​of the multiple interest surfaces with a randomly generated probability distribution.

6. The method according to claim 5, characterized in that The obtaining, according to the distance values ​​between the multiple interest surfaces and the terminal side device, respectively the reporting probability values ​​of the multiple interest surfaces by using the index mechanism of differential privacy includes: Inputting the distance values ​​between the multiple interest surfaces and the terminal side device into a preset scoring function respectively, and obtaining scores corresponding to the distance values ​​between the multiple interest surfaces and the terminal side device; According to the scores corresponding to the distance values ​​between the multiple interest surfaces and the terminal side device, the reporting probability values ​​of the multiple interest surfaces are respectively obtained by utilizing the index mechanism of differential privacy.

7. The method according to any one of claims 1 to 6, characterized in that: The target interest surface includes any one of the following: a first interest surface corresponding to the position of the terminal device at the first moment; or A second interest surface having a distance value from the first interest surface less than or equal to a preset threshold, and the second interest surface is of the same type as the first interest surface.

8. The method according to any one of claims 1 to 7, characterized in that: At the first moment, obtaining information of the plurality of interest surfaces includes: At the first moment, in response to an operation of enabling the location permission of the target application, information of the plurality of interest surfaces is obtained.

9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: Acquiring user data within a preset period before the first moment; After generalizing the user data, reporting the generalized user data to the cloud-side device; The user data includes at least one of the following: Statistics on user usage of the app; Data information of users using different applications.

10. The method according to claim 9, characterized in that The method further comprises: Receiving group portrait data from the cloud-side device, where the group portrait data is obtained by the cloud-side device by aggregating user data reported by the terminal-side devices within the coverage range of the target interest surface; Execute at least one of the following according to the group portrait data: application preloading; data content request.

11. A method for protecting location privacy, characterized in that: Applied to cloud-side devices, including: Receiving information of a target interest facet and user data reported by different end-side devices; the target interest facet is an interest facet selected by the end-side device from multiple interest faces using a randomly generated probability distribution using an exponential mechanism of differential privacy; By aggregating user data of the terminal devices that report information of the same target interest surface, group portrait data within the coverage of the target interest surface is obtained; The group portrait data is pushed to the terminal side device within the coverage range of the target interest area, and the group portrait data is used for information recommendation of the terminal side device.

12. An electronic device, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the electronic device performs the method according to any one of claims 1 to 10, or the method according to claim 11.

13. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 10 or the method according to claim 11 is implemented.

14. A computer program product, characterized in that The method comprises a computer program, which, when being executed, causes a computer to execute the method according to any one of claims 1 to 10 or the method according to claim 11.