CN104123945A - Embedding method and extracting method for wav-format audio information - Google Patents
Embedding method and extracting method for wav-format audio information Download PDFInfo
- Publication number
- CN104123945A CN104123945A CN201410261979.8A CN201410261979A CN104123945A CN 104123945 A CN104123945 A CN 104123945A CN 201410261979 A CN201410261979 A CN 201410261979A CN 104123945 A CN104123945 A CN 104123945A
- Authority
- CN
- China
- Prior art keywords
- module
- sampled point
- audio
- algorithm parameter
- bit
- 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
Links
Abstract
The invention discloses an embedding method for wav-format audio information. The embedding method comprises the following steps of: inputting a wav-format audio, a message needing to be embedded in the wav-format audio, of a user, a first algorithm parameter and a second algorithm parameter; carrying out formatting processing on the message needing to be embedded in the wav-format audio so as to generate a protocol paragraph containing a paragraph header identifier, a checksum, the message needing to be embedded in the wav-format audio, and a paragraph tail identifier; encrypting a random offset number, the first algorithm parameter and the second algorithm parameter to be 16-bit, 16-bit and 32-bit binary bit strings, setting the embedded bit number to 0, selecting the first sampling point of the (64+the random offset number) frame of the wav-format audio as a sampling point i0, taking every k continuous sampling points as a group, wherein k is a step length, and calculating the audio energies EA and EB of the group A={i0, i1, i2...ik-1} and the adjacent group B={ik, ik+1, i k+2...i2k-1} respectively by virtue of the following formulas; circulating the grouping calculation operation.
Description
Technical field
The invention belongs to computer network communication field, more specifically, relate to a kind of embedding grammar and extracting method for wav format audio information.
Background technology
Along with the fast development of mobile Internet, the voice communication based on mobile client (such as micro-letter, mobile phone QQ, Skype etc.) becomes a kind of brand-new means of mass-communication just gradually.As the hidden common carrier of writing, the audio resource in voice communication is just paid close attention to by increasing researcher.Current, knownly for the audio frequency scheme relevant with voice technology, mainly can be divided into two classes.The first kind be towards different-format audio frequency hidden write, steganalysis algorithm, what this type of scheme mainly adopted is that traditional steganography is combined with the compression standard of different-format audio frequency, to realize the information steganography of certain specific purpose.Equations of The Second Kind relates to the communications field, pays close attention to the secure communication based on audio frequency.The main means that adopt are that traditional information encryption is combined from the compression standard of different audio frequency, realize the secret secure communication based on cryptographic technique.In Chinese invention patent instructions CN102737639A, disclose a kind of voice messaging safety communicating method, by utilizing the discrete cosine transform domain based on coefficient quantization to embed algorithm, guaranteed the disguise of communication.Scheme is utilized chaos encryption algorithm, for the minority in audio frequency, closing key mapping is encrypted, and by the robust message authentication code of more secret voice, judge and the integrality of voice content realize the concealed confidentiality and integrity that simultaneously guarantees voice communication content of voice communication.
Two current class schemes considered respectively based on different compressed format audio frequency hidden write, steganalysis algorithm and the Secure Communication based on cryptographic technique.The former be mainly towards different audio formats various hidden write, steganalysis algorithm, do not consider actual application scenarios, thereby inevitably can bring following shortcoming: first, the proposition of algorithm also needs a large amount of follow-up studies to the realization of system, its feasibility and exploitativeness need practice further check; Secondly, the steganographic algorithm that patent proposes does not provide concrete application scenario, makes its application prospect uncertain.The conventional encryption technique of the main method that the latter adopts based on comparatively complicated, main towards the PC field with higher calculated performance, run counter to residing severe, the complex network environment of mobile client and the high real-time of requirement, low retardation rate, cannot adapt to the secure communication based on mobile Internet field.
Summary of the invention
Above defect or Improvement requirement for prior art, the invention provides a kind of embedding grammar and extracting method for wav format audio information, it is easy to realize, can directly form application software is installed on operating system (such as Android operating system), further, can with the social software docking such as micro-letter, solve the exploitativeness existing in existing method not strong, the indefinite technical matters in application scenario; And invention algorithm complex is lower, be adapted at carrying out on the weak mobile platform of computing power, solved the too high problem of time complexity in existing method; By energy, divide into groups to calculate and structuring repeats to embed and promoted algorithm robustness, solved existing algorithm not strong technical matters of robust performance under severe, complex network condition; By the embedding extraction scheme of agreement, having solved message in existing method cannot be in real time, the random technical matters of extracting.
For achieving the above object, according to one aspect of the present invention, provide a kind of embedding grammar for wav audio-frequency information, comprised the following steps:
(1) reception user need to embed message, random offset number, the first algorithm parameter and the second algorithm parameter in wav format audio by wav format audio, this user of inlet flow or document flow input;
(2) message that need to embed in wav format audio formats processing, with generate comprise paragraph header identifier, verification and, need to embed the message in wav format audio, the agreement section binary bits string of section tail identifier;
(3) random offset number, the first algorithm parameter and the second algorithm parameter are encrypted as respectively to 16,16 and 32 s' binary bits string, and arrange that to have embedded bit number be 0, counter j=0 is set;
(4) select first sampled point of (64+ random offset number) frame of wav format audio to be set to sampled point i
0, follow-up sampled point is followed successively by { i
0, i
1, i
2, i
3, i
4, i
5, i
6.
(5) from sampled point i
0start, using every k continuous sampled point as Yi Ge group, wherein k is step-length, adopts following formula to calculate respectively the A={i of group
0, i
1, i
2i
k-1and B={i
k, i
k+1, i
k+2i
2k-1audio power E
a, E
b:
(6) judgement audio power E
a, Ex energy difference absolute value whether be greater than the first algorithm parameter and be less than the second algorithm parameter, if it is represent to meet embedding condition, then enter step (7), otherwise then sufficient embedding condition with thumb down proceeds to step (11);
(7) embedded bit number from increasing 1, and counter j is from increasing 1, and judges whether counter j is greater than data length, if so, j=0 is set, and enters step (8), otherwise enter step (8);
(8) whether the binary bits string j position obtaining in determining step (2) is 0, if yes then enter step (9), otherwise enters step (10);
(9) the audio power E that judgement obtains for step (5)
a, E
b, whether have E
a> E
bif enter step (12), otherwise enter step (11);
(10) the audio power E that judgement obtains for step (5)
a, E
b, whether have E
a< E
bif enter step (12), otherwise enter step (11);
(11) value of corresponding sampled point in the A of group and B is exchanged one by one;
(12) judgement sampled point i
2k-1whether also have afterwards 2k sampled point, if so, represent to embed in addition the space of information, i is set
2kstarting point i for next round circulation
0, then return to step (5), otherwise enter step (13);
(13) judgement has embedded the bit number whether bit number is greater than agreement section in step (2), and if so, telescopiny finishes, and prompting user embeds successfully, otherwise represents that embedding is imperfect, and prompting user need to change wav format audio.
Preferably, need to embed maximum length L≤4096 Chinese character or 65536 bits of the message in wav format audio, the size of the first algorithm parameter is 1 to 255 integer, and the size of the second algorithm parameter is to be greater than the integer that the first algorithm parameter is less than 1028575.
Preferably, paragraph header identifier is the identifier of 0xFD, verification and be need to embed the message in wav format audio verification and, and length is 16, a section tail identifier is the identifier of 0xFF.
Preferably, step (3) is specially, and utilizes LSB steganography method to substitute by turn last bit of every frame in the front 64 frame data frames of wav format audio.
According to another aspect of the present invention, a kind of extracting method for wav audio-frequency information is provided, comprise the following steps:
(1) obtain and carry close wav format audio, before utilizing LSB steganography method to wav format audio, in 64 frame data frames, last bit of every frame extracts and deciphers, using 16,16 of decrypting, 32 bit data respectively as random offset number, the first algorithm parameter, the second algorithm parameter;
(2) select first sampled point of (64+ random offset number) frame of wav format audio to be set to sampled point i
0, follow-up sampled point is followed successively by { i
0, i
1, i
2, i
3, i
4, i
5, i
6.
(3) from sampled point i
0start, using every k continuous sampled point as Yi Ge group, adopt following formula to calculate respectively the A={i of group
0, i
1, i
2i
k-1and B={i
k, i
k+1, i
k+2i
2k-1audio power E
a, E
b, wherein k is step-length:
(4) judgement audio power E
a, E
bthe absolute value of energy difference is greater than the first algorithm parameter and is less than the second algorithm parameter, if it is represents to meet extraction conditions, then enter step (5), otherwise then sufficient extraction conditions with thumb down proceeds to step (6);
(5) the audio power E that determining step (3) obtains
a, E
bmagnitude relationship, if E
a> E
b, generate the bit that is 0, and deposit successively the bit of extraction in buffer zone, then enter step (6), otherwise generate the bit that is 1, and deposit successively the bit of extraction in buffer zone, then enter step (6);
(6) judgement sampled point i
2k-1whether also have afterwards 2k sampled point, if so, expression is not yet extracted complete, and i is set
2kstarting point i for next round circulation
0, then return to step (3), otherwise enter step (7);
(7) use the Bit String in buffer zone and according to following form, the data segment in buffer zone unpacked, to obtain the user message extracting from wav format audio.
Preferably, step (7) is specially, from the starting point of buffer zone, start to find one section of data segment that is initiated with 0xFD paragraph header identifier and 0xFF section tail identifier, then just the data except identifier extract in this segment data, form the user message extracting from wav format audio.
In general, the above technical scheme of conceiving by the present invention compared with prior art, can obtain following beneficial effect:
1, compare conventional security communication plan, of the present invention know in steps understandable.Be highly susceptible to implementing, there is platform-neutral, can be used as application software and be arranged on easily in various operating system;
2, compare conventional security communication plan, application scenarios of the present invention is wide, and prospect is bright and clear, can play a role in the various places of hidden safe communication that need, and is especially applicable to the voice secure communication in mobile interconnected field.As based on mobile clients such as micro-letter, mobile phone QQ and Skype, utilize individual that common communication channel carries out, the communication of business hidden safe etc., be also applicable to utilize under particular surroundings hidden, the safety in the fields such as diplomacy, military affairs of traditional common communication channel realization such as broadcast, internet simultaneously.
3, compare conventional security communication plan, the present invention is little to step (5) operand to step (11), extraction step (3) in embedding step (5), very suitablely on the weak mobile platform of arithmetic capability, use, embedding/extraction rate is very fast.
4, compare conventional security communication plan, the thought that the grouping energy conception that the present invention proposes in step (5) and structuring repeat to embed can effectively improve the robustness of scheme, meets the high reliability of secure communication requirement under complex network condition;
5, compare conventional security communication plan, the agreementization embedding/extraction scheme that the present invention proposes in step (2) has realized the random extraction of information, meets the high reliability of secure communication requirement under complex network condition.
Accompanying drawing explanation
Fig. 1 is that the present invention is for the process flow diagram of the embedding grammar of wav audio-frequency information.
Fig. 2 is that the present invention is for the process flow diagram of the extracting method of wav audio-frequency information.
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.In addition,, in each embodiment of described the present invention, involved technical characterictic just can not combine mutually as long as do not form each other conflict.
As shown in Figure 1, the present invention comprises the following steps for the embedding grammar of wav audio-frequency information:
(1) reception user need to embed message, random offset number, the first algorithm parameter and the second algorithm parameter in wav format audio by wav format audio, this user of inlet flow or document flow input, particularly, the information that the present invention need to hide transmission user calls " need to embed the message in wav format audio ", and can be referred to as message, maximum length L≤4096 Chinese character (or 65536Bits) of this message, this has met the generally needs of covert communications, the size of random offset number is 1 to 255 integer, the size of the first algorithm parameter is 1 to 255 integer, and preferred value is 0 to 10, the size of the second algorithm parameter is to be greater than the integer that the first algorithm parameter is less than 1028575, its value is larger, embedding capacity is larger, but sentience can be not poorer, vice versa, the first algorithm parameter and the second algorithm parameter are selected for the embedding condition of subsequent step.
(2) message that need to embed in wav format audio formats processing according to following form (being called form 1 in this instructions), with generate comprise paragraph header identifier, verification and, need to embed the message in wav format audio, the agreement section binary bits string of section tail identifier; Particularly, paragraph header identifier is 0xFD (8 s') identifier, verification and be need to embed the message in wav format audio verification and, and length is 16, a section tail identifier is 0xFF (8 s') identifier.
(3) random offset number, the first algorithm parameter and the second algorithm parameter are encrypted as respectively to 16,16 and 32 s' binary bits string, and arrange that to have embedded bit number be 0, counter j=0 is set; Particularly, to utilize Least significant bit position (Least Significant Bit, abbreviation LSB) steganography method embeds random offset number, the first algorithm parameter and the second algorithm parameter, and specific practice is last bit of every frame in the front 64 frame data frames of wav format audio that substitute by turn after encryption.
(4) select first sampled point of (64+ random offset number) frame of wav format audio to be set to sampled point i
0, follow-up sampled point is followed successively by { i
0, i
1, i
2, i
3, i
4, i
5, i
6.
(5) from sampled point i
0start, using every k continuous sampled point as Yi Ge group, (wherein k is step-length, refers to using k continuous sampled point as the A of Yi Ge group), adopts following formula to calculate respectively the A={i of group
0, i
1, i
2i
k-1and B={i
k, i
k+1, i
k+2i
2k-1audio power E
a, E
b:
From upper formula, can find out, audio power be proportional to sampling point value square, the amplitude of the sound just of sampled point record, thus audio power E can get sampling point value square; In addition, it should be noted, the choosing of step-length k is related to algorithm robustness and sentience not, and hour, sentience is not better for step-length, but robust performance is not high, step-length is chosen when very large, and robustness promotes obviously, but sentience declines, preferably, step-length is chosen as at 3,4 o'clock sentience and robustness does not reach good balance.
(6) judgement audio power E
a, E
bwhether the absolute value of energy difference is greater than the first algorithm parameter and is less than the second algorithm parameter, if it is represents to meet embedding condition, then enter step (7), otherwise then sufficient embedding condition with thumb down proceeds to step (11);
(7) embedded bit number from increasing 1, and counter j is from increasing 1, and judges whether counter j is greater than data length, if so, j=0 is set, and enters step (8), otherwise enter step (8);
(8) whether the binary bits string j position obtaining in determining step (2) is 0, if yes then enter step (9), otherwise enters step (10);
(9) the audio power E that judgement obtains for step (5)
a, E
b, whether have E
a> E
bif enter step (12), otherwise enter step (11);
(10) the audio power E that judgement obtains for step (5)
a, E
b, whether have E
a< E
bif enter step (12), otherwise enter step (11);
(11) by the A={i of group
0, i
1, i
2i
k-1b={i
k, i
k+1, i
k+2i
2k-1in the value of corresponding sampled point exchange one by one;
(12) judgement sampled point i
2k-1whether also have afterwards 2k sampled point, if so, represent to embed in addition the space of information, i is set
2kstarting point i for next round circulation
0, then return to step (5), otherwise enter step (13);
(13) judgement has embedded the bit number whether bit number is greater than agreement section in step (2), and if so, the complete embedding of expression message is super to be gone over, telescopiny finishes, prompting user embeds successfully, otherwise represents that embedding is imperfect, and prompting user need to change wav format audio.
As shown in Figure 2, the present invention comprises the following steps for the extracting method of wav audio-frequency information:
(1) obtain and carry close wav format audio, before utilizing LSB steganography method to wav format audio, in 64 frame data frames, last bit of every frame extracts and deciphers, using 16,16 of decrypting, 32 bit data respectively as random offset number, the first algorithm parameter, the second algorithm parameter;
(2) select first sampled point of (64+ random offset number) individual frame of wav format audio to be set to sampled point i
0, follow-up sampled point is followed successively by { i
0, i
1, i
2, i
3, i
4, i
5, i
6.
(3) from sampled point i
0start, using every k continuous sampled point as Yi Ge group, adopt following formula to calculate respectively the A={i of group
0, i
1, i
2i
k-1and B={i
k, i
k+1, i
k+2i
2k-1audio power E
a, E
b, wherein k is step-length:
(4) judgement audio power E
a, E
bthe absolute value of energy difference is greater than the first algorithm parameter and is less than the second algorithm parameter, if it is represents to meet extraction conditions, then enter step (5), otherwise then sufficient extraction conditions with thumb down proceeds to step (6);
(5) the audio power E that determining step (3) obtains
a, E
bmagnitude relationship, if E
a> E
b, generate the bit that is 0, and deposit successively the bit of extraction in buffer zone, then enter step (6), otherwise generate the bit that is 1, and deposit successively the bit of extraction in buffer zone, then enter step (6);
(6) judgement sampled point i
2k-1whether also have afterwards 2k sampled point, if so, expression is not yet extracted complete, and i is set
2kstarting point i for next round circulation
0, then return to step (3), otherwise enter step (7);
(7) use the Bit String in buffer zone and according to following form, the data segment in buffer zone unpacked, to obtain the user message extracting from wav format audio; Particularly, from the starting point of buffer zone, start to find one section of data segment that is initiated with 0xFD (8) paragraph header identifier and 0xFF (8) section tail identifier, then just the data except identifier extract in this segment data, form the user message extracting from wav format audio.
Those skilled in the art will readily understand; the foregoing is only preferred embodiment of the present invention; not in order to limit the present invention, all any modifications 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.
Claims (8)
1. for an embedding grammar for wav audio-frequency information, it is characterized in that, comprise the following steps:
(1) reception user need to embed message, random offset number, the first algorithm parameter and the second algorithm parameter in wav format audio by wav format audio, this user of inlet flow or document flow input;
(2) message that need to embed in wav format audio formats processing, with generate comprise paragraph header identifier, verification and, need to embed the message in wav format audio, the agreement section binary bits string of section tail identifier;
(3) random offset number, the first algorithm parameter and the second algorithm parameter are encrypted as respectively to 16,16 and 32 s' binary bits string, and arrange that to have embedded bit number be 0, counter j=0 is set;
(4) select first sampled point of (64+ random offset number) frame of wav format audio to be set to sampled point i
0, follow-up sampled point is followed successively by { i
0, i
1, i
2, i
3, i
4, i
5, i
6.
(5) from sampled point i
0start, using every k continuous sampled point as Yi Ge group, wherein k is step-length, adopts following formula to calculate respectively the A={i of group
0, i
1, i
2i
k-1and B={i
k, i
k+1, i
k+2i
2k-1audio power E
a, E
b:
(6) judgement audio power E
a, E
bwhether the absolute value of energy difference is greater than the first algorithm parameter and is less than the second algorithm parameter, if it is represents to meet embedding condition, then enter step (7), otherwise then sufficient embedding condition with thumb down proceeds to step (11);
(7) embedded bit number from increasing 1, and counter j is from increasing 1, and judges whether counter j is greater than data length, if so, j=0 is set, and enters step (8), otherwise enter step (8);
(8) whether the binary bits string j position obtaining in determining step (2) is 0, if yes then enter step (9), otherwise enters step (10);
(9) the audio power E that judgement obtains for step (5)
a, E
b, whether have E
a> E
bif enter step (12), otherwise enter step (11);
(10) the audio power E that judgement obtains for step (5)
a, E
b, whether have E
a< E
bif enter step (12), otherwise enter step (11);
(11) value of corresponding sampled point in the A of group and B is exchanged one by one;
(12) judgement sampled point i
2k-1whether also have afterwards 2k sampled point, if so, represent to embed in addition the space of information, i is set
2kstarting point i for next round circulation
0, then return to step (5), otherwise enter step (13);
(13) judgement has embedded the bit number whether bit number is greater than agreement section in step (2), and if so, telescopiny finishes, and prompting user embeds successfully, otherwise represents that embedding is imperfect, and prompting user need to change wav format audio.
2. embedding grammar according to claim 1, it is characterized in that, need to embed maximum length L≤4096 Chinese character or 65536 bits of the message in wav format audio, the size of random offset number is 1 to 255 integer, the size of the first algorithm parameter is 1 to 255 integer, and the size of the second algorithm parameter is to be greater than the integer that the first algorithm parameter is less than 1028575.
3. embedding grammar according to claim 1, is characterized in that, paragraph header identifier is the identifier of 0xFD, verification and be need to embed the message in wav format audio verification and, and length is 16, a section tail identifier is the identifier of 0xFF.
4. embedding grammar according to claim 1, is characterized in that, step (3) is specially, and utilizes LSB steganography method to substitute by turn last bit of every frame in the front 64 frame data frames of wav format audio.
5. for an extracting method for wav audio-frequency information, it is characterized in that, comprise the following steps:
(1) obtain and carry close wav format audio, before utilizing LSB steganography method to wav format audio, in 64 frame data frames, last bit of every frame extracts and deciphers, using 16,16 of decrypting, 32 bit data respectively as random offset number, the first algorithm parameter, the second algorithm parameter;
(2) select first sampled point of (64+ random offset number) frame of wav format audio to be set to sampled point i
0, follow-up sampled point is followed successively by { i
0, i
1, i
2, i
3, i
4, i
5, i
6.
(3) from sampled point i
0start, using every k continuous sampled point as Yi Ge group, adopt following formula to calculate respectively the A={i of group
0, i
1, i
2i
k-1and B={i
k, i
k+1, i
k+2i
2k-1audio power E
a, E
b, wherein k is step-length:
(4) judgement audio power E
a, E
bthe absolute value of energy difference is greater than the first algorithm parameter and is less than the second algorithm parameter, if it is represents to meet extraction conditions, then enter step (5), otherwise then sufficient extraction conditions with thumb down proceeds to step (6);
(5) the audio power E that determining step (3) obtains
a, E
bmagnitude relationship, if E
a> E
b, generate the bit that is 0, and deposit successively the bit of extraction in buffer zone, then enter step (6), otherwise generate the bit that is 1, and deposit successively the bit of extraction in buffer zone, then enter step (6);
(6) judgement sampled point i
2k-1whether also have afterwards 2k sampled point, if so, expression is not yet extracted complete, and i is set
2kstarting point i for next round circulation
0, then return to step (3), otherwise enter step (7);
(7) use the Bit String in buffer zone and according to following form, the data segment in buffer zone unpacked, to obtain the user message extracting from wav format audio.
6. extracting method according to claim 5, it is characterized in that, step (7) is specially, from the starting point of buffer zone, start to find one section of data segment that is initiated with 0xFD paragraph header identifier and 0xFF section tail identifier, then the data except identifier in this segment data are extracted, form the user message extracting from wav format audio.
7. for an embedded system for wav audio-frequency information, it is characterized in that, comprise the following steps:
The first module, for receiving user by the wav format audio of inlet flow or document flow input, message, random offset number, the first algorithm parameter and the second algorithm parameter that this user need to embed wav format audio;
The second module, formats processing for embedding the message of wav format audio, with generate comprise paragraph header identifier, verification and, need to embed the message in wav format audio, the agreement section binary bits string of section tail identifier;
The 3rd module, for random offset number, the first algorithm parameter and the second algorithm parameter being encrypted as respectively to 16,16 and 32 s' binary bits string, and arranges that to have embedded bit number be 0, and counter j=0 is set;
Four module, for selecting first sampled point of (64+ random offset number) frame of wav format audio to be set to sampled point i
0, follow-up sampled point is followed successively by { i
0, i
1, i
2, i
3, i
4, i
5, i
6.
The 5th module, for from sampled point i
0start, using every k continuous sampled point as Yi Ge group, wherein k is step-length, adopts following formula to calculate respectively the A={i of group
0, i
1, i
2i
k-1and B={ix, i
k+1, i
k+2i
2k-1audio power E
a, E
b:
The 6th module, for judging audio power E
a, E
bwhether the absolute value of energy difference is greater than the first algorithm parameter and is less than the second algorithm parameter, if it is represents to meet embedding condition, then enter step the seven modules, otherwise then sufficient embedding condition with thumb down proceeds to the 11 module;
The 7th module, for embedding bit number from increasing 1, and counter j is from increasing 1, and judges whether counter j is greater than data length, if so, j=0 is set, and enters the 8th module, otherwise enter the 8th module;
The 8th module, for judging whether the binary bits string j position that the second module obtains is 0, if yes then enter the 9th module, otherwise enters the tenth module;
The 9th module, for judging the audio power E obtaining for the 5th module
a, E
b, whether have E
a> E
bif enter step the 12 modules, otherwise enter the 11 module;
The tenth module, for judging the audio power E obtaining for the 5th module
a, E
b, whether have E
a< E
bif enter the 12 module, otherwise enter the 11 module;
The 11 module, for exchanging the value of the A of group and the corresponding sampled point of B one by one;
The 12 module, for judging sampled point i
2k-1whether also have afterwards 2k sampled point, if so, represent to embed in addition the space of information, i is set
2kstarting point i for next round circulation
0, then return to the 5th module, otherwise enter the 13 module;
The 13 module judgement has embedded the bit number whether bit number is greater than agreement section in the second module, and if so, telescopiny finishes, and prompting user embeds successfully, otherwise represents that embedding is imperfect, and prompting user need to change wav format audio.
8. for an extraction system for wav audio-frequency information, it is characterized in that, comprise the following steps:
The first module, for obtaining, carry close wav format audio, before utilizing LSB steganography method to wav format audio, in 64 frame data frames, last bit of every frame extracts and deciphers, using 16,16 of decrypting, 32 bit data respectively as random offset number, the first algorithm parameter, the second algorithm parameter;
The second module, for selecting first sampled point of (64+ random offset number) frame of wav format audio to be set to sampled point i
0, follow-up sampled point is followed successively by { i
0, i
1, i
2, i
3, i
4, i
5, i
6.
The 3rd module, for from sampled point i
0start, using every k continuous sampled point as Yi Ge group, adopt following formula to calculate respectively the A={i of group
0, i
1, i
2i
k-1and B={i
k, i
k+1, i
k+2, i
2k-1audio power E
a, E
b, wherein k is step-length:
Four module, for judging audio power E
a, E
bthe absolute value of energy difference is greater than the first algorithm parameter and is less than the second algorithm parameter, if it is represents to meet extraction conditions, then enter the 5th module, otherwise then sufficient extraction conditions with thumb down proceeds to the 6th module;
The 5th module, for the audio power E that judges that the 3rd module obtains
a, E
bmagnitude relationship, if E
a> E
b, generate the bit that is 0, and deposit successively the bit of extraction in buffer zone, then enter the 6th module, otherwise generate the bit that is 1, and deposit successively the bit of extraction in buffer zone, then enter the 6th module;
The 6th module, for judging sampled point i
2k-1whether also have afterwards 2k sampled point, if so, expression is not yet extracted complete, and i is set
2kstarting point i for next round circulation
0, then return to the 3rd module, otherwise enter the 7th module;
The 7th module, for using the Bit String of buffer zone and according to following form, the data segment in buffer zone being unpacked, to obtain the user message extracting from wav format audio.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410261979.8A CN104123945B (en) | 2014-06-12 | 2014-06-12 | Embedding method and extracting method for wav-format audio information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410261979.8A CN104123945B (en) | 2014-06-12 | 2014-06-12 | Embedding method and extracting method for wav-format audio information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104123945A true CN104123945A (en) | 2014-10-29 |
CN104123945B CN104123945B (en) | 2017-01-18 |
Family
ID=51769333
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410261979.8A Active CN104123945B (en) | 2014-06-12 | 2014-06-12 | Embedding method and extracting method for wav-format audio information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104123945B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106161021A (en) * | 2015-03-30 | 2016-11-23 | 重庆邮电大学 | Private data sending method and device, private data method of reseptance and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6571144B1 (en) * | 1999-10-20 | 2003-05-27 | Intel Corporation | System for providing a digital watermark in an audio signal |
CN102737639A (en) * | 2012-07-13 | 2012-10-17 | 北京理工大学 | Safety communication method for voice information |
CN102905134A (en) * | 2012-10-22 | 2013-01-30 | 山东省计算中心 | Adaptive video digital steganography method |
CN103731654A (en) * | 2013-12-23 | 2014-04-16 | 华中科技大学 | Information embedding system and information extracting system using 2D/3D videos |
-
2014
- 2014-06-12 CN CN201410261979.8A patent/CN104123945B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6571144B1 (en) * | 1999-10-20 | 2003-05-27 | Intel Corporation | System for providing a digital watermark in an audio signal |
CN102737639A (en) * | 2012-07-13 | 2012-10-17 | 北京理工大学 | Safety communication method for voice information |
CN102905134A (en) * | 2012-10-22 | 2013-01-30 | 山东省计算中心 | Adaptive video digital steganography method |
CN103731654A (en) * | 2013-12-23 | 2014-04-16 | 华中科技大学 | Information embedding system and information extracting system using 2D/3D videos |
Non-Patent Citations (10)
Title |
---|
BHAT K V, SENGUPTA I: ""An adaptive audio watermarking based on the singular value decomposition in the wavelet domain"", 《A REVIEW JOURNAL OF DIGITAL SIGNAL PROCESSING》 * |
HUANG J W, WANG Y, AND SHI Y Q: ""A blind audio watermarking algorithm with self-synchronization"", 《PROCEEDINGS OF IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEM》 * |
YIN XIONG, ZHANG XIAOMING.: ""Covert Communication Audio Watermarking Algorithm Based on LSB"", 《10TH INTERNATIONAL CONFERENCE ON COMMUNICATION TECHNOLOGY》 * |
严迪群: ""压缩域音频隐写与隐写分析中若干问题的研究"", 《中国博士学位论文全文数据库信息科技辑》 * |
倪明等: ""一种改进的LSB音频信息隐藏算法"", 《电脑知识与技术》 * |
刘冉: ""强鲁棒的数字音频信息隐藏技术及安全性研究"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
李曦: ""信息隐藏技术及其在WAV文件中的实现"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
李跃强等: ""一种用音频作载体的信息隐藏算法"", 《计算机应用研究》 * |
特列克别克米沙: ""一种新的信息隐藏算法的设计研究"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
陈铭: ""写与隐写分析算法及实践研究"", 《中国博士学位论文全文数据库信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106161021A (en) * | 2015-03-30 | 2016-11-23 | 重庆邮电大学 | Private data sending method and device, private data method of reseptance and device |
Also Published As
Publication number | Publication date |
---|---|
CN104123945B (en) | 2017-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103605950B (en) | Method and system for hiding signature in credible two-dimensional code | |
CN107147488A (en) | A kind of signature sign test system and method based on SM2 enciphering and deciphering algorithms | |
CN108111295B (en) | Homomorphic encryption method based on analog-to-analog operation | |
RU2013126419A (en) | METHOD FOR PERFORMING A FINANCIAL TRANSACTION THROUGH UNPROTECTED COMMON USE COMMUNICATION INFRASTRUCTURE AND DEVICE FOR THIS | |
CN108599934B (en) | Verifiable security and confidentiality enhancement method for quantum key distribution | |
CN103259662A (en) | Novel procuration signature and verification method based on integer factorization problems | |
CN107483192A (en) | A kind of data transmission method and device based on quantum communication | |
CN103019648A (en) | True random number generator with digital post-processing circuit | |
CN102117476B (en) | Signature watermark system used for CAD (Computer-Aided Design) documents | |
Yang et al. | Efficient Secure Data Provenance Scheme in Multimedia Outsourcing and Sharing. | |
Luo et al. | A novel covert communication method based on bitcoin transaction | |
CN108632031A (en) | Key generating device and method, encryption device and method | |
US20220385487A1 (en) | Systems and methods for correlating cryptographic addresses between blockchain networks | |
CN113141247A (en) | Homomorphic encryption method, device and system and readable storage medium | |
CN104780051A (en) | Side channel attack method for SM2 public key cryptography encryption algorithm | |
Bhattacharjee et al. | Unified GPU technique to boost confidentiality, integrity and trim data loss in big data transmission | |
Sari et al. | Cryptography Triple Data Encryption Standard (3DES) for Digital Image Security | |
CN115242514A (en) | Privacy set intersection method, system and related equipment based on national password | |
CN114785524A (en) | Electronic seal generation method, device, equipment and medium | |
US11509469B2 (en) | Methods and systems for password recovery based on user location | |
CN109981246A (en) | A kind of encryption method and decryption method of character string | |
CN102737639A (en) | Safety communication method for voice information | |
US20180349400A1 (en) | Steganography obsfucation | |
CN103731654B (en) | A kind of information insertion system and information extracting system using 2D/3D video | |
CN104123945A (en) | Embedding method and extracting method for wav-format audio information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |