WO2019023886A1 - Smart terminal-based image storage method and image storage system - Google Patents

Smart terminal-based image storage method and image storage system Download PDF

Info

Publication number
WO2019023886A1
WO2019023886A1 PCT/CN2017/095283 CN2017095283W WO2019023886A1 WO 2019023886 A1 WO2019023886 A1 WO 2019023886A1 CN 2017095283 W CN2017095283 W CN 2017095283W WO 2019023886 A1 WO2019023886 A1 WO 2019023886A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
password
module
character
voice information
Prior art date
Application number
PCT/CN2017/095283
Other languages
French (fr)
Chinese (zh)
Inventor
王一
Original Assignee
深圳传音通讯有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/095283 priority Critical patent/WO2019023886A1/en
Publication of WO2019023886A1 publication Critical patent/WO2019023886A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data

Definitions

  • the present invention relates to the field of intelligent terminals, and in particular, to an image storage method and an image storage system of an intelligent terminal.
  • 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.
  • smart terminals with shooting functions are used more and more widely, while traditional smart terminal camera applications do not have any security measures for photos or videos, and anyone can view photos or videos stored therein by browsing functions.
  • users are usually willing to share them with friends around them.
  • the privacy information such as photos or videos saved in the album may be leaked; or, when the smart terminal user shares the photo or video in the album through a social application.
  • the privacy photos or videos are shared to strangers and the like due to user error or other reasons, so that the photos or videos stored by the smart terminal users in the album have great security risks.
  • smart terminals often store some highly confidential meeting record pictures or private important photos or videos. If the smart terminal is lost or is being used by people with the heart to steal these photos or videos, the traditional smart terminal There is no encryption for photos or videos, and photos or video outflows are insecure. Once they are used by unscrupulous people, they will cause great trouble to users. When photos or videos in albums contain company confidential information. At the time, the disclosure of confidential information may bring irreparable huge economic losses to the company. Therefore, how to protect the security of private information in smart terminals has become an urgent problem to be solved.
  • the present invention provides an image storage method and an image storage system for an intelligent terminal. After a user specifies a picture to be encrypted in the smart terminal, the user introduces a piece of voice or audio or text or other operation information, and the smart terminal displays the picture specified by the user.
  • the loaded operation information is encrypted according to a certain algorithm to generate a password to encrypt the picture.
  • the user can remember the voice or video or other operation information keywords introduced when the picture is encrypted, and can decrypt the picture and view, without having to remember the cumbersome password, which makes the operation simpler and improves the user experience.
  • an object of the present invention is to provide an image storage method and an image storage system for an intelligent terminal.
  • the invention discloses an image storage method of a smart terminal, comprising the following steps:
  • the image is encrypted using the image password.
  • the image storage method further comprises the following steps:
  • the image is decrypted when the current image password matches the image password.
  • the step of extracting a graphical identifier or a color parameter within the image is preferably, the step of extracting a graphical identifier or a color parameter within the image
  • the step of converting the voice information to a second character comprises:
  • the matrix of observation sequences is parsed into text information and converted into a second binary data as the second character.
  • the step of encrypting the image using the image password comprises:
  • the area to be encrypted of the image is encrypted using the image password.
  • the invention also discloses an image storage system of an intelligent terminal, comprising an image acquisition module, an image parameter extraction module, an image parameter conversion module, a voice information receiving module, a voice information conversion module, a password generation module and an image encryption module;
  • the image acquisition module starts an album application in the smart terminal, and acquires an image in the album application
  • the image parameter extraction module is communicably connected to the image acquisition module to extract a graphic identifier or a color parameter in the image;
  • the image parameter conversion module is communicatively coupled to the image parameter extraction module to convert the graphic identifier or color parameter to a first character
  • the voice information receiving module receives a voice information input by a user to the smart terminal;
  • the voice information conversion module is communicably connected to the voice information receiving module, and converts the voice information to a second character
  • the password generating module is communicably connected to the image parameter conversion module and the voice information conversion module, and combines the first character with the second character to generate an image password;
  • the image encryption module is communicably connected to the image acquisition module and the password generation module, and encrypts the image by using the image password.
  • the image storage system further includes a password matching module and an image decryption module;
  • the voice information receiving module receives a current voice information input by the user to the smart terminal;
  • the voice information conversion module converts the current voice information to a third character
  • the password generating module combines the first character with the third character to generate a current image password
  • the password matching module is in communication with the password generating module, and determines whether the current image password matches the image password;
  • the image decryption module is communicably connected to the image encryption module and the password matching module, and decrypts the image when the current image password matches the image password.
  • the image parameter extraction module performs color analysis on the image to extract an R component value of the image
  • the image parameter conversion module converts the R component value into a first binary data as the first character.
  • the voice information conversion module includes a preprocessing unit, an acoustic feature extraction unit, and a conversion unit;
  • the pre-processing unit performs pre-emphasis digital filtering processing and windowing framing processing on the voice information
  • the acoustic feature extraction unit is communicably connected to the pre-processing unit, and performs acoustic feature extraction on the pre-emphasis digital filtering process and the framed framed speech information to form an observation sequence of the voice information. matrix;
  • the conversion unit is communicatively coupled to the acoustic feature extraction unit, parses the observation sequence matrix into text information, and converts it into a second binary data as the second character.
  • the image encryption module includes a region selection unit and a region encryption unit;
  • the area selection unit selects a partial area of the image as an area to be encrypted
  • the area encryption unit is communicably connected to the area selection unit, and encrypts the to-be-encrypted area of the image by using the image password.
  • the present invention provides an image storage method and an image storage system for an intelligent terminal. After a user specifies a picture to be encrypted in the smart terminal, the user introduces a piece of voice or audio or text or other operation information, and the smart terminal specifies the picture and the user.
  • the loaded operation information is encrypted according to a certain algorithm to generate a password to encrypt the picture.
  • the user can remember the voice or video or other operation information keywords introduced when the picture is encrypted, and can decrypt the picture and view, without having to remember the cumbersome password, making the operation simpler and improving the user experience;
  • the invention provides an image storage method and an image storage system for an intelligent terminal, which can select or automatically identify a face or other privacy area in an image file, and locally encrypt the image area to be encrypted, which can effectively ensure The privacy of image files.
  • FIG. 1 is a flow chart showing an image storage method in accordance with a preferred embodiment of the present invention
  • FIG. 2 is a flow chart showing a decryption step of an image storage method in accordance with a preferred embodiment of the present invention
  • FIG. 3 is a schematic flow chart of an image parameter extraction and conversion step of an image storage method according to a preferred embodiment of the present invention
  • FIG. 4 is a schematic flow chart of a voice information conversion step of an image storage method according to a preferred embodiment of the present invention.
  • FIG. 5 is a flow chart showing an image encryption step of an image storage method in accordance with a preferred embodiment of the present invention.
  • FIG. 6 is a block diagram showing the structure of an image storage system in accordance with a preferred embodiment of the present invention.
  • 100-image storage system 11-image acquisition module; 12-image parameter extraction module; 13-image parameter conversion module; 14-voice information receiving module; 15-voice information conversion module; 16-password generation module; Module; 18-password matching module; 19-image decryption module.
  • an image storage method of an intelligent terminal of the present invention includes the following steps:
  • S100 Open an album application in the smart terminal, and acquire an image in the photo album application;
  • S400 Receive a voice information input by a user to the smart terminal.
  • S700 encrypt the image by using the image password.
  • the decryption process includes the following steps:
  • S800 Receive a current voice information input by the user to the smart terminal.
  • S1100 Determine whether the current image password matches the image password.
  • S1200 Decrypt the image when the current image password matches the image password.
  • the image storage 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.
  • Step S100 Turn on an album application in the smart terminal to acquire an image in the album application.
  • step S200 extracting a graphic identifier or a color parameter within the image
  • step S300 converting the graphic identifier or color parameter to a first character
  • Step S200-300 the parameter specified by the user is extracted, and the parameter extraction and conversion for different types of images have various forms:
  • the image specified by the user directly includes the barcode, the two-dimensional code, the text information, the digital information, the letter information, etc., and the barcode or the two-dimensional code can be directly converted into a character, or the text information and the digital information in the image can be directly extracted. , letter information, etc., convert it to binary or decimal data.
  • digital image processing technology including image transformation, image enhancement technology, etc.
  • image transformation image enhancement technology
  • image recognition technology For example, if the user-specified image directly contains three numbers of "111", the number "111" in the image can be directly extracted.
  • image transformation mainly include Fourier transform, Walsh-Hadamard transform and discrete Kafner-Levy transform.
  • image enhancement technology the edges are strengthened to make the outline of the number "111” in the image clear, and the number "111” is segmented and extracted.
  • the image specified by the user does not include the QR code, barcode, text information, digital information, letter information, etc., which can be directly converted into characters, and the color parameters of the image, such as the gray level of the image and the RGB of the image, can be extracted. Component values, etc., convert them to binary data.
  • S200 the step of extracting a graphic identifier or a color parameter within the image
  • S300 the step of converting the graphic identifier or color parameter to a first character comprises:
  • the above embodiment analyzes the color in the image to form a component map of RGB, takes the R component value, and converts the R component value into binary data.
  • Step S400 receiving a voice message input by a user to the smart terminal
  • Step S500 converting the voice information to a second character
  • the operation information input by the user to the smart phone is not limited to voice information, and may also be text information, digital information, letter information, etc., or may be recorded by live recording or directly loading audio, video, or the like.
  • the user can select at least one form of information to load, and the more information forms that are loaded, the higher the degree of encryption and the more complicated the decryption.
  • S500 the step of converting the voice information to a second character includes:
  • the matrix of observation sequences is parsed into text information and converted into a second binary data as the second character.
  • the voice information includes not only text content but also timbre, pitch, sound in the environment, and the like, it is difficult to recover, and therefore, it is necessary to extract the text content therein.
  • voice recognition technology For the extraction and conversion of voice information input by the user, it is necessary to use voice recognition technology:
  • Pre-emphasis digital filtering The purpose of pre-emphasis is to make the high-frequency characteristics of the speech signal more prominent. This is usually done by passing the transfer function to a high-pass digital filter.
  • a is the pre-emphasis coefficient, generally It is between 0.9 and 1.0, usually 0.98.
  • the speech signal After pre-emphasis digital filtering processing, the following is the windowing and framing processing, the speech signal has short-term stability (the speech signal can be considered to be approximately unchanged within 10ms to 30ms), so that the speech can be The signal is divided into short segments for processing. Framing of speech signals is accomplished by weighting a finite length window that is movable. Generally, the number of frames per second is about 33 to 100 frames, as the case may be.
  • the general framing method is a method of overlapping segments. The overlapping portion of the previous frame and the next frame is called frame shift, and the ratio of frame shift to frame length is generally 0-0.5.
  • each frame waveform is transformed into a multi-dimensional vector.
  • Each vector contains the content information of the speech of the frame.
  • the above process is the acoustic feature extraction. In practical applications, the acoustic characteristics are not limited to the MFCC, and the invention is not limited thereto.
  • Text conversion Convert the above observation sequence into text information.
  • Step S600 combining the first character with the second character to generate an image password
  • Step S700 Encrypt the image using the image password.
  • the operation rule for determining the extracted image parameters and the character data obtained by the conversion of the voice information input by the user is used to calculate the extracted image parameters and the character data converted by the user-entered voice information. , get the image password, and use the image password to encrypt the image.
  • the step of encrypting the image using the image password includes:
  • the area to be encrypted of the image is encrypted using the image password.
  • the image storage method provided by the invention can not only encrypt the entire image, but also encrypt the local area of the image based on household selection or automatic identification, and can not only encrypt one image, but also select based on household or automatically. Identify multiple images for encryption.
  • the user directly selects a part of the area in the image as the area to be encrypted for encryption, or the user directly selects multiple images in the album to perform encryption.
  • a face recognition device is added to the smart phone to identify a face region in an image, or to identify an image having a face region in the album.
  • Step S800 receiving a current voice information input by the user to the smart terminal;
  • Step S900 converting the current voice information to a third character
  • Step S1000 combining the first character with the third character to generate a current image password
  • Step S1100 determining whether the current image password matches the image password
  • Step S1200 Decrypt the image when the current image password matches the image password.
  • the image storage method provided by the present invention in the decryption process, the extraction of the image parameters is fixed, and the voice information input by the user is changed.
  • the voice information is input again by the user, and the input voice information is the same as the original voice information, that is, the password extracted again and calculated is the same as the password generated during encryption, and the decryption is successful.
  • the user when the user inputs the operation information, it is not limited to the voice information, and various types of operation information can be input.
  • the more types of operation information input the higher the degree of encryption, and the more complicated the decryption.
  • multiple operational information is confusing, and it is more likely to forget what operational information or operational information is entered. Therefore, the logical relationship between several operational information that the user can select and input according to requirements is logical or logical. versus.
  • any one of the operation information previously input by the user can be decrypted.
  • the data converted by each operation information is respectively calculated with the data converted by the image to obtain multiple passwords.
  • the logical relationship between multiple passwords is or;
  • the user When the user selects the logical AND, when decrypting, the user must simultaneously provide all the operation information input by the user before decrypting.
  • the data converted by each operation information is calculated together with the data converted by the reminder to obtain a password. value.
  • the present invention also provides an image storage system 100 for an intelligent terminal, comprising an image acquisition module 11, an image parameter extraction module 12, an image parameter conversion module 13, a voice information receiving module 14, a voice information conversion module 15, and a password generation module 16, Image encryption module 17;
  • the image obtaining module 11 is configured to open an album application in the smart terminal to acquire an image in the photo album application;
  • the image parameter extraction module 12 is communicatively coupled to the image acquisition module 11 to extract a graphic identifier or a color parameter in the image;
  • the image parameter conversion module 13 is communicatively coupled to the image parameter extraction module 12, and converts the graphic identifier or color parameter to a first character;
  • the voice information receiving module 14 receives a voice information input by a user to the smart terminal;
  • the voice information conversion module 15 is communicatively coupled to the voice information receiving module 14 to convert the voice information to a second character
  • the password generating module 16 is communicatively coupled to the image parameter conversion module 13 and the voice information conversion module 15, and combines the first character with the second character to generate an image password;
  • the image encryption module 17 is communicatively coupled to the image acquisition module 11 and the password generation module 16, and encrypts the image using the image password.
  • the image storage system 100 further includes a password matching module 18 and an image decrypting module 19:
  • the voice information receiving module 14 receives a current voice information input by the user to the smart terminal;
  • the voice information conversion module 15 converts the current voice information to a third character
  • the password generating module 16 combines the first character with the third character to generate a current image password
  • the password matching module 18 is communicably connected to the password generating module 16 to determine whether the current image password matches the image password.
  • the image decryption module 19 is communicably connected to the image encryption module 17 and the password matching module 18. When the current image password matches the image password, the image is decrypted.
  • the image parameter extraction module 12 performs color analysis on the image to extract an R component value of the image.
  • the image parameter conversion module 13 converts the R component value into a first binary data as the first character.
  • the voice information conversion module 15 includes a preprocessing unit, an acoustic feature extraction unit, and a conversion unit;
  • the pre-processing unit performs pre-emphasis digital filtering processing and windowing framing processing on the voice information
  • the acoustic feature extraction unit is communicably connected to the pre-processing unit, and performs acoustic feature extraction on the pre-emphasis digital filtering process and the framed framed speech information to form an observation sequence of the voice information. matrix;
  • the conversion unit is communicatively coupled to the acoustic feature extraction unit, parses the observation sequence matrix into text information, and converts it into a second binary data as the second character.
  • the image encryption module 17 includes an area selection unit and a region encryption unit.
  • the area selection unit selects a partial area of the image as an area to be encrypted
  • the area encryption unit is communicably connected to the area selection unit, and encrypts the to-be-encrypted area of the image by using the image password.

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)
  • Storage Device Security (AREA)

