Identifying method of sound watermark and sound watermark identifying apparatus

Information

  • Patent Grant
  • 11955132
  • Patent Number
    11,955,132
  • Date Filed
    Thursday, April 7, 2022
    2 years ago
  • Date Issued
    Tuesday, April 9, 2024
    a month ago
Abstract
An identifying method of a sound watermark and a sound watermark identifying apparatus are provided. The method includes the following. A synthesized sound signal is received through a network. Noise interference transferred through the network in the synthesized sound signal is determined according to a reflection-cancelling sound signal. A coding threshold is determined according to the noise interference. A sound watermark signal in the synthesized sound signal is identified according to the coding threshold.
Description
CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefit of Taiwanese application no. 110141580, filed on Nov. 9, 2021. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.


BACKGROUND
Technical Field

The disclosure relates to a sound signal processing technology. Particularly, the disclosure relates to an identifying method of a sound watermark and a sound watermark identifying apparatus.


Description of Related Art

Remote conferences enable people in different locations or spaces to have conversations, and conference-related equipment, protocols, and applications are also well developed. It is worth noting that some real-time conference programs may synthesize voice signals with sound watermark signals and use them to identify speaking persons.


Inevitably, if a sound signal is interfered with by noise, a correct rate of determining a watermark at a receiving end may be decreased, thus affecting voice components of a user in the sound signal on a conversation transmission path.


SUMMARY

The embodiments of the disclosure provide an identifying method of a sound watermark and a sound watermark identifying apparatus, in which different coding thresholds can be effectively set for identified sound watermark signal results according to noise in a transmission environment, so as to improve a correct rate of identifying a sound watermark.


According to an embodiment of the disclosure, a sound watermark identification method is adapted for a conference terminal. The identifying method of a sound watermark includes (but is not limited to) the following. A synthesized sound signal is received through a network. The synthesized sound signal includes a sound watermark signal. The sound watermark signal is generated by shifting a phase of a reflected sound signal according to a watermark identification code. The reflected sound signal is a sound signal obtained from simulating a sound emitted by a sound source reflected by an external object and recorded by a sound receiver. Noise interference transferred through the network in the synthesized sound signal is determined according to a reflection-cancelling sound signal. The reflection-cancelling sound signal cancels a sound signal of the watermark identification code of the sound watermark signal being one or more codes in the synthesized sound signal. A coding threshold is determined according to the noise interference. The coding threshold includes a first threshold and a second threshold.


Noise interference corresponding to the first threshold is lower than noise interference corresponding to the second threshold. The first threshold is greater than the second threshold. The sound watermark signal in the synthesized sound signal is identified according to the coding threshold.


According to an embodiment of the disclosure, an identifying apparatus of the sound watermark includes (but is not limited to) a memory and a processor. The memory is configured to store a programming code. The processor is coupled to the memory. The processor is configured to load and execute the programming code to: receive a synthesized sound signal through a network, determine noise interference transferred through the network in the synthesized sound signal according to a reflection-cancelling sound signal, determine a coding threshold according to the noise interference, and identify a sound watermark signal in the synthesized sound signal according to the coding threshold. The synthesized sound signal includes the sound watermark signal. The sound watermark signal is generated by shifting a phase of a reflected sound signal according to a watermark identification code. The reflected sound signal is a sound signal obtained from simulating a sound emitted by a sound source reflected by an external object and recorded by a sound receiver. The reflection-cancelling sound signal cancels a sound signal of the watermark identification code of the sound watermark signal being one or more code in the synthesized sound signal. The coding threshold includes a first threshold and a second threshold. Noise interference corresponding to the first threshold is lower than noise interference corresponding to the second threshold. The first threshold is greater than the second threshold.


In the identifying method of a sound watermark and the sound watermark identifying apparatus according to the embodiments of the disclosure, for the sound watermark signals generated based on the reflected sound signals, noise interference is determined by cancelling the sound watermark signals of different codes, and the corresponding coding threshold is determined for the estimated noise interference, accordingly in response to changing noise interference.


To make the aforementioned more comprehensible, several embodiments accompanied with drawings are described in detail as follows.





BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments of the disclosure and, together with the description, serve to explain the principles of the disclosure.



FIG. 1 is a schematic diagram of a conference conversation system according to an embodiment of the disclosure.



FIG. 2 is a flowchart of an identifying method of a sound watermark according to an embodiment of the disclosure.



FIG. 3 is a schematic diagram showing a virtual reflection condition according to an embodiment of the disclosure.



FIG. 4 is a flowchart of a method for generating a coding threshold according to an embodiment of the disclosure.



FIG. 5 is a flowchart showing determination of a coding threshold according to an embodiment of the disclosure.



FIG. 6 is a flowchart showing determination of a coding threshold according to another embodiment of the disclosure.



FIG. 7 is a flowchart of identifying a sound watermark signal according to an embodiment of the disclosure.





DESCRIPTION OF THE EMBODIMENTS


FIG. 1 is a schematic diagram of a conference conversation system according to an embodiment of the disclosure. With reference to FIG. 1, a voice communication system 1 includes but is not limited to conference terminals 10, 20 and a cloud server 50.


The conference terminals 10, 20 may be a wired phone, a mobile phone, an Internet phone, a tablet computer, a desktop computer, a notebook computer, or a smart speaker.


The conference terminal 10 includes (but is not limited to) a sound receiver 11, a loudspeaker 13, a communication transceiver 15, a memory 17, and a processor 19.


The sound receiver 11 may be a microphone in, for example, a dynamic, condenser, or electret condenser form. The sound receiver 11 may also be a combination of other electronic components, analog-to-digital converters, filters, and audio processors that can receive sound waves (e.g., human voice, environmental sound, and machine operation sound) and convert the sound waves into sound signals. In an embodiment, the sound receiver 11 is configured to receive/record sounds of a speaking person to obtain a conversation-received sound signal. In some embodiments, the conversation-received sound signal may include the sound of the speaking person, the sound emitted by the loudspeaker 13, and/or other environmental sounds.


The loudspeaker 13 may be a horn or a sound amplifier. In an embodiment, the loudspeaker 13 is configured to play sounds.


The communication transceiver 15 is, for example, a transceiver (which may include, but is not limited to, elements such as a connection interface, a signal converter, and a communication protocol processing chip) that supports wired networks such as Ethernet, optical fiber networks, or cables. The communication transceiver 15 may also be a transceiver (which may include, but is not limited to, elements such as an antenna, a digital-to-analog/analog-to-digital converter, and a communication protocol processing chip) that supports Wi-Fi, fourth-generation (4G), fifth-generation (5G), or later-generation mobile networks. In an embodiment, the communication transceiver 15 is configured to transmit or receive data.


The memory 17 may be any type of fixed or removable random access memory (RAM), read only memory (ROM), flash memory, a hard disk drive (HDD), a solid-state drive (SSD), or similar elements. In an embodiment, the memory 17 is configured to store programming codes, software modules, configurations, data (e.g., sound signals, watermark identification codes, or sound watermark signals), or files.


The processor 19 is coupled to the sound receiver 11, the loudspeaker 13, the communication transceiver 15, and the memory 17. The processor 19 may be a central processing unit (CPU), a graphic processing unit (GPU), or any other programmable general-purpose or special-purpose microprocessor, digital signal processor (DSP), programmable controller, field programmable gate array (FPGA), application-specific integrated circuit (ASIC), or other similar elements or a combination of the above elements. In an embodiment, the processor 19 is configured to perform all or part of operations of the conference terminal 10, and may load and execute the software modules, files, and data stored in the memory 17.


