Audio anti-tampering method, device, equipment and medium based on digital watermark technology

Through the audio anti-tampering method based on digital watermark technology, real-time communication content and user parameters are used to generate real-time watermarks, which solves the problem of audio data being easily tampered with during transmission and improves the security and integrity of audio data.

CN118053435BActive Publication Date: 2024-09-10北京富通亚讯网络信息技术有限公司
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410337540.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-23
Publication Date
2024-09-10
Estimated Expiration
2044-03-23

AI Technical Summary

Technical Problem

In the existing technology, audio data is easily tampered with during the transmission process, resulting in a reduction in the integrity and authenticity of the audio data. Tampers can decode and extract preset audio watermarks, thus destroying the security of the audio data.

Method used

Using a method based on digital watermark technology, by obtaining real-time communication content parameters and user parameters, determining the real-time watermark content and insertion method, and adding real-time digital watermarks to the target audio data to improve the security of the audio data.

Benefits of technology

It achieves higher security of audio data, reduces the probability of tampering and watermark extraction, and ensures the integrity and authenticity of audio data during transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118053435B
    Figure CN118053435B
Patent Text Reader

Abstract

The present application relates to the field of data transmission, and in particular to an audio anti-tampering method, device, equipment and medium based on digital watermarking technology, the method comprising: obtaining real-time communication content parameters, and determining a real-time digital watermark based on the communication content parameters; obtaining communication user parameters, and generating a watermark insertion method based on the communication user parameters; obtaining target communication audio, and adding a real-time digital watermark to the target communication audio based on the watermark insertion method to obtain the target communication audio containing the real-time digital watermark. The present application can more safely add audio watermarks to audio data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and in particular to an audio anti-tampering method, device, equipment and medium based on digital watermark technology. Background Art

[0002] With the development of communication technology and network technology, video calls are becoming increasingly popular, that is, users talk to each other through video. Specifically, the sending end of the video call first needs to collect the audio and video data of the user, wherein the audio data includes the waveform information of the sound, and the video data includes the pixel information of the image; then the sending end of the video call encodes the collected audio data and video data and converts them into digital information; the encoded audio data and video data are transmitted through the communication network from the sending end of the video call to the receiving end of the video call, wherein the above-mentioned sending end and the above-mentioned receiving end correspond to different users respectively; at the above-mentioned receiving end, the transmitted encoded video data and audio data are received and decoded to obtain the restored audio data and video data; the above-mentioned receiving end plays and displays the restored audio data and video data.

[0003] At present, the integrity and authenticity of audio is often guaranteed by adding audio watermarks. Specifically, before the above-mentioned sending end sends the audio data, the preset audio content is first inserted into the audio data in a circular or random manner, and the preset audio watermark is directly and completely inserted into the audio data to obtain the audio data with the watermark, and then the audio data with the watermark is encoded and converted into digital information.

[0004] However, the tamperer can obtain multiple target digital information, where the target digital information is obtained by encoding the audio data with the audio watermark; decode the multiple target digital information to obtain multiple audio data with watermarks; and then extract the same audio segment from the multiple audio data to be watermarked to obtain the preset audio watermark. This will reduce the integrity and authenticity of the audio data in the video call.

[0005] Therefore, how to achieve audio tamper-proofing by adding audio watermarks to audio data more securely is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0006] In order to achieve more secure addition of audio watermarks to audio data, the present application provides an audio anti-tampering method, apparatus, device and medium based on digital watermark technology.

[0007] In a first aspect, the present application provides an audio anti-tampering method based on digital watermark technology, which adopts the following technical solution:

[0008] An audio anti-tampering method based on digital watermark technology, comprising:

[0009] Acquiring real-time communication content parameters, and determining a real-time digital watermark based on the communication content parameters;

[0010] Acquire communication user parameters, and generate a watermark insertion method based on the communication user parameters;

[0011] The target communication audio is acquired, and based on the watermark insertion method, the real-time digital watermark is added to the target communication audio to obtain the target communication audio containing the real-time digital watermark.

