CN106408501A - Encryption device and method based on image recognition technology - Google Patents
Encryption device and method based on image recognition technology Download PDFInfo
- Publication number
- CN106408501A CN106408501A CN201610837203.5A CN201610837203A CN106408501A CN 106408501 A CN106408501 A CN 106408501A CN 201610837203 A CN201610837203 A CN 201610837203A CN 106408501 A CN106408501 A CN 106408501A
- Authority
- CN
- China
- Prior art keywords
- unit
- image
- encryption device
- information
- data
- Prior art date
- Legal status (The legal status 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 status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/0021—Image watermarking
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention provides an encryption device and method based on image recognition technology, relating to the field of data encryption. The encryption device is characterized in that a text information entry unit is included and is connected with a text splitting unit; the text splitting unit is in signal connection with the code conversion unit which is in signal connection with a flash memory; the device also comprises an image information entry unit which is in signal connection with an image segmentation unit; the image segmentation unit is connected with an image binarization unit which is in signal connection with the flash memory; the flash memory is in signal connection with a cloud unit; an operation unit is in signal connection with an information conversion unit; and the information conversion unit is in signal connection with a data output unit. The encryption device is high in security, unique in encryption method, and low in cost.
Description
Technical field
The present invention relates to field of data encryption, particularly to a kind of encryption device based on image recognition technology and method.
Background technology
As a kind of mode ensureing data safety, it is not now just to have, and the history of its generation is quite remote for encryption,
It is initiated by reviewing in B.C. 2000(Several centuries)Although its not now encryption technology that we are said
(Even do not cry encryption), but as a kind of concept of encryption, be really just born before several centuries.Egyptian was the most at that time
First it is used special pictograph to encode as information, elapse over time, Babylon, Mesopotamia and Greece's civilization
Certain methods are all begun to use to protect their written information.
Encryption technology is mainly used in military field in the recent period, such as the Independent war of America, American Civil War and Two World Wars.
The encoding machine being widely known by the people most is German Enigma machine, and in World War II, German is created using it and adds
Confidential information.Hereafter, due to Alan Turing and Ultra plan and other people effort, finally German password is carried out
Crack.Originally, the research of computer was exactly to crack German password, and people do not expect that computer carried to today
The information revolution coming.With the development of computer, the enhancing of operational capability, the password in past all becomes very simple, then
People constantly investigated new data encryption mode again, and such as private key and public key using RSA Algorithm generation are exactly at this
On the basis of produce.
And existing encryption technology, because its cryptographic means is relatively low.
Content of the invention
In consideration of it, the invention provides a kind of encryption device based on image recognition technology and method, the present invention has peace
The advantages of Quan Xinggao, cipher mode are unique, cost is relatively low.
The technical solution used in the present invention is as follows:
A kind of encryption device based on image recognition technology is it is characterised in that described encryption device includes:Word message typing list
Unit;Described Word message typing unit signal is connected to word split cells;Described word split cells signal is connected to coding
Converting unit;Described transcoder unit signal is connected to flash memory;Described device also includes:Image information typing unit;Described
Image information typing unit signal is connected to picture segmentation unit;Described picture segmentation cell signal connects image binaryzation list
Unit;Described image binarization unit signal is connected to flash memory;Described flash memory signals are connected to high in the clouds unit;Described arithmetic element letter
Number it is connected to information conversion unit;Described information converting unit signal is connected to data outputting unit.
Described word split cells includes:Random number generator data cutting unit;Described random number generator signal
It is connected to data partitioning unit, for generating random division data;Described data partitioning unit, for according to random number generator
The partition data generating is split to the Word message of input.
Described arithmetic element includes:Logic and operation unit, logic or arithmetic element and logical not operation unit;Described patrol
Collect and be connected to logic or arithmetic element with arithmetic element signal;Described logic or arithmetic element signal are connected to logical not operation list
Unit.
Described information converting unit includes:Pixel signal generating unit and image recombiner unit;Described pixel signal generating unit, is used for
Corresponding Pixel Information is generated according to the operation result that arithmetic element sends over;Described image recombiner unit, for according to picture
The generation result of plain signal generating unit generates the complete image information of correspondence, and the image information of generation is sent to data output list
Unit.
Described image binarization unit includes:Threshold value setting module and binarization block;Described threshold value setting module signal
It is connected to binarization block, carry out discrimination threshold during binary conversion treatment for setting binarization block;Described binarization block,
Image information for sending over to image segmentation unit carries out image binaryzation process.
A kind of method of the encryption device based on image recognition technology is it is characterised in that the method comprising the steps of:
Step 1:In encryption device, input needs the Word message of encryption, encryption device according to the interval numerical value of random generation,
These Word messages are divided into several independent parts, are designated as:
Step 2:The Word message of each independent sector is converted to corresponding binary coding by transcoder unit, is designated as:These codings are stored in flash memory;
Step 3:The image information for encryption is inputted in encryption device;After encryption device is split to this image information more right
Each elementary area after segmentation carries out binaryzation, obtains the elementary area after binaryzation and is:;
Then corresponding for these units data message is stored in flash memory;
Step 4:Encryption device transfer binaryzation from flash memory simultaneously after image data information and after literal code data letter
Both are carried out logical operation, obtaining final logic operation result is by breath:
Step 5:The result of logical operation is reduced to piece image by encryption device, and this image information is sent out through data outputting unit
See off.
The method that binary data information is converted to image information is comprised the following steps by described information converting unit:
Step 1:This string of binary characters data message is converted to the pixel value of corresponding binaryzation;
Step 2:The pixel value of this binaryzation is converted to corresponding image.
The method that described image binarization unit carries out image binaryzation comprises the following steps:
Step 1:Calculate the grey level histogram of figure;
Step 2:Calculate the inter-class variance of this image
;
Step 3:Calculate the variance within clusters of image:
;
Step 4:Histogram is divided into 2 groups of c1 and c2 at certain threshold value, makes separating degree QUOTE For maximum
T is optimal threshold;
Step 5:Being calculated optimal threshold is:
;
Step 6:Binary conversion treatment is carried out according to this threshold value.
Using above technical scheme, present invention produces following beneficial effect:
1st, low cost:Either word processing section or image processing section all only have conventional literary composition to the encryption device of the present invention
Word processing and the partial function of image processing apparatus, enormously simplify the process of image procossing and the process of word processing, are not required to
Want the higher image processing apparatus of precision or character processor, reduce the cost of device.
2nd, cipher mode is unique:Image information as a part for key, is carried out the encryption of word, is different from by the present invention
Existing any cipher mode, equally, existing any decryption method all cannot decipher the information after these encryptions, has quite
High security.
Using above technical scheme, present invention produces following beneficial effect:
1st, low cost:Either word processing section or image processing section all only have conventional literary composition to the encryption device of the present invention
Word processing and the partial function of image processing apparatus, enormously simplify the process of image procossing and the process of word processing, are not required to
Want the higher image processing apparatus of precision or character processor, reduce the cost of device.
2nd, cipher mode is unique:Image information as a part for key, is carried out the encryption of word, is different from by the present invention
Existing any cipher mode, equally, existing any decryption method all cannot decipher the information after these encryptions, has quite
High security.
3rd, safe:The encryption device of the present invention to the encryption of Word message except using image as key in addition to,
Also add double key when image is split, this key is by generating random number it is ensured that other people cannot be pre-
First obtain such key, even if for same Word message, being encrypted using same image information, due to random number
Difference, the final encryption data of generation is different from, and decrypting process also differs, and is substantially not present the possibility cracking.
Brief description
Fig. 1 is a kind of encryption device based on image recognition technology of the present invention and the apparatus structure schematic diagram of method.
Specific embodiment
All features disclosed in this specification, or disclosed all anti-tumble methods or during step, except mutual
Beyond the feature mutually repelled and/or step, all can combine by any way.
This specification(Including any accessory claim, summary)Disclosed in any feature, unless specifically stated otherwise,
Replaced by other alternative features equivalent or that there is similar purpose.I.e., unless specifically stated otherwise, each feature is a series of
One of equivalent or similar characteristics example.
A kind of encryption device based on image recognition technology, processor structure such as Fig. 1 institute is provided in the embodiment of the present invention 1
Show:
A kind of encryption device based on image recognition technology is it is characterised in that described encryption device includes:Word message typing list
Unit;Described Word message typing unit signal is connected to word split cells;Described word split cells signal is connected to coding
Converting unit;Described transcoder unit signal is connected to flash memory;Described device also includes:Image information typing unit;Described
Image information typing unit signal is connected to picture segmentation unit;Described picture segmentation cell signal connects image binaryzation list
Unit;Described image binarization unit signal is connected to flash memory;Described flash memory signals are connected to high in the clouds unit;Described arithmetic element letter
Number it is connected to information conversion unit;Described information converting unit signal is connected to data outputting unit.
Described word split cells includes:Random number generator data cutting unit;Described random number generator signal
It is connected to data partitioning unit, for generating random division data;Described data partitioning unit, for according to random number generator
The partition data generating is split to the Word message of input.
Described arithmetic element includes:Logic and operation unit, logic or arithmetic element and logical not operation unit;Described patrol
Collect and be connected to logic or arithmetic element with arithmetic element signal;Described logic or arithmetic element signal are connected to logical not operation list
Unit.
Described information converting unit includes:Pixel signal generating unit and image recombiner unit;Described pixel signal generating unit, is used for
Corresponding Pixel Information is generated according to the operation result that arithmetic element sends over;Described image recombiner unit, for according to picture
The generation result of plain signal generating unit generates the complete image information of correspondence, and the image information of generation is sent to data output list
Unit.
Described image binarization unit includes:Threshold value setting module and binarization block;Described threshold value setting module signal
It is connected to binarization block, carry out discrimination threshold during binary conversion treatment for setting binarization block;Described binarization block,
Image information for sending over to image segmentation unit carries out image binaryzation process.
A kind of method of the encryption device based on image recognition technology is provided in the embodiment of the present invention 2:
A kind of method of the encryption device based on image recognition technology is it is characterised in that the method comprising the steps of:
Step 1:In encryption device, input needs the Word message of encryption, encryption device according to the interval numerical value of random generation,
These Word messages are divided into several independent parts, are designated as:
Step 2:The Word message of each independent sector is converted to corresponding binary coding by transcoder unit, is designated as:These codings are stored in flash memory;
Step 3:The image information for encryption is inputted in encryption device;After encryption device is split to this image information more right
Each elementary area after segmentation carries out binaryzation, obtains the elementary area after binaryzation and is:;
Then corresponding for these units data message is stored in flash memory;
Step 4:Encryption device transfer binaryzation from flash memory simultaneously after image data information and after literal code data letter
Both are carried out logical operation, obtaining final logic operation result is by breath:
Step 5:The result of logical operation is reduced to piece image by encryption device, and this image information is sent out through data outputting unit
See off.
The method that binary data information is converted to image information is comprised the following steps by described information converting unit:
Step 1:This string of binary characters data message is converted to the pixel value of corresponding binaryzation;
Step 2:The pixel value of this binaryzation is converted to corresponding image.
The method that described image binarization unit carries out image binaryzation comprises the following steps:
Step 1:Calculate the grey level histogram of figure;
Step 2:Calculate the inter-class variance of this image
;
Step 3:Calculate the variance within clusters of image:
;
Step 4:Histogram is divided into 2 groups of c1 and c2 at certain threshold value, makes separating degree QUOTE For maximum
T is optimal threshold;
Step 5:Being calculated optimal threshold is:
;
Step 6:Binary conversion treatment is carried out according to this threshold value.
A kind of encryption device based on image recognition technology and method, processor structure is provided in the embodiment of the present invention 3
As shown in Figure 1:
A kind of encryption device based on image recognition technology is it is characterised in that described encryption device includes:Word message typing list
Unit;Described Word message typing unit signal is connected to word split cells;Described word split cells signal is connected to coding
Converting unit;Described transcoder unit signal is connected to flash memory;Described device also includes:Image information typing unit;Described
Image information typing unit signal is connected to picture segmentation unit;Described picture segmentation cell signal connects image binaryzation list
Unit;Described image binarization unit signal is connected to flash memory;Described flash memory signals are connected to high in the clouds unit;Described arithmetic element letter
Number it is connected to information conversion unit;Described information converting unit signal is connected to data outputting unit.
Described word split cells includes:Random number generator data cutting unit;Described random number generator signal
It is connected to data partitioning unit, for generating random division data;Described data partitioning unit, for according to random number generator
The partition data generating is split to the Word message of input.
Described arithmetic element includes:Logic and operation unit, logic or arithmetic element and logical not operation unit;Described patrol
Collect and be connected to logic or arithmetic element with arithmetic element signal;Described logic or arithmetic element signal are connected to logical not operation list
Unit.
Described information converting unit includes:Pixel signal generating unit and image recombiner unit;Described pixel signal generating unit, is used for
Corresponding Pixel Information is generated according to the operation result that arithmetic element sends over;Described image recombiner unit, for according to picture
The generation result of plain signal generating unit generates the complete image information of correspondence, and the image information of generation is sent to data output list
Unit.
Described image binarization unit includes:Threshold value setting module and binarization block;Described threshold value setting module signal
It is connected to binarization block, carry out discrimination threshold during binary conversion treatment for setting binarization block;Described binarization block,
Image information for sending over to image segmentation unit carries out image binaryzation process.
A kind of method of the encryption device based on image recognition technology is it is characterised in that the method comprising the steps of:
Step 1:In encryption device, input needs the Word message of encryption, encryption device according to the interval numerical value of random generation,
These Word messages are divided into several independent parts, are designated as:
Step 2:The Word message of each independent sector is converted to corresponding binary coding by transcoder unit, is designated as:These codings are stored in flash memory;
Step 3:The image information for encryption is inputted in encryption device;After encryption device is split to this image information,
Again binaryzation is carried out to each elementary area after segmentation, obtaining the elementary area after binaryzation is:;Then corresponding for these units data message is stored in flash memory;
Step 4:Encryption device transfer binaryzation from flash memory simultaneously after image data information and after literal code data letter
Both are carried out logical operation, obtaining final logic operation result is by breath:
Step 5:The result of logical operation is reduced to piece image by encryption device, and this image information is sent out through data outputting unit
See off.
The method that binary data information is converted to image information is comprised the following steps by described information converting unit:
Step 1:This string of binary characters data message is converted to the pixel value of corresponding binaryzation;
Step 2:The pixel value of this binaryzation is converted to corresponding image.
The method that described image binarization unit carries out image binaryzation comprises the following steps:
Step 1:Calculate the grey level histogram of figure;
Step 2:Calculate the inter-class variance of this image
;
Step 3:Calculate the variance within clusters of image:
;
Step 4:Histogram is divided into 2 groups of c1 and c2 at certain threshold value, makes separating degree QUOTE For maximum
T is optimal threshold;
Step 5:Being calculated optimal threshold is:
;
Step 6:Binary conversion treatment is carried out according to this threshold value.
The invention is not limited in aforesaid specific embodiment.The present invention expands to and any discloses in this manual
New feature or any new combination, and arbitrary new anti-tumble method of disclosure or the step of process or any new combination.
Claims (8)
1. a kind of encryption device based on image recognition technology is it is characterised in that described encryption device includes:Word message typing
Unit;Described Word message typing unit signal is connected to word split cells;Described word split cells signal is connected to volume
Code converting unit;Described transcoder unit signal is connected to flash memory;Described device also includes:Image information typing unit;Institute
State image information typing unit signal and be connected to picture segmentation unit;Described picture segmentation cell signal connects image binaryzation list
Unit;Described image binarization unit signal is connected to flash memory;Described flash memory signals are connected to high in the clouds unit;Described arithmetic element letter
Number it is connected to information conversion unit;Described information converting unit signal is connected to data outputting unit.
2. the encryption device based on image recognition technology as claimed in claim 1 is it is characterised in that described word split cells
Including:Random number generator data cutting unit;Described random number generator signal is connected to data partitioning unit, for giving birth to
Become random division data;Described data partitioning unit, for the partition data that generated according to the random number generator literary composition to input
Word information is split.
3. the encryption device based on image recognition technology as claimed in claim 1 or 2 is it is characterised in that described arithmetic element
Including:Logic and operation unit, logic or arithmetic element and logical not operation unit;Described logic and operation cell signal connects
In logic or arithmetic element;Described logic or arithmetic element signal are connected to logical not operation unit.
4. the encryption device based on image recognition technology as claimed in claim 3 is it is characterised in that described information converting unit
Including:Pixel signal generating unit and image recombiner unit;Described pixel signal generating unit, for the fortune being sended over according to arithmetic element
Calculate result and generate corresponding Pixel Information;Described image recombiner unit, generates for the generation result according to pixel signal generating unit
The complete image information of correspondence, the image information of generation is sent to data outputting unit.
5. the encryption device based on image recognition technology as claimed in claim 4 is it is characterised in that described image binaryzation list
Unit includes:Threshold value setting module and binarization block;Described threshold value setting module signal is connected to binarization block, for setting
Binarization block carries out discrimination threshold during binary conversion treatment;Described binarization block, for being transmitted across to image segmentation unit
The image information come carries out image binaryzation process.
6. a kind of encryption method based on the encryption device based on image recognition technology described in one of claim 1 to 5, it is special
Levy and be, the method comprising the steps of:
Step 1:In encryption device, input needs the Word message of encryption, encryption device according to the interval numerical value of random generation,
These Word messages are divided into several independent parts, are designated as:
Step 2:The Word message of each independent sector is converted to corresponding binary coding by transcoder unit, is designated as:These codings are stored in flash memory;
Step 3:The image information for encryption is inputted in encryption device;After encryption device is split to this image information,
Again binaryzation is carried out to each elementary area after segmentation, obtaining the elementary area after binaryzation is:
;Then corresponding for these units data message is stored in flash memory;
Step 4:Encryption device transfer binaryzation from flash memory simultaneously after image data information and after literal code data letter
Both are carried out logical operation, obtaining final logic operation result is by breath:
Step 5:The result of logical operation is reduced to piece image by encryption device, and this image information is sent out through data outputting unit
See off.
7. the encryption method based on the encryption device based on image recognition technology described in claim 5 is it is characterised in that described
The method that binary data information is converted to image information is comprised the following steps by information conversion unit:
Step 1:This string of binary characters data message is converted to the pixel value of corresponding binaryzation;
Step 2:The pixel value of this binaryzation is converted to corresponding image.
8. the encryption method based on the encryption device based on image recognition technology described in claim 5 is it is characterised in that described
The method that image binaryzation unit carries out image binaryzation comprises the following steps:
Step 1:Calculate the grey level histogram of figure;
Step 2:Calculate the inter-class variance of this image
;
Step 3:Calculate the variance within clusters of image:
;
Step 4:Histogram is divided into 2 groups of c1 and c2 at certain threshold value, makes separating degree QUOTE T for maximum
It is optimal threshold;
Step 5:Being calculated optimal threshold is:
;
Step 6:Binary conversion treatment is carried out according to this threshold value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610837203.5A CN106408501A (en) | 2016-09-21 | 2016-09-21 | Encryption device and method based on image recognition technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610837203.5A CN106408501A (en) | 2016-09-21 | 2016-09-21 | Encryption device and method based on image recognition technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106408501A true CN106408501A (en) | 2017-02-15 |
Family
ID=57997292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610837203.5A Withdrawn CN106408501A (en) | 2016-09-21 | 2016-09-21 | Encryption device and method based on image recognition technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106408501A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107343003A (en) * | 2017-07-07 | 2017-11-10 | 四川铭扬通信科技有限公司 | The communication means and system of data transmission unit and remote terminal |
CN108989604A (en) * | 2018-07-20 | 2018-12-11 | 京东方科技集团股份有限公司 | Image encryption method, image transfer method, electronic equipment, readable storage medium storing program for executing |
CN109242375A (en) * | 2017-07-11 | 2019-01-18 | 周武增 | A kind of e-commerce system and method based on Internet of Things |
CN112597520A (en) * | 2020-12-28 | 2021-04-02 | 德州正捷电气有限公司 | Data processing system and method based on data segmentation |
-
2016
- 2016-09-21 CN CN201610837203.5A patent/CN106408501A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107343003A (en) * | 2017-07-07 | 2017-11-10 | 四川铭扬通信科技有限公司 | The communication means and system of data transmission unit and remote terminal |
CN109242375A (en) * | 2017-07-11 | 2019-01-18 | 周武增 | A kind of e-commerce system and method based on Internet of Things |
CN108989604A (en) * | 2018-07-20 | 2018-12-11 | 京东方科技集团股份有限公司 | Image encryption method, image transfer method, electronic equipment, readable storage medium storing program for executing |
CN112597520A (en) * | 2020-12-28 | 2021-04-02 | 德州正捷电气有限公司 | Data processing system and method based on data segmentation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109522698B (en) | User authentication method based on block chain and terminal equipment | |
CN1124719C (en) | Parameterized hash functions for access control | |
US8121294B2 (en) | System and method for a derivation function for key per page | |
Saračević et al. | A novel approach to steganography based on the properties of Catalan numbers and Dyck words | |
Rupa et al. | Securing multimedia using a deep learning based chaotic logistic map | |
CN106408501A (en) | Encryption device and method based on image recognition technology | |
CN103414549A (en) | QR two-dimensional code binary image partition-based key varying chaotic encryption method | |
CN113225297B (en) | Data hybrid encryption method, device and equipment | |
CN104396182A (en) | Method of encrypting data | |
CN109450635A (en) | A kind of sender based on fault-tolerant problem concerning study can deny encryption method | |
CN113055153B (en) | Data encryption method, system and medium based on fully homomorphic encryption algorithm | |
CN108418684A (en) | A kind of character string symmetric cryptography and decryption method | |
Chavan et al. | Design and implementation of hierarchical visual cryptography with expansion less shares | |
Kasm et al. | Applications of Algebraic Geometry in Cryptography | |
Zhang et al. | A privacy protection framework for medical image security without key dependency based on visual cryptography and trusted computing | |
CN109412791B (en) | Key information processing method, device, electronic equipment and computer-readable medium | |
Patel et al. | Image encryption decryption using chaotic logistic mapping and dna encoding | |
KR101584127B1 (en) | System and method for deniable encryption | |
Al-Smadi et al. | Files cryptography based on one-time pad algorithm | |
CN106296563A (en) | A kind of deciphering device and method based on image recognition technology | |
Sharma et al. | An efficient hybrid approach for secure speech cryptography | |
KR20180081469A (en) | Information security system through encrypting and decrypting personal data and contents in smart device based on Lightweight Encryption Algorithm, method thereof and computer recordable medium storing program to perform the method | |
Raj et al. | A security architecture for cloud data using hybrid security scheme | |
Rachmawanto et al. | Testing Data Security Using a Vigenere Cipher Based on the QR Code | |
Sathiaraj et al. | Secure Transfer of Image-Acquired Text Using a Combination of Cryptography and Steganography |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170215 |
|
WW01 | Invention patent application withdrawn after publication |