Abstract

A smart terminal-based image storage method and image storage system, the image storage method comprising the following steps: launching an album application in a smart terminal, and obtaining an image in the album application; extracting a graphic identifier or a colour parameter within the image; converting the graphic identifier or the colour parameter into a first character; receiving voice information inputted to the smart terminal by a user; converting the voice information into a second character; combining the first character with the second character, and generating an image password; using the image password to encrypt the image. A user need only remember a voice, video or other operation information keyword introduced during encryption of a picture to decrypt the picture for viewing, and need not remember a cumbersome password, thereby making the operation simpler, and improving the user experience.

Description

一种智能终端的图像存储方法及图像存储***Image storage method and image storage system of intelligent terminal 技术领域Technical field
本发明涉及智能终端领域,尤其涉及一种智能终端的图像存储方法及图像存储***。The present invention relates to the field of intelligent terminals, and in particular, to an image storage method and an image storage system of an intelligent terminal.
背景技术Background technique
随着电子信息技术的不断发展,智能手机、平板电脑等智能终端已经得到广泛的应用,智能终端已经成为用户生活中不可或缺的必需品。由于智能终端携带的便利性和智能终端摄像头像素的大大提高,越来越多的用户更倾向于通过智能终端进行拍照,时刻享受并记录生活中的美好,在某种程度上,智能终端已经逐渐取代相机成为当前拍照的主流工具。With the continuous development of electronic information technology, 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.
目前带有拍摄功能的智能终端的使用范围越来越广,而传统的智能终端相机应用对照片或视频没有任何保密措施,任何人都可以通过浏览功能察看存储其中的照片或视频。对于智能终端内拍摄或存储的一些精彩有趣的照片或视频,用户通常很愿意分享给身边的朋友进行浏览。但是,当智能终端被该智能终端的非持有者查看后,可能会将相册中保存的照片或者视频等隐私信息泄露;或者,当智能终端用户通过某社交应用程序分享相册中的照片或者视频时,由于用户手误或者其他原因将隐私照片或者视频分享给了陌生人等等,由此可见,智能终端用户存储于相册中的照片或者视频存在巨大的安全隐患。At present, smart terminals with shooting functions are used more and more widely, while traditional smart terminal camera applications do not have any security measures for photos or videos, and anyone can view photos or videos stored therein by browsing functions. For some interesting photos or videos taken or stored in smart terminals, users are usually willing to share them with friends around them. However, when the smart terminal is viewed by the non-holder of the smart terminal, the privacy information such as photos or videos saved in the album may be leaked; or, when the smart terminal user shares the photo or video in the album through a social application. At the same time, the privacy photos or videos are shared to strangers and the like due to user error or other reasons, so that the photos or videos stored by the smart terminal users in the album have great security risks.
特别是,智能终端里往往会存储一些较高机密性会议记录图片或者私人重要照片或视频,如果智能终端丢失或者是被有心人士以蓝牙的传输方式窃取到这些照片或视频,由于传统的智能终端对其中的照片或视频没有采取加密功能,照片或视频外流处于不安全状态,一旦被不道德者利用就会给使用者带来极大的困扰,而当相册中的照片或者视频涉及公司机密信息时,机密信息的泄露可能会给公司带来不可挽回的巨大经济损失。因此,如何保护好智能终端中隐私信息的安全成为目前亟待解决的问题。In particular, smart terminals often store some highly confidential meeting record pictures or private important photos or videos. If the smart terminal is lost or is being used by people with the heart to steal these photos or videos, the traditional smart terminal There is no encryption for photos or videos, and photos or video outflows are insecure. Once they are used by unscrupulous people, they will cause great trouble to users. When photos or videos in albums contain company confidential information. At the time, the disclosure of confidential information may bring irreparable huge economic losses to the company. Therefore, how to protect the security of private information in smart terminals has become an urgent problem to be solved.
因此,本发明提供了一种智能终端的图像存储方法及图像存储***,用户指定智能终端内一待加密图片后,引入一段语音或音频或文本或其他操作信息,智能终端对用户指定的图片及载入的操作信息按照一定算法生成密码对待加密图片进行加密。通过上述方法及***,用户只要记住图片加密时引入的语音或视频或其他操作信息的关键词,即可解密图片并查看,无需记住繁琐的密码,使操作更为简单,提升用户体验。Therefore, the present invention provides an image storage method and an image storage system for an intelligent terminal. After a user specifies a picture to be encrypted in the smart terminal, the user introduces a piece of voice or audio or text or other operation information, and the smart terminal displays the picture specified by the user. The loaded operation information is encrypted according to a certain algorithm to generate a password to encrypt the picture. Through the above method and system, the user can remember the voice or video or other operation information keywords introduced when the picture is encrypted, and can decrypt the picture and view, without having to remember the cumbersome password, which makes the operation simpler and improves the user experience.
发明内容Summary of the invention
为了克服上述技术缺陷,本发明的目的在于提供一种智能终端的图像存储方法及图像存储***。In order to overcome the above technical deficiencies, an object of the present invention is to provide an image storage method and an image storage system for an intelligent terminal.
本发明公开了一种智能终端的图像存储方法,包括以下步骤:The invention discloses an image storage method of a smart terminal, comprising the following steps:
开启所述智能终端内的一相册应用,获取所述相册应用内的一图像;Opening an album application in the smart terminal to acquire an image in the album application;
提取所述图像内的图形标识符或色彩参数;Extracting a graphical identifier or color parameter within the image;
转换所述图形标识符或色彩参数至一第一字符;Converting the graphic identifier or color parameter to a first character;
接收一用户向所述智能终端输入的一语音信息;Receiving a voice information input by a user to the smart terminal;
转换所述语音信息至一第二字符;Converting the voice information to a second character;
将所述第一字符与所述第二字符结合,生成一图像密码;Combining the first character with the second character to generate an image password;
使用所述图像密码对所述图像加密。The image is encrypted using the image password.
优选地,所述图像存储方法还包括以下步骤:Preferably, the image storage method further comprises the following steps:
接收所述用户向所述智能终端输入的一当前语音信息;Receiving a current voice information input by the user to the smart terminal;
转换所述当前语音信息至一第三字符;Converting the current voice information to a third character;
将所述第一字符与所述第三字符结合,生成一当前图像密码; Combining the first character with the third character to generate a current image password;
判断所述当前图像密码与所述图像密码是否匹配;Determining whether the current image password matches the image password;
当所述当前图像密码与所述图像密码匹配时,解密所述图像。The image is decrypted when the current image password matches the image password.
优选地,提取所述图像内的图形标识符或色彩参数的步骤,Preferably, the step of extracting a graphical identifier or a color parameter within the image,
及转换所述图形标识符或色彩参数至一第一字符的步骤包括:And converting the graphic identifier or color parameter to a first character comprises:
对所述图像进行色彩分析,提取所述图像的R分量值;Performing color analysis on the image to extract an R component value of the image;
将所述R分量值转化为一第一二进制数据作为所述第一字符。Converting the R component value into a first binary data as the first character.
优选地,转换所述语音信息至一第二字符的步骤包括:Preferably, the step of converting the voice information to a second character comprises:
对所述语音信息进行预加重数字滤波处理及加窗分帧处理;Performing pre-emphasis digital filtering processing and windowing framing processing on the voice information;
对预加重数字滤波处理及加窗分帧处理后的每一帧所述语音信息进行声学特征提取,形成所述语音信息的观察序列矩阵;And performing acoustic feature extraction on the voice information of each frame after the pre-emphasis digital filtering process and the windowed frame processing to form an observation sequence matrix of the voice information;
将所述观察序列矩阵解析为文本信息,并转化为一第二二进制数据作为所述第二字符。The matrix of observation sequences is parsed into text information and converted into a second binary data as the second character.
优选地,使用所述图像密码对所述图像加密的步骤包括:Preferably, the step of encrypting the image using the image password comprises:
选取所述图像的部分区域作为待加密区域;Selecting a partial region of the image as the region to be encrypted;
使用所述图像密码对所述图像的所述待加密区域加密。The area to be encrypted of the image is encrypted using the image password.
本发明还公开了一种智能终端的图像存储***,包括图像获取模块、图像参数提取模块、图像参数转换模块、语音信息接收模块、语音信息转换模块、密码生成模块、图像加密模块;The invention also discloses an image storage system of an intelligent terminal, comprising an image acquisition module, an image parameter extraction module, an image parameter conversion module, a voice information receiving module, a voice information conversion module, a password generation module and an image encryption module;
所述图像获取模块,开启所述智能终端内的一相册应用,获取所述相册应用内的一图像;The image acquisition module starts an album application in the smart terminal, and acquires an image in the album application;
所述图像参数提取模块,与所述图像获取模块通信连接,提取所述图像内的图形标识符或色彩参数;The image parameter extraction module is communicably connected to the image acquisition module to extract a graphic identifier or a color parameter in the image;
所述图像参数转换模块,与所述图像参数提取模块通信连接,转换所述图形标识符或色彩参数至一第一字符;The image parameter conversion module is communicatively coupled to the image parameter extraction module to convert the graphic identifier or color parameter to a first character;
所述语音信息接收模块,接收一用户向所述智能终端输入的一语音信息;The voice information receiving module receives a voice information input by a user to the smart terminal;
所述语音信息转换模块,与所述语音信息接收模块通信连接,转换所述语音信息至一第二字符;The voice information conversion module is communicably connected to the voice information receiving module, and converts the voice information to a second character;
所述密码生成模块,与所述图像参数转换模块、语音信息转换模块通信连接,将所述第一字符与所述第二字符结合,生成一图像密码;The password generating module is communicably connected to the image parameter conversion module and the voice information conversion module, and combines the first character with the second character to generate an image password;
所述图像加密模块,与所述图像获取模块、密码生成模块通信连接,使用所述图像密码对所述图像加密。The image encryption module is communicably connected to the image acquisition module and the password generation module, and encrypts the image by using the image password.
优选地,所述图像存储***还包括密码匹配模块、图像解密模块;Preferably, the image storage system further includes a password matching module and an image decryption module;
所述语音信息接收模块,接收所述用户向所述智能终端输入的一当前语音信息;The voice information receiving module receives a current voice information input by the user to the smart terminal;
所述语音信息转换模块,转换所述当前语音信息至一第三字符;The voice information conversion module converts the current voice information to a third character;
所述密码生成模块,将所述第一字符与所述第三字符结合,生成一当前图像密码;The password generating module combines the first character with the third character to generate a current image password;
所述密码匹配模块,与所述密码生成模块通信连接,判断所述当前图像密码与所述图像密码是否匹配;The password matching module is in communication with the password generating module, and determines whether the current image password matches the image password;
所述图像解密模块,与所述图像加密模块、密码匹配模块通信连接,所述当前图像密码与所述图像密码匹配时,解密所述图像。The image decryption module is communicably connected to the image encryption module and the password matching module, and decrypts the image when the current image password matches the image password.
优选地,所述图像参数提取模块,对所述图像进行色彩分析,提取所述图像的R分量值;Preferably, the image parameter extraction module performs color analysis on the image to extract an R component value of the image;
所述图像参数转换模块,将所述R分量值转化为一第一二进制数据作为所述第一字符。The image parameter conversion module converts the R component value into a first binary data as the first character.
优选地,所述语音信息转换模块,包括预处理单元、声学特征提取单元、转换单元;Preferably, the voice information conversion module includes a preprocessing unit, an acoustic feature extraction unit, and a conversion unit;
所述预处理单元,对所述语音信息进行预加重数字滤波处理及加窗分帧处理; The pre-processing unit performs pre-emphasis digital filtering processing and windowing framing processing on the voice information;
所述声学特征提取单元,与所述预处理单元通信连接,对预加重数字滤波处理及加窗分帧处理后的每一帧所述语音信息进行声学特征提取,形成所述语音信息的观察序列矩阵;The acoustic feature extraction unit is communicably connected to the pre-processing unit, and performs acoustic feature extraction on the pre-emphasis digital filtering process and the framed framed speech information to form an observation sequence of the voice information. matrix;
所述转换单元,与所述声学特征提取单元通信连接,将所述观察序列矩阵解析为文本信息,并转化为一第二二进制数据作为所述第二字符。The conversion unit is communicatively coupled to the acoustic feature extraction unit, parses the observation sequence matrix into text information, and converts it into a second binary data as the second character.
优选地,所述图像加密模块,包括区域选取单元、区域加密单元;Preferably, the image encryption module includes a region selection unit and a region encryption unit;
所述区域选取单元,选取所述图像的部分区域作为待加密区域;The area selection unit selects a partial area of the image as an area to be encrypted;
所述区域加密单元,与所述区域选取单元通信连接,使用所述图像密码对所述图像的所述待加密区域加密。The area encryption unit is communicably connected to the area selection unit, and encrypts the to-be-encrypted area of the image by using the image password.
采用了上述技术方案后,与现有技术相比,具有以下有益效果:After adopting the above technical solution, compared with the prior art, the following beneficial effects are obtained:
1.本发明提供了一种智能终端的图像存储方法及图像存储***,用户指定智能终端内一待加密图片后,引入一段语音或音频或文本或其他操作信息,智能终端对用户指定的图片及载入的操作信息按照一定算法生成密码对待加密图片进行加密。通过上述方法及***,用户只要记住图片加密时引入的语音或视频或其他操作信息的关键词,即可解密图片并查看,无需记住繁琐的密码,使操作更为简单,提升用户体验;The present invention provides an image storage method and an image storage system for an intelligent terminal. After a user specifies a picture to be encrypted in the smart terminal, the user introduces a piece of voice or audio or text or other operation information, and the smart terminal specifies the picture and the user. The loaded operation information is encrypted according to a certain algorithm to generate a password to encrypt the picture. Through the above method and system, the user can remember the voice or video or other operation information keywords introduced when the picture is encrypted, and can decrypt the picture and view, without having to remember the cumbersome password, making the operation simpler and improving the user experience;
2.本发明提供了一种智能终端的图像存储方法及图像存储***,可由用户选取或自动识别图像文件中的人脸或其他隐私区域,并对需要加密的图像区域进行局部加密,能有效保证图像文件的隐秘性。2. The invention provides an image storage method and an image storage system for an intelligent terminal, which can select or automatically identify a face or other privacy area in an image file, and locally encrypt the image area to be encrypted, which can effectively ensure The privacy of image files.
附图说明DRAWINGS
图1为符合本发明一优选实施例的图像存储方法的流程示意图;1 is a flow chart showing an image storage method in accordance with a preferred embodiment of the present invention;
图2为符合本发明一优选实施例的图像存储方法的解密步骤的流程示意图;2 is a flow chart showing a decryption step of an image storage method in accordance with a preferred embodiment of the present invention;
图3为符合本发明一优选实施例的图像存储方法的图像参数提取与转换步骤的流程示意图;3 is a schematic flow chart of an image parameter extraction and conversion step of an image storage method according to a preferred embodiment of the present invention;
图4为符合本发明一优选实施例的图像存储方法的语音信息转换步骤的流程示意图;4 is a schematic flow chart of a voice information conversion step of an image storage method according to a preferred embodiment of the present invention;
图5为符合本发明一优选实施例的图像存储方法的图像加密步骤的流程示意图;5 is a flow chart showing an image encryption step of an image storage method in accordance with a preferred embodiment of the present invention;
图6为符合本发明一优选实施例的图像存储***的结构示意图。6 is a block diagram showing the structure of an image storage system in accordance with a preferred embodiment of the present invention.
附图标记:Reference mark:
100-图像存储***;11-图像获取模块;12-图像参数提取模块;13-图像参数转换模块;14-语音信息接收模块;15-语音信息转换模块;16-密码生成模块;17-图像加密模块;18-密码匹配模块;19-图像解密模块。100-image storage system; 11-image acquisition module; 12-image parameter extraction module; 13-image parameter conversion module; 14-voice information receiving module; 15-voice information conversion module; 16-password generation module; Module; 18-password matching module; 19-image decryption module.
具体实施方式Detailed ways
以下结合附图与具体实施例进一步阐述本发明的优点。Advantages of the present invention are further explained below in conjunction with the accompanying drawings and specific embodiments.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with aspects of the present disclosure as detailed in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一”、“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。在本发明的描述中,除非另有规定和限定,对于本领域的普通技术人员而言,可以根据具体情况理解术语的具体含义。The terms used in the present disclosure are for the purpose of describing particular embodiments only, and are not intended to limit the disclosure. The singular forms "a", "the", "the" and "the" In the description of the present invention, the specific meaning of the terms may be understood by one of ordinary skill in the art, unless otherwise specified and defined.
在后续的描述中,使用用于表示元件的诸如“模块”、“单元”等的后缀仅为了有利于本发明的说明,其本身并没有特定的意义,仅表示***的一部分。因此,“模块”与“单元”可以混合地使用。In the following description, the use of suffixes such as "module", "unit" and the like for indicating elements is merely an explanation for facilitating the present invention, and does not have a specific meaning per se, and only represents a part of the system. Therefore, "module" and "unit" can be used in combination.
参考图1,本发明的一种智能终端的图像存储方法,其加密过程包括以下步骤:Referring to FIG. 1, an image storage method of an intelligent terminal of the present invention, the encryption process includes the following steps:
S100:开启所述智能终端内的一相册应用,获取所述相册应用内的一图像; S100: Open an album application in the smart terminal, and acquire an image in the photo album application;
S200:提取所述图像内的图形标识符或色彩参数;S200: extract a graphic identifier or a color parameter in the image;
S300:转换所述图形标识符或色彩参数至一第一字符;S300: Convert the graphic identifier or color parameter to a first character;
S400:接收一用户向所述智能终端输入的一语音信息;S400: Receive a voice information input by a user to the smart terminal.
S500:转换所述语音信息至一第二字符;S500: Convert the voice information to a second character;
S600:将所述第一字符与所述第二字符结合,生成一图像密码;S600: Combining the first character with the second character to generate an image password;
S700:使用所述图像密码对所述图像加密。S700: encrypt the image by using the image password.
参考图2,在一优选实施例中,其解密过程包括以下步骤:Referring to Figure 2, in a preferred embodiment, the decryption process includes the following steps:
S800:接收所述用户向所述智能终端输入的一当前语音信息;S800: Receive a current voice information input by the user to the smart terminal.
S900:转换所述当前语音信息至一第三字符;S900: Convert the current voice information to a third character;
S1000:将所述第一字符与所述第三字符结合,生成一当前图像密码;S1000: Combine the first character with the third character to generate a current image password.
S1100:判断所述当前图像密码与所述图像密码是否匹配;S1100: Determine whether the current image password matches the image password.
S1200:当所述当前图像密码与所述图像密码匹配时,解密所述图像。S1200: Decrypt the image when the current image password matches the image password.
本发明提供的图像存储方法,可以应用于智能终端,智能终端可以以各种形式来实施。例如,本发明中描述的智能终端可以包括诸如移动电话、智能电话、笔记本电脑、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置、智能手表等的移动终端,以及诸如数字TV、台式计算机等的固定终端。下面,假设智能终端为智能手机,对本发明进行说明。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。The image storage method provided by the present invention can be applied to an intelligent terminal, and the smart terminal can be implemented in various forms. For example, 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. Hereinafter, the present invention will be described on the assumption that the smart terminal is a smart phone. However, those skilled in the art will appreciate that 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.
-步骤S100:开启所述智能终端内的一相册应用,获取所述相册应用内的一图像。- Step S100: Turn on an album application in the smart terminal to acquire an image in the album application.
由于需要从智能手机的相册或图库中调取图像,涉及到智能手机的相册或图库中的深层内容,因此,需要向智能手机的相册或图库发出权限或路径请求,获取读取与复制智能手机的相册或图库中的图像的权限,之后从智能手机的相册或图库中载入用户指定的某一图像。Due to the need to retrieve images from the smartphone's photo album or gallery, which involves the deep content of the smartphone's photo album or gallery, it is necessary to issue a permission or path request to the smartphone's photo album or gallery to obtain a read and copy smartphone. The permissions of the image in the album or gallery, and then load a user-specified image from the smartphone's album or gallery.
-步骤S200:提取所述图像内的图形标识符或色彩参数;- step S200: extracting a graphic identifier or a color parameter within the image;
-步骤S300:转换所述图形标识符或色彩参数至一第一字符;- step S300: converting the graphic identifier or color parameter to a first character;
步骤S200-300,将用户指定的该图像进行参数提取,针对不同类型图像的参数提取与转换有多种形式:Step S200-300, the parameter specified by the user is extracted, and the parameter extraction and conversion for different types of images have various forms:
(1)用户指定的图像中直接包含了条形码、二维码、文字信息、数字信息、字母信息等,可以直接将条形码、二维码转换为字符,或直接提取图像中的文字信息、数字信息、字母信息等,将其转化为二进制或十进制数据。(1) The image specified by the user directly includes the barcode, the two-dimensional code, the text information, the digital information, the letter information, etc., and the barcode or the two-dimensional code can be directly converted into a character, or the text information and the digital information in the image can be directly extracted. , letter information, etc., convert it to binary or decimal data.
在上述需要提取的情况下,需要采用数字图像处理技术,包括图像变换、图像增强技术等,并结合图像识别技术。如,用户指定的图像中直接包含了“111”三个数字,则可以直接提取图像中的数字“111”。首先,通过图像变换实现模拟图像到数字图像的转换,方便后续的处理,图像变换的方法主要有傅里叶变换、沃尔什-阿达玛变换以及离散卡夫纳-勒维变换。然后,采用图像增强技术,强化边缘,使图像中数字“111”的轮廓清晰,并对数字“111”进行分割与提取。可以根据图像中像素的亮度及颜色进行分割,包括灰度阀值分割法、区域生长分割法、边缘分割法以及基于直方图递归分割法,均可实现图像的分割,从而达到提取数字“111”的目的。In the case where the above extraction is required, digital image processing technology, including image transformation, image enhancement technology, etc., is required, and combined with image recognition technology. For example, if the user-specified image directly contains three numbers of "111", the number "111" in the image can be directly extracted. Firstly, the conversion of analog image to digital image is realized by image transformation, which facilitates subsequent processing. The methods of image transformation mainly include Fourier transform, Walsh-Hadamard transform and discrete Kafner-Levy transform. Then, using image enhancement technology, the edges are strengthened to make the outline of the number "111" in the image clear, and the number "111" is segmented and extracted. It can be segmented according to the brightness and color of the pixels in the image, including gray threshold segmentation method, region growing segmentation method, edge segmentation method and histogram recursive segmentation method, which can realize image segmentation, thus extracting the number "111". the goal of.
(2)用户指定的图像中未包含二维码、条形码、文字信息、数字信息、字母信息等可以直接转换为字符的信息,则可以提取图像的色彩参数,例如图像的灰度、图像的RGB分量值等,将其转换为二进制数据。(2) The image specified by the user does not include the QR code, barcode, text information, digital information, letter information, etc., which can be directly converted into characters, and the color parameters of the image, such as the gray level of the image and the RGB of the image, can be extracted. Component values, etc., convert them to binary data.
参考图3,在一优选实施例中,S200:提取所述图像内的图形标识符或色彩参数的步骤,及S300:转换所述图形标识符或色彩参数至一第一字符的步骤包括:Referring to FIG. 3, in a preferred embodiment, S200: the step of extracting a graphic identifier or a color parameter within the image, and S300: the step of converting the graphic identifier or color parameter to a first character comprises:
对所述图像进行色彩分析,提取所述图像的R分量值;Performing color analysis on the image to extract an R component value of the image;
将所述R分量值转化为一第一二进制数据作为所述第一字符。 Converting the R component value into a first binary data as the first character.
上述实施例即是对图像中的色彩进行分析,形成RGB的分量图,取R分量值,将R分量值转换为二进制数据。The above embodiment analyzes the color in the image to form a component map of RGB, takes the R component value, and converts the R component value into binary data.
-步骤S400:接收一用户向所述智能终端输入的一语音信息;- Step S400: receiving a voice message input by a user to the smart terminal;
-步骤S500:转换所述语音信息至一第二字符;- Step S500: converting the voice information to a second character;
本发明的图像存储方法,提供给用户的加密方式有多种,用户可自行选择。用户向智能手机输入的操作信息不限于语音信息,也可以是文字信息、数字信息、字母信息等,也可是通过现场录音或直接载入音频、视频等的方式。用户可以选择至少一种信息形式进行载入,载入的信息形式越多,加密程度越高,解密也更复杂。In the image storage method of the present invention, there are various encryption methods provided to the user, and the user can select oneself. The operation information input by the user to the smart phone is not limited to voice information, and may also be text information, digital information, letter information, etc., or may be recorded by live recording or directly loading audio, video, or the like. The user can select at least one form of information to load, and the more information forms that are loaded, the higher the degree of encryption and the more complicated the decryption.
以下以语音信息为例,对本发明进一步说明。The present invention will be further described below by taking voice information as an example.
参考图4,在一优选实施例中,S500:转换所述语音信息至一第二字符的步骤包括:Referring to FIG. 4, in a preferred embodiment, S500: the step of converting the voice information to a second character includes:
对所述语音信息进行预加重数字滤波处理及加窗分帧处理;Performing pre-emphasis digital filtering processing and windowing framing processing on the voice information;
对预加重数字滤波处理及加窗分帧处理后的每一帧所述语音信息进行声学特征提取,形成所述语音信息的观察序列矩阵;And performing acoustic feature extraction on the voice information of each frame after the pre-emphasis digital filtering process and the windowed frame processing to form an observation sequence matrix of the voice information;
将所述观察序列矩阵解析为文本信息,并转化为一第二二进制数据作为所述第二字符。The matrix of observation sequences is parsed into text information and converted into a second binary data as the second character.
上述实施例中,由于语音信息中不仅包含有文字内容,还有音色、音调、环境中的声音等,难以复原,因此,需要提取其中的文字内容。对于用户输入的语音信息的提取与转换,需要借助语音识别技术:In the above embodiment, since the voice information includes not only text content but also timbre, pitch, sound in the environment, and the like, it is difficult to recover, and therefore, it is necessary to extract the text content therein. For the extraction and conversion of voice information input by the user, it is necessary to use voice recognition technology:
(1)格式转换:对于常见的语音信息格式,如mp3等格式,均为压缩格式,需要先转为非压缩的纯波形文件来进行后续处理,如Windows PCM文件,也就是俗称的wav文件。(1) Format conversion: For common voice information formats, such as mp3 format, all are compressed formats, which need to be converted to uncompressed pure waveform files for subsequent processing, such as Windows PCM files, also known as wav files.
(2)静音切除:进行语音信息的声音识别前,需要将首尾段的静音切除,降低对后续步骤造成的干扰,上述静音切除的操作成为VAD,采用信号处理技术。(2) Silent resection: Before performing voice recognition of voice information, it is necessary to cut off the mute of the first and last segments to reduce the interference caused by the subsequent steps. The above mute resection operation becomes VAD, and signal processing technology is adopted.
(3)预加重数字滤波:预加重的目的是使语音信号的高频特性更加突现。一般是通过传递函数是高通数字滤波器来实现。(3) Pre-emphasis digital filtering: The purpose of pre-emphasis is to make the high-frequency characteristics of the speech signal more prominent. This is usually done by passing the transfer function to a high-pass digital filter.
假设:第n时刻的语音采样值为x(n),则经过预加重处理后的结果是y(n)=x(n)-ax(n-1);其中,a为预加重系数,一般是0.9~1.0之间,通常取0.98。Assume that the value of the speech sample at the nth time is x(n), and the result after the pre-emphasis processing is y(n)=x(n)-ax(n-1); where a is the pre-emphasis coefficient, generally It is between 0.9 and 1.0, usually 0.98.
(4)加窗分帧:预加重数字滤波处理后,下面就是进行加窗分帧处理,语音信号具有短时平稳性(10ms一30ms内可以认为语音信号近似不变),这样就可以把语音信号分为一些短段来进行处理。语音信号的分帧是采用可移动的有限长度的窗口进行加权的方法来实现的。一般每秒的帧数约为33~100帧,视情况而定。一般的分帧方法为交叠分段的方法,前一帧和后一帧的交叠部分称为帧移,帧移与帧长的比值一般为0~0.5。(4) Windowing framing: After pre-emphasis digital filtering processing, the following is the windowing and framing processing, the speech signal has short-term stability (the speech signal can be considered to be approximately unchanged within 10ms to 30ms), so that the speech can be The signal is divided into short segments for processing. Framing of speech signals is accomplished by weighting a finite length window that is movable. Generally, the number of frames per second is about 33 to 100 frames, as the case may be. The general framing method is a method of overlapping segments. The overlapping portion of the previous frame and the next frame is called frame shift, and the ratio of frame shift to frame length is generally 0-0.5.
(5)声学特征提取:分帧后,语音信息就变成很多短段,但其波形在时域上几乎没有描述能力,因此需要将波形进行变换。常见的一种变换方法时提取MFCC特征,根据人耳的生理特性,把每一帧波形变成一个多维向量,每个向量包含了这帧语音的内容信息,上述过程即为声学特征提取。实际应用中,声学特征不限于MFCC,本发明不对此作出限制。(5) Acoustic feature extraction: After framing, the speech information becomes a lot of short segments, but its waveform has almost no description ability in the time domain, so the waveform needs to be transformed. A common transformation method extracts MFCC features. According to the physiological characteristics of the human ear, each frame waveform is transformed into a multi-dimensional vector. Each vector contains the content information of the speech of the frame. The above process is the acoustic feature extraction. In practical applications, the acoustic characteristics are not limited to the MFCC, and the invention is not limited thereto.
(6)观察序列:至此,将语音信息转化为一个M行(M为声学特征为维数)、N列(N为总帧数)的矩阵,称之为观察序列。(6) Observation sequence: Up to this point, the speech information is converted into a matrix of M rows (M is an acoustic feature as a dimension) and N columns (N is a total number of frames), which is called an observation sequence.
(7)文本转换:将上述观察序列转换为文本信息。(7) Text conversion: Convert the above observation sequence into text information.
-步骤S600:将所述第一字符与所述第二字符结合,生成一图像密码;- Step S600: combining the first character with the second character to generate an image password;
-步骤S700:使用所述图像密码对所述图像加密。Step S700: Encrypt the image using the image password.
确定提取的图像参数及用户输入的语音信息转化后得到的两者的字符数据的运算规则,如乘法、除法等运算规则,对提取的图像参数及用户输入的语音信息转化得到的字符数据进行运算,获取图像密码,并使用该图像密码对图像加密。 The operation rule for determining the extracted image parameters and the character data obtained by the conversion of the voice information input by the user, such as multiplication and division, is used to calculate the extracted image parameters and the character data converted by the user-entered voice information. , get the image password, and use the image password to encrypt the image.
参考图5,在一优选实施例中,S700:使用所述图像密码对所述图像加密的步骤包括:Referring to FIG. 5, in a preferred embodiment, S700: the step of encrypting the image using the image password includes:
选取所述图像的部分区域作为待加密区域;Selecting a partial region of the image as the region to be encrypted;
使用所述图像密码对所述图像的所述待加密区域加密。The area to be encrypted of the image is encrypted using the image password.
本发明提供的图像存储方法,不仅可以对整幅图像进行加密,还可以基于户选择或自动识别对图像的局部区域进行加密处理,不仅可以对一幅图像进行加密,还可以基于户选择或自动识别多幅图像进行加密处理。The image storage method provided by the invention can not only encrypt the entire image, but also encrypt the local area of the image based on household selection or automatic identification, and can not only encrypt one image, but also select based on household or automatically. Identify multiple images for encryption.
例如,用户直接选取图像内的一部分区域作为待加密区域进行加密,或者用户直接选取相册内的多个图像,进行加密。又如,在智能手机内增设一人脸识别装置,用以识别某一图像中的人脸区域,或者,用以识别相册中具有人脸区域的图像。For example, the user directly selects a part of the area in the image as the area to be encrypted for encryption, or the user directly selects multiple images in the album to perform encryption. For another example, a face recognition device is added to the smart phone to identify a face region in an image, or to identify an image having a face region in the album.
-步骤S800:接收所述用户向所述智能终端输入的一当前语音信息;- Step S800: receiving a current voice information input by the user to the smart terminal;
-步骤S900:转换所述当前语音信息至一第三字符;- Step S900: converting the current voice information to a third character;
-步骤S1000:将所述第一字符与所述第三字符结合,生成一当前图像密码;- Step S1000: combining the first character with the third character to generate a current image password;
-步骤S1100:判断所述当前图像密码与所述图像密码是否匹配;- Step S1100: determining whether the current image password matches the image password;
-步骤S1200:当所述当前图像密码与所述图像密码匹配时,解密所述图像。- Step S1200: Decrypt the image when the current image password matches the image password.
本发明提供的图像存储方法,其解密过程中,图像参数的提取是固定不变的,用户输入的语音信息是变化的。解密时,由用户再次输入语音信息,输入的语音信息与原语音信息相同,即再次提取并计算得到的密码与加密时生成的密码相同即可解密成功。The image storage method provided by the present invention, in the decryption process, the extraction of the image parameters is fixed, and the voice information input by the user is changed. When decrypting, the voice information is input again by the user, and the input voice information is the same as the original voice information, that is, the password extracted again and calculated is the same as the password generated during encryption, and the decryption is successful.
如上所述的,用户输入操作信息时,不限于语音信息,可输入多种类型的操作信息,输入的操作信息类型越多,加密程度越高,解密更复杂。但多个操作信息容易混淆,同时忘记输入的是什么操作信息或哪个操作信息的可能性也更大,因此,用户可根据需求选择输入的几种操作信息之间的逻辑关系是逻辑或还是逻辑与。As described above, when the user inputs the operation information, it is not limited to the voice information, and various types of operation information can be input. The more types of operation information input, the higher the degree of encryption, and the more complicated the decryption. However, multiple operational information is confusing, and it is more likely to forget what operational information or operational information is entered. Therefore, the logical relationship between several operational information that the user can select and input according to requirements is logical or logical. versus.
用户选择逻辑或时,在解密时,用户提供其之前输入的任意一个操作信息均可解密,加密时,将各操作信息所转化的数据分别与被图像所转化的数据进行运算,获取多个密码,多个密码之间的逻辑关系为或;When the user selects the logical OR, when the user decrypts, any one of the operation information previously input by the user can be decrypted. When encrypting, the data converted by each operation information is respectively calculated with the data converted by the image to obtain multiple passwords. , the logical relationship between multiple passwords is or;
用户选择逻辑与时,在解密时,用户必须同时提供其之前输入的所有操作信息方可解密,加密时,将各操作信息所转化的数据一同与被提醒所转化的数据进行运算,获取一个密码值。When the user selects the logical AND, when decrypting, the user must simultaneously provide all the operation information input by the user before decrypting. When encrypting, the data converted by each operation information is calculated together with the data converted by the reminder to obtain a password. value.
本发明还提供了一种智能终端的图像存储***100,包括图像获取模块11、图像参数提取模块12、图像参数转换模块13、语音信息接收模块14、语音信息转换模块15、密码生成模块16、图像加密模块17;The present invention also provides an image storage system 100 for an intelligent terminal, comprising an image acquisition module 11, an image parameter extraction module 12, an image parameter conversion module 13, a voice information receiving module 14, a voice information conversion module 15, and a password generation module 16, Image encryption module 17;
所述图像获取模块11,开启所述智能终端内的一相册应用,获取所述相册应用内的一图像;The image obtaining module 11 is configured to open an album application in the smart terminal to acquire an image in the photo album application;
所述图像参数提取模块12,与所述图像获取模块11通信连接,提取所述图像内的图形标识符或色彩参数;The image parameter extraction module 12 is communicatively coupled to the image acquisition module 11 to extract a graphic identifier or a color parameter in the image;
所述图像参数转换模块13,与所述图像参数提取模块12通信连接,转换所述图形标识符或色彩参数至一第一字符;The image parameter conversion module 13 is communicatively coupled to the image parameter extraction module 12, and converts the graphic identifier or color parameter to a first character;
所述语音信息接收模块14,接收一用户向所述智能终端输入的一语音信息;The voice information receiving module 14 receives a voice information input by a user to the smart terminal;
所述语音信息转换模块15,与所述语音信息接收模块14通信连接,转换所述语音信息至一第二字符;The voice information conversion module 15 is communicatively coupled to the voice information receiving module 14 to convert the voice information to a second character;
所述密码生成模块16,与所述图像参数转换模块13、语音信息转换模块15通信连接,将所述第一字符与所述第二字符结合,生成一图像密码;The password generating module 16 is communicatively coupled to the image parameter conversion module 13 and the voice information conversion module 15, and combines the first character with the second character to generate an image password;
所述图像加密模块17,与所述图像获取模块11、密码生成模块16通信连接,使用所述图像密码对所述图像加密。The image encryption module 17 is communicatively coupled to the image acquisition module 11 and the password generation module 16, and encrypts the image using the image password.
在一优选实施例中,所述图像存储***100还包括密码匹配模块18、图像解密模块19: In a preferred embodiment, the image storage system 100 further includes a password matching module 18 and an image decrypting module 19:
所述语音信息接收模块14,接收所述用户向所述智能终端输入的一当前语音信息;The voice information receiving module 14 receives a current voice information input by the user to the smart terminal;
所述语音信息转换模块15,转换所述当前语音信息至一第三字符;The voice information conversion module 15 converts the current voice information to a third character;
所述密码生成模块16,将所述第一字符与所述第三字符结合,生成一当前图像密码;The password generating module 16 combines the first character with the third character to generate a current image password;
所述密码匹配模块18,与所述密码生成模块16通信连接,判断所述当前图像密码与所述图像密码是否匹配;The password matching module 18 is communicably connected to the password generating module 16 to determine whether the current image password matches the image password.
所述图像解密模块19,与所述图像加密模块17、密码匹配模块18通信连接,所述当前图像密码与所述图像密码匹配时,解密所述图像。The image decryption module 19 is communicably connected to the image encryption module 17 and the password matching module 18. When the current image password matches the image password, the image is decrypted.
在一优选实施例中,所述图像参数提取模块12,对所述图像进行色彩分析,提取所述图像的R分量值;In a preferred embodiment, the image parameter extraction module 12 performs color analysis on the image to extract an R component value of the image.
所述图像参数转换模块13,将所述R分量值转化为一第一二进制数据作为所述第一字符。The image parameter conversion module 13 converts the R component value into a first binary data as the first character.
在一优选实施例中,所述语音信息转换模块15,包括预处理单元、声学特征提取单元、转换单元;In a preferred embodiment, the voice information conversion module 15 includes a preprocessing unit, an acoustic feature extraction unit, and a conversion unit;
所述预处理单元,对所述语音信息进行预加重数字滤波处理及加窗分帧处理;The pre-processing unit performs pre-emphasis digital filtering processing and windowing framing processing on the voice information;
所述声学特征提取单元,与所述预处理单元通信连接,对预加重数字滤波处理及加窗分帧处理后的每一帧所述语音信息进行声学特征提取,形成所述语音信息的观察序列矩阵;The acoustic feature extraction unit is communicably connected to the pre-processing unit, and performs acoustic feature extraction on the pre-emphasis digital filtering process and the framed framed speech information to form an observation sequence of the voice information. matrix;
所述转换单元,与所述声学特征提取单元通信连接,将所述观察序列矩阵解析为文本信息,并转化为一第二二进制数据作为所述第二字符。The conversion unit is communicatively coupled to the acoustic feature extraction unit, parses the observation sequence matrix into text information, and converts it into a second binary data as the second character.
在一优选实施例中,所述图像加密模块17,包括区域选取单元、区域加密单元;In a preferred embodiment, the image encryption module 17 includes an area selection unit and a region encryption unit.
所述区域选取单元,选取所述图像的部分区域作为待加密区域;The area selection unit selects a partial area of the image as an area to be encrypted;
所述区域加密单元,与所述区域选取单元通信连接,使用所述图像密码对所述图像的所述待加密区域加密。The area encryption unit is communicably connected to the area selection unit, and encrypts the to-be-encrypted area of the image by using the image password.
应当注意的是,本发明的实施例有较佳的实施性,且并非对本发明作任何形式的限制,任何熟悉该领域的技术人员可能利用上述揭示的技术内容变更或修饰为等同的有效实施例,但凡未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何修改或等同变化及修饰,均仍属于本发明技术方案的范围内。 It should be noted that the embodiments of the present invention are preferred embodiments, and are not intended to limit the scope of the present invention. Any one skilled in the art may use the above-disclosed technical contents to change or modify the equivalent embodiments. Any modification or equivalent changes and modifications of the above embodiments in accordance with the technical spirit of the present invention are still within the scope of the technical solutions of the present invention.

