CN105050082A - Voice communication method and device - Google Patents

Voice communication method and device Download PDF

Info

Publication number
CN105050082A
CN105050082A CN201510579653.4A CN201510579653A CN105050082A CN 105050082 A CN105050082 A CN 105050082A CN 201510579653 A CN201510579653 A CN 201510579653A CN 105050082 A CN105050082 A CN 105050082A
Authority
CN
China
Prior art keywords
digital signals
audio digital
receiving terminal
key
transmitting terminal
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.)
Granted
Application number
CN201510579653.4A
Other languages
Chinese (zh)
Other versions
CN105050082B (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.)
Chengdu Huiyan Technology Co ltd
Original Assignee
Shenzhen Jiuding Anhua Science & 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 Shenzhen Jiuding Anhua Science & Technology Co Ltd filed Critical Shenzhen Jiuding Anhua Science & Technology Co Ltd
Priority to CN201510579653.4A priority Critical patent/CN105050082B/en
Publication of CN105050082A publication Critical patent/CN105050082A/en
Application granted granted Critical
Publication of CN105050082B publication Critical patent/CN105050082B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a voice communication method and device and belongs to the communication technical field. The voice communication method is applied to the voice communication device. The voice communication device includes a transmitting end and a receiving end; the transmitting end and the receiving end are connected with each other through a communication network; and the transmitting end and the receiving end pre-store first keys. The method includes following steps that: the transmitting end converts first analog voice signals into first digital voice signals and performs encryption processing on the first digital voice signals so as to obtain second digital voice signals; the transmitting end transmits the second digital voice signals to the receiving end; the receiving end performs decryption processing on the second digital voice signals according to the first keys so as to obtain third digital voice signals; and the receiving end converts the third digital voice signals into second analog voice signals. With the voice communication method provided by the invention adopted, the security of voice communication can be effectively ensured, and the data and privacies of users will not leak assuredly.

Description

