Privacy protection method, device and electronic device

By obtaining the location information between electronic devices and outputting prompt information, the problem of privacy protection during the shooting process is solved, the anti-shooting function of the electronic device is improved, and the risk of privacy leakage is reduced.

CN116074438BActive Publication Date: 2024-10-01VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310194260.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-10-01
Estimated Expiration
2043-02-28

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively protect privacy during the shooting process, especially when electronic devices are photographed, there is a lack of effective anti-shooting measures, resulting in privacy leakage issues.

Method used

By obtaining the location information between electronic devices, the location relationship is determined, and when one party is in or about to enter the shooting range of the other party, a prompt message is output to prompt the user to adjust the direction of travel to avoid being photographed.

Benefits of technology

It improves the effectiveness of photography privacy protection, reduces the probability of users who do not want to be photographed being photographed, and enhances the anti-photography function of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116074438B_ABST
    Figure CN116074438B_ABST
Patent Text Reader

Abstract

The present application discloses a privacy protection method, device and electronic device, belonging to the field of communication technology. The method applied to a first electronic device includes: obtaining the location information of a second electronic device, the shooting function of the second electronic device is in an on state; determining the first position relationship between the first electronic device and the second electronic device according to the location information of the first electronic device and the location information of the second electronic device; outputting first prompt information when the first position relationship indicates that the first electronic device is within the shooting range of the second electronic device; or outputting second prompt information when the first position relationship indicates that the first electronic device is about to enter the shooting range of the second electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a privacy protection method, device and electronic device. Background Art

[0002] Privacy issues have always been a concern of the public. With the popularization of electronic devices, the problem of privacy leakage caused by shooting has become more and more prominent.

[0003] Therefore, how to achieve privacy protection in shooting is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a privacy protection method, device and electronic device that can solve the privacy protection problem of photography.

[0005] In a first aspect, an embodiment of the present application provides a privacy protection method, which is applied to a first electronic device, wherein an anti-shooting function of the first electronic device is turned on; the method includes:

[0006] Acquiring location information of a second electronic device, where a shooting function of the second electronic device is turned on;

[0007] determining a first position relationship between the first electronic device and the second electronic device according to the position information of the first electronic device and the position information of the second electronic device;

[0008] When the first position relationship indicates that the first electronic device is located within the shooting range of the second electronic device, outputting first prompt information; or,

[0009] When the first position relationship indicates that the first electronic device is about to enter a shooting range of the second electronic device, second prompt information is output.

[0010] In a second aspect, an embodiment of the present application provides a privacy protection method, wherein a shooting function of the second electronic device is turned on; the method comprises:

[0011] Acquiring location information of a first electronic device, wherein an anti-shooting function of the first electronic device is in an on state;

[0012] determining a second position relationship between the second electronic device and the first electronic device according to the position information of the first electronic device and the position information of the second electronic device;

[0013] When the second position relationship indicates that the first electronic device is located within the shooting range of the second electronic device, third prompt information is output.

[0014] In a third aspect, an embodiment of the present application provides a privacy protection device, which is applied to a first electronic device, wherein an anti-shooting function of the first electronic device is turned on; the device includes:

[0015] A first acquisition module is used to acquire location information of a second electronic device, where a shooting function of the second electronic device is turned on;

[0016] A first determining module, configured to determine a first position relationship between the first electronic device and the second electronic device according to the position information of the first electronic device and the position information of the second electronic device;

[0017] A first output module is configured to output first prompt information when the first position relationship indicates that the first electronic device is located within a shooting range of the second electronic device; or

[0018] The second output module is configured to output second prompt information when the first position relationship indicates that the first electronic device is about to enter a shooting range of the second electronic device.

[0019] In a fourth aspect, an embodiment of the present application provides a privacy protection device, which is applied to a second electronic device, wherein a shooting function of the second electronic device is turned on; the device includes:

[0020] A third acquisition module is used to acquire location information of a first electronic device, wherein the anti-shooting function of the first electronic device is in an on state;

[0021] A second determining module, configured to determine a second position relationship between the second electronic device and the first electronic device according to the position information of the first electronic device and the position information of the second electronic device;

[0022] The third output module is configured to output third prompt information when the second position relationship indicates that the first electronic device is located within the shooting range of the second electronic device.

[0023] In a fifth aspect, 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 or the second aspect are implemented.

[0024] In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect or the second aspect are implemented.

[0025] In the seventh aspect, an embodiment of the present application 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 a program or instruction to implement the method described in the first aspect or the second aspect.

[0026] In an eighth aspect, an embodiment of the present application provides a 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 or the second aspect.

[0027] In an embodiment of the present application, a first electronic device with an anti-shooting function turned on can obtain location information of a second electronic device with a shooting function turned on, so as to determine the positional relationship between itself and the second electronic device based on its own location information and the location information of the second electronic device. When the positional relationship between the two indicates that the first electronic device is within the shooting range of the second electronic device, or the first electronic device is about to enter the shooting range of the second electronic device, the first electronic device can output prompt information. In this way, users who do not want to be photographed can be prompted to stay away from the current area, thereby improving shooting privacy protection. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 This is one of the flow charts of the privacy protection method provided in the embodiment of the present application;

[0029] Figure 2 This is the second flowchart of the privacy protection method provided in the embodiment of the present application;

[0030] Figure 3 It is a shooting schematic diagram provided in an embodiment of the present application;

[0031] Figure 4 This is the third flowchart of the privacy protection method provided in the embodiment of the present application;

[0032] Figure 5 This is the fourth flowchart of the privacy protection method provided in the embodiment of the present application;

[0033] Figure 6 It is one of the structural diagrams of the privacy protection device provided in the embodiment of the present application;

[0034] Figure 7 This is the second structural diagram of the privacy protection device provided in the embodiment of the present application;

[0035] Figure 8 It is one of the structural diagrams of the electronic device provided in the embodiment of the present application;

