Automatic wired and wireless voice switching device and conversation method thereof

文档序号:52861 发布日期:2021-09-28 浏览:33次 中文

阅读说明:本技术 一种话音有线无线自动转接装置及其通话方法 (Automatic wired and wireless voice switching device and conversation method thereof ) 是由 易中立 王姗姗 刘胜利 房研军 郑欣蕊 谢成鹏 王标 李明轩 彭有峰 于 2021-08-30 设计创作,主要内容包括:本发明提出了一种话音有线无线自动转接装置及其通话方法,所述转接装置连接于有线电话和双工电台之间,其包括DSP处理器,依次相连的摘挂机开关、自适应滤波器和二四线转换器,及与摘挂机开关相连的受话器和送话器,所述送话器输出端通过振铃检测模块与DSP处理器连接,所述二四线转换器与双工电台相连,且在两者之间通过DTMF检测模块与DSP处理器连接,所述DSP处理器的两输出端分别与摘挂机开关和双工电台相连,用于根据振铃检测信号和DTMF检测信号分别对所述摘挂机开关和双工电台进行控制。本发明自动化程度高,操作方便,能够显著提高噪声的区别能力,增强系统的整体通话性能。(The invention provides a voice wired and wireless automatic switching device and a conversation method thereof, wherein the switching device is connected between a wired telephone and a duplex radio station and comprises a DSP (digital signal processor), an on-hook switch, an adaptive filter, a two-four-wire converter and a receiver and a transmitter which are connected with the on-hook switch in sequence, wherein the output end of the transmitter is connected with the DSP through a ringing detection module, the two-four-wire converter is connected with the duplex radio station and is connected with the DSP through a DTMF (dual tone frequency) detection module, and the two output ends of the DSP are respectively connected with the on-hook switch and the duplex radio station and are used for respectively controlling the on-hook switch and the duplex radio station according to a ringing detection signal and a DTMF detection signal. The invention has high automation degree and convenient operation, can obviously improve the distinguishing capability of noise and enhance the overall conversation performance of the system.)

1. The automatic switching device for the wired and wireless voice is connected between a wired telephone and a duplex radio station and is characterized by comprising a DSP (digital signal processor), an on-hook switch, an adaptive filter, a two-four-wire converter, a receiver and a transmitter, wherein the on-hook switch, the adaptive filter and the two-four-wire converter are sequentially connected, the receiver and the transmitter are connected with the on-hook switch, the output end of the transmitter is connected with the DSP through a ringing detection module, the two-four-wire converter is connected with the duplex radio station and is connected with the DSP through a DTMF (dual frequency) detection module, and the two output ends of the DSP are respectively connected with the on-hook switch and the duplex radio station and are used for respectively controlling the on-hook switch and the duplex radio station according to ringing detection signals and DTMF detection signals.

2. The voice wired-wireless automatic switching device according to claim 1, wherein said duplex radio station includes a duplexer, and a receiver and a transmitter connected to said duplexer, wherein said receiver output terminal is connected to an input terminal of a two-four-wire converter, said transmitter input terminal is connected to an output terminal of the two-four-wire converter, and said transmitter is connected to an output terminal of the PTT control module, and said duplexer is communicatively connected to the mobile radio station through an antenna.

3. A conversation method of the voice wired-wireless automatic transfer apparatus according to claim 1 or 2, comprising the steps of:

receiving a voice signal input by a transmitter;

judging the voice signal through a ringing detection module to obtain a judgment result;

turning on or turning off a hook switch according to the judgment result;

when the on-hook switch is turned on, the transmitter is turned on through the PTT control module, after voice signals are filtered by the self-adaptive filter and return voice, two-line voice is converted into four-line voice through the two-four-line converter, and then wireless transmission is carried out through the antenna connected with the duplexer.

4. The method as claimed in claim 3, wherein the determining the voice signal by the ringing detection module comprises:

detecting whether the power of the voice signal exceeds a threshold value and calculating the duration of exceeding the threshold value;

and if the duration time exceeding the threshold value is longer than the set time, judging the voice signal to be normal, otherwise, judging the voice signal to be noise.

5. The method of claim 4, further comprising adjusting the threshold according to a short-time zero-crossing rate of the voice signal, wherein the short-time zero-crossing rate is a number of times that the waveform of the voice signal crosses a zero level per unit time.

