+

WO2016192165A1 - Data encryption method and apparatus - Google Patents

Data encryption method and apparatus Download PDF

Info

Publication number
WO2016192165A1
WO2016192165A1 PCT/CN2015/082991 CN2015082991W WO2016192165A1 WO 2016192165 A1 WO2016192165 A1 WO 2016192165A1 CN 2015082991 W CN2015082991 W CN 2015082991W WO 2016192165 A1 WO2016192165 A1 WO 2016192165A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
information
fingerprint information
user
interface
Prior art date
Application number
PCT/CN2015/082991
Other languages
French (fr)
Chinese (zh)
Inventor
吴炽强
王文林
张娜
Original Assignee
宇龙计算机通信科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2016192165A1 publication Critical patent/WO2016192165A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2149Restricted operating environment

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data encryption method and apparatus.
  • the commonly used data encryption method is to encrypt the data in advance, and then decrypt the data in a specific way to complete the reading of the data, thereby realizing the protection of the data.
  • the user's photo album and short message are private data
  • all the photos of the photo album and all the short messages are encrypted, and then some of the photos or short messages need to be viewed, and then The locality receives the fingerprint or password to decrypt the data to be viewed, thereby realizing the protection of the private data.
  • the embodiment of the invention provides a data encryption method and device.
  • the data encryption method does not need to encrypt each file or application, and uses the touch screen full-screen setting fingerprint sensor to obtain the fingerprint information of the user when the touch operation is performed at any position on the touch screen, and the preset fingerprint information is compared.
  • the fingerprint of the operation matches the preset fingerprint
  • the touch operation is effective, and the application or file can be opened.
  • the touch operation does not match the preset fingerprint, the touch operation is invalid, or the terminal automatically encrypts and/or hides the document.
  • the data encryption method provided by this proposal does not require the owner to encrypt each file to achieve privacy protection, because there is no need to encrypt each file or application to reduce system overhead and improve efficiency.
  • a first aspect of the embodiments of the present invention provides a data encryption method, including:
  • the fingerprint information does not match the preset fingerprint information, encrypt and/or hide the preset information, or block the touch operation.
  • a first aspect of the embodiments of the present invention provides a data encryption apparatus, including:
  • a reading module configured to acquire fingerprint information when the user touches the touch screen on the preset interface, where the preset interface is an access interface of preset information;
  • a determining module configured to determine whether the fingerprint information matches the preset fingerprint information
  • the encryption module is configured to encrypt and/or hide the preset information or block the touch operation if the fingerprint information does not match the preset fingerprint information.
  • the fingerprint information of the touch operation performed by the user on the touch screen is obtained on the preset interface, and the preset interface is an access interface of the preset information; determining the fingerprint information and the preset fingerprint Whether the information matches; if the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked. Therefore, when the fingerprint information obtained by the user on the preset interface does not match the fingerprint information of the touch screen, only the preset information is encrypted, the calculation amount is small, the system overhead is small, and the efficiency is high.
  • FIG. 1 is a schematic flowchart of a search method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of another search method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a data encryption apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another data encryption apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of still another data encryption apparatus according to an embodiment of the present invention.
  • the embodiment of the invention provides a data encryption method and device.
  • the data encryption method does not need to encrypt each file or application, and uses the touch screen full-screen setting fingerprint sensor to obtain the fingerprint information of the user when the touch operation is performed at any position on the touch screen, and the preset fingerprint information is compared.
  • the fingerprint of the operation matches the preset fingerprint
  • the touch operation is effective, and the application or file can be opened.
  • the touch operation does not match the preset fingerprint, the touch operation is invalid, or the terminal automatically encrypts and/or hides the document.
  • the data encryption method provided by this proposal does not require the owner to encrypt each file to achieve privacy protection, because there is no need to encrypt each file or application to reduce system overhead and improve efficiency.
  • the data encryption method includes: acquiring, on a preset interface, fingerprint information when a user performs a touch operation on a touch screen, where the preset interface refers to accessing preset information.
  • the interface determines whether the fingerprint information matches the preset fingerprint information; if the fingerprint information does not match the preset fingerprint information, encrypting and/or hiding the preset information, or shielding the touch Operation, temporarily invalidating the touch operation. .
  • FIG. 1 is a schematic flowchart of a data encryption method according to an embodiment of the present invention.
  • a data encryption method provided by an embodiment of the present invention may include:
  • the preset information refers to specific information stored in a specific location in the terminal, set by the terminal system or the user, and needs to be restricted for access, including specific data or a specific application, such as a mobile phone photo album, a mobile phone short message, and QQ.
  • Specific applications such as WeChat, can also be a certain photo album in the mobile phone photo album application, SMS in the mobile phone SMS application, etc., and can also be a specific file stored in the terminal;
  • the preset interface refers to a user interface provided by the terminal to the user to access preset information, such as an access interface of a mobile phone photo album, a mobile phone short message, or the like, or an interface of a specified album after the mobile phone enters the album; the preset interface may also be a screen Unlock the interface and more.
  • the terminal refers to a smart terminal such as a mobile phone or a tablet computer.
  • the terminal has a touch screen capable of fingerprint recognition, and the touch screen can sense a user's pressing, sliding, and the like, and can recognize a fingerprint that is in contact with the touch screen.
  • the terminal can obtain the fingerprint information when the user touches the touch screen through any position of the touch screen with the fingerprint recognition on the preset interface.
  • the preset interface sets an access interface of the preset information as a preset interface according to a user's needs, so that the user enters the application or data through the preset interface.
  • the terminal recognizes the fingerprint information when the user touches the touch screen through the touch screen in real time.
  • the preset interface is set to access the user interface of the photo album, and when the user accesses the user interface, the terminal reads the user in real time. Fingerprint information when the touch screen is touched on the user interface.
  • the preset interface acquires the fingerprint information when the user touches the touch screen
  • the pressing operation of the user on the preset interface may be recognized.
  • the preset interface acquires the fingerprint information when the user touches the touch screen
  • the sliding operation of the user on the preset interface may be recognized.
  • the fingerprint information refers to the fingerprint information read by the user on the preset interface, and the fingerprint sensor can sense the pressing, sliding, and the like of the user on the touch screen to perform fingerprint recognition.
  • the preset fingerprint information refers to fingerprint information pre-stored in the terminal, and is used for comparing with the fingerprint information when the received user touches the touch screen through the touch screen.
  • the preset fingerprint information may be one, Therefore, the received fingerprint information of the user only needs to be compared with the preset fingerprint information, and it is determined whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information.
  • the preset fingerprint information may also be multiple, so that the received fingerprint information of the user touching the touch screen needs to be compared with multiple preset fingerprint information. It is used to determine whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information.
  • the preset fingerprint information entering different applications may be different or the same.
  • the preset fingerprint information may be changed by a licensed user.
  • the fingerprint information does not match the preset fingerprint information, encrypt and/or hide the preset information, or block the touch operation.
  • the masking operation refers to temporarily invalidating the touch operation of the user on the preset interface when the obtained fingerprint information of the user touches the touch screen does not match the preset fingerprint information, thereby causing the non-acquisition to be obtained.
  • the fingerprint information is preset, the fingerprint information of the touch screen of the user is no longer acquired in the preset interface, and the system overhead is reduced.
  • the preset interface is entered again, the touch operation is automatically restored again.
  • the preset fingerprint information when the preset fingerprint information is one, determining whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information, and if the user touches the touch screen If the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset fingerprint information when the preset fingerprint information is multiple, determining whether the fingerprint information when the user touches the touch screen matches any one of the preset fingerprint information, if the user When the fingerprint information when the touch screen is touched matches any one of the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset fingerprint information may be set as the fingerprint of Zhang San and Li Si, then When the fingerprint information is received on the access interface of the mobile phone album, the fingerprint information is compared with the preset fingerprints of Zhang San and Li Si, and if it does not match, the mobile phone album is denied access.
  • the preset fingerprint information is set as the fingerprint of Zhang San, then When the fingerprint information is received on the access interface of the specific album, the fingerprint letter is received. The information is compared with the preset fingerprint of Zhang San. If it does not match, the specific album is encrypted and hidden, or the touch operation is blocked, so that the touch operation is temporarily disabled.
  • the preset information is encrypted by using a general manner of setting a password for the preset information.
  • the fingerprint information of the touch operation performed by the user on the touch screen is obtained on the preset interface, and the preset interface refers to the access interface of the preset information; determining the fingerprint information and the preset fingerprint Whether the information is matched or not; if the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked, so that the touch operation is temporarily disabled. Therefore, when the fingerprint information obtained by the user on the preset interface does not match the fingerprint information of the touch screen, only the preset information is encrypted, the calculation amount is small, the system overhead is small, and the efficiency is high.
  • the preset information includes specific data or a specific application, where the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset information is specific data, encrypting and/or hiding the preset information, or shielding the touch operation;
  • the preset information is a specific application, encrypt the preset information and/or terminate access to the preset information, or block the touch operation.
  • the specific data when the specific data is encrypted, the specific data may be encrypted with a password.
  • the data when the specific data is encrypted, the data may be encrypted by using a certain encoding manner.
  • the preset information is specific data
  • the fingerprint information and the preset fingerprint information are used. If the data is not matched, the private file can be encrypted, or the private file can be hidden. The private file can be encrypted and hidden, or the touch operation performed by the user on the touch screen can be blocked at this time, so that the touch operation is temporarily disabled. Invalidation to protect private files.
  • the preset information is a specific application
  • taking the mobile phone photo album application as an example
  • the fingerprint information of the user touching the touch screen does not match the preset fingerprint information
  • the mobile phone photo album application can be encrypted, and the user needs to input a password to enter.
  • the user can also terminate the access to the mobile phone album, or block the touch operation performed by the user on the touch screen at this time, so that the touch operation is temporarily disabled, thereby implementing privacy protection for the mobile phone photo album application.
  • the preset information is specific data
  • the specific data is encrypted and/or hidden, or the touch operation performed by the user on the touch screen is blocked. Temporarily invalidating the touch operation can prevent the user from continuing to access specific data and protect the specific data.
  • the preset information is a specific application
  • the specific application encrypts and/or terminates the user's continued access to the application, or blocks the user's touch operation on the touch screen, temporarily disables the touch operation, implements privacy protection for a specific application, and is only for specific data or specific applications. Encryption, rather than encrypting all data, is computationally intensive.
  • the acquiring, by the preset interface, fingerprint information when the user performs a touch operation on the touch screen including:
  • the fingerprint information is acquired when the pressing operation occurs;
  • the fingerprint information is acquired at the start time of the sliding operation.
  • the fingerprint information is identified.
  • the terminal installs the fingerprint sensor under the screen, so that the terminal can obtain the fingerprint information when the user touches the touch screen at any position on the user touch the preset interface screen, which is convenient for the user. operating.
  • the terminal may also read the fingerprint information when the user touches the touch screen at a specific location of the preset interface.
  • the touch operation performed on the touch screen by the user on the preset interface may be a pressing operation
  • the fingerprint information when the pressing operation is received may correctly recognize the fingerprint of the user
  • the user touches the touch screen on the preset interface
  • the touch operation is performed as a sliding operation
  • the fingerprint information of the user touching the preset interface at the start of the sliding moment can correctly identify the fingerprint of the user.
  • the method further includes:
  • a photo when a photo is generated by taking a photo with a mobile phone and the photo is stored in a mobile phone photo album, no photo encryption processing is performed on the photo stored in the mobile phone photo album, only in subsequent users.
  • a specific photo in the mobile phone album is read, if the fingerprint information when the user touches the touch screen does not match the preset fingerprint information, the specific photo is encrypted, so that the calculation amount is small and the efficiency is high.
  • the information is encrypted in the process of information generation, all the information needs to be encrypted, and when any information is read, the decryption is required accordingly, resulting in a large amount of calculation.
  • the system overhead is large; in the process of information generation, the information is not encrypted, and only when the user reads the preset information, when the fingerprint information of the user touches the touch screen does not match the preset fingerprint information, only the user needs The preset information of the access is encrypted, and the encrypted preset information is only a part of the total information, and the amount of data is small, so that the calculation amount is small, the system overhead is small, and the efficiency is high.
  • the method further includes:
  • the preset information is displayed.
  • the method further includes:
  • the preset information is specific data
  • the fingerprint information matches the preset fingerprint information
  • the preset information is displayed.
  • the preset information is a private album in the mobile phone album application
  • the photo is not encrypted during the generation of the photo in the private album
  • the viewing is performed.
  • the private photo album, and the fingerprint information when the user touches the touch screen matches the preset fingerprint information can be directly viewed without decrypting the private album, that is, the mobile phone directly displays the private album to the user.
  • the method further includes:
  • the preset information is a specific application, if the fingerprint information matches the preset fingerprint information, the preset information is accessed.
  • the preset information is a mobile phone photo album application
  • the mobile phone photo album application is not encrypted during the initial setting
  • the mobile phone photo album application is accessed, and the user touches the touch screen
  • specific data is not encrypted during the specific data generation process, and the specific application is initially When the initial setting is not encrypted for a specific application, when a user with access rights subsequently accesses, the specific data or a specific application need not be decrypted to directly view specific data or access a specific application, and the system overhead is small and the operation is convenient. .
  • the method further includes:
  • the preset information is decrypted and/or displayed.
  • the preset information is encrypted or the touch operation is blocked, so that the user cannot view the preset information.
  • the protection of the preset information because the touch operation is blocked, the touch operation is temporarily blocked on the preset interface, and when the preset interface is accessed again, the fingerprint information when the user touches the touch screen is continuously obtained, thereby When the preset fingerprint information is obtained, the preset information is presented to the authorized user, and the access of the authorized user to the preset information is realized.
  • the method when the preset information is specific data, if the fingerprint information does not match the preset fingerprint information, the preset is After the information is encrypted and/or hidden, or the touch operation is blocked, the method further includes:
  • the preset information is decrypted and/or displayed.
  • the specific data when the specific data is previously encrypted, the specific data is decrypted when the preset fingerprint information is acquired again, and when the specific data is previously hidden, When the preset fingerprint information is acquired again, the specific data is displayed. When the specific data is previously encrypted and hidden, the specific data is displayed and decrypted when the preset fingerprint information is acquired again.
  • the private file is performed.
  • the encryption process is performed, so that the user cannot access the private file.
  • the fingerprint information when the touch screen is touched by the user is the preset fingerprint information
  • the private file is decrypted, so that the user can access the private file.
  • the method further includes:
  • the preset information is decrypted and/or allowed to be accessed.
  • the preset information is decrypted and/or allowed to be accessed.
  • the specific application when the specific application is previously encrypted, when the re-acquired fingerprint information matches the preset fingerprint information, the specific application is decrypted.
  • the obtained fingerprint information does not match the preset fingerprint information, the user enters the specific application, and when the acquired fingerprint information matches the preset fingerprint information, the specific application is allowed to enter.
  • the mobile phone photo album when accessing the mobile phone photo album, when the fingerprint information of the unprivileged user touching the touch screen is not the preset fingerprint information, the mobile phone photo album is exited when When the fingerprint information of the authorized user touches the touch screen is the preset fingerprint information, the user is allowed to enter the mobile phone album.
  • FIG. 2 is a schematic flowchart diagram of another data encryption method according to another embodiment of the present invention, wherein another data encryption method provided by another embodiment of the present invention is shown in FIG. Can include:
  • the preset information refers to specific information stored in a specific location in the terminal, set by the terminal system or the user, and needs to be restricted for access, including specific data or a specific application, such as a mobile phone photo album, a mobile phone short message, and QQ.
  • Specific applications such as WeChat, can also be a certain photo album in the mobile phone photo album application, SMS in the mobile phone SMS application, etc., and can also be a specific file stored in the terminal;
  • the preset interface refers to a user interface provided by the terminal to the user to access preset information, such as an access interface of a mobile phone photo album, a mobile phone short message, or the like, or an interface of a specified album after the mobile phone enters the album; the preset interface may also be a screen Unlock the interface and more.
  • the terminal refers to a smart terminal such as a mobile phone or a tablet computer.
  • the terminal has a touch screen capable of fingerprint recognition, and the touch screen can sense a user's pressing, sliding, and the like, and can recognize a fingerprint that is in contact with the touch screen.
  • the terminal can obtain the fingerprint information when the user touches the touch screen through any position of the touch screen with the fingerprint recognition on the preset interface.
  • the preset interface sets an access interface of the preset information as a preset interface according to a user's needs, so that the user enters the response through the preset interface.
  • the terminal recognizes the fingerprint information when the user touches the touch screen through the touch screen in real time.
  • the preset interface is set to access the user interface of the photo album, and when the user accesses the user interface, the terminal reads the user in real time. Fingerprint information when the touch screen is touched on the user interface.
  • the preset interface acquires the fingerprint information when the user touches the touch screen
  • the pressing operation of the user on the preset interface may be recognized.
  • the preset interface acquires the fingerprint information when the user touches the touch screen
  • the sliding operation of the user on the preset interface may be recognized.
  • the acquiring, by the preset interface, fingerprint information when the user performs a touch operation on the touch screen including:
  • the fingerprint information is acquired when the pressing operation occurs;
  • the fingerprint information is acquired at the start time of the sliding operation.
  • the fingerprint information is identified.
  • the terminal installs the fingerprint sensor under the screen, so that the terminal can read the fingerprint information when the user touches the touch screen at any position on the user touch the preset interface screen, which is convenient. User action.
  • the terminal may also read the fingerprint information when the user touches the touch screen at a specific location of the preset interface.
  • the touch operation performed on the touch screen by the user on the preset interface may be a pressing operation
  • the fingerprint information when the pressing operation is received may correctly recognize the fingerprint of the user
  • the user touches the touch screen on the preset interface
  • the touch operation is performed as a sliding operation
  • the fingerprint information of the user touching the preset interface at the start of the sliding moment can correctly identify the fingerprint of the user.
  • the fingerprint information refers to the fingerprint information read by the user on the preset interface, and the fingerprint sensor can sense the pressing, sliding, and the like of the user on the touch screen to perform fingerprint recognition.
  • the preset fingerprint information refers to fingerprint information pre-stored in the terminal, and is used for comparing with the fingerprint information when the received user touches the touch screen through the touch screen.
  • the preset fingerprint information may be one, so that the received fingerprint information input by the user only needs to be compared with the preset fingerprint information, and the user touch is determined. Whether the fingerprint information when the touch screen matches the preset fingerprint information.
  • the preset fingerprint information may also be multiple, so that the received fingerprint information of the user touching the touch screen needs to be compared with multiple preset fingerprint information. It is used to determine whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information.
  • the preset fingerprint information entering different applications may be different or the same.
  • the preset fingerprint information may be changed by a licensed user.
  • the fingerprint information does not match the preset fingerprint information, encrypt and/or hide the preset information, or mask the touch operation.
  • the masking operation refers to temporarily invalidating the touch operation of the user on the preset interface when the obtained fingerprint information of the user touches the touch screen does not match the preset fingerprint information, thereby causing the non-acquisition to be obtained.
  • the fingerprint information is preset, the fingerprint information of the touch screen of the user is no longer acquired in the preset interface, and the system overhead is reduced.
  • the preset interface is entered again, the touch operation is automatically restored again.
  • the preset fingerprint information when the preset fingerprint information is one, determining whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information, and if the user touches the touch screen If the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset fingerprint information when the preset fingerprint information is multiple, determining whether the fingerprint information when the user touches the touch screen matches any one of the preset fingerprint information, if the user When the fingerprint information when the touch screen is touched matches any one of the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset fingerprint information may be set as the fingerprint of Zhang San and Li Si, then When the fingerprint information is received on the access interface of the mobile phone album, the fingerprint information is compared with the preset fingerprints of Zhang San and Li Si, and if it does not match, the mobile phone album is denied access.
  • the preset fingerprint information is set as the fingerprint of Zhang San, then When the fingerprint information is received on the access interface of the specific album, the fingerprint information is compared with the preset fingerprint of the third album. If the fingerprint is not matched, the specific album is encrypted and hidden, or the touch operation is blocked. To temporarily disable the touch operation.
  • the preset information is encrypted by using a general manner of setting a password for the preset information.
  • the preset information includes specific data or a specific application, where the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset information is specific data, encrypting and/or hiding the preset information, or shielding the touch operation;
  • the preset information is a specific application, encrypt the preset information and/or terminate access to the preset information, or block the touch operation.
  • the specific data when the specific data is encrypted, the specific data may be encrypted with a password.
  • the data when the specific data is encrypted, the data may be encrypted by using a certain encoding manner.
  • the preset information is specific data
  • the fingerprint information and the preset fingerprint information are used. If the data is not matched, the private file can be encrypted, or the private file can be hidden. The private file can be encrypted and hidden, or the touch operation performed by the user on the touch screen can be blocked at this time, so that the touch operation is temporarily disabled. Invalidation to protect private files.
  • the preset information is a specific application
  • taking the mobile phone photo album application as an example
  • the fingerprint information of the user touching the touch screen does not match the preset fingerprint information
  • the mobile phone photo album application can be encrypted.
  • the user needs to input a password to enter, and the user can be terminated to access the mobile phone photo album, or the touch operation performed by the user on the touch screen is shielded at this time, so that the touch operation is temporarily disabled, thereby achieving Privacy protection for mobile photo album applications.
  • the preset information is specific data
  • the specific data is encrypted and/or hidden, or the user is touched.
  • the touch operation performed by the touch screen temporarily disables the touch operation, and prevents the user from continuing to access specific data, thereby realizing protection of specific data
  • the preset information is a specific application
  • the specific application is encrypted and/or the user is allowed to continue to access the application, or the touch operation performed by the user on the touch screen is blocked, so that the touch operation is temporarily disabled, and the privacy protection for the specific application is realized.
  • the amount of calculation is small.
  • the method further includes:
  • a photo when a photo is generated by taking a photo with a mobile phone and the photo is stored in a mobile phone photo album, no photo encryption processing is performed on the photo stored in the mobile phone photo album, only in subsequent users.
  • a specific photo in the mobile phone album is read, if the fingerprint information when the user touches the touch screen does not match the preset fingerprint information, the specific photo is encrypted, so that the calculation amount is small and the efficiency is high.
  • the information is encrypted in the process of information generation, all the information needs to be encrypted, and when any information is read, the decryption is required accordingly, resulting in a large amount of calculation.
  • the system overhead is large; in the process of information generation, the information is not encrypted, and only when the user reads the preset information, when the fingerprint information of the user touches the touch screen does not match the preset fingerprint information, only the user needs The preset information of the access is encrypted, and the encrypted preset information is only a part of the total information, and the amount of data is small, so that the calculation amount is small, the system overhead is small, and the efficiency is high.
  • the method further includes:
  • the preset information is decrypted and/or displayed.
  • the preset information is encrypted or the touch operation is blocked, so that the user cannot view the preset information.
  • the protection of the preset information because the touch operation is blocked, the touch operation is temporarily blocked on the preset interface, and when the preset interface is accessed again, the fingerprint information when the user touches the touch screen is continuously obtained, thereby When the preset fingerprint information is obtained, the preset information is presented to The privileged user realizes the access of the authorized user to the preset information.
  • the method when the preset information is specific data, if the fingerprint information does not match the preset fingerprint information, the preset is After the information is encrypted and/or hidden, or the touch operation is blocked, the method further includes:
  • the preset information is decrypted and/or displayed.
  • the specific data when the specific data is previously encrypted, the specific data is decrypted when the preset fingerprint information is acquired again, and when the specific data is previously hidden, When the preset fingerprint information is acquired again, the specific data is displayed. When the specific data is previously encrypted and hidden, the specific data is displayed and decrypted when the preset fingerprint information is acquired again.
  • the private file is performed.
  • the encryption process is performed, so that the user cannot access the private file.
  • the fingerprint information when the touch screen is touched by the user is the preset fingerprint information
  • the private file is decrypted, so that the user can access the private file.
  • the method further includes:
  • the preset fingerprint information is obtained again, the preset information is decrypted and/or the preset information is allowed to be accessed.
  • the specific application when the specific application is previously encrypted, when the re-acquired fingerprint information matches the preset fingerprint information, the specific application is decrypted.
  • the obtained fingerprint information does not match the preset fingerprint information, the user enters the specific application, and when the acquired fingerprint information matches the preset fingerprint information, the specific application is allowed to enter.
  • the mobile phone photo album when accessing the mobile phone photo album, when the fingerprint information of the unprivileged user touching the touch screen is not the preset fingerprint information, the mobile phone photo album is exited when When the fingerprint information of the authorized user touches the touch screen is the preset fingerprint information, the user is allowed to enter the mobile phone album.
  • the method further includes:
  • the preset information is displayed.
  • the method further includes:
  • the preset information is specific data
  • the fingerprint information matches the preset fingerprint information
  • the preset information is displayed.
  • the preset information is a private album in the mobile phone album application
  • the photo is not encrypted during the generation of the photo in the private album
  • the viewing is performed.
  • the private photo album, and the fingerprint information when the user touches the touch screen matches the preset fingerprint information can be directly viewed without decrypting the private album, that is, the mobile phone directly displays the private album to the user.
  • the method further includes:
  • the preset information is a specific application, if the fingerprint information matches the preset fingerprint information, the preset information is accessed.
  • the preset information is a mobile phone photo album application
  • the mobile phone photo album application is not encrypted during the initial setting
  • the mobile phone photo album application is accessed, and the user touches the touch screen
  • the fingerprint information of the touch operation performed by the user on the touch screen is obtained on the preset interface, and the preset interface refers to the access interface of the preset information; determining the fingerprint information and the preset fingerprint Whether the information is matched or not; if the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked, so that the touch operation is temporarily disabled. Therefore, when the fingerprint information obtained by the user on the preset interface does not match the fingerprint information of the touch screen, only the preset information is encrypted, the calculation amount is small, the system overhead is small, and the efficiency is high. .
  • the mobile phone photo album is not encrypted. If the mobile phone photo album is to be securely controlled, the mobile phone photo album needs to be set as an application that needs to be accessed by fingerprint recognition, and the mobile phone photo album owner's fingerprint is set to the mobile phone photo album. For the preset fingerprint, when all the users who use the mobile phone access the album in the access interface of the album, when the user presses the screen of the mobile phone At any location, the fingerprint sensor will sense the user's fingerprint and identify the fingerprint.
  • the fingerprint information of the mobile phone owner pressing the mobile phone screen can be recognized as the preset fingerprint information, and the mobile phone owner can directly enter the mobile phone photo album, so that the mobile phone owner does not need to perform the mobile phone photo album when accessing the mobile phone photo album. Any encryption and decryption processing can be accessed, the operation is convenient, and the system overhead is small.
  • the fingerprint information when the user presses the screen of the mobile phone is not the preset fingerprint information, encrypts the mobile phone album, and terminates the user accessing the mobile phone album, and temporarily makes the user in the interface.
  • the operation of the touch screen is invalid, and the touch operation is restored when the user interface is re-entered the next time, thereby realizing the encryption protection of the mobile phone album.
  • the mobile phone again recognizes the fingerprint information when the mobile phone owner presses the touch screen, determines that the fingerprint information is consistent with the preset fingerprint information, re-decrypts the mobile phone photo album, and allows the mobile phone owner to access the photo album.
  • FIG. 3 is a schematic structural diagram of a data encryption apparatus according to an embodiment of the present invention.
  • a data encryption apparatus 300 may include:
  • the reading module 310, the determining module 320, and the encryption module 330 are read.
  • the reading module 310 is configured to acquire fingerprint information when the user touches the touch screen on the preset interface, where the preset interface refers to an access interface of the preset information.
  • the preset information refers to specific information stored in a specific location in the terminal, set by the terminal system or the user, and needs to be restricted for access, including specific data or a specific application, such as a mobile phone photo album, a mobile phone short message, and QQ.
  • Specific applications such as WeChat, can also be a certain photo album in the mobile phone photo album application, SMS in the mobile phone SMS application, etc., and can also be a specific file stored in the terminal;
  • the preset interface refers to a user interface provided by the terminal to the user to access preset information, such as an access interface of a mobile phone photo album, a mobile phone short message, or the like, or an interface of a specified album after the mobile phone enters the album; the preset interface may also be a screen Unlock the interface and more.
  • the terminal refers to a smart terminal such as a mobile phone or a tablet computer.
  • the terminal has a touch screen capable of fingerprint recognition, and the touch screen can sense a user's pressing, sliding, and the like, and can recognize a fingerprint that is in contact with the touch screen.
  • the terminal can obtain the fingerprint information when the user touches the touch screen through any position of the touch screen with the fingerprint recognition on the preset interface.
  • the preset interface is according to a user's needs.
  • the access interface of the preset information is set as a preset interface, so that when the user enters the application or data through the preset interface, the terminal recognizes the fingerprint information when the user touches the touch screen through the touch screen in real time.
  • the preset interface is set to access the user interface of the photo album, and when the user accesses the user interface, the terminal reads the user in real time. Fingerprint information when the touch screen is touched on the user interface.
  • the preset interface acquires the fingerprint information when the user touches the touch screen
  • the pressing operation of the user on the preset interface may be recognized.
  • the preset interface acquires the fingerprint information when the user touches the touch screen
  • the sliding operation of the user on the preset interface may be recognized.
  • the determining module 320 is configured to determine whether the fingerprint information matches the preset fingerprint information.
  • the fingerprint information refers to the fingerprint information read by the user on the preset interface, and the fingerprint sensor can sense the pressing, sliding, and the like of the user on the touch screen to perform fingerprint recognition.
  • the preset fingerprint information refers to fingerprint information pre-stored in the terminal, and is used for comparing with the fingerprint information when the received user touches the touch screen through the touch screen.
  • the preset fingerprint information may be one, so that the received fingerprint information input by the user only needs to be compared with the preset fingerprint information, and the user touch is determined. Whether the fingerprint information when the touch screen matches the preset fingerprint information.
  • the preset fingerprint information may also be multiple, so that the received fingerprint information of the user touching the touch screen needs to be compared with multiple preset fingerprint information. It is used to determine whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information.
  • the preset fingerprint information entering different applications may be different or the same.
  • the preset fingerprint information may be changed by a licensed user.
  • the encryption module 330 is configured to encrypt and/or hide the preset information or block the touch operation if the fingerprint information does not match the preset fingerprint information.
  • the masking operation refers to temporarily invalidating the touch operation of the user on the preset interface when the obtained fingerprint information of the user touches the touch screen does not match the preset fingerprint information, thereby causing the non-acquisition to be obtained.
  • the fingerprint information is preset, the fingerprint information of the user touch screen is no longer acquired in the preset interface. Information, reduce system overhead, when the next time you enter the default interface, the touch operation is automatically restored again.
  • the preset fingerprint information when the preset fingerprint information is one, determining whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information, and if the user touches the touch screen If the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset fingerprint information when the preset fingerprint information is multiple, determining whether the fingerprint information when the user touches the touch screen matches any one of the preset fingerprint information, if the user When the fingerprint information when the touch screen is touched matches any one of the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset fingerprint information may be set as the fingerprint of Zhang San and Li Si, then When the fingerprint information is received on the access interface of the mobile phone album, the fingerprint information is compared with the preset fingerprints of Zhang San and Li Si, and if it does not match, the mobile phone album is denied access.
  • the preset fingerprint information is set as the fingerprint of Zhang San, then When the fingerprint information is received on the access interface of the specific album, the fingerprint information is compared with the preset fingerprint of the third album. If the fingerprint is not matched, the specific album is encrypted and hidden, or the touch operation is blocked. To temporarily disable the touch operation.
  • the preset information is encrypted by using a general manner of setting a password for the preset information.
  • FIG. 4 is a schematic structural diagram of a data encryption apparatus according to an embodiment of the present invention.
  • a data encryption apparatus 300 may include:
  • the reading module 410, the determining module 420, and the encryption module 430 are read.
  • the reading module 410 is configured to acquire fingerprint information when the user touches the touch screen on the preset interface, where the preset interface refers to an access interface of preset information.
  • the preset information refers to specific information stored in a specific location in the terminal, set by the terminal system or the user, and needs to be restricted for access, including specific data or a specific application, such as a mobile phone photo album, a mobile phone short message, and QQ.
  • Specific applications such as WeChat, can also be a certain photo album in the mobile phone photo album application, SMS in the mobile phone SMS application, etc., and can also be a specific file stored in the terminal;
  • the preset interface refers to a user interface provided by the terminal to the user to access preset information, such as an access interface of a mobile phone photo album, a mobile phone short message, or the like, or an interface of a specified album after the mobile phone enters the album; the preset interface may also be a screen Unlock the interface and more.
  • the terminal refers to a smart terminal such as a mobile phone or a tablet computer.
  • the terminal has a touch screen capable of fingerprint recognition, and the touch screen can sense a user's pressing, sliding, and the like, and can recognize a fingerprint that is in contact with the touch screen.
  • the terminal can obtain the fingerprint information when the user touches the touch screen through any position of the touch screen with the fingerprint recognition on the preset interface.
  • the preset interface sets an access interface of the preset information as a preset interface according to a user's needs, so that the user enters the application or data through the preset interface.
  • the terminal recognizes the fingerprint information when the user touches the touch screen through the touch screen in real time.
  • the preset interface is set to access the user interface of the photo album, and when the user accesses the user interface, the terminal reads the user in real time. Fingerprint information when the touch screen is touched on the user interface.
  • the preset interface acquires the fingerprint information when the user touches the touch screen
  • the pressing operation of the user on the preset interface may be recognized.
  • the preset interface acquires the fingerprint information when the user touches the touch screen
  • the sliding operation of the user on the preset interface may be recognized.
  • the determining module 420 is configured to determine whether the fingerprint information matches the preset fingerprint information.
  • the fingerprint information refers to the fingerprint information read by the user on the preset interface, and can be transmitted by using the fingerprint.
  • the sensor senses the user's pressing, sliding, and the like on the touch screen to perform fingerprint recognition.
  • the preset fingerprint information refers to fingerprint information pre-stored in the terminal, and is used for comparing with the fingerprint information when the received user touches the touch screen through the touch screen.
  • the preset fingerprint information may be one, so that the received fingerprint information input by the user only needs to be compared with the preset fingerprint information, and the user touch is determined. Whether the fingerprint information when the touch screen matches the preset fingerprint information.
  • the preset fingerprint information may also be multiple, so that the received fingerprint information of the user touching the touch screen needs to be compared with multiple preset fingerprint information. It is used to determine whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information.
  • the preset fingerprint information entering different applications may be different or the same.
  • the preset fingerprint information may be changed by a licensed user.
  • the encryption module 430 is configured to encrypt and/or hide the preset information or block the touch operation if the fingerprint information does not match the preset fingerprint information.
  • the masking operation refers to temporarily invalidating the touch operation of the user on the preset interface when the obtained fingerprint information of the user touches the touch screen does not match the preset fingerprint information, thereby causing the non-acquisition to be obtained.
  • the fingerprint information is preset, the fingerprint information of the touch screen of the user is no longer acquired in the preset interface, and the system overhead is reduced.
  • the preset interface is entered again, the touch operation is automatically restored again.
  • the preset fingerprint information when the preset fingerprint information is one, determining whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information, and if the user touches the touch screen If the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset fingerprint information when the preset fingerprint information is multiple, determining whether the fingerprint information when the user touches the touch screen matches any one of the preset fingerprint information, if the user When the fingerprint information when the touch screen is touched matches any one of the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset fingerprint information may be set as the fingerprint of Zhang San and Li Si, then When the fingerprint information is received on the access interface of the mobile phone album, the fingerprint information is preset with Zhang San and Li Si's fingerprints are compared. If they do not match, they refuse to access the mobile phone album.
  • the preset fingerprint information is set as the fingerprint of Zhang San, then When the fingerprint information is received on the access interface of the specific album, the fingerprint information is compared with the preset fingerprint of the third album. If the fingerprint is not matched, the specific album is encrypted and hidden, or the touch operation is blocked. To temporarily disable the touch operation.
  • the preset information is encrypted by using a general manner of setting a password for the preset information.
  • the preset information includes specific data or a specific application
  • the encryption module includes:
  • the first encryption unit 431 is configured to: if the preset information is specific data, encrypt and/or hide the preset information, or block the touch operation;
  • the second encryption unit 432 is configured to: if the preset information is a specific application, encrypt and/or terminate accessing the preset information, or block the touch operation.
  • the specific data when the specific data is encrypted, the specific data may be encrypted with a password.
  • the data when the specific data is encrypted, the data may be encrypted by using a certain encoding manner.
  • the preset information is specific data
  • the fingerprint information and the preset fingerprint information are used. If the data is not matched, the private file can be encrypted, or the private file can be hidden. The private file can be encrypted and hidden, or the touch operation performed by the user on the touch screen can be blocked at this time, so that the touch operation is temporarily disabled. Invalidation to protect private files.
  • the preset information is a specific application
  • taking the mobile phone photo album application as an example
  • the fingerprint information of the user touching the touch screen does not match the preset fingerprint information
  • the mobile phone photo album application can be encrypted.
  • the user needs to input a password to enter, and the user can be terminated to access the mobile phone photo album, or the touch operation performed by the user on the touch screen is shielded at this time, so that the touch operation is temporarily disabled, thereby achieving Privacy protection for mobile photo album applications.
  • the preset information is specific data
  • the specific data is encrypted and/or hidden, or the user is touched.
  • the touch operation performed by the touch screen temporarily disables the touch operation, and prevents the user from continuing to access specific data, thereby realizing protection of specific data
  • the preset information is a specific application
  • the specific application is encrypted and/or the user is allowed to continue to access the application, or the touch operation performed by the user on the touch screen is blocked, so that the touch operation is temporarily disabled, and the privacy protection for the specific application is realized.
  • the amount of calculation is small.
  • the reading module includes:
  • the first reading unit 411 is configured to: when the touch operation performed by the user on the touch screen is performed as a pressing operation on the preset interface, obtain the fingerprint information when the pressing operation occurs;
  • the second reading unit 412 is configured to acquire the fingerprint information at the start time of the sliding operation, if the touch operation performed by the user on the touch screen is performed on the preset interface.
  • the fingerprint information is identified.
  • the terminal installs the fingerprint sensor under the screen, so that the terminal can read the fingerprint information when the user touches the touch screen at any position on the user touch the preset interface screen, which is convenient. User action.
  • the terminal may also read the fingerprint information when the user touches the touch screen at a specific location of the preset interface.
  • the touch operation performed on the touch screen by the user on the preset interface may be a pressing operation
  • the fingerprint information when the pressing operation is received may correctly recognize the fingerprint of the user
  • the user touches the touch screen on the preset interface
  • the touch operation is performed as a sliding operation
  • the fingerprint information of the user touching the preset interface at the start of the sliding moment can correctly identify the fingerprint of the user.
  • the data encryption apparatus 400 is further configured to:
  • a photo when a photo is generated by taking a photo with a mobile phone and the photo is stored in a mobile phone photo album, no photo encryption processing is performed on the photo stored in the mobile phone photo album, only in subsequent users.
  • the specific photo is encrypted, thereby It has a small amount of calculation and high efficiency.
  • the information is encrypted in the process of information generation, all the information needs to be encrypted, and when any information is read, the decryption is required accordingly, resulting in a large amount of calculation.
  • the system overhead is large; in the process of information generation, the information is not encrypted, and only when the user reads the preset information, when the fingerprint information of the user touches the touch screen does not match the preset fingerprint information, only the user needs The preset information of the access is encrypted, and the encrypted preset information is only a part of the total information, and the amount of data is small, so that the calculation amount is small, the system overhead is small, and the efficiency is high.
  • the data encryption apparatus 400 further includes a display module 440, configured to:
  • the preset information is displayed.
  • the display module 440 is configured to:
  • the preset information is specific data
  • the fingerprint information matches the preset fingerprint information
  • the preset information is displayed.
  • the preset information is a private album in the mobile phone album application
  • the photo is not encrypted during the generation of the photo in the private album
  • the viewing is performed.
  • the private photo album, and the fingerprint information when the user touches the touch screen matches the preset fingerprint information can be directly viewed without decrypting the private album, that is, the mobile phone directly displays the private album to the user.
  • the display module 440 is configured to:
  • the preset information is a specific application, if the fingerprint information matches the preset fingerprint information, the preset information is accessed.
  • the preset information is a mobile phone photo album application
  • the mobile phone photo album application is not encrypted during the initial setting
  • the mobile phone photo album application is accessed, and the user touches the touch screen
  • the apparatus further includes:
  • the decryption module 450 is configured to decrypt and/or display the preset information if the preset fingerprint is received again.
  • the preset information is encrypted or the touch operation is blocked, so that the user cannot view the preset information.
  • the protection of the preset information because the touch operation is blocked, the touch operation is temporarily blocked on the preset interface, and when the preset interface is accessed again, the fingerprint information when the user touches the touch screen is continuously obtained, thereby When the preset fingerprint information is obtained, the preset information is presented to the authorized user, and the access of the authorized user to the preset information is realized.
  • the decrypting module 450 is configured to:
  • the preset information is decrypted and/or displayed.
  • the specific data when the specific data is previously encrypted, the specific data is decrypted when the preset fingerprint information is acquired again, and when the specific data is previously hidden, When the preset fingerprint information is acquired again, the specific data is displayed. When the specific data is previously encrypted and hidden, the specific data is displayed and decrypted when the preset fingerprint information is acquired again.
  • the private file is performed.
  • the encryption process is performed, so that the user cannot access the private file.
  • the fingerprint information when the touch screen is touched by the user is the preset fingerprint information
  • the private file is decrypted, so that the user can access the private file.
  • the decrypting module 450 is configured to:
  • the preset fingerprint information is obtained again, the preset information is decrypted and/or the preset information is allowed to be accessed.
  • the specific application when the specific application is previously encrypted, when the re-acquired fingerprint information matches the preset fingerprint information, the specific application is decrypted.
  • the obtained fingerprint information does not match the preset fingerprint information, the user enters the specific application, and when the acquired fingerprint information matches the preset fingerprint information, the specific application is allowed to enter.
  • the mobile phone photo album when accessing the mobile phone photo album, when the fingerprint information of the unprivileged user touching the touch screen is not the preset fingerprint information, the mobile phone photo album is exited when When the fingerprint information of the authorized user touches the touch screen is the preset fingerprint information, the user is allowed to enter the mobile phone album.
  • the data encryption device 400 acquires the fingerprint information when the user touches the touch screen on the preset interface, and the preset interface refers to the access interface of the preset information; the data encryption device 400 determines Whether the fingerprint information matches the preset fingerprint information; if the fingerprint information does not match the preset fingerprint information, the data encryption device 400 encrypts and/or hides the preset information, or blocks the touch Control operation to temporarily disable the touch operation. Therefore, when the fingerprint information obtained by the user on the preset interface does not match the fingerprint information of the touch screen, only the preset information is encrypted, the calculation amount is small, the system overhead is small, and the efficiency is high. Referring to FIG. 5, FIG. 5, FIG.
  • still another data encryption apparatus 500 provided by still another embodiment of the present invention may include at least one bus 501, at least one processor 502 connected to the bus, and at least one memory 503 connected to the bus.
  • the processor 502 calls the code stored in the memory 503 to obtain the fingerprint information when the user touches the touch screen on the preset interface, and the preset interface is the access interface of the preset information; Whether the fingerprint information matches the preset fingerprint information; if the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset information refers to specific information stored in a specific location in the terminal, set by the terminal system or the user, and needs to be restricted for access, including specific data or a specific application, such as a mobile phone photo album, a mobile phone short message, and QQ.
  • Specific applications such as WeChat, can also be a certain photo album in the mobile phone photo album application, SMS in the mobile phone SMS application, etc., and can also be a specific file stored in the terminal;
  • the preset interface refers to a user interface provided by the terminal to the user to access preset information, such as an access interface of a mobile phone photo album, a mobile phone short message, or the like, or an interface of a specified album after the mobile phone enters the album;
  • the face can also be the unlock interface of the screen, and the like.
  • the terminal refers to a smart terminal such as a mobile phone or a tablet computer.
  • the terminal has a touch screen capable of fingerprint recognition, and the touch screen can sense a user's pressing, sliding, and the like, and can recognize a fingerprint that is in contact with the touch screen.
  • the terminal can obtain the fingerprint information when the user touches the touch screen through any position of the touch screen with the fingerprint recognition on the preset interface.
  • the preset interface sets an access interface of the preset information as a preset interface according to a user's needs, so that the user enters the application or data through the preset interface.
  • the terminal recognizes the fingerprint information when the user touches the touch screen through the touch screen in real time.
  • the preset interface acquires the fingerprint information when the user touches the touch screen
  • the pressing operation of the user on the preset interface may be recognized.
  • the preset interface acquires the fingerprint information when the user touches the touch screen
  • the sliding operation of the user on the preset interface may be recognized.
  • the fingerprint information refers to the fingerprint information read by the user on the preset interface, and the fingerprint sensor can sense the pressing, sliding, and the like of the user on the touch screen to perform fingerprint recognition.
  • the preset fingerprint information refers to fingerprint information pre-stored in the terminal, and is used for comparing with the fingerprint information when the received user touches the touch screen through the touch screen.
  • the preset fingerprint information may be one, so that the received fingerprint information input by the user only needs to be compared with the preset fingerprint information, and the user touch is determined. Whether the fingerprint information when the touch screen matches the preset fingerprint information.
  • the preset fingerprint information may also be multiple, so that the received fingerprint information of the user touching the touch screen needs to be compared with multiple preset fingerprint information. It is used to determine whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information.
  • the preset fingerprint information entering different applications may be different or the same.
  • the preset fingerprint information may be changed by a licensed user.
  • the masking operation refers to temporarily invalidating the touch operation of the user on the preset interface when the obtained fingerprint information of the user touches the touch screen does not match the preset fingerprint information, thereby causing the non-acquisition to be obtained.
  • the fingerprint information is preset, the fingerprint information of the user touch screen is no longer acquired in the preset interface. Information, reduce system overhead, when the next time you enter the default interface, the touch operation is automatically restored again.
  • the preset fingerprint information when the preset fingerprint information is one, determining whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information, and if the user touches the touch screen If the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset fingerprint information when the preset fingerprint information is multiple, determining whether the fingerprint information when the user touches the touch screen matches any one of the preset fingerprint information, if the user When the fingerprint information when the touch screen is touched matches any one of the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
  • the preset information is encrypted by using a general manner of setting a password for the preset information.
  • the preset information includes specific data or a specific application
  • the processor 502 is configured to:
  • the preset information is specific data, encrypting and/or hiding the preset information, or shielding the touch operation;
  • the preset information is a specific application, encrypt the preset information and/or terminate access to the preset information, or block the touch operation.
  • the specific data when the specific data is encrypted, the specific data may be encrypted with a password.
  • the data when the specific data is encrypted, the data may be encrypted by using a certain encoding manner.
  • the processor 502 when acquiring the fingerprint information when the user touches the touch screen in the preset interface, includes:
  • the fingerprint information is acquired when the pressing operation occurs;
  • the fingerprint information is acquired at the start time of the sliding operation.
  • the fingerprint information is identified.
  • the terminal installs the fingerprint sensor under the screen, so that the terminal can read the fingerprint information when the user touches the touch screen at any position on the user touch the preset interface screen, which is convenient. User action.
  • the terminal may also read the fingerprint information when the user touches the touch screen at a specific location of the preset interface.
  • the processor 502 is further configured to:
  • the processor 502 is further configured to:
  • the preset information is displayed.
  • the processor 502 is further configured to:
  • the preset information is specific data
  • the fingerprint information matches the preset fingerprint information
  • the preset information is displayed.
  • the processor 502 is further configured to:
  • the preset information is a specific application, if the fingerprint information matches the preset fingerprint information, the preset information is accessed.
  • the processor 502 is further configured to:
  • the preset information is decrypted and/or displayed.
  • the processor 502 is further configured to:
  • the preset information is decrypted and/or displayed.
  • the processor 502 is further configured to:
  • the preset fingerprint information is obtained again, the preset information is decrypted and/or the preset information is allowed to be accessed.
  • the method further includes:
  • the data encryption device 500 acquires the fingerprint information when the user touches the touch screen on the preset interface, and the preset interface refers to the access interface of the preset information; the data encryption device 500 determines Whether the fingerprint information matches the preset fingerprint information; if the fingerprint information does not match the preset fingerprint information, the data encryption device 500 encrypts and/or hides the preset information, or blocks the touch Control operation to temporarily disable the touch operation. Therefore, when the fingerprint information obtained by the user on the preset interface does not match the fingerprint information of the touch screen, only the preset information is encrypted, the calculation amount is small, the system overhead is small, and the efficiency is high.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the operation method of any of the audio playback applications described in the foregoing method embodiments.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some or all of them according to actual needs.
  • the unit is to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Telephone Function (AREA)
  • Image Input (AREA)
  • Collating Specific Patterns (AREA)