[0036] Fig. 9 This is the second structural diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0038] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0039] The privacy protection method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0040] In the embodiment of the present application, the electronic device has a shooting function and an anti-shooting function. The anti-shooting function can also be called an anti-secret shooting function. The user can decide whether to turn on the shooting function and the anti-shooting function of the electronic device according to needs.

[0041] The shooting function of the electronic device is turned on, indicating that the electronic device is in a shooting state. For example, when a user needs to shoot, the user can turn on the shooting function of the electronic device he carries.

[0042] The anti-shooting function of an electronic device is turned on, indicating that the electronic device is in an anti-shooting state, which can prevent other devices from shooting the area where the electronic device is located, thereby realizing privacy protection of the area where the electronic device is located. For example, when a user does not want to be photographed, he or she can turn on the anti-shooting function of the electronic device he or she is carrying. Alternatively, for areas where shooting is prohibited, such as military restricted areas or scenic spots, an electronic device can be placed in the area and the anti-shooting function of the electronic device can be turned on.

[0043] It is understandable that the same electronic device can simultaneously enable the shooting function and the anti-shooting function.

[0044] An electronic device with an anti-shooting function enabled can be called an anti-shooting device; an electronic device with a shooting function enabled can be called a shooting device.

[0045] Figure 1 This is one of the flow charts of the privacy protection method provided in the embodiment of the present application. Figure 1 The privacy protection method shown can be applied to a first electronic device whose anti-shooting function is turned on.

[0046] like Figure 1 As shown, privacy protection methods may include:

[0047] Step 101: Acquire location information of a second electronic device, where a shooting function of the second electronic device is turned on.

[0048] In the embodiment of the present application, each electronic device has device information, and the device information of each electronic device includes the location information of the electronic device, the state information of the shooting function, and the state information of the anti-shooting function. The state information of the shooting function can be an on state or an off state, and the state information of the anti-shooting function can be an on state or an off state.

[0049] Electronic devices that have enabled the shooting function or the anti-shooting function can share device information. That is, the condition for sharing device information between electronic devices can be: the electronic device has enabled the shooting function or the anti-shooting function. For example, assuming that there are electronic devices 1, 2, and 3, and electronic device 1 has enabled the shooting function, and electronic device 2 has enabled the anti-shooting function, and both the shooting function and the anti-shooting function of electronic device 2 are in the off state, then electronic device 1 and electronic device 2 can share device information with each other, and electronic device 3 may not share device information with electronic device 1 and electronic device 2. In this case, the shooting function of the second electronic device is in the on state.

[0050] Furthermore, the condition for sharing device information between electronic devices may also include that the distance between the electronic devices is less than a preset threshold. That is, only electronic devices that are close to each other and have turned on the shooting function or the anti-shooting function can share device information. In this case, the shooting function of the second electronic device is turned on, and the distance between the second electronic device and the first electronic device is less than the preset threshold.

[0051] It can be understood that while the first electronic device is acquiring the device information sent by other electronic devices, the other electronic devices can also acquire the device information of the first electronic device.

[0052] In some embodiments, the first electronic device may actively obtain the location information of the second electronic device, such as: the first electronic device may actively detect and obtain the location information of the second electronic device.

[0053] In other embodiments, the first electronic device may passively obtain the location information of the second electronic device. For example, an electronic device with a shooting function enabled may actively broadcast its own location information. In this way, the first electronic device may receive and obtain the location information of the second electronic device.

[0054] Step 102: Determine a first position relationship between the first electronic device and the second electronic device according to the position information of the first electronic device and the position information of the second electronic device.

[0055] In an embodiment of the present application, in order to prevent the shooting device from shooting the area where the anti-shooting device is located, it is possible to determine whether the anti-shooting device has entered or is about to enter the shooting range of the shooting device by determining the positional relationship between the shooting range of the shooting device and the anti-shooting device, and then perform corresponding operations based on the above determination results to achieve privacy protection.

[0056] It is understandable that the shooting range of the electronic device is determined based on the position of the electronic device, that is, as the position of the electronic device changes, the shooting range of the electronic device will change. Therefore, in step 102, the position information of the first electronic device and the position information of the second electronic device can be used to determine the position relationship between the second electronic device and the first electronic device, that is, the first position relationship. The first position relationship can indicate that the first electronic device is located in the shooting area of ​​the second electronic device, or that the first electronic device is about to enter the shooting range of the second electronic device.

[0057] When the first electronic device is within the shooting range of the second electronic device, it indicates that there is an anti-secret camera device within the shooting range of the shooting device. If the shooting device performs a shooting operation at this time, it will cause privacy leakage. Step 103 can be performed to achieve privacy protection.

[0058] When the first electronic device is about to enter the shooting range of the second electronic device, it indicates that the user is about to enter the shooting range, and step 104 may be performed to allow the user to adjust the direction of travel to achieve privacy protection.

[0059] Step 103: output first prompt information when the first position relationship indicates that the first electronic device is located within the shooting range of the second electronic device.

[0060] In some embodiments, the first prompt information can be used to prompt the user that the user has entered the shooting range of other electronic devices. In other embodiments, the first prompt information can be used to prompt the user to leave the current location. In this way, by outputting the first prompt information, the user can be made aware that if he continues to stay in the current area, his privacy will be leaked. He can stay away from the current area and leave the shooting range of other electronic devices to reduce the chance of being photographed by other electronic devices, thereby improving shooting privacy protection.

[0061] The embodiment of the present application does not limit the specific form of the first prompt information. The first prompt information can be voice prompt information, vibration prompt information, or visual prompt information.

[0062] Step 104: output second prompt information when the first position relationship indicates that the first electronic device is about to enter a shooting range of the second electronic device.

[0063] In some embodiments, the second prompt information can be used to prompt the user that he is about to enter the shooting range of other electronic devices. In other embodiments, the second prompt information can be used to prompt the user to adjust the direction of travel and stay away from the shooting range of other electronic devices. In this way, by outputting the second prompt information, the user can know that if he continues to move in the current direction, it will cause privacy leakage. He can stay away from the current area and leave the shooting range of other electronic devices to reduce the chance of being photographed by other electronic devices, thereby improving the reliability of shooting privacy protection.

[0064] The embodiment of the present application does not limit the specific form of the second prompt information. The second prompt information can be voice prompt information, vibration prompt information, or visual prompt information.

[0065] The privacy protection method of the embodiment of the present application can obtain the location information of a second electronic device that has a shooting function turned on for a first electronic device that has an anti-shooting function turned on, so as to determine the position relationship between itself and the second electronic device based on its own location information and the location information of the second electronic device. When the position relationship between the two indicates that the first electronic device is within the shooting range of the second electronic device, or the first electronic device is about to enter the shooting range of the second electronic device, the first electronic device can output prompt information. In this way, users who do not want to be photographed can be prompted to stay away from the current area, thereby improving shooting privacy protection.

[0066] In some embodiments, step 102 may include:

[0067] A first positional relationship between the first electronic device and the second electronic device is determined according to the position information of the first electronic device and the position information of the second electronic device, and the orientation and shooting angle of the camera of the second electronic device.

[0068] In a specific implementation, the distance value and azimuth of the first electronic device relative to the second electronic device may be determined based on the location information of the first electronic device and the location information of the second electronic device; the shooting angle range of the second electronic device may be determined based on the direction and shooting angle of the camera of the second electronic device;

[0069] Afterwards, the relationship between the shooting angle ranges of the first electronic device and the second electronic device can be determined based on the azimuth; the first positional relationship between the shooting ranges of the first electronic device and the second electronic device can be determined based on the relationship between the shooting angle ranges of the first electronic device and the second electronic device, and the relationship between the shooting radius of the camera of the second electronic device and the distance value.

[0070] In this embodiment, the shooting range of the shooting device can be determined by the shooting angle range and shooting radius of the shooting device. Specifically, each point in the shooting range of the shooting device satisfies: the point is within the shooting angle range of the shooting device, and the distance between the point and the shooting device is less than the shooting radius of the shooting device.

[0071] Therefore, the positional relationship between the anti-shooting device and the shooting range of the shooting device can be determined based on the relationship between the shooting angle range of the shooting device and the anti-shooting device, and the relationship between the shooting radius of the shooting device and the "distance value between the anti-shooting device and the shooting device".

[0072] The shooting angle range of the shooting device can be determined based on the direction and shooting angle of the camera of the shooting device. The shooting angle of the camera is fixed, and the direction of the camera can be changed. It can be understood that by changing the direction of the camera of the electronic device at the same position, the scene falling within the shooting angle of the camera will change, that is, the shooting angle range of the electronic device will change, such as: assuming that the shooting angle of the camera is 60 degrees, the shooting angle range of the electronic device at the first moment is -30 degrees to +30 degrees, if the direction of the camera changes from the first moment to the second moment, so that the shooting angle range of the electronic device at the second moment is +30 degrees to +90 degrees. Therefore, the first electronic device can determine the shooting angle range of the shooting device according to the direction and shooting angle of the camera of the shooting device.

[0073] To determine the positional relationship between the shooting range of the shooting device and the anti-secret camera device, the first electronic device may obtain the direction, shooting angle and shooting radius of the camera of the second electronic device in advance. In an optional implementation, the direction, shooting angle and shooting radius of the camera of the second electronic device may be carried in the device information of the second electronic device to save information transmission resources.

[0074] First, the distance value and azimuth of the anti-secret camera device relative to the shooting device, as well as the shooting angle range of the shooting device can be determined.

[0075] Afterwards, the relationship between the shooting angle range of the shooting device and the anti-secret shooting device can be determined by determining whether the azimuth of the anti-shooting device relative to the shooting device is within the shooting angle range of the shooting device. Specifically, if the azimuth of the anti-shooting device relative to the shooting device is within the shooting angle range of the shooting device, it can be determined that the anti-secret shooting device is within the shooting angle range of the shooting device; if the azimuth of the anti-shooting device relative to the shooting device is outside the shooting angle range of the shooting device, it can be determined that the anti-secret shooting device is outside the shooting angle range of the shooting device.

[0076] Afterwards, the positional relationship between the anti-shooting device and the shooting range of the shooting device can be determined by combining the relationship between the shooting angle range of the shooting device and the anti-sneak-shooting device, as well as the relationship between the shooting radius of the shooting device and the "distance value between the anti-shooting device and the shooting device".

[0077] Specifically, when the anti-sneak cam device is within the shooting angle range of the shooting device and the "distance value between the anti-sneak cam device and the shooting device" is less than or equal to the shooting radius of the shooting device, it can be determined that the anti-sneak cam device is within the shooting range of the shooting device.

[0078] When the anti-sneak-camera device is within the target angle range, and the "distance value between the anti-sneak-camera device and the shooting device" is less than or equal to the target value, it can be determined that the anti-sneak-camera device is about to enter the shooting range of the shooting device. The target angle range includes the shooting angle range of the shooting device, and the difference between the maximum value (or minimum value) of the target angle range and the maximum value (or minimum value) of the shooting angle range is less than or equal to the first threshold; the target value is greater than the shooting radius of the shooting device, and the difference between the target value and the shooting radius of the shooting device is less than or equal to the second threshold.

[0079] Furthermore, in some implementations, a shooting warning range may be introduced, and the distance value between each point in the shooting warning range of the shooting device and each point in the shooting range of the shooting device is less than a preset value. In some optional implementations, the shooting warning range of the shooting device may be determined based on the shooting range of the shooting device. In other optional implementations, the shooting warning range of the shooting device may be determined based on a target value and a target angle range. It is understandable that when the first position information indicates that the first electronic device is located in the shooting warning range of the second electronic device, it means that the first electronic device is about to enter the shooting range of the second electronic device.

[0080] Through the above method, the positional relationship between the anti-secret camera device and the shooting device can be accurately determined, thereby improving the reliability of privacy protection.

[0081] It is worth noting that the embodiments of the present application do not limit the method for determining the shooting range of the shooting device and the method for determining the first position relationship. Any method that can determine the shooting range of the shooting device and the first position relationship can fall within the protection scope of the embodiments of the present application. For example, in some embodiments, the first electronic device can directly receive and obtain the shooting angle range of the shooting device.

[0082] In some embodiments, before acquiring the location information of the second electronic device, the method may further include:

[0083] The state of the shooting function of the surrounding electronic device is obtained, where the state of the shooting function includes an on state and an off state.

[0084] The distance between the first electronic device and the surrounding electronic devices of the first electronic device is less than a preset threshold. In this embodiment, the first electronic device can first obtain the shooting status of the surrounding electronic devices to determine the second electronic device from the surrounding electronic devices and obtain the location information of the second electronic device. In this way, the first electronic device does not need to determine the position relationship between the second electronic device that is far away from itself and itself, thereby reducing the operating burden of the first electronic device.

[0085] In some embodiments, the first electronic device is provided with a white list, and the white list of the first electronic device includes identification information of electronic devices that are allowed to photograph the first electronic device;

[0086] The outputting of the first prompt information includes:

[0087] When the whitelist does not include the identification information of the second electronic device, first prompt information is output.

[0088] In this embodiment, each electronic device may be provided with a white list, which includes identification information of all electronic devices that are allowed to photograph the electronic device when the anti-photographing function is enabled on the electronic device, and may be shared with other electronic devices.

[0089] When the first position relationship indicates that the first electronic device is located within the shooting range of the second electronic device, the first electronic device may determine whether its own whitelist includes the identification information of the second electronic device.

[0090] If the whitelist of the first electronic device does not include the identification information of the second electronic device, it means that the second electronic device is not allowed to photograph the first electronic device, and the first electronic device may output the first prompt information.

[0091] If the whitelist of the first electronic device does not include the identification information of the second electronic device, it means that the second electronic device is allowed to photograph the first electronic device, and the first electronic device may give up outputting the first prompt information.

[0092] Similarly, in some embodiments, outputting the second prompt information includes:

[0093] When the whitelist does not include the identification information of the second electronic device, second prompt information is output.

[0094] In this way, by setting a whitelist, the flexibility of shooting privacy protection can be improved.

[0095] Figure 2 This is the second flowchart of the privacy protection method provided in the embodiment of the present application. Figure 2 The privacy protection method shown can be applied to a second electronic device, where the shooting function of the second electronic device is turned on.

[0096] like Figure 2 As shown, privacy protection methods may include:

[0097] Step 201: Acquire location information of a first electronic device, wherein the anti-shooting function of the first electronic device is turned on.

[0098] The implementation of step 201 is similar to that of step 101 , and details can be found in the above description of step 101 , which will not be repeated here.

[0099] Step 202: Determine a second position relationship between the second electronic device and the first electronic device according to the position information of the first electronic device and the position information of the second electronic device.

[0100] The implementation of step 202 is similar to that of step 102 , and details can be found in the above description of step 102 , which will not be repeated here.

[0101] Step 203: When the second position relationship indicates that the first electronic device is located within the shooting range of the second electronic device, output third prompt information.

[0102] In some embodiments, the third prompt information can be used to prompt that there is an electronic device with an anti-shooting function turned on within the shooting range. In other embodiments, the third prompt information can prompt the user not to perform a photo input. In this way, by outputting the third prompt information, the user knows that shooting is prohibited within the current shooting range, and does not perform a shooting operation within the shooting range, thereby improving shooting privacy protection.

[0103] The embodiment of the present application does not limit the specific form of the third prompt information. The third prompt information can be voice prompt information, vibration prompt information, or visual prompt information.

[0104] The privacy protection method of the embodiment of the present application can output a prompt message for an electronic device with a shooting function turned on, if there is an electronic device with an anti-shooting function turned on within its shooting range, to prompt the user that there is an electronic device with an anti-shooting function turned on within the shooting range, so that the user knows that shooting is prohibited within the current shooting range and does not perform shooting operations within the shooting range, thereby improving shooting privacy protection.

[0105] In some embodiments, determining a second position relationship between the first electronic device and the second electronic device according to the position information of the first electronic device and the position information of the second electronic device includes:

[0106] A second positional relationship between the first electronic device and the second electronic device is determined according to the position information of the first electronic device and the position information of the second electronic device, and the orientation and shooting angle of the camera of the second electronic device.

[0107] The method for determining the second position relationship between the first electronic device and the second electronic device is similar to the method for determining the first position relationship between the first electronic device and the second electronic device. For details, please refer to the aforementioned description of determining the second position relationship between the first electronic device and the second electronic device, which will not be repeated here.

[0108] In some embodiments, the method may further include:

[0109] When the second position relationship indicates that the first electronic device is located within the shooting range of the second electronic device, no shooting input is responded to.

[0110] In this embodiment, in order to further improve the reliability of shooting privacy protection, if there is an anti-sneak photography device in the shooting area of ​​the shooting device, the shooting device may not respond to the shooting input and directly prohibit the shooting device from performing the shooting operation. In this way, the effectiveness of shooting privacy protection can be improved.

[0111] In some optional implementations, a prohibition shooting function may be provided in the electronic device, and the prohibition shooting function is used to prohibit the electronic device from shooting the anti-sneak-shooting device. The prohibition shooting function of the electronic device can be automatically turned on when the shooting function of the shooting device is turned on, and cannot be turned off by the user. In this way, when there is an anti-sneak-shooting device within the shooting range of the shooting device, the shooting device does not respond to the shooting input, thereby effectively protecting the privacy of the anti-sneak-shooting device.

[0112] Through the above method, when there is an anti-sneak-shooting device within the shooting range of the shooting device, the shooting device may not respond to the shooting input, thus improving the effectiveness of shooting privacy protection.

[0113] Furthermore, the method further comprises:

