Image data storage method, device and electronic equipment

By recognizing user-preset gestures in image data, determining the secure storage method, and performing identity authentication, the problem of photo privacy storage in smart terminal devices is solved, achieving efficient privacy protection.

CN114491128BActive Publication Date: 2026-03-31ALIBABA GROUP HOLDING LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2017-04-18
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

In existing technologies, photos taken by smart terminal devices cannot effectively identify and store image data that needs to be kept confidential, which may result in personal privacy being viewed by others.

Method used

By recognizing user-preset gestures in image data, the system determines that the storage method is confidential and stores the image data in a preset storage location that requires authentication, ensuring that only authorized users can access it.

Benefits of technology

It improves the storage efficiency of image data that needs to be kept confidential, ensures that personal privacy is not seen by others, and protects user privacy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114491128B_ABST
    Figure CN114491128B_ABST
Patent Text Reader

Abstract

The application provides an image data storage method, device and electronic equipment. The method comprises the following steps: identifying whether a user preset gesture is included in image data; if yes, determining that a storage mode corresponding to the image data is secret storage; wherein for the image data with the secret storage mode, identity authentication is required to view; and if the storage mode corresponding to the image data is the secret storage, storing the image data to a preset storage position requiring identity authentication. The technical scheme of the application can determine the storage mode of the image data based on the content features of the image data, thereby improving the storage efficiency of the image data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image processing technology, and in particular to an image data storage method, apparatus and electronic device. Background Technology

[0002] Smart devices, such as mobile phones, are equipped with cameras, allowing users to take photos anytime, anywhere via camera apps. These photos are typically automatically stored in the photo album app. When the phone is used by other users, any photos in the camera app can be viewed by those users. Some photos may be ones that users don't want others to see; therefore, how to identify and store photos that need to be kept confidential is a technical problem that existing technologies need to solve. Summary of the Invention

[0003] In view of this, this application provides a new technical solution that can ensure that image data involving personal privacy is accessible to users with specific permissions.

[0004] To achieve the above objectives, this application provides the following technical solution:

[0005] According to a first aspect of this application, an image data storage method is proposed, comprising:

[0006] Recognize whether the image data includes user-preset gestures;

[0007] If so, then the storage method corresponding to the image data is determined to be confidential storage; wherein, for image data stored in confidential storage mode, authentication is required to view it;

[0008] If the image data is stored in a confidential manner, then the image data will be stored in a preset storage location that requires identity authentication.

[0009] According to a second aspect of this application, an image data reading method is proposed, the method comprising:

[0010] A data access request requiring authentication and corresponding to a preset storage location is detected; wherein, when the image data includes a user-preset gesture, the image data is stored in a confidential manner and is stored in the preset storage location requiring authentication.

[0011] Obtain the verification method corresponding to the preset storage location;

[0012] The verification information entered by the user is detected using the aforementioned verification method;

[0013] The verification result determines whether the user has permission to access the data.

[0014] According to a third aspect of this application, an image data storage device is provided, comprising:

[0015] The feature recognition unit is used to identify whether the image data includes a user-preset gesture;

[0016] The storage method determination unit is used to determine that if the feature recognition unit identifies that the image data includes a user-preset gesture, the storage method corresponding to the image data is confidential storage; wherein, for image data with confidential storage, authentication is required to view it;

[0017] The storage unit is used to store the image data in a preset storage location that requires identity authentication if the storage method corresponding to the image data is confidential storage.

[0018] According to a fourth aspect of this application, an image data reading device is provided, comprising:

[0019] The first detection unit is used to detect data access requests that require authentication and correspond to a preset storage location; wherein, when the image data includes a user-preset gesture, the image data is stored in a confidential manner and the image data is stored in a preset storage location that requires authentication.

[0020] The acquisition unit is used to acquire the verification method corresponding to the preset storage location;

[0021] The second detection unit is used to detect the verification information input by the user in the verification method described above;

[0022] The judgment unit is used to determine whether a user has permission to access data based on the verification result.

[0023] According to a fifth aspect of this application, a computer-readable storage medium is provided, the storage medium storing a computer program for executing the image data storage method proposed in the first aspect or the image data reading method proposed in the second aspect.