The conference terminal 20 includes (but is not limited to) a sound receiver 21, a loudspeaker 23, a communication transceiver 25, a memory 27, and a processor 29. For the implementation aspects and functions of the sound receiver 21, the loudspeaker 23, the communication transceiver 25, the memory 27, and the processor 29, reference may be made to the above description of the sound receiver 11, the loudspeaker 13, the communication transceiver 15, the memory 17, and the processor 19, which will not be repeated herein. The sound receiver 21 is configured to receive a reflected sound signal and transmit the reflected sound signal to a processor 59 of the cloud server 50 through the communication transceiver 25.


The cloud server 50 is directly or indirectly connected to the conference terminals 10, 20 through a network. The cloud server 50 may be a computer system, a server, or a signal processing device. In an embodiment, the conference terminals 10, 20 may also serve as the cloud server 50. In another embodiment, the cloud server 50 may serve as an independent cloud server different from the conference terminals 10, 20. In some embodiments, the cloud server 50 includes (but is not limited to) a same or similar communication transceiver 55, memory 57, and processor 59, and the implementation aspects and functions of the elements will not be repeatedly described.


In an embodiment, the identifying apparatus 70 of the sound watermark may be the conference terminals 10, 20, and/or the cloud server 50. The identifying apparatus 70 of a sound watermark is configured to identify a sound watermark signal and will be described in detail in later embodiments.


Hereinafter, a method according to an embodiment of the disclosure in combination with the various devices, elements, and modules in the conference communication system 1 will be described. Each process flow of the method may be adjusted according to the implementation, and is not limited thereto.


It should also be noted that, for ease of description, the same element may perform the same or similar operations, and will not be repeatedly described. For example, the processor 19 of the conference terminal 10, the processor 29 of the conference terminal 20, and/or the processor 59 of the cloud server 50 may each perform a method same as or similar to the method of the embodiment of the disclosure.



FIG. 2 is a flowchart of an identifying method of a sound watermark according to an embodiment of the disclosure. With reference to FIG. 2, the processor 19 receives a synthesized sound signal SA through a network (step S210). Specifically, assuming that conference terminals 10, 20 establish a conference call, for example, by video software, voice call software, or a phone call, then speaking persons may start speaking. After sounds are recorded/received by the sound receiver 21, the processor 29 obtains a conversation-received sound signal SRx. The conversation-received sound signal SRx is related to voice contents of the speaking person corresponding to the conference terminal 20 (and may also include environmental sounds or other noise). The processor 29 of the conference terminal 20 may transmit the conversation-received sound signal SRx through the communication transceiver 25 (i.e., through a network interface). In some embodiments, the conversation-received sound signal SRx may be performed with echo cancellation, noise filtering, and/or other sound signal processing.


Then, the processor 59 of the cloud server 50 receives the conversation-received sound signal SRx from the conference terminal 20 through the communication transceiver 55. The processor 59 generates a reflected sound signal S′Rx according to a virtual reflection condition and the conversation-received sound signal SRx. Specifically, general echo cancellation algorithms may adaptively cancel components (e.g., the conversation-received sound signal SRx on a conversation-received path) belonging to reference signals in the sound signals received by the sound receivers 11, 21 from the outside. The sounds recorded by the sound receivers 11, 21 include the shortest paths from the loudspeakers 13, 23 to the sound receivers 11, 21 and different reflection paths of the environment (i.e., paths formed when sounds are reflected by external objects). Positions of reflection affect the time delay and the amplitude attenuation of the sound signal. In addition, the reflected sound signal may also come from different directions, resulting in phase shifts.


In an embodiment, the processor 59 may determine a time delay and an amplitude attenuation of the reflected sound signal S′RX relative to the conversation-received sound signal SRx according to the positional relationship. For example, FIG. 3 is a schematic diagram showing a virtual reflection condition according to an embodiment of the disclosure. With reference to FIG. 3, it is assumed that the virtual reflection condition is a wall (i.e., an external object), where a distance between the sound receiver 21 and a sound source SS is ds (e.g., 0.3, 0.5, or 0.8 meters), and a distance between the sound receiver 21 and a wall W is dw (e.g., 1, 1.5, or 2 meters). Under such conditions, the relationship between the reflected sound signal S′Rx and the conversation-received sound signal SRx may be expressed as follows:

s′Rx(n)=α1·sRx(n-nw1)  (1)

where α1 is the amplitude attenuation caused by reflection (i.e., reflection of a sound signal blocked by the wall W), n is the sampling point or time, nw is the time delay caused by the reflection distance (i.e., the distance from the sound source SS through the wall W to the sound receiver 21).


In an embodiment of the disclosure, the processor 59 shifts a phase of the reflected sound signal according to a watermark identification code, and generates a sound watermark signal SWM accordingly. Specifically, the processor 59 shifts the phase of the reflected sound signal according to the watermark identification code to generate a sound watermark signal. During operation of a general echo cancellation mechanism, compared to the phase shift of the reflected sound signal, changes in the time delay and the amplitude of the reflected sound signal have a greater influence on errors of the echo cancellation mechanism. With the changes, it is like being in a completely new interfering environment to which the echo cancellation mechanism needs to be re-adapted. Therefore, in the watermark identification code according to the embodiment of the disclosure, sound watermark signals corresponding to different values have only phase differences, but the time delay and the amplitude are the same. In other words, the sound watermark signals include one or more phase-shifted reflected sound signals.


In an embodiment, the watermark identification code is encoded in a multi-based positional numeral system, and the multi-based positional numeral system provides multiple values at one bit or each of multiple bits of the watermark identification code. Taking a binary system as an example, the value of each bit in the watermark identification code may be “0” or “1”. Taking a hexadecimal system as an example, the value of each bit in the watermark identification code may be “0”, “1”, “2”, . . . , “E”, or “F”. In another embodiment, the watermark identification code is encoded with an alphabet, a character, and/or a symbol. For example, the value of each bit in the watermark identification code may be any one of “A” to “Z” among English alphabets.


In an embodiment, the different values at the bits in the watermark identification code correspond to different phase shifts. For example, assuming that the watermark identification code W0 is in a base-N positional numeral system (where N is a positive integer), then an N number of values may be provided for each bit. The N number of different values respectively correspond to different phase shifts φ1 to φN. For another example, assuming that the watermark identification code W0 is a binary system, then two values (i.e., 1 and 0) may be provided for each bit. The two different values respectively correspond to two phase shifts φ and −φ. For example, the phase shift φ is 90°, and the phase shift −φ is −90° (i.e., −1).


The processor 59 may shift the phase of the reflected sound signal (with or without a process of high-pass filtering) according to the value of one or more bits in the watermark identification code. Taking a base-N positional numeral system as an example, the processor 59 selects one or more of the phase shifts φ1 to φN according to one or more values in the watermark identification code, and performs phase shift using the selected one of the phase shifts φ1 to φN. For example, if the value of the first bit of the watermark identification code is 1, an output phase-shifted reflected sound signal Sφ1 is shifted by φ1 relative to the reflected sound signal, and inference may be made by analogy for other reflected sound signals SφN. The phase shift may be achieved using Hilbert transform or other phase shift algorithms.