[0012] By adopting the above technical scheme, after obtaining the real-time communication content parameters, the real-time digital watermark is determined based on the above communication content parameters to determine the real-time watermark content; after obtaining the communication user parameters, a real-time watermark insertion method is generated based on the communication user parameters; compared with the related technology, the preset digital watermark is directly and completely inserted into the audio data, after obtaining the target communication audio, this scheme adds the real-time digital watermark to the target communication audio through a real-time watermark insertion method, which improves the security of the audio digital watermark technology from the two perspectives of insertion method and watermark content, so as to obtain a more secure target communication audio containing a real-time digital watermark, thereby realizing audio tamper-proofing.

[0013] In a preferred example, the present application may be further configured as follows: the communication content parameter includes a parameter set corresponding to the communication content and a sentence order corresponding to the communication content,

[0014] Determining a real-time digital watermark based on the communication content parameter includes:

[0015] For each of the communication contents, determining a target watermark template corresponding to the communication content according to the total number of preset watermark templates and the sentence order corresponding to the communication content;

[0016] Based on the target watermark template, a parameter set corresponding to the communication content is processed to obtain the real-time digital watermark.

[0017] By adopting the above technical scheme, for each communication content, the target watermark template corresponding to the communication content and capable of representing the digital watermark structure is determined according to the total number of preset watermark templates and the sentence order corresponding to the communication content; compared with the case where there is no pre-set structure, this scheme is based on the target watermark template capable of representing the digital watermark structure, and can process the communication content more quickly, thereby obtaining a real-time digital watermark more quickly.

[0018] In a preferred example, the present application can be further configured as follows: the communication user parameters include a speaking user ID and an IP address corresponding to the speaking user ID,

[0019] Based on the communication user parameters, a watermark insertion method is generated, including:

[0020] Integrate the speaking user ID and the IP address corresponding to the speaking user ID to obtain a communication user code;

[0021] Convert each digit included in the communication user code into a binary code to obtain a binary array corresponding to the communication user code;

[0022] Based on the binary array, a watermark segmentation method is generated as the watermark insertion method.

[0023] By adopting the above technical solution, the speaking user ID and the IP address corresponding to the speaking user ID are integrated to obtain a communication user code that can accurately represent the user identity; then each digit included in the communication user code is converted into a binary code to obtain a binary array corresponding to the communication user code, and then a watermark segmentation method is generated based on the binary array as a watermark insertion method that can represent the user identity.

[0024] In a preferred example, the present application may be further configured as follows: the target communication audio includes a plurality of characters arranged in word order,

[0025] Before adding the real-time digital watermark to the target communication audio based on the watermark insertion method to obtain the target communication audio containing the real-time digital watermark, the method further includes:

[0026] Based on the watermark insertion method, determining a target digital watermark in the real-time digital watermark;

[0027] Correspondingly, based on the watermark insertion method, the target digital watermark is added to the target communication audio to obtain the target communication audio containing the real-time digital watermark, including:

[0028] Based on the watermark insertion method, the target digital watermark is added to the target communication audio to obtain the target communication audio containing the real-time digital watermark.

[0029] By adopting the above technical scheme, based on the watermark insertion method, in the real-time digital watermark, the target digital watermark is determined to reduce the content of the inserted communication data and thus reduce the probability of reducing the integrity of the image communication data; correspondingly, the real-time digital watermark is inserted into the target communication audio based on the determined insertion details, which can reduce the probability of damage to the target communication audio due to improper watermark insertion.

[0030] In a preferred example, the present application may be further configured as follows: when it is detected that the audio is tampered with, the audio anti-tampering method further includes:

[0031] Acquire a tampered audio control group; and perform tampering mode analysis based on the tampered audio control group to obtain a tampering mode corresponding to the tampered audio control group;

[0032] Based on the tampering method and the original digital watermark insertion method, the original digital watermark insertion method is improved to obtain a new digital watermark insertion method.

[0033] By adopting the above technical solution, after obtaining the tampered audio control group, the tampering method analysis is performed based on the tampered audio control group to determine the tampering method corresponding to the tampered audio; based on the determined tampering method, the original digital watermark insertion method is improved to reduce the probability of the digital watermark being extracted.

[0034] In a preferred example, the present application can be further configured as follows: the tampered audio control group includes the audio before transmission and the audio after actual transmission,

[0035] Performing a tampering mode analysis based on the tampered audio control group to obtain a tampering mode corresponding to the tampered audio control group includes:

