WO2019023955A1 - 一种智能终端的图像存储与查看方法及图像存储与查看*** - Google Patents

一种智能终端的图像存储与查看方法及图像存储与查看*** Download PDF

Info

Publication number
WO2019023955A1
WO2019023955A1 PCT/CN2017/095542 CN2017095542W WO2019023955A1 WO 2019023955 A1 WO2019023955 A1 WO 2019023955A1 CN 2017095542 W CN2017095542 W CN 2017095542W WO 2019023955 A1 WO2019023955 A1 WO 2019023955A1
Authority
WO
WIPO (PCT)
Prior art keywords
password
image
folder
privacy
current
Prior art date
Application number
PCT/CN2017/095542
Other languages
English (en)
French (fr)
Inventor
汪清华
Original Assignee
深圳传音通讯有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/095542 priority Critical patent/WO2019023955A1/zh
Publication of WO2019023955A1 publication Critical patent/WO2019023955A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules

Definitions

  • the present invention relates to the field of intelligent terminals, and in particular, to an image storage and viewing method of an intelligent terminal and an image storage and viewing system.
  • smart terminals such as smart phones and tablet computers have been widely used, and smart terminals have become an indispensable necessity in the life of users. Due to the convenience of smart terminals and the improvement of the pixels of smart terminal cameras, more and more users are more inclined to take pictures through smart terminals, and enjoy and record the beauty of life at all times. To some extent, smart terminals have gradually Replacing the camera has become the mainstream tool for current photography.
  • the smart terminal As the smart terminal has developed to the present day, its hardware and software and user experience have undergone subversive changes. With the continuous advancement of smart terminal technology, the camera functions of smart terminals are becoming more and more abundant. Along with the increasing number of third-party applications that can be installed on smart terminals, third-party applications make the functions of smart terminals more powerful, meet the different needs of intelligent terminal users, and provide many opportunities for the work and life of intelligent terminal users. convenient.
  • the smart terminal user records the user's life or work in the form of photos or videos through the camera provided by the system, through photographing or recording video, and the photo and video are stored in the photo album of the smart terminal. For some users who install a social application, they can share photos or videos they take with their family or friends via a social application based on the Internet.
  • the present invention provides an image storage and viewing method and an image storage and viewing system for a smart terminal, and provides a privacy mode for photo storage and viewing, which satisfies the user's storage and viewing requirements for different photos, thereby realizing privacy.
  • the hidden processing of the photo can reduce the hidden operation time of the user, improve the hiding convenience of the privacy photo, reduce the operation time of hiding the photo, and enhance the user experience.
  • an object of the present invention is to provide an image storage and viewing method and an image storage and viewing system for a smart terminal.
  • the invention discloses an image storage and viewing method of a smart terminal, comprising the following steps:
  • the privacy folder is opened to display the image.
  • the step of creating a privacy folder in the smart terminal and associating the privacy folder with a specified application in the smart terminal further includes:
  • the privacy folder is opened, and the step of displaying the image includes:
  • the step of setting the privacy folder password of the privacy folder further comprises:
  • opening the privacy folder, and displaying the image includes:
  • displaying a request to input the privacy folder password again and repeating the steps includes:
  • the image in the privacy folder is deleted.
  • the image storage and viewing method further comprises the following steps:
  • the image is converted into an unreadable file.
  • the invention also discloses an image storage and viewing system of an intelligent terminal, comprising a setting module, an image capturing module, an image storage module, an application module and a display module;
  • the setting module creates a privacy folder in the smart terminal, and associates the privacy folder with a specified application in the smart terminal;
  • the image capturing module starts a camera of the smart terminal and captures an image
  • the image storage module is communicably connected to the image capturing module, and stores the image into the privacy folder;
  • the application module is in communication with the setting module to detect whether the specified application is started;
  • the display module is communicatively coupled to the image storage module and the application module, and when the specified application is launched, opens the privacy folder to display the image.
  • the setting module sets a privacy folder password of the privacy folder
  • the display module includes a password requesting unit, a password obtaining unit, a password matching unit, and a control unit;
  • the password requesting unit displays a request for inputting the password of the privacy folder when the specified application is started;
  • the password obtaining unit acquires an input current folder password
  • the password matching unit is communicably connected to the setting module and the password obtaining unit, and matches the current folder password with the private folder password;
  • the control unit is communicably connected to the password matching unit and the password requesting unit, and when the current folder password is consistent with the private folder password, the private folder is opened to display the image;
  • the password request unit is controlled to display a request for inputting the privacy folder password again.
  • the setting module sets a privacy image password of the image
  • the control unit when the current folder password is consistent with the privacy folder password, opening the privacy folder, displaying a thumbnail of the image, and displaying a request for inputting the privacy image password;
  • control unit sets a counting threshold
  • the image in the privacy folder is deleted.
  • the display module converts the image into an unreadable file when the application opens the privacy folder using an application other than the specified application.
  • the present invention provides an image storage and viewing method for an intelligent terminal and an image storage and viewing system, which provides a privacy mode for photo storage and viewing, which satisfies the user's need for storage and viewing of different photos, thereby realizing privacy.
  • the hidden processing of the photo can reduce the hidden operation time of the user, improve the hiding convenience of the privacy photo, reduce the operation time of hiding the photo, and enhance the user experience.
  • FIG. 1 is a flow chart showing an image storage and viewing method in accordance with a preferred embodiment of the present invention
  • FIG. 2 is a flow chart showing the steps of displaying an image in an image storage and viewing method in accordance with a preferred embodiment of the present invention
  • FIG. 3 is a schematic flow chart showing steps of displaying an image in the image storage and viewing method of FIG. 2;
  • FIG. 4 is another schematic flowchart of a step of displaying an image in the image storage and viewing method of FIG. 2;
  • Figure 5 is a block diagram showing the structure of an image storage and viewing system in accordance with a preferred embodiment of the present invention.
  • an image storage and viewing method of a smart terminal includes the following steps:
  • S100 Create a privacy folder in the smart terminal, and associate the privacy folder with a specified application in the smart terminal;
  • S200 Start a camera of the smart terminal, and capture an image
  • the image storage and viewing method provided by the present invention can be applied to an intelligent terminal, and the smart terminal can be implemented in various forms.
  • the smart terminal described in the present invention may include mobiles such as mobile phones, smart phones, notebook computers, PDAs (Personal Digital Assistants), PADs (Tablets), PMPs (Portable Multimedia Players), navigation devices, smart watches, and the like.
  • Terminals, as well as fixed terminals such as digital TVs, desktop computers, and the like.
  • the present invention will be described on the assumption that the smart terminal is a smart phone.
  • configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
  • the image storage and viewing method provided by the present invention when the privacy mode of the camera application in the smart phone is turned on, the photo or video taken by the smart phone is not displayed in the gallery of the camera application, and the captured photo or video is not stored in the camera application gallery.
  • the corresponding folder is stored in a specific privacy folder, so that it cannot be found in the file manager's picture or video folder, and you need to enter the privacy folder to find the photo or video file. Open the privacy folder to view photos or video files. Only when you enter from the specified application can you open the privacy folder and use other applications to enter and open the privacy folder.
  • the image storage and viewing method provided by the invention can realize the privacy photo taking and privacy viewing of the smart phone through five layers of encryption:
  • the image storage and viewing method provided by the present invention specifically includes:
  • Step S100 Create a privacy folder in the smart terminal, and associate the privacy folder with a specified application in the smart terminal;
  • step S100 the encryption and decryption rules for image storage and viewing in the privacy mode are first set, that is, (1) the privacy file cannot be found by changing the file storage path; (2) the encryption is performed by the specified entry mode.
  • the privacy file cannot be found by changing the file storage path: a privacy folder is created in the smart terminal, and the photo or video captured by the smartphone is not used when the privacy mode of the camera application in the smartphone is turned on.
  • the camera app's gallery shows that the captured photo or video is not stored in the folder corresponding to the camera app's gallery, but is stored in the privacy folder, so in the file manager's photo or video folder. Not found in , you need to enter this privacy folder to find the photo or video file.
  • Encryption by the specified entry method associate the above privacy folder with a specified application in the smartphone, and only enter and enter the password from the specified application, and the error is reported when using other applications to enter and open the privacy folder.
  • the privacy folder can be associated with a third-party application hardcover downloaded from the smartphone, and only the access hardcover can open the privacy folder and view the photos or videos in the privacy folder.
  • the encryption and decryption rules for image storage and viewing are not limited to this.
  • the video is stored in the folder corresponding to the camera application's gallery, but is encrypted by the specified entry method. For example, only the folder corresponding to the gallery of the camera application from a specified application can be opened, using other An error is reported when the application enters and opens the folder corresponding to the camera app's gallery.
  • Step S200 Start a camera of the smart terminal, and capture an image
  • This privacy mode can be applied not only to camera applications that come with the smartphone system, but also to third-party applications that users install and download, such as Mito Xiuxiu, Faceu, Instagram, VSCO, etc. Camera class application.
  • Triggering the camera privacy mode can be implemented in various ways, for example, by calling a camera program in the smartphone system, setting the privacy mode to the default mode in the smartphone system, and automatically using the privacy mode when taking photos with the smartphone; For example, a plug-in program is added to the camera program, implemented in the hall container, and a privacy mode switching button is added to the viewfinder interface of the smart phone, and when the button is triggered, the mode is switched to the privacy mode.
  • Step S300 storing the image in the privacy folder
  • the storage path is changed, not stored in the original picture, the video storage folder, and stored in the privacy folder, that is, the encryption of the image is implemented using the encryption rule set in step S100.
  • Step S400 detecting whether the specified application is started
  • Step S500 When the specified application is started, the privacy folder is opened, and the image is displayed.
  • Step S400-500 detects whether the user's operation conforms to the decryption rule set in step S100, and displays an image when it is detected that the user opens the privacy folder from the specified application.
  • Step S100 Creating a privacy folder in the smart terminal, and the step of associating the privacy folder with a specified application in the smart terminal further includes:
  • Step S500 When the specified application is started, the privacy folder is opened, and the step of displaying the image includes:
  • Step S110 The step of setting the privacy folder password of the privacy folder further includes:
  • Step S540 When the current folder password is consistent with the privacy folder password, the privacy folder is opened, and the step of displaying the image includes:
  • an encryption rule is added on the basis of the first two layers of encryption rules: (3) encrypting the privacy folder by using a password; (4) encrypting the photo or video in the privacy folder by using a password, and the privacy file
  • the image in the folder and/or privacy folder is set to the encrypted password.
  • S540 when the current folder password is inconsistent with the privacy folder password, a request for inputting the privacy folder password is displayed again and the above steps are repeated.
  • the steps include:
  • S546 Turn on a counter in the smart terminal, and set the counter value of the counter to zero;
  • S548 delete the image in the privacy folder when the count value exceeds the count threshold.
  • the method of destroying the file may be: setting a delete module in the smart phone, and when the password is entered incorrectly 10 times, the module is triggered and the file is deleted.
  • step S540 it can be understood that the above method is applicable not only to the case where the privacy file password is input incorrectly in step S540, but also applies to the case where the privacy image password input is incorrect in step S544.
  • the image storage and viewing method provided by the present invention further includes:
  • S600 Convert the image into an unreadable file when the privacy folder is opened by an application other than the specified application.
  • the PNG-8 file is a widely used PNG image format, and is mainly composed of six large blocks, a PNG file flag, a file header data block IHDR, a palette data block PLTE, an image data block IDAT, and an image end.
  • the data IEND is arranged in order, by dividing the PNG, for example, the first 100 bytes, followed by 1K, and finally the remaining bytes, and then the block order is scrambled, and the total length is recorded by 2 bytes, and the order of 1 byte is recorded.
  • the present invention further discloses an image storage and viewing system 100 for a smart terminal, comprising a setting module 11, an image capturing module 12, an image storage module 13, an application module 14, and a display module 15;
  • the setting module 11 creates a privacy folder in the smart terminal, and associates the privacy folder with a specified application in the smart terminal;
  • the image capturing module 12 starts a camera of the smart terminal and captures an image
  • the image storage module 13 is communicably connected to the image capturing module 12, and stores the image into the privacy folder;
  • the application module 14 is in communication with the setting module 11 to detect whether the specified application is started;
  • the display module 15 is communicably connected to the image storage module 13 and the application module 14.
  • the privacy folder is opened to display the image.
  • the setting module 11 sets a privacy folder password of the privacy folder
  • the display module 15 includes a password requesting unit, a password obtaining unit, a password matching unit, and a control unit;
  • the password requesting unit displays a request for inputting the password of the privacy folder when the specified application is started;
  • the password obtaining unit acquires an input current folder password
  • the password matching unit is communicably connected to the setting module 11 and the password obtaining unit, and matches the current folder password with the private folder password;
  • the control unit is communicably connected to the password matching unit and the password requesting unit, and when the current folder password is consistent with the private folder password, the private folder is opened to display the image;
  • the password request unit is controlled to display a request for inputting the privacy folder password again.
  • the setting module 11 sets a privacy image password of the image
  • the control unit when the current folder password is consistent with the privacy folder password, opening the privacy folder, displaying a thumbnail of the image, and displaying a request for inputting the privacy image password;
  • control unit sets a count threshold
  • the image in the privacy folder is deleted.
  • the display module 15 converts the image into an unreadable file when the application is opened using an application other than the specified application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种智能终端的图像存储与查看方法及图像存储与查看***,其中,图像存储与查看方法包括以下步骤:于所述智能终端内创建一隐私文件夹,将所述隐私文件夹与所述智能终端内一指定应用程序关联;启动所述智能终端的摄像头,拍摄得到一图像;将所述图像存储至所述隐私文件夹内;检测所述指定应用程序是否启动;当所述指定应用程序启动时,打开所述隐私文件夹,显示所述图像。提供了照片存储与查看的隐私模式,满足了用户对不同照片的存储与查看需求,进而实现了对隐私照片的隐藏处理,可以减少用户对照片的隐藏操作时间,提高对隐私照片的隐藏便利性,减少对照片进行隐藏的操作时间,提升用户体验。

