Summary of the invention
The purpose of this invention is to provide a kind of communication equipment personal identification method and system thereof, to remedy the defective that the traditional identity authentication techniques are subjected to cryptographic attack and leak attack easily, the present invention has the characteristics of disguised height, good stability and Administrative Security.
A kind of communication equipment personal identification method provided by the invention may further comprise the steps:
(1) transmitting terminal produces the signal watermark, is used to identify the communication equipment identity;
(2) transmitting terminal is embedded into above-mentioned signal watermark in the normal communications signal, and transmission contains the signal of communication of signal watermark to receiving terminal;
(3) after receiving terminal receives the above-mentioned signal of communication that contains the signal watermark, from above-mentioned signal of communication, isolate the signal watermark;
(4) receiving terminal is explained the signal watermark and be translated as the identity information of transmitting terminal;
(5) receiving terminal is converted to the identity information of signal watermark carrying the communication equipment sign of transmitting terminal;
It is characterized in that:
Step (1) is:
(1.1) transmitting terminal utilizes the controlled sinusoidal signal generator of a kind of frequency, determines the frequency of sinusoidal signal according to the identify label of transmitting terminal, and its computing formula is as follows:
f
i=f+Δf=f+h(i)
Wherein, f is a reference frequency, and i is device identification, and h (i) is the mapping function of slave unit sign i to frequency shift (FS) Δ f, and f
Min>0Hz, f
Max≤ 300Hz, f
MinBe f
iMinimum value, f
MaxBe f
iMaximum;
(1.2) sinusoidal signal generator is according to specified frequency f
iProduce sinusoidal signal as the signal watermark, and select energy threshold G, the detection foundation that whether exists as the signal watermark according to the amplitude of this sinusoidal signal;
Step (2) utilizes signal synthesizer that normal communications signal and signal watermark are directly superposeed;
The watermark extracting step is in the step (3):
(3.1) analog signal sampling to receiving is translated into digital signal;
(3.2) sampled data is pressed the time segmentation;
(3.3) each segment data is carried out fast fourier transform and handle, extract f
Min-f
MaxPower spectrum in the zone;
(4.1) detect f
Min-f
MaxPower spectrum maximum in the frequency range;
(4.2) judge that this spectrum value is whether greater than predefined energy threshold G: if this spectrum value less than energy threshold, then can not exist in the assertive signal watermark; If this spectrum value greater than energy threshold G, then selects this spectrum to be worth pairing frequency values f
i
(4.3) utilize formula h (i)=f
i-f, the identity information h (i) of calculating transmitting terminal communication equipment;
Step (5) inquires the identify label of transmitting terminal communication equipment by the h (i) that stores in the identity information database and the corresponding relation between the i.
Realize system for carrying out said process, it is characterized in that: this system comprises the transmitting terminal of the signal watermark that is used to generate and the receiving terminal of identification equipment identity; At transmitting terminal, the signal watermark generation module is used to generate the signal watermark, and the signal watermark that generates is sent to signal watermark merge module; Signal watermark merge module is used for the signal watermark is embedded into normal communications signal, and signal of communication is undertaken sending in the channel after the modulation treatment by modulation module; At receiving terminal, demodulation module is used to restore the original communication signal, and utilizes signal watermark extracting module to isolate the signal watermark, and signal watermark interpretation module judges whether the signal watermark exists, and the identity information that carries in the output signal watermark.
The break traditions thinking set of communications network security measure of the present invention, the communications network security measure is deep into physical layer, proposition utilizes the signal watermark to communicate the method for equipment identities identification, effectively access node and service device are carried out authentication, thereby prevent lawless person's illegal invasion, guarantee the safety of normal data communication.The present invention compares with existing identity identifying technology, mainly contains following three characteristics:
1. disguised high.Traditional identity identifying technology can be found the existence of authentication system easily usually based on cipher mechanism by data analysis.But the signal digital watermark mainly realizes that by hardware non-specialized hardware can not find to exist the signal watermark.Even adopt special hardware that signal is analyzed, add mode if do not understand watermark, also can not find the existence of signal watermark, more impossible it is forged.
2. good stability.Traditional identity identifying technology adopts software to realize, has various software vulnerabilities usually, makes the assailant can walk around cryptosystem system is invaded.But the signal digital watermark adopts hardware to realize that general assailant can not reach this aspect, more impossible this authentication system of walking around.
3. Administrative Security.Signal watermark authentication system is a hardware keys system, and promptly each communication equipment (user) and key are bound, and promptly has only the assailant to obtain device hardware and could obtain key, as long as strengthen just can guaranteeing the management of hardware the safety of key.Even the assailant obtains hardware device, system can delete its feature watermark from database, and does not have influence on other user's proper communication.
One aspect of the present invention can be used for maintaining communications network safety, prevents password or system vulnerability illegal invasion communication network that the lawless people utilization is stolen; Also can be used for the identify label of radio station on the other hand, strengthen monitoring and management Wireless Telecom Equipment.
Embodiment
The present invention is further detailed explanation below in conjunction with accompanying drawing and example.
As shown in Figure 1, the treatment step of the inventive method is:
(1) transmitting terminal produces the signal watermark, is used to identify the communication equipment identity;
The signal watermark is meant the artificial sign that is used for the communication equipment identity that adds in signal of communication, has following several characteristic:
1) carrier of signal watermark is a signal of communication;
2) the signal watermark is artificial the adding;
3) the signal watermark can identify the communication equipment individuality;
4) the signal watermark can not constitute significantly interference to normal communications signal.
In a broad sense, the signal specific that satisfies above condition can be called the signal watermark.Therefore, the signal watermark can have multiple different generating mode, enumerates a kind of simple signal watermark below and generates step:
1) transmitting terminal utilizes the controlled sinusoidal signal generator of a kind of frequency, determines the frequency of sinusoidal signal according to the identify label of transmitting terminal, and its computing formula is as follows:
f
i=f+Δf=f+h(i)
Wherein, f is a reference frequency, and i is device identification, is example with 10 equipment here, therefore establishes i=0,1 ... 9, but device identification also can be the device numbering of other form in actual applications.H (i) is the mapping function of slave unit sign i to frequency shift (FS) Δ f, promptly can specify the correspondent frequency skew for different device identifications, makes h (i)=i here, is the simplest a kind of implementation method.Reference frequency f can set as required, but must guarantee the peak frequency f of signal watermark
MaxLess than lower limit 300 Hz of speech frequency, minimum frequency f
MinGreater than 0Hz.Here establish f=100Hz, so f
iScope be 100Hz-109Hz.
2) sinusoidal signal generator produces sinusoidal signal as the signal watermark according to specified frequency, and selects suitable energy threshold G according to this signal amplitude, the detection foundation that whether exists as the signal watermark.For example establishing signal amplitude is A, and then the energy in this signal one-period is A
2/ 2, so can define G=(A
2/ 4) * and α is as the watermark detection thresholding, and wherein α represents the energy gain coefficient in the communication link;
(2) transmitting terminal is embedded into above-mentioned signal watermark in the normal communications signal, and transmission contains the signal of communication of signal watermark to receiving terminal.
Transmission content and modulation system for different can adopt different watermark embedding methods.Mode of frequency regulation with transferring voice is an example, can directly utilize signal synthesizer that voice signal and signal watermark are directly superposeed.Because the frequency domain scope of voice signal is 300Hz-3400Hz, and the signal watermark is a frequency f
iThe sinusoidal signal of (this example is 100Hz-109Hz), the two separates on frequency domain, so the signal watermark can not influence the normal transmission of voice signal.
(3) after receiving terminal receives the above-mentioned signal of communication that contains the signal watermark, separation signal watermark and signal of communication.
Different watermark embedded modes adopts different watermark extracting modes.For the frequency domain embedded mode that proposes in the step (2), its watermark extracting step is as follows:
1) analog signal that receives is carried out the 8KHz sampling, be translated into digital signal;
2) sampled data is pressed the time segmentation, 8000 sampled datas that are about to each second are as one section;
3) each segment data is carried out fast Fourier transform (FFT) and handle, extracting and specifying frequency domain (is f
Min-f
MaxZone, this example are 100Hz-109Hz) power spectrum located.
Can on frequency domain, isolate signal watermark composition by above-mentioned steps.
(4) receiving terminal is explained the signal watermark and be translated as the identity information of transmitting terminal.
The explanation of the signal watermark in the step (4) and translation process are corresponding with step (1) signal watermark generative process, and for the watermark generating mode of giving an example in the step (1), its decipher step is as follows:
1) detects the power spectrum maximum of specifying in the frequency domain (this example is 100Hz-109Hz);
2) judge that this spectrum value is whether greater than predefined energy threshold G: if this spectrum value less than threshold value, then can not exist in the assertive signal watermark; If this spectrum value more than or equal to threshold value, then selects this spectrum to be worth pairing frequency values f
i
3) according to formula
h(i)=f
i-f
Calculate the communication equipment identity information h (i) of transmitting terminal.
(5) receiving terminal is converted to the identity information mapping of signal watermark carrying the communication equipment sign of transmitting terminal.In the cited in front implementation, the mapping function of employing is as follows:
h(i)=i
Therefore can directly obtain the communication equipment sign of transmitting terminal.But, if the form more complicated of mapping function h (i) just must inquire the identify label of transmitting terminal by identity information database.
Core concept of the present invention is to add the signal watermark in normal communications signal, thereby the communication equipment that sends signal is identified.Wherein, concrete signal watermark can be adopted various ways, promptly can be certain machine made signal, it also can be certain pseudo-random signal, or other any type of signal, as long as can satisfy defined four characteristics in the step (1), just belong to the category of signal watermark.For each signal watermark, corresponding signal watermark generation, embedding, extraction and decomposition method are all arranged, thereby make the concrete application mode of signal watermark have great flexibility.Therefore,, adopt appropriate signals watermark form, can satisfy the requirement of various concrete communication environments according to method provided by the present invention.
As shown in Figure 2, realize that system for carrying out said process comprises transmitting terminal 1 and 2 two subsystems of receiving terminal, wherein transmitting terminal 1 comprises signal watermark generation module 3, signal watermark merge module 4 and modulation module 5; Receiving terminal 2 comprises demodulation module 6, signal watermark extracting module 7, signal watermark interpretation module 8, identity information database 9.By the signal watermark that transmitting terminal adds, receiving terminal can be discerned the concrete identity of transmitting terminal, thereby reaches the purpose of authentication.
At transmitting terminal, signal watermark generation module 3 is used to generate the signal watermark, and the signal watermark that generates is sent to signal watermark merge module 4.Signal watermark merge module 4 is used for the signal watermark is embedded into normal communications signal, carries the signal of communication of signal watermark thereby produce.Signal of communication is undertaken sending in the channel after the modulation treatment by modulation module 5.At receiving terminal, restore the original communication signal by demodulation module 6, and utilize signal watermark extracting module 7 to isolate the signal watermark.Signal watermark interpretation module 8 judges whether the signal watermark exists, if the signal watermark does not exist, then exports predefined " sky " signal; If the signal watermark exists, then the identity information that carries in the output signal watermark.Identity information database is according to the output result of signal watermark interpretation module 8, and Query Database obtains transmitting terminal communication equipment sign.
The modulation module 5 of above-mentioned transmitting terminal and the demodulation module of receiving terminal 6 constitute transmission system.Because communication network may exist multiple propagation medium and modulation system, so transmission system must be decided according to practical situations.For the technical staff who is familiar with the communications field, can determine the constituted mode of transmission system fully according to concrete communication environment.Because transmission system is just as intermediacy, and different transmission systems can not influence the service behaviour of total system, therefore need not limit the constituted mode of transmission system.
What more than provide is a kind of implementation of the present invention under the mode of frequency regulation of transferring voice, and those skilled in the art can adopt other multiple mode to realize the present invention according to above-mentioned principle.Described a kind of generation algorithm of signal watermark in the example,, specifically adopted signal watermarking algorithm difference to some extent, but flow process of the present invention remains unanimity at different communication conditions.
In sum, the present invention is a kind of communication equipment personal identification method based on the signal digital watermark, the system that uses this method to constitute is independent of concrete communication environment, can be according to the specific requirement of the various communications fields, adopt different signal watermarking algorithms, thereby enlarged the range of application of system.According to the proposed method, those skilled in the art can be according to concrete communication environment, structure appropriate signals watermarking algorithm, thereby the communication equipment identification system among the present invention is generalized to the various communications fields, therefore the invention is not restricted to any concrete communications field, but the wide region of principle that meets here to be disclosed and feature.