[0036] Determine the historical digital watermark and the historical watermark insertion method corresponding to the audio before transmission; and insert the historical digital watermark into the audio before transmission in the historical watermark insertion method to obtain the theoretical audio after transmission;

[0037] Based on the theoretical transmitted audio and the actual transmitted audio, the tampering mode is obtained.

[0038] By adopting the above technical solution, the theoretical audio after transmission is re-determined, and the above theoretical audio after transmission is compared with the actual audio after transmission, the difference between the two can be directly compared, so as to accurately determine the tampering method.

[0039] In a preferred example, the present application may be further configured as follows: after improving the original digital watermark insertion method based on the tampering method and the original digital watermark insertion method to obtain a new digital watermark insertion method, the application may further include:

[0040] The new digital watermark insertion method is synchronized to the cloud server.

[0041] By adopting the above technical solution, when the original digital watermark insertion method is improved, the new digital watermark insertion method is synchronized to the cloud server, which can improve the real-time performance of the digital watermark insertion method, thereby reducing the probability of the target communication audio containing the real-time digital watermark being misjudged as tampered audio due to the untimely update of the digital watermark insertion method.

[0042] In a second aspect, the present application provides an audio anti-tampering device based on digital watermark technology, which adopts the following technical solution:

[0043] An audio anti-tampering device based on digital watermark technology, comprising:

[0044] A watermark determination module, used to obtain real-time communication content parameters and determine a real-time digital watermark based on the communication content parameters;

[0045] An insertion mode determination module, used for acquiring communication user parameters and generating a watermark insertion mode based on the communication user parameters;

[0046] The watermark insertion module is used to obtain the target communication audio and add the real-time digital watermark to the target communication audio based on the watermark insertion method to obtain the target communication audio containing the real-time digital watermark.

[0047] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:

[0048] at least one processor;

[0049] Memory;

[0050] At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the audio anti-tampering method based on digital watermark technology as described in any one of the first aspects.

[0051] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:

[0052] A computer-readable storage medium stores a computer program, which, when executed in a computer, causes the computer to execute the audio anti-tampering method based on digital watermark technology as described in any one of the first aspects.

[0053] In summary, this application at least includes the following beneficial technical effects:

[0054] After obtaining the real-time communication content parameters, a real-time digital watermark is determined based on the above communication content parameters to determine the real-time watermark content; after obtaining the communication user parameters, a real-time watermark insertion method is generated based on the communication user parameters; compared with the related technology, the preset digital watermark is directly and completely inserted into the audio data. After obtaining the target communication audio, this solution adds the real-time digital watermark to the target communication audio through a real-time watermark insertion method, which improves the security of the audio digital watermark technology from the two perspectives of insertion method and watermark content, so as to obtain a more secure target communication audio containing a real-time digital watermark, thereby realizing audio tamper-proofing. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 A flowchart of an audio anti-tampering method based on digital watermarking technology provided in an embodiment of the present application.

[0056] Figure 2 A schematic diagram of the structure of an audio anti-tampering device based on digital watermarking technology provided in an embodiment of the present application.

[0057] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] The following is combined with Figure 1 To Attachment Figure 3 This application is described in further detail.

[0059] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, a person skilled in the art may make non-creative modifications to the present embodiment as needed, but such modifications are protected by the patent law as long as they are within the scope of the present application.

[0060] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application are clearly and completely described. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0061] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.

[0062] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.

[0063] An embodiment of the present application provides an audio anti-tampering method based on digital watermark technology, which is executed by an electronic device. The electronic device can be a server or a terminal device. Among them, the server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected through wired or wireless communication methods, and the embodiments of the present application do not limit this here. For example, Figure 1 As shown, the method includes step S101, step S102, and step S103, where:

[0064] Step S101: Obtain real-time communication content parameters, and determine a real-time digital watermark based on the communication content parameters.

[0065] The communication content parameters include: the statement order of the communication content and the parameter set corresponding to the communication content.

[0066] Obtaining the statement order of the real-time communication content may specifically include: when the communication content is recognized, recording the statement order corresponding to the communication content; and obtaining the parameter set corresponding to the communication content.