Abstract

Disclosed are a data encryption method and apparatus. The data encryption method comprises: acquiring fingerprint information on a preset interface when a user performs a touch operation on a touchscreen, the preset interface being a visit interface of preset information; determining whether the fingerprint information matches preset fingerprint information; and if the fingerprint information does not match the preset fingerprint information, encrypting and/or hiding the preset information, or shielding the touch operation. When fingerprint information only obtained from a preset interface during a touch operation of a user on a touchscreen does not match preset fingerprint information, only the preset information is encrypted, accordingly the calculation amount is small, overheads of a system are low, and the efficiency is high.

Description

一种数据加密方法及装置Data encryption method and device
本申请要求于2015年5月29日提交中国专利局,申请号为201510289841.3、发明名称为“一种数据加密方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510289841.3, entitled "A Data Encryption Method and Apparatus", filed on May 29, 2015, the entire contents of .
技术领域Technical field
本发明涉及通信技术领域,具体涉及一种数据加密方法及装置。The present invention relates to the field of communications technologies, and in particular, to a data encryption method and apparatus.
背景技术Background technique
随着移动终端的普及,移动终端越来越普遍地进入人们的日常生活,但同时随着通信技术的发展,人们越来越多地利用移动终端来储存敏感性和私密性数据,对数据进行加密成为保证数据安全性的重要手段。With the popularity of mobile terminals, mobile terminals are becoming more and more popular in people's daily lives, but with the development of communication technologies, people are increasingly using mobile terminals to store sensitive and private data. Encryption is an important means of ensuring data security.
目前,普遍采用的数据加密方法都是事先对数据进行加密,再通过特定的方式对数据进行解密来完成对数据的读取,从而实现对数据的保护。例如,当用户的相册及短信为私密数据时,那么在用户拍照以及收发短信的时候,即对所有相册的照片以及所有短信进行加密,后续需要查看其中部分照片或者短信时,再通过在特定的地方接收指纹或者密码等对需要查看的数据进行解密,从而实现对私密数据的保护。At present, the commonly used data encryption method is to encrypt the data in advance, and then decrypt the data in a specific way to complete the reading of the data, thereby realizing the protection of the data. For example, when the user's photo album and short message are private data, then when the user takes a photo and sends and receives a short message, all the photos of the photo album and all the short messages are encrypted, and then some of the photos or short messages need to be viewed, and then The locality receives the fingerprint or password to decrypt the data to be viewed, thereby realizing the protection of the private data.
但是此种对数据进行加密保护的方法中,事先对所有数据进行加密,导致计算量大,系统开销大,效率低。However, in the method of encrypting and protecting data, all data is encrypted in advance, resulting in large calculation amount, large system overhead, and low efficiency.
发明内容Summary of the invention
本发明实施例提供了一种数据加密方法及装置。该数据加密方法无需通过对每一个文件或者应用进行加密,利用触摸屏全屏设置指纹传感器等方式获取用户在触摸屏任一位置触控操作时的指纹信息与预设的指纹信息进行比对,当触控操作的指纹与预设指纹匹配时,触控操作有效,可以打开应用或者文件。当触控操作的指纹与预设指纹不匹配时,触控操作失效,或者终端自动对文档进行加密和/或隐藏。本提案提供的数据加密方法无需主人对每个文件进行加密即可实现对隐私的保护,因为无需对每个文件或者应用进行加密从而降低系统开销,提高效率。 The embodiment of the invention provides a data encryption method and device. The data encryption method does not need to encrypt each file or application, and uses the touch screen full-screen setting fingerprint sensor to obtain the fingerprint information of the user when the touch operation is performed at any position on the touch screen, and the preset fingerprint information is compared. When the fingerprint of the operation matches the preset fingerprint, the touch operation is effective, and the application or file can be opened. When the fingerprint of the touch operation does not match the preset fingerprint, the touch operation is invalid, or the terminal automatically encrypts and/or hides the document. The data encryption method provided by this proposal does not require the owner to encrypt each file to achieve privacy protection, because there is no need to encrypt each file or application to reduce system overhead and improve efficiency.
本发明实施例第一方面提供一种数据加密方法,包括:A first aspect of the embodiments of the present invention provides a data encryption method, including:
在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面为预设信息的访问界面;Obtaining fingerprint information when the user touches the touch screen on the preset interface, where the preset interface is an access interface of preset information;
判断所述指纹信息与预设指纹信息是否匹配;Determining whether the fingerprint information matches the preset fingerprint information;
若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。If the fingerprint information does not match the preset fingerprint information, encrypt and/or hide the preset information, or block the touch operation.
本发明实施例第一方面提供一种数据加密装置,包括:A first aspect of the embodiments of the present invention provides a data encryption apparatus, including:
读取模块,用于在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面为预设信息的访问界面;a reading module, configured to acquire fingerprint information when the user touches the touch screen on the preset interface, where the preset interface is an access interface of preset information;
判断模块,用于判断所述指纹信息与预设指纹信息是否匹配;a determining module, configured to determine whether the fingerprint information matches the preset fingerprint information;
加密模块,用于若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。The encryption module is configured to encrypt and/or hide the preset information or block the touch operation if the fingerprint information does not match the preset fingerprint information.
可以看出,本实施例的方案中,在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面为预设信息的访问界面;判断所述指纹信息与预设指纹信息是否匹配;若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。从而当只在预设界面上获取到的用户对触摸屏进行触控操作时的指纹信息与预设指纹信息不匹配时,只对预设信息进行加密,计算量小,系统开销小,效率高。It can be seen that, in the solution of the embodiment, the fingerprint information of the touch operation performed by the user on the touch screen is obtained on the preset interface, and the preset interface is an access interface of the preset information; determining the fingerprint information and the preset fingerprint Whether the information matches; if the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked. Therefore, when the fingerprint information obtained by the user on the preset interface does not match the fingerprint information of the touch screen, only the preset information is encrypted, the calculation amount is small, the system overhead is small, and the efficiency is high.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明实施例提供的一种搜索方法的流程示意图;1 is a schematic flowchart of a search method according to an embodiment of the present invention;
图2是本发明实施例提供的另一种搜索方法的流程示意图;2 is a schematic flowchart of another search method according to an embodiment of the present invention;
图3是本发明实施例提供的一种数据加密装置的结构示意图;3 is a schematic structural diagram of a data encryption apparatus according to an embodiment of the present invention;
图4是本发明实施例提供的另一种数据加密装置的结构示意图;4 is a schematic structural diagram of another data encryption apparatus according to an embodiment of the present invention;
图5是本发明实施例提供的又一种数据加密装置的结构示意图。 FIG. 5 is a schematic structural diagram of still another data encryption apparatus according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种数据加密方法及装置。该数据加密方法无需通过对每一个文件或者应用进行加密,利用触摸屏全屏设置指纹传感器等方式获取用户在触摸屏任一位置触控操作时的指纹信息与预设的指纹信息进行比对,当触控操作的指纹与预设指纹匹配时,触控操作有效,可以打开应用或者文件。当触控操作的指纹与预设指纹不匹配时,触控操作失效,或者终端自动对文档进行加密和/或隐藏。本提案提供的数据加密方法无需主人对每个文件进行加密即可实现对隐私的保护,因为无需对每个文件或者应用进行加密从而降低系统开销,提高效率。The embodiment of the invention provides a data encryption method and device. The data encryption method does not need to encrypt each file or application, and uses the touch screen full-screen setting fingerprint sensor to obtain the fingerprint information of the user when the touch operation is performed at any position on the touch screen, and the preset fingerprint information is compared. When the fingerprint of the operation matches the preset fingerprint, the touch operation is effective, and the application or file can be opened. When the fingerprint of the touch operation does not match the preset fingerprint, the touch operation is invalid, or the terminal automatically encrypts and/or hides the document. The data encryption method provided by this proposal does not require the owner to encrypt each file to achieve privacy protection, because there is no need to encrypt each file or application to reduce system overhead and improve efficiency.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" and the like in the specification and claims of the present invention and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Moreover, the term "comprise" and any variants thereof are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
本发明实施例的一种数据加密方法的一个实施例,一种数据加密方法包括:在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面指预设信息的访问界面;判断所述指纹信息与预设指纹信息是否匹配;若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作,使触控操作暂时失效。。An embodiment of the data encryption method in the embodiment of the present invention, the data encryption method includes: acquiring, on a preset interface, fingerprint information when a user performs a touch operation on a touch screen, where the preset interface refers to accessing preset information. The interface determines whether the fingerprint information matches the preset fingerprint information; if the fingerprint information does not match the preset fingerprint information, encrypting and/or hiding the preset information, or shielding the touch Operation, temporarily invalidating the touch operation. .
首先参见图1,图1是本发明的一个实施例提供的一种数据加密方法的流程示意图。其中,如图1所示,本发明的一个实施例提供的一种数据加密方法可以包括:Referring first to FIG. 1, FIG. 1 is a schematic flowchart of a data encryption method according to an embodiment of the present invention. As shown in FIG. 1 , a data encryption method provided by an embodiment of the present invention may include:
S101、在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预 设界面指预设信息的访问界面。S101. Acquire fingerprint information when a user touches a touch screen on a preset interface, where the The interface refers to the access interface of the preset information.
其中,预设信息指存储于终端中特定位置、由终端系统或者用户设定的、需要对其访问进行限制的特定信息,包括特定数据或特定应用等,如可以为手机相册、手机短信、QQ、微信等特定应用,也可以为手机相册应用里面的某一个相册、手机短信应用里面的短信等,还可以为存储在终端中的某一特定文件等;The preset information refers to specific information stored in a specific location in the terminal, set by the terminal system or the user, and needs to be restricted for access, including specific data or a specific application, such as a mobile phone photo album, a mobile phone short message, and QQ. Specific applications such as WeChat, can also be a certain photo album in the mobile phone photo album application, SMS in the mobile phone SMS application, etc., and can also be a specific file stored in the terminal;
预设界面是指终端提供给用户访问预设信息的用户界面,如手机相册、手机短信等的访问界面,或手机进入相册后,查看某一指定相册的界面;预设界面还可以为屏幕的解锁界面等。The preset interface refers to a user interface provided by the terminal to the user to access preset information, such as an access interface of a mobile phone photo album, a mobile phone short message, or the like, or an interface of a specified album after the mobile phone enters the album; the preset interface may also be a screen Unlock the interface and more.
其中,终端指手机、平板电脑等智能终端,该终端具有能够进行指纹识别的触摸屏,该触摸屏能够感应用户的按压、滑动等操作,并能对与触摸屏接触的指纹进行识别。终端可以在预设界面通过具有指纹识别的触摸屏的任何位置获取用户触控触摸屏时的指纹信息。The terminal refers to a smart terminal such as a mobile phone or a tablet computer. The terminal has a touch screen capable of fingerprint recognition, and the touch screen can sense a user's pressing, sliding, and the like, and can recognize a fingerprint that is in contact with the touch screen. The terminal can obtain the fingerprint information when the user touches the touch screen through any position of the touch screen with the fingerprint recognition on the preset interface.
可选地,在本发明的一些可能的实施方式中,该预设界面根据用户的需要,将预设信息的访问界面设置为预设界面,从而用户在通过该预设界面进入该应用或者数据时,终端实时通过触摸屏对用户触控触摸屏时的指纹信息进行识别。Optionally, in some possible implementation manners of the present invention, the preset interface sets an access interface of the preset information as a preset interface according to a user's needs, so that the user enters the application or data through the preset interface. The terminal recognizes the fingerprint information when the user touches the touch screen through the touch screen in real time.
举例说明,在本发明的一些可能的实施方式中,若设置手机相册为敏感信息,则将预设界面设置为访问相册的用户界面,那么当用户访问到该用户界面时,终端实时读取用户在该用户界面上触控触摸屏时的指纹信息。For example, in some possible implementation manners of the present invention, if the mobile phone photo album is set as sensitive information, the preset interface is set to access the user interface of the photo album, and when the user accesses the user interface, the terminal reads the user in real time. Fingerprint information when the touch screen is touched on the user interface.
可选地,在预设界面获取用户触控触摸屏时的指纹信息时,可以通过识别用户在预设界面的按压操作。Optionally, when the preset interface acquires the fingerprint information when the user touches the touch screen, the pressing operation of the user on the preset interface may be recognized.
可选地,在预设界面获取用户触控触摸屏时的指纹信息时,可以通过识别用户在预设界面的滑动操作。Optionally, when the preset interface acquires the fingerprint information when the user touches the touch screen, the sliding operation of the user on the preset interface may be recognized.
S102、判断所述指纹信息与预设指纹信息是否匹配。S102. Determine whether the fingerprint information matches the preset fingerprint information.
其中,所述指纹信息指用户在预设界面读取到的指纹信息,可通过指纹传感器感应用户在触摸屏上的按压、滑动等操作进行指纹识别。The fingerprint information refers to the fingerprint information read by the user on the preset interface, and the fingerprint sensor can sense the pressing, sliding, and the like of the user on the touch screen to perform fingerprint recognition.
其中,预设指纹信息指预先存储在终端中的指纹信息,用于与通过触摸屏获取收到的用户触控触摸屏时的指纹信息进行对比。The preset fingerprint information refers to fingerprint information pre-stored in the terminal, and is used for comparing with the fingerprint information when the received user touches the touch screen through the touch screen.
可选地,在本发明的一些可能的实施方式中,该预设指纹信息可以为一个, 从而所接收到的用户录入的指纹信息只需要与这一个预设指纹信息进行对比,判断用户触控触摸屏时的指纹信息是否与该预设指纹信息匹配。Optionally, in some possible implementation manners of the present disclosure, the preset fingerprint information may be one, Therefore, the received fingerprint information of the user only needs to be compared with the preset fingerprint information, and it is determined whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information.
可选地,在本发明的另一些可能的实施方式中,该预设指纹信息也可以为多个,从而所接收到的用户触控触摸屏时的指纹信息需要与多个预设指纹信息进行对比,用于判断用户触控触摸屏时的指纹信息是否与预设指纹信息匹配。Optionally, in other possible implementation manners of the present invention, the preset fingerprint information may also be multiple, so that the received fingerprint information of the user touching the touch screen needs to be compared with multiple preset fingerprint information. It is used to determine whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information.
可选地,在本发明的一些可能的实施方式中,进入不同应用的预设指纹信息可以不一样,也可以一样。Optionally, in some possible implementation manners of the present invention, the preset fingerprint information entering different applications may be different or the same.
可选地,在本发明的另一些可能的实施方式中,所述预设指纹信息可以由有权限用户进行更改。Optionally, in other possible implementation manners of the present invention, the preset fingerprint information may be changed by a licensed user.
S103、若所述指纹信息与所述预设指纹信息不匹配,对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。S103. If the fingerprint information does not match the preset fingerprint information, encrypt and/or hide the preset information, or block the touch operation.
其中,屏蔽所述触控操作指在获取到的用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,暂时使用户在该预设界面的触控操作失效,从而使得在获取到非预设指纹信息时不再在预设界面继续获取用户触控触摸屏的指纹信息,减少系统开销,当下次再进入该预设界面时,触控操作自动重新恢复有效,。The masking operation refers to temporarily invalidating the touch operation of the user on the preset interface when the obtained fingerprint information of the user touches the touch screen does not match the preset fingerprint information, thereby causing the non-acquisition to be obtained. When the fingerprint information is preset, the fingerprint information of the touch screen of the user is no longer acquired in the preset interface, and the system overhead is reduced. When the preset interface is entered again, the touch operation is automatically restored again.
可选地,在本发明的一些可能的实施方式中,当预设指纹信息为一个时,判断判断用户触控触摸屏时的指纹信息是否与该一个预设指纹信息是否匹配,若用户触控触摸屏时的指纹信息与该预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。Optionally, in some possible implementation manners of the present invention, when the preset fingerprint information is one, determining whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information, and if the user touches the touch screen If the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
可选地,在本发明的另一些可能的实施方式中,当预设指纹信息为多个时,判断用户触控触摸屏时的指纹信息与其中任一一个预设指纹信息是否匹配,若用户触控触摸屏时的指纹信息与其中任一一个预设指纹信息匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。Optionally, in another possible implementation manner of the present invention, when the preset fingerprint information is multiple, determining whether the fingerprint information when the user touches the touch screen matches any one of the preset fingerprint information, if the user When the fingerprint information when the touch screen is touched matches any one of the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
举例说明,在本发明的一些可能的实施方式中,当设置手机相册应用具有访问权限的用户为张三和李四,则可以将预设指纹信息设置为张三和李四的指纹,那么在手机相册的访问界面上接收到指纹信息时,将该指纹信息与预设的张三和李四的指纹进行对比,如果不匹配,则拒绝访问手机相册。For example, in some possible implementation manners of the present invention, when the user who has the access right of the mobile phone photo album application is Zhang San and Li Si, the preset fingerprint information may be set as the fingerprint of Zhang San and Li Si, then When the fingerprint information is received on the access interface of the mobile phone album, the fingerprint information is compared with the preset fingerprints of Zhang San and Li Si, and if it does not match, the mobile phone album is denied access.
再举例说明,在本发明的另一些可能的实施方式中,当设置手机相册应用里面的某一个特定相册具有访问权限的用户为张三,则将预设指纹信息设置为张三的指纹,那么在该特定相册的访问界面上接收到指纹信息时,将该指纹信 息与预设的张三的指纹进行对比,如果不匹配,则对该特定相册进行加密并隐藏,或屏蔽所述触控操作,使触控操作暂时失效。For example, in another possible implementation manner of the present invention, when the user who has access rights to a specific album in the mobile phone photo album application is Zhang San, the preset fingerprint information is set as the fingerprint of Zhang San, then When the fingerprint information is received on the access interface of the specific album, the fingerprint letter is received. The information is compared with the preset fingerprint of Zhang San. If it does not match, the specific album is encrypted and hidden, or the touch operation is blocked, so that the touch operation is temporarily disabled.
可选地,在本发明的一些可能的实施方式中,采用一般的对预设信息设定密码的方式对预设信息进行加密。Optionally, in some possible implementation manners of the present invention, the preset information is encrypted by using a general manner of setting a password for the preset information.
可以看出,本实施例的方案中,在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面指预设信息的访问界面;判断所述指纹信息与预设指纹信息是否匹配;若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作,使触控操作暂时失效。从而当只在预设界面上获取到的用户对触摸屏进行触控操作时的指纹信息与预设指纹信息不匹配时,只对预设信息进行加密,计算量小,系统开销小,效率高。It can be seen that, in the solution of the embodiment, the fingerprint information of the touch operation performed by the user on the touch screen is obtained on the preset interface, and the preset interface refers to the access interface of the preset information; determining the fingerprint information and the preset fingerprint Whether the information is matched or not; if the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked, so that the touch operation is temporarily disabled. Therefore, when the fingerprint information obtained by the user on the preset interface does not match the fingerprint information of the touch screen, only the preset information is encrypted, the calculation amount is small, the system overhead is small, and the efficiency is high.
可选地,在本发明的一些可能的实施方式中,所述预设信息包括特定数据或特定应用,所述对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作,包括:Optionally, in some possible implementation manners of the present disclosure, the preset information includes specific data or a specific application, where the preset information is encrypted and/or hidden, or the touch operation is blocked. include:
若所述预设信息为特定数据,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作;If the preset information is specific data, encrypting and/or hiding the preset information, or shielding the touch operation;
若所述预设信息为特定应用,则对所述预设信息进行加密和/或终止访问所述预设信息,或屏蔽所述触控操作。If the preset information is a specific application, encrypt the preset information and/or terminate access to the preset information, or block the touch operation.
可选地,在本发明的一些可能的实施方式中,对所述特定数据进行加密时,可以用密码对特定数据进行加密。Optionally, in some possible implementation manners of the present invention, when the specific data is encrypted, the specific data may be encrypted with a password.
可选地,在本发明的另一些可能的实施方式中,对所述特定数据进行加密时,也可以利用一定的编码方式对数据进行加密。Optionally, in other possible implementation manners of the present invention, when the specific data is encrypted, the data may be encrypted by using a certain encoding manner.
举例说明,在本发明的一些可能的实施方式中,当预设信息为特定数据时,以存储在手机中的某一私密文件为例,当用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,则可对私密文件进行加密,也可以对私密文件进行隐藏,还可以对私密文件进行加密后并隐藏,或者在此时屏蔽用户对触摸屏进行的触控操作,使触控操作暂时失效,从而实现对私密文件的保护。For example, in some possible implementation manners of the present invention, when the preset information is specific data, taking a certain private file stored in the mobile phone as an example, when the user touches the touch screen, the fingerprint information and the preset fingerprint information are used. If the data is not matched, the private file can be encrypted, or the private file can be hidden. The private file can be encrypted and hidden, or the touch operation performed by the user on the touch screen can be blocked at this time, so that the touch operation is temporarily disabled. Invalidation to protect private files.
再举例说明,在本发明的一些可能的实施方式中,当预设信息为特定应用时,以手机相册应用为例,当用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,则可以对手机相册应用进行加密,此时需要用户输入密码才能进入, 还可以终止用户访问该手机相册,或者在此时屏蔽用户对触摸屏进行的触控操作,使触控操作暂时失效,从而实现对手机相册应用的隐私保护。For example, in some possible implementation manners of the present invention, when the preset information is a specific application, taking the mobile phone photo album application as an example, when the fingerprint information of the user touching the touch screen does not match the preset fingerprint information, The mobile phone photo album application can be encrypted, and the user needs to input a password to enter. The user can also terminate the access to the mobile phone album, or block the touch operation performed by the user on the touch screen at this time, so that the touch operation is temporarily disabled, thereby implementing privacy protection for the mobile phone photo album application.
可以理解,在预设信息为特定数据时,若触控触摸屏时的指纹信息与预设指纹信息不匹配时,对特定数据进行加密和/或隐藏,或者屏蔽用户对触摸屏进行的触控操作,使触控操作暂时失效,可以阻止用户继续访问特定数据,实现了对特定数据的保护;在预设信息为特定应用时,若触控触摸屏时的指纹信息与预设指纹信息不匹配时,对特定应用进行加密和/或终止用户继续访问该应用,或者屏蔽用户对触摸屏进行的触控操作,使触控操作暂时失效,实现了对特定应用的隐私保护,并且由于只对特定数据或特定应用进行加密,而不是对全部数据进行加密,计算量小。It can be understood that when the preset information is specific data, if the fingerprint information when the touch screen is touched does not match the preset fingerprint information, the specific data is encrypted and/or hidden, or the touch operation performed by the user on the touch screen is blocked. Temporarily invalidating the touch operation can prevent the user from continuing to access specific data and protect the specific data. When the preset information is a specific application, if the fingerprint information when the touch screen is touched does not match the preset fingerprint information, The specific application encrypts and/or terminates the user's continued access to the application, or blocks the user's touch operation on the touch screen, temporarily disables the touch operation, implements privacy protection for a specific application, and is only for specific data or specific applications. Encryption, rather than encrypting all data, is computationally intensive.
可选地,在本发明的一些可能的实施方式中,所述在预设界面获取用户对触摸屏进行触控操作时的指纹信息,包括:Optionally, in some possible implementation manners of the present disclosure, the acquiring, by the preset interface, fingerprint information when the user performs a touch operation on the touch screen, including:
若在所述预设界面上获取用户对触摸屏进行的触控操作为按压操作时,则当按压操作发生时,获取指纹信息;If the touch operation performed by the user on the touch screen is performed on the preset interface, the fingerprint information is acquired when the pressing operation occurs;
若在所述预设界面上获取用户对触摸屏进行的触控操作为滑动操作时,则在滑动操作起始时刻获取指纹信息。If the touch operation performed by the user on the touch screen is performed on the preset interface, the fingerprint information is acquired at the start time of the sliding operation.
可选地,在本发明的一些可能的实施方式中,不管用户在预设界面上进行的是何种操作,当接收到用户的对预设界面的触压并且在触压之前或者之后有离开预设界面的操作时,则对指纹信息进行识别。Optionally, in some possible implementation manners of the present invention, regardless of what operation the user performs on the preset interface, when the user receives the touch pressure on the preset interface and leaves before or after the touch pressure When the preset interface is operated, the fingerprint information is identified.
可选地,在本发明的一些可能的实施方式中,终端通过在屏幕下安装指纹传感器,从而终端可以在用户触摸预设界面屏幕上的任何位置获取用户触控触摸屏时的指纹信息,方便用户操作。Optionally, in some possible implementation manners of the present invention, the terminal installs the fingerprint sensor under the screen, so that the terminal can obtain the fingerprint information when the user touches the touch screen at any position on the user touch the preset interface screen, which is convenient for the user. operating.
可选地,在本发明的另一些可能的实施方式中,终端也可以在预设界面的特定位置读取用户触控触摸屏时的指纹信息。Optionally, in other possible implementation manners of the present invention, the terminal may also read the fingerprint information when the user touches the touch screen at a specific location of the preset interface.
可以理解,当用户在预设界面上对触摸屏进行的触控操作可能为按压操作,此时接收按压操作发生时的指纹信息即可正确识别到用户的指纹,当用户在预设界面上对触摸屏进行的触控操作为滑动操作时,选取滑动起始时刻用户接触到预设界面的指纹信息可正确地对用户的指纹进行识别。It can be understood that when the touch operation performed on the touch screen by the user on the preset interface may be a pressing operation, the fingerprint information when the pressing operation is received may correctly recognize the fingerprint of the user, and the user touches the touch screen on the preset interface. When the touch operation is performed as a sliding operation, the fingerprint information of the user touching the preset interface at the start of the sliding moment can correctly identify the fingerprint of the user.
可选地,在本发明的一些可能的实施方式中,所述方法还包括:Optionally, in some possible implementation manners of the present invention, the method further includes:
在所述预设信息的生成过程中,不对所述预设信息做任何加密处理。 In the process of generating the preset information, no encryption processing is performed on the preset information.
举例说明,在本发明的一些可能的实施方式中,在用手机进行拍照后生成照片并将照片存储在手机相册时,此时不对存储于手机相册里面的照片进行任何加密处理,只在后续用户读取手机相册里面的特定照片时,若用户触控触摸屏时的指纹信息与预设指纹信息不匹配时对该特定照片进行加密处理,从而使得计算量小,效率高。For example, in some possible implementation manners of the present invention, when a photo is generated by taking a photo with a mobile phone and the photo is stored in a mobile phone photo album, no photo encryption processing is performed on the photo stored in the mobile phone photo album, only in subsequent users. When a specific photo in the mobile phone album is read, if the fingerprint information when the user touches the touch screen does not match the preset fingerprint information, the specific photo is encrypted, so that the calculation amount is small and the efficiency is high.
可以理解,若在信息生成的过程中对信息进行加密处理,则需要对所有的信息均进行加密处理,后续在对任一信息进行读取时,相应地都需要进行解密,从而导致计算量大,系统开销大;而在信息生成的过程中不对信息进行加密处理,只在后续读取预设信息时,当用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,只对用户需要访问的预设信息进行加密处理,那么加密的预设信息只是总的信息的一部分,数据量少,从而使得计算量小,系统开销小,效率高。It can be understood that if the information is encrypted in the process of information generation, all the information needs to be encrypted, and when any information is read, the decryption is required accordingly, resulting in a large amount of calculation. The system overhead is large; in the process of information generation, the information is not encrypted, and only when the user reads the preset information, when the fingerprint information of the user touches the touch screen does not match the preset fingerprint information, only the user needs The preset information of the access is encrypted, and the encrypted preset information is only a part of the total information, and the amount of data is small, so that the calculation amount is small, the system overhead is small, and the efficiency is high.
可选地,在本发明的一些可能的实施方式中,所述方法还包括:Optionally, in some possible implementation manners of the present invention, the method further includes:
若所述指纹信息与所述预设指纹信息匹配,则显示所述预设信息。If the fingerprint information matches the preset fingerprint information, the preset information is displayed.
可选地,在本发明的一些可能的实施方式中,所述方法还包括:Optionally, in some possible implementation manners of the present invention, the method further includes:
当所述预设信息为特定数据时,若所述指纹信息与所述预设指纹信息匹配,则显示所述预设信息。When the preset information is specific data, if the fingerprint information matches the preset fingerprint information, the preset information is displayed.
举例说明,在本发明的一些可能的实施方式中,若预设信息为手机相册应用里面的私密相册时,由于在该私密相册里面的照片的生成过程中没有对照片进行加密处理,所以在查看该私密相册,并且用户触控触摸屏时的指纹信息与预设指纹信息匹配时,不需要对该私密相册进行解密则可以直接查看,也即手机直接显示该私密相册给用户。For example, in some possible implementation manners of the present invention, if the preset information is a private album in the mobile phone album application, since the photo is not encrypted during the generation of the photo in the private album, the viewing is performed. The private photo album, and the fingerprint information when the user touches the touch screen matches the preset fingerprint information, can be directly viewed without decrypting the private album, that is, the mobile phone directly displays the private album to the user.
可选地,在本发明的一些可能的实施方式中,所述方法还包括:Optionally, in some possible implementation manners of the present invention, the method further includes:
当所述预设信息为特定应用时,若所述指纹信息与所述预设指纹信息匹配,则访问所述预设信息。When the preset information is a specific application, if the fingerprint information matches the preset fingerprint information, the preset information is accessed.
举例说明,在本发明的一些可能的实施方式中,若预设信息为手机相册应用,由于手机相册应用在初始设置时没有进行加密处理,所以在访问手机相册应用,并且用户触控触摸屏时的指纹信息与预设指纹信息匹配时,可以直接进入手机相册。For example, in some possible implementation manners of the present invention, if the preset information is a mobile phone photo album application, since the mobile phone photo album application is not encrypted during the initial setting, when the mobile phone photo album application is accessed, and the user touches the touch screen, When the fingerprint information matches the preset fingerprint information, you can directly enter the mobile phone album.
可以理解,在特定数据生成过程不对特定数据进行加密,以及特定应用初 始设置的时候不对特定应用进行加密,那么在后续有访问权限的用户进行访问时,则不需要对特定数据或者特定应用进行解密即可直接查看特定数据或者访问特定应用,系统开销小,操作方便。It can be understood that specific data is not encrypted during the specific data generation process, and the specific application is initially When the initial setting is not encrypted for a specific application, when a user with access rights subsequently accesses, the specific data or a specific application need not be decrypted to directly view specific data or access a specific application, and the system overhead is small and the operation is convenient. .
可选地,在本发明的一些可能的实施方式中,所述若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作后,所述方法还包括:Optionally, in some possible implementation manners of the present invention, if the fingerprint information does not match the preset fingerprint information, encrypting and/or hiding the preset information, or shielding the After the touch operation, the method further includes:
若再获取到所述预设指纹信息,对所述预设信息进行解密和/或显示。If the preset fingerprint information is obtained again, the preset information is decrypted and/or displayed.
可以理解,由于之前当接收到的用户触控触摸屏时的指令信息不是预设指纹信息时,对该预设信息进行加密或屏蔽该触控操作等操作,从而用户无法查看该预设信息,实现了对预设信息的保护,由于屏蔽该触控操作只时暂时在该预设界面对触控操作进行屏蔽,当再次进入预设界面时,继续获取用户触控触摸屏时的指纹信息,从而当再将获取到预设指纹信息时,将预设信息呈现给有权限用户,实现了有权限用户对预设信息的访问。It can be understood that, when the command information when the user touches the touch screen is not the preset fingerprint information, the preset information is encrypted or the touch operation is blocked, so that the user cannot view the preset information. The protection of the preset information, because the touch operation is blocked, the touch operation is temporarily blocked on the preset interface, and when the preset interface is accessed again, the fingerprint information when the user touches the touch screen is continuously obtained, thereby When the preset fingerprint information is obtained, the preset information is presented to the authorized user, and the access of the authorized user to the preset information is realized.
可选地,在本发明的另一些可能的实施方式中,当所述预设信息为特定数据时,所述若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作后,所述方法还包括:Optionally, in another possible implementation manner of the present invention, when the preset information is specific data, if the fingerprint information does not match the preset fingerprint information, the preset is After the information is encrypted and/or hidden, or the touch operation is blocked, the method further includes:
若再获取到所述预设指纹,对所述预设信息进行解密和/或显示。可选地,在本发明的一些可能的实施方式中,当之前对特定数据进行加密后,则当再获取到预设指纹信息时,对特定数据进行解密,当之前对特定数据进行隐藏,则当再获取到预设指纹信息时,显示特定数据,当之前加密并隐藏特定数据,则当再获取到预设指纹信息时,显示并解密特定数据。If the preset fingerprint is obtained again, the preset information is decrypted and/or displayed. Optionally, in some possible implementation manners of the present invention, when the specific data is previously encrypted, the specific data is decrypted when the preset fingerprint information is acquired again, and when the specific data is previously hidden, When the preset fingerprint information is acquired again, the specific data is displayed. When the specific data is previously encrypted and hidden, the specific data is displayed and decrypted when the preset fingerprint information is acquired again.
举例说明,在本发明的一些可能的实施方式中,若由于在访问手机中的某一私密文件时,获取到用户触控触摸屏时的指纹信息不是预设指纹信息时,则对该私密文件进行加密处理,从而用户无法访问该私密文件,当再获取到用户触控触摸屏时的指纹信息为预设指纹信息时,解密该私密文件,从而用户可访问该私密文件。For example, in some possible implementation manners of the present invention, if the fingerprint information when the user touches the touch screen is not the preset fingerprint information when accessing a certain private file in the mobile phone, the private file is performed. The encryption process is performed, so that the user cannot access the private file. When the fingerprint information when the touch screen is touched by the user is the preset fingerprint information, the private file is decrypted, so that the user can access the private file.
可选地,在本发明的另一些可能的实施方式中,当所述预设信息为特定应用时,所述若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作后,所述方法还包括:Optionally, in another possible implementation manner of the present invention, when the preset information is a specific application, if the fingerprint information does not match the preset fingerprint information, the preset is After the information is encrypted and/or hidden, or the touch operation is blocked, the method further includes:
若再获取到所述预设指纹信息,对所述预设信息进行解密和/或允许访问 所述预设信息。If the preset fingerprint information is obtained again, the preset information is decrypted and/or allowed to be accessed. The preset information.
可选地,在本发明的一些可能的实施方式中,当之前对特定应用进行加密后,则当再获取到的指纹信息与预设指纹信息匹配时,对特定应用进行解密,当之前由于获取到的指纹信息与预设指纹信息不匹配时,终止进入特定应用,则当再获取到的指纹信息与预设指纹信息匹配时,允许进入特定应用。Optionally, in some possible implementation manners of the present invention, when the specific application is previously encrypted, when the re-acquired fingerprint information matches the preset fingerprint information, the specific application is decrypted. When the obtained fingerprint information does not match the preset fingerprint information, the user enters the specific application, and when the acquired fingerprint information matches the preset fingerprint information, the specific application is allowed to enter.
举例说明,在本发明的一些可能的实施方式中,在对手机相册进行访问时,当无权限用户在访问界面触控触摸屏时的指纹信息不是预设指纹信息时,退出手机相册,当再次由有权限用户在访问界面触控触摸屏时的指纹信息为预设指纹信息时,允许进入手机相册。For example, in some possible implementation manners of the present invention, when accessing the mobile phone photo album, when the fingerprint information of the unprivileged user touching the touch screen is not the preset fingerprint information, the mobile phone photo album is exited when When the fingerprint information of the authorized user touches the touch screen is the preset fingerprint information, the user is allowed to enter the mobile phone album.
为了便于更好理解和实施本发明实施例的上述方案,下面结合一些具体的应用场景进行举例说明。In order to facilitate the better understanding and implementation of the foregoing solutions of the embodiments of the present invention, the following is exemplified in conjunction with some specific application scenarios.
请参见图2,图2是本发明的另一个实施例提供的另一种数据加密方法的流程示意图,其中,如图2所示,本发明的另一个实施例提供的另一种数据加密方法可以包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of another data encryption method according to another embodiment of the present invention, wherein another data encryption method provided by another embodiment of the present invention is shown in FIG. Can include:
S201、在预设界面获取用户对触摸屏进行触控操作时的指纹信息,预设界面为预设信息的访问界面。S201. Acquire fingerprint information when the user touches the touch screen on the preset interface, and the preset interface is an access interface of the preset information.
其中,预设信息指存储于终端中特定位置、由终端系统或者用户设定的、需要对其访问进行限制的特定信息,包括特定数据或特定应用等,如可以为手机相册、手机短信、QQ、微信等特定应用,也可以为手机相册应用里面的某一个相册、手机短信应用里面的短信等,还可以为存储在终端中的某一特定文件等;The preset information refers to specific information stored in a specific location in the terminal, set by the terminal system or the user, and needs to be restricted for access, including specific data or a specific application, such as a mobile phone photo album, a mobile phone short message, and QQ. Specific applications such as WeChat, can also be a certain photo album in the mobile phone photo album application, SMS in the mobile phone SMS application, etc., and can also be a specific file stored in the terminal;
预设界面是指终端提供给用户访问预设信息的用户界面,如手机相册、手机短信等的访问界面,或手机进入相册后,查看某一指定相册的界面;预设界面还可以为屏幕的解锁界面等。The preset interface refers to a user interface provided by the terminal to the user to access preset information, such as an access interface of a mobile phone photo album, a mobile phone short message, or the like, or an interface of a specified album after the mobile phone enters the album; the preset interface may also be a screen Unlock the interface and more.
其中,终端指手机、平板电脑等智能终端,该终端具有能够进行指纹识别的触摸屏,该触摸屏能够感应用户的按压、滑动等操作,并能对与触摸屏接触的指纹进行识别。终端可以在预设界面通过具有指纹识别的触摸屏的任何位置获取用户触控触摸屏时的指纹信息。The terminal refers to a smart terminal such as a mobile phone or a tablet computer. The terminal has a touch screen capable of fingerprint recognition, and the touch screen can sense a user's pressing, sliding, and the like, and can recognize a fingerprint that is in contact with the touch screen. The terminal can obtain the fingerprint information when the user touches the touch screen through any position of the touch screen with the fingerprint recognition on the preset interface.
可选地,在本发明的一些可能的实施方式中,该预设界面根据用户的需要,将预设信息的访问界面设置为预设界面,从而用户在通过该预设界面进入该应 用或者数据时,终端实时通过触摸屏对用户触控触摸屏时的指纹信息进行识别。Optionally, in some possible implementation manners of the present invention, the preset interface sets an access interface of the preset information as a preset interface according to a user's needs, so that the user enters the response through the preset interface. When using or data, the terminal recognizes the fingerprint information when the user touches the touch screen through the touch screen in real time.
举例说明,在本发明的一些可能的实施方式中,若设置手机相册为敏感信息,则将预设界面设置为访问相册的用户界面,那么当用户访问到该用户界面时,终端实时读取用户在该用户界面上触控触摸屏时的指纹信息。For example, in some possible implementation manners of the present invention, if the mobile phone photo album is set as sensitive information, the preset interface is set to access the user interface of the photo album, and when the user accesses the user interface, the terminal reads the user in real time. Fingerprint information when the touch screen is touched on the user interface.
可选地,在预设界面获取用户触控触摸屏时的指纹信息时,可以通过识别用户在预设界面的按压操作。Optionally, when the preset interface acquires the fingerprint information when the user touches the touch screen, the pressing operation of the user on the preset interface may be recognized.
可选地,在预设界面获取用户触控触摸屏时的指纹信息时,可以通过识别用户在预设界面的滑动操作。Optionally, when the preset interface acquires the fingerprint information when the user touches the touch screen, the sliding operation of the user on the preset interface may be recognized.
可选地,在本发明的一些可能的实施方式中,所述在预设界面获取用户对触摸屏进行触控操作时的指纹信息,包括:Optionally, in some possible implementation manners of the present disclosure, the acquiring, by the preset interface, fingerprint information when the user performs a touch operation on the touch screen, including:
若在所述预设界面上获取用户对触摸屏进行的触控操作为按压操作时,则当按压操作发生时,获取指纹信息;If the touch operation performed by the user on the touch screen is performed on the preset interface, the fingerprint information is acquired when the pressing operation occurs;
若在所述预设界面上获取用户对触摸屏进行的触控操作为滑动操作时,则在滑动操作起始时刻获取指纹信息。If the touch operation performed by the user on the touch screen is performed on the preset interface, the fingerprint information is acquired at the start time of the sliding operation.
可选地,在本发明的一些可能的实施方式中,不管用户在预设界面上进行的是何种操作,当接收到用户的对预设界面的触压并且在触压之前或者之后有离开预设界面的操作时,则对指纹信息进行识别。Optionally, in some possible implementation manners of the present invention, regardless of what operation the user performs on the preset interface, when the user receives the touch pressure on the preset interface and leaves before or after the touch pressure When the preset interface is operated, the fingerprint information is identified.
可选地,在本发明的一些可能的实施方式中,终端通过在屏幕下安装指纹传感器,从而终端可以在用户触摸预设界面屏幕上的任何位置读取用户触控触摸屏时的指纹信息,方便用户操作。Optionally, in some possible implementation manners of the present invention, the terminal installs the fingerprint sensor under the screen, so that the terminal can read the fingerprint information when the user touches the touch screen at any position on the user touch the preset interface screen, which is convenient. User action.
可选地,在本发明的另一些可能的实施方式中,终端也可以在预设界面的特定位置读取用户触控触摸屏时的指纹信息。Optionally, in other possible implementation manners of the present invention, the terminal may also read the fingerprint information when the user touches the touch screen at a specific location of the preset interface.
可以理解,当用户在预设界面上对触摸屏进行的触控操作可能为按压操作,此时接收按压操作发生时的指纹信息即可正确识别到用户的指纹,当用户在预设界面上对触摸屏进行的触控操作为滑动操作时,选取滑动起始时刻用户接触到预设界面的指纹信息可正确地对用户的指纹进行识别。It can be understood that when the touch operation performed on the touch screen by the user on the preset interface may be a pressing operation, the fingerprint information when the pressing operation is received may correctly recognize the fingerprint of the user, and the user touches the touch screen on the preset interface. When the touch operation is performed as a sliding operation, the fingerprint information of the user touching the preset interface at the start of the sliding moment can correctly identify the fingerprint of the user.
S202、判断该指纹信息与预设指纹信息是否匹配。S202. Determine whether the fingerprint information matches the preset fingerprint information.
其中,所述指纹信息指用户在预设界面读取到的指纹信息,可通过指纹传感器感应用户在触摸屏上的按压、滑动等操作进行指纹识别。 The fingerprint information refers to the fingerprint information read by the user on the preset interface, and the fingerprint sensor can sense the pressing, sliding, and the like of the user on the touch screen to perform fingerprint recognition.
其中,预设指纹信息指预先存储在终端中的指纹信息,用于与通过触摸屏获取收到的用户触控触摸屏时的指纹信息进行对比。The preset fingerprint information refers to fingerprint information pre-stored in the terminal, and is used for comparing with the fingerprint information when the received user touches the touch screen through the touch screen.
可选地,在本发明的一些可能的实施方式中,该预设指纹信息可以为一个,从而所接收到的用户录入的指纹信息只需要与这一个预设指纹信息进行对比,判断用户触控触摸屏时的指纹信息是否与该预设指纹信息匹配。Optionally, in some possible implementation manners of the present invention, the preset fingerprint information may be one, so that the received fingerprint information input by the user only needs to be compared with the preset fingerprint information, and the user touch is determined. Whether the fingerprint information when the touch screen matches the preset fingerprint information.
可选地,在本发明的另一些可能的实施方式中,该预设指纹信息也可以为多个,从而所接收到的用户触控触摸屏时的指纹信息需要与多个预设指纹信息进行对比,用于判断用户触控触摸屏时的指纹信息是否与预设指纹信息匹配。Optionally, in other possible implementation manners of the present invention, the preset fingerprint information may also be multiple, so that the received fingerprint information of the user touching the touch screen needs to be compared with multiple preset fingerprint information. It is used to determine whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information.
可选地,在本发明的一些可能的实施方式中,进入不同应用的预设指纹信息可以不一样,也可以一样。Optionally, in some possible implementation manners of the present invention, the preset fingerprint information entering different applications may be different or the same.
可选地,在本发明的另一些可能的实施方式中,所述预设指纹信息可以由有权限用户进行更改。Optionally, in other possible implementation manners of the present invention, the preset fingerprint information may be changed by a licensed user.
S203、若该指纹信息与预设指纹信息不匹配,对预设信息进行加密和/或隐藏,或屏蔽触控操作。S203. If the fingerprint information does not match the preset fingerprint information, encrypt and/or hide the preset information, or mask the touch operation.
其中,屏蔽所述触控操作指在获取到的用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,暂时使用户在该预设界面的触控操作失效,从而使得在获取到非预设指纹信息时不再在预设界面继续获取用户触控触摸屏的指纹信息,减少系统开销,当下次再进入该预设界面时,触控操作自动重新恢复有效,。The masking operation refers to temporarily invalidating the touch operation of the user on the preset interface when the obtained fingerprint information of the user touches the touch screen does not match the preset fingerprint information, thereby causing the non-acquisition to be obtained. When the fingerprint information is preset, the fingerprint information of the touch screen of the user is no longer acquired in the preset interface, and the system overhead is reduced. When the preset interface is entered again, the touch operation is automatically restored again.
可选地,在本发明的一些可能的实施方式中,当预设指纹信息为一个时,判断判断用户触控触摸屏时的指纹信息是否与该一个预设指纹信息是否匹配,若用户触控触摸屏时的指纹信息与该预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。Optionally, in some possible implementation manners of the present invention, when the preset fingerprint information is one, determining whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information, and if the user touches the touch screen If the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
可选地,在本发明的另一些可能的实施方式中,当预设指纹信息为多个时,判断用户触控触摸屏时的指纹信息与其中任一一个预设指纹信息是否匹配,若用户触控触摸屏时的指纹信息与其中任一一个预设指纹信息匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。Optionally, in another possible implementation manner of the present invention, when the preset fingerprint information is multiple, determining whether the fingerprint information when the user touches the touch screen matches any one of the preset fingerprint information, if the user When the fingerprint information when the touch screen is touched matches any one of the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
举例说明,在本发明的一些可能的实施方式中,当设置手机相册应用具有访问权限的用户为张三和李四,则可以将预设指纹信息设置为张三和李四的指纹,那么在手机相册的访问界面上接收到指纹信息时,将该指纹信息与预设的张三和李四的指纹进行对比,如果不匹配,则拒绝访问手机相册。 For example, in some possible implementation manners of the present invention, when the user who has the access right of the mobile phone photo album application is Zhang San and Li Si, the preset fingerprint information may be set as the fingerprint of Zhang San and Li Si, then When the fingerprint information is received on the access interface of the mobile phone album, the fingerprint information is compared with the preset fingerprints of Zhang San and Li Si, and if it does not match, the mobile phone album is denied access.
再举例说明,在本发明的另一些可能的实施方式中,当设置手机相册应用里面的某一个特定相册具有访问权限的用户为张三,则将预设指纹信息设置为张三的指纹,那么在该特定相册的访问界面上接收到指纹信息时,将该指纹信息与预设的张三的指纹进行对比,如果不匹配,则对该特定相册进行加密并隐藏,或屏蔽所述触控操作,使触控操作暂时失效。For example, in another possible implementation manner of the present invention, when the user who has access rights to a specific album in the mobile phone photo album application is Zhang San, the preset fingerprint information is set as the fingerprint of Zhang San, then When the fingerprint information is received on the access interface of the specific album, the fingerprint information is compared with the preset fingerprint of the third album. If the fingerprint is not matched, the specific album is encrypted and hidden, or the touch operation is blocked. To temporarily disable the touch operation.
可选地,在本发明的一些可能的实施方式中,采用一般的对预设信息设定密码的方式对预设信息进行加密。Optionally, in some possible implementation manners of the present invention, the preset information is encrypted by using a general manner of setting a password for the preset information.
可选地,在本发明的一些可能的实施方式中,所述预设信息包括特定数据或特定应用,所述对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作,包括:Optionally, in some possible implementation manners of the present disclosure, the preset information includes specific data or a specific application, where the preset information is encrypted and/or hidden, or the touch operation is blocked. include:
若所述预设信息为特定数据,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作;If the preset information is specific data, encrypting and/or hiding the preset information, or shielding the touch operation;
若所述预设信息为特定应用,则对所述预设信息进行加密和/或终止访问所述预设信息,或屏蔽所述触控操作。If the preset information is a specific application, encrypt the preset information and/or terminate access to the preset information, or block the touch operation.
可选地,在本发明的一些可能的实施方式中,对所述特定数据进行加密时,可以用密码对特定数据进行加密。Optionally, in some possible implementation manners of the present invention, when the specific data is encrypted, the specific data may be encrypted with a password.
可选地,在本发明的另一些可能的实施方式中,对所述特定数据进行加密时,也可以利用一定的编码方式对数据进行加密。Optionally, in other possible implementation manners of the present invention, when the specific data is encrypted, the data may be encrypted by using a certain encoding manner.
举例说明,在本发明的一些可能的实施方式中,当预设信息为特定数据时,以存储在手机中的某一私密文件为例,当用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,则可对私密文件进行加密,也可以对私密文件进行隐藏,还可以对私密文件进行加密后并隐藏,或者在此时屏蔽用户对触摸屏进行的触控操作,使触控操作暂时失效,从而实现对私密文件的保护。For example, in some possible implementation manners of the present invention, when the preset information is specific data, taking a certain private file stored in the mobile phone as an example, when the user touches the touch screen, the fingerprint information and the preset fingerprint information are used. If the data is not matched, the private file can be encrypted, or the private file can be hidden. The private file can be encrypted and hidden, or the touch operation performed by the user on the touch screen can be blocked at this time, so that the touch operation is temporarily disabled. Invalidation to protect private files.
再举例说明,在本发明的一些可能的实施方式中,当预设信息为特定应用时,以手机相册应用为例,当用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,则可以对手机相册应用进行加密,此时需要用户输入密码才能进入,还可以终止用户访问该手机相册,或者在此时屏蔽用户对触摸屏进行的触控操作,使触控操作暂时失效,从而实现对手机相册应用的隐私保护。For example, in some possible implementation manners of the present invention, when the preset information is a specific application, taking the mobile phone photo album application as an example, when the fingerprint information of the user touching the touch screen does not match the preset fingerprint information, The mobile phone photo album application can be encrypted. In this case, the user needs to input a password to enter, and the user can be terminated to access the mobile phone photo album, or the touch operation performed by the user on the touch screen is shielded at this time, so that the touch operation is temporarily disabled, thereby achieving Privacy protection for mobile photo album applications.
可以理解,在预设信息为特定数据时,若用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,对特定数据进行加密和/或隐藏,或者屏蔽用户对触 摸屏进行的触控操作,使触控操作暂时失效,可以阻止用户继续访问特定数据,实现了对特定数据的保护;在预设信息为特定应用时,若用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,对特定应用进行加密和/或终止用户继续访问该应用,或者屏蔽用户对触摸屏进行的触控操作,使触控操作暂时失效,实现了对特定应用的隐私保护,并且由于只对特定数据或特定应用进行加密,而不是对全部数据进行加密,计算量小。It can be understood that when the preset information is specific data, if the fingerprint information when the user touches the touch screen does not match the preset fingerprint information, the specific data is encrypted and/or hidden, or the user is touched. The touch operation performed by the touch screen temporarily disables the touch operation, and prevents the user from continuing to access specific data, thereby realizing protection of specific data; when the preset information is a specific application, if the user touches the touch screen, the fingerprint information and When the preset fingerprint information does not match, the specific application is encrypted and/or the user is allowed to continue to access the application, or the touch operation performed by the user on the touch screen is blocked, so that the touch operation is temporarily disabled, and the privacy protection for the specific application is realized. And because only specific data or specific applications are encrypted, rather than encrypting all the data, the amount of calculation is small.
可选地,在本发明的一些可能的实施方式中,所述方法还包括:Optionally, in some possible implementation manners of the present invention, the method further includes:
在所述预设信息的生成过程中,不对所述预设信息做任何加密处理。In the process of generating the preset information, no encryption processing is performed on the preset information.
举例说明,在本发明的一些可能的实施方式中,在用手机进行拍照后生成照片并将照片存储在手机相册时,此时不对存储于手机相册里面的照片进行任何加密处理,只在后续用户读取手机相册里面的特定照片时,若用户触控触摸屏时的指纹信息与预设指纹信息不匹配时对该特定照片进行加密处理,从而使得计算量小,效率高。For example, in some possible implementation manners of the present invention, when a photo is generated by taking a photo with a mobile phone and the photo is stored in a mobile phone photo album, no photo encryption processing is performed on the photo stored in the mobile phone photo album, only in subsequent users. When a specific photo in the mobile phone album is read, if the fingerprint information when the user touches the touch screen does not match the preset fingerprint information, the specific photo is encrypted, so that the calculation amount is small and the efficiency is high.
可以理解,若在信息生成的过程中对信息进行加密处理,则需要对所有的信息均进行加密处理,后续在对任一信息进行读取时,相应地都需要进行解密,从而导致计算量大,系统开销大;而在信息生成的过程中不对信息进行加密处理,只在后续读取预设信息时,当用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,只对用户需要访问的预设信息进行加密处理,那么加密的预设信息只是总的信息的一部分,数据量少,从而使得计算量小,系统开销小,效率高。It can be understood that if the information is encrypted in the process of information generation, all the information needs to be encrypted, and when any information is read, the decryption is required accordingly, resulting in a large amount of calculation. The system overhead is large; in the process of information generation, the information is not encrypted, and only when the user reads the preset information, when the fingerprint information of the user touches the touch screen does not match the preset fingerprint information, only the user needs The preset information of the access is encrypted, and the encrypted preset information is only a part of the total information, and the amount of data is small, so that the calculation amount is small, the system overhead is small, and the efficiency is high.
S204、若再接收到预设指纹信息,则显示预设信息。S204. If the preset fingerprint information is received, the preset information is displayed.
可选地,在本发明的一些可能的实施方式中,所述若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作后,所述方法还包括:Optionally, in some possible implementation manners of the present invention, if the fingerprint information does not match the preset fingerprint information, encrypting and/or hiding the preset information, or shielding the After the touch operation, the method further includes:
若再获取到所述预设指纹信息,对所述预设信息进行解密和/或显示。If the preset fingerprint information is obtained again, the preset information is decrypted and/or displayed.
可以理解,由于之前当接收到的用户触控触摸屏时的指令信息不是预设指纹信息时,对该预设信息进行加密或屏蔽该触控操作等操作,从而用户无法查看该预设信息,实现了对预设信息的保护,由于屏蔽该触控操作只时暂时在该预设界面对触控操作进行屏蔽,当再次进入预设界面时,继续获取用户触控触摸屏时的指纹信息,从而当再将获取到预设指纹信息时,将预设信息呈现给有 权限用户,实现了有权限用户对预设信息的访问。It can be understood that, when the command information when the user touches the touch screen is not the preset fingerprint information, the preset information is encrypted or the touch operation is blocked, so that the user cannot view the preset information. The protection of the preset information, because the touch operation is blocked, the touch operation is temporarily blocked on the preset interface, and when the preset interface is accessed again, the fingerprint information when the user touches the touch screen is continuously obtained, thereby When the preset fingerprint information is obtained, the preset information is presented to The privileged user realizes the access of the authorized user to the preset information.
可选地,在本发明的另一些可能的实施方式中,当所述预设信息为特定数据时,所述若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作后,所述方法还包括:Optionally, in another possible implementation manner of the present invention, when the preset information is specific data, if the fingerprint information does not match the preset fingerprint information, the preset is After the information is encrypted and/or hidden, or the touch operation is blocked, the method further includes:
若再获取到所述预设指纹,对所述预设信息进行解密和/或显示。可选地,在本发明的一些可能的实施方式中,当之前对特定数据进行加密后,则当再获取到预设指纹信息时,对特定数据进行解密,当之前对特定数据进行隐藏,则当再获取到预设指纹信息时,显示特定数据,当之前加密并隐藏特定数据,则当再获取到预设指纹信息时,显示并解密特定数据。If the preset fingerprint is obtained again, the preset information is decrypted and/or displayed. Optionally, in some possible implementation manners of the present invention, when the specific data is previously encrypted, the specific data is decrypted when the preset fingerprint information is acquired again, and when the specific data is previously hidden, When the preset fingerprint information is acquired again, the specific data is displayed. When the specific data is previously encrypted and hidden, the specific data is displayed and decrypted when the preset fingerprint information is acquired again.
举例说明,在本发明的一些可能的实施方式中,若由于在访问手机中的某一私密文件时,获取到用户触控触摸屏时的指纹信息不是预设指纹信息时,则对该私密文件进行加密处理,从而用户无法访问该私密文件,当再获取到用户触控触摸屏时的指纹信息为预设指纹信息时,解密该私密文件,从而用户可访问该私密文件。For example, in some possible implementation manners of the present invention, if the fingerprint information when the user touches the touch screen is not the preset fingerprint information when accessing a certain private file in the mobile phone, the private file is performed. The encryption process is performed, so that the user cannot access the private file. When the fingerprint information when the touch screen is touched by the user is the preset fingerprint information, the private file is decrypted, so that the user can access the private file.
可选地,在本发明的另一些可能的实施方式中,当所述预设信息为特定应用时,所述若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作后,所述方法还包括:Optionally, in another possible implementation manner of the present invention, when the preset information is a specific application, if the fingerprint information does not match the preset fingerprint information, the preset is After the information is encrypted and/or hidden, or the touch operation is blocked, the method further includes:
若再获取到所述预设指纹信息,对所述预设信息进行解密和/或允许访问所述预设信息。If the preset fingerprint information is obtained again, the preset information is decrypted and/or the preset information is allowed to be accessed.
可选地,在本发明的一些可能的实施方式中,当之前对特定应用进行加密后,则当再获取到的指纹信息与预设指纹信息匹配时,对特定应用进行解密,当之前由于获取到的指纹信息与预设指纹信息不匹配时,终止进入特定应用,则当再获取到的指纹信息与预设指纹信息匹配时,允许进入特定应用。Optionally, in some possible implementation manners of the present invention, when the specific application is previously encrypted, when the re-acquired fingerprint information matches the preset fingerprint information, the specific application is decrypted. When the obtained fingerprint information does not match the preset fingerprint information, the user enters the specific application, and when the acquired fingerprint information matches the preset fingerprint information, the specific application is allowed to enter.
举例说明,在本发明的一些可能的实施方式中,在对手机相册进行访问时,当无权限用户在访问界面触控触摸屏时的指纹信息不是预设指纹信息时,退出手机相册,当再次由有权限用户在访问界面触控触摸屏时的指纹信息为预设指纹信息时,允许进入手机相册。For example, in some possible implementation manners of the present invention, when accessing the mobile phone photo album, when the fingerprint information of the unprivileged user touching the touch screen is not the preset fingerprint information, the mobile phone photo album is exited when When the fingerprint information of the authorized user touches the touch screen is the preset fingerprint information, the user is allowed to enter the mobile phone album.
可选地,在本发明的一些可能的实施方式中,所述方法还包括:Optionally, in some possible implementation manners of the present invention, the method further includes:
若所述指纹信息与所述预设指纹信息匹配,则显示所述预设信息。If the fingerprint information matches the preset fingerprint information, the preset information is displayed.
可选地,在本发明的一些可能的实施方式中,所述方法还包括: Optionally, in some possible implementation manners of the present invention, the method further includes:
当所述预设信息为特定数据时,若所述指纹信息与所述预设指纹信息匹配,则显示所述预设信息。When the preset information is specific data, if the fingerprint information matches the preset fingerprint information, the preset information is displayed.
举例说明,在本发明的一些可能的实施方式中,若预设信息为手机相册应用里面的私密相册时,由于在该私密相册里面的照片的生成过程中没有对照片进行加密处理,所以在查看该私密相册,并且用户触控触摸屏时的指纹信息与预设指纹信息匹配时,不需要对该私密相册进行解密则可以直接查看,也即手机直接显示该私密相册给用户。For example, in some possible implementation manners of the present invention, if the preset information is a private album in the mobile phone album application, since the photo is not encrypted during the generation of the photo in the private album, the viewing is performed. The private photo album, and the fingerprint information when the user touches the touch screen matches the preset fingerprint information, can be directly viewed without decrypting the private album, that is, the mobile phone directly displays the private album to the user.
可选地,在本发明的一些可能的实施方式中,所述方法还包括:Optionally, in some possible implementation manners of the present invention, the method further includes:
当所述预设信息为特定应用时,若所述指纹信息与所述预设指纹信息匹配,则访问所述预设信息。When the preset information is a specific application, if the fingerprint information matches the preset fingerprint information, the preset information is accessed.
举例说明,在本发明的一些可能的实施方式中,若预设信息为手机相册应用,由于手机相册应用在初始设置时没有进行加密处理,所以在访问手机相册应用,并且用户触控触摸屏时的指纹信息与预设指纹信息匹配时,可以直接进入手机相册。For example, in some possible implementation manners of the present invention, if the preset information is a mobile phone photo album application, since the mobile phone photo album application is not encrypted during the initial setting, when the mobile phone photo album application is accessed, and the user touches the touch screen, When the fingerprint information matches the preset fingerprint information, you can directly enter the mobile phone album.
可以理解,在特定数据生成过程不对特定数据进行加密,以及特定应用初始设置的时候不对特定应用进行加密,那么在后续有访问权限的用户进行访问时,则不需要对特定数据或者特定应用进行解密即可直接查看特定数据或者访问特定应用,系统开销小,操作方便。It can be understood that, when the specific data generation process does not encrypt the specific data, and the specific application is not set to be encrypted when the specific application is initially set, the specific data or the specific application does not need to be decrypted when the user with subsequent access rights accesses. You can view specific data directly or access specific applications, with low system overhead and easy operation.
可以看出,本实施例的方案中,在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面指预设信息的访问界面;判断所述指纹信息与预设指纹信息是否匹配;若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作,使触控操作暂时失效。从而当只在预设界面上获取到的用户对触摸屏进行触控操作时的指纹信息与预设指纹信息不匹配时,只对预设信息进行加密,计算量小,系统开销小,效率高。。It can be seen that, in the solution of the embodiment, the fingerprint information of the touch operation performed by the user on the touch screen is obtained on the preset interface, and the preset interface refers to the access interface of the preset information; determining the fingerprint information and the preset fingerprint Whether the information is matched or not; if the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked, so that the touch operation is temporarily disabled. Therefore, when the fingerprint information obtained by the user on the preset interface does not match the fingerprint information of the touch screen, only the preset information is encrypted, the calculation amount is small, the system overhead is small, and the efficiency is high. .
下面再举例一个更为具体的应用场景。Let's take a more specific application scenario below.
例如,在用户进行拍照时不对手机相册进行加密处理,如果要对手机相册进行安全控制,首先需要将手机相册设置为需要通过指纹识别才能进入的一个应用,并且对手机相册设置该手机主人的指纹为预设指纹,则在后续所有使用该手机的所有用户在相册的访问界面访问该相册时,当用户按压到手机屏幕的 任何位置时,指纹传感器将会感应到用户的指纹,对指纹进行识别。首先当手机主人访问手机相册时,可识别到手机主人按压手机屏幕的指纹信息为预设指纹信息,可直接允许手机主人进入手机相册,从而实现手机主人在访问手机相册时不需要对手机相册进行任何加密解密处理即可以访问,操作方便,系统开销小。当其它用户想访问该相册时,再通过识别到该用户按压手机屏幕时的指纹信息不是预设指纹信息,对手机相册进行加密,并终止该用户访问手机相册,同时暂时使该用户在该界面上触控触摸屏的操作失效,下次重新进入该用户界面时才使触控操作恢复有效,从而实现对手机相册的加密保护。For example, when the user takes a photo, the mobile phone photo album is not encrypted. If the mobile phone photo album is to be securely controlled, the mobile phone photo album needs to be set as an application that needs to be accessed by fingerprint recognition, and the mobile phone photo album owner's fingerprint is set to the mobile phone photo album. For the preset fingerprint, when all the users who use the mobile phone access the album in the access interface of the album, when the user presses the screen of the mobile phone At any location, the fingerprint sensor will sense the user's fingerprint and identify the fingerprint. Firstly, when the mobile phone owner accesses the mobile phone photo album, the fingerprint information of the mobile phone owner pressing the mobile phone screen can be recognized as the preset fingerprint information, and the mobile phone owner can directly enter the mobile phone photo album, so that the mobile phone owner does not need to perform the mobile phone photo album when accessing the mobile phone photo album. Any encryption and decryption processing can be accessed, the operation is convenient, and the system overhead is small. When other users want to access the album, the fingerprint information when the user presses the screen of the mobile phone is not the preset fingerprint information, encrypts the mobile phone album, and terminates the user accessing the mobile phone album, and temporarily makes the user in the interface. The operation of the touch screen is invalid, and the touch operation is restored when the user interface is re-entered the next time, thereby realizing the encryption protection of the mobile phone album.
更进一步地,当手机主人再次访问该手机相册时,手机再次识别手机主人按压触摸屏时的指纹信息,判断与预设指纹信息一致,重新对手机相册进行解密,并允许手机主人访问该相册。Further, when the mobile phone owner accesses the mobile phone album again, the mobile phone again recognizes the fingerprint information when the mobile phone owner presses the touch screen, determines that the fingerprint information is consistent with the preset fingerprint information, re-decrypts the mobile phone photo album, and allows the mobile phone owner to access the photo album.
请参见图3,图3是本发明的一个实施例提供的一种数据加密装置的结构示意图,其中,如图3所示,本发明的一个实施例提供的一种数据加密装置300可以包括:Referring to FIG. 3, FIG. 3 is a schematic structural diagram of a data encryption apparatus according to an embodiment of the present invention. As shown in FIG. 3, a data encryption apparatus 300 according to an embodiment of the present invention may include:
读取模块310、判断模块320和加密模块330。The reading module 310, the determining module 320, and the encryption module 330 are read.
其中,读取模块310,用于在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面指预设信息的访问界面。The reading module 310 is configured to acquire fingerprint information when the user touches the touch screen on the preset interface, where the preset interface refers to an access interface of the preset information.
其中,预设信息指存储于终端中特定位置、由终端系统或者用户设定的、需要对其访问进行限制的特定信息,包括特定数据或特定应用等,如可以为手机相册、手机短信、QQ、微信等特定应用,也可以为手机相册应用里面的某一个相册、手机短信应用里面的短信等,还可以为存储在终端中的某一特定文件等;The preset information refers to specific information stored in a specific location in the terminal, set by the terminal system or the user, and needs to be restricted for access, including specific data or a specific application, such as a mobile phone photo album, a mobile phone short message, and QQ. Specific applications such as WeChat, can also be a certain photo album in the mobile phone photo album application, SMS in the mobile phone SMS application, etc., and can also be a specific file stored in the terminal;
预设界面是指终端提供给用户访问预设信息的用户界面,如手机相册、手机短信等的访问界面,或手机进入相册后,查看某一指定相册的界面;预设界面还可以为屏幕的解锁界面等。The preset interface refers to a user interface provided by the terminal to the user to access preset information, such as an access interface of a mobile phone photo album, a mobile phone short message, or the like, or an interface of a specified album after the mobile phone enters the album; the preset interface may also be a screen Unlock the interface and more.
其中,终端指手机、平板电脑等智能终端,该终端具有能够进行指纹识别的触摸屏,该触摸屏能够感应用户的按压、滑动等操作,并能对与触摸屏接触的指纹进行识别。终端可以在预设界面通过具有指纹识别的触摸屏的任何位置获取用户触控触摸屏时的指纹信息。The terminal refers to a smart terminal such as a mobile phone or a tablet computer. The terminal has a touch screen capable of fingerprint recognition, and the touch screen can sense a user's pressing, sliding, and the like, and can recognize a fingerprint that is in contact with the touch screen. The terminal can obtain the fingerprint information when the user touches the touch screen through any position of the touch screen with the fingerprint recognition on the preset interface.
可选地,在本发明的一些可能的实施方式中,该预设界面根据用户的需要, 将预设信息的访问界面设置为预设界面,从而用户在通过该预设界面进入该应用或者数据时,终端实时通过触摸屏对用户触控触摸屏时的指纹信息进行识别。Optionally, in some possible implementation manners of the present invention, the preset interface is according to a user's needs. The access interface of the preset information is set as a preset interface, so that when the user enters the application or data through the preset interface, the terminal recognizes the fingerprint information when the user touches the touch screen through the touch screen in real time.
举例说明,在本发明的一些可能的实施方式中,若设置手机相册为敏感信息,则将预设界面设置为访问相册的用户界面,那么当用户访问到该用户界面时,终端实时读取用户在该用户界面上触控触摸屏时的指纹信息。For example, in some possible implementation manners of the present invention, if the mobile phone photo album is set as sensitive information, the preset interface is set to access the user interface of the photo album, and when the user accesses the user interface, the terminal reads the user in real time. Fingerprint information when the touch screen is touched on the user interface.
可选地,在预设界面获取用户触控触摸屏时的指纹信息时,可以通过识别用户在预设界面的按压操作。Optionally, when the preset interface acquires the fingerprint information when the user touches the touch screen, the pressing operation of the user on the preset interface may be recognized.
可选地,在预设界面获取用户触控触摸屏时的指纹信息时,可以通过识别用户在预设界面的滑动操作。Optionally, when the preset interface acquires the fingerprint information when the user touches the touch screen, the sliding operation of the user on the preset interface may be recognized.
判断模块320,用于判断所述指纹信息与预设指纹信息是否匹配。The determining module 320 is configured to determine whether the fingerprint information matches the preset fingerprint information.
其中,所述指纹信息指用户在预设界面读取到的指纹信息,可通过指纹传感器感应用户在触摸屏上的按压、滑动等操作进行指纹识别。The fingerprint information refers to the fingerprint information read by the user on the preset interface, and the fingerprint sensor can sense the pressing, sliding, and the like of the user on the touch screen to perform fingerprint recognition.
其中,预设指纹信息指预先存储在终端中的指纹信息,用于与通过触摸屏获取收到的用户触控触摸屏时的指纹信息进行对比。The preset fingerprint information refers to fingerprint information pre-stored in the terminal, and is used for comparing with the fingerprint information when the received user touches the touch screen through the touch screen.
可选地,在本发明的一些可能的实施方式中,该预设指纹信息可以为一个,从而所接收到的用户录入的指纹信息只需要与这一个预设指纹信息进行对比,判断用户触控触摸屏时的指纹信息是否与该预设指纹信息匹配。Optionally, in some possible implementation manners of the present invention, the preset fingerprint information may be one, so that the received fingerprint information input by the user only needs to be compared with the preset fingerprint information, and the user touch is determined. Whether the fingerprint information when the touch screen matches the preset fingerprint information.
可选地,在本发明的另一些可能的实施方式中,该预设指纹信息也可以为多个,从而所接收到的用户触控触摸屏时的指纹信息需要与多个预设指纹信息进行对比,用于判断用户触控触摸屏时的指纹信息是否与预设指纹信息匹配。Optionally, in other possible implementation manners of the present invention, the preset fingerprint information may also be multiple, so that the received fingerprint information of the user touching the touch screen needs to be compared with multiple preset fingerprint information. It is used to determine whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information.
可选地,在本发明的一些可能的实施方式中,进入不同应用的预设指纹信息可以不一样,也可以一样。Optionally, in some possible implementation manners of the present invention, the preset fingerprint information entering different applications may be different or the same.
可选地,在本发明的另一些可能的实施方式中,所述预设指纹信息可以由有权限用户进行更改。Optionally, in other possible implementation manners of the present invention, the preset fingerprint information may be changed by a licensed user.
加密模块330,用于若所述指纹信息与所述预设指纹信息不匹配,对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。The encryption module 330 is configured to encrypt and/or hide the preset information or block the touch operation if the fingerprint information does not match the preset fingerprint information.
其中,屏蔽所述触控操作指在获取到的用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,暂时使用户在该预设界面的触控操作失效,从而使得在获取到非预设指纹信息时不再在预设界面继续获取用户触控触摸屏的指纹信 息,减少系统开销,当下次再进入该预设界面时,触控操作自动重新恢复有效,。The masking operation refers to temporarily invalidating the touch operation of the user on the preset interface when the obtained fingerprint information of the user touches the touch screen does not match the preset fingerprint information, thereby causing the non-acquisition to be obtained. When the fingerprint information is preset, the fingerprint information of the user touch screen is no longer acquired in the preset interface. Information, reduce system overhead, when the next time you enter the default interface, the touch operation is automatically restored again.
可选地,在本发明的一些可能的实施方式中,当预设指纹信息为一个时,判断判断用户触控触摸屏时的指纹信息是否与该一个预设指纹信息是否匹配,若用户触控触摸屏时的指纹信息与该预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。Optionally, in some possible implementation manners of the present invention, when the preset fingerprint information is one, determining whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information, and if the user touches the touch screen If the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
可选地,在本发明的另一些可能的实施方式中,当预设指纹信息为多个时,判断用户触控触摸屏时的指纹信息与其中任一一个预设指纹信息是否匹配,若用户触控触摸屏时的指纹信息与其中任一一个预设指纹信息匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。Optionally, in another possible implementation manner of the present invention, when the preset fingerprint information is multiple, determining whether the fingerprint information when the user touches the touch screen matches any one of the preset fingerprint information, if the user When the fingerprint information when the touch screen is touched matches any one of the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
举例说明,在本发明的一些可能的实施方式中,当设置手机相册应用具有访问权限的用户为张三和李四,则可以将预设指纹信息设置为张三和李四的指纹,那么在手机相册的访问界面上接收到指纹信息时,将该指纹信息与预设的张三和李四的指纹进行对比,如果不匹配,则拒绝访问手机相册。For example, in some possible implementation manners of the present invention, when the user who has the access right of the mobile phone photo album application is Zhang San and Li Si, the preset fingerprint information may be set as the fingerprint of Zhang San and Li Si, then When the fingerprint information is received on the access interface of the mobile phone album, the fingerprint information is compared with the preset fingerprints of Zhang San and Li Si, and if it does not match, the mobile phone album is denied access.
再举例说明,在本发明的另一些可能的实施方式中,当设置手机相册应用里面的某一个特定相册具有访问权限的用户为张三,则将预设指纹信息设置为张三的指纹,那么在该特定相册的访问界面上接收到指纹信息时,将该指纹信息与预设的张三的指纹进行对比,如果不匹配,则对该特定相册进行加密并隐藏,或屏蔽所述触控操作,使触控操作暂时失效。For example, in another possible implementation manner of the present invention, when the user who has access rights to a specific album in the mobile phone photo album application is Zhang San, the preset fingerprint information is set as the fingerprint of Zhang San, then When the fingerprint information is received on the access interface of the specific album, the fingerprint information is compared with the preset fingerprint of the third album. If the fingerprint is not matched, the specific album is encrypted and hidden, or the touch operation is blocked. To temporarily disable the touch operation.
可选地,在本发明的一些可能的实施方式中,采用一般的对预设信息设定密码的方式对预设信息进行加密。Optionally, in some possible implementation manners of the present invention, the preset information is encrypted by using a general manner of setting a password for the preset information.
可以理解的是,本实施例的数据加密装置300的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the functions of the functional modules of the data encryption apparatus 300 of the present embodiment may be specifically implemented according to the method in the foregoing method embodiments, and the specific implementation process may refer to the related description of the foregoing method embodiments, and details are not described herein again. .
可以看出,本实施例的方案中,数据加密装置300在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面指预设信息的访问界面;数据加密装置300判断所述指纹信息与预设指纹信息是否匹配;若所述指纹信息与所述预设指纹信息不匹配,则数据加密装置300对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作,使触控操作暂时失效。从而当只在预设界面上获取到的用户对触摸屏进行触控操作时的指纹信息与预设指纹信息不匹配时,只对预设信息进行加密,计算量小,系统开销小,效率高。请参见图4, 图4是本发明的一个实施例提供的一种数据加密装置的结构示意图,其中,如图4所示,本发明的一个实施例提供的一种数据加密装置300可以包括:It can be seen that, in the solution of the embodiment, the data encryption device 300 obtains the fingerprint information when the user touches the touch screen on the preset interface, and the preset interface refers to the access interface of the preset information; the data encryption device 300 determines Whether the fingerprint information matches the preset fingerprint information; if the fingerprint information does not match the preset fingerprint information, the data encryption device 300 encrypts and/or hides the preset information, or blocks the touch Control operation to temporarily disable the touch operation. Therefore, when the fingerprint information obtained by the user on the preset interface does not match the fingerprint information of the touch screen, only the preset information is encrypted, the calculation amount is small, the system overhead is small, and the efficiency is high. Please refer to Figure 4, FIG. 4 is a schematic structural diagram of a data encryption apparatus according to an embodiment of the present invention. As shown in FIG. 4, a data encryption apparatus 300 according to an embodiment of the present invention may include:
读取模块410、判断模块420和加密模块430。The reading module 410, the determining module 420, and the encryption module 430 are read.
其中,读取模块410,用于在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面指预设信息的访问界面。The reading module 410 is configured to acquire fingerprint information when the user touches the touch screen on the preset interface, where the preset interface refers to an access interface of preset information.
其中,预设信息指存储于终端中特定位置、由终端系统或者用户设定的、需要对其访问进行限制的特定信息,包括特定数据或特定应用等,如可以为手机相册、手机短信、QQ、微信等特定应用,也可以为手机相册应用里面的某一个相册、手机短信应用里面的短信等,还可以为存储在终端中的某一特定文件等;The preset information refers to specific information stored in a specific location in the terminal, set by the terminal system or the user, and needs to be restricted for access, including specific data or a specific application, such as a mobile phone photo album, a mobile phone short message, and QQ. Specific applications such as WeChat, can also be a certain photo album in the mobile phone photo album application, SMS in the mobile phone SMS application, etc., and can also be a specific file stored in the terminal;
预设界面是指终端提供给用户访问预设信息的用户界面,如手机相册、手机短信等的访问界面,或手机进入相册后,查看某一指定相册的界面;预设界面还可以为屏幕的解锁界面等。The preset interface refers to a user interface provided by the terminal to the user to access preset information, such as an access interface of a mobile phone photo album, a mobile phone short message, or the like, or an interface of a specified album after the mobile phone enters the album; the preset interface may also be a screen Unlock the interface and more.
其中,终端指手机、平板电脑等智能终端,该终端具有能够进行指纹识别的触摸屏,该触摸屏能够感应用户的按压、滑动等操作,并能对与触摸屏接触的指纹进行识别。终端可以在预设界面通过具有指纹识别的触摸屏的任何位置获取用户触控触摸屏时的指纹信息。The terminal refers to a smart terminal such as a mobile phone or a tablet computer. The terminal has a touch screen capable of fingerprint recognition, and the touch screen can sense a user's pressing, sliding, and the like, and can recognize a fingerprint that is in contact with the touch screen. The terminal can obtain the fingerprint information when the user touches the touch screen through any position of the touch screen with the fingerprint recognition on the preset interface.
可选地,在本发明的一些可能的实施方式中,该预设界面根据用户的需要,将预设信息的访问界面设置为预设界面,从而用户在通过该预设界面进入该应用或者数据时,终端实时通过触摸屏对用户触控触摸屏时的指纹信息进行识别。Optionally, in some possible implementation manners of the present invention, the preset interface sets an access interface of the preset information as a preset interface according to a user's needs, so that the user enters the application or data through the preset interface. The terminal recognizes the fingerprint information when the user touches the touch screen through the touch screen in real time.
举例说明,在本发明的一些可能的实施方式中,若设置手机相册为敏感信息,则将预设界面设置为访问相册的用户界面,那么当用户访问到该用户界面时,终端实时读取用户在该用户界面上触控触摸屏时的指纹信息。For example, in some possible implementation manners of the present invention, if the mobile phone photo album is set as sensitive information, the preset interface is set to access the user interface of the photo album, and when the user accesses the user interface, the terminal reads the user in real time. Fingerprint information when the touch screen is touched on the user interface.
可选地,在预设界面获取用户触控触摸屏时的指纹信息时,可以通过识别用户在预设界面的按压操作。Optionally, when the preset interface acquires the fingerprint information when the user touches the touch screen, the pressing operation of the user on the preset interface may be recognized.
可选地,在预设界面获取用户触控触摸屏时的指纹信息时,可以通过识别用户在预设界面的滑动操作。Optionally, when the preset interface acquires the fingerprint information when the user touches the touch screen, the sliding operation of the user on the preset interface may be recognized.
判断模块420,用于判断所述指纹信息与预设指纹信息是否匹配。The determining module 420 is configured to determine whether the fingerprint information matches the preset fingerprint information.
其中,所述指纹信息指用户在预设界面读取到的指纹信息,可通过指纹传 感器感应用户在触摸屏上的按压、滑动等操作进行指纹识别。The fingerprint information refers to the fingerprint information read by the user on the preset interface, and can be transmitted by using the fingerprint. The sensor senses the user's pressing, sliding, and the like on the touch screen to perform fingerprint recognition.
其中,预设指纹信息指预先存储在终端中的指纹信息,用于与通过触摸屏获取收到的用户触控触摸屏时的指纹信息进行对比。The preset fingerprint information refers to fingerprint information pre-stored in the terminal, and is used for comparing with the fingerprint information when the received user touches the touch screen through the touch screen.
可选地,在本发明的一些可能的实施方式中,该预设指纹信息可以为一个,从而所接收到的用户录入的指纹信息只需要与这一个预设指纹信息进行对比,判断用户触控触摸屏时的指纹信息是否与该预设指纹信息匹配。Optionally, in some possible implementation manners of the present invention, the preset fingerprint information may be one, so that the received fingerprint information input by the user only needs to be compared with the preset fingerprint information, and the user touch is determined. Whether the fingerprint information when the touch screen matches the preset fingerprint information.
可选地,在本发明的另一些可能的实施方式中,该预设指纹信息也可以为多个,从而所接收到的用户触控触摸屏时的指纹信息需要与多个预设指纹信息进行对比,用于判断用户触控触摸屏时的指纹信息是否与预设指纹信息匹配。Optionally, in other possible implementation manners of the present invention, the preset fingerprint information may also be multiple, so that the received fingerprint information of the user touching the touch screen needs to be compared with multiple preset fingerprint information. It is used to determine whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information.
可选地,在本发明的一些可能的实施方式中,进入不同应用的预设指纹信息可以不一样,也可以一样。Optionally, in some possible implementation manners of the present invention, the preset fingerprint information entering different applications may be different or the same.
可选地,在本发明的另一些可能的实施方式中,所述预设指纹信息可以由有权限用户进行更改。Optionally, in other possible implementation manners of the present invention, the preset fingerprint information may be changed by a licensed user.
加密模块430,用于若所述指纹信息与所述预设指纹信息不匹配,对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。The encryption module 430 is configured to encrypt and/or hide the preset information or block the touch operation if the fingerprint information does not match the preset fingerprint information.
其中,屏蔽所述触控操作指在获取到的用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,暂时使用户在该预设界面的触控操作失效,从而使得在获取到非预设指纹信息时不再在预设界面继续获取用户触控触摸屏的指纹信息,减少系统开销,当下次再进入该预设界面时,触控操作自动重新恢复有效,。The masking operation refers to temporarily invalidating the touch operation of the user on the preset interface when the obtained fingerprint information of the user touches the touch screen does not match the preset fingerprint information, thereby causing the non-acquisition to be obtained. When the fingerprint information is preset, the fingerprint information of the touch screen of the user is no longer acquired in the preset interface, and the system overhead is reduced. When the preset interface is entered again, the touch operation is automatically restored again.
可选地,在本发明的一些可能的实施方式中,当预设指纹信息为一个时,判断判断用户触控触摸屏时的指纹信息是否与该一个预设指纹信息是否匹配,若用户触控触摸屏时的指纹信息与该预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。Optionally, in some possible implementation manners of the present invention, when the preset fingerprint information is one, determining whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information, and if the user touches the touch screen If the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
可选地,在本发明的另一些可能的实施方式中,当预设指纹信息为多个时,判断用户触控触摸屏时的指纹信息与其中任一一个预设指纹信息是否匹配,若用户触控触摸屏时的指纹信息与其中任一一个预设指纹信息匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。Optionally, in another possible implementation manner of the present invention, when the preset fingerprint information is multiple, determining whether the fingerprint information when the user touches the touch screen matches any one of the preset fingerprint information, if the user When the fingerprint information when the touch screen is touched matches any one of the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
举例说明,在本发明的一些可能的实施方式中,当设置手机相册应用具有访问权限的用户为张三和李四,则可以将预设指纹信息设置为张三和李四的指纹,那么在手机相册的访问界面上接收到指纹信息时,将该指纹信息与预设的 张三和李四的指纹进行对比,如果不匹配,则拒绝访问手机相册。For example, in some possible implementation manners of the present invention, when the user who has the access right of the mobile phone photo album application is Zhang San and Li Si, the preset fingerprint information may be set as the fingerprint of Zhang San and Li Si, then When the fingerprint information is received on the access interface of the mobile phone album, the fingerprint information is preset with Zhang San and Li Si's fingerprints are compared. If they do not match, they refuse to access the mobile phone album.
再举例说明,在本发明的另一些可能的实施方式中,当设置手机相册应用里面的某一个特定相册具有访问权限的用户为张三,则将预设指纹信息设置为张三的指纹,那么在该特定相册的访问界面上接收到指纹信息时,将该指纹信息与预设的张三的指纹进行对比,如果不匹配,则对该特定相册进行加密并隐藏,或屏蔽所述触控操作,使触控操作暂时失效。For example, in another possible implementation manner of the present invention, when the user who has access rights to a specific album in the mobile phone photo album application is Zhang San, the preset fingerprint information is set as the fingerprint of Zhang San, then When the fingerprint information is received on the access interface of the specific album, the fingerprint information is compared with the preset fingerprint of the third album. If the fingerprint is not matched, the specific album is encrypted and hidden, or the touch operation is blocked. To temporarily disable the touch operation.
可选地,在本发明的一些可能的实施方式中,采用一般的对预设信息设定密码的方式对预设信息进行加密。Optionally, in some possible implementation manners of the present invention, the preset information is encrypted by using a general manner of setting a password for the preset information.
可选地,在本发明的一些可能的实施方式中,所述预设信息包括特定数据或特定应用,所述加密模块包括:Optionally, in some possible implementation manners of the present disclosure, the preset information includes specific data or a specific application, and the encryption module includes:
第一加密单元431,用于若所述预设信息为特定数据,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作;The first encryption unit 431 is configured to: if the preset information is specific data, encrypt and/or hide the preset information, or block the touch operation;
第二加密单元432,用于若所述预设信息为特定应用,则对所述预设信息进行加密和/或终止访问所述预设信息,或屏蔽所述触控操作。The second encryption unit 432 is configured to: if the preset information is a specific application, encrypt and/or terminate accessing the preset information, or block the touch operation.
可选地,在本发明的一些可能的实施方式中,对所述特定数据进行加密时,可以用密码对特定数据进行加密。Optionally, in some possible implementation manners of the present invention, when the specific data is encrypted, the specific data may be encrypted with a password.
可选地,在本发明的另一些可能的实施方式中,对所述特定数据进行加密时,也可以利用一定的编码方式对数据进行加密。Optionally, in other possible implementation manners of the present invention, when the specific data is encrypted, the data may be encrypted by using a certain encoding manner.
举例说明,在本发明的一些可能的实施方式中,当预设信息为特定数据时,以存储在手机中的某一私密文件为例,当用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,则可对私密文件进行加密,也可以对私密文件进行隐藏,还可以对私密文件进行加密后并隐藏,或者在此时屏蔽用户对触摸屏进行的触控操作,使触控操作暂时失效,从而实现对私密文件的保护。For example, in some possible implementation manners of the present invention, when the preset information is specific data, taking a certain private file stored in the mobile phone as an example, when the user touches the touch screen, the fingerprint information and the preset fingerprint information are used. If the data is not matched, the private file can be encrypted, or the private file can be hidden. The private file can be encrypted and hidden, or the touch operation performed by the user on the touch screen can be blocked at this time, so that the touch operation is temporarily disabled. Invalidation to protect private files.
再举例说明,在本发明的一些可能的实施方式中,当预设信息为特定应用时,以手机相册应用为例,当用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,则可以对手机相册应用进行加密,此时需要用户输入密码才能进入,还可以终止用户访问该手机相册,或者在此时屏蔽用户对触摸屏进行的触控操作,使触控操作暂时失效,从而实现对手机相册应用的隐私保护。For example, in some possible implementation manners of the present invention, when the preset information is a specific application, taking the mobile phone photo album application as an example, when the fingerprint information of the user touching the touch screen does not match the preset fingerprint information, The mobile phone photo album application can be encrypted. In this case, the user needs to input a password to enter, and the user can be terminated to access the mobile phone photo album, or the touch operation performed by the user on the touch screen is shielded at this time, so that the touch operation is temporarily disabled, thereby achieving Privacy protection for mobile photo album applications.
可以理解,在预设信息为特定数据时,若用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,对特定数据进行加密和/或隐藏,或者屏蔽用户对触 摸屏进行的触控操作,使触控操作暂时失效,可以阻止用户继续访问特定数据,实现了对特定数据的保护;在预设信息为特定应用时,若用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,对特定应用进行加密和/或终止用户继续访问该应用,或者屏蔽用户对触摸屏进行的触控操作,使触控操作暂时失效,实现了对特定应用的隐私保护,并且由于只对特定数据或特定应用进行加密,而不是对全部数据进行加密,计算量小。It can be understood that when the preset information is specific data, if the fingerprint information when the user touches the touch screen does not match the preset fingerprint information, the specific data is encrypted and/or hidden, or the user is touched. The touch operation performed by the touch screen temporarily disables the touch operation, and prevents the user from continuing to access specific data, thereby realizing protection of specific data; when the preset information is a specific application, if the user touches the touch screen, the fingerprint information and When the preset fingerprint information does not match, the specific application is encrypted and/or the user is allowed to continue to access the application, or the touch operation performed by the user on the touch screen is blocked, so that the touch operation is temporarily disabled, and the privacy protection for the specific application is realized. And because only specific data or specific applications are encrypted, rather than encrypting all the data, the amount of calculation is small.
可选地,在本发明的一些可能的实施方式中,所述读取模块包括:Optionally, in some possible implementation manners of the present disclosure, the reading module includes:
第一读取单元411,用于若在所述预设界面上获取用户对触摸屏进行的触控操作为按压操作时,则当按压操作发生时,获取指纹信息;The first reading unit 411 is configured to: when the touch operation performed by the user on the touch screen is performed as a pressing operation on the preset interface, obtain the fingerprint information when the pressing operation occurs;
第二读取单元412,用于若在所述预设界面上获取用户对触摸屏进行的触控操作为滑动操作时,则在滑动操作起始时刻获取指纹信息。The second reading unit 412 is configured to acquire the fingerprint information at the start time of the sliding operation, if the touch operation performed by the user on the touch screen is performed on the preset interface.
可选地,在本发明的一些可能的实施方式中,不管用户在预设界面上进行的是何种操作,当接收到用户的对预设界面的触压并且在触压之前或者之后有离开预设界面的操作时,则对指纹信息进行识别。Optionally, in some possible implementation manners of the present invention, regardless of what operation the user performs on the preset interface, when the user receives the touch pressure on the preset interface and leaves before or after the touch pressure When the preset interface is operated, the fingerprint information is identified.
可选地,在本发明的一些可能的实施方式中,终端通过在屏幕下安装指纹传感器,从而终端可以在用户触摸预设界面屏幕上的任何位置读取用户触控触摸屏时的指纹信息,方便用户操作。Optionally, in some possible implementation manners of the present invention, the terminal installs the fingerprint sensor under the screen, so that the terminal can read the fingerprint information when the user touches the touch screen at any position on the user touch the preset interface screen, which is convenient. User action.
可选地,在本发明的另一些可能的实施方式中,终端也可以在预设界面的特定位置读取用户触控触摸屏时的指纹信息。Optionally, in other possible implementation manners of the present invention, the terminal may also read the fingerprint information when the user touches the touch screen at a specific location of the preset interface.
可以理解,当用户在预设界面上对触摸屏进行的触控操作可能为按压操作,此时接收按压操作发生时的指纹信息即可正确识别到用户的指纹,当用户在预设界面上对触摸屏进行的触控操作为滑动操作时,选取滑动起始时刻用户接触到预设界面的指纹信息可正确地对用户的指纹进行识别。It can be understood that when the touch operation performed on the touch screen by the user on the preset interface may be a pressing operation, the fingerprint information when the pressing operation is received may correctly recognize the fingerprint of the user, and the user touches the touch screen on the preset interface. When the touch operation is performed as a sliding operation, the fingerprint information of the user touching the preset interface at the start of the sliding moment can correctly identify the fingerprint of the user.
可选地,在本发明的一些可能的实施方式中,所述数据加密装置400还用于:Optionally, in some possible implementation manners of the present invention, the data encryption apparatus 400 is further configured to:
在所述预设信息的生成过程中,不对所述预设信息做任何加密处理。In the process of generating the preset information, no encryption processing is performed on the preset information.
举例说明,在本发明的一些可能的实施方式中,在用手机进行拍照后生成照片并将照片存储在手机相册时,此时不对存储于手机相册里面的照片进行任何加密处理,只在后续用户读取手机相册里面的特定照片时,若用户触控触摸屏时的指纹信息与预设指纹信息不匹配时对该特定照片进行加密处理,从而使 得计算量小,效率高。For example, in some possible implementation manners of the present invention, when a photo is generated by taking a photo with a mobile phone and the photo is stored in a mobile phone photo album, no photo encryption processing is performed on the photo stored in the mobile phone photo album, only in subsequent users. When reading a specific photo in the mobile phone album, if the fingerprint information when the user touches the touch screen does not match the preset fingerprint information, the specific photo is encrypted, thereby It has a small amount of calculation and high efficiency.
可以理解,若在信息生成的过程中对信息进行加密处理,则需要对所有的信息均进行加密处理,后续在对任一信息进行读取时,相应地都需要进行解密,从而导致计算量大,系统开销大;而在信息生成的过程中不对信息进行加密处理,只在后续读取预设信息时,当用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,只对用户需要访问的预设信息进行加密处理,那么加密的预设信息只是总的信息的一部分,数据量少,从而使得计算量小,系统开销小,效率高。It can be understood that if the information is encrypted in the process of information generation, all the information needs to be encrypted, and when any information is read, the decryption is required accordingly, resulting in a large amount of calculation. The system overhead is large; in the process of information generation, the information is not encrypted, and only when the user reads the preset information, when the fingerprint information of the user touches the touch screen does not match the preset fingerprint information, only the user needs The preset information of the access is encrypted, and the encrypted preset information is only a part of the total information, and the amount of data is small, so that the calculation amount is small, the system overhead is small, and the efficiency is high.
可选地,在本发明的一些可能的实施方式中,所述数据加密装置400还包括显示模块440,用于:Optionally, in some possible implementation manners of the present invention, the data encryption apparatus 400 further includes a display module 440, configured to:
若所述指纹信息与所述预设指纹信息匹配,则显示所述预设信息。If the fingerprint information matches the preset fingerprint information, the preset information is displayed.
可选地,在本发明的一些可能的实施方式中,所述显示模块440用于:Optionally, in some possible implementation manners of the present disclosure, the display module 440 is configured to:
当所述预设信息为特定数据时,若所述指纹信息与所述预设指纹信息匹配,则显示所述预设信息。When the preset information is specific data, if the fingerprint information matches the preset fingerprint information, the preset information is displayed.
举例说明,在本发明的一些可能的实施方式中,若预设信息为手机相册应用里面的私密相册时,由于在该私密相册里面的照片的生成过程中没有对照片进行加密处理,所以在查看该私密相册,并且用户触控触摸屏时的指纹信息与预设指纹信息匹配时,不需要对该私密相册进行解密则可以直接查看,也即手机直接显示该私密相册给用户。For example, in some possible implementation manners of the present invention, if the preset information is a private album in the mobile phone album application, since the photo is not encrypted during the generation of the photo in the private album, the viewing is performed. The private photo album, and the fingerprint information when the user touches the touch screen matches the preset fingerprint information, can be directly viewed without decrypting the private album, that is, the mobile phone directly displays the private album to the user.
可选地,在本发明的一些可能的实施方式中,所述显示模块440用于:Optionally, in some possible implementation manners of the present disclosure, the display module 440 is configured to:
当所述预设信息为特定应用时,若所述指纹信息与所述预设指纹信息匹配,则访问所述预设信息。When the preset information is a specific application, if the fingerprint information matches the preset fingerprint information, the preset information is accessed.
举例说明,在本发明的一些可能的实施方式中,若预设信息为手机相册应用,由于手机相册应用在初始设置时没有进行加密处理,所以在访问手机相册应用,并且用户触控触摸屏时的指纹信息与预设指纹信息匹配时,可以直接进入手机相册。For example, in some possible implementation manners of the present invention, if the preset information is a mobile phone photo album application, since the mobile phone photo album application is not encrypted during the initial setting, when the mobile phone photo album application is accessed, and the user touches the touch screen, When the fingerprint information matches the preset fingerprint information, you can directly enter the mobile phone album.
可以理解,在特定数据生成过程不对特定数据进行加密,以及特定应用初始设置的时候不对特定应用进行加密,那么在后续有访问权限的用户进行访问时,则不需要对特定数据或者特定应用进行解密即可直接查看特定数据或者访问特定应用,系统开销小,操作方便。 It can be understood that, when the specific data generation process does not encrypt the specific data, and the specific application is not set to be encrypted when the specific application is initially set, the specific data or the specific application does not need to be decrypted when the user with subsequent access rights accesses. You can view specific data directly or access specific applications, with low system overhead and easy operation.
可选地,在本发明的一些可能的实施方式中,在所述加密模块430之后,所述装置还包括:Optionally, in some possible implementation manners of the present invention, after the encryption module 430, the apparatus further includes:
解密模块450,用于若再接收到所述预设指纹,对所述预设信息进行解密和/或显示。The decryption module 450 is configured to decrypt and/or display the preset information if the preset fingerprint is received again.
可以理解,由于之前当接收到的用户触控触摸屏时的指令信息不是预设指纹信息时,对该预设信息进行加密或屏蔽该触控操作等操作,从而用户无法查看该预设信息,实现了对预设信息的保护,由于屏蔽该触控操作只时暂时在该预设界面对触控操作进行屏蔽,当再次进入预设界面时,继续获取用户触控触摸屏时的指纹信息,从而当再将获取到预设指纹信息时,将预设信息呈现给有权限用户,实现了有权限用户对预设信息的访问。It can be understood that, when the command information when the user touches the touch screen is not the preset fingerprint information, the preset information is encrypted or the touch operation is blocked, so that the user cannot view the preset information. The protection of the preset information, because the touch operation is blocked, the touch operation is temporarily blocked on the preset interface, and when the preset interface is accessed again, the fingerprint information when the user touches the touch screen is continuously obtained, thereby When the preset fingerprint information is obtained, the preset information is presented to the authorized user, and the access of the authorized user to the preset information is realized.
可选地,在本发明的另一些可能的实施方式中,当所述预设信息为特定数据时,所述解密模块450用于:Optionally, in another possible implementation manner of the present invention, when the preset information is specific data, the decrypting module 450 is configured to:
若再获取到所述预设指纹信息,对所述预设信息进行解密和/或显示。If the preset fingerprint information is obtained again, the preset information is decrypted and/or displayed.
可选地,在本发明的一些可能的实施方式中,当之前对特定数据进行加密后,则当再获取到预设指纹信息时,对特定数据进行解密,当之前对特定数据进行隐藏,则当再获取到预设指纹信息时,显示特定数据,当之前加密并隐藏特定数据,则当再获取到预设指纹信息时,显示并解密特定数据。Optionally, in some possible implementation manners of the present invention, when the specific data is previously encrypted, the specific data is decrypted when the preset fingerprint information is acquired again, and when the specific data is previously hidden, When the preset fingerprint information is acquired again, the specific data is displayed. When the specific data is previously encrypted and hidden, the specific data is displayed and decrypted when the preset fingerprint information is acquired again.
举例说明,在本发明的一些可能的实施方式中,若由于在访问手机中的某一私密文件时,获取到用户触控触摸屏时的指纹信息不是预设指纹信息时,则对该私密文件进行加密处理,从而用户无法访问该私密文件,当再获取到用户触控触摸屏时的指纹信息为预设指纹信息时,解密该私密文件,从而用户可访问该私密文件。For example, in some possible implementation manners of the present invention, if the fingerprint information when the user touches the touch screen is not the preset fingerprint information when accessing a certain private file in the mobile phone, the private file is performed. The encryption process is performed, so that the user cannot access the private file. When the fingerprint information when the touch screen is touched by the user is the preset fingerprint information, the private file is decrypted, so that the user can access the private file.
可选地,在本发明的另一些可能的实施方式中,当所述预设信息为特定应用时,所述解密模块450用于:Optionally, in another possible implementation manner of the present invention, when the preset information is a specific application, the decrypting module 450 is configured to:
若再获取到所述预设指纹信息,对所述预设信息进行解密和/或允许访问所述预设信息。If the preset fingerprint information is obtained again, the preset information is decrypted and/or the preset information is allowed to be accessed.
可选地,在本发明的一些可能的实施方式中,当之前对特定应用进行加密后,则当再获取到的指纹信息与预设指纹信息匹配时,对特定应用进行解密,当之前由于获取到的指纹信息与预设指纹信息不匹配时,终止进入特定应用,则当再获取到的指纹信息与预设指纹信息匹配时,允许进入特定应用。 Optionally, in some possible implementation manners of the present invention, when the specific application is previously encrypted, when the re-acquired fingerprint information matches the preset fingerprint information, the specific application is decrypted. When the obtained fingerprint information does not match the preset fingerprint information, the user enters the specific application, and when the acquired fingerprint information matches the preset fingerprint information, the specific application is allowed to enter.
举例说明,在本发明的一些可能的实施方式中,在对手机相册进行访问时,当无权限用户在访问界面触控触摸屏时的指纹信息不是预设指纹信息时,退出手机相册,当再次由有权限用户在访问界面触控触摸屏时的指纹信息为预设指纹信息时,允许进入手机相册。For example, in some possible implementation manners of the present invention, when accessing the mobile phone photo album, when the fingerprint information of the unprivileged user touching the touch screen is not the preset fingerprint information, the mobile phone photo album is exited when When the fingerprint information of the authorized user touches the touch screen is the preset fingerprint information, the user is allowed to enter the mobile phone album.
可以理解的是,本实施例的数据加密装置400的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the functions of the functional modules of the data encryption apparatus 400 of the present embodiment may be specifically implemented according to the method in the foregoing method embodiments. For the specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein again. .
可以看出,本实施例的方案中,数据加密装置400在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面指预设信息的访问界面;数据加密装置400判断所述指纹信息与预设指纹信息是否匹配;若所述指纹信息与所述预设指纹信息不匹配,则数据加密装置400对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作,使触控操作暂时失效。从而当只在预设界面上获取到的用户对触摸屏进行触控操作时的指纹信息与预设指纹信息不匹配时,只对预设信息进行加密,计算量小,系统开销小,效率高。参见图5,图5是本发明的又一个实施例提供的又一种数据加密装置的结构示意图。如图5所示,本发明的又一个实施例提供的又一种数据加密装置500可以包括:至少一个总线501、与总线相连的至少一个处理器502以及与总线相连的至少一个存储器503。It can be seen that, in the solution of the embodiment, the data encryption device 400 acquires the fingerprint information when the user touches the touch screen on the preset interface, and the preset interface refers to the access interface of the preset information; the data encryption device 400 determines Whether the fingerprint information matches the preset fingerprint information; if the fingerprint information does not match the preset fingerprint information, the data encryption device 400 encrypts and/or hides the preset information, or blocks the touch Control operation to temporarily disable the touch operation. Therefore, when the fingerprint information obtained by the user on the preset interface does not match the fingerprint information of the touch screen, only the preset information is encrypted, the calculation amount is small, the system overhead is small, and the efficiency is high. Referring to FIG. 5, FIG. 5 is a schematic structural diagram of still another data encryption apparatus according to still another embodiment of the present invention. As shown in FIG. 5, still another data encryption apparatus 500 provided by still another embodiment of the present invention may include at least one bus 501, at least one processor 502 connected to the bus, and at least one memory 503 connected to the bus.
其中,处理器502通过总线501,调用存储器503中存储的代码以用于在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面为预设信息的访问界面;判断所述指纹信息与预设指纹信息是否匹配;若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。The processor 502 calls the code stored in the memory 503 to obtain the fingerprint information when the user touches the touch screen on the preset interface, and the preset interface is the access interface of the preset information; Whether the fingerprint information matches the preset fingerprint information; if the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
其中,预设信息指存储于终端中特定位置、由终端系统或者用户设定的、需要对其访问进行限制的特定信息,包括特定数据或特定应用等,如可以为手机相册、手机短信、QQ、微信等特定应用,也可以为手机相册应用里面的某一个相册、手机短信应用里面的短信等,还可以为存储在终端中的某一特定文件等;The preset information refers to specific information stored in a specific location in the terminal, set by the terminal system or the user, and needs to be restricted for access, including specific data or a specific application, such as a mobile phone photo album, a mobile phone short message, and QQ. Specific applications such as WeChat, can also be a certain photo album in the mobile phone photo album application, SMS in the mobile phone SMS application, etc., and can also be a specific file stored in the terminal;
预设界面是指终端提供给用户访问预设信息的用户界面,如手机相册、手机短信等的访问界面,或手机进入相册后,查看某一指定相册的界面;预设界 面还可以为屏幕的解锁界面等。The preset interface refers to a user interface provided by the terminal to the user to access preset information, such as an access interface of a mobile phone photo album, a mobile phone short message, or the like, or an interface of a specified album after the mobile phone enters the album; The face can also be the unlock interface of the screen, and the like.
其中,终端指手机、平板电脑等智能终端,该终端具有能够进行指纹识别的触摸屏,该触摸屏能够感应用户的按压、滑动等操作,并能对与触摸屏接触的指纹进行识别。终端可以在预设界面通过具有指纹识别的触摸屏的任何位置获取用户触控触摸屏时的指纹信息。The terminal refers to a smart terminal such as a mobile phone or a tablet computer. The terminal has a touch screen capable of fingerprint recognition, and the touch screen can sense a user's pressing, sliding, and the like, and can recognize a fingerprint that is in contact with the touch screen. The terminal can obtain the fingerprint information when the user touches the touch screen through any position of the touch screen with the fingerprint recognition on the preset interface.
可选地,在本发明的一些可能的实施方式中,该预设界面根据用户的需要,将预设信息的访问界面设置为预设界面,从而用户在通过该预设界面进入该应用或者数据时,终端实时通过触摸屏对用户触控触摸屏时的指纹信息进行识别。Optionally, in some possible implementation manners of the present invention, the preset interface sets an access interface of the preset information as a preset interface according to a user's needs, so that the user enters the application or data through the preset interface. The terminal recognizes the fingerprint information when the user touches the touch screen through the touch screen in real time.
可选地,在预设界面获取用户触控触摸屏时的指纹信息时,可以通过识别用户在预设界面的按压操作。Optionally, when the preset interface acquires the fingerprint information when the user touches the touch screen, the pressing operation of the user on the preset interface may be recognized.
可选地,在预设界面获取用户触控触摸屏时的指纹信息时,可以通过识别用户在预设界面的滑动操作。Optionally, when the preset interface acquires the fingerprint information when the user touches the touch screen, the sliding operation of the user on the preset interface may be recognized.
其中,所述指纹信息指用户在预设界面读取到的指纹信息,可通过指纹传感器感应用户在触摸屏上的按压、滑动等操作进行指纹识别。The fingerprint information refers to the fingerprint information read by the user on the preset interface, and the fingerprint sensor can sense the pressing, sliding, and the like of the user on the touch screen to perform fingerprint recognition.
其中,预设指纹信息指预先存储在终端中的指纹信息,用于与通过触摸屏获取收到的用户触控触摸屏时的指纹信息进行对比。The preset fingerprint information refers to fingerprint information pre-stored in the terminal, and is used for comparing with the fingerprint information when the received user touches the touch screen through the touch screen.
可选地,在本发明的一些可能的实施方式中,该预设指纹信息可以为一个,从而所接收到的用户录入的指纹信息只需要与这一个预设指纹信息进行对比,判断用户触控触摸屏时的指纹信息是否与该预设指纹信息匹配。Optionally, in some possible implementation manners of the present invention, the preset fingerprint information may be one, so that the received fingerprint information input by the user only needs to be compared with the preset fingerprint information, and the user touch is determined. Whether the fingerprint information when the touch screen matches the preset fingerprint information.
可选地,在本发明的另一些可能的实施方式中,该预设指纹信息也可以为多个,从而所接收到的用户触控触摸屏时的指纹信息需要与多个预设指纹信息进行对比,用于判断用户触控触摸屏时的指纹信息是否与预设指纹信息匹配。Optionally, in other possible implementation manners of the present invention, the preset fingerprint information may also be multiple, so that the received fingerprint information of the user touching the touch screen needs to be compared with multiple preset fingerprint information. It is used to determine whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information.
可选地,在本发明的一些可能的实施方式中,进入不同应用的预设指纹信息可以不一样,也可以一样。Optionally, in some possible implementation manners of the present invention, the preset fingerprint information entering different applications may be different or the same.
可选地,在本发明的另一些可能的实施方式中,所述预设指纹信息可以由有权限用户进行更改。Optionally, in other possible implementation manners of the present invention, the preset fingerprint information may be changed by a licensed user.
其中,屏蔽所述触控操作指在获取到的用户触控触摸屏时的指纹信息与预设指纹信息不匹配时,暂时使用户在该预设界面的触控操作失效,从而使得在获取到非预设指纹信息时不再在预设界面继续获取用户触控触摸屏的指纹信 息,减少系统开销,当下次再进入该预设界面时,触控操作自动重新恢复有效,。The masking operation refers to temporarily invalidating the touch operation of the user on the preset interface when the obtained fingerprint information of the user touches the touch screen does not match the preset fingerprint information, thereby causing the non-acquisition to be obtained. When the fingerprint information is preset, the fingerprint information of the user touch screen is no longer acquired in the preset interface. Information, reduce system overhead, when the next time you enter the default interface, the touch operation is automatically restored again.
可选地,在本发明的一些可能的实施方式中,当预设指纹信息为一个时,判断判断用户触控触摸屏时的指纹信息是否与该一个预设指纹信息是否匹配,若用户触控触摸屏时的指纹信息与该预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。Optionally, in some possible implementation manners of the present invention, when the preset fingerprint information is one, determining whether the fingerprint information when the user touches the touch screen matches the preset fingerprint information, and if the user touches the touch screen If the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
可选地,在本发明的另一些可能的实施方式中,当预设指纹信息为多个时,判断用户触控触摸屏时的指纹信息与其中任一一个预设指纹信息是否匹配,若用户触控触摸屏时的指纹信息与其中任一一个预设指纹信息匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。Optionally, in another possible implementation manner of the present invention, when the preset fingerprint information is multiple, determining whether the fingerprint information when the user touches the touch screen matches any one of the preset fingerprint information, if the user When the fingerprint information when the touch screen is touched matches any one of the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch operation is blocked.
可选地,在本发明的一些可能的实施方式中,采用一般的对预设信息设定密码的方式对预设信息进行加密。Optionally, in some possible implementation manners of the present invention, the preset information is encrypted by using a general manner of setting a password for the preset information.
可选地,在本发明的一些可能的实施方式中,所述预设信息包括特定数据或特定应用,处理器502用于:Optionally, in some possible implementation manners of the disclosure, the preset information includes specific data or a specific application, and the processor 502 is configured to:
若所述预设信息为特定数据,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作;If the preset information is specific data, encrypting and/or hiding the preset information, or shielding the touch operation;
若所述预设信息为特定应用,则对所述预设信息进行加密和/或终止访问所述预设信息,或屏蔽所述触控操作。If the preset information is a specific application, encrypt the preset information and/or terminate access to the preset information, or block the touch operation.
可选地,在本发明的一些可能的实施方式中,对所述特定数据进行加密时,可以用密码对特定数据进行加密。Optionally, in some possible implementation manners of the present invention, when the specific data is encrypted, the specific data may be encrypted with a password.
可选地,在本发明的另一些可能的实施方式中,对所述特定数据进行加密时,也可以利用一定的编码方式对数据进行加密。Optionally, in other possible implementation manners of the present invention, when the specific data is encrypted, the data may be encrypted by using a certain encoding manner.
可选地,在本发明的一些可能的实施方式中,处理器502所述在预设界面获取用户对触摸屏进行触控操作时的指纹信息,包括:Optionally, in some possible implementation manners of the present invention, the processor 502, when acquiring the fingerprint information when the user touches the touch screen in the preset interface, includes:
若在所述预设界面上获取用户对触摸屏进行的触控操作为按压操作时,则当按压操作发生时,获取指纹信息;If the touch operation performed by the user on the touch screen is performed on the preset interface, the fingerprint information is acquired when the pressing operation occurs;
若在所述预设界面上获取用户对触摸屏进行的触控操作为滑动操作时,则在滑动操作起始时刻获取指纹信息。If the touch operation performed by the user on the touch screen is performed on the preset interface, the fingerprint information is acquired at the start time of the sliding operation.
可选地,在本发明的一些可能的实施方式中,不管用户在预设界面上进行的是何种操作,当接收到用户的对预设界面的触压并且在触压之前或者之后有离开预设界面的操作时,则对指纹信息进行识别。 Optionally, in some possible implementation manners of the present invention, regardless of what operation the user performs on the preset interface, when the user receives the touch pressure on the preset interface and leaves before or after the touch pressure When the preset interface is operated, the fingerprint information is identified.
可选地,在本发明的一些可能的实施方式中,终端通过在屏幕下安装指纹传感器,从而终端可以在用户触摸预设界面屏幕上的任何位置读取用户触控触摸屏时的指纹信息,方便用户操作。Optionally, in some possible implementation manners of the present invention, the terminal installs the fingerprint sensor under the screen, so that the terminal can read the fingerprint information when the user touches the touch screen at any position on the user touch the preset interface screen, which is convenient. User action.
可选地,在本发明的另一些可能的实施方式中,终端也可以在预设界面的特定位置读取用户触控触摸屏时的指纹信息。Optionally, in other possible implementation manners of the present invention, the terminal may also read the fingerprint information when the user touches the touch screen at a specific location of the preset interface.
可选地,在本发明的一些可能的实施方式中,处理器502还用于:Optionally, in some possible implementation manners of the present invention, the processor 502 is further configured to:
在所述预设信息的生成过程中,不对所述预设信息做任何加密处理。In the process of generating the preset information, no encryption processing is performed on the preset information.
可选地,在本发明的一些可能的实施方式中,处理器502还用于:Optionally, in some possible implementation manners of the present invention, the processor 502 is further configured to:
若所述指纹信息与所述预设指纹信息匹配,则显示所述预设信息。If the fingerprint information matches the preset fingerprint information, the preset information is displayed.
可选地,在本发明的一些可能的实施方式中,处理器502还用于:Optionally, in some possible implementation manners of the present invention, the processor 502 is further configured to:
当所述预设信息为特定数据时,若所述指纹信息与所述预设指纹信息匹配,则显示所述预设信息。When the preset information is specific data, if the fingerprint information matches the preset fingerprint information, the preset information is displayed.
可选地,在本发明的一些可能的实施方式中,处理器502还用于:Optionally, in some possible implementation manners of the present invention, the processor 502 is further configured to:
当所述预设信息为特定应用时,若所述指纹信息与所述预设指纹信息匹配,则访问所述预设信息。When the preset information is a specific application, if the fingerprint information matches the preset fingerprint information, the preset information is accessed.
可选地,在本发明的一些可能的实施方式中,所述若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作后,处理器502还用于:Optionally, in some possible implementation manners of the present invention, if the fingerprint information does not match the preset fingerprint information, encrypting and/or hiding the preset information, or shielding the After the touch operation, the processor 502 is further configured to:
若再获取到所述预设指纹信息,对所述预设信息进行解密和/或显示。If the preset fingerprint information is obtained again, the preset information is decrypted and/or displayed.
可选地,在本发明的另一些可能的实施方式中,所述若所述预设信息为特定数据时,若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作后,处理器502还用于:Optionally, in another possible implementation manner of the present invention, if the preset information is specific data, if the fingerprint information does not match the preset fingerprint information, the preset is After the information is encrypted and/or hidden, or the touch operation is blocked, the processor 502 is further configured to:
若再获取到所述预设指纹,对所述预设信息进行解密和/或显示。可选地,在本发明的另一些可能的实施方式中,当所述预设信息为特定应用时,所述若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作后,处理器502还用于:If the preset fingerprint is obtained again, the preset information is decrypted and/or displayed. Optionally, in another possible implementation manner of the present invention, when the preset information is a specific application, if the fingerprint information does not match the preset fingerprint information, the preset is After the information is encrypted and/or hidden, or the touch operation is blocked, the processor 502 is further configured to:
若再获取到所述预设指纹信息,对所述预设信息进行解密和/或允许访问所述预设信息。If the preset fingerprint information is obtained again, the preset information is decrypted and/or the preset information is allowed to be accessed.
可选地,在本发明的一些可能的实施方式中,所述方法还包括:Optionally, in some possible implementation manners of the present invention, the method further includes:
在所述预设信息的生成过程中,不对所述预设信息做任何加密处理。 In the process of generating the preset information, no encryption processing is performed on the preset information.
可以理解的是,本实施例的数据加密装置500的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the functions of the functional modules of the data encryption apparatus 500 of the present embodiment may be specifically implemented according to the method in the foregoing method embodiments. For the specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein again. .
可以看出,本实施例的方案中,数据加密装置500在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面指预设信息的访问界面;数据加密装置500判断所述指纹信息与预设指纹信息是否匹配;若所述指纹信息与所述预设指纹信息不匹配,则数据加密装置500对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作,使触控操作暂时失效。从而当只在预设界面上获取到的用户对触摸屏进行触控操作时的指纹信息与预设指纹信息不匹配时,只对预设信息进行加密,计算量小,系统开销小,效率高。本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何音频播放应用的操作方法的部分或全部步骤。It can be seen that, in the solution of the embodiment, the data encryption device 500 acquires the fingerprint information when the user touches the touch screen on the preset interface, and the preset interface refers to the access interface of the preset information; the data encryption device 500 determines Whether the fingerprint information matches the preset fingerprint information; if the fingerprint information does not match the preset fingerprint information, the data encryption device 500 encrypts and/or hides the preset information, or blocks the touch Control operation to temporarily disable the touch operation. Therefore, when the fingerprint information obtained by the user on the preset interface does not match the fingerprint information of the touch screen, only the preset information is encrypted, the calculation amount is small, the system overhead is small, and the efficiency is high. The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the operation method of any of the audio playback applications described in the foregoing method embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部 单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some or all of them according to actual needs. The unit is to achieve the purpose of the solution of the embodiment.
另外,在本发明的各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or some of the technical features are replaced by equivalents; and the modifications or substitutions do not deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

  1. 一种数据加密方法,其特征在于,所述方法包括:A data encryption method, the method comprising:
    在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面为预设信息的访问界面;Obtaining fingerprint information when the user touches the touch screen on the preset interface, where the preset interface is an access interface of preset information;
    判断所述指纹信息与预设指纹信息是否匹配;Determining whether the fingerprint information matches the preset fingerprint information;
    若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。If the fingerprint information does not match the preset fingerprint information, encrypt and/or hide the preset information, or block the touch operation.
  2. 如权利要求1所述的方法,其特征在于,所述预设信息包括特定数据或特定应用,所述对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作,包括:The method of claim 1, wherein the preset information comprises specific data or a specific application, the encrypting and/or hiding the preset information, or shielding the touch operation, comprising:
    若所述预设信息为特定数据,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作;If the preset information is specific data, encrypting and/or hiding the preset information, or shielding the touch operation;
    若所述预设信息为特定应用,则对所述预设信息进行加密和/或终止访问所述预设信息,或屏蔽所述触控操作。If the preset information is a specific application, encrypt the preset information and/or terminate access to the preset information, or block the touch operation.
  3. 如权利要求1所述的方法,其特征在于,所述在预设界面获取用户对触摸屏进行触控操作时的指纹信息,包括:The method of claim 1, wherein the obtaining, by the preset interface, the fingerprint information of the touch operation performed by the user on the touch screen comprises:
    若在所述预设界面上获取用户对触摸屏进行的触控操作为按压操作时,则当按压操作发生时,获取指纹信息;If the touch operation performed by the user on the touch screen is performed on the preset interface, the fingerprint information is acquired when the pressing operation occurs;
    若在所述预设界面上获取用户对触摸屏进行的触控操作为滑动操作时,则在滑动操作起始时刻获取指纹信息。If the touch operation performed by the user on the touch screen is performed on the preset interface, the fingerprint information is acquired at the start time of the sliding operation.
  4. 如权利要求1至3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, further comprising:
    若所述指纹信息与所述预设指纹信息匹配,则显示所述预设信息。If the fingerprint information matches the preset fingerprint information, the preset information is displayed.
  5. 如权利要求1所述的方法,其特征在于,所述若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作后,所述方法还包括:The method according to claim 1, wherein if the fingerprint information does not match the preset fingerprint information, the preset information is encrypted and/or hidden, or the touch is blocked. After the operation, the method further includes:
    若再获取到所述预设指纹信息,则对所述预设信息进行解密。If the preset fingerprint information is obtained again, the preset information is decrypted.
  6. 一种数据加密装置,其特征在于,所述装置包括:A data encryption device, characterized in that the device comprises:
    读取模块,用于在预设界面获取用户对触摸屏进行触控操作时的指纹信息,所述预设界面为预设信息的访问界面; a reading module, configured to acquire fingerprint information when the user touches the touch screen on the preset interface, where the preset interface is an access interface of preset information;
    判断模块,用于判断所述指纹信息与预设指纹信息是否匹配;a determining module, configured to determine whether the fingerprint information matches the preset fingerprint information;
    加密模块,用于若所述指纹信息与所述预设指纹信息不匹配,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作。The encryption module is configured to encrypt and/or hide the preset information or block the touch operation if the fingerprint information does not match the preset fingerprint information.
  7. 如权利要求6所述的装置,其特征在于,所述预设信息包括特定数据或特定应用,所述加密模块包括:The device according to claim 6, wherein the preset information comprises specific data or a specific application, and the encryption module comprises:
    第一加密单元,用于若所述预设信息为特定数据,则对所述预设信息进行加密和/或隐藏,或屏蔽所述触控操作;The first encryption unit is configured to: if the preset information is specific data, encrypt and/or hide the preset information, or block the touch operation;
    第二加密单元,用于若所述预设信息为特定应用,则对所述预设信息进行加密和/或终止访问所述预设信息,或屏蔽所述触控操作。The second encryption unit is configured to encrypt the preset information and/or terminate access to the preset information, or block the touch operation, if the preset information is a specific application.
  8. 如权利要求6所述的装置,其特征在于,所述读取模块包括:The apparatus of claim 6 wherein said reading module comprises:
    第一读取单元,用于若在所述预设界面上获取用户对触摸屏进行的触控操作为按压操作时,则当按压操作发生时,获取指纹信息;The first reading unit is configured to: when the touch operation performed by the user on the touch screen is performed on the preset interface, when the pressing operation occurs, acquiring the fingerprint information;
    第二读取单元,用于若在所述预设界面上获取用户对触摸屏进行的触控操作为滑动操作时,则在滑动操作起始时刻获取指纹信息。The second reading unit is configured to acquire the fingerprint information at the start time of the sliding operation, if the touch operation performed by the user on the touch screen is obtained as a sliding operation on the preset interface.
  9. 如权利要求6至8任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 6 to 8, wherein the device further comprises:
    显示模块,用于若所述指纹信息与所述预设指纹信息匹配,则显示所述预设信息。And a display module, configured to display the preset information if the fingerprint information matches the preset fingerprint information.
  10. 如权利要求6所述的装置,其特征在于,所述装置还包括:The device of claim 6 wherein said device further comprises:
    解密模块,用于若再获取到所述预设指纹信息,则对所述预设信息进行解密。 The decryption module is configured to decrypt the preset information if the preset fingerprint information is obtained again.