[0024] According to a sixth aspect of this application, an electronic device is provided, the electronic device comprising:

[0025] A processor; a memory for storing processor-executable instructions; wherein the processor is configured to identify whether image data includes a user-preset gesture; if so, determine that the storage method corresponding to the image data is secure storage; wherein, for image data stored in secure storage, authentication is required to view it; if the storage method corresponding to the image data is secure storage, store the image data in a preset storage location requiring authentication; or, the processor is configured to detect a data access request corresponding to a preset storage location requiring authentication; wherein, when the image data includes a user-preset gesture, the storage method corresponding to the image data is secure storage, and the image data is stored in the preset storage location requiring authentication; obtain a verification method corresponding to the preset storage location; detect user-input verification information using the verification method; and determine whether the user has permission to access the data based on the verification result.

[0026] As can be seen from the above technical solutions, when a large amount of image data that needs to be stored is added in a short period of time through the network or by taking pictures with a camera, this application can determine the storage method of the image data based on the content characteristics of the image data. When the storage method is confidential storage, the image data can be stored in a preset storage location that requires identity authentication, thereby improving the storage efficiency of the image data that needs to be kept confidential. Since the image data is stored in a preset storage location that requires identity authentication, it can be ensured that the image data that needs to be kept confidential is not seen by others. Attached Figure Description

[0027] Figure 1A A schematic diagram illustrating an image used in an image data storage method of an exemplary embodiment of this application is shown;

[0028] Figure 1B A flowchart illustrating an exemplary embodiment of the image data storage method of this application is shown;

[0029] Figure 2A A scene diagram illustrating a flowchart of an image data storage method according to another exemplary embodiment of this application;

[0030] Figure 2B A flowchart illustrating an image data storage method according to another exemplary embodiment of this application is shown;

[0031] Figure 3 A flowchart illustrating an image data storage method of yet another exemplary embodiment of this application is shown;

[0032] Figure 4 A flowchart illustrating another exemplary embodiment of an image data storage method of this application is shown;

[0033] Figure 5A schematic diagram of the structure of an image data storage device according to an exemplary embodiment of this application is shown;

[0034] Figure 6 A schematic diagram of the structure of an image data reading device according to an exemplary embodiment of this application is shown;

[0035] Figure 7 A schematic diagram of the structure of an electronic device according to an exemplary embodiment of this application is shown. Detailed Implementation

[0036] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0037] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0038] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."

[0039] This application provides an image data storage method, including:

[0040] Identify content features in image data;

[0041] Determine the storage method for image data based on content features;

[0042] The image data is stored according to the storage method.

[0043] The embodiments of this application can determine the storage method of image data based on the content characteristics of image data, thereby improving the storage efficiency of image data.

[0044] To further illustrate this application, the following embodiments are provided:

[0045] Figure 1A This illustration shows a schematic diagram of an image used in an exemplary embodiment of the image data storage method of this application. The target object described in this application can be, for example, clothing, including but not limited to a veil worn by the user's head, sunglasses worn by the user's face, a bikini worn by the user, etc., which can cover specific parts of the human body. In another embodiment, the content feature can also be a user-preset gesture; the content feature of the image is determined by recognizing the gesture, for example, such as... Figure 1A As shown, when a user makes a "V" sign to indicate victory in an image, if the "V" shape is detected, it can be considered a content feature of the image. In one embodiment, content features in the image can be identified based on existing image recognition methods.

[0046] Figure 1B The illustration shows a flowchart of an exemplary embodiment of an image data storage method according to this application; this embodiment can be applied to electronic devices and implemented by installing applications or software on the electronic device, such as... Figure 1B As shown, it includes the following steps:

[0047] Step 101: Identify the content features in the image data.

[0048] In one embodiment, image data is a collection of grayscale values ​​of each pixel, represented numerically. It can be a static image captured by an image sensor on a camera device (e.g., a camera, a smartphone with a camera, or other portable device), or it can be an image of each frame in a video file, which is displayed to the user as an image.

[0049] In one embodiment, the content features can be image features of target objects with specific shapes or distribution rules that need to be identified.

[0050] Step 102: Determine the storage method corresponding to the image data based on the content features, wherein the storage method includes secure storage.