Description

一种智能终端的图像存储与查看方法及图像存储与查看*** 技术领域
本发明涉及智能终端领域,尤其涉及一种智能终端的图像存储与查看方法及图像存储与查看***。
背景技术
随着电子信息技术的不断发展,智能手机、平板电脑等智能终端已经得到广泛的应用,智能终端已经成为用户生活中不可或缺的必需品。由于智能终端携带的便利性和智能终端摄像头像素的大大提高,越来越多的用户更倾向于通过智能终端进行拍照,时刻享受并记录生活中的美好,在某种程度上,智能终端已经逐渐取代相机成为当前拍照的主流工具。
智能终端发展到今天,其软硬件和用户体验都发生了颠覆性的变化。随着智能终端技术的不断进步,智能终端的相机功能也越来越丰富。随之日益增多的还包括能够安装于智能终端的第三方应用程序,第三方应用程序使智能终端的功能更加强大,满足了智能终端用户的不同需求,给智能终端用户的工作以及生活提供了诸多便利。例如,智能终端用户通过***自带的相机,通过拍照或者录制视频等操作,以照片或者视频的形式记录用户的生活或者工作,照片与视频存储智能终端的相册中。对于一些安装某社交应用程序的用户来说,可基于互联网通过某社交应用程序将其拍摄的照片或者视频,与其家人或者朋友进行分享。
对于智能终端内拍摄或存储的一些精彩有趣的照片,用户通常很愿意分享给身边的朋友进行浏览。但是,当智能终端被该智能终端的非持有者查看后,可能会将相册中保存的照片或者视频等隐私信息泄露;或者,当智能终端用户通过某社交应用程序分享相册中的照片或者视频时,由于用户手误或者其他原因将隐私照片或者视频分享给了陌生人等等,由此可见,智能终端用户存储于相册中的照片或者视频存在巨大的安全隐患。特别是,当相册中的照片或者视频涉及公司机密信息时,隐私信息的泄露可能会给公司带来不可挽回的巨大经济损失。因此,如何保护好智能终端中隐私信息的安全成为目前亟待解决的问题。
因此,本发明提供了一种智能终端的图像存储与查看方法及图像存储与查看***,提供了照片存储与查看的隐私模式,满足了用户对不同照片的存储与查看需求,进而实现了对隐私照片的隐藏处理,可以减少用户对照片的隐藏操作时间,提高对隐私照片的隐藏便利性,减少对照片进行隐藏的操作时间,提升用户体验。
发明内容
为了克服上述技术缺陷,本发明的目的在于提供一种智能终端的图像存储与查看方法及图像存储与查看***。
本发明公开了一种智能终端的图像存储与查看方法,包括以下步骤:
于所述智能终端内创建一隐私文件夹,将所述隐私文件夹与所述智能终端内一指定应用程序关联;
启动所述智能终端的摄像头,拍摄得到一图像;
将所述图像存储至所述隐私文件夹内;
检测所述指定应用程序是否启动;
当所述指定应用程序启动时,打开所述隐私文件夹,显示所述图像。
优选地,于所述智能终端内创建一隐私文件夹,将所述隐私文件夹与所述智能终端内一指定应用程序关联的步骤还包括:
设置所述隐私文件夹的隐私文件夹密码;
当所述指定应用程序启动时,打开所述隐私文件夹,显示所述图像的步骤包括:
当所述指定应用程序启动时,显示一输入所述隐私文件夹密码的请求;
获取输入的当前文件夹密码;
将所述当前文件夹密码与所述隐私文件夹密码匹配;
当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像;
当所述当前文件夹密码与所述隐私文件夹密码不一致时,再次显示一输入所述隐私文件夹密码的请求并重复上述步骤。
优选地,设置所述隐私文件夹的隐私文件夹密码的步骤还包括:
设置所述图像的隐私图像密码;
当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像的步骤包括:
当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像的缩略图,显示一输入所述隐私图像密码的请求;
获取所述用户输入的当前图像密码;
将所述当前图像密码与所述隐私图像密码匹配;
当所述当前图像密码与所述隐私图像密码一致时,显示所述图像;
当所述当前图像密码与所述隐私图像密码不一致时,再次显示一输入所述隐私图像密码的请求并重复上述步骤。
优选地,当所述当前文件夹密码与所述隐私文件夹密码不一致时,再次显示一输入所述隐私文件夹密码的请求并重复上述步骤的步骤包括:
设置一计数阈值;
开启所述智能终端内一计数器,将所述计数器的计数值置零;
当所述当前文件夹密码与所述隐私文件夹密码不一致时,将所述计数值加1;
当所述计数值超过所述计数阈值时,删除所述隐私文件夹内的所述图像。
优选地,所述图像存储与查看方法还包括以下步骤:
当使用所述指定应用程序之外的应用程序打开所述隐私文件夹时,将所述图像转化为不可读文件。
本发明还公开了一种智能终端的图像存储与查看***,包括设置模块、图像拍摄模块、图像存储模块、应用程序模块、显示模块;
所述设置模块,于所述智能终端内创建一隐私文件夹,将所述隐私文件夹与所述智能终端内一指定应用程序关联;
所述图像拍摄模块,启动所述智能终端的摄像头,拍摄得到一图像;
所述图像存储模块,与所述图像拍摄模块通信连接,将所述图像存储至所述隐私文件夹内;
所述应用程序模块,与所述设置模块通信连接,检测所述指定应用程序是否启动;
所述显示模块,与所述图像存储模块、应用程序模块通信连接,当所述指定应用程序启动时,打开所述隐私文件夹,显示所述图像。
优选地,所述设置模块,设置所述隐私文件夹的隐私文件夹密码;
所述显示模块,包括密码请求单元、密码获取单元、密码匹配单元、控制单元;
所述密码请求单元,当所述指定应用程序启动时,显示一输入所述隐私文件夹密码的请求;
所述密码获取单元,获取输入的当前文件夹密码;
所述密码匹配单元,与所述设置模块、密码获取单元通信连接,将所述当前文件夹密码与所述隐私文件夹密码匹配;
所述控制单元,与所述密码匹配单元、密码请求单元通信连接,当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像;
当所述当前文件夹密码与所述隐私文件夹密码不一致时,控制所述密码请求单元再次显示一输入所述隐私文件夹密码的请求。
优选地,所述设置模块,设置所述图像的隐私图像密码;
所述控制单元,当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像的缩略图,显示一输入所述隐私图像密码的请求;
获取所述用户输入的当前图像密码;
将所述当前图像密码与所述隐私图像密码匹配;
当所述当前图像密码与所述隐私图像密码一致时,控制所述显示模块显示所述图像;
当所述当前图像密码与所述隐私图像密码不一致时,再次显示一输入所述隐私图像密码的请求。
优选地,所述控制单元,设置一计数阈值;
开启所述智能终端内一计数器,将所述计数器的计数值置零;
当所述当前文件夹密码与所述隐私文件夹密码不一致时,将所述计数值加1;
当所述计数值超过所述计数阈值时,删除所述隐私文件夹内的所述图像。
优选地,所述显示模块,当使用所述指定应用程序之外的应用程序打开所述隐私文件夹时,将所述图像转化为不可读文件。
采用了上述技术方案后,与现有技术相比,具有以下有益效果:
1.本发明提供了一种智能终端的图像存储与查看方法及图像存储与查看***,提供了照片存储与查看的隐私模式,满足了用户对不同照片的存储与查看需求,进而实现了对隐私照片的隐藏处理,可以减少用户对照片的隐藏操作时间,提高对隐私照片的隐藏便利性,减少对照片进行隐藏的操作时间,提升用户体验。
附图说明
图1为符合本发明一优选实施例中,图像存储与查看方法的流程示意图;
图2为符合本发明一优选实施例中,图像存储与查看方法中显示图像步骤的流程示意图;
图3为图2的图像存储与查看方法中显示图像步骤的流程示意图;
图4为图2的图像存储与查看方法中显示图像步骤的另一流程示意图;
图5为符合本发明一优选实施例中,图像存储与查看***的结构示意图。
附图标记:
100-图像存储与查看***;11-设置模块;12-图像拍摄模块;13-图像存储模块;14-应用程序模块;15-显示模块。
具体实施方式
以下结合附图与具体实施例进一步阐述本发明的优点。
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在 本公开和所附权利要求书中所使用的单数形式的“一”、“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
在本发明的描述中,除非另有规定和限定,对于本领域的普通技术人员而言,可以根据具体情况理解术语的具体含义。
在后续的描述中,使用用于表示元件的诸如“模块”、“单元”等的后缀仅为了有利于本发明的说明,其本身并没有特定的意义,仅表示***的一部分。因此,“模块”与“单元”可以混合地使用。
参考图1,一种智能终端的图像存储与查看方法,包括以下步骤:
S100:于所述智能终端内创建一隐私文件夹,将所述隐私文件夹与所述智能终端内一指定应用程序关联;
S200:启动所述智能终端的摄像头,拍摄得到一图像;
S300:将所述图像存储至所述隐私文件夹内;
S400:检测所述指定应用程序是否启动;
S500:当所述指定应用程序启动时,打开所述隐私文件夹,显示所述图像。
本发明提供的图像存储与查看方法,可以应用于智能终端,智能终端可以以各种形式来实施。例如,本发明中描述的智能终端可以包括诸如移动电话、智能电话、笔记本电脑、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置、智能手表等的移动终端,以及诸如数字TV、台式计算机等的固定终端。下面,假设智能终端为智能手机,对本发明进行说明。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。
本发明提供的图像存储与查看方法,当智能手机内相机应用的隐私模式开启时,使用智能手机拍摄的照片或视频不在相机应用的图库中显示,拍摄的照片或视频不存储到相机应用的图库所对应的文件夹中,而是存储到一个特定的隐私文件夹中,这样,在文件管理器的图片或视频文件夹中找不到,需要进入隐私文件夹才能找到该照片或视频文件。而打开该隐私文件夹查看照片或视频文件,只有从指定的应用程序中进入才可以实现打开该隐私文件夹,使用其他应用程序进入并打开隐私文件夹时报错。
本发明提供的图像存储与查看方法,可通过五层加密的方式实现智能手机的隐私拍照与隐私查看:
(1)通过更改文件存储路径的方式使隐私文件无法被找到;
(2)通过指定的进入方式进行加密;
(3)通过密码对隐私文件夹进行加密;
(4)通过密码对隐私文件夹中的照片或视频进行加密。
(5)为防止智能手机丢失等原因导致隐私被侵犯,当密码输入错误超过N次时,永久删除照片或视频。
本发明提供的图像存储与查看方法,具体地:
步骤S100:于所述智能终端内创建一隐私文件夹,将所述隐私文件夹与所述智能终端内一指定应用程序关联;
步骤S100,首先设置隐私模式下,图像存储与查看的加密与解密规则,即(1)通过更改文件存储路径的方式使隐私文件无法被找到;(2)通过指定的进入方式进行加密。
具体地,通过更改文件存储路径的方式使隐私文件无法被找到:于所述智能终端内创建一隐私文件夹,当智能手机内相机应用的隐私模式开启时,使用智能手机拍摄的照片或视频不在相机应用的图库中显示,拍摄的照片或视频不存储到相机应用的图库所对应的文件夹中,而是存储到该隐私文件夹中,这样,在文件管理器的图片或视频文件夹 中找不到,需要进入该隐私文件夹才能找到该照片或视频文件。
通过指定的进入方式进行加密:将上述隐私文件夹与智能手机内一指定应用程序关联,只有从该指定应用程序中进入并输入密码才可以实现,使用其他应用程序进入并打开隐私文件夹时报错。例如,可以将该隐私文件夹与智能手机内下载的第三方应用程序hardcover设立关联关系,只有进入应用程序hardcover才可以打开该隐私文件夹并查看隐私文件夹内的照片或视频。
可以理解的是,隐私模式下,图像存储与查看的加密与解密规则不限于此,除了通过更改文件存储路径的方式使隐私文件无法被找到外,也可以,依然将使用智能手机拍摄的照片或视频存储于相机应用的图库所对应的文件夹中,但通过指定的进入方式进行加密,例如,只有从某一指定应用程序中进入该相机应用的图库所对应的文件夹才可以打开,使用其他应用程序进入并打开相机应用的图库所对应的文件夹中时报错。
步骤S200:启动所述智能终端的摄像头,拍摄得到一图像;
启动智能手机的摄像头,拍摄图像。首先,需要触发智能手机相机应用的隐私模式。该隐私模式不仅可以应用于智能手机***内自带的相机应用,还可应用于用户安装下载的第三方应用程序,如美图秀秀、Faceu激萌、Instagram、VSCO等可实现图像拍摄与查看的相机类应用。
触发相机隐私模式的实现方式有多种,例如,调用智能手机***内的照相机程序,在智能手机的***内将隐私模式设置为默认模式,在使用智能手机拍照时,自动使用隐私模式进行;又如,在照相机程序上加一个插件程序,在hall容器中实现,在智能手机的取景框界面增加隐私模式的切换按钮,当触发该按钮时切换至隐私模式。
步骤S300:将所述图像存储至所述隐私文件夹内;
更改存储路径,不存储到原图片、视频存储文件夹,存储到隐私文件夹中,即使用步骤S100中设立的加密规则实现对该图像的加密。
步骤S400:检测所述指定应用程序是否启动;
步骤S500:当所述指定应用程序启动时,打开所述隐私文件夹,显示所述图像。
步骤S400-500检测用户的操作是否符合步骤S100中设定的解密规则,当检测到用户从指定的应用程序打开该隐私文件夹时,方可显示图像。
参考图2,在一优选实施例中,
步骤S100:于所述智能终端内创建一隐私文件夹,将所述隐私文件夹与所述智能终端内一指定应用程序关联的步骤还包括:
S110:设置所述隐私文件夹的隐私文件夹密码;
步骤S500:当所述指定应用程序启动时,打开所述隐私文件夹,显示所述图像的步骤包括:
S510:当所述指定应用程序启动时,显示一输入所述隐私文件夹密码的请求;
S520:获取输入的当前文件夹密码;
S530:将所述当前文件夹密码与所述隐私文件夹密码匹配;
S540:当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像;
当所述当前文件夹密码与所述隐私文件夹密码不一致时,再次显示一输入所述隐私文件夹密码的请求并重复上述步骤。
参考图3,在一优选实施例中,
步骤S110:设置所述隐私文件夹的隐私文件夹密码的步骤还包括:
S111:设置所述图像的隐私图像密码;
步骤S540:当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像的步骤包括:
S541:当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像的缩略图,显示一输入所述隐私图像密码的请求;
S542:获取所述用户输入的当前图像密码;
S543:将所述当前图像密码与所述隐私图像密码匹配;
S544:当所述当前图像密码与所述隐私图像密码一致时,显示所述图像;
当所述当前图像密码与所述隐私图像密码不一致时,再次显示一输入所述隐私图像密码的请求并重复上述步骤。
上述两实施例中,在前两层加密规则基础上增加加密规则:(3)通过密码对隐私文件夹进行加密;(4)通过密码对隐私文件夹中的照片或视频进行加密,对隐私文件夹和/或隐私文件夹内的图像设置加密密码,用户输入的密码正确时,方可查看该隐私文件夹和/或隐私文件夹内的图像,当用户输入的密码不正确时,提示用户重新输入密码。
进一步地,参考图4,在一优选实施例中,S540:当所述当前文件夹密码与所述隐私文件夹密码不一致时,再次显示一输入所述隐私文件夹密码的请求并重复上述步骤的步骤包括:
S545:设置一计数阈值;
S546:开启所述智能终端内一计数器,将所述计数器的计数值置零;
S546:当所述当前文件夹密码与所述隐私文件夹密码不一致时,将所述计数值加1;
S548:当所述计数值超过所述计数阈值时,删除所述隐私文件夹内的所述图像。
在前两层加密规则基础上增加加密规则:(5)为防止智能手机丢失等原因导致隐私被侵犯,当密码输入错误超过N次时,永久删除照片或视频。如上所述的,当用户输入的密码不正确时,提示用户重新输入密码,当用户输入密码错误的次数超过一定数值时,删除该图像或删除该隐私文件夹。例如,密码输入错误10次后(可由用户自定义设置),删除该图像或删除该隐私文件夹。
销毁该文件的方法可以是,在智能手机内设置一delete模块,当密码输入错误10次时,触发该模块并删除该文件。
可以理解的是,上述方法不仅适用于步骤S540中隐私文件密码输入错误的情况,同样适用于步骤S544中隐私图像密码输入错误的情况。
在一优选实施例中,本发明提供的图像存储与查看方法还包括:
S600:当使用所述指定应用程序之外的应用程序打开所述隐私文件夹时,将所述图像转化为不可读文件。
当用户直接打开或不使用指定应用程序打开该隐私文件夹时报错,报错的方式可以有无法识别文件、文件损坏、乱码、文件不存在等,将隐私文件夹内的该图像转化为不可读文件。
将该图像转化为不可读文件的加密方式有多种,例如:
以PNG文件为例,PNG-8文件是目前广泛应用的PNG图像格式,主要有六大块组成,PNG文件标志、文件头数据块IHDR、调色板数据块PLTE、图像数据块IDAT以及图像结束数据IEND等顺序排列,通过把PNG分块,例如前100个字节一块,紧接着1K一块,最后剩余字节一块,然后把块顺序打乱,用2byte来记录总长度,1byte记录顺序,从而实现加密;也可以按照Image-Width、Image-Height、Image-Depth的顺序来写数据,或者按照上述规则倒序来写数据,用Image-Width、Image-Height、Image-Depth顺序或倒序来写数据的加密方式更优选,不易被破解。
参考图5,本发明还公开了一种智能终端的图像存储与查看***100,包括设置模块11、图像拍摄模块12、图像存储模块13、应用程序模块14、显示模块15;
所述设置模块11,于所述智能终端内创建一隐私文件夹,将所述隐私文件夹与所述智能终端内一指定应用程序关联;
所述图像拍摄模块12,启动所述智能终端的摄像头,拍摄得到一图像;
所述图像存储模块13,与所述图像拍摄模块12通信连接,将所述图像存储至所述隐私文件夹内;
所述应用程序模块14,与所述设置模块11通信连接,检测所述指定应用程序是否启动;
所述显示模块15,与所述图像存储模块13、应用程序模块14通信连接,当所述指定应用程序启动时,打开所述隐私文件夹,显示所述图像。
在一优选实施例中,所述设置模块11,设置所述隐私文件夹的隐私文件夹密码;
所述显示模块15,包括密码请求单元、密码获取单元、密码匹配单元、控制单元;
所述密码请求单元,当所述指定应用程序启动时,显示一输入所述隐私文件夹密码的请求;
所述密码获取单元,获取输入的当前文件夹密码;
所述密码匹配单元,与所述设置模块11、密码获取单元通信连接,将所述当前文件夹密码与所述隐私文件夹密码匹配;
所述控制单元,与所述密码匹配单元、密码请求单元通信连接,当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像;
当所述当前文件夹密码与所述隐私文件夹密码不一致时,控制所述密码请求单元再次显示一输入所述隐私文件夹密码的请求。
在一优选实施例中,所述设置模块11,设置所述图像的隐私图像密码;
所述控制单元,当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像的缩略图,显示一输入所述隐私图像密码的请求;
获取所述用户输入的当前图像密码;
将所述当前图像密码与所述隐私图像密码匹配;
当所述当前图像密码与所述隐私图像密码一致时,控制所述显示模块15显示所述图像;
当所述当前图像密码与所述隐私图像密码不一致时,再次显示一输入所述隐私图像密码的请求。
在一优选实施例中,所述控制单元,设置一计数阈值;
开启所述智能终端内一计数器,将所述计数器的计数值置零;
当所述当前文件夹密码与所述隐私文件夹密码不一致时,将所述计数值加1;
当所述计数值超过所述计数阈值时,删除所述隐私文件夹内的所述图像。
在一优选实施例中,所述显示模块15,当使用所述指定应用程序之外的应用程序打开所述隐私文件夹时,将所述图像转化为不可读文件。
应当注意的是,本发明的实施例有较佳的实施性,且并非对本发明作任何形式的限制,任何熟悉该领域的技术人员可能利用上述揭示的技术内容变更或修饰为等同的有效实施例,但凡未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何修改或等同变化及修饰,均仍属于本发明技术方案的范围内。