Voice communication method and device
Technical field
The present invention relates to communication technical field, in particular to a kind of voice communication method and device.
Background technology
Along with the development of the communication technology, the communication terminals such as mobile phone have become necessity for life, and in the process of voice communication, the normal clear text format that adopts is transmitted voice signal, is very easily ravesdropping, thus causes the leakage of user data and privacy.
Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide a kind of voice communication method and device, to improve the problems referred to above.
The present invention is achieved in that
First aspect, embodiments provide a kind of voice communication method, described method is applied to voice communication assembly, described voice communication assembly comprises transmitting terminal and receiving terminal, described transmitting terminal is connected by communication network with described receiving terminal, described transmitting terminal is pre-stored with the first key, and described method comprises:
The first analog voice signal obtained in advance is converted to the first audio digital signals by described transmitting terminal, and according to described first double secret key of pre-stored, the first audio digital signals is encrypted and obtains the second audio digital signals;
Described second audio digital signals is sent to described receiving terminal by described transmitting terminal.
By prestoring the first key at transmitting terminal and receiving terminal, being encrypted by the first double secret key voice signal at transmitting terminal, effectively ensure that the fail safe of voice communication, ensure not revealed of user data and privacy.
In conjunction with first aspect, embodiments provide the first possible execution mode of first aspect, wherein,
Described receiving terminal is also pre-stored with described first key, described method also comprises: described receiving terminal receives described second audio digital signals, according to described first double secret key of pre-stored, the second audio digital signals is decrypted process, obtains the 3rd audio digital signals;
Described receiving terminal converts described 3rd audio digital signals to second analog voice signal, described second analog voice signal to be sent to the audio frequency apparatus be connected with described receiving terminal.
In conjunction with the first possible execution mode of first aspect, embodiments provide the execution mode that the second of first aspect is possible, wherein, described receiving terminal is also pre-stored with the second key, and described method also comprises:
The 3rd analog voice signal obtained in advance is converted to the 4th audio digital signals by described receiving terminal, and according to described second double secret key of pre-stored, the 4th audio digital signals is encrypted and obtains the 5th audio digital signals;
Described 5th audio digital signals is sent to described transmitting terminal by described receiving terminal.
Arrange the second key, the voice signal of transmitting terminal and receiving terminal is adopted and is encrypted by different keys, ensures the fail safe of voice communication further.
In conjunction with first aspect, embodiments provide the third possible execution mode of first aspect, wherein, described transmitting terminal and described receiving terminal pre-stored first key comprise:
Described transmitting terminal stochastic generation First ray number, sends to described receiving terminal by described First ray number;
Described transmitting terminal carries out computing to described First ray number with described receiving terminal respectively according to identical preset algorithm and obtains described first key;
Described transmitting terminal and described receiving terminal store described first key respectively.
Adopt stochastic generation sequence number, and obtained the mode of key by preset algorithm computing, therefore the generation of key is also random, reduces the possibility that key is cracked, and ensures the fail safe of voice communication further.
In conjunction with the third possible execution mode of first aspect, embodiments provide the 4th kind of possible execution mode of first aspect, wherein, after described receiving terminal stores described first key, described method also comprises:
Described receiving terminal sends confirmation to described transmitting terminal.
By sending the mode of confirmation, guaranteeing the consistency of the key of transmitting terminal and receiving terminal, avoiding occurring that receiving terminal occurs the situation that the encrypted speech signal received cannot be decrypted.
In conjunction with first aspect, embodiments provide the 5th kind of possible execution mode of first aspect, wherein, described being encrypted described first audio digital signals obtains the second audio digital signals, comprising:
Described transmitting terminal carries out framing, Fourier transform and sub-frame processing to described first audio digital signals, obtains the audio digital signals that at least two frames are new;
Audio digital signals new for described at least two frames sorts by the ordering rule that described transmitting terminal is answered according to described first double secret key, obtains described second audio digital signals.
In conjunction with the first possible execution mode of first aspect, embodiments provide the 6th kind of possible execution mode of first aspect, wherein, described according to described first double secret key of pre-stored the second audio digital signals be decrypted process, obtain the 3rd audio digital signals, comprising:
The ordering rule that described receiving terminal is answered according to described first double secret key is resequenced to described second digital signal;
Described second digital signal after rearrangement is carried out inversefouriertransform and filtering process by described receiving terminal, obtains described 3rd audio digital signals.
In conjunction with wherein a kind of in the 6th kind of possible execution mode of first aspect of the third possible execution mode of first aspect, embodiments provide the 7th kind of possible execution mode of first aspect, wherein, described method also comprises:
Described second sequence number, every stochastic generation second sequence number interval time of setting, is sent to described receiving terminal by described transmitting terminal;
Described transmitting terminal carries out computing to described second sequence number with described receiving terminal respectively according to identical described preset algorithm and obtains the 3rd key;
Described transmitting terminal and described receiving terminal store described 3rd key respectively, and are described 3rd key respectively by described first key updating.
Adopt in such a way, transmitting terminal and receiving terminal regenerate new key every regular time, ensure that key is not easily cracked, further ensure the fail safe of voice communication.
Second aspect, the embodiment of the present invention additionally provides a kind of voice communication assembly, and this voice communication assembly comprises transmitting terminal and receiving terminal, and described transmitting terminal is connected by communication network with described receiving terminal, and described transmitting terminal is pre-stored with the first key;
Described transmitting terminal is used for the first analog voice signal obtained in advance to be converted to the first audio digital signals, described first audio digital signals is encrypted and obtains the second audio digital signals, and described second audio digital signals is sent to described receiving terminal.
By being encrypted voice signal at transmitting terminal, effectively ensure that the fail safe of voice communication, ensureing not revealed of user data and privacy.
In conjunction with second aspect, embodiments provide the first possible execution mode of second aspect, wherein, described First ray number, also for stochastic generation First ray number, is sent to described receiving terminal by described transmitting terminal;
Described transmitting terminal and described receiving terminal also obtain described first key for carrying out computing to described First ray number respectively according to identical preset algorithm, and the first key described in distributed store.
The voice communication method that the embodiment of the present invention provides and device, adopt and prestore key at transmitting terminal, and be encrypted by this double secret key voice signal, effectively ensure that the fail safe of voice communication, ensures not revealed of user data and privacy.
Further, by arranging the second key, the voice signal of transmitting terminal and receiving terminal is adopted and is encrypted by different keys, ensures the fail safe of voice communication further.
Further, regenerate new key by transmitting terminal and receiving terminal every regular time, ensure that key is not easily cracked, further ensure the fail safe of voice communication.
For making above-mentioned purpose of the present invention, feature and advantage become apparent, preferred embodiment cited below particularly, and coordinate appended accompanying drawing, be described in detail below.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, be to be understood that, the following drawings illustrate only some embodiment of the present invention, therefore the restriction to scope should be counted as, for those of ordinary skill in the art, under the prerequisite not paying creative work, other relevant accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 shows the flow chart of the voice communication method that first embodiment of the invention provides;
Fig. 2 shows the flow chart of the voice communication method that second embodiment of the invention provides;
Fig. 3 shows the theory diagram of the voice communication assembly that third embodiment of the invention provides.
Main element symbol description:
First processor 301, the first codec 302, second codec 303, second processor 304.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.The assembly of the embodiment of the present invention describing and illustrate in usual accompanying drawing herein can be arranged with various different configuration and design.Therefore, below to the detailed description of the embodiments of the invention provided in the accompanying drawings and the claimed scope of the present invention of not intended to be limiting, but selected embodiment of the present invention is only represented.Based on embodiments of the invention, the every other embodiment that those skilled in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
Along with the development of the communication technology, the communication terminals such as mobile phone have become necessity for life, and in the process of voice communication, the normal clear text format that adopts is transmitted voice signal, is very easily ravesdropping, thus causes the leakage of user data and privacy.Based on this, inventor, through constantly research, proposes voice communication method and device that the embodiment of the present invention provides.
Embodiment one
Consult Fig. 1, embodiments provide a kind of voice communication method, the method is applied to voice communication assembly, voice communication assembly comprises transmitting terminal and receiving terminal, transmitting terminal is connected by communication network with described receiving terminal, and transmitting terminal is pre-stored with the first key, and the method comprises the following steps:
Step S101: the first analog voice signal obtained in advance is converted to the first audio digital signals by transmitting terminal.
Transmitting terminal is connected with audio frequency apparatus, when carrying out voice communication, external audio frequency apparatus sends the first analog voice signal to transmitting terminal, and transmitting terminal to receive after the first analog voice signal through analog-to-digital conversion, and the first analog voice signal is converted to the first audio digital signals.
Step S102: transmitting terminal is encrypted the first audio digital signals and obtains the second audio digital signals.
Transmitting terminal is pre-stored with the first key, and the first key is that the algorithm that the sequence number produced at random according to transmitting terminal is preset through transmitting terminal generates, and the ordering rule that transmitting terminal is answered according to the first double secret key is encrypted the first audio digital signals.Concrete, encryption can realize like this: the first audio digital signals is first carried out framing by the processor of transmitting terminal, obtain at least two frame of digital voice signals, first secret key is set with specific queueing discipline, and this at least two frame of digital voice signal rearranges according to this specific queueing discipline by this at least two frame of digital voice signal.
Step S103: the second audio digital signals is sent to receiving terminal by transmitting terminal.
By transmitting terminal to the encrypting and transmitting of voice signal to the mode of receiving terminal, effectively can ensure the fail safe of voice communication, ensure not revealed of user data and privacy.
In the present embodiment, transmitting terminal is connected with receiving terminal can be realized like this by communication network: transmitting terminal and receiving terminal can be connected on two intelligent terminals communicated to connect (as mobile phone), the communication connection of transmitting terminal and receiving terminal is realized by these two intelligent terminals, the principle that two intelligent terminals establish a communications link is prior art, does not describe in detail at this.
Embodiment two
Consult Fig. 2, embodiments provide another kind of voice communication method, the method is applied to voice communication assembly, voice communication assembly comprises transmitting terminal and receiving terminal, and transmitting terminal is connected by communication network with described receiving terminal, and transmitting terminal comprises the first codec and first processor, receiving terminal comprises the second codec and the second processor, first processor and the communication connection of the first codec, the second codec is connected with the second processor communication, and the method comprises the following steps:
Step S201: transmitting terminal stochastic generation First ray number, sends to receiving terminal by First ray number.
Transmitting terminal comprises the first codec and first processor, receiving terminal comprises the second codec and the second processor, before carrying out voice communication, transmitting terminal end and receiving terminal establish a communications link, concrete, transmitting terminal and receiving terminal can be connected on the intelligent terminal (as mobile phone) of two communication connections, the communication connection of transmitting terminal and receiving terminal is realized by these two intelligent terminals, the principle that two intelligent terminals establish a communications link is prior art, does not describe in detail at this.
After establishing a communications link, the first processor stochastic generation First ray number of transmitting terminal, and First ray number is sent to the second processor.
Step S202: transmitting terminal carries out computing to First ray number with receiving terminal respectively according to identical preset algorithm (such as hash algorithm) and obtains the first key.
Step S203: transmitting terminal and receiving terminal store the first key respectively.
First processor and the second processor are preset with identical algorithm, after the second processor receives the First ray number that first processor sends, computing is carried out respectively according to this algorithm preset, obtain the first identical key, first processor and the second processor are simultaneously by the first key storage.
Step S204: receiving terminal sends confirmation to transmitting terminal.
After the second processor stores the first key, the second processor sends confirmation to first processor again, confirms that receiving terminal has generated the first key, can be decrypted the encrypted speech signal that transmitting terminal sends.
Further, the first key that computing obtains also can be sent to first processor by the second processor, the first key that second processor sends by first processor and the first key that himself computing obtains are compared, when the first key that the second processor sends is identical with the first key that himself computing obtains, the voice signal sent can be encrypted, adopt in such a way, guarantee that receiving terminal can be decrypted the encrypted speech signal that transmitting terminal sends further.When the first key that the second processor sends is different from the first key that himself computing obtains, re-execute above-mentioned steps S201-S203, until the first key that the second processor sends is identical with the first key that himself computing obtains.
Step S205: receiving terminal stochastic generation the 3rd sequence number, sends to transmitting terminal by the 3rd sequence number.
Second processor also can stochastic generation the 3rd sequence number the 3rd sequence number is sent to first processor.
Step S206: receiving terminal carries out computing to the 3rd sequence number with transmitting terminal respectively according to identical preset algorithm and obtains the second key.
First ray number can not be identical with the 3rd sequence number, and the second key therefore obtained can be not identical with the first key, and the key of such two way voice communication is not identical, improves the fail safe of voice communication further.
Step S207: receiving terminal and transmitting terminal store the second key respectively.
Step S208: transmitting terminal sends confirmation to receiving terminal.
First processor sends confirmation to the second processor, confirms that transmitting terminal has generated the second key, can be decrypted the encrypted speech signal that receiving terminal sends.Such can guarantee send encrypted speech signal can be sent out end deciphering.
In the present embodiment, the generation (step S201-S204) of the first key and generation (step S205-S208) out-of-order of the second key limit.
Step S209: the first analog voice signal obtained in advance is converted to the first audio digital signals by transmitting terminal.
Transmitting terminal comprises the first codec and first processor, first codec is connected with audio frequency apparatus, during voice communication, the first analog voice signal that the first codec audio reception equipment sends, and by analog-to-digital conversion, the first analog voice signal is converted to the first audio digital signals..
First audio digital signals is the audio digital signals of PCM form, and certainly, the first audio digital signals is not limited only to the audio digital signals of PCM form, such as, can also be ADPCM form, wherein with PCM form for optimum.
First audio digital signals is sent to the first processor communicating with connection after the first analog voice signal is converted to the first audio digital signals by the first codec again.
Step S210: transmitting terminal carries out framing, Fourier transform and sub-frame processing to the first audio digital signals, obtains the audio digital signals that at least two frames are new.
First processor receives the first audio digital signals that the first codec sends and carries out framing process to the first audio digital signals, obtains multiframe audio digital signals.
Such as, the first audio digital signals is 1024 bytes, and be that a frame is sampled to the first audio digital signals with every 256 bytes, obtain 4 frame of digital voice signals, now this 4 frame of digital voice signal is time-domain signal.
After framing completes, then by Fourier transform, 4 frame of digital voice signals are converted to frequency-region signal by this, to carry out sub-frame processing again to this 4 frame of digital voice signal.
After 4 frame of digital voice signals are converted to frequency-region signal, then this 4 frame of digital voice signal is carried out sub-frame processing, obtain the audio digital signals that multiframe is new.
Step S211: audio digital signals new at least two frames sorts by the ordering rule that transmitting terminal is answered according to the first double secret key, obtains the second audio digital signals.
First double secret key should have corresponding ordering rule, this 4 frame of digital voice signal is carried out sub-frame processing by first processor, after obtaining the new audio digital signals of multiframe, according to the ordering rule that the first double secret key is answered, audio digital signals new for multiframe is resequenced, obtain the second audio digital signals, namely realize the encryption to the first audio digital signals.
Certainly, for ensureing the signal quality of the second audio digital signals, also filtering process can be carried out to the second audio digital signals.
Step S212: the second audio digital signals is sent to receiving terminal by transmitting terminal.
Step S213: receiving terminal receives the second audio digital signals, sorts to the second digital signal according to the ordering rule that the first double secret key is answered, and the second digital signal after sequence is carried out inversefouriertransform and filtering process, obtains the 3rd audio digital signals.
The first key is equally also stored in second processor, after second processor receives the second audio digital signals, according to the ordering rule that the first double secret key is answered, the second audio digital signals is resequenced again, putting in order of every frame of digital voice signal in second audio digital signals is arranged in the clooating sequence with every frame of digital voice signal in former first audio digital signals, namely every the putting in order of frame of digital voice signal in the second audio digital signals is reduced.
And then the second audio digital signals after reduction is carried out inversefouriertransform, thus the second audio digital signals is converted to time-domain signal from frequency-region signal, finally again filtering process is carried out to the second audio digital signals, obtain the 3rd audio digital signals.
Step S214: receiving terminal converts the 3rd audio digital signals to second analog voice signal, and the second analog voice signal is sent to the audio frequency apparatus be attached thereto.
After obtaining the 3rd audio digital signals, the 3rd audio digital signals is sent to the second codec by the second processor, and the second codec carries out digital-to-analogue conversion to the 3rd audio digital signals, obtains the second analog voice signal.
Second codec is equally also connected with audio frequency apparatus, when the second codec to carry out after digital-to-analogue conversion obtains the second analog voice signal to the 3rd audio digital signals, this second analog voice signal is sent to this audio frequency apparatus, so that this audio frequency apparatus is play the second analog voice signal.
Step S215: the 3rd analog voice signal obtained in advance is converted to the 4th audio digital signals by receiving terminal.
The second encoding and decoding that receiving terminal connects obtain the 3rd analog voice signal of the audio frequency apparatus transmission be attached thereto, and through analog-to-digital conversion, the 3rd analog voice signal is converted to the 4th audio digital signals, and the 4th audio digital signals is sent to the second processor.
Step S216: receiving terminal carries out framing, Fourier transform and sub-frame processing to the 4th audio digital signals, obtains the audio digital signals that at least two frames are new.
Second processor processes the 4th audio digital signals according to the method identical with step S210, obtains the audio digital signals that at least two frames are new.
Step S217: audio digital signals new at least two frames sorts by the ordering rule that receiving terminal is answered according to the second double secret key, obtains the 5th audio digital signals.
Second processor processes according to the audio digital signals that the method identical with step S211 is new to this at least two frame, obtains the 5th audio digital signals.
Step S218: the 5th audio digital signals is sent to transmitting terminal by receiving terminal.
Step S219: transmitting terminal receives the 5th audio digital signals, sorts to the 5th digital signal according to the ordering rule that the second double secret key is answered, carries out inversefouriertransform and filtering process by the 5th digital signal after sequence, obtains the 6th audio digital signals.
First processor processes the 5th audio digital signals received according to the method identical with step S213, obtains the 6th audio digital signals, and the 6th audio digital signals is sent to the first codec.
Step S220: transmitting terminal converts the 6th audio digital signals to the 4th analog voice signal, and the 4th analog voice signal is sent to the audio frequency apparatus be attached thereto.
First codec carries out digital-to-analogue conversion to the 6th audio digital signals, obtains the 4th analog voice signal, and the 4th analog voice signal obtained is sent to the audio frequency apparatus be attached thereto, to play the 4th analog voice signal.
In the present embodiment, step S209-S214 and step S215-S220 out-of-order limit.
Step S221: stochastic generation second sequence number interval time that transmitting terminal often sets, and the second sequence number is sent to receiving terminal.
Step S222: transmitting terminal carries out computing to the second sequence number with receiving terminal respectively according to identical preset algorithm and obtains the 3rd key.
In this step, preset algorithm is identical with the preset algorithm in step S202.Certainly, the preset algorithm in this step can be not identical with the preset algorithm in step S202 yet.
Step S223: transmitting terminal and receiving terminal store the 3rd key respectively, and be described 3rd key respectively by the first key updating.
For ensureing the fail safe of voice communication further, time stochastic generation second sequence number of all right each setting of first processor, and the second sequence number is sent to the second processor, the second processor and first processes again to follow and obtains the 3rd identical key to the second sequence number respectively according to identical preset algorithm.After obtaining the 3rd key, the 3rd key is replaced original first key by first processor and the second processor, thus the encryption and decryption key of voice communication is ceaselessly converted, and ensures the fail safe of voice communication further.
Certainly, the second sequence number also can be generated by the second processor, and sends to first processor by the second processor.Or first processor and the second processor are with all every setting-up time stochastic generation second sequence number.
The present invention executes the voice communication method that example provides, and is generated the mode of key by transmitting terminal and receiving terminal stochastic generation sequence number, can also change double secret key voice communication simultaneously carry out bidirectional encipher every the interval time of setting.Compared with traditional voice communication method, the voice communication method that the embodiment of the present invention provides effectively ensure that the fail safe of voice communication, ensures not revealed of user data and privacy.
Embodiment three
Consult Fig. 3, the embodiment of the present invention additionally provides a kind of voice communication assembly, and voice communication assembly comprises transmitting terminal and receiving terminal, and transmitting terminal is connected by communication network with receiving terminal.
Concrete, transmitting terminal comprises the first codec 302 and first processor 301, receiving terminal comprises the second codec 303 and the second processor 304, and first processor 301 and the first codec 302 communicate to connect, and the second codec 303 and the second processor 304 communicate to connect.
First audio digital signals, for the obtain in advance first analog voice signal is converted to the first audio digital signals, is sent to first processor by the first codec 302.
First ray number for stochastic generation First ray number, and is sent to the second processor 304 by first processor 301, carries out computing obtain the first key and store the first key according to preset algorithm to First ray number.Second processor 304 is for the First ray number that receives first processor 301 and send and carry out computing according to preset algorithm same as described above to First ray number and obtain the first key and store the first key.
First processor 301 also for being encrypted according to the first double secret key first audio digital signals stored, obtains the second audio digital signals.Wherein, the process of encryption specifically comprises: carry out framing, Fourier transform and sub-frame processing to the first audio digital signals, obtain the audio digital signals that at least two frames are new, according to the ordering rule that the first double secret key is answered, audio digital signals new at least two frames is sorted, obtain the second audio digital signals.
Second processor 304 also for being decrypted process according to the first double secret key second audio digital signals stored, obtains the 3rd audio digital signals.Wherein, the process of decryption processing specifically comprises: the ordering rule that the second processor 304 is answered according to the first double secret key sorts to the second digital signal, the second digital signal after sequence is carried out inversefouriertransform and filtering process, obtains the 3rd audio digital signals.
Second analog voice signal for converting the 3rd audio digital signals to second analog voice signal, and is sent to the audio frequency apparatus be attached thereto by the second codec 303, to play the second analog voice signal.。
Further, for realizing the bidirectional encipher of voice communication, the second codec 303 is also for being converted to the 4th audio digital signals by the obtain in advance the 3rd analog voice signal.3rd sequence number is also sent to first processor 301 for stochastic generation the 3rd sequence number by the second processor 304, carries out computing and obtains the second key, and store the second key according to preset algorithm same as described above to the 3rd sequence number.First processor 301 also can be used for carrying out computing according to preset algorithm same as described above to the 3rd sequence number and obtains the second key, and stores the second key.
Second processor 304 also for being encrypted according to the second double secret key the 4th audio digital signals stored, obtaining the 5th audio digital signals and sending to first processor 301.First processor 301 also obtains the 6th audio digital signals for being decrypted process according to the second double secret key the 5th audio digital signals of pre-stored, and the 6th audio digital signals is sent to the first codec 302.First codec 302 also for the receive the 6th audio digital signals is converted to the 4th analog voice signal and sends to the audio frequency apparatus be attached thereto, to play the 4th analog voice signal.
Further, be decrypted for guaranteeing the voice signal after to encryption, the second processor 304 is also for when sending confirmation to first processor 301 after storage first key.First processor 301 is also for when sending confirmation to the second processor 304 after storage second key.
Further, ceaselessly convert for making the encryption and decryption key of voice communication, the fail safe of further guarantee voice communication, the second sequence number also for stochastic generation second sequence number interval time every setting, is sent to the second processor 304 by first processor 301.First processor 301 and the second processor 304 also obtain the 3rd key and distributed store the 3rd key for carrying out computing according to preset algorithm same as described above to the second sequence number, and are the 3rd key respectively by the first key updating.
The device that the embodiment of the present invention provides, its technique effect realizing principle and generation is identical with preceding method embodiment, is concise and to the point description, and the not mentioned part of device embodiment part can with reference to corresponding contents in preceding method embodiment.
But the voice communication assembly that the embodiment of the present invention provides its at transmitting terminal and receiving terminal, process is encrypted and decrypted to voice signal, effectively ensure that the fail safe of voice communication, ensure not revealed of user data and privacy.
In the embodiment of the present invention, processor may be a kind of integrated circuit (IC) chip, has the disposal ability of signal.In implementation procedure, each step of said method can be completed by the instruction of the integrated logic circuit of the hardware in processor or software form.Above-mentioned processor can be general processor, comprises central processing unit (CentralProcessingUnit is called for short CPU), network processing unit (NetworkProcessor is called for short NP) etc.; Can also be digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.The processor etc. of general processor can be microprocessor or this processor also can be any routine.Step in conjunction with the method disclosed in the embodiment of the present invention directly can be presented as that hardware decoding processor is complete, or combines complete by the hardware in decoding processor and software module.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Device embodiment described above is only schematic.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some communication interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (10)