6. The conversation method of the voice wired/wireless automatic transfer device according to claim 3, further comprising:

receiving, by a receiver, a DTMF signal from a mobile station;

identifying the coding type of the DTMF signal through a DTMF detection module;

and when the first signaling is identified, receiving the complete DTMF signal, turning on an on-hook switch and butting with the target telephone corresponding to the DTMF signal, and turning on a transmitter to return a continuing signal to the mobile radio station.

7. The method of claim 6, wherein when the second signaling is recognized, the transmitter is turned on by the PTT control module, and the inter-station talkback is performed in an inter-frequency simplex manner.

8. The method of claim 6, wherein when the third signaling is identified, the transmitter is turned off by the PTT control module, and the inter-station talkback is performed in a same-frequency simplex manner.

Technical Field

The invention relates to the technical field of communication, in particular to a voice wired and wireless automatic switching device and a communication method thereof.

Background

The voice switching between the radio station and the wired telephone is widely applied to voice scheduling of harbor wharfs, SSBRT (service provisioning for broadcasting) services of coastal radio stations, voice scheduling of emergency command communication and the like. When a ship sailing on the sea needs to be in contact with the land, calling a nearby coast radio station, manually switching by the coast radio station, and connecting a shipway to a telephone switching network to realize interconnection and intercommunication between the shipway and a land wired telephone; the emergency communication commander realizes interconnection of the telephone and the short wave, interconnection of the telephone and the ultrashort wave and interconnection of the short wave and the ultrashort wave through the voice dispatching desk.

At present, voice switching between a wired telephone and a radio station is realized through a voice dispatching desk, manual operation is needed, an operator is needed to watch, and automation of the voice switching is not realized. In addition, the problems of low voice transfer reliability and poor communication quality exist in the conversation process.

Disclosure of Invention

In view of the above problems, the present invention provides a wired and wireless automatic voice transfer device and a method thereof.

In order to solve the technical problems, the invention adopts the technical scheme that: the utility model provides a wired wireless automatic switching device of voice, connects between wired telephone and duplex radio station, switching device includes the DSP treater, consecutive off-hook switch, adaptive filter and two four-wire converters, and receiver and the transmitter that links to each other with the off-hook switch, the transmitter output passes through the ringing detection module and is connected with the DSP treater, two four-wire converters link to each other with the duplex radio station, and are connected with the DSP treater through DTMF detection module between the two, two output of DSP treater link to each other with off-hook switch and duplex radio station respectively for it is right respectively according to ringing detection signal and DTMF detection signal off-hook switch and duplex radio station control.

As the preferred scheme, the duplex radio station comprises a duplexer, a receiver and a transmitter, wherein the receiver and the transmitter are connected with the duplexer, the output end of the receiver is connected with the input end of the two-four-wire converter, the input end of the transmitter is connected with the output end of the two-four-wire converter, the transmitter is connected with the output end of the PTT control module, and the duplexer is in communication connection with the mobile radio station through an antenna.

The invention also discloses a conversation method of the voice wired and wireless automatic switching device, which comprises the following steps: receiving a voice signal input by a transmitter; judging the voice signal through a ringing detection module to obtain a judgment result; turning on or turning off a hook switch according to the judgment result; when the on-hook switch is turned on, the transmitter is turned on through the PTT control module, after voice signals are filtered by the self-adaptive filter and return voice, two-line voice is converted into four-line voice through the two-four-line converter, and then wireless transmission is carried out through the antenna connected with the duplexer.

As a preferred scheme, the determining a voice signal through a ringing detection module includes: detecting whether the power of the voice signal exceeds a threshold value and calculating the duration of exceeding the threshold value; and if the duration time exceeding the threshold value is longer than the set time, judging the voice signal to be normal, otherwise, judging the voice signal to be noise.

Preferably, the method further comprises adjusting the threshold according to a short-time zero-crossing rate of the voice signal, wherein the short-time zero-crossing rate is the number of times that the signal waveform passes through a zero level in a unit time.

Preferably, the method further comprises the following steps: receiving, by a receiver, a DTMF signal from a mobile station; identifying the coding type of the DTMF signal through a DTMF detection module; and when the first signaling is identified, receiving the complete DTMF signal, turning on an on-hook switch and butting with the target telephone corresponding to the DTMF signal, and turning on a transmitter to return a continuing signal to the mobile radio station.