[0067] Obtaining the parameter set corresponding to the communication content may specifically include: the sending end collects the communication audio and sends the communication audio to the electronic device; the electronic device extracts the content in the communication audio to obtain the communication content, where the communication content includes multiple characters with an arrangement order; for each character, determining the pronunciation letter group corresponding to the character, where the pronunciation letter group includes multiple letters in a sequential order. For example, the pronunciation letter group corresponding to the character "和" is the letters h and e in a sequential order; for each pronunciation letter group, based on the preset correspondence between numbers and letters, determining the target number corresponding to each letter in the pronunciation letter group to obtain the sub-communication content parameter corresponding to the character corresponding to the pronunciation letter group, where the sub-communication content parameter includes multiple sets of target numbers arranged in a sequential order. The preset correspondence between numbers and letter groups is the same as the order of each letter in the alphabet. For example, the order of a is 1, that is, the number corresponding to a is 1; arranging the sub-communication content parameters corresponding to multiple characters in the arrangement order to obtain the above-mentioned real-time communication content parameters corresponding to the communication content.

[0068] Among them, the real-time digital watermark is used to add an audio watermark to the communication audio.

[0069] Step S102: Obtain communication user parameters, and generate a watermark insertion method based on the communication user parameters.

[0070] The communication user parameters include the speaking user ID and the IP address corresponding to the speaking user ID; the watermark insertion method represents the set of positions where the communication audio is inserted with the audio watermark.

[0071] Step S103: Acquire target communication audio, and based on the watermark insertion method, add the real-time digital watermark to the target communication audio to obtain the target communication audio containing the real-time digital watermark.

[0072] The target communication audio is the audio of the speaking voice of the sending user.

[0073] After the above step S103, the method may further include: the electronic device converts the target communication audio containing the real-time digital watermark into a digital signal and sends it to the receiving end; the receiving end decodes the digital signal to play the target communication audio containing the real-time digital watermark.

[0074] In an embodiment of the present application, after obtaining real-time communication content parameters, a real-time digital watermark is determined based on the above communication content parameters to determine the real-time watermark content; after obtaining the communication user parameters, a real-time watermark insertion method is generated based on the communication user parameters; compared with the related art, the preset digital watermark is directly and completely inserted into the audio data, after this scheme obtains the target communication audio, the real-time digital watermark is added to the target communication audio through a real-time watermark insertion method, which improves the security of the audio digital watermark technology from the two perspectives of insertion method and watermark content, so as to obtain a more secure target communication audio containing a real-time digital watermark, thereby realizing audio tamper-proofing.

[0075] In a possible implementation manner of the embodiment of the present application, the communication content parameter includes a parameter set corresponding to the communication content and a sentence order corresponding to the communication content. Step S101, based on the communication content parameter, determines a real-time digital watermark, which may specifically include:

[0076] For each communication content, according to the total number of preset watermark templates and the sentence order corresponding to the communication content, determine the target watermark template corresponding to the communication content;

[0077] Based on the target watermark template, the parameter set corresponding to the communication content is processed to obtain a real-time digital watermark.

[0078] The sentence order of the above communication content represents the order of the words spoken in the communication content during the user's video call.

[0079] Determining a target watermark template corresponding to the communication content according to the total number of preset watermark templates and the sentence order corresponding to the communication content may specifically include: sentence order ÷ total number of preset watermark templates = integer result…remainder; judging whether the above remainder is 0, if so, using the sentence-order-th preset watermark template among all the preset watermark templates as the target watermark template; if not, using the remainder-th preset watermark template among all the preset watermark templates as the target watermark template.

[0080] Based on the target watermark template, the parameter set corresponding to the communication content is processed to obtain a real-time digital watermark, which may specifically include: processing the parameter set in the manner of the target watermark template to obtain a processed parameter set, wherein the processed parameter set includes a processed target number group corresponding to each of the multiple characters included in the communication content; for each target number group, generating a positive amplitude waveform containing all the numbers in the target number group, wherein the amplitude of the positive amplitude waveform includes the target numbers in the target number group with a sequence; arranging the positive amplitude waveforms that identify each watermark content in an arrangement order to obtain a real-time digital watermark. Among them, the preset watermark template represents the way of processing the parameter set, and the general preset watermark template represents a data module that processes the data in a preset watermark manner, and the preset watermark template can be a processing method such as normalization processing and standardization processing.