The processor 19 of the conference terminal 10 receives the sound watermark signal SWM or a watermark-embedded signal SRx+SWM through the communication transceiver 15 via the network to obtain the synthesized sound signal SA (i.e., the transmitted sound watermark signal SWM or watermark-embedded signal SRx+SWM).


With reference to FIG. 2, the processor 19 determines noise interference transferred through the network in the synthesized sound signal SA according to a reflection-cancelling sound signal (step S220). Specifically, the reflection-cancelling sound signal cancels a sound signal of the watermark identification code of the sound watermark signal SWM being one or more codes in the synthesized sound signal SA. The codes refer to the values or symbols provided by encoding of the multi-based positional numeral system or by other encoding mechanisms. The reflection-cancelling sound signal will be described in detail in subsequent embodiments.


During the transmission from the cloud server 50 to the conference terminal 10 through the network, since the output signal (i.e., the transmitted sound watermark signal SWM or watermark-embedded signal SRx+SWM) becomes an attenuated sound signal ST through an amplitude attenuation aT and is interfered with by noise NT. A signal-to-noise ratio (SNR) between the sound signal and the noise NT is SNRT=20·log(ST/NT). It is worth noting that if a fixed threshold is adopted in identification of a sound watermark signal, it may not be applicable to different noise environments.


With reference to FIG. 2, the processor 19 determines a coding threshold according to the noise interference (step S230). Specifically, the coding threshold includes a first threshold and a second threshold, noise interference corresponding to the first threshold is lower than noise interference corresponding to the second threshold, and the first threshold is greater than the second threshold. For example, the first threshold is 1.9, and the second threshold is 0.3. A signal-to-noise ratio of the noise interference corresponding to the first threshold is SNRT=∞dB (i.e., no noise interference), and a signal-to-noise ratio of the noise interference corresponding to the second threshold is SNRT=−6 dB (i.e., high noise interference). In this example, the values of the first threshold and the second threshold are obtained through experimental proofs. However, the values of the first threshold and the second threshold may still be changed depending on actual requirements, which is not limited by the embodiments of the disclosure.