[0051] In one embodiment, the storage method may include secure storage and normal storage. Securely stored image data requires authentication to view; normally stored image data can be viewed by any user capable of launching the application or software.

[0052] In one embodiment, the correspondence can be manually set. For example, different storage methods can be set for target objects corresponding to various content features. For instance, if the target object corresponding to the content feature is a veil, and image recognition determines that the veil covers the face, the image can be stored normally. If image recognition determines that the veil does not cover the face, the image needs to be stored confidentially. If the target object corresponding to the content feature is glasses on the face, the image needs to be stored confidentially. It should be noted that users can set corresponding storage methods for images with different content features according to their specific needs, and this application does not impose any restrictions on this.

[0053] According to another embodiment of this application, in this step, the confidentiality level (i.e., the first confidentiality level) corresponding to the image data is first determined based on the content features, and then the storage method is determined based on the confidentiality level. The correspondence between content features and confidentiality levels can be preset.

[0054] Step 103: If the storage method is confidential storage, store the image data in a preset storage location that requires authentication; for example, if the storage method is confidential storage, store the image data in a preset folder that requires authentication.

[0055] In one embodiment, the preset folder can be a folder in the storage space associated with the application or software. In another embodiment, the preset folder can be associated with a password lock or fingerprint authentication module, and the user who needs to access the preset folder can be authenticated by unlocking the password lock or fingerprint authentication module.

[0056] In this embodiment, when a large amount of image data that needs to be stored is added in a short period of time through the network or by taking pictures with a camera, this application can determine the storage method of the image data based on the content characteristics of the image data. When the storage method is confidential storage, the image data can be stored in a preset storage location that requires identity authentication, thereby improving the storage efficiency of the confidential image data and ensuring that the confidential image data is not seen by others.

[0057] In the above Figure 1B In the illustrated embodiment, the preset storage path can be the secure storage area of ​​the hard drive, and the storage path is the storage path of the secure storage area. The following describes the process in conjunction with... Figure 2A and Figure 2B The following is an example of illustrating the concept using a preset storage path corresponding to a preset folder.

[0058] Figure 2A A scene diagram illustrating a flowchart of an image data storage method according to another exemplary embodiment of this application is shown, such as... Figure 2AAs shown, the preset folder includes three subfolders: "Veil," "Sunglasses," and "Bikini," namely subfolders 21, 22, and 23. Subfolder 21 ("Sunglasses") stores images containing features of "sunglasses" that need to be kept confidential; subfolder 22 ("Veil") stores images containing features of "veils" that need to be kept confidential; and subfolder 23 ("Bikini") stores images containing features of "bikinis" that need to be kept confidential. Additionally, the preset folder may also store images that are not categorized into the above subfolders but need to be stored confidentially, such as images 24 and 25. It should be noted that the images described in this application are image data described from the user's visual perspective; image data and images are considered equivalent concepts in this application.

[0059] Figure 2B This illustration shows a flowchart of an image data storage method according to another exemplary embodiment of this application; this embodiment is based on the above... Figure 1B Based on the illustrated embodiment, the following example illustrates how to store image data in a preset folder that requires authentication. Figure 2B As shown, the image data storage method includes the following steps:

[0060] Step 201: Identify the content features in the image data.

[0061] Step 202: Determine the storage method corresponding to the image data based on content features.

[0062] The relevant descriptions of steps 201 and 202 can be found above. Figure 1B The description of the illustrated embodiments will not be repeated here.

[0063] Step 203: If the storage method is confidential storage, based on the content characteristics, determine whether there is a corresponding subfolder in the preset folder that requires identity authentication for the image data. If it exists, proceed to step 204; if it does not exist, proceed to step 208.

[0064] In one embodiment, similar to how a preset folder corresponds to a preset storage path, a subfolder also corresponds to a storage path.

[0065] In one embodiment, the preset folder may contain at least one subfolder, each subfolder corresponding to a content feature.

[0066] Step 204: Store the image data in a subfolder.

[0067] Corresponding to step 203 above, if the content feature of the image is "veil", the image can be stored in the "veil" subfolder; if the content feature of the image is "sunglasses", the image can be stored in the "sunglasses" subfolder; and if the content feature of the image is "bikini", the image can be stored in the "bikini" subfolder.