[0081] In an embodiment of the present application, for each communication content, a target watermark template corresponding to the communication content and capable of representing the digital watermark structure is determined based on the total number of preset watermark templates and the sentence order corresponding to the communication content; compared to the case where there is no pre-set structure, this scheme is based on the target watermark template capable of representing the digital watermark structure, and can process the communication content more quickly, thereby obtaining a real-time digital watermark more quickly.

[0082] In a possible implementation of the embodiment of the present application, step S102, generating a watermark insertion method based on communication user parameters may specifically include:

[0083] Integrate the speaking user ID and the IP address corresponding to the speaking user ID to obtain the communication user code;

[0084] Convert each digit included in the communication user code into a binary code to obtain a binary array corresponding to the communication user code;

[0085] Based on the binary array, a watermark segmentation method is generated as a watermark insertion method.

[0086] The binary array includes a large number of valid bits and invalid bits. No watermark insertion is performed on the invalid bits, and watermark insertion is performed on the valid bits. It should be understood that in binary, 1 is often used as a valid bit and 0 is used as an invalid bit.

[0087] It should be noted that the numbers in the above binary array correspond one-to-one to the positive amplitude waveform in the real-time digital watermark.

[0088] In an embodiment of the present application, the speaking user ID and the IP address corresponding to the speaking user ID are integrated to obtain a communication user code that can accurately represent the user identity; then each digit included in the communication user code is converted into a binary code to obtain a binary array corresponding to the communication user code, and then a watermark segmentation method is generated based on the binary array as a watermark insertion method that can represent the user identity.

[0089] In a possible implementation of the embodiment of the present application, the target communication audio includes a plurality of characters arranged in a word order. Before adding the real-time digital watermark to the target communication audio based on the watermark insertion method to obtain the target communication audio containing the real-time digital watermark, the method may further include:

[0090] Based on the watermark insertion method, in real-time digital watermarking, the target digital watermark is determined;

[0091] Accordingly, based on the watermark insertion method, adding the real-time digital watermark to the target communication audio to obtain the target communication audio containing the real-time digital watermark may include:

[0092] Based on the watermark insertion method, the target digital watermark is added to the target communication audio to obtain the target communication audio containing the real-time digital watermark.

[0093] Based on the watermark insertion method, in the real-time digital watermark, determining the target digital watermark may specifically include: extracting the positive amplitude waveform corresponding to the effective bit of the watermark insertion method to obtain the target digital watermark.

[0094] Based on the watermark insertion method, the target digital watermark is added to the target communication audio to obtain the target communication audio containing the real-time digital watermark, which can specifically include: adding each positive amplitude waveform of the target digital watermark to the disconnection between characters in the target communication audio to obtain the target communication audio containing the real-time digital watermark.

[0095] In an embodiment of the present application, based on the watermark insertion method, in the real-time digital watermark, a target digital watermark is determined to reduce the content of the inserted communication data and thereby reduce the probability of reducing the integrity of the image communication data; correspondingly, the real-time digital watermark is inserted into the target communication audio based on the determined insertion details, which can reduce the probability of damage to the target communication audio due to improper watermark insertion.

[0096] In a possible implementation manner of the embodiment of the present application, when it is detected that the audio is tampered with, the audio anti-tampering method may further include:

[0097] Obtain a tampered audio control group; and perform tampering mode analysis based on the tampered audio control group to obtain a tampering mode corresponding to the tampered audio control group;

[0098] Based on the tampering method and the original digital watermark insertion method, the original digital watermark insertion method is improved to obtain a new digital watermark insertion method.

[0099] Based on the tampering method and the original digital watermark insertion method, the original digital watermark insertion method is improved to obtain a new digital watermark insertion method, wherein the new digital watermark insertion method includes an original digital watermark insertion module with the above-mentioned tampering method correction module. When the electronic device detects the occurrence of the above-mentioned tampering method, the correction module corresponding to the above-mentioned tampering method is triggered to perform correction processing.

[0100] In an embodiment of the present application, after obtaining the tampered audio control group, a tampering method analysis is performed based on the tampered audio control group to determine the tampering method corresponding to the tampered audio; based on the determined tampering method, the original digital watermark insertion method is improved to reduce the probability of the digital watermark being extracted.

