Location permission management method and apparatus, electronic device and storage medium
By receiving location area input in the map interface to determine application access permissions, the problem of user privacy information leakage is solved, and effective control over application location permissions is achieved, improving user privacy security and the flexibility of location permission management.
Patent Information
- Application Number
- PCT/CN2025/089236
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-17
- Filing Date
- 2025-04-16
- Publication Date
- 2025-10-23
AI Technical Summary
User privacy information is at risk of being leaked after third-party applications obtain location information, and existing systems have failed to effectively control location permissions.
By receiving location area input from the map interface, the system determines the application access permissions corresponding to that area, sets the applicable scope, time, and processing strategy for application access permissions, and thus controls application location permissions.
It enhances the security of user privacy information, meets users' personalized needs for location permissions, and improves the flexibility and convenience of location permission management.
Smart Images

Figure CN2025089236_23102025_PF_FP_ABST
Abstract
Description
Positioning permission management method and device, electronic equipment and storage medium
[0001] Cross-reference to Related Applications
[0002] The present application claims priority to the Chinese patent application No. 202410464323.X, filed on April 17, 2024, and entitled "Positioning permission management method and device, electronic equipment and storage medium", the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0003] The present application belongs to the technical field of electronic equipment, and particularly relates to a positioning permission management method and device, electronic equipment and storage medium. BACKGROUND
[0004] With the development of intelligent devices and the popularity of intelligent applications and intelligent assistants, users pay more and more attention to their location information and other private information. After a third-party application obtains the location information of a user, it may perform dangerous operations such as tracking and positioning the user. Therefore, mainstream software system manufacturers (such as iOS and Android) have increased the management and control of application positioning permissions for intelligent devices, that is, when an application accesses the positioning permission of a user, a permission application pop-up window will be displayed to the user.
[0005] However, if the third-party application is granted the positioning permission, the application can obtain the detailed location information of the user at any time and in any place to locate the position of the user, which may lead to the risk of leakage of the user's private information. SUMMARY
[0006] The purpose of the embodiments of the present application is to provide a positioning permission management method and device, electronic equipment and storage medium, which can improve the security of user private information.
[0007] In a first aspect, the embodiments of the present application provide a positioning permission management method, which comprises: receiving a first input to a first location region in a map interface; and determining an application access permission corresponding to the first location region in response to the first input.
[0008] In a second aspect, the embodiments of the present application provide a positioning permission management device, which comprises: a receiving module and a determining module; the receiving module is configured to receive a first input to a first location region in a map interface; and the determining module is configured to determine an application access permission corresponding to the first location region in response to the first input received by the receiving module.
[0009] In a third aspect, an electronic device is provided, which includes a processor and a memory. The memory stores programs or instructions executable by the processor. The programs or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
[0010] In a fourth aspect, a readable storage medium is provided, which stores programs or instructions. The programs or instructions, when executed by a processor, implement the steps of the method according to the first aspect.
[0011] In a fifth aspect, a chip is provided, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is configured to execute programs or instructions to implement the method according to the first aspect.
[0012] In a sixth aspect, a computer program / program product is provided, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement the method according to the first aspect.
[0013] In a seventh aspect, an electronic device is provided, which is configured to execute the steps of the method according to the first aspect.
[0014] In the embodiments of the present application, a first input to a first location area in a map interface is received. In response to the first input, an application access permission corresponding to the first location area is determined. In the present scheme, by setting the corresponding application access permission for the location area, the control of the application positioning permission can be realized according to the application access permission corresponding to the first location area, and the security of user privacy information is improved. BRIEF DESCRIPTION OF DRAWINGS
[0015] FIG. 1 is a flowchart of a positioning permission management method according to an embodiment of the present application;
[0016] FIG. 2 is an example schematic diagram of a map interface according to an embodiment of the present application;
[0017] FIG. 3 is a flowchart of a positioning permission management method according to another embodiment of the present application;
[0018] FIG. 4 is an example schematic diagram of a location area setting interface according to an embodiment of the present application;
[0019] FIG. 5A is an example schematic diagram of a location area setting interface according to another embodiment of the present application;
[0020] FIG. 5B is an example schematic diagram of a location area setting interface according to another embodiment of the present application;
[0021] FIG. 6A is a fourth example schematic view of a location area setting interface according to an embodiment of the present application;
[0022] FIG. 6B is a fifth example schematic view of a location area setting interface according to an embodiment of the present application;
[0023] FIG. 7 is a sixth example schematic view of a location area setting interface according to an embodiment of the present application;
[0024] FIG. 8A is a seventh example schematic view of a location area setting interface according to an embodiment of the present application;
[0025] FIG. 8B is an eighth example schematic view of a location area setting interface according to an embodiment of the present application;
[0026] FIG. 9 is a third flowchart of a positioning permission management method according to an embodiment of the present application;
[0027] FIG. 10A is a first example schematic view of an application permission request window according to an embodiment of the present application;
[0028] FIG. 10B is a second example schematic view of an application permission request window according to an embodiment of the present application;
[0029] FIG. 11 is a fourth flowchart of a positioning permission management method according to an embodiment of the present application;
[0030] FIG. 12A is a ninth example schematic view of a location area setting interface according to an embodiment of the present application;
[0031] FIG. 12B is a tenth example schematic view of a location area setting interface according to an embodiment of the present application;
[0032] FIG. 12C is an eleventh example schematic view of a location area setting interface according to an embodiment of the present application;
[0033] FIG. 13 is a fifth flowchart of a positioning permission management method according to an embodiment of the present application;
[0034] FIG. 14 is a second example schematic view of a map interface according to an embodiment of the present application;
[0035] FIG. 15A is a third example schematic view of a map interface according to an embodiment of the present application;
[0036] FIG. 15B is a fourth example schematic view of a map interface according to an embodiment of the present application;
[0037] FIG. 15C is a fifth example schematic view of a map interface according to an embodiment of the present application;
[0038] FIG. 16A is a sixth example schematic view of a map interface according to an embodiment of the present application;
[0039] FIG. 16B is a seventh example schematic view of a map interface according to an embodiment of the present application;
[0040] FIG. 16C is an eighth example schematic view of a map interface according to an embodiment of the present application;
[0041] FIG. 17 is a schematic view of a structure of a positioning permission management apparatus according to an embodiment of the present application;
[0042] FIG. 18 is a schematic view of a hardware structure of an electronic device according to an embodiment of the present application;
[0043] FIG. 19 is a schematic view of a hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0044] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some, but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.
[0045] The terms "first", "second", and the like in the specification of the present application are used to distinguish similar objects, and are not used to describe a particular order or sequence. It should be understood that the data used in this way can be exchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a category, and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification means at least one of the connected objects, and the character " / ", generally represents a "or" relationship between the front and rear associated objects.
[0046] The terms "at least one", "at least one of", and the like in the specification of the present application refer to any one of the objects, a combination of any two or more of the objects. For example, at least one of a, b, and c can mean "a", "b", "c", "a and b", "a and c", "b and c", and "a, b, and c", where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more, and has a similar meaning to "at least one".
[0047] The following are the professional terms involved in the embodiments of the present application:
[0048] Global Positioning System (GPS): A kind of satellite positioning system. At present, electronic equipment is generally integrated with GPS chip module, can receive and solve the signal broadcasted by GPS satellite, to determine position.
[0049] The positioning permission management method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings, specific embodiments and application scenarios.
[0050] It should be noted that the application permission setting method provided by the embodiments of the present application can be executed by a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device and the like. In some embodiments of the present application, a mobile phone is taken as an example to execute the application permission setting method, and the application permission setting method provided by the embodiments of the present application is described.
[0051] The positioning permission management method provided by the embodiments of the present application can be applied to the scenario that when an electronic device detects that the current location is within a location area range, the electronic device manages the positioning permission of an application program in the electronic device according to the positioning permission information corresponding to the location area.
[0052] In the positioning permission management method, device, electronic device and storage medium provided by the embodiments of the present application, a first input to a first location area in a map interface is received; and in response to the first input, application access permission corresponding to the first location area is determined. In the present scheme, by setting the corresponding application access permission for the location area, the management and control of the application positioning permission can be realized according to the application access permission corresponding to the first location area, and the security of user privacy information is improved.
[0053] The execution subject of the positioning permission management method provided by the embodiments of the present application is a positioning permission management device, which can be an independent device, or an electronic device, or a functional module or entity in the electronic device, and the embodiments of the present application do not limit this. In the following, the positioning permission management method provided by the embodiments of the present application will be exemplarily described taking an electronic device as an example.
[0054] The embodiments of the present application provide a positioning permission management method, and FIG. 1 shows a flowchart of the positioning permission management method provided by the embodiments of the present application. As shown in FIG. 1, the positioning permission management method provided by the embodiments of the present application can include the following steps 201 and 202.
[0055] Step 201, the electronic device receives a first input to a first location area in a map interface.
[0056] In some embodiments of the present application, at least one location identifier can be displayed in the map interface. Each of the at least one location identifier indicates a location.
[0057] In some embodiments of the present application, the first location region is a region corresponding to any location in the map.
[0058] In some embodiments of the present application, the first location region can be a location region indicated by at least one location identifier displayed in the map, or can be a location region without a location identifier displayed in the map.
[0059] In some embodiments of the present application, the location information corresponding to the first location region can be detailed location information of the first location region acquired by the electronic device through GPS.
[0060] For example, a map interface displayed in a mobile phone is taken as an example. As shown in FIG. 2, the mobile phone can display a map interface 10, and four location identifiers, i.e., location identifier 1 to location identifier 4, are displayed in the map interface 10. The location indicated by the location identifier 1 is "XX province YY city ZZ district L subway station", the location indicated by the location identifier 2 is "XX province YY city ZZ district P Avenue Q community", the location indicated by the location identifier 3 is "XX province YY city ZZ district M road N science and technology park", and the location indicated by the location identifier 4 is "XX province YY city ZZ district S park". A list control 11 is displayed in a bottom region of the map interface 10. If a user inputs the list control 11, the mobile phone can display a list window to display an application list or a location list.
[0061] In the embodiments of the present application, the first input is used to set the application access permission corresponding to the first location region.
[0062] In some embodiments of the present application, the first input can be a single-click input, a long-press input, a double-finger sliding input, or other possible inputs, which are not limited in the embodiments of the present application.
[0063] In step 202, the electronic device determines the application access permission corresponding to the first location region in response to the first input.
[0064] In some embodiments of the present application, the application access permission corresponding to the first location region includes, but is not limited to, at least one of the following: an application corresponding to the first location region, an access permission of the application corresponding to the first location region, an applicable time of the application access permission of at least part of the applications corresponding to the first location region, an applicable range of the application access permission of at least part of the applications corresponding to the first location region, and a processing strategy of the electronic device for at least part of the application access requests corresponding to the first location region.
[0065] In the embodiments of the present application, the access permission of the application corresponding to the first location region is: no access, no access of part of the application, allowed access, or allowed access of part of the application.
[0066] In some embodiments of the present application, if the access permission of the application corresponding to the first location region is set in combination with the time period, the access permission of the application corresponding to the first location region is: no access, no access of part of the application program, no access of part of the time period, no access of part of the application program in part of the time period, allowed access of part of the application program, allowed access of part of the time period, or allowed access of part of the application program in part of the time period.
[0067] In the positioning permission management method provided in the embodiments of the present application, a first input to a first location region in a map interface is received; and in response to the first input, an application access permission corresponding to the first location region is determined. In the present scheme, by setting the corresponding application access permission for the location region, the application positioning permission can be controlled according to the application access permission corresponding to the first location region, and the security of the user's private information is improved.
[0068] In some embodiments of the present application, in combination with FIG. 1, as shown in FIG. 3, the step 202 can be implemented by the following steps 202a to 202c.
[0069] In step 202a, the electronic device displays an application access permission setting interface in response to the first input.
[0070] In the embodiments of the present application, the setting interface includes at least one setting option.
[0071] In some embodiments of the present application, the setting option is used to set at least one of the following: the application access permission corresponding to the first location region, the applicable range of the application access permission corresponding to the first location region, the applicable time of the application access permission corresponding to the first location region, or the processing strategy of the application access request corresponding to the first location region.
[0072] Exemplarily, in combination with FIG. 2, if the user wants to set the corresponding application access permission for the location area corresponding to the location identifier 2, the user can perform the first input by long-pressing the location identifier 2 in the map, as shown in FIG. 4, and the mobile phone can display a setting interface 12. In the setting interface 12, the detailed location information "XX Province YY City ZZ District P Avenue Q Community" corresponding to the location identifier 2, four setting options, a "confirm" button and a "cancel" button are displayed. The four setting options are respectively "inaccessible application" option, "inaccessible surrounding area" option, "inaccessible time period" option and "application access processing" option. At the same time, the four setting options are displayed as preset contents, that is, the preset content corresponding to the "inaccessible application" option is "all applications", the preset content corresponding to the "inaccessible surrounding area" option is "0 kilometers", the preset content corresponding to the "inaccessible time period" option is "all time", and the preset content corresponding to the "application access processing" option is "directly prohibit".
[0073] It should be noted that the "inaccessible application" option is used to set the access permission of the application in the electronic device to the first location area.
[0074] The "inaccessible surrounding area" option is used to set the applicable range of the application access permission corresponding to the first location area. For example, in the case of a circular location area, the option is used to set the radius of the circular area.
[0075] The "inaccessible time period" option is used to set the applicable time of the application access permission corresponding to the first location area.
[0076] The "application access processing" option is used to set the processing strategy of the electronic device when the application requests to access the location information of the first location area.
[0077] Exemplarily, if the user wants to set the corresponding application access permission based on the location which is not displayed in the map interface, the user can first perform location selection in the map. For example, if the user selects the location 1, the mobile phone can display a location identifier on the location clicked by the user and display the detailed location information corresponding to the location 1, such as "XX Province YY City ZZ District R Primary School". The user can perform the first input by long-pressing the displayed location identifier or the displayed text "XX Province YY City ZZ District R Primary School", so as to trigger the mobile phone to display the setting interface 12 as shown in FIG. 4.
[0078] In step 202b, the electronic device receives the second input on the application access permission setting item in the application access permission setting interface.
[0079] In some embodiments of the present application, the second input is used to set or adjust the application access permission setting item.
[0080] In some embodiments of the present application, the second input can be a single-click input, a long-press input, a double-finger sliding input, or other possible inputs, which are not limited in the embodiments of the present application.
[0081] In step 202c, the electronic device determines the application access permission corresponding to the first location area in response to the second input.
[0082] In some embodiments of the present application, the electronic device can display a new interface or a floating window to display a control for setting the application access permission corresponding to the first location area in response to the second input.
[0083] In some embodiments of the present application, the control for setting the application access permission corresponding to the first location area can be used to select an application, for example, the electronic device sets the application access permission corresponding to all or part of the applications according to the control.
[0084] For example, in combination with FIG. 4, if the user wants to set the application access permission of at least part of the applications in the mobile phone to the location area corresponding to the location identifier 2, the user can trigger the mobile phone to display a setting window 13 by clicking the “inaccessible application” option in the setting window 12 as shown in FIG. 5A, and the setting window 13 displays two options, i.e., an “all applications” option and a “part of applications” option. The “all applications” option is used to indicate that all the applications in the electronic device cannot access the location in the location area, and the “part of applications” option is used to indicate that part of the applications selected by the user in the electronic device cannot access the location in the location area.
[0085] Further, the user can trigger the mobile phone to display a setting interface 14 by clicking the “part of applications” option in the setting window 13 as shown in FIG. 5B, so as to display a list of all the applications contained in the mobile phone to the user, and the user can select the part of the applications that cannot access the first location area by selecting the options in the setting interface 14, so that the mobile phone can set the application access permission according to the user's selection.
[0086] In the embodiments of the present application, the user can manually set the application access permission corresponding to the first location area by inputting, so that the permission related information of the first location area can meet the user's demand, thereby better protecting the security of the user's private information.
[0087] In some embodiments of the present application, the application permission setting method provided in the embodiments of the present application further includes steps 202d1 and 202d2.
[0088] Step 202d1, the electronic device receives a third input on a location area range setting item in the application access permission setting interface.
[0089] In some embodiments of the present application, the third input described above is used to set or adjust the location area range setting item.
[0090] In some embodiments of the present application, the third input described above can be a single-click input, a long-press input, a double-finger sliding input, or other possible inputs, which are not limited in the embodiments of the present application.
[0091] Step 202d2, in response to the third input, the applicable range of the application access permission corresponding to the first location area is determined.
[0092] In some embodiments of the present application, the electronic device can display a new interface or a floating window to display a control for setting the applicable range of the application access permission corresponding to the first location area in response to the third input.
[0093] In some embodiments of the present application, the control for setting the applicable range of the application access permission corresponding to the first location area described above can include but is not limited to any of the following: the electronic device can display a plurality of numerical options to correspondingly set the applicable range; or the electronic device can display an input box to correspondingly set the applicable range according to the numerical value input by the user; or display other controls that can be used to edit numerical values to correspondingly set the applicable range.
[0094] Exemplarily, in combination with FIG. 4, if the user wants to set the numerical value of the applicable range of the application access permission corresponding to the location area of the location identifier 2, the user can trigger the phone to display the setting window 15 for setting the fence range by clicking the “non-accessible surrounding area” option in the setting window 12 as shown in FIG. 6A, and the setting window 15 displays four options, i.e. the “0 km” option, the “1 km” option, the “2 km” option and the “5 km” option. Since the default setting of the phone is the “0 km” option, the “0 km” option displayed by the phone is in the selected state. If the user wants to set the applicable range of the application access permission corresponding to the first location area to 1 km as shown in FIG. 6B, the user can click the “1 km” option, i.e. the third input described above, so that the phone sets the “1 km” option to the selected state, and at the same time, the phone can adjust the display position of the location area of the location identifier 2 in the map interface 10 and display a preview circular area corresponding to the applicable range of 1 km of the location area of the location identifier 2 to help the user check whether the current set numerical value meets the requirements.
[0095] In the embodiments of the present application, the user can input the scope of application of the application access permission corresponding to the first location area, so that the permission related information of the first location area meets the user's demand, thereby better protecting the security of the user's private information.
[0096] In some embodiments of the present application, the application permission setting method provided by the embodiments of the present application further includes steps 202e1 and 202e2.
[0097] Step 202e1, the electronic device receives a fourth input of the application access request processing setting item in the application access permission setting interface.
[0098] In some embodiments of the present application, the fourth input is used to set or adjust the application access request processing setting item.
[0099] In some embodiments of the present application, the fourth input can be a single-click input, a long-press input, a double-finger sliding input, or other feasible inputs, which are not limited in the embodiments of the present application.
[0100] Step 202e2, the electronic device determines the processing strategy of the application access request corresponding to the first location area in response to the fourth input.
[0101] In the embodiments of the present application, the electronic device can display a new interface or a floating window to display a control for setting the processing strategy of the application access request corresponding to the first location area in response to the fourth input.
[0102] In some embodiments of the present application, the control for setting the processing strategy of the application access request corresponding to the first location area can be used to select the processing operation performed by the electronic device, such as directly prohibiting or asking.
[0103] For example, in combination with FIG. 4, if the user wants to set the processing strategy of the application access request corresponding to the location area of the location identifier 2, the user can click the “application access processing” option in the setting window 12, as shown in FIG. 7, to trigger the phone to display a setting window 16, and the setting window 16 displays two options, i.e. the “directly prohibit” option and the “ask” option. Then, the user can select the options, i.e. the fourth input, to trigger the phone to set the processing strategy of the application access request corresponding to the first location area according to the user's selection.
[0104] It should be noted that if the user selects the "directly prohibit" option, at least part of the applications in the mobile phone cannot directly access the location of the mobile phone when the mobile phone is located in the range of the first location area, but the mobile phone can display a notification message to inform the user that there is an application currently requiring to access the location of the mobile phone. If the user selects the "ask" option, at least part of the applications in the mobile phone can display a pop-up window to prompt the user to set the corresponding permission for the application currently requiring to access the location of the mobile phone when the mobile phone is located in the range of the first location area.
[0105] In the embodiments of the present application, since the user can input the application access request processing strategy corresponding to the first location area, the permission related information of the first location area can meet the user's demand, thereby better protecting the security of the user's private information.
[0106] In some embodiments of the present application, the electronic device can store the location information of the first location area and the corresponding application access permission in the electronic device, so that when the electronic device determines that the current location is within the range of a certain location area, the electronic device can actively call up the application access permission corresponding to the certain location area to correspondingly set the application access permission.
[0107] In some embodiments of the present application, the application permission setting method provided in the embodiments of the present application further includes steps 202f1 and 202f2.
[0108] Step 202f1, the electronic device receives a twelfth input to the access time period setting item in the application access permission setting interface.
[0109] In some embodiments of the present application, the twelfth input is used to set or adjust the access time period setting item.
[0110] In some embodiments of the present application, the twelfth input can be a single-click input, a long-press input, a double-finger sliding input, or other feasible inputs, which are not limited in the embodiments of the present application.
[0111] Step 202f2, in response to the twelfth input, determining the applicable time period of the application access permission corresponding to the first location area.
[0112] In some embodiments of the present application, the electronic device can display a new interface or a floating window to display a control for setting the applicable time period of the application access permission corresponding to the first location area in response to the twelfth input.
[0113] In some embodiments of the present application, the control for setting the applicable time period of the application access permission corresponding to the first location area can be used to select an access time period of the application, for example, all time inaccessible, part of the time inaccessible, all time accessible, or part of the time accessible.
[0114] For example, in combination with FIG. 4, if the user wants to set the applicable time period of the application access permission corresponding to the location area of the location identifier 2, the user can trigger the phone to display a setting window 17 by clicking the “inaccessible time period” option in the setting window 12, as shown in FIG. 8A, and the setting window 17 displays two options, namely the “all time” option and the “part of the time” option. Then, the user can select the option, i.e., the twelfth input, to trigger the phone to set the applicable time period of the application access permission corresponding to the first location area according to the user’s selection.
[0115] It should be noted that if the user selects the “all time” option, at least part of the applications in the phone need to be set according to the application access permission corresponding to the first location area when the phone is located within the range of the first location area. If the user selects the “part of the time” option, the phone needs to determine whether the current time is in the inaccessible time period corresponding to the first location area when the phone is located within the range of the first location area, so that at least part of the applications in the phone need to be set according to the application access permission corresponding to the first location area when the current time is in the inaccessible time period.
[0116] In some embodiments of the present application, when the applicable time period corresponding to the first location area is a part of the time period, the control for displaying the applicable time of the application access permission corresponding to the first location area can include but is not limited to any one of the following: the electronic device can display a time input box to set the applicable time period according to the user input time value; or the electronic device can display a round disc control and display time identifiers in the round disc control, so as to determine the time period indicated by the at least two time identifiers according to the user’s selection input of the at least two time identifiers, and set the applicable time period according to the time period; or the electronic device can display at least two sliding controls, so that the user sets the start time and the end time by sliding the at least two sliding controls, and sets the applicable time period according to the time period.
[0117] For example, in combination with FIG. 8A, if the user wants to set the non-accessible time period corresponding to the location area of the location identifier 2, the user can select the "part-time" option in the setting window 17, as shown in FIG. 8B, to trigger the mobile phone to display a setting window 18 for setting the part-time period, and the setting window 18 displays two sliding controls. Thus, the user can set the start time and end time by sliding the two sliding controls up and down, such as the start time is "20:00", and the end time is "07:00" of the next day; and the user can set the repetition frequency of the time period, such as "every day". That is, the non-accessible time period corresponding to the location area of the location identifier 2 is every night from 20:00 to the next morning at 7:00.
[0118] In the embodiments of the present application, since the user can manually set the applicable time period of the application access permission corresponding to the first location area by inputting, the permission related information of the first location area can meet the user's needs, thereby better protecting the security of the user's private information.
[0119] In some embodiments of the present application, in combination with FIG. 1, as shown in FIG. 9, before the above-mentioned step 201, the application permission setting method provided by the embodiments of the present application further includes the following steps 501 to 503. Meanwhile, in combination with the following steps 501 to 503, the above-mentioned step 202 can be implemented by the following step 202g.
[0120] Step 501, the electronic device displays an application permission request window in the application interface of the first application.
[0121] In some embodiments of the present application, the above-mentioned first application is any one of the applications with positioning permission in the electronic device.
[0122] In the embodiments of the present application, the above-mentioned application permission request window includes at least one processing control and an editing control.
[0123] In some embodiments of the present application, different processing controls correspond to different processing strategies, and the processing strategy is the processing strategy of the electronic device when the first application accesses the area in the first location area.
[0124] In some embodiments of the present application, the above-mentioned processing strategy includes at least one of the following: always allowing the first application to access the area in the first location area, allowing the first application to access the area in the first location area once, and keeping the first application from accessing the area in the first location area once.
[0125] In some embodiments of the present application, the above-mentioned editing control is used to set or edit the application access permission corresponding to the first location area.
[0126] Exemplarily, as shown in FIG. 10A, in a case where the user views a certain application interface of the application A through the mobile phone, if the application A requests to access the current location information of the mobile phone, the mobile phone can display an application permission request window 20 in the application interface 19 of the application A, and the application permission request window 20 contains three processing controls and an editing control, wherein the three processing controls are respectively an “always allow” processing control, an “allow once” processing control and a “keep prohibit” processing control, and the editing control is a “set private location” editing control.
[0127] In step 502, the electronic device receives an eleventh input to the application permission request window.
[0128] In some embodiments of the present application, the eleventh input can be used to select the editing control.
[0129] In some embodiments of the present application, the eleventh input can be a single-click input, a long-press input, a double-finger sliding input, or other possible inputs, which are not limited in the embodiments of the present application.
[0130] In step 503, the electronic device displays a map interface in response to the eleventh input.
[0131] In some embodiments of the present application, the electronic device can jump from the application interface of the first application to the map interface in response to the eleventh input.
[0132] In some embodiments of the present application, the electronic device can display a setting interface in the map interface to help the user set or edit the application access permission of the first application in the first location area.
[0133] In step 202g, the electronic device determines the application access permission of the first application in the first location area in response to the first input.
[0134] Exemplarily, in combination with FIG. 10A, in a case where the mobile phone displays the application permission request window 20, if the user wants to set or edit the application access permission of the first application in the first location area, the user can trigger the mobile phone to display the setting interface 12 as shown in FIG. 4 by clicking the “set private location” editing control, so that the mobile phone can determine the application access permission of the first application in the first location area according to the input of the user in the setting interface 12.
[0135] In the embodiments of the present application, the electronic device displays the application permission request window to enable the user to select to set the corresponding access permission for the first application, so that the electronic device can determine whether the first application can obtain the location of the electronic device in the first location area according to the selection of the user, thereby improving the flexibility and convenience of the positioning permission setting.
[0136] In some embodiments of the present application, the step 501 can be implemented by the following step 701a. Meanwhile, after the step 701, the application permission setting method provided by the embodiments of the present application further includes the following step 701b and step 701c.
[0137] In the step 701a, if the electronic device is in the first location area, and the application access permission corresponding to the first location area indicates that the first application can inquire whether to allow access to the location in the first location area, the electronic device displays an application permission request window in the application interface of the first application.
[0138] In the step 701b, the electronic device receives a thirteenth input of a user on one of the at least one processing control.
[0139] In some embodiments of the present application, the thirteenth input is used to select one processing control.
[0140] In some embodiments of the present application, the thirteenth input can be a single-click input, a long-press input, a sliding input, or other possible inputs, which are not limited in the embodiments of the present application.
[0141] In the step 701c, the electronic device processes according to the processing strategy corresponding to the one processing control in response to the thirteenth input, and cancels the display of the processing setting window.
[0142] In some embodiments of the present application, in the case that the electronic device is in the first location area, and the application access permission corresponding to the first location area indicates that the first application can inquire whether to allow access to the location in the first location area, if the first application needs to access the location of the electronic device, the electronic device can display an application permission request window, and the application permission request window includes at least one processing control. Then, the electronic device can respond to the selection of the user on one of the at least one processing control displayed in the application permission request window, i.e. the thirteenth input, to set or adjust the location access permission of the first application according to the processing strategy indicated by the processing control selected by the user, and cancel the display of the application permission request window after adjusting the location permission of the first application.
[0143] For example, assuming that the application access permission corresponding to the first location area indicates that the application A can inquire whether to allow access to the location in the first location area, if the user carries the mobile phone in the range of the first location area, and the application A needs to obtain the current location of the mobile phone, the mobile phone can display an application permission request window 20 in the application interface 19 as shown in FIG. 10A.
[0144] Further, if the user wants to allow the application A to acquire the real-time location of the mobile phone in the first location area without any limitation, the user can select the "Always allow" processing control in the application permission request window 20, i.e., the thirteenth input, to trigger the mobile phone to set the application access permission of the application A in the first location area to the open state, and cancel the display of the application permission request window 20. Thus, when the user carries the mobile phone in the first geographic range, the application A can acquire the location of the mobile phone at will.
[0145] If the user wants to allow the application A to acquire the current location of the mobile phone only this time, the user can select the "Allow once" processing control in the application permission request window 20, i.e., the thirteenth input, to trigger the mobile phone to set the application access permission of the application A in the first location area to the open state, and at the same time, when the application A acquires the current location of the mobile phone, the positioning permission of the application A in the first location area is reset to the closed state, and the mobile phone can cancel the display of the processing setting window. That is, when the user carries the mobile phone in the first location area in the future, if the application A needs to acquire the real-time location of the mobile phone again, the mobile phone needs to display an application permission request window again to ask the user whether to allow the application A to access the location.
[0146] If the user does not allow the application A to acquire the current location of the mobile phone, the user can select the "Keep prohibited" processing control in the application permission request window 20, i.e., the thirteenth input, that is, the mobile phone still keeps the positioning permission of the application A in the first location area to the closed state, and the mobile phone can cancel the display of the processing setting window. When the user carries the mobile phone in the first location area in the future, if the application A needs to acquire the real-time location of the mobile phone again, the mobile phone needs to display a processing setting window again to ask the user whether to allow the application A to access the location.
[0147] It should be noted that when the application access permission corresponding to the first location area indicates that the first application can inquire whether to allow access to the first location area, if the user does not perform the thirteenth input, the electronic device will keep displaying the processing setting window.
[0148] In the embodiment of the application, when the electronic device is in the first location area, and the application access permission corresponding to the first location area indicates that the first application can inquire whether to access the area in the first location area, the electronic device can display an application permission request window to perform a corresponding processing strategy for the first application according to the user's selection of the processing control in the application permission request window. In this way, the user's setting of the application access permission can be met, the personalization of the application access permission setting is improved, and the convenience of the application access permission setting is improved.
[0149] In some embodiments of the present application, the application permission setting method provided by the embodiments of the present application further includes the following step 702.
[0150] In step 702, if the electronic device is in the first location area and the application access permission corresponding to the first location area indicates that the first application is prohibited from accessing the locations in the first location area, the electronic device displays an application permission request window in a predetermined time period.
[0151] In some embodiments of the present application, the application permission request window includes at least one processing control, and different processing controls correspond to different processing strategies.
[0152] For example, as shown in FIG. 10B, assuming that the application access permission corresponding to the first location area indicates that the application A is prohibited from accessing the locations in the first location area, if the user carries the mobile phone into the range of the first location area and the application A needs to obtain the location of the mobile phone, the mobile phone can display an application permission request window 21 in the application interface 19, wherein the application permission request window 21 includes three processing controls, i.e., the “always allow” processing control, the “allow once” processing control and the “keep prohibited” processing control.
[0153] In some embodiments of the present application, if the electronic device receives the input of the user on one of the at least one processing control in the predetermined time period, the electronic device can process according to the processing strategy corresponding to the one processing control in response to the input, and directly cancel the display of the processing setting window.
[0154] It should be noted that the related description of the processing of the electronic device according to the processing strategy corresponding to the one processing control can be described in the above step 701b and step 701c, and the present application will not be repeated here.
[0155] In some embodiments of the present application, if the electronic device does not receive the input of the user on one of the at least one processing control in the predetermined time period, the electronic device directly cancels the display of the processing setting window after the preset time period.
[0156] In the embodiments of this application, when the electronic device is in the first position area, and the application access permission corresponding to the first position area indicates that the first application is prohibited from accessing the area within the range of the first position area, the electronic device can display an application permission request window to prompt the user that the first application needs to access the position within the first position area. In this way, if the user needs to adjust the application access permission setting, the application permission request window can be directly selected, thereby improving the convenience of the application access permission setting. If the user does not need to adjust the application access permission setting, the electronic device can cancel the display of the application permission request window after a predetermined time period, thereby reducing the influence of the application permission request window on the interface display content.
[0157] It should be noted that in the case that the electronic device displays any interface, if there is an application requesting to access the current position of the electronic device, the electronic device can perform steps similar to steps 501 to 503, or steps 701a to 701c, or steps 702. To avoid repetition, they will not be described here.
[0158] In some embodiments of the application, as shown in FIG. 11, the application permission setting method provided by the embodiments of the application further includes the following steps 401 and 402.
[0159] Step 401, the electronic device receives a tenth input on the fourth position area in the map interface.
[0160] In some embodiments of the application, the tenth input is used to edit or delete the permission information of the position area corresponding to the second position.
[0161] In some embodiments of the application, the tenth input can be a single-click input, a long-press input, a double-finger sliding input, or other feasible inputs, which are not limited in the embodiments of the application.
[0162] In some embodiments of the application, the position of the tenth input can be any position in the fourth position area displayed in the map interface, such as the center position of the fourth position area.
[0163] Step 402, the electronic device clears the application access permission corresponding to the fourth position area in response to the tenth input.
[0164] In some embodiments of the application, the "clearing the application access permission corresponding to the fourth position area" can be understood as deleting the application access permission set for the fourth position area. Therefore, all applications with position access permission can access the position within the fourth position area.
[0165] Exemplarily, as shown in FIG. 12A, if there is a location area 22 displayed in the map interface 10, if the user wants to delete the application access permission corresponding to the location area 22, the user can long press any position in the location area 22, so that the phone displays a pop-up window 23, and the pop-up window 23 contains two options, namely, an "edit" option and a "delete" option. Then, the user can click the "delete" option, as shown in FIG. 12B, and the phone can display a deletion window 24 to prompt the user to confirm whether to delete the location area 22. Further, after the user selects the "delete" option in the deletion window 24, the phone can delete the stored application access permission corresponding to the location area 22, and then the phone can simultaneously cancel the display of the related content of the location area 22 in the map interface 10, that is, the circular shape used to represent the location area 22 in the map interface 10.
[0166] In some embodiments of the present application, after the step 401, the application permission setting method provided by the embodiments of the present application further includes the following step 403.
[0167] In step 403, the electronic device edits the application access permission corresponding to the fourth location area in response to the tenth input.
[0168] In some embodiments of the present application, the content edited by the "editing the application access permission corresponding to the fourth location area" includes at least one of the following: the application corresponding to the first location area, the access permission of the application corresponding to the first location area, the applicable time of the application access permission of at least part of the applications corresponding to the first location area, the applicable range of the application access permission of at least part of the applications corresponding to the first location area, and the processing strategy of the electronic device for at least part of the application access requests corresponding to the first location area.
[0169] Exemplarily, in combination with FIG. 12A, if the user wants to edit the application access permission corresponding to the fourth location area, the user can click the "edit" option, as shown in FIG. 12C, to trigger the phone to display an editing interface 25, so that the user can edit the application access permission corresponding to the location area 22 by inputting the options displayed in the editing interface 25.
[0170] In the embodiments of the present application, the user can input the application access permission corresponding to the edited or cleared location area, so that the application access permission of the location area can be adjusted at any time according to the user's needs, thereby improving the convenience of setting the application access permission of the location area.
[0171] In some embodiments of the present application, as shown in FIG. 13, the application permission setting method provided by the embodiments of the present application further includes the following steps 301 and 302.
[0172] Step 301, the electronic device receives a fifth input to the map interface.
[0173] In some embodiments of the present application, the map interface can include at least one location identifier, each of which indicates a location area in the map.
[0174] In the embodiments of the present application, the location indicated by the at least one location identifier is a location visited by an application with positioning permission in the electronic device.
[0175] In some embodiments of the present application, the location indicated by the at least one location identifier can be a location visited by an application in the electronic device within a preset time period.
[0176] For example, the preset time period can be the last day, the last week, or the last month. The specific time period can be set according to the user's needs, which is not limited in the present application.
[0177] In some embodiments of the present application, the fifth input is used to trigger the electronic device to display the application identifier on the map interface.
[0178] In some embodiments of the present application, the fifth input can be a single-click input, a long-press input, a double-finger sliding input, or other possible inputs, which are not limited in the embodiments of the present application.
[0179] In some embodiments of the present application, the user can first trigger the electronic device to display the interface of the "Settings" application to display at least one setting option contained in the "Settings" application, and then the user can select the option related to viewing the application permission to trigger the electronic device to display the positioning access record of the application, so that the electronic device can display the application positioning access record in the preset time period on the map interface.
[0180] Step 302, the electronic device displays the historical access application identifier corresponding to each location area of the map interface in response to the fifth input.
[0181] In some embodiments of the present application, the electronic device can display on the location identifier displayed on the map interface the identifier of the application that has visited the location area indicated by the location identifier within the preset time period.
[0182] For example, taking displaying a map interface in a mobile phone as an example. As shown in FIG. 2, the mobile phone can display a map interface 10, and four location identifiers, i.e., location identifier 1 to location identifier 4, are displayed in the map interface 10, and each location identifier indicates a location area.
[0183] Further, if the user wants to view the applications that have visited each location area in the last day, the user can trigger the phone to display the corresponding historical access application identifiers at the location identifiers indicating the location areas by double-flicking up in the map interface 10 or clicking a special control in the map interface 10, i.e., the fifth input as shown in FIG. 14. In the display area corresponding to the location identifier 1, the application icons of the application B are displayed simultaneously, which indicates that the application B has visited the location in the location area centered at "XX Province YY City ZZ District L subway station" indicated by the location identifier 1 in the last day. In the display area corresponding to the location identifier 2, the application icons of the applications A, B, C, and D are displayed simultaneously, which indicates that the applications A, B, C, and D have all visited the location in the location area centered at "XX Province YY City ZZ District P Avenue Q Community" indicated by the location identifier 2 in the last day. In the display area corresponding to the location identifier 3, the application icons of the applications A and B are displayed simultaneously, which indicates that the applications A and B have visited the location in the location area centered at "XX Province YY City ZZ District M Road N Science and Technology Park" indicated by the location identifier 3 in the last day. In the display area corresponding to the location identifier 4, the application icon of the application B is displayed, which indicates that the application B has visited the location in the location area centered at "XX Province YY City ZZ District S Park" indicated by the location identifier 4 in the last day.
[0184] In the embodiments of the present application, the electronic device can display the historical access application identifiers corresponding to each location area in the map interface to intuitively show the user the historical access data, thereby improving the flexibility and diversity of the historical access data.
[0185] In some embodiments of the present application, the application permission setting method provided in the embodiments of the present application further includes the following steps 303 to 306.
[0186] Step 303, the electronic device receives a sixth input to the map interface.
[0187] In some embodiments of the present application, the sixth input is used to trigger the electronic device to display the historical access location area identifier set.
[0188] In some embodiments of the present application, the sixth input can be a single-click input, a long-press input, a double-finger sliding input, or other feasible inputs, which are not limited in the embodiments of the present application.
[0189] Step 304, the electronic device displays the historical access location area identifier set in response to the sixth input.
[0190] In some embodiments of the present application, the electronic device can display a new interface on the map interface in response to the sixth input to display the set of historical access location identifiers.
[0191] In some embodiments of the present application, the set of historical access location region identifiers includes at least one location region identifier and relevant information corresponding to each of the at least one location region identifier, such as detailed location and number of visits.
[0192] For example, in combination with FIG. 14, if the user wants to view detailed information of applications accessing the location of the phone in the last day, the user can slide the list control 11 upwards, i.e., the sixth input, to trigger the phone to display a set window 26 to display the center locations of all location regions visited by applications in the last day, as shown in FIG. 15A. Since the display position of the set window 26 is limited, the phone can display “XX Province YY City ZZ District P Avenue Q Community”, “XX Province YY City ZZ District L Subway Station” and “XX Province YY City ZZ District M Road N Science and Technology Park” in turn according to the number of visits. Among them, “XX Province YY City ZZ District P Avenue Q Community” is visited 50 times in the last day, “XX Province YY City ZZ District L Subway Station” is visited 25 times in the last day, and “XX Province YY City ZZ District M Road N Science and Technology Park” is visited 10 times in the last day.
[0193] Step 305, the electronic device receives a seventh input on a third location region identifier in the set of historical access location region identifiers.
[0194] In some embodiments of the present application, the seventh input is used to select a location region identifier.
[0195] In some embodiments of the present application, the seventh input can be a single-click input, a long-press input, a double-finger sliding input, or other feasible inputs, which are not limited in the embodiments of the present application.
[0196] Step 306, the electronic device displays historical access detail information of a third location region corresponding to the third location region identifier in response to the seventh input.
[0197] In some embodiments of the present application, the electronic device can update the interface displaying the set of historical access location region identifiers to display the historical access detail information of the third location region corresponding to the third location region identifier in response to the seventh input.
[0198] In some embodiments of the present application, the electronic device can display the historical access detail information of the third location region in the region corresponding to the third location identifier in response to the seventh input.
[0199] For example, if the user wants to view the location indicated by the location identifier 2, the user can click the location identifier 2 in the location map interface 10 to trigger the phone to display the historical access details of the location indicated by the location identifier 2, that is, the phone can display a floating window 27 above the location identifier 2 as shown in FIG. 15C.
[0200] In the embodiments of the present application, the electronic device can display the historical access details of a location region corresponding to the input of the user, so that the user can conveniently obtain the detailed location information obtained by the application and the number of times of obtaining the location information, thereby facilitating the user to manage the positioning permission of the application and reducing the risk of leakage of user privacy information.
[0201] In some embodiments of the present application, if the electronic device displays at least one identifier indicating a location region on the map interface, the electronic device can receive a click input of the user on any one of the at least one identifier, and in response to the click input, mark the any one identifier and directly display the historical access details of the location region indicated by the identifier in the region corresponding to the identifier clicked by the user.
[0202] For example, in combination with FIG. 14, if the user wants to view the historical access details of the location region indicated by the location identifier 2, the user can click the location identifier 2 in the location map interface 10 to trigger the phone to display the historical access details of the location region indicated by the location identifier 2, that is, the phone can display a floating window 27 above the location identifier 2 as shown in FIG. 15C.
[0203] In some embodiments of the present application, the marking manner of marking the any one identifier includes but is not limited to any one of the following: enlarging the display size, changing the display color, and canceling the display of other identifiers.
[0204] In some embodiments of the present application, the application permission setting method provided by the embodiments of the present application further includes steps 307 to 310.
[0205] Step 307, the electronic device receives an eighth input to the map interface.
[0206] In some embodiments of the present application, the eighth input is used to trigger the electronic device to display a set of historical access application identifiers.
[0207] In some embodiments of the present application, the eighth input can be a single-click input, a long-press input, a double-finger sliding input, or other possible inputs, which are not limited in the embodiments of the present application.
[0208] In step 308, the electronic device displays the historical access application identifier set in response to the eighth input.
[0209] In some embodiments of the present application, the electronic device can superimpose a new interface on the map interface to display the historical access application identifier set in response to the eighth input.
[0210] In some embodiments of the present application, the historical access application identifier set includes at least one application identifier and related information corresponding to each of the at least one application identifier, such as an application name and an access number.
[0211] For example, in combination with FIG. 14, if the user wants to view detailed information of applications accessing the phone location in the last day, the user can slide the list control 11 upwards, i.e., the eighth input, to trigger the phone to display a collection window 28 to display all applications accessing the phone location in the last day, as shown in FIG. 16A. Since the display position of the collection window 28 is limited, the phone can display the application name and the application icon of application A, the application name and the application icon of application B, and the application name and the application icon of application C in turn according to the access number, and the phone can simultaneously display the access number corresponding to each application, i.e., application A accesses the phone location 100 times in the last day, application B accesses the phone location 50 times in the last day, and application C accesses the phone location 40 times in the last day.
[0212] In step 309, the electronic device receives a ninth input of a first application identifier in the historical access application identifier set.
[0213] In some embodiments of the present application, the ninth input is used to select an application identifier.
[0214] In some embodiments of the present application, the ninth input can be a single-click input, a long-press input, a double-finger sliding input, or other possible inputs, which are not limited in the embodiments of the present application.
[0215] In step 310, the electronic device displays a historical access location area of a first application program corresponding to the first application identifier in response to the ninth input.
[0216] In some embodiments of the present application, the electronic device can cancel the display of application identifiers other than the first application identifier in the map interface to display only the historical access location area of the first application program corresponding to the first application identifier in response to the ninth input.
[0217] For example, if a user wants to view the locations visited by application A in the last day, as shown in FIG. 16B, the user can click the area corresponding to the identifier of application A in the collection window 28, as shown in FIG. 16C, to trigger the mobile phone to display only the historical visit location areas of application A on the map, i.e., the location area corresponding to the location identifier 2 and the location area corresponding to the location identifier 3.
[0218] In the embodiments of the present application, the electronic device can display the historical visit location areas corresponding to an application to the user according to the input of the user, so that the user can conveniently learn the number of times of obtaining location information by the application and the information of the obtained location areas, thereby facilitating the user to manage the positioning permission of the application to reduce the risk of leakage of user privacy information.
[0219] In some embodiments of the present application, the application permission setting method provided by the embodiments of the present application further includes steps 601 to 603.
[0220] In step 601, the electronic device obtains first location information of the electronic device.
[0221] In some embodiments of the present application, the first location information can be obtained by GPS in the electronic device, or can be obtained by network device positioning.
[0222] In some embodiments of the present application, the first location information can be the latitude and longitude information of the current location of the electronic device.
[0223] In step 602, in a case where it is determined that the electronic device is in a fifth location area based on the first location information, the electronic device obtains an application positioning permission corresponding to the fifth location area.
[0224] In the embodiments of the present application, the first positioning permission information indicates whether the target application can access the areas in the fifth location area.
[0225] In some embodiments of the present application, the target application is one or more applications installed in the electronic device.
[0226] In the embodiments of the present application, the application positioning permission corresponding to the fifth location area includes at least one of the following: application information of the target application, a scope of application of the target application to the fifth location area, a time period of application of the target application to the fifth location area, and a processing strategy of the electronic device when the target application accesses the areas in the fifth location area.
[0227] In some embodiments of the present application, the fifth location area can be one or more location areas. It can be understood that, in the case where the fifth location area is a plurality of location areas, the electronic device is currently located in an overlapping area of the plurality of location areas.
[0228] In some embodiments of the present application, the shape of the fifth location area can be any one of the following: a circle, a rectangle, or an irregular geometric shape.
[0229] For example, in the case where the fifth location area is a circular area, the information corresponding to the applicable range of the fifth location area can be the radius value of the circular area, i.e., the fifth location area is a circular area with the center position coordinate as the center and a preset numerical value as the radius.
[0230] For another example, in the case where the fifth location area is a rectangular area, the information corresponding to the applicable range of the fifth location area can be the side length of the rectangular area.
[0231] In some embodiments of the present application, the application information of the target application can include at least one of the following: the application name of the target application, the application icon of the target application, and the detailed time when the target application requests to access the location information of the electronic device.
[0232] In some embodiments of the present application, the processing strategy includes allowing or prohibiting.
[0233] In some embodiments of the present application, after the electronic device obtains the first location information of the electronic device, the electronic device can first obtain the location information of all the location areas set by the user, and then determine whether the first location information is within the range of a certain location area or certain location areas. In the case where the first location information is determined to be within the fifth location area, the electronic device can obtain the application information of the target application corresponding to the fifth location area and the processing strategy of the electronic device when the target application accesses the location within the fifth location area.
[0234] For example, in the case where the fifth location area is a circular area, the electronic device can first obtain the distance between the first location information and the center position coordinate of the fifth location area, and then determine whether the first location information is within the fifth location area according to the size relationship between the distance and the preset numerical value representing the radius of the circular area.
[0235] In step 603, the electronic device determines whether to allow the target application to access the area within the fifth location area based on the application permission information corresponding to the fifth location area.
[0236] In some embodiments of the present application, the electronic device determines whether to allow the target application to access the area within the fifth location region according to the application information of the target application in the application permission information corresponding to the fifth location region and the processing strategy of the electronic device when the target application accesses the area within the fifth location region.
[0237] In some embodiments of the present application, in the case that the application permission information corresponding to the fifth location region indicates that the target application can access the location within the fifth location region, the electronic device allows the target application to access the location within the fifth location region based on the application permission information related to the target application.
[0238] It can be understood that in the case that the application permission information corresponding to the fifth location region indicates that the target application can access the location within the fifth location region, when the electronic device is in the fifth location region, the positioning permission of the target application can be automatically set or adjusted to the open state. Thus, in the fifth location region, if the target application needs to access the location information of the electronic device, the target application can directly obtain the detailed location information of the electronic device.
[0239] In some embodiments of the present application, in the case that the application permission information corresponding to the fifth location region indicates that the target application cannot access the location within the fifth location region, the electronic device prohibits the target application to access the location within the fifth location region based on the application permission information related to the target application.
[0240] It can be understood that in the case that the application permission information corresponding to the fifth location region indicates that the target application cannot access the location within the fifth location region, when the electronic device is in the fifth location region, the positioning permission of the target application can be automatically set or adjusted to the closed state. Thus, in the fifth location region, even if the target application needs to access the location information of the electronic device, the target application cannot obtain the detailed location information.
[0241] In the embodiments of the present application, in the case that the electronic device is in the range of the fifth location region, the electronic device can determine whether to allow the target application to access the location within the fifth location region based on the application permission information corresponding to the fifth location region, thereby being able to reduce the applications in the electronic device that can obtain detailed location information in the fifth location region, so as to reduce the risk of user privacy information being leaked and improve the security of user privacy information.
[0242] The above-mentioned various method embodiments, or various possible implementation manners in each method embodiment can be executed alone, or, in the absence of contradiction, can also be executed in combination with each other, and specifically, the present application embodiments do not limit the actual use requirements.
[0243] It should be noted that the positioning permission management method provided in the embodiments of the present application can be executed by a positioning permission management apparatus, or an electronic device, or a functional module or entity in the electronic device. In the embodiments of the present application, the positioning permission management method is executed by an electronic device as an example to illustrate the positioning permission management apparatus provided in the embodiments of the present application.
[0244] FIG. 17 shows a possible structural schematic diagram of the positioning permission management apparatus involved in the embodiments of the present application. As shown in FIG. 17, the positioning permission management apparatus 80 can include a receiving module 81 and a determining module 82.
[0245] The receiving module 81 is configured to receive a first input of a first location area in a map interface.
[0246] The determining module 82 is configured to determine an application access permission corresponding to the first location area in response to the first input received by the receiving module 81.
[0247] In the positioning permission management apparatus provided in the embodiments of the present application, a first input of a first location area in a map interface is received, and an application access permission corresponding to the first location area is determined in response to the first input. In this solution, by setting the corresponding application access permission for the location area, the application positioning permission can be controlled according to the application access permission corresponding to the first location area, and the security of user privacy information is improved.
[0248] In a possible implementation, the application access permission corresponding to the first location area is one of the following: prohibited access, partial application program prohibited access, partial time period prohibited access, partial application program in partial time period prohibited access, partial application program allowed access, partial time period allowed access, and partial application program in partial time period allowed access.
[0249] In a possible implementation, the positioning permission management apparatus 80 provided in the embodiments of the present application further includes a display module. The display module is configured to display an application access permission setting interface in response to the first input received by the receiving module 81. The receiving module 81 is specifically configured to receive a second input of an application access permission setting item in the application access permission setting interface displayed by the display module. The determining module 82 is specifically configured to determine the application access permission corresponding to the first location area in response to the second input received by the receiving module 81.
[0250] In a possible implementation, the receiving module 81 is further configured to receive a third input of a location area range setting item in the application access permission setting interface displayed by the display module. The determining module 82 is further configured to determine an applicable range of the application access permission corresponding to the first location area in response to the third input received by the receiving module 81.
[0251] In a possible implementation, the receiving module 81 is further configured to receive a fourth input of an application access request processing setting item in an application access permission setting interface displayed by the display module. The determining module 82 is further configured to determine a processing strategy of an application access request corresponding to the first location area in response to the fourth input received by the receiving module 81.
[0252] In a possible implementation, the positioning permission management apparatus 80 provided by the embodiment of the present application further includes a display module. The receiving module 81 is further configured to receive a fifth input of a map interface. The display module is configured to display historical access application identifiers corresponding to each location area of the map interface in response to the fifth input received by the receiving module 81.
[0253] In a possible implementation, the receiving module 81 is further configured to receive a sixth input of a map interface. The display module is further configured to display a historical access location area identifier set in response to the sixth input received by the receiving module 81. The receiving module 81 is further configured to receive a seventh input of a third location area identifier in the historical access location area identifier set displayed by the display module. The display module is further configured to display historical access detail information of a third location area corresponding to the third location area identifier in response to the seventh input received by the receiving module 81.
[0254] In a possible implementation, the receiving module 81 is further configured to receive an eighth input of a map interface. The display module is further configured to display a historical access application identifier set in response to the eighth input received by the receiving module 81. The receiving module 81 is further configured to receive a ninth input of a first application identifier in the historical access application identifier set displayed by the display module. The display module is further configured to display historical access location areas of a first application program corresponding to the first application identifier in response to the ninth input received by the receiving module 81.
[0255] In a possible implementation, the positioning permission management apparatus 80 provided by the embodiment of the present application further includes a processing module. The receiving module 81 is further configured to receive a tenth input of a fourth location area in a map interface. The processing module is configured to clear an application access permission corresponding to the fourth location area in response to the tenth input received by the receiving module 81.
[0256] In a possible implementation, the positioning permission management apparatus 80 provided by the embodiment of the present application further includes a display module. The display module is configured to display an application permission request window on an application interface of the first application before receiving the first input of the first location area in the map interface. The receiving module 81 is further configured to receive an eleventh input of the application permission request window displayed by the display module. The display module is further configured to display the map interface in response to the eleventh input received by the receiving module 81. The determining module 82 is specifically configured to determine the application access permission of the first application in the first location area in response to the first input received by the receiving module 81.
[0257] The positioning permission management apparatus in the embodiment of the present application can be an electronic device or a component in the electronic device, for example, an integrated circuit or a chip. The electronic device can be a terminal or other devices except the terminal. For example, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and can also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a cash register, or a self-service machine, and the like, and the embodiment of the present application is not limited thereto.
[0258] The positioning permission management apparatus in the embodiment of the present application can be an apparatus with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited thereto.
[0259] The positioning permission management apparatus provided by the embodiment of the present application can implement various processes of the method embodiments, and details are not described herein again to avoid repetition.
[0260] Optionally, as shown in FIG. 18, the embodiment of the application further provides an electronic device 90, comprising a processor 91 and a memory 92, wherein the memory 92 stores programs or instructions executable on the processor 91, and the programs or instructions are executed by the processor 91 to implement each step of the positioning permission management method and achieve the same technical effects. To avoid repetition, details are not described herein.
[0261] It should be noted that the electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
[0262] FIG. 19 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the application.
[0263] The electronic device 100 includes, but is not limited to, a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
[0264] Those skilled in the art can understand that the electronic device 100 can further include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 110 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The electronic device structure shown in FIG. 19 does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than those shown, or combine certain components, or different component arrangements, which are not described herein.
[0265] For example, the electronic device 100 is taken as an electronic device:
[0266] The user input unit 107 is configured to receive a first input to a first location region in a map interface.
[0267] The processor 110 is configured to determine an application access permission corresponding to the first location region in response to the first input.
[0268] In the electronic device provided in the embodiment of the application, a first input to a first location region in a map interface is received, and an application access permission corresponding to the first location region is determined in response to the first input. In this scheme, by setting an application access permission corresponding to a location region, the application positioning permission can be controlled according to the application access permission corresponding to the first location region, and the security of user privacy information is improved.
[0269] Optionally, the application access permission corresponding to the first location area is one of: no access, no access to part of application programs, no access to part of time periods, no access to part of application programs in part of time periods, no access to part of application programs, no access to part of time periods, or no access to part of application programs in part of time periods.
[0270] Optionally, the display unit 106 is specifically configured to display an application access permission setting interface in response to the first input. The user input unit 107 is specifically configured to receive a second input of an application access permission setting item in the application access permission setting interface. The processor 110 is specifically configured to determine the application access permission corresponding to the first location area in response to the second input.
[0271] Optionally, the user input unit 107 is further configured to receive a third input of a location area range setting item in the application access permission setting interface. The processor 110 is further configured to determine the applicable range of the application access permission corresponding to the first location area in response to the third input.
[0272] Optionally, the user input unit 107 is further configured to receive a fourth input of an application access request processing setting item in the application access permission setting interface. The processor 110 is further configured to determine the processing strategy of the application access request corresponding to the first location area in response to the fourth input.
[0273] Optionally, the user input unit 107 is further configured to receive a fifth input of the map interface. The display unit 106 is further configured to display the historical access application identifier corresponding to each location area of the map interface in response to the fifth input.
[0274] Optionally, the user input unit 107 is further configured to receive a sixth input of the map interface. The display unit 106 is further configured to display the historical access location area identifier set in response to the sixth input. The user input unit 107 is further configured to receive a seventh input of a third location area identifier in the historical access location area identifier set. The display unit 106 is further configured to display the historical access detail information of the third location area corresponding to the third location area identifier in response to the seventh input.
[0275] Optionally, the user input unit 107 is further configured to receive an eighth input of the map interface. The display unit 106 is further configured to display the historical access application identifier set in response to the eighth input. The user input unit 107 is further configured to receive a ninth input of a first application identifier in the historical access application identifier set. The display unit 106 is further configured to display the historical access location area of the first application program corresponding to the first application identifier in response to the ninth input.
[0276] Optionally, the user input unit 107 is further configured to receive a tenth input of a fourth location area in the map interface. The processor 110 is further configured to clear the application access permission corresponding to the fourth location area in response to the tenth input.
[0277] Optionally, the display unit 106 is further configured to display an application permission request window in the application interface of the first application before the step of receiving the first input of the first location area in the map interface. The user input unit 107 is further configured to receive an eleventh input of the application permission request window. The display unit 106 is further configured to display the map interface in response to the eleventh input. The processor 110 is specifically configured to determine the application access permission of the first application in the first location area in response to the first input.
[0278] The electronic device provided in the embodiments of the present application can realize each process realized by the method embodiments and achieve the same technical effects. To avoid repetition, details are not described herein.
[0279] The beneficial effects of various implementation manners in the embodiments can refer to the beneficial effects of the corresponding implementation manners in the method embodiments, and details are not described herein to avoid repetition.
[0280] It should be understood that, in the embodiments of the present application, the input unit 104 can include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processing unit 1041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 can include a display panel 1061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 can include a touch detection device and a touch controller. The other input devices 1072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), a trackball, a mouse, an operating lever, and the like, which are not described herein.
[0281] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, the memory 109 can include a volatile memory or a non-volatile memory, or the memory 109 can include both a volatile memory and a non-volatile memory. The non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synch link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). The memory 109 in the embodiments of the present application includes but is not limited to these and any other suitable types of memory.
[0282] The processor 110 can include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and an application program, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 110.
[0283] The embodiments of the present application also provide a readable storage medium, the readable storage medium stores programs or instructions, the programs or instructions are executed by a processor to realize various processes of the above-mentioned method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.
[0284] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0285] The embodiment of the present application further provides a chip, which comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, realizes various processes of the above method embodiments, and can achieve the same technical effects. To avoid repetition, details are not described here.
[0286] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system level chip, a system chip, a chip system or a system on chip, etc.
[0287] The embodiment of the present application provides a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to realize various processes of the above method embodiments and can achieve the same technical effects. To avoid repetition, details are not described here.
[0288] It should be noted that in this paper, the term "include", "contain" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to the order of the functions shown or discussed, but can also include the functions performed in a substantially simultaneous manner or in the opposite order according to the functions involved, for example, the described method can be performed in an order different from the described order, and various steps can also be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.
[0289] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned example methods can be realized by means of software and a necessary general hardware platform, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product in essence or in the form of a part that contributes to the prior art, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
[0290] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative and not restrictive. Those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.
Claims
1. A positioning permission management method, the method comprising: receiving a first input of a first location area in a map interface; determining an application access permission corresponding to the first location area in response to the first input.
2. The method of claim 1, wherein, The application access permission corresponding to the first location area is one of: no access, no access for part of application programs, no access for part of time periods, no access for part of application programs in part of time periods, access for part of application programs, access for part of time periods, or access for part of application programs in part of time periods.
3. The method of claim 2, wherein, The determining the application access permission corresponding to the first location area in response to the first input comprises: displaying an application access permission setting interface in response to the first input; receiving a second input of an application access permission setting item in the application access permission setting interface; determining the application access permission corresponding to the first location area in response to the second input.
4. The method of claim 3, wherein, The method further comprises: receiving a third input of a location area range setting item in the application access permission setting interface; determining an applicable range of the application access permission corresponding to the first location area in response to the third input.
5. The method of claim 3, wherein, The method further comprises: receiving a fourth input of an application access request processing setting item in the application access permission setting interface; determining a processing strategy of an application access request corresponding to the first location area in response to the fourth input.
6. The method of claim 1, wherein, The method further comprises: receiving a fifth input of the map interface; displaying historical access application identifiers corresponding to each location area of the map interface in response to the fifth input.
7. The method of claim 6, wherein, The method further comprises: receiving a sixth input of the map interface; displaying a set of historical access location area identifiers in response to the sixth input; receiving a seventh input of a third location area identifier in the set of historical access location area identifiers; displaying historical access detail information of a third location area corresponding to the third location area identifier in response to the seventh input.
8. The method of claim 6, wherein, The method further comprises: receiving an eighth input of the map interface; displaying a set of historical access application identifiers in response to the eighth input; receiving a ninth input of a first application identifier in the set of historical access application identifiers; displaying historical access location areas of a first application program corresponding to the first application identifier in response to the ninth input.
9. The method of claim 1, wherein, The method further comprises: receiving a tenth input of a fourth location area in the map interface; clearing an application access permission corresponding to the fourth location area in response to the tenth input.
10. The method of claim 1, wherein, Before the receiving the first input of the first location area in the map interface, the method further comprises: displaying an application permission request window in an application interface of a first application; receiving an eleventh input of the application permission request window; displaying the map interface in response to the eleventh input. The determining the application access permission corresponding to the first location area in response to the first input comprises: determining an application access permission of the first application corresponding to the first location area in response to the first input.
11. A positioning permission management apparatus comprising: A receiving module and a determining module; The receiving module is configured to receive a first input of a first location area in a map interface. The determining module is configured to determine an application access right corresponding to the first location area in response to the first input received by the receiving module. 12.An electronic device comprising a processor and a memory, the memory storing programs or instructions executable on the processor, the programs or instructions being executed by the processor to implement the steps of the positioning permission management method according to any one of claims 1 to 10. 13.A readable storage medium, the readable storage medium storing programs or instructions, the programs or instructions being executed by a processor to implement the steps of the positioning permission management method according to any one of claims 1 to 10. 14.A computer program product stored in a storage medium, the program product being executed by at least one processor to implement the steps of the positioning permission management method according to any one of claims 1 to 10. 15.A chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement the steps of the positioning permission management method according to any one of claims 1 to 10. 16.An electronic device configured to implement the steps of the positioning permission management method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Application program control method, electronic equipment and medium
CN111367450A
Application permission management method and device, electronic equipment and readable storage medium
CN116669039A
Positioning authority management method and device, electronic equipment and storage medium
CN118246049A
Systems and methods for protecting geolocation information
US11146537B1
Access to applications of an electronic processing device solely based on geographic location
US20020125886A1