CN107920083A - A kind of data encryption and decryption device and its encryption and decryption approaches - Google Patents

A kind of data encryption and decryption device and its encryption and decryption approaches Download PDF

Info

Publication number
CN107920083A
CN107920083A CN201711265129.5A CN201711265129A CN107920083A CN 107920083 A CN107920083 A CN 107920083A CN 201711265129 A CN201711265129 A CN 201711265129A CN 107920083 A CN107920083 A CN 107920083A
Authority
CN
China
Prior art keywords
data
encryption
module
decryption
database
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.)
Pending
Application number
CN201711265129.5A
Other languages
Chinese (zh)
Inventor
张婕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Army Show Consulting Co Ltd
Original Assignee
Beijing Army Show Consulting Co Ltd
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 Beijing Army Show Consulting Co Ltd filed Critical Beijing Army Show Consulting Co Ltd
Priority to CN201711265129.5A priority Critical patent/CN107920083A/en
Publication of CN107920083A publication Critical patent/CN107920083A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • H04L63/205Network architectures or network communication protocols for network security for managing network security; network security policies in general involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a kind of data encryption and decryption device and its encryption and decryption approaches,Including device body,Encryption device,Decrypt device,Include data reception module on encryption device,Data resolution module,Data judgment module,Microprocessor,Key selection unit,Encrypting module,Memory module,Data transmission blocks,Database is equipped with decryption device,Determining module,Searching module,Call unit,Decoding request module,Decipherment algorithm request unit,Deciphering module,Output unit,It is attached between encryption device and decryption device using RS232 interface or RS485 interfaces,In order to ensure the safety of data,The grade of data is parsed according to data resolution module,The encryption method of data is being selected by key selecting module,It is the encryption method that data obtain being only applicable to related data,Data decryption apparatus by searching for module searching data cipher mode,Corresponding decipherment algorithm is being called by call unit,Accelerate decryption speed.

Description

A kind of data encryption and decryption device and its encryption and decryption approaches
Technical field
The present invention relates to field of information security technology, is specially a kind of data encryption and decryption device and its encryption and decryption Method.
Background technology
Nowadays, the world has been enter into the information age, and computer network has obtained development at full speed, it is related to social life Various aspects.But while enjoyment network brings convenient for us, many problems are also faced with, wherein most prominent The problem of one of problem is exactly the network information security.In order to solve Network Information Security Problem, people are frequently with data encryption Form protects the network information.Data encryption refers to that by Encryption Algorithm and encryption key ciphertext will be changed into plain text, real Existing information hiding, so as to play the effect of protection information safety.
Traditionally, in disk set, optical disc apparatus and other storage arrangements, in order to prevent information due to theft and Unauthorized access and leak, when recording data in storage medium (for example, disk and CD) or to such as analytic accounting The host apparatus of the network system of calculation machine sends data or the host apparatus of the network system from such as master computer receives data When, data are encrypted.
At present, cloud computing is gradually approved by industry, and cloud data center gradually rises in social production and sphere of life To more and more important effect.Store substantial amounts of data in cloud data center, how efficiently, safety carries out data add Close, preservation, transmission, are a good problems to study.But in current ciphering process, for wanting encrypted data object, It is that all data in data object are encrypted when docking object is encrypted, ciphering process needs the long period, Data encryption it is less efficient.The efficiency for how improving data encryption is a problem to be solved.
The present invention is related with data encryption and decryption device, especially with regard to a kind of data encryption and decryption device and its adds Close and decryption method.
The content of the invention
This purpose invented in fact is to provide a kind of grade for parsing data according to data resolution module, is passing through key Selecting module selects the encryption method of data, is the encryption method that data obtain being only applicable to related data, data decryption apparatus By searching for the cipher mode of module searching data, corresponding decipherment algorithm is being called by call unit, is accelerating decryption speed A kind of data encryption and decryption device and its encryption and decryption approaches to solve the problems mentioned in the above background technology.
To achieve the above object, the present invention provides following technical solution:A kind of data encryption and decryption device, including encryption Device, decryption device, described device body are equipped with encryption device, decryption device, lead between the encryption dress and decryption device RS232 interface, the connection of RS485 interfaces are crossed, the left end of the encryption device is equipped with data receiver port.
Preferably, the encryption device is equipped with data reception module, one end and the data solution of the data reception module Analyse module connection, the other end of the data resolution module is connected with data judgment module, the data judgment module it is another End is connected with microprocessor, a both ends key selection unit in parallel for the microprocessor, the other end of the microprocessor It is connected with encrypting module, the upper end of the encrypting module is equipped with memory module, and the lower end of the encrypting module is equipped with data sending Module.
Preferably, the decryption device is equipped with data reception module, and the other end of the data reception module is equipped with really Cover half block, the right end of the data reception module are equipped with database, and the lower end of data reception module is equipped with determining module, described true The right end of cover half block is equipped with searching module, and the right end of the searching module is equipped with call unit, the other end of the call unit Be connected with decoding request module, one end of the decoding request module is connected with deciphering module, the decoding request module it is another One end is connected with decipherment algorithm request unit, and the other end of the deciphering module is connected with output unit.
Preferably, the microprocessor be equipped with SDRAM module, A A described in D modular converters D modular converters the other end It is connected with RS232 serial line interfaces.
Preferably, the data encryption system of the encrypting module is equipped with database application, database application It is connected with encryption system management program, the encryption handling system program transfers data to data base encryption engine, encrypted word Allusion quotation, connects between encryption dictionary and data base encryption engine, the encryption system management program, data base encryption engine and data Storehouse connects.
Preferably, the data encryption system of the deciphering module is equipped with database application, database application It is connected with encryption system management program, the decryption management system program transfers data to data base encryption engine, decrypted word Allusion quotation, decrypts and is connected between dictionary and data base encryption engine, the decryption system management program, database decryption engine and data Storehouse connects.
Preferably, a kind of encryption and decryption approaches of data encryption and decryption device comprise the following steps:
A, data receiver port receives the initial data for needing to preserve, and initial data reaches data reception module;
B, the data resolution module of encryption device parses the data of reception, will be solved using data application management program The data of analysis carry out the analysis of depth, and judge;
C, the data by parsing send a signal to key selection unit, key choosing by the encryption handling on microprocessor Select the encryption method that Unit selection is adapted to;
D, data base encryption engine driver provides encrypted ciphertext by encryption dictionary, and data are encrypted, and adds Close good data are stored to database;
E, the data transmit-receive module decrypted on device receives encrypted data file;
F, determining module judges the encryption file of reception, is determined to decrypt and determines the security of data;
G, searching module is found the encryption method that encryption device uses, is adjusted from database by database application Encryption file is decrypted with corresponding decryption program;
H, the data after decrypting are stored to DB Backup, while the data file of decryption is exported.
Compared with prior art, the beneficial effects of the invention are as follows:
(1) in the present invention, in order to ensure the safety of data, the grade of data is parsed according to data resolution module, logical The encryption method of key selecting module selection data is crossed, is the encryption method that data obtain being only applicable to related data, data solution Close device is calling corresponding decipherment algorithm by call unit, is accelerating solution by searching for the cipher mode of module searching data Close speed;
(2) present invention encryption information transmit during, even if by trojan horse etc. obtain the encryption information, also without Method correctly decrypts the encryption information, and then ensures the security of data.
Brief description of the drawings
Fig. 1 is the device of the invention body construction schematic diagram.
In figure:1st, device body;2nd, data receiver port;3rd, encryption device;4th, device is decrypted;5th, data reception module; 6th, data resolution module;7th, data judgment module;8th, microprocessor;9th, key selection unit;10th, encrypting module;11st, mould is stored Block;12nd, data transmission blocks;13rd, database;14th, determining module;15th, searching module;16th, call unit;17th, decoding request Module;18th, decipherment algorithm request unit;19th, deciphering module;20th, output unit.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution applied to the present invention in example carries out clear, complete Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained without making creative work Example is applied, belongs to the scope of protection of the invention.
Referring to Fig. 1, the present invention provides a kind of technical solution:A kind of data encryption and decryption device, including device body 1st, encryption device 3, decryption device 4, device body 1 be equipped with encryption device 3, decryption device 4, encryption fill 3 with decryption device 4 it Between connected by RS232 interface, RS485 interfaces, the left end of encryption device 3 is equipped with data receiver port 2.
Encryption device 3 is equipped with data reception module 5, and one end of data reception module 5 is connected with data resolution module 6, The other end of data resolution module 6 is connected with data judgment module 7, and the other end and the microprocessor 8 of data judgment module 7 connect Connect, a both ends key selection unit 9 in parallel for microprocessor 8, the other end of microprocessor 8 is connected with encrypting module 10, adds The upper end of close module 10 is equipped with memory module 11, and the lower end of encrypting module 10 is equipped with data transmission blocks 12.
In the present invention, decryption device 4 is equipped with data reception module 5, and the other end of data reception module 5, which is equipped with, determines mould Block 14, the right end of data reception module 5 are equipped with database 13, and the lower end of data reception module 5 is equipped with determining module 14, determines mould The right end of block 14 is equipped with searching module 15, and the right end of searching module 15 is equipped with call unit 16, the other end of call unit 16 with Decoding request module 17 connects, and one end of decoding request module 17 is connected with deciphering module 19, decoding request module 17 it is another End is connected with decipherment algorithm request unit 18, and single 20 yuan of the other end and the output of deciphering module 18 is connected.
Microprocessor 8 be equipped with SDRAM module, A A described in D modular converters D modular converters the other end and RS232 string Line interface connects.
In the present invention, the data encryption system of encrypting module 3 is equipped with database application, database application with Encryption system management program connects, and encryption handling system program transfers data to data base encryption engine, encryption dictionary, encrypts Connected between dictionary and data base encryption engine, encryption system management program, data base encryption engine are connected with database.
In the present invention, the data encryption system of deciphering module 4 is equipped with database application, database application with Encryption system management program connects, and decryption management system program transfers data to data base encryption engine, decryption dictionary, decryption Connected between dictionary and data base encryption engine, decryption system management program, database decryption engine are connected with database.
In order to ensure the safety of data, the grade of data is parsed according to data resolution module 6, list is being selected by key Member 9 selects the encryption method of data, is the encryption method that data obtain being only applicable to related data, data decryption apparatus is by looking into The cipher mode of module searching data is looked for, corresponding decipherment algorithm is being called by call unit 16, is accelerating decryption speed, this hair It is bright encryption information transmit during, even if by trojan horse etc. obtain the encryption information, also can not be to the encryption information Correctly decrypted, and then ensure the security of data.
The encryption and decryption approaches of the present invention comprise the following steps:
A, data receiver port 2 receives the initial data for needing to preserve, and initial data reaches data reception module;
B, the data resolution module 6 of encryption device 3 parses the data of reception, will using data application management program The data of parsing carry out the analysis of depth, and judge;
C, the data by parsing send a signal to key selection unit 9, key by the encryption handling on microprocessor 8 The suitable encryption method of the selection of selecting unit 9;
D, data base encryption engine driver provides encrypted ciphertext by encryption dictionary, and data are encrypted, and adds Close good data are stored to database;
E, the data transmit-receive module decrypted on device 4 receives encrypted data file;
F, determining module 14 judges the encryption file of reception, is determined to decrypt and determines the safety of data Property;
G, searching module 15 finds the encryption method that encryption device uses, from database by database application Call corresponding decryption program that encryption file is decrypted;
H, the data after decrypting are stored to DB Backup, while the data file of decryption is exported.
Although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with Understanding without departing from the principles and spirit of the present invention can carry out these embodiments a variety of changes, modification, replace And modification, the scope of the present invention is defined by the appended.

Claims (7)

1. a kind of data encryption and decryption device, including device body (1), encryption device (3), decryption device (4), its feature exist In:Described device body (1) be equipped with encryption device (3), decryption device (4), it is described encryption dress (3) with decryption device (4) it Between connected by RS232 interface, RS485 interfaces, the left end of the encryption device (3) is equipped with data receiver port (2).
A kind of 2. data encryption and decryption device according to claim 1, it is characterised in that:On the encryption device (3) Equipped with data reception module (5), one end of the data reception module (5) is connected with data resolution module (6), the data solution The other end of analysis module (6) is connected with data judgment module (7), the other end and microprocessor of the data judgment module (7) (8) connect, a both ends key selection unit (9) in parallel for the microprocessor (8), the other end of the microprocessor (8) It is connected with encrypting module (10), the upper end of the encrypting module (10) is equipped with memory module (11), the encrypting module (10) Lower end is equipped with data transmission blocks (12).
A kind of 3. data encryption and decryption device according to claim 1, it is characterised in that:On the decryption device (4) Equipped with data reception module (5), the other end of the data reception module (5) is equipped with determining module (14), the data receiver The right end of module (5) is equipped with database (13), and the lower end of data reception module (5) is equipped with determining module (14), the definite mould The right end of block (14) is equipped with searching module (15), and the right end of the searching module (15) is equipped with call unit (16), the calling The other end of unit (16) is connected with decoding request module (17), one end of the decoding request module (17) and deciphering module (19) connect, the other end of the decoding request module (17) is connected with decipherment algorithm request unit (18), the deciphering module (18) the other end is connected with output single (20) member.
A kind of 4. data encryption and decryption device according to claim 2, it is characterised in that:On the microprocessor (8) Equipped with SDRAM module, A A described in D modular converters the other ends of D modular converters be connected with RS232 serial line interfaces.
A kind of 5. data encryption and decryption device according to claim 2, it is characterised in that:The encrypting module (3) Data encryption system is equipped with database application, and database application is connected with encryption system management program, described to add Close management system program transfers data to data base encryption engine, encryption dictionary, encryption dictionary and data base encryption engine it Between connect, the encryption system management program, data base encryption engine are connected with database.
A kind of 6. data encryption and decryption device according to claim 3, it is characterised in that:The deciphering module (4) Data encryption system is equipped with database application, and database application is connected with encryption system management program, the solution Close management system program transfers data to data base encryption engine, decryption dictionary, decryption dictionary and data base encryption engine it Between connect, the decryption system management program, database decryption engine are connected with database.
7. realize a kind of encryption and decryption approaches of data encryption and decryption device described in claim 1, it is characterised in that:Its Encryption and decryption approaches comprise the following steps:
A, data receiver port (2) receives the initial data for needing to preserve, and initial data reaches data reception module;
B, the data resolution module (6) of encryption device (3) parses the data of reception, will using data application management program The data of parsing carry out the analysis of depth, and judge;
C, the data by parsing send a signal to key selection unit (9), key by the encryption handling on microprocessor (8) The suitable encryption method of selecting unit (9) selection;
D, data base encryption engine driver provides encrypted ciphertext by encryption dictionary, and data are encrypted, and encrypts Data store to database;
E, the data transmit-receive module decrypted on device (4) receives encrypted data file;
F, determining module (14) judges the encryption file of reception, is determined to decrypt and determines the security of data;
G, searching module (15) is found the encryption method that encryption device uses, is adjusted from database by database application Encryption file is decrypted with corresponding decryption program;
H, the data after decrypting are stored to DB Backup, while the data file of decryption is exported.
CN201711265129.5A 2017-12-05 2017-12-05 A kind of data encryption and decryption device and its encryption and decryption approaches Pending CN107920083A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711265129.5A CN107920083A (en) 2017-12-05 2017-12-05 A kind of data encryption and decryption device and its encryption and decryption approaches

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711265129.5A CN107920083A (en) 2017-12-05 2017-12-05 A kind of data encryption and decryption device and its encryption and decryption approaches

Publications (1)

Publication Number Publication Date
CN107920083A true CN107920083A (en) 2018-04-17

Family

ID=61898328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711265129.5A Pending CN107920083A (en) 2017-12-05 2017-12-05 A kind of data encryption and decryption device and its encryption and decryption approaches

Country Status (1)

Country Link
CN (1) CN107920083A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111861143A (en) * 2020-06-29 2020-10-30 国网河北省电力有限公司信息通信分公司 Monitoring system for electric power information communication assets

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140101443A1 (en) * 2012-10-05 2014-04-10 Samsung Electronics Co., Ltd. Method and apparatus for selectively providing protection of screen information data
CN104573535A (en) * 2015-01-04 2015-04-29 深圳市中兴移动通信有限公司 Mobile terminal, and method and device for improving encryption efficiency
CN106656496A (en) * 2017-02-22 2017-05-10 郑州云海信息技术有限公司 Data encryption method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140101443A1 (en) * 2012-10-05 2014-04-10 Samsung Electronics Co., Ltd. Method and apparatus for selectively providing protection of screen information data
CN104573535A (en) * 2015-01-04 2015-04-29 深圳市中兴移动通信有限公司 Mobile terminal, and method and device for improving encryption efficiency
CN106656496A (en) * 2017-02-22 2017-05-10 郑州云海信息技术有限公司 Data encryption method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111861143A (en) * 2020-06-29 2020-10-30 国网河北省电力有限公司信息通信分公司 Monitoring system for electric power information communication assets

