CN109147812A - Echo cancel method and device - Google Patents

Echo cancel method and device Download PDF

Info

Publication number
CN109147812A
CN109147812A CN201811095842.4A CN201811095842A CN109147812A CN 109147812 A CN109147812 A CN 109147812A CN 201811095842 A CN201811095842 A CN 201811095842A CN 109147812 A CN109147812 A CN 109147812A
Authority
CN
China
Prior art keywords
audio data
frame number
depending
networked terminals
queue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811095842.4A
Other languages
Chinese (zh)
Other versions
CN109147812B (en
Inventor
靳伟明
牛永会
王艳辉
刘苹苹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hainan Qiantang Shilian Information Technology Co.,Ltd.
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201811095842.4A priority Critical patent/CN109147812B/en
Publication of CN109147812A publication Critical patent/CN109147812A/en
Application granted granted Critical
Publication of CN109147812B publication Critical patent/CN109147812B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M9/00Arrangements for interconnection not involving centralised switching
    • H04M9/08Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
    • H04M9/082Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic using echo cancellers
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L2021/02082Noise filtering the noise being echo, reverberation of the speech

Abstract

The present invention provides a kind of echo cancel method and devices, are applied in view networking.Wherein method includes: that the first view networked terminals receive view networked server, according to the first audio data sent to the first downstream communications link of the first view networked terminals configuration;First audio data is saved into preset broadcasting queue, and plays the first audio data;Second audio data is acquired, and extracts the first audio data from playing in queue, echo cancellor is carried out to second audio data using the first audio data, obtains third audio data;Based on third audio data is sent to view networked server depending on networking protocol, and by being sent to the second view networked terminals depending on the second downstream communications link of networked terminals configuration according to second depending on networked server.The present invention can eliminate the echo in two-way communication by way of software, and method is easy, and cost is relatively low, and data transmission procedure is based on view networking protocol, and transmission is quicker, improve the real-time of communication.

Description

Echo cancel method and device
Technical field
The present invention relates to view networking technology fields, fill more particularly to a kind of echo cancel method and a kind of echo cancellor It sets.
Background technique
In traditional telephone system, there is a kind of " circuit counterattack " phenomenons.The main reason for echo generates is complete At mixer when 2/4 conversion because of impedance matching, cause " to leak ", so as to cause " circuit echo ".The echo of that IP phone from Where come? on the one hand, IP telephony system and PSTN (Public Switched Telephone Network, public exchange Telephone network) interconnection when, be related to 2/4 line conversion circuit of hybrid coil, thus can echogenicity.On the other hand, IP phone Voice data there is also " acoustic echos " in transmission process.
Acoustic echo, which refers to, sends back to distal end after the sound that loudspeaker plays back is picked up by microphone, enables far-end talker Hear the sound of oneself.Acoustic echo is divided into direct echo and indirect echo again.Direct echo refers to what loudspeaker played back Sound is directly entered microphone without any reflection.This echo delay is most short, the speech energy of it and remote speaker, loudspeaking The factors such as the pick-up sensitivity of the distance between device and microphone, the broadcast sound volume of angle, loudspeaker and microphone are related;Between take back Sound refers to that the sound that loudspeaker plays enters the set of echo caused by microphone after the one or many reflections in different paths. When echo return time is more than 10ms, human ear can hear apparent echo, can interfere normal talking.It is opposite for time delay Biggish IP network environment, time delay are easy for reaching 50ms.Therefore, echo can seriously affect the communication process of people, reduce User experience.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind A kind of echo cancel method and a kind of corresponding echo cancelling device to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of echo cancel method, the method is applied to view In networking, which comprises
First view networked terminals receive view networked server, according to the first downlink to the first view networked terminals configuration The first audio data that communication link is sent;First audio data is acquired depending on networked terminals by second and is sent to the view Networked server;
Described first saves first audio data into preset broadcasting queue depending on networked terminals, and described in broadcasting First audio data;
The first view networked terminals acquire second audio data, and extract first audio from the broadcasting queue Data carry out echo cancellor to the second audio data using first audio data, obtain third audio data;
Described first is based on that the third audio data is sent to the view networking clothes depending on networking protocol depending on networked terminals Business device, and be sent to depending on networked server according to the second downstream communications link configured to described second depending on networked terminals by described The second view networked terminals.
Preferably, the first view networked terminals acquire second audio data, and from the broadcasting queue described in extraction First audio data carries out echo cancellor to the second audio data using first audio data, obtains third audio The step of data, comprising: the first view networked terminals acquire second audio data, and are directed to the second audio data, fixed Position behind position to delay setting frame number;Described first extracts the first audio data from the broadcasting queue depending on networked terminals, Using first audio data, echo cancellor is carried out to the second audio data since the position, obtains third audio Data.
Preferably, the method also includes: described first depending on networked terminals if it is determined that described play the frame that saves in queue The frame number saved in the broadcasting queue is then adjusted within the scope of the setting frame number by number not within the scope of setting frame number.
Preferably, the frame number by first audio data is adjusted to the step within the scope of the setting frame number, packet It includes: if the minimum frame number for playing the frame number saved in queue and being less than the setting frame number range, to the broadcasting queue Middle addition quiet data makes the frame number saved in the broadcasting queue within the scope of the setting frame number;If the broadcasting queue The frame number of middle preservation is greater than the maximum frame number within the scope of the setting frame number, then the first sound of part is deleted from the broadcasting queue Frequency evidence makes the frame number saved in the broadcasting queue within the scope of the setting frame number.
Preferably, the frame number range that sets is 5~15 frame.
On the other hand, the embodiment of the invention also discloses a kind of echo cancelling device, described device is applied to view networking In first view networked terminals, described device includes:
Receiving module, for receiving view networked server, according to the first downlink to the first view networked terminals configuration The first audio data that communication link is sent;First audio data is acquired depending on networked terminals by second and is sent to the view Networked server;
Playing module for saving first audio data into preset broadcasting queue, and plays described first Audio data;
Cancellation module extracts first audio data for acquiring second audio data, and from the broadcasting queue, Echo cancellor is carried out to the second audio data using first audio data, obtains third audio data;
The third audio data is sent to the view networked server depending on networking protocol for being based on by sending module, And by it is described depending on networked server according to described second depending on networked terminals configuration the second downstream communications link be sent to it is described Second view networked terminals.
Preferably, the cancellation module includes: data positioning unit, for acquiring second audio data, and for described Second audio data, the position after navigating to delay setting frame number;Echo cancellation unit, for being extracted from the broadcasting queue First audio data carries out echo cancellor to the second audio data since the position using first audio data, Obtain third audio data.
Preferably, described device further include: adjustment module, for if it is determined that the frame number saved in queue that plays does not exist It sets within the scope of frame number, then the frame number saved in the broadcasting queue is adjusted within the scope of the setting frame number.
Preferably, the adjustment module includes: the first adjustment unit, if the frame number for saving in the broadcasting queue is small In the minimum frame number of the setting frame number range, then quiet data is added into the broadcasting queue, made in the broadcasting queue The frame number of preservation is within the scope of the setting frame number;Second adjustment unit, if the frame number for saving in the broadcasting queue is big Maximum frame number within the scope of the setting frame number, then delete the first audio data of part from the broadcasting queue, makes described The frame number saved in queue is played within the scope of the setting frame number.
Preferably, the frame number range that sets is 5~15 frame.
In the embodiment of the present invention, the first view networked terminals receive view networked server, match according to first depending on networked terminals The first audio data that the first downstream communications link set is sent, the first audio data are acquired and are sent depending on networked terminals by second To view networked server;First saves the first audio data into preset broadcasting queue depending on networked terminals, and plays first Audio data;First view networked terminals acquire second audio data, and extract the first audio data from playing in queue, utilize the One audio data carries out echo cancellor to second audio data, obtains third audio data;First view networked terminals are based on view connection Third audio data is sent to view networked server by fidonetFido, and by matching according to second depending on networked terminals depending on networked server The second downstream communications link set is sent to the second view networked terminals.It follows that software can be passed through in the embodiment of the present invention Mode the echo in two-way communication is eliminated, method is easy, and cost is relatively low;And data transmission procedure is based on view networking Agreement, transmission is quicker, improves the real-time of communication.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of step flow chart of echo cancel method of the embodiment of the present invention one;
Fig. 6 is a kind of structural block diagram of echo cancelling device of the embodiment of the present invention two.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking destination address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze is according to the view of packet networking purpose Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frametype, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different data packets, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, the echo cancellation schemes of the embodiment of the present invention are proposed, it then follows regard the association of networking View, is eliminated using software approach to depending on the echo in connected network communication, and method is easy, promotes user experience.
Embodiment one
The echo cancel method of the embodiment of the present invention can be applied in view networking.It may include view networking in depending on networking Terminal and view networked server, are registered to depending on networked terminals needs depending on that can carry out regular traffic on networked server.Wherein, depending on Networked server can be above-mentioned node server.It is view connection operational line landing equipment depending on networked terminals, depending on networking service Actual participation person or server.Regarding networked terminals can be hardware terminal, such as various meeting set-top boxes, video telephone set top Box, operation pilot teaching set-top box, Streaming Media gateway, storage gateway, media synthesizer, etc..It may be software depending on networked terminals Terminal, such as Windows software terminal, etc..
Referring to Fig. 5, a kind of step flow chart of echo cancel method of the embodiment of the present invention one is shown.
The echo cancel method of the embodiment of the present invention may comprise steps of:
Step 501, the first view networked terminals receive view networked server, according to first to the first view networked terminals configuration The first audio data that downstream communications link is sent.
It is double that the echo cancel method of the embodiment of the present invention can be applied to video conference, video calling based on view networking etc. Into communication.It to be Windows software terminal that networked terminals are regarded described in the embodiment of the present invention.First view networked terminals with Second regards networked terminals as the both sides in communication, the two distant terminal each other.First view networked terminals and the second view networked terminals It can connect the equipment such as sound equipment, microphone.Wherein, microphone is used to acquire extraneous sound, and sound equipment is for playing sound.
In the embodiment of the present invention, second depending on networked terminals after starting to carry out video conference, the two-way communications such as video calling, External sound can be acquired by microphone, for example, the second view is networked end when the user of the second view networked terminals makes a speech End can acquire the sound of user speech by microphone.Second is encoded to obtain depending on networked terminals to collected sound First audio data.For example, the first of AAC (Advanced Audio Coding, Advanced Audio Coding) format can be encoded to Audio data, first audio data of G711 format, etc..
After coding, the first audio data is sent to view networked server depending on networked terminals by second.In the concrete realization, Two can be based on that the first audio data is encapsulated as the first view networking protocol data packet depending on networking protocol depending on networked terminals, and pass through This first is sent to view networked server depending on networking protocol data packet depending on networking.
Wherein, regarding networking protocol can be as depending on the agreement for being used to handle audio data in networking, such as 2001 agreements.2001 associations The specification of view can be as shown in the table:
After the first audio data for receiving the transmission of the second view networked terminals depending on networked server, by first audio data The first view networked terminals are forwarded to, what will also be received is packaged with the first view networking protocol data packet of the first audio data, It is forwarded to the first view networked terminals.
It, can be according to the first downlink communication to the first view networked terminals configuration depending on networked server in the embodiment of the present invention The first audio data is sent the first view networked terminals by link.
In practical applications, networking is regarded as the network with centralized control functions, including main control server and undernet Equipment, which includes terminal, and one of the core idea depending on networking is, by notifying to exchange by main control server Equipment is directed to when time downstream communications link of service matches table, and the table for being then based on the configuration carries out the transmission of data packet.
That is, including: depending on the communication means in networking
Main control server configuration is when time downstream communications link of service.
Work as time data packet of service for what source terminal (the such as second view networked terminals) was sent, according to the downstream communications link It is sent to target terminal (the such as first view networked terminals).
In embodiments of the present invention, it includes: notice when the downlink of secondary service is logical that time downstream communications link of service is worked as in configuration Believe that switching equipment involved in link matches table.
It furthermore, include: the configured table of inquiry according to downstream communications link transmission, switching equipment is received to institute Data packet is transmitted by corresponding port.
In the concrete realization, service includes unicast communication service and Multicast Communication Service.I.e. either cast communication is still Unicast communication can realize the communication in view networking using the above-mentioned core idea with table-table.
As previously mentioned, view networking includes access mesh portions, in access net, which is node server, under The grade network equipment includes access switch and terminal.
For the unicast communication service in access net, the main control server configuration is when time downlink communication chain of service The step of road, may comprise steps of:
Sub-step S11, the service request protocol package that main control server is initiated according to source terminal are obtained when time downlink of service Communication link information, downstream communications link information include participating in when time downlink of the main control server of service and access switch Communication port information.
Sub-step S12, downstream communication ports information of the main control server according to control server, data packet inside it The downlink port that setting is oriented to when time data packet of service in the table of location;And believe according to the downstream communication ports of access switch Breath, to corresponding access switch sending port configuration order.
Sub-step S13, access switch according in port configuration command data packet addressed table inside it, setting when time The downlink port that the data packet of service is oriented to.
For the Multicast Communication Service (such as video conference) in access net, main control server is obtained when under time service The step of row communication link information may include following sub-step:
Sub-step S21, main control server obtain the service request agreement for the application Multicast Communication Service that target terminal is initiated It wraps, includes the access net address of service type information, service content information and target terminal in service request protocol package.
It wherein, include service number in service content information.
Sub-step S22, main control server according to the service number in preset content-address mapping table, extraction source The access net address of terminal.
Sub-step S23, main control server obtains the corresponding multicast address of source terminal, and distributes to target terminal;And according to According to the access net address of service type information, source terminal and target terminal, the communication link information when time multicast services is obtained.
Step 502, first the first audio data is saved into preset broadcasting queue depending on networked terminals, and plays first Audio data.
First receives the first view networking protocol data packet issued depending on networked server depending on networked terminals, solves to it Analysis, obtains the first audio data therein.
First depending on being preset with broadcasting queue in networked terminals, receives in the broadcasting queue for saving the first view networked terminals It arrives, by the audio data of the second view networked terminals acquisition.Therefore, first the first audio data is being received depending on networked terminals Afterwards, which is saved into preset broadcasting queue.The first audio data saved in the broadcasting queue is used for As the reference data in subsequent progress echo cancellation process.
First view networked terminals utilize decoding process corresponding with the second view coding mode of networked terminals, to the first audio Data are decoded, and obtain the first audio data suitable for playing.After decoding, the first view networked terminals are played by sound equipment to be solved The first audio data after code.
Step 503, the first view networked terminals acquire second audio data, and extract the first audio number from playing in queue According to, using the first audio data to second audio data carry out echo cancellor, obtain third audio data.
In the embodiment of the present invention, first depending on networked terminals after starting to carry out video conference, the two-way communications such as video calling, Sound outside being acquired by microphone.For example, first regards networked terminals when playing the first audio data by sound equipment, First can acquire sound when playing first audio data depending on networked terminals by microphone;The use of first view networked terminals When family is made a speech, first can acquire the sound of user speech depending on networked terminals by microphone.First view networked terminals Collected sound is encoded to obtain second audio data.Certainly, since acquisition audio data can continue uninterruptedly to hold Capable, so if first does not collect external sound by microphone depending on networked terminals, for example user does not make a speech, does not also broadcast The first audio data is put, then can fill quiet data as second audio data.
First second audio data for regarding networked terminals acquisition can be as, while including the first audio played by sound equipment The mixing audio data of data and other audio datas (such as sound of user's speech).Therefore, include in mixing audio data The first audio data be echo, if sending the second view networked terminals for second audio data, can first carry out Echo cancellation process retransmits after eliminating the first audio data in mixing audio data.Specifically, the first view networked terminals The first audio data is extracted from playing in queue, echo cancellor is carried out to second audio data using the first audio data, is obtained Third audio data.
In practical applications, it first can go to realize echo cancellor by the calling library Speex depending on networked terminals (Automatic Echo Cancellation, AEC).Speex is the encoding and decoding speech library of an open source, and Speex engineering is puted forth effort Voice application input threshold is reduced in high-performance encoding and decoding speech can be substituted by providing one, in addition, relative to other Codec, Speex are well suited for network application, there is oneself unique advantage in network application.Specifically, it can use Echo canceling method carries out echo cancellor, for example passes through the size of adaptive approach estimate echo signal, is then receiving signal In subtract this estimated value to offset echo, achieve the purpose that elimination.Therefore, the first view networked terminals are by second audio data, Portion of audio data identical with the first audio data is eliminated, and retains different portion of audio data, the data of reservation are Third audio data, the third audio data are the audio data eliminated after echo.
In a preferred embodiment, it is contemplated that the first view networked terminals, may be also when acquiring second audio data The first audio data for acquiring and sending at second terminal is not received, therefore can first be disappeared during this period without echo Except processing.Therefore, which may include: the first view networked terminals acquisition second audio data, and be directed to second sound Frequency evidence, the position after navigating to delay setting frame number;First extracts the first audio from the broadcasting queue depending on networked terminals Data carry out echo cancellor to the second audio data since the position, obtain third using first audio data Audio data.
Alignment of the which primarily directed to first frame.First depending on networked terminals after collecting a frame second audio data, The second audio data of setting frame number is skipped first, it is believed that first does not receive the second view connection depending on networked terminals in the meantime The first audio data that network termination sends over, will not play the first audio data, therefore first collects depending on networked terminals Second audio data in will not include the first audio data, so not for the second audio data of these frame numbers skipped Carry out echo cancellation process.After skip again it is collected to second audio data, it is believed that the first view networking is eventually End initially receives the second the first audio data sended over depending on networked terminals, and plays the first audio data, therefore the Include the first audio data in the one view collected second audio data of networked terminals, thus after skip again it is collected to Second audio data starts, and carries out echo cancellation process.
For setting frame number, those skilled in the art select any suitable numerical value based on practical experience, the present invention Embodiment to this with no restriction.Frame number is set as 30 frames for example, can select, and the time of every frame is 10 milliseconds, the time of 30 frames 300 milliseconds are come to, therefore after collecting a frame second audio data, 30 frames are skipped, namely skip 300 milliseconds, in this phase Between to collected second audio data without echo cancellation process, and start in the 31st frame, namely opened after 300 milliseconds Begin, echo cancellation process is carried out to collected second audio data.
By way of above-mentioned first frame alignment, can to avoid when first does not play the first audio data depending on networked terminals i.e. Echo cancellation process is executed, blended data and reference data can not be accurately aligned, be influenced back so as to cause when echo cancellor The effect that sound is eliminated.
In a preferred embodiment, first dynamic tune can also be carried out to the frame number for playing queue depending on networked terminals It is whole, it keeps it in certain range.Therefore first it can be determined that the frame number saved in the broadcasting queue depending on networked terminals Whether within the scope of setting frame number;If it is determined that described play the frame number saved in queue not within the scope of setting frame number, then by institute The frame number for playing and saving in queue is stated to be adjusted within the scope of the setting frame number.
Specifically, the step that the frame number of first audio data is adjusted within the scope of the setting frame number can wrap It includes: if the minimum frame number for playing the frame number saved in queue and being less than the setting frame number range, to the broadcasting queue Middle addition quiet data makes the frame number saved in the broadcasting queue within the scope of the setting frame number;If the broadcasting queue The frame number of middle preservation is greater than the maximum frame number within the scope of the setting frame number, then the first sound of part is deleted from the broadcasting queue Frequency evidence makes the frame number saved in the broadcasting queue within the scope of the setting frame number.
For setting frame number range, those skilled in the art select any suitable numerical value based on practical experience, this Inventive embodiments to this with no restriction.Frame number range is set as 5~15 frames for example, can select, the time of every frame is 10 milliseconds, Then time range is 50~150 milliseconds.If the frame number saved in queue that plays is less than 5 frames, for example is 4 frames, then from broadcasting Quiet data is added into the broadcasting queue in the rear end of queue, makes the frame number saved in the broadcasting queue in 5~15 frames, than At least 1 frame quiet data can such as be added;Play the frame number that saves in queue if described and be greater than 15 frames, for example be 16 frames, then from The front end for playing queue will delete the first audio data of part in the broadcasting queue, the frame number saved in the broadcasting queue is made to exist In 5~15 frames, for example at least 1 the first audio data of frame can be stretched out.
In such a way that above-mentioned dynamic adjusts, it is ensured that the frame number for playing queue is always held in fixed range, To avoid causing the frame number for playing queue unstable due to factors such as network congestion, busy, the process priority influences of CPU scheduling It is fixed, the process of echo cancellor is influenced, the stability and accuracy of echo cancellor are further increased.
Step 504, it first is based on that third audio data is sent to view networked server depending on networking protocol depending on networked terminals, And by being sent to the networking of the second view eventually depending on the second downstream communications link that networked terminals configure according to second depending on networked server End.
First depending on networked terminals to second audio data carry out echo cancellor after obtain third audio data, by third audio Data are sent to view networked server.In the concrete realization, first view networking protocol can be based on by third sound depending on networked terminals Frequency is according to being encapsulated as the second view networking protocol data packet, and by the way that this second is sent to view depending on networking protocol data packet depending on networking Networked server.Wherein, regarding networking protocol can be as depending on the agreement for being used to handle audio data in networking, such as 2001 agreements.
After the third audio data for receiving the transmission of the first view networked terminals depending on networked server, by the third audio data The second view networked terminals are forwarded to, what will also be received is packaged with the second view networking protocol data packet of third audio data, It is forwarded to the second view networked terminals.
It, can be according to the second downlink communication to the second view networked terminals configuration depending on networked server in the embodiment of the present invention Third audio data is sent the second view networked terminals by link.
Second receives the second view networking protocol data packet issued depending on networked server depending on networked terminals, solves to it Analysis, obtains third audio data therein.Second view networked terminals utilize corresponding with the first view coding mode of networked terminals Decoding process is decoded third audio data, obtains the third audio data suitable for playing.After decoding, the second view connection Network termination passes through the third audio data after sound equipment broadcast decoder.It is the audio number after echo cancellor due to third audio data According to, thus second depending on networked terminals user will not be in play third audio data when, hear and be sent to first before oneself Depending on the sound of the first audio data of networked terminals.
It should be noted that due to the first view networked terminals and the second view networked terminals distant terminal each other, second The echo cancellation process executed depending on above-mentioned first terminal can also be executed at networked terminals, namely it is similar to step 501~step This is no longer discussed in detail in 504 process, the embodiment of the present invention.
In summary, the echo cancel method of the embodiment of the present invention may include two independent threads.
One be play thread, play thread be mainly used for proximal end play by it is being issued depending on networked server, by distally adopting The audio data of collection.Above-mentioned steps 501 and step 502 can specifically be corresponded to by playing thread, and the first view networked terminals receive first Audio data drives call-back manner to obtain (can obtain in real time, can also be with timing acquisition) first audio data by Windows It plays out, and the first audio data is saved into broadcasting queue.
The other is echo cancellor thread, echo cancellor thread is mainly used for proximal end acquisition audio data, and eliminates wherein Including echo, be sent to after elimination distal end.Echo cancellor thread can specifically correspond to above-mentioned steps 503 and step 504, and first Call-back manner is driven to acquire (can acquire in real time, can also be with timing acquiring) second audio number by Windows depending on networked terminals According to extracting the first audio data as reference data from playing in queue, can specifically be mentioned every time from the front end of broadcasting queue First audio data of frame is taken, echo cancellor is carried out to second audio data using the first audio data of extraction, and use The mode of first frame alignment skips the first beginning and end and receives the frame number acquired when second audio data, and using needle by the way of dynamic adjustment The frame number or fill part quiet data that part has saved are deleted to queue is played, first disappears depending on networked terminals by echo is carried out The third audio data obtained after removing is sent to the second view networked terminals.
Above-mentioned two thread independently executes, and does not interfere with each other, and the core process of echo cancellor is essentially by echo cancellor This thread of thread is completed, and process is easier.
The echo in two-way communication can be eliminated by way of software in the embodiment of the present invention, method is easy, Cost is relatively low;And data transmission procedure is based on view networking protocol, and transmission is quicker, improves the real-time of communication.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Embodiment two
Referring to Fig. 6, a kind of structural block diagram of echo cancelling device of the embodiment of the present invention two is shown.The device can answer In the first view networked terminals for regarding networking.It should be noted that depending on each can be used as depending on networked terminals in networking First view networked terminals.
The echo cancelling device of the embodiment of the present invention may include with lower module:
Receiving module 601, for receiving view networked server, according under first to the first view networked terminals configuration The first audio data that row communication link is sent;First audio data is acquired depending on networked terminals and is sent to described by second Depending on networked server;
Playing module 602 for saving first audio data into preset broadcasting queue, and plays described One audio data;
Cancellation module 603 extracts the first audio number for acquiring second audio data, and from the broadcasting queue According to, using first audio data to the second audio data carry out echo cancellor, obtain third audio data;
The third audio data is sent to the view the Internet services depending on networking protocol for being based on by sending module 604 Device, and institute is sent to according to the second downstream communications link configured to described second depending on networked terminals depending on networked server by described State the second view networked terminals.
In a preferred embodiment, the cancellation module includes: data positioning unit, for acquiring the second audio number According to, and it is directed to the second audio data, the position after navigating to delay setting frame number;Echo cancellation unit is used for from described It plays in queue and extracts the first audio data, using first audio data, to the second audio number since the position According to echo cancellor is carried out, third audio data is obtained.
In a preferred embodiment, described device further include: adjustment module, for if it is determined that in the broadcasting queue The frame number saved in the broadcasting queue is then adjusted to the setting frame number model not within the scope of setting frame number by the frame number of preservation In enclosing.
In a preferred embodiment, the adjustment module includes: the first adjustment unit, if being used for the broadcasting queue The frame number of middle preservation is less than the minimum frame number of the setting frame number range, then adds quiet data into the broadcasting queue, make The frame number saved in the broadcasting queue is within the scope of the setting frame number;Second adjustment unit, if being used for the broadcasting queue The frame number of middle preservation is greater than the maximum frame number within the scope of the setting frame number, then the first sound of part is deleted from the broadcasting queue Frequency evidence makes the frame number saved in the broadcasting queue within the scope of the setting frame number.
In a preferred embodiment, the frame number range that sets is 5~15 frame.
The echo in two-way communication can be eliminated by way of software in the embodiment of the present invention, method is easy, Cost is relatively low;And data transmission procedure is based on view networking protocol, and transmission is quicker, improves the real-time of communication.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of echo cancel method provided by the present invention and a kind of echo cancelling device, detailed Jie has been carried out It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is limitation of the present invention.

Claims (10)

1. a kind of echo cancel method, which is characterized in that the method is applied in view networking, which comprises
First view networked terminals receive view networked server, according to the first downlink communication to the first view networked terminals configuration The first audio data that link is sent;First audio data is acquired depending on networked terminals by second and is sent to the view and networked Server;
Described first saves first audio data into preset broadcasting queue depending on networked terminals, and plays described first Audio data;
The first view networked terminals acquire second audio data, and extract the first audio number from the broadcasting queue According to, using first audio data to the second audio data carry out echo cancellor, obtain third audio data;
Described first is based on that the third audio data is sent to the view networked server depending on networking protocol depending on networked terminals, And by it is described depending on networked server according to described second depending on networked terminals configuration the second downstream communications link be sent to it is described Second view networked terminals.
2. the method according to claim 1, wherein it is described first view networked terminals acquire second audio data, And first audio data is extracted from the broadcasting queue, using first audio data to the second audio data The step of carrying out echo cancellor, obtaining third audio data, comprising:
The first view networked terminals acquire second audio data, and are directed to the second audio data, navigate to delay setting Position after frame number;
Described first extracts the first audio data from the broadcasting queue depending on networked terminals, using first audio data, Echo cancellor is carried out to the second audio data since the position, obtains third audio data.
3. the method according to claim 1, wherein the method also includes:
Described first depending on networked terminals if it is determined that described play in queue that the frame number that saves is not within the scope of setting frame number, then by institute The frame number for playing and saving in queue is stated to be adjusted within the scope of the setting frame number.
4. according to the method described in claim 3, it is characterized in that, the frame number by first audio data is adjusted to institute State the step within the scope of setting frame number, comprising:
If the minimum frame number for playing the frame number saved in queue and being less than the setting frame number range, to the broadcasting queue Middle addition quiet data makes the frame number saved in the broadcasting queue within the scope of the setting frame number;
If the maximum frame number for playing the frame number saved in queue and being greater than within the scope of the setting frame number, from the broadcasting team The first audio data of part is deleted in column, makes the frame number saved in the broadcasting queue within the scope of the setting frame number.
5. according to the method described in claim 3, it is characterized in that, the frame number range that sets is 5~15 frame.
6. a kind of echo cancelling device, which is characterized in that described device is applied in the first view networked terminals of view networking, described Device includes:
Receiving module, for receiving view networked server, according to the first downlink communication to the first view networked terminals configuration The first audio data that link is sent;First audio data is acquired depending on networked terminals by second and is sent to the view and networked Server;
Playing module for saving first audio data into preset broadcasting queue, and plays first audio Data;
Cancellation module extracts first audio data for acquiring second audio data, and from the broadcasting queue, utilizes First audio data carries out echo cancellor to the second audio data, obtains third audio data;
Sending module, for based on the third audio data is sent to the view networked server depending on networking protocol, and by It is described to be sent to described second according to the second downstream communications link configured to described second depending on networked terminals depending on networked server Depending on networked terminals.
7. device according to claim 6, which is characterized in that the cancellation module includes:
Data positioning unit for acquiring second audio data, and is directed to the second audio data, navigates to delay setting frame Position after number;
Echo cancellation unit, it is right using first audio data for extracting the first audio data from the broadcasting queue Second audio data since the position carries out echo cancellor, obtains third audio data.
8. device according to claim 6, which is characterized in that described device further include:
Module is adjusted, for if it is determined that the frame number saved in the broadcasting queue is then broadcast described not within the scope of setting frame number The frame number saved in queue is put to be adjusted within the scope of the setting frame number.
9. device according to claim 8, which is characterized in that the adjustment module includes:
The first adjustment unit, if the frame number for saving in the broadcasting queue is less than the minimum frame of the setting frame number range Number, then add quiet data into the broadcasting queue, makes the frame number saved in the broadcasting queue in the setting frame number model In enclosing;
Second adjustment unit, if the frame number for saving in the broadcasting queue is greater than the largest frames within the scope of the setting frame number Number then deletes the first audio data of part from the broadcasting queue, sets the frame number saved in the broadcasting queue described Within the scope of framing number.
10. device according to claim 8, which is characterized in that the frame number range that sets is 5~15 frame.
CN201811095842.4A 2018-09-19 2018-09-19 Echo cancellation method and device Active CN109147812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811095842.4A CN109147812B (en) 2018-09-19 2018-09-19 Echo cancellation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811095842.4A CN109147812B (en) 2018-09-19 2018-09-19 Echo cancellation method and device

Publications (2)

Publication Number Publication Date
CN109147812A true CN109147812A (en) 2019-01-04
CN109147812B CN109147812B (en) 2020-09-08

Family

ID=64814949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811095842.4A Active CN109147812B (en) 2018-09-19 2018-09-19 Echo cancellation method and device

Country Status (1)

Country Link
CN (1) CN109147812B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138991A (en) * 2019-06-21 2019-08-16 苏州思必驰信息科技有限公司 Echo removing method and device
CN111212032A (en) * 2019-12-13 2020-05-29 视联动力信息技术股份有限公司 Audio processing method and device based on video network, electronic equipment and storage medium
CN111210833A (en) * 2019-12-30 2020-05-29 联想(北京)有限公司 Audio processing method, electronic device, and medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138991A (en) * 2019-06-21 2019-08-16 苏州思必驰信息科技有限公司 Echo removing method and device
CN110138991B (en) * 2019-06-21 2021-05-25 思必驰科技股份有限公司 Echo cancellation method and device
CN111212032A (en) * 2019-12-13 2020-05-29 视联动力信息技术股份有限公司 Audio processing method and device based on video network, electronic equipment and storage medium
CN111210833A (en) * 2019-12-30 2020-05-29 联想(北京)有限公司 Audio processing method, electronic device, and medium

Also Published As

Publication number Publication date
CN109147812B (en) 2020-09-08

Similar Documents

Publication Publication Date Title
CN108632398B (en) A kind of conference access method and system, association turn server and conference management terminal
CN108234421B (en) A kind of method and system regarding networked terminals and the intercommunication of internet terminal audio data
CN106341563A (en) Terminal communication based echo suppression method and device
CN108173804A (en) It is a kind of to access the method for internet and regarding connection cat client by regarding networking
CN109451264A (en) A kind of method and system of monitoring device membership
CN108632558A (en) A kind of method and apparatus of video calling
CN108063745B (en) A kind of video call method and its system based on Android device
CN109640028A (en) It is a kind of by multiple method and apparatus for carrying out group meeting depending on networked terminals and multiple internet terminals
CN109302576A (en) Meeting treating method and apparatus
CN110149262A (en) A kind for the treatment of method and apparatus and storage medium of signaling message
CN108810444A (en) Processing method, conference dispatching end and the association of video conference turn server
CN109788232A (en) A kind of summary of meeting recording method of video conference, device and system
CN109618120A (en) The treating method and apparatus of video conference
CN107888542A (en) A kind of method and system depending on establishing communication between networked terminals and commander's equipment
CN108616487A (en) Based on the sound mixing method and device regarding networking
CN109215653A (en) A kind of method and apparatus of voice operating
CN109147812A (en) Echo cancel method and device
CN110460804A (en) Conferencing data sending method, system, equipment and computer readable storage medium
CN109547731A (en) A kind of methods of exhibiting and system of video conference
CN110049346A (en) A kind of method and system of net cast
CN108630215B (en) Echo suppression method and device based on video networking
CN108881819A (en) A kind of transmission method and device of audio data
CN108881818A (en) A kind of transmission method and device of video data
CN108574816A (en) It is a kind of to regard networked terminals and based on communication means, the device regarding networked terminals
CN110149305A (en) A kind of method and transfer server of the multi-party playing audio-video based on view networking

Legal Events

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

Effective date of registration: 20201230

Address after: 570105 room 1201, Central International Plaza, 77 Binhai street, Longhua District, Haikou City, Hainan Province

Patentee after: Hainan Qiantang Shilian Information Technology Co.,Ltd.

Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.