[0101] In a possible implementation of the embodiment of the present application, the tampered audio control group includes the audio before transmission and the audio after actual transmission, and the tampering mode analysis is performed based on the tampered audio control group to obtain the tampering mode corresponding to the tampered audio control group, which may specifically include:

[0102] Determine the historical digital watermark and the historical watermark insertion method corresponding to the audio before transmission; insert the historical digital watermark into the audio before transmission in the historical watermark insertion method to obtain the theoretical audio after transmission;

[0103] Based on the theoretical audio after transmission and the actual audio after transmission, the tampering method is obtained.

[0104] Based on the theoretical audio after transmission and the actual audio after transmission, the tampering method is obtained, which may specifically include: determining the difference content between the theoretical audio after transmission and the actual audio after transmission; determining the target modification target, wherein the preset modification target corresponds to the above-mentioned difference content, and the preset modification target may be part of the call content, voice characteristics of Tonghua people, and other targets; and determining the tampering method as modifying the above-mentioned target modification target.

[0105] In an embodiment of the present application, the theoretical audio after transmission is re-determined, and the theoretical audio after transmission is compared with the actual audio after transmission. The difference between the two can be directly compared, so as to accurately determine the tampering method.

[0106] A possible implementation of the embodiment of the present application, after improving the original digital watermark insertion method based on the tampering method and the original digital watermark insertion method to obtain a new digital watermark insertion method, may also include:

[0107] Synchronize the new digital watermark insertion method to the cloud server.

[0108] In an embodiment of the present application, when the original digital watermark insertion method is improved, the new digital watermark insertion method is synchronized to the cloud server, which can improve the real-time performance of the digital watermark insertion method, thereby reducing the probability of the target communication audio containing the real-time digital watermark being misjudged as tampered audio due to the untimely updating of the digital watermark insertion method.

[0109] The above embodiment introduces an audio anti-tampering method based on digital watermarking technology from the perspective of method flow. The following embodiment introduces an audio anti-tampering device based on digital watermarking technology from the perspective of a virtual module or virtual unit. Please refer to the following embodiment for details.

[0110] The present application embodiment provides an audio anti-tampering device based on digital watermark technology, such as Figure 2 As shown, the audio anti-tampering device based on digital watermark technology may specifically include:

[0111] The watermark determination module 201 is used to obtain real-time communication content parameters and determine a real-time digital watermark based on the communication content parameters;

[0112] The insertion mode determination module 202 is used to obtain communication user parameters and generate a watermark insertion mode based on the communication user parameters;

[0113] The watermark inserting module 203 is used to obtain the target communication audio and add the real-time digital watermark to the target communication audio based on the watermark inserting method to obtain the target communication audio containing the real-time digital watermark.

[0114] In a possible implementation of the embodiment of the present application, the communication content parameter includes a parameter set corresponding to the communication content and a statement order corresponding to the communication content, and the insertion mode determination module 202, when determining the real-time digital watermark based on the communication content parameter, is specifically used to:

[0115] For each communication content, according to the total number of preset watermark templates and the sentence order corresponding to the communication content, determine the target watermark template corresponding to the communication content;

[0116] Based on the target watermark template, the parameter set corresponding to the communication content is processed to obtain a real-time digital watermark.

[0117] In a possible implementation of the embodiment of the present application, the communication user parameters include a speaking user ID and an IP address corresponding to the speaking user ID. The watermark insertion module 203, when executing the generation of the watermark insertion method based on the communication user parameters, is specifically used to:

[0118] Integrate the speaking user ID and the IP address corresponding to the speaking user ID to obtain the communication user code;

[0119] Convert each digit included in the communication user code into a binary code to obtain a binary array corresponding to the communication user code;

[0120] Based on the binary array, a watermark segmentation method is generated as a watermark insertion method.

[0121] In a possible implementation of the embodiment of the present application, the target communication audio includes a plurality of characters arranged in a word order, and the audio anti-tampering device based on the digital watermark technology further includes:

[0122] Target digital determination module, used to:

[0123] Based on the watermark insertion method, in real-time digital watermarking, the target digital watermark is determined;

