CN109493875A - Addition, extracting method and the terminal device of audio frequency watermark - Google Patents

Addition, extracting method and the terminal device of audio frequency watermark Download PDF

Info

Publication number
CN109493875A
CN109493875A CN201811187250.5A CN201811187250A CN109493875A CN 109493875 A CN109493875 A CN 109493875A CN 201811187250 A CN201811187250 A CN 201811187250A CN 109493875 A CN109493875 A CN 109493875A
Authority
CN
China
Prior art keywords
signal
audio frequency
frequency watermark
original audio
numerical value
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
CN201811187250.5A
Other languages
Chinese (zh)
Other versions
CN109493875B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811187250.5A priority Critical patent/CN109493875B/en
Priority to PCT/CN2018/124303 priority patent/WO2020073508A1/en
Publication of CN109493875A publication Critical patent/CN109493875A/en
Application granted granted Critical
Publication of CN109493875B publication Critical patent/CN109493875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/018Audio watermarking, i.e. embedding inaudible data in the audio signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The present invention is suitable for technical field of data processing, provide the adding method and terminal device of a kind of audio frequency watermark, by in the adding procedure of audio frequency watermark, encryption is carried out to the data of audio frequency watermark and generates coded signal, shaping is carried out to coded signal according to the original audio signal got, generate standard signal, further according to the corresponding numerical value in position each in original audio signal and standard signal, standard signal is added in original audio signal, generate insertion signal, so that the data containing audio frequency watermark in insertion signal, it can be after insertion signal changes, it is compared by comparing the audio frequency watermark extracted from insertion signal with original audio frequency watermark, the case where original audio data is tampered is recognized accurately.

Description

