CN106296563A - A kind of deciphering device and method based on image recognition technology - Google Patents
A kind of deciphering device and method based on image recognition technology Download PDFInfo
- Publication number
- CN106296563A CN106296563A CN201610837380.3A CN201610837380A CN106296563A CN 106296563 A CN106296563 A CN 106296563A CN 201610837380 A CN201610837380 A CN 201610837380A CN 106296563 A CN106296563 A CN 106296563A
- Authority
- CN
- China
- Prior art keywords
- unit
- image
- information
- signal
- encryption
- 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)
- Character Input (AREA)
Abstract
The invention provides a kind of deciphering device and method based on image recognition technology, relate to field of data encryption.It is characterized in that, described deciphering device includes: encryption Data Enter unit;Described encryption Data Enter cell signal is connected to picture segmentation unit;Described picture segmentation cell signal is connected to information conversion unit;Described information conversion unit signal is connected to flash memory;Described encryption device also includes: image information typing unit;Described image information typing cell signal is connected to picture segmentation unit;Described picture segmentation cell signal is connected to image binaryzation unit;Described information conversion unit and image binaryzation unit signal respectively are connected to flash memory;Described flash memory signals is connected to arithmetic element;Described arithmetic element signal is connected to information synthesis unit;Described information synthesis unit signal respectively is connected to Key input unit and coding inverse transform unit.
Description
Technical field
The present invention relates to field of data encryption, particularly to a kind of deciphering device and method based on image recognition technology.
Background technology
Encryption is as ensureing a kind of mode of data safety, and it is not now just has, and the history of its generation is the most remote,
It was initiated by reviewing in B.C. 2000 (several century), although its not now encryption technology that we are said
(even not crying encryption), but as the concept of a kind of encryption, be really just born before several centuries.Egyptian was the most at that time
First use special pictograph to encode as information, elapse over time, Babylon, Mesopotamia and Greece's civilization
All begin to use certain methods to protect their written information.
Encryption technology is mainly used in military field, such as the Independent war of America, American Civil War and Two World Wars in the recent period.
The encoding machine being widely known by the people most is German Enigma machine, and in World War II, German utilizes it to create to add
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 is contemplated to crack German password, and people do not expect that computer carried to today
The information revolution come.Along with the development of computer, the enhancing of operational capability, the password in past all becomes the simplest, then
People the most constantly investigated new data encryption mode, is exactly at this as utilized private key that RSA Algorithm produces and PKI
On the basis of produce.
Existing encryption and decryption technology all rest on for information itself, do not account for by other nonconventional approaches
Being encrypted data, cause information to be easily cracked, safety is relatively low.
Summary of the invention
In consideration of it, the invention provides a kind of deciphering device and method based on image recognition technology, the present invention has pin
The advantages such as being decrypted image encryption, safety is high, and decryption method is unique.
The technical solution used in the present invention is as follows:
A kind of deciphering device based on image recognition technology, it is characterised in that described device includes: described encryption device includes:
Encryption Data Enter unit;Described encryption Data Enter cell signal is connected to picture segmentation unit;Described picture segmentation unit
Signal is connected to information conversion unit;Described information conversion unit signal is connected to flash memory;Described encryption device also includes: image
Data Enter unit;Described image information typing cell signal is connected to picture segmentation unit;Described picture segmentation cell signal
It is connected to image binaryzation unit;Described information conversion unit and image binaryzation unit signal respectively are connected to flash memory;Described
Flash memory signals is connected to arithmetic element;Described arithmetic element signal is connected to information synthesis unit;Described information synthesis unit divides
Level signal is connected to Key input unit and coding inverse transform unit.
Described arithmetic element includes: logic NOT inverse operation unit, logic or inverse operation unit and logical AND inverse operation unit;
Described logic NOT inverse operation cell signal is connected to logic or inverse operation unit;Described logic or inverse operation cell signal are connected to
Logical AND inverse operation unit.
Described information conversion unit includes: Date Conversion Unit and;Described Date Conversion Unit signal respectively is connected to number
According to combining unit and image segmentation unit;Described data combination unit signal is connected to flash memory.
Described image binaryzation unit includes: threshold value setting module and binarization block;Described threshold value setting module signal
It is connected to binarization block, for setting discrimination threshold when binarization block carries out binary conversion treatment;Described binarization block,
Image information for sending over image segmentation unit carries out image binaryzation process.
Described information synthesis unit includes: synthesis unit and cutting unit;Described synthesis unit signal is connected to computing list
Unit, for synthesizing the result of arithmetic element computing;Described synthesis unit signal is connected to cutting unit;Described segmentation is single
Unit's signal is connected to encode inverse transform unit, for the key inputted according to Key input unit by the data message of synthesis unit
It is divided into the character string that several are independent.
The decryption method of a kind of deciphering device based on image recognition technology, it is characterised in that described method includes following
Step:
Step 1: user is by the binary image after encryption device typing encryption;The image of typing is split by encryption device
Process;
Step 2: encryption device carries out information conversion to the binary image after segmentation, is converted to the binary system of correspondence by pixel
Character string;Character string is sent in flash memory;
Step 3: the image of encryption device typing deciphering is new;This image information is split and after binary conversion treatment, just
The result of this binaryzation sends to flash memory;
Step 4: encryption device reads data message from flash memory, the logical inverse computing being encrypted;Data after being deciphered
Information, sends the data message after deciphering to information synthesis unit;
Step 5: the data message after first arithmetic element is processed by encryption device merges, and is merged into single character string, will
This character string, according to the key of input in information synthesis unit, is divided into the part that several are independent;
Step 6: coding inverse transform unit, by regular according to code conversion for several the independent character strings received, is converted into the Chinese
Sub-information.
The method that described image binaryzation unit carries out image binaryzation comprises the following steps:
Step 1: calculate the grey level histogram published picture;
Step 2: calculate the inter-class variance of this image
;
Step 3: the variance within clusters of calculating image:
;
Step 4: rectangular 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: carry out binary conversion treatment according to this threshold value.
The information synthesis method of described information synthesis unit comprises the following steps:
Step 1: data message arithmetic element sended over connects into an independent character string;
Step 1: the numerical value of the key that data message arithmetic element sended over inputs according to Key input unit, will receive
To data message cut into several independent independent character strings;It is sent to encode inverse transform unit.
Use above technical scheme, present invention produces following beneficial effect:
1, it is decrypted for image encryption data: the deciphering device of the present invention is for encryption device based on image recognition technology
It is decrypted, utilizes image information during image encryption to be decrypted, it is adaptable to utilize the deciphering of data message after image encryption.
2, the encryption device of the present invention either word processing section or image processing section all only have the word of routine
Process and the partial function of image processing apparatus, enormously simplify the process of image procossing and the process of word processing, it is not necessary to
Image processing apparatus that precision is higher or character processor, reduce the cost of device.
Use above technical scheme, present invention produces following beneficial effect:
1, it is decrypted for image encryption data: the deciphering device of the present invention is for encryption device based on image recognition technology
It is decrypted, utilizes image information during image encryption to be decrypted, it is adaptable to utilize the deciphering of data message after image encryption.
2, decryption method is unique: the decryption method of the present invention, after using image data information during image encryption, and encryption
Data message carry out logical inverse computing and obtain final decrypted result, it is ensured that the data utilizing the method to be encrypted can only
It is decrypted by this approach, it is ensured that the safety of information.
3, the encryption device of the present invention either word processing section or image processing section all only have the word of routine
Process and the partial function of image processing apparatus, enormously simplify the process of image procossing and the process of word processing, it is not necessary to
Image processing apparatus that precision is higher or character processor, reduce the cost of device.
Accompanying drawing explanation
Fig. 1 is the apparatus structure schematic diagram of a kind of based on image recognition technology the deciphering device and method of the present invention.
Detailed description of the invention
All features disclosed in this specification, or disclosed all anti-fall method or during step, except mutually
Beyond the feature repelled mutually and/or step, all can combine by any way.
Any feature disclosed in this specification (including any accessory claim, summary), unless specifically stated otherwise,
By other equivalences or there is the alternative features of similar purpose replaced.I.e., unless specifically stated otherwise, each feature is a series of
An example in equivalence or similar characteristics.
The embodiment of the present invention 1 provides a kind of deciphering device based on image recognition technology, apparatus structure such as Fig. 1 institute
Show:
A kind of deciphering device based on image recognition technology, it is characterised in that described device includes: described encryption device includes:
Encryption Data Enter unit;Described encryption Data Enter cell signal is connected to picture segmentation unit;Described picture segmentation unit
Signal is connected to information conversion unit;Described information conversion unit signal is connected to flash memory;Described encryption device also includes: image
Data Enter unit;Described image information typing cell signal is connected to picture segmentation unit;Described picture segmentation cell signal
It is connected to image binaryzation unit;Described information conversion unit and image binaryzation unit signal respectively are connected to flash memory;Described
Flash memory signals is connected to arithmetic element;Described arithmetic element signal is connected to information synthesis unit;Described information synthesis unit divides
Level signal is connected to Key input unit and coding inverse transform unit.
Described arithmetic element includes: logic NOT inverse operation unit, logic or inverse operation unit and logical AND inverse operation unit;
Described logic NOT inverse operation cell signal is connected to logic or inverse operation unit;Described logic or inverse operation cell signal are connected to
Logical AND inverse operation unit.
Described information conversion unit includes: Date Conversion Unit and;Described Date Conversion Unit signal respectively is connected to number
According to combining unit and image segmentation unit;Described data combination unit signal is connected to flash memory.
Described image binaryzation unit includes: threshold value setting module and binarization block;Described threshold value setting module signal
It is connected to binarization block, for setting discrimination threshold when binarization block carries out binary conversion treatment;Described binarization block,
Image information for sending over image segmentation unit carries out image binaryzation process.
Described information synthesis unit includes: synthesis unit and cutting unit;Described synthesis unit signal is connected to computing list
Unit, for synthesizing the result of arithmetic element computing;Described synthesis unit signal is connected to cutting unit;Described segmentation is single
Unit's signal is connected to encode inverse transform unit, for the key inputted according to Key input unit by the data message of synthesis unit
It is divided into the character string that several are independent.
The embodiment of the present invention 2 provides a kind of decryption method based on image recognition technology:
The decryption method of a kind of deciphering device based on image recognition technology, it is characterised in that said method comprising the steps of:
Step 1: user is by the binary image after encryption device typing encryption;The image of typing is split by encryption device
Process;
Step 2: encryption device carries out information conversion to the binary image after segmentation, is converted to the binary system of correspondence by pixel
Character string;Character string is sent in flash memory;
Step 3: the image of encryption device typing deciphering is new;This image information is split and after binary conversion treatment, just
The result of this binaryzation sends to flash memory;
Step 4: encryption device reads data message from flash memory, the logical inverse computing being encrypted;Data after being deciphered
Information, sends the data message after deciphering to information synthesis unit;
Step 5: the data message after first arithmetic element is processed by encryption device merges, and is merged into single character string, will
This character string, according to the key of input in information synthesis unit, is divided into the part that several are independent;
Step 6: coding inverse transform unit, by regular according to code conversion for several the independent character strings received, is converted into the Chinese
Sub-information.
The method that described image binaryzation unit carries out image binaryzation comprises the following steps:
Step 1: calculate the grey level histogram published picture;
Step 2: calculate the inter-class variance of this image
;
Step 3: the variance within clusters of calculating image:
;
Step 4: rectangular 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: carry out binary conversion treatment according to this threshold value.
The information synthesis method of described information synthesis unit comprises the following steps:
Step 1: data message arithmetic element sended over connects into an independent character string;
Step 1: the numerical value of the key that data message arithmetic element sended over inputs according to Key input unit, will receive
To data message cut into several independent independent character strings;It is sent to encode inverse transform unit.
Providing a kind of deciphering device and method based on image recognition technology in the embodiment of the present invention 3, apparatus structure is such as
Shown in Fig. 1:
A kind of deciphering device based on image recognition technology, it is characterised in that described device includes: described encryption device includes:
Encryption Data Enter unit;Described encryption Data Enter cell signal is connected to picture segmentation unit;Described picture segmentation unit
Signal is connected to information conversion unit;Described information conversion unit signal is connected to flash memory;Described encryption device also includes: image
Data Enter unit;Described image information typing cell signal is connected to picture segmentation unit;Described picture segmentation cell signal
It is connected to image binaryzation unit;Described information conversion unit and image binaryzation unit signal respectively are connected to flash memory;Described
Flash memory signals is connected to arithmetic element;Described arithmetic element signal is connected to information synthesis unit;Described information synthesis unit divides
Level signal is connected to Key input unit and coding inverse transform unit.
Described arithmetic element includes: logic NOT inverse operation unit, logic or inverse operation unit and logical AND inverse operation unit;
Described logic NOT inverse operation cell signal is connected to logic or inverse operation unit;Described logic or inverse operation cell signal are connected to
Logical AND inverse operation unit.
Described information conversion unit includes: Date Conversion Unit and;Described Date Conversion Unit signal respectively is connected to number
According to combining unit and image segmentation unit;Described data combination unit signal is connected to flash memory.
Described image binaryzation unit includes: threshold value setting module and binarization block;Described threshold value setting module signal
It is connected to binarization block, for setting discrimination threshold when binarization block carries out binary conversion treatment;Described binarization block,
Image information for sending over image segmentation unit carries out image binaryzation process.
Described information synthesis unit includes: synthesis unit and cutting unit;Described synthesis unit signal is connected to computing list
Unit, for synthesizing the result of arithmetic element computing;Described synthesis unit signal is connected to cutting unit;Described segmentation is single
Unit's signal is connected to encode inverse transform unit, for the key inputted according to Key input unit by the data message of synthesis unit
It is divided into the character string that several are independent.
The decryption method of a kind of deciphering device based on image recognition technology, it is characterised in that described method includes following
Step:
Step 1: user is by the binary image after encryption device typing encryption;The image of typing is split by encryption device
Process;
Step 2: encryption device carries out information conversion to the binary image after segmentation, is converted to the binary system of correspondence by pixel
Character string;Character string is sent in flash memory;
Step 3: the image of encryption device typing deciphering is new;This image information is split and after binary conversion treatment, just
The result of this binaryzation sends to flash memory;
Step 4: encryption device reads data message from flash memory, the logical inverse computing being encrypted;Data after being deciphered
Information, sends the data message after deciphering to information synthesis unit;
Step 5: the data message after first arithmetic element is processed by encryption device merges, and is merged into single character string, will
This character string, according to the key of input in information synthesis unit, is divided into the part that several are independent;
Step 6: coding inverse transform unit, by regular according to code conversion for several the independent character strings received, is converted into the Chinese
Sub-information.
The method that described image binaryzation unit carries out image binaryzation comprises the following steps:
Step 1: calculate the grey level histogram published picture;
Step 2: calculate the inter-class variance of this image
;
Step 3: the variance within clusters of calculating image:
;
Step 4: rectangular 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: carry out binary conversion treatment according to this threshold value.
The information synthesis method of described information synthesis unit comprises the following steps:
Step 1: data message arithmetic element sended over connects into an independent character string;
Step 1: the numerical value of the key that data message arithmetic element sended over inputs according to Key input unit, will receive
To data message cut into several independent independent character strings;It is sent to encode inverse transform unit.
The invention is not limited in aforesaid detailed description of the invention.The present invention expands to any disclose in this manual
New feature or any new combination, and arbitrary new anti-fall method or the step of process or any new combination disclosed.
Claims (8)
1. a deciphering device based on image recognition technology, it is characterised in that described deciphering device includes: encryption Data Enter
Unit;Described encryption Data Enter cell signal is connected to picture segmentation unit;Described picture segmentation cell signal is connected to letter
Breath converting unit;Described information conversion unit signal is connected to flash memory;Described encryption device also includes: image information typing list
Unit;Described image information typing cell signal is connected to picture segmentation unit;Described picture segmentation cell signal is connected to image
Binarization unit;Described information conversion unit and image binaryzation unit signal respectively are connected to flash memory;Described flash memory signals is even
It is connected to arithmetic element;Described arithmetic element signal is connected to information synthesis unit;Described information synthesis unit signal respectively connects
In Key input unit and coding inverse transform unit.
2. deciphering device based on image recognition technology as claimed in claim 1, it is characterised in that described arithmetic element bag
Include: logic NOT inverse operation unit, logic or inverse operation unit and logical AND inverse operation unit;Described logic NOT inverse operation unit is believed
Number it is connected to logic or inverse operation unit;Described logic or inverse operation cell signal are connected to logical AND inverse operation unit.
3. deciphering device based on image recognition technology as claimed in claim 1 or 2, it is characterised in that described information is changed
Unit includes: Date Conversion Unit and;Described Date Conversion Unit signal respectively is connected to data combination unit and image segmentation
Unit;Described data combination unit signal is connected to flash memory.
4. deciphering device based on image recognition technology as claimed in claim 3, 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, is used for setting
Binarization block carries out discrimination threshold during binary conversion treatment;Described binarization block, for being transmitted across image segmentation unit
The image information come carries out image binaryzation process.
5. deciphering device based on image recognition technology as claimed in claim 4, it is characterised in that described information synthesis unit
Including: synthesis unit and cutting unit;Described synthesis unit signal is connected to arithmetic element, for by the knot of arithmetic element computing
Fruit synthesizes;Described synthesis unit signal is connected to cutting unit;Described cutting unit signal is connected to encode inverse conversion list
Unit, for becoming several independent characters by the data message of synthesis unit according to the Secret splitting that Key input unit inputs
String.
6. a decryption method based on the deciphering device based on image recognition technology one of claim 1 to 5 Suo Shu, it is special
Levy and be, said method comprising the steps of:
Step 1: user is by the binary image after encryption device typing encryption;The image of typing is split by encryption device
Process;
Step 2: encryption device carries out information conversion to the binary image after segmentation, is converted to the binary system of correspondence by pixel
Character string;Character string is sent in flash memory;
Step 3: the image of encryption device typing deciphering is new;This image information is split and after binary conversion treatment, just
The result of this binaryzation sends to flash memory;
Step 4: encryption device reads data message from flash memory, the logical inverse computing being encrypted;Data after being deciphered
Information, sends the data message after deciphering to information synthesis unit;
Step 5: the data message after first arithmetic element is processed by encryption device merges, and is merged into single character string, will
This character string, according to the key of input in information synthesis unit, is divided into the part that several are independent;
Step 6: coding inverse transform unit, by regular according to code conversion for several the independent character strings received, is converted into the Chinese
Sub-information.
7. decryption method based on image recognition technology as claimed in claim 6, it is characterised in that described image binaryzation list
Unit carries out the method for image binaryzation and comprises the following steps:
Step 1: calculate the grey level histogram published picture;
Step 2: calculate the inter-class variance of this image
QUOTE ;
Step 3: the variance within clusters of calculating image:
QUOTE ;
Step 4: rectangular 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:
QUOTE ;
Step 6: carry out binary conversion treatment according to this threshold value.
8. decryption method based on image recognition technology as claimed in claim 6, it is characterised in that described information synthesis unit
Information synthesis method comprise the following steps:
Step 1: data message arithmetic element sended over connects into an independent character string;
Step 1: the numerical value of the key that data message arithmetic element sended over inputs according to Key input unit, will receive
To data message cut into several independent independent character strings;It is sent to encode inverse transform unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610837380.3A CN106296563A (en) | 2016-09-21 | 2016-09-21 | A kind of deciphering device and method based on image recognition technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610837380.3A CN106296563A (en) | 2016-09-21 | 2016-09-21 | A kind of deciphering device and method based on image recognition technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106296563A true CN106296563A (en) | 2017-01-04 |
Family
ID=57711689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610837380.3A Withdrawn CN106296563A (en) | 2016-09-21 | 2016-09-21 | A kind of deciphering device and method based on image recognition technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106296563A (en) |
Cited By (1)
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 |
-
2016
- 2016-09-21 CN CN201610837380.3A patent/CN106296563A/en not_active Withdrawn
Cited By (1)
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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10375066B2 (en) | Authentication method and system by garbled circuit | |
JP6450479B2 (en) | Anti-counterfeiting method | |
US9722782B2 (en) | Information processing method, recording medium, and information processing apparatus | |
US8959357B2 (en) | Biometric encryption and key generation | |
CN101295343A (en) | Two-dimensional code multi-enciphering anti-fake printing method | |
CN112600665B (en) | Hidden communication method, device and system based on block chain and encryption technology | |
US11057192B2 (en) | Method and apparatus for generating a cover image for steganography | |
CN106408501A (en) | Encryption device and method based on image recognition technology | |
CN113055153B (en) | Data encryption method, system and medium based on fully homomorphic encryption algorithm | |
CN113225297A (en) | Data hybrid encryption method, device and equipment | |
CN103532960A (en) | Text encryption interaction method, encryption method and device, decryption method and device | |
Ivasenko et al. | Information Transmission Protection Using Linguistic Steganography With Arithmetic Encoding And Decoding Approach | |
CN106296563A (en) | A kind of deciphering device and method based on image recognition technology | |
CN105450591A (en) | An information verification method and system, clients and a server | |
KR102375973B1 (en) | Security server using case based reasoning engine and storage medium for installing security function | |
CN104393988B (en) | A kind of reversible data ciphering method and device | |
Abd Aljabar et al. | Encryption VoIP based on generated biometric key for RC4 algorithm | |
CN113672954B (en) | Feature extraction method and device and electronic equipment | |
CN115765976A (en) | Verification code encryption method, electronic equipment and storage medium | |
CN111309987B (en) | Encryption algorithm identification method and device in actual attack scene | |
CN115344895A (en) | Trusted digital identity CTID network card decoding chip and design method thereof | |
CN115935299A (en) | Authorization control method, device, computer equipment and storage medium | |
JP6086416B1 (en) | Data processing system, data management device, method and program, data processing device, method and program | |
KR101852703B1 (en) | Sentence recognition device, sentence recognition method, and program | |
Wahdan et al. | Cryptosystem from multiple biometric modalities |
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: 20170104 |
|
WW01 | Invention patent application withdrawn after publication |