1. a voice communication method, is characterized in that, described method is applied to voice communication assembly, described voice communication assembly comprises transmitting terminal and receiving terminal, described transmitting terminal is connected by communication network with described receiving terminal, and described transmitting terminal is pre-stored with the first key, and described method comprises:
The first analog voice signal obtained in advance is converted to the first audio digital signals by described transmitting terminal, and according to described first double secret key of pre-stored, the first audio digital signals is encrypted and obtains the second audio digital signals;
Described second audio digital signals is sent to described receiving terminal by described transmitting terminal.
2. method according to claim 1, it is characterized in that, described receiving terminal is also pre-stored with described first key, described method also comprises: described receiving terminal receives described second audio digital signals, according to described first double secret key of pre-stored, the second audio digital signals is decrypted process, obtains the 3rd audio digital signals;
Described receiving terminal converts described 3rd audio digital signals to second analog voice signal, described second analog voice signal to be sent to the audio frequency apparatus be connected with described receiving terminal.
3. method according to claim 2, is characterized in that, described receiving terminal is also pre-stored with the second key, and described method also comprises:
The 3rd analog voice signal obtained in advance is converted to the 4th audio digital signals by described receiving terminal, and according to described second double secret key of pre-stored, the 4th audio digital signals is encrypted and obtains the 5th audio digital signals;
Described 5th audio digital signals is sent to described transmitting terminal by described receiving terminal.
4. method according to claim 1, is characterized in that, described transmitting terminal and described receiving terminal pre-stored first key comprise:
Described transmitting terminal stochastic generation First ray number, sends to described receiving terminal by described First ray number;
Described transmitting terminal carries out computing to described First ray number with described receiving terminal respectively according to identical preset algorithm and obtains described first key;
Described transmitting terminal and described receiving terminal store described first key respectively.
5. method according to claim 4, is characterized in that, after described receiving terminal stores described first key, described method also comprises:
Described receiving terminal sends confirmation to described transmitting terminal.
6. method according to claim 1, is characterized in that, described being encrypted described first audio digital signals obtains the second audio digital signals, comprising:
Described transmitting terminal carries out framing, Fourier transform and sub-frame processing to described first audio digital signals, obtains the audio digital signals that at least two frames are new;
Audio digital signals new for described at least two frames sorts by the ordering rule that described transmitting terminal is answered according to described first double secret key, obtains described second audio digital signals.
7. method according to claim 2, is characterized in that, described according to described first double secret key of pre-stored the second audio digital signals be decrypted process, obtain the 3rd audio digital signals, comprising:
The ordering rule that described receiving terminal is answered according to described first double secret key is resequenced to described second digital signal;
Described second digital signal after rearrangement is carried out inversefouriertransform and filtering process by described receiving terminal, obtains described 3rd audio digital signals.
8., according to the arbitrary described method of claim 4-7, it is characterized in that, described method also comprises:
Described second sequence number, every stochastic generation second sequence number interval time of setting, is sent to described receiving terminal by described transmitting terminal;
Described transmitting terminal carries out computing to described second sequence number with described receiving terminal respectively according to identical described preset algorithm and obtains the 3rd key;
Described transmitting terminal and described receiving terminal store described 3rd key respectively, and are described 3rd key respectively by described first key updating.
9. a voice communication assembly, is characterized in that, comprises transmitting terminal and receiving terminal, and described transmitting terminal is connected by communication network with described receiving terminal, and described transmitting terminal is pre-stored with the first key;
Described transmitting terminal is used for the first analog voice signal obtained in advance to be converted to the first audio digital signals, described first audio digital signals is encrypted and obtains the second audio digital signals, and described second audio digital signals is sent to described receiving terminal.
10. voice communication assembly according to claim 9, is characterized in that, described First ray number, also for stochastic generation First ray number, is sent to described receiving terminal by described transmitting terminal;
Described transmitting terminal and described receiving terminal also obtain described first key for carrying out computing to described First ray number respectively according to identical preset algorithm, and the first key described in distributed store.
CN201510579653.4A 2015-09-11 2015-09-11 Voice communication method and device Expired - Fee Related CN105050082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510579653.4A CN105050082B (en) 2015-09-11 2015-09-11 Voice communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510579653.4A CN105050082B (en) 2015-09-11 2015-09-11 Voice communication method and device

