Method and system for eliminating noise in analog telephone sound channel switching

文档序号:1188154 发布日期:2020-09-22 浏览:37次 中文

阅读说明:本技术 一种应用于模拟电话机声道切换中杂音消除的方法和系统 (Method and system for eliminating noise in analog telephone sound channel switching ) 是由 雷俊智 于 2020-07-02 设计创作,主要内容包括:本发明提供了一种应用于模拟电话机声道切换中杂音消除的方法和系统。通过在模拟电话机系统构建本方法和系统,针对话机本地进行平台放音(第三方放音)的状态进行识别,继续在平台放音间隙插播本地默认音频(如舒适噪音音频等),实现模拟话机本地声道(音频源焦点)不切换,避免声道切换过程中的电流杂音异响。(The invention provides a method and a system for eliminating noise in the sound channel switching of an analog telephone. The method and the system are constructed in the analog telephone system, the platform playback state (third party playback) of the local telephone is identified, the local default audio (such as comfortable noise audio and the like) is continuously inserted in the platform playback gap, the local channel (audio source focus) of the analog telephone is not switched, and the current noise and abnormal sound in the channel switching process are avoided.)

1. A method and system for eliminating noise in analog telephone sound channel switching is characterized in that: the method and the system are constructed in the analog telephone system, the platform playback state (third party playback) of the local telephone is identified, the local default audio (such as comfortable noise audio and the like) is continuously inserted in the platform playback gap, the local channel (audio source focus) of the analog telephone is not switched, and the current noise and abnormal sound in the channel switching process are avoided.

2. The method and the system comprise a third party playback module and a control flow related to a call and playback management module.

3. The method and system of claim 1 for noise cancellation in channel switching of analog telephones, wherein: the third party playback module is a playback module constructed in the analog telephone system.

4. In the process of the telephone conversation, the designated external or local audio sources are orderly played to the voice channel of the telephone, so that the user at the opposite end of the telephone can conveniently hear the audio content of the third party.

5. The method and system of claim 1 for noise cancellation in channel switching of analog telephones, wherein: the call and playback management module monitors the local call state of the phone and the playback state of the third party playback module, realizes that the channel (audio source focus) is switched to the playback channel of the third party when the phone call starts, and inserts the local default audio (such as comfortable noise audio) of the phone into the sectional playback gap of the third party, thereby ensuring that the current local playback channel (audio focus) is not switched in the sectional playback gap of the third party, and avoiding current noise and abnormal sound in the switching process.

6. The method and system of claim 1 for noise cancellation in channel switching of analog telephones, wherein: the main control flow is as follows: 1) the call and playback management module monitors the call state of the phone, and immediately informs a third party playback module to play local default audio (such as comfortable noise audio) of the phone when the call is started, so that the current playback channel (audio source focus) of the phone is switched to the playback channel played by the third party; 2) the call and playback management module monitors the third party playback module, stops playing local default audio when receiving an external playback notification, instructs the third party playback module to play external audio, and keeps the current playback channel (audio source focus) of the phone in the playback channel played by the third party; 3) the third party playback module plays external audio; 4) when the calling and playback management module recognizes that the external playback of the third party playback module is finished, the third party playback module is immediately informed to play the local default audio (such as comfortable noise audio) of the telephone, and the current playback channel (audio source focus) of the telephone is continuously kept in the playback channel played by the third party after the external playback is finished; 5) and returning to the 2) cycle when the external sound-playing notice is continuously received until the conversation and the sound playing are finished.

Technical Field

The invention relates to the technical field of computers and communication, in particular to a method and a system for eliminating noise in sound channel switching of an analog telephone.

Background

At present, new technologies such as artificial intelligence and the like are gradually mature, and voice artificial intelligence services are being developed and developed. The voice artificial intelligence service based on the traditional analog telephone (fixed telephone) is also widely regarded and primarily applied. However, due to the basic requirements and limitations of the analog telephone related systems, when platform sound reproduction (third party sound reproduction) is performed during a call, a sound channel (audio source focus) is switched between a local sound channel (such as a microphone sound channel) of the telephone and a platform sound reproduction channel, so that current noise is generated during the sound channel switching process, and a user at the opposite end of the analog telephone hears more obvious sound reproduction start-stop abnormal sound, which greatly affects user experience. There is a need for a new method and system for controlling channel switching to eliminate current noise in analog telephone channel switching and to improve fluency and naturalness in the user's voice interaction process.