[0124] Correspondingly, the watermark inserting module 203, when executing the watermark insertion method to add the target digital watermark to the target communication audio to obtain the target communication audio containing the real-time digital watermark, is used to:

[0125] Based on the watermark insertion method, the target digital watermark is added to the target communication audio to obtain the target communication audio containing the real-time digital watermark.

[0126] In a possible implementation of the embodiment of the present application, when it is detected that the audio has been tampered with, the audio anti-tampering device based on the digital watermark technology further includes:

[0127] Insertion mode improvement module for:

[0128] Obtain a tampered audio control group; and perform tampering mode analysis based on the tampered audio control group to obtain a tampering mode corresponding to the tampered audio control group;

[0129] Based on the tampering method and the original digital watermark insertion method, the original digital watermark insertion method is improved to obtain a new digital watermark insertion method.

[0130] In a possible implementation of the embodiment of the present application, the tampered audio control group includes audio before transmission and audio after actual transmission, and the insertion mode improvement module is specifically used to perform tampering mode analysis based on the tampered audio control group to obtain the tampering mode corresponding to the tampered audio control group:

[0131] Determine the historical digital watermark and the historical watermark insertion method corresponding to the audio before transmission; insert the historical digital watermark into the audio before transmission in the historical watermark insertion method to obtain the theoretical audio after transmission;

[0132] Based on the theoretical audio after transmission and the actual audio after transmission, the tampering method is obtained.

[0133] A possible implementation of the embodiment of the present application is an audio anti-tampering device based on digital watermark technology, further comprising:

[0134] The data upload module is used to synchronize the new digital watermark insertion method to the cloud server.

[0135] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the audio anti-tampering device based on digital watermark technology described above can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0136] An electronic device is provided in an embodiment of the present application, such as Figure 3 As shown, Figure 3 The electronic device shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device may further include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device does not constitute a limitation on the embodiments of the present application.

[0137] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0138] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3Only one thick line is used in the diagram, but it does not mean that there is only one bus or only one type of bus.

[0139] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0140] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.

[0141] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 3 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0142] The embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when it is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment. Compared with the related art, after obtaining the real-time communication content parameters, the embodiment of the present application determines the real-time digital watermark based on the above communication content parameters to determine the real-time watermark content; after obtaining the communication user parameters, a real-time watermark insertion method is generated based on the communication user parameters; compared with the related art, the preset digital watermark is directly and completely inserted into the audio data. After obtaining the target communication audio, this solution adds the real-time digital watermark to the target communication audio through a real-time watermark insertion method, which improves the security of the audio digital watermark technology from the two perspectives of the insertion method and the watermark content, so as to obtain a more secure target communication audio containing a real-time digital watermark, thereby realizing audio tampering prevention.

[0143] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0144] The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. An audio anti-tampering method based on digital watermark technology, characterized in that: include: Acquiring real-time communication content parameters, and determining a real-time digital watermark based on the communication content parameters; Acquire communication user parameters, and generate a watermark insertion method based on the communication user parameters; Acquire target communication audio, and based on the watermark insertion method, add the real-time digital watermark to the target communication audio to obtain the target communication audio containing the real-time digital watermark; The communication content parameters include a parameter set corresponding to the communication content and a sentence order corresponding to the communication content, Determining a real-time digital watermark based on the communication content parameter includes: For each of the communication contents, a target watermark template corresponding to the communication content is determined according to the total number of preset watermark templates and the sentence order corresponding to the communication content; wherein the sentence order is divided by the total number of preset watermark templates to obtain an integer result and a remainder, and it is determined whether the remainder is 0. If so, the sentence-ordered preset watermark template among all the preset watermark templates is used as the target watermark template; if not, the remainder-ordered preset watermark template among all the preset watermark templates is used as the target watermark template; Based on the target watermark template, processing the parameter set corresponding to the communication content to obtain the real-time digital watermark; The communication user parameters include a speaking user ID and an IP address corresponding to the speaking user ID. Based on the communication user parameters, a watermark insertion method is generated, including: Integrate the speaking user ID and the IP address corresponding to the speaking user ID to obtain a communication user code; Convert each digit included in the communication user code into a binary code to obtain a binary array corresponding to the communication user code; Based on the binary array, a watermark segmentation method is generated as the watermark insertion method, wherein the binary array includes valid bits and invalid bits, no watermark insertion action is performed in the invalid bits, and a watermark insertion action is performed in the valid bits.

