A method and system for protecting mobile user location privacy based on PKI structure
By using a private data access certificate based on the PKI structure in the mobile APP to limit the accuracy and usage period of its accessible location information, it solves the problem of APP still abusing permissions after the user exits the service, and achieves effective protection of user location privacy. .
Patent Information
- Application Number
- CN202210393306.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-14
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-04-14
AI Technical Summary
Existing technology cannot effectively prevent mobile APPs from abusing location permissions and continuing to collect user locations and other personal privacy information after users exit the service, resulting in threats to user privacy and security.
Using a mobile user location privacy protection method based on the PKI structure, the APP obtains a private data access certificate before providing services. The certificate stipulates the accuracy and usage period of its accessible location data. The user verifies the certificate when starting the APP, and the certificate becomes invalid after the service is terminated. Prevent APP from abusing permissions.
Ensure that the APP can only obtain location information of legal accuracy during the provision of services, prevent permission abuse, protect user location privacy and security to the maximum extent, and prevent the APP from continuing to collect location information even when the user has not turned off location service permissions.
Smart Images

Figure HDA0003596392310000011 
Figure HDA0003596392310000021 
Figure HDA0003596392310000031
Abstract
Description
Technical Field
[0001] The present invention relates to the field of PKI and mobile terminal technology, and in particular to a method and system for protecting the privacy of mobile user location based on a PKI structure. Background Art
[0002] In this era of rapid Internet development, APPs in mobile terminals have brought great convenience to people's lives, among which the location-based services provided by APPs have become an indispensable part. Before mobile users start location-based service APPs, they need to enable location permissions first. And the location service function must remain enabled while users use the APP's services.
[0003] Chinese patent document CN 110287659 A discloses a management method, terminal and system for APP to apply for dynamic permissions. The system quickly identifies risks during the APP installation process and reminds users whether to grant permissions, which to a certain extent improves the current situation of users granting permissions at will; CN 113032766 B discloses a method and device for application permission management. The method establishes a fine-grained permission management system based on the mapping relationship between functions, permissions and APPs, which to a certain extent protects the security of users' privacy data.
[0004] However, when the user exits the APP and ends the service, the APP providing the service may abuse the permissions granted by the user and continue to collect the user's location and other personal privacy information, posing a huge threat to the user's privacy security. Therefore, how to effectively prevent APP from abusing the permissions granted by users and protect the location privacy security of mobile users is a problem that this application needs to solve. Summary of the invention
[0005] The present invention proposes a method and system for protecting the privacy of mobile user location based on a PKI structure. Before a mobile APP provides services, it needs to have a privacy data access certificate issued by a PKI. The privacy data access certificate specifies the accuracy level and usage period of the user location data that it can access based on the content and nature of the APP service. When the user starts the APP, he first confirms that the APP has a legitimate privacy data access certificate, and adjusts the accuracy of the location data accordingly based on the certificate. After the user ends the service, the user stops providing location information or provides the location with the lowest accuracy. The invention is used to prevent APP from abusing the privacy data access rights granted by the user, and to provide effective protection for the user's location privacy. To achieve the above purpose, the present invention adopts the following technical scheme:
[0006] A method for protecting the location privacy of a mobile user based on a PKI structure, the method involves a mobile terminal, a mobile application service provider (Mobile Application Service Provider, MASP) and a CA (Certificate Authority) system, and the method comprises the following steps:
[0007] Step 1: Application for registration of APP privacy data access certificate: When the MASP of the APP requests location information from the user, the user will provide the location information with corresponding accuracy based on the privacy data access certificate of the APP, so the APP without the privacy data access certificate must first apply for registration with the CA system. In addition, the privacy data access certificate has a validity period, which is determined by two factors: the accuracy of the location information requested by the MASP and the time of registration and application for the privacy data access certificate. When the certificate expires, the APP must reapply if it wants to request the user's location information;
[0008] Step 2: The user requests a location-based service, and the APP's MASP sends a privacy data access certificate to request location information;
[0009] Step 3: The user provides location information of corresponding accuracy based on the privacy data access certificate of the APP: Based on the PKI structure, before providing location information to MASP, the user will verify that the source of the privacy data access certificate is reliable and has not been tampered with through the MASP public key and the CA system public key. If the verification is successful, the accuracy of the location information provided by the user to MASP is consistent with that on the APP privacy data access certificate, preventing MASP from obtaining higher-precision location information of the user when providing services;
[0010] Step 4: After the user exits the APP and ends the location-based service, the privacy data access certificate becomes invalid and MASP can only obtain the location information with the lowest accuracy: The expiration of the APP privacy data access certificate restricts MASP from continuing to collect user location information and other privacy information in addition to providing services to users. If the user does not initiate a request for location-based services, the APP cannot reapply for the privacy data access certificate.
[0011] In the above-mentioned mobile user location privacy protection method based on PKI structure, the method involves a mobile terminal. The mobile terminal's request for location-based services is triggered by the user, so the user's request for location-based services mentioned in the article is equivalent to the mobile terminal's request for location-based services. The user provides the APP with location information of corresponding accuracy based on the APP's privacy data access certificate, which is essentially the mobile terminal providing the location information.
[0012] In the above-mentioned method for protecting the privacy of mobile user location based on the PKI structure, the method involves a CA system, which is a core element in the PKI structure, including an authoritative registration authority RA and a certificate authority CA. The CA system issues a digital certificate to the user through the application information submitted by the user, and signs the certificate with its own private key. After that, other users can verify the certificate using the CA's public key. After the user's identity is authenticated by the CA system, he or she can also use his or her own private key to encrypt communications with other users. For example, when user A communicates with other users in the system, he or she uses his or her own private key to create a digital signature for the message sent. The user who receives the message can use A's public key to verify whether the message comes from A and has not been tampered with. Obviously, in the present invention, RA is responsible for reviewing the APP identity and privacy data access certificate registration application, while CA is responsible for issuing the corresponding privacy data access certificate to the APP based on the APP's application.
[0013] In the above-mentioned mobile user location privacy protection method based on PKI structure, the method involves MASP. In the present invention, the registration of APP to the CA system for the application of the privacy data access certificate is actually completed by MASP, and the privacy data access certificate of APP is stored by MASP. Therefore, the registration of APP to the CA system for the certificate described in the article is equivalent to the registration of MASP to the CA system for the certificate.
[0014] At the same time, the present invention also provides a mobile user location privacy protection system based on a PKI structure, which adopts the user location privacy protection method as described above, and the system includes:
[0015] Module 1: APP privacy data access certificate registration application module: When the APP's MASP requests location information from the user, the user will provide the location information with corresponding accuracy based on the APP's privacy data access certificate. Therefore, APPs without privacy data access certificates must first register with the CA system. In addition, the privacy data access certificate has a validity period, which is determined by two factors: the accuracy of the location information requested by the APP's MASP and the time of registration and application for the privacy data access certificate. When the certificate expires, the APP's MASP must reapply if it wants to request the user's location information;
[0016] Module 2: User requests location-based service module: The user requests location-based service, and the MASP of the APP sends a privacy data access certificate to request location information;
[0017] Module 3: User-provided location information module: Based on the PKI structure, before providing location information to MASP, the user will verify whether the source of the privacy data access certificate is reliable and has not been tampered with through the MASP public key and the CA system public key. If the verification is successful, the accuracy of the location information provided by the user to MASP is consistent with that on the APP privacy data access certificate, preventing MASP from obtaining higher-precision location information of the user when providing services;
[0018] Module 4: The user exits the APP to end the location-based service module: When the user exits the APP to end the location-based service module, the privacy data access certificate will become invalid in a short period of time, and MASP can only obtain location information with the lowest accuracy. The expiration of the certificate restricts MASP from continuing to collect user location information and other privacy information in addition to providing services to users. If the user does not initiate a request for location-based services, the APP cannot reapply for the privacy data access certificate.
[0019] From the above content, it can be seen that compared with the prior art, the advantages and beneficial effects of the present invention are:
[0020] The present invention is based on the PKI structure. In the initial state, the CA system completes the identity authentication for the MASP of the mobile terminal and the APP, ensuring that the accuracy of the location information in the MASP's application for the privacy data access certificate matches the service type requested by the user. In addition, the CA system uses the private key signature to ensure that the privacy data access certificate will not be tampered with or abused during the issuance and transmission process.
[0021] When users enjoy the service, the mobile terminal provides location information of corresponding accuracy based on the privacy data access certificate of the APP. At this time, the MASP of the APP cannot obtain higher-precision location information, which not only ensures the quality of the service provided by the APP to users, but also protects the location privacy security of users to the greatest extent;
[0022] After the user ends the service provided by the APP, even if the user does not have the authority to turn off the location service, due to the expiration of the APP privacy data access certificate, the present invention can still prevent the APP from abusing the authority granted by the user and effectively protect the user's location privacy information. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a schematic diagram of the process of the present invention;
[0024] Figure 2 This is a schematic diagram of the process of step 1 of the present invention;
[0025] Figure 3 This is a schematic diagram of the process of step 2 of the present invention;
[0026] Figure 4 This is a schematic diagram of the process of step three of the present invention. DETAILED DESCRIPTION
[0027] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0028] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0029] like Figure 1 As shown, a specific embodiment of the present invention provides a method and system for protecting the privacy of mobile user location based on a PKI structure, the method involves a mobile terminal, a MASP and a CA system, and the method includes:
[0030] Step 1: Apply for registration of APP privacy data access certificate;
[0031] In the initial state of the embodiment, the CA system in the PKI completes the identity authentication for the MASP of the mobile terminal and the APP, that is, either the mobile terminal or the MASP uses its own private key to add a signature to the request, and the receiving party of the request can verify the source of the request through the other party's public key.
[0032] MASP submits a registration application for a privacy data access certificate to the CA system in the PKI, which includes the service type requested by the user and the location information accuracy required by MASP. The CA system first reviews whether the MASP registration application is reasonable. The steps include:
[0033] (1) The CA system verifies the source of the registration application based on the MASP public key to prevent other malicious MASPs from forging registration applications by using the MASP's identity;
[0034] (2) The CA system verifies the type of service requested by the mobile terminal based on its public key, ensuring that the location information accuracy required by the MASP corresponds to it, and preventing the MASP from abusing its authority to access the user's more accurate location information.
[0035] If the verification of any of the above steps fails, the CA system will directly discard the registration application.
[0036] After the CA system completes the review of the MASP registration application, it will generate a privacy data access certificate for it based on the MASP's request information, and use its own private key to sign the certificate to prove the authority of the certificate, preventing malicious MASPs from forging false privacy data access certificates to steal user location privacy;
[0037] However, if the CA system issues a privacy data access certificate to the APP every time the user requests a service, this will not only bring huge computing overhead to the CA system, but also greatly reduce the quality of service provided by MASP to users. Therefore, the CA system will set different validity periods for different privacy data access certificates based on two factors: the accuracy of the location obtained by MASP and the time to apply for the privacy data access certificate. During the validity period, when the user initiates a service request, MASP does not need to reapply for the privacy data access certificate.
[0038] In terms of location accuracy, the higher the location accuracy that MASP wants to request, the shorter the validity period of the privacy data access certificate obtained. This solution divides location accuracy into two levels: precise positioning and rough positioning according to the classification of location permissions of mobile terminals:
[0039] (1) When MASP provides services such as navigation, it always needs to obtain the user's precise location information. The CA system will set the validity period of such private data access certificates to the shortest possible time. Even if MASP abuses the permissions granted by the user, the time interval is short and the additional location information obtained is small, which plays a role in protecting the user's location privacy to a certain extent.
[0040] (2) When MASP provides services such as audio and video, it obtains location information only to make corresponding recommendations based on the user's location, and the location accuracy requirement is relatively low. In this case, the validity period of the privacy data access certificate issued by the CA is relatively long. This is because even if MASP abuses user permissions, the location information obtained is rough and has little impact on the user's location privacy security.
[0041] In terms of the time to apply for a privacy data access certificate, the greater the probability that MASP applies for a privacy data access certificate during a certain period of time, the more frequently users request location-based services during that period. If the validity period of the privacy data access certificate is set to be shorter, users who enable APP services multiple times during a certain period of time may cause MASP to frequently apply for a privacy data access certificate from the CA system, greatly increasing the burden on the system. Therefore, the basis for CA is the probability of historical MASP applying for a privacy data access certificate during that period of time. The higher the probability, the longer the validity period of the privacy data access certificate. Just like in a day, the probability of MASP applying for a certificate in the early morning is much lower than at other times, so the validity period of the privacy data access certificate issued by CA at this time must be the shortest.
[0042] Step 2: The user requests location-based services, and the MASP sends a privacy data access certificate to request location information;
[0043] The user requests location-based services from the MASP. In the request, the mobile terminal uses a private key to sign the service type to ensure that the MASP reasonably requests location information of corresponding accuracy according to the service type. If the MASP holds a privacy data access certificate issued by the CA system, then the MASP can directly send the privacy data access certificate to request location information of corresponding accuracy from the user; but if the MASP does not have a privacy data access certificate or the privacy data access certificate has expired, it must first apply for a privacy data access certificate from the CA system.
[0044] Step 3: The mobile terminal provides location information of corresponding accuracy according to the privacy data access certificate of the APP;
[0045] After MASP obtains the private data access certificate, in order to ensure that the certificate is uniquely associated with itself and cannot be used by other malicious MASPs, MASP will use its own private key to add a digital signature to it and then send it to the user, requesting location information of corresponding accuracy based on the service required by the user;
[0046] After receiving the privacy data access certificate sent by MASP, the mobile terminal performs the following operations:
[0047] (1) The mobile terminal uses the public key of the MASP to decode the digital signature. If the decoding fails, the mobile terminal discards the private data access certificate. If the decoding succeeds, it proves that the sender of the private data access certificate is indeed the MASP.
[0048] (2) The mobile terminal then uses the CA's public key to verify the authority of the private data access certificate. If the verification is successful, it proves that the private data access certificate is issued by the CA and has not been tampered with. In this case, the user provides location information of corresponding accuracy based on the private data access certificate. Otherwise, the location information obtained by MASP is the lowest accuracy.
[0049] Step 4: After the user exits the APP and ends the location-based service, the privacy data access certificate becomes invalid and MASP can only obtain the location information with the lowest accuracy.
[0050] When the user exits the APP and the location-based service ends, the APP's privacy data access certificate will also become invalid within a short period of time. Even if the user's location access permission is still open, the user location information obtained by the MASP without the privacy data access certificate is also processed to meet the user's location privacy protection requirements, such as achieving K-anonymity, thereby effectively protecting the user's location privacy. Before the next time the user requests a location-based service, the MASP cannot reapply for a privacy data access certificate.
[0051] The above-described embodiments of the present invention do not constitute a limitation on the protection scope of the present invention. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the claims of the present invention.
Claims
1. A method for protecting the location privacy of mobile users based on a PKI structure, the method involving a mobile terminal, a MASP and a CA system, characterized in that: The method comprises the following steps: Step 1: Application for registration of APP privacy data access certificate: When a MASP submits a registration application for a privacy data access certificate to the CA system in the PKI, which includes the service type requested by the user and the location information accuracy required by the MASP, the CA system first reviews whether the MASP registration application is reasonable: the CA system verifies the source of the registration application based on the MASP public key to prevent other malicious MASPs from forging registration applications using the MASP's identity; the CA system verifies the type of service requested by the mobile terminal based on the public key of the mobile terminal to ensure that the location information accuracy required by the MASP corresponds to it, and prevents the MASP from abusing its authority to access the user's higher-precision location information; When the MASP of an APP requests location information from a user, the user will provide the location information with the corresponding accuracy based on the privacy data access certificate of the APP. Therefore, an APP without a privacy data access certificate must first register with the CA system. In addition, the privacy data access certificate has a validity period, which is determined by two factors: the accuracy of the location information requested by the MASP of the APP and the time of registration and application for the privacy data access certificate. When the certificate expires, the MASP of the APP must reapply if it wants to request the user's location information; Step 2: The user requests a location-based service, and the APP's MASP sends a privacy data access certificate to request location information; Step 3: The user provides location information of corresponding accuracy based on the privacy data access certificate of the APP: Based on the PKI structure, before providing location information to MASP, the user will verify whether the source of the privacy data access certificate is reliable and has not been tampered with through the MASP public key and the CA system public key. If the verification is successful, the accuracy of the location information provided by the user to MASP is consistent with that on the APP privacy data access certificate, preventing MASP from obtaining higher-precision location information of the user when providing services; Step 4: After the user exits the APP and ends the location-based service, the privacy data access certificate becomes invalid and MASP can only obtain the location information with the lowest accuracy: The expiration of the APP privacy data access certificate restricts MASP from continuing to collect user location information and other privacy information in addition to providing services to users. If the user does not initiate a request for location-based services, the APP cannot reapply for the privacy data access certificate.
2. The method for protecting the privacy of mobile user location based on the PKI structure as claimed in claim 1, characterized in that: The method involves a mobile terminal, and the mobile terminal's request for location-based services is triggered by a user. The user's request for location-based services is equivalent to the mobile terminal's request for location-based services. The user provides the MASP with location information of corresponding accuracy based on the APP's privacy data access certificate, which is essentially the mobile terminal providing the location information.
3. The method for protecting the privacy of mobile user location based on PKI structure as claimed in claim 1, characterized in that: The method involves a CA system, which is a core element in the PKI structure and includes an authoritative registration authority RA and a certificate authority CA. The RA is responsible for reviewing the APP identity and privacy data access certificate registration application, while the CA is responsible for issuing the corresponding privacy data access certificate to the APP based on the APP's application and signing the certificate with its own private key. Other users can then use the CA's public key to verify the certificate.
4. The method for protecting the privacy of mobile user location based on PKI structure as claimed in claim 1, characterized in that: The method involves MASP. The registration of APP to apply for a privacy data access certificate with the CA system is actually completed by MASP, and the privacy data access certificate of APP is stored by MASP. Therefore, the registration of APP to apply for a certificate with the CA system is equivalent to the registration of MASP to apply for a certificate with the CA system.
5. A mobile user location privacy protection system based on PKI structure, characterized in that: The system includes: Module 1: APP privacy data access certificate registration application module: When a MASP submits a registration application for a privacy data access certificate to the CA system in the PKI, which includes the service type requested by the user and the location information accuracy required by the MASP, the CA system first reviews whether the MASP registration application is reasonable: the CA system verifies the source of the registration application based on the MASP public key to prevent other malicious MASPs from forging registration applications using the MASP's identity; the CA system verifies the type of service requested by the mobile terminal based on the public key of the mobile terminal to ensure that the location information accuracy required by the MASP corresponds to it, and prevents the MASP from abusing its authority to access the user's higher-precision location information; When the MASP of an APP requests location information from a user, the user will provide the location information with the corresponding accuracy based on the privacy data access certificate of the APP. Therefore, an APP without a privacy data access certificate must first register with the CA system. In addition, the privacy data access certificate has a validity period, which is determined by two factors: the accuracy of the location information requested by the MASP of the APP and the time of registration and application for the privacy data access certificate. When the certificate expires, the MASP of the APP must reapply if it wants to request the user's location information; Module 2: User requests location-based service module: The user requests location-based service, and the MASP of the APP sends a privacy data access certificate to request location information; Module 3: User-provided location information module: Based on the PKI structure, before providing location information to MASP, the user will verify whether the source of the privacy data access certificate is reliable and has not been tampered with through the MASP public key and the CA system public key. If the verification is successful, the accuracy of the location information provided by the user to MASP is consistent with that on the APP privacy data access certificate, preventing MASP from obtaining higher-precision location information of the user when providing services; Module 4: The user exits the APP to end the location-based service module: When the user exits the APP to end the location-based service module, the privacy data access certificate will become invalid in a short period of time, and MASP can only obtain location information with the lowest accuracy. The expiration of the certificate restricts MASP from continuing to collect user location information and other privacy information in addition to providing services to users. If the user does not initiate a request for location-based services, the APP cannot reapply for the privacy data access certificate.
Citation Information
Patent Citations
APP application dynamic permission management method, terminal and system
CN110287659A
Methods and apparatus for application permission management
CN113032766B
Anonymous digital certificate system and verification method of trustable computing environment
CN102594558A
Position privacy protection method and system based on particle size control
CN104581625A
Privacy data protection method and system for cloud tenants
CN108429746A
