Image information management method, device, equipment and computer-readable storage medium
By storing the initial picture of the target image type in the mobile phone to a specific location, and desensitizing and verification processing is performed when receiving the image display instruction, the risk of personal privacy information leakage in the mobile phone is solved, and the secure storage and reasonable output of picture information is achieved.
Patent Information
- Application Number
- CN202010920496.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-03
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2040-09-03
AI Technical Summary
The increase in the number of photos in mobile phones leads to a high risk of personal privacy information leakage, and it is difficult for the existing technology to effectively protect the security of this information.
By storing the initial image with the image type as the target image type in the terminal to the storage location corresponding to the target image type, and when receiving the image display instruction, the target image is desensitized, and the blurred image is generated, and the account information is checked before the complete picture output is restored.
It realizes the storage of the initial pictures of the target image type separately from other pictures, ensuring the security of picture information, and outputting complete pictures under appropriate conditions, avoiding information leakage caused by unrelated personnel to view the target image.
Smart Images

Figure CN112069518B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to a picture information management method, device, equipment and computer-readable storage medium. Background Art
[0002] With the great improvement of the integration of electronic components, the storage function of mobile phones is becoming more and more powerful, and the number of photos in mobile phones is also increasing. When searching for pictures in terminals (such as mobile phones), when personal privacy, such as certificate information, is involved, it is often leaked due to lack of effective protection, making the security of personal information protection low. Summary of the invention
[0003] The main purpose of the present invention is to provide a picture information management method, device, equipment and computer-readable storage medium, aiming to solve the technical problem of how to improve the security of information protection.
[0004] To achieve the above object, the present invention provides a method for managing picture information, the method comprising:
[0005] Storing an initial picture whose picture type is a target picture type in the terminal to a storage location corresponding to the target picture type;
[0006] If an input picture display instruction is received, detecting whether the picture type corresponding to the picture display instruction is a target picture type;
[0007] If so, determining the target image corresponding to the image display instruction, performing desensitization processing on the target image to obtain a blurred image, and verifying the account information corresponding to the image display instruction;
[0008] If the verification is qualified, the blurred image is restored to obtain a complete image, and the complete image is output.
[0009] Optionally, the step of performing desensitization processing on the target image to obtain a blurred image includes:
[0010] Determine a picture storage location of the target picture, and detect whether only the target picture exists in the picture storage location;
[0011] If only the target image exists in the image storage location, desensitization processing is performed on the target image to obtain a blurred image.
[0012] Optionally, after the step of detecting whether only the target picture exists in the picture storage location, the following steps are included:
[0013] If there are multiple pictures in the picture storage location, all pictures in the picture storage are obtained, and a global view is generated according to all the pictures, and a desensitization process is performed on the global view;
[0014] A target image is obtained according to the global view after the desensitization process, and the target image is desensitized again to obtain a blurred image.
[0015] Optionally, the step of acquiring a target image according to the desensitized global view includes:
[0016] Detecting whether the account information corresponding to the picture display instruction has the authority to access the target picture;
[0017] If the account information has permission to access the target image, the desensitized global view is restored to obtain a complete data view, and the target image is obtained in the complete data view.
[0018] Optionally, the step of storing an initial picture whose picture type is a target picture type in the terminal to a storage location corresponding to the target picture type includes:
[0019] Traverse all pictures in the terminal in sequence, and determine whether the picture type of the current picture being traversed is the target picture type;
[0020] If the picture type of the current picture is the target picture type, a storage location corresponding to the target picture type is determined, and the current picture is stored in the storage location until the traversal of each picture is completed.
[0021] Optionally, if the picture type of the current picture is a target picture type, determining a storage location corresponding to the target picture type and storing the current picture in the storage location comprises:
[0022] If the picture type of the current picture is the target picture type, extracting picture information of the current picture, and detecting whether the picture information matches the login account information in the terminal;
[0023] If there is a match, the storage location corresponding to the target image type is determined, and the current image is stored in the storage location.
[0024] Optionally, after the step of storing the initial picture whose picture type in the terminal is the target picture type in a storage location corresponding to the target picture type, the method further includes:
[0025] Acquire the picture attributes of all the initial pictures in the storage location, and create a sub-storage area corresponding to each of the picture attributes based on the storage location;
[0026] Each of the initial pictures is traversed in sequence, and the current initial picture currently traversed is stored in the sub-storage area corresponding to the picture attribute of the current initial picture until the traversal of each of the initial pictures is completed.
[0027] In addition, to achieve the above-mentioned purpose, the present invention further provides a picture information management device, the picture information management device comprising:
[0028] A storage module, used for storing an initial picture whose picture type is a target picture type in the terminal to a storage location corresponding to the target picture type;
[0029] A detection module, configured to detect whether the image type corresponding to the image display instruction is a target image type if an input image display instruction is received;
[0030] A verification module, for, if yes, determining a target image corresponding to the image display instruction, performing desensitization processing on the target image to obtain a blurred image, and verifying the account information corresponding to the image display instruction;
[0031] The output module is used to restore the blurred image to obtain a complete image if the verification is qualified, and output the complete image.
[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a picture information management device;
[0033] The picture information management device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein:
[0034] When the computer program is executed by the processor, the steps of the picture information management method described above are implemented.
[0035] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium;
[0036] The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the above-mentioned picture information management method are implemented.
[0037] The present invention stores an initial picture of a target picture type in a terminal to a storage location corresponding to the target picture type; if an input picture display instruction is received, detect whether the picture type corresponding to the picture display instruction is the target picture type; if so, determine the target picture corresponding to the picture display instruction, desensitize the target picture to obtain a blurred picture, and verify the account information corresponding to the picture display instruction; if the verification is qualified, restore the blurred picture to obtain a complete picture, and output the complete picture. By storing an initial picture of a target picture type in a terminal to a storage location, the initial picture of the target picture type is stored separately from other pictures, thereby ensuring the security of picture information, and when receiving a picture display instruction, desensitize the target picture to obtain a blurred picture, and then verify the account information, and only when the verification is passed, restore the blurred picture to obtain a complete picture, and output the complete picture, thereby effectively ensuring picture information, avoiding the phenomenon of information leakage in the target picture caused by unrelated personnel peeking at the target picture in the terminal, and improving the security of information protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a schematic diagram of the structure of a picture information management device in a hardware operating environment involved in an embodiment of the present invention;
[0039] Figure 2 This is a flow chart of a first embodiment of a method for managing picture information of the present invention;
[0040] Figure 3 It is a schematic diagram of the functional modules of the picture information management device of the present invention.
[0041] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0042] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0043] like Figure 1 As shown, Figure 1 It is a schematic diagram of the structure of a picture information management device in a hardware operating environment involved in an embodiment of the present invention.
[0044] like Figure 1As shown, the picture information management device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
[0045] Optionally, the picture information management device may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, the sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light. Of course, the terminal device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail here.
[0046] Those skilled in the art will understand that Figure 1 The picture information management device structure shown in the figure does not constitute a limitation on the picture information management device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0047] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a picture information management program.
[0048] exist Figure 1 In the picture information management device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the picture information management program stored in the memory 1005 and execute the picture information management method provided by the embodiment of the present invention.
[0049] Reference Figure 2 The present invention provides a method for managing picture information. In one embodiment of the method for managing picture information, the method for managing picture information comprises the following steps:
[0050] Step S10, storing the initial picture whose picture type is the target picture type in the terminal to a storage location corresponding to the target picture type;
[0051] In this embodiment, the terminal may include a mobile phone, a tablet computer, a personal computer, or other terminals that can receive pictures. In addition, this embodiment involves artificial intelligence, and it is necessary to use specific artificial intelligence technology to perform image recognition on pictures. Therefore, the pictures already in the terminal can be obtained first, and the picture types of these pictures can be determined, such as the type of the pictures is a landscape type, a person type, or a certificate type. And determine which of these picture types need to be kept confidential, that is, determine the target picture type in each picture type. If the target picture type is a certificate type, the picture corresponding to the certificate type is transferred to a separate folder, that is, the initial picture of the target picture type in the terminal is stored in the storage location corresponding to the target picture type. That is, in this proposal, when determining each picture corresponding to the certificate type, it is also necessary to determine which certificate pictures these pictures are. For example, if the pictures corresponding to the certificate type include ID card pictures, student ID card pictures, and real estate certificate pictures, the ID card picture can be stored in the folder corresponding to the ID card picture, the student ID card picture can be stored in the folder corresponding to the student ID card picture, and the real estate certificate can be stored in the folder corresponding to the real estate certificate, and these folders can be stored in the folder corresponding to the target picture type, that is, the storage location corresponding to the target picture type. For example, the mobile phone recognizes the photo in the album, and if it is a certificate type, it will be transferred to a separate folder. Different certificates are stored in different folders and distinguished by naming. The initial picture is the picture of the target picture type in the terminal.
[0052] And in this embodiment, before the initial image is stored in the storage location corresponding to the target image type, it is necessary to first verify the image, such as identity verification, and place it in the storage location corresponding to the target image type when the verification passes, that is, before the certificate is placed in a separate folder, it is also possible to identify whether the information in the certificate matches the identity information bound to the mobile phone number. If they do not match, the ID card photo is deleted, and if they match, the ID card photo is stored in the separate folder.
[0053] Moreover, after the initial images in the terminal are stored in the storage location corresponding to the target image type, it is necessary to classify and save each image again, that is, obtain the image attributes of all the initial images in the storage location, and classify each initial image again according to different image attributes, and then create a sub-storage area corresponding to each image attribute in the storage location according to each image attribute, that is, each image attribute corresponds to a sub-storage area. For example, if each initial image is a certificate image, it is necessary to classify these certificate images again, such as according to the different certificate types of the certificate images (such as identity cards, student cards and real estate certificates, etc.), or according to the storage time of the certificate images when they were first stored in the terminal. At this time, the image attributes can be different certificate types, or storage time, etc. Then, traverse each initial image in turn, and store the current initial image currently traversed in the sub-storage area corresponding to the image attribute of the current initial image, until the traversal of each initial image is completed. Among them, the image attributes are the distinguishing points of each initial image, and each initial image has the same image type. For example, when the image type is a certificate type, the image attribute can be an ID card, a student ID card, a real estate certificate, etc., or it can be the storage time of the initial image of the certificate type.
[0054] Step S20, if the input picture display instruction is received, detecting whether the picture type corresponding to the picture display instruction is the target picture type;
[0055] When the input image display instruction is received in the terminal, it is necessary to first determine the target image corresponding to the image display instruction, and detect whether the image type of the target image is the target image type. If it is the target image type, the target image is obtained in the storage location. If it is not the target image type, it is obtained in the aggregation of all images in the terminal (such as the camera gallery). For example, if the image display instruction to view the ID card image is received in the terminal, it will detect whether the document type corresponding to the ID card image is the target image type. If so, it needs to be in the storage location or the target image type. If not, it can be obtained in the aggregation of all images (such as the camera gallery).
[0056] Step S30: If yes, determine the target image corresponding to the image display instruction, perform desensitization processing on the target image to obtain a blurred image, and verify the account information corresponding to the image display instruction;
[0057] When it is determined that the image type corresponding to the image display instruction is not the target image type, the image corresponding to the image display instruction is directly displayed. When it is determined that the image type corresponding to the image display instruction is the target image type, it is necessary to first determine the target image that the image display instruction needs to view, and determine the specific location of the target image, such as in which folder, and after determining the specific location, it is necessary to obtain the target image in the specific location, and in order to ensure the security of the target image, it is necessary to desensitize the target image to obtain a blurred image after desensitization. Among them, when performing desensitization, the private parts such as the number and photo of the certificate can be blocked or mosaic blurred, such as using digital characters, text characters, alphabetic characters, and symbol characters to desensitize the target image.
[0058] And in specific applications, different contents of data desensitization need to be performed for different pictures, and data desensitization rules are set in advance according to the data desensitization requirements. Data desensitization rules include data desensitization content and data desensitization methods. Data desensitization content refers to the content that needs to be desensitized, such as name, age, ID number, telephone number, etc. Data desensitization methods refer to how to transform the image of the content that needs to be desensitized, such as filling color, filling gradient, setting transparency value, reducing image quality, etc. Therefore, after determining the target image, the data desensitization content of the target image can be determined according to the data desensitization rules of the target image, and then the image information of the data desensitization area can be obtained. The image information of the data desensitization area refers to the image content and image position corresponding to the data desensitization area, and then desensitization is performed based on the image information to obtain a blurred image.
[0059] After the image is desensitized to obtain a blurred image, it is necessary to continue verification, that is, to verify the account information corresponding to the image display instruction (that is, the account information currently logged in in the terminal), determine whether the account information is allowed to view the target image, and perform different operations according to different verification results. The verification method can be identity authentication, the mobile phone turns on the camera to perform live face recognition (or prompts the user to perform fingerprint verification, password verification, etc.), and if the verification is passed, the complete ID card photo will be displayed on the mobile phone interface.
[0060] Step S40: If the verification is qualified, the blurred image is restored to obtain a complete image, and the complete image is output.
[0061] When it is determined that the account information corresponding to the image display instruction has been successfully verified, the blurred image can be restored to obtain a clear complete image, and the complete image can be output.
[0062] In this embodiment, pictures are classified through automated technical means, which makes it convenient for users to quickly find their ID card and other document information. By protecting each type of document photo in a separate folder, the user's privacy information is effectively protected. And through the archiving solution of automated technology, the fatigue of users' independent selection of folders for archiving can be avoided, and the security of information protection is also improved.
[0063] In this embodiment, the initial picture of the target picture type in the terminal is stored in the storage location corresponding to the target picture type; if the input picture display instruction is received, it is detected whether the picture type corresponding to the picture display instruction is the target picture type; if so, the target picture corresponding to the picture display instruction is determined, the target picture is desensitized to obtain a blurred picture, and the account information corresponding to the picture display instruction is verified; if the verification is qualified, the blurred picture is restored to obtain a complete picture, and the complete picture is output. By storing the initial picture of the target picture type in the terminal to the storage location, the initial picture of the target picture type is stored separately from other pictures, and the security of the picture information is guaranteed. When the picture display instruction is received, the target picture is desensitized to obtain a blurred picture, and the account information is verified. When the verification is passed, the blurred picture is restored to obtain a complete picture, and the complete picture is output, thereby effectively guaranteeing the picture information, avoiding the phenomenon of information leakage in the target picture caused by unrelated personnel peeking at the target picture in the terminal, and improving the security of information protection.
[0064] Further, based on the first embodiment of the present invention, a second embodiment of the image information management method of the present invention is proposed. This embodiment is a refinement of step S30 of the first embodiment of the present invention, performing desensitization processing on the target image to obtain a blurred image, including:
[0065] Step a, determining the image storage location of the target image, and detecting whether only the target image exists in the image storage location;
[0066] In this embodiment, when the target image needs to be desensitized, it is necessary to first determine the specific location of the target image in the terminal, that is, the image storage location, such as in which folder, etc. After determining the image storage location where the target image is located, it is necessary to detect whether only the target image exists in the image storage location. If the target image and other images or folders exist in the image storage location, it is necessary to first detect whether the account information of the login terminal has viewing authority, and determine whether to display the specific location of the target image in the image storage location based on different detection results. If only the target image exists in the image storage location, desensitization can be performed directly.
[0067] Step b: If only the target image exists in the image storage location, desensitization processing is performed on the target image to obtain a blurred image.
[0068] When it is found through judgment that only the target image exists in the image storage location but no other images exist, the target image can be directly desensitized to obtain a blurred image after the desensitization process.
[0069] In this embodiment, the image storage location of the target image is first determined, and when there is only the target image in the image storage location, the target image is desensitized to obtain a blurred image, thereby ensuring the security of the image information.
[0070] Further, after the step of detecting whether only the target picture exists in the picture storage location, the method further comprises:
[0071] Step c: if there are multiple pictures in the picture storage location, all pictures in the picture storage are obtained, a global view is generated according to all the pictures, and a desensitization process is performed on the global view;
[0072] When it is found that the image storage location contains not only the target image but also other images or other sub-storage areas with images, it is necessary to obtain all images in the image storage location (including images in other sub-storage areas in the image storage location), generate a global view based on these images, and then perform desensitization processing on the global view, that is, blurring the global view, so that the global view becomes blurred. Among them, the global view is a collection of reduced images of all images in the image storage location.
[0073] Step d: obtaining a target image according to the global view after the desensitization process, and desensitizing the target image again to obtain a blurred image.
[0074] After obtaining the desensitized global view, it is necessary to verify the account information corresponding to the image display instruction. After the verification is successful, the desensitized global view will be restored, and the location of the target image will be determined based on the restored global view. Then, the process jumps to the location of the target image and desensitizes the target image to obtain a blurred image.
[0075] In this embodiment, when it is determined that there are multiple pictures in the picture storage location, the global view of each picture is desensitized, and the target picture is obtained based on the desensitized global view, and then the target picture is desensitized to obtain a blurred picture, thereby ensuring the security of the picture information.
[0076] Furthermore, the step of obtaining a target image according to the desensitized global view includes:
[0077] Step e, detecting whether the account information corresponding to the picture display instruction has the authority to access the target picture;
[0078] When acquiring the target image, it is necessary to verify the account information corresponding to the image display instruction to determine whether the account information has the authority to access the target image, such as outputting a verification code for verification. Only when the correct verification code is obtained can it be determined that the account information has the authority to access the target image, and the global view after the desensitization process is restored to obtain a clearer complete data view, and the location of the target image is determined in the complete data view, and jump to the location to obtain the target image. That is, when the terminal searches for the ID photo (i.e., the target photo), due to too many folders, it is impossible to determine which path the ID photo is in, it can support the generation of a global view of the photo, and output a desensitized ID type global view, and only when the account information corresponding to the image display instruction has the authority to access the target image, a clear global view is displayed.
[0079] Step f: if the account information has permission to access the target image, the desensitized global view is restored to obtain a complete data view, and the target image is obtained in the complete data view.
[0080] When it is determined that the account information has the permission to access the target image, the global view after the desensitization process can be directly restored to obtain the complete data view (i.e., a clear global view generated by restoring the global view after the desensitization process), and the location of the target image is determined in the complete data view to obtain the target image. If the account information does not have the permission to access the target image, a prompt message indicating that the verification failed is output.
[0081] In this embodiment, when it is determined that the account information has permission to access the target image, the desensitized global view is restored to obtain a complete data view, and the target image is obtained based on the complete data view, thereby ensuring the security of the image information of the target image.
[0082] Furthermore, the step of storing the initial picture whose picture type is the target picture type in the terminal to a storage location corresponding to the target picture type includes:
[0083] Step g, traversing all pictures in the terminal in sequence, and determining whether the picture type of the current picture being traversed is the target picture type;
[0084] In this embodiment, all pictures in the terminal can be traversed in sequence, and the current picture currently traversed can be detected to determine the picture type of the current picture, that is, the current picture type is identified to determine whether the current picture type is the target picture type. If the current picture type is exactly the target picture type, the picture information in the current picture can be extracted according to the preset picture recognition algorithm, so as to determine the storage location based on the picture information. If the picture type of the current picture currently traversed is not the target picture type, the position of the current picture is kept unchanged, that is, no change is made to the current picture.
[0085] Step h: If the picture type of the current picture is the target picture type, determine the storage location corresponding to the target picture type, and store the current picture in the storage location until the traversal of each picture is completed.
[0086] When it is determined that the image type of the current image is the target image type, the image information in the current image can be extracted according to the preset image recognition algorithm, and the image information can be matched with the currently activated account information in the terminal to determine whether the account information has the authority to operate the image. If the image information and the account information match, it is determined that the account information has the authority to operate the image. At this time, the current image can be stored in the storage location corresponding to the target image type, but if the image information and the account information do not match, the image is deleted. For example, when the target image type is a certificate type, identify whether the information in the certificate matches the identity information bound to the mobile phone number. If it does not match, delete the ID card photo, and if it matches, store the ID card photo in the separate folder. In addition, in the proposal, all images will be tested in the same way to determine whether the image is stored in the storage location, that is, until each image traversal is completed.
[0087] In this embodiment, by traversing all pictures and storing pictures of the target picture type in a storage location, the security of the picture information is guaranteed.
[0088] Further, if the picture type of the current picture is the target picture type, the step of determining a storage location corresponding to the target picture type and storing the current picture in the storage location includes:
[0089] Step k, if the picture type of the current picture is the target picture type, extracting the picture information of the current picture, and detecting whether the picture information matches the login account information in the terminal;
[0090] When it is determined that the image type of the current image is the target image type, the image information of the current image can be extracted according to the preset image recognition algorithm, and after the image information is extracted, it will be detected whether the image information matches the login account information in the terminal, and different operations will be performed according to different detection results. Among them, the login account information can be the account information that is currently logged in by the terminal.
[0091] Step m: If a match is found, a storage location corresponding to the target image type is determined, and the current image is stored in the storage location.
[0092] When it is determined that the picture information matches the login account information in the terminal, the storage location corresponding to the target picture type can be directly determined, and the current picture is moved to the storage location for storage.
[0093] In this embodiment, the security of the current picture is ensured by storing the current picture in a storage location when the picture type of the current picture is the target picture type and the picture information matches the login account information.
[0094] Further, after the step of storing the initial picture whose picture type in the terminal is the target picture type in the storage location corresponding to the target picture type, the method further includes:
[0095] Step n, obtaining the picture attributes of all the initial pictures in the storage location, and creating a sub-storage area corresponding to each of the picture attributes based on the storage location;
[0096] After the initial images in the terminal are stored in the storage location corresponding to the target image type, each image needs to be classified and saved again, that is, the image attributes of all the initial images in the storage location are obtained, and each initial image is classified again according to different image attributes, and then a sub-storage area corresponding to each image attribute is created in the storage location according to each image attribute, that is, each image attribute corresponds to a sub-storage area. For example, if each initial image is a certificate image, it is necessary to classify these certificate images again, such as according to the different certificate types of the certificate images (such as identity cards, student cards, and real estate certificates, etc.), or according to the storage time of the certificate images when they were first stored in the terminal. At this time, the image attributes can be different certificate types, or storage time, etc.
[0097] Step x, traversing each of the initial pictures in turn, and storing the current initial picture being traversed in the sub-storage area corresponding to the picture attribute of the current initial picture until the traversal of each of the initial pictures is completed.
[0098] Then, each initial image is traversed in turn, and the current initial image is stored in the sub-storage area corresponding to the image attribute of the current initial image until the traversal of each initial image is completed. Among them, the image attribute is the difference between each initial image, and each initial image has the same image type. For example, when the image type is a certificate type, the image attribute can be an ID card, a student ID card, a real estate certificate, etc., or it can be the storage time of the initial image of the certificate type.
[0099] In this embodiment, by obtaining the image attributes of all the initial images in the storage location, determining the sub-storage area according to the image attributes, and then storing each initial image in its corresponding sub-storage area, the security of the image information is guaranteed.
[0100] In addition, refer to Figure 3 The embodiment of the present invention further provides a picture information management device, the picture information management device comprising:
[0101] A storage module A10, configured to store an initial picture whose picture type is a target picture type in the terminal to a storage location corresponding to the target picture type;
[0102] The detection module A20 is used for detecting whether the picture type corresponding to the picture display instruction is the target picture type if the picture display instruction is received;
[0103] Verification module A30, for: if yes, determining the target image corresponding to the image display instruction, desensitizing the target image to obtain a blurred image, and verifying the account information corresponding to the image display instruction;
[0104] The output module A40 is used to restore the blurred image to obtain a complete image if the verification is qualified, and output the complete image.
[0105] Optionally, the verification module A30 is further used to:
[0106] Determine a picture storage location of the target picture, and detect whether only the target picture exists in the picture storage location;
[0107] If only the target image exists in the image storage location, desensitization processing is performed on the target image to obtain a blurred image.
[0108] Optionally, the verification module A30 is further used to:
[0109] If there are multiple pictures in the picture storage location, all pictures in the picture storage are obtained, and a global view is generated according to all the pictures, and a desensitization process is performed on the global view;
[0110] A target image is obtained according to the global view after the desensitization process, and the target image is desensitized again to obtain a blurred image.
[0111] Optionally, the verification module A30 is further used to:
[0112] Detecting whether the account information corresponding to the picture display instruction has the authority to access the target picture;
[0113] If the account information has permission to access the target image, the desensitized global view is restored to obtain a complete data view, and the target image is obtained in the complete data view.
[0114] Optionally, the storage module A10 is further used for:
[0115] Traverse all pictures in the terminal in sequence, and determine whether the picture type of the current picture being traversed is the target picture type;
[0116] If the picture type of the current picture is the target picture type, a storage location corresponding to the target picture type is determined, and the current picture is stored in the storage location until the traversal of each picture is completed.
[0117] Optionally, the storage module A10 is further used for:
[0118] If the picture type of the current picture is the target picture type, extracting picture information of the current picture, and detecting whether the picture information matches the login account information in the terminal;
[0119] If there is a match, the storage location corresponding to the target image type is determined, and the current image is stored in the storage location.
[0120] Optionally, the storage module A10 is further used for:
[0121] Acquire the picture attributes of all the initial pictures in the storage location, and create a sub-storage area corresponding to each of the picture attributes based on the storage location;
[0122] Each of the initial pictures is traversed in sequence, and the current initial picture currently traversed is stored in the sub-storage area corresponding to the picture attribute of the current initial picture until the traversal of each of the initial pictures is completed.
[0123] The steps implemented by the functional modules of the picture information management device may refer to the various embodiments of the picture information management method of the present invention, and will not be described in detail here.
[0124] The present invention also provides a picture information management device, which includes: a memory, a processor and a picture information management program stored in the memory; the processor is used to execute the picture information management program to implement the steps of each embodiment of the above-mentioned picture information management method.
[0125] The present invention also provides a computer-readable storage medium, which stores one or more programs. The one or more programs can also be executed by one or more processors to implement the steps of each embodiment of the above-mentioned picture information management method.
[0126] The specific implementation of the computer-readable storage medium of the present invention is basically the same as the above-mentioned embodiments of the picture information management method, and will not be repeated here.
[0127] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0128] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0130] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for managing picture information, characterized in that: The picture information management method comprises the following steps: Storing an initial picture whose picture type is a target picture type in the terminal to a storage location corresponding to the target picture type; If an input picture display instruction is received, detecting whether the picture type corresponding to the picture display instruction is a target picture type; If so, determining the target image corresponding to the image display instruction, performing desensitization processing on the target image to obtain a blurred image, and verifying the account information corresponding to the image display instruction; If the verification is qualified, the blurred image is restored to obtain a complete image, and the complete image is output; The step of storing the initial picture whose picture type is the target picture type in the terminal to a storage location corresponding to the target picture type includes: Traverse all pictures in the terminal in sequence, and determine whether the picture type of the current picture being traversed is the target picture type; If the picture type of the current picture is the target picture type, determining a storage location corresponding to the target picture type, and storing the current picture in the storage location until the traversal of each picture is completed; If the picture type of the current picture is a target picture type, determining a storage location corresponding to the target picture type and storing the current picture in the storage location comprises: If the picture type of the current picture is the target picture type, extracting picture information of the current picture, and detecting whether the picture information matches the login account information in the terminal; If there is a match, the storage location corresponding to the target image type is determined, and the current image is stored in the storage location.
2. The image information management method according to claim 1, characterized in that: The step of performing desensitization processing on the target image to obtain a blurred image includes: Determine a picture storage location of the target picture, and detect whether only the target picture exists in the picture storage location; If only the target image exists in the image storage location, desensitization processing is performed on the target image to obtain a blurred image.
3. The image information management method according to claim 2, characterized in that: After the step of detecting whether only the target picture exists in the picture storage location, the method further comprises: If there are multiple pictures in the picture storage location, all pictures in the picture storage are obtained, and a global view is generated according to all the pictures, and a desensitization process is performed on the global view; A target image is obtained according to the global view after the desensitization process, and the target image is desensitized again to obtain a blurred image.
4. The image information management method according to claim 3, characterized in that: The step of acquiring the target image according to the desensitized global view includes: Detecting whether the account information corresponding to the picture display instruction has the authority to access the target picture; If the account information has permission to access the target image, the desensitized global view is restored to obtain a complete data view, and the target image is obtained in the complete data view.
5. The picture information management method according to any one of claims 1 to 4, characterized in that: After the step of storing the initial picture of the target picture type in the terminal to the storage location corresponding to the target picture type, the method further includes: Acquire the picture attributes of all the initial pictures in the storage location, and create a sub-storage area corresponding to each of the picture attributes based on the storage location; Each of the initial pictures is traversed in sequence, and the current initial picture currently traversed is stored in the sub-storage area corresponding to the picture attribute of the current initial picture until the traversal of each of the initial pictures is completed.
6. A picture information management device, characterized in that: The picture information management device comprises: A storage module, used for storing an initial picture whose picture type is a target picture type in the terminal to a storage location corresponding to the target picture type; A detection module, configured to detect whether the image type corresponding to the image display instruction is a target image type if an input image display instruction is received; A verification module, for, if yes, determining a target image corresponding to the image display instruction, performing desensitization processing on the target image to obtain a blurred image, and verifying the account information corresponding to the image display instruction; An output module, used for restoring the blurred image to obtain a complete image if the verification is qualified, and outputting the complete image; The operation of storing the initial picture whose picture type in the terminal is the target picture type to a storage location corresponding to the target picture type includes: Traverse all pictures in the terminal in sequence, and determine whether the picture type of the current picture being traversed is the target picture type; If the picture type of the current picture is the target picture type, determining a storage location corresponding to the target picture type, and storing the current picture in the storage location until the traversal of each picture is completed; If the picture type of the current picture is a target picture type, determining a storage location corresponding to the target picture type and storing the current picture in the storage location includes: If the picture type of the current picture is the target picture type, extracting picture information of the current picture, and detecting whether the picture information matches the login account information in the terminal; If there is a match, the storage location corresponding to the target image type is determined, and the current image is stored in the storage location.
7. A picture information management device, characterized in that: The picture information management device comprises: a memory, a processor and a picture information management program stored in the memory and executable on the processor, wherein the picture information management program implements the steps of the picture information management method according to any one of claims 1 to 5 when executed by the processor.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a picture information management program, and when the picture information management program is executed by a processor, the steps of the picture information management method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Picture processing method, mobile terminal and computer readable storage medium
CN108038827A
Image forming apparatus, data management method, and storage medium
US20150264199A1