WO2025218690A1 - 定位权限管理方法、装置、电子设备及存储介质 - Google Patents

定位权限管理方法、装置、电子设备及存储介质

Info

Publication number
WO2025218690A1
WO2025218690A1 PCT/CN2025/089236 CN2025089236W WO2025218690A1 WO 2025218690 A1 WO2025218690 A1 WO 2025218690A1 CN 2025089236 W CN2025089236 W CN 2025089236W WO 2025218690 A1 WO2025218690 A1 WO 2025218690A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
input
location area
location
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2025/089236
Other languages
English (en)
French (fr)
Inventor
赵洋洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Publication of WO2025218690A1 publication Critical patent/WO2025218690A1/zh
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Definitions

  • the present application belongs to the technical field of electronic equipment, and specifically relates to a location authority management method, device, electronic equipment and storage medium.
  • the application can obtain the user's detailed location information at any time and anywhere while the user is using the application, in order to locate the user's location. This poses a risk of leaking the user's privacy information.
  • the purpose of the embodiments of the present application is to provide a location authority management method, device, electronic device and storage medium, which can improve the security of user privacy information.
  • an embodiment of the present application provides a location permission management method, which includes: receiving a first input to a first location area in a map interface; and determining application access rights corresponding to the first location area in response to the first input.
  • an embodiment of the present application provides a positioning permission management device, which includes: a receiving module and a determination module; the receiving module is used to receive a first input to a first location area in a map interface; the determination module is used to determine the application access rights corresponding to the first location area in response to the first input received by the receiving module.
  • an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
  • an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored.
  • the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
  • an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect.
  • an embodiment of the present application provides a computer program/program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
  • an embodiment of the present application provides an electronic device, which is configured to perform the steps of the method described in the first aspect.
  • a first input is received for a first location area in a map interface; in response to the first input, the application access rights corresponding to the first location area are determined.
  • the application's location permissions can be managed based on the application access rights corresponding to the first location area, thereby improving the security of user privacy information.
  • FIG1 is a flowchart of a method for managing location rights according to an embodiment of the present application
  • FIG2 is a schematic diagram of an example of a map interface provided in an embodiment of the present application.
  • FIG3 is a second flowchart of a location authority management method provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of an example of a location area setting interface provided in an embodiment of the present application.
  • FIG5A is a second example schematic diagram of an interface for setting a location area according to an embodiment of the present application.
  • FIG5B is a third example schematic diagram of a location area setting interface provided in an embodiment of the present application.
  • FIG6A is a fourth example schematic diagram of an interface for setting a location area provided in an embodiment of the present application.
  • FIG6B is a fifth example schematic diagram of an interface for setting a location area provided in an embodiment of the present application.
  • FIG7 is a sixth example schematic diagram of an interface for setting a location area according to an embodiment of the present application.
  • FIG8A is a seventh example schematic diagram of an interface for setting a location area according to an embodiment of the present application.
  • FIG8B is an eighth example schematic diagram of an interface for setting a location area provided in an embodiment of the present application.
  • FIG9 is a flowchart of a method for managing location rights according to an embodiment of the present application.
  • FIG10A is a schematic diagram of an example of an application permission request window provided in an embodiment of the present application.
  • FIG10B is a second example schematic diagram of an application permission request window provided in an embodiment of the present application.
  • FIG11 is a fourth flowchart of a method for managing location authority provided in an embodiment of the present application.
  • FIG12A is a ninth example schematic diagram of an interface for setting a location area according to an embodiment of the present application.
  • FIG12B is a tenth example schematic diagram of an interface for setting a location area provided in an embodiment of the present application.
  • FIG12C is an eleventh example diagram of a location zone setting interface provided in an embodiment of the present application.
  • FIG13 is a flowchart of a method for managing location rights according to an embodiment of the present application.
  • FIG14 is a second schematic diagram of an example of a map interface provided in an embodiment of the present application.
  • FIG15A is a third example schematic diagram of a map interface provided in an embodiment of the present application.
  • FIG15B is a fourth example schematic diagram of a map interface provided in an embodiment of the present application.
  • FIG15C is a fifth example diagram of a map interface provided in an embodiment of the present application.
  • FIG16A is a sixth example schematic diagram of a map interface provided in an embodiment of the present application.
  • FIG16B is a seventh example diagram of a map interface provided in an embodiment of the present application.
  • FIG16C is an eighth example schematic diagram of a map interface provided in an embodiment of the present application.
  • FIG17 is a schematic structural diagram of a positioning authority management device provided in an embodiment of the present application.
  • FIG18 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present application.
  • FIG19 is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
  • first,” “second,” and the like in the specification of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first,” “second,” and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more.
  • the term “and/or” in this specification indicates at least one of the connected objects, and the character “/" generally indicates that the objects connected are in an "or” relationship.
  • At least one and “at least one of” in the specification of this application refer to any one, any two, or a combination of more than two of the objects included.
  • at least one of a, b, and c can be represented by: “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.
  • “at least two” means two or more, and its meaning is similar to "at least one”.
  • GPS Global Positioning System
  • the application permission setting method provided in the embodiments of this application can be executed by a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, etc.
  • the application permission setting method provided in the embodiments of this application is described by taking a mobile phone as the execution subject to execute the application permission setting method.
  • the location permission management method provided in the embodiment of the present application can be applied to a scenario where, when an electronic device detects that its current location is within a location area, the electronic device manages the location permission of an application in the electronic device based on the location permission information corresponding to the location area.
  • a first input is received for a first location area on a map interface; in response to the first input, the application access rights corresponding to the first location area are determined.
  • the location permissions of applications can be managed and controlled based on the application access rights corresponding to the first location area, thereby improving the security of user privacy information.
  • the execution subject of the location permission management method provided in the embodiment of the present application is a location permission management device, which can be an independent device, an electronic device, or a functional module or entity in an electronic device, and the embodiment of the present application does not limit this.
  • the following will take an electronic device as an example to illustrate the location permission management method provided in the embodiment of the present application.
  • the present invention provides a method for managing location rights
  • Figure 1 shows a flowchart of the method for managing location rights provided by the present invention.
  • the method for managing location rights provided by the present invention may include the following steps 201 and 202.
  • Step 201 The electronic device receives a first input of a first location area in a map interface.
  • At least one location marker may be displayed in the map interface, wherein each of the at least one location marker indicates a location.
  • the first location area is an area corresponding to any location in the map.
  • the first location area may be a location area indicated by at least one location marker displayed on a map; or, it may be a location area where no location marker is displayed on a map.
  • the location information corresponding to the first location area may be detailed location information of the first location area acquired by the electronic device through GPS.
  • the mobile phone can display a map interface 10, and four location markers are displayed in the map interface 10, namely location marker 1 to location marker 4.
  • the location indicated by location marker 1 is "L subway station, ZZ district, YY city, XX province”
  • the location indicated by location marker 2 is "Q community, P avenue, ZZ district, YY city, XX province”
  • the location indicated by location marker 3 is "N science and technology park, M road, ZZ district, YY city, XX province”
  • the location indicated by location marker 4 is "S park, ZZ district, YY city, XX province”.
  • a list control 11 is displayed at the bottom area of the map interface 10. If the user inputs the list control 11, the mobile phone can display a list window to display an application list or a location list.
  • the first input is used to set the application access permission corresponding to the first location area.
  • the above-mentioned first input can be a single-click input, a long press input, a two-finger sliding input, or other feasible input, which is not limited in the embodiments of the present application.
  • Step 202 The electronic device determines, in response to the first input, the application access permission corresponding to the first location area.
  • the application access rights corresponding to the above-mentioned first location area include but are not limited to at least one of the following: the application corresponding to the first location area, the access rights of the application corresponding to the first location area, the applicable time of the application access rights of at least part of the application corresponding to the first location area, the applicable scope of the application access rights of at least part of the application corresponding to the first location area, and the processing strategy of the electronic device for access requests to at least part of the application corresponding to the first location area.
  • the access rights of the application corresponding to the first location area are: prohibited access, prohibited access to some applications, allowed access, or allowed access to some applications.
  • the access rights of the application corresponding to the first location area are: prohibited access, prohibited access to some applications, prohibited access to some time periods, prohibited access to some applications in some time periods, allowed access to some applications, allowed access to some time periods, or allowed access to some applications in some time periods.
  • a first input is received for a first location area in a map interface; in response to the first input, the application access rights corresponding to the first location area are determined.
  • the location permissions of applications can be managed and controlled based on the application access rights corresponding to the first location area, thereby improving the security of user privacy information.
  • step 202 in combination with FIG1 , as shown in FIG3 , the above step 202 can be specifically implemented through the following steps 202a to 202c.
  • Step 202a The electronic device displays an application access permission setting interface in response to the first input.
  • the above-mentioned setting interface includes at least one setting option.
  • the above-mentioned setting options are used to set at least one of the following: application access rights corresponding to the first location area, the applicable scope of the application access rights corresponding to the first location area, the applicable time of the application access rights corresponding to the first location area, or the processing strategy of the application access request corresponding to the first location area.
  • the mobile phone can display a setting interface 12, wherein the setting window 12 displays the detailed location information corresponding to the location identifier 2, "Q Community, P Avenue, ZZ District, YY City, XX province", four setting options, an "OK” button, and a "Cancel” button.
  • the four setting options are respectively an "Inaccessible Applications” option, an “Inaccessible Surrounding Areas” option, an “Inaccessible Time Period” option, and a "Processing When Applications Are Accessed” option.
  • the four setting options are displayed as preset contents, that is, the preset content corresponding to the "Inaccessible Applications” option is “All Applications”, the preset content corresponding to the "Inaccessible Surrounding Areas” option is “0 km”, the preset content corresponding to the "Inaccessible Time Period” option is “All Time”, and the preset content corresponding to the "Processing When Applications Are Accessed” option is "Directly Prohibited”.
  • the above-mentioned "Inaccessible surrounding area” option is used to set the applicable scope of the application access rights corresponding to the first location area; for example, when the location area is a circular area, this option is used to set the radius of the circular area;
  • the above-mentioned "inaccessible time period” option is used to set the applicable time of the application access permission corresponding to the first location area;
  • processing when application accesses option is used to set the processing strategy executed by the electronic device when the application corresponding to the first location area requests to access the location information of the first location area.
  • the user can first select a location in the map. If the user selects location 1, the mobile phone can display a location marker at the location clicked by the user and display the detailed location information corresponding to location 1, such as "R Primary School, ZZ District, YY City, XX province". The user can long press the displayed location marker or the displayed text "R Primary School, ZZ District, YY City, XX province", that is, the first input mentioned above, to trigger the mobile phone to display the setting window 12 as shown in Figure 4.
  • Step 202b The electronic device receives a second input on an application access permission setting item in the application access permission setting interface.
  • the second input is used to set or adjust an application access permission setting item.
  • the second input may be a single-click input, a long-press input, a two-finger sliding input, or other feasible inputs, which are not limited in the embodiments of the present application.
  • Step 202c The electronic device determines the application access permission corresponding to the first location area in response to the second input.
  • the electronic device may display a new interface or floating window in response to the second input to display a control for setting the application access permission corresponding to the first location area.
  • control for setting application access rights corresponding to the first location area may be used to select applications.
  • the electronic device sets corresponding application access rights for all or some applications according to the control selection.
  • a user wants to set application access permissions for at least some applications in a mobile phone to the location area of location identifier 2
  • the user can click the "Inaccessible Applications” option in the settings window 12, as shown in FIG5A , triggering the mobile phone to display a settings window 13, and the settings window 13 displays two options, namely, the "All Applications” option and the "Some Applications” option.
  • the "All Applications” option is used to indicate that all applications in the electronic device cannot access locations in the location area; the "Some Applications” option is used to indicate that some applications selected by the user in the electronic device cannot access locations in the location area.
  • the user can click the "Partial Applications" option in the settings window 13, as shown in Figure 5B, and the mobile phone can display a settings interface 14 to show the user a list of all applications contained in the mobile phone, so that the user can select some applications that are not accessible to the first location area by selecting options in the settings interface 14, so that the mobile phone can set application access permissions according to the user's selection.
  • the permission-related information of the first location area can meet the user's needs, thereby better protecting the security of the user's privacy information.
  • the application permission setting method provided in the embodiments of the present application further includes the following steps 202d1 and 202d2.
  • Step 202d1 The electronic device receives a third input for a location area range setting item in the application access permission setting interface.
  • the third input is used to set or adjust a location area range setting item.
  • the third input may be a single-click input, a long-press input, a two-finger sliding input, or other feasible inputs, which is not limited in the embodiments of the present application.
  • Step 202d2 In response to the third input, determine the applicable scope of the application access permission corresponding to the first location area.
  • the electronic device may display a new interface or floating window in response to the third input to display a control for setting the applicable scope of the application access permission corresponding to the first location area.
  • the above-mentioned "displaying a control for setting the applicable scope of application access rights corresponding to the first location area” may include but is not limited to any of the following: the electronic device may display multiple numerical options to set the applicable scope; or, the electronic device may display an input box to set the applicable scope according to the numerical value entered by the user; or, display other controls that can be used to edit the numerical value to set the applicable scope.
  • Settings window 15 displays four options: “0 km,” “1 km,” “2 km,” and “5 km.” Since the default setting on the mobile phone is "0 km,” the "0 km” option displayed on the mobile phone is selected.
  • the user can click the "1 km” option, i.e., the third input, to cause the mobile phone to select the "1 km” option.
  • the mobile phone can adjust the display position of the location area of location marker 2 on the map interface 10 and display a preview circular area with a 1 km applicable range corresponding to the location area of location marker 2, to help the user check whether the currently set value meets the requirements.
  • the permission-related information of the first location area can meet the user's needs, thereby better protecting the security of the user's privacy information.
  • the application permission setting method provided in the embodiments of the present application further includes the following steps 202e1 and 202e2.
  • Step 202e1 The electronic device receives a fourth input to an application access request processing setting item in the application access permission setting interface.
  • the fourth input is used to set or adjust an application access request processing setting item.
  • the fourth input may be a single-click input, a long-press input, a two-finger sliding input, or other feasible inputs, which is not limited in the embodiments of the present application.
  • Step 202e2 The electronic device determines a processing strategy for the application access request corresponding to the first location area in response to the fourth input.
  • the electronic device may display a new interface or floating window in response to the fourth input to display a control for setting a processing policy for the application access request corresponding to the first location area.
  • control for setting a processing policy for an application access request corresponding to the first location area may be used to select a processing operation performed by the electronic device, such as direct prohibition or inquiry.
  • a user wishes to set a policy for handling application access requests corresponding to the location area of location identifier 2
  • the user can click the "Application Access Handling" option in settings window 12.
  • This triggers the phone to display a settings window 16, as shown in Figure 7 , with two options: “Directly Prohibit” and "Proceed with Inquiry.”
  • the user can then select one of these options, representing the fourth input, to trigger the phone to set a policy for handling application access requests corresponding to the first location area based on the user's selection.
  • the mobile phone can display a notification message to inform the user that there is currently an application that needs to access the location of the mobile phone. If the user selects the "ask” option, then when the mobile phone is within the first location area, when at least some applications in the mobile phone need to access the location of the mobile phone, the mobile phone can display a pop-up window to prompt the user to set the corresponding permissions for the application that currently needs to access the location of the mobile phone, such as "allow for this use.”
  • the permission-related information of the first location area can meet the user's needs, thereby better protecting the security of the user's privacy information.
  • the electronic device may associate the location information of the first location area with the corresponding application access rights and store them in the electronic device. Then, when the electronic device determines that the current location is within the range of a certain location area, the electronic device may actively call out the application access rights corresponding to the certain location area to set the application access rights accordingly.
  • the application permission setting method provided in the embodiments of the present application further includes the following steps 202f1 and 202f2.
  • Step 202f1 The electronic device receives a twelfth input to the access time period setting item in the application access permission setting interface.
  • the twelfth input is used to set or adjust an access time period setting item.
  • the twelfth input may be a single-click input, a long-press input, a two-finger sliding input, or other feasible inputs, which is not limited in the embodiments of the present application.
  • Step 202f2 In response to the twelfth input, determine the applicable time period of the application access permission corresponding to the first location area.
  • the electronic device may display a new interface or floating window in response to the twelfth input to display a control for setting an applicable time period for the application access permission corresponding to the first location area.
  • the above-mentioned control for setting the applicable time period of the application access permission corresponding to the first location area can be used to: select the access time period corresponding to the application, for example, inaccessible all the time, inaccessible part of the time, accessible all the time, or accessible part of the time.
  • a user wishes to set the applicable time period for application access rights corresponding to the location area of location identifier 2
  • the user can click the "Inaccessible Time Period" option in settings window 12, as shown in FIG8A , triggering the mobile phone to display a settings window 17 with two options: "All Time” and "Part Time.”
  • the user can then select one of the options, i.e., the twelfth input described above, to trigger the mobile phone to set the applicable time period for application access rights corresponding to the first location area based on the user's selection.
  • the phone needs to determine whether the current time is within the inaccessible time period corresponding to the first location area. If the current time is within the inaccessible time period, at least some of the applications in the phone need to be set according to the application access permissions corresponding to the first location area.
  • the above-mentioned "displaying a control for setting the applicable time for application access rights corresponding to the first location area” may include but is not limited to any of the following: the electronic device may display a time input box to set the applicable time period according to the time value input by the user; or, the electronic device may display a disc control and display a time identifier in the disc control to determine the time period indicated by the at least two time identifiers according to the user's selection input of at least two time identifiers, and set the applicable time period according to the time period; or, the electronic device may display at least two sliding controls to enable the user to set the start time and end time by sliding the at least two sliding controls, and set the applicable time period according to the time period.
  • a user wants to set an inaccessible time period corresponding to the location area of location marker 2, the user can select the "Partial Time” option in setting window 17, as shown in FIG8B , triggering the mobile phone to display setting window 18 for setting a partial time period.
  • Setting window 18 displays two sliding controls. The user can then slide the two sliding controls up and down to set the start time and end time, such as the start time being "8:00 PM” and the end time being "7:00 AM” of "tomorrow.”
  • the user can also set the recurrence frequency of the time period, such as "Every Day.” That is, the inaccessible time period corresponding to the location area of location marker 2 is from 8:00 PM every night to 7:00 AM the next morning.
  • the permission-related information of the first location area can meet the user's needs, thereby better protecting the security of the user's privacy information.
  • step 201 the application permission setting method provided in the embodiment of the present application further includes steps 501 to 503. Meanwhile, in conjunction with steps 501 to 503, step 202 can be specifically implemented by step 202g.
  • Step 501 The electronic device displays an application permission request window on the application interface of a first application.
  • the first application is any application in the electronic device that has location permission.
  • the above-mentioned application permission request window includes at least one processing control and an editing control.
  • different processing controls correspond to different processing strategies, where the processing strategy is a processing strategy of the electronic device when the first application accesses a location within the first location area.
  • the above processing strategy includes at least one of the following: always allowing the first application to access the area within the first location area, allowing the first application to access the area within the first location area once, and maintaining prohibition on the first application from accessing the area within the first location area once.
  • the editing control is used to set or edit the application access permission corresponding to the first location area.
  • the mobile phone when a user views an application interface of application A through a mobile phone, if application A requests access to 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 application A, and the application permission request window 20 contains three processing controls and one editing control, wherein the three processing controls are an “always allow” processing control, an “allow once” processing control, and a “keep prohibited” processing control, and the editing control is a “set private location” editing control.
  • Step 502 The electronic device receives an eleventh input to the application permission request window.
  • the eleventh input may be used to select an edit control.
  • the eleventh input may be a single-click input, a long-press input, a two-finger sliding input, or other feasible inputs, which is not limited in the embodiments of the present application.
  • Step 503 The electronic device displays a map interface in response to the eleventh input.
  • the electronic device may jump from the application interface of the first application to the map interface in response to the eleventh input.
  • the electronic device may display a setting interface in the map interface to help the user set or edit the application access rights corresponding to the first location area for the first application.
  • Step 202g The electronic device determines, in response to the first input, the application access permission corresponding to the first application in the first location area.
  • the electronic device uses an application permission request window to allow the user to choose to set corresponding access permissions for the first application, so that it can determine whether the first application can obtain the location of the electronic device within the first location area based on the user's choice, thereby improving the flexibility and convenience of positioning permission settings.
  • the above step 501 can be specifically implemented by the following step 701a.
  • the application permission setting method provided by the embodiment of the present application further includes the following steps 701b and 701c.
  • Step 701a If the electronic device is within the first location area and the application access permission corresponding to the first location area indicates that the first application can ask whether to allow access to the location within the first location area, the electronic device displays an application permission request window on the application interface of the first application.
  • Step 701b The electronic device receives a thirteenth input from the user to one of the at least one processing controls.
  • the thirteenth input is used to select a processing control.
  • the thirteenth input may be a single-click input, a long-press input, a sliding input, or other feasible inputs, which is not limited in the embodiments of the present application.
  • Step 701c The electronic device responds to the thirteenth input, processes according to the processing strategy corresponding to a processing control, and cancels the display of the processing setting window.
  • the electronic device when an electronic device is within a first location area and the application access permission corresponding to the first location area indicates that the first application can inquire whether access to the location within the first location area is allowed, if the first application requires access to 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 user's selection of one of the at least one processing controls 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 positioning permission of the first application.
  • the mobile phone can display an application permission request window 20 in the application interface 19.
  • the user can select the "Always Allow" control in the application permission request window 20, i.e., the aforementioned thirteenth input, to trigger the phone to enable the application access permission for Application A within the first location area and simultaneously cancel the display of the application permission request window 20. Consequently, whenever the user brings their phone within the first geographic range, Application A can freely access the phone's location.
  • the user can select the "Allow once" processing control in the application permission request window 20, that is, the above-mentioned thirteenth input, to trigger the mobile phone to set the application access permission of application A within the first location area to the open state, and at the same time that application A obtains the current location of the mobile phone, the positioning permission of application A within 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 later, if application A needs to obtain 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 application A to access the location.
  • the user can select the "Keep Disabled" processing control in the application permission request window 20, i.e., the thirteenth input described above, which means that the mobile phone still keeps the positioning permission of application A within the first location area in a disabled state, and the mobile phone can cancel the display of the processing setting window.
  • the mobile phone will need to display a processing setting window again to ask the user whether to allow application A to access the location.
  • the electronic device when the application access permission corresponding to the first location area indicates that the first application can ask whether access to the first location area is allowed, if the user does not perform the above-mentioned thirteenth input, the electronic device will continue to display the processing setting window.
  • the electronic device when the electronic device is within a first location area and the application access permission corresponding to the first location area indicates that the first application can ask whether to access the area within the first location area, the electronic device can display an application permission request window to execute a corresponding processing strategy for the first application based on the user's selection of the processing control in the application permission request window.
  • the user's settings for application access permissions can be met, the personalization of application access permission settings is improved, and the convenience of application access permission settings is improved.
  • the application permission setting method provided in the embodiments of the present application further includes the following step 702.
  • Step 702 If the electronic device is located within the first location area and the application access permission corresponding to the first location area indicates that the first application is prohibited from accessing locations within the first location area, the electronic device displays an application permission request window within a predetermined time period.
  • the application permission request window includes at least one processing control, and different processing controls correspond to different processing strategies.
  • the mobile phone can display an application permission request window 21 in the application interface 19, wherein the application permission request window 21 contains three processing controls, namely, an "always allow” processing control, an "allow once” processing control, and a "keep prohibited” processing control.
  • the electronic device can respond to the input, process according to the processing strategy corresponding to the one processing control, and directly cancel the display of the processing settings window.
  • the above electronic device can parameterize the above steps 701b and 701c according to the relevant description of the processing strategy corresponding to the processing control. In order to avoid repetition, this application will not go into details here.
  • the electronic device if the electronic device does not receive user input on one of the at least one processing controls within a predetermined time period, the electronic device directly cancels display of the processing setting window after the preset time period.
  • the electronic device when the electronic device is within a first location area and the application access rights corresponding to the first location area indicate that the first application is prohibited from accessing the area within the first location area, the electronic device can display an application permission request window to prompt the user that the first application needs to access the location within the first location area.
  • the electronic device can directly select the application permission request window, which improves the convenience of setting the application access rights; if the user does not need to adjust the application access rights settings, the electronic device can cancel the display of the application permission request window after a predetermined time period, thereby reducing the impact of the application permission request window on the interface display content.
  • the electronic device when the electronic device displays any interface, if there is an application requesting access to the current location of the electronic device, the electronic device can execute steps similar to the above steps 501 to 503, or steps 701a to 701c, or step 702. In order to avoid repetition, they will not be repeated here.
  • the application permission setting method provided in the embodiment of the present application further includes the following steps 401 and 402 .
  • Step 401 The electronic device receives a tenth input to a fourth location area in a map interface.
  • the tenth input is used to edit or delete the permission information of the location area corresponding to the second location.
  • the tenth input may be a single-click input, a long-press input, a two-finger sliding input, or other feasible inputs, which is not limited in the embodiments of the present application.
  • the position of the tenth input may be any position in the fourth position area displayed in the map interface, such as the center position of the fourth position area.
  • Step 402 In response to the tenth input, the electronic device clears the application access permission corresponding to the fourth location area.
  • the above “clearing the application access rights corresponding to the fourth location area” can be understood as: deleting the application access rights set for the fourth location area. Then, all applications with location access rights can access locations within the fourth location area.
  • a location area 22 is displayed in the map interface 10
  • the user can long press any position in the location area 22 to cause the mobile phone to display a floating window 23, and the floating window 23 contains two options, namely, an "Edit” option and a "Delete” option.
  • the user can click the "Delete” option, as shown in FIG12B , and the mobile phone can display a delete window 24 to prompt the user to confirm whether to delete the location area 22.
  • the mobile phone can delete the application access rights corresponding to the stored location area 22, and then the mobile phone can simultaneously cancel the display of the relevant content of the location area 22 in the map interface 10, that is, the circle used to represent the location area 22 in the map interface 10.
  • the application permission setting method provided by the embodiment of the present application further includes the following step 403.
  • Step 403 The electronic device edits the application access permission corresponding to the fourth location area in response to the tenth input.
  • the content edited by the above-mentioned "editing the application access rights corresponding to the fourth location area” includes at least one of the following: the application corresponding to the first location area, the access rights of the application corresponding to the first location area, the applicable time of the application access rights of at least part of the application corresponding to the first location area, the applicable scope of the application access rights of at least part of the application corresponding to the first location area, and the processing strategy of the electronic device for the access request of at least part of the application corresponding to the first location area.
  • the user can edit or clear the application access rights corresponding to the location area by inputting the corresponding information.
  • the setting of the application access rights 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 rights of the location area.
  • the application permission setting method provided in the embodiment of the present application further includes the following steps 301 and 302 .
  • Step 301 The electronic device receives a fifth input to the map interface.
  • the above-mentioned map interface may include at least one location identifier, and each location identifier indicates a location area in the map.
  • the location indicated by the at least one location identifier is a location that has been historically accessed by an application with positioning permission in the electronic device.
  • the location indicated by the at least one location identifier may be a location that has been accessed by an application in the electronic device within a preset time period.
  • the preset time period may be the most recent day, the most recent week, or the most recent month.
  • the specific time period may be set according to the needs of the user and is not limited in this application.
  • the fifth input is used to trigger the electronic device to display an application logo on the map interface.
  • the fifth input may be a single-click input, a long-press input, a two-finger sliding input, or other feasible inputs, which is not limited in the embodiments of the present application.
  • the user can trigger the electronic device to first display the interface of the "Settings” application to display at least one setting option contained in the "Settings” application. Then, the user can select an option related to viewing application permissions to trigger the electronic device to display the location access records of the application, so that the electronic device can display the location access records of the application within a preset time period on the map interface.
  • Step 302 In response to the fifth input, the electronic device displays historically visited application identifiers corresponding to each location area on the map interface.
  • the electronic device may display, on a location identifier displayed on a map interface, identifiers of applications that have visited the location area indicated by the location identifier within a preset time period.
  • the mobile phone may display a map interface 10 , and the map interface 10 displays four location markers, namely location marker 1 to location marker 4 , and each location marker indicates a location area.
  • the user can swipe up with two fingers in the map interface 10 or click on a special control in the map interface 10, that is, the fifth input mentioned above, as shown in Figure 14, to trigger the mobile phone to display the corresponding historical access application identifier at the location identifier indicating the location area.
  • the application icon of application B is displayed at the same time, which may indicate that application B has visited the location within the location area centered on "L subway station, ZZ district, YY city, XX province" indicated by location identifier 1 in the past day;
  • the application icons of application A, application B, application C and application D are displayed at the same time, which may indicate that application A, application B, application C and application D have all visited the location within the location area centered on "Q community, P Avenue, ZZ district, YY city, XX province” indicated by location identifier 2 in the past day;
  • the application icons of application A and application B are displayed at the same time, which may indicate that application A and application B have visited the location within the location area centered on "N Science and Technology Park, M Road, ZZ district, YY city, XX province” indicated by location identifier 3 in the past day;
  • the electronic device can display the historical access application identifiers corresponding to each location area in a map interface to intuitively display historical access data to the user, thereby improving the flexibility and diversity of the historical access data.
  • the application permission setting method provided in the embodiments of the present application further includes the following steps 303 to 306.
  • Step 303 The electronic device receives a sixth input to the map interface.
  • the sixth input is used to trigger the electronic device to display a set of historical visited location area identifiers.
  • the sixth input may be a single-click input, a long-press input, a two-finger sliding input, or other feasible inputs, which is not limited in the embodiments of the present application.
  • Step 304 The electronic device displays a set of historical visited location area identifiers in response to the sixth input.
  • the electronic device may, in response to the sixth input, display a new interface superimposed on the map interface to display a set of historically visited location identifiers.
  • the above-mentioned historically visited location area identifier set includes at least one location area identifier and relevant information corresponding to each location area identifier in the at least one location area identifier, such as a detailed location and the number of visits.
  • a user wants to view detailed information about which applications have accessed the phone's location in the past day, they can swipe up on list control 11 (i.e., the sixth input), as shown in FIG15A . This triggers the phone to display a collection window 26 showing the center locations of all location areas accessed by applications in the past day.
  • list control 11 i.e., the sixth input
  • the phone can display, in order of visit count, "Q Community, P Avenue, ZZ District, YY City, XX province,” “L Subway Station, ZZ District, YY City, XX province,” and “N Technology Park, M Road, ZZ District, YY City, XX province.”
  • “Q Community, P Avenue, ZZ District, YY City, XX province” has been visited 50 times in the past day
  • "L Subway Station, ZZ District, YY City, XX Province” has been visited 25 times in the past day
  • “N Technology Park, M Road, ZZ District, YY City, XX province” has been visited 10 times in the past day.
  • Step 305 The electronic device receives a seventh input of a third location area identifier in the set of historically visited location area identifiers.
  • the seventh input is used to select a location area identifier.
  • the seventh input may be a single-click input, a long-press input, a two-finger sliding input, or other feasible inputs, which is not limited in the embodiments of the present application.
  • Step 306 In response to the seventh input, the electronic device displays historical visit details of the third location area corresponding to the third location area identifier.
  • the electronic device may update the interface displaying the set of historically visited location area identifiers to display historical visit detail information of a third location area corresponding to a third location area identifier in response to the seventh input.
  • the electronic device may display historical visit details of the third location area in the area corresponding to the third location identifier in response to the seventh input.
  • the user can click on the area corresponding to "Q Community, P Avenue, ZZ District, YY City, XX province" in the collection window 26, that is, the seventh input mentioned above, as shown in Figure 15C, triggering the mobile phone to enlarge the map interface 10 to display only the location area corresponding to the location identifier 2 of "Q Community, P Avenue, ZZ District, YY City, XX province", and display a floating window 27 in the area above the location identifier 2 to display the historical access details corresponding to the location identifier 2, such as, application A visited the location corresponding to location identifier 2 20 times in the past day; application B visited the location corresponding to location identifier 2 10 times in the past day.
  • the electronic device can display historical access details corresponding to a certain location area to the user based on the user's input, so that the user can more conveniently obtain the detailed location information obtained by the application and the number of times the application has obtained it, thereby facilitating the user to manage the location permission of the application to reduce the risk of leakage of user privacy information.
  • the electronic device can receive a user's click input on any one of the at least one identifier, identify the any one identifier in response to the click input, and directly display the historical access details information of the location area indicated by the identifier in the area corresponding to the identifier clicked by the user.
  • the user can click on the location identifier 2 in the location map interface 10 to trigger the mobile phone to display the historical visit details information of the location area indicated by the location identifier 2, that is, the mobile phone can display a floating window 27 as shown in Figure 15C in the area above the location identifier 2.
  • the marking method of marking any one of the logos includes but is not limited to any of the following: enlarging the display size, changing the display color, and canceling the display of other logos.
  • the application permission setting method provided in the embodiments of the present application further includes the following steps 307 to 310.
  • Step 307 The electronic device receives an eighth input to the map interface.
  • the eighth input is used to trigger the electronic device to display a set of historically accessed application identifiers.
  • the eighth input may be a single-click input, a long-press input, a two-finger sliding input, or other feasible inputs, which is not limited in the embodiments of the present application.
  • Step 308 The electronic device displays a set of historically accessed application identifiers in response to the eighth input.
  • the electronic device may display a new interface superimposed on the map interface in response to the eighth input to display the set of historically accessed application identifiers.
  • the above-mentioned historical access application identification set includes at least one application identification and related information corresponding to each application identification in the at least one application identification, such as the application name and the number of accesses.
  • the user can slide up the list control 11, that is, the eighth input mentioned above, as shown in Figure 16A, to trigger the mobile phone to display a collection window 28 to display all applications that have accessed the mobile phone location in the past day.
  • the mobile phone can display the application name and application icon of application A, the application name and application icon of application B, and the application name and application icon of application C in sequence according to the number of visits, and the mobile phone can also display the corresponding number of visits to the applications at the same time, that is, application A has visited the mobile phone location a total of 100 times in the past day, application B has visited the mobile phone location a total of 50 times in the past day, and application C has visited the mobile phone location a total of 40 times in the past day.
  • Step 309 The electronic device receives a ninth input of the first application identifier in the set of historically accessed application identifiers.
  • the ninth input is used to select an application identifier.
  • the ninth input may be a single-click input, a long-press input, a two-finger sliding input, or other feasible inputs, which is not limited in the embodiments of the present application.
  • Step 310 In response to the ninth input, the electronic device displays a historically visited location area of the first application program corresponding to the first application identifier.
  • the electronic device may, in response to the ninth input, cancel the display of other application identifiers except the first application identifier in the map interface to display only the historical access location area of the first application corresponding to the first application identifier.
  • the user can click on the area corresponding to the logo of application A in the collection window 28, as shown in Figure 16C, to trigger the mobile phone to display only the historical access location areas of application A on the map, that is, the location area corresponding to location identifier 2 and the location area corresponding to location identifier 3.
  • the electronic device can display the historical access location area corresponding to a certain application to the user based on the user's input, so that the user can more conveniently know the number of times the application has obtained location information and the information of the obtained location area, thereby facilitating the user to manage the location permission of the application to reduce the risk of leakage of user privacy information.
  • the application permission setting method provided in the embodiments of the present application further includes the following steps 601 to 603.
  • Step 601 The electronic device obtains the current first location information of the electronic device.
  • the first location information may be obtained through GPS in the electronic device, or may be obtained through positioning of a network device.
  • the first location information may be the latitude and longitude information of the current location of the electronic device.
  • Step 602 When it is determined based on the first location information that the electronic device is located in a fifth location area, the electronic device obtains the application location permission corresponding to the fifth location area.
  • the first positioning permission information indicates whether the target application can access the area within the fifth location area.
  • the target application is one or more applications installed in the electronic device.
  • the application positioning permission corresponding to the above-mentioned fifth location area includes at least one of the following: application information of the target application, the applicable scope of the target application accessing the fifth location area, the applicable time period of the target application accessing the fifth location area, and the processing strategy of the electronic device when the target application accesses the area within the fifth location area.
  • the fifth location area may be one or more location areas. It is understood that when the fifth location area is multiple location areas, the electronic device is currently located in an overlapping area of the multiple location areas.
  • the shape of the fifth position area may be any one of the following: a circle, a rectangle or an irregular geometric shape.
  • the information corresponding to the applicable scope of the fifth position area may be the radius value of the circular area, that is, the fifth position area is a circular area constructed with the center position coordinate as the center and a preset value as the radius.
  • the information corresponding to the applicable scope of the fifth position area may be the side length of the rectangular area.
  • the application information of the target application may 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 electronic device location information.
  • the above-mentioned processing strategy includes permission or prohibition.
  • the electronic device may first obtain the location information of all location areas set by the user, and thereby determine whether it is within the range of one or more location areas based on the first location information. If it is determined that the first location information is within a fifth location area, the electronic device may obtain 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 a location within the fifth location area.
  • the electronic device may first obtain the distance between the first position information and the center position coordinates of the fifth position area based on the first position information and the center position coordinates of the fifth position area, so as to determine whether the first position information is processed within the fifth position area based on the size relationship between the distance and a preset value used to characterize the radius of the circular area.
  • 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.
  • the electronic device determines whether to allow the target application to access the area within the fifth location area based on the application information of the target application in the application permission information corresponding to the fifth location area and the processing strategy of the electronic device when the target application accesses the area within the fifth location area.
  • the electronic device when the application permission information corresponding to the fifth location area indicates that the target application can access the location within the fifth location area, the electronic device allows the target application to access the location within the fifth location area based on the application permission information related to the target application.
  • the application permission information corresponding to the fifth location area indicates that the target application can access locations within the fifth location area
  • the positioning permission of the target application can be automatically set or adjusted to an enabled state. Therefore, within the fifth location area, if the target application requires access to the location information of the electronic device, the target application can directly obtain the current detailed location information of the electronic device.
  • the electronic device when the application permission information corresponding to the fifth location area indicates that the target application cannot access the location within the fifth location area, the electronic device prohibits the target application from accessing the location within the fifth location area based on the application permission information related to the target application.
  • the application permission information corresponding to the fifth location area indicates that the target application cannot access locations within the fifth location area
  • the positioning permission of the target application can be automatically set or adjusted to a disabled state. Therefore, within the fifth location area, even if the target application needs to access the location information of the electronic device, the target application cannot obtain detailed location information.
  • the electronic device when the electronic device is within the fifth location area, the electronic device can determine whether to allow the target application to access the location within the fifth location area based on the application permission information corresponding to the fifth location area, thereby reducing the number of applications in the electronic device that can obtain detailed location information within the fifth location area. In this way, the risk of user privacy information being leaked can be reduced, and the security of user privacy information can be improved.
  • the execution subject of the location permission management method provided in the embodiments of the present application can be a location permission management device, an electronic device, or a functional module or entity in an electronic device.
  • the execution of the location permission management method by an electronic device is used as an example to illustrate the location permission management device provided in the embodiments of the present application.
  • FIG17 shows a possible structural diagram of a positioning authority management device involved in an embodiment of the present application.
  • the positioning authority management device 80 may include: a receiving module 81 and a determining module 82 .
  • the receiving module 81 is configured to receive a first input to a first location area in the map interface.
  • the determining module 82 is configured to determine the application access permission corresponding to the first location area in response to the first input received by the receiving module 81 .
  • a first input is received for a first location area in a map interface; in response to the first input, the application access rights corresponding to the first location area are determined.
  • the location permission of the application can be managed based on the application access rights corresponding to the first location area, thereby improving the security of user privacy information.
  • the application access rights corresponding to the above-mentioned first location area are prohibited access, prohibited access to some applications, prohibited access to some time periods, prohibited access to some applications during some time periods, allowed access to some applications, allowed access during some time periods, or allowed access to some applications during some time periods.
  • the location permission management device 80 provided in an embodiment 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 a first input received by the receiving module 81.
  • the receiving module 81 is specifically configured to receive a second input regarding an application access permission setting item in the application access permission setting interface displayed by the display module.
  • the determination 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.
  • the receiving module 81 is further configured to receive a third input regarding 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, in response to the third input received by the receiving module 81, an applicable scope of the application access permission corresponding to the first location area.
  • the receiving module 81 is further configured to receive a fourth input regarding an application access request processing setting item in the application access permission setting interface displayed by the display module.
  • the determining module 82 is further configured to determine a processing policy for application access requests corresponding to the first location area in response to the fourth input received by the receiving module 81.
  • the location permission management device 80 provided in an embodiment of the present application further includes a display module.
  • the receiving module 81 is further configured to receive a fifth input on the map interface.
  • the display module is configured to display historically accessed application identifiers corresponding to various location areas on the map interface in response to the fifth input received by the receiving module 81.
  • the receiving module 81 is further configured to receive a sixth input on the map interface.
  • the display module is further configured to display the set of historically visited location area identifiers in response to the sixth input received by the receiving module 81.
  • the receiving module 81 is further configured to receive a seventh input on a third location area identifier in the set of historically visited location area identifiers displayed by the display module.
  • the display module is further configured to display historical visit details of a third location area corresponding to the third location area identifier in response to the seventh input received by the receiving module 81.
  • the receiving module 81 is further configured to receive an eighth input to the map interface.
  • the display module is further configured to display the set of historically accessed application identifiers in response to the eighth input received by the receiving module 81.
  • the receiving module 81 is further configured to receive a ninth input for a first application identifier in the set of historically accessed application identifiers displayed by the display module.
  • the display module is further configured to display the historically accessed location area of the first application corresponding to the first application identifier in response to the ninth input received by the receiving module 81.
  • the location permission management device 80 provided in an embodiment of the present application further includes a processing module.
  • the receiving module 81 is further configured to receive a tenth input regarding a fourth location area in the map interface.
  • the processing module is configured to, in response to the tenth input received by the receiving module 81, clear the application access permission corresponding to the fourth location area.
  • the location permission management device 80 provided in the embodiment of the present application further includes: a display module.
  • the display module is configured to display an application permission request window on the application interface of the first application before receiving a first input to the first location area in the map interface.
  • the receiving module 81 is further configured to receive an eleventh input to the application permission request window displayed by the display module.
  • the display module is further configured to display a 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 rights corresponding to the first application in the first location area in response to the first input received by the receiving module 81.
  • the positioning authority management device in the embodiment of the present application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip.
  • the electronic device can be a terminal or a device other than a terminal.
  • the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car-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), etc.
  • It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not make specific limitations.
  • the location authority management device in the embodiment of the present application can be a device having an operating system.
  • the operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the positioning authority management device provided in the embodiment of the present application can implement each process implemented in the above method embodiment. To avoid repetition, it will not be described here.
  • an embodiment of the present application also provides an electronic device 90, including a processor 91 and a memory 92, and the memory 92 stores a program or instruction that can be run on the processor 91.
  • the program or instruction is executed by the processor 91, the various steps of the above-mentioned location authority management method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
  • the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
  • FIG19 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to components such as 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 .
  • the electronic device 100 may further include a power source (such as a battery) for powering various components.
  • the power source may be logically connected to the processor 110 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption.
  • the electronic device structure shown in FIG19 does not limit the electronic device.
  • the electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.
  • the electronic device 100 is taken as an example:
  • the user input unit 107 is configured to receive a first input to a first location area in the map interface.
  • the processor 110 is configured to determine, in response to a first input, application access permission corresponding to a first location area.
  • a first input is received for a first location area on a map interface; in response to the first input, application access permissions corresponding to the first location area are determined.
  • application location permissions can be managed based on the application access permissions corresponding to the first location area, thereby improving the security of user privacy information.
  • the application access rights corresponding to the first location area are prohibited access, prohibited access to some applications, prohibited access to some applications during some time periods, prohibited access to some applications during some time periods, allowed access to some applications, allowed access during some time periods, or allowed access to some applications during some time periods.
  • 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 for 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.
  • the user input unit 107 is further configured to receive a third input for a location area range setting item in the application access permission setting interface.
  • the processor 110 is further configured to determine, in response to the third input, an applicable scope of the application access permission corresponding to the first location area.
  • the user input unit 107 is further configured to receive a fourth input to an application access request processing setting item in the application access permission setting interface.
  • the processor 110 is further configured to determine a processing strategy for application access requests corresponding to the first location area in response to the fourth input.
  • the user input unit 107 is further configured to receive a fifth input on the map interface.
  • the display unit 106 is further configured to display historically accessed application identifiers corresponding to various location areas on the map interface in response to the fifth input.
  • user input unit 107 is further configured to receive a sixth input on the map interface.
  • Display unit 106 is further configured to display the set of historically visited location area identifiers in response to the sixth input.
  • User input unit 107 is further configured to receive a seventh input for a third location area identifier in the set of historically visited location area identifiers.
  • Display unit 106 is further configured to display historical visit details of a third location area corresponding to the third location area identifier in response to the seventh input.
  • user input unit 107 is further configured to receive an eighth input on the map interface.
  • Display unit 106 is further configured to display the set of historically accessed application identifiers in response to the eighth input.
  • User input unit 107 is further configured to receive a ninth input for a first application identifier in the set of historically accessed application identifiers.
  • Display unit 106 is further configured to display the historically accessed location area of the first application corresponding to the first application identifier in response to the ninth input.
  • the user input unit 107 is further configured to receive a tenth input to 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.
  • display unit 106 is further configured to display an application permission request window on the application interface of the first application before receiving a first input regarding the first location area in the map interface.
  • User input unit 107 is further configured to receive an eleventh input regarding the application permission request window.
  • Display unit 106 is further configured to display the map interface in response to the eleventh input.
  • Processor 110 is specifically configured to determine, in response to the first input, the application access permissions corresponding to the first application in the first location area.
  • the electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
  • the user input unit 107 includes a touch panel 1071 and at least one of the other input devices 1072.
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 1072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.).
  • the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
  • the volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct RAM bus random access memory (DRRAM).
  • the memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
  • Processor 110 may include one or more processing units.
  • processor 110 integrates an application processor and a modem processor.
  • the application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 110.
  • An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
  • a program or instruction is stored.
  • the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
  • An embodiment of the present application provides a computer program product, which is stored in a storage medium.
  • the program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
  • a storage medium such as ROM/RAM, magnetic disk, optical disk

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种定位权限管理方法、装置、电子设备及存储介质,属于电子设备技术领域,该方法包括:接收对地图界面中的第一位置区域的第一输入;响应于第一输入,确定第一位置区域对应的应用访问权限。