Disclosure of Invention

The invention provides a method and a system for eliminating noise in the sound channel switching of an analog telephone. The method and the system are constructed in the analog telephone system, the platform playback state (third party playback) of the local telephone is identified, the local default audio (such as comfortable noise audio and the like) is continuously inserted in the platform playback gap, the local channel (audio source focus) of the analog telephone is not switched, and the current noise and abnormal sound in the channel switching process are avoided. The method and the system comprise a third party playback module and a control flow related to a call and playback management module.

The third party playback module is a playback module constructed in the analog telephone system. In the process of the telephone conversation, the designated external or local audio sources are orderly played to the voice channel of the telephone, so that the user at the opposite end of the telephone can conveniently hear the audio content of the third party.

The call and playback management module monitors the local call state of the phone and the playback state of the third party playback module, realizes that the channel (audio source focus) is switched to the playback channel of the third party when the phone call starts, and inserts the local default audio (such as comfortable noise audio) of the phone into the sectional playback gap of the third party, thereby ensuring that the current local playback channel (audio focus) is not switched in the sectional playback gap of the third party, and avoiding current noise and abnormal sound in the switching process.

The main control flow is as follows: 1) the call and playback management module monitors the call state of the phone, and immediately informs a third party playback module to play local default audio (such as comfortable noise audio) of the phone when the call is started, so that the current playback channel (audio source focus) of the phone is switched to the playback channel played by the third party; 2) the call and playback management module monitors the third party playback module, stops playing local default audio when receiving an external playback notification, instructs the third party playback module to play external audio, and keeps the current playback channel (audio source focus) of the phone in the playback channel played by the third party; 3) the third party playback module plays external audio; 4) when the calling and playback management module recognizes that the external playback of the third party playback module is finished, the third party playback module is immediately informed to play the local default audio (such as comfortable noise audio) of the telephone, and the current playback channel (audio source focus) of the telephone is continuously kept in the playback channel played by the third party after the external playback is finished; 5) and returning to the 2) cycle when the external sound-playing notice is continuously received until the conversation and the sound playing are finished.

Drawings

FIG. 1 is a block diagram of a method and system for noise cancellation in channel switching for analog telephones.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1, in an embodiment of the present invention, a method and a system for noise cancellation in audio channel switching of an analog telephone include a third party playback module (1), a call and playback management module (2), and a main control flow.

The third party playback module (1) is a playback module constructed in an analog telephone system. In the process of the telephone conversation, the designated external or local audio sources are orderly played to the voice channel of the telephone, so that the user at the opposite end of the telephone can conveniently hear the audio content of the third party.

The call and playback management module (2) monitors the local call state of the phone and the playback state of the third party playback module, realizes that the channel (audio source focus) is switched to the playback channel of the third party when the phone call starts, and inserts the local default audio (such as comfortable noise audio) of the phone into the sectional playback gap of the third party, thereby ensuring that the current local playback channel (audio focus) is not switched in the sectional playback gap of the third party, and avoiding current noise and abnormal sound in the switching process.

The main control flow is as follows: 1) the call and playback management module monitors the call state of the phone, and immediately informs a third party playback module to play local default audio (such as comfortable noise audio) of the phone when the call is started, so that the current playback channel (audio source focus) of the phone is switched to the playback channel played by the third party; 2) the call and playback management module monitors the third party playback module, stops playing local default audio when receiving an external playback notification, instructs the third party playback module to play external audio, and keeps the current playback channel (audio source focus) of the phone in the playback channel played by the third party; 3) the third party playback module plays external audio; 4) when the calling and playback management module recognizes that the external playback of the third party playback module is finished, the third party playback module is immediately informed to play the local default audio (such as comfortable noise audio) of the telephone, and the current playback channel (audio source focus) of the telephone is continuously kept in the playback channel played by the third party after the external playback is finished; 5) and returning to the 2) cycle when the external sound-playing notice is continuously received until the conversation and the sound playing are finished.

5页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:图像处理装置、图像处理系统及非暂时性记录介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!