PCT/CN2015/082991 2015-05-29 2015-06-30 Data encryption method and apparatus WO2016192165A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510289841.3 2015-05-29
CN201510289841.3A CN105574418A (en) 2015-05-29 2015-05-29 Data encryption method and apparatus

Publications (1)

Publication Number Publication Date
WO2016192165A1 true WO2016192165A1 (en) 2016-12-08

Family

ID=55884535

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/082991 WO2016192165A1 (en) 2015-05-29 2015-06-30 Data encryption method and apparatus

Country Status (2)

Country Link
CN (1) CN105574418A (en)
WO (1) WO2016192165A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066891A (en) * 2017-05-10 2017-08-18 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
US10311278B2 (en) * 2015-08-27 2019-06-04 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for encrypting application and terminal

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106295368A (en) * 2016-08-17 2017-01-04 四川长虹通信科技有限公司 The data security protection method of a kind of mobile terminal and system
CN106326712B (en) * 2016-08-31 2020-01-10 维沃移动通信有限公司 Picture processing method and mobile terminal
CN106716436A (en) * 2016-11-18 2017-05-24 深圳前海达闼云端智能科技有限公司 Information display method and system
CN106709306A (en) * 2016-12-01 2017-05-24 北京小米移动软件有限公司 Message reading method and apparatus
CN107038365A (en) * 2017-04-20 2017-08-11 滁州职业技术学院 The method and mobile terminal of a kind of file encryption
CN107423633B (en) * 2017-06-26 2018-11-16 珠海格力电器股份有限公司 Method and device for protecting private file and mobile terminal
CN107317931A (en) * 2017-06-28 2017-11-03 深圳市金立通信设备有限公司 A kind of information processing method, terminal and computer-readable recording medium
CN107465810B (en) * 2017-07-11 2020-07-21 Oppo广东移动通信有限公司 Data control method and related product
CN107871070A (en) * 2017-11-03 2018-04-03 深圳天珑无线科技有限公司 Screen locking control method and its device
CN110348186B (en) * 2019-05-28 2021-08-13 华为技术有限公司 A display method and electronic device based on user identity recognition

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013140440A (en) * 2011-12-28 2013-07-18 Sharp Corp Information processing device and driving method for the same, control program and readable storage medium
CN103294963A (en) * 2012-02-28 2013-09-11 富泰华工业(深圳)有限公司 Electronic device as well as fingerprint identification-based data protection system and method thereof
CN103366107A (en) * 2013-06-27 2013-10-23 广东欧珀移动通信有限公司 A method, device and mobile phone for protecting application program access rights
CN103440446A (en) * 2013-08-23 2013-12-11 广东欧珀移动通信有限公司 Smart terminal private content protection unlocking operation method and device
CN103886239A (en) * 2014-03-31 2014-06-25 深圳市欧珀通信软件有限公司 User authentication method and device of mobile terminal application program
CN104573440A (en) * 2014-12-18 2015-04-29 百度在线网络技术(北京)有限公司 Data viewing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013140440A (en) * 2011-12-28 2013-07-18 Sharp Corp Information processing device and driving method for the same, control program and readable storage medium
CN103294963A (en) * 2012-02-28 2013-09-11 富泰华工业(深圳)有限公司 Electronic device as well as fingerprint identification-based data protection system and method thereof
CN103366107A (en) * 2013-06-27 2013-10-23 广东欧珀移动通信有限公司 A method, device and mobile phone for protecting application program access rights
CN103440446A (en) * 2013-08-23 2013-12-11 广东欧珀移动通信有限公司 Smart terminal private content protection unlocking operation method and device
CN103886239A (en) * 2014-03-31 2014-06-25 深圳市欧珀通信软件有限公司 User authentication method and device of mobile terminal application program
CN104573440A (en) * 2014-12-18 2015-04-29 百度在线网络技术(北京)有限公司 Data viewing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10311278B2 (en) * 2015-08-27 2019-06-04 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for encrypting application and terminal
CN107066891A (en) * 2017-05-10 2017-08-18 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107066891B (en) * 2017-05-10 2023-04-07 维沃移动通信有限公司 Shooting method and mobile terminal