Description

定位权限管理方法、装置、电子设备及存储介质
相关申请的交叉引用
本申请要求在2024年04月17日提交中国专利局、申请号为202410464323.X、名称为“定位权限管理方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于电子设备技术领域,具体涉及一种定位权限管理方法、装置、电子设备及存储介质。
背景技术
随着智能设备的发展以及智能应用、智能助手等普及,用户对自己的位置信息等隐私信息愈加关注。在第三方应用获取用户的位置信息之后,可能会存在对用户进行跟踪、定位等危险操作,因此现在主流的软件系统厂商(如iOS、安卓等),对智能设备都增加了应用定位权限的管控,即应用在访问用户的定位权限时,会向用户弹窗进行权限申请。
然而,若是授予了第三方应用定位权限,那么,在用户使用应用的过程中,该应用可以随时随地获取用户的详细位置信息,以对用户所处位置进行定位,如此,使得用户的隐私信息存在泄露风险。
发明内容
本申请实施例的目的是提供一种定位权限管理方法、装置、电子设备及存储介质,能够提升用户隐私信息的安全性。
第一方面,本申请实施例提供了一种定位权限管理方法,该定位权限管理方法包括:接收对地图界面中的第一位置区域的第一输入;响应于第一输入,确定所述第一位置区域对应的应用访问权限。
第二方面,本申请实施例提供了一种定位权限管理装置,该定位权限管理装置包括:接收模块和确定模块;接收模块,用于接收对地图界面中的第一位置区域的第一输入;确定模块,用于响应于接收模块接收的第一输入,确定所述第一位置区域对应的应用访问权限。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第六方面,本申请实施例提供一种计算机程序/程序产品,该程序/程序产品被存储在存储介质中,该程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法。
第七方面,本申请实施例提供一种电子设备,所述电子设备被配置成用于执行如第一方面所述的方法的步骤。
在本申请实施例中,接收对地图界面中的第一位置区域的第一输入;响应于第一输入,确定所述第一位置区域对应的应用访问权限。在本方案中,通过为位置区域设置对应的应用访问权限,从而能够根据与第一位置区域对应的应用访问权限,实现对应用定位权限的管控,提升用户隐私信息的安全性。
附图说明
图1是本申请实施例提供的一种定位权限管理方法的流程图之一;
图2是本申请实施例提供的一种地图界面的实例示意图之一;
图3是本申请实施例提供的一种定位权限管理方法的流程图之二;
图4是本申请实施例提供的一种位置区域的设置界面的实例示意图之一;
图5A是本申请实施例提供的一种位置区域的设置界面的实例示意图之二;
图5B是本申请实施例提供的一种位置区域的设置界面的实例示意图之三;
图6A是本申请实施例提供的一种位置区域的设置界面的实例示意图之四;
图6B是本申请实施例提供的一种位置区域的设置界面的实例示意图之五;
图7是本申请实施例提供的一种位置区域的设置界面的实例示意图之六;
图8A是本申请实施例提供的一种位置区域的设置界面的实例示意图之七;
图8B是本申请实施例提供的一种位置区域的设置界面的实例示意图之八;
图9是本申请实施例提供的一种定位权限管理方法的流程图之三;
图10A是本申请实施例提供的一种应用权限请求窗口的实例示意图之一;
图10B是本申请实施例提供的一种应用权限请求窗口的实例示意图之二;
图11是本申请实施例提供的一种定位权限管理方法的流程图之四;
图12A是本申请实施例提供的一种位置区域的设置界面的实例示意图之九;
图12B是本申请实施例提供的一种位置区域的设置界面的实例示意图之十;
图12C是本申请实施例提供的一种位置区域的设置界面的实例示意图之十一;
图13是本申请实施例提供的一种定位权限管理方法的流程图之五;
图14是本申请实施例提供的一种地图界面的实例示意图之二;
图15A是本申请实施例提供的一种地图界面的实例示意图之三;
图15B是本申请实施例提供的一种地图界面的实例示意图之四;
图15C是本申请实施例提供的一种地图界面的实例示意图之五;
图16A是本申请实施例提供的一种地图界面的实例示意图之六;
图16B是本申请实施例提供的一种地图界面的实例示意图之七;
图16C是本申请实施例提供的一种地图界面的实例示意图之八;
图17是本申请实施例提供的一种定位权限管理装置的结构示意图;
图18是本申请实施例提供的一种电子设备的硬件结构示意图之一;
图19是本申请实施例提供的一种电子设备的硬件结构示意图之二。
具体实施例
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
本申请的说明书中的术语“至少一个(项)”、“至少之一”等指其包含对象中的任意一个、任意两个或两个以上的组合。例如,a、b、c中的至少一个(项),可以表示:“a”、“b”、“c”、“a和b”、“a和c”、“b和c”以及“a、b和c”,其中a,b,c可以是单个,也可以是多个。同理,“至少两个(项)”是指两个或两个以上,其表达的含义与“至少一个(项)”类似。
以下对本申请实施例中涉及的专业术语进行名词解释:
全球定位系统(Global Positioning System,GPS):属于卫星定位体系的一种。目前电子设备普遍集成GPS芯片模块,可以接收和解算GPS卫星广播的信号,从而确定位置。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的定位权限管理方法进行详细地说明。
需要说明的是,本申请实施例提供的应用权限设置方法,执行主体可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备等设备。本申请的一些实施例中以手机为执行主体执行应用权限设置方法为例,说明本申请实施例提供的应用权限设置方法。
本申请实施例提供的定位权限管理方法可以应用于当电子设备检测到当前所处位置为位置区域范围内的情况下,电子设备根据该位置区域所对应的定位权限信息,对电子设备中的应用程序的定位权限进行管理的场景。
在本申请实施例提供的定位权限管理方法、装置、电子设备及存储介质中,接收对地图界面中的第一位置区域的第一输入;响应于第一输入,确定所述第一位置区域对应的应用访问权限。在本方案中,通过为位置区域设置对应的应用访问权限,从而能够根据与第一位置区域对应的应用访问权限,实现对应用定位权限的管控,提升用户隐私信息的安全性。
本申请实施例提供的定位权限管理方法的执行主体为定位权限管理装置,该装置可以为独立的装置,或者电子设备,或者电子设备中的功能模块或实体,本申请实施例对此不作限定。以下将以电子设备为例对本申请实施例提供的定位权限管理方法进行示例性的说明。
本申请实施例提供一种定位权限管理方法,图1示出了本申请实施例提供的一种定位权限管理方法的流程图。如图1所示,本申请实施例提供的定位权限管理方法可以包括下述的步骤201和步骤202。
步骤201、电子设备接收对地图界面中的第一位置区域的第一输入。
在本申请的一些实施例中,上述地图界面中可以显示有至少一个位置标识。其中,该至少一个位置标识中的每个位置标识指示一个位置。
在本申请的一些实施例中,上述第一位置区域为地图中的任意位置所对应的区域。
在本申请的一些实施例中,上述第一位置区域可以为地图中显示的至少一个位置标识所指示的位置区域;或者,可以为地图中未显示位置标识的位置区域。
在本申请的一些实施例中,上述第一位置区域所对应的位置信息可以是电子设备通过GPS获取到的第一位置区域的详细位置信息。
示例性地,以在手机中显示地图界面为例。如图2所示,手机可以显示一个地图界面10,且在该地图界面10中显示有4个位置标识,即位置标识1至位置标识4。其中,位置标识1指示的位置为“XX省YY市ZZ区L地铁站”、位置标识2指示的位置为“XX省YY市ZZ区P大道Q小区”、位置标识3指示的位置为“XX省YY市ZZ区M路N科技园”、位置标识4指示的位置为“XX省YY市ZZ区S公园”,并且,在地图界面10的底部区域显示有一个列表控件11,若用户对该列表控件11进行输入,则手机可以显示一个列表窗口,以显示应用列表或位置列表。
本申请实施例中,上述第一输入用于设置第一位置区域所对应的应用访问权限。
在本申请的一些实施例中,上述第一输入可以为单击输入,长按输入,双指滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
步骤202、电子设备响应于第一输入,确定第一位置区域对应的应用访问权限。
在本申请的一些实施例中,上述第一位置区域所对应的应用访问权限包括但不限于以下至少一项:第一位置区域对应的应用、第一位置区域对应的应用的访问权限、第一位置区域对应的至少部分应用的应用访问权限的适用时间、第一位置区域对应的至少部分应用的应用访问权限的适用范围、电子设备对第一位置区域对应的至少部分应用访问请求的处理策略。
本申请实施例中,上述第一位置区域对应的应用的访问权限为:禁止访问、部分应用禁止访问、允许访问或者部分应用允许访问。
在本申请的一些实施例中,若在第一位置区域对应的应用的访问权限的基础上结合时间段设置,则上述第一位置区域对应的应用访问权限为:禁止访问、部分应用程序禁止访问、部分时间段禁止访问、部分应用程序在部分时间段禁止访问、部分应用程序允许访问、部分时间段允许访问或者部分应用程序在部分时间段允许访问。
在本申请实施例提供的定位权限管理方法中,接收对地图界面中的第一位置区域的第一输入;响应于第一输入,确定所述第一位置区域对应的应用访问权限。在本方案中,通过为位置区域设置对应的应用访问权限,从而能够根据与第一位置区域对应的应用访问权限,实现对应用定位权限的管控,提升用户隐私信息的安全性。
在本申请的一些实施例中,结合图1,如图3所示,上述步骤202具体可以通过下述步骤202a至步骤202c实现。
步骤202a、电子设备响应于第一输入,显示应用访问权限设置界面。
本申请实施例中,上述设置界面包括至少一个设置选项。
在本申请的一些实施例中,上述设置选项用于设置以下至少之一:第一位置区域对应的应用访问权限、第一位置区域对应的应用访问权限的适用范围、第一位置区域对应的应用访问权限的适用时间或者第一位置区域对应的应用访问请求的处理策略。
示例性地,结合图2,若用户想要为位置标识2所对应的位置区域设置对应的应用访问权限,则用户可以通过在地图中长按位置标识2,即上述第一输入,如图4所示,手机可以显示一个设置界面12,其中,该设置窗口12中显示有该位置标识2对应的详细位置信息“XX省YY市ZZ区P大道Q小区”、四个设置选项、“确定”按钮和“取消”按钮。其中,四个设置选项分别为“不可访问的应用”选项、“不可访问周边区域”选项、“不可访问时间段”选项和“应用访问时的处理”选项。同时,该四个设置选项显示为预设内容,即“不可访问的应用”选项对应的预设内容为“全部应用”,“不可访问周边区域”选项对应的预设内容为“0公里”,“不可访问时间段”选项对应的预设内容为“全部时间”,“应用访问时的处理”选项对应的预设内容为“直接禁止”。
需要说明的是,上述“不可访问的应用”选项用于设置电子设备中的应用对第一位置区域的访问权限;
上述“不可访问周边区域”选项用于设置第一位置区域对应的应用访问权限的适用范围;例如,在位置区域为圆形区域的情况下,该选项用于设置圆形区域的半径;
上述“不可访问时间段”选项用于设置第一位置区域对应的应用访问权限的适用时间;
上述“应用访问时的处理”选项用于设置第一位置区域对应的应用请求访问第一位置区域的位置信息时,电子设备所执行的处理策略。
又示例性地,若用户想要基于地图界面中未显示位置标识的位置设置对应的应用访问权限,则用户可以在地图中首先进行位置选择,如用户选择了位置1,则手机可以在用户所点击的位置上显示一个位置标识,并显示该位置1所对应的详细位置信息,如“XX省YY市ZZ区R小学”,则用户可以对显示的位置标识,或显示的“XX省YY市ZZ区R小学”的文字进行长按输入,即上述第一输入,以触发手机显示如图4中所示的设置窗口12。
步骤202b、电子设备接收对应用访问权限设置界面中的应用访问权限设置项的第二输入。
在本申请的一些实施例中,上述第二输入用于设置或调整应用访问权限设置项。
在本申请的一些实施例中,上述第二输入可以为单击输入,长按输入,双指滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
步骤202c、电子设备响应于第二输入,确定第一位置区域对应的应用访问权限。
在本申请的一些实施例中,电子设备可以响应于第二输入,显示一个新的界面或悬浮窗口,以显示用于设置第一位置区域对应的应用访问权限的控件。
在本申请的一些实施例中,上述用于设置第一位置区域对应的应用访问权限的控件,可以用于:选择应用,例如,电子设备根据控件选择为全部应用或部分应用设置对应的应用访问权限。
示例性地,结合图4,若用户想要为手机中的至少部分应用设置对位置标识2的位置区域的应用访问权限,则用户可以通过点击设置窗口12中的“不可访问应用”选项,如图5A所示,触发手机显示一个设置窗口13,且该设置窗口13中显示有两个选项,即“全部应用”选项和“部分应用”选项。其中,上述“全部应用”选项用于指示电子设备中的所有应用均无法访问该位置区域内的位置;上述“部分应用”选项用于指示电子设备中用户所选择的部分应用无法访问该位置区域内的位置。
进一步地,用户可以通过点击设置窗口13中的“部分应用”选项,如图5B所示,手机可以显示一个设置界面14,以向用户显示手机中包含的所有应用的列表,从而用户可以通过选择设置界面14中的选项,以选择不可访问第一位置区域的部分应用,从而手机可以根据用户的选择对应进行应用访问权限的设置。
本申请实施例中,由于用户可以通过输入手动设置第一位置区域所对应的应用访问权限,如此,能够使得该第一位置区域的权限相关信息满足用户需求,从而能够更好的保护用户的隐私信息的安全。
在本申请的一些实施例中,本申请实施例提供的应用权限设置方法还包括下述步骤202d1和步骤202d2。
步骤202d1、电子设备接收对应用访问权限设置界面中的位置区域范围设置项的第三输入。
在本申请的一些实施例中,上述第三输入用于设置或调整位置区域范围设置项。
在本申请的一些实施例中,上述第三输入可以为单击输入,长按输入,双指滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
步骤202d2、响应于第三输入,确定第一位置区域对应的应用访问权限的适用范围。
在本申请的一些实施例中,电子设备可以响应于第三输入,显示一个新的界面或悬浮窗口,以显示用于设置第一位置区域对应的应用访问权限的适用范围的控件。
在本申请的一些实施例中,上述“显示用于设置第一位置区域对应的应用访问权限的适用范围的控件”可以包括但不限于以下任一项:电子设备可以显示多个数值选项,以对应设置适用范围;或者,电子设备可以显示一个输入框,以根据用户输入的数值对应设置适用范围;或者,显示其他可以用于编辑数值的控件,以对应设置适用范围。
示例性地,结合图4,若用户想要设置位置标识2的位置区域对应的应用访问权限的适用范围的数值,则用户可以通过点击设置窗口12中的“不可访问周边区域”选项,如图6A所示,触发手机显示用于设置围栏范围的设置窗口15,且该设置窗口15中显示有四个选项,即“0公里”选项、“1公里”选项、“2公里”选项和“5公里”选项,由于手机默认设置的选项为“0公里”,所以手机所显示的“0公里”选项为选中状态。若是用户想要将第一位置区域对应的应用访问权限的适用范围设置为1公里,如图6B所示,用户可以通过点击“1公里”选项,即上述第三输入,以使得手机将“1公里”选项设置为选中状态,同时,手机可以调整地图界面10中位置标识2的位置区域的显示位置,并显示该位置标识2的位置区域所对应的适用范围为1公里的预览圆形区域,以帮助用户查看当前设置的数值是否满足需求。
本申请实施例中,由于用户可以通过输入手动设置第一位置区域所对应的应用访问权限的适用范围,如此,能够使得该第一位置区域的权限相关信息满足用户需求,从而能够更好的保护用户的隐私信息的安全。
在本申请的一些实施例中,本申请实施例提供的应用权限设置方法还包括下述步骤202e1和步骤202e2。
步骤202e1、电子设备接收对应用访问权限设置界面中的应用访问请求处理设置项的第四输入。
在本申请的一些实施例中,上述第四输入用于设置或调整应用访问请求处理设置项。
在本申请的一些实施例中,上述第四输入可以为单击输入,长按输入,双指滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
步骤202e2、电子设备响应于第四输入,确定第一位置区域对应的应用访问请求的处理策略。
在本申请实施例中,电子设备可以响应于第四输入,显示一个新的界面或悬浮窗口,以显示用于设置第一位置区域对应的应用访问请求的处理策略的控件。
在本申请的一些实施例中,上述用于设置第一位置区域对应的应用访问请求的处理策略的控件,可以用于:选择电子设备所执行的处理操作,例如,直接禁止或进行询问。
示例性地,结合图4,若用户想要设置位置标识2的位置区域对应的应用访问请求的处理策略,则用户可以通过点击设置窗口12中的“应用访问时的处理”选项,如图7所示,触发手机显示一个设置窗口16,且该设置窗口16中显示有两个选项,即“直接禁止”选项和“进行询问”选项。于是,用户可以对选项进行选择,即上述第四输入,以触发手机根据用户的选择,对应设置第一位置区域对应的应用访问请求的处理策略。
需要说明的是,若是用户选择了“直接禁止”选项,则在手机位于第一位置区域范围内的情况下,手机中至少部分应用无法直接访问手机的位置,但是当某个应用需求访问手机位置的情况下,手机可以显示一个通知消息,以告知用户当前存在某个应用需求访问手机位置。若是用户选择了“进行询问”选项,则在手机位于第一位置区域范围内的情况下,手机中至少部分应用在需求访问手机位置的情况下,手机可以显示一个弹窗,以提示用户为当前需求访问手机位置的应用设置对应的权限,如,“本次使用时允许”。
本申请实施例中,由于用户可以通过输入手动设置第一位置区域对应的应用访问请求的处理策略,如此,能够使得该第一位置区域的权限相关信息满足用户需求,从而能够更好的保护用户的隐私信息的安全。
在本申请的一些实施例中,电子设备可以将第一位置区域的位置信息与所对应的应用访问权限关联存储至电子设备中,于是,在电子设备判定当前位置处于某个位置区域的范围内的情况下,电子设备可以主动调出与该某个位置区域所对应的应用访问权限,以对应进行应用访问权限的设置。
在本申请的一些实施例中,本申请实施例提供的应用权限设置方法还包括下述步骤202f1和步骤202f2。
步骤202f1、电子设备接收对应用访问权限设置界面中的访问时间段设置项的第十二输入。
在本申请的一些实施例中,上述第十二输入用于设置或调整访问时间段设置项。
在本申请的一些实施例中,上述第十二输入可以为单击输入,长按输入,双指滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
步骤202f2、响应于第十二输入,确定第一位置区域对应的应用访问权限的适用时间段。
在本申请的一些实施例中,电子设备可以响应于第十二输入,显示一个新的界面或悬浮窗口,以显示用于设置第一位置区域对应的应用访问权限的适用时间段的控件。
在本申请的一些实施例中,上述用于设置第一位置区域对应的应用访问权限的适用时间段的控件,可以用于:选择应用对应的访问时间段,例如,全部时间不可访问、部分时间不可访问、全部时间可访问或者部分时间可访问。
示例性地,结合图4,若用户想要设置位置标识2的位置区域对应的应用访问权限的适用时间段,则用户可以通过点击设置窗口12中的“不可访问时间段”选项,如图8A所示,触发手机显示一个设置窗口17,且该设置窗口17中显示有两个选项,即“全部时间”选项和“部分时间”选项。于是,用户可以对选项进行选择,即上述第十二输入,以触发手机根据用户的选择,对应设置第一位置区域对应的应用访问权限的适用时间段。
需要说明的是,若是用户选择了“全部时间”选项,则在手机位于第一位置区域范围内的情况下,手机中的至少部分应用均需要按照该第一位置区域对应的应用访问权限进行设置。若是用户选择了“部分时间”选项,则在手机位于第一位置区域范围内的情况下,手机需要确定当前时间是否处于该第一位置区域对应的不可访问时间段,以在当前时间处于不可访问时间段的情况下,手机中的至少部分应用需要按照该第一位置区域对应的应用访问权限进行设置。
在本申请的一些实施例中,在第一位置区域对应的适用时间段为部分时间段的情况下,上述“显示用于设置第一位置区域对应的应用访问权限的适用时间的控件”可以包括但不限于以下任一项:电子设备可以显示一个时间输入框,以根据用户输入的时间数值对应设置适用时间段;或者,电子设备可以显示一个圆盘控件,并在该圆盘控件中显示时间标识,以根据用户对至少两个时间标识的选择输入,确定该至少两个时间标识所指示的时间段,并根据该时间段对应设置适用时间段;或者,电子设备可以显示至少两个滑动控件,以使得用户通过滑动该至少两个滑动控件,设置开始时间和结束时间,并根据该时间段对应设置适用时间段。
示例性地,结合图8A,若用户想要设置位置标识2的位置区域对应的不可访问时间段,则用户可以选择设置窗口17中的“部分时间”选项,如图8B所示,触发手机显示用于设置部分时间段的设置窗口18,且该设置窗口18中显示有两个滑动控件,于是,用户可以通过上下滑动该两个滑动控件,以设置开始时间和时间,如开始时间为“20时00分”,结束时间为“明天”的“07时00分”;且用户可以设置该时间段的重复频率,如“每天”。也即,该位置标识2的位置区域对应的不可访问时间段为每天晚上20点钟到第二天早上的7点钟。
本申请实施例中,由于用户可以通过输入手动设置第一位置区域对应的应用访问权限的适用时间段,如此,能够使得该第一位置区域的权限相关信息满足用户需求,从而能够更好的保护用户的隐私信息的安全。
在本申请的一些实施例中,结合图1,如图9所示,在上述步骤201之前,本申请实施例提供的应用权限设置方法还包括下述步骤501至步骤503。同时,结合下述步骤501至步骤503,上述步骤202具体可以通过下述步骤202g实现。
步骤501、电子设备在第一应用的应用界面显示应用权限请求窗口。
在本申请的一些实施例中,上述第一应用为电子设备中具有定位权限的应用中的任一应用。
本申请实施例中,上述应用权限请求窗口包括至少一个处理控件和编辑控件。
在本申请的一些实施例中,不同的处理控件对应不同处理策略,处理策略为第一应用访问第一位置区域内的位置时电子设备的处理策略。
在本申请的一些实施例中,上述处理策略包括以下至少之一:始终允许第一应用访问第一位置区域内的区域,允许第一应用访问一次第一位置区域内的区域,保持禁止第一应用访问一次第一位置区域内的区域。
在本申请的一些实施例中,上述编辑控件用于设置或编辑第一位置区域对应的应用访问权限。
示例性地,如图10A所示,在用户通过手机查看应用A的某个应用界面的情况下,若应用A请求访问手机的当前位置信息,则手机可以在应用A的应用界面19中显示一个应用权限请求窗口20,且该应用权限请求窗口20中包含三个处理控件和一个编辑控件,其中,三个处理控件分别为“始终允许”处理控件、“允许一次”处理控件和“保持禁止”处理控件,编辑控件为“设置私密位置”编辑控件。
步骤502、电子设备接收对应用权限请求窗口的第十一输入。
在本申请的一些实施例中,上述第十一输入可以用于选择编辑控件。
在本申请的一些实施例中,上述第十一输入可以为单击输入,长按输入,双指滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
步骤503、电子设备响应于第十一输入,显示地图界面。
在本申请的一些实施例中,电子设备可以响应于第十一输入,由第一应用的应用界面跳转至地图界面。
在本申请的一些实施例中,电子设备可以在地图界面中显示一个设置界面,以帮助用户为第一应用设置或编辑在第一位置区域对应的应用访问权限。
步骤202g、电子设备响应于第一输入,确定第一应用在第一位置区域对应的应用访问权限。
示例性地,结合图10A,在手机显示应用权限请求窗口20的情况下,若用户想要为第一应用设置或编辑在第一位置区域的应用访问权限,则用户可以通过点击“设置私密位置”编辑控件,以触发手机显示如图4中的设置界面12,从而手机可以根据用户在设置界面12中的输入,确定第一应用在第一位置区域对应的应用访问权限。
本申请实施例中,电子设备通过应用权限请求窗口,以使得用户可以选择为第一应用设置对应的访问权限,从而能够根据用户的选择,确定第一应用是否可以在第一位置区域内获取到电子设备的位置,提升了定位权限设置的灵活性与便捷性。
在本申请的一些实施例中,上述步骤501具体可以通过下述步骤701a实现。同时,在下述步骤701之后,本申请实施例提供的应用权限设置方法还包括下述步骤701b和步骤701c。
步骤701a、若电子设备处于第一位置区域内、且第一位置区域对应的应用访问权限指示第一应用可询问是否允许访问第一位置区域内的位置,则电子设备在第一应用的应用界面显示应用权限请求窗口。
步骤701b、电子设备接收用户对至少一个处理控件中的一个处理控件的第十三输入。
在本申请的一些实施例中,上述第十三输入用于选择一个处理控件。
在本申请的一些实施例中,上述第十三输入可以为单击输入,长按输入,滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
步骤701c、电子设备响应于第十三输入,按照与一个处理控件对应的处理策略处理,并取消显示处理设置窗口。
在本申请的一些实施例中,在电子设备处于第一位置区域内、且第一位置区域对应的应用访问权限指示第一应用可询问是否允许访问第一位置区域内的位置的情况下,若第一应用需求访问电子设备的位置,则电子设备可以显示一个应用权限请求窗口,且该应用权限请求窗口中包括至少一个处理控件。然后,电子设备可以响应于用户对应用权限请求窗口中显示的至少一个处理控件中的一个处理控件的选择,即上述第十三输入,以根据用户所选择的处理控件指示的处理策略,对第一应用的位置访问权限进行设置或调整,并在调整第一应用的定位权限之后,取消显示应用权限请求窗口。
示例性地,假设第一位置区域对应的应用访问权限指示应用A可询问是否允许访问第一位置区域内的位置,若用户携带手机处于第一位置区域的范围内,且应用A需求获取手机当前位置,则如图10A所示,手机可以在应用界面19中显示一个应用权限请求窗口20。
进一步地,若用户想要不限制应用A在第一位置区域中对手机实时位置的获取,则用户可以通过选择应用权限请求窗口20中的“始终允许”处理控件,即上述第十三输入,以触发手机将应用A在第一位置区域内的应用访问权限设置为开启状态,并同时取消显示应用权限请求窗口20。于是,后续当用户携带手机处于第一地理范围内时,应用A均可以随意获取手机的位置。
若用户想要允许应用A仅是本次获取手机的当前位置,则用户可以通过选择应用权限请求窗口20中的“允许一次”处理控件,即上述第十三输入,以触发手机将应用A在第一位置区域内的应用访问权限设置为开启状态,且在应用A获取到手机当前位置的同时,将应用A在第一位置区域范围内的定位权限重新设置为关闭状态,并且,手机可以取消显示处理设置窗口。也即,后续当用户携带手机处于第一位置区域内时,若应用A再次需要获取手机实时位置,则手机需要再次显示一个应用权限请求窗口,以询问用户是否允许应用A访问位置。
若用户不允许应用A获取手机当前位置,则用户可以通过选择应用权限请求窗口20中的“保持禁止”处理控件,即上述第十三输入,即手机仍保持应用A在第一位置区域范围内的定位权限为关闭状态,并且,手机可以取消显示处理设置窗口。后续当用户携带手机处于第一位置区域时,若应用A再次需要获取手机实时位置,则手机需要再次显示一个处理设置窗口,以询问用户是否允许应用A访问位置。
需要说明的是,在第一位置区域对应的应用访问权限指示第一应用可询问是否允许访问第一位置区域的情况下,若用户不执行上述第第十三输入,则电子设备将保持显示处理设置窗口。
本申请实施例中,当电子设备处于第一位置区域内、且第一位置区域对应的应用访问权限指示第一应用可询问是否访问第一位置区域范围内的区域时,则电子设备可以显示应用权限请求窗口,以根据用户对应用权限请求窗口中的处理控件的选择,为第一应用执行相应的处理策略,如此,能够满足用户对应用访问权限的设置,提升了应用访问权限设置的个性化,并且,提升了应用访问权限设置的便捷性。
在本申请的一些实施例中,本申请实施例提供的应用权限设置方法还包括下述步骤702。
步骤702、若电子设备处于第一位置区域内、且第一位置区域对应的应用访问权限指示第一应用禁止访问第一位置区域内的位置,则电子设备在预定时间段内显示应用权限请求窗口。
在本申请的一些实施例中,上述应用权限请求窗口中包括至少一个处理控件,不同的处理控件对应不同处理策略。
示例性地,如图10B所示,假设第一位置区域对应的应用访问权限指示应用A禁止访问第一位置区域内的位置,若用户携带手机处于第一位置区域的范围内,且应用A需求获取手机的位置,则手机可以在应用界面19中显示一个应用权限请求窗口21,其中,应用权限请求窗口21中包含三个处理控件,即“始终允许”处理控件、“允许一次”处理控件和“保持禁止”处理控件。
在本申请的一些实施例中,若电子设备在预定时间段内接收到了用户对至少一个处理控件中的一个处理控件的输入,则电子设备可以响应于输入,按照与该一个处理控件对应的处理策略进行处理,并直接取消显示处理设置窗口。
需要说明的是,上述电子设备按照与该一个处理控件对应的处理策略处理的相关描述可以参数上述步骤701b和步骤701c,为了避免重复,本申请在此不再赘述。
在本申请的一些实施例中,若电子设备在预定时间段内没有接收到用户对至少一个处理控件中的一个处理控件的输入,则电子设备在预设时间段之后直接取消显示处理设置窗口。
本申请实施例中,当电子设备处于第一位置区域内、且第一位置区域对应的应用访问权限指示第一应用禁止访问第一位置区域范围内的区域时,则电子设备可以显示应用权限请求窗口,以提示用户第一应用需求访问第一位置区域内的位置,如此,若用户需要调整应用访问权限的设置,则可以直接对应用权限请求窗口进行选择,提升了应用访问权限设置的便捷性;若用户不需要调整应用访问权限的设置,则电子设备可以在预定时间段之后取消显示应用权限请求窗口,从而能够减少该应用权限请求窗口对界面显示内容的影响。
需要说明的是,在电子设备显示任意界面的情况下,若存在一个应用请求访问电子设备的当前位置,则电子设备可以执行类似于上述步骤501至步骤503,或者步骤701a至步骤701c,或者步骤702的步骤,为了避免重复,在此不再赘述。
在本申请的一些实施例中,如图11所示,本申请实施例提供的应用权限设置方法还包括下述步骤401和步骤402。
步骤401、电子设备接收对地图界面中的第四位置区域的第十输入。
在本申请的一些实施例中,上述第十输入用于编辑或删除第二位置对应的位置区域的权限信息。
在本申请的一些实施例中,上述第十输入可以为单击输入,长按输入,双指滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
在本申请的一些实施例中,上述第十输入的位置可以为地图界面中显示的第四位置区域中的任意位置,如该第四位置区域的中心位置。
步骤402、电子设备响应于第十输入,清除第四位置区域对应的应用访问权限。
在本申请的一些实施例中,上述“清除第四位置区域对应的应用访问权限”可以理解为:删除为第四位置区域设置的应用访问权限。于是,所有具有位置访问权限的应用均可访问第四位置区域内的位置。
示例性地,如图12A所示,若地图界面10中显示有一个位置区域22,若用户想要删除该位置区域22对应的应用访问权限,则用户可以通过长按该位置区域22中的任意位置,以使得手机显示一个悬浮窗口23,且该悬浮窗23中包含两个选项,即“编辑”选项和“删除”选项。于是,用户可以点击“删除”选项,如图12B所示,手机可以显示一个删除窗口24,以提示用户确认是否删除位置区域22。进一步地,在用户选择删除24窗口中的“删除”选项之后,手机可以删除存储的位置区域22对应的应用访问权限,然后,手机可以同时在地图界面10中取消显示位置区域22的相关内容,即地图界面10中用于表示位置区域22的圆形。
在本申请的一些实施例中,在上述步骤401之后,本申请实施例提供的应用权限设置方法还包括下述步骤403。
步骤403、电子设备响应于第十输入,编辑第四位置区域对应的应用访问权限。
在本申请的一些实施例中,上述“编辑第四位置区域对应的应用访问权限”所编辑的内容包括以下至少之一:第一位置区域对应的应用、第一位置区域对应的应用的访问权限、第一位置区域对应的至少部分应用的应用访问权限的适用时间、第一位置区域对应的至少部分应用的应用访问权限的适用范围、电子设备对第一位置区域对应的至少部分应用访问请求的处理策略。
示例性地,结合图12A,若用户想要对第四位置区域对应的应用访问权限进行编辑,则用户可以点击“编辑”选项,如图12C所示,触发手机显示编辑界面25,从而用户可以通过对编辑界面25中所显示的选项的输入,对位置区域22对应的应用访问权限进行编辑。
本申请实施例中,用户可以通过输入对应编辑或清除位置区域对应的应用访问权限,如此,可以使得位置区域的应用访问权限的设置可以随着用户的需求随时进行调整,提升了位置区域的应用访问权限设置的便捷性。
在本申请的一些实施例中,如图13所示,本申请实施例提供的应用权限设置方法还包括下述步骤301和步骤302。
步骤301、电子设备接收对地图界面的第五输入。
在本申请的一些实施例中,上述地图界面中可以包括至少一个位置标识,每个位置标识指示地图中的一个位置区域。
本申请实施例中,上述至少一个位置标识所指示的位置为电子设备中具有定位权限的应用历史访问过的位置。
在本申请的一些实施例中,上述至少一个位置标识指示的位置可以为在预设时间段内被电子设备内的应用访问过的位置。
示例性地,上述预设时间段可以为:最近一天,最近一周,或者最近一月。具体的时间段可以根据用户的需求进行设置,本申请在此不做限定。
在本申请的一些实施例中,上述第五输入用于触发电子设备在地图界面上显示应用标识。
在本申请的一些实施例中,上述第五输入可以为单击输入,长按输入,双指滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
在本申请的一些实施例中,用户可以通过触发电子设备首先显示“设置”应用的界面,以显示该“设置”应用中所包含的至少一个设置选项,然后,用户可以选择与查看应用权限相关的选项,以触发电子设备显示应用的定位访问记录,从而电子设备可以在地图界面上显示预设时间段内的应用定位访问记录。
步骤302、电子设备响应于第五输入,显示地图界面的各个位置区域对应的历史访问应用标识。
在本申请的一些实施例中,电子设备可以在地图界面所显示的位置标识上显示在预设时间段内访问过该位置标识所指示的位置区域的应用的标识。
示例性地,以在手机中显示地图界面为例。如图2所示,手机可以显示一个地图界面10,且在该地图界面10中显示有4个位置标识,即位置标识1至位置标识4,且每个位置标识指示一个位置区域。
进一步地,若用户想要查看最近一天时间内访问过各个位置区域的应用,则用户可以通过在地图界面10中双指上滑或者对地图界面10中某个特殊控件的点击,即上述第五输入,如图14所示,触发手机在指示位置区域的位置标识处显示对应的历史访问应用标识。其中,在位置标识1所对应的显示区域内,同时显示了应用B的应用图标,则可以表示应用B在最近一天内访问过位置标识1所指示的以“XX省YY市ZZ区L地铁站”为中心的位置区域内的位置;在位置标识2所对应的显示区域内,同时显示了应用A、应用B、应用C和应用D的应用图标,则可以表示应用A、应用B、应用C和应用D在最近一天内均访问过位置标识2所指示的以“XX省YY市ZZ区P大道Q小区”为中心的位置区域的位置;在位置标识3所对应的显示区域内,同时显示了应用A和应用B的应用图标,则可以表示应用A和应用B在最近一天内访问过位置标识3所指示的以“XX省YY市ZZ区M路N科技园”为中心的位置区域内的位置;在位置标识4所对应的显示区域内,同时显示了应用B的应用图标,则可以表示应用B在最近一天内访问过位置标识4所指示的以“XX省YY市ZZ区S公园”为中心的位置区域内的位置。
本申请实施例中,电子设备可以通过在地图界面中显示各个位置区域对应的历史访问应用标识,以直观地为用户展示历史访问数据,从而提升了历史访问数据的灵活性与多样性。
在本申请的一些实施例中,本申请实施例提供的应用权限设置方法还包括下述步骤303至步骤306。
步骤303、电子设备接收对地图界面的第六输入。
在本申请的一些实施例中,上述第六输入用于触发电子设备显示历史访问位置区域标识集合。
在本申请的一些实施例中,上述第六输入可以为单击输入,长按输入,双指滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
步骤304、电子设备响应于第六输入,显示历史访问位置区域标识集合。
在本申请的一些实施例中,电子设备可以响应于第六输入,在地图界面上叠加显示一个新的界面,以显示历史访问位置标识集合。
在本申请的一些实施例中,上述历史访问位置区域标识集合中包括至少一个位置区域标识,和与该至少一个位置区域标识中的每个位置区域标识所对应的相关信息,如详细位置和被访问次数。
示例性地,结合图14,若用户想要查看最近一天内什么应用访问手机位置的详细信息,则用户可以通过向上滑动列表控件11,即上述第六输入,如图15A所示,触发手机显示一个集合窗口26,以显示最近一天内被应用访问过的所有的位置区域的中心位置。由于集合窗口26的显示位置有限,手机可以按照被访问次数,依次显示“XX省YY市ZZ区P大道Q小区”、“XX省YY市ZZ区L地铁站”以及“XX省YY市ZZ区M路N科技园”。其中,“XX省YY市ZZ区P大道Q小区”在最近一天内被访问了50次,“XX省YY市ZZ区L地铁站”在最近一天内被访问了25次,“XX省YY市ZZ区M路N科技园”在最近一天内被访问了10次。
步骤305、电子设备接收对历史访问位置区域标识集合中的第三位置区域标识的第七输入。
在本申请的一些实施例中,上述第七输入用于选择一个位置区域标识。
在本申请的一些实施例中,上述第七输入可以为单击输入,长按输入,双指滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
步骤306、电子设备响应于第七输入,显示第三位置区域标识对应的第三位置区域的历史访问详情信息。
在本申请的一些实施例中,电子设备可以响应于第七输入,将显示历史访问位置区域标识集合的界面更新显示为第三位置区域标识对应的第三位置区域的历史访问详情信息。
在本申请的一些实施例中,电子设备可以响应于第七输入,在第三位置标识所对应的区域显示第三位置区域的历史访问详情信息。
示例性地,若用户想要查看某个位置被什么应用访问过,则结合图15A,如图15B所示,用户可以通过点击集合窗口26中的“XX省YY市ZZ区P大道Q小区”所对应的区域,即上述第七输入,如图15C所示,触发手机可以放大显示地图界面10,以仅显示“XX省YY市ZZ区P大道Q小区”的位置标识2对应的位置区域,并在位置标识2的上方区域显示一个悬浮窗口27,以显示位置标识2对应的历史访问详情信息,如,应用A在最近一天内访问位置标识2对应的位置的次数为20次;应用B最近一天内访问位置标识2对应的位置的次数为10次。
本申请实施例中,电子设备可以根据用户的输入,以向用户展示某个位置区域对应的历史访问详情信息,使得用户可以较为便捷地获知应用获取到的详细位置信息,以及应用获取次数,从而能够便于用户对应用的定位权限定进行管理,以减少用户隐私信息泄露的风险。
在本申请的一些实施例中,若电子设备在地图界面上显示有至少一个指示位置区域的标识,则电子设备可以接收用户对该至少一个标识中的任意一个标识的点击输入,以响应于该点击输入,标识该任意一个标识,并直接在用户点击的标识所对应的区域显示该标识指示的位置区域的历史访问详情信息。
示例性地,结合图14,若用户想要查看位置标识2所指示的位置区域对应的历史访问详情信息,则用户可以点击位置地图界面10中的位置标识2,以触发手机显示该位置标识2指示的位置区域的历史访问详情信息,即,手机可以在位置标识2的上方区域显示一个如图15C所示的悬浮窗口27。
在本申请的一些实施例中,上述标记该任意一个标识的标记方式包括但不限于以下任一项:放大显示尺寸,改变显示颜色,取消显示其他标识。
在本申请的一些实施例中,本申请实施例提供的应用权限设置方法还包括下述步骤307至步骤310。
步骤307、电子设备接收对地图界面的第八输入。
在本申请的一些实施例中,上述第八输入用于触发电子设备显示历史访问应用标识集合。
在本申请的一些实施例中,上述第八输入可以为单击输入,长按输入,双指滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
步骤308、电子设备响应于第八输入,显示历史访问应用标识集合。
在本申请的一些实施例中,电子设备可以响应于第八输入,在地图界面上叠加显示一个新的界面,以显示历史访问应用标识集合。
在本申请的一些实施例中,上述历史访问应用标识集合中包括至少一个应用标识,和与该至少一个应用标识中的每个应用标识所对应的相关信息,如应用名称和访问次数。
示例性地,结合图14,若用户想要查看最近一天内什么应用访问手机位置的详细信息,则用户可以通过向上滑动列表控件11,即上述第八输入,如图16A所示,触发手机显示一个集合窗口28,以显示最近一天所有访问过手机位置的应用,由于集合窗口28的显示位置有限,手机可以按照访问次数,依次显示应用A的应用名称和应用图标、应用B的应用名称和应用图标和应用C的应用名称和应用图标,并且,手机可以同时显示应用对应的访问次数,即应用A在最近一天内共访问了100次手机位置,应用B在最近一天内共访问了50次手机位置,应用C在最近一天内共访问了40次手机位置。
步骤309、电子设备接收对历史访问应用标识集合中的第一应用标识的第九输入。
在本申请的一些实施例中,上述第九输入用于选择一个应用标识。
在本申请的一些实施例中,上述第九输入可以为单击输入,长按输入,双指滑动输入,或者,其他可行性输入,本申请实施例对此不作限定。
步骤310、电子设备响应于第九输入,显示第一应用标识对应的第一应用程序的历史访问位置区域。
在本申请的一些实施例中,电子设备可以响应于第九输入,取消显示地图界面中除第一应用标识以外的其他应用标识,以仅显示第一应用标识对应的第一应用程序的历史访问位置区域。
示例性地,若用户想要查看某个应用在最近一天内应用A访问了什么位置,则结合图16A,如图16B所示,用户可以通过点击集合窗口28中应用A的标识所对应的区域,如图16C所示,触发手机仅在地图上显示应用A的历史访问位置区域,即位置标识2所对应的位置区域和位置标识3所对应的位置区域。
本申请实施例中,电子设备可以根据用户的输入,以向用户展示某个应用对应的历史访问位置区域,使得用户可以较为便捷地获知应用获取位置信息的次数,以及获取到的位置区域的信息,从而能够便于用户对应用的定位权限定进行管理,以减少用户隐私信息泄露的风险。
在本申请的一些实施例中,本申请实施例提供的应用权限设置方法还包括下述步骤601至步骤603。
步骤601、电子设备获取电子设备当前的第一位置信息。
在本申请的一些实施例中,上述第一位置信息可以是通过电子设备中的GPS获取的,也可以是网络设备定位获取的。
在本申请的一些实施例中,上述第一位置信息可以为电子设备当前所处位置的经纬度信息。
步骤602、在基于第一位置信息确定电子设备处于第五位置区域内的情况下,电子设备获取第五位置区域对应的应用定位权限。
本申请实施例中,上述第一定位权限信息指示目标应用是否可访问第五位置区域内的区域。
在本申请的一些实施例中,上述目标应用为电子设备中安装的一个或多个应用。
本申请实施例中,上述第五位置区域对应的应用定位权限包括以下至少之一:目标应用的应用信息,目标应用访问第五位置区域的适用范围,目标应用访问第五位置区域的适用时间段,目标应用访问第五位置区域内的区域时电子设备的处理策略。
在本申请的一些实施例中,上述第五位置区域可以为一个或多个位置区域。可以理解,在上述第五位置区域为多个位置区域的情况下,电子设备当前位于该多个位置区域的重叠区域内。
在本申请的一些实施例中,上述第五位置区域的形状可以为以下任一项:圆形,矩形或不规则几何形状。
示例性地,在上述第五位置区域为一个圆形区域的情况下,该第五位置区域的适用范围对应的信息可以为该圆形区域的半径值,即该第五位置区域是以中心位置坐标为中心,以一个预设数值为半径所构建的圆形区域。
又示例性地,在上述第五位置区域为一个矩形区域的情况下,该第五位置区域的适用范围对应的信息可以为该矩形区域的边长。
在本申请的一些实施例中,上述目标应用的应用信息可以包括以下至少一项:目标应用的应用名称、目标应用的应用图标、目标应用请求访问电子设备位置信息的详细时间。
在本申请的一些实施例中,上述处理策略包括允许或禁止。
在本申请的一些实施例中,在电子设备获取电子设备当前的第一位置信息之后,电子设备可以首先获取用户设置的所有位置区域的位置信息,从而根据该第一位置信息确定是否处于某个或某些位置区域的范围内。在确定第一位置信息处于第五位置区域内的情况下,电子设备可以获取该第五位置区域对应的目标应用的应用信息和目标应用访问第五位置区域内的位置时电子设备的处理策略。
示例性地,在第五位置区域为圆形区域的情况下,电子设备可以首先根据第一位置信息和该第五位置区域的中心位置坐标,获取两者之间的距离,以根据该距离与用于表征该圆形区域半径的预设数值之间的大小关系,确定该第一位置信息是否处理第五位置区域内。
步骤603、电子设备基于第五位置区域对应的应用权限信息,确定是否允许目标应用访问第五位置区域内的区域。
在本申请的一些实施例中,电子设备根据第五位置区域对应的应用权限信息中的目标应用的应用信息和目标应用访问第五位置区域内的区域时电子设备的处理策略,确定是否允许目标应用访问第五位置区域内的区域。
在本申请的一些实施例中,在第五位置区域对应的应用权限信息指示目标应用可访问第五位置区域内的位置的情况下,电子设备基于与该目标应用相关的应用权限信息,允许目标应用访问第五位置区域内的位置。
可以理解,在第五位置区域对应的应用权限信息指示指示目标应用可访问第五位置区域内的位置的情况下,当电子设备处于第五位置区域内时,目标应用的定位权限可以自动设置或调整为开启状态。于是,在第五位置区域内,若目标应用需求访问电子设备的位置信息,则目标应用可以直接获取到电子设备当前的详细位置信息。
在本申请的一些实施例中,在第五位置区域对应的应用权限信息指示目标应用不可访问第五位置区域内的位置的情况下,电子设备基于与该目标应用相关的应用权限信息,禁止目标应用访问第五位置区域内的位置。
可以理解,在第五位置区域对应的应用权限信息指示指示目标应用不可访问第五位置区域内的位置的情况下,当电子设备处于第五位置区域内时,目标应用的定位权限可以自动设置或调整为关闭状态。于是,在第五位置区域内,即使目标应用有需求访问电子设备的位置信息,目标应用也并不能获取到详细的位置信息。
本申请实施例中,在电子设备处于第五位置区域范围内的情况下,电子设备可以基于第五位置区域对应的应用权限信息,确定是否允许目标应用访问第五位置区域内的位置,从而能够减少电子设备中可以在第五位置区域内获取详细位置信息的应用,如此,能够降低用户隐私信息被泄露的风险,提升了用户隐私信息的安全性。
上述各个方法实施例,或者各个方法实施例中的各种可能的实现方式可以单独执行,或者,在不存在矛盾的前提下,也可以相互结合执行,具体可以根据实际使用需求确定,本申请实施例对此不做限制。
需要说明的是,本申请实施例提供的定位权限管理方法,执行主体可以为定位权限管理装置,或者电子设备,或者还可以为电子设备中的功能模块或实体。本申请实施例中以电子设备执行定位权限管理方法为例,说明本申请实施例提供的定位权限管理装置。
图17示出了本申请实施例中涉及的定位权限管理装置的一种可能的结构示意图。如图17所示,该定位权限管理装置80可以包括:接收模块81和确定模块82。
其中,接收模块81,用于接收对地图界面中的第一位置区域的第一输入。
确定模块82,用于响应于接收模块81接收的第一输入,确定第一位置区域对应的应用访问权限。
在本申请实施例提供的定位权限管理装置中,接收对地图界面中的第一位置区域的第一输入;响应于第一输入,确定所述第一位置区域对应的应用访问权限。在本方案中,通过为位置区域设置对应的应用访问权限,从而能够根据与第一位置区域对应的应用访问权限,实现对应用定位权限的管控,提升用户隐私信息的安全性。
在一种可能的实现方式中,上述第一位置区域对应的应用访问权限为禁止访问、部分应用程序禁止访问、部分时间段禁止访问、部分应用程序在部分时间段禁止访问、部分应用程序允许访问、部分时间段允许访问或者部分应用程序在部分时间段允许访问。
在一种可能的实现方式中,本申请实施例提供的定位权限管理装置80还包括:显示模块。上述显示模块,用于响应于接收模块81接收的第一输入,显示应用访问权限设置界面。上述接收模块81,具体用于接收对显示模块显示的应用访问权限设置界面中的应用访问权限设置项的第二输入。上述确定模块82,具体用于响应于接收模块81接收的第二输入,确定第一位置区域对应的应用访问权限。
在一种可能的实现方式中,上述接收模块81,还用于接收对显示模块显示的应用访问权限设置界面中的位置区域范围设置项的第三输入。上述确定模块82,还用于响应于接收模块81接收的第三输入,确定第一位置区域对应的应用访问权限的适用范围。
在一种可能的实习方式中,上述接收模块81,还用于接收对显示模块显示的应用访问权限设置界面中的应用访问请求处理设置项的第四输入。上述确定模块82,还用于响应于接收模块81接收的第四输入,确定第一位置区域对应的应用访问请求的处理策略。
在一种可能的实现方式中,本申请实施例提供的定位权限管理装置80还包括:显示模块。上述接收模块81,还用于接收对地图界面的第五输入。上述显示模块,用于响应于接收模块81接收的第五输入,显示地图界面的各个位置区域对应的历史访问应用标识。
在一种可能的实现方式中,上述接收模块81,还用于接收对地图界面的第六输入。上述显示模块,还用于响应于接收模块81接收的第六输入,显示历史访问位置区域标识集合。上述接收模块81,还用于接收对显示模块显示的历史访问位置区域标识集合中的第三位置区域标识的第七输入。上述显示模块,还用于响应于接收模块81接收的第七输入,显示第三位置区域标识对应的第三位置区域的历史访问详情信息。
在一种可能的实现方式中,上述接收模块81,还用于接收对地图界面的第八输入。上述显示模块,还用于响应于接收模块81接收的第八输入,显示历史访问应用标识集合。上述接收模块81,还用于接收对显示模块显示的历史访问应用标识集合中的第一应用标识的第九输入。上述显示模块,还用于响应于接收模块81接收的第九输入,显示第一应用标识对应的第一应用程序的历史访问位置区域。
在一种可能的实现方式中,本申请实施例提供的定位权限管理装置80还包括:处理模块。上述接收模块81,还用于接收对地图界面中的第四位置区域的第十输入。上述处理模块,用于响应于接收模块81接收的第十输入,清除第四位置区域对应的应用访问权限。
在一种可能的实现方式中,本申请实施例提供的定位权限管理装置80还包括:显示模块。上述显示模块,用于在接收对地图界面中的第一位置区域的第一输入的步骤之前,在第一应用的应用界面显示应用权限请求窗口。上述接收模块81,还用于接收对显示模块显示的应用权限请求窗口的第十一输入。上述显示模块,还用于响应于接收模块81接收的第十一输入,显示地图界面。上述确定模块82,具体用于响应于接收模块81接收的第一输入,确定第一应用在第一位置区域对应的应用访问权限。
本申请实施例中的定位权限管理装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的定位权限管理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的定位权限管理装置能够实现上述方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图18所示,本申请实施例还提供一种电子设备90,包括处理器91和存储器92,存储器92上存储有可在所述处理器91上运行的程序或指令,该程序或指令被处理器91执行时实现上述定位权限管理方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图19为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图19中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,以该电子设备100为电子设备为例:
用户输入单元107,用于接收对地图界面中的第一位置区域的第一输入。
处理器110,用于响应于第一输入,确定第一位置区域对应的应用访问权限。
在本申请实施例提供的电子设备中,接收对地图界面中的第一位置区域的第一输入;响应于第一输入,确定所述第一位置区域对应的应用访问权限。在本方案中,通过为位置区域设置对应的应用访问权限,从而能够根据与第一位置区域对应的应用访问权限,实现对应用定位权限的管控,提升用户隐私信息的安全性。
可选地,第一位置区域对应的应用访问权限为禁止访问、部分应用程序禁止访问、部分时间段禁止访问、部分应用程序在部分时间段禁止访问、部分应用程序允许访问、部分时间段允许访问或者部分应用程序在部分时间段允许访问。
可选地,显示单元106,具体用于响应于第一输入,显示应用访问权限设置界面。用户输入单元107,具体用于接收对应用访问权限设置界面中的应用访问权限设置项的第二输入。处理器110,具体用于响应于第二输入,确定第一位置区域对应的应用访问权限。
可选地,用户输入单元107,还用于接收对应用访问权限设置界面中的位置区域范围设置项的第三输入。处理器110,还用于响应于第三输入,确定第一位置区域对应的应用访问权限的适用范围。
可选地,用户输入单元107,还用于接收对应用访问权限设置界面中的应用访问请求处理设置项的第四输入。处理器110,还用于响应于第四输入,确定第一位置区域对应的应用访问请求的处理策略。
可选地,用户输入单元107,还用于接收对地图界面的第五输入。显示单元106,还用于响应于第五输入,显示地图界面的各个位置区域对应的历史访问应用标识。
可选地,用户输入单元107,还用于接收对地图界面的第六输入。显示单元106,还用于响应于第六输入,显示历史访问位置区域标识集合。用户输入单元107,还用于接收对历史访问位置区域标识集合中的第三位置区域标识的第七输入。显示单元106,还用于响应于第七输入,显示第三位置区域标识对应的第三位置区域的历史访问详情信息。
可选地,用户输入单元107,还用于接收对地图界面的第八输入。显示单元106,还用于响应于第八输入,显示历史访问应用标识集合。用户输入单元107,还用于接收对历史访问应用标识集合中的第一应用标识的第九输入。显示单元106,还用于响应于第九输入,显示第一应用标识对应的第一应用程序的历史访问位置区域。
可选地,用户输入单元107,还用于接收对地图界面中的第四位置区域的第十输入。处理器110,还用于响应于第十输入,清除第四位置区域对应的应用访问权限。
可选地,显示单元106,还用于在接收对地图界面中的第一位置区域的第一输入的步骤之前,在第一应用的应用界面显示应用权限请求窗口。用户输入单元107,还用于接收对应用权限请求窗口的第十一输入。显示单元106,还用于响应于第十一输入,显示地图界面。处理器110,具体用于响应于第一输入,确定第一应用在第一位置区域对应的应用访问权限。
本申请实施例提供的电子设备能够实现上述方法实施例实现的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。
处理器110可包括一个或多个处理单元;可选地,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (16)

  1. 一种定位权限管理方法,所述方法包括:
    接收对地图界面中的第一位置区域的第一输入;
    响应于所述第一输入,确定所述第一位置区域对应的应用访问权限。
  2. 根据权利要求1所述的方法,其中,所述第一位置区域对应的应用访问权限为禁止访问、部分应用程序禁止访问、部分时间段禁止访问、部分应用程序在部分时间段禁止访问、部分应用程序允许访问、部分时间段允许访问或者部分应用程序在部分时间段允许访问。
  3. 根据权利要求2所述的方法,其中,所述响应于所述第一输入,确定所述第一位置区域对应的应用访问权限,包括:
    响应于所述第一输入,显示应用访问权限设置界面;
    接收对所述应用访问权限设置界面中的应用访问权限设置项的第二输入;
    响应于所述第二输入,确定所述第一位置区域对应的应用访问权限。
  4. 根据权利要求3所述的方法,其中,所述方法还包括:
    接收对所述应用访问权限设置界面中的位置区域范围设置项的第三输入;
    响应于所述第三输入,确定所述第一位置区域对应的应用访问权限的适用范围。
  5. 根据权利要求3所述的方法,其中,所述方法还包括:
    接收对所述应用访问权限设置界面中的应用访问请求处理设置项的第四输入;
    响应于所述第四输入,确定所述第一位置区域对应的应用访问请求的处理策略。
  6. 根据权利要求1所述的方法,其中,所述方法还包括:
    接收对所述地图界面的第五输入;
    响应于所述第五输入,显示所述地图界面的各个位置区域对应的历史访问应用标识。
  7. 根据权利要求6所述的方法,其中,所述方法还包括:
    接收对所述地图界面的第六输入;
    响应于所述第六输入,显示历史访问位置区域标识集合;
    接收对所述历史访问位置区域标识集合中的第三位置区域标识的第七输入;
    响应于所述第七输入,显示所述第三位置区域标识对应的第三位置区域的历史访问详情信息。
  8. 根据权利要求6所述的方法,其中,所述方法还包括:
    接收对所述地图界面的第八输入;
    响应于所述第八输入,显示历史访问应用标识集合;
    接收对所述历史访问应用标识集合中的第一应用标识的第九输入;
    响应于所述第九输入,显示所述第一应用标识对应的第一应用程序的历史访问位置区域。
  9. 根据权利要求1所述的方法,其中,所述方法还包括:
    接收对所述地图界面中的第四位置区域的第十输入;
    响应于所述第十输入,清除所述第四位置区域对应的应用访问权限。
  10. 根据权利要求1所述的方法,其中,所述接收对地图界面中的第一位置区域的第一输入的步骤之前,所述方法还包括:
    在第一应用的应用界面显示应用权限请求窗口;
    接收对所述应用权限请求窗口的第十一输入;
    响应于所述第十一输入,显示所述地图界面;
    所述响应于所述第一输入,确定所述第一位置区域对应的应用访问权限,包括:
    响应于所述第一输入,确定所述第一应用在所述第一位置区域对应的应用访问权限。
  11. 一种定位权限管理装置,所述定位权限管理装置包括:接收模块和确定模块;
    所述接收模块,用于接收对地图界面中的第一位置区域的第一输入;
    所述确定模块,用于响应于所述接收模块接收的所述第一输入,确定所述第一位置区域对应的应用访问权限。
  12. 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至10中任一项所述的定位权限管理方法的步骤。
  13. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至10中任一项所述的定位权限管理方法的步骤。
  14. 一种计算机程序产品,所述计算机程序产品被存储在存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1至10中任一项所述的定位权限管理方法的步骤。
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-10任一项所述的定位权限管理方法的步骤。
  16. 一种电子设备,所述电子设备被配置成用于执行如权利要求1-10任一项所述的定位权限管理方法的步骤。