[0068] Step 205: Detect whether the image data contains a preset target object. If the image contains a preset target object, proceed to step 206. If the image does not contain a preset target object, the process ends.

[0069] In one embodiment, an image recognition algorithm corresponding to a preset target object can be used to identify the preset target object. For example, when the target object is a face, the face recognition algorithm in the prior art can be used to identify whether the image contains a face, which will not be described in detail in this application.

[0070] Step 206: Determine the security level (i.e., the second security level) corresponding to the preset target from the first preset list. The first preset list is used to record the security levels corresponding to different preset target objects.

[0071] In one embodiment, the security level can be either hiding image data in a preset folder or not hiding image data in a preset folder. Different preset targets can correspond to different security levels. For example, taking a face and a human eye as preset targets, the security level corresponding to Zhang San's face requires hiding the image in a preset folder, while the security level corresponding to Li Si's eye does not require hiding the image in a preset folder, and so on. The first preset list is shown in Table 1.

[0072] Table 1

[0073] Face Security Level Zhang San hide Li Si Do not hide … …

[0074] In one embodiment, the first preset list can record the characteristics of preset targets from multiple different users and the corresponding security level for each characteristic of the preset target. It should be noted that users can customize the security level of the preset targets included in the first preset list.

[0075] Step 207: If the security level indicates that the image data needs to be hidden, hide the image data in the subfolder, and the process ends.

[0076] In one embodiment, image data can be hidden based on existing methods for hiding image data, thereby ensuring that the image data is not visible in subfolders.

[0077] Step 208: If no corresponding subfolder is found in the preset folder based on the content features, the image data is stored in the preset folder, and the process ends.

[0078] For example, if there is no subfolder for "sunglasses" in the preset folder, but the content feature of the image is "sunglasses," and it is determined based on the content feature that the image containing "sunglasses" needs to be stored confidentially, then the image still needs to be stored in the preset folder. In other embodiments of this application, the user can also choose the mapping relationship between content features and folders according to the user configuration, for example, configuring sunglasses products to be placed in the clothing and hat folder.

[0079] In this embodiment, image data is stored in a corresponding subfolder of a preset folder based on content characteristics. This allows for fine-grained classification of image data, making it convenient for users to view images. When the security level indicates that image data needs to be hidden, the image data is hidden in the subfolder. If the preset folder is opened by an unauthorized user, the hidden image data provides double protection for the user's privacy.

[0080] Figure 3 This illustration shows a flowchart of an image data storage method according to another exemplary embodiment of this application; this embodiment is based on the above... Figure 1B Based on the illustrated embodiment, the following example demonstrates how to store images in a preset folder that requires authentication. Figure 3 As shown, it includes the following steps:

[0081] Step 301: From two or more reference feature templates, determine the reference feature template that matches the image data, wherein the reference feature template is used to record the content features of different preset target objects.

[0082] In one embodiment, images of clothing closely related to user privacy can be collected, and a reference feature template can be obtained through image recognition technology. Clothing closely related to user privacy includes, for example, sunglasses, veils, and bikinis. Clothing can be considered as one implementation of the preset target object in this application. It should be noted that the reference feature template can be set based on the user's actual needs, and this application does not limit the specific content of the reference feature template.

[0083] Step 302: The content features corresponding to the reference feature template that matches the image data are determined as the content features of the image data.

[0084] For example, if the content feature corresponding to the reference feature template "veil" matches the image, then the content feature of the image can be determined to be "veil".

[0085] Step 303: Search for the storage method corresponding to the content feature in the second preset list. The second preset list is used to record the storage methods corresponding to different content features.

[0086] The second preset list, as shown in Table 2, may include the content features of the target object preset by the user and the storage method corresponding to each content feature.

[0087] Table 2

[0088]

[0089]

[0090] Step 304: If the storage method is confidential storage, store the image data in a preset folder that requires identity authentication.

[0091] The description of step 304 can be found above. Figure 1B The description of the illustrated embodiments will not be repeated here.