Addition, extracting method and the terminal device of audio frequency watermark
Technical field
The invention belongs to technical field of data processing more particularly to a kind of additions of audio frequency watermark, extracting method and terminal Equipment.
Background technique
The life that us are constantly penetrated into recently as mobile Internet, using audio, video, picture as the number of representative Change information and obtained extreme enrichment, people can very easily create, obtain and propagate these digital informations.
But consequent is that the stolen risk of these digital informations greatly increases, therefore currently needs relevant skill The copyright of art means protection creator.It is easy to be maliciously tampered currently, there is the label of legal audio, and is difficult to out The problem of being tampered.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of addition of audio frequency watermark, extracting method and terminal device, with solution Label certainly of the existing technology for legal audio, which exists, to be easy to be maliciously tampered, and be difficult to out be tampered asks Topic.
The first aspect of the embodiment of the present invention provides a kind of adding method of audio frequency watermark, comprising:
The data of original audio signal and audio frequency watermark are obtained, and the data of the audio frequency watermark are encrypted, it is raw At coded signal;
Shaping is carried out to the coded signal according to the original audio signal, generates standard signal;
According to the corresponding numerical value in position each in the original audio signal and the standard signal, by the standard signal It is added in the original audio signal, generates the insertion signal for being added with the audio frequency watermark.
The second aspect of the embodiment of the present invention provides a kind of extracting method of audio frequency watermark, comprising:
Original audio signal and insertion signal are obtained, includes the data of audio frequency watermark in the insertion signal;According to institute The corresponding numerical value in each position in original audio signal and the insertion signal is stated, standard letter is extracted from the insertion signal Number;According to the original audio signal to the standard signal carry out shaping, generate coded signal, and to the coded signal into Row decryption, obtains the data of audio frequency watermark.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory and processor, described to deposit The computer program that can be run on the processor is stored in reservoir, when the processor executes the computer program, Realize following steps:
The data of original audio signal and audio frequency watermark are obtained, and the data of the audio frequency watermark are encrypted, it is raw At coded signal;Shaping is carried out to the coded signal according to the original audio signal, generates standard signal;According to the original The corresponding numerical value in each position, is added to the original audio for the standard signal in beginning audio signal and the standard signal In signal, the insertion signal for being added with the audio frequency watermark is generated.
The fourth aspect of the embodiment of the present invention provides a kind of terminal device, including memory and processor, described to deposit The computer program that can be run on the processor is stored in reservoir, when the processor executes the computer program, Realize following steps:
Original audio signal and insertion signal are obtained, includes the data of audio frequency watermark in the insertion signal;According to institute The corresponding numerical value in each position in original audio signal and the insertion signal is stated, standard letter is extracted from the insertion signal Number;According to the original audio signal to the standard signal carry out shaping, generate coded signal, and to the coded signal into Row decryption, obtains the data of audio frequency watermark.
5th aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program realizes following steps when being executed by processor:
The data of original audio signal and audio frequency watermark are obtained, and the data of the audio frequency watermark are encrypted, it is raw At coded signal;Shaping is carried out to the coded signal according to the original audio signal, generates standard signal;According to the original The corresponding numerical value in each position, is added to the original audio for the standard signal in beginning audio signal and the standard signal In signal, the insertion signal for being added with the audio frequency watermark is generated.
6th aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program realizes following steps when being executed by processor:
Original audio signal and insertion signal are obtained, includes the data of audio frequency watermark in the insertion signal;According to institute The corresponding numerical value in each position in original audio signal and the insertion signal is stated, standard letter is extracted from the insertion signal Number;According to the original audio signal to the standard signal carry out shaping, generate coded signal, and to the coded signal into Row decryption, obtains the data of audio frequency watermark.
In embodiments of the present invention, by being encrypted to the data of audio frequency watermark in the adding procedure of audio frequency watermark Coded signal is generated, shaping is carried out to coded signal according to the original audio signal got, standard signal is generated, further according to original The corresponding numerical value in each position, standard signal is added in original audio signal in beginning audio signal and standard signal, is generated Be embedded in signal so that insertion signal in the data containing audio frequency watermark, can insertion signal change after, by compare from The audio frequency watermark extracted in insertion signal is compared with original audio frequency watermark, so that original audio number be recognized accurately The case where according to being tampered.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of the adding method of audio frequency watermark provided in an embodiment of the present invention;
Fig. 2 is the specific implementation flow chart of the adding method S101 of audio frequency watermark provided in an embodiment of the present invention;
Fig. 3 is the implementation flow chart of the extracting method of audio frequency watermark provided in an embodiment of the present invention;
Fig. 4 is the structural block diagram of the adding set of audio frequency watermark provided in an embodiment of the present invention;
Fig. 5 is the structural block diagram of the extraction element of audio frequency watermark provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of a terminal device provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of another terminal device provided in an embodiment of the present invention;
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 shows the implementation process of the adding method of audio frequency watermark provided in an embodiment of the present invention, this method process packet Include step S101 to S103.The specific implementation principle of each step is as follows.
S101, obtains the data of original audio signal and audio frequency watermark, and adds to the data of the audio frequency watermark It is close, generate coded signal.
In embodiments of the present invention, it is necessary first to obtain two data, respectively original audio signal and audio frequency watermark Data, and the data of audio frequency watermark are added to original audio signal after series of computation, it generates and is added with audio frequency watermark Insertion signal.
In embodiments of the present invention, it is contemplated that audio frequency watermark has stolen risk, any if audio frequency watermark is stolen Usurping audio frequency watermark, the audio frequency watermark usurped can be added to the original sound after distorting after distorting original audio signal by person Frequency signal, then the right-safeguarding person of legal original audio signal is difficult to judge or prove raw based on the original audio signal after being tampered At insertion signal whether be legal insertion signal.Based on this, the embodiment of the present invention needs to be added according to distinctive preset first Close algorithm encrypts the data of audio frequency watermark, to generate the coded signal that can be used for characterizing audio frequency watermark, to ensure sound The safety of the data of frequency watermark.
Optionally, if after being encrypted according to data of the distinctive predetermined encryption algorithm to audio frequency watermark, generation is more The matrix of dimension then needs to convert one-dimensional binary sequence as encryption for the matrix of multidimensional by principal component analytical method and believe Number.
S102 carries out shaping to the coded signal according to the original audio signal, generates standard signal.
In embodiments of the present invention, original audio signal and the digital signal for frequency domain, coded signal be one-dimensional two into Sequence processed, and the digit of the character of original audio signal is greater than character in the sequence of coded signal in embodiments of the present invention Digit.
It is to be appreciated that facilitating that coded signal is added to original sound in subsequent steps to the shaping of coded signal In frequency signal, specific reforming process includes:
In the end zero padding of the coded signal, until the digit of the coded signal after cover is believed equal to the original audio Number digit;
Pass through preset shaping formula:Shaping is carried out to the coded signal, Generate standard signal;The Sig ' [t] is t corresponding numerical value of the standard signal, describedFor the preset calculating factor; The OriSig [t] is t corresponding numerical value of the original audio signal, and the Sig [t] is the encryption letter after the cover Number t corresponding numerical value.
S103, according to the corresponding numerical value in position each in the original audio signal and the standard signal, by the mark Calibration signal is added in the original audio signal, generates the insertion signal for being added with the audio frequency watermark.
Optionally, in embodiments of the present invention, pass through preset embedding formula:Calculate the insertion signal In the corresponding numerical value in each position.Wherein, operatorIndicate that downward rounding operation, stepsize indicate preset quantization step, D (i) the corresponding numerical value of i-th bit in the insertion signal is indicated, the F (i) indicates that i-th bit is corresponding in the original audio signal Numerical value, the Sig ' [t] indicates the corresponding numerical value of i-th bit in the standard signal.
It is to be appreciated that the algorithm of signal is embedded according to above-mentioned generation, when the corresponding numerical value of i-th bit is 0 in standard signal When, pass throughIt calculates insertion signal i-th bit and answers corresponding numerical value; When the corresponding numerical value of i-th bit is 1 in standard signal, pass through Meter It calculates insertion signal i-th bit and answers corresponding numerical value.
It is to be appreciated that in embodiments of the present invention, by the adding procedure of audio frequency watermark, to the number of audio frequency watermark Coded signal is generated according to encryption is carried out, shaping is carried out to coded signal according to the original audio signal got, generates standard letter Number, further according to the corresponding numerical value in position each in original audio signal and standard signal, standard signal is added to original audio In signal, insertion signal is generated, so that the data containing audio frequency watermark in insertion signal, can change in insertion signal Afterwards, it is compared by comparing the audio frequency watermark extracted from insertion signal with original audio frequency watermark, original is recognized accurately The case where audio data of beginning is tampered.
As an embodiment of the present invention, as shown in Fig. 2, above-mentioned S101 includes:
S011 generates argument sequence by preset Serial No. formula.
Optionally, the preset Serial No. formula includes: seqn+1=index × seqn×(1-seqn), it is described seqnFor n-th of number in the argument sequence, the index is the natural number greater than 1, wherein the 1st of the argument sequence A number is greater than 0 and the natural number less than 1 to be preset.
It is to be appreciated that in setting index and seqnThe 1st number after, can be given birth to by above-mentioned Serial No. formula At the multiple numbers being arranged successively, the Digital size thus one Serial No. of composition, and in the Serial No. is different and simultaneously Without specific variation tendency.
S1012 intercepts the number equal with the character number that the data of the audio frequency watermark include from the argument sequence Word, as selected sequence.
It is to be appreciated that the Serial No. of random length can be generated by above-mentioned Serial No. formula, and in this hair It only needs to intercept the number equal with the character number that the data of the audio frequency watermark include in bright embodiment, as selected sequence Column.
The data of the audio frequency watermark are converted to watermark matrix, and the selected sequence are converted to parameter square by S1013 Battle array, the watermark matrix are equal with the line number of the parameter matrix.
Illustratively, it is assumed that the data of audio frequency watermark and selected sequence include 10000 numbers, then according to preset The number for including by the two that puts in order inserts matrix, and the watermark matrix and parameter matrix of 100 rows 100 column can be generated.
S1014 rearranges each element value according to the size of each element value in the parameter matrix, and generation is reflected Matrix is penetrated, and according to the positional relationship of identical element value in the parameter matrix and the mapping matrix, generates position mapping Rule.
Illustratively, in order to more clearly illustrate the generating process of position mapping ruler, the ginseng that is arranged herein with 3 rows 3 Matrix number citing, it is assumed that parameter matrix are as follows:If according to each element value size by each element value by it is small to It rearranges greatly, then the mapping matrix generated are as follows:By by each element in parameter matrix and mapping matrix Value compares, and the identical position of element value in two matrixes is mapped, it is known that in this example, the 1st row before conversion The element value of 1st column is corresponding with the element value of the 3rd row the 2nd column after conversion;The element value and turn that the 1st row the 2nd before conversion arranges The element value of the 3rd row the 1st column after changing is corresponding;The element value of the 1st row the 3rd column before conversion and the first row the 1st after conversion arrange Element value it is corresponding, and so on, generate 9 position mapping rulers.
S1015 is rearranged each element value in the watermark matrix by the position mapping ruler, and The element value in matrix generated after rearranging is sequentially output according to putting in order, and generates coded signal.
It is to be appreciated that generate position mapping ruler in example above, due in embodiments of the present invention, watermark The row and column of matrix and parameter matrix is equal, therefore can will be each in watermark matrix by identical position mapping ruler Element value is moved, to be rearranged, and the element of the matrix after rearranging is put in order according to preset It is sequentially output, generates coded signal.
In embodiments of the present invention, it is encrypted by data of the above-mentioned encryption method to audio frequency watermark, so that unauthorized User can not be accurately obtained coded signal knowing the data of audio frequency watermark, thus can not distort original audio letter Original audio signal after distorting accurate coded signal filling after number is facilitated deciding on based on original audio signal generation Whether insertion signal is tampered with.
Fig. 3 shows the implementation process of the extracting method of audio frequency watermark provided in an embodiment of the present invention, this method process packet Include step S301 to S303.The specific implementation principle of each step is as follows.
S301, obtains original audio signal and insertion signal, includes the data of audio frequency watermark in the insertion signal.
In embodiments of the present invention, when need to verify one comprising audio frequency watermark data insertion signal whether once by When distorting, the original audio signal being based on during generating the insertion signal can be transferred.
S302, according to the corresponding numerical value in position each in the original audio signal and the insertion signal, from described embedding Enter and extracts standard signal in signal.
Optionally, pass through preset parameter calculation formula:Calculate institute The corresponding discriminant parameter in each position in insertion signal is stated, the r (i) is the corresponding discriminant parameter of i-th bit in the insertion signal, The F (i) is the corresponding numerical value of i-th bit in the original audio signal, and D (i) is the corresponding number of i-th bit in the insertion signal Value, the stepsize are preset quantization step, operatorIndicate downward rounding operation;
Optionally, pass through preset watermark extracting formula:It calculates each The corresponding numerical value of a discriminant parameter, and the corresponding numerical value of the discriminant parameter is arranged, standard signal is obtained, it is described J (i) is the corresponding numerical value of the audio frequency watermark i-th bit.
It is to be appreciated that in embodiments of the present invention, if the corresponding discriminant parameter of i-th bit is greater than or equal in insertion signal The corresponding numerical value of audio frequency watermark i-th bit is then designated as 1 by the half of quantization step, it is on the contrary then by the corresponding number of audio frequency watermark i-th bit Value is designated as 0.
S303 carries out shaping to the standard signal according to the original audio signal, generates coded signal, and to described Coded signal is decrypted, and obtains the data of audio frequency watermark.
In embodiments of the present invention, pass through preset shaping formula:Anti- behaviour A signal is calculated as coded signal;The Sig ' [t] is t corresponding numerical value of the standard signal, describedFor The preset calculating factor;The OriSig [t] is t corresponding numerical value of the original audio signal, and the Sig [t] is institute T corresponding numerical value of coded signal after stating cover.
Implement kind in the present invention, coded signal is decrypted by preset decipherment algorithm, obtains the number of audio frequency watermark According to.
Optionally, the corresponding preset position mapping ruler of the original audio signal, the position mapping ruler are transferred In comprising matrix before switching after each element position mapping relations, and by numerical value each in the coded signal insert matrix Middle generation scrambled matrix is adjusted the position of each element value in the scrambled matrix by the position mapping ruler It is whole, generate watermark matrix;Finally each element value in watermark matrix is sequentially output, the data as audio frequency watermark.
In embodiments of the present invention, by extracting the data of audio frequency watermark from insertion signal, it is for verifying insertion signal No be tampered provides data support, is conducive to the intellectual property for protecting original audio signal author.
Corresponding to the adding method of audio frequency watermark described in foregoing embodiments, Fig. 4 shows provided in an embodiment of the present invention The structural block diagram of the adding set of audio frequency watermark, for ease of description, only parts related to embodiments of the present invention are shown.
Referring to Fig. 4, which includes:
Module 401 is obtained, for obtaining the data of original audio signal and audio frequency watermark, and to the audio frequency watermark Data are encrypted, and coded signal is generated;
Shaping Module 402 generates standard letter for carrying out shaping to the coded signal according to the original audio signal Number;
Adding module 403, for according to the corresponding number in position each in the original audio signal and the standard signal Value, the standard signal is added in the original audio signal, generates the insertion signal for being added with the audio frequency watermark.
The data to the audio frequency watermark encrypt, and generate coded signal, comprising:
Pass through preset Serial No. formula: seqn+1=index × seqn×(1-seqn) argument sequence is generated, it is described seqnFor n-th of number in the argument sequence, the index is the natural number greater than 1, wherein the 1st of the argument sequence A number is greater than 0 and the natural number less than 1 to be preset;
The number equal with the character number that the data of the audio frequency watermark include is intercepted from the argument sequence, as Selected sequence;
The data of the audio frequency watermark are converted into watermark matrix, and the selected sequence is converted into parameter matrix, institute It is equal with the line number of the parameter matrix to state watermark matrix;
Each element value is rearranged according to the size of each element value in the parameter matrix, generates mapping square Battle array, and according to the positional relationship of identical element value in the parameter matrix and the mapping matrix, generate position mapping ruler;
Each element value in the watermark matrix is rearranged by the position mapping ruler, and will again The element value in matrix generated after arrangement is sequentially output according to putting in order, and generates coded signal.
It is described that shaping is carried out to the coded signal according to the original audio signal, generate standard signal, comprising:
In the end zero padding of the coded signal, until the digit of the coded signal after cover is believed equal to the original audio Number digit;
Pass through preset shaping formula:Shaping is carried out to the coded signal, Generate standard signal;The Sig ' [t] is t corresponding numerical value of the standard signal, describedFor the preset calculating factor; The OriSig [t] is t corresponding numerical value of the original audio signal, and the Sig [t] is the encryption letter after the cover Number t corresponding numerical value.
It is described according to the corresponding numerical value in position each in the original audio signal and the standard signal, by the standard Signal is added in the original audio signal, generates the insertion signal for being added with the audio frequency watermark, comprising: by preset Embedding formula:Calculate institute State the corresponding numerical value in each position in insertion signal.Wherein, operatorIndicate that downward rounding operation, stepsize indicate preset Quantization step, D (i) indicate the corresponding numerical value of i-th bit in the insertion signal, and the F (i) indicates in the original audio signal The corresponding numerical value of i-th bit, the Sig ' [t] indicate the corresponding numerical value of i-th bit in the standard signal.
In embodiments of the present invention, by being encrypted to the data of audio frequency watermark in the adding procedure of audio frequency watermark Coded signal is generated, shaping is carried out to coded signal according to the original audio signal got, standard signal is generated, further according to original The corresponding numerical value in each position, standard signal is added in original audio signal in beginning audio signal and standard signal, is generated Be embedded in signal so that insertion signal in the data containing audio frequency watermark, can insertion signal change after, by compare from The audio frequency watermark extracted in insertion signal is compared with original audio frequency watermark, and original audio data quilt is recognized accurately The case where distorting.
Corresponding to the extracting method of audio frequency watermark described in foregoing embodiments, Fig. 5 shows provided in an embodiment of the present invention The structural block diagram of the extraction element of audio frequency watermark, for ease of description, only parts related to embodiments of the present invention are shown.
Referring to Fig. 5, which includes:
Module 501 is obtained, includes audio water in the insertion signal for obtaining original audio signal and insertion signal The data of print;
Extraction module 502, for according to the corresponding number in position each in the original audio signal and the insertion signal Value, extracts standard signal from the insertion signal;
Generation module 503 generates encryption letter for carrying out shaping to the standard signal according to the original audio signal Number, and the coded signal is decrypted, obtain the data of audio frequency watermark.
It is described according to the corresponding numerical value in position each in the original audio signal and the insertion signal, from the insertion Standard signal is extracted in signal, comprising:
Pass through preset parameter calculation formula:Calculate the insertion The corresponding discriminant parameter in each position in signal, the r (i) are the corresponding discriminant parameter of i-th bit in the insertion signal, the F It (i) is the corresponding numerical value of i-th bit in the original audio signal, D (i) is the corresponding numerical value of i-th bit in the insertion signal, institute Stating stepsize is preset quantization step, operatorIndicate downward rounding operation;
Pass through preset watermark extracting formula:It calculates and each described sentences The corresponding numerical value of other parameter, and the corresponding numerical value of the discriminant parameter is arranged, standard signal is obtained, the J (i) is institute State the corresponding numerical value of audio frequency watermark i-th bit.
In embodiments of the present invention, by extracting the data of audio frequency watermark from insertion signal, it is for verifying insertion signal No be tampered provides data support, is conducive to the intellectual property for protecting original audio signal author.
Fig. 6 is the schematic diagram of a terminal device provided in an embodiment of the present invention.As shown in fig. 6, the terminal of the embodiment Equipment 6 includes: processor 60, memory 61 and is stored in the memory 61 and can run on the processor 60 Computer program 62, such as the addition program of audio frequency watermark.The processor 60 is realized when executing the computer program 62 State the step in the adding method embodiment of each audio frequency watermark, such as step 101 shown in FIG. 1 is to 103.Alternatively, the place Reason device 60 realizes the function of each module/module in above-mentioned each Installation practice, such as Fig. 4 institute when executing the computer program 62 Show the function of module 401 to 403.
Fig. 7 is the schematic diagram of another terminal device provided in an embodiment of the present invention.As shown in fig. 7, the end of the embodiment End equipment 7 includes: processor 70, memory 71 and is stored in the memory 71 and can run on the processor 70 Computer program 72, such as the addition program of audio frequency watermark.The realization when processor 70 executes the computer program 72 Step in the adding method embodiment of above-mentioned each audio frequency watermark, such as step 301 shown in FIG. 1 is to 303.Alternatively, described Processor 70 realizes the function of each module/module in above-mentioned each Installation practice, such as Fig. 5 when executing the computer program 72 The function of shown module 501 to 503.
Illustratively, the computer program 62 can be divided into one or more module/modules, it is one or Multiple module/modules are stored in the memory 61, and are executed by the processor 60, to complete the present invention.Described one A or multiple module/modules can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 62 in the terminal device 6 is described.
The terminal device 6,7 can be the calculating such as desktop PC, notebook, palm PC and cloud terminal device Equipment.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can module, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional module, module are completed, i.e., the internal structure of described device is divided into different functional module or module, more than completing The all or part of function of description.Each functional module, module in embodiment can integrate in a processing module, can also To be that modules physically exist alone, can also be integrated in two or more modules in a module, it is above-mentioned integrated Module both can take the form of hardware realization, can also be realized in the form of software function module.In addition, each function mould Block, module specific name be also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system Middle module, the specific work process of module, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple On network module.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
If the integrated module/module realized in the form of software function module and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of adding method of audio frequency watermark characterized by comprising
The data of original audio signal and audio frequency watermark are obtained, and the data of the audio frequency watermark are encrypted, generates and adds Secret letter number;
Shaping is carried out to the coded signal according to the original audio signal, generates standard signal;
According to the corresponding numerical value in position each in the original audio signal and the standard signal, the standard signal is added Into in the original audio signal, the insertion signal for being added with the audio frequency watermark is generated.
2. the adding method of audio frequency watermark as described in claim 1, which is characterized in that the data to the audio frequency watermark It is encrypted, generates coded signal, comprising:
Pass through preset Serial No. formula: seqn+1=index × seqn×(1-seqn) generate argument sequence, the seqnFor N-th of number in the argument sequence, the index are the natural number greater than 1, wherein the 1st number of the argument sequence It is greater than 0 and the natural number less than 1 to be preset;
The number equal with the character number that the data of the audio frequency watermark include is intercepted from the argument sequence, as selected Sequence;
The data of the audio frequency watermark are converted into watermark matrix, and the selected sequence is converted into parameter matrix, the water It is equal with the line number of the parameter matrix to print matrix;
Each element value is rearranged according to the size of each element value in the parameter matrix, generates mapping matrix, and According to the positional relationship of identical element value in the parameter matrix and the mapping matrix, position mapping ruler is generated;
Each element value in the watermark matrix is rearranged by the position mapping ruler, and will be rearranged The element value in matrix generated afterwards is sequentially output according to putting in order, and generates coded signal.
3. the adding method of audio frequency watermark as described in claim 1, which is characterized in that described according to the original audio signal Shaping is carried out to the coded signal, generates standard signal, comprising:
In the end zero padding of the coded signal, until the digit of the coded signal after cover is equal to the original audio signal Digit;
Pass through preset shaping formula:Shaping is carried out to the coded signal, is generated Standard signal;The Sig ' [t] is t corresponding numerical value of the standard signal, describedFor the preset calculating factor;It is described OriSig [t] is t corresponding numerical value of the original audio signal, and the Sig [t] is the coded signal after the cover the T corresponding numerical value.
4. the adding method of audio frequency watermark as described in claim 1, which is characterized in that described according to the original audio signal And the corresponding numerical value in each position in the standard signal, the standard signal is added in the original audio signal, it is raw At the insertion signal for being added with the audio frequency watermark, comprising: pass through preset embedding formula:Calculate the insertion signal In the corresponding numerical value in each position.Wherein, operatorIndicate that downward rounding operation, stepsize indicate preset quantization step, D (i) indicates the corresponding numerical value of i-th bit in the insertion signal, and the F (i) indicates that i-th bit is corresponding in the original audio signal Numerical value, the Sig ' [t] indicates the corresponding numerical value of i-th bit in the standard signal.
5. a kind of extracting method of audio frequency watermark characterized by comprising
Original audio signal and insertion signal are obtained, includes the data of audio frequency watermark in the insertion signal;
According to the corresponding numerical value in position each in the original audio signal and the insertion signal, mentioned from the insertion signal Take out standard signal;
Shaping is carried out to the standard signal according to the original audio signal, generates coded signal, and to the coded signal It is decrypted, obtains the data of audio frequency watermark.
6. the adding method of audio frequency watermark as described in claim 1, which is characterized in that described according to the original audio signal And the corresponding numerical value in each position in the insertion signal, standard signal is extracted from the insertion signal, comprising:
Pass through preset parameter calculation formula:It calculates in the insertion signal The corresponding discriminant parameter in each position, the r (i) are the corresponding discriminant parameter of i-th bit in the insertion signal, and the F (i) is institute The corresponding numerical value of i-th bit in original audio signal is stated, D (i) is the corresponding numerical value of i-th bit in the insertion signal, described Stepsize is preset quantization step, operatorIndicate downward rounding operation;
Pass through preset watermark extracting formula:Calculate each differentiation ginseng The corresponding numerical value of number, and the corresponding numerical value of the discriminant parameter is arranged, standard signal is obtained, the J (i) is the sound The corresponding numerical value of frequency watermark i-th bit.
7. a kind of terminal device, including memory and processor, it is stored with and can transports on the processor in the memory Capable computer program, which is characterized in that when the processor executes the computer program, realize following steps:
The data of original audio signal and audio frequency watermark are obtained, and the data of the audio frequency watermark are encrypted, generates and adds Secret letter number;
Shaping is carried out to the coded signal according to the original audio signal, generates standard signal;
According to the corresponding numerical value in position each in the original audio signal and the standard signal, the standard signal is added Into in the original audio signal, the insertion signal for being added with the audio frequency watermark is generated.
8. a kind of terminal device, including memory and processor, it is stored with and can transports on the processor in the memory Capable computer program, which is characterized in that when the processor executes the computer program, realize following steps:
Original audio signal and insertion signal are obtained, includes the data of audio frequency watermark in the insertion signal;
According to the corresponding numerical value in position each in the original audio signal and the insertion signal, mentioned from the insertion signal Take out standard signal;
Shaping is carried out to the standard signal according to the original audio signal, generates coded signal, and to the coded signal It is decrypted, generates the data of audio frequency watermark.
9. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as Claims 1-4 of realization the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 5 or 6 of realization the method.
CN201811187250.5A 2018-10-12 2018-10-12 Audio watermark adding and extracting method and terminal equipment Active CN109493875B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811187250.5A CN109493875B (en) 2018-10-12 2018-10-12 Audio watermark adding and extracting method and terminal equipment
PCT/CN2018/124303 WO2020073508A1 (en) 2018-10-12 2018-12-27 Method and device for adding and extracting audio watermark, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811187250.5A CN109493875B (en) 2018-10-12 2018-10-12 Audio watermark adding and extracting method and terminal equipment