Similar Documents

Publication Publication Date Title
CN101196855B (en) Mobile encrypted memory device and cipher text storage area data encrypting and deciphering processing method
CN106682521B (en) File transparent encryption and decryption system and method based on driver layer
US10341305B2 (en) Encrypted communications method and communications terminal, and computer storage medium
CN103294961A (en) Method and device for file encrypting/decrypting
CN106713334B (en) Encryption method, decryption method, access method and device for virtual storage volume
US20040249993A1 (en) Method and apparatus for encrypting data to be secured and inputting/outputting the same
CN105447394A (en) Intelligent password key with local data encryption function
CN104933361A (en) Device and method for protecting login password
CN105389526B (en) Encrypted area and the mobile hard disk and its date storage method of non-encrypted area integration
CN103905197B (en) A kind of method that SIM card and external equipment are bound and verified
CN105303093A (en) Token verification method for cryptographic smart token
CN100364002C (en) Apparatus and method for reading or writing user data
CN107920083A (en) A kind of data encryption and decryption device and its encryption and decryption approaches
CN203720848U (en) Hard disk encryption device based on AES (advanced encryption standard) algorithm
CN107633177A (en) A kind of file management method of graded encryption
CN108021817A (en) A kind of encryption and decryption memory access interface realizes system and method
CN106257858A (en) The data ciphering method of a kind of remote storage device, Apparatus and system
KR101339666B1 (en) Method and apparatus for encryption for modbus communication
CN102012874A (en) USB (universal serial bus) storage device provided with resource manager
CN201984486U (en) Security chip, encryption box and USB interface identification and data storage equipment
CN103971069B (en) A kind of hybrid hard disk controller with data encryption feature
CN106454409A (en) Encrypting method and device of multimedia document
CN201188222Y (en) Apparatus for encrypting instruction of microcontroller
CN101694662A (en) Method for file security of NAND Flash, as well as device and system thereof
CN106470202A (en) The method of terminal speech encryption and terminal in the Cluster Multimedia system of broadband

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180417