Privacy processing method, device, electronic device and computer-readable storage medium
By detecting network identity identification in the background of the electronic device and automatically switching the privacy mode of the application, the privacy leakage problem caused by user manual settings is solved, and unsensed privacy protection and simplified setting process is achieved.
Patent Information
- Application Number
- CN202310014398.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-05
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2043-01-05
AI Technical Summary
In the prior art, electronic device applications have a risk of privacy leakage, and users have inconvenient operation to manually set the privacy mode, which can easily lead to forgetting the settings and causing privacy leakage problems.
By starting the network detection process in the background, detecting the network identity identification accessed by electronic devices, and automatically turning on the privacy mode or normal mode according to the network identity matching result when the target application is started, simplifying user operations and realizing unsensed mode switching.
It realizes the privacy mode and normal mode of the application without the user's perception, avoids privacy leakage, simplifies the setting process, and improves the accuracy and efficiency of privacy protection.
Smart Images

Figure CN116132147B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a privacy processing method, device, electronic device, and computer-readable storage medium. Background Art
[0002] With the rapid development of communication and Internet technologies, electronic device applications (APPs) are becoming increasingly diverse. While these applications meet users' diverse service needs, they also pose the risk of leaking user privacy.
[0003] Currently, in order to prevent the problem of user privacy leakage caused by applications, it is usually necessary to manually enter the setting interface of the application to set the privacy mode.
[0004] However, manually setting the privacy mode of an application often leads to the problem of privacy leakage caused by users forgetting to set it. In addition, if the privacy mode of an application requires users to manually set it, the operation is inconvenient and affects the user's experience of using electronic devices. Summary of the Invention
[0005] In view of this, the present invention aims to propose a privacy processing method to solve the problem of privacy leakage risk in electronic device applications.
[0006] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0007] A privacy processing method, applied to an electronic device, comprising:
[0008] Start the network detection process in the background;
[0009] Detecting, through the network detection process, an identity identifier of the first network to which the electronic device is connected;
[0010] After the target application is started, if the identity identifier of the first network successfully matches the identity identifier of the second network preset in the target application, turning on the privacy mode of the target application;
[0011] In the event that the identity of the first network fails to match the identity of the second network preset in the target application, the normal mode of the target application is enabled.
[0012] Furthermore, after the target application is started and before the network detection process is started, the following steps are also included:
[0013] receiving a first preset operation on a first target location of a first target interface of a target application;
[0014] In response to the first preset operation, displaying a privacy setting interface;
[0015] Receiving a configuration operation for an identity identifier of a second network in the privacy setting interface;
[0016] In response to the configuration operation, an identity of the second network is configured.
[0017] Furthermore, after displaying the privacy setting interface, it also includes:
[0018] Displaying the hideable content items of the target application;
[0019] receiving a user's selection operation on the hideable content item;
[0020] In response to the selection operation, the selected hideable content is configured in the privacy mode.
[0021] Furthermore, before receiving the first preset operation on the first target position of the first target interface of the target application, the method further includes:
[0022] When the second preset operation is received for the first time at the second target position of the second target interface of the target application, randomly selecting a first target position in the first target interface and setting mark information corresponding to the first target position; the mark information is used to indicate the position of the first target position in the first target interface;
[0023] When the target application displays the first target interface for the first time, displaying the marking information at the first target position;
[0024] After receiving the first preset operation at the first target location, the marking information is deleted and the response to the second preset operation on the second preset location is stopped.
[0025] Furthermore, before randomly selecting a first target position in the first target interface and setting mark information corresponding to the first target position, the method further includes:
[0026] An interface is randomly selected from a plurality of candidate interfaces of the target application as the first target interface.
[0027] Furthermore, before starting the network detection process, it also includes:
[0028] When the target application is started, the target application receives information in a preset format forwarded by the cloud server; the information in the preset format is sent by the vehicle-mounted terminal on the vehicle;
[0029] Displaying a privacy setting interface according to the information in the preset format;
[0030] Receiving a configuration operation for an identity identifier of a second network in the privacy setting interface;
[0031] In response to the configuration operation, an identity of the second network is configured.
[0032] Furthermore, after starting the normal mode of the target application, the method further includes:
[0033] Obtaining the motion trajectory of the electronic device;
[0034] When the motion trajectory matches a preset trajectory, the privacy mode of the target application is enabled.
[0035] Compared with the existing technology, the privacy processing method of the present invention has the following advantages:
[0036] The privacy processing method described in the embodiment of the present invention detects the identity identifier of the first network through a network detection process, and automatically determines whether to turn on the privacy mode of the target application or the normal mode of the target application based on the matching result of the identity identifier of the first network and the identity identifier of the second network when the target application is started, thereby realizing automatic switching between the privacy mode and the normal mode without the user's perception, avoiding the privacy leakage problem caused by the user forgetting to manually set the privacy mode to be turned on, and simplifying the privacy mode setting process; in addition, by presetting the identity identifier of the second network and matching the identity identifier of the first network with the identity identifier of the second network, accurate judgment of the privacy mode activation scenario is achieved, further preventing the occurrence of user privacy leakage problems.
[0037] Another object of the present invention is to provide a privacy processing device to solve the problem of privacy leakage risk in electronic device applications.
[0038] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0039] A privacy processing device is applied to an electronic device, and the method includes:
[0040] Service startup module, used to start the network detection process in the background;
[0041] A network detection module, configured to detect an identity of the first network accessed through the network detection process;
[0042] A first mode activation module is configured to, after a target application is started, activate a privacy mode of the target application if the identity identifier of the first network successfully matches the identity identifier of the second network preset in the target application;
[0043] The second mode enabling module is configured to enable the normal mode of the target application after the target application is started if the identity identifier of the first network fails to match the identity identifier of the second network preset in the target application.
[0044] The advantages of the privacy processing device and the above-mentioned privacy processing method over the prior art are the same and will not be repeated here.
[0045] Another object of the present invention is to provide an electronic device to solve the problem of privacy leakage risk in electronic device applications.
[0046] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0047] An electronic device comprises a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory, and when the processor executes the computer program, it implements the privacy processing method described in any one of the above items.
[0048] The advantages of the electronic device and the above-mentioned privacy processing method over the prior art are the same and will not be repeated here.
[0049] Another object of the present invention is to provide a computer-readable storage medium to solve the problem of privacy leakage risk in electronic device applications.
[0050] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0051] A computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the privacy processing method as described in any one of the above items.
[0052] The advantages of the computer-readable storage medium and the above-mentioned privacy processing method over the prior art are the same and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The accompanying drawings, which constitute part of the present invention, are intended to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are intended to explain the present invention and do not constitute an undue limitation of the present invention. In the accompanying drawings:
[0054] Figure 1 This is a flowchart of the steps of a privacy processing method according to an embodiment of the present invention;
[0055] Figure 2 A schematic diagram of a first target interface of a target application according to an embodiment of the present invention;
[0056] Figure 3 A schematic diagram of a second target interface of a target application according to an embodiment of the present invention;
[0057] Figure 4 A schematic diagram of a first interface of another target application according to an embodiment of the present invention;
[0058] Figure 5 This is a logic block diagram of a privacy processing method according to an embodiment of the present invention;
[0059] Figure 6 This is a logical block diagram of a privacy processing device described in an embodiment of the present invention.
[0060] Description of reference numerals:
[0061] 100 - electronic device, 110 - first target interface, 111 - first target location, 112 - privacy setting interface, 113 - identity of the second network, 114 - tag information, 120 - second target interface, 121 - second target location. DETAILED DESCRIPTION
[0062] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0063] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0064] The embodiment of the present invention provides a privacy processing method, which is applied to electronic devices. Figure 1 , Figure 1 A flowchart of a privacy processing method according to an embodiment of the present invention is shown. The privacy processing method may include the following steps:
[0065] Step S110: Start the network detection process in the background.
[0066] It should be noted that the network detection process refers to a network process that can detect and identify the identity of any network, and is used to detect the identity of any network accessed by the electronic device and obtain the identity of the network.
[0067] In an embodiment of the present invention, starting the network detection process in the background may specifically be starting the network detection process in the background of the electronic device. The timing for starting the network detection process may be automatic starting of the network detection process when the electronic device is turned on, or manual starting of the network detection process by a user through a setting interface of the electronic device.
[0068] Step S120: Detect the identity of the first network to which the electronic device is connected through the network detection process.
[0069] It should be noted that the first network is any network that the electronic device can access, for example, the first network can be a wide area network, a metropolitan area network, or a local area network. The identity of the first network can be a unique identifier of the first network, specifically, an Internet Protocol address (IP) of the first network, a base station subsystem identifier (BSSID), etc., which is not limited in this embodiment of the present invention.
[0070] In the embodiment of the present invention, the network detection process may obtain the identity of the first network currently connected to the electronic device through an API (Application Programming Interface) of the Android system.
[0071] Step S130: Start the target application.
[0072] It should be noted that the target application may be any application (APP) installed in the electronic device.
[0073] In the embodiment of the present invention, the starting of the target application may be an operation in which the user single-clicks or double-clicks an icon corresponding to the target application to start the target application.
[0074] Step S140: Match the identity of the first network with the identity 113 of the second network preset in the target application.
[0075] In an embodiment of the present invention, when it is determined that the identity identifier of the first network matches the identity identifier of the second network preset in the target application successfully, the process proceeds to step S150; when it is determined that the identity identifier of the first network matches the identity identifier of the second network preset in the target application unsuccessfully, the process proceeds to step S160.
[0076] It should be noted that the identity of the second network is the identity of the network pre-set by the user in the target application. The second network identifier can be set to several second network identities corresponding to the scenarios in which the privacy mode needs to be turned on according to the scenarios in which the privacy mode needs to be turned on. For example, the scenarios that the user often finds themselves in may include scenario A, scenario B, scenario C, and scenario D, and the user wants to enable the privacy mode of the target application when the electronic device is in scenario C and scenario D. In this case, the user can preset the identity of the second network corresponding to the network in scenario C and the identity of the second network corresponding to the network in scenario D in the target application in advance. When the electronic device is connected to the first network, the identity of the first network to which the electronic device is connected is determined through the network detection process, and the identity of the first network is matched with the identity of the second network corresponding to the network in scenario C and the identity of the second network corresponding to the network in scenario D preset in the target application. If the match is successful, the process proceeds to step S150, and if the match fails, the process proceeds to step S160.
[0077] Step S150: Enable the privacy mode of the target application.
[0078] In an embodiment of the present invention, upon determining that the identity identifier of the first network successfully matches the identity identifier of the second network preset within the target application, the privacy mode of the target application is enabled. It should be noted that the privacy mode is a mode that hides and protects content requiring protection within the target application. Specifically, when privacy mode is enabled, the content requiring protection within the target application is hidden, and the hidden content is not visible when the target application is used.
[0079] Step S160: Start the normal mode of the target application.
[0080] In an embodiment of the present invention, if it is determined that the identity of the first network fails to match the identity of the second network preset in the target application, the normal mode of the target application is enabled. It should be noted that when the normal mode of the target application is enabled, the content to be protected in the target application is displayed normally.
[0081] In an embodiment of the present invention, after the target application is started, if the identity identifier of the first network matches the identity identifier of the second network preset in the target application successfully, the privacy mode of the target application is enabled; if the identity identifier of the first network fails to match the identity identifier of the second network preset in the target application, the normal mode of the target application is enabled. For example, when the electronic device is in scene A and connects to the network in scene A, the network detection process detects the identity of the network in scene A and matches the identity of the network in scene A with the identity of the second network corresponding to the network in scene C and the identity of the second network corresponding to the network in scene D preset in the target application of the electronic device. Since the identity of the network in scene A does not match the identity of the second network, the privacy mode of the target application is turned off, and the normal mode of the target application is turned on. At this time, the private content that needs to be protected in the target application is in a normal display state; when the electronic device is in scene C and connects to the network in scene C, the network detection process detects the identity of the network in scene C and matches the identity of the network in scene C with the identity of the second network corresponding to the network in scene C and the identity of the second network corresponding to the network in scene D preset in the target application of the electronic device. Since the identity of the network in scene C matches the identity of the second network, the privacy mode of the target application is turned on. At this time, the private content that needs to be protected in the target application is in a hidden state, and the content that is in a hidden state is invisible when using the target application.
[0082] Optionally, after the target application is started and before the network detection process is started, the method may further include the following sub-steps:
[0083] Sub-step S131: receiving a first preset operation on a first target position of a first target interface of a target application.
[0084] Sub-step S132: In response to the first preset operation, display the privacy setting interface.
[0085] Sub-step S133: receiving a configuration operation for the identity identifier of the second network in the privacy setting interface.
[0086] Sub-step S134: In response to the configuration operation, configure the identity of the second network.
[0087] Reference Figure 2 , Figure 2 A schematic diagram of a first target interface of a target application according to an embodiment of the present invention is shown. Figure 2100 is an electronic device, 110 is a first target interface, 111 is a first target location, 112 is a privacy setting interface, and 113 is an identity identifier of the second network. Specifically, when a first preset operation is received at the first target location 111 of the first target interface 110 of the target application, the first target location 111 of the first target interface 110 of the target application displays the privacy setting interface 112 in response to the first preset operation input by the user. Furthermore, the user can set the identity identifier 113 of the second network in the corresponding scenario for which the privacy mode is to be enabled in the displayed privacy setting interface 112, and configure the identity identifier 113 of the second network in response to the configuration operation.
[0088] It should be noted that the second network identity identifiers may be set to several numbers according to user needs, and the several second network identity identifiers correspond to several scenarios in which the user wants to enable the privacy mode of the target application.
[0089] In an embodiment of the present invention, the first preset operation may include a single click operation, a double click operation, multiple consecutive click operations, a long press operation, and a sliding operation along a preset trajectory, etc. The specific operation mode of the first preset operation can be set according to user habits, and the embodiment of the present invention does not limit this.
[0090] In the embodiment of the present invention, the first target interface is any one of multiple interfaces of the target application, and a first target position is set in the display interface. The first target position can be any position or area in the first interface.
[0091] It should be noted that, when a first function key already exists at the selected first target position, the response mode of the first function key is obtained, and the first preset operation is set to an operation different from the response mode of the first function key. For example, when the response mode of the first function key originally located at the first position is a click operation, in order to prevent confusion between the operation of displaying the privacy setting interface at the first target position in response to the first preset operation and the operation corresponding to the first function key, the first preset operation can be set to another operation that is significantly different from the click operation in response to the first function key, such as a sliding operation along a preset trajectory.
[0092] Optionally, before receiving the first preset operation on the first target position of the first target interface of the target application, the method may further include the following sub-steps:
[0093] Sub-step S1311: When the second preset operation is received for the first time at the second target position of the second target interface of the target application, randomly select a first target position in the first target interface and set mark information corresponding to the first target position; the mark information is used to prompt the position of the first target position in the first target interface.
[0094] Reference Figure 3 , Figure 3 A schematic diagram of a second target interface of a target application according to an embodiment of the present invention is shown. Figure 3 120 is the second target interface of the target application, and 121 is the second target position in the second target interface 120. Figure 4 , Figure 4 A schematic diagram of a first interface of another target application according to an embodiment of the present invention is shown. Figure 4 The 110 in the table corresponds to Figure 3 111 is the first target position in the first target interface 110 , and 114 is the mark information set corresponding to the first target position 111 .
[0095] It should be noted that the second target interface and the first target interface are any two different interfaces in the target application. When the application is currently in the second target interface, the user inputs the second target operation at the second target position of the second target interface. When the second target position receives the second preset operation for the first time, it can jump to the first target interface of the target application. The user can randomly select a location or area in the first target interface as the first target position in the first target interface. At this time, the user can manually set the marking information of the first target position at the first target position of the first target interface. The marking information is used to mark the location of the first target position. Of course, the marking information of the first target position can also be automatically generated after the user selects a location or area in the first target interface as the first target position in the first target interface.
[0096] In this embodiment of the present invention, the second preset operation that the second target position can respond to can be the same as the first preset operation that the first target position can respond to, or can be different. However, if a second function key is present at the second target position, the response mode of the second function key is obtained, and the second preset operation is set to an operation that is different from the response mode of the second function key.
[0097] In addition, since the first target position can be randomly selected in the first target interface, the specific position of the second target position in the second target interface may be the same as or different from the specific position of the first target position in the first target interface.
[0098] Optionally, before randomly selecting a first target position in the first target interface and setting mark information corresponding to the first target position, the method may further include: randomly selecting an interface from multiple to-be-selected interfaces of the target application as the first target interface.
[0099] In an embodiment of the present invention, when the target application has more than two display interfaces, when the second preset operation is received for the first time at the second target position of the second target interface of the target application, the user can arbitrarily select any interface other than the second target interface in the target application as the first target interface, and after selecting the first target interface, randomly select a first target position in the first target interface and set mark information corresponding to the first target position.
[0100] Sub-step S1312: When the target application displays the first target interface for the first time, display the marking information at the first target position.
[0101] Sub-step S1313: After receiving the first preset operation at the first target position, delete the marking information and stop responding to the second preset operation on the second preset position.
[0102] In an embodiment of the present invention, when the second target position of the second target interface of the target application receives the second preset operation for the first time, the operation of randomly selecting a first target position in the first target interface and setting the mark information corresponding to the first target position is the operation of setting the first target position in the first target interface. After the first target position is set, the user enters the privacy setting interface by entering the first preset operation at the first target position to perform the configuration operation of the identity of the second network. The target application can determine whether to turn on or off the privacy mode based on the identity of the first network detected by the network detection process. In other words, after the user completes the configuration operation of the identity of the second network, it means that the user already knows the specific location of the first target position, so the mark information can be deleted to prevent other people other than the user from knowing the specific location of the first target position, thereby further ensuring the security of the user's privacy.
[0103] It should be noted that, in the case where the response to the second preset operation on the second preset position is stopped after the first preset operation is received at the first target position, when the first preset operation is received at the first target position, it means that the first target position in the first target interface has been set. At this time, there is no need to perform the setting operation on the first target position in the first interface through the second preset operation of the second preset position again. Therefore, the response to the second preset operation on the second preset position can be stopped, reducing the degree of correlation between different display interfaces of the target application, and avoiding other people other than the user from mistakenly entering the second preset operation at the second target position of the second target interface, resulting in the leakage of user privacy content information.
[0104] Optionally, after displaying the privacy setting interface, the method further includes the following sub-steps:
[0105] Sub-step S1321: Display the hideable content items of the target application.
[0106] In an embodiment of the present invention, the hideable content items may be various types of content items, including but not limited to chat history content, video content, image content, text content, etc. The hideable content items may be displayed to the user in the form of a list or icons, allowing the user to accurately distinguish between private content items that need to be hidden and ordinary content items that do not need to be hidden.
[0107] Sub-step S1322: receiving a user's selection operation on the hideable content item.
[0108] In the embodiment of the present invention, receiving the user's selection operation on the hideable content item may specifically include receiving the user's click, long press, or other operation on the corresponding hideable content item, and confirming the user's selection operation on the hideable content item.
[0109] Sub-step S1323: In response to the selection operation, the selected hideable content is configured in the privacy mode.
[0110] In an embodiment of the present invention, in response to the selection operation, the state of configuring the selected hideable content into the privacy mode is that all content related to the hideable content item selected by the user is configured into the privacy mode, and when the privacy mode of the target application is turned on, the hideable content configured into the privacy mode is in a hidden state, and the user cannot see the hideable content configured into the privacy mode when using the target application; when the normal mode of the target application is turned on, the hideable content configured into the privacy mode is in a normal display state, and the user can normally view the hideable content configured into the privacy mode when using the target application.
[0111] Optionally, before starting the network detection process, the method may further include the following sub-steps:
[0112] Sub-step S111: When the target application is started, the target application receives information in a preset format forwarded by the cloud server.
[0113] In an embodiment of the present invention, the information in the preset format is sent by an onboard terminal on a vehicle, which may be a front-end device of a vehicle monitoring and management system. Specifically, the information in the preset format is sent by the onboard terminal to a cloud server, which then forwards the information in the preset format to a target application.
[0114] It should be noted that the information in the preset format may specifically be information in a preset format that can be received and recognized by the target application.
[0115] Sub-step S112: displaying a privacy setting interface according to the information in the preset format.
[0116] In an embodiment of the present invention, the information in the preset format may be instruction information, which is used for the target application to display a privacy setting interface according to the instruction information in the preset format after receiving the information in the preset format.
[0117] Sub-step S113: receiving a configuration operation for the identity identifier of the second network in the privacy setting interface.
[0118] Specifically, after the target application displays the privacy setting interface according to the information in the preset format, the vehicle-mounted terminal can again send the second information in the preset format to the target application through the cloud server. After receiving the second information in the preset format forwarded by the cloud server, the target application receives the configuration operation for the identity identification of the second network in the privacy setting interface according to the second information in the preset format.
[0119] Sub-step S114: In response to the configuration operation, configure the identity of the second network.
[0120] In the embodiment of the present invention, after receiving a configuration operation for the identity of the second network in the privacy setting interface according to the second information in a preset format, the identity of the second network may be configured in response to the configuration operation.
[0121] In an embodiment of the present invention, when the electronic device is connected to the computer terminal, the computer terminal can directly send a preset format instruction to the electronic device to perform a configuration operation of the identity identifier of the second network in the target application. Specifically, when the electronic device is connected to the computer terminal and the target application is started, the computer terminal sends a first instruction in a preset format to the electronic device, and the target application in the electronic device receives the first instruction in the preset format sent by the computer terminal and displays a privacy setting interface according to the first instruction in the preset format; after the target application displays the privacy setting interface according to the first instruction in the preset format, the computer terminal can send a second instruction in the preset format again, and after receiving the second instruction in the preset format, the target application receives the configuration operation for the identity identifier of the second network in the privacy setting interface according to the second instruction in the preset format and configures the identity identifier of the second network in response to the configuration operation.
[0122] It should be noted that, in the Android system, the first instruction in the preset format and the second instruction in the preset format may be ADB (Android Debug Bridge) commands.
[0123] Optionally, after starting the normal mode of the target application, the method may further include the following sub-steps:
[0124] Sub-step S161: Acquire the motion trajectory of the electronic device.
[0125] Sub-step S162: when the motion trajectory matches a preset trajectory, enable the privacy mode of the target application.
[0126] In an embodiment of the present invention, the motion trajectory of the electronic device can be obtained through interaction between the satellite signal module, operating system, and software algorithm in the electronic device. The target application can obtain the motion trajectory of the electronic device. The preset trajectory is the motion trajectory pre-set by the user in the privacy settings interface. It should be noted that the privacy settings interface of the target application can be used to set, but is not limited to, the identity of the second network, the setting of hidden content items, and the setting of the motion trajectory.
[0127] Specifically, after the normal mode of the target application is turned on, if the motion trajectory of the electronic device is detected to be consistent with a preset trajectory, the privacy mode of the target application is turned on; if the motion trajectory of the electronic device is detected to be inconsistent with the preset trajectory, the normal mode of the target application is kept turned on. It should be noted that when the normal mode of the target application is turned on, the privacy mode of the target application is turned off. Similarly, when the privacy mode of the target application is turned on, the normal mode of the target application is turned off.
[0128] Optional, see Figure 5 , Figure 5 A logic block diagram of a privacy processing method according to an embodiment of the present invention is shown. Specifically, when an electronic device accesses a network configured in a target application and / or a network configured in other non-target applications, a network detection process is started in the background of the electronic device; through the network detection process, the identity of the network configured in the target application and / or the network configured in other non-target applications to which the electronic device is connected is detected; after the target application is started, if the identity of the network configured in the target application and / or the network configured in other non-target applications successfully matches the identity of the second network preset in the target application, the privacy mode of the target application is turned on; if the identity of the network configured in the target application and / or the network configured in other non-target applications fails to match the identity of the second network preset in the target application, the normal mode of the target application is turned on.
[0129] It should be noted that the first network may include a network configured in the target application and / or other networks configured in non-target applications.
[0130] In summary, the privacy processing method described in the embodiments of the present invention has at least the following advantages:
[0131] The privacy processing method described in the embodiment of the present invention detects the identity identifier of the first network through a network detection process, and automatically determines whether to turn on the privacy mode of the target application or the normal mode of the target application based on the matching result of the identity identifier of the first network and the identity identifier of the second network when the target application is started, thereby realizing automatic switching between the privacy mode and the normal mode without the user's perception, avoiding the privacy leakage problem caused by the user forgetting to manually set the privacy mode to be turned on, and simplifying the privacy mode setting process; in addition, by presetting the identity identifier of the second network and matching the identity identifier of the first network with the identity identifier of the second network, accurate judgment of the privacy mode activation scenario is achieved, further preventing the occurrence of user privacy leakage problems.
[0132] Reference Figure 6 , Figure 6 The following is a logical block diagram of a privacy processing device according to an embodiment of the present invention. The privacy processing device may include:
[0133] The service startup module 610 is used to start the network detection process in the background;
[0134] The network detection module 620 is configured to detect the identity of the first network to which the electronic device is connected through the network detection process;
[0135] A first mode activation module 630 is configured to, after a target application is started, activate the privacy mode of the target application if the identity identifier of the first network successfully matches the identity identifier of the second network preset in the target application;
[0136] The second mode enabling module 640 is configured to enable the normal mode of the target application when the identity of the first network fails to match the identity of the second network preset in the target application.
[0137] Optionally, the privacy processing device may further include:
[0138] A first receiving module is configured to receive a first preset operation on a first target position of a first target interface of a target application;
[0139] A first display module, configured to display a privacy setting interface in response to the first preset operation;
[0140] A second receiving module is configured to receive a configuration operation for an identity identifier of a second network in the privacy setting interface;
[0141] The first configuration module is configured to configure the identity of the second network in response to the configuration operation.
[0142] Optionally, the first display module may include:
[0143] A first display submodule, configured to display the hideable content items of the target application;
[0144] A first receiving submodule, configured to receive a user's selection operation on the hideable content item;
[0145] The first configuration submodule is configured to configure the selected hideable content into the privacy mode in response to the selection operation.
[0146] Optionally, the privacy processing device may further include:
[0147] a first selection module configured to randomly select a first target position in the first target interface and set marking information corresponding to the first target position when the second preset operation is received for the first time at the second target position of the second target interface of the target application; the marking information is used to indicate the position of the first target position in the first target interface;
[0148] a second display module, configured to display the marking information at the first target position when the target application displays the first target interface for the first time;
[0149] The first deleting module is configured to delete the marking information and stop responding to the second preset operation on the second preset position after receiving the first preset operation at the first target position.
[0150] Optionally, the first selection module may include:
[0151] A first selection submodule is configured to randomly select one interface from a plurality of candidate interfaces of the target application as the first target interface.
[0152] Optionally, the privacy processing device may further include:
[0153] a third receiving module, configured to receive, by the target application, information in a preset format forwarded by the cloud server when the target application is started; the information in the preset format is sent by the vehicle-mounted terminal on the vehicle;
[0154] A third display module is configured to receive a configuration operation for the identity identifier of the second network in the privacy setting interface;
[0155] The second configuration module is configured to configure the identity of the second network in response to the configuration operation.
[0156] Optionally, the privacy processing device may further include:
[0157] A first acquisition module is used to acquire a motion trajectory of the electronic device;
[0158] The second privacy mode enabling module is configured to enable the privacy mode of the target application when the motion trajectory conforms to a preset trajectory.
[0159] In addition, to achieve the above-mentioned purpose, the present invention also proposes an electronic device, which includes a memory and a processor, wherein the memory is used to store computer programs, and the processor is used to call and run the computer programs stored in the memory, and when the processor executes the computer program, it implements the privacy processing method described in any one of the above items.
[0160] In addition, to achieve the above-mentioned purpose, the present invention also proposes a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the privacy processing method as described in any one of the above items.
[0161] In the embodiments of the present invention, the computer-readable storage medium may be a memory device such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface mount memory, optical disk, or CD-ROM; or various devices including any one or any combination of the above memories. The computer may be various computer devices including intelligent terminals and servers.
[0162] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
[0163] It should be noted that the various data-related processes in the embodiments of the present application are all carried out in compliance with the corresponding data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.
Claims
1. A privacy processing method, characterized in that: Applied to electronic equipment, the method includes: Start the network detection process in the background; Detecting, through the network detection process, an identity identifier of the first network to which the electronic device is connected; After the target application is started, if the identity identifier of the first network successfully matches the identity identifier of the second network preset in the target application, turning on the privacy mode of the target application, wherein the privacy mode sets the content requiring protection in the target application to a hidden state, and the hidden state is an invisible state; After the target application is started, if the identity identifier of the first network fails to match the identity identifier of the second network preset in the target application, starting the normal mode of the target application; After the target application is started and before the network detection process is started, the following steps are also included: receiving a first preset operation on a first target location of a first target interface of a target application; In response to the first preset operation, displaying a privacy setting interface; Receiving a configuration operation for an identity identifier of a second network in the privacy setting interface; In response to the configuration operation, configuring the identity of the second network; Before receiving the first preset operation on the first target position of the first target interface of the target application, the method further includes: When a second preset operation is received for the first time at a second target position on a second target interface of the target application, randomly selecting a first target position on the first target interface and setting mark information corresponding to the first target position; the mark information is used to indicate the position of the first target position on the first target interface; wherein, if a second function key is present at the second target position, obtaining a response mode of the second function key, and setting the second preset operation to an operation different from the response mode of the second function key; When the target application displays the first target interface for the first time, displaying the marking information at the first target position; After receiving the first preset operation at the first target location, the marking information is deleted and the response to the second preset operation on the second preset location is stopped.
2. The method according to claim 1, characterized in that After displaying the privacy settings interface, it also includes: Displaying the hideable content items of the target application; receiving a user's selection operation on the hideable content item; In response to the selection operation, the selected hideable content is configured in the privacy mode.
3. The method according to claim 1, characterized in that Before randomly selecting a first target position in the first target interface and setting mark information corresponding to the first target position, the method further includes: An interface is randomly selected from a plurality of candidate interfaces of the target application as the first target interface.
4. The method according to claim 1, wherein Before starting the network detection process, it also includes: When the target application is started, the target application receives information in a preset format forwarded by the cloud server; the information in the preset format is sent by the vehicle-mounted terminal on the vehicle; Displaying a privacy setting interface according to the information in the preset format; Receiving a configuration operation for an identity identifier of a second network in the privacy setting interface; In response to the configuration operation, an identity of the second network is configured.
5. The method according to claim 1, wherein After starting the normal mode of the target application, the method further includes: Obtaining the motion trajectory of the electronic device; When the motion trajectory matches a preset trajectory, the privacy mode of the target application is enabled.
6. A privacy processing device, characterized in that: Applied to electronic equipment, the device comprises: Service startup module, used to start the network detection process in the background; A network detection module, configured to detect an identity of the first network accessed through the network detection process; a first mode activation module configured to, after a target application is started, activate a privacy mode for the target application if the identity identifier of the first network successfully matches the identity identifier of the second network preset in the target application, wherein the privacy mode sets the content requiring protection in the target application to a hidden state, wherein the hidden state is an invisible state; a second mode enabling module configured to, after the target application is started, enable the normal mode of the target application if the identity identifier of the first network fails to match the identity identifier of the second network preset in the target application; A first receiving module is configured to receive a first preset operation on a first target position of a first target interface of a target application; A first display module, configured to display a privacy setting interface in response to the first preset operation; A second receiving module is configured to receive a configuration operation for an identity identifier of a second network in the privacy setting interface; A first configuration module, configured to configure the identity of the second network in response to the configuration operation; a first selection module configured to, when receiving a second preset operation for the first time at a second target position on a second target interface of the target application, randomly select a first target position on the first target interface and set marking information corresponding to the first target position; the marking information being used to indicate the position of the first target position on the first target interface; and, if a second function key is present at the second target position, obtain a response mode of the second function key and set the second preset operation to an operation different from the response mode of the second function key; a second display module, configured to display the marking information at the first target position when the target application displays the first target interface for the first time; The first deleting module is configured to delete the marking information and stop responding to the second preset operation on the second preset position after receiving the first preset operation at the first target position.
7. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory is used to store computer programs, the processor is used to call and run the computer programs stored in the memory, and when the processor executes the computer program, it implements the privacy processing method as described in any one of claims 1 to 5 above.
8. A computer-readable storage medium storing a computer program, wherein: When the computer program is executed by a processor, the privacy processing method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Terminal application processing method, device and mobile terminal
CN106658489A
Privacy protection method and electronic equipment
CN111125770A