Publications (2)

Publication Number Publication Date
CN109493875A true CN109493875A (en) 2019-03-19
CN109493875B CN109493875B (en) 2023-07-07

Family

ID=65689538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811187250.5A Active CN109493875B (en) 2018-10-12 2018-10-12 Audio watermark adding and extracting method and terminal equipment

Country Status (2)

Country Link
CN (1) CN109493875B (en)
WO (1) WO2020073508A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110197054A (en) * 2019-04-26 2019-09-03 平安科技(深圳)有限公司 MusicXML formatted file watermark insertion and extracting method, device and storage medium
CN110266889A (en) * 2019-06-26 2019-09-20 四川神琥科技有限公司 A method of record and protection recorded audio are distorted by editing
CN110619883A (en) * 2019-08-23 2019-12-27 平安科技(深圳)有限公司 Music information embedding method, music information extracting method, music information embedding device, music information extracting device, terminal and storage medium
CN111341329A (en) * 2020-02-04 2020-06-26 北京达佳互联信息技术有限公司 Watermark information adding method, watermark information extracting device, watermark information adding equipment and watermark information extracting medium
CN113012702A (en) * 2021-02-22 2021-06-22 鹏城实验室 Voice blind watermark injection method, device, equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111883108A (en) * 2020-07-06 2020-11-03 珠海格力电器股份有限公司 Password embedding method and device, password matching method and device and control system
CN116825116B (en) * 2023-07-18 2024-03-12 合肥工业大学 Robust audio watermark embedding and extracting method for resisting desynchronization attack

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941693A (en) * 2006-01-12 2007-04-04 大连理工大学 Method for watermarking small wave threshold digital audio multiple mesh based on blind source separation
CN103425920A (en) * 2013-08-26 2013-12-04 江苏物联网研究发展中心 Audio information-based database security access control method of digital watermark
US20140108020A1 (en) * 2012-10-15 2014-04-17 Digimarc Corporation Multi-mode audio recognition and auxiliary data encoding and decoding
CN104795071A (en) * 2015-04-18 2015-07-22 广东石油化工学院 Blind audio watermark embedding and watermark extraction processing method
CN105608661A (en) * 2015-12-28 2016-05-25 辽宁师范大学 Shear wave domain audio watermark embedding and detecting method based on robust QR decomposition

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104810022B (en) * 2015-05-11 2018-06-15 东北师范大学 A kind of time domain digital audio water mark method based on audio breakpoint
CN106504757A (en) * 2016-11-09 2017-03-15 天津大学 A kind of adaptive audio blind watermark method based on auditory model
US10121477B2 (en) * 2016-11-23 2018-11-06 Ati Technologies Ulc Video assisted digital audio watermarking

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941693A (en) * 2006-01-12 2007-04-04 大连理工大学 Method for watermarking small wave threshold digital audio multiple mesh based on blind source separation
US20140108020A1 (en) * 2012-10-15 2014-04-17 Digimarc Corporation Multi-mode audio recognition and auxiliary data encoding and decoding
CN103425920A (en) * 2013-08-26 2013-12-04 江苏物联网研究发展中心 Audio information-based database security access control method of digital watermark
CN104795071A (en) * 2015-04-18 2015-07-22 广东石油化工学院 Blind audio watermark embedding and watermark extraction processing method
CN105608661A (en) * 2015-12-28 2016-05-25 辽宁师范大学 Shear wave domain audio watermark embedding and detecting method based on robust QR decomposition

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110197054A (en) * 2019-04-26 2019-09-03 平安科技(深圳)有限公司 MusicXML formatted file watermark insertion and extracting method, device and storage medium
CN110266889A (en) * 2019-06-26 2019-09-20 四川神琥科技有限公司 A method of record and protection recorded audio are distorted by editing
CN110266889B (en) * 2019-06-26 2021-03-19 四川神琥科技有限公司 Method for recording and preventing recorded audio from being edited and tampered
CN110619883A (en) * 2019-08-23 2019-12-27 平安科技(深圳)有限公司 Music information embedding method, music information extracting method, music information embedding device, music information extracting device, terminal and storage medium
WO2021035963A1 (en) * 2019-08-23 2021-03-04 平安科技(深圳)有限公司 Music-based information embedding method, extraction method, apparatus, terminal, and storage medium
CN110619883B (en) * 2019-08-23 2023-05-23 平安科技(深圳)有限公司 Information embedding method, information extracting method, information embedding device, information extracting device, terminal and storage medium
CN111341329A (en) * 2020-02-04 2020-06-26 北京达佳互联信息技术有限公司 Watermark information adding method, watermark information extracting device, watermark information adding equipment and watermark information extracting medium
CN111341329B (en) * 2020-02-04 2022-01-21 北京达佳互联信息技术有限公司 Watermark information adding method, watermark information extracting device, watermark information adding equipment and watermark information extracting medium
CN113012702A (en) * 2021-02-22 2021-06-22 鹏城实验室 Voice blind watermark injection method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2020073508A1 (en) 2020-04-16
CN109493875B (en) 2023-07-07