Claims (10)

  1. 一种智能终端的图像存储与查看方法,其特征在于,包括以下步骤:
    于所述智能终端内创建一隐私文件夹,将所述隐私文件夹与所述智能终端内一指定应用程序关联;
    启动所述智能终端的摄像头,拍摄得到一图像;
    将所述图像存储至所述隐私文件夹内;
    检测所述指定应用程序是否启动;
    当所述指定应用程序启动时,打开所述隐私文件夹,显示所述图像。
  2. 如权利要求1所述的图像存储与查看方法,其特征在于,
    于所述智能终端内创建一隐私文件夹,将所述隐私文件夹与所述智能终端内一指定应用程序关联的步骤还包括:
    设置所述隐私文件夹的隐私文件夹密码;
    当所述指定应用程序启动时,打开所述隐私文件夹,显示所述图像的步骤包括:
    当所述指定应用程序启动时,显示一输入所述隐私文件夹密码的请求;
    获取输入的当前文件夹密码;
    将所述当前文件夹密码与所述隐私文件夹密码匹配;
    当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像;
    当所述当前文件夹密码与所述隐私文件夹密码不一致时,再次显示一输入所述隐私文件夹密码的请求并重复上述步骤。
  3. 如权利要求2所述的图像存储与查看方法,其特征在于,
    设置所述隐私文件夹的隐私文件夹密码的步骤还包括:
    设置所述图像的隐私图像密码;
    当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像的步骤包括:
    当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像的缩略图,显示一输入所述隐私图像密码的请求;
    获取所述用户输入的当前图像密码;
    将所述当前图像密码与所述隐私图像密码匹配;
    当所述当前图像密码与所述隐私图像密码一致时,显示所述图像;
    当所述当前图像密码与所述隐私图像密码不一致时,再次显示一输入所述隐私图像密码的请求并重复上述步骤。
  4. 如权利要求2所述的图像存储与查看方法,其特征在于,
    当所述当前文件夹密码与所述隐私文件夹密码不一致时,再次显示一输入所述隐私文件夹密码的请求并重复上述步骤的步骤包括:
    设置一计数阈值;
    开启所述智能终端内一计数器,将所述计数器的计数值置零;
    当所述当前文件夹密码与所述隐私文件夹密码不一致时,将所述计数值加1;
    当所述计数值超过所述计数阈值时,删除所述隐私文件夹内的所述图像。
  5. 如权利要求1所述的图像存储与查看方法,其特征在于,
    所述图像存储与查看方法还包括以下步骤:
    当使用所述指定应用程序之外的应用程序打开所述隐私文件夹时,将所述图像转化为不可读文件。
  6. 一种智能终端的图像存储与查看***,其特征在于,包括设置模块、图像拍摄模块、图像存储模块、应用程序模块、显示模块;
    所述设置模块,于所述智能终端内创建一隐私文件夹,将所述隐私文件夹与所述智能终端内一指定应用程序关联;
    所述图像拍摄模块,启动所述智能终端的摄像头,拍摄得到一图像;
    所述图像存储模块,与所述图像拍摄模块通信连接,将所述图像存储至所述隐私文件夹内;
    所述应用程序模块,与所述设置模块通信连接,检测所述指定应用程序是否启动;
    所述显示模块,与所述图像存储模块、应用程序模块通信连接,当所述指定应用程序启动时,打开所述隐私文件夹,显示所述图像。
  7. 如权利要求6所述的图像存储与查看***,其特征在于,
    所述设置模块,设置所述隐私文件夹的隐私文件夹密码;
    所述显示模块,包括密码请求单元、密码获取单元、密码匹配单元、控制单元;
    所述密码请求单元,当所述指定应用程序启动时,显示一输入所述隐私文件夹密码的请求;
    所述密码获取单元,获取输入的当前文件夹密码;
    所述密码匹配单元,与所述设置模块、密码获取单元通信连接,将所述当前文件夹密码与所述隐私文件夹密码匹配;
    所述控制单元,与所述密码匹配单元、密码请求单元通信连接,当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像;
    当所述当前文件夹密码与所述隐私文件夹密码不一致时,控制所述密码请求单元再次显示一输入所述隐私文件夹密码的请求。
  8. 如权利要求7所述的图像存储与查看***,其特征在于,
    所述设置模块,设置所述图像的隐私图像密码;
    所述控制单元,当所述当前文件夹密码与所述隐私文件夹密码一致时,打开所述隐私文件夹,显示所述图像的缩略图,显示一输入所述隐私图像密码的请求;
    获取所述用户输入的当前图像密码;
    将所述当前图像密码与所述隐私图像密码匹配;
    当所述当前图像密码与所述隐私图像密码一致时,控制所述显示模块显示所述图像;
    当所述当前图像密码与所述隐私图像密码不一致时,再次显示一输入所述隐私图像密码的请求。
  9. 如权利要求7所述的图像存储与查看***,其特征在于,
    所述控制单元,设置一计数阈值;
    开启所述智能终端内一计数器,将所述计数器的计数值置零;
    当所述当前文件夹密码与所述隐私文件夹密码不一致时,将所述计数值加1;
    当所述计数值超过所述计数阈值时,删除所述隐私文件夹内的所述图像。
  10. 如权利要求6所述的图像存储与查看***,其特征在于,
    所述显示模块,当使用所述指定应用程序之外的应用程序打开所述隐私文件夹时,将所述图像转化为不可读文件。
