CN113965552A - Communication method of telephone audio signal, telephone system and Voice module - Google Patents

Communication method of telephone audio signal, telephone system and Voice module Download PDF

Info

Publication number
CN113965552A
CN113965552A CN202111226017.5A CN202111226017A CN113965552A CN 113965552 A CN113965552 A CN 113965552A CN 202111226017 A CN202111226017 A CN 202111226017A CN 113965552 A CN113965552 A CN 113965552A
Authority
CN
China
Prior art keywords
dtmf
audio
signal
telephone
audio frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111226017.5A
Other languages
Chinese (zh)
Other versions
CN113965552B (en
Inventor
潘伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Yirui Communication Technology Co Ltd
Original Assignee
Hefei Yirui Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Yirui Communication Technology Co Ltd filed Critical Hefei Yirui Communication Technology Co Ltd
Priority to CN202111226017.5A priority Critical patent/CN113965552B/en
Publication of CN113965552A publication Critical patent/CN113965552A/en
Application granted granted Critical
Publication of CN113965552B publication Critical patent/CN113965552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/72502Cordless telephones with one base station connected to a single line
    • H04M1/72505Radio link set-up procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/727Identification code transfer arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/42Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker
    • H04Q3/54Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised
    • H04Q3/542Logic circuits or arrangements therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/42Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker
    • H04Q3/54Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised
    • H04Q3/55Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised using wired logic circuitry
    • H04Q3/552Wired circuits or arrangements therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a communication method of a phone audio signal, a phone system and a Voice module, wherein the method comprises the following steps: when receiving an audio analog signal which contains DTMF audio and is generated by a telephone, a Volte module carries out frequency detection on the audio analog signal; and when the DTMF audio frequency in the audio frequency analog signal is detected, converting the DTMF audio frequency into a DTMF digital signal and sending the DTMF digital signal. Therefore, due to the wired short-distance transmission, when the voice frequency analog signal is received by the voice module, the probability of distortion or loss of the signal is greatly reduced, and the detection of the DTMF voice frequency by the voice module is more accurate. Compared with the scheme that the traditional telephone set directly transmits in the form of analog signals, the method has higher reliability of signal transmission, thereby effectively improving the DTMF recognition rate in the conversation process.

Description

Communication method of telephone audio signal, telephone system and Voice module
Technical Field
The application relates to the technical field of DTMF, in particular to a communication method of a phone audio signal, a phone system and a Voice over Ethernet (Volte) module.
Background
There are many conventional phones, during the communication process, DTMF (Dual Tone Multi Frequency) audio signals can be sent out through keys, and the audio signals are analog signals and in Inband DTMF (in-band Dual Tone Multi Frequency) form. When DTMF detection in the audio signal is carried out, the only method is to extract a voice signal packet to carry out spectrum analysis, obtain the frequencies of high frequency and low frequency in the voice signal through the spectrum analysis, and then look up a table to obtain the corresponding key tone.
However, the sound frequency may be distorted or lost during transmission, which causes that the opposite terminal device cannot identify or incorrectly identifies when performing DTMF detection in the audio signal after receiving the audio signal, thereby seriously affecting the communication effect.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method for communicating an audio signal of a phone, a phone system and a voice module, so as to solve the problem of low DTMF recognition rate of a conventional phone during a call.
The embodiment of the application provides a communication method of a phone audio signal, which is applied to a Voice over Long-Term Evolution (LTE) module which is used for being locally connected with a phone; the local connection is a connection mode of a signal distortion rate and a signal loss rate in the signal transmission process, and the connection mode is lower than the connection mode of the signal distortion rate and the signal loss rate when the audio analog signal transmission is carried out between the telephone and the base station; the method comprises the following steps: when receiving an audio analog signal which contains DTMF audio and is generated by a telephone, carrying out frequency detection on the audio analog signal; and when the DTMF audio frequency in the audio frequency analog signal is detected, converting the DTMF audio frequency into a DTMF digital signal and sending the DTMF digital signal.
In the implementation process, the voice module is locally connected with the telephone, so that when the telephone generates an audio analog signal containing DTMF audio, the signal is transmitted to the voice module in a transmission mode with a lower signal distortion rate and a lower signal loss rate instead of being uploaded to the base station. And because the audio frequency analog signal is transmitted in a mode of lower signal distortion rate and signal loss rate, when the voice frequency analog signal is received by the voice module, the probability of distortion or loss of the signal is greatly reduced, and thus the DTMF audio frequency detection by the voice module is more accurate. Compared with the scheme that the traditional telephone set directly transmits in the form of analog signals, the method has higher reliability of signal transmission, thereby effectively improving the DTMF recognition rate in the conversation process.
Further, converting the DTMF audio frequency into a DTMF digital signal and transmitting, comprising: generating an RTP (Real-time Transport Protocol) data packet, and adding an event corresponding to a DTMF audio frequency in the RTP data packet according to the detected DTMF audio frequency; and transmitting the RTP data packet through a transmission control protocol.
In the implementation process, the RTP data packet is generated, and the event corresponding to the DTMF audio frequency is added to the RTP data packet, so that the RTP data packet carries the information of the DTMF audio frequency in an event form, and the digitization of the DTMF audio frequency signal is realized. And because the RTP data packet is transmitted through TCP (Transmission Control Protocol), the Transmission reliability is extremely high, thereby ensuring the DTMF recognition rate in the conversation process.
Further, when receiving an audio analog signal containing DTMF audio generated by the telephone, the method further comprises: and converting the non-DTMF audio frequency in the audio frequency analog signal into a non-DTMF audio frequency data packet, and inserting the RTP data packet to the position of the non-DTMF audio frequency data packet corresponding to the moment when the DTMF audio frequency is detected.
In the implementation process, the non-DTMF audio frequency in the audio frequency analog signal is converted into the non-DTMF audio frequency data packet, and the RTP data packet obtained by converting the DTMF audio frequency is inserted to the position of the non-DTMF audio frequency data packet corresponding to the time when the DTMF audio frequency is detected, so that the complete transmission of the audio frequency analog signal can be realized in a digital signal mode, and the reliability of the conversation process is ensured.
Further, when detecting DTMF tones in the audio analog signal, the method further comprises: filtering the DTMF tones in the audio analog signal.
In the implementation process, by filtering the detected DTMF tones in the audio frequency analog signal, it can be avoided that when non-DTMF tones in the audio frequency analog signal are converted into non-DTMF tone data packets, the DTMF tones are mistakenly converted into non-DTMF tone data packets, thereby avoiding repeated transmission of DTMF tones.
Further, after detecting the DTMF tone in the audio analog signal, before converting the DTMF tone into a digital signal, the method further comprises: and determining that the telephone is currently in a call state.
Further, the method further comprises: when the phone is not in a call state currently, converting the detected DTMF audio frequency into a dialing signaling and sending the dialing signaling; and after receiving a call connection signal, marking that the telephone is in a call state currently.
In the implementation process, when the phone is not in a call state currently, the detected DTMF audio is converted into a dialing signaling and sent, so that normal transmission of dialing information can be ensured, and normal dialing of the phone is ensured. After receiving the call connection signal, the marking phone is currently in a call state, so that the subsequent DTMF audio can be effectively identified as the audio in the call process, the DTMF audio can be converted into the DTMF digital signal and sent, and the high reliability of the call process is ensured.
The embodiment of the application also provides a communication method of the phone audio signal, which is applied to a Voice module, wherein the Voice module is locally connected with the phone; the local connection is a connection mode of a signal distortion rate and a signal loss rate in the signal transmission process, and the connection mode is lower than the connection mode of the signal distortion rate and the signal loss rate when the audio analog signal transmission is carried out between the telephone and the base station; the method comprises the following steps: when a digital signal sent by opposite terminal equipment is received, a DTMF digital signal in the digital signal is obtained; converting the DTMF digital signals into DTMF audio frequency analog signals according to a preset DTMF signal frequency table, and sending the DTMF audio frequency analog signals to the telephone; or, converting the DTMF digital signal into a DTMF control signaling, and sending the DTMF control signaling to the telephone.
In the implementation process, the DTMF digital signals are converted into DTMF audio frequency analog signals through a preset DTMF signal frequency table, the DTMF audio frequency analog signals are sent to the telephone, or the DTMF digital signals are converted into DTMF control signaling, and the DTMF control signaling is sent to the telephone. Therefore, the DTMF digital signals can be analyzed into signals which can be identified by the traditional telephone, and the reliable transmission of the DTMF information is realized.
An embodiment of the present application further provides a phone system, including: the system comprises a telephone, a connecting device and a volt module; one end of the connecting device is locally connected with the telephone and is used for receiving the audio analog signal transmitted by the telephone; the local connection is a connection mode of a signal distortion rate and a signal loss rate in the signal transmission process, and the connection mode is lower than the connection mode of the signal distortion rate and the signal loss rate when the audio analog signal transmission is carried out between the telephone and the base station; the other end of the connecting device is connected with the Volte module through a signaling bus and an audio data bus; the signaling bus is used for transmitting signaling, and the audio data bus is used for transmitting audio analog signals; the voice module is used for carrying out frequency detection on the audio frequency analog signal after receiving the audio frequency analog signal, and converting the DTMF audio frequency into a digital signal and sending the digital signal when detecting the DTMF audio frequency.
In the telephone system, the DTMF audio in the form of analog signals transmitted by the telephone can be converted into digital signals and transmitted under the action of the voice module. And because the telephone and the voltage module are connected with the bus through the connecting device, the distortion and loss of the DTMF audio frequency transmitted to the voltage module are small, and the detection of the DTMF audio frequency by the voltage module is more accurate. Compared with the scheme that the traditional telephone set directly transmits in the form of analog signals, the method has higher reliability of signal transmission, thereby effectively improving the DTMF recognition rate in the conversation process.
Further, the connection device is a SLIC (Subscriber Line Interface Circuit) chip; the signaling bus is an SPI bus; the audio data bus is a PCM bus.
The embodiment of the present application further provides a communication device for a phone audio signal, including: a Volte module comprising: the system comprises a processing chip, an internal communication bus, a signaling bus interface and an audio data bus interface; the internal communication bus is used for realizing the connection and communication among the processing chip, the signaling bus interface and the audio data bus interface; the signaling bus interface and the audio data bus interface are used for being connected with a connecting device, and the connecting device is locally connected with a telephone; the local connection is a connection mode of a signal distortion rate and a signal loss rate in the signal transmission process, and the connection mode is lower than the connection mode of the signal distortion rate and the signal loss rate when the audio analog signal transmission is carried out between the telephone and the base station; the signaling bus interface is used for receiving and transmitting transmission signaling, and the audio data bus interface is used for transmitting audio analog signals; the processing chip is used for carrying out frequency detection on the audio frequency analog signal when receiving the audio frequency analog signal which contains DTMF audio frequency and is generated by the telephone, and converting the DTMF audio frequency into a DTMF digital signal and sending the DTMF digital signal when detecting the DTMF audio frequency in the audio frequency analog signal.
Also provided in an embodiment of the present application is a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the method for communicating a phone audio signal according to any one of the above.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic diagram of a basic structure of a phone system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a more specific phone system according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a method for communicating a phone audio signal at a transmitting end according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a DTMF signal frequency table according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an RTP packet according to an embodiment of the present application;
fig. 6 is a schematic flowchart illustrating a method for communicating a phone audio signal at a receiving end according to an embodiment of the present disclosure;
fig. 7 is a schematic flowchart of another method for communicating a phone audio signal at a receiving end according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a specific phone system according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a volt module according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a communication apparatus for audio signals of a phone according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of another communication apparatus for audio signals of a phone according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The first embodiment is as follows:
in order to solve the problem that the DTMF recognition rate of a traditional telephone is low in the conversation process, the embodiment of the application provides a telephone system and a communication method of a telephone audio signal. As shown in fig. 1, fig. 1 is a basic structure diagram of a phone system provided in an embodiment of the present application. The system comprises a locally connected Voltage module and a phone.
It should be noted that, the local connection described in the embodiment of the present application refers to: the signal distortion rate and the signal loss rate in the signal transmission process are lower than the connection mode of the signal distortion rate and the signal loss rate when the audio analog signal transmission is carried out between the telephone and the base station. For example, the local connection may be implemented by a short-distance signal line connection, a short-distance wireless transmission mode connection in a reliable environment, and the like, which is not limited in the embodiment of the present application, as long as a signal distortion rate and a signal loss rate in a signal transmission process can be guaranteed to be lower than a signal distortion rate and a signal loss rate when audio analog signal transmission is performed between the phone and the base station.
It should be noted that, in the embodiments of the present application, a volt module refers to a module having a volt function, such as an EG06E module, an EG12EA module, and the like.
In practical applications, the RJ11 interface is commonly used for external connection of conventional telephone sets. Most Volte modules do not currently have an RJ11 interface. For this purpose, in the embodiment of the present application, referring to fig. 2, in the telephone system, a connection device may be used, one end of the connection device may be connected to the telephone through an RJ11 connection line, and the other end may be connected to the volt module through a signaling bus and an audio data bus, respectively. The signaling bus is used for transmitting signaling, and the audio data bus is used for transmitting audio analog signals. Therefore, through the conversion of the connecting device, the audio analog signals and the signaling of the traditional telephone can be transmitted to the Voice module for processing through the audio data bus and the signaling bus respectively.
For example, in the embodiment of the present application, the connection device may adopt a SLIC chip, the signaling bus is an SPI bus, and the audio data bus is a PCM bus, so as to meet the transmission requirement for signals, but not by way of limitation.
It should be understood that the above example is the way in which the connection device is connected to a conventional telephone set through an RJ11 interface. In addition, if a wireless communication module for transmitting an analog signal is disposed in the conventional phone, the connection device may also be another wireless communication module corresponding to the wireless communication module, which is not limited in the embodiment of the present application.
Optionally, in this embodiment of the present application, the connection device and the voltage module may also be integrated into the phone, so as to provide external services as a whole.
Based on the phone system, please refer to fig. 3, fig. 3 is a schematic flow chart of a communication method of phone audio signals provided in the embodiment of the present application, which is applied to a voltage module, and includes:
s301: when receiving an audio analog signal containing DTMF audio generated by a telephone, carrying out frequency detection on the audio analog signal.
In the embodiment of the application, the voice module can continuously monitor the audio data bus after the start-up, so as to obtain the audio analog signal.
S302: when detecting DTMF audio frequency in the audio frequency analog signal, converting the DTMF audio frequency into DTMF digital signal and sending.
In the embodiment of the present application, when the audio analog signal is monitored to exist on the audio data bus, the frequency of the audio analog signal is continuously detected. Because the DTMF audio is the information carried by the high-low frequency combination of the specific frequency, whether the corresponding specific frequency combination exists at present is identified through frequency detection, the detection of the DTMF audio in the audio analog signal can be realized, and the corresponding information content actually carried by the DTMF audio can be analyzed.
For example, referring to the frequency table of DTMF signals shown in fig. 4, the number "1" is characterized when the low frequency is 697Hz and the high frequency is 1209 Hz; the number "2" … is characterized at a low frequency of 697Hz and a high frequency of 1336 Hz. According to the DTMF signal frequency table, detection of DTMF audio in the audio analog signal can be achieved.
Therefore, the telephone is in close-range connection with the voice module, so that the distortion and loss of DTMF audio are small when the DTMF audio is transmitted to the voice module, and the detection of the DTMF audio by the voice module is more accurate. Compared with the scheme that the traditional telephone set directly transmits in the form of analog signals, the method has higher reliability of signal transmission, thereby effectively improving the DTMF recognition rate in the conversation process.
In the embodiment of the present application, in order to convert the DTMF tone into a DTMF tone signal, an empty RTP packet may be generated when the DTMF tone is detected, and then an event corresponding to the DTMF tone may be added to the RTP packet according to the detected DTMF tone. For example, as shown in fig. 5, an RTP packet may be generated according to the RFC2833 protocol format, and then an event corresponding to the DTMF tone is added thereto, for example, an event value "05" is added in fig. 5.
In the embodiment of the application, after the RTP data packet with the event corresponding to the DTMF audio is generated, the RTP data packet is transmitted to the base station through the TCP protocol, and then is sent to the opposite terminal. And because TCP protocol transmission is adopted, the transmission reliability is extremely high, and the DTMF recognition rate in the conversation process is ensured.
In the embodiment of the application, when an audio frequency analog signal containing the DTMF audio frequency generated by the telephone is received, the non-DTMF audio frequency in the audio frequency analog signal can be converted into a non-DTMF audio frequency data packet, and the RTP data packet is inserted to the position of the non-DTMF audio frequency data packet corresponding to the time when the DTMF audio frequency is detected.
Illustratively, DTMF tones are not detected at time t0, so that tones at time t0 may be converted to non-DTMF tone packets. If DTMF audio is detected at time t1, the DTMF audio at time t1 is converted into RTP packets, while the non-DTMF audio at time t1 is converted into non-DTMF audio packets, and RTP packets are inserted after or before the non-DTMF audio packets at time t 1.
In order to ensure reliable identification of the data packet, in the embodiment of the present application, the data packet may be time-stamped. For example, in the above example, in the non-DTMF audio data packet at time t0, it may be time stamped with t 0. RTP packets and non-DTMF audio packets at time t1 may be time-stamped to t 1.
It should be further noted that, in the embodiment of the present application, the process of converting the non-DTMF tone into the non-DTMF tone data packet may be implemented by any method of converting an analog signal into a digital signal, which is not limited in the embodiment of the present application.
Optionally, non-DTMF tones may also be converted to RTP packets. In order to distinguish the RTP data packet corresponding to the DTMF tone from the RTP data packet corresponding to the non-DTMF tone, the RTP data packet corresponding to the DTMF tone may be marked, so that after receiving the RTP data packet, the peer device may determine whether the RTP data packet is the RTP data packet corresponding to the DTMF tone or the RTP data packet corresponding to the non-DTMF tone according to whether the RTP data packet has the corresponding mark.
In addition, in order to avoid converting the DTMF tones in the audio analog signal into non-DTMF tone data packets, the DTMF tones in the audio analog signal are also converted, and the DTMF tones in the detected audio analog signal can be filtered when the DTMF tones in the audio analog signal are detected.
It should be understood that, in the voltage module, there are a low frequency filtering unit and a high frequency filtering unit, so that the detection and filtering of DTMF audio in the audio analog signal can be easily realized based on this.
It should be noted that, in normal situations, the phone may generate DTMF tones from the beginning of dialing to the normal call. However, the process shown in fig. 3 in the embodiment of the present application is directed to DTMF tones generated during a call. For DTMF tones generated by phone dialing, the procedure shown in fig. 3 in this embodiment of the present application may not be required.
For example, in the embodiment of the present application, the current state of the phone may be determined by whether there is a preset flag for marking that the phone is currently in a call state, which is made when the call completion signal is received.
From the beginning of dialing, at this time, the preset mark does not exist in the volt module, at this time, the detected DTMF tone frequency can be converted into NAS (Non-Access Stratum) signaling or SIP (Session Initiation Protocol) signaling, and then sent to the base station, so as to realize dialing.
After receiving the call connection signal, a preset mark representing that the phone is currently in a call state can be marked. When an audio analog signal containing DTMF audio generated by the phone is received, the current phone in the call state can be determined due to the current preset flag representing the current phone in the call state, so that the processing can be performed according to the processing method shown in fig. 3.
By the method, the high-reliability transmission of the DTMF audio in the call process can be realized. Correspondingly, referring to fig. 6 and 7, fig. 6 and 7 show the processing required in the voice module when the telephone system is used as a receiving end, so as to ensure that two parties in a call can communicate normally.
Fig. 6 shows a communication method for a phone audio signal applied in a volt module, which includes:
s601: when receiving a digital signal sent by an opposite terminal device, acquiring a DTMF digital signal in the digital signal.
In the embodiment of the present application, when the form of the DTMF digital signal and the non-DTMF audio data packet is different, the determination of the DTMF digital signal may be implemented according to whether the form of the data packet is a preset form (e.g. whether the data packet is an RTP data packet, etc.).
When the form of the DTMF digital signal and the non-DTMF audio data packet is the same, if the DTMF digital signal and the non-DTMF audio data packet are both RTP data packets, the DTMF digital signal and the non-DTMF audio data packet are determined to be DTMF digital signals according to whether preset identification exists in the digital signals or not.
S602: and converting the DTMF digital signals into DTMF audio frequency analog signals according to a preset DTMF signal frequency table, and sending the DTMF audio frequency analog signals to the telephone.
The process described above is essentially the reverse of fig. 3, whereby the DTMF digital signals can be reduced to analog signals by the reverse process for transmission to the telephone via the audio data bus.
Fig. 7 shows a communication method for a phone audio signal applied in a volt module, which includes:
s701: when receiving a digital signal sent by an opposite terminal device, acquiring a DTMF digital signal in the digital signal.
S702: and converting the DTMF digital signal into a DTMF control signaling, and sending the DTMF control signaling to the telephone.
In the implementation process, the DTMF digital signals are converted into DTMF control signaling, and the DTMF control signaling is transmitted to the telephone through the signaling bus in the form of the control signaling, so that the telephone can also receive and identify the DTMF signals.
It should be understood that for a portion of the handset, it may only support one of the above two implementations, for which purpose the transmission of DTMF signals to the handset may be implemented in the manner it supports. For some phones, it may support the above two implementation manners, and at this time, it may be determined whether the control signaling function in the phone is turned on. If the switch is turned on, the mode of the figure 7 can be adopted; if not, the method of fig. 6 can be used.
It should be noted that, in the embodiment of the present application, the voltage module converts DTMF digital signals and non-DTMF digital signals into analog signals, and transmits the analog signals to the telephone through the audio data bus, so as to ensure normal conversation.
It should be further noted that, in the embodiment of the present application, both parties of a call may be the telephone system described above. Of course, only one end may be the telephone system, as long as the other end has data signal processing capability.
According to the phone system and the communication method of the phone audio signals, the voice module is locally connected with the phone, so that when the phone generates the audio analog signals containing DTMF audio, the signals are transmitted to the voice module in a wired transmission mode instead of being uploaded to the base station. Due to the fact that the voice frequency analog signals are transmitted in a wired close-range mode, when the voice frequency analog signals are received by the voice frequency module, the probability of distortion or loss of the signals is greatly reduced, and therefore the detection of DTMF voice frequencies by the voice frequency module is more accurate. Compared with the scheme that the traditional telephone set directly transmits in the form of analog signals, the method has higher reliability of signal transmission, thereby effectively improving the DTMF recognition rate in the conversation process.
In addition, the scheme of the application can transmit the digital signals in the form of RTP data packets through the TCP protocol, and the transmission reliability is extremely high, so that the DTMF recognition rate in the conversation process is ensured.
Example two:
the embodiment further illustrates the scheme of the embodiment of the present application by taking a more complete implementation process as an example on the basis of the first embodiment.
Referring to the phone system shown in fig. 8, the phone is connected to the SLIC chip through an RJ11 interface, and the SLIC chip is connected to the volt module through an SPI bus and a PCM bus. The voltage module establishes an IMS connection through an LTE (Long Term Evolution) or 5G (5th Generation Mobile Communication Technology) network.
And monitoring the PCM bus after the Voltage module is started from the start-up.
The telephone set continuously generates audio analog signals in the process of communication. The SLIC chip can carry out certain processing on the audio analog signal and then sends the processed audio analog signal to the Voltage module through the PCM bus. At this time, the voltage module listens for the audio analog signal.
When the voice frequency analog signal is monitored by the voice frequency module, on one hand, frequency detection is performed according to the DTMF signal frequency table shown in fig. 4, and whether DTMF voice frequencies exist in the voice frequency analog signal at the current moment is identified.
If not, the audio analog signal at the current moment is directly converted into an RTP data packet.
And if the event exists, generating an RTP data packet according to an RFC2833 protocol, adding an event corresponding to the DTMF audio in the RTP data packet, and marking. Then filtering the DTMF audio, and converting the filtered audio analog signal into an RTP data packet.
And transmitting the RTP data packet to the base station through the 4G or 5G network so as to be forwarded to the opposite terminal equipment by the base station.
After receiving the RTP data packet, the Voice module of the opposite terminal equipment identifies the RTP data packet corresponding to each marked DTMF audio frequency, and then judges whether the RTP data packet is in a control signaling mode.
If yes, according to the sequence of receiving RTP data packets, converting the RTP data packets without marks into audio frequency analog signals on one side, sending the audio frequency analog signals to the SLIC chip through a PCM bus, converting the marked RTP data packets into DTMF control signaling on the other side, sending the DTMF control signaling to the SLIC chip through an SPI bus, and sending the audio frequency analog signals and the DTMF control signaling to the telephone through the SLIC chip.
If not, converting the RTP data packets which are not marked into audio analog signals according to the sequence of receiving the RTP data packets, and sending the audio analog signals to the SLIC chip through a PCM bus; and simultaneously, according to the DTMF signal frequency table shown in fig. 4, the marked RTP data packet is converted into an audio DTMF analog signal, and is sent to the SLIC chip through the PCM bus. And the SLIC chip sends the audio analog signal and the audio DTMF analog signal to the telephone.
The scheme realizes the reliable transmission of the DTMF audio frequency and improves the transmission reliability.
Example three:
the embodiment provides a voltage module, which is shown in fig. 9 and includes a processing chip 901, an internal communication bus 902, a signaling bus interface 903, and an audio data bus interface 904. Wherein:
the internal communication bus 902 is used for realizing connection communication among the processing chip 901, the signaling bus interface 903 and the audio data bus interface 904.
The signaling bus interface 903 and the audio data bus interface 904 are used to connect with a connection device, which is connected locally to the phone.
The signaling bus interface 903 is used for transceiving transmission signaling, and the audio data bus interface 904 is used for transmitting audio analog signals.
The processing chip 901 is configured to perform frequency detection on an audio analog signal when receiving an audio analog signal containing a DTMF tone generated by a phone, and convert the DTMF tone into a DTMF digital signal and send the DTMF digital signal when detecting the DTMF tone in the audio analog signal.
It will be appreciated that the configuration shown in figure 9 is merely illustrative and that a Volte module may also include more or fewer components than shown in figure 9 or have a different configuration than shown in figure 9.
It should be understood that in the embodiments of the present application, the signaling bus interface may be an SPI interface, and the audio data bus interface may be a PCM interface.
It should be understood that the processing chip 901 of the voltage module provided in this embodiment may implement the action steps of the communication method of the phone audio signal provided in the foregoing embodiments.
It should be understood that the processing operation of the processing chip 901 may be implemented by a pure circuit, but may also be implemented by a program execution device such as a single chip, a microprocessor, and the like, and is not limited in this embodiment of the application.
When the voice module implements the above communication method of the phone audio signal by executing a program, based on the same inventive concept, embodiments of the present application further provide communication apparatuses 100 and 110 for the phone audio signal. Referring to fig. 10 and 11, fig. 10 shows a communication apparatus for a phone audio signal using the method shown in fig. 3, and fig. 11 shows a communication apparatus for a phone audio signal using the method shown in fig. 7. It should be understood that the specific functions of the apparatus 100 and the apparatus 110 can be referred to the above description, and the detailed description is omitted here as appropriate to avoid redundancy. Specifically, the method comprises the following steps:
referring to fig. 10, the apparatus 100 includes: a detection module 101 and a conversion sending module 102.
Wherein:
the detection module 101 is configured to perform frequency detection on an audio analog signal when receiving the audio analog signal containing a DTMF audio generated by a phone;
the conversion sending module 102 is configured to, when detecting a DTMF tone in the audio analog signal, convert the DTMF tone into a DTMF digital signal and send the DTMF digital signal.
In a feasible implementation manner of the embodiment of the present application, the conversion sending module 102 is specifically configured to generate an RTP data packet, and add an event corresponding to a DTMF tone to the RTP data packet according to the detected DTMF tone; and transmitting the RTP data packet through a transmission control protocol.
In a possible example of the foregoing possible implementation, the detecting module 101 is further configured to filter the DTMF tones in the audio analog signal when detecting the DTMF tones in the audio analog signal.
In the above feasible example, when receiving an audio analog signal containing a DTMF tone generated by a phone, the conversion sending module 102 is further configured to convert a non-DTMF tone in the audio analog signal into a non-DTMF tone data packet, and insert the RTP data packet to a position where the non-DTMF tone data packet corresponding to a time when the DTMF tone is detected is located.
In a possible implementation manner of the embodiment of the present application, the detecting module 101 is further configured to determine that the phone is currently in a call state after detecting the DTMF tone in the audio analog signal and before the DTMF tone is converted into the digital signal by the conversion sending module 102.
In the above feasible implementation, the conversion sending module 102 is further configured to convert the DTMF tone detected by the detecting module 101 into a dialing signaling and send the dialing signaling when the phone is not currently in a call state; and after receiving a call connection signal, marking that the telephone is currently in a call state.
Referring to fig. 11, the apparatus 110 includes: an acquisition module 111 and a processing module 112. Wherein:
the obtaining module 111 is configured to obtain a DTMF digital signal in the digital signal when receiving the digital signal sent by the peer device.
The processing module 112 is configured to convert the DTMF digital signal into a DTMF audio analog signal according to a preset DTMF signal frequency table, and send the DTMF audio analog signal to the phone; or, converting the DTMF digital signal into a DTMF control signaling, and sending the DTMF control signaling to the telephone.
It should be understood that, for the sake of brevity, the contents described in some embodiments are not repeated in this embodiment.
It should also be understood that the modules described above may be written in the form of software or firmware in a processing chip or a storage unit of the voltage module, and are not limited in the embodiment of the present application.
The present embodiment further provides a computer-readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash Memory, a usb (Secure Digital Memory Card), an MMC (Multimedia Card), etc., in which one or more programs for implementing the above steps are stored, and the one or more programs can be executed by one or more processing chips of the voltage module to implement the communication method of the phone audio signal in the first embodiment and/or the second embodiment. And will not be described in detail herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
In this context, a plurality means two or more.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A communication method of a phone audio signal is characterized in that the communication method is applied to a Voice module, and the Voice module is locally connected with a phone; the local connection is a connection mode of a signal distortion rate and a signal loss rate in the signal transmission process, and the connection mode is lower than the connection mode of the signal distortion rate and the signal loss rate when the audio analog signal transmission is carried out between the telephone and the base station; the method comprises the following steps:
when receiving an audio analog signal which contains DTMF audio and is generated by a telephone, carrying out frequency detection on the audio analog signal;
and when the DTMF audio frequency in the audio frequency analog signal is detected, converting the DTMF audio frequency into a DTMF digital signal and sending the DTMF digital signal.
2. The method of claim 1, wherein converting the DTMF tones to DTMF digital signals and transmitting comprises:
generating an RTP data packet, and adding an event corresponding to the DTMF audio frequency in the RTP data packet according to the detected DTMF audio frequency;
and transmitting the RTP data packet through a transmission control protocol.
3. The method of claim 2, wherein upon detecting DTMF tones in the audio analog signal, the method further comprises:
filtering the DTMF tones in the audio analog signal.
4. The method of claim 3, wherein upon receiving an audio analog signal containing DTMF tones generated by a handset, the method further comprises:
and converting the non-DTMF audio frequency in the audio frequency analog signal into a non-DTMF audio frequency data packet, and inserting the RTP data packet to the position of the non-DTMF audio frequency data packet corresponding to the moment when the DTMF audio frequency is detected.
5. The method of any of claims 1-4, wherein after detecting the DTMF tones in the audio analog signal, prior to converting the DTMF tones to digital signals, the method further comprises:
and determining that the telephone is currently in a call state.
6. The method of claim 5, wherein the method further comprises:
when the phone is not in a call state currently, converting the detected DTMF audio frequency into a dialing signaling and sending the dialing signaling;
and after receiving a call connection signal, marking that the telephone is in a call state currently.
7. A communication method of a phone audio signal is characterized in that the communication method is applied to a Voice module, and the Voice module is locally connected with a phone; the local connection is a connection mode of a signal distortion rate and a signal loss rate in the signal transmission process, and the connection mode is lower than the connection mode of the signal distortion rate and the signal loss rate when the audio analog signal transmission is carried out between the telephone and the base station; the method comprises the following steps:
when a digital signal sent by opposite terminal equipment is received, a DTMF digital signal in the digital signal is obtained;
converting the DTMF digital signals into DTMF audio frequency analog signals according to a preset DTMF signal frequency table, and sending the DTMF audio frequency analog signals to the telephone;
or, converting the DTMF digital signal into a DTMF control signaling, and sending the DTMF control signaling to the telephone.
8. A telephone system, comprising: the system comprises a telephone, a connecting device and a volt module;
one end of the connecting device is locally connected with the telephone and is used for receiving the audio analog signal transmitted by the telephone; the local connection is a connection mode of a signal distortion rate and a signal loss rate in the signal transmission process, and the connection mode is lower than the connection mode of the signal distortion rate and the signal loss rate when the audio analog signal transmission is carried out between the telephone and the base station;
the other end of the connecting device is connected with the Volte module through a signaling bus and an audio data bus; the signaling bus is used for transmitting signaling, and the audio data bus is used for transmitting audio analog signals;
the voice module is used for carrying out frequency detection on the audio frequency analog signal after receiving the audio frequency analog signal, and converting the DTMF audio frequency into a digital signal and sending the digital signal when detecting the DTMF audio frequency.
9. The phone system according to claim 8, wherein the connection means is a SLIC chip; the signaling bus is an SPI bus; the audio data bus is a PCM bus.
10. A Volte module, comprising: the system comprises a processing chip, an internal communication bus, a signaling bus interface and an audio data bus interface;
the internal communication bus is used for realizing the connection and communication among the processing chip, the signaling bus interface and the audio data bus interface;
the signaling bus interface and the audio data bus interface are used for being connected with a connecting device, and the connecting device is locally connected with a telephone; the local connection is a connection mode of a signal distortion rate and a signal loss rate in the signal transmission process, and the connection mode is lower than the connection mode of the signal distortion rate and the signal loss rate when the audio analog signal transmission is carried out between the telephone and the base station;
the signaling bus interface is used for receiving and transmitting transmission signaling, and the audio data bus interface is used for transmitting audio analog signals;
the processing chip is used for carrying out frequency detection on the audio frequency analog signal when receiving the audio frequency analog signal which contains DTMF audio frequency and is generated by the telephone, and converting the DTMF audio frequency into a DTMF digital signal and sending the DTMF digital signal when detecting the DTMF audio frequency in the audio frequency analog signal.
CN202111226017.5A 2021-10-21 2021-10-21 Communication method of telephone audio signals, telephone system and Volte module Active CN113965552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111226017.5A CN113965552B (en) 2021-10-21 2021-10-21 Communication method of telephone audio signals, telephone system and Volte module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111226017.5A CN113965552B (en) 2021-10-21 2021-10-21 Communication method of telephone audio signals, telephone system and Volte module

Publications (2)

Publication Number Publication Date
CN113965552A true CN113965552A (en) 2022-01-21
CN113965552B CN113965552B (en) 2024-03-29

Family

ID=79465823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111226017.5A Active CN113965552B (en) 2021-10-21 2021-10-21 Communication method of telephone audio signals, telephone system and Volte module

Country Status (1)

Country Link
CN (1) CN113965552B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024001888A1 (en) * 2022-06-30 2024-01-04 深圳市中兴微电子技术有限公司 Data processing method, and device and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6259691B1 (en) * 1998-07-24 2001-07-10 3Com Corporation System and method for efficiently transporting dual-tone multi-frequency/multiple frequency (DTMF/MF) tones in a telephone connection on a network-based telephone system
CN1388702A (en) * 2002-07-19 2003-01-01 谷安佳 Information anti-fake label and corresponding intelligent information anti-fake service system
CN101340681A (en) * 2008-08-13 2009-01-07 中兴通讯股份有限公司 Implementing method and apparatus for shielding DTMF sound of outer telephone
CN101695197A (en) * 2009-10-23 2010-04-14 厦门敏讯信息技术股份有限公司 Wireless access equipment, circuit thereof and method for realizing wireless two-stage dialing
CN101860630A (en) * 2010-06-22 2010-10-13 中兴通讯股份有限公司 Transmission method and system of out-of-band dual tone multiple frequency (DTMF) signal
CN106921613A (en) * 2015-12-24 2017-07-04 华为数字技术(苏州)有限公司 The method and system of signalling

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6259691B1 (en) * 1998-07-24 2001-07-10 3Com Corporation System and method for efficiently transporting dual-tone multi-frequency/multiple frequency (DTMF/MF) tones in a telephone connection on a network-based telephone system
CN1388702A (en) * 2002-07-19 2003-01-01 谷安佳 Information anti-fake label and corresponding intelligent information anti-fake service system
CN101340681A (en) * 2008-08-13 2009-01-07 中兴通讯股份有限公司 Implementing method and apparatus for shielding DTMF sound of outer telephone
CN101695197A (en) * 2009-10-23 2010-04-14 厦门敏讯信息技术股份有限公司 Wireless access equipment, circuit thereof and method for realizing wireless two-stage dialing
CN101860630A (en) * 2010-06-22 2010-10-13 中兴通讯股份有限公司 Transmission method and system of out-of-band dual tone multiple frequency (DTMF) signal
CN106921613A (en) * 2015-12-24 2017-07-04 华为数字技术(苏州)有限公司 The method and system of signalling

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
迟晓刚;罗卫兵;巴刚;: "DTMF采用SIP扩展进行带外传输的实现", 电子科技, no. 10, pages 2 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024001888A1 (en) * 2022-06-30 2024-01-04 深圳市中兴微电子技术有限公司 Data processing method, and device and computer storage medium

Also Published As

Publication number Publication date
CN113965552B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
US6381472B1 (en) TDD/TTY-digital access
US20050089040A1 (en) Method for providing service of multimedia mail box to support user mobility
US20070263604A1 (en) Ring back notification system and method therefor
GB2382208A (en) Terminal device with speech recognition
US8675849B2 (en) Ubiquitous transfer of a phone number to another phone
CN113965552B (en) Communication method of telephone audio signals, telephone system and Volte module
WO2021175254A1 (en) Call method, system and device
CN101394443B (en) Method, system and device for in-band number receiving
CN216873404U (en) CPE (customer premises Equipment)
CN101695197A (en) Wireless access equipment, circuit thereof and method for realizing wireless two-stage dialing
CN108833708B (en) Incoming call information acquisition method
KR100991402B1 (en) Communication terminal and method for performing video telephony
CN101909265A (en) Method and device for transmitting and recording phone number
KR20050041742A (en) System and method for servicing change short message into a voice
CN1848987A (en) Double-standard mobile communication terminal
CN110034858B (en) Data packet retransmission method and device, mobile terminal and storage medium
CN108737671B (en) VOIP communication method, device, equipment and home gateway system
CN1126387C (en) Master calling number transmission system
CN212875886U (en) Fixed wireless telephone for video call
JP3593949B2 (en) Adapter device and network system using the same
JP3426012B2 (en) Communication terminal device
CN113053411B (en) Voice data processing device, method, system and storage medium
KR100822736B1 (en) Computer and telephony integration system and method thereof
KR200400833Y1 (en) Automatic telephone voice output device
US20100027764A1 (en) Network device and method for redialing phone calls

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