[0114] Acquire a whitelist of the first electronic device, where the whitelist of the first electronic device includes identification information of electronic devices that are allowed to photograph the first electronic device;

[0115] The failure to respond to the shooting input includes:

[0116] If the whitelist of the first electronic device does not include the identification information of the second electronic device, not responding to the shooting input;

[0117] The method may further comprise:

[0118] When the second position relationship indicates that the first electronic device is located within a photographing range of the second electronic device and the whitelist of the first electronic device includes identification information of the second electronic device, a photographing operation is performed in response to a photographing input.

[0119] In this embodiment, each electronic device may be provided with a white list, which includes identification information of all electronic devices that are allowed to photograph the electronic device when the anti-photographing function is enabled on the electronic device, and may be shared with other electronic devices.

[0120] In this way, after determining that there are N anti-secret camera devices in the shooting range, where N is a positive integer, the shooting device can determine whether its own identification information is in the white list of each anti-secret camera device based on the white list of each anti-secret camera device.

[0121] In a specific implementation, when the whitelists of N anti-secret-camera devices all include identification information of the photographing device, the photographing device can perform a photographing operation in response to a photographing input.

[0122] In the case that there is a white list of anti-secret camera devices among the N anti-secret camera devices that does not include the identification information of the photographing device, the photographing device may not respond to the photographing input.

[0123] In this way, by setting a whitelist, the flexibility of shooting privacy protection can be improved.

[0124] In some embodiments, the method may further include:

[0125] Displaying the image captured by the camera of the second electronic device;

[0126] When the second positional relationship is that the second electronic device is located within the shooting range of the first electronic device, target information is displayed in the image, where the target information is used to indicate the first electronic device.

[0127] In this embodiment, when there is an anti-sneak peek device in the shooting range of the second electronic device, the image captured by the camera of the second electronic device can be processed and target information can be displayed in the image to indicate the position or orientation of the anti-sneak peek device.

[0128] In some optional implementations, the target information may be displayed at the imaging position of the anti-secret camera device. In other optional implementations, the target information may be displayed as an arrow pointing to the imaging position of the anti-secret camera device.

[0129] Through the above method, target information used to indicate the position or orientation of the anti-sneak peek device is displayed in the image captured by the shooting device, which facilitates the user of the first electronic device to adjust the shooting range of the first electronic device so that the adjusted shooting range does not include the anti-sneak peek device, thereby improving shooting privacy protection.

[0130] In some embodiments, the method may further include:

[0131] Displaying the image captured by the camera of the second electronic device;

[0132] When the anti-shooting mark exists in the image, fifth prompt information is output, where the fifth prompt information is used to prompt that the anti-shooting mark exists in the shooting range.

[0133] In this embodiment, the shooting device can detect whether there is an anti-shooting mark within the shooting range. The anti-shooting mark has the same function as the anti-shooting device.

[0134] When there is an anti-shooting sign within the shooting range of the shooting device, the shooting device can output a prompt message to prompt that there is an anti-shooting sign within the shooting range, so that the user stops shooting in the area, thereby improving shooting privacy protection. Furthermore, the shooting operation can be prohibited without responding to the shooting input, thereby improving the effectiveness of shooting privacy protection.

[0135] In some embodiments, the method may further include:

[0136] Displaying the image captured by the camera of the first electronic device;

[0137] When the anti-shooting mark exists in the image, fourth prompt information is output, where the fourth prompt information is used to prompt that the anti-shooting mark exists in the shooting area.

[0138] In this embodiment, the shooting function and the anti-shooting function of the first electronic device are both in an on state. The second electronic device can obtain and display the image captured by the camera of the first electronic device.

[0139] When the image captured by the camera of the first electronic device has an anti-shooting mark, it indicates that the anti-shooting mark exists in the shooting area where the second electronic device is located, and prompt information can be output to prompt that the anti-shooting mark exists in the shooting area, so that the user can take pictures in the area, thereby improving the privacy protection of shooting. Furthermore, the shooting operation can be prohibited without responding to the shooting input, thereby improving the effectiveness of the privacy protection of shooting.

[0140] It is worth noting that in the embodiment of the present application, the shooting range of the electronic device is different from the shooting area. The shooting area of ​​the electronic device includes the shooting range of the electronic device and the surrounding area where the electronic device is located.

[0141] Through the above method, users can carry anti-photography signs, or anti-photography signs can be placed in specific areas to prevent themselves from being photographed by the shooting equipment, thereby improving shooting privacy protection.

[0142] It is worth noting that the embodiments of the present application do not limit the timing of the shooting device's detection of whether there is an anti-sneak cam device within the shooting range, and the detection of whether there is an anti-shooting sign within the shooting range. In some embodiments, after detecting that there is an anti-shooting device within the shooting range, if a shooting input is received, it can be detected whether there is an anti-shooting sign within the shooting range, but it is not limited to this.

[0143] It should be noted that the various optional embodiments introduced in the embodiments of the present application can be implemented in combination with each other or can be implemented separately if they do not conflict with each other, and the embodiments of the present application are not limited to this.

[0144] In order to facilitate understanding of the privacy protection method provided by the above embodiment, the above privacy protection method is described below with a specific scenario embodiment. In this scenario embodiment, shooting is represented by taking a photo.

[0145] The application scenario of this scenario embodiment may be: when the anti-sneak photography function is turned on for mobile phones and VR / AR glasses, the location can be shared with surrounding mobile phones, VR / AR glasses and other photographing devices. The photographing device calculates the relative position with the anti-sneak photography device. When the anti-sneak photography device is calculated to be in the picture of the photographing device, the person taking the photo is reminded, the photo is stopped and the location of the anti-sneak photography device is indicated. The person carrying the anti-sneak photography device will also receive a reminder so that they can leave the photographing area in time.