PCT/CN2017/095542 2017-08-02 2017-08-02 一种智能终端的图像存储与查看方法及图像存储与查看*** WO2019023955A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/095542 WO2019023955A1 (zh) 2017-08-02 2017-08-02 一种智能终端的图像存储与查看方法及图像存储与查看***

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/095542 WO2019023955A1 (zh) 2017-08-02 2017-08-02 一种智能终端的图像存储与查看方法及图像存储与查看***

Publications (1)

Publication Number Publication Date
WO2019023955A1 true WO2019023955A1 (zh) 2019-02-07

Family

ID=65232175

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095542 WO2019023955A1 (zh) 2017-08-02 2017-08-02 一种智能终端的图像存储与查看方法及图像存储与查看***

Country Status (1)

Country Link
WO (1) WO2019023955A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804445A (zh) * 2020-12-30 2021-05-14 维沃移动通信有限公司 显示方法、装置和电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488940A (zh) * 2013-09-11 2014-01-01 昆山富泰科电脑有限公司 智能设备应用程序的密码保护***与方法
CN104135605A (zh) * 2013-06-21 2014-11-05 腾讯科技(深圳)有限公司 拍照方法及装置
CN105530261A (zh) * 2015-12-23 2016-04-27 北京奇虎科技有限公司 隐私信息的保护方法及装置
CN105760778A (zh) * 2016-02-17 2016-07-13 北京金山安全软件有限公司 一种提升隐私图片安全性的方法、装置及电子设备
CN106815529A (zh) * 2016-12-20 2017-06-09 合肥高维数据技术有限公司 基于隐写术的手机照片安全保护***及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135605A (zh) * 2013-06-21 2014-11-05 腾讯科技(深圳)有限公司 拍照方法及装置
CN103488940A (zh) * 2013-09-11 2014-01-01 昆山富泰科电脑有限公司 智能设备应用程序的密码保护***与方法
CN105530261A (zh) * 2015-12-23 2016-04-27 北京奇虎科技有限公司 隐私信息的保护方法及装置
CN105760778A (zh) * 2016-02-17 2016-07-13 北京金山安全软件有限公司 一种提升隐私图片安全性的方法、装置及电子设备
CN106815529A (zh) * 2016-12-20 2017-06-09 合肥高维数据技术有限公司 基于隐写术的手机照片安全保护***及方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804445A (zh) * 2020-12-30 2021-05-14 维沃移动通信有限公司 显示方法、装置和电子设备
CN112804445B (zh) * 2020-12-30 2022-08-26 维沃移动通信有限公司 显示方法、装置和电子设备

