CN108551534A - Method and device for multi-terminal voice call - Google Patents
Method and device for multi-terminal voice call Download PDFInfo
- Publication number
- CN108551534A CN108551534A CN201810205412.7A CN201810205412A CN108551534A CN 108551534 A CN108551534 A CN 108551534A CN 201810205412 A CN201810205412 A CN 201810205412A CN 108551534 A CN108551534 A CN 108551534A
- Authority
- CN
- China
- Prior art keywords
- voice data
- terminal device
- terminal equipment
- voice
- terminal
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/56—Arrangements for connecting several subscribers to a common circuit, i.e. affording conference facilities
- H04M3/568—Arrangements for connecting several subscribers to a common circuit, i.e. affording conference facilities audio processing specific to telephonic conferencing, e.g. spatial distribution, mixing of participants
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M9/00—Arrangements for interconnection not involving centralised switching
- H04M9/08—Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种多终端语音通话的方法及装置。The present invention relates to the field of communication technology, in particular to a method and device for multi-terminal voice communication.
背景技术Background technique
随着手机、平板电脑等终端设备的快速发展,终端设备的功能以及应用场景也越来越多。例如,使用终端设备可以进行多人语音通话,可以应用于多人电话会议、多人游戏等具体应用场景中。With the rapid development of terminal devices such as mobile phones and tablet computers, the functions and application scenarios of the terminal devices are also increasing. For example, the terminal device can be used for multi-person voice calls, which can be applied to specific application scenarios such as multi-person conference calls and multi-person games.
在使用终端设备进行多人语音通话时,一般需要将多个终端设备进行联机。但是,若是进行联机的终端设备中存在距离很近的两个或者多个终端设备时,例如,如图1所示,终端设备A和终端设备B距离很近,当用户对着终端设备A讲话时,用户的讲话内容会被终端设备A和终端设备B均采集到,并发送出去,因此,即终端设备A又会接收到自己讲话的内容,导致通话内容比较混乱。并且,在终端设备A和终端设备B播放该讲话内容时,由于终端设备A和终端设备B距离很近,播放的内容可能会被自己和对方再次采集并发送出去,从而可能引起啸叫。When using a terminal device to make a multi-person voice call, it is generally necessary to connect multiple terminal devices online. However, if there are two or more terminal devices that are very close to each other in the terminal devices that are connected, for example, as shown in Figure 1, the distance between terminal device A and terminal device B is very close, when the user speaks to terminal device A , the content of the user's speech will be collected by both the terminal device A and the terminal device B, and sent out. Therefore, the terminal device A will receive the content of its own speech, resulting in confusion about the content of the call. Moreover, when terminal device A and terminal device B play the speech content, since terminal device A and terminal device B are very close, the played content may be collected and sent again by itself and the other party, which may cause howling.
因此,亟需提出一种多终端语音通话的方法,以解决多终端语音通话中由于存在距离很近的终端设备而导致通话内容比较混乱,并且可能会引起啸叫的问题。Therefore, there is an urgent need to propose a method for multi-terminal voice calls, so as to solve the problem that the content of the calls is confusing and may cause howling due to the presence of terminal devices in a multi-terminal voice call.
发明内容Contents of the invention
本发明实施例的目的是提供一种多终端语音通话的方法及装置,以解决多终端语音通话中由于存在距离很近的终端设备而导致通话内容比较混乱,并且可能会引起啸叫的问题。The purpose of the embodiments of the present invention is to provide a method and device for multi-terminal voice calls, so as to solve the problem of confusing call content and possibly causing howling in multi-terminal voice calls due to the presence of terminal devices at close distances.
为解决上述技术问题,本发明实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiment of the present invention is implemented as follows:
第一方面,本发明实施例提供了一种多终端语音通话的方法,应用于第一终端设备,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for a multi-terminal voice call, which is applied to a first terminal device, and the method includes:
第一终端设备接收到对端设备发送的第一语音数据后,检测所述对端设备是否属于第二终端设备;其中,所述第一语音数据中携带有所述第一语音数据的采集时间戳;所述第二终端设备与所述第一终端设备满足预设条件,所述预设条件包括间隔距离小于或等于预设距离,且扬声器处于开启状态;After receiving the first voice data sent by the peer device, the first terminal device detects whether the peer device belongs to the second terminal device; wherein, the first voice data carries the collection time of the first voice data Stamp; the second terminal device and the first terminal device meet preset conditions, and the preset conditions include that the separation distance is less than or equal to the preset distance, and the speaker is turned on;
若是,则所述第一终端设备根据所述采集时间戳、所述第一语音数据和存储的语音数据,控制所述第一终端设备的扬声器关闭或者丢弃所述第一语音数据;其中,所述存储的语音数据为预设时间段内第一终端设备采集的语音数据。If so, the first terminal device controls the speaker of the first terminal device to turn off or discard the first voice data according to the collection time stamp, the first voice data and the stored voice data; wherein, the The voice data stored above is the voice data collected by the first terminal device within a preset time period.
第二方面,本发明实施例还提供了一种多终端语音通话的装置,应用于第一终端设备,所述装置包括:In the second aspect, the embodiment of the present invention also provides an apparatus for multi-terminal voice calls, which is applied to a first terminal device, and the apparatus includes:
第一检测模块,用于接收到对端设备发送的第一语音数据后,检测所述对端设备是否属于第二终端设备;其中,所述第一语音数据中携带有所述第一语音数据的采集时间戳;所述第二终端设备与所述第一终端设备满足预设条件,所述预设条件包括间隔距离小于或等于预设距离,且扬声器处于开启状态;The first detection module is configured to detect whether the peer device belongs to the second terminal device after receiving the first voice data sent by the peer device; wherein, the first voice data carries the first voice data The collection timestamp; the second terminal device and the first terminal device meet preset conditions, and the preset conditions include that the separation distance is less than or equal to the preset distance, and the speaker is turned on;
第一控制模块,用于若所述对端设备属于第二终端设备,则根据所述采集时间戳、所述第一语音数据和存储的语音数据,控制所述第一终端设备的扬声器关闭或者丢弃所述第一语音数据;其中,所述存储的语音数据为预设时间段内所述终端设备采集的语音数据。The first control module is configured to, if the peer device belongs to the second terminal device, control the speaker of the first terminal device to turn off or turn off the speaker according to the collection time stamp, the first voice data, and the stored voice data. Discarding the first voice data; wherein, the stored voice data is voice data collected by the terminal device within a preset time period.
第三方面,本发明实施例还提供了一种终端设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述第一方面所述的多终端语音通话的方法的步骤。In the third aspect, the embodiment of the present invention also provides a terminal device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the computer program is executed by the processor During execution, the steps of the method for multi-terminal voice calls described in the first aspect above are realized.
第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面所述的多终端语音通话的方法的步骤。In a fourth aspect, an embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the multiple functions described in the above-mentioned first aspect are implemented. The steps of the method for making a terminal voice call.
在本发明实施例中,第一终端设备接收到的对端设备发送的第一语音数据中携带该语音数据的采集时间戳,并在接收到第一语音数据后,检测该对端设备是否属于第二终端设备;其中,第二终端设备与第一终端设备满足预设条件,该预设条件包括间隔距离小于或等于预设距离,且扬声器处于开启状态;若上述对端设备属于第二终端设备,则根据接收到的语音数据的采集时间戳、语音数据以及终端设备存储该终端设备采集的存储的语音数据,控制第一终端设备的扬声器关闭或者丢弃第一语音数据;本发明实施例提供的方案,通过在发送的第一语音数据中携带该语音数据的采集时间戳,能够避免使用扬声器播放对端设备采集的该第一终端设备用户的语音数据,从而避免了多终端语音通话内容混乱以及相位相同的声音叠加的情况的发生,从而可以消除啸叫。In the embodiment of the present invention, the first voice data sent by the peer device received by the first terminal device carries the collection time stamp of the voice data, and after receiving the first voice data, detects whether the peer device belongs to The second terminal device; wherein, the second terminal device and the first terminal device meet preset conditions, and the preset condition includes that the distance between the second terminal device and the first terminal device is less than or equal to the preset distance, and the speaker is turned on; if the above-mentioned peer device belongs to the second terminal device, control the speaker of the first terminal device to turn off or discard the first voice data according to the collection time stamp of the received voice data, the voice data, and the terminal device storing the stored voice data collected by the terminal device; the embodiment of the present invention provides The scheme, by carrying the collection time stamp of the voice data in the first voice data sent, can avoid using the speaker to play the voice data of the user of the first terminal device collected by the peer device, thereby avoiding the confusion of the content of the multi-terminal voice call And the occurrence of superposition of sounds with the same phase, so that howling can be eliminated.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention, and constitute a part of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute improper limitations to the present invention. In the attached picture:
图1是终端设备A和终端设备B之间语音数据的采集和传输示意图。FIG. 1 is a schematic diagram of voice data collection and transmission between a terminal device A and a terminal device B.
图2是本发明的一个实施例中一种多终端语音通话的方法的第一种方法流程图。Fig. 2 is a flow chart of the first method of a multi-terminal voice call method in an embodiment of the present invention.
图3是本发明的一个实施例中一种多终端语音通话的方法中,多个终端设备的语音传输示意图。FIG. 3 is a schematic diagram of voice transmission of multiple terminal devices in a method for multi-terminal voice conversation in an embodiment of the present invention.
图4是本发明的一个实施例中一种多终端语音通话的方法的第二种方法流程图。Fig. 4 is a flow chart of the second method of a multi-terminal voice call method in an embodiment of the present invention.
图5是本发明的一个实施例中一种多终端语音通话的装置的结构示意图。FIG. 5 is a schematic structural diagram of an apparatus for multi-terminal voice communication in an embodiment of the present invention.
图6是本发明的一个实施例中终端设备的硬件结构示意图。Fig. 6 is a schematic diagram of a hardware structure of a terminal device in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例提供了一种多终端语音通话的方法,该方法应用于终端设备,本发明实施例提供的方法的具体应用场景可以是:多人语音聊天、多人电话会议、多人游戏时语音通话等。在本发明实施例中,通过在传输的语音数据中携带该语音数据对应的采集时间戳,并将该语音数据与终端设备存储的其本身采集的语音数据进行比对,确定对接收到的语音数据的进行丢弃处理或者以非外放的形式播放,以此,可以避免播放对端设备采集的本身对应用户的讲话内容,进而避免多终端语音通话内容混乱以及相位相同的声音叠加的情况的发生,从而可以消除啸叫。The embodiment of the present invention provides a method for multi-terminal voice calls, which is applied to terminal devices. The specific application scenarios of the method provided by the embodiment of the present invention may be: multi-person voice chat, multi-person conference call, multi-person game voice calls etc. In the embodiment of the present invention, by carrying the collection time stamp corresponding to the voice data in the transmitted voice data, and comparing the voice data with the voice data collected by the terminal device itself, it is determined that the received voice The data is discarded or played in a non-external format, so as to avoid playing the speech content of the corresponding user collected by the peer device, thereby avoiding the confusion of multi-terminal voice call content and the superimposition of sounds with the same phase , so that howling can be eliminated.
图2为本发明实施例提供的多终端语音通话的方法的第一种方法流程图,该方法应用于第一终端设备,图2所示的方法,至少包括如下步骤:FIG. 2 is a flow chart of the first method of the multi-terminal voice call method provided by the embodiment of the present invention. The method is applied to the first terminal device. The method shown in FIG. 2 includes at least the following steps:
S102,第一终端设备接收到对端设备发送的第一语音数据后,检测对端设备是否属于第二终端设备;其中,上述第一语音数据中携带有第一语音数据的采集时间戳;第二终端设备与第一终端设备满足预设条件,该预设条件包括间隔距离小于或等于预设距离,且扬声器处于开启状态。S102. After receiving the first voice data sent by the peer device, the first terminal device detects whether the peer device belongs to the second terminal device; wherein, the above-mentioned first voice data carries a collection time stamp of the first voice data; the second The second terminal device and the first terminal device meet a preset condition, and the preset condition includes that the separation distance is less than or equal to the preset distance, and the speaker is turned on.
其中,上述第二终端设备为与第一终端设备进行语音通话的终端设备,上述扬声器处于开启状态指的是第一终端设备和第二终端设备的扬声器均处于开启状态。Wherein, the above-mentioned second terminal device is a terminal device that conducts a voice call with the first terminal device, and the above-mentioned loudspeaker being in an on state means that both the speakers of the first terminal device and the second terminal device are in an on state.
本发明实施例提供的方法的执行主体为第一终端设备,其中,第一终端设备为进行语音通话的多个终端设备中的任意一个终端设备。例如,在一次多终端设备语音通话中,进行语音通话的终端设备分别记为终端设备A、终端设备B、终端设备C和终端设备D,则上述第一终端设备可以是终端设备A、终端设备B、终端设备C和终端设备D中的任意一个。The execution subject of the method provided by the embodiment of the present invention is the first terminal device, where the first terminal device is any terminal device among multiple terminal devices that conduct voice calls. For example, in a multi-terminal device voice call, the terminal devices conducting the voice call are respectively recorded as terminal device A, terminal device B, terminal device C and terminal device D, then the above-mentioned first terminal device may be terminal device A, terminal device B. Any one of terminal equipment C and terminal equipment D.
上述对端设备则指的是进行语音通话的多个终端设备中除第一终端设备之外的其他的终端设备。继续沿用上述举例,则在上述举例中,若第一终端设备为终端设备A,则对端设备为终端设备B、终端设备C和终端设备D。The aforementioned peer device refers to other terminal devices except the first terminal device among the plurality of terminal devices conducting voice calls. Continuing to use the above example, in the above example, if the first terminal device is terminal device A, then the peer devices are terminal device B, terminal device C, and terminal device D.
在采用本发明实施例提供的方法进行多终端语音通话时,首先需要将进行语音通话的多个终端设备建立通信连接,并且,在建立通信连接的过程中,触发各个终端设备将其当前所在的地理位置信息上报给服务器。When using the method provided by the embodiment of the present invention to conduct a multi-terminal voice call, it is first necessary to establish a communication connection for multiple terminal devices conducting a voice call, and, in the process of establishing a communication connection, trigger each terminal device to connect to the The geographic location information is reported to the server.
其中,上述服务器指的是多个终端设备实现语音通话时所使用的应用程序对应的服务器。例如,若多终端设备通过第一即时通讯软件进行语音通话,则上述服务器则为第一即时通讯软件所对应的服务器;若多终端设备在某项游戏中建立语音通话,则上述服务器则为该游戏所对应的服务器。Wherein, the above-mentioned server refers to a server corresponding to an application program used by multiple terminal devices to implement a voice call. For example, if the multi-terminal devices make a voice call through the first instant messaging software, the above-mentioned server is the server corresponding to the first instant messaging software; if the multi-terminal device establishes a voice call in a certain game, then the above-mentioned server is the The server corresponding to the game.
当多个终端设备建立通信连接后,各个终端设备开始采集其对应用户的语音数据,并将采集的语音数据通过网络发送给进行语音通话的其他的终端设备。After multiple terminal devices establish a communication connection, each terminal device starts to collect voice data of its corresponding user, and sends the collected voice data to other terminal devices conducting voice calls through the network.
在本发明实施例中,上述步骤S102中,检测对端设备是否属于第二终端设备,可以通过检测第一终端设备与该对端设备之间的间隔距离是否小于或等于预设距离,以及对端设备的扬声器是否处于开启状态确定对端设备是否属于第二终端设备。In the embodiment of the present invention, in the above step S102, the detection of whether the peer device belongs to the second terminal device can be performed by detecting whether the distance between the first terminal device and the peer device is less than or equal to the preset distance, and Whether the speaker of the end device is turned on determines whether the peer device belongs to the second terminal device.
或者,在另外一种具体实施方式中,在建立多个终端设备的通信连接后,从多个终端设备中确定第一终端设备对应的第二终端设备列表。相应的,在上述步骤S102中,检测上述对端设备是否属于第二终端设备,包括:检测第二终端设备列表中是否存在上述对端设备。Or, in another specific implementation manner, after the communication connections of the multiple terminal devices are established, the second terminal device list corresponding to the first terminal device is determined from the multiple terminal devices. Correspondingly, in the above step S102, detecting whether the peer device belongs to the second terminal device includes: detecting whether the peer device exists in the second terminal device list.
在本发明实施例中,若在第二终端设备列表中存在上述对端设备,则说明向第一终端设备发送第一语音数据的对端设备属于第二终端设备;若在上述第二终端设备列表中不存在上述对端设备,则说明向第一终端设备发送第一语音数据的对端设备不属于第二终端设备。In the embodiment of the present invention, if the above-mentioned peer device exists in the second terminal device list, it means that the peer device that sends the first voice data to the first terminal device belongs to the second terminal device; if the above-mentioned second terminal device If the peer device does not exist in the list, it means that the peer device sending the first voice data to the first terminal device does not belong to the second terminal device.
其中,第一终端设备接收到的第一语音数据中携带有该对端设备的标识,这样,可以通过该对端设备的标识在第二终端设备列表中查找上述对端设备。该终端设备的标识可以是该终端设备的编码(identification,ID)等。Wherein, the first voice data received by the first terminal device carries the identifier of the peer device, so that the peer device can be searched in the second terminal device list through the identifier of the peer device. The identifier of the terminal device may be a code (identification, ID) of the terminal device or the like.
其中,上述第二终端设备列表中存储的各个终端设备与第一终端设备之间满足上述预设条件,即第二终端设备列表中存储的各个终端设备为可能对第一设备产生语音干扰的设备。Wherein, each terminal device stored in the second terminal device list meets the above preset condition with the first terminal device, that is, each terminal device stored in the second terminal device list is a device that may cause voice interference to the first device .
在本发明实施例中,可以由服务器确定上述第二终端设备列表,也可以由第一终端设备确定第二终端设备列表。In this embodiment of the present invention, the above-mentioned second terminal device list may be determined by the server, or the second terminal device list may be determined by the first terminal device.
其中,上述预设距离一般指的是两个终端设备之间可能会产生语音干扰的最大距离,具体取值可以是5米、3米等。Wherein, the aforementioned preset distance generally refers to a maximum distance between two terminal devices that may cause voice interference, and a specific value may be 5 meters, 3 meters, etc.
例如,在一个多终端语音通话中,进行语音通话的终端设备记为终端设备A、终端设备B、终端设备C和终端设备D,终端设备A、终端设备B、终端设备C和终端设备D的扬声器均处于开启状态;终端设备A与终端设备B、终端设备C之间的距离均为3米,终端设备B和终端设备C之间的距离为2米,终端设备D与终端设备A、终端设备B和终端设备C之间的距离均在百米以上,因此,可以确定终端设备A、终端设备B和终端设备C可能互为干扰设备,即终端设备A对应的第二终端设备列表为终端设备B和终端设备C,终端设备B对应的第二终端设备列表为终端设备A和终端设备C,终端设备C对应的第二终端设备列表为终端设备A和终端设备B,终端设备D不存在对应的干扰设备。For example, in a multi-terminal voice call, the terminal devices conducting the voice call are recorded as terminal device A, terminal device B, terminal device C and terminal device D, and the terminal device A, terminal device B, terminal device C and terminal device D are The speakers are all on; the distance between terminal A, terminal B and terminal C is 3 meters, the distance between terminal B and terminal C is 2 meters, and the distance between terminal D and terminal A, terminal The distance between device B and terminal device C is more than 100 meters. Therefore, it can be determined that terminal device A, terminal device B, and terminal device C may be mutually interfering devices, that is, the second terminal device list corresponding to terminal device A is terminal Device B and terminal device C, the second terminal device list corresponding to terminal device B is terminal device A and terminal device C, the second terminal device list corresponding to terminal device C is terminal device A and terminal device B, and terminal device D does not exist Corresponding interference device.
其中,上述预设距离可以根据经验进行设定,还可以通过如下方式确定:Wherein, the above preset distance can be set according to experience, and can also be determined in the following way:
服务器控制进行语音通话的多个终端设备按照一定的时间间隔依次向其他终端设备发送内容相同的检测语音,当各个终端设备接收到检测语音后,通过扬声器将接收到的检测语音进行播放,然后根据各个终端设备采集到的扬声器播放的检测语音的信号幅度确定上述预设距离。The server controls multiple terminal devices making voice calls to send detection voices with the same content to other terminal devices sequentially at a certain time interval. When each terminal device receives the detection voice, it plays the received detection voice through the speaker, and then according to The signal amplitude of the detected voice played by the loudspeaker collected by each terminal device determines the preset distance.
例如,在一个多终端语音通话中,将进行语音通话的终端设备分别记为终端设备A、终端设备B和终端设备C,服务器先控制终端设备A发送一个检测语音,该检测语音中携带有该检测语音的采集时间戳,当终端设备B和终端设备C接收到终端设备A发送的携带有时间戳信息的检测语音后,通过扬声器播放该检测语音,若是终端设备A、终端设备B和终端设备C之间的距离较近时,终端设备A、终端设备B和终端设备C的麦克风(microphone,MIC)均采集终端设备B和终端设备C通过扬声器播放的检测语音,然后各个终端设备确定其采集的检测语音的音量信号幅度;当终端设备B接收到终端设备A发送的检测语音后,向终端设备A和终端设备B发送一个携带有时间戳信息的检测语音,当终端设备A和终端设备B接收到该检测语音后,通过扬声器播放该检测语音,若是终端设备A、终端设备B和终端设备C之间的距离较近时,终端设备A、终端设备B和终端设备C的MIC均采集终端设备A和终端设备C通过扬声器播放的检测语音,然后各个终端设备确定其采集的检测语音的音量信号幅度;同样的,终端设备C接收到终端设备设备B发送的检测语音后,向终端设备A和终端设备B发送携带有时间戳信息的语音数据,当终端设备B和终端设备A接收到终端设备C发送的携带有时间戳信息的检测语音中,通过扬声器播放该检测语音,若是终端设备A、终端设备B和终端设备C之间的距离较近时,终端设备A、终端设备B和终端设备C的MIC均采集终端设备C和终端设备A通过扬声器播放的检测语音,然后各个终端设备确定其采集的检测语音的音量信号幅度;服务器根据将每次每个终端设备采集的检测语音的音量信号幅度和预设阈值进行比较,若是该终端设备采集的音量信号幅度大于预设阈值,则说明该终端设备可以采集到其他设备通过扬声器播放的检测语音,可以确定在当前距离下两个终端设备可以产生干扰,通过上述语音测试,确定出可以产生干扰的两个终端设备之间的距离,将该距离确定为上述预设距离。For example, in a multi-terminal voice call, the terminal devices conducting the voice call are respectively recorded as terminal device A, terminal device B, and terminal device C, and the server first controls terminal device A to send a detection voice, which carries the The time stamp of the detection voice is collected. When terminal device B and terminal device C receive the detection voice with time stamp information sent by terminal device A, they will play the detection voice through the speaker. If terminal device A, terminal device B and terminal device When the distance between C is relatively short, the microphones (microphone, MIC) of terminal equipment A, terminal equipment B, and terminal equipment C all collect the detection voices played by terminal equipment B and terminal equipment C through the speakers, and then each terminal equipment determines its collection The volume signal amplitude of the detection voice; when terminal device B receives the detection voice sent by terminal device A, it sends a detection voice with time stamp information to terminal device A and terminal device B, when terminal device A and terminal device B After receiving the detection voice, the detection voice is played through the speaker. If the distance between terminal device A, terminal device B and terminal device C is relatively short, the MICs of terminal device A, terminal device B and terminal device C all collect terminal Device A and terminal device C play the detected voice through the speaker, and then each terminal device determines the volume signal amplitude of the detected voice collected by it; similarly, after terminal device C receives the detected voice sent by terminal device B, it sends Send voice data with time stamp information with terminal device B, when terminal device B and terminal device A receive the detection voice with time stamp information sent by terminal device C, play the detection voice through the speaker, if terminal device A , when the distance between terminal device B and terminal device C is relatively short, the MICs of terminal device A, terminal device B, and terminal device C all collect the detection voice played by terminal device C and terminal device A through the speakers, and then each terminal device determines The volume signal amplitude of the detected voice collected by it; the server compares the volume signal amplitude of the detected voice collected by each terminal device with the preset threshold value. If the volume signal amplitude collected by the terminal device is greater than the preset threshold value, it means The terminal device can collect the detection voice played by other devices through the speaker, and can determine that the two terminal devices can interfere at the current distance. Through the above voice test, the distance between the two terminal devices that can cause interference can be determined. The distance is determined as the aforementioned preset distance.
在本发明实施例中,通过控制各个终端设备向外发送检测语音,以此确定上述预设距离,使得确定的预设距离更符合引起啸叫的距离,准确性较高。In the embodiment of the present invention, the aforementioned preset distance is determined by controlling each terminal device to send out the detection voice, so that the determined preset distance is more in line with the distance causing howling, and the accuracy is higher.
在本发明实施例中,若是采用发送检测语音的方式确定上述预设距离,在进行语音通话的终端设备比较多的情况下,需要每个终端设备均向外发送一次检测语音,并且,每个终端设备均需要采集多次检测语音,操作比较复杂,因此,为了降低操作复杂度,同时兼顾确定结果的准确性,在本发明实施例中,还可以先通过各个终端设备的地理位置信息确定出位于每个终端设备周围预设范围内的终端设备,然后,再通过向外发送检测语音的方式确定上述预设距离。In the embodiment of the present invention, if the above-mentioned preset distance is determined by sending detection voice, in the case of many terminal devices making voice calls, it is necessary for each terminal device to send out a detection voice once, and each The terminal devices need to collect multiple detection voices, and the operation is relatively complicated. Therefore, in order to reduce the operation complexity and take into account the accuracy of the determination results, in the embodiment of the present invention, it is also possible to first determine the location information of each terminal device. The terminal devices located within a preset range around each terminal device then determine the preset distance by sending out detection voices.
在本发明实施例中,若是由第一终端设备确定上述预设距离,则具体包括如下步骤:In the embodiment of the present invention, if the above-mentioned preset distance is determined by the first terminal device, it specifically includes the following steps:
第一终端设备从与其进行语音通话的多个终端设备中确定位于其周围预设范围内的终端设备;第一终端设备获取其采集的检测语音的音量信号幅度;其中,上述检测语音通过第一终端设备及位于第一终端设备周围预设范围内的终端设备的扬声器播放的语音;第一终端设备根据上述音量信号幅度和预设阈值确定上述预设距离。The first terminal device determines a terminal device located within a preset range around it from a plurality of terminal devices with which it conducts a voice call; the first terminal device obtains the volume signal amplitude of the detected voice collected by it; wherein, the detected voice is passed through the first The terminal device and the voice played by the speaker of the terminal device within the preset range around the first terminal device; the first terminal device determines the preset distance according to the volume signal amplitude and the preset threshold.
在该种实施方式中,第一终端设备先根据各个终端设备的地理位置信息确定位于其周围预设范围内的终端设备,然后由第一终端设备及位于第一终端设备周围预设范围内的终端设备按照一定的时间间隔依次向外发送检测语音,当上述各个终端设备接收到检测语音后,通过扬声器播放该检测音,然后由第一终端设备及其他终端设备采集检测语音,第一终端设备根据其采集到的检测语音从位于其周围预设范围内的终端设备中确定其对应的干扰设备。这样,可以使得检测语音测量过程简单化,并且,确定出的上述预设距离准确性较高。In this embodiment, the first terminal device first determines the terminal devices located within the preset range around it according to the geographic location information of each terminal device, and then the first terminal device and the terminal devices located within the preset range around the first terminal device The terminal device sends out the detection voice in sequence according to a certain time interval. When the above-mentioned terminal devices receive the detection voice, they play the detection voice through the speaker, and then the first terminal device and other terminal devices collect the detection voice. The first terminal device The corresponding interference device is determined from the terminal devices located within the preset range around it according to the collected detection voice. In this way, the voice detection and measurement process can be simplified, and the determined preset distance is more accurate.
S104,若对端设备属于第二终端设备,则第一终端设备根据上述采集时间戳、第一语音数据和存储的语音数据,控制第一终端设备的扬声器关闭或者丢弃第一语音数据;其中,上述存储的语音数据为预设时间段内第一终端设备采集的语音数据。S104. If the peer device belongs to the second terminal device, the first terminal device controls the speaker of the first terminal device to turn off or discard the first voice data according to the above-mentioned collected time stamp, first voice data, and stored voice data; wherein, The voice data stored above is voice data collected by the first terminal device within a preset time period.
其中,上述存储的语音数据中存储有第一终端设备采集的语音数据与该语音数据对应的采集时间戳的对应关系。即每次第一终端设备用户在讲话时,第一终端设备将其采集到的语音数据进行存储,并且还会存储该语音数据的采集时间戳。Wherein, the voice data stored above stores a corresponding relationship between the voice data collected by the first terminal device and the collection time stamp corresponding to the voice data. That is, each time the user of the first terminal device speaks, the first terminal device stores the voice data collected by it, and also stores the collection time stamp of the voice data.
在步骤S104中,第一终端设备根据上述采集时间戳、第一语音数据和存储的语音数据,控制第一终端设备的扬声器关闭或者丢弃第一语音数据,具体包括:In step S104, the first terminal device controls the speaker of the first terminal device to turn off or discard the first voice data according to the above-mentioned collected time stamp, first voice data and stored voice data, specifically including:
第一终端设备检测存储的语音数据中是否存在在上述采集时间戳所对应时刻采集的、与第一语音数据相匹配的语音数据;若存在,则控制第一终端设备的扬声器关闭或者丢弃第一语音数据。The first terminal device detects whether there is voice data collected at the time corresponding to the above collection time stamp and matched with the first voice data in the stored voice data; voice data.
当第一终端设备接收到第二终端设备发送的第一语音数据后,对该语音数据进行解调、解码处理,得到该第一语音数据对应的采集时间戳和语音内容,然后第一终端设备将接收到的第一语音数据与其存储的语音数据中的每个语音数据进行匹配,确定上述存储的语音数据中是否存在与第一语音数据对应的采集时间戳一致、且与第一语音数据的语音内容一致的语音数据,若存在,则说明第二终端设备发送的第一语音数据为采集到的第一终端设备用户讲话时的语音数据,这时,第一终端设备为了避免播放其对应用户的讲话内容,或者为了避免产生出现相位相同的声音叠加,这时第一终端设备会丢弃第一语音数据或者控制第一终端设备的扬声器关闭。After the first terminal device receives the first voice data sent by the second terminal device, it demodulates and decodes the voice data to obtain the collection time stamp and voice content corresponding to the first voice data, and then the first terminal device Match the received first voice data with each voice data in its stored voice data, and determine whether there is a collection time stamp corresponding to the first voice data in the above-mentioned stored voice data that is consistent with the first voice data. If the voice data with the same voice content exists, it means that the first voice data sent by the second terminal device is the voice data collected when the user of the first terminal device speaks. At this time, in order to avoid playing the corresponding user’s speech content, or in order to avoid superposition of sounds with the same phase, the first terminal device discards the first voice data or controls the speaker of the first terminal device to turn off.
在本发明实施例中,控制第一终端设备的扬声器关闭实际上则是不通过扬声器播放上述第一语音数据,这样,可以避免产生相位相同的声音的叠加的情况,避免引起啸叫。In the embodiment of the present invention, controlling the loudspeaker of the first terminal device to turn off actually means that the above-mentioned first voice data is not played through the loudspeaker. In this way, the superposition of sounds with the same phase can be avoided, and howling can be avoided.
其中,上述丢弃第一语音数据可以是删除第一语音数据。Wherein, the foregoing discarding of the first voice data may be deleting the first voice data.
在本发明实施例中,通过丢弃与第一终端设备存储的语音列表终端的语音数据一致的第一语音数据或者控制第一终端设备的扬声器关闭的方式,可以避免第一终端设备播放对端设备采集的第一终端设备对应用户所讲的语音内容,避免了多终端语音通话内容混乱以及产生相位相同的声音叠加的情况的发生,从而可以消除由此产生的啸叫。In the embodiment of the present invention, by discarding the first voice data that is consistent with the voice data of the voice list terminal stored by the first terminal device or controlling the speaker of the first terminal device to be turned off, the first terminal device can be prevented from playing the voice of the peer device. The collected first terminal device corresponds to the voice content spoken by the user, which avoids the confusion of multi-terminal voice call content and the occurrence of superposition of sounds with the same phase, so that the resulting howling can be eliminated.
本发明实施例提供的方法,除了包括上述介绍的向第一终端设备发送第一语音数据的对端设备属于第二终端设备的情况之外,还包括上述对端设备不属于第二终端设备的情况,具体包括如下步骤(a)、(b)和(c);The method provided by the embodiment of the present invention includes, in addition to the above-mentioned situation that the peer device that sends the first voice data to the first terminal device belongs to the second terminal device, it also includes the situation that the above-mentioned peer device does not belong to the second terminal device. circumstances, specifically including the following steps (a), (b) and (c);
(a)若上述对端设备不属于第二终端设备,上述第一终端设备检测上述第一语音数据是否包括多个对端设备同时发送的子语音数据。(a) If the peer device does not belong to the second terminal device, the first terminal device detects whether the first voice data includes sub-voice data simultaneously sent by multiple peer devices.
由于每个对端设备发送的语音数据均携带有该对端设备的标识,因此,第一终端设备可以通过接收到的第一语音数据中携带的对端设备的标识的个数,确定第一语音数据中是否包括多个对端设备同时发送的子语音数据。Since the voice data sent by each peer device carries the identifier of the peer device, the first terminal device can determine the first Whether the voice data includes sub-voice data sent by multiple peer devices at the same time.
一个对端设备发送的语音数据记为一个子语音数据。Voice data sent by a peer device is recorded as a sub-voice data.
(b)若上述第一语音数据包括多个对端设备同时发送的子语音数据,第一终端设备检测上述多个对端设备中是否存在满足上述预设条件的至少两个对端设备。(b) If the above-mentioned first voice data includes sub-voice data simultaneously sent by multiple peer devices, the first terminal device detects whether there are at least two peer devices satisfying the above-mentioned preset conditions among the multiple peer devices.
其中,上述预设条件为:对端设备之间的间隔距离小于或等于预设距离,且扬声器处于开启状态。Wherein, the aforementioned preset condition is: the distance between the peer devices is less than or equal to the preset distance, and the speaker is turned on.
(c)若上述多个对端设备中存在满足上述预设条件的至少两个对端设备,上述第一终端设备检测上述至少两个对端设备对应的子语音数据是否为重复的子语音数据;其中,上述重复的子语音数据指的是采集时间戳相同,且子语音数据一致;若是,则上述第一终端设备播放上述重复的子语音数据中的其中一种子语音数据。(c) If there are at least two peer devices that meet the preset conditions among the plurality of peer devices, the first terminal device detects whether the sub-voice data corresponding to the at least two peer devices is repeated sub-voice data ; Wherein, the above-mentioned repeated sub-voice data means that the collection time stamps are the same, and the sub-voice data are consistent; if so, the above-mentioned first terminal device plays one of the above-mentioned repeated sub-voice data.
另外,在本发明实施例中,若是多个对端设备中不存在满足上述预设条件的至少两个对端设备,则第一终端设备直接播放上述第一语音数据中的子语音数据即可。In addition, in the embodiment of the present invention, if there are no at least two peer devices that meet the above preset conditions among the multiple peer devices, the first terminal device can directly play the sub-voice data in the above-mentioned first voice data. .
在本发明实施例中,上述满足预设条件的至少两个对端设备可能为互为产生语音干扰的对端设备,若是上述满足预设条件的至少两个对端设备发送的子语音数据为重复的子语音数据,则说明满足预设条件的至少两个对端设备采集的可能为同一个用户的讲话内容,这时,为了避免重复播放,以及同时播放产生的声音混乱,第一终端设备只播放重复的子语音数据中的一个子语音数据即可。In the embodiment of the present invention, the above-mentioned at least two peer devices that meet the preset conditions may be peer devices that cause voice interference to each other. If the sub-voice data sent by the above-mentioned at least two peer devices that meet the preset conditions is Repeated sub-speech data means that at least two peer devices that meet the preset conditions may be the speech content of the same user. At this time, in order to avoid repeated playback and sound confusion caused by simultaneous playback, the first terminal device Only one sub-speech data among the repeated sub-speech data may be played.
在本发明实施例中,对于确定为重复的子语音数据则只播放重复的子语音数据中的一个子语音即可,这样,避免了重复播放,同时避免了由于同时播放多个相同的子语音数据导致的播放声音混乱等问题。In the embodiment of the present invention, for the repeated sub-voice data, only one sub-voice in the repeated sub-voice data can be played. In this way, repeated playback is avoided, and simultaneous playback of multiple identical sub-voices is avoided. Problems such as confusion of playback sound caused by data.
为了详细介绍上述过程,下述将举例说明上述过程。图3示出了本发明实施例中一种多个终端设备联机通话的示意图,在图3所示的情形中,进行语音通话的终端设备包括终端设备A、终端设备B、终端设备C、终端设备D和终端设备E,且终端设备A、终端设备B之间满足上述预设条件,终端设备C、终端设备D之间满足上述预设条件,即终端设备A和终端设备B之间可能互为干扰设备,终端设备C和终端设备D之间之间可能互为干扰设备,终端设备E与上述任意一个设备均不互为干扰设备。In order to describe the above-mentioned process in detail, the following will illustrate the above-mentioned process with an example. Fig. 3 shows a schematic diagram of an online conversation of multiple terminal devices in an embodiment of the present invention. In the situation shown in Fig. Device D and terminal device E, and the above preset conditions are met between terminal device A and terminal device B, and the above preset conditions are met between terminal device C and terminal device D, that is, there may be mutual interaction between terminal device A and terminal device B. As an interfering device, terminal device C and terminal device D may be mutually interfering devices, and terminal device E and any of the above-mentioned devices are not mutually interfering devices.
依据图3所示的多个终端设备联机通话的示意图,在图3中,终端设备A和终端设备B互为干扰设备,终端设备C和终端设备D互为干扰设备。图4示出了本发明实施例提供的多终端语音通话的方法的第二种方法流程图,图4所示的方法至少包括如下步骤:According to the schematic diagram of multiple terminal devices talking online shown in FIG. 3 , in FIG. 3 , terminal device A and terminal device B are mutually interfering devices, and terminal device C and terminal device D are mutually interfering devices. Fig. 4 shows the second method flow chart of the multi-terminal voice call method provided by the embodiment of the present invention, and the method shown in Fig. 4 includes at least the following steps:
S402,终端设备A、终端设备B、终端设备C、终端设备D和终端设备E之间建立连接后,各个终端设备获取其对应的干扰设备;S402. After the connection is established between the terminal device A, the terminal device B, the terminal device C, the terminal device D, and the terminal device E, each terminal device acquires its corresponding interference device;
S404,各个终端设备开始采集其对应用户的讲话内容,并发送给其对端设备;S404, each terminal device starts to collect the speech content of its corresponding user, and sends it to its peer device;
S406,若终端设备A接收到其对端设备发送的第一语音数据后,检测该对端设备是否为终端设备B;若是,则执行步骤S408;否则,执行步骤S412;S406, if terminal device A receives the first voice data sent by its peer device, detect whether the peer device is terminal device B; if so, execute step S408; otherwise, execute step S412;
S408,在终端设备A中存储的语音数据中查找是否存在在上述采集时间戳所对应时刻采集的、与第一语音数据相匹配的语音数据;若存在,则执行步骤S410;S408, in the voice data stored in the terminal device A, search whether there is voice data collected at the time corresponding to the collection time stamp and matching the first voice data; if it exists, execute step S410;
S410,终端设备A丢弃上述第一语音数据或者终端设备A控制其扬声器关闭;S410, the terminal device A discards the above-mentioned first voice data or the terminal device A controls its speaker to turn off;
S412,终端设备A检测第一语音数据中是否包括多个对端设备同时发送的子语音数据;若是,则执行步骤S414;否则执行步骤S420;S412, the terminal device A detects whether the first voice data includes sub-voice data sent by multiple peer devices at the same time; if so, execute step S414; otherwise execute step S420;
S414,终端设备A检测上述多个对端设备中是否包括终端设备C和终端设备D;若是,则执行步骤S416;S414, the terminal device A detects whether the above-mentioned multiple peer devices include the terminal device C and the terminal device D; if so, execute step S416;
S416,检测终端设备C和终端设备D所对应的子语音数据是否为重复的子语音数据;若是,则执行步骤S418;S416, detecting whether the sub-voice data corresponding to the terminal equipment C and the terminal equipment D is repeated sub-voice data; if so, execute step S418;
S418,只播放终端设备C和终端设备D所对应的子语音数据中的一个;S418, only playing one of the sub-voice data corresponding to the terminal equipment C and the terminal equipment D;
S420,终端设备A播放上述第一语音数据。S420. Terminal device A plays the first voice data.
其中,在图5中的A指的是终端设备A,B指的是终端设备B,C指的是终端设备C,D指的是终端设备D,E指的是终端设备E。Wherein, A in FIG. 5 refers to terminal device A, B refers to terminal device B, C refers to terminal device C, D refers to terminal device D, and E refers to terminal device E.
本发明实施例提供的多终端语音通话的方法,第一终端设备接收到的对端设备发送的第一语音数据中携带该语音数据的采集时间戳,并在接收到第一语音数据后,检测该对端设备是否属于第二终端设备;其中,第二终端设备与第一终端设备满足预设条件,该预设条件包括间隔距离小于或等于预设距离,且扬声器处于开启状态;若上述对端设备属于第二终端设备,则根据接收到的语音数据的采集时间戳、语音数据以及终端设备存储该终端设备采集的存储的语音数据,控制第一终端设备的扬声器关闭或者丢弃第一语音数据;本发明实施例提供的方案,通过在发送的第一语音数据中携带该语音数据的采集时间戳,能够避免使用扬声器播放对端设备采集的该第一终端设备用户的语音数据,从而避免了多终端语音通话内容混乱以及相位相同的声音叠加的情况的发生,从而可以消除啸叫。In the multi-terminal voice call method provided by the embodiment of the present invention, the first voice data sent by the peer device received by the first terminal device carries the collection time stamp of the voice data, and after receiving the first voice data, detects Whether the peer device belongs to the second terminal device; wherein, the second terminal device and the first terminal device meet preset conditions, and the preset conditions include that the separation distance is less than or equal to the preset distance, and the speaker is turned on; if the above pair If the terminal device belongs to the second terminal device, the speaker of the first terminal device is controlled to turn off or discard the first voice data according to the collection time stamp of the received voice data, the voice data, and the stored voice data collected by the terminal device. The solution provided by the embodiment of the present invention, by carrying the collection time stamp of the voice data in the first voice data sent, can avoid using the speaker to play the voice data of the first terminal device user collected by the peer device, thereby avoiding Howling can be eliminated when the contents of multi-terminal voice calls are confused and the sounds with the same phase are superimposed.
基于与本发明实施例提供的多终端语音通话的方法相同的思路,本发明实施例还提供了一种多终端语音通话的装置,应用于第一终端设备,用于执行本发明实施例提供的多终端语音通话的方法,图5为本发明实施例提供的多终端语音通话的装置的结构示意图,图5所示的装置,包括:Based on the same ideas as the multi-terminal voice call method provided by the embodiment of the present invention, the embodiment of the present invention also provides a multi-terminal voice call device, which is applied to the first terminal device and used to execute the method provided by the embodiment of the present invention. For a method for multi-terminal voice calls, FIG. 5 is a schematic structural diagram of a device for multi-terminal voice calls provided by an embodiment of the present invention. The device shown in FIG. 5 includes:
第一检测模块51,用于接收到对端设备发送的第一语音数据后,检测上述对端设备是否属于第二终端设备;其中,上述第一语音数据中携带有上述第一语音数据的采集时间戳;上述第二终端设备为与第一终端设备满足预设条件,该预设条件包括间隔距离小于或等于预设距离,且扬声器处于开启状态;The first detection module 51 is configured to detect whether the above-mentioned peer device belongs to the second terminal device after receiving the first voice data sent by the peer device; wherein, the above-mentioned first voice data carries the collection of the above-mentioned first voice data Timestamp; the second terminal device and the first terminal device meet a preset condition, the preset condition includes that the separation distance is less than or equal to the preset distance, and the speaker is turned on;
控制模块52,用于若上述对端设备属于第二终端设备,则根据上述采集时间戳、上述第一语音数据和存储的语音数据,控制第一终端设备的扬声器关闭或者丢弃第一语音数据;其中,上述存储的语音数据为预设时间段内上述终端设备采集的语音数据。The control module 52 is configured to control the speaker of the first terminal device to turn off or discard the first voice data according to the collection time stamp, the first voice data, and the stored voice data if the peer device belongs to the second terminal device; Wherein, the above-mentioned stored voice data is voice data collected by the above-mentioned terminal device within a preset time period.
可选地,上述控制模块52,包括:Optionally, the above-mentioned control module 52 includes:
第一检测单元,用于检测上述存储的语音数据中是否存在在上述采集时间戳所对应时刻采集的、与上述第一语音数据相匹配的语音数据;A first detection unit, configured to detect whether there is voice data collected at the time corresponding to the collection timestamp and matching the first voice data in the stored voice data;
控制单元,用于在上述存储的语音数据中存在在上述采集时间戳所对应时刻采集的、与上述第一语音数据相匹配的语音数据时,控制所述第一终端设备的扬声器关闭或者丢弃所述第一语音数据。A control unit, configured to control the speaker of the first terminal device to turn off or discard the voice data collected at the time corresponding to the collection time stamp and matching the first voice data in the stored voice data. Describe the first voice data.
可选的,上述装置还包括:Optionally, the above-mentioned device also includes:
第二检测模块,用于若上述对端设备不属于第二终端设备,检测上述第一语音数据是否包括多个对端设备同时发送的子语音数据;The second detection module is used to detect whether the above-mentioned first voice data includes sub-voice data simultaneously sent by multiple peer devices if the above-mentioned peer device does not belong to the second terminal device;
第三检测模块,用于若上述第一语音数据包括多个对端设备同时发送的子语音数据时,检测上述多个对端设备中是否存在满足所述预设条件的至少两个对端设备;A third detection module, configured to detect whether there are at least two peer devices satisfying the preset condition among the plurality of peer devices if the first voice data includes sub-voice data sent simultaneously by multiple peer devices ;
第四检测模块,用于若上述多个对端设备中存在满足上述预设条件的至少两个对端设备,检测上述至少两个对端设备对应的子语音数据是否为重复的子语音数据;其中,上述重复的子语音数据指的是采集时间戳相同,且语音数据一致;The fourth detection module is used to detect whether the sub-speech data corresponding to the at least two peer devices is repeated sub-speech data if there are at least two peer devices that meet the preset conditions among the plurality of peer devices; Wherein, the above-mentioned repeated sub-speech data refers to that the collection time stamps are the same, and the speech data are consistent;
播放模块,用于在上述至少两个对端设备对应的子语音数据为重复的子语音数据时,则播放上述重复的子语音数据中的其中一个子语音数据;A playback module, configured to play one of the sub-voice data in the above-mentioned repeated sub-voice data when the sub-voice data corresponding to the at least two peer devices is repeated sub-voice data;
可选的,上述装置,还包括:Optionally, the above device also includes:
第一确定模块,用于确定第一终端设备对应的第二终端设备列表;A first determining module, configured to determine a list of second terminal devices corresponding to the first terminal device;
上述第一检测模块51,包括:The above-mentioned first detection module 51 includes:
第二检测单元,用于检测第二终端设备列表中是否存在上述对端设备。The second detection unit is configured to detect whether the peer device exists in the second terminal device list.
可选的,上述装置,还包括:Optionally, the above device also includes:
第二确定模块,用于从与上述第一终端设备进行语音通话的多个终端设备中确定位于其周围预设范围内的终端设备;The second determining module is configured to determine a terminal device located within a preset range around it from a plurality of terminal devices having a voice call with the first terminal device;
获取模块,用于获取上述第一终端设备采集的检测语音的音量信号幅度;其中,上述检测语音通过上述第一终端设备及位于上述第一终端设备周围预设范围内的终端设备的扬声器播放的语音;An acquisition module, configured to acquire the volume signal amplitude of the detected voice collected by the first terminal device; wherein, the detected voice is played by the speaker of the first terminal device and a terminal device located within a preset range around the first terminal device voice;
第三确定模块,用于根据上述音量信号幅度和预设阈值确定上述预设距离。The third determining module is configured to determine the above-mentioned preset distance according to the above-mentioned volume signal amplitude and a preset threshold.
本发明实施例提供的多终端语音通话的装置,第一终端设备接收到的对端设备发送的第一语音数据中携带该语音数据的采集时间戳,并在接收到第一语音数据后,检测该对端设备是否属于第二终端设备;其中,第二终端设备与第一终端设备满足预设条件,该预设条件包括间隔距离小于或等于预设距离,且扬声器处于开启状态;若上述对端设备属于第二终端设备,则根据接收到的语音数据的采集时间戳、语音数据以及终端设备存储该终端设备采集的存储的语音数据,控制第一终端设备的扬声器关闭或者丢弃第一语音数据;本发明实施例提供的方案,通过在发送的第一语音数据中携带该语音数据的采集时间戳,能够避免使用扬声器播放对端设备采集的该第一终端设备用户的语音数据,从而避免了多终端语音通话内容混乱以及相位相同的声音叠加的情况的发生,从而可以消除啸叫。In the device for multi-terminal voice calls provided by the embodiment of the present invention, the first voice data sent by the peer device received by the first terminal device carries the collection time stamp of the voice data, and after receiving the first voice data, detects Whether the peer device belongs to the second terminal device; wherein, the second terminal device and the first terminal device meet preset conditions, and the preset conditions include that the separation distance is less than or equal to the preset distance, and the speaker is turned on; if the above pair If the terminal device belongs to the second terminal device, the speaker of the first terminal device is controlled to turn off or discard the first voice data according to the collection time stamp of the received voice data, the voice data, and the stored voice data collected by the terminal device. The solution provided by the embodiment of the present invention, by carrying the collection time stamp of the voice data in the first voice data sent, can avoid using the speaker to play the voice data of the first terminal device user collected by the peer device, thereby avoiding Howling can be eliminated when the contents of multi-terminal voice calls are confused and the sounds with the same phase are superimposed.
图6是本发明各个实施例的一种终端设备的硬件结构示意图。图6所示的终端设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。本领域技术人员可以理解,图6中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Fig. 6 is a schematic diagram of a hardware structure of a terminal device according to various embodiments of the present invention. The terminal device 600 shown in Figure 6 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processing Device 610, and power supply 611 and other components. Those skilled in the art can understand that the structure of the terminal equipment shown in Figure 6 does not constitute a limitation on the terminal equipment, and the terminal equipment may include more or less components than those shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
在本发明实施例中,存储器609内存储有计算机程序,该计算机程序被处理器610执行时,能够实现如下步骤:In the embodiment of the present invention, a computer program is stored in the memory 609, and when the computer program is executed by the processor 610, the following steps can be implemented:
第一终端设备接收到对端设备发送的第一语音数据后,检测上述对端设备是否属于第二终端设备;其中,上述第一语音数据中携带有上述第一语音数据的采集时间戳;上述第二终端设备与第一终端设备满足预设条件,上述预设条件包括间隔距离小于或等于预设距离,且扬声器处于开启状态;After the first terminal device receives the first voice data sent by the peer device, it detects whether the peer device belongs to the second terminal device; wherein, the first voice data carries the collection time stamp of the first voice data; the above The second terminal device and the first terminal device meet a preset condition, and the preset condition includes that the separation distance is less than or equal to the preset distance, and the speaker is turned on;
若是,则上述第一终端设备根据上述采集时间戳、上述第一语音数据和存储的语音数据,控制第一终端设备的扬声器关闭或者丢弃第一语音数据;其中,上述存储的语音数据为预设时间段内第一终端设备采集的语音数据。If so, the first terminal device controls the speaker of the first terminal device to turn off or discard the first voice data according to the above-mentioned acquisition time stamp, the first voice data and the stored voice data; wherein, the stored voice data is preset Voice data collected by the first terminal device within the time period.
可选地,计算机程序被处理器610执行时,上述第一终端设备根据上述采集时间戳、上述语音数据和存储的语音数据,控制第一终端设备的扬声器关闭或者丢弃第一语音数据,包括:Optionally, when the computer program is executed by the processor 610, the above-mentioned first terminal device controls the speaker of the first terminal device to turn off or discard the first voice data according to the above-mentioned collection time stamp, the above-mentioned voice data and the stored voice data, including:
上述第一终端设备检测上述存储的语音数据中是否存在在上述采集时间戳所对应时刻采集的、与上述第一语音数据相匹配的语音数据;The first terminal device detects whether there is voice data collected at the time corresponding to the collection timestamp and matching the first voice data in the stored voice data;
若存在,则控制第一终端设备的扬声器关闭或者丢弃第一语音数据。If it exists, control the speaker of the first terminal device to turn off or discard the first voice data.
可选地,计算机程序被处理器610执行时,上述方法还包括:Optionally, when the computer program is executed by the processor 610, the above method further includes:
若上述对端设备不属于对其产生干扰的第二终端设备,上述第一终端设备检测上述第一语音数据是否包括多个对端设备同时发送的子语音数据;If the peer device does not belong to the second terminal device that interferes with it, the first terminal device detects whether the first voice data includes sub-voice data simultaneously sent by multiple peer devices;
若是,上述第一终端设备检测上述多个对端设备中是否存在满足上述预设条件的至少两个对端设备;If yes, the first terminal device detects whether there are at least two peer devices that meet the preset conditions among the plurality of peer devices;
若存在,则上述第一终端设备检测上述至少两个对端设备对应的子语音数据是否为重复的子语音数据;其中,上述重复的子语音数据指的是采集时间戳相同,且子语音数据一致;若是,则上述第一终端设备播放上述重复的子语音数据中的其中一个子语音数据。If it exists, the above-mentioned first terminal device detects whether the sub-voice data corresponding to the at least two peer devices is repeated sub-voice data; wherein, the above-mentioned repeated sub-voice data refers to that the collection time stamps are the same, and the sub-voice data consistent; if yes, the first terminal device plays one of the sub-voice data in the repeated sub-voice data.
可选地,计算机程序被处理器610执行时,上述第一终端设备接收到对端设备发送的第一语音数据后,检测上述对端设备是否属于第二终端设备之前,上述方法还包括:Optionally, when the computer program is executed by the processor 610, after the first terminal device receives the first voice data sent by the peer device, before detecting whether the peer device belongs to the second terminal device, the method further includes:
确定上述第一终端设备对应的第二终端设备列表;determining a list of second terminal devices corresponding to the first terminal device;
相应的,上述检测上述对端设备是否属于第二终端设备,包括:Correspondingly, the above-mentioned detection of whether the peer device belongs to the second terminal device includes:
检测上述第二终端设备列表中是否存在上述对端设备。Detecting whether the above peer device exists in the above second terminal device list.
可选地,计算机程序被处理器610执行时,上述预设距离通过如下方式确定,:Optionally, when the computer program is executed by the processor 610, the aforementioned preset distance is determined in the following manner:
上述第一终端设备从与其进行语音通话的多个终端设备中确定位于其周围预设范围内的终端设备;The above-mentioned first terminal device determines a terminal device located within a preset range around it from a plurality of terminal devices having a voice call with it;
上述第一终端设备获取其采集的检测语音的音量信号幅度;其中,上述检测语音通过上述第一终端设备及位于上述第一终端设备周围预设范围内的终端设备的扬声器播放的语音;The above-mentioned first terminal device obtains the volume signal amplitude of the detected voice collected by it; wherein, the above-mentioned detected voice is played through the above-mentioned first terminal device and the speaker of the terminal device located within the preset range around the first terminal device;
上述第一终端设备根据上述音量信号幅度和预设阈值确定上述预设距离。The first terminal device determines the preset distance according to the volume signal amplitude and a preset threshold.
本发明实施例提供的终端设备,第一终端设备接收到的对端设备发送的第一语音数据中携带该语音数据的采集时间戳,并在接收到第一语音数据后,检测该对端设备是否属于第二终端设备;其中,第二终端设备与第一终端设备满足预设条件,该预设条件包括间隔距离小于或等于预设距离,且扬声器处于开启状态;若上述对端设备属于第二终端设备,则根据接收到的语音数据的采集时间戳、语音数据以及终端设备存储该终端设备采集的存储的语音数据,控制第一终端设备的扬声器关闭或者丢弃第一语音数据;本发明实施例提供的方案,通过在发送的第一语音数据中携带该语音数据的采集时间戳,能够避免使用扬声器播放对端设备采集的该第一终端设备用户的语音数据,从而避免了多终端语音通话内容混乱以及相位相同的声音叠加的情况的发生,从而可以消除啸叫。In the terminal device provided by the embodiment of the present invention, the first voice data sent by the peer device received by the first terminal device carries the collection timestamp of the voice data, and detects the peer device after receiving the first voice data Whether it belongs to the second terminal device; wherein, the second terminal device and the first terminal device meet the preset conditions, and the preset conditions include that the distance between the second terminal device and the first terminal device is less than or equal to the preset distance, and the speaker is on; if the above-mentioned peer device belongs to the first The second terminal device controls the loudspeaker of the first terminal device to turn off or discard the first voice data according to the collection time stamp of the received voice data, the voice data, and the terminal device stores the stored voice data collected by the terminal device; the present invention implements In the solution provided by the example, by carrying the collection time stamp of the voice data in the first voice data sent, it is possible to avoid using the speaker to play the voice data of the user of the first terminal device collected by the peer device, thereby avoiding multi-terminal voice calls Content confusion and superposition of sounds with the same phase occur, so howling can be eliminated.
应理解的是,本发明实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 610; in addition, the Uplink data is sent to the base station. Generally, the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.
终端设备通过网络模块602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 602, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与终端设备600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Moreover, the audio output unit 603 may also provide audio output related to a specific function performed by the terminal device 600 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元606上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。The input unit 604 is used for receiving audio or video signals. The input unit 604 may include a graphics processing unit (Graphics Processing Unit, GPU) 6041 and a microphone 6042, and the graphics processing unit 6041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 606 . The image frames processed by the graphics processor 6041 may be stored in the memory 609 (or other storage media) or sent via the radio frequency unit 601 or the network module 602 . The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 601 for output in the case of a phone call mode.
终端设备600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6061的亮度,接近传感器可在终端设备600移动到耳边时,关闭显示面板6061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 6061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of terminal equipment (such as horizontal and vertical screen switching, related games) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 605 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元606用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括显示面板6061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板6061。The display unit 606 is used to display information input by the user or information provided to the user. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元607可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器610,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 607 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072 . The touch panel 6071, also referred to as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 6071 or near the touch panel 6071). operate). The touch panel 6071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 610, receive the command sent by the processor 610 and execute it. In addition, the touch panel 6071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 6071 , the user input unit 607 may also include other input devices 6072 . Specifically, other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板6071可覆盖在显示面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板6061上提供相应的视觉输出。虽然在图6中,触控面板6071与显示面板6061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板6071与显示面板6061集成而实现终端设备的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 6071 can be covered on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near it, it will be sent to the processor 610 to determine the type of the touch event, and then the processor 610 can The type of event provides a corresponding visual output on the display panel 6061. Although in FIG. 6, the touch panel 6071 and the display panel 6061 are used as two independent components to realize the input and output functions of the terminal device, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated The implementation of the input and output functions of the terminal device is not specifically limited here.
接口单元608为外部装置与终端设备600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元608可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备600内的一个或多个元件或者可以用于在终端设备600和外部装置之间传输数据。The interface unit 608 is an interface for connecting an external device to the terminal device 600 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 608 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 609 can be used to store software programs as well as various data. The memory 609 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 609 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器610是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器610可包括一个或多个处理单元;优选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。The processor 610 is the control center of the terminal equipment, and uses various interfaces and lines to connect various parts of the entire terminal equipment, by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609 , execute various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 610 .
终端设备600还可以包括给各个部件供电的电源611(比如电池),优选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 600 can also include a power supply 611 (such as a battery) for supplying power to various components. Preferably, the power supply 611 can be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
另外,终端设备600包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 600 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种终端设备,包括处理器610,存储器609,存储在存储器609上并可在所述处理器610上运行的计算机程序,该计算机程序被处理器610执行时实现上述多终端语音通话的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a terminal device, including a processor 610, a memory 609, and a computer program stored in the memory 609 and operable on the processor 610. When the computer program is executed by the processor 610 The various processes of the embodiment of the method for implementing the above-mentioned multi-terminal voice call can achieve the same technical effect, so to avoid repetition, details are not described here.
进一步地,本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述多终端语音通话的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(RandomAccess Memory,简称RAM)、磁碟或者光盘等。Furthermore, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned multi-terminal voice call method embodiment is implemented, And can achieve the same technical effect, in order to avoid repetition, no more details here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive. Those of ordinary skill in the art will Under the enlightenment of the present invention, many forms can also be made without departing from the gist of the present invention and the protection scope of the claims, all of which belong to the protection of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810205412.7A CN108551534B (en) | 2018-03-13 | 2018-03-13 | Method and device for multi-terminal voice call |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810205412.7A CN108551534B (en) | 2018-03-13 | 2018-03-13 | Method and device for multi-terminal voice call |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108551534A true CN108551534A (en) | 2018-09-18 |
CN108551534B CN108551534B (en) | 2020-02-11 |
Family
ID=63516239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810205412.7A Active CN108551534B (en) | 2018-03-13 | 2018-03-13 | Method and device for multi-terminal voice call |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108551534B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109658945A (en) * | 2018-12-19 | 2019-04-19 | Oppo广东移动通信有限公司 | Howling prevention method, howling prevention device, electronic equipment and storage medium |
CN109951593A (en) * | 2019-03-28 | 2019-06-28 | 维沃移动通信有限公司 | A kind of processing method of voice whistling and mobile terminal |
CN111724811A (en) * | 2019-03-21 | 2020-09-29 | 成都鼎桥通信技术有限公司 | Squeaking identification method and device based on subaudio frequency |
CN111756723A (en) * | 2020-06-19 | 2020-10-09 | 北京联想软件有限公司 | Audio processing method, device and device applied to multi-party call |
CN111755003A (en) * | 2020-06-23 | 2020-10-09 | 北京联想软件有限公司 | Voice interaction realization method and device and electronic equipment |
CN111800552A (en) * | 2020-06-30 | 2020-10-20 | 联想(北京)有限公司 | Audio output processing method, device and system and electronic equipment |
CN114387986A (en) * | 2021-11-25 | 2022-04-22 | 杭州网易智企科技有限公司 | Audio processing method, medium, device and computing equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1964405A (en) * | 2006-11-30 | 2007-05-16 | 华为技术有限公司 | A method to eliminate echo number-receiving and conference system |
CN101933306A (en) * | 2007-12-31 | 2010-12-29 | 阿尔卡特朗讯美国公司 | Method and apparatus for detecting and suppressing echo in a packet network |
GB2477156A (en) * | 2010-01-25 | 2011-07-27 | Iml Ltd | Reducing feedback between adjacent handsets in a communication system |
CN104301487A (en) * | 2014-09-30 | 2015-01-21 | 成都英博联宇科技有限公司 | Intelligent conference telephone set with feature recognition function |
CN104394286A (en) * | 2014-08-27 | 2015-03-04 | 贵阳朗玛信息技术股份有限公司 | Echo cancellation method and device |
CN104811567A (en) * | 2014-01-23 | 2015-07-29 | 杭州乐哈思智能科技有限公司 | System and method for carrying out acoustic echo cancellation on two-way duplex hands-free voice of VOIP (voice over internet protocol) system |
CN105103227A (en) * | 2013-03-15 | 2015-11-25 | 英特尔公司 | Mechanism for facilitating dynamic adjustment of audio input/output (I/O) setting devices at conferencing computing devices |
CN106100676A (en) * | 2016-06-07 | 2016-11-09 | 海能达通信股份有限公司 | Control method, user terminal and the interphone terminal of audio frequency output |
CN106341563A (en) * | 2015-07-06 | 2017-01-18 | 北京视联动力国际信息技术有限公司 | Terminal communication based echo suppression method and device |
-
2018
- 2018-03-13 CN CN201810205412.7A patent/CN108551534B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1964405A (en) * | 2006-11-30 | 2007-05-16 | 华为技术有限公司 | A method to eliminate echo number-receiving and conference system |
CN101933306A (en) * | 2007-12-31 | 2010-12-29 | 阿尔卡特朗讯美国公司 | Method and apparatus for detecting and suppressing echo in a packet network |
GB2477156A (en) * | 2010-01-25 | 2011-07-27 | Iml Ltd | Reducing feedback between adjacent handsets in a communication system |
CN105103227A (en) * | 2013-03-15 | 2015-11-25 | 英特尔公司 | Mechanism for facilitating dynamic adjustment of audio input/output (I/O) setting devices at conferencing computing devices |
CN104811567A (en) * | 2014-01-23 | 2015-07-29 | 杭州乐哈思智能科技有限公司 | System and method for carrying out acoustic echo cancellation on two-way duplex hands-free voice of VOIP (voice over internet protocol) system |
CN104394286A (en) * | 2014-08-27 | 2015-03-04 | 贵阳朗玛信息技术股份有限公司 | Echo cancellation method and device |
CN104301487A (en) * | 2014-09-30 | 2015-01-21 | 成都英博联宇科技有限公司 | Intelligent conference telephone set with feature recognition function |
CN106341563A (en) * | 2015-07-06 | 2017-01-18 | 北京视联动力国际信息技术有限公司 | Terminal communication based echo suppression method and device |
CN106100676A (en) * | 2016-06-07 | 2016-11-09 | 海能达通信股份有限公司 | Control method, user terminal and the interphone terminal of audio frequency output |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109658945A (en) * | 2018-12-19 | 2019-04-19 | Oppo广东移动通信有限公司 | Howling prevention method, howling prevention device, electronic equipment and storage medium |
CN109658945B (en) * | 2018-12-19 | 2020-12-11 | Oppo广东移动通信有限公司 | Method, device, electronic device and storage medium for preventing howling |
CN111724811A (en) * | 2019-03-21 | 2020-09-29 | 成都鼎桥通信技术有限公司 | Squeaking identification method and device based on subaudio frequency |
CN111724811B (en) * | 2019-03-21 | 2023-01-24 | 成都鼎桥通信技术有限公司 | Squeaking identification method and device based on subaudio frequency |
CN109951593A (en) * | 2019-03-28 | 2019-06-28 | 维沃移动通信有限公司 | A kind of processing method of voice whistling and mobile terminal |
CN111756723A (en) * | 2020-06-19 | 2020-10-09 | 北京联想软件有限公司 | Audio processing method, device and device applied to multi-party call |
US11477326B2 (en) | 2020-06-19 | 2022-10-18 | Beijing Lenovo Software Ltd. | Audio processing method, device, and apparatus for multi-party call |
CN111755003A (en) * | 2020-06-23 | 2020-10-09 | 北京联想软件有限公司 | Voice interaction realization method and device and electronic equipment |
CN111755003B (en) * | 2020-06-23 | 2023-10-31 | 北京联想软件有限公司 | Voice interaction implementation method and device and electronic equipment |
CN111800552A (en) * | 2020-06-30 | 2020-10-20 | 联想(北京)有限公司 | Audio output processing method, device and system and electronic equipment |
CN114387986A (en) * | 2021-11-25 | 2022-04-22 | 杭州网易智企科技有限公司 | Audio processing method, medium, device and computing equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108551534B (en) | 2020-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108551534B (en) | Method and device for multi-terminal voice call | |
US20200257433A1 (en) | Display method and mobile terminal | |
CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
CN107770760A (en) | A kind of method and mobile terminal of the type for identifying bluetooth equipment | |
CN108074574A (en) | Audio-frequency processing method, device and mobile terminal | |
CN110062104A (en) | Application program launching method, device and mobile terminal | |
CN108989558A (en) | Method and device for terminal communication | |
CN108668024A (en) | A voice processing method and terminal | |
CN109994111A (en) | An interaction method, device and mobile terminal | |
CN107743178A (en) | A message playing method and mobile terminal | |
CN108848267A (en) | Audio frequency playing method and mobile terminal | |
CN108521501A (en) | Voice input method and mobile terminal | |
CN107835495A (en) | A kind of message prompt method, device and mobile terminal | |
CN107786751A (en) | A kind of method for broadcasting multimedia file and mobile terminal | |
CN108307048B (en) | Message output method and device and mobile terminal | |
CN108093119B (en) | Strange incoming call number marking method and mobile terminal | |
CN109982273A (en) | A kind of information replying method and mobile terminal | |
CN109979473A (en) | A kind of call sound processing method and device, terminal device | |
CN109639738A (en) | Voice data transmission method and terminal device | |
CN109543193B (en) | A translation method, device and terminal equipment | |
WO2021098708A1 (en) | Calling method, and terminal apparatus | |
CN108319440A (en) | Audio-frequency inputting method and mobile terminal | |
CN108650392A (en) | A kind of call recording method and mobile terminal | |
CN107872584A (en) | A multimedia processing method, multimedia equipment and terminal | |
CN110839108A (en) | Noise reduction method and electronic equipment |
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 |