Preferably, when the second signaling is identified, the transmitter is turned on through the PTT control module, and the inter-station talkback is carried out in an inter-frequency simplex mode.

As a preferred scheme, when the third signaling is identified, the transmitter is closed through the PTT control module, and the intercommunication between the radio stations is carried out in a same-frequency simplex mode.

Compared with the prior art, the invention has the beneficial effects that: the ringing detection module is used for detecting and judging the voice signal, and the on-off switch is turned on according to the judgment result to automatically switch on the mobile radio station, so that the degree of automation is high, and the operation is convenient; because the self-adaptive filter is arranged between the on-hook switch and the two four-wire converters, the echo path is simulated and the echo is copied to offset, and the communication quality is improved; by detecting the power and the duration of the voice signal and combining the short-time zero crossing rate of the voice signal to adaptively adjust the power threshold, the distinguishing capability of noise can be obviously improved, and the overall conversation performance of the system is enhanced.

Drawings

The disclosure of the present invention is illustrated with reference to the accompanying drawings. It is to be understood that the drawings are designed solely for the purposes of illustration and not as a definition of the limits of the invention. In the drawings, like reference numerals are used to refer to like parts. Wherein:

FIG. 1 is a schematic diagram of an embodiment of an automatic transfer device for wired and wireless voice communication according to the present invention;

FIG. 2 is a schematic structural diagram of a wired/wireless automatic voice transfer apparatus according to an embodiment of the present invention;

FIG. 3 is a flow chart of a communication method of a calling mobile station of a wired telephone according to an embodiment of the present invention;

fig. 4 is a flowchart illustrating a call method for a mobile station to call a wired phone according to an embodiment of the present invention.

Reference numbers in the figures: 1 processor, 2 hook switch, 3 self-adaptive filter, 4 two four-wire converter, 5 receiver, 6 transmitter, 7 duplexer, 8 ringing detection module, 9DTMF detection module, 10PTT control module, 11 receiver, 12 transmitter.

Detailed Description

It is easily understood that according to the technical solution of the present invention, a person skilled in the art can propose various alternative structures and implementation ways without changing the spirit of the present invention. Therefore, the following detailed description and the accompanying drawings are merely illustrative of the technical aspects of the present invention, and should not be construed as all of the present invention or as limitations or limitations on the technical aspects of the present invention.

Referring to fig. 1, it is a schematic diagram of an implementation environment of the automatic wired/wireless voice switching apparatus according to an embodiment of the present invention. The automatic voice wired-wireless switching device is connected between a wired telephone and a duplex radio station, and the duplex radio station is in communication connection with a mobile radio station, so that the automatic switching of the conversation between the wired telephone and the mobile radio station is realized.

Fig. 2 is a schematic structural diagram of a wired/wireless automatic voice transfer device according to an embodiment of the present invention. The wired and wireless automatic switching device for the voice comprises a DSP (digital signal processor) 1, an on-hook switch 2, an adaptive filter 3 and a two-four-wire converter 4 which are sequentially connected, a receiver 11 and a transmitter 12 which are connected with the on-hook switch 2, wherein the output end of the transmitter 12 is connected with the DSP 1 through a ringing detection module 9, the two-four-wire converter 4 is connected with a duplex radio station, and is connected with the DSP 1 through a DTMF (dual frequency tone) detection module 9 between the two, the two output ends of the DSP 1 are respectively connected with the on-hook switch 2 and the duplex radio station, and the on-hook switch 2 and the duplex radio station are respectively controlled according to ringing detection signals and DTMF detection signals. Specifically, the model of the DSP processor 1 may be TMS320C6678 acppa 25.

Since the wired telephone communication uses a two-wire interface, the wired signal access duplex station needs to be converted by a two-four-wire converter 4, which is generally implemented by a hybrid network (or differential network). The balanced network impedance of the hybrid network cannot be perfectly matched to the load impedance and an echo is inevitably present, thus affecting the reliability of voice detection. In order to reliably detect the voice of the wired telephone and prevent the echo of the far-end voice in the local mixed network from being mistaken for the voice of the wired telephone to cause misoperation, an adaptive filter 3 is designed at the four lines of the mixed network to simulate an echo path and copy the echo to cancel, thereby improving the communication quality.