Publications (2)

Publication Number Publication Date
CN105050082A true CN105050082A (en) 2015-11-11
CN105050082B CN105050082B (en) 2019-10-25

Family

ID=54456183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510579653.4A Expired - Fee Related CN105050082B (en) 2015-09-11 2015-09-11 Voice communication method and device

Country Status (1)

Country Link
CN (1) CN105050082B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610580A (en) * 2016-03-25 2016-05-25 成都汇研科技有限公司 External speech encryption device based on smart phone and implementation method thereof
CN105722069A (en) * 2016-03-24 2016-06-29 深圳市创百通讯科技有限公司 Mobile terminal capable of encrypting voice information and encryption method thereof
CN105743912A (en) * 2016-03-31 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Voice encryption method and voice sending terminal
CN106211101A (en) * 2016-08-31 2016-12-07 安徽拓通信科技集团股份有限公司 A kind of processing method and processing device of voice SMS
CN108429851A (en) * 2018-01-26 2018-08-21 大唐终端技术有限公司 A kind of method and device of cross-platform information source voice encryption
CN112887336A (en) * 2018-05-04 2021-06-01 广东电网有限责任公司 Communication safety protection method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064937A (en) * 2011-01-10 2011-05-18 杭州电子科技大学 Voice encryption and decryption method for conversion parties on basis of voice print
CN102843677A (en) * 2012-08-14 2012-12-26 福建伊时代信息科技股份有限公司 Voice communication method, device and system
CN103000181A (en) * 2013-01-10 2013-03-27 成都零光量子科技有限公司 System and implement method thereof for secret communications based on public communication network voice channel
CN104486757A (en) * 2014-12-12 2015-04-01 上海斐讯数据通信技术有限公司 Voice encryption/decryption system and voice encryption/decryption method of mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064937A (en) * 2011-01-10 2011-05-18 杭州电子科技大学 Voice encryption and decryption method for conversion parties on basis of voice print
CN102843677A (en) * 2012-08-14 2012-12-26 福建伊时代信息科技股份有限公司 Voice communication method, device and system
CN103000181A (en) * 2013-01-10 2013-03-27 成都零光量子科技有限公司 System and implement method thereof for secret communications based on public communication network voice channel
CN104486757A (en) * 2014-12-12 2015-04-01 上海斐讯数据通信技术有限公司 Voice encryption/decryption system and voice encryption/decryption method of mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722069A (en) * 2016-03-24 2016-06-29 深圳市创百通讯科技有限公司 Mobile terminal capable of encrypting voice information and encryption method thereof
CN105610580A (en) * 2016-03-25 2016-05-25 成都汇研科技有限公司 External speech encryption device based on smart phone and implementation method thereof
CN105743912A (en) * 2016-03-31 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Voice encryption method and voice sending terminal
CN105743912B (en) * 2016-03-31 2020-04-07 宇龙计算机通信科技(深圳)有限公司 Voice encryption method and voice sending terminal
CN106211101A (en) * 2016-08-31 2016-12-07 安徽拓通信科技集团股份有限公司 A kind of processing method and processing device of voice SMS
CN108429851A (en) * 2018-01-26 2018-08-21 大唐终端技术有限公司 A kind of method and device of cross-platform information source voice encryption
CN108429851B (en) * 2018-01-26 2021-05-28 大唐终端技术有限公司 Cross-platform information source voice encryption method and device
CN112887336A (en) * 2018-05-04 2021-06-01 广东电网有限责任公司 Communication safety protection method and device
CN112887336B (en) * 2018-05-04 2023-05-05 广东电网有限责任公司 Communication safety protection method and device