Also Published As

Publication number Publication date
CN105574418A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
WO2016192165A1 (en) Data encryption method and apparatus
CN104657674B (en) The insulation blocking system and method for private data in a kind of mobile phone
US10073985B2 (en) Apparatus and method for trusted execution environment file protection
CN103366107A (en) A method, device and mobile phone for protecting application program access rights
WO2017143879A1 (en) File permission management method and device
KR20150128202A (en) Content sharing method and apparatus
CN103617382A (en) Privacy protection method and device
CN105160227A (en) Remote fingerprint verification method, user terminal and fingerprint verification system
CN104573551A (en) File processing method and mobile terminal
CN105205374A (en) An application encryption method and user terminal
CN113591135B (en) Method and system for processing medical data
KR20230064623A (en) Mobile devices with secure personal memory
US11405193B2 (en) Encrypted photographing method and system based on fingerprint recognition
CN107395589A (en) Finger print information acquisition methods and terminal
CN105337729A (en) Encryption method and device of mobile terminal and mobile terminal
WO2018166484A1 (en) Data encryption and decryption methods and apparatuses, electronic device and readable storage medium
TW201344492A (en) Data security system and method
CN104915583A (en) Interface decryption processing method and mobile terminal
WO2016145624A1 (en) Information processing method and mobile terminal
WO2016050118A1 (en) Information processing method and information processing device
JP6938579B2 (en) Mobile device privacy protection methods and devices, as well as mobile devices
CN105426727A (en) Fingerprint decryption method and mobile terminal
CN106648370B (en) A kind of encryption method and mobile terminal of sectional drawing
CN105574429A (en) Method, device and terminal for file data encryption and decryption processing
CN108696355B (en) A method and system for preventing the theft of user avatars

Legal Events

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

Ref document number: 15893821

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/04/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 15893821

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载