CN105099669B - Recording encipher-decipher method and device - Google Patents

Recording encipher-decipher method and device Download PDF

Info

Publication number
CN105099669B
CN105099669B CN201510283522.1A CN201510283522A CN105099669B CN 105099669 B CN105099669 B CN 105099669B CN 201510283522 A CN201510283522 A CN 201510283522A CN 105099669 B CN105099669 B CN 105099669B
Authority
CN
China
Prior art keywords
recording
key
information
biological information
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.)
Active
Application number
CN201510283522.1A
Other languages
Chinese (zh)
Other versions
CN105099669A (en
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510283522.1A priority Critical patent/CN105099669B/en
Publication of CN105099669A publication Critical patent/CN105099669A/en
Application granted granted Critical
Publication of CN105099669B publication Critical patent/CN105099669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a kind of recording encipher-decipher method and devices, the described method comprises the following steps: the biological information of at least one recording participant of acquisition generates first key according to the biological information;It when recorded voice, is encrypted using voice data of the first key to recording, generates encryption recording file;When opening the encryption recording file, biological information is acquired, the second key is generated according to the biological information of acquisition, the encryption recording file is decrypted when second key is matched with the first key.To improve the safety of recording data.

Description

Recording encipher-decipher method and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of recording encipher-decipher methods and device.
Background technique
Internet era, it is more and more convenient that people obtain information, but personal information is also easier to leak simultaneously, how to protect Privacy also has been to be concerned by more and more people, therefore more stringent requirements are proposed to the encryption of data under various scenes.And it is recording In sound field scape, present most of sound pick-up outfits, are all to be recorded to recording data in the file of one routine, when other people get It, can normal uppick recording substance when this document.However, for some special recording scenes, if interview is recorded, rule Teacher collects evidence recording etc., and the recording file of generation may relate to privacy or secret information, if by other people uppicks recording Hold, will result in the leakage of privacy, cause unpredictable loss.Therefore, the recording data that existing sound pick-up outfit is recorded, peace Full property is lower.
Summary of the invention
The main purpose of the present invention is to provide a kind of recording encipher-decipher method and devices, it is intended to improve the peace of recording data Quan Xing.
To achieve these objectives, the present invention proposes a kind of recording encipher-decipher method, comprising the following steps:
The biological information of at least one recording participant of acquisition, generates first key according to the biological information;
It when recorded voice, is encrypted using voice data of the first key to recording, generates encryption recording file;
When opening the encryption recording file, biological information is acquired, generates the according to the biological information of acquisition Two keys are decrypted the encryption recording file when second key is matched with the first key.
Preferably, the biological information is acoustic information, finger print information, iris information or face information.
Preferably, the biological information is acoustic information, the biological characteristic of at least one recording participant of acquisition Information generates encryption key according to the biological information, comprising:
Acquire the acoustic information of two recording participants;
Two acoustic informations of acquisition are combined into first key.
Preferably, the recording participant is recording operation person or/and recording object.
Preferably, described two recording participants are two recording objects, and are two opposite sides.
The present invention proposes a kind of recording ciphering and deciphering device simultaneously, comprising:
First key generation module, for acquiring the biological information of at least one recording participant, according to the biology Characteristic information generates first key;
Encrypting module, it is raw for being encrypted using voice data of the first key to recording when recorded voice At encryption recording file;
Second key production module, for when opening the encryption recording file, acquisition biological information, according to adopting The biological information of collection generates the second key;
Deciphering module, for judging whether second key matches with the first key, when second key with When the first key matches, the encryption recording file is decrypted.
Preferably, the biological information is acoustic information, and the first key generation module is used for: two records of acquisition Two acoustic informations of acquisition are combined into first key by the acoustic information of sound participant.
A kind of recording encipher-decipher method provided by the present invention utilizes when recording the biology of at least one recording participant special Reference breath encrypts recording substance, listens to the biological information of recording participant when also needing encryption when recording It can be carried out decryption, ensure that the safety of recording substance, improve the safety of recording data.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing the mobile terminal of each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart of recording encipher-decipher method first embodiment of the invention;
Fig. 4 is the flow chart of recording encipher-decipher method second embodiment of the invention;
Fig. 5 is the module diagram of recording one embodiment of ciphering and deciphering device of the invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module 112, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB) Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Particularly, broadcasting reception module 111 It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video It broadcasts-holds (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via the received broadcast singal of broadcasting reception module 111 and/ Or broadcast related information can store in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module for checking or obtaining the location information of mobile terminal.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module 115, which calculates, comes from three or more satellites Range information and correct time information and the Information application triangulation for calculating, thus according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, it is defended for the method for calculating position and temporal information using three Star and the error that calculated position and temporal information are corrected by using an other satellite.In addition, GPS module 115 It can be by Continuous plus current location information in real time come calculating speed information.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera Microphone 1220, camera 121 is to the static map obtained in video acquisition mode or image capture mode by image capture apparatus The image data of piece or video is handled.Treated, and picture frame may be displayed on display module 151.At camera 121 Picture frame after reason can store in memory 160 (or other storage mediums) or carry out via wireless communication unit 110 It sends, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould Sound (audio data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be incited somebody to action Such acoustic processing is audio data.Audio that treated (voice) data can be converted in the case where telephone calling model For the format output that can be sent to mobile communication base station via mobile communication module 112.Various types can be implemented in microphone 122 Noise eliminate (or inhibit) algorithm with eliminate noise that (or inhibition) generates during sending and receiving audio signal or Person's interference.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display module 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal 100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 may include that proximity sensor 1410 will combine below Touch screen is described this.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display Module 151, audio output module 152, alarm modules 153 etc..
Display module 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display module 151 can show and converse or other communicate (for example, text messaging, multimedia file Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode Or when image capture mode, display module 151 can show captured image and/or received image, show video or figure Picture and the UI or GUI of correlation function etc..
Meanwhile when display module 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display module 151 may be used as input unit and output device.Display module 151 may include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired embodiment, mobile terminal 100 may include two or more display modules (or other display devices), for example, moving Dynamic terminal may include external display module (not shown) and internal display module (not shown).Touch screen can be used for detecting touch Input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160 The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes. Audio output module 152 may include loudspeaker, buzzer etc..
Alarm modules 153 can provide output notifying event to mobile terminal 100.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..Other than audio or video output, alarm modules 153 can provide output in different ways with the generation of notification event.For example, alarm modules 153 can be in the form of vibration Output is provided, when receiving calling, message or some other entrance communications (incomingcommunication), alarm mould Block 153 can provide tactile output (that is, vibration) to notify to user.By providing such tactile output, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm modules 153 The output of the generation of notification event can be provided via display module 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or can be structured as and control Device 180 processed separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or figure Piece draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (particularly, long term evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition Location information.GPS module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 to obtain desired positioning and believe Breath.It substitutes GPS tracking technique or except GPS tracking technique, the other of the position that can track mobile terminal can be used Technology.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100 Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each anti- It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call The mobile management function of resource allocation and the coordination including the soft switching process between BS270.The number that BSC275 will also be received According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with by forward link signals It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, the present invention recording each implementation of encipher-decipher method is proposed Example.Recording encipher-decipher method of the invention, before recording, the biological information of at least one recording participant of acquisition, according to this Biological information generates first key;When recorded voice, then added using voice data of the first key to recording It is close, generate encryption recording file;When opening encryption recording file, biological information is first acquired, it is special according to the biology of acquisition Reference breath generates the second key, is compared to first key and the second key, when the two matching, then to encryption recording file It is decrypted, normal play encrypts recording file, when the two mismatches, then decrypts and fails, and encryption recording file cannot play Or it is unable to normal play.
Wherein, biological information can be acoustic information, finger print information, iris information or face information etc., below with Biological information be acoustic information for be described in detail.
Referring to Fig. 1, proposes recording encipher-decipher method first embodiment of the invention, the described method comprises the following steps:
Before S11, recording, the acoustic information of one recording participant of acquisition generates first key according to the acoustic information of acquisition.
This step S11 is the preparation process before recording, and before the formal beginning of recording, first key is arranged first.Specifically: One recording participant's sounding of prompt, acquires the acoustic information of recording participant, then using a kind of general algorithm by the sound Message breath is generated as first key, and the first key is for encrypting subsequent recording.
It for example, is corresponding binary data string by frequency conversion, then by the frequency information of the sound of acquisition Be repeated 2 times the binary string, then plus 1, obtain first key.Such as sound frequency is 400Hz, 400 corresponding binary systems are 110010000, then first key be 110010000110010000+1, i.e., 110010000110010001.Herein only with one Simple key schedule is for example, the invention is not limited thereto key schedule.
Record participant, can be recording operation person or/and recording object.Recording operation person, i.e., operation sound pick-up outfit into The people of row recording;Recording object, that is, sounder when recording.
For example, acquiring reporter's acoustic information when reporter carries out interview recording to generate first key;It goes to the bar and is taken When card recording, the acoustic information of lawyer is acquired to generate first key.
It when S12, recorded voice, is encrypted using voice data of the first key to recording, generates encryption recording file.
This step S12 is formal Recording Process, during recorded voice, continuous collecting voice data, and utilize first The voice data that key pair is recorded is encrypted, and after End of Tape, generates encryption recording file, and will encryption recording file storage In designated position.
When S13, unlatching encryption recording file, an acoustic information is acquired, the second key is generated according to the acoustic information of acquisition.
Specifically, prompting user to verify when opening encryption recording file.User's sounding is prompted first, and is acquired Then the acoustic information of user utilizes algorithm identical with first key is generated that the acoustic information is generated as the second key.
Then judge whether the second key matches with first key, when the two matching when, enter step S14, when the two not When matching, S15 is entered step.
S14, successful decryption encrypt recording file.
When the second key is matched with first key, then using the second key (or first key) to encryption recording file into Row decryption, the normal play encryption recording file, user are able to normally listen to recording substance.
S15, decryption encryption recording file failure.
It when the second key is mismatched with first key, then decrypts and fails, refusal, which played or be unable to normal play, to be added Close recording file, user can not normally listen to recording substance.
For example, before recording, the sound that recording participant A records oneself generates first key, and the is utilized when recording One key pair recording data carries out encryption and generates encryption recording file.When opening encryption recording file, it is necessary to which sounding is tested Card, when the sound of the sound of sending and recording participant A matches, verifying could pass through, and could normally listen to the encryption and record Otherwise the content of file can not listen to recording substance.In other words, it is necessary to could be received by verifying by recording participant A sounding Playback content.
To, the recording encipher-decipher method of the present embodiment, when recording, carries out recording substance using the acoustic information of 1 people Encryption, the acoustic information for listening to that people when also needing encryption when recording can just be decrypted, and ensure that recording substance Safety, improves the safety of recording data.
Referring to fig. 2, it proposes recording encipher-decipher method second embodiment of the invention, the described method comprises the following steps:
Before S21, recording, the acoustic information of two recording participants is acquired respectively, it is raw according to the two of acquisition acoustic informations At first key.
This step S21 is the preparation process before recording, and before the formal beginning of recording, first key is arranged first.Specifically: One recording participant's sounding of prompt, the acoustic information of one recording participant of acquisition are reresented another recording participant's sounding, are acquired The acoustic information of another recording participant;Then two acoustic informations of acquisition are combined into first using a kind of general algorithm Key, the first key is for encrypting subsequent recording.
For example, by the frequency information of 2 sound of acquisition, the corresponding binary data of 2 frequencies is found out String, then step-by-step finds out the sum of this 2 binary strings, and the result obtained adds 1 again, just obtains first key.Such as sound frequency It is 400Hz and 350Hz, 400 corresponding binary systems are that 110010000,350 corresponding binary systems are 101011110, then result is 110010000+101011110, then it is 1011101111 that first key is arrived plus 1 with this result.Herein only with a letter Single key key generating algorithm is for example, the invention is not limited thereto key schedule.
Record participant, can be recording operation person and recording object.Recording operation person, i.e. operation sound pick-up outfit are recorded The people of sound;Recording object, that is, sounder when recording.
Preferably, two recording participants are preferably two recording objects, and are two opposite sides.For example, when reporter into When row interview recording, the acoustic information of reporter and interviewer are acquired to generate first key;Go to the bar carry out evidence obtaining recording when, adopt Collect the acoustic information of lawyer and witness to generate first key.
It when S22, recorded voice, is encrypted using voice data of the first key to recording, generates encryption recording file.
This step S22 is formal Recording Process, during recorded voice, continuous collecting voice data, and utilize first The voice data that key pair is recorded is encrypted, and after End of Tape, generates encryption recording file, and will encryption recording file storage In designated position.
When S23, unlatching encryption recording file, two acoustic informations are acquired respectively, it is raw according to the two of acquisition acoustic informations At the second key.
Specifically, prompting user to verify when opening encryption recording file.An acoustic information is first acquired, then is acquired Another acoustic information, then utilize with generate the identical algorithm of first key for two acoustic information groups of acquisition and be combined into second it is close Key.
Then judge whether the second key matches with first key, when the two matching when, enter step S24, when the two not When matching, S25 is entered step.
S24, successful decryption encrypt recording file.
When the second key is matched with first key, then using the second key (or first key) to encryption recording file into Row decryption, the normal play encryption recording file, user are able to normally listen to recording substance.
S25, decryption encryption recording file failure.
It when the second key is mismatched with first key, then decrypts and fails, refusal, which played or be unable to normal play, to be added Close recording file, user can not normally listen to recording substance.
For example, before recording, the sound for recording recording participant A and B respectively generates first key, and when recording utilizes First key carries out encryption to recording data and generates encryption recording file.When opening encryption recording file, it is necessary to which sounding carries out Verifying, when two sound of sending match with the sound of recording participant A and B respectively, verifying could pass through, could be normal The content of the encryption recording file is listened to, recording substance otherwise can not be listened to, that is to say, that must be by recording participant A and B hair Sound could listen to recording substance by verifying.
To, the recording encipher-decipher method of the present embodiment, when recording, carries out recording substance using the acoustic information of 2 people Encryption, the acoustic information for listening to 2 people when also needing encryption when recording can just be decrypted, greatly ensure that in recording The safety of appearance improves the safety of recording data.The present embodiment is particularly suitable for needing the other special occasions of higher security level.
In addition, the acoustic information that can also acquire three people or more generates when the participant that records includes three people or more First key is encrypted, and the acoustic information that when decryption is also required to acquire aforementioned three people or more, which generates the second key, to succeed Decryption.
The situation that biological information is acoustic information is described in detail in above embodiments, works as biological information When for finger print information, iris information or face information, realize that process is same as the previously described embodiments, details are not described herein.
The present invention further provides a kind of recording ciphering and deciphering devices, are applied to aforementioned mobile terminal.Now it is based on above-mentioned movement Terminal hardware structure and communication system propose present invention recording one embodiment of ciphering and deciphering device.Such as Fig. 3, described device includes First key generation module, encrypting module, the second key production module and deciphering module, in which:
First key generates mould: for before recording, the biological information of at least one recording participant of acquisition, according to adopting The biological information of collection generates first key.
Biological information can be acoustic information, finger print information, iris information or face information etc..
Record participant, can be recording operation person or/and recording object.Recording operation person, i.e., operation sound pick-up outfit into The people of row recording;Recording object, that is, sounder when recording.
The biological information that first key generation module can only acquire a recording participant generates first key, with For acquisition acoustic information: one recording participant's sounding of first key generation module prompt acquires the sound of recording participant Then the acoustic information is generated as first key using a kind of general algorithm by information, which is used for subsequent record Sound is encrypted.For example, acquiring reporter's acoustic information when reporter carries out interview recording to generate first key;Go to the bar into When row evidence obtaining recording, the acoustic information of lawyer is acquired to generate first key.
The biological information that first key generation module can also acquire two recording participants generates first key, with For acquisition acoustic information: one recording participant's sounding of first key generation module prompt, the sound of one recording participant of acquisition Information reresents another recording participant's sounding, acquires the acoustic information of another recording participant;Then using a kind of general Two acoustic informations of acquisition are combined into first key by algorithm, and the first key is for encrypting subsequent recording.It is preferred that Ground, two recording participants are preferably two recording objects, and are two opposite sides.For example, when reporter carries out interview recording, The acoustic information of reporter and interviewer are acquired to generate first key;It goes to the bar when carrying out evidence obtaining recording, acquires lawyer and witness Acoustic information generate first key.
In addition, the biological information of three people or more can also be acquired when the participant that records includes three people or more First key is generated to be encrypted.
Encrypting module: it for being encrypted using voice data of the first key to recording when recorded voice, generates and adds Close recording file.
Specifically, sound pick-up outfit continuous collecting voice data, encrypting module utilizes first key during recorded voice The voice data of recording is encrypted, after End of Tape, generates encryption recording file, and encryption recording file is stored in finger Positioning is set.
Second key production module: for biological information being acquired, according to acquisition when opening encryption recording file Biological information generates the second key.
Specifically, prompting user to verify when opening encryption recording file, biological information is acquired, and utilize The biological information is generated as the second key by algorithm identical with first key is generated.Second key production module generates the The quantity of biological information, the biological characteristic acquired when generating first key with first key generation module are acquired when two keys The quantity of information is identical, and the method for generating key is also identical, and details are not described herein.
Deciphering module: when the two matching, then close using second for judging whether the second key matches with first key Encryption recording file is decrypted in key (or first key), when the two mismatches, then not responds.When deciphering module success After decryption encryption recording file, user can normally listen to recording substance, otherwise cannot normally listen to recording substance.
To, the recording ciphering and deciphering device of the present embodiment, the biological characteristic of at least one recording participant is utilized when recording Information encrypts recording substance, listens to the biological information ability of recording participant when also needing encryption when recording It is decrypted, ensure that the safety of recording substance, improve the safety of recording data.
Recording ciphering and deciphering device of the invention can apply various sound pick-up outfits, including but not limited to recording pen, recorder, Mobile phone, tablet computer, PC etc..
It is applicable in it should be noted that the technical characteristic in preceding method embodiment is corresponding in Installation practice, here It repeats no more.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (8)

1. a kind of recording encipher-decipher method, which comprises the following steps:
The biological information for acquiring two recording participants generates first key according to the biological information, wherein institute Stating two recording participants is recording operation person or/and recording object;
It when recorded voice, is encrypted using voice data of the first key to recording, generates encryption recording file;
When opening the encryption recording file, biological information is acquired, it is close to generate second according to the biological information of acquisition Key is decrypted the encryption recording file when second key is matched with the first key.
2. recording encipher-decipher method according to claim 1, which is characterized in that the biological information is sound letter Breath, finger print information, iris information or face information.
3. recording encipher-decipher method according to claim 1, which is characterized in that the biological information is sound letter Breath, the biological information of two recording participants of acquisition generate first key, packet according to the biological information It includes:
Acquire the acoustic information of two recording participants;
Two acoustic informations of acquisition are combined into first key.
4. recording encipher-decipher method according to claim 3, which is characterized in that described two recording participants are two records Sound object, and be two opposite sides.
5. a kind of recording ciphering and deciphering device characterized by comprising
First key generation module is believed for acquiring the biological information of two recording participants according to the biological characteristic Breath generates first key, wherein described two recording participants are recording operation person or/and recording object;
Encrypting module is generated and is added for being encrypted using voice data of the first key to recording when recorded voice Close recording file;
Second key production module, for biological information being acquired, according to acquisition when opening the encryption recording file Biological information generates the second key;
Deciphering module, for judging whether second key matches with the first key, when second key with it is described When first key matches, the encryption recording file is decrypted.
6. recording ciphering and deciphering device according to claim 5, which is characterized in that the biological information is sound letter Breath, finger print information, iris information or face information.
7. recording ciphering and deciphering device according to claim 5, which is characterized in that the biological information is sound letter Breath, the first key generation module are used for: the acoustic information of two recording participants of acquisition, by two acoustic informations of acquisition It is combined into first key.
8. recording ciphering and deciphering device according to claim 7, which is characterized in that described two recording participants are recording pair As, and be two opposite sides.
CN201510283522.1A 2015-05-28 2015-05-28 Recording encipher-decipher method and device Active CN105099669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510283522.1A CN105099669B (en) 2015-05-28 2015-05-28 Recording encipher-decipher method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510283522.1A CN105099669B (en) 2015-05-28 2015-05-28 Recording encipher-decipher method and device

Publications (2)

Publication Number Publication Date
CN105099669A CN105099669A (en) 2015-11-25
CN105099669B true CN105099669B (en) 2019-07-19

Family

ID=54579313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510283522.1A Active CN105099669B (en) 2015-05-28 2015-05-28 Recording encipher-decipher method and device

Country Status (1)

Country Link
CN (1) CN105099669B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528557A (en) * 2015-12-08 2016-04-27 广东欧珀移动通信有限公司 Method and device for encrypting audio file
CN106301784B (en) * 2016-08-03 2020-06-16 南昌欧菲生物识别技术有限公司 Data acquisition method and terminal
CN107148016A (en) * 2017-04-20 2017-09-08 宇龙计算机通信科技(深圳)有限公司 Terminal connection method, device and electronic equipment
CN108920927A (en) * 2018-07-30 2018-11-30 比奥香港有限公司 A kind of recording based on biological identification, speech playing method and equipment
US11200333B2 (en) 2019-08-13 2021-12-14 International Business Machines Corporation File exposure to an intended recipient
CN111951463B (en) * 2020-06-05 2022-08-19 陶源 Vending machine activation system and vending machine offline vending method
CN111953841A (en) * 2020-08-11 2020-11-17 广东电网有限责任公司 Power dispatching telephone system
CN112818375B (en) * 2021-03-08 2024-03-12 郑州铁路职业技术学院 Encryption system for recording information transmission
CN112818376B (en) * 2021-03-08 2024-03-26 郑州铁路职业技术学院 Encryption method for anti-theft recording information transmission

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102052018A (en) * 2010-11-04 2011-05-11 谢文军 Fingerprint/password computer control device
CN102916869A (en) * 2012-10-24 2013-02-06 鹤山世达光电科技有限公司 Instant messaging method and system
CN104243166A (en) * 2014-09-05 2014-12-24 深圳市中兴移动通信有限公司 Recording encryption method and device
CN104253933A (en) * 2013-06-26 2014-12-31 华为技术有限公司 Shooting method and device
CN104393994A (en) * 2014-10-24 2015-03-04 中兴通讯股份有限公司 Safe transmission method and system for audio data and terminals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102052018A (en) * 2010-11-04 2011-05-11 谢文军 Fingerprint/password computer control device
CN102916869A (en) * 2012-10-24 2013-02-06 鹤山世达光电科技有限公司 Instant messaging method and system
CN104253933A (en) * 2013-06-26 2014-12-31 华为技术有限公司 Shooting method and device
CN104243166A (en) * 2014-09-05 2014-12-24 深圳市中兴移动通信有限公司 Recording encryption method and device
CN104393994A (en) * 2014-10-24 2015-03-04 中兴通讯股份有限公司 Safe transmission method and system for audio data and terminals

Also Published As

Publication number Publication date
CN105099669A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN105099669B (en) Recording encipher-decipher method and device
CN105100476B (en) A kind of mobile terminal unlocking device and method
CN105376062B (en) A kind of communication security exchange method, apparatus and system
CN105160264B (en) Photo encryption device and method
CN104915119B (en) Terminal desktop icon method of adjustment and device
CN105208011B (en) A kind of verifying system and method
CN104618605B (en) Mobile terminal locating method and device
CN106817377A (en) A kind of data encryption device, decryption device and method
CN106911719A (en) A kind of mobile terminal and the real-name management system based on the mobile terminal
CN105049582B (en) A kind of save set of calling record, method and display methods
CN106453652A (en) Log file uploading method and system
CN104820797B (en) Using the management method and device of account
CN105095705B (en) A kind of information processing method and device
CN104618382B (en) A kind of method and device realizing the seamless access of information
CN106412328B (en) A kind of method and apparatus obtaining field feedback
CN106254617A (en) A kind of mobile terminal and control method
CN104837122B (en) Multi-party communications method, terminal and system
CN105049610B (en) A kind of input method and terminal
CN105100464B (en) A kind of method that terminal and terminal payment are cancelled
CN106791016A (en) A kind of photographic method and terminal
CN106548081A (en) A kind of end message display packing and device
CN106254522B (en) A kind of based terminal system, method and terminal
CN106227454B (en) A kind of touch trajectory detection system and method
CN107241308A (en) A kind of method, device and mobile terminal for realizing safety check
CN105391864B (en) Device and method based on pressure control mobile terminal vibration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant