<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ep-patent-document PUBLIC "-//EPO//EP PATENT DOCUMENT 1.4//EN" "ep-patent-document-v1-4.dtd">
<ep-patent-document id="EP06753115B9W1" file="EP06753115W1B9.xml" lang="en" country="EP" doc-number="1962436" kind="B9" correction-code="W1" date-publ="20101222" status="c" dtd-version="ep-patent-document-v1-4">
<SDOBI lang="en"><B000><eptags><B001EP>ATBECHDEDKESFRGBGRITLILUNLSEMCPTIESILTLVFIRO..CY..TRBGCZEEHUPLSK....IS..............................</B001EP><B005EP>J</B005EP><B007EP>DIM360 Ver 2.15 (14 Jul 2008) -  2999001/0</B007EP></eptags></B000><B100><B110>1962436</B110><B120><B121>CORRECTED EUROPEAN PATENT SPECIFICATION</B121></B120><B130>B9</B130><B132EP>B1</B132EP><B140><date>20101222</date></B140><B150><B151>W1</B151><B155><B1551>de</B1551><B1552>Beschreibung</B1552><B1551>en</B1551><B1552>Description</B1552><B1551>fr</B1551><B1552>Description</B1552><B1551>de</B1551><B1552>Ansprüche FR</B1552><B1551>en</B1551><B1552>Claims FR</B1552><B1551>fr</B1551><B1552>Revendications FR</B1552></B155></B150><B190>EP</B190></B100><B200><B210>06753115.2</B210><B220><date>20060706</date></B220><B240><B241><date>20080626</date></B241></B240><B250>zh</B250><B251EP>en</B251EP><B260>en</B260></B200><B300><B310>200510134638</B310><B320><date>20051213</date></B320><B330><ctry>CN</ctry></B330></B300><B400><B405><date>20101222</date><bnum>201051</bnum></B405><B430><date>20080827</date><bnum>200835</bnum></B430><B450><date>20100908</date><bnum>201036</bnum></B450><B452EP><date>20100630</date></B452EP><B480><date>20101222</date><bnum>201051</bnum></B480></B400><B500><B510EP><classification-ipcr sequence="1"><text>H04B   3/23        20060101AFI20070813BHEP        </text></classification-ipcr><classification-ipcr sequence="2"><text>H04M   3/00        20060101ALI20081118BHEP        </text></classification-ipcr><classification-ipcr sequence="3"><text>H04M   7/00        20060101ALI20081118BHEP        </text></classification-ipcr></B510EP><B540><B541>de</B541><B542>EINRICHTUNG UND VERFAHREN ZUR ELEKTRIZITÄTSECHOBESEITIGUNG</B542><B541>en</B541><B542>ELECTRICITY ECHO ELIMINATION DEVICE AND METHOD</B542><B541>fr</B541><B542>DISPOSITIF ET PROCEDE D'ELIMINATION D'ECHO D'ELECTRICITE</B542></B540><B560><B561><text>EP-A- 0 986 190</text></B561><B561><text>WO-A-01/45291</text></B561><B561><text>CN-A- 1 691 716</text></B561><B561><text>US-A1- 2002 114 445</text></B561><B561><text>US-B1- 6 590 975</text></B561><B561><text>US-B1- 6 724 736</text></B561><B561><text>US-B1- 6 792 106</text></B561><B562><text>MELVIN H ET AL: "An integrated ntp-rtcp solution to audio skew detection and compensation for voip applications" MULTIMEDIA AND EXPO, 2003. PROCEEDINGS. 2003 INTERNATIONAL CONFERENCE ON 6-9 JULY 2003, PISCATAWAY, NJ, USA,IEEE, vol. 2, 6 July 2003 (2003-07-06), pages 537-540, XP010650611 ISBN: 978-0-7803-7965-7</text></B562><B565EP><date>20081124</date></B565EP></B560></B500><B700><B720><B721><snm>WANG, Wei</snm><adr><str>Huawei Administration Building
Bantian, Longgang District
Shenzhen</str><city>Guangdong 518129</city><ctry>CN</ctry></adr></B721></B720><B730><B731><snm>Huawei Technologies Co., Ltd.</snm><iid>100970540</iid><irf>MUB 08-2201 EP</irf><adr><str>Huawei Administration Building 
Bantian</str><city>Longgang District, Shenzhen
Guangdong 518129</city><ctry>CN</ctry></adr></B731></B730><B740><B741><snm>Casalonga, Axel</snm><iid>101159302</iid><adr><str>Casalonga &amp; Partners 
Bayerstrasse 73</str><city>80335 München</city><ctry>DE</ctry></adr></B741></B740></B700><B800><B840><ctry>AT</ctry><ctry>BE</ctry><ctry>BG</ctry><ctry>CH</ctry><ctry>CY</ctry><ctry>CZ</ctry><ctry>DE</ctry><ctry>DK</ctry><ctry>EE</ctry><ctry>ES</ctry><ctry>FI</ctry><ctry>FR</ctry><ctry>GB</ctry><ctry>GR</ctry><ctry>HU</ctry><ctry>IE</ctry><ctry>IS</ctry><ctry>IT</ctry><ctry>LI</ctry><ctry>LT</ctry><ctry>LU</ctry><ctry>LV</ctry><ctry>MC</ctry><ctry>NL</ctry><ctry>PL</ctry><ctry>PT</ctry><ctry>RO</ctry><ctry>SE</ctry><ctry>SI</ctry><ctry>SK</ctry><ctry>TR</ctry></B840><B860><B861><dnum><anum>CN2006001592</anum></dnum><date>20060706</date></B861><B862>zh</B862></B860><B870><B871><dnum><pnum>WO2007068166</pnum></dnum><date>20070621</date><bnum>200725</bnum></B871></B870><B880><date>20080827</date><bnum>200835</bnum></B880></B800></SDOBI><!-- EPO <DP n="1"> -->
<description id="desc" lang="en">
<heading id="h0001">FIELD OF THE INVENTION</heading>
<p id="p0001" num="0001">The present invention relates to the field of echo cancellation, and more particularly to an electricity echo cancellation device and method applied in a terminal.</p>
<heading id="h0002">BACKGROUND</heading>
<p id="p0002" num="0002">With the continuous development of the Internet and telecommunication technologies, telecommunication applications over the Internet become more numerous. Recently, great development of the Voice over IP (VOIP) technology has been achieved. However, compared with the conventional telephone technologies, the VOIP technology has disadvantage in its voice quality for a main reason of echoes.</p>
<p id="p0003" num="0003">According to the generation principles, echoes are classified into acoustic echo and electricity echo. As shown in <figref idref="f0001">Fig.1</figref>, S<sub>in</sub> represents a near-end input signal, S<sub>out</sub> represents a near-end output signal, R<sub>in</sub> represents a far-end input signal, and R<sub>out</sub> represents a far-end output signal. Taking the near-end as an example, the generation principle of electricity echoes is as follows. When the near-end input signal S<sub>in</sub> is transmitted in the Public Switched Telephone Network (PSTN), a mixing converter is needed to convert the two-line at the user end to the four-line in an exchanger. During the conversion, a part of signals are leaked from a near-end transmitting path to a near-end receiving path. This part of "leaked" signals is retransmitted to the near-end, and thereby a near-end user hears his/her own voices. This is electricity echo. Also taking the near-end as an example, the generation principle of acoustic echoes is as follows. The acoustic echo is caused by voice coupling between a voice playback device and a voice collection device. The far-end input voice signal R<sub>in</sub>, after transmitted to the near-end, becomes the far-end output voice signal R<sub>out</sub>. After the signal R<sub>out</sub> is received by the near-end voice playback device, such as a speaker, and picked up by the near-end voice collection device, such as a microphone, via various reflecting paths or without any reflection, the signal R<sub>out</sub> is retransmitted to the far-end, and thereby a far-end user hears his/her own voices. This is acoustic echo.</p>
<p id="p0004" num="0004">Generally, typical echoes with a delay of 16∼20ms are called sidetone, which are even desired by a user because the user may feel comfortable when hearing it in a talking. However, echoes with a delay of more than 32ms would seriously influence the quality of a<!-- EPO <DP n="2"> --> talking. With the development of communication technologies, talking distance supported by the VOIP technology is becoming longer and thus voice delay increases greatly, so that echo phenomenon is becoming much more serious. Therefore, echo cancellation becomes a problem to be overcome for the VOIP technology.</p>
<p id="p0005" num="0005">Presently, electricity echo cancellation is realized by an electricity echo canceller deployed on network. Taking the near-end in <figref idref="f0001">Fig.1</figref> as an example, the operation principle of an electricity echo canceller is as follows. Because an electricity echo signal r in the near-end is generated from the near-end input signal S<sub>in</sub> with certain delay and returned to the near-end together with the far-end input signal R<sub>in</sub> through the far-end output signal R<sub>out</sub>, when no voice signal is inputted in the far-end, that is, R<sub>in</sub> is not a voice signal, an electricity echo delay M might be estimated according to the correlation of the far-end output signals R<sub>out</sub> and S<sub>in</sub>. Then a near-end input signal S<sub>in</sub>(n-M) at the time earlier than the current time n byM, i.e. the time(n-M), is selected as an input signal of an adaptive filter, and an estimated electricity echo signal r' is derived through filtering computation. Then the estimated electricity echo signal r' is subtracted from the far-end input signal R<sub>in</sub>, and thus the purpose of eliminating the electricity echo in the far-end output signal is achieved. During the above process, the far-end output signal R<sub>out</sub> should be used as a correction signal in order to continuously update coefficients of the adaptive filter, so that the estimated electricity echo signal could approach an actual electricity echo signal more exactly.</p>
<p id="p0006" num="0006">The principle of acoustic echo cancellation is similar to that of electricity echo cancellation except that an acoustic echo canceller (AEC) is generally deployed in a terminal.</p>
<p id="p0007" num="0007">European patent application <patcit id="pcit0001" dnum="EP0986190A2"><text>EP 0 986 190 A2</text></patcit> discloses estimation of the round-trip user-to-user delay in telephone connections. Patent application <patcit id="pcit0002" dnum="WO0145291A1"><text>WO 01/45291 A1</text></patcit> discloses a method of echo removing using delay information. <patcit id="pcit0003" dnum="US6724736B1"><text>US patent 6,724,736 B1</text></patcit> discloses a method<!-- EPO <DP n="3"> --> of remote echo cancellation in a packet telephony system. <patcit id="pcit0004" dnum="US6792106B1"><text>US patent 6,792,106 B1</text></patcit> disclosed an echo canceller and a method of echo cancellation using an NLMS algorithm.</p>
<p id="p0008" num="0008">The related art might bring about the following problems.</p>
<p id="p0009" num="0009">1. It is difficult for the conventional electricity echo canceller to ensure the electricity echo cancellation effect at the final user end on the whole. An electricity echo canceller could only eliminate electricity echo signals on the network where it is deployed. However, because an actual network is constructed by interconnecting sub-networks based on various network technology, an electricity echo canceller deployed in a certain sub-network could only eliminate electricity echo signals on this sub-network, and could not ensure the electricity echo cancellation effect on the whole network.</p>
<p id="p0010" num="0010">2. Influences of network transmission performance on the electricity echo cancellation effect are not considered. For a voice transmission network, its transmission<!-- EPO <DP n="4"> --> performance may vary at different times due to various reasons, and thereby imposing influences on echo signals, for example, distorting echo signals. The conventional electricity echo cancellation method estimates an echo delay according to the correlation of media signals only in terms of media transmission, with no concern of the problem of inaccurate estimations on echo delay caused by influences of network transmission performance on echo signals, and thereby the echo cancellation effect could not be ensured. Further, because to estimate an electricity echo delay according to the correlation of media signals incurs a large amount of calculations, an electricity echo canceller usually needs to be realized with specific chips, and it is needed to deploy electricity echo cancellers on network in a multi-point manner, and the cost is high.</p>
<p id="p0011" num="0011">3. The electricity echo cancellation effect is restricted by hardware memory. During eliminating electricity echoes, terminal input signals in a previous time period need to be saved so as to serve as reference signals for estimating electricity echo signals. Because of limited hardware memory, when transmission delay is long, a terminal input signal corresponding to the current electricity echo signal might have been discarded by the hardware memory, and thereby the electricity echo cancellation effect could not be ensured.</p>
<heading id="h0003">SUMMARY</heading>
<p id="p0012" num="0012">The present invention provides an electricity echo cancellation device and method for ensuring the electricity echo cancellation effect on the whole and improving the effectiveness of electricity echo cancellation.</p>
<p id="p0013" num="0013">Technical solutions of the present invention are implemented as follows.</p>
<p id="p0014" num="0014">An electricity echo cancellation device includes a network echo delay computation module, an input buffer memory module and an adaptive filtering module. The electricity echo cancellation device is applied at the terminal, The network echo delay computation module configured to calculate a network echo delay according to a Real Time Control Protocol (RTCP)<!-- EPO <DP n="5"> --> packet transmitted from the network. The input buffer memory module is configured to determine a terminal input signal to be adaptively filtered according to information of the network echo delay most recently outputted from the network echo delay computation module, and output the terminal input signal to the adaptive filtering module. The adaptive filtering module is configured to calculate an electricity echo signal and a network output signal. The adaptive filtering module includes: an adaptive filter, configured to calculate the electricity echo signal according to the terminal input signal outputted from the input buffer memory module and a filtering coefficient maintained in the adaptive filter, output the electricity echo signal to a subtracter, adjust the current filtering coefficient according to a network output signal outputted from the subtracter.<br/>
The subtracter is configured to subtract the electricity echo signal outputted from the adaptive filter from a network input signal from the network, and output the network output signal derived through the subtraction to the terminal and the adaptive filter.</p>
<p id="p0015" num="0015">The current filtering coefficient is adjusted as <maths id="math0001" num=""><math display="inline"><mi mathvariant="normal">e</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">+</mo><mn mathvariant="normal">1</mn></mfenced><mo mathvariant="normal">=</mo><mi mathvariant="normal">e</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>+</mo><mi>μ</mi><mo>*</mo><mfrac><mrow><mi mathvariant="normal">Δ</mi><mfenced><mi mathvariant="normal">n</mi></mfenced></mrow><mrow><mi mathvariant="normal">P</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced></mrow></mfrac><mo mathvariant="normal">*</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced><mo>,</mo></math><img id="ib0001" file="imgb0001.tif" wi="71" he="14" img-content="math" img-format="tif" inline="yes"/></maths>where n is the current time, µ=0.5, K is the current network echo delay, e(n) is the current filtering coefficient, e(n+1) is the adjusted filtering coefficient, Δ(n) is the network output signal, x(n-K) is the terminal input signal at the time (n-K), and P(n-K)=X<sup>T</sup>(n-K)*X(n-K) where X<sup>T</sup>(n-K) is the transposed vector of X(n-K).</p>
<p id="p0016" num="0016">The adaptive filtering module may further include<!-- EPO <DP n="6"> --> a dual-ended voice detection module which is configured to detect whether the current time is a dual-ended voice time according to the network input signal from the network and the terminal input signal from the input buffer memory module, and if the current time is a dual-ended voice time, output a signal for interrupting coefficient adjustment to the adaptive filter. The adaptive filter is further configured to interrupt the adjustment of the current filtering coefficient after receiving a signal for interrupting coefficient adjustment from the dual-ended voice detection module.</p>
<p id="p0017" num="0017">In accordance with an electricity echo cancellation method, a network echo delay is calculated according to an RTCP packet when the RTCP packet arrives and the current network echo delay is updated with the network echo delay. The method includes: determining a terminal input signal to be adaptively filtered according to the current network echo delay and an adaptive filtering algorithm; calculating an electricity echo signal by performing adaptive filtering on the terminal input signal; and calculating the difference between a network input signal and the electricity echo signal to obtain a network output signal. The adaptive filtering algorithm includes: adjusting the current filtering coefficient as <maths id="math0002" num=""><math display="inline"><mi mathvariant="normal">e</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">+</mo><mn mathvariant="normal">1</mn></mfenced><mo mathvariant="normal">=</mo><mi mathvariant="normal">e</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>+</mo><mi>μ</mi><mo>*</mo><mfrac><mrow><mi mathvariant="normal">Δ</mi><mfenced><mi mathvariant="normal">n</mi></mfenced></mrow><mrow><mi mathvariant="normal">P</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced></mrow></mfrac><mo mathvariant="normal">*</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced><mo>,</mo></math><img id="ib0002" file="imgb0002.tif" wi="72" he="13" img-content="math" img-format="tif" inline="yes"/></maths>where n is the current time, µ=0.5, K is the current network echo delay, e(n) is the current filtering coefficient, e(n + 1) is the adjusted filtering coefficient, Δ(n) is the network output signal, x(n-K) is the terminal input signal at the time (n-K), and P(n-K)=X<sup>T</sup>(n-K)*X(n-K) where X<sup>T</sup>(n-K) is the transposed vector of X(n-K).</p>
<p id="p0018" num="0018">Calculating the network echo delay according to the RTCP packet includes: subtracting, from a Network Time Protocol (NTP) time at which the RTCP packet arrives, a time, carried by the RTCP packet, at which a transmitted packet is most recently received, and further subtracting a time interval between the time at which a transmitted packet is most recently received and the time at which the RTCP packet is transmitted; and dividing the resulting difference derived through the two subtractions by a sampling time interval to obtain the network echo delay.<!-- EPO <DP n="7"> --></p>
<p id="p0019" num="0019">The electricity echo signal is calculated as r(n) = <maths id="math0003" num=""><math display="inline"><mstyle displaystyle="true"><munderover><mo mathvariant="normal">∑</mo><mrow><mi mathvariant="normal">m</mi><mo mathvariant="normal">=</mo><mn mathvariant="normal">0</mn></mrow><mrow><mi mathvariant="normal">M</mi><mo mathvariant="normal">-</mo><mn mathvariant="normal">1</mn></mrow></munderover></mstyle><mi mathvariant="normal">e</mi><mo>⁢</mo><msub><mfenced><mi mathvariant="normal">n</mi></mfenced><mi mathvariant="normal">m</mi></msub><mo mathvariant="normal">⋅</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">m</mi></mfenced><mo>,</mo></math><img id="ib0003" file="imgb0003.tif" wi="45" he="14" img-content="math" img-format="tif" inline="yes"/></maths>where n is the current time, M is the total order of adaptive filtering, K is the current network echo delay updated in step B, r(n) is the current electricity echo signal, e(n)<sub>m</sub> is the current<!-- EPO <DP n="8"> --> filtering coefficient of the <i>m</i><sup>th</sup> order, and x(n-K-m) is the terminal input signal at the time (n-K-m).</p>
<p id="p0020" num="0020">The method further includes determining whether the current time is a dual-ended voice time; and if the current time is a dual-ended voice time, maintaining the current filtering coefficient unchanged, and if the current time is not a dual-ended voice time, adjusting the current filtering coefficient according to the adaptive filtering algorithm.</p>
<p id="p0021" num="0021">Determining whether the current time is a dual-ended voice time includes determining whether the condition |Y<sub>out</sub>(n)|-C*|max(|X(n)|,|X(n-1)|,...,|X(n-L+1)|) &gt; 0 is met; and if the condition is met, determining the current time is a dual-ended voice time, and if the condition is not met, determining the current time is not a dual-ended voice time; where n is the current time, C and L are constants determined experientially, Y<sub>out</sub> (n) is the network output signal in step C, x(n) is the terminal input signal at the current time, x(n-1) is the terminal input signal at the time (n-1), and x(n-L +1) is the terminal input signal at the time (n-L+1).</p>
<p id="p0022" num="0022">Compared with the related art, the electricity echo cancellation device according to the present invention is deployed at the terminal, thus ensuring the electricity echo cancellation effect at the final user end on the whole, and improving the effectiveness of electricity echo cancellation through adjusting a terminal input signal outputted to an adaptive filtering module according to a network echo delay outputted from a network echo delay computation module. The electricity echo cancellation method according to the present invention includes calculating a network echo delay according to relevant information of an RTCP packet transmitted from the network and dynamically adjusting a terminal input signal to be adaptively filtered according to the network echo delay, thus improving the effectiveness of echo cancellation. Meanwhile, method of the present invention can be<!-- EPO <DP n="9"> --> realized with software, thus avoiding influences of hardware memory restricts on the echo cancellation effect. In addition, the present invention only needs a single-point deployment, and thus the cost is saved.</p>
<heading id="h0004">BRIEF DESCRIPTION OF THE DRAWING(S)</heading>
<p id="p0023" num="0023"><figref idref="f0001">Fig.1</figref> is a conceptual graph of echo generation;</p>
<p id="p0024" num="0024"><figref idref="f0002">Fig.2</figref> is a block diagram of the configuration of an electricity echo cancellation device according to an embodiment of the present invention; and</p>
<p id="p0025" num="0025"><figref idref="f0003">Fig.3</figref> is a flow chart of an electricity echo cancellation method according to an embodiment of the present invention.</p>
<heading id="h0005">DETAILED DESCRIPTION</heading>
<p id="p0026" num="0026">The present invention is further explained below by reference to the accompanying drawings and detailed embodiments.</p>
<p id="p0027" num="0027"><figref idref="f0002">Fig.2</figref> is a block diagram of the configuration of an electricity echo cancellation device according to an embodiment of the present invention, which is deployed at the terminal. As shown in <figref idref="f0002">Fig.2</figref>, the device mainly includes: an input buffer memory module 21, a network echo delay computation module 22 and an adaptive filtering module 23.</p>
<p id="p0028" num="0028">The input buffer memory module 21 is configured to: receive and save a terminal input signal X(n); determine a terminal input signal to be adaptively filtered according to a network echo delay K most recently outputted from the network echo delay computation module 22; and output the terminal input signal to be adaptively filtered to the adaptive filtering module 23.</p>
<p id="p0029" num="0029">Herein, n represents the current time.</p>
<p id="p0030" num="0030">Particularly, X(n-K) is used as a terminal input signal corresponding to the current network input signal Y(n), and the terminal input signal to be adaptively filtered is outputted to the adaptive filtering module 23 according to an adaptive filtering algorithm's requirements. For example, if the Normalized Least Mean Square (NLMS) algorithm is employed as the adaptive filtering algorithm, X(n-K), X(n-K-1), X(n-K-2) ,..., X(n-K-M+1) are outputted to the adaptive filtering module 23 as terminal input signals to be adaptively filtered, where M is the filtering order of the adaptive filtering module 23.</p>
<p id="p0031" num="0031">The network echo delay computation module 22 is configured to: receive a Real Time Control Protocol (RTCP) packet from the network; calculate a network echo delay K according to a Network Time Protocol (NTP) time A at which the RTCP packet arrives, the<!-- EPO <DP n="10"> --> time (LSR), carried by the RTCP packet, at which a transmitted packet (SR) is most recently received, a time interval (DLSR) between the time at which SR is most recently received and the transmitting time of the RTCP packet, and a sampling time interval t; and output the network echo delay K to the input buffer memory module 21.</p>
<p id="p0032" num="0032">The adaptive filtering module 23 is configured to: calculate an electricity echo signal r(n) according to the terminal input signal to be adaptively filtered, outputted from the input buffer memory module 21 and the current filtering coefficient e(n) maintained in the adaptive filtering module 23; subtract the electricity echo signal r(n) from the network input signal Y(n) from the network and output a network output signal Y<sub>out</sub>(n) derived through the subtraction to the outside; and when the current time is not a dual-ended voice time, adjust the current filtering coefficient e(n) according to the network output signal Y<sub>out</sub> (n) and the terminal input signal X(n).</p>
<p id="p0033" num="0033">Further, as shown in <figref idref="f0002">Fig.2</figref>, the adaptive filtering module 23 includes: an adaptive filter 231, a subtracter 232 and a dual-ended voice detection module 233.</p>
<p id="p0034" num="0034">The adaptive filter 231 is configured to: calculate the electricity echo signal r(n) according to the terminal input signal to be adaptively filtered, outputted from the input buffer memory module 21 and the current filtering coefficient e(n) maintained in the adaptive filter 231; output the electricity echo signal r(n) to the subtracter 232; adjust the current filtering coefficient e(n) according to the network output signal Y<sub>out</sub>(n) outputted from the subtracter 232 and the terminal input signal X(n); and interrupt the adjustment of the current filtering coefficient e(n) after receiving a signal for interrupting coefficient adjustment transmitted from the dual-ended voice detection module 233.</p>
<p id="p0035" num="0035">The subtracter 232 is configured to: subtract the electricity echo signal r(n) outputted from the adaptive filter 231 from the network input signal Y(n) from the network; and output the network output signal Y<sub>out</sub>(n) derived through the subtraction to the outside and the adaptive filter 231.</p>
<p id="p0036" num="0036">The dual-ended voice detection module 233 is configured to: detect whether the current time is a dual-ended voice time according to the network input signal Y(n) from the network and the terminal input signal from the input buffer memory module 21; and if the<!-- EPO <DP n="11"> --> current time is a dual-ended voice time, output a signal for interrupting coefficient adjustment to the adaptive filter 231.</p>
<p id="p0037" num="0037">The terminal input signal outputted from the input buffer memory module 21 to the dual-ended voice detection module 233 is determined according to the employed dual-ended voice detection algorithm. For example, if the Geigel dual-ended voice detection algorithm is employed, X(n), X(n-1),..., X(n-L+1) are needed to be outputted to the dual-ended voice detection module 233, where L is a constant and might be determined experientially.</p>
<p id="p0038" num="0038"><figref idref="f0003">Fig.3</figref> is a flow chart of an electricity echo cancellation method according to an embodiment of the present invention. As shown in <figref idref="f0003">Fig.3</figref>, the method includes the following steps.</p>
<p id="p0039" num="0039">Step 301: An RTCP packet is received.</p>
<p id="p0040" num="0040">Step 302: A network transmission delay De is calculated as De = A-LSR-DLSR according to an NTP time A at which the RTCP packet arrives and LSR and DLSR carried by the RTCP packet.</p>
<p id="p0041" num="0041">Step 303: A network echo delay k is calculated as k=De/t, and the current network echo delay K is updated with k, i.e. K = k , where t is a sampling time interval.</p>
<p id="p0042" num="0042">Step 304: An electricity echo signal r(n) is calculated according to a filtering coefficient e(n) at the current time and terminal input signals at the time (n-K) and the time a certain period before the time (n-K).</p>
<p id="p0043" num="0043">Particularly, <maths id="math0004" num=""><math display="inline"><mi mathvariant="normal">r</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>=</mo><mstyle displaystyle="true"><munderover><mo mathvariant="normal">∑</mo><mrow><mi mathvariant="normal">m</mi><mo mathvariant="normal">=</mo><mn mathvariant="normal">0</mn></mrow><mrow><mi mathvariant="normal">M</mi><mo mathvariant="normal">-</mo><mn mathvariant="normal">1</mn></mrow></munderover></mstyle><mi mathvariant="normal">e</mi><mo>⁢</mo><msub><mfenced><mi mathvariant="normal">n</mi></mfenced><mi mathvariant="normal">m</mi></msub><mo mathvariant="normal">⋅</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">m</mi></mfenced></math><img id="ib0004" file="imgb0004.tif" wi="52" he="15" img-content="math" img-format="tif" inline="yes"/></maths> if the NLMS algorithm is employed, where n is the current time and n ≥ K + m, e(n)<sub>m</sub> is the m<sup>th</sup> order coefficient of the vector e(n)<sub>m</sub>, M is the total order of adaptive filtering, and X(n-K-m) is the terminal input signal at the time (n-K-m).</p>
<p id="p0044" num="0044">Step 305: The difference between a network input signal Y(n) and the electricity echo signal r(n) is calculated to obtain a network output signal Y<sub>out</sub>(n).</p>
<p id="p0045" num="0045">Step 306: It is determined whether the current time is a dual-ended voice time. If the current time is a dual-ended voice time, step 307 is performed; and if the current time is not a dual-ended voice time, step 308 is performed.<!-- EPO <DP n="12"> --></p>
<p id="p0046" num="0046">According to the Geigel dual-ended voice detection algorithm, if the condition |Y<sub>out</sub> (n)|- C*max(|X(n)|,|X(n-1)|,...,|X(n-L+1)|)&gt; 0 is met, the current time is determined a dual-ended voice time; and if the condition is not met, the current time is not determined a dual-ended voice time. C is a constant and usually C= 0.5, and L is a constant and may be determined experimentally.</p>
<p id="p0047" num="0047">Step 307: The current filtering coefficient e(n) is maintained unchanged, i.e. e(n+1) = e(n), and the process ends.</p>
<p id="p0048" num="0048">Step 308: The current filtering coefficient e(n) is adjusted as an adjusted filtering coefficient e(n+1) according to an adaptive filtering algorithm.</p>
<p id="p0049" num="0049">Particularly, if the NLMS algorithm is employed, then <maths id="math0005" num=""><math display="inline"><mi mathvariant="normal">e</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">+</mo><mn mathvariant="normal">1</mn></mfenced><mo mathvariant="normal">=</mo><mi mathvariant="normal">e</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>+</mo><mi>μ</mi><mo>*</mo><mfrac><mrow><mi mathvariant="normal">Δ</mi><mfenced><mi mathvariant="normal">n</mi></mfenced></mrow><mrow><mi mathvariant="normal">P</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced></mrow></mfrac><mo mathvariant="normal">*</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced><mo>,</mo></math><img id="ib0005" file="imgb0005.tif" wi="72" he="14" img-content="math" img-format="tif" inline="yes"/></maths> where, µ is a step factor, satisfying 0 &lt; µ &lt; 2 and usually µ = 0.5; Δ(n) is an error signal and Δ(n)=Y(n)-r(n)=Y<sub>out</sub>(n); and P(n-K) is a short-time average power of X(n-K) and P(n-K)=X<sup>T</sup>(n-K)*X(n-K) where X<sup>T</sup>(n-K) is the transposed vector of X(n-K).</p>
<p id="p0050" num="0050">Alternatively, r(n) and e(n+1) can also be calculated through the Least Mean Square (LMS) algorithm, or the Recursive Least Square (RLS) algorithm, and so on.<br/>
The above steps 301∼303 could be performed before or after the steps 304∼308. The steps 301∼303 would be performed if only an RTCP packet is received, and the steps 304∼308 would be performed if only a terminal input signal is received.</p>
</description><!-- EPO <DP n="13"> -->
<claims id="claims01" lang="en">
<claim id="c-en-01-0001" num="0001">
<claim-text>An electricity echo cancellation device, comprising a network echo delay computation module (22), an input buffer memory module (21) and an adaptive filtering module (23), wherein:
<claim-text>the network echo delay computation module (22) is configured to calculate a network echo delay according to a Real Time Control Protocol, RTCP, packet transmitted from the network;</claim-text>
<claim-text>the input buffer memory module (21) is configured to determine a terminal input signal to be adaptively filtered according to the network echo delay most recently outputted from the network echo delay computation module (22), and output the terminal input signal to the adaptive filtering module (23); and</claim-text>
<claim-text>the adaptive filtering module (23) is configured to calculate an electricity echo signal and a network output signal,</claim-text>
<claim-text><b>characterized in that</b> the adaptive filtering module (23) comprises:
<claim-text>an adaptive filter (231), configured to calculate the electricity echo signal according to the terminal input signal outputted from the input buffer memory module (21) and a filtering coefficient maintained in the adaptive filter (231), output the electricity echo signal to a subtracter (232), adjust the current filtering coefficient according to a network output signal outputted from the subtracter (232); and</claim-text>
<claim-text>the subtracter (232) is configured to subtract the electricity echo signal outputted from the adaptive filter (231) from a network input signal from the network, and output the network output signal derived through the subtraction to the terminal and the adaptive filter (231),</claim-text>
<claim-text>wherein the current filtering coefficient is adjusted as <maths id="math0006" num=""><math display="block"><mi mathvariant="normal">e</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">+</mo><mn mathvariant="normal">1</mn></mfenced><mo mathvariant="normal">=</mo><mi mathvariant="normal">e</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>+</mo><mi>μ</mi><mo>*</mo><mfrac><mrow><mi mathvariant="normal">Δ</mi><mfenced><mi mathvariant="normal">n</mi></mfenced></mrow><mrow><mi mathvariant="normal">P</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced></mrow></mfrac><mo mathvariant="normal">*</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced><mo>,</mo></math><img id="ib0006" file="imgb0006.tif" wi="76" he="14" img-content="math" img-format="tif"/></maths><!-- EPO <DP n="14"> --> where n is the current time, µ=0.5, K is the current network echo delay, e(n) is the current filtering coefficient, e(n+1) is the adjusted filtering coefficient, Δ(n) is the network output signal, x(n-K) is the terminal input signal at the time (n-K), and P(n-K)=X<sup>T</sup>(n-K)*X(n-K) where X<sup>T</sup>(n-K) is the transposed vector of X(n - K).</claim-text></claim-text></claim-text></claim>
<claim id="c-en-01-0002" num="0002">
<claim-text>The device according to claim 1, wherein the adaptive filtering module (23) further comprises:
<claim-text>a dual-ended voice detection module (233), configured to detect whether the current time is a dual-ended voice time according to the network input signal from the network and the terminal input signal from the input buffer memory module (21), and if the current time is a dual-ended voice time, output the signal for interrupting coefficient adjustment to the adaptive filter (231), and</claim-text>
<claim-text>wherein the adaptive filter (231) is further configured to interrupt the adjustment of the current filtering coefficient after receiving a signal for interrupting coefficient adjustment from the dual-ended voice detection module (233).</claim-text></claim-text></claim>
<claim id="c-en-01-0003" num="0003">
<claim-text>The device according to claim 2, wherein the terminal input signal outputted from the input buffer memory module (21) to the dual-ended voice detection module (233) is determined according to an employed dual-ended voice detection algorithm.</claim-text></claim>
<claim id="c-en-01-0004" num="0004">
<claim-text>A terminal, comprising the electricity echo cancellation device according to any one of the claims 1 to 3.</claim-text></claim>
<claim id="c-en-01-0005" num="0005">
<claim-text>An electricity echo cancellation method, comprising:
<claim-text>calculating a network echo delay according to a Real Time Control Protocol, RTCP, packet when the RTCP packet arrives;</claim-text>
<claim-text>updating the current network echo delay with the network echo delay;</claim-text>
<claim-text>determining a terminal input signal to be adaptively filtered according to the current network echo delay and an adaptive filtering algorithm;<!-- EPO <DP n="15"> --></claim-text>
<claim-text>calculating an electricity echo signal by performing adaptive filtering on the terminal input signal; and</claim-text>
<claim-text>calculating the difference between a network input signal and the electricity echo signal to obtain a network output signal,<br/>
<b>characterized in that</b> the adaptive filtering algorithm comprises:
<claim-text>adjusting the current filtering coefficient as <maths id="math0007" num=""><math display="block"><mi mathvariant="normal">e</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">+</mo><mn mathvariant="normal">1</mn></mfenced><mo mathvariant="normal">=</mo><mi mathvariant="normal">e</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>+</mo><mi>μ</mi><mo>*</mo><mfrac><mrow><mi mathvariant="normal">Δ</mi><mfenced><mi mathvariant="normal">n</mi></mfenced></mrow><mrow><mi mathvariant="normal">P</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced></mrow></mfrac><mo mathvariant="normal">*</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced><mo>,</mo></math><img id="ib0007" file="imgb0007.tif" wi="84" he="14" img-content="math" img-format="tif"/></maths></claim-text>
<claim-text>where n is the current time, µ=0.5, K is the current network echo delay, e(n) is the current filtering coefficient, e(n+1) is the adjusted filtering coefficient, Δ(n) is the network output signal, x(n-K) is the terminal input signal at the time (n-K), and P(n-K)=X<sup>T</sup>(n-K)*X(n-K) where X<sup>T</sup>(n-K) is the transposed vector of X(n-K).</claim-text></claim-text></claim-text></claim>
<claim id="c-en-01-0006" num="0006">
<claim-text>The method according to claim 5, wherein calculating the network echo delay according to the RTCP packet comprises:
<claim-text>subtracting, from a Network Time Protocol, NTP, time at which the RTCP packet arrives, a time, carried by the RTCP packet, at which a transmitted packet is most recently received, and further subtracting a time interval between the time at which a transmitted packet is most recently received and the time at which the RTCP packet is transmitted; and</claim-text>
<claim-text>dividing the resulting difference derived through the two subtractions by a sampling time interval to obtain the network echo delay.</claim-text></claim-text></claim>
<claim id="c-en-01-0007" num="0007">
<claim-text>The method according to claim 5, wherein the electricity echo signal is calculated as <maths id="math0008" num=""><math display="block"><mi mathvariant="normal">r</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>=</mo><mstyle displaystyle="true"><munderover><mo mathvariant="normal">∑</mo><mrow><mi mathvariant="normal">m</mi><mo mathvariant="normal">=</mo><mn mathvariant="normal">0</mn></mrow><mrow><mi mathvariant="normal">M</mi><mo mathvariant="normal">-</mo><mn mathvariant="normal">1</mn></mrow></munderover></mstyle><mi mathvariant="normal">e</mi><mo>⁢</mo><msub><mfenced><mi mathvariant="normal">n</mi></mfenced><mi mathvariant="normal">m</mi></msub><mo mathvariant="normal">⋅</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">m</mi></mfenced><mo>,</mo></math><img id="ib0008" file="imgb0008.tif" wi="67" he="14" img-content="math" img-format="tif"/></maths><br/>
where n is the current time, M is the total order of adaptive filtering, K is the updated current network echo delay, r(n) is the current electricity echo signal, e(n)<sub>m</sub> is the current filtering coefficient of the <i>m</i><sup>th</sup> order, and x(n-K-m) is the terminal input signal at the time (n-K-m).</claim-text></claim>
<claim id="c-en-01-0008" num="0008">
<claim-text>The method according to claim 5, wherein the method further comprises:<!-- EPO <DP n="16"> -->
<claim-text>determining whether the current time is a dual-ended voice time; and<br/>
if the current time is a dual-ended voice time, maintaining the current filtering coefficient unchanged, and<br/>
if the current time is not a dual-ended voice time, adjusting the current filtering coefficient according to the adaptive filtering algorithm.</claim-text></claim-text></claim>
<claim id="c-en-01-0009" num="0009">
<claim-text>The method according to claim 8, wherein determining whether the current time is a dual-ended voice time comprises:
<claim-text>determining whether the condition |Y<sub>out</sub>(n)|-C*max(|X(n)|,|X(n-1)|....,|X(n-L+1)|)&gt;0 is met; and<br/>
if the condition is met, determining the current time is a dual-ended voice time, and<br/>
if the condition is not met, determining the current time is not a dual-ended voice time;</claim-text>
<claim-text>where n is the current time, C and L are constants determined experientially, Y<sub>out</sub>(n) is the network output signal, x(n) is the terminal input signal at the current time, x(n-1) is the terminal input signal at the time (n-1), and x(n-L+1) is the terminal input signal at the time (n-L+1).</claim-text></claim-text></claim>
</claims><!-- EPO <DP n="17"> -->
<claims id="claims02" lang="de">
<claim id="c-de-01-0001" num="0001">
<claim-text>Elektrizitätsecho-Löscheinrichtung, umfassend ein Netzechoverzögerungs-Berechnungsmodul (22), ein Eingangspuffer-Speichermodul (21) und ein adaptives Filterungsmodul (23), wobei<br/>
das Netzechoverzögerungs-Berechnungsmodul (22) dafür ausgelegt ist, eine Netzechoverzögerung gemäß einem von dem Netz gesendeten Paket des Real Time Control Protocol RTCP zu berechnen;<br/>
das Eingangspuffer-Speichermodul (21) dafür ausgelegt ist, ein adaptiv zu filterndes Endgeräteeingangssignal gemäß der zuletzt von dem Netzechoverzögerungs-Berechnungsmodul (22) ausgegebenen Netzechoverzögerung zu bestimmen und das Endgeräteeingangssignal an das adaptive Filterungsmodul (23) auszugeben; und<br/>
das adaptive Filterungsmodul (23) dafür ausgelegt ist, ein Elektrizitätsechosignal und ein Netzausgangssignal zu berechnen,<br/>
<b>dadurch gekennzeichnet, dass</b> das adaptive Filterungsmodul (23) Folgendes umfasst:
<claim-text>ein adaptives Filter (231), das dafür ausgelegt ist, das Elektrizitätsechosignal gemäß dem von dem Eingangspuffer-Speichermodul (21) ausgegebenen Endgeräteeingangssignal und einen in dem adaptiven Filter (231) geführten Filterungskoeffizienten zu berechnen, das Elektrizitätsechosignal an einen Subtrahierer (232) auszugeben, den aktuellen Filterungskoeffizienten gemäß einem von dem Subtrahierer (232) ausgegebenen Netzausgangssignal zu justieren; und</claim-text>
<claim-text>der Subtrahierer (232) dafür ausgelegt ist, das von dem adaptiven Filter (231) ausgegebene Elektrizitätsechosignal von einem Netzeingangssignal von dem Netz zu subtrahieren und das durch die Subtraktion abgeleitete Netzausgangssignal an das Endgerät und das adaptive Filter (231) auszugeben,</claim-text>
<claim-text>wobei der aktuelle Filterungskoeffizient folgendermaßen justiert wird: <maths id="math0009" num=""><math display="block"><mi mathvariant="normal">e</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">+</mo><mn mathvariant="normal">1</mn></mfenced><mo mathvariant="normal">=</mo><mi mathvariant="normal">e</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>+</mo><mi>μ</mi><mo>*</mo><mfrac><mrow><mi mathvariant="normal">Δ</mi><mfenced><mi mathvariant="normal">n</mi></mfenced></mrow><mrow><mi mathvariant="normal">P</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced></mrow></mfrac><mo mathvariant="normal">*</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced><mo>,</mo></math><img id="ib0009" file="imgb0009.tif" wi="78" he="17" img-content="math" img-format="tif"/></maths> wobei n die aktuelle Zeit, µ=0,5, K die aktuelle Netzechoverzögerung, e(n) der aktuelle Filterungskoeffizient, e(n+1) der justierte Filterungskoeffizient, Δ(n) das Netzausgangssignal, x(n-K) das Endgeräteeingangssignal zur Zeit (n-K) und P(n-K)=X<sup>T</sup>(n-K)*X(n-K) wobei X<sup>T</sup>(n-K) der transponierte Vektor von X(n-K) ist.</claim-text><!-- EPO <DP n="18"> --></claim-text></claim>
<claim id="c-de-01-0002" num="0002">
<claim-text>Einrichtung nach Anspruch 1, wobei das adaptive Filterungsmodul (23) ferner Folgendes umfasst:
<claim-text>ein Dual-Ended-Sprachdetektionsmodul (233), das dafür ausgelegt ist, gemäß dem Netzeingangssignal von dem Netz und dem Endgeräteeingangssignal von dem Eingangspuffer-Speichermodul (21) zu detektieren, ob die aktuelle Zeit eine Dual-Ended-Sprachzeit ist, und das Signal zur Unterbrechung der Koeffizientenjustierung an das adaptive Filter (231) auszugeben, wenn die aktuelle Zeit eine Dual-Ended-Sprachzeit ist, und</claim-text>
wobei das adaptive Filter (231) ferner dafür ausgelegt ist, die Justierung des aktuellen Filterungskoeffizienten nach dem Empfang eines Signals zur Unterbrechung der Koeffizientenjustierung von dem Dual-Ended-Sprachdetektionsmodul (233) zu unterbrechen.</claim-text></claim>
<claim id="c-de-01-0003" num="0003">
<claim-text>Einrichtung nach Anspruch 2, wobei das von dem Eingangspuffer-Speichermodul (21) an das Dual-Ended-Sprachdetektionsmodul (233) ausgegebene Endgeräteeingangssignal gemäß einem verwendeten Dual-Ended-Sprachdetektionsalgorithmus bestimmt wird.</claim-text></claim>
<claim id="c-de-01-0004" num="0004">
<claim-text>Endgerät, das die Elektrizitätsecho-Löscheinrichtung nach einem der Ansprüche 1 bis 3 umfasst.</claim-text></claim>
<claim id="c-de-01-0005" num="0005">
<claim-text>Elektrizitätsecho-Löschverfahren mit den folgenden Schritten:
<claim-text>Berechnen einer Netzechoverzögerung gemäß einem Paket des Real Time Control Protocol RTCP, wenn das RTCP- Paket ankommt;</claim-text>
<claim-text>Aktualisieren der aktuellen Netzechoverzögerung mit der Netzechoverzögerung;</claim-text>
<claim-text>Bestimmen eines adaptiv zu filternden Endgeräteeingangssignals gemäß der aktuellen Netzechoverzögerung und einem Algorithmus der adaptiven Filterung;</claim-text>
<claim-text>Berechnen eines Elektrizitätsechosignals durch Ausführen von adaptiver Filterung an dem Endgeräteeingangssignal; und</claim-text>
<claim-text>Berechnen der Differenz zwischen einem Netzeingangssignal und dem Elektrizitätsechosignal, um ein Netzausgangssignal zu erhalten,</claim-text>
<b>dadurch gekennzeichnet, dass</b> der Algorithmus der adaptiven Filterung Folgendes umfasst:
<claim-text>Justieren des aktuellen Filterungskoeffizienten als<!-- EPO <DP n="19"> --> <maths id="math0010" num=""><math display="block"><mi mathvariant="normal">e</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">+</mo><mn mathvariant="normal">1</mn></mfenced><mo mathvariant="normal">=</mo><mi mathvariant="normal">e</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>+</mo><mi>μ</mi><mo>*</mo><mfrac><mrow><mi mathvariant="normal">Δ</mi><mfenced><mi mathvariant="normal">n</mi></mfenced></mrow><mrow><mi mathvariant="normal">P</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced></mrow></mfrac><mo mathvariant="normal">*</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced><mo>,</mo></math><img id="ib0010" file="imgb0010.tif" wi="79" he="19" img-content="math" img-format="tif"/></maths><br/>
wobei n die aktuelle Zeit, µ=0,5, K die aktuelle Netzechoverzögerung, e(n) der aktuelle Filterungskoeffizient, e(n+1) der justierte Filterungskoeffizient, Δ(n) das Netzausgangssignal, x(n-K) das Endgeräteeingangssignal zur Zeit (n-K) und P(n-K)=XT(n-K)*X(n-K), wobei X<sup>T</sup>(n-K) der transponierte Vektor von X(n-K) ist.</claim-text></claim-text></claim>
<claim id="c-de-01-0006" num="0006">
<claim-text>Verfahren nach Anspruch 5, wobei das Berechnen der Netzechoverzögerung gemäß dem RTCP-Paket Folgendes umfasst:
<claim-text>Subtrahieren einer durch das RTCP-Paket geführten Zeit, zu der ein gesendetes Paket zuletzt empfangen wird, von einer Zeit des Network Time Protocol NTP, zu der das RTCP-Paket ankommt, und ferner Subtrahieren eines Zeitintervalls zwischen der Zeit, zu der das gesendete Paket zuletzt empfangen wird, und der Zeit, zu der das RTCP-Paket gesendet wird; und</claim-text>
<claim-text>Dividieren der durch die beiden Subtraktionen abgeleiteten resultierenden Differenz durch ein Abtastzeitintervall, um die Netzechoverzögerung zu erhalten.</claim-text></claim-text></claim>
<claim id="c-de-01-0007" num="0007">
<claim-text>Verfahren nach Anspruch 5, wobei das Elektrizitätsechosignal als <maths id="math0011" num=""><math display="block"><mi mathvariant="normal">r</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>=</mo><mstyle displaystyle="true"><munderover><mo mathvariant="normal">∑</mo><mrow><mi mathvariant="normal">m</mi><mo mathvariant="normal">=</mo><mn mathvariant="normal">0</mn></mrow><mrow><mi mathvariant="normal">M</mi><mo mathvariant="normal">-</mo><mn mathvariant="normal">1</mn></mrow></munderover></mstyle><mi mathvariant="normal">e</mi><mo>⁢</mo><msub><mfenced><mi mathvariant="normal">n</mi></mfenced><mi mathvariant="normal">m</mi></msub><mo mathvariant="normal">⋅</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">m</mi></mfenced></math><img id="ib0011" file="imgb0011.tif" wi="61" he="19" img-content="math" img-format="tif"/></maths><br/>
berechnet wird,<br/>
wobei n die aktuelle Zeit, M die Gesamtordnung der adaptiven Filterung, K die aktualisierte aktuelle Netzechoverzögerung, r(n) das aktuelle Elektrizitätsechosignal, e(n)<sub>m</sub> der aktuelle Filterungskoeffizient der <i>m</i><sup>ten</sup> Ordnung und x(n-K-m) das Endgeräteeingangssignal zur Zeit (n-K-m) ist.</claim-text></claim>
<claim id="c-de-01-0008" num="0008">
<claim-text>Verfahren nach Anspruch 5, wobei das Verfahren ferner die folgenden Schritte umfasst:
<claim-text>Bestimmen, ob die aktuelle Zeit eine Dual-Ended-Sprachzeit ist; und<br/>
wenn die aktuelle Zeit eine Dual-Ended-Sprachzeit ist, Unveränderthalten des aktuellen Filterungskoeffizienten und<br/>
wenn die aktuelle Zeit keine Dual-Ended-Sprachzeit ist, Justieren des aktuellen Filterungskoeffizienten gemäß dem Algorithmus der adaptiven Filterung.</claim-text><!-- EPO <DP n="20"> --></claim-text></claim>
<claim id="c-de-01-0009" num="0009">
<claim-text>Verfahren nach Anspruch 8, wobei das Bestimmen, ob die aktuelle Zeit eine Dual-Ended-Sprachzeit ist, Folgendes umfasst:
<claim-text>Bestimmen, ob die Bedingung |Y<sub>out</sub>(n)|-C*max(|X(n)|,|X(n-1)|,...,|X(n-L+1|)&gt;0 erfüllt ist; und<br/>
wenn die Bedingung erfüllt ist, Bestimmen, dass die aktuelle Zeit eine Dual-Ended-Sprachzeit ist, und<br/>
wenn die Bedingung nicht erfüllt ist, Bestimmen, dass die aktuelle Zeit keine Dual-Ended-Sprachzeit ist;</claim-text>
wobei n die aktuelle Zeit ist, C und L empirisch bestimmte Konstanten sind, Y<sub>out</sub>(n) das Netzausgangssignal ist, x(n) das Endgeräteeingangssignal zur aktuellen Zeit ist, x(n-1) das Endgeräteeingangssignal zur Zeit (n-1) ist und x(n-L+1) das Endgeräteeingangssignal zur Zeit (n-L+1) ist.</claim-text></claim>
</claims><!-- EPO <DP n="21"> -->
<claims id="claims03" lang="fr">
<claim id="c-fr-01-0001" num="0001">
<claim-text>Dispositif de suppression d'écho d'électricité, comprenant un module de calcul de retard d'écho de réseau (22), un module de mémoire tampon d'entrée (21) et un module de filtrage adaptatif (23):
<claim-text>le module de calcul de retard d'écho de réseau (22) étant configuré pour calculer un retard d'écho de réseau en fonction d'un paquet de Protocole de Contrôle en Temps Réel, RTCP, transmis par le réseau ;</claim-text>
<claim-text>le module de mémoire tampon d'entrée (21) étant configuré pour déterminer un signal d'entrée de terminal à filtrer de manière adaptative en fonction du retard d'écho de réseau produit en sortie le plus récemment par le module de calcul de retard d'écho de réseau (22), et produire en sortie le signal d'entrée de terminal vers le module de filtrage adaptatif (23) ; et</claim-text>
<claim-text>le module de filtrage adaptatif (23) étant configuré pour calculer un signal d'écho d'électricité et un signal de sortie de réseau,</claim-text>
<b>caractérisé en ce que</b> le module de filtrage adaptatif (23) comprend :
<claim-text>un filtre adaptatif (231), configuré pour calculer le signal d'écho d'électricité en fonction du signal d'entrée de terminal produit en sortie par le module de mémoire tampon d'entrée (21) et d'un coefficient de filtrage maintenu dans le filtre adaptatif (231), produire en sortie le signal d'écho d'électricité vers un soustracteur (232), régler le coefficient de filtrage courant en fonction d'un signal de sortie de réseau produit en sortie par le soustracteur (232) ; et</claim-text>
<claim-text>le soustracteur (232) est configuré pour soustraire le signal d'écho d'électricité produit en sortie par le filtre adaptatif (231) d'un signal d'entrée de réseau provenant du réseau, et produire en sortie le signal de sortie de réseau dérivé par la soustraction vers le terminal et le filtre adaptatif (231),</claim-text>
<claim-text>le coefficient de filtrage courant étant réglé en <maths id="math0012" num=""><math display="block"><mi mathvariant="normal">e</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">+</mo><mn mathvariant="normal">1</mn></mfenced><mo mathvariant="normal">=</mo><mi mathvariant="normal">e</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>+</mo><mi mathvariant="normal">μ</mi><mo>*</mo><mfrac><mrow><mi mathvariant="normal">Δ</mi><mfenced><mi mathvariant="normal">n</mi></mfenced></mrow><mrow><mi mathvariant="normal">P</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced></mrow></mfrac><mo mathvariant="normal">*</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced><mo>,</mo></math><img id="ib0012" file="imgb0012.tif" wi="72" he="13" img-content="math" img-format="tif"/></maths></claim-text>
<claim-text>où n est le temps courant, µ = 0,5, K est le retard d'écho de réseau courant, e(n) est le coefficient de filtrage courant, e(n+1) est le coefficient de filtrage réglé, Δ(n) est le signal de sortie de réseau, X(n-K) est le signal d'entrée de terminal au temps (n-K), et P(n-K) = X<sup>T</sup>(n-K)*X(n-K) où X<sup>T</sup>(n-K) est le vecteur transposé de X(n-K).</claim-text></claim-text></claim>
<claim id="c-fr-01-0002" num="0002">
<claim-text>Dispositif selon la revendication 1, dans lequel le module de filtrage adaptatif (23) comprend en outre :<!-- EPO <DP n="22"> -->
<claim-text>un module de détection de voix aux deux extrémités (233), configuré pour détecter si le temps courant est un temps de voix aux deux extrémités en fonction du signal d'entrée de réseau provenant du réseau et du signal d'entrée de terminal provenant du module de mémoire tampon d'entrée (21), et si le temps courant est un temps de voix aux deux extrémités, produire en sortie le signal d'interruption du réglage de coefficient vers le filtre adaptatif (231), et</claim-text>
<claim-text>dans lequel le filtre adaptatif (231) est configuré en outre pour interrompre le réglage du coefficient de filtrage courant après avoir reçu un signal d'interruption du réglage de coefficient depuis le module de détection de voix aux deux extrémités (233).</claim-text></claim-text></claim>
<claim id="c-fr-01-0003" num="0003">
<claim-text>Dispositif selon la revendication 2, dans lequel le signal d'entrée de terminal produit en sortie par le module de mémoire tampon d'entrée (21) vers le module de détection de voix aux deux extrémités (233) est déterminé en fonction d'un algorithme de détection de voix aux deux extrémités employé.</claim-text></claim>
<claim id="c-fr-01-0004" num="0004">
<claim-text>Terminal, comprenant le dispositif de suppression d'écho d'électricité selon l'une quelconque des revendications 1 à 3.</claim-text></claim>
<claim id="c-fr-01-0005" num="0005">
<claim-text>Procédé de suppression d'écho d'électricité, comprenant :
<claim-text>le calcul d'un retard d'écho de réseau en fonction d'un paquet de Protocole de Contrôle en Temps Réel, RTCP, quand le paquet RTCP arrive ;</claim-text>
<claim-text>l'actualisation du retard d'écho de réseau courant avec le retard d'écho de réseau ;</claim-text>
<claim-text>la détermination d'un signal d'entrée de terminal à filtrer de manière adaptative en fonction du retard d'écho de réseau courant et d'un algorithme de filtrage adaptatif ;</claim-text>
<claim-text>le calcul d'un signal d'écho d'électricité en exécutant un filtrage adaptatif sur le signal d'entrée de terminal ; et</claim-text>
<claim-text>le calcul de la différence entre un signal d'entrée de réseau et le signal d'écho d'électricité pour obtenir un signal de sortie de réseau,</claim-text>
<b>caractérisé en ce que</b> l'algorithme de filtrage adaptatif comprend :
<claim-text>le réglage du coefficient de filtrage courant en <maths id="math0013" num=""><math display="block"><mi mathvariant="normal">e</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">+</mo><mn mathvariant="normal">1</mn></mfenced><mo mathvariant="normal">=</mo><mi mathvariant="normal">e</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>+</mo><mi mathvariant="normal">μ</mi><mo>*</mo><mfenced open="[" close="]"><mfrac><mrow><mi mathvariant="normal">Δ</mi><mfenced><mi mathvariant="normal">n</mi></mfenced></mrow><mrow><mi mathvariant="normal">P</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced></mrow></mfrac></mfenced><mo mathvariant="normal">*</mo><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi></mfenced><mo>,</mo></math><img id="ib0013" file="imgb0013.tif" wi="82" he="14" img-content="math" img-format="tif"/></maths> où n est le temps courant, µ = 0,5, K est le retard d'écho de réseau courant, e(n) est le coefficient de filtrage courant, e(n+1) est le coefficient de filtrage réglé, Δ(n) est le signal de sortie de réseau, X(n-K) est le signal d'entrée de terminal au temps (n-K), et P(n-K) = X<sup>T</sup>(n-K)*X(n-K) où X<sup>T</sup>(n-K) est le vecteur transposé de X(n-K).</claim-text><!-- EPO <DP n="23"> --></claim-text></claim>
<claim id="c-fr-01-0006" num="0006">
<claim-text>Procédé selon la revendication 5, dans lequel le calcul du retard d'écho de réseau selon le paquet RTCP comprend :
<claim-text>la soustraction, d'un temps de Protocole de Temps de Réseau, NTP, auquel le paquet RTCP arrive, d'un temps, porté par le paquet RTCP, auquel un paquet transmis est reçu le plus récemment, et la soustraction supplémentaire d'un intervalle de temps entre le temps auquel un paquet transmis est reçu le plus récemment et le temps auquel le paquet RTCP est transmis ; et</claim-text>
<claim-text>la division de la différence résultante dérivée par les deux soustractions par un intervalle de temps d'échantillonnage afin d'obtenir le retard d'écho de réseau.</claim-text></claim-text></claim>
<claim id="c-fr-01-0007" num="0007">
<claim-text>Procédé selon la revendication 5, dans lequel le signal d'écho d'électricité est calculé selon <maths id="math0014" num=""><math display="block"><mi mathvariant="normal">r</mi><mfenced><mi mathvariant="normal">n</mi></mfenced><mo>=</mo><mstyle displaystyle="true"><munderover><mo mathvariant="normal">∑</mo><mrow><mi mathvariant="italic">m</mi><mo mathvariant="italic">=</mo><mn mathvariant="italic">0</mn></mrow><mrow><mi mathvariant="italic">M</mi><mo mathvariant="italic">-</mo><mn mathvariant="italic">1</mn></mrow></munderover></mstyle><mi mathvariant="normal">e</mi><mo>⁢</mo><msub><mfenced><mi mathvariant="normal">n</mi></mfenced><mi mathvariant="normal">m</mi></msub><mn>.</mn><mi mathvariant="normal">X</mi><mo>⁢</mo><mfenced separators=""><mi mathvariant="normal">n</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">K</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">m</mi></mfenced><mo>,</mo></math><img id="ib0014" file="imgb0014.tif" wi="61" he="15" img-content="math" img-format="tif"/></maths> où n est le temps courant, M est l'ordre total de filtrage adaptatif, K est le retard d'écho de réseau courant actualisé, r(n) est le signal d'écho d'électricité courant, e(n)<sub>m</sub> est le coefficient de filtrage courant du m<sup>ième</sup> ordre, et x(n-K-m) est le signal d'entrée de terminal au temps (n-K-m).</claim-text></claim>
<claim id="c-fr-01-0008" num="0008">
<claim-text>Procédé selon la revendication 5, dans lequel le procédé comprend en outre :
<claim-text>la détermination si le temps courant est un temps de voix aux deux extrémités; et</claim-text>
<claim-text>si le temps courant est un temps de voix aux deux extrémités, le maintien tel quel du coefficient de filtrage courant ; et</claim-text>
<claim-text>si le temps courant n'est pas un temps de voix aux deux extrémités, le réglage du coefficient de filtrage courant en fonction de l'algorithme de filtrage adaptatif.</claim-text></claim-text></claim>
<claim id="c-fr-01-0009" num="0009">
<claim-text>Procédé selon la revendication 8, dans lequel la détermination si le temps courant est un temps de voix aux deux extrémités comprend :
<claim-text>la détermination si la condition |Y<sub>sortie</sub>(n)|-C*max(|X(n)|, |X(n-1)|, ..., |X(n-L+1|) &gt; 0 est satisfaite ou non ; et</claim-text>
<claim-text>si la condition est satisfaite, la détermination que le temps courant est un temps de voix aux deux extrémités ; et</claim-text>
<claim-text>si la condition n'est pas satisfaite, la détermination que le temps courant n'est pas un temps de voix aux deux extrémités ;</claim-text>
<claim-text>où n est le temps courant, C et L sont des constantes déterminées par expérience, Y<sub>sortie</sub>(n) est le signal de sortie de réseau, x(n) est le signal d'entrée de terminal au<!-- EPO <DP n="24"> --> temps courant, x(n-1) est le signal d'entrée de terminal au temps (n-1), et x(n-L+1) est le signal d'entrée de terminal au temps (n-L+1).</claim-text></claim-text></claim>
</claims>
<drawings id="draw" lang="en">
<figure id="f0001" num="1"><img id="if0001" file="imgf0001.tif" wi="165" he="113" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="25"> -->
<figure id="f0002" num="2"><img id="if0002" file="imgf0002.tif" wi="165" he="127" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="26"> -->
<figure id="f0003" num="3"><img id="if0003" file="imgf0003.tif" wi="165" he="178" img-content="drawing" img-format="tif"/></figure>
</drawings>
<ep-reference-list id="ref-list">
<heading id="ref-h0001"><b>REFERENCES CITED IN THE DESCRIPTION</b></heading>
<p id="ref-p0001" num=""><i>This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.</i></p>
<heading id="ref-h0002"><b>Patent documents cited in the description</b></heading>
<p id="ref-p0002" num="">
<ul id="ref-ul0001" list-style="bullet">
<li><patcit id="ref-pcit0001" dnum="EP0986190A2"><document-id><country>EP</country><doc-number>0986190</doc-number><kind>A2</kind></document-id></patcit><crossref idref="pcit0001">[0007]</crossref></li>
<li><patcit id="ref-pcit0002" dnum="WO0145291A1"><document-id><country>WO</country><doc-number>0145291</doc-number><kind>A1</kind></document-id></patcit><crossref idref="pcit0002">[0007]</crossref></li>
<li><patcit id="ref-pcit0003" dnum="US6724736B1"><document-id><country>US</country><doc-number>6724736</doc-number><kind>B1</kind></document-id></patcit><crossref idref="pcit0003">[0007]</crossref></li>
<li><patcit id="ref-pcit0004" dnum="US6792106B1"><document-id><country>US</country><doc-number>6792106</doc-number><kind>B1</kind></document-id></patcit><crossref idref="pcit0004">[0007]</crossref></li>
</ul></p>
</ep-reference-list>
</ep-patent-document>
