CN101847427A - Recorder and encrypting and decrypting units thereof as well as record encrypting and decrypting methods - Google Patents

Recorder and encrypting and decrypting units thereof as well as record encrypting and decrypting methods Download PDF

Info

Publication number
CN101847427A
CN101847427A CN201010128938A CN201010128938A CN101847427A CN 101847427 A CN101847427 A CN 101847427A CN 201010128938 A CN201010128938 A CN 201010128938A CN 201010128938 A CN201010128938 A CN 201010128938A CN 101847427 A CN101847427 A CN 101847427A
Authority
CN
China
Prior art keywords
data
frame
frame data
matrix
decryption
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
CN201010128938A
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.)
Shenzhen Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics 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 Shenzhen Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN201010128938A priority Critical patent/CN101847427A/en
Publication of CN101847427A publication Critical patent/CN101847427A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention discloses a recorder, comprising a voice conversion unit used for converting voice in record into binary code, a coding unit used for coding the binary code into original frame data, an encrypting unit which is used for respectively acquiring each encrypted one frame data, respectively acquiring corresponding encryption matrix according to the length of each one frame data and obtaining an encrypted one frame data by multiplying one frame data with corresponding encryption matrix, a decrypting unit which is used for respectively acquiring each encrypted one frame data, respectively acquiring corresponding decryption matrix according to the length of each one frame data and obtaining a decrypted one frame data by multiplying the one frame data with the corresponding decryption matrix as well as a decoding unit used for decoding the decrypted one frame data. Voice is coded into frame data, one frame data is multiplied with encryption matrix to obtain encrypted one frame data, thus completing encryption process, in the same way, the encrypted one frame data is multiplied with decryption matrix, thus completing decryption process.

Description