Also Published As

Publication number Publication date
CN105050082B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN105050082A (en) Voice communication method and device
CN103945369A (en) Internet access configuration method for WIFI device by checking length of WIFI data packets
US9877146B2 (en) Methods and systems for transmission of arbitrary data via Bluetooth HFP audio connections with low latency
CN105792190B (en) Data encryption, decryption and transmission method in communication system
CN111327605B (en) Method, terminal, server and system for transmitting private information
CN105119900A (en) Information secure transmission method, network access method and corresponding terminals
CN111884802B (en) Media stream encryption transmission method, system, terminal and electronic equipment
US10601586B2 (en) Method and apparatus for key management of end encrypted transmission
CN105407109A (en) Data secure transmission method between Bluetooth devices
CN202713330U (en) Encrypted communication system
CN104869570A (en) Speaking terminal confirmation method based on language channel
CN114338710A (en) Data synchronization method and device, computer storage medium and related equipment
CN106412812A (en) Bluetooth voice communication method, Bluetooth voice communication system and Bluetooth headset
CN110351086B (en) Method and system for processing and transmitting encrypted information in robot group
CN112329044A (en) Information acquisition method and device, electronic equipment and computer readable medium
CN109831404A (en) A kind of instant communicating system and method for compatible multiple terminals
US9467428B2 (en) Information security attachment device for voice communication and information security method for voice communication using the same
CN111431706A (en) Method, system and equipment for improving SM4 algorithm speed by using FPGA logic
CN113542231B (en) Communication method, electronic device, and storage medium
CN112995210B (en) Data transmission method and device and electronic equipment
WO2021147659A1 (en) Wireless communication device and wireless communication method
CN111934995B (en) Internet of things gateway system
CN106535180B (en) Method and equipment for safe internet access of mobile terminal
RU2433547C1 (en) Method, apparatus and system for end-to-end encryption of voice data and transmission thereof over public communication networks
CN111770099B (en) Data transmission method and device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170811

Address after: The middle high tech Zone Yizhou road in Chengdu city of Sichuan province 610000 No. 722 Building 5 13 floor No. 1305

Applicant after: CHENGDU HUIYAN TECHNOLOGY Co.,Ltd.

Address before: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.)

Applicant before: SHENZHEN JIUDING ANHUA SCIENCE & TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191025

CF01 Termination of patent right due to non-payment of annual fee