Claims (10)

  1. 一种智能终端的图像存储方法,其特征在于,包括以下步骤:An image storage method for a smart terminal, comprising the steps of:
    开启所述智能终端内的一相册应用,获取所述相册应用内的一图像;Opening an album application in the smart terminal to acquire an image in the album application;
    提取所述图像内的图形标识符或色彩参数;Extracting a graphical identifier or color parameter within the image;
    转换所述图形标识符或色彩参数至一第一字符;Converting the graphic identifier or color parameter to a first character;
    接收一用户向所述智能终端输入的一语音信息;Receiving a voice information input by a user to the smart terminal;
    转换所述语音信息至一第二字符;Converting the voice information to a second character;
    将所述第一字符与所述第二字符结合,生成一图像密码;Combining the first character with the second character to generate an image password;
    使用所述图像密码对所述图像加密。The image is encrypted using the image password.
  2. 如权利要求1所述的图像存储方法,其特征在于,The image storage method according to claim 1, wherein
    所述图像存储方法还包括以下步骤:The image storage method further includes the following steps:
    接收所述用户向所述智能终端输入的一当前语音信息;Receiving a current voice information input by the user to the smart terminal;
    转换所述当前语音信息至一第三字符;Converting the current voice information to a third character;
    将所述第一字符与所述第三字符结合,生成一当前图像密码;Combining the first character with the third character to generate a current image password;
    判断所述当前图像密码与所述图像密码是否匹配;Determining whether the current image password matches the image password;
    当所述当前图像密码与所述图像密码匹配时,解密所述图像。The image is decrypted when the current image password matches the image password.
  3. 如权利要求1所述的图像存储方法,其特征在于,The image storage method according to claim 1, wherein
    提取所述图像内的图形标识符或色彩参数的步骤,a step of extracting a graphical identifier or color parameter within the image,
    及转换所述图形标识符或色彩参数至一第一字符的步骤包括:And converting the graphic identifier or color parameter to a first character comprises:
    对所述图像进行色彩分析,提取所述图像的R分量值;Performing color analysis on the image to extract an R component value of the image;
    将所述R分量值转化为一第一二进制数据作为所述第一字符。Converting the R component value into a first binary data as the first character.
  4. 如权利要求1所述的图像存储方法,其特征在于,The image storage method according to claim 1, wherein
    转换所述语音信息至一第二字符的步骤包括:The step of converting the voice information to a second character includes:
    对所述语音信息进行预加重数字滤波处理及加窗分帧处理;Performing pre-emphasis digital filtering processing and windowing framing processing on the voice information;
    对预加重数字滤波处理及加窗分帧处理后的每一帧所述语音信息进行声学特征提取,形成所述语音信息的观察序列矩阵;And performing acoustic feature extraction on the voice information of each frame after the pre-emphasis digital filtering process and the windowed frame processing to form an observation sequence matrix of the voice information;
    将所述观察序列矩阵解析为文本信息,并转化为一第二二进制数据作为所述第二字符。The matrix of observation sequences is parsed into text information and converted into a second binary data as the second character.
  5. 如权利要求1所述的图像存储方法,其特征在于,The image storage method according to claim 1, wherein
    使用所述图像密码对所述图像加密的步骤包括:The step of encrypting the image using the image password includes:
    选取所述图像的部分区域作为待加密区域;Selecting a partial region of the image as the region to be encrypted;
    使用所述图像密码对所述图像的所述待加密区域加密。The area to be encrypted of the image is encrypted using the image password.
  6. 一种智能终端的图像存储***,其特征在于,包括图像获取模块、图像参数提取模块、图像参数转换模块、语音信息接收模块、语音信息转换模块、密码生成模块、图像加密模块;An image storage system for an intelligent terminal, comprising: an image acquisition module, an image parameter extraction module, an image parameter conversion module, a voice information receiving module, a voice information conversion module, a password generation module, and an image encryption module;
    所述图像获取模块,开启所述智能终端内的一相册应用,获取所述相册应用内的一图像;The image acquisition module starts an album application in the smart terminal, and acquires an image in the album application;
    所述图像参数提取模块,与所述图像获取模块通信连接,提取所述图像内的图形标识符或色彩参数;The image parameter extraction module is communicably connected to the image acquisition module to extract a graphic identifier or a color parameter in the image;
    所述图像参数转换模块,与所述图像参数提取模块通信连接,转换所述图形标识符或色彩参数至一第一字符;The image parameter conversion module is communicatively coupled to the image parameter extraction module to convert the graphic identifier or color parameter to a first character;
    所述语音信息接收模块,接收一用户向所述智能终端输入的一语音信息;The voice information receiving module receives a voice information input by a user to the smart terminal;
    所述语音信息转换模块,与所述语音信息接收模块通信连接,转换所述语音信息至一第二字符;The voice information conversion module is communicably connected to the voice information receiving module, and converts the voice information to a second character;
    所述密码生成模块,与所述图像参数转换模块、语音信息转换模块通信连接,将所述 第一字符与所述第二字符结合,生成一图像密码;The password generating module is communicably connected to the image parameter conversion module and the voice information conversion module, and the Combining the first character with the second character to generate an image password;
    所述图像加密模块,与所述图像获取模块、密码生成模块通信连接,使用所述图像密码对所述图像加密。The image encryption module is communicably connected to the image acquisition module and the password generation module, and encrypts the image by using the image password.
  7. 如权利要求6所述的图像存储***,其特征在于,The image storage system of claim 6 wherein:
    所述图像存储***还包括密码匹配模块、图像解密模块;The image storage system further includes a password matching module and an image decryption module;
    所述语音信息接收模块,接收所述用户向所述智能终端输入的一当前语音信息;The voice information receiving module receives a current voice information input by the user to the smart terminal;
    所述语音信息转换模块,转换所述当前语音信息至一第三字符;The voice information conversion module converts the current voice information to a third character;
    所述密码生成模块,将所述第一字符与所述第三字符结合,生成一当前图像密码;The password generating module combines the first character with the third character to generate a current image password;
    所述密码匹配模块,与所述密码生成模块通信连接,判断所述当前图像密码与所述图像密码是否匹配;The password matching module is in communication with the password generating module, and determines whether the current image password matches the image password;
    所述图像解密模块,与所述图像加密模块、密码匹配模块通信连接,所述当前图像密码与所述图像密码匹配时,解密所述图像。The image decryption module is communicably connected to the image encryption module and the password matching module, and decrypts the image when the current image password matches the image password.
  8. 如权利要求6所述的图像存储***,其特征在于,The image storage system of claim 6 wherein:
    所述图像参数提取模块,对所述图像进行色彩分析,提取所述图像的R分量值;The image parameter extraction module performs color analysis on the image to extract an R component value of the image;
    所述图像参数转换模块,将所述R分量值转化为一第一二进制数据作为所述第一字符。The image parameter conversion module converts the R component value into a first binary data as the first character.
  9. 如权利要求6所述的图像存储***,其特征在于,The image storage system of claim 6 wherein:
    所述语音信息转换模块,包括预处理单元、声学特征提取单元、转换单元;The voice information conversion module includes a preprocessing unit, an acoustic feature extraction unit, and a conversion unit;
    所述预处理单元,对所述语音信息进行预加重数字滤波处理及加窗分帧处理;The pre-processing unit performs pre-emphasis digital filtering processing and windowing framing processing on the voice information;
    所述声学特征提取单元,与所述预处理单元通信连接,对预加重数字滤波处理及加窗分帧处理后的每一帧所述语音信息进行声学特征提取,形成所述语音信息的观察序列矩阵;The acoustic feature extraction unit is communicably connected to the pre-processing unit, and performs acoustic feature extraction on the pre-emphasis digital filtering process and the framed framed speech information to form an observation sequence of the voice information. matrix;
    所述转换单元,与所述声学特征提取单元通信连接,将所述观察序列矩阵解析为文本信息,并转化为一第二二进制数据作为所述第二字符。The conversion unit is communicatively coupled to the acoustic feature extraction unit, parses the observation sequence matrix into text information, and converts it into a second binary data as the second character.
  10. 如权利要求6所述的图像存储***,其特征在于,The image storage system of claim 6 wherein:
    所述图像加密模块,包括区域选取单元、区域加密单元;The image encryption module includes a region selection unit and a region encryption unit;
    所述区域选取单元,选取所述图像的部分区域作为待加密区域;The area selection unit selects a partial area of the image as an area to be encrypted;
    所述区域加密单元,与所述区域选取单元通信连接,使用所述图像密码对所述图像的所述待加密区域加密。 The area encryption unit is communicably connected to the area selection unit, and encrypts the to-be-encrypted area of the image by using the image password.
PCT/CN2017/095283 2017-07-31 2017-07-31 Smart terminal-based image storage method and image storage system WO2019023886A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/095283 WO2019023886A1 (en) 2017-07-31 2017-07-31 Smart terminal-based image storage method and image storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/095283 WO2019023886A1 (en) 2017-07-31 2017-07-31 Smart terminal-based image storage method and image storage system

Publications (1)

Publication Number Publication Date
WO2019023886A1 true WO2019023886A1 (en) 2019-02-07

Family

ID=65232295

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095283 WO2019023886A1 (en) 2017-07-31 2017-07-31 Smart terminal-based image storage method and image storage system

Country Status (1)

Country Link
WO (1) WO2019023886A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914634A (en) * 2014-03-26 2014-07-09 小米科技有限责任公司 Image encryption method, image encryption device and electronic device
CN103973441A (en) * 2013-01-29 2014-08-06 腾讯科技(深圳)有限公司 User authentication method and device on basis of audios and videos
US20150095643A1 (en) * 2013-09-30 2015-04-02 Juniper Networks, Inc. Encrypting images on a client device for secure transmission and storage on a storage device
CN105184142A (en) * 2015-09-09 2015-12-23 北京金山安全软件有限公司 Locking method and device of system switch and mobile terminal
CN105260669A (en) * 2015-10-28 2016-01-20 广东欧珀移动通信有限公司 Transmission method and system of pictures
CN105574387A (en) * 2015-06-16 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Information security processing method and user terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973441A (en) * 2013-01-29 2014-08-06 腾讯科技(深圳)有限公司 User authentication method and device on basis of audios and videos
US20150095643A1 (en) * 2013-09-30 2015-04-02 Juniper Networks, Inc. Encrypting images on a client device for secure transmission and storage on a storage device
CN103914634A (en) * 2014-03-26 2014-07-09 小米科技有限责任公司 Image encryption method, image encryption device and electronic device
CN105574387A (en) * 2015-06-16 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Information security processing method and user terminal
CN105184142A (en) * 2015-09-09 2015-12-23 北京金山安全软件有限公司 Locking method and device of system switch and mobile terminal
CN105260669A (en) * 2015-10-28 2016-01-20 广东欧珀移动通信有限公司 Transmission method and system of pictures