2. The audio anti-tampering method based on digital watermark technology according to claim 1 is characterized in that: The target communication audio includes a plurality of characters arranged in word order, Before adding the real-time digital watermark to the target communication audio based on the watermark insertion method to obtain the target communication audio containing the real-time digital watermark, the method further includes: Based on the watermark insertion method, determining a target digital watermark in the real-time digital watermark; Correspondingly, based on the watermark insertion method, the target digital watermark is added to the target communication audio to obtain the target communication audio containing the real-time digital watermark, including: Based on the watermark insertion method, the target digital watermark is added to the target communication audio to obtain the target communication audio containing the real-time digital watermark.

3. The audio anti-tampering method based on digital watermark technology according to claim 1 is characterized in that: When it is detected that the audio is tampered with, the audio anti-tampering method further includes: Acquire a tampered audio control group; and perform tampering mode analysis based on the tampered audio control group to obtain a tampering mode corresponding to the tampered audio control group; Based on the tampering method and the original digital watermark insertion method, the original digital watermark insertion method is improved to obtain a new digital watermark insertion method.

4. The audio anti-tampering method based on digital watermark technology according to claim 3 is characterized in that: The tampered audio control group includes the audio before transmission and the audio after actual transmission. Performing a tampering mode analysis based on the tampered audio control group to obtain a tampering mode corresponding to the tampered audio control group includes: Determine the historical digital watermark and the historical watermark insertion method corresponding to the audio before transmission; and insert the historical digital watermark into the audio before transmission in the historical watermark insertion method to obtain the theoretical audio after transmission; Based on the theoretical transmitted audio and the actual transmitted audio, the tampering mode is obtained.

5. The audio anti-tampering method based on digital watermark technology according to claim 3 is characterized in that: After improving the original digital watermark insertion method based on the tampering method and the original digital watermark insertion method to obtain a new digital watermark insertion method, the method further includes: The new digital watermark insertion method is synchronized to the cloud server.

6. An audio anti-tampering device based on digital watermark technology, characterized in that: include: A watermark determination module, used to obtain real-time communication content parameters and determine a real-time digital watermark based on the communication content parameters; An insertion mode determination module, used for acquiring communication user parameters and generating a watermark insertion mode based on the communication user parameters; A watermark insertion module, used for acquiring target communication audio, and adding the real-time digital watermark to the target communication audio based on the watermark insertion method, so as to obtain the target communication audio containing the real-time digital watermark; The watermark determination module is also used to: For each of the communication contents, a target watermark template corresponding to the communication content is determined according to the total number of preset watermark templates and the sentence order corresponding to the communication content; wherein the sentence order is divided by the total number of preset watermark templates to obtain an integer result and a remainder, and it is determined whether the remainder is 0. If so, the sentence-ordered preset watermark template among all the preset watermark templates is used as the target watermark template; if not, the remainder-ordered preset watermark template among all the preset watermark templates is used as the target watermark template; Based on the target watermark template, processing the parameter set corresponding to the communication content to obtain the real-time digital watermark; The communication user parameters include a speaking user ID and an IP address corresponding to the speaking user ID. Insertion mode determination module is also used for: Integrate the speaking user ID and the IP address corresponding to the speaking user ID to obtain a communication user code; Convert each digit included in the communication user code into a binary code to obtain a binary array corresponding to the communication user code; Based on the binary array, a watermark segmentation method is generated as the watermark insertion method, wherein the binary array includes valid bits and invalid bits, no watermark insertion action is performed in the invalid bits, and a watermark insertion action is performed in the valid bits.

7. An electronic device, characterized in that: include: at least one processor; Memory; At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the audio anti-tampering method based on digital watermark technology as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed in a computer, the computer is caused to execute the audio anti-tampering method based on digital watermark technology as described in any one of claims 1 to 5.

Citation Information

Cited By

  • Audio processing access control method based on multi-factor audio features

    CN121396566A

  • Audio processing access control method based on multi-factor audio features

    CN121396566B