[0146] In addition to calculating the location of the anti-secret camera device, when receiving the photo input, the camera device will also identify whether there is a special anti-secret camera sign in the picture (carried by the person who wants to prevent secret camera shooting). If there is, it will also prevent the photo from being taken successfully to meet the privacy protection requirements when there is no mobile phone or VR / AR glasses. The above identification and blocking operations are implemented at the bottom layer of the device and can be forced to be turned on.

[0147] For ease of understanding, please refer to Figure 3 .

[0148] exist Figure 3 middle:

[0149] A1 is the shooting range. A2 is the anti-secret shooting warning range, i.e. the shooting warning range. A1 and A2 will change dynamically.

[0150] P1 is the photographer / sneak photographer. At this time, P1's electronic device cannot take photos because P2 is in range.

[0151] P2's electronic device had the anti-secret-photography function turned on, and he was prompted to be within the camera range of others.

[0152] P3's electronic device has the anti-secret-photography function turned on, and is prompted to be included in the camera range of others.

[0153] The P4's electronic devices have the anti-secret camera function turned on, so nothing will happen.

[0154] P1, P2, P3, and P4 will share their locations, regardless of whether P1 has the anti-secret camera function turned on.

[0155] If the P5's electronic devices turn off the anti-secret camera function, nothing will happen and the location will not be shared.

[0156] The P6's electronic device has the anti-secret camera function turned on. Because the distance is too far and beyond the distance for clear photography, nothing will happen and the location will not be shared with P1-4.

[0157] P7 did not bring any mobile phone, smart glasses or other devices, but because he was wearing decorations with special logos, even if P2's electronic device turned off the anti-secret camera function, P1's electronic device could not take pictures.

[0158] When the user does not want to be photographed, Figure 2 For P2-4 and P6-7, you can prevent sneak shots by:

[0159] Method 1: Carry an electronic device and turn on the anti-secret camera device.

[0160] In this way, if Figure 4 As shown, the privacy protection method may include the following steps:

[0161] Step 401, detecting whether the anti-secret camera function of the electronic device is turned on.

[0162] If yes, execute step 402, otherwise end the process.

[0163] Step 402, sharing the location and receiving the location of the camera device.

[0164] Step 303, detecting whether there is any camera device around.

[0165] If yes, execute step 404; otherwise, execute step 405.

[0166] Step 404, calculating the relative position with respect to the camera device.

[0167] exist Figure 2 In the process, when it is detected that there is a device (P1) taking photos nearby, the relative position of the device and itself is calculated, and then it is calculated whether it has entered the photo range.

[0168] Step 405, determining whether the camera is about to enter or has entered the photographing range based on the calculated relative position.

[0169] If yes, execute step 406 , if no, return to execute step 401 .

[0170] Step 406, prompting that the camera is about to enter or has entered the camera range.

[0171] In specific implementation, if it is within the shooting angle range and outside the shooting radius, when the difference between the distance and the radius is less than the set threshold (when walking from P6 position to P1 and entering the A2 range), it will prompt that it is about to enter the shooting range, that is, the shooting range.

[0172] If it is within the effective photographing radius but outside the photographing angle range, when the angle between the line connecting the photographer and the near side radius of the photographing fan is less than the set threshold (P4), it will be prompted that it is about to enter the photographing range.

[0173] If it is within the photographing range, that is, within the effective photographing radius and photographing angle range (P2), it will prompt that it is within the photographing range of others.

[0174] If it is outside the shooting range, that is, outside the effective shooting radius and shooting angle range (P4, P6), no response will be taken.

[0175] Method 2: The decoration with anti-secret photography sign (P7) cannot provide the function of reminding the wearer that he is being secretly photographed, but only has the function of preventing secret photography.

[0176] When you shoot yourself, Figure 2 For P1 in the figure, you can achieve shooting privacy protection in the following ways.

[0177] like Figure 5 As shown, the privacy protection method may include the following steps:

[0178] Step 501, detecting whether to call the camera.

[0179] If yes, execute step 502, if no, end the process.

[0180] Step 502, sharing the location and receiving the location of the anti-secret camera device.

[0181] Step 503, detect whether there is any anti-secret camera device around.

[0182] If yes, execute step 504; otherwise, execute step 507.

[0183] Step 504, calculating the relative position with respect to the anti-secret camera device.

[0184] Step 505: Detect whether the anti-secret-photographing device is within the photographing range according to the calculated relative position.

[0185] If yes, go to step 506 , if no, go to step 507 .

[0186] Step 506, prompting that there is an anti-secret camera device within the photographing range, and indicating the position of the anti-secret camera device in the picture, at which time the photographing control is invalid.

[0187] Click the photo button to prompt that taking photos is prohibited.

[0188] Step 507, detecting whether the photo taking control is touched.

[0189] If yes, execute step 508; if no, return to execute step 503.

[0190] Step 508, detecting whether there is an anti-secret-photography mark in the picture.

[0191] If yes, execute step 509; if no, execute step 510.

[0192] Step 509, prompting that there is a sneak shot sign in the picture, indicating the position of the anti-sneak shot sign in the picture, and not retaining the photo.

[0193] Step 510, take a photo and save it.

[0194] In this embodiment, normal photography can be performed only when there is no anti-secret photography equipment or anti-secret photography signs within the photographing range.

[0195] It is worth noting that photo detection and anti-sneak photography are independent of each other. When someone (P1) takes a photo, it does not affect his anti-sneak photography settings, that is, he can also prevent others from taking secret photos while taking a photo.

[0196] In the embodiment of this scenario, you can effectively prevent others from secretly photographing you when you don’t want to be photographed. Even if you don’t have a mobile phone, AR / XR glasses, or an anti-secret photography function, you can carry or wear decorations, clothes, etc. with anti-secret photography signs to prevent others from secretly photographing you.

[0197] Furthermore, the embodiments of the present application can be restricted at the device system level, and the effectiveness of anti-secret photography is guaranteed by the device provider, and cannot be turned off by the user, and can be applied to military and commercial confidentiality. It is only necessary to place anti-secret photography equipment in places where photography is prohibited, and then the camera device will warn and prevent secret photography after entering this range.