FIG. 4 is a flowchart of a method for generating a coding threshold according to an embodiment of the disclosure. With reference to FIG. 4, in an embodiment, the processor 19 generates a pre-processed sound signal sA−90° according to a delay time nw and the synthesized sound signal SA. The pre-processed sound signal sA−90° is obtained from the synthesized sound signal SA being phase-shifted (e.g., by 90° or −90° and delayed by the delay time nw(step S410). It should be noted that a binary encoded watermark identification code is taken as an example (i.e., only two values are provided) in this embodiment, and the two values respectively correspond to, for example, phase shifts by 90° and −90°. However, if other encodings are used, there may be different phase shifts. The relationship between the pre-processed sound signal sA−90° and the synthesized sound signal SA may be expressed as follows:

sA−90°(n)=sA90°(n-nw)  (2)

In other words, the pre-processed sound signal sA−90° is the synthesized sound signal SA being phase-shifted by 90° and time-delayed by nw.


The relationship between the synthesized sound signal SA and the original conversation-received sound signal SRx may be expressed as follows:











s
A

(
n
)

=

{







α
T

·

[



S
Rx

(
n
)

+


α
w

·


s
RX

90

°


(

n
-

n
w


)



]


+


N
T

(
n
)


,


W
0

=
1










α
T

·

[



S
Rx

(
n
)

-


α
w

·


s
RX

90

°


(

n
-

n
w


)



]


+


N
T



(
n
)



,


W
0

=
0










α
T

·

[



S
Rx



(
n
)


+


α
w

·


s
Rx

(

n
-

n
w


)



]


+


N
T



(
n
)



,


W
0

=

N
/
A











(
3
)








where the conversation-received sound signal sRx is phase-shifted by 90° into sRX90°, NT is the noise interference, and αw is the amplitude attenuation. In addition, the conversation-received sound signal sRX90°(n) is delayed by the delay time nw into sRX90°(n-nw). By the relations between the pre-processed sound signal sA−90° and the synthesized sound signal SA, the following can be drawn about the relationship between the pre-processed sound signal sA−90° and the conversation-received sound signal SRx:











s
A


-
90


°


(
n
)

=

{







α
T

·

[



s
RX

90

°


(

n
-

n
w


)

-


α
w

·


S
Rx

(

n
-

2
·

n
w



)



]


+


N
T

90

°


(

n
-

n
w


)


,


W
0

=
1










α
T

·

[



s
RX

90

°


(

n
-

n
w


)

+


α
w

·


S
Rx

(

n
-

2
·

n
w



)



]


+


N
T

90

°


(

n
-

n
w


)


,


W
0

=
0










α
T

·

[



s
RX

90

°


(

n
-

n
w


)

+



α
w

·

s
RX

90

°





(

n
-

2
·

n
w



)



]


+


N
T

90

°


(

n
-

n
w


)


,


W
0

=

N
/
A











(
4
)








where αw is the amplitude attenuation, NT is the noise interference, and the noise interference NT is phase-shifted by 90° into NT90°.


Then, the processor 19 generates a first sound signal sB− and a second sound signal sB+ according to the synthesized sound signal SA and the pre-processed sound signal sA−90° (step S420). In an embodiment, at least one code of the watermark identification code includes a first code and a second code (e.g., W0=1 and W0=0), and the reflection-cancelling sound signal includes the first sound signal sB− and the second sound signal sB+. The first sound signal sR− cancels the sound signal of which the watermark identification code is the first code (e.g., W0=1), and the second sound signal sB+ cancels the sound signal of which the watermark identification code is the second code (e.g., W0=0).


The relationship between the first sound signal SB− and the synthesized sound signal SA may be expressed as follows:

sB−=sA−αw·sA−90°  (5)

The relationship between the first sound signal SB− and the conversation-received sound signal SRx may be expressed as follows:











s

B
-


(
n
)

=


{







α
T

·

[



S
RX

(
n
)

+


α
w
2

·


S
Rx

(

n
-

2
·

n
w



)



]


+


N
T

(
n
)

-


α
w

·


N
T

90

°


(

n
-

n
w


)



,


W
0

=
1












α
T

·

[



S
RX



(
n
)


-


2
·

α
w

·

s
RX

90

°





(

n
-

n
w


)


-



α
w
2

·

S
Rx




(

n
-

2
·

n
w



)



]











+

N
T




(
n
)


-



α
w

·

N
T

90

°





(

n
-

n
w


)



,


W
0

=
0


















α
T

·

[



S
RX



(
n
)


+



α
w

·

s
RX




(

n
-

n
w


)




α
w

·


s
RX

90

°


(

n
-

n
w


)



-



α
w
2

·

s
RX

90

°





(

n
-

2
·

n
w



)



]


+









N
T



(
n
)


-



α
w

·

N
T

90

°





(

n
-

n
w


)



,


W
0

=

N
/
A














(
6
)








The relationship between the second sound signal SB+ and the synthesized sound signal SA may be expressed as follows:

sB+=SAw·sA  (7)

The relationship between the second sound signal SB+ and the conversation-received sound signal SRx may be expressed as follows:











s

B
+


(
n
)

=


{









α
T

·

[



S
RX



(
n
)


+


2
·

α
w

·

s
RX

90

°





(

n
-

n
w


)


-


α
w
2

·


s
Rx

(

n
-

2
·

n
w



)



]


+


N
T

(
n
)

+









α
w

·

N
T

90

°





(

n
-

n
w


)


,


W
0

=
1

















α
T

·

[



S
RX



(
n
)


+



α
w
2

·

S
RX




(

n
-

2
·

n
w



)



]




N
T



(
n
)


+


α
w

·










N
T

90

°




(

n
-

n
w


)


,


W
0

=
0
















α
T

·

[



S
Rx



(
n
)


+



α
w

·

S
RX




(

n
-

n
w


)


+


α
w

·


s
RX

90

°


(

n
-

n
w


)


+



α
w
2

·

s
RX

90

°





(

n
-

2
·

n
w



)












+


N
T

(
n
)


+



α
w

·

N
T

90

°





(

n
-

n
w


)



,


W
0

=

N
/
A














(
8
)







With reference to FIG. 4, the processor 19 generates a third sound signal sB−−90° according to the first sound signal SB−, and generates a fourth sound signal sB+−90° according to the second sound signal SB+ (step S430). Specifically, the first sound signal SB− is phase-shifted and/or delayed by a time to generate the third sound signal sB−−90°, and the second sound signal SB+ is phase-shifted and/or delayed by a time to generate the fourth sound signal sB+−9°. In an embodiment, the first sound signal sB− is phase-shifted by 90° and delayed by the delay time nw to obtain the third sound signal sB−−90°. The relationship between the third sound signal sB−−90° and the first sound signal sB− may be expressed as follows:

sB−−90°(n)=sB−−90°(n-nw)  (9)


In addition, the second sound signal sB+−90° is phase-shifted by 90° and delayed by the delay time nw to obtain the fourth sound signal sB+−90°. The relationship between the fourth sound signal sB+−90° and the second sound signal sB+ may be expressed as follows:

sB+−90°(n)=(n-nw)  (10)


With reference to FIG. 4, the processor 19 respectively determines a first correlation RB−90° and a second correlation RB+90° according to the third sound signal sB−−90° and the fourth sound signal sB+−90° (step S440). Specifically, the processor 19 calculates the cross-correlation between the first sound signal sB− and the third sound signal sB−−90° to obtain the first correlation RB−90°. In addition, the processor 19 calculates the cross-correlation between the second sound signal sB+ and the fourth sound signal sB+−90° to obtain the second correlation RB+90°.


It is worth noting that a difference between absolute values of the first correlation RB−90° and the second correlation RB+90° corresponds to the magnitude of the noise interference. For example, the relationship between the first correlation RB−90°, the signal-to-noise ratio SNRT corresponding to the noise interference, and the watermark identification code W0 may be expressed as follows:














TABLE 1







RB−90°
W0 = 1
W0 = 0
W0 = N/A





















SNRT = ∞ dB
±0.4
−8.5
−6



SNRT = −6 dB
−4.8
−5.7
−5










In other words, when the watermark identification code is the first code (e.g., W0=1), the parts NT90° (n-nw) in the first sound signal sB− and the third sound signal sB−−90° are negatively correlated only in a large noise environment (e.g., the signal-to-noise ratio SNRT=−6 dB), and are irrelevant (e.g., RB−90°=±0.4) under a noise-free environment (SNRT=∞dB), and the correlation is high and negative (e.g., RB−=±0.4) in a large noise environment. When the watermark identification code is the second code (e.g., W0=0), the parts sRx90°(n-nw), sRxl (n-2·nw), and NT90°(n-nw) in the first sound signal sB− and the third sound signal sB−−90° are all negatively correlated. The correlation is high and negative (e.g., RB−90°=−8.5) under a noise-free environment (SNRT=∞dB), and the correlation is high and negative (e.g., RB−90°=−5.7) in a large noise environment (SNRT=−6 dB). When the watermark identification code is not present in the synthesized sound signal SA (e.g., W0=N/A or is not any code), sRx90°(n-nw), sRx(n-2·nw), and NT90°(n-nw) in the first sound signal sB− and the third sound signal sB−−90° are all negatively correlated. The correlation is high and negative (e.g., RB−90°=−6) when there is no noise, and the correlation is high and negative (e.g., RB−90°=−5) in a large noise environment. In other words, when the watermark identification code is the first code (W0=1), the noise interference (i.e., SNRT=∞dB or SNRT=−6 dB) in the network transfer may be determined through the first correlation RB−90°.


Then, the relationship between the second correlation RB+90°, the noise interference SNRT, and the watermark identification code W0 may be expressed as follows:














TABLE 2







RB+90°
W0 = 1
W0 = 0
W0 = N/A





















SNRT = ∞ dB
8.5
±0.4
6



SNRT = −6 dB
5.7
4.8
5










As can be seen from Table (2), when the watermark identification code is the first code (e.g., W0=1), the parts sRx90°(n-nw), sRx(n-2·nw), and NT90°(n-nw) in the second sound signal SB+ and the fourth sound signal sB+−90° are all positively correlated in a large noise environment (e.g., SNRT=−6 dB). The second correlation Rb−90° is high and positive (e.g., RB+90°=8.5) under a noise-free environment (e.g., SNRT=∞dB), and the second correlation RB+90° is high and positive (e.g., RB+90°=5.7) in a large noise environment. When the watermark identification code is the second code (e.g., W0=0), only the parts of the noise NT90°(n-nw) in the second sound signal SB+ and the fourth sound signal sB+−90° is positively correlated. The correlation is low (e.g., RB+90°=±0.4) under a noise-free environment (e.g., SNRT=∞dB), and the correlation is high and positive (e.g., RB+90°=4.8) in a large noise environment (e.g., SNRT=−6 dB). When the watermark identification code is not present in the synthesized sound signal SA (i.e., W0=N/A or is not any code), sRx90°(n-nw), sRx(n-2·nw), and NT90°(n-nw) in the second sound signal SB+ and the fourth sound signal sB+−90° are all positively correlated. The correlation is high and positive (e.g., RB+90°=6) when there is no noise, and the correlation is high and positive (e.g., RB+90°=5) in a large noise environment. In other words, when the watermark identification code is the second code (e.g., W0=0), the noise interference (i.e., SNRT=∞dB or SNRT=−6 dB) in the network transfer may be determined through the second correlation RB+90°.


With reference to FIG. 4, the processor 19 determines a coding threshold ThWN according to the first correlation RB−90° and the second correlation RB+90° (step S450). Specifically, the difference between the absolute values of the first correlation RB−90° and the second correlation RB+90° corresponds to the magnitude of the noise interference.


In an embodiment, the processor 19 determines the coding threshold ThWN according to a correlation ratio. The correlation ratio is related to an absolute value of a sum of the first correlation RB−90° and the second correlation RB+90°, and a greatest one of the absolute values of the first correlation Rb−90° and the second correlation RB+90°. In addition, the coding threshold ThWN in this embodiment is configured for identifying whether the sound watermark signal SWM in the synthesized sound signal SA is the at least one code, for example, whether the sound watermark signal SWM is one of 1 and 0. The relationship between the coding threshold ThWN, the first correlation RB−90°, and the second correlation RB+90° may be expressed as follows:










Th
w
N

=


2
·



"\[LeftBracketingBar]"



R

B
-


90

°


+

R

B
+


90

°





"\[RightBracketingBar]"




max


{




"\[LeftBracketingBar]"


R

B
-


90

°




"\[RightBracketingBar]"


,



"\[LeftBracketingBar]"


R

B
+


90

°




"\[RightBracketingBar]"



}







(
11
)








With the properties of the first correlation RB−90° and the second correlation RB+90°, the relationship between the coding threshold ThWN, the noise interference SNRT, and the watermark identification code W0 can be drawn, which is expressed as follows:














TABLE 3







ThWN
W0 = 1
W0 = 0
W0 = N/A









SNRT = ∞ dB
1.9
1.9
0.3



SNRT = −6 dB
0.3
0.3
0.3











As can be known from Table (1), Table (2), and Table (3), when the watermark identification code is the first code or the second code and no noise interference is present in the network transfer environment (e.g., SNRT=∞dB), the difference between the absolute values of the first correlation RB−90° and the second correlation RB+90° is greater, and the first correlation RB−90° and the second correlation RB+90° are respectively a positive number and a negative number. Therefore, the value of the coding threshold ThWN corresponding to the noise interference is 1.9 (i.e., the first threshold). When noise is present in the network transmission environment (e.g., SNRT=−6 dB), the difference between the absolute values of the first correlation RB−90° and the second correlation RB+90° is less, and the first correlation RB−90° and the second correlation RB−90° are respectively a positive number and a negative number. Therefore, the value of the coding threshold ThWN corresponding to the noise interference is 0.3 (i.e., the second threshold). When the watermark identification code is not present in the synthesized sound signal SA (i.e., W0=N/A), due to the less difference between the absolute values of the first correlation RB−90° and the second correlation RB+90°, the value of the coding threshold ThWN is 0.3 regardless of the magnitude of the noise interference.


With reference to FIG. 5, in another embodiment, the processor 19 generates a third sound signal sB−nw according to the first sound signal sB−, and generate a fourth sound signal sB+nw according to the second sound signal sB+ (step S510). Different from the embodiment corresponding to FIG. 4, in this embodiment, the first sound signal sB− is delayed by the delay time nw to obtain the third sound signal sB−nw, and the second sound signal sB+ is delayed by the delay time nw to obtain the fourth sound signal sB+nw. In this embodiment, the relationship between the third sound signal sB−nw and the first sound signal sB− may be expressed as follows:

sB−nw(n)=sB−(n-nw)  (12)

In addition, the relationship between the fourth sound signal sB+nw and the second sound signal sB+ may be expressed as follows:

sB+nw(n)=sB+(n−nw)  (13)


With reference to FIG. 5, the processor 19 respectively determines a first correlation RB−nw and a second correlation RB+nw according to the third sound signal sB−nw and the fourth sound signal sB+nw (step S520). Specifically, the processor 19 calculates the cross-correlation between the first sound signal sB− and the third sound signal sB−nw to obtain the first correlation RB−nw, and calculates the cross-correlation between the second sound signal sB+ and the fourth sound signal sB+nw to obtain the second correlation RB+nw. A difference between absolute values of the first correlation RB−nw and the second correlation RB+nw corresponds to the magnitude of the noise interference. For example, the relationship between the first correlation RB−nw or the second correlation RB+nw, the signal-to-noise ratio SNRT corresponding to the noise interference, and the watermark identification code W0 may be expressed as follows:














TABLE 4







RB−nw/RB+nw
W0 = 1
W0 = 0
W0 = N/A





















SNRT = ∞ dB
±0.3
±0.3
5



SNRT = −6 dB
±0.3
±0.3
0.25











In other words, when the watermark identification code is the first code (e.g., W0=1) or the second code (e.g., W0=0), the results of the first correlation RB−nw and the second correlation RB+nw are not correlated. In other words, the first sound signal sB− and the third sound signal sB−nw are not related to each other. Also, the second sound signal sB− and the fourth sound signal sB+nw are not related to each other. It is worth noting that, only when the watermark identification code is not present in the synthesized sound signal SA (i.e., W0=N/A), sRx(n-nw) and sRx90°(n-2·nw) in the sound signals are positively correlated, and the noise part is not correlated.


Therefore, when the watermark identification code is not present in the synthesized sound signal SA (i.e., W0=N/A), the correlation is high and positive (RB−nw=5) when the transfer environment is noise-free (SNRT=∞dB), and the correlation is low and positive (RB−nw=0.25) when the transfer environment is a large noise environment (SNRT=−6 dB).


With reference to FIG. 5, then, the processor 19 determines a coding threshold ThD according to a sum of the first correlation RB−nw and the second correlation RB+nw (step S530). It is worth noting that the coding threshold ThD in this embodiment is configured for identifying whether at least one code is present in the sound watermark signal in the synthesized sound signal SA, for example, whether the sound watermark signal is N/A. The relationship between the coding threshold ThD and the first correlation R B−nw and the second correlation RB+nw may be expressed as follows:

ThD=RB+nw+RB−nw  (14)

Then, according to Table (4) and the properties of the first correlation RB−nw and the second correlation RBnw, the relationship between the coding threshold ThD, the noise interference SNRT, and the watermark identification code W0 can be drawn, and may be expressed as follows:














TABLE 5







ThD
W0 = 1
W0 = 0
W0 = N/A





















SNRT = ∞ dB
±0.3
±0.3
10



SNRT = −6 dB
±0.3
±0.3
0.5










As can be known from Table (5) and the properties of the first correlation RB−nw and the second correlation RB+nw, in a case where the watermark identification code is not present, the first correlation RB−nw and the second correlation RB+nw may be configured for determining the noise interference (i.e., SNRT=∞dB or SNRT=−6 dB) in the network transfer. Accordingly, whether at least one code is present in the sound watermark signal can be identified through the coding threshold ThD.



FIG. 6 is a flowchart showing determination of a coding threshold according to another embodiment of the disclosure. With reference to FIG. 6, in an embodiment, a coding threshold includes a first noise threshold and a second noise threshold. The processor 19 generates a pre-processed sound signal sAnw according to the delay time nw and the synthesized sound signal SA (step S610). Specifically, the pre-processed sound signal sAnw is obtained from the synthesized sound signal SA being delayed by the delay time nw. The relationship between the pre-processed sound signal sAnw and the synthesized sound signal SA may be expressed as follows:

SAnw(n)=sA(n-nw)  (15)

The relationship between the pre-processed sound signal sAnw and the conversation-received sound signal SRx may be expressed as follows:











s
A

n
w


(
n
)

=

{







α
T

·

[



S
Rx

(

n
-

n
w


)

+


α
w

·


s
RX

90

°


(

n
-

2
·

n
w



)



]


+


N
T

(

n
-

n
w


)


,


W
0

=
1










α
T

·

[



S
Rx

(
n
)

-


α
w

·


s
RX

90

°


(

n
-

2
·

n
w



)



]


+


N
T

(

n
-

n
w


)


,


W
0

=
0










α
T

·

[



S
Rx



(
n
)


+


α
w

·


S
Rx

(

n
-

2
·

n
w



)



]


+


N
T

(

n
-

n
w


)


,


W
0

=

N
/
A











(
16
)







Then, the processor 19 generates a fifth sound signal sC according to the synthesized sound signal SA and the pre-processed sound signal sAnw (step S620). The relationship between the fifth sound signal sC and the synthesized sound signal SA may be expressed as follows:

sC=sAw·sAnw  (17)

The relationship between the fifth sound signal sC and the conversation-received sound signal SRx may be expressed as follows:











s
C

(
n
)

=

{









α
T

·

[



s
RX

(
n
)

-


α
w

·


S
Rx

(

n
-

n
w


)


+



α
w

·

s
RX

90

°





(

n
-

n
w


)


-


α
w
2

·


s
RX

90

°


(

n
-

2
·

n
w



)



]









+


N
T

(
n
)


-



α
w

·

N
T




(

n
-

n
w


)



,


W
0

=
1















α
T

·

[



s
RX

(
n
)

-


α
w

·


S
Rx

(

n
-

n
w


)


-



α
w

·

s
RX

90

°





(

n
-

n
w


)


+


α
w
2

·


s
RX

90

°


(

n
-

2
·

n
w



)



]










+

N
T




(
n
)


-



α
w

·

N
T




(

n
-

n
w


)



,


W
0

=
0















α
T

·

[



s
RX

(
n
)

+


α
w
2

·


s
RX

(

n
-

2
·

n
w



)



]


+


N
T

(
n
)

-


α
w

·


N
T

(

n
-

n
w


)



,


W
0

=

N
/
A






.






(
18
)








In this embodiment, the reflection-cancelling sound signal includes the fifth sound signal sC. The fifth sound signal sC cancels the synthesized sound signal in a case where the sound watermark signal is not any code (e.g., W0=N/A).


With reference to FIG. 6, the processor 19 generates a sixth sound signal snCnw according to the fifth sound signal sC (step S630). In this embodiment, the fifth sound signal sC is delayed by the delay time nw to generate the sixth sound signal SCnw. The relationship between the sixth sound signal sCnw and the fifth sound signal sC may be expressed as follows:

sCnw(n)=sC(n-nw)  (19)


The processor 19 determines a third correlation RCnw according to the fifth sound signal sC and the sixth sound signal sCnw (step S640). Specifically, the processor 19 calculates the cross-correlation between the fifth sound signal sC and the sixth sound signal sCnw to obtain the third correlation RCnw. The third correlation RCnw corresponds to the magnitude of the noise interference. For example, the relationship between the third correlation RCnw, the signal-to-noise ratio SNRT corresponding to the noise interference, and the watermark identification code W0 may be expressed as follows:














TABLE 6







RCnw
W0 = 1
W0 = 0
W0 = N/A





















SNRT = ∞ dB
−6
−6
±0.3



SNRT = −6 dB
−5
−5
−4.8










In other words, when the watermark identification code is the first code (i.e., W0=1), the result of the third correlation RCnw between sRx(n-nw), sRx90°(n-2·nw), NT(n-nw) in the fifth sound signal sC and the sixth sound signal sCnw is a negative correlation. In addition, the correlation is high and negative (e.g., RCnw=−6) when the transfer environment is noise-free (SNRT=∞dB), and the correlation is high and negative (e.g., Rcnw=−5) when the transmission environment is a large noise environment (SNRT=−6 dB). Moreover, the watermark identification code, when being the second code (i.e., W0=0), has the same properties as the first code. It is worth noting that, only when the watermark identification code is not present in the synthesized sound signal SA (i.e., W0=N/A), the noise part NT90°(n-nw) in the sound signal is negatively correlated. Therefore, when the watermark identification code is not present in the synthesized sound signal SA (i.e., W0=N/A), the correlation is low (e.g., RCnw=±0.3) when the transmission environment is noise-free (SNRT=∞dB), and the correlation is high (e.g., RCnw=−4.8) when the transmission environment is a large noise environment (SNRT=−6 dB).


The processor 19 determines a first noise threshold ThNAN according to the third correlation RCnw. For example, the relationship between the first noise threshold ThNAN and the third correlation RCnw may be expressed as follows:










Th
NA
N

=

1
+


3.25
-



"\[LeftBracketingBar]"


R
C

n
w




"\[RightBracketingBar]"



3






(
20
)








Then, according to Table (6) and the properties of the third correlation RCnw, the relationship between the first noise threshold ThNAN, the signal-to-noise ratio SNRT corresponding to the noise interference, and the watermark identification code W0 can be drawn, and may be expressed as follows:














TABLE 7







ThNAN
W0 = 1
W0 = 0
W0 = N/A









SNRT = ∞ dB
0.3
0.3
2.1



SNRT = −6 dB
0.3
0.3
0.3










As can be known from Table (7) and the properties of the third correlation RCnw, in a case where the watermark identification code is not present (e.g., W0=N/A), the third correlation RCnw is less and the first noise threshold ThNAN is greater if there is no noise interference (e.g., SNRT=∞dB), and the third correlation RCnw is greater and the first noise threshold ThNAA is less if the noise interference is large (e.g., SNRT=−6 dB). The first noise threshold ThNAN is configured for identifying whether at least one code is present in the sound watermark signal in the synthesized sound signal.


In addition, the processor 19 determines a second noise threshold ThWN according to a correlation ratio (step S650). Reference may be made to FIG. 4 for the detailed description of step S650, which will not be repeated herein. In other words, the second noise threshold ThWN determined in this embodiment is the coding threshold ThWN determined in step S450.


Then, the processor 19 determines a final coding threshold ThDN according to the first noise threshold ThNAN and the second noise threshold ThWN (step S660). In an embodiment, the coding threshold ThDN is related to a greatest one of a difference (ThNAN-ThwN) between the first noise threshold ThNAN and the second noise threshold ThWN, and the second noise threshold ThWN. The relationship between the coding threshold ThDN, the first noise threshold ThNAN, and the second noise threshold ThWN may be expressed as follows:

ThDN=max{ThNAN-ThwN,ThwN}  (21)

The coding threshold ThDN is configured for identifying whether at least one code is present in the sound watermark signal in the synthesized sound signal SA and whether the sound watermark signal in the synthesized sound signal SA is the at least one code (e.g., W0=N/A, W0=1, or W0=0). According to the properties of Table (5) and Table (7), the relationship between the coding threshold ThDN, the signal-to-noise ratio SNRT corresponding to the noise interference, and the watermark identification code W0 can be drawn, and may be expressed as follows:














TABLE 8







ThDN
W0 = 1
W0 = 0
W0 = N/A









SNRT = ∞ dB
1.9
1.9
1.9



SNRT = −6 dB
0.3
0.3
0.3










As can be known from Table (8), regardless of the value of the watermark identification code (e.g., W0=N/A, 0, or 1), the coding threshold ThDN is greater (e.g., ThDN=1.9) if there is no noise interference (e.g., SNRT=∞dB), and the coding threshold ThDN is less (e.g., ThDN=0.3) if the noise interference is large (e.g., SNRT=−6 dB), accordingly conforming to the properties and the range of noise changes in the environment.


With reference to FIG. 2, the processor 19 identifies the sound watermark signal SWM in the synthesized sound signal SA according to the coding threshold (step S240). Specifically, the processor 19 generates a synthesized sound signal SA90° with a phase shift of 90°. FIG. 7 is a flowchart of identifying a sound watermark signal according to an embodiment of the disclosure. According to a correlation Ra90° between the synthesized sound signal SA and the phase-shifted synthesized sound signal SA90°, the processor 19 may identify a watermark identification code WE (step S710). For example, the processor 19 calculates the orthogonal cross-correlation RA90° between the synthesized sound signal SA and the synthesized sound signal SA90°, where −1≤RA90°≤1. The processor 19 defines the coding thresholds ThDN and ThD, and the watermark identification code WE may then be expressed as:










W
E

=

{





N
/
A

,




"\[LeftBracketingBar]"


R
A

90

°




"\[RightBracketingBar]"





Th
D
N



and









"\[LeftBracketingBar]"


R
A

90

°




"\[RightBracketingBar]"





Th
D









(
23
)

,
else










(
22
)













W
E

=

{




1
,


R
A

90

°


>
0







0
,
else










(
23
)








In other words, if the absolute value of the correlation RA90° is lower than the coding thresholds ThDN and ThD, the processor 19 determines that the value of this bit is not any code (e.g., N/A); if the correlation RA90° is higher than the coding threshold ThDN or ThD, the processor 19 further determines the correlation RA90°, and accordingly determines whether the value of this bit corresponds to the value of a phase shift of −90° (e.g., 0) or the value of a phase shift of 90° (e.g., 1). In other words, the coding threshold ThD may be configured to assist in checking whether the sound signal is any code in the watermark identification code. In addition, to prevent influences by noise, the other part of the identification is to determine the coding threshold ThDN according to the properties of noise interference changes. Finally, the processor 19 may compare the coding threshold ThDN or ThD with the correlation RA90° to thus determine the watermark identification code more accurately.


In another embodiment, the processor 19 may identify the corresponding values of the synthesized sound signal SA in different time units through a classifier based on deep learning.


Regarding changing noise interference, for example, according to experimental experiences, in a case where the transmission process of the synthesized sound signal SA belongs to a large noise interference environment (e.g., SNRT=−6 dB), the identification accuracy can be improved using a coding threshold of 1.9 to identify the watermark identification code of the sound watermark signal SWM. In addition, in a case where the transmission process of the synthesized sound signal SA belongs to a noise-free environment (e.g., SNRT=∞dB), the watermark identification code in the sound watermark signal SWM can be correctly identified using a coding threshold of 0.3.


In summary of the foregoing, in the identifying method of a sound watermark and the sound watermark identifying apparatus of the embodiments of the disclosure, through the properties of the virtual reflected sound signal and the reflection-cancelling sound signal in the synthesized sound signal, the noise interference in the transfer environment is determined accordingly. In addition, the coding threshold of the watermark identification code to be determined is determined through the noise interference. Accordingly, the correct rate of identifying the watermark identification code can be increased using coding thresholds corresponding to different transmission environments.


It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the disclosure covers modifications and variations provided that they fall within the scope of the following claims and their equivalents.

Claims
  • 1. An identifying method of a sound watermark, the identifying method being adapted for a conference terminal, and the identifying method comprising: receiving a synthesized sound signal through a network, wherein the synthesized sound signal comprises a sound watermark signal, the sound watermark signal is generated by shifting a phase of a reflected sound signal according to a watermark identification code, and the reflected sound signal is a sound signal obtained from simulating a sound emitted by a sound source reflected by an external object and recorded by a sound receiver;determining noise interference transferred through the network in the synthesized sound signal according to at least one reflection-cancelling sound signal, wherein the at least one reflection-cancelling sound signal cancels a sound signal of the watermark identification code of the sound watermark signal being at least one code in the synthesized sound signal;determining a coding threshold according to the noise interference, wherein the coding threshold comprises a first threshold and a second threshold, noise interference corresponding to the first threshold is lower than noise interference corresponding to the second threshold, and the first threshold is greater than the second threshold; andidentifying the sound watermark signal in the synthesized sound signal according to the coding threshold.
  • 2. The method according to claim 1, wherein determining the noise interference comprises: generating a pre-processed sound signal according to a delay time and the synthesized sound signal, wherein the pre-processed sound signal is obtained from the synthesized sound signal being phase-shifted and delayed by the delay time;respectively generating a first sound signal and a second sound signal according to the synthesized sound signal and the pre-processed sound signal, wherein the at least one code comprises a first code and a second code, the at least one reflection-cancelling sound signal comprises the first sound signal and the second sound signal, the first sound signal cancels the synthesized sound signal in a case where the watermark identification code is the first code, and the second sound signal cancels the synthesized sound signal in a case where the watermark identification code is the second code;generating a third sound signal according to the first sound signal, and generating a fourth sound signal according to the second sound signal, wherein the first sound signal is phase-shifted and delayed by the delay time to generate the third sound signal, and the second sound signal is phase-shifted and delayed by the delay time to generate the fourth sound signal; andrespectively determining a first correlation and a second correlation according to the third sound signal and the fourth sound signal, wherein the first correlation is a correlation between the first sound signal and the third sound signal, the second correlation is a correlation between the second sound signal and the fourth sound signal, and a difference between absolute values of the first correlation and the second correlation corresponds to a magnitude of the noise interference.
  • 3. The method according to claim 2, wherein the watermark identification code is a binary system, then two values be provided for each bit, the two values, which are different, respectively correspond to two phase shifts.
  • 4. The method according to claim 2, wherein determining the coding threshold according to the noise interference comprises: determining the coding threshold according to a correlation ratio, wherein the correlation ratio is related to an absolute value of a sum of the first correlation and the second correlation, and to a greatest one of the absolute values of the first correlation and the second correlation, and the coding threshold is configured for identifying whether the sound watermark signal in the synthesized sound signal is the at least one code.
  • 5. The method according to claim 2, wherein determining the coding threshold according to the noise interference comprises: determining the coding threshold according to a sum of the first correlation and the second correlation, wherein the coding threshold is configured for identifying whether the at least one code is present in the sound watermark signal in the synthesized sound signal.
  • 6. The method according to claim 2, wherein the coding threshold comprises a first noise threshold and a second noise threshold, and determining the coding threshold according to the noise interference comprises: determining the first noise threshold according to a third correlation, wherein the third correlation is related to a correlation between a fifth sound signal and a sixth sound signal, the at least one reflection-cancelling sound signal comprises the fifth sound signal, the fifth sound signal cancels the synthesized sound signal in a case where the watermark identification code is not the at least one code, the sixth sound signal is a sound signal of the fifth sound signal being delayed by the delay time, and the first noise threshold is configured for identifying whether the at least one code is present in the sound watermark signal in the synthesized sound signal;determining the second noise threshold according to a correlation ratio, wherein the correlation ratio is related to an absolute value of a sum of the first correlation and the second correlation, and to a greatest one of the absolute values of the first correlation and the second correlation, and the second noise threshold is configured for identifying whether the sound watermark signal in the synthesized sound signal is the at least one code; anddetermining the coding threshold according to the first noise threshold and the second noise threshold, wherein the coding threshold is related to a greatest one of a difference between the first noise threshold and the second noise threshold, and the second noise threshold, and the coding threshold is configured for identifying whether the at least one code is present in the sound watermark signal in the synthesized sound signal and whether the sound watermark signal in the synthesized sound signal is the at least one code.
  • 7. The apparatus according to claim 6, wherein the third correlation is obtained by calculating a cross-correlation between the fifth sound signal and the sixth sound signal, and the third correlation corresponds to the magnitude of the noise interference.
  • 8. The apparatus according to claim 6, wherein the watermark identification code is identified according to a correlation between the synthesized sound signal and the synthesized sound signal that is phase-shifted.
  • 9. The apparatus according to claim 6, wherein when the watermark identification code is the first code or the second code, results of the first correlation and the second correlation are not correlated.
  • 10. The method according to claim 1, wherein determining the noise interference comprises: generating a pre-processed sound signal according to a delay time and the synthesized sound signal, wherein the pre-processed sound signal is obtained from the synthesized sound signal being phase-shifted and delayed by the delay time;respectively generating a first sound signal and a second sound signal according to the synthesized sound signal and the pre-processed sound signal, wherein the at least one code comprises a first code and a second code, the at least one reflection-cancelling sound signal comprises the first sound signal and the second sound signal, the first sound signal cancels the synthesized sound signal in a case where the watermark identification code is the first code, and the second sound signal cancels the synthesized sound signal in a case where the watermark identification code is the second code;generating a third sound signal according to the first sound signal, and generating a fourth sound signal according to the second sound signal, wherein the first sound signal is delayed by the delay time to generate the third sound signal, and the second sound signal is delayed by the delay time to generate the fourth sound signal; andrespectively determining a first correlation and a second correlation according to the third sound signal and the fourth sound signal, wherein the first correlation is a correlation between the first sound signal and the third sound signal, the second correlation is a correlation between the second sound signal and the fourth sound signal, and a difference between absolute values of the first correlation and the second correlation corresponds to a magnitude of the noise interference.
  • 11. An identifying apparatus of a sound watermark, comprising: a memory, configured to store a programming code; anda processor, coupled to the memory, and configured to load and execute the programming code to: receive a synthesized sound signal through a network, wherein the synthesized sound signal comprises a sound watermark signal, the sound watermark signal is generated by shifting a phase of a reflected sound signal according to a watermark identification code, and the reflected sound signal is a sound signal obtained from simulating a sound emitted by a sound source reflected by an external object and recorded by a sound receiver;determine noise interference transferred through the network in the synthesized sound signal according to at least one reflection-cancelling sound signal, wherein the at least one reflection-cancelling sound signal cancels a sound signal of the watermark identification code of the sound watermark signal being at least one code in the synthesized sound signal;determine a coding threshold according to the noise interference, wherein the coding threshold comprises a first threshold and a second threshold, noise interference corresponding to the first threshold is lower than noise interference corresponding to the second threshold, and the first threshold is greater than the second threshold; andidentify the sound watermark signal in the synthesized sound signal according to the coding threshold.
  • 12. The apparatus according to claim 11, wherein the processor is further configured to: generate a pre-processed sound signal according to a delay time and the synthesized sound signal, wherein the pre-processed sound signal is obtained from the synthesized sound signal being phase-shifted and delayed by the delay time;respectively generate a first sound signal and a second sound signal according to the synthesized sound signal and the pre-processed sound signal, wherein the at least one code comprises a first code and a second code, the at least one reflection-cancelling sound signal comprises the first sound signal and the second sound signal, the first sound signal cancels the synthesized sound signal in a case where the watermark identification code is the first code, and the second sound signal cancels the synthesized sound signal in a case where the watermark identification code is the second code;generate a third sound signal according to the first sound signal, and generating a fourth sound signal according to the second sound signal, wherein the first sound signal is phase-shifted and delayed by the delay time to generate the third sound signal, and the second sound signal is phase-shifted and delayed by the delay time to generate the fourth sound signal; andrespectively determine a first correlation and a second correlation according to the third sound signal and the fourth sound signal, wherein the first correlation is a correlation between the first sound signal and the third sound signal, the second correlation is a correlation between the second sound signal and the fourth sound signal, and a difference between absolute values of the first correlation and the second correlation corresponds to a magnitude of the noise interference.
  • 13. The apparatus according to claim 12, wherein the watermark identification code is a binary system, then two values be provided for each bit, the two values, which are different, respectively correspond to two phase shifts.
  • 14. The apparatus according to claim 12, wherein the processor is further configured to: determine the coding threshold according to a correlation ratio, wherein the correlation ratio is related to an absolute value of a sum of the first correlation and the second correlation, and to a greatest one of the absolute values of the first correlation and the second correlation, and the coding threshold is configured for identifying whether the sound watermark signal in the synthesized sound signal is the at least one code.
  • 15. The apparatus according to claim 12, wherein the processor is further configured to: determine the coding threshold according to a sum of the first correlation and the second correlation, wherein the coding threshold is configured for identifying whether the at least one code is present in the sound watermark signal in the synthesized sound signal.
  • 16. The apparatus according to claim 12, wherein the coding threshold comprises a first noise threshold and a second noise threshold, and the processor is further configured to: determine the first noise threshold according to a third correlation, wherein the third correlation is related to a correlation between a fifth sound signal and a sixth sound signal, the at least one reflection-cancelling sound signal comprises the fifth sound signal, the fifth sound signal cancels the synthesized sound signal in a case where the watermark identification code is not the at least one code, the sixth sound signal is a sound signal of the fifth sound signal being delayed by the delay time, and the first noise threshold is configured for identifying whether the at least one code is present in the sound watermark signal in the synthesized sound signal;determine the second noise threshold according to a correlation ratio, wherein the correlation ratio is related to an absolute value of a sum of the first correlation and the second correlation, and to a greatest one of the absolute values of the first correlation and the second correlation, and the second noise threshold is configured for identifying whether the sound watermark signal in the synthesized sound signal is the at least one code; anddetermine the coding threshold according to the first noise threshold and the second noise threshold, wherein the coding threshold is related to a greatest one of a difference between the first noise threshold and the second noise threshold, and the second noise threshold, and the coding threshold is configured for identifying whether the at least one code is present in the sound watermark signal in the synthesized sound signal and whether the sound watermark signal in the synthesized sound signal is the at least one code.
  • 17. The apparatus according to claim 16, wherein the third correlation is obtained by calculating a cross-correlation between the fifth sound signal and the sixth sound signal, and the third correlation corresponds to the magnitude of the noise interference.
  • 18. The apparatus according to claim 16, wherein the watermark identification code is identified according to a correlation between the synthesized sound signal and the synthesized sound signal that is phase-shifted.
  • 19. The apparatus according to claim 16, wherein when the watermark identification code is the first code or the second code, results of the first correlation and the second correlation are not correlated.
  • 20. The apparatus according to claim 11, wherein the processor is further configured to: generate a pre-processed sound signal according to a delay time and the synthesized sound signal, wherein the pre-processed sound signal is obtained from the synthesized sound signal being phase-shifted and delayed by the delay time;respectively generate a first sound signal and a second sound signal according to the synthesized sound signal and the pre-processed sound signal, wherein the at least one code comprises a first code and a second code, the at least one reflection-cancelling sound signal comprises the first sound signal and the second sound signal, the first sound signal cancels the synthesized sound signal in a case where the watermark identification code is the first code, and the second sound signal cancels the synthesized sound signal in a case where the watermark identification code is the second code;generate a third sound signal according to the first sound signal, and generating a fourth sound signal according to the second sound signal, wherein the first sound signal is delayed by the delay time to generate the third sound signal, and the second sound signal is delayed by the delay time to generate the fourth sound signal; andrespectively determine a first correlation and a second correlation according to the third sound signal and the fourth sound signal, wherein the first correlation is a correlation between the first sound signal and the third sound signal, the second correlation is a correlation between the second sound signal and the fourth sound signal, and a difference between absolute values of the first correlation and the second correlation corresponds to a magnitude of the noise interference.
Priority Claims (1)
Number Date Country Kind
110141580 Nov 2021 TW national
Foreign Referenced Citations (2)
Number Date Country
101266794 Sep 2008 CN
112290975 Jan 2021 CN
Non-Patent Literature Citations (1)
Entry
D. Gruhl et al., Echo Hiding, 1996 Int'l Workshop on Information Hiding 295 (MIT, 1996) (Year: 1996).
Related Publications (1)
Number Date Country
20230142323 A1 May 2023 US