Summary of the invention
The object of the embodiment of the present invention is to provide a kind of authentication method of cipher key, be intended to solve in prior art, the voice data that cable pin key only sends for mobile terminal authenticates, and cannot ensure the security reliability of transmission of transaction data and the problem of correctness.
The embodiment of the present invention is achieved in that a kind of authentication method of cipher key, and described method comprises:
Step S1: before transmission transaction data, control sonic detection signal and between mobile terminal and cipher key, carry out at least twice transmitting-receiving transmission, and when described mobile terminal sends after described sonic detection signal, while receiving the described sonic detection signal that described cipher key returns, controls described mobile terminal and send sonic detection signal next time to described cipher key to described cipher key at this;
Step S2: in the time that the described mobile terminal of control receives described sonic detection signal for the last time, controlling described mobile terminal mates the described sonic detection signal receiving for the last time, if the match is successful, control described mobile terminal and transmit described transaction data to cipher key.
Another object of inventive embodiments is, a kind of cipher key is also provided, and described cipher key comprises:
The first receiver module, the sonic detection signal sending for mobile terminal receive;
Modulation module, for adopting default modulation system, the described sonic detection signal receiving being modulated to selected sound frequency;
The second sending module, for sending to described mobile terminal by the sonic detection signal after described modulation module modulation;
Sound control module, sonic detection signal after the coupling sending for mobile terminal that described the first receiver module is received, described carries out the Sound control of two-band, and the sonic detection signal after Sound control is sent to described mobile terminal by described the second sending module.
Another object of inventive embodiments is, a kind of mobile terminal is also provided, and described mobile terminal comprises:
The first sending module, for sending sonic detection signal to cipher key;
The second receiver module, the sonic detection signal after, modulation that described cipher key sends for receiving;
Demodulation module, carry out demodulation for the sonic detection signal that described the second receiver module is received, if the sonic detection signal that the sonic detection signal after demodulation and mobile terminal send is identical, send sonic detection signal after demodulation to described cipher key by described the first sending module;
Echo matching module, for receiving at described the second receiver module after the echo of the sonic detection signal after the demodulation that described the second sending module returns, judge whether described echo mates with the sonic detection signal after described modulation module demodulation, if coupling, sends to described cipher key by described the first sending module by the sonic detection signal after coupling;
The first extraction module, acoustic feature and/or the language feature of the described sonic detection signal after, Sound control that described the second receiver module receives for extracting;
The second extraction module, acoustic feature and/or the language feature of the echo of the described sonic detection signal after, demodulation that described the second receiver module receives for extracting;
Pattern matching module, carries out pattern matching for described acoustic feature and/or language feature that described the first extraction module or described the second extraction module are extracted, if the match is successful, transmits transaction data.
Another object of inventive embodiments is, a kind of Verification System of cipher key is also provided, and described system comprises a kind of cipher key as above and a kind of mobile terminal as above.
In the authentication method and system of cipher key of the present invention, mobile terminal at least sends sonic detection signal twice to cipher key, and the sonic detection signal that cipher key is returned for the last time mates, if the match is successful, transmits transaction data.The mode authenticating with respect to the existing voice data only sending for mobile terminal, the transmission of audio data that the method and system can be more safe and reliable, the safety of guarantee subsequent transaction data.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The problem existing for prior art, in the present invention, mobile terminal at least sends sonic detection signal twice to cipher key, and the sonic detection signal that cipher key is returned for the last time mates, if the match is successful, transmit transaction data (as: account, householder, the amount of money etc.).Cipher key in the present invention comprises wired cipher key and wireless cipher key.
Fig. 1 shows the flow process of the authentication method of cipher key provided by the invention, comprises the following steps:
Step S1: before transmission transaction data, control sonic detection signal and between mobile terminal and cipher key, carry out at least twice transmitting-receiving transmission, and when mobile terminal sends after sonic detection signal to cipher key at this, while receiving the sonic detection signal that cipher key returns, control mobile terminal and send sonic detection signal next time to cipher key.
Step S2: in the time that control mobile terminal receives sonic detection signal for the last time, control mobile terminal the sonic detection signal receiving is for the last time mated, if the match is successful, control mobile terminal and transmit transaction data to cipher key.
Below divide three embodiment that said method is described in detail in detail:
In the authentication method of the cipher key providing in first embodiment of the invention, mobile terminal divides three times to cipher key transmission sonic detection signal, and as shown in Figure 2, now, step S1 further comprises:
Step S101: mobile terminal sends sonic detection signal to cipher key;
Step S102: the sonic detection signal that cipher key mobile terminal receive sends, and the default modulation system of employing, the sonic detection signal receiving is modulated to selected sound frequency, this modulation system can be existing frequency shift keying (Frequency-shift Keying, FSK) mode, amplitude shift keying (Amplitude ShiftKeying, ASK) mode, phase shift keying (Phase-shift Keying, PSK) mode, phase quadrature amplitude modulation (Quadrature Amplitude Modulation, QAM) mode, OFDM (OrthogonalFrequency Division Multiplexing, etc. OFDM) any in,
Step S103: the sonic detection signal after modulation is sent to mobile terminal by cipher key;
Step S104: mobile terminal receives the sonic detection signal after that cipher key sends, modulation, and the sonic detection signal receiving is carried out to demodulation;
Step S105: if the sonic detection signal after mobile terminal demodulation is identical with the sonic detection signal that mobile terminal sends, the sonic detection signal after mobile terminal transmission demodulation is to cipher key;
Step S106: cipher key solution receives the sonic detection signal after adjusting, return to afterwards the echo of the sonic detection signal after demodulation to mobile terminal, this echo can be the sonic detection signal itself after demodulation, also can be sonic detection signal after the demodulation signal after encoded, and coded system to the sonic detection signal after demodulation can be CLC verification, HASH coding, Bose-Chaudhuri-Hocquenghem Code etc.;
Step S107: mobile terminal reception of echoes, and judge whether this echo mates with sonic detection signal that send, after demodulation before, judges that whether sonic detection signal this echo and transmission before, after demodulation is consistent;
Step S108: if mobile terminal judges echo and sonic detection Signal Matching that send, after demodulation before, the sonic detection signal after coupling is sent to cipher key;
Step S109: the sonic detection signal after the coupling that cipher key mobile terminal receive sends, and the sonic detection signal after coupling is carried out to the Sound control of two-band;
Step S110: the sonic detection signal after Sound control is sent to mobile terminal by cipher key.
Wherein, in step S109, if sonic detection signal is two-frequency signal, can adopt following three kinds of modes to realize the Sound control of two-band: one, two-way sonic detection signal to be superposed to a road sonic detection signal, this kind of mode both can increase the throughput of information, can increase again communication speed; Two, voice data sonic detection signal being carried is modulated on a road signal, and check code is modulated on another road signal, and this check code characterizes the start-stop position of the signal that is loaded with voice data; Three, voice data sonic detection signal being carried is modulated on a road signal, and synchronizing information is modulated on another road signal, and this synchronizing information characterizes the frequency range of the signal that is loaded with voice data.Latter two mode wherein can ensure the transmission security of voice data.
In the authentication method of the cipher key providing in first embodiment of the invention, step S2 further comprises:
Step S201: mobile terminal extracts acoustic feature and/or the language feature in sonic detection signal that receive, after Sound control;
Step S202: the acoustic feature extracting and/or language feature are carried out to pattern matching, if the match is successful, transmit transaction data.Pattern matching algorithm wherein can be probability statistics algorithm, dynamic time warping algorithm, Vector Quantization algorithm, stealthy Markov model algorithm, artificial neural network algorithm etc., and it is that Application on Voiceprint Recognition field is known, does not enumerate at this.
In the authentication method of the cipher key providing in second embodiment of the invention, mobile terminal sends sonic detection signal to cipher key at twice, and as shown in Figure 3, now, step S1 further comprises:
Step S111: mobile terminal sends sonic detection signal to cipher key;
Step S112: the sonic detection signal that cipher key mobile terminal receive sends, and adopt default modulation system, the sonic detection signal receiving is modulated to selected sound frequency, this modulation system is described above, does not repeat them here;
Step S113: the sonic detection signal after modulation is sent to mobile terminal by cipher key;
Step S114: mobile terminal carries out demodulation to the sonic detection signal receiving;
Step S115: if the sonic detection signal after mobile terminal demodulation is identical with the sonic detection signal that mobile terminal sends, the sonic detection signal after mobile terminal transmission demodulation is to cipher key;
Step S116: cipher key is after the sonic detection signal receiving after demodulation, return to the echo of the sonic detection signal after demodulation to mobile terminal, this echo can be the sonic detection signal itself after demodulation, also can be sonic detection signal after the demodulation signal after encoded, and coded system to the sonic detection signal after demodulation can be CLC verification, HASH coding, Bose-Chaudhuri-Hocquenghem Code etc.
In the authentication method of the cipher key providing in second embodiment of the invention, step S2 further comprises:
Step S203: mobile terminal extracts acoustic feature and/or the language feature in the echo of sonic detection signal that receive, after demodulation;
Step S204: the acoustic feature extracting and/or language feature are carried out to pattern matching, if the match is successful, transmit transaction data.Pattern matching algorithm is wherein described above, does not repeat them here.
In the authentication method of the cipher key providing in third embodiment of the invention, mobile terminal sends sonic detection signal to cipher key equally at twice, and as shown in Figure 4, now, step S1 further comprises:
Step S117: mobile terminal sends sonic detection signal to cipher key;
Step S118: the sonic detection signal that cipher key mobile terminal receive sends, and adopt default modulation system, the sonic detection signal receiving is modulated to selected sound frequency, this modulation system is described above, does not repeat them here;
Step S119: the sonic detection signal after modulation is sent to mobile terminal by cipher key;
Step S120: the sonic detection signal after the modulation that mobile terminal reception cipher key sends, and the sonic detection signal after modulation is carried out to demodulation;
Step S121: if the sonic detection signal after mobile terminal demodulation is identical with the sonic detection signal that mobile terminal sends, the sonic detection signal after mobile terminal transmission demodulation is to cipher key;
Step S122: the sonic detection signal after the demodulation that cipher key sends mobile terminal carries out the Sound control of two-band;
Step S123: the sonic detection signal after Sound control is sent to mobile terminal by cipher key.
In the authentication method of the cipher key providing in third embodiment of the invention, the authentication method of the cipher key that the concrete steps of step S2 provide with first embodiment of the invention is identical, does not repeat them here.
The present invention also provides a kind of Verification System of cipher key, as the structure that Fig. 5 shows this Verification System, for convenience of explanation, only shows part related to the present invention.
Particularly, the Verification System of cipher key provided by the invention comprises: authentication ' unit 1, for before transmission transaction data, control sonic detection signal and between mobile terminal and cipher key, carry out at least twice transmitting-receiving transmission, and when mobile terminal sends after sonic detection signal to cipher key at this, while receiving the sonic detection signal that cipher key returns, control mobile terminal and send sonic detection signal next time to cipher key; Transaction control unit 2, while receiving for the last time sonic detection signal for controlling mobile terminal in authentication ' unit 1, control mobile terminal and mate receiving for the last time sonic detection signal, if the match is successful, control mobile terminal and transmit transaction data to cipher key.
Below divide three embodiment that said system is described in detail in detail:
In the Verification System of the cipher key providing in first embodiment of the invention, mobile terminal divides three times to cipher key transmission sonic detection signal, as shown in Figure 6, and now, authentication ' unit 1 comprises: be placed in the first sending module 101 of mobile terminal, for sending sonic detection signal to cipher key; Be placed in the first receiver module 102 of cipher key, the sonic detection signal sending for receiving the first sending module 101; Be placed in the modulation module 103 of cipher key, for adopting default modulation system, the sonic detection signal receiving being modulated to selected sound frequency, this modulation system is described above, does not repeat them here; Be placed in the second sending module 104 of cipher key, send to mobile terminal for the sonic detection signal after modulation module 103 is modulated; Be placed in the second receiver module 105 of mobile terminal, for receive cipher key send, modulation after sonic detection signal; Be placed in the demodulation module 106 of mobile terminal, carry out demodulation for the sonic detection signal that the second receiver module 105 is received, if the sonic detection signal that the sonic detection signal after demodulation and mobile terminal send is identical, send sonic detection signal after demodulation to the first receiver module 102 by the first sending module 101; Be placed in the echo matching module 108 of mobile terminal, for receiving at the second receiver module 105 after the echo of the sonic detection signal after the demodulation that the second sending module 104 returns, judge whether this echo mates with the sonic detection signal after modulation module 103 demodulation, if coupling, sends to the first receiver module 102 by the first sending module 101 by the sonic detection signal after coupling; Be placed in the Sound control module 109 of cipher key, carry out the Sound control of two-band for the sonic detection signal after the coupling that the first receiver module 102 is received, and the sonic detection signal after Sound control is sent to the second receiver module 105 by the second sending module 104, its detailed process is described above, is not repeated herein.
Wherein, when the sonic detection signal after echo is demodulation itself, the sonic detection signal after the demodulation that the second sending module 104 directly receives the first receiver module 102 sends to the second receiver module 105; When signal after sonic detection signal after echo is demodulation is encoded, authentication ' unit 1 can also comprise: the coding module 107 that is placed in cipher key, encode for the sonic detection signal after the demodulation that the first receiver module 102 is received, the sonic detection signal after the demodulation after the second sending module 104 is encoded coding module 107 sends to the second receiver module 105.Wherein, the coded system of coding module 107 to the sonic detection signal after demodulation, can be CLC verification, HASH coding, Bose-Chaudhuri-Hocquenghem Code etc.
In the Verification System of the cipher key providing in first embodiment of the invention, transaction control unit 2 further comprises: the first extraction module, and for extracting, the second receiver module 105 is that receive, acoustic feature and/or the language feature of sonic detection signal after Sound control; Pattern matching module, carries out pattern matching for acoustic feature and/or language feature that the first extraction module is extracted, if the match is successful, transmits transaction data.Pattern matching algorithm is wherein described above, is not repeated herein.
Further, in the Verification System of the cipher key providing in first embodiment of the invention, mobile terminal can comprise: connect the second receiver module 105, with the first low noise amplifier of automatic gain control function, the intensity of the sonic detection signal receiving for detection of the second receiver module 105, and regulate the gain size of the second receiver module 105 according to testing result, for example, if when the intensity detecting is more than or equal to a preset strength value, reduce the gain of the second receiver module 105; And the first noise filter of connection the first low noise amplifier, for the sonic detection signal of the first low noise amplifier output is carried out to filtering processing, with wherein unwanted frequency signal of filtering.Similarly, cipher key can comprise: connect the first receiver module 102, with the second low noise amplifier of automatic gain control function, the intensity of the sonic detection signal receiving for detection of the first receiver module 102, and regulate the gain size of the first receiver module 102 according to testing result, for example, if when the intensity detecting is more than or equal to a preset strength value, reduce the gain of the first receiver module 102; And the second noise filter of connection the second low noise amplifier, for the sonic detection signal of the second low noise amplifier output is carried out to filtering processing, with wherein unwanted frequency signal of filtering.
In the Verification System of the cipher key providing in second embodiment of the invention, mobile terminal sends sonic detection signal to cipher key at twice, as shown in Figure 7, from different shown in Fig. 6, authentication ' unit 1 now does not comprise the Sound control module 109 and the echo matching module 108 that are placed in cipher key, other structure and function are described above, are not repeated herein.
In the Verification System of the cipher key providing in second embodiment of the invention, transaction control unit 2 further comprises: the second extraction module, and for extracting, the second receiver module 105 is that receive, acoustic feature and/or the language feature of the echo of sonic detection signal after demodulation; Pattern matching module, carries out pattern matching for acoustic feature and/or language feature that the second extraction module is extracted, if the match is successful, transmits transaction data.
Similarly, in the Verification System of the cipher key providing in second embodiment of the invention, mobile terminal can comprise the first low noise amplifier as above and the first noise filter, and cipher key can comprise the second low noise amplifier as above and the second noise filter.
In the Verification System of the cipher key providing in third embodiment of the invention, mobile terminal sends sonic detection signal to cipher key at twice, as shown in Figure 8, from different shown in Fig. 6, now, authentication ' unit 1 does not comprise the echo matching module 108 that is placed in mobile terminal and the coding module 107 that is placed in cipher key, and other structure is same as shown in Figure 6.Wherein, the first sending module 101 is for sending sonic detection signal to cipher key; The sonic detection signal that the first receiver module 102 sends for receiving the first sending module 101; Modulation module 103 is for adopting default modulation system, the sonic detection signal receiving being modulated to selected sound frequency, and this modulation system is described above, does not repeat them here; The second sending module 104 sends to mobile terminal for the sonic detection signal after modulation module 103 is modulated; The second receiver module 105 for receive cipher key send, modulation after sonic detection signal; The sonic detection signal of demodulation module 106 after for the modulation that the second receiver module 105 is received carries out demodulation, if the sonic detection signal that the sonic detection signal after demodulation and mobile terminal send is identical, send sonic detection signal after demodulation to the first receiver module 102 by the first sending module 101; The sonic detection signal of Sound control module 109 after for the demodulation that the first receiver module 102 is received carries out the Sound control of two-band, and the sonic detection signal after Sound control is sent to the second receiver module 105 by the second sending module 104, its detailed process is described above, is not repeated herein.
Similarly, in the Verification System of the cipher key providing in third embodiment of the invention, mobile terminal can comprise the first low noise amplifier as above and the first noise filter, and cipher key can comprise the second low noise amplifier as above and the second noise filter.
The embodiment of the present invention also provides a kind of cipher key.In one embodiment of the invention, mobile terminal divides three times to cipher key transmission sonic detection signal, and key key specifically comprises the first receiver module 102 as above, modulation module 103, the second sending module 104, Sound control module 109.
Wherein, when the sonic detection signal after echo is demodulation itself, the sonic detection signal after the demodulation that the second sending module 104 directly receives the first receiver module 102 sends to mobile terminal; When signal after sonic detection signal after echo is demodulation is encoded, cipher key can also comprise coding module 107 as above.
In one embodiment of the invention, cipher key also can comprise the second low noise amplifier as above and the second noise filter.
The key key providing with one embodiment of the invention is corresponding, and the embodiment of the present invention also provides a kind of mobile terminal.Mobile terminal specifically comprises: the first sending module 101, the second receiver module 105, demodulation module 106, echo matching module 108, the first extraction module, pattern matching module.
Further, mobile terminal also can comprise the first low noise amplifier as above and the first noise filter.
In another embodiment, mobile terminal sends sonic detection signal to cipher key at twice, and key key specifically comprises the first receiver module 102 as above, modulation module 103, the second sending module 104.
Wherein, when the sonic detection signal after echo is demodulation itself, the sonic detection signal after the demodulation that the second sending module 104 directly receives the first receiver module 102 sends to mobile terminal; When signal after sonic detection signal after echo is demodulation is encoded, cipher key can also comprise coding module 107 as above.
In another embodiment, cipher key also can comprise the second low noise amplifier as above and the second noise filter.
The key key providing with another embodiment of the present invention is corresponding, and the embodiment of the present invention also provides a kind of mobile terminal.Mobile terminal specifically comprises: the first sending module 101, the second receiver module 105, demodulation module 106, the second extraction module, pattern matching module.
Further, mobile terminal also can comprise the first low noise amplifier as above and the first noise filter.
In another embodiment of the present invention, mobile terminal sends sonic detection signal to cipher key at twice, and key key specifically comprises the first receiver module 102 as above, modulation module 103, the second sending module 104, Sound control module 109.
In another embodiment of the present invention, cipher key also can comprise the second low noise amplifier as above and the second noise filter.
The key key providing with another embodiment of the present invention is corresponding, and the embodiment of the present invention also provides a kind of mobile terminal.Mobile terminal specifically comprises: the first sending module 101, the second receiver module 105, demodulation module 106, the first extraction module, pattern matching module.
Further, mobile terminal also can comprise the first low noise amplifier as above and the first noise filter.
In the authentication method and system of cipher key of the present invention, mobile terminal at least sends sonic detection signal twice to cipher key, and the sonic detection signal that cipher key is returned for the last time mates, if the match is successful, transmits transaction data.The mode authenticating with respect to the existing voice data only sending for mobile terminal, the transmission of audio data that the method and system can be more safe and reliable, the safety of guarantee subsequent transaction data.Have, in one embodiment, mobile terminal can adopt the mode of echo coupling again, and the sonic detection signal that judgement is sent and the consistency of its echo have further ensured the transmission security of voice data.Have, the method and system can adopt the mode of Application on Voiceprint Recognition again, and the sonic detection signal that mobile terminal is received for the last time carries out Application on Voiceprint Recognition, has guaranteed the identity reality of cipher key, has further ensured the transmission security of voice data.Have again, in mobile terminal and/or cipher key, can be provided with low noise amplifier and the noise filter of automatic gain control function, can reduce the interference of distance factor or the surrounding environment factor voice data to transmission, the transmission of steady sound audio data.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is can control relevant hardware by program to complete, described program can be being stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.