[0198] Furthermore, the anti-secret camera device can set a device whitelist, and the devices in the whitelist are allowed to take photos.

[0199] The privacy protection method provided in the embodiment of the present application can be executed by a privacy protection device. In the embodiment of the present application, the privacy protection device provided in the embodiment of the present application is described by taking the privacy protection method executed by the privacy protection device as an example.

[0200] like Figure 6 As shown, the privacy protection device 600 may include:

[0201] A first acquisition module 601 is used to acquire location information of a second electronic device, where a shooting function of the second electronic device is turned on;

[0202] A first determining module 602, configured to determine a first position relationship between the first electronic device and the second electronic device according to the position information of the first electronic device and the position information of the second electronic device;

[0203] A first output module 603 is configured to output first prompt information when the first position relationship indicates that the first electronic device is within the shooting range of the second electronic device; or

[0204] The second output module 604 is configured to output second prompt information when the first position relationship indicates that the first electronic device is about to enter a shooting range of the second electronic device.

[0205] In some embodiments, the first determining module is specifically configured to:

[0206] A first positional relationship between the first electronic device and the second electronic device is determined according to the position information of the first electronic device and the position information of the second electronic device, and the orientation and shooting angle of the camera of the second electronic device.

[0207] In some embodiments, the apparatus further comprises:

[0208] The second acquisition module is used to acquire the state of the shooting function of the surrounding electronic device, where the state of the shooting function includes an on state and an off state.

[0209] In some embodiments, the first electronic device is provided with a white list, and the white list of the first electronic device includes identification information of electronic devices that are allowed to photograph the first electronic device;

[0210] The first output module is specifically used for:

[0211] When the whitelist does not include the identification information of the second electronic device, first prompt information is output.

[0212] The privacy protection device 600 provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented in the method embodiment will not be described again here.

[0213] like Figure 7 As shown, the privacy protection device 700 may include:

[0214] A third acquisition module 701 is used to acquire location information of a first electronic device, where the anti-shooting function of the first electronic device is turned on;

[0215] A second determining module 702, configured to determine a second position relationship between the second electronic device and the first electronic device according to the position information of the first electronic device and the position information of the second electronic device;

[0216] The third output module 703 is configured to output third prompt information when the second position relationship indicates that the first electronic device is located within the shooting range of the second electronic device.

[0217] In some embodiments, the second determining module is specifically configured to:

[0218] A first positional relationship between the first electronic device and the second electronic device is determined according to the position information of the first electronic device and the position information of the second electronic device, and the orientation and shooting angle of the camera of the second electronic device.

[0219] In some embodiments, the apparatus further comprises:

[0220] The execution module is configured to not respond to a shooting input when the second position relationship indicates that the first electronic device is located within a shooting range of the second electronic device.

[0221] In some embodiments, the apparatus further comprises:

[0222] A first display module, used to display the image captured by the camera of the second electronic device;

[0223] The second display module is used to display target information in the image when the second position relationship indicates that the first electronic device is located within the shooting range of the second electronic device, wherein the target information is used to indicate the first electronic device.

[0224] In some embodiments, the apparatus further comprises:

[0225] A third display module, used to display the image captured by the camera of the first electronic device;

[0226] The fourth output module is used to output fourth prompt information when there is an anti-shooting mark in the image, and the fourth prompt information is used to prompt that there is an anti-shooting mark in the shooting area.

[0227] The privacy protection device 700 provided in the embodiment of the present application can achieve Figure 2 To avoid repetition, the various processes implemented in the method embodiment will not be described again here.

[0228] The privacy protection device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.

[0229] The privacy protection device in the embodiment of the present application may be a device having an operating system. The operating system may 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.

[0230] Alternatively, if Figure 8As shown, an embodiment of the present application also provides an electronic device 800, including a processor 801 and a memory 802, wherein the memory 802 stores programs or instructions that can be executed on the processor 801, and when the program or instructions are executed by the processor 801, the various steps of the above-mentioned privacy protection method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.

[0231] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0232] Fig. 9 A hardware structure diagram of an electronic device for implementing an embodiment of the present application.

[0233] The electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910 and other components.

[0234] Those skilled in the art will appreciate that the electronic device 900 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 910 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0235] When the electronic device is the first electronic device, the processor 910 is configured to:

[0236] Acquiring location information of a second electronic device, where a shooting function of the second electronic device is turned on;

[0237] determining a first position relationship between the first electronic device and the second electronic device according to the position information of the first electronic device and the position information of the second electronic device;

[0238] When the first position relationship indicates that the first electronic device is located within the shooting range of the second electronic device, outputting first prompt information; or,

[0239] When the first position relationship indicates that the first electronic device is about to enter a shooting range of the second electronic device, second prompt information is output.

[0240] In some embodiments, the processor 910 is configured to:

[0241] A first positional relationship between the first electronic device and the second electronic device is determined according to the position information of the first electronic device and the position information of the second electronic device, and the orientation and shooting angle of the camera of the second electronic device.

[0242] In some embodiments, the processor 910 is configured to:

[0243] The state of the shooting function of the surrounding electronic device is obtained, where the state of the shooting function includes an on state and an off state.

[0244] In some embodiments, the first electronic device is provided with a white list, and the white list of the first electronic device includes identification information of electronic devices that are allowed to photograph the first electronic device;

[0245] The processor 910 is configured to:

[0246] When the whitelist does not include the identification information of the second electronic device, first prompt information is output.

[0247] In this case, the electronic device can achieve Figure 1 To avoid repetition, the various processes implemented in the method embodiment will not be described again here.

[0248] When the electronic device is the second electronic device, the processor 910 is configured to:

[0249] Acquiring location information of a first electronic device, wherein an anti-shooting function of the first electronic device is in an on state;

[0250] determining a second position relationship between the second electronic device and the first electronic device according to the position information of the first electronic device and the position information of the second electronic device;

[0251] When the second position relationship indicates that the first electronic device is located within the shooting range of the second electronic device, third prompt information is output.