Sound-track engraving apparatus and encryption thereof, decryption unit, recording file is encrypted, decryption method
Technical field
The present invention relates to technical field of data processing, more particularly, relate to a kind of sound-track engraving apparatus and encryption thereof, decryption unit, recording file is encrypted, decryption method.
Background technology
Along with the generally popularization of electronic equipment in people's life, sound-track engraving apparatus is as a kind of embedded equipment, and it begins to be applied in the increasing occasion because of convenient and swift.
Because the internal memory of sound-track engraving apparatus is less, so most of sound-track engraving apparatus is all adopting based on the Amr coded system.The Amr coding is the very high form of a kind of compression rates, uses this coded system compressibility very high, and code check will be lower, generally can not surpass 12kbit/s.Its recording quality of even now is relatively poor, but still allow for general recording.
While based on the protection reason to important recording, generally will encrypt recording file in Recording Process.China's application number 200910300490.6 provides a kind of file encryption, decryption method, in the file encryption process, to adopt cryptographic algorithm, be generally AES, DES and 3DES algorithm, this cryptographic algorithm computation process is too complicated, can only adopt hardware when using the scrambled data frame cipher mode, yet adopts hardware to realize increasing the cost of product.Equally, when data encrypted is decrypted, also to pass through a large amount of mathematical operations, so, the same more complicated of the process of deciphering.
Summary of the invention
In view of this, the invention provides a kind of sound-track engraving apparatus and encryption thereof, decryption unit, recording file is encrypted, decryption method, solving in existing file encryption, the decryption method, and the process complicated problems that causes because of a large amount of mathematical computations of needs.
Described recording file encryption method comprises:
The voice that transform in the recording file are binary code;
Described binary code is encoded to former frame data;
Obtain each frame data in the described former frame data respectively; Length according to described each frame data obtains corresponding scrambled matrix respectively;
Described each frame data and corresponding scrambled matrix multiplied each other obtain enciphered data.
Preferably, also comprise described enciphered data is all write audio file, and indicate that described audio file is an encrypt file.
Described recording file decryption method comprises:
Obtain each frame enciphered data respectively;
Length according to described each frame enciphered data obtains corresponding deciphering matrix respectively;
Described each frame enciphered data and corresponding deciphering matrix multiple are obtained data decryption.
Preferably, also comprise the described data decryption of decoding.
Described sound-track engraving apparatus comprises:
The speech conversion unit, the voice that are used for transforming recording file are binary code;
Coding unit is used for described binary code is encoded to former frame data;
Ciphering unit is used for obtaining respectively the former frame data of each frame; Length according to described each frame data obtains corresponding scrambled matrix respectively; The former frame data of described each frame and corresponding scrambled matrix multiplied each other obtain enciphered data;
Decryption unit is used for obtaining respectively each frame enciphered data; Length according to described each frame enciphered data obtains corresponding deciphering matrix respectively; Described each frame enciphered data and corresponding deciphering matrix multiple are obtained data decryption;
Decoding unit, described data decryption is used to decode.
Described sound-track engraving apparatus ciphering unit comprises:
Acquiring unit is used for obtaining respectively each frame data of former frame data;
Conversion unit is used for obtaining corresponding scrambled matrix respectively according to the length of described each frame data; Described frame data and corresponding scrambled matrix multiplied each other obtain enciphered data.
Described sound-track engraving apparatus decryption unit comprises:
Acquiring unit is used for obtaining respectively each frame enciphered data;
Conversion unit is used for obtaining corresponding deciphering matrix respectively according to the length of described each frame enciphered data; Described each frame enciphered data and corresponding deciphering matrix multiple are obtained data decryption.
From above-mentioned technical scheme as can be seen, sound-track engraving apparatus provided by the invention and encryption thereof, decryption unit, recording file is encrypted, the method for deciphering, by being frame data with voice coding, one frame data and the scrambled matrix frame data that obtain encrypting that multiply each other are finished ciphering process, equally, frame data of encryption are promptly finished decrypting process with the deciphering matrix multiple.No matter in encrypting still decrypting process, all do not need to carry out a large amount of mathematical computations, solved in existing file encryption, the decryption method, the process complicated problems that causes because of a large amount of mathematical computations of needs.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram of the disclosed a kind of recording file encryption method of the embodiment of the invention;
Fig. 2 is the process flow diagram of the disclosed a kind of recording file decryption method of the embodiment of the invention;
Fig. 3 is the structural representation of the disclosed a kind of sound-track engraving apparatus of the embodiment of the invention;
The structural representation of the ciphering unit of the disclosed a kind of sound-track engraving apparatus of Fig. 4 embodiment of the invention;
The structural representation of the decryption unit of the disclosed a kind of sound-track engraving apparatus of Fig. 5 embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The invention discloses a kind of sound-track engraving apparatus and encryption thereof, decryption unit, recording file is encrypted, the method for deciphering, solving in existing file encryption, the decryption method, and the process complicated problems that causes because of a large amount of mathematical computations of needs.
Below respectively the decryption method of decryption unit, recording file encryption method and the recording file of the ciphering unit of sound-track engraving apparatus, sound-track engraving apparatus, sound-track engraving apparatus is described by five embodiment.
The embodiment of the invention one discloses a kind of recording file encryption method, as shown in Figure 1, comprising:
Step S11, the voice that transform in the recording file are binary code;
Sound-track engraving apparatus can directly be gathered voice in the process of recording, be translated into binary code.
Step S12, described binary code is encoded to former frame data;
According to the preset coding form described binary code is compiled as frame data.
Step S13, obtain each frame data in the described former frame data respectively;
Wherein, data are deposited with the form of a frame one frame in the described former frame data, wherein, preserve the information of aspects such as a frame length, data type in the frame head of a frame, just can know the length of frame data by the frame head of accepting a frame.
Step S14, obtain corresponding scrambled matrix respectively according to the length of described each frame data;
Concrete, select the scrambled matrix principle to be: the length of supposing frame data is N, and then selecting scrambled matrix is N * N matrix.And N * N matrix is a transformation matrix, and requirement is that each row and each are shown and only had one 1, and other are 0 all, try not to allow 1 to be on the diagonal line.Be exemplified as: one 5 * 5 scrambled matrix A can for:
A = 0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0
Step S15, described each frame data and corresponding scrambled matrix multiplied each other obtains enciphered data.
Concrete, frame data that obtain encrypting after frame data and corresponding scrambled matrix multiply each other.
Wherein, it is one group of vector that frame data can be regarded as, by frame data and scrambled matrix are multiplied each other, the data of a frame can be upset in proper order, has promptly realized encryption.
Because the length of each frame data in the frame data is incomplete same, so the scrambled matrix of choosing is also incomplete same, frame data and separately scrambled matrix is multiplied each other encrypt respectively, also improved safety of data to a great extent.
Be encrypted as frame data of encryption when frame data after, frame data of described encryption all can also be write audio file, and indicate that described audio file is an encrypt file.Concrete, indicate that by the mode of in audio file, adding label audio file is an encrypt file.
When the needs playback, judge whether audio file is encrypt file earlier, if, carry out the disclosed decrypting process of second embodiment, if not, then play-over described audio file.
The embodiment of the invention two discloses a kind of recording file decryption method, as shown in Figure 2, comprising:
Step S21, obtain each frame enciphered data respectively;
Equally, the length that includes frame data at the frame head of frame data.
Step S22, obtain corresponding deciphering matrix respectively according to the length of described each frame enciphered data;
Wherein, can obtain deciphering the order of matrix number by the length of learning frame data, and the described deciphering matrix inverse matrix that is scrambled matrix.
Step S23, described each frame enciphered data and corresponding deciphering matrix multiple are obtained data decryption.
Because the deciphering matrix is the inverse matrix of scrambled matrix, the inverse matrix by the frame data that will encrypt and scrambled matrix multiplies each other just can obtain frame data of the frame data before the unencryption.Wherein, frame data of deciphering are the frame data before the unencryption, the frame data in the just former frame data.
After forming frame data of deciphering, also frame data of described deciphering to be decoded, after decoding finishes, just can play-over, other the frame data of deciphering of decoding simultaneously.
The embodiment of the invention three discloses a kind of sound-track engraving apparatus, as shown in Figure 3, comprising:
Speech conversion unit 101, the voice that are used for transforming recording file are binary code;
Coding unit 102 is used for described binary code is encoded to former frame data;
Ciphering unit 103 is used for obtaining respectively each frame data of described former frame data; Length according to described each frame data obtains corresponding scrambled matrix respectively; The frame data that described frame data and corresponding scrambled matrix are multiplied each other and obtain encrypting;
Decryption unit 104 is used for obtaining respectively frame data of each encryption; Length according to described each frame data obtains corresponding deciphering matrix respectively; The frame data that described frame data and corresponding deciphering matrix multiple are obtained deciphering;
Decoding unit 105, frame data of the described deciphering that is used to decode.
Concrete, start described sound-track engraving apparatus, make it enter duty, speech conversion unit 101, coding unit 102 and ciphering unit 103 also are activated and start working simultaneously, with voice coding, the encryption of described sound-track engraving apparatus admission; When needs are play the voice of encrypting, start decryption unit 104 and decoding unit 105, earlier the voice of encrypting are decrypted, afterwards, by playing after decoding unit 105 decodings.
The disclosed sound-track engraving apparatus of present embodiment, in the Recording Process, frame data are the unit with a frame, respectively to encoding, encrypt in the described frame data, having realized the function of encrypting while encoding, in the playing process, is the unit with a frame equally, frame data to deciphering are decrypted, decode, and have realized the function of the decoding while deciphering.
And, the frame data in the sound-track engraving apparatus with a frame be that the unit is decrypted, in the decode procedure, described sound-track engraving apparatus can also carry out other recording again, simultaneously coding, encrypted process.
Wherein, the embodiment of the invention four discloses a kind of sound-track engraving apparatus ciphering unit, as shown in Figure 4, comprising:
Acquiring unit 41 is used for obtaining respectively each frame data of former frame data;
Conversion unit 42 is used for obtaining corresponding scrambled matrix respectively according to the length of described each frame data; The frame data that described frame data and corresponding scrambled matrix are multiplied each other and obtain encrypting;
The concrete course of work of described sound-track engraving apparatus ciphering unit such as embodiment one described content are no longer given unnecessary details herein.
The embodiment of the invention five discloses a kind of sound-track engraving apparatus decryption unit, as shown in Figure 5, comprising:
Acquiring unit 51 is used for obtaining respectively frame data of each encryption;
Conversion unit 52 is used for obtaining corresponding deciphering matrix respectively according to the length of described each frame data; The frame data that described frame data and corresponding deciphering matrix multiple are obtained deciphering.
The concrete course of work of described sound-track engraving apparatus decryption unit such as embodiment two described contents are no longer given unnecessary details herein.
Each embodiment adopts the mode of going forward one by one to describe in this instructions, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
In sum, sound-track engraving apparatus provided by the invention and encryption thereof, decryption unit, recording file is encrypted, the method for deciphering, by being frame data with voice coding, one frame data and the scrambled matrix frame data that obtain encrypting that multiply each other are finished ciphering process, equally, frame data of encryption are promptly finished decrypting process with the deciphering matrix multiple.No matter in encrypting still decrypting process, all do not need to carry out a large amount of mathematical computations, solved in existing file encryption, the decryption method, the process complicated problems that causes because of a large amount of mathematical computations of needs.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined herein General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.