In the embodiment of the invention, the duplex radio station comprises a duplexer 7, a receiver 5 and a transmitter 6 which are connected with the duplexer 7, the output end of the receiver 5 is connected with the input end of the two-four-wire converter 4, the input end of the transmitter 6 is connected with the output end of the two-four-wire converter 4, the transmitter 6 is connected with the output end of the PTT control module 10, the duplexer 7 is in communication connection with the mobile radio station through an antenna, and the receiver 5 is always in a receiving state.

Referring to fig. 3, the present invention also discloses a talking method of the voice wired and wireless automatic transfer device, comprising the following steps:

s101, receives a voice signal input by the microphone 12.

And S102, judging the voice signal through the ringing detection module 9 to obtain a judgment result.

Specifically, the determining the voice signal by the ringing detection module 9 includes: it is detected whether the power of the voice signal exceeds a threshold value and the duration of exceeding the threshold value is calculated. If the duration time exceeding the threshold value is longer than the set time, the voice signal is judged to be normal, otherwise, the voice signal is judged to be noise.

Preferably, the method further comprises adjusting the threshold value according to a short-time zero-crossing rate of the voice signal, wherein the short-time zero-crossing rate is the number of times that the signal waveform passes through a zero level in a unit time. For example, after the short-time zero crossing rate exceeds N times, the power threshold is reduced, and normal voice omission is avoided on the premise of ensuring correct noise discrimination.

And S103, turning on or turning off the on-off switch 2 according to the judgment result.

And S104, when the on-hook switch 2 is turned on, the transmitter 6 is turned on through the PTT control module 10, the voice signal is filtered by the adaptive filter 3 and then converted into a four-wire voice through the two-four-wire converter 4, and then the two-wire voice is wirelessly transmitted through the antenna connected with the duplexer 7.

Referring to fig. 4, a schematic flow chart of a call method for calling a wired phone by a mobile station according to an embodiment of the present invention includes the following steps:

s201, receiving DTMF signals from the mobile station through the receiver 5.

S202, identifying the coding type of the DTMF signal through the DTMF detection module 9. The coding type includes a first signaling, a second signaling and a third signaling, specifically, the first signaling is "# to indicate a calling wire, the second signaling is" #61 to indicate an access call, and the third signaling is "# 60 to indicate an off-line talk.

S203, when the first signaling is identified, receiving the complete DTMF signal, turning on the on-off hook switch 2 and butting with the target telephone corresponding to the DTMF signal, and simultaneously turning on the transmitter 6 and returning a continuing signal to the mobile radio station. If the target telephone is busy, a busy tone is sent to the mobile station and after 10s the on-hook switch 2 is controlled to be closed. If the target telephone is idle, the ring back tone is sent to the mobile station, and after the target telephone is off-hook, the two parties talk.

And S204, when the second signaling is identified, the transmitter 6 is turned on through the PTT control module 10, the inter-radio talkback is carried out in a pilot frequency simplex mode, and the forwarding is carried out through a duplex radio station and a limited wireless adapter, so that the call distance is increased.

And S205, when the third signaling is identified, the transmitter 6 is closed through the PTT control module 10, and the intercommunication between the radio stations is carried out in a same-frequency simplex mode. For example, the talk distance is 2-3km when talkback between interphones is carried out.

In summary, the beneficial effects of the invention include: the ringing detection module 9 detects and judges the voice signal, and the on-off switch 2 is turned on according to the judgment result to automatically switch on the mobile radio station, so that the degree of automation is high, and the operation is convenient; because the self-adaptive filter 3 is arranged between the on-hook switch 2 and the two-four-wire converter 4, an echo path is simulated and echoes are copied to be offset, and the conversation quality is improved; by detecting the power and the duration of the voice signal and combining the short-time zero crossing rate of the voice signal to adaptively adjust the power threshold, the distinguishing capability of noise can be obviously improved, and the overall conversation performance of the system is enhanced.

The technical scope of the present invention is not limited to the above description, and those skilled in the art can make various changes and modifications to the above-described embodiments without departing from the technical spirit of the present invention, and such changes and modifications should fall within the protective scope of the present invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:信息处理装置

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!