Similar Documents

Publication Publication Date Title
CN109493875A (en) Addition, extracting method and the terminal device of audio frequency watermark
CN111784001B (en) Model training method and device and computer readable storage medium
CN107610191B (en) Color image encryption method and device
CN112532591B (en) Cross-domain access control method, system, storage medium, computer equipment and terminal
CN107239708A (en) It is a kind of that the image encryption method converted with score field is mapped based on quantum chaos
Wang et al. A privacy-preserving and traitor tracking content-based image retrieval scheme in cloud computing
CN110224984A (en) A kind of multi-party authorization method and device based on block chain technology
CN109840401A (en) For the watermark embedding method of data text
CN109040760A (en) The guard method of network image copyright information, device and storage medium
US8280061B2 (en) Methods and systems for storing and retrieving encrypted data
CN112989394B (en) Vector geographic data encryption and decryption method and system
US11146382B2 (en) Structured file encryption process
JPH06259012A (en) Enciphering method by hierarchic key control and information communication system
KR100464611B1 (en) Employing synthetic genes in genetic algorithms, information encoding and non-replicative encryption
CN111131657A (en) Chaos medical image tamper-proof encryption method based on self-verification matrix
CN109768969A (en) Authority control method and internet-of-things terminal, electronic equipment
Reddy et al. Image encryption using orthogonal Hill Cipher algorithm
CN113127911B (en) Electric power data encryption method and device and terminal
CN112417509B (en) Data security de-duplication method based on self-encoder
CN106603244A (en) Digital right management protection method and device
Pham et al. 3D printing model random encryption based on geometric transformation
Pham et al. Perceptual encryption based on features of interpolating curve for vector map
Achriadi et al. Encryption and Description of RGB Values in Images Using the Hill Chiper Algorithm
Li et al. A 3D model encryption method supporting adaptive visual effects after decryption
Pham et al. Edges of Interpolating Tetrahedron Based Encryption Algorithm for 3D Printing Model

Legal Events

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