Claims (7)

1. a recording file encryption method is characterized in that, comprising:
The voice that transform in the recording file are binary code;
Described binary code is encoded to former frame data;
Obtain each frame data in the described former frame data respectively; Length according to described each frame data obtains corresponding scrambled matrix respectively;
Described each frame data and corresponding scrambled matrix multiplied each other obtain enciphered data.
2. method according to claim 1 is characterized in that, also comprises described enciphered data is all write audio file, and indicates that described audio file is an encrypt file.
3. a recording file decryption method is characterized in that, comprising:
Obtain each frame enciphered data respectively;
Length according to described each frame enciphered data obtains corresponding deciphering matrix respectively;
Described each frame enciphered data and corresponding deciphering matrix multiple are obtained data decryption.
4. method according to claim 3 is characterized in that, also comprises the described data decryption of decoding.
5. a sound-track engraving apparatus is characterized in that, comprising:
The speech conversion unit, the voice that are used for transforming recording file are binary code;
Coding unit is used for described binary code is encoded to former frame data;
Ciphering unit is used for obtaining respectively the former frame data of each frame; Length according to described each frame data obtains corresponding scrambled matrix respectively; The former frame data of described each frame and corresponding scrambled matrix multiplied each other obtain enciphered data;
Decryption unit is used for obtaining respectively each frame enciphered data; Length according to described each frame enciphered data obtains corresponding deciphering matrix respectively; Described each frame enciphered data and corresponding deciphering matrix multiple are obtained data decryption;
Decoding unit, described data decryption is used to decode.
6. a sound-track engraving apparatus ciphering unit is characterized in that, comprising:
Acquiring unit is used for obtaining respectively each frame data of former frame data;
Conversion unit is used for obtaining corresponding scrambled matrix respectively according to the length of described each frame data; Described frame data and corresponding scrambled matrix multiplied each other obtain enciphered data.
7. a sound-track engraving apparatus decryption unit is characterized in that, comprising:
Acquiring unit is used for obtaining respectively each frame enciphered data;
Conversion unit is used for obtaining corresponding deciphering matrix respectively according to the length of described each frame enciphered data; Described each frame enciphered data and corresponding deciphering matrix multiple are obtained data decryption.
CN201010128938A 2010-03-08 2010-03-08 Recorder and encrypting and decrypting units thereof as well as record encrypting and decrypting methods Pending CN101847427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010128938A CN101847427A (en) 2010-03-08 2010-03-08 Recorder and encrypting and decrypting units thereof as well as record encrypting and decrypting methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010128938A CN101847427A (en) 2010-03-08 2010-03-08 Recorder and encrypting and decrypting units thereof as well as record encrypting and decrypting methods

