A method and device for privacy protection
By collecting and matching the user's biometric data in the input method client, if it does not match, the privacy data of the electronic device is encrypted, solving the problem of privacy data leakage when the electronic device is borrowed and ensuring data security.
Patent Information
- Application Number
- CN201910156868.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-03-01
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2039-05-24
AI Technical Summary
In the prior art, when electronic devices are borrowed, user privacy data is easily leaked.
By collecting the user's biometric data in the input method client and matching it with the preset biometric data, if the match fails, the privacy data in the electronic device is encrypted.
It realizes that when electronic devices are borrowed, private data will not be leaked, ensuring data security.
Smart Images

Figure CN111639323B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information security technology, and in particular, to a method and device for privacy protection. Background Art
[0002] With the rapid development of technology, there are more and more electronic products around people, which bring people more efficient work and life. For example, using mobile phones or tablets for online instant messaging, real-time file transfer, watching movies anytime and anywhere, mobile payment, etc. At the same time, a large amount of people's personal privacy has been stored in electronic products such as mobile phones.
[0003] This also brings some privacy and security problems. For example, in the case of borrowing mobile phones, people will inevitably encounter the situation of friends borrowing their mobile phones in work or life, and the privacy content in the mobile phone is also likely to be viewed intentionally or unintentionally by the borrower.
[0004] Therefore, when the existing electronic devices are borrowed, there is a technical problem that the user's privacy data is easily leaked. Summary of the Invention
[0005] By providing a method and device for privacy protection in an embodiment of the present invention, the technical problem that the user's privacy data is easily leaked when the existing electronic devices are borrowed is solved, and the technical effect that the privacy data will not be leaked when the electronic device is borrowed is achieved, and the data security is ensured.
[0006] In a first aspect, the present invention provides the following technical solution through an embodiment of the present invention:
[0007] A method for privacy protection, which is applied to an input method client, and the method includes:
[0008] When it is detected that the user operates the electronic device, collect the biometric data of the user;
[0009] Match the biometric data of the user with the preset biometric data in the electronic device;
[0010] If the match fails, encrypt the privacy data in the electronic device.
[0011] Preferably, after the biometric data of the user is matched with the preset biometric data in the electronic device, it further includes:
[0012] If the match is successful, decrypt the encrypted privacy data in the electronic device.
[0013] Preferably, the biometric data includes one or more of the following data:
[0014] Facial data;
[0015] Fingerprint data;
[0016] Iris data;
[0017] Pulse data;
[0018] Heart rhythm data.
[0019] Preferably, the privacy data includes one or more of the following data:
[0020] Historical data input by the input method client;
[0021] Content input in the current chat interface;
[0022] Picture files;
[0023] Video files;
[0024] Audio files.
[0025] Preferably, before collecting the biometric data of the user when it is detected that the user operates on the electronic device, it further includes: inputting the preset biometric data;
[0026] Among them, the inputting of the preset biometric data includes:
[0027] Generating guiding information for guiding the user to input the preset biometric data;
[0028] According to the guiding information, pre-collecting biometric data;
[0029] Storing the pre-collected biometric data as the preset biometric data.
[0030] Preferably, after encrypting the privacy data in the electronic device if the matching fails, it further includes:
[0031] Saving the biometric data of the user for display after the biometric data is successfully matched next time.
[0032] In a second aspect, through an embodiment of the present invention, the following technical solution is provided:
[0033] A device for privacy protection, applied to an input method client, the device includes:
[0034] A collection module, configured to collect the biometric data of the user when it is detected that the user operates on the electronic device;
[0035] A matching module, configured to match the biometric data of the user with preset biometric data in the electronic device;
[0036] An encryption module, configured to encrypt the privacy data in the electronic device if the matching fails.
[0037] Preferably, the device for privacy protection further includes:
[0038] A decryption module, configured to decrypt the encrypted privacy data in the electronic device if the matching is successful after matching the biometric data of the user with the preset biometric data in the electronic device.
[0039] Preferably, the biometric data includes one or more of the following data:
[0040] Facial data;
[0041] Fingerprint data;
[0042] Iris data;
[0043] Pulse data;
[0044] Heart rhythm data.
[0045] Preferably, the privacy data includes one or more of the following data:
[0046] Historical data input by the input method client;
[0047] Content input in the current chat interface;
[0048] Picture files;
[0049] Video files;
[0050] Audio files.
[0051] Preferably, the device for privacy protection further includes:
[0052] An input unit, configured to input the preset biometric data before collecting the biometric data of the user when it is detected that the user operates the electronic device. Specifically, the input unit is configured to:
[0053] Generate guiding information for guiding the user to input the preset biometric data; pre-collect biometric data according to the guiding information; and store the pre-collected biometric data as the preset biometric data.
[0054] Preferably, the device for privacy protection further includes:
[0055] A storage unit, configured to, if the matching fails, encrypt the privacy data in the electronic device and then store the biometric data of the user for display after the next successful biometric data matching.
[0056] In a third aspect, according to an embodiment of the present invention, the following technical solution is provided:
[0057] A device for privacy protection, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the following steps are implemented:
[0058] When it is detected that a user operates an electronic device, collect the biometric data of the user; match the biometric data of the user with the preset biometric data in the electronic device; if the matching fails, encrypt the privacy data in the electronic device.
[0059] In a fourth aspect, according to an embodiment of the present invention, the following technical solution is provided:
[0060] A machine-readable medium, when executed by one or more processors, causes the device to execute any of the privacy protection methods described in the foregoing first aspect.
[0061] One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
[0062] In the embodiments of the present invention, a method for privacy protection is disclosed, including: when it is detected that a user operates an electronic device, collect the biometric data of the user; then match the biometric data of the user with the preset biometric data in the electronic device. If the matching fails, it indicates that the user currently using the electronic device is not the owner of the electronic device. At this time, encrypt the privacy data in the electronic device to achieve the purpose of protecting privacy. Therefore, the technical problem in the prior art that user privacy data is easily leaked when the user terminal is borrowed is solved, and the technical effect that the privacy data will not be leaked when the user terminal is borrowed, ensuring data security, is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for the description of the embodiments. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0064] Figure 1Flowchart of a method for privacy protection in an embodiment of the present invention;
[0065] Figure 2 Schematic diagram of the UI interface when marking privacy data in an embodiment of the present invention;
[0066] Figure 3 Flowchart of the method when inputting preset biometric data in an embodiment of the present invention;
[0067] Figure 4 Schematic diagram of the UI interface when generating guiding information in an embodiment of the present invention;
[0068] Figure 5 Schematic diagram of the UI interface when selecting the type of biometric data in an embodiment of the present invention;
[0069] Figure 6 Schematic diagram of the structure of a device for privacy protection in an embodiment of the present invention;
[0070] Figure 7 Schematic diagram of the structure of a device for privacy protection in an embodiment of the present invention;
[0071] Figure 8 Schematic diagram of the structure of a device for privacy protection in an embodiment of the present invention when serving as a server. Detailed implementation manners
[0072] By providing a method and a device for privacy protection, the embodiments of the present invention solve the technical problem that user privacy data is likely to be leaked when an electronic device is borrowed in the prior art, and achieve the technical effect that privacy data will not be leaked when the electronic device is borrowed, thus ensuring data security.
[0073] The technical solution of the embodiments of the present invention for solving the above technical problem is generally as follows:
[0074] A method for privacy protection, which is applied to an input method client, and the method includes: when it is detected that a user operates on an electronic device, collecting biometric data of the user; matching the biometric data of the user with preset biometric data in the electronic device; if the matching fails, encrypting the privacy data in the electronic device.
[0075] To better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings of the specification and specific implementation manners.
[0076] First, it should be noted that the term "and / or" appearing in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. Additionally, in this article, the character " / " generally represents an "or" relationship between the associated objects before and after.
[0077] Embodiment 1
[0078] This embodiment provides a method for privacy protection, which is applied to an electronic device. The electronic device can be an electronic device with a display screen, such as: a smart phone, a tablet computer, a PC (Personal Computer), an Internet TV, etc. The user can use this electronic device to edit and view information. Here, for what specific device the electronic device is, this embodiment does not make a specific limitation. And, an input method client is installed in this electronic device to provide convenient text input. It should be noted here: For the method in this embodiment, its corresponding program code is integrated in the input method client. That is to say, the execution subject of this method is the input method client.
[0079] Specifically, as Figure 1 shown, the method for privacy protection includes:
[0080] Step S101: When it is detected that the user operates the electronic device, collect the user's biometric data.
[0081] In the specific implementation process, the user's operation on the electronic device can be: the user touches the touch screen of the electronic device, or the user clicks a certain button or any button on the electronic device, or the user uses any hardware or software on the electronic device, or the user uses the specified hardware or software on the electronic device, etc.
[0082] In the specific implementation process, when it is detected that the user operates the electronic device, it means that the electronic device has entered the used state. At this time, there are two situations: First, it is used by the owner of the electronic device; Second, it is used by others. Therefore, at this time, the input method client can generate an activation command to activate the relevant hardware device on the electronic device for biometric data collection.
[0083] In the specific implementation process, a hardware device (or a software program, firmware, etc. that is simultaneously matched and controlled) for collecting biometric data can be set on the electronic device. The hardware device can be: a camera, a fingerprint module (such as an in-screen fingerprint), a pulse sensor, etc.
[0084] In the specific implementation process, the biometric data includes one or more of the following data:
[0085] Facial data, which can be static pictures or dynamic short videos. For example, facial information including blinking eyes or opening the mouth can be collected through a camera.
[0086] Fingerprint data, which can be a user's finger fingerprint or palm print and can be collected through a fingerprint module.
[0087] Iris data, which can be collected through a camera.
[0088] Pulse data or heart rate data, which can be collected through a pulse sensor.
[0089] In addition, the biometric data can also be data representing a user's usage habits, such as using an electronic device with the left hand or the right hand. When collecting data on the user's usage habits, it can be input based on one or more hardware devices, such as a camera, a pressure sensor, and a touch screen (judgment is based on the touch range and frequency on the screen).
[0090] In the specific implementation process, when collecting a user's biometric data, one biometric data can be collected, or multiple biometric data can be collected for comprehensive judgment to improve the recognition accuracy.
[0091] In the specific implementation process, when collecting a user's biometric data, it can be collected in real time by the input method client, or intermittently. Preferably, the intermittent collection method is adopted, which can reduce the power consumption of the electronic device. At the same time, it can timely monitor the changes of the user (for example, the situation where a non-owner uses the mobile phone), so as to encrypt the privacy data in time and avoid the leakage of privacy data.
[0092] Step S102: Match the user's biometric data with the preset biometric data in the electronic device.
[0093] In the specific implementation process, the preset biometric data is the biometric data of the owner of the electronic device, which is stored in the memory of the electronic device (such as read-only memory or flash memory). After the electronic device collects biometric data, the input method client can (directly or indirectly) call the pre-stored preset biometric data for matching.
[0094] In the specific implementation process, the process of biometric data matching can be similarity matching. To ensure the matching efficiency, a threshold can be set for the matching result. For example, the threshold is 95%. If the similarity of the matching result exceeds 95%, it can be determined as a successful match; otherwise, it is determined as a failed match, and the next step is performed.
[0095] Step S103: If the matching fails, encrypt the privacy data in the electronic device.
[0096] In a specific implementation process, if the matching fails (i.e., the collected biometric data fails to match the preset biometric data), it indicates that the user of the electronic device has changed and is no longer the owner. In this case, the input method client can encrypt the privacy data in the electronic device to prevent privacy leakage.
[0097] In a specific implementation process, the privacy data of the user may include one or more of the following data:
[0098] (1) Historical data input by the input method client, such as: input text information, expression information in the input emoticons, input picture information, etc.;
[0099] (2) Content input in the current chat interface, such as: conversation information input in the QQ chat box (when encrypting by the input method client, the received chat information can also be encrypted together), conversation information in the WeChat chat box, comment and communication information in the forum and space;
[0100] (3) Picture files, which can come from the input of the input method client, the shooting by the camera of the electronic device itself, downloading from the Internet, and receiving through chat;
[0101] (4) Video files, such as shooting by the camera, downloading from the Internet, and receiving through chat software;
[0102] (5) Audio files, such as music, recordings, etc.;
[0103] (6) Documents in a preset format, such as text documents (txt), word documents, spreadsheets, slides, etc.
[0104] (7) Application programs, such as: address book, camera, app store, QQ, WeChat, notepad, recorder, etc. This application program can be customized by the user (i.e., the owner).
[0105] As Figure 2 shown, ([ Figure 2 shows the electronic device 10 and the display screen 11 on the electronic device 10), in order to ensure the flexible use of the present invention and improve the personalization degree. The privacy data can be freely selected (marked) by the user of the electronic device (such as: the owner). For example, if the user only marks the historical data input by the input method client as privacy data, then when the biometric data matching fails, the input method client only encrypts the historical data it has input. Taking the historical data input by the input method client as privacy data, the present invention provides the following specific implementation manner:
[0106] The input method client intelligently identifies numbers, letters, sensitive words, etc., and treats the identified numbers and sensitive words as private data, and encrypts them when the biometric data fails to match. For example, the input method client can identify an 18-digit number or a 17-digit number plus a letter as an ID card number, and use it as private data; or, the input method client can identify a 6-digit number or a combination of 7-12 digits, letters and symbols as a password, and use it as private data; or, the input method client can use sentences containing sensitive words as private data, such as sensitive words such as: "account", "password", "mobile phone number", "wife", etc. Sensitive words can also be set by the user (i.e.: the owner of the device).
[0107] The historical data input by the input method client can be cached and marked locally, and the content (or key identification parts) can also be backed up to the cloud to ensure that the data that needs to be encrypted can be accurately located when encrypting private content.
[0108] During the specific implementation process, when encrypting the content input in the current chat interface, the input method client can perform feature recognition on the currently displayed page to determine whether there is a chat box in the current page and the area where the chat box is located. After the determination is completed, all text, emoticons, pictures and other contents in the chat box can be encrypted.
[0109] In the specific implementation process, the form of encryption is not limited, such as hiding, garbled display, partial display, etc.
[0110] In the specific implementation process, the encryption method is not limited, and a reversible encryption algorithm can be used, such as RSA asymmetric encryption algorithm, DES (Data Encryption Standard, DES), 3DES (Triple DES, triple encryption algorithm), AES (Advanced Encryption Standard, AES), SM4 (SMS4.0 block cipher algorithm), etc. In addition, manually customized simple reversible encryption rules can also be used.
[0111] During the specific implementation process, when performing encryption, the input method client can directly encrypt the user's private data; or the input method client can generate an encryption control instruction to call and start encryption software that matches (associated with or supporting) the input method client to encrypt the user's private data.
[0112] In this embodiment, a usage scenario is also provided: when someone else uses the electronic device without the knowledge of the owner of the electronic device, and at this time when the biometric data matching fails, the input method client can locally save the collected biometric data or transmit it to the cloud for storage. After the biometric data matches successfully the next time, the input method client generates a privacy prompt message, and displays or enters through the privacy prompt message to display the biometric data (such as: face data) collected last time (or historically collected), so as to inform the host of the electronic device who has viewed the electronic device.
[0113] Here, in order to ensure the validity of the saved biometric data and exclude the situation where someone accidentally touches the electronic device, the following biometric data storage method is provided in this embodiment:
[0114] Set a time threshold for saving biometric data. This time threshold can be custom-set. After the currently collected biometric data fails to match the preset biometric data, the currently collected biometric data is temporarily saved (logically saved). After the interval time exceeds the above time threshold (for example: within 5 to 10 seconds), biometric data is collected again. If the biometric data collected twice is the same (that is: the match is successful), it is determined that the user corresponding to the temporarily saved biometric data is indeed viewing the content in the electronic device (not accidentally touching the electronic device). At this time, the temporarily saved biometric data is physically saved, thus ensuring the validity of the saved biometric data.
[0115] There is the following scenario in this embodiment that applies to this privacy protection method:
[0116] For the usage scenario of borrowing an electronic device, an entry for setting can be provided in the input method to which the method provided by the present invention is applied, for setting the access time of a specified application. Set the access time, number of times, etc. after the collected biometric data fails to match the preset biometric data. For example, when the electronic device is borrowed and the collected biometric data fails to match, the usage time of the browser of the electronic device is 30 minutes, and after 30 minutes, it will be hidden in the background by the input method and encrypted. Another example is that when the electronic device is borrowed and the collected biometric data fails to match, the access times of the notepad installed on the electronic device are 2 or 3 times. After the access times exceed the set number of times, it will be hidden in the background by the input method and encrypted. Thus, the multi-scenario applicability of the electronic device can be improved while ensuring the security of privacy data.
[0117] In this embodiment, when the biometric data matches the preset biometric data successfully, the input method client can decrypt the encrypted privacy data in the electronic device. That is to say, after determining that the current user is the device owner, the encrypted privacy data is decrypted.
[0118] As an alternative embodiment, before step S101, it further includes: inputting the preset biometric data.
[0119] Specifically, as Figure 3 shown, the inputting of the preset biometric data includes:
[0120] Step S301: Generate guiding information for guiding the user to input the preset biometric data.
[0121] In the specific implementation process, as Figure 4 shown, the guiding information can pop up automatically when the user (such as the device owner) uses the input method client, or the user can actively enter the settings interface of the input method client and operate to enter. The guiding information can include: text for guiding the user's operation, options for the user to select (the options can include the categories of inputting the preset biometric data, such as face data, fingerprint data, iris data, etc.), and the user can select one or more biometric data for matching, as Figure 5 shown.
[0122] Step S302: Pre-collect biometric data according to the guiding information.
[0123] In the specific implementation process, the collection method of the biometric data is the same as that in step S101, which will not be elaborated here.
[0124] Step S303: Store the pre-collected biometric data as the preset biometric data.
[0125] In the specific implementation process, the stored preset biometric data is used for the matching comparison in step S102.
[0126] As an alternative embodiment, the electronic device in this embodiment can be used by multiple users at the same time. These users are all legal users of the electronic device. The preset biometric data of each legal user can be stored in the electronic device, and the privacy data of each legal user is also stored. The input method client can encrypt and decrypt these privacy data separately, and the privacy data of each legal user can be protected.
[0127] For example, an electronic device is used by user A and user B at the same time. The preset biometric data A of user A and the preset biometric data B of user B are stored in the electronic device. At the same time, the private data A of user A and the private data B of user B are also stored. By default, both the private data A and the private data B are in an encrypted state. When performing step S101-step S102, if it is found that the biometric data of the current user matches the biometric data A, it means that user A is using the electronic device, and then the private data A is decrypted; after a preset period (for example: after 30 seconds or 1 minute), the electronic device performs step S101-step S102 again. If it is found that the biometric data of the current user cannot match the preset biometric data A, but can match the biometric data B, it indicates that user A has left and now user B is using the electronic device. Then, the private data B can be decrypted, and at the same time, the private data A is encrypted.
[0128] The technical solutions in the above embodiments of the present invention at least have the following technical effects or advantages:
[0129] In an embodiment of the present invention, a method for privacy protection is disclosed, including: when it is detected that a user operates an electronic device, collecting the biometric data of the user; then matching the biometric data of the user with the preset biometric data in the electronic device. If the matching fails, it means that the user currently using the electronic device is not the owner of the electronic device. At this time, the private data in the electronic device is encrypted to achieve the purpose of protecting privacy. Therefore, the technical problem that the user's private data is easily leaked when the user terminal in the prior art is borrowed is solved, and the technical effect that the private data will not be leaked when the user terminal is borrowed is realized, ensuring data security.
[0130] Embodiment 2
[0131] Based on the same inventive concept, this embodiment provides a device for privacy protection, which is applied to an input method client, as Figure 6 shown, the device includes:
[0132] A collection module 601, configured to collect the biometric data 602 of the user when it is detected that the user operates the electronic device;
[0133] A matching module 603, configured to match the biometric data of the user with the preset biometric data in the electronic device;
[0134] An encryption module 604, configured to encrypt the private data in the electronic device if the matching fails.
[0135] As an optional embodiment, the device for privacy protection further includes:
[0136] A decryption module, configured to decrypt the encrypted privacy data in the electronic device if the matching is successful after matching the biometric data of the user with the preset biometric data in the electronic device.
[0137] As an optional embodiment, the biometric data includes one or more of the following data:
[0138] Facial data;
[0139] Fingerprint data;
[0140] Iris data;
[0141] Pulse data;
[0142] Heart rhythm data.
[0143] As an optional embodiment, the privacy data includes one or more of the following data:
[0144] Historical data input by the input method client;
[0145] Content input in the current chat interface;
[0146] Picture files;
[0147] Video files;
[0148] Audio files.
[0149] As an optional embodiment, the device for privacy protection further includes:
[0150] An input unit, configured to input the preset biometric data before collecting the biometric data of the user when it is detected that the user operates on the electronic device; specifically, the input unit is configured to:
[0151] Generate guiding information for guiding the user to input the preset biometric data; according to the guiding information, perform pre-collection of biometric data; and store the pre-collected biometric data as the preset biometric data.
[0152] As an optional embodiment, the device for privacy protection further includes:
[0153] A saving unit, configured to save the biometric data of the user after encrypting the privacy data in the electronic device if the matching fails, for display after the biometric data is successfully matched next time.
[0154] Since the device for privacy protection introduced in this embodiment is the device used to implement the method for privacy protection in the embodiments of the present invention, based on the method for privacy protection using the information introduced in the embodiments of the present invention, those skilled in the art can understand the specific implementation manners and various variations of the device for privacy protection in this embodiment. Therefore, the implementation of how this device for privacy protection realizes the method in the embodiments of the present invention will not be described in detail here. As long as those skilled in the art implement the device used to implement the method for privacy protection in the embodiments of the present invention, it falls within the scope of protection of the present invention.
[0155] The technical solutions in the embodiments of the present application described above have at least the following technical effects or advantages:
[0156] In an embodiment of the present invention, a device for privacy protection is disclosed, which is applied to an input method client. The device includes: a collection module, configured to collect biometric data of the user when it is detected that the user operates on the electronic device; a matching module, configured to match the biometric data of the user with preset biometric data in the electronic device; and an encryption module, configured to encrypt the privacy data in the electronic device if the matching fails. Therefore, the technical problem that the user's privacy data is likely to be leaked when the user terminal is borrowed in the prior art is solved, and the technical effect that the privacy data will not be leaked when the user terminal is borrowed is achieved, ensuring data security.
[0157] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0158] Figure 7 It is a block diagram of a device 800 for privacy protection shown according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0159] Refer to Figure 7 , the device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0160] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-described methods. Additionally, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0161] The memory 804 is configured to store various types of data to support the operation of the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disks, or optical disks.
[0162] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0163] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may not only sense the boundaries of the touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each of the front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0164] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.
[0165] The I / O interface 812 provides an interface between the processing component 802 and peripheral interface modules, and the peripheral interface modules may be a keyboard, click wheel, buttons, etc. These buttons can include, but are not limited to: home button, volume button, power button, and lock button.
[0166] The sensor component 814 includes one or more sensors for providing an assessment of the state of the device 800 in various aspects. For example, the sensor component 814 can detect the on / off state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor component 814 can also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor component 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 814 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0167] The communication component 816 is configured to facilitate communication between the device 800 and other devices in a wired or wireless manner. The device 800 can access a wireless network based on communication standards, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0168] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.
[0169] In an exemplary embodiment, a non-transitory machine-readable medium including instructions is also provided, such as a memory 804 including instructions, and the above instructions can be executed by a processor 820 of the apparatus 800 to complete the above method. For example, the non-transitory machine-readable medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0170] A machine-readable medium, specifically a non-transitory machine-readable medium, when executed by one or more processors, causes the apparatus to perform the method for privacy protection described in any one of the foregoing first embodiments.
[0171] Figure 8 It is a schematic structural diagram of a server in an embodiment of the present invention. The server 1900 may vary greatly due to different configurations or performances, and may include one or more central processing units (CPUs) 1922 (for example, one or more processors) and a memory 1932, and one or more storage media 1930 (for example, one or more mass storage devices) for storing application programs 1942 or data 1944. Among them, the memory 1932 and the storage media 1930 may be transient storage or persistent storage. The program stored in the storage media 1930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Further, the central processor 1922 may be configured to communicate with the storage media 1930 and execute a series of instruction operations in the storage media 1930 on the server 1900.
[0172] The server 1900 may further include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input / output interfaces 1958, one or more keyboards 1956, and / or one or more operating systems 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0173] Other embodiments of the present invention will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the invention, which follow the general principles of the invention and include known common knowledge or conventional technical means in the technical field not disclosed in this disclosure. The specification and examples are only considered exemplary, and the true scope and spirit of the present invention are pointed out by the following claims.
[0174] It should be understood that the present invention is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims. The above 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 shall be included within the protection scope of the present invention.
Claims
1. A method for privacy protection, characterized in that, Applied to an input method client, the method includes: Generating guiding information for guiding a user to input preset biometric data, the guiding information including: text for guiding the user's operation, options for the user to select, the options including categories for inputting the preset biometric data, and the categories including at least one of face data and iris data; Pre-collecting biometric data according to the guiding information; Storing the pre-collected biometric data as the preset biometric data; When it is detected that the current user operating the electronic device, collecting the biometric data of the current user, and the collected biometric data includes at least one of face data and iris data; Matching the biometric data of the current user with the preset biometric data in the electronic device, and the biometric data participating in the matching further includes data characterizing the user's usage habits, and the data characterizing the user's usage habits is obtained based on the camera, pressure sensor, and touch screen input, and the data characterizing the user's usage habits includes the dominant hand when using the electronic device and the data for judging the touch range and frequency of the user on the screen collected by the touch screen; If the matching fails, the input method client directly performs an encryption operation through at least one of the following Method 1 to Method 2: Method 1: When the historical data input by the input method client is used as privacy data, intelligently identify numbers, letters, and sensitive words, and encrypt the identified numbers, letters, and sensitive words, and the historical data includes at least one of the input text information, expression information in the emoji, and picture information; Method 2: When the content input in the current chat interface is used as privacy data, perform feature recognition on the current display page to determine whether there is a chat box in the current display page and the area where the chat box is located, and after the determination, encrypt the content in the chat box, and the content input in the current chat interface further includes conversation information and comment and communication information; After the biometric data of the currently used user collected fails to match the preset biometric data, in response to the access operation to the specified application exceeding the preset access time or the preset access times, the input method client hides the specified application to the background and encrypts it, and the specified application is other applications installed on the electronic device except the input method client; the preset access time and the preset access times are set through the setting entry provided by the input method client; The electronic device corresponds to multiple legitimate users, including a first user and a second user. The preset biometric data corresponding to the first user is first preset biometric data, and the preset biometric data corresponding to the second user is second preset biometric data. The privacy data corresponding to the first user is first privacy data, and the privacy data corresponding to the second user is second privacy data. If the biometric data of the currently using user collected matches the first preset biometric data, the first privacy data is decrypted, and the second privacy data remains encrypted. After a preset period, the steps of collecting the biometric data of the currently using user when it is detected that the currently using user operates the electronic device and matching the biometric data of the currently using user with the preset biometric data in the electronic device are executed again in sequence. If the biometric data of the currently using user collected does not match the first preset biometric data and the biometric data of the currently using user collected matches the second preset biometric data, the second privacy data is decrypted, and at the same time, the first privacy data is encrypted; The method further includes: After the biometric data of the currently using user collected fails to match the preset biometric data, the biometric data of the currently using user is temporarily saved; In response to the time interval from the temporary saving exceeding a time threshold, biometric data collection is performed again. If the newly collected biometric data matches the temporarily saved biometric data successfully, it is determined that the user to whom the temporarily saved biometric data belongs is viewing the content in the electronic device, and the temporarily saved biometric data is physically saved; After the next successful biometric data match, a privacy prompt message is generated, which is used to trigger the display of the biometric data that has been historically collected and physically saved.
2. The method according to claim 1, characterized in that After matching the biometric data of the currently using user with the preset biometric data in the electronic device, it further includes: If the match is successful, the encrypted privacy data in the electronic device is decrypted.
3. The method for privacy protection according to claim 1, wherein, The biometric data further includes: fingerprint data.
4. A device for privacy protection, characterized in that, Applied to an input method client, the device includes: An input unit, configured to generate guiding information for guiding a user to input preset biometric data. The guiding information includes: text for guiding the user to operate, options for the user to select, where the options include categories for inputting the preset biometric data, and the categories include at least one of face data and iris data; pre-collect biometric data according to the guiding information; store the pre-collected biometric data as the preset biometric data; A collection module, configured to collect the biometric data of the currently using user when it is detected that the currently using user operates the electronic device, and the collected biometric data includes at least one of face data and iris data; A matching module, configured to match the biometric data of the currently used user with the preset biometric data in the electronic device. The biometric data participating in the matching further includes data characterizing the user's usage habits, and the data characterizing the user's usage habits is obtained based on the camera, pressure sensor, and touch screen input. The data characterizing the user's usage habits includes the dominant hand when using the electronic device and the data collected by the touch screen for judging the touch range and frequency of the user on the screen; An encryption module, configured to, if the matching fails, directly perform an encryption operation by at least one of the following methods 1 to 2 by the input method client: Method 1: When the historical data input by the input method client is used as private data, perform intelligent recognition on numbers, letters, and sensitive words, and encrypt the recognized numbers, letters, and sensitive words. The historical data includes at least one of the input text information, the expression information in the emoji, and the picture information; Method 2: When the content input in the current chat interface is used as private data, perform feature recognition on the current display page to judge whether there is a chat box in the current display page and the area where the chat box is located. After the judgment, encrypt the content in the chat box. The content input in the current chat interface further includes conversation information and comment and communication information; The encryption module is further configured to, after the biometric data of the currently used user collected fails to match the preset biometric data, in response to the access operation to the specified application exceeding the preset access time or exceeding the preset access times, hide the specified application to the background and encrypt it by the input method client. The specified application is other applications installed on the electronic device except the input method client; the preset access time and the preset access times are set through the setting entry provided by the input method client; The electronic device corresponds to multiple legitimate users, and the legitimate users include a first user and a second user. The preset biometric data corresponding to the first user is the first preset biometric data, the preset biometric data corresponding to the second user is the second preset biometric data, the private data corresponding to the first user is the first private data, and the private data corresponding to the second user is the second private data; A module for performing the following steps: If the biometric data of the currently using user collected matches the first preset biometric data, decrypt the first privacy data and keep the second privacy data encrypted; after a preset time period, perform again in sequence the step of collecting the biometric data of the currently using user when it is monitored that the currently using user operates the electronic device and the step of matching the biometric data of the currently using user with the preset biometric data in the electronic device. If the biometric data of the currently using user collected does not match the first preset biometric data and the biometric data of the currently using user collected matches the second preset biometric data, decrypt the second privacy data and encrypt the first privacy data at the same time. The device further includes: A storage unit for temporarily storing the biometric data of the currently using user after the biometric data of the currently using user collected fails to match the preset biometric data; in response to the time interval from the temporary storage exceeding a time threshold, perform biometric data collection again; if the newly collected biometric data matches the temporarily stored biometric data, determine that the user to whom the temporarily stored biometric data belongs is viewing the content in the electronic device, and physically store the temporarily stored biometric data. A module for performing the following steps: After the next biometric data match is successful, generate a privacy prompt message for triggering the display of the biometric data collected and physically stored historically.
5. The device for privacy protection according to claim 4, characterized in that, It further includes: A decryption module for decrypting the encrypted privacy data in the electronic device if the match is successful after matching the biometric data of the currently using user with the preset biometric data in the electronic device.
6. The device for privacy protection according to claim 4, characterized in that, The biometric data further includes fingerprint data.
7. A device for privacy protection, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, Applied to an input method client, when the processor executes the computer program, the following steps are implemented: Generate guiding information for guiding the user to input preset biometric data, where the guiding information includes: text for guiding the user's operation, options for the user to select, and the options include the categories of inputting the preset biometric data, and the categories include at least one of face data and iris data; Pre-collect biometric data according to the guiding information; Store the pre-collected biometric data as the preset biometric data; When it is monitored that the currently using user operates the electronic device, collect the biometric data of the currently using user, and the collected biometric data includes at least one of face data and iris data; Match the biometric data of the currently used user with the preset biometric data in the electronic device. The biometric data participating in the match further includes data characterizing the user's usage habits, and the data characterizing the user's usage habits is obtained based on the camera, pressure sensor, and touch screen input. The data characterizing the user's usage habits includes the dominant hand when using the electronic device and the data collected by the touch screen for judging the touch range and frequency of the user on the screen; If the match fails, the input method client directly performs an encryption operation through at least one of the following methods 1 to 2: Method 1: When the historical data input by the input method client is used as private data, perform intelligent recognition on numbers, letters, and sensitive words, and encrypt the recognized numbers, letters, and sensitive words. The historical data includes at least one of the input text information, the expression information in the emoji, and the picture information; Method 2: When the content input in the current chat interface is used as private data, perform feature recognition on the current display page to determine whether there is a chat box in the current display page and the area where the chat box is located. After the determination, encrypt the content in the chat box. The content input in the current chat interface further includes conversation information and comment and communication information; After the biometric data of the currently used user collected fails to match the preset biometric data, when the access operation to the specified application exceeds the preset access time or the preset access times, the input method client hides the specified application to the background and encrypts it. The specified application is other applications installed on the electronic device except the input method client; The preset access time and the preset access times are set through the setting entry provided by the input method client; The electronic device corresponds to multiple legitimate users, and the legitimate users include a first user and a second user. The preset biometric data corresponding to the first user is the first preset biometric data, the preset biometric data corresponding to the second user is the second preset biometric data, the private data corresponding to the first user is the first private data, and the private data corresponding to the second user is the second private data. If the biometric data of the currently used user collected matches the first preset biometric data, decrypt the first private data and keep the second private data encrypted. After a preset period, perform again in sequence the steps of collecting the biometric data of the currently used user when monitoring that the currently used user operates the electronic device and matching the biometric data of the currently used user with the preset biometric data in the electronic device. If the biometric data of the currently used user collected does not match the first preset biometric data and the biometric data of the currently used user collected matches the second preset biometric data, decrypt the second private data and encrypt the first private data at the same time; The steps further include: After the biometric data of the currently using user collected fails to match the preset biometric data, the biometric data of the currently using user is temporarily saved; After the time interval since the temporary saving exceeds the time threshold, biometric data is collected again; if the newly collected biometric data matches the temporarily saved biometric data, it is determined that the user to whom the temporarily saved biometric data belongs is viewing the content in the electronic device, and the temporarily saved biometric data is physically saved; After the next successful biometric data match, a privacy prompt message is generated, and the privacy prompt message is used to trigger the display of the biometric data that has been historically collected and physically saved.
8. A machine-readable medium, characterized in that, Stored thereon are instructions that, when executed by one or more processors, cause the device to perform the method for privacy protection as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Time control-based human eye detection personal screen anti-peep system and method
CN103402006A
Method and device for protecting privacy content in intelligent terminal based on screen lock
CN104166813A
Eyeball tracking technology based privacy protection method and system
CN105303091A
Privacy protection method and privacy protection device
CN107133509A