PCT/CN2025/089236 2024-04-17 2025-04-16 定位权限管理方法、装置、电子设备及存储介质 Pending WO2025218690A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410464323.X 2024-04-17
CN202410464323.XA CN118246049A (zh) 2024-04-17 2024-04-17 定位权限管理方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2025218690A1 true WO2025218690A1 (zh) 2025-10-23

Family

ID=91562392

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2025/089236 Pending WO2025218690A1 (zh) 2024-04-17 2025-04-16 定位权限管理方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN118246049A (zh)
WO (1) WO2025218690A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118246049A (zh) * 2024-04-17 2024-06-25 维沃移动通信有限公司 定位权限管理方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020125886A1 (en) * 2001-03-12 2002-09-12 International Business Machines Corporation Access to applications of an electronic processing device solely based on geographic location
CN111367450A (zh) * 2020-02-28 2020-07-03 维沃移动通信有限公司 应用程序控制方法、电子设备及介质
US11146537B1 (en) * 2017-12-19 2021-10-12 NortonLifeLock Inc. Systems and methods for protecting geolocation information
CN116669039A (zh) * 2023-06-27 2023-08-29 维沃移动通信有限公司 应用权限管理方法、装置、电子设备及可读存储介质
CN118246049A (zh) * 2024-04-17 2024-06-25 维沃移动通信有限公司 定位权限管理方法、装置、电子设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020125886A1 (en) * 2001-03-12 2002-09-12 International Business Machines Corporation Access to applications of an electronic processing device solely based on geographic location
US11146537B1 (en) * 2017-12-19 2021-10-12 NortonLifeLock Inc. Systems and methods for protecting geolocation information
CN111367450A (zh) * 2020-02-28 2020-07-03 维沃移动通信有限公司 应用程序控制方法、电子设备及介质
CN116669039A (zh) * 2023-06-27 2023-08-29 维沃移动通信有限公司 应用权限管理方法、装置、电子设备及可读存储介质
CN118246049A (zh) * 2024-04-17 2024-06-25 维沃移动通信有限公司 定位权限管理方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN118246049A (zh) 2024-06-25