Publications (1)

Publication Number Publication Date
CN101847427A true CN101847427A (en) 2010-09-29

Family

ID=42772017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010128938A Pending CN101847427A (en) 2010-03-08 2010-03-08 Recorder and encrypting and decrypting units thereof as well as record encrypting and decrypting methods

Country Status (1)

Country Link
CN (1) CN101847427A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1258051A (en) * 1999-12-23 2000-06-28 赵风光 Encryption system and device for public key
CN101014060A (en) * 2007-02-02 2007-08-08 东南大学 Voice encryption method for GoTone handset with anti longterm prediction rule pulse excitation compression coding
US20080212424A1 (en) * 2007-03-01 2008-09-04 Lite-On It Corp. Data modulation/encryption method used in holographic storage system
CN101329869A (en) * 2008-07-31 2008-12-24 中国电信股份有限公司 System and method for encrypting acoustic source of speech encoding for vector quantization
CN101488860A (en) * 2009-02-20 2009-07-22 四川长虹电器股份有限公司 File ciphering, deciphering method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1258051A (en) * 1999-12-23 2000-06-28 赵风光 Encryption system and device for public key
CN101014060A (en) * 2007-02-02 2007-08-08 东南大学 Voice encryption method for GoTone handset with anti longterm prediction rule pulse excitation compression coding
US20080212424A1 (en) * 2007-03-01 2008-09-04 Lite-On It Corp. Data modulation/encryption method used in holographic storage system
CN101329869A (en) * 2008-07-31 2008-12-24 中国电信股份有限公司 System and method for encrypting acoustic source of speech encoding for vector quantization
CN101488860A (en) * 2009-02-20 2009-07-22 四川长虹电器股份有限公司 File ciphering, deciphering method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
《哈尔滨工程大学工学硕士学位论文》 20080131 陈柯欣 基于交织法与现代密码学的加密技术研究 7-8、67-77 1、6 , *
《大连理工大学硕士学位论文》 20091231 郭大朋 盲源分离语音加密系统的解密研究与SOPC设计 第4-6页 , 2 *
《长沙电力学院学报》 20030228 徐景实,谭利 矩阵加密与解密的一些方法 第3页 第18卷, 第1期 *
《长沙电力学院学报》 20030228 徐景实,谭利 矩阵加密与解密的一些方法 第3页 第18卷, 第1期 2 *