[0252] In some embodiments, the processor 910 is configured to:

[0253] A second positional relationship between the first electronic device and the second electronic device is determined according to the position information of the first electronic device and the position information of the second electronic device, and the orientation and shooting angle of the camera of the second electronic device.

[0254] In some embodiments, the processor 910 is configured to:

[0255] When the second position relationship indicates that the first electronic device is located within the shooting range of the second electronic device, no shooting input is responded to.

[0256] In some embodiments, the display unit 906 is used to:

[0257] Displaying the image captured by the camera of the second electronic device;

[0258] In a case where the second positional relationship indicates that the first electronic device is located within a shooting range of the second electronic device, target information is displayed in the image, where the target information is used to indicate the first electronic device.

[0259] In some embodiments, the display unit 906 is used to:

[0260] Displaying the image captured by the camera of the first electronic device;

[0261] The processor 910 is configured to:

[0262] When the anti-shooting mark exists in the image, fourth prompt information is output, where the fourth prompt information is used to prompt that the anti-shooting mark exists in the shooting area.

[0263] In this case, the electronic device can achieve Figure 2 To avoid repetition, the various processes implemented in the method embodiment will not be described again here.

[0264] It should be understood that in the embodiment of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 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 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 907 includes a touch panel 9071 and at least one of other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. Other input devices 9072 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.

[0265] The memory 909 can be used to store software programs and various data. The memory 909 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, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 909 may include a volatile memory or a non-volatile memory, or the memory 909 may include both volatile and non-volatile memories. Among them, 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 memory bus random access memory (DRRAM). The memory 909 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0266] The processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 910.

[0267] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned privacy protection method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0268] 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.

[0269] 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 privacy protection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0270] It should be understood that 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.

[0271] 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 privacy protection method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0272] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0273] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, 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, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0274] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A privacy protection method, applied to a first electronic device, characterized in that: The anti-shooting function of the first electronic device is in an on state; and the method includes: Acquiring location information shared by a second electronic device, where a shooting function of the second electronic device is turned on; determining a first position relationship between the first electronic device and the second electronic device according to the position information of the first electronic device and the position information of the second electronic device; When the first position relationship indicates that the first electronic device is located within the shooting range of the second electronic device, outputting first prompt information; or, When the first position relationship indicates that the first electronic device is about to enter a shooting range of the second electronic device, second prompt information is output.

2. The method according to claim 1, characterized in that: The determining, according to the location information of the first electronic device and the location information of the second electronic device, a first location relationship between the first electronic device and the second electronic device includes: A first positional relationship between the first electronic device and the second electronic device is determined according to the position information of the first electronic device and the position information of the second electronic device, and the orientation and shooting angle of the camera of the second electronic device.

3. The method according to claim 1, characterized in that Before acquiring the location information of the second electronic device, the method further includes: The state of the shooting function of the surrounding electronic device is obtained, where the state of the shooting function includes an on state and an off state.

4. The method according to claim 1, characterized in that: The first electronic device is provided with a white list, and the white list of the first electronic device includes identification information of electronic devices that are allowed to photograph the first electronic device; The outputting of the first prompt information includes: When the whitelist does not include the identification information of the second electronic device, first prompt information is output.

5. A privacy protection method, applied to a second electronic device, characterized in that: The shooting function of the second electronic device is turned on; the method includes: Acquiring location information shared by a first electronic device, wherein an anti-shooting function of the first electronic device is in an enabled state; determining a second position relationship between the second electronic device and the first electronic device according to the position information of the first electronic device and the position information of the second electronic device; When the second position relationship indicates that the first electronic device is located within the shooting range of the second electronic device, third prompt information is output.

6. The method according to claim 5, characterized in that The determining, according to the location information of the first electronic device and the location information of the second electronic device, a second location relationship between the first electronic device and the second electronic device includes: A second positional relationship between the first electronic device and the second electronic device is determined according to the position information of the first electronic device and the position information of the second electronic device, and the orientation and shooting angle of the camera of the second electronic device.

7. The method according to claim 5, characterized in that The method further comprises: When the second position relationship indicates that the first electronic device is located within the shooting range of the second electronic device, no shooting input is responded to.

8. The method according to claim 5, characterized in that The method further comprises: displaying an image captured by the camera of the second electronic device; In a case where the second positional relationship indicates that the first electronic device is located within a shooting range of the second electronic device, target information is displayed in the image, where the target information is used to indicate the first electronic device.

9. The method according to claim 5, characterized in that The method further comprises: Displaying the image captured by the camera of the first electronic device; When the anti-shooting mark exists in the image, fourth prompt information is output, where the fourth prompt information is used to prompt that the anti-shooting mark exists in the shooting area.

10. A privacy protection device, applied to a first electronic device, characterized in that: The anti-shooting function of the first electronic device is in an on state; and the device comprises: A first acquisition module is used to acquire location information shared by a second electronic device, where a shooting function of the second electronic device is turned on; A first determining module, configured to determine a first position relationship between the first electronic device and the second electronic device according to the position information of the first electronic device and the position information of the second electronic device; A first output module is configured to output first prompt information when the first position relationship indicates that the first electronic device is located within a shooting range of the second electronic device; or The second output module is configured to output second prompt information when the first position relationship indicates that the first electronic device is about to enter a shooting range of the second electronic device.

11. A privacy protection device, applied to a second electronic device, characterized in that: The shooting function of the second electronic device is turned on; and the device includes: A third acquisition module is used to acquire location information shared by a first electronic device, where the anti-shooting function of the first electronic device is turned on; A second determining module, configured to determine a second position relationship between the second electronic device and the first electronic device according to the position information of the first electronic device and the position information of the second electronic device; The third output module is configured to output third prompt information when the second position relationship indicates that the first electronic device is located within the shooting range of the second electronic device.

12. An electronic device, characterized in that: The method comprises 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 privacy protection method as described in any one of claims 1 to 9 are implemented.