[0092] In this embodiment, since the reference feature template can be set according to the user's needs for personal privacy, different users can have different reference feature templates. Different content features can be obtained through different reference feature templates, thereby ensuring more targeted privacy protection for different users.

[0093] Figure 4 A flowchart illustrating an exemplary embodiment of the image data reading method of this application is shown; as follows: Figure 4 As shown, it includes the following steps:

[0094] Step 401: A data access request corresponding to a preset storage location that requires authentication is detected.

[0095] Step 402: Obtain the verification method corresponding to the preset storage location.

[0096] In one embodiment, the verification method may include fingerprint verification, password verification, and pattern verification, etc., and the specific verification method can be set by the user. In another embodiment, the verification method may be to authenticate the user's identity by a preset gesture made by the user relative to the electronic device.

[0097] Step 403: Using this verification method, detect the verification information entered by the user.

[0098] Corresponding to step 401 above, the verification information may include the user's biometric information. For example, if the user sets the verification method to fingerprint verification, when the processor of the electronic device detects that a preset folder has been triggered, the fingerprint authentication module can be activated to collect the user's fingerprint information, which is the verification information described in this embodiment. If the user sets the verification method to iris verification, when the processor of the electronic device detects that a preset folder has been triggered, the iris authentication module can be activated to collect the user's iris information, which is the verification information described in this embodiment. If the user sets the verification method to face verification, when the processor of the electronic device detects that a preset folder has been triggered, the camera can be activated to collect the user's facial features, which is the verification information described in this embodiment. For another example, after the application starts, the accelerometer detects the number of times the user shakes the phone in a set direction (e.g., vertically). If the number of times the phone is shaken reaches a preset number, the user's identity is authenticated, and the preset folder can be accessed by the user.

[0099] Step 404: Based on the verification results, determine whether the user has permission to access the data.

[0100] The image data in the preset folder can be located in subfolders within the preset folder or stored directly in the preset folder. See [link to example folder] for details on the subfolders contained within the preset folder and the image data stored in those subfolders. Figure 2A .

[0101] The image data reading method provided in this embodiment allows users to access a preset storage location through authentication, thereby ensuring that the image data in the preset storage location cannot be viewed by other unauthorized users and protecting user privacy.

[0102] Figure 5 A schematic diagram of the structure of an image data storage device according to an exemplary embodiment of this application is shown, such as... Figure 5 As shown, the image data storage device may include: a feature recognition unit 51, a determination unit 52, and a storage unit 53. Wherein:

[0103] Feature recognition unit 51 is used to recognize content features in image data;

[0104] The storage method determination unit 52 is used to determine the storage method corresponding to the image data based on the content features identified by the feature recognition unit 51, wherein the storage method includes secure storage;

[0105] Storage unit 53 is used to store the image in a preset storage location that requires authentication if the storage method determination unit 52 determines that the storage method is confidential storage.

[0106] In one embodiment, the storage unit 53 includes:

[0107] The determination subunit 531 is used to determine the storage path of the image data in the preset storage location that requires identity authentication based on the content features;

[0108] Storage subunit 532 is used to store image data to the storage path determined by determination subunit 531.

[0109] In one embodiment, the preset storage location is the secure storage area of ​​the hard disk, and the storage path is the storage path of the secure storage area.

[0110] In one embodiment, the apparatus may further include:

[0111] The confidentiality level determination unit 54 is used to determine the confidentiality level corresponding to the preset target object from a first preset list if the image data contains a preset target object. The first preset list is used to record the confidentiality level corresponding to each preset target object.

[0112] In one embodiment, the apparatus may further include:

[0113] The hiding processing unit 55 is used to hide the image data in the subfolder of the determining subunit 531 if the security level determined by the security level determination unit 54 indicates that the image data needs to be hidden.

[0114] In one embodiment, the storage unit 53 can also be used for:

[0115] If no storage path corresponding to the preset storage location is found based on the content characteristics, the image data will be stored in the preset storage location.

[0116] In one embodiment, the feature recognition unit 51 may specifically be used for:

[0117] From two or more reference feature templates, determine the reference feature template that matches the image data;

[0118] The content features corresponding to the reference feature template that matches the image data are determined as the content features of the image data.