Similar Documents

Publication Publication Date Title
KR101973631B1 (ko) 전자 기기 및 전자 기기의 제어 방법
US8731584B2 (en) Mobile terminal and method for controlling the mobile terminal
KR101860342B1 (ko) 이동 단말기 및 그 제어방법
US9310984B2 (en) Method of controlling three dimensional object and mobile terminal using the same
US9417781B2 (en) Mobile terminal and method of controlling the same
US9026947B2 (en) Mobile terminal and method for displaying an image in a mobile terminal
US9372545B2 (en) Mobile terminal and method of controlling therefor
US10048833B2 (en) Mobile terminal providing an improved memo function for various separate applications and method for controlling the same
US20180225018A1 (en) Mobile terminal and controlling method thereof
US20120096403A1 (en) Mobile terminal and method of managing object related information therein
US9197730B2 (en) Mobile terminal and controlling method thereof
CN106354758B (zh) 处理房屋信息的方法及装置
WO2025218690A1 (zh) 定位权限管理方法、装置、电子设备及存储介质
JP3641934B2 (ja) 電子機器
CN114625983B (zh) 房源信息展示方法和装置、电子设备和可读存储介质
CN111596846A (zh) 应用权限控制方法、装置和电子设备
CN116669039A (zh) 应用权限管理方法、装置、电子设备及可读存储介质
CN106708353B (zh) 即时通讯方法、客户端及电子设备
WO2025051087A1 (zh) 聊天内容的处理方法和装置
WO2024164931A1 (zh) 界面显示方法和装置
JP2006127293A (ja) 情報処理装置および動作制御方法
KR20140018662A (ko) 이미지 표시 장치 및 그 제어방법
US20050071666A1 (en) Location sensitive software execution
KR101454018B1 (ko) 사용영역 제한기능을 갖는 이동통신 단말기
CN115442471B (zh) 信息分享方法、装置、设备及介质

Legal Events

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

Ref document number: 25789935

Country of ref document: EP

Kind code of ref document: A1