Similar Documents

Publication Publication Date Title
Yadav et al. A secure video steganography with encryption based on LSB technique
CN103428495B (en) Image encryption method and device and image decryption method and device
JP2008252938A5 (en)
WO2007121035A3 (en) Method and system for high throughput blockwise independent encryption/decryption
CN101969545A (en) Encryption method and device of multimedia file
HUP0401720A2 (en) An encryption device, a decrypting device, a secret key generation device, a copyright protection system and a cipher communication device
US7308099B1 (en) Device and method for producing an encoded audio and/or video data stream
TW200629855A (en) Confidential information processing method, confidential information processing device, and contents data reproducing device
TW200704095A (en) Data processing apparatus, system, and method
CN104869432B (en) A kind of image multiresolution compression encryption and classification decryption and display methods
WO2007001075A1 (en) Encryption device, encryption method, decryption device, decryption method, and data structure
CN102546156A (en) Method, system and device for grouping encryption
CN102163178A (en) Secure storage method of data
TW200703059A (en) Data processing apparatus, system, and method
EP1505762A4 (en) Encryption device and decryption device
CN110035319A (en) A kind of encryption and decryption method of audio, video data, device and playback equipment
CN109600620A (en) Video file guard method
CN105763525A (en) Identification code generation method, device, identification code decryption method and device
CN101534190A (en) A multi-channel encryption/decryption method, device and system
WO2015166701A1 (en) Encryption method, program, and system
CN101847427A (en) Recorder and encrypting and decrypting units thereof as well as record encrypting and decrypting methods
Roy et al. New Steganography approach using encrypted secret message inside Audio and Video media
CN112242970B (en) Data segmentation encryption security reinforcing method and device
RU2013102582A (en) METHOD OF PROTECTION, METHOD OF DECODING, MEDIA AND TERMINAL FOR METHOD OF PROTECTION
CN101394553A (en) Image ciphering, deciphering method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1148381

Country of ref document: HK

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100929

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1148381

Country of ref document: HK