[0119] In one embodiment, the storage method determination unit 52 may specifically be used for:

[0120] The storage method corresponding to the content feature is found in the second preset list. The second preset list is used to record the storage methods corresponding to different content features.

[0121] Figure 6This illustration shows a schematic diagram of an image data reading device according to an exemplary embodiment of the present application. The image data storage device may include: a first detection unit 61, an acquisition unit 62, a second detection unit 63, and a judgment unit 64; wherein,

[0122] The first detection unit 61 is used to detect data access requests that require authentication and correspond to a preset storage location;

[0123] The acquisition unit 62 is used to acquire the verification method corresponding to the preset storage location in response to the data access request detected by the first detection unit 61.

[0124] The second detection unit 63 is used to detect the verification information input by the user based on the verification method obtained by the acquisition unit 62.

[0125] The judgment unit 64 is used to determine whether the user has permission to access data based on the verification result obtained by the second detection unit 63.

[0126] This application also provides a computer-readable storage medium storing a computer program for executing the above-described embodiments. Figures 1B-3 The method for storing images provided in any of the illustrated embodiments, or the method for performing the above... Figure 4 The illustrated embodiment provides an image data reading method.

[0127] Corresponding to the above Figures 1B-3 In addition to the image data storage method provided in any of the illustrated embodiments, this application also proposes... Figure 7 The diagram shown is a schematic structural diagram of an electronic device according to an exemplary embodiment of this application. Please refer to... Figure 7 At the hardware level, this electronic device may include a processor, internal bus, network interface, memory, and non-volatile memory, and may also include other hardware required for business operations. The processor reads the corresponding computer program from the non-volatile memory into memory and then executes it, implementing the above at the logical level. Figure 5 The illustrated embodiment is an image data storage device. Of course, besides software implementation, this application does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution entity of the following processing flow is not limited to individual logic units, but can also be hardware or logic devices.

[0128] Furthermore, corresponding to the above Figure 4 The image data reading method provided in the illustrated embodiment Figure 7 The processor in the electronic device provided in the illustrated embodiment can also be implemented at the logical level. Figure 6 The image data reading device of the embodiment shown.

[0129] It should be noted that the systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.

[0130] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0131] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0132] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. An image data storage method characterized by, The method comprises: identifying whether the image data includes a user preset gesture; if yes, determining that the storage mode corresponding to the image data is secret storage; wherein for image data stored in secret mode, identity authentication is required to view; if the storage mode corresponding to the image data is secret storage, identifying whether there is a corresponding subfolder in the preset folder which needs identity authentication, the preset folder containing at least one subfolder, each subfolder corresponding to the user preset gesture; if yes, storing the image data in the subfolder; if the image data has been determined to be stored in secret mode and the image data contains a preset target object, determining the secret level of the image data in the subfolder according to the first preset list and the preset target object, the first preset list recording the secret level corresponding to different preset target objects.

2. The method of claim 1, wherein after identifying whether the image data includes a user preset gesture, the method further comprises: if no, determining that the storage mode corresponding to the image data is normal storage; wherein for image data stored in normal mode, users who can start an application program can view; if the storage mode corresponding to the image data is normal storage, storing the image data in a storage location that does not require identity authentication. The preset folder is associated with a password lock or fingerprint authentication, and the user who needs to access the preset folder is authenticated by unlocking the password lock or fingerprint authentication.

3. The method of claim 1, wherein, The preset storage location is a secure storage area of a hard disk, and the storage path corresponding to the preset storage location is the storage path of the secure storage area.

4. The method of claim 1, wherein, The method further comprises: storing the image data in the secure storage area based on the storage path of the secure storage area. After storing the image data in the secure storage area based on the storage path of the secure storage area, the method further comprises:

5. The method of claim 4, wherein, if it is determined that the image data needs to be hidden, hiding the image data in the secure storage area. The method comprises:

6. An image data reading method characterized by comprising: detecting a data access request corresponding to a preset storage location that requires identity authentication; wherein when the image data includes a user preset gesture and a preset target object, the storage mode corresponding to the image data is secret storage, and the image data is stored in a preset folder that requires identity authentication and has a corresponding subfolder, the preset folder containing at least one subfolder, each subfolder corresponding to the user preset gesture, and the first preset list recording the secret level corresponding to different preset target objects; obtaining a verification mode corresponding to the preset storage location; detecting verification information input by the user in the verification mode; judging whether the user has the right to access data based on the verification result.