Similar Documents

Publication Publication Date Title
TWI545948B (zh) 拍照方法及裝置
WO2016154898A1 (zh) 移动终端隐私保护方法、保护装置及移动终端
JP4940345B2 (ja) 電子機器及び画像処理方法
CN105260669B (zh) 照片的传输方法及传输***
CN104680078B (zh) 一种拍摄照片的方法、查看图片的方法、***和终端
US20170078529A1 (en) System and Method for Deterring the Ability of a Person to Capture a Screen Presented on a Handheld Electronic Device
US20210288797A1 (en) Encrypted photographing method and system based on fingerprint recognition
US20150346932A1 (en) Methods and systems for snapshotting events with mobile devices
WO2017215148A1 (zh) 文件保护方法及装置
CN101415099A (zh) 影像撷取装置加密***及方法
CN104732158A (zh) 一种加密拍照方法、***及装置
US20180191827A1 (en) Media content management device
CN105046167B (zh) 加密照片的生成方法、装置和电子设备
EP3084678B1 (en) Secure online pictures
JP2014154891A (ja) 情報処理装置およびその制御方法、プログラム、並びに記憶媒体
WO2019023955A1 (zh) 一种智能终端的图像存储与查看方法及图像存储与查看***
CN102244734A (zh) 一种具有人脸识别加密功能的数码摄像机
CN111400768A (zh) 基于人脸和行为识别的加密分享平台及加密分享方法
US20090268056A1 (en) Digital camera with portrait image protecting function and portrait image protecting method thereof
US9916459B2 (en) Photograph metadata encryption
CN112074838A (zh) 用于安全图像存储的图像捕获设备和方法
KR101559915B1 (ko) 커플 지문에 의한 스마트폰의 공유 데이터 관리 시스템
CN105191335A (zh) 用户选择型hd合成影像制作***
CN116455887B (zh) 文件传输方法和装置
TWI629613B (zh) Restricted reading processing system

Legal Events

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

Ref document number: 17920418

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17920418

Country of ref document: EP

Kind code of ref document: A1