Similar Documents

Publication Publication Date Title
US10839104B2 (en) Obfuscating information related to personally identifiable information (PII)
US7753260B2 (en) Information processing system, information processing method, program, and recording system
Zhao et al. TPE2: Three-pixel exact thumbnail-preserving image encryption
US7950064B2 (en) System and method for controlling comments in a collaborative document
WO2016024173A1 (en) Image processing apparatus and method, and electronic device
WO2017092122A1 (en) Similarity determination method, device, and terminal
WO2017215148A1 (en) File protection method and device
US8738928B2 (en) Apparatus and method for processing extension information in image files
CN105354509A (en) Picture processing method and processing system
US9451423B2 (en) Method and apparatus for recording information during a call
US9081801B2 (en) Metadata supersets for matching images
US20110004613A1 (en) Method, apparatus and computer program product for handling intelligent media files
WO2023029389A1 (en) Video fingerprint generation method and apparatus, electronic device, storage medium, computer program, and computer program product
CN103324714A (en) System for writing diary by smart phone
US20140221046A1 (en) Electronic device for identifying a party
WO2016179889A1 (en) Fingerprint search method and apparatus, and terminal
JP2022540551A (en) Proof of media provenance via fragile watermarking
CN105354506B (en) The method and apparatus of hidden file
US10972746B2 (en) Method of combining image files and other files
WO2021017277A1 (en) Image capture method and apparatus, and computer storage medium
WO2016188079A1 (en) Data storage method for terminal device and terminal device
WO2019023886A1 (en) Smart terminal-based image storage method and image storage system
WO2019128408A1 (en) Method and device for saving information
WO2023160515A1 (en) Video processing method and apparatus, device and medium
US20170011203A1 (en) Encrypting data within a host image

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: 17919669

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: 17919669

Country of ref document: EP

Kind code of ref document: A1