7. The method of claim 6, wherein ​ The verification information input by the user is detected in the verification mode, and the verification information input by the user is detected in the verification mode comprises: If the verification mode is a fingerprint verification mode and the preset storage position is detected to be triggered, a fingerprint authentication module is started, fingerprint information of the user is collected through the fingerprint authentication module, the fingerprint information is determined as the verification information input by the user, and the verification information is detected in the fingerprint verification mode; or If the verification mode is an iris verification mode and the preset storage position is detected to be triggered, an iris authentication module is started, iris information of the user is collected through the iris authentication module, the iris information is determined as the verification information input by the user, and the verification information is detected in the iris verification mode; or If the verification mode is a face verification mode and the preset storage position is detected to be triggered, a camera is started, and face features of the user are collected through the camera, the face features are determined as the verification information input by the user, and the verification information is detected in the face verification mode.

8. An image data storage apparatus characterized by comprising: The device comprises: A feature recognition unit configured to recognize whether the image data includes a user preset gesture; A storage mode determination unit configured to determine, if the feature recognition unit recognizes that the image data includes the user preset gesture, that a storage mode corresponding to the image data is secret storage; wherein for image data of which the storage mode is secret storage, identity authentication is required to view the image data; A storage unit configured to, if the storage mode corresponding to the image data is secret storage, recognize whether a corresponding subfolder exists in a preset folder requiring identity authentication in the image data, the preset folder including at least one subfolder, each subfolder corresponding to the user preset gesture, and if the corresponding subfolder exists, store the image data in the subfolder. The storage unit is further configured to: If the image data has been determined to be secret storage and the image data includes a preset target object, determine a secret level of the image data in the subfolder according to a first preset list and the preset target object, the first preset list being used to record secret levels corresponding to different preset target objects.

9. An image data reading apparatus characterized by comprising: The device comprises: A first detection unit configured to detect a data access request corresponding to a preset storage position requiring identity authentication; wherein when image data includes a user preset gesture and a preset target object, a storage mode corresponding to the image data is secret storage, and the image data is stored in a preset folder requiring identity authentication in which a corresponding subfolder exists, and a secret level of the image data in the subfolder is determined according to a first preset list and the preset target object, the preset folder including at least one subfolder, each subfolder corresponding to the user preset gesture, and the first preset list being used to record secret levels corresponding to different preset target objects; An acquisition unit configured to acquire a verification mode corresponding to the preset storage position; A second detection unit configured to detect verification information input by a user in the verification mode; A judgment unit configured to judge whether the user has a right to access data based on a verification result.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program for executing the image data storage method of any one of claims 1-5 or the image data reading method of claim 6 or 7.

11. An electronic device, comprising: The electronic device comprises: a processor; a memory for storing instructions executable by the processor; The processor is configured to identify whether the image data includes a user preset gesture, and if so, determine that the storage mode corresponding to the image data is secret storage; for image data stored in secret storage, identity authentication is required to view the image data; if the storage mode corresponding to the image data is secret storage, identify whether the image data exists in a corresponding subfolder in a preset folder requiring identity authentication, the preset folder including at least one subfolder, each subfolder corresponding to the user preset gesture; if so, store the image data in the subfolder; if the image data has been determined to be stored in secret storage and the image data includes a preset target object, determine the secret level of the image data in the subfolder according to a first preset list and the preset target object, the first preset list recording the secret level corresponding to different preset target objects; alternatively, the processor is configured to detect a data access request corresponding to a preset storage location requiring identity authentication; if the image data includes a user preset gesture, the storage mode corresponding to the image data is secret storage, and the image data is stored in the preset storage location requiring identity authentication; acquire an authentication mode corresponding to the preset storage location; detect authentication information input by a user in the authentication mode; and determine whether the user has the right to access data based on the authentication result.

Citation Information

Patent Citations

  • Method and device for controlling working condition of electronic device

    CN104679250A

  • Information processing method and device

    CN105095787A