CN118055181A - Dual-tone multi-frequency coding and decoding method and device based on 4G network - Google Patents
Dual-tone multi-frequency coding and decoding method and device based on 4G network Download PDFInfo
- Publication number
- CN118055181A CN118055181A CN202211439722.8A CN202211439722A CN118055181A CN 118055181 A CN118055181 A CN 118055181A CN 202211439722 A CN202211439722 A CN 202211439722A CN 118055181 A CN118055181 A CN 118055181A
- Authority
- CN
- China
- Prior art keywords
- signal
- frequency
- module
- network
- decoded
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000005540 biological transmission Effects 0.000 claims abstract description 52
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 230000009977 dual effect Effects 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 6
- 238000004891 communication Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Landscapes
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
Abstract
The invention discloses a 4G network-based dual-tone multi-frequency encoding and decoding method and a device thereof. The 4G network-based dual-tone multi-frequency coding method comprises the following steps: acquiring digital information to be transmitted; converting the digital information to be transmitted into a frequency signal; generating a preset high-frequency signal; superposing the frequency signal and the high-frequency signal to form a target transmission signal; and transmitting the target transmission signal through a 4G network. By mixing the high-frequency anti-interference signal into the DTMF frequency signal to be transmitted, the probability of the DTMF being interfered in the 4G network transmission process is greatly reduced, and the situation of false alarm and false alarm caused by the interference of the signal is effectively reduced.
Description
Technical Field
The invention relates to the technical field of dual-tone multi-frequency communication under a 4G network, in particular to a DTMF (Dual Tone Multi Frequency, dual-tone multi-frequency) coding and decoding method, a coder, a decoder and a communication device.
Background
DTMF is a method of representing digits with tones in a voice channel, and can be used to transmit signaling in an analog voice channel, so that it has wide application in the field of communication. The DTMF is composed of a high frequency group and a low frequency group, each of which contains 4 frequencies, and a high frequency signal and a low frequency signal are superimposed to form a combined signal representing a number.
In the popularization process of the internet of things, communication equipment is not limited to communication equipment such as mobile phones, more and more equipment supports a voice communication function, and daily equipment such as vending machines, automobiles, even elevators and the like can be connected to the internet of things and can communicate with users in voice. The frequency points of the DTMF are all in the frequency point range of 600Hz to 1700Hz, and the frequency range is the frequency range most frequently used in voice communication, so that the probability of being interfered in the coding and decoding processes of the traditional DTMF is relatively larger along with the popularization of the Internet of things. When the DTMF is transmitted through voice, the common false alarm types include false alarm, missing alarm and multiple alarms. Wherein, when the interference frequency falls in the high frequency group and the low frequency group of the DTMF, the false alarm or multiple alarm is caused.
Disclosure of Invention
The invention aims to overcome the defects of easy occurrence of false alarm and multiple alarms in the transmission process of DTMF in the prior art, and provides a DTMF coding and decoding method, a coder, a decoder and a communication device under a 4G network.
The invention solves the technical problems by the following technical scheme:
the invention provides a 4G network-based dual-tone multi-frequency encoding and decoding method, which comprises the following steps:
Acquiring digital information to be transmitted;
Converting the digital information to be transmitted into a frequency signal;
Generating a preset high-frequency signal;
Superposing the frequency signal and the high-frequency signal to form a target transmission signal;
and transmitting the target transmission signal.
Preferably, the frequency of the preset high-frequency signal is greater than or equal to 10KHz.
Preferably, after the step of superimposing the frequency signal and the high frequency signal to form a target transmission signal, the 4G network-based dual tone multi-frequency codec method further includes:
The target transmission signal is converted from a digital signal to an analog signal.
The invention also provides a dual-tone multi-frequency decoding method based on the 4G network, which comprises the following steps:
receiving a signal to be decoded;
Detecting whether the to-be-decoded transmission signal comprises a preset high-frequency signal or not;
if yes, decoding the to-be-decoded sending signal to obtain target digital information, and outputting the target digital information; if not, outputting the signal to be decoded to be transmitted abnormally.
Preferably, after the step of receiving the transmission signal to be decoded, the DTMF decoding method further comprises:
and converting the transmission signal to be decoded from an analog signal to a digital signal.
The invention also provides a 4G network-based dual-tone multi-frequency encoder, which comprises an input module, an encoding module and a transmitting module; the coding module comprises a high-frequency anti-interference unit;
the input module is used for acquiring digital information to be sent;
the coding module is used for converting the digital information to be transmitted into a frequency signal;
The high-frequency anti-interference unit is used for generating a preset high-frequency signal;
the encoding module is also used for superposing the frequency signal and the high-frequency signal to form a target transmission signal;
The sending module is used for sending the target sending signal.
Preferably, the frequency of the preset high-frequency signal is greater than or equal to 10KHz.
Preferably, the 4G network-based dual-tone multi-frequency encoder further comprises a digital-to-analog conversion module;
the digital-to-analog conversion module is used for converting the target sending signal from a digital signal to an analog signal.
The invention also provides a 4G network-based dual-tone multi-frequency decoder, which comprises a receiving module, a decoding module and an output module; the decoding module comprises a start bit detection unit, a decoding unit and an exception processing unit;
the receiving module is used for receiving a signal to be decoded;
The start bit detection unit is used for detecting whether the to-be-decoded sending signal comprises a preset high-frequency signal, if yes, the decoding unit is called, and if not, the exception processing unit is called;
The decoding unit is used for decoding the to-be-decoded sending signal to obtain target digital information, and calling the output module;
the exception processing unit is used for outputting the exception of the transmission signal to be decoded.
The output module is used for outputting the target digital information.
Preferably, the 4G network-based dual-tone multi-frequency decoder further comprises an analog-to-digital conversion module;
The analog-to-digital conversion module is used for converting the to-be-decoded transmission signal from an analog signal to a digital signal.
The invention also provides a 4G network-based DTMF communication device, which comprises the DTMF encoder and the DTMF decoder;
the DTMF encoder is used for transmitting the target transmission signal to the DTMF decoder under the 4G network;
The DTMF decoder is used for receiving the target sending signal under the 4G network so as to acquire the sending signal to be decoded.
The invention has the positive progress effects that:
By mixing the high-frequency anti-interference signal into the DTMF frequency signal to be transmitted, the probability of being interfered in the transmission process of the DTMF in the 4G network is greatly reduced, and the false alarm and false alarm caused by the interference of the signal are effectively reduced.
Drawings
Fig. 1 is a flowchart of a DTMF encoding method according to embodiment 1 of the present invention.
Fig. 2 is a conventional DTMF encoding of the character "6" in the prior art.
Fig. 3 is a DTMF code obtained by the DTMF coding method of embodiment 1 for character "6".
Fig. 4 is a flowchart of a DTMF decoding method according to embodiment 2 of the present invention.
Fig. 5 is a schematic block diagram of a DTMF encoder according to embodiment 4 of the present invention.
Fig. 6 is a schematic block diagram of a DTMF decoder according to embodiment 5 of the present invention.
Fig. 7 is a schematic block diagram of a DTMF communication device under a 4G network according to embodiment 6 of the present invention.
Detailed Description
The invention is further illustrated by means of the following examples, which are not intended to limit the scope of the invention.
Example 1
As shown in fig. 1, the present embodiment provides a DTMF encoding method, which includes:
s101, acquiring digital information to be transmitted;
S102, converting digital information to be transmitted into a frequency signal;
s103, generating a preset high-frequency signal;
s104, superposing the frequency signal and the high-frequency signal to form a target transmission signal;
S105, converting the target transmission signal from a digital signal to an analog signal;
s106, sending a target sending signal.
Specifically, the frequency of the preset high-frequency signal is greater than or equal to 10KHz.
It is known in the art that DTMF can lock a character by only two frequency points in the encoding and decoding processes, the mode is simpler, the efficiency is higher, and as shown in fig. 2, the character "6" is locked by 770Hz and 1477 Hz. When DTMF is transmitted by voice, the frequency of the interference signal is generally smaller than 10KHz, especially in the frequency range of 600Hz to 1700Hz, and the probability of being interfered is very high. Whereas in the frequency range above 10KHz the probability of being disturbed is very small. As shown in fig. 3, the frequency signal of character "6" contains three frequency components of 770hz,1477hz, and 10KHz based on the DTMF coding method of the present embodiment. In the encoding process, an interference signal greater than or equal to 10KHz is mixed in the transmission signal, so that the probability of interference of DTMF in the transmission process can be effectively reduced.
According to the DTMF coding method, the high-frequency anti-interference signal is mixed into the frequency signal to be transmitted, so that the probability of being interfered in the 4G network transmission process of the DTMF is greatly reduced, and the situation of false alarm and false alarm caused by the interference of the signal is effectively reduced.
Example 2
As shown in fig. 4, the present embodiment provides a DTMF decoding method, which includes:
s201, receiving a transmission signal to be decoded;
s202, converting a transmission signal to be decoded from an analog signal to a digital signal;
S203, detecting whether the signal to be decoded comprises a preset high-frequency signal, if so, executing step S204, and if not, executing step S205;
S204, decoding the signal to be decoded to obtain target digital information and outputting the target digital information; the flow ends.
S205, outputting an abnormality of the transmission signal to be decoded to remind of further processing, for example, the transmission signal to be decoded can be abandoned.
According to the DTMF coding method, whether the high-frequency anti-interference signal is mixed in the frequency signal is detected, decoding is carried out only when the frequency signal comprises the high-frequency anti-interference signal, and false alarm caused by interference of the signal are effectively reduced by adding the high-frequency anti-interference signal.
Example 3
The present embodiment provides a DTMF communication method under a 4G network, where the DTMF communication method under the 4G network encodes digital information by using the DTMF encoding method in embodiment 1 to obtain a transmission signal, and decodes the transmission signal by using the DTMF decoding method in embodiment 2 to obtain digital information.
According to the DTMF communication method under the 4G network, the probability of being interfered in the transmission process of the DTMF is greatly reduced by mixing the high-frequency anti-interference signal into the frequency signal to be transmitted; when receiving signals, the method detects whether the high-frequency anti-interference signals are mixed in the frequency signals, and decodes the frequency signals only when the frequency signals comprise the high-frequency anti-interference signals, so that false alarm and false alarm caused by interference of the signals are effectively reduced.
Example 4
As shown in fig. 5, the present embodiment provides a DTMF encoder, which includes an input module 11, an encoding module 12, a transmitting module 13, and a digital-to-analog conversion module 14; the encoding module 12 includes a high-frequency interference prevention unit 121.
The input module 11 is used for acquiring digital information to be sent;
the encoding module 12 is used for converting digital information to be transmitted into a frequency signal;
the high-frequency anti-interference unit 121 is configured to generate a preset high-frequency signal;
the encoding module 12 is further configured to superimpose the frequency signal and the high-frequency signal to form a target transmission signal;
the transmitting module 13 is configured to transmit a target transmission signal.
The digital-to-analog conversion module 14 is used to convert the target transmission signal from a digital signal to an analog signal.
It is known in the art that DTMF can lock a character by only two frequency points in the encoding and decoding processes, the mode is simpler, the efficiency is higher, and as shown in fig. 2, the character "6" is locked by 770Hz and 1477 Hz. When DTMF is transmitted by voice, the frequency of the interference signal is generally smaller than 10KHz, especially in the frequency range of 600Hz to 1700Hz, and the probability of being interfered is very high. Whereas in the frequency range above 10KHz the probability of being disturbed is very small. As shown in fig. 3, the frequency signal of character "6" contains three frequency components of 770hz,1477hz, and 10KHz based on the DTMF coding method of the present embodiment. In the encoding process, an interference signal greater than or equal to 10KHz is mixed in the transmission signal, so that the probability of interference of DTMF in the transmission process can be effectively reduced.
According to the DTMF coder, the high-frequency anti-interference signal is mixed into the frequency signal to be transmitted, so that the probability of interference of the DTMF in the transmission process is greatly reduced, and the false alarm and false alarm caused by interference of the signal are effectively reduced.
Example 5
As shown in fig. 6, the present embodiment provides a DTMF decoder comprising a receiving module 21, a decoding module 22, an output module 23 and an analog-to-digital conversion module 24; the decoding module 22 includes a start bit detection unit 221, a decoding unit 222, and an exception processing unit 223.
The receiving module 21 is configured to receive a transmission signal to be decoded;
the start bit detection unit 221 is configured to detect whether the signal to be decoded includes a preset high-frequency signal, if yes, call the decoding unit 222, and if not, call the exception processing unit 223;
the decoding unit 222 is configured to decode the transmission signal to be decoded to obtain target digital information, and call the output module 23;
The exception handling unit 223 is configured to output an exception of the transmission signal to be decoded, so as to alert further processing or direct processing, for example, decoding the transmission signal to be decoded may be abandoned.
The output module 23 is used for outputting target digital information;
the analog-to-digital conversion module 24 is used for converting the transmission signal to be decoded from an analog signal to a digital signal.
According to the DTMF coding method, whether the high-frequency anti-interference signal is mixed in the frequency signal is detected, the high-frequency anti-interference signal is decoded only when the frequency signal comprises the high-frequency anti-interference signal, and false alarm caused by interference of the signal are effectively reduced by the high-frequency anti-interference signal mode.
Example 6
As shown in fig. 7, the present embodiment provides a DTMF communication device including a DTMF encoder 31 of embodiment 4 and a DTMF decoder 32 of embodiment 5.
The DTMF encoder is used for sending the target sending signal to the DTMF decoder;
the DTMF decoder is used for receiving the target transmission signal to acquire a transmission signal to be decoded.
According to the DTMF communication device, the probability of being interfered in the transmission process of the DTMF is greatly reduced by mixing the high-frequency anti-interference signal into the frequency signal to be transmitted; when receiving signals, the method detects whether the high-frequency anti-interference signals are mixed in the frequency signals, and decodes the frequency signals only when the frequency signals comprise the high-frequency anti-interference signals, so that false alarm and false alarm caused by interference of the signals are effectively reduced.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the principles and spirit of the invention, but such changes and modifications fall within the scope of the invention.
Claims (10)
1. A 4G network-based dual tone multi-frequency encoding method, comprising:
Acquiring digital information to be transmitted;
Converting the digital information to be transmitted into a frequency signal;
Generating a preset high-frequency signal;
Superposing the frequency signal and the high-frequency signal to form a target transmission signal;
And transmitting the target transmission signal through a 4G network.
2. The 4G network-based dual tone multi-frequency encoding method of claim 1, wherein the frequency of the preset high frequency signal is 10KHz or more.
3. The 4G network-based dual tone multi-frequency encoding method of claim 1, wherein after the step of superimposing the frequency signal and the high frequency signal to form a target transmission signal, the DTMF encoding method further comprises:
The target transmission signal is converted from a digital signal to an analog signal.
4. A 4G network-based dual tone multi-frequency decoding method, comprising:
receiving a signal to be decoded;
Detecting whether the to-be-decoded transmission signal comprises a preset high-frequency signal or not;
if yes, decoding the to-be-decoded sending signal to obtain target digital information, and outputting the target digital information; if not, outputting the signal to be decoded to be transmitted abnormally.
5. The 4G network-based dual tone multi-frequency decoding method of claim 4, further comprising, after the step of receiving the transmission signal to be decoded:
and converting the transmission signal to be decoded from an analog signal to a digital signal.
6. The 4G network-based dual-tone multi-frequency encoder is characterized by comprising an input module, an encoding module and a transmitting module; the coding module comprises a high-frequency anti-interference unit;
the input module is used for acquiring digital information to be sent;
the coding module is used for converting the digital information to be transmitted into a frequency signal;
The high-frequency anti-interference unit is used for generating a preset high-frequency signal;
the encoding module is also used for superposing the frequency signal and the high-frequency signal to form a target transmission signal;
The sending module is used for sending the target sending signal.
7. The 4G network-based dual tone multi-frequency encoder of claim 6, wherein the preset high frequency signal has a frequency of 10KHz or more.
8. The 4G network-based dual tone multi-frequency encoder of claim 6, wherein the DTMF encoder further comprises a digital-to-analog conversion module;
the digital-to-analog conversion module is used for converting the target sending signal from a digital signal to an analog signal.
9. The dual-tone multi-frequency decoder based on the 4G network is characterized by comprising a receiving module, a decoding module and an output module; the decoding module comprises a start bit detection unit, a decoding unit and an exception processing unit;
the receiving module is used for receiving a signal to be decoded;
The start bit detection unit is used for detecting whether the to-be-decoded sending signal comprises a preset high-frequency signal, if yes, the decoding unit is called, and if not, the exception processing unit is called;
The decoding unit is used for decoding the to-be-decoded sending signal to obtain target digital information, and calling the output module;
the exception processing unit is used for outputting the exception of the transmission signal to be decoded;
the output module is used for outputting the target digital information.
10. The 4G network-based dual tone multi-frequency decoder of claim 9, wherein the DTMF decoder further comprises an analog-to-digital conversion module;
The analog-to-digital conversion module is used for converting the to-be-decoded transmission signal from an analog signal to a digital signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211439722.8A CN118055181A (en) | 2022-11-17 | 2022-11-17 | Dual-tone multi-frequency coding and decoding method and device based on 4G network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211439722.8A CN118055181A (en) | 2022-11-17 | 2022-11-17 | Dual-tone multi-frequency coding and decoding method and device based on 4G network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118055181A true CN118055181A (en) | 2024-05-17 |
Family
ID=91043644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211439722.8A Pending CN118055181A (en) | 2022-11-17 | 2022-11-17 | Dual-tone multi-frequency coding and decoding method and device based on 4G network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118055181A (en) |
-
2022
- 2022-11-17 CN CN202211439722.8A patent/CN118055181A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1168332C (en) | Method and apparatus for detection and bypass of tandem vocoding | |
US5072308A (en) | Communication signal compression system and method | |
CN101500163B (en) | Encoder and decoder with low amount of transmitting data, encoding method, and decoding method thereof | |
FI97182B (en) | Method for replacing received bad speech frames in a digital receiver and a receiver in a digital communication system | |
EP0929958A1 (en) | Rob bit compensation system and method associated with a receiver or codec | |
CA2265667A1 (en) | Method and apparatus for performing distributed forward power control | |
US6014560A (en) | Call management services to telephone devices which are connected to afixed wireless access subscriber unit | |
KR910015135A (en) | Baseband processing device and signal processing method | |
EP0651542A2 (en) | Digital telephone overcoming incompatibilities in international digital telephone standards | |
EP0480083B9 (en) | Communication signal compression system and method | |
CN112751979B (en) | DTMF coding and decoding method, coder, decoder and communication device | |
KR100336513B1 (en) | A device of transmitting tone signal by using vocoder in wll | |
CN118055181A (en) | Dual-tone multi-frequency coding and decoding method and device based on 4G network | |
US5913189A (en) | Voice compression system having robust in-band tone signaling and related method | |
CN101695197A (en) | Wireless access equipment, circuit thereof and method for realizing wireless two-stage dialing | |
CN1159722A (en) | Double-sound multi-frequency for lower chainchannel of honeycomb/mobile/PCS telephone system | |
JPS6314544B2 (en) | ||
JP2961154B2 (en) | Signal transmission system | |
KR100523900B1 (en) | Method for Message Transmitting and Receiving using Dual Tone Multi Frequency in Calling | |
US20020126747A1 (en) | Codec circuit and method for increasing the data transmission rate during a modem transmission | |
JP3036605B2 (en) | Call monitor circuit | |
US11968324B2 (en) | Signal transmission system and signal transmission method | |
KR20000039400A (en) | Method for transmitting intraimages in video telephone | |
CN1362841A (en) | Caller-marking emitter and emitting method in wireless local circuit system | |
JP3092157B2 (en) | Communication signal compression system and compression method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication |