CN111325957A - Micro control unit and DTMF alarm signal output method and system - Google Patents

Micro control unit and DTMF alarm signal output method and system Download PDF

Info

Publication number
CN111325957A
CN111325957A CN201811523035.8A CN201811523035A CN111325957A CN 111325957 A CN111325957 A CN 111325957A CN 201811523035 A CN201811523035 A CN 201811523035A CN 111325957 A CN111325957 A CN 111325957A
Authority
CN
China
Prior art keywords
alarm signal
dtmf
alarm
signal
preset
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
CN201811523035.8A
Other languages
Chinese (zh)
Other versions
CN111325957B (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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201811523035.8A priority Critical patent/CN111325957B/en
Publication of CN111325957A publication Critical patent/CN111325957A/en
Application granted granted Critical
Publication of CN111325957B publication Critical patent/CN111325957B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/08Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using communication transmission lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/12Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal
    • H04M7/1205Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal where the types of switching equipement comprises PSTN/ISDN equipment and switching equipment of networks other than PSTN/ISDN, e.g. Internet Protocol networks
    • H04M7/1295Details of dual tone multiple frequency signalling

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Alarm Systems (AREA)

Abstract

The invention provides a micro control unit and a DTMF alarm signal output method and system, wherein the method comprises the following steps: acquiring a first alarm signal sent by a DTMF encoder, wherein the first alarm signal is generated by the DTMF encoder through carrying out DTMF encoding on a second alarm signal sent by an alarm system controller, and the second alarm signal comprises an alarm signal and a noise signal sent by an alarm; extracting a DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal according to a preset extraction strategy; and sending the DTMF alarm signal to the wireless communication module so that the wireless communication module transmits the DTMF alarm signal to the wireless communication terminal in an out-of-band transmission mode. Therefore, the DTMF alarm signal is transmitted in an out-of-band transmission mode on the basis of not compressing the DTMF alarm signal, so that the distortion of the DTMF alarm signal is avoided, and the alarm success rate is improved.

Description

Micro control unit and DTMF alarm signal output method and system
Technical Field
The invention relates to the technical field of information transmission, in particular to a micro control unit and a DTMF alarm signal output method and system.
Background
With the improvement of living standard, people put higher requirements on personal and property safety at home. Compared with a traditional wired alarm, the wireless household alarm has a safer alarm mode. When the wired telephone and the network are cut off, the developed cellular network can be used for sending alarm information and dialing an emergency call. And reliable safety guarantee is provided for users.
In the related art, based on the 2G wireless communication technology, the DTMF (Dual Tone multiple Frequency) alarm signal is transmitted through the voice channel (in-band), on one hand, it is a great challenge to upgrade to 3G today when the 3G wireless communication technology is popularized, and on the other hand, the voice signal needs to be compressed into digital voice at the transmitting end and then transmitted. Among them, because wireless communication bandwidth is limited, wireless communication systems employ compression algorithms for efficient and economical transmission. However, the compression algorithm is designed based on the human voice frequency range, so that the DTMF tone is seriously distorted after being compressed, and the central monitoring station cannot effectively identify alarm information, thereby causing alarm failure.
Disclosure of Invention
The invention provides a micro control unit and a DTMF alarm signal output method and system, which aim to solve the technical problem that in the prior art, the DTMF alarm signal is distorted due to in-band transmission after the DTMF alarm signal is compressed, so that the alarm is failed.
An embodiment of one aspect of the present invention provides a DTMF alarm signal output method, including the following steps: acquiring a first alarm signal sent by a DTMF encoder, wherein the first alarm signal is generated by the DTMF encoder through DTMF encoding of a second alarm signal sent by the alarm system controller, and the second alarm signal comprises an alarm signal and a noise signal sent by an alarm; extracting a DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal according to a preset extraction strategy; and sending the DTMF alarm signal to a wireless communication module so that the wireless communication module transmits the DTMF alarm signal to a wireless communication terminal in an out-of-band transmission mode.
Another embodiment of the present invention provides a micro control unit, including: the alarm system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first alarm signal sent by a DTMF encoder, the first alarm signal is generated by the DTMF encoder through DTMF encoding of a second alarm signal sent by an alarm system controller, and the second alarm signal comprises an alarm signal and a noise signal sent by an alarm; the extraction module is used for extracting a DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal according to a preset extraction strategy; and the sending module is used for sending the DTMF alarm signal to the wireless communication module so that the wireless communication module transmits the DTMF alarm signal to a wireless communication terminal in an out-of-band transmission mode.
In another embodiment of the present invention, a DTMF alert signal output system is provided, the system comprising: the alarm system comprises an alarm system controller, a DTMF encoder, a micro control unit and a wireless communication module, wherein the alarm system controller is in communication connection with the DTMF encoder, the DTMF encoder is in communication connection with the micro control unit, and the micro control unit is in communication connection with the wireless communication module, wherein the DTMF encoder is used for receiving a second alarm signal sent by the alarm system controller and carrying out DTMF encoding on the second alarm signal to generate a first alarm signal, and the second alarm signal comprises an alarm signal and a noise signal sent by an alarm; the micro control unit is used for realizing the DTMF alarm signal output method in the embodiment; and the wireless communication module is used for receiving the DTMF alarm signal and transmitting the DTMF alarm signal to a wireless communication terminal in an out-of-band transmission mode.
The technical scheme provided by the invention at least has the following technical effects:
the method comprises the steps of obtaining a first alarm signal sent by a DTMF encoder, wherein the first alarm signal is generated by the DTMF encoder through DTMF encoding of a second alarm signal sent by an alarm system controller, the second alarm signal comprises an alarm signal and a noise signal sent by an alarm, extracting the DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal according to a preset extraction strategy, and further sending the DTMF alarm signal to a wireless communication module so that the wireless communication module transmits the DTMF alarm signal to a wireless communication terminal in an out-of-band transmission mode. Therefore, the DTMF alarm signal is transmitted in an out-of-band transmission mode on the basis of not compressing the DTMF alarm signal, so that the distortion of the DTMF alarm signal is avoided, and the alarm success rate is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a DTMF alarm signal output method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another DTMF alarm signal output method according to an embodiment of the present invention;
fig. 3 is a schematic view of an application scenario of a DTMF alarm signal output method according to an embodiment of the present invention;
fig. 4 is a schematic view of an application scenario of another DTMF alarm signal output method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a micro control unit according to one embodiment of the present invention;
FIG. 6 is a schematic diagram of a micro control unit according to another embodiment of the present invention;
FIG. 7 is a schematic diagram of a micro control unit according to yet another embodiment of the present invention; and
fig. 8 is a schematic structural diagram of a DTMF alert signal output system according to one embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The micro control unit and the DTMF alarm signal output method and system of the embodiments of the present invention are described below with reference to the accompanying drawings.
In view of the technical problem mentioned in the background art that the alarm fails due to the distortion of the DTMF alarm signal caused by the transmission of the DTMF alarm signal through the voice channel (in-band), the present invention provides a method for transmitting the DTMF alarm signal in an out-of-band transmission manner on the basis of not compressing the DTMF alarm signal.
Specifically, fig. 1 is a schematic flowchart of a DTMF alarm signal output method according to an embodiment of the present invention. The main execution body of the DTMF alarm signal output method of the embodiment of the invention is a Micro Control Unit (MCU), and as shown in figure 1, the method comprises the following steps:
step 101, obtaining a first alarm signal sent by a DTMF encoder, wherein the first alarm signal is generated by the DTMF encoder performing DTMF encoding on a second alarm signal sent by an alarm system controller, and the second alarm signal comprises an alarm signal and a noise signal sent by an alarm.
Wherein, a Dual-tone multi-frequency (DTMF) encoder encodes an alarm signal generated by the alarm.
It can be understood that, in the actual implementation process, the second alarm signal generated by the alarm system controller includes, besides the alarm signal sent by the alarm itself, a noise signal such as a human voice which is a noise relative to the alarm signal of the alarm itself, and the DTMF encoder performs DTMF coding on the second alarm signal to generate a first alarm signal, and sends the first alarm signal to the micro-control unit for related processing, instead of directly sending the first alarm signal to the wireless communication unit, so that the wireless communication module compresses and transmits the second alarm signal, or, in order to ensure the broadband occupied by the current call, the transmission resource of the first alarm signal generated after the DTMF coding is extruded according to the broadband occupied by the call, so that the first alarm signal generated after the DTMF coding is distorted in the transmission process.
And step 102, extracting a DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal according to a preset extraction strategy.
As described above, the first alarm signal includes a noise signal in addition to the alarm signal sent by the alarm itself, and therefore, in this embodiment, in order to avoid the influence of the noise signal, the DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal is extracted according to a preset extraction strategy.
It should be noted that, according to different application scenarios, the preset policy is different, and the example is as follows:
example one:
in this example, audio features of DTMF alarm signals of the alarm signals (such as shape features of a frequency diagram) are stored in advance, and therefore, in the present embodiment, audio feature recognition is performed on the first alarm signal, and the audio of the confectionary features belonging to the preset audio features of DTMF alarm signals is extracted as DTMF alarm signals, in consideration of the fact that the audio features of noise signals are significantly different from the audio features of DTMF alarm signals.
The second example is:
in this example, as shown in fig. 2, in this example, extracting a DTMF alarm signal corresponding to an alarm signal sent by an alarm in the first alarm signal according to a preset extraction policy includes:
step 201, sampling the second alarm signal according to a preset voice sampling frequency, and performing analog-to-digital conversion on the sampled alarm signal to obtain a third alarm signal, wherein the preset voice sampling frequency is equal to the DTMF signal frequency.
It can be understood that, according to the pronunciation sampling frequency that equals with DTMF signal frequency to the second alarm signal sampling, can acquire DTMF alarm signal, for example, when DTMF signal frequency is 8KHZ, then use 8 KHZ's sampling frequency to sample second alarm signal, other noise signal finds signal frequency and 8KHZ difference great according to the experimental data, therefore, alarm signal after the adoption can understand the DTMN alarm signal that the alarm sent, and then, in order to facilitate the transmission, carry out analog-to-digital conversion with the alarm signal after the sampling and acquire third alarm signal.
Certainly, in the actual implementation process, it is possible that the current alarm does not send an alarm signal, and therefore, it is further necessary to determine whether the acquired third alarm signal is a valid DTMF alarm signal, as a possible implementation manner, a signal difference value of the third alarm signal in the current cycle and the previous cycle is acquired, where the cycle time length is obviously greater than the alarm time length of the alarm, the alarm can complete the alarm in one cycle, and when the signal difference value is greater than a first preset threshold, it is preliminarily indicated that the valid DTMF alarm signal really exists in the current cycle, where the first preset threshold is calibrated according to a large amount of experimental data, and generally, the signal difference value between the DTMF alarm signal and the third alarm signal that does not include the DTMF alarm signal is certainly greater than the first preset threshold. In this example, it should be understood that, when the period duration is set to be short, or there are two consecutive periods of alarm alarms, in order to avoid misjudgment, the signal value of the corresponding third alarm signal when the alarm does not send an alarm signal value may be stored in advance as the judgment reference. Or, a camera can be arranged near the alarm, when the third alarm signal is obtained, whether an alarm indicator lamp of the alarm flickers or not is detected based on the camera, and if the third alarm signal flickers, the current third alarm signal is directly determined to be an effective DTMF alarm signal.
Step 202, after the third alarm signal is subjected to preset equalization processing, a fourth alarm signal is obtained.
It should be understood that the third alarm signal includes a DTMF alarm signal of the alarm, the volume of the alarm may be different at different time points, or the DTMF alarm signal value is low due to insufficient power of the alarm, so that, in order to facilitate subsequent transmission and improve the alarm quality, in the embodiment of the present invention, a preset equalization process needs to be performed on the third alarm signal, and the third alarm signal is processed into a relatively suitable frequency table range to obtain a fourth alarm signal.
As a possible implementation manner, the highest signal and the lowest signal of the third alarm signal in a preset period are determined, the frequency of the third alarm signal is equalized to a preset frequency range according to a preset processing strategy, the highest signal and the lowest signal, for example, 70 continuous digital signals are performed on the third alarm signal to find a maximum signal value and a minimum signal value, the gain of the relevant processing module is determined according to the maximum signal value, the minimum signal value and the maximum range ratio of the analog-to-digital conversion module, the transmitted dc offset is calculated according to the maximum signal value and the minimum signal value, and all signal values of the third alarm signal are equalized according to the gain and the dc offset.
Step 203, judging whether the fourth alarm signal belongs to a DTMF alarm signal according to a preset algorithm, and extracting the fourth alarm signal as the DTMF alarm signal when the fourth alarm signal belongs to the DTMF alarm signal.
In order to avoid erroneous judgment caused by similarity between a noise signal and a DTMF alarm signal in some application scenarios, in this embodiment, the validity of the DTMF alarm signal is further determined for a fourth alarm signal, specifically, whether the fourth alarm signal belongs to the DTMF alarm signal is determined according to a preset algorithm, and when the fourth alarm signal belongs to the DTMF alarm signal, the fourth alarm signal is extracted as the DTMF alarm signal.
It should be noted that, according to different application scenarios, different manners of determining whether the fourth alarm signal belongs to the DTMF alarm signal according to a preset algorithm are used, and as a possible implementation manner, it is counted whether the duration of the fourth alarm signal in a preset period exceeds a second preset threshold, for example, the fourth alarm signal is subjected to fourier transform, and it is determined whether the duration of the signal value of the fourth alarm signal in the frequency domain dimension exceeds the second preset threshold, where the second preset threshold is used to distinguish a situation that a signal waveform diagram of a noise signal is similar to the DTMF alarm signal in a time domain, and generally, the duration of the signal value of the noise signal in the frequency domain is shorter than that of the DTMF alarm signal. And when the duration of the fourth alarm signal exceeds a second preset threshold, judging that the signal characteristics of the fourth alarm signal meet the DTMF signal distribution characteristics, namely judging whether the fourth alarm signal is composed of four high-frequency signals and signals in four low-frequency signals corresponding to the DTMF signal.
In an embodiment of the present invention, the fourth alarm signal may be converted by a goertzel algorithm for calculating power for a specific frequency signal based on a fixed frequency characteristic of the DTMF alarm signal, and the goertzel algorithm occupies smaller resources and is faster in speed on the microprocessor than a conventional fourier algorithm. In this embodiment, the result of the goertzel algorithm is updated one by one for 200 signal values in the fourth alarm signal, after 200 updates (which is equivalent to calculating the signal duration of 200 signal values corresponding to the frequency domain), if the result corresponding to the updated goertzel algorithm is greater than the second preset threshold, the updated result is decoded, and it is determined whether the signal corresponding to the updated result is composed of four high-frequency signals corresponding to the DTMF signals and signals in four low-frequency signals, that is, the frequency with the maximum power is found from the 4 high-frequency signals and the 4 low-frequency signals in the continuous segment of signals corresponding to the fourth alarm signal, and if the power of a certain frequency is greater than other frequencies and is consistent with the frequency of one of the 4 high-frequency signals corresponding to the DTMF signals, the fourth alarm signal is considered to be an effective DTMF alarm signal.
And 103, sending the DTMF alarm signal to the wireless communication module so that the wireless communication module transmits the DTMF alarm signal to the wireless communication terminal in an out-of-band transmission mode.
Specifically, after the valid DTMF alarm signal is obtained, the valid DTMF alarm signal is sent to the wireless communication module, for example, the wireless communication module 3G, so that the wireless communication module transmits the DTMF alarm signal to the wireless communication terminal in an out-of-band transmission manner, for example, after the valid DTMF alarm signal is obtained, an AT instruction is sent to the wireless communication module, so that the wireless communication module sends the DTMF alarm signal to the wireless communication terminal in an out-of-band transmission manner, and the DTMF alarm signal is not compressed on one hand, and is transmitted in an out-of-band transmission manner on the other hand, thereby avoiding the transmission resource from being occupied and extruded.
In order to make the DTMF alarm signal output method of the embodiment of the present invention more clear to those skilled in the art, the following description is made with reference to specific examples:
in this example, as shown in fig. 3, B1 is an alarm system controller in a wireless alarm, which generates a second alarm signal according to the data input of the alarm connected thereto, outputs the second alarm signal to a DTMF encoder B2, B2 receives the second alarm signal from the alarm system controller B1, performs DTMF encoding on the second alarm signal to generate a first alarm signal, outputs the first alarm signal to MCU B3, MCU B3 is a newly added module, extracts a DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal according to a preset extraction strategy, as shown in fig. 4, first, samples the second alarm signal according to a preset 8kHz voice sampling frequency at F1, and performs Analog-to-Digital Converter (ADC) conversion module integrated inside the MCU to obtain a third alarm signal, the stage F2 is used for comparing the change of the ADC sampling at this time and the previous time, if the change is larger than a preset first threshold value, the input third alarm signal is considered to be effective preliminarily, so that the next step is entered, the next step is used for conditioning the software signal at the stage F3, firstly, the maximum value and the minimum value are searched according to the first 70 ADC samples, and the software gain is determined according to the difference value of the maximum signal value and the minimum signal value and the ratio of the maximum measuring range of the ADC; the DC offset is calculated from the average of the maximum and minimum values. The obtained software gain and dc offset are used to equalize the received ADC signal and obtain the fourth alarm signal, F4 is the most important signal processing stage, and due to the fixed frequency characteristics of the DTMF tones, the gurzel algorithm for calculating power for a specific frequency signal is used. Compared with Fourier transform, the Grignard algorithm is realized on the MCU with small occupied resource and high speed. In the stage F4, 200 ADC signal values conditioned by signals in the stage F3 are used, after each signal is obtained, the result of the Grignard algorithm is updated, after 200 times of updating, the result is output to character decoding, the stage F5 is entered, in the stage F5, according to the result output by the F4 Grignard algorithm, a signal with the frequency with the maximum power is searched for in 4 high-frequency signals and 4 low-frequency signals corresponding to the fourth alarm signal, and if the power of the frequency of a certain signal is far greater than other frequencies, the fourth alarm signal is considered as an effective DTMF alarm signal. The signals corresponding to the high-frequency and low-frequency tones with the maximum power are the characters corresponding to the DTMF alarm signals, and the characters contain specific alarm information.
Further, with continued reference to fig. 3, B4 is a 3G wireless communication module that may send DTMF tones to the PSTN using in-band or out-of-band means. The embodiment is based on an out-of-band transmission mode, the distortion of DTMF tones is reduced, and the alarm success rate of the wireless alarm is improved. B5 is Public Switched Telephone Network (PSTN), which is a Telephone Network connecting countries. In this embodiment, data communication is provided for the local wireless alarm terminal and the remote central monitoring station. The wireless voice compression algorithm used by the method can reduce the code rate to save the system cost, but has no influence on the DTMF alarm signal transmitted by the out-of-band signaling. B6 is a DTMF decoder belonging to a remote central monitoring station, which decodes DTMF tones from PSTN voice signals and outputs the decoded alarm information to an alarm information analysis unit B7 (which can be regarded as the above wireless communication terminal). And the B7 alarm information analysis unit records and takes corresponding measures based on the received alarm information, so as to protect the personal and property safety of the user.
To sum up, the DTMF alarm signal output method of the embodiment of the present invention obtains a first alarm signal sent by a DTMF encoder, where the first alarm signal is generated by DTMF encoding of a second alarm signal sent by an alarm system controller by the DTMF encoder, where the second alarm signal includes an alarm signal and a noise signal sent by an alarm, extracts, according to a preset extraction policy, a DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal, and further sends the DTMF alarm signal to a wireless communication module, so that the wireless communication module transmits the DTMF alarm signal to a wireless communication terminal in an out-of-band transmission manner. Therefore, the DTMF alarm signal is transmitted in an out-of-band transmission mode on the basis of not compressing the DTMF alarm signal, so that the distortion of the DTMF alarm signal is avoided, and the alarm success rate is improved.
In order to implement the above embodiments, the present invention further provides a micro control unit, fig. 5 is a schematic structural diagram of the micro control unit according to an embodiment of the present invention, as shown in fig. 5, the micro control unit includes an obtaining module 100, an extracting module 200, and a sending module 300, wherein,
the obtaining module 100 is configured to obtain a first alarm signal sent by a DTMF encoder, where the first alarm signal is generated by the DTMF encoder performing DTMF encoding on a second alarm signal sent by an alarm system controller, and the second alarm signal includes an alarm signal and a noise signal sent by an alarm.
And the extracting module 200 is configured to extract a DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal according to a preset extracting policy.
A sending module 300, configured to send the DTMF alert signal to the wireless communication module, so that the wireless communication module transmits the DTMF alert signal to the wireless communication terminal in an out-of-band transmission manner.
In one embodiment of the present invention, as shown in fig. 6, on the basis of fig. 5, the extraction module 200 comprises a conversion unit 210, a processing unit 220 and an extraction unit 230, wherein,
the conversion unit 210 is configured to sample the second alarm signal according to a preset voice sampling frequency, and perform analog-to-digital conversion on the sampled alarm signal to obtain a third alarm signal, where the preset voice sampling frequency is equal to the DTMF signal frequency.
And the processing unit 220 is configured to perform preset equalization processing on the third alarm signal and obtain a fourth alarm signal.
In an embodiment of the present invention, the processing unit 220 is specifically configured to determine the highest signal and the lowest signal of the third alarm signal in a preset period, and equalize the frequency of the third alarm signal to be within a preset frequency range according to a preset processing strategy, the highest signal and the lowest signal.
And an extracting unit 230, configured to determine whether the fourth alarm signal belongs to a DTMF alarm signal according to a preset algorithm, and extract the fourth alarm signal as the DTMF alarm signal when the fourth alarm signal belongs to the DTMF alarm signal.
In the present embodiment, as shown in fig. 7, on the basis of fig. 6, the extraction module 200 further includes an obtaining unit 240 and a determining unit 250, wherein,
an obtaining unit 240, configured to obtain a signal difference value of the third alarm signal in the current period and the previous period.
A determining unit 250 for determining that the signal difference is greater than a first preset threshold.
It should be noted that the foregoing explanation of the DTMF alarm signal output method is also applicable to the micro control unit according to the embodiment of the present invention, and the implementation principle thereof is similar, and is not described herein again.
To sum up, the micro control unit of the embodiment of the present invention obtains a first alarm signal sent by a DTMF encoder, where the first alarm signal is generated by the DTMF encoder performing DTMF encoding on a second alarm signal sent by an alarm system controller, where the second alarm signal includes an alarm signal and a noise signal sent by an alarm, extracts, according to a preset extraction policy, a DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal, and further sends the DTMF alarm signal to a wireless communication module, so that the wireless communication module transmits the DTMF alarm signal to a wireless communication terminal in an out-of-band transmission manner. Therefore, the DTMF alarm signal is transmitted in an out-of-band transmission mode on the basis of not compressing the DTMF alarm signal, so that the distortion of the DTMF alarm signal is avoided, and the alarm success rate is improved.
In order to implement the above-mentioned embodiments, the present invention further provides a DTMF alarm signal output system, fig. 8 is a schematic structural diagram of a DTMF alarm signal output system according to an embodiment of the present invention, as shown in fig. 8, the system includes an alarm system controller 2000, a DTMF encoder 3000, a micro control unit 1000, and a wireless communication module 4000, wherein the alarm system controller 2000 is in communication connection with the DTMF encoder 3000, the DTMF encoder 3000 is in communication connection with the micro control unit 1000, the micro control unit 1000 is in communication connection with the wireless communication module 4000, wherein,
and a DTMF encoder 3000, configured to receive a second alarm signal sent by the alarm system controller, and perform DTMF encoding on the second alarm signal to generate a first alarm signal, where the second alarm signal includes an alarm signal and a noise signal sent by an alarm.
And a micro control unit 1000 for implementing the DTMF alarm signal output method as described in the above embodiments.
And the wireless communication module 4000 is used for receiving the DTMF alarm signal and transmitting the DTMF alarm signal to the wireless communication terminal in an out-of-band transmission mode.
It should be noted that the foregoing explanation of the DTMF alert signal output method is also applicable to the DTMF alert signal output system according to the embodiment of the present invention, and the implementation principle thereof is similar, and is not repeated herein.
To sum up, the DTMF alarm signal output system of the embodiment of the present invention obtains a first alarm signal sent by a DTMF encoder, where the first alarm signal is generated by DTMF encoding of a second alarm signal sent by an alarm system controller by the DTMF encoder, where the second alarm signal includes an alarm signal and a noise signal sent by an alarm, extracts, according to a preset extraction policy, a DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal, and further sends the DTMF alarm signal to a wireless communication module, so that the wireless communication module transmits the DTMF alarm signal to a wireless communication terminal in an out-of-band transmission manner. Therefore, the DTMF alarm signal is transmitted in an out-of-band transmission mode on the basis of not compressing the DTMF alarm signal, so that the distortion of the DTMF alarm signal is avoided, and the alarm success rate is improved.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A DTMF alert signal output method, characterized in that said method comprises the steps of:
acquiring a first alarm signal sent by a DTMF encoder, wherein the first alarm signal is generated by the DTMF encoder through DTMF encoding of a second alarm signal sent by the alarm system controller, and the second alarm signal comprises an alarm signal and a noise signal sent by an alarm;
extracting a DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal according to a preset extraction strategy;
and sending the DTMF alarm signal to a wireless communication module so that the wireless communication module transmits the DTMF alarm signal to a wireless communication terminal in an out-of-band transmission mode.
2. The method of claim 1, wherein the extracting DTMF alarm signals corresponding to the alarm signals sent by the alarm in the first alarm signals according to a preset extraction strategy comprises:
sampling the second alarm signal according to a preset voice sampling frequency, and performing analog-to-digital conversion on the sampled alarm signal to obtain a third alarm signal, wherein the preset voice sampling frequency is equal to the DTMF signal frequency;
after the third alarm signal is subjected to preset equalization processing, a fourth alarm signal is obtained;
judging whether the fourth alarm signal belongs to a DTMF alarm signal or not according to a preset algorithm, and extracting the fourth alarm signal as the DTMF alarm signal when the fourth alarm signal belongs to the DTMF alarm signal.
3. The method of claim 2, further comprising, prior to said pre-set equalization of said third alarm signal:
acquiring a signal difference value of a third alarm signal in the current period and the previous period;
determining that the signal difference is greater than a first preset threshold.
4. The method of claim 2, wherein pre-equalizing the third alarm signal comprises:
determining the highest signal and the lowest signal of the third alarm signal in a preset period;
and balancing the frequency of the third alarm signal to a preset frequency range according to a preset processing strategy, the highest signal and the lowest signal.
5. The method of claim 2, wherein said determining whether the fourth alarm signal belongs to a DTMF alarm signal according to a predetermined algorithm comprises:
counting whether the duration of the fourth alarm signal in a preset period exceeds a second preset threshold value;
and when the duration of the fourth alarm signal exceeds the second preset threshold, judging that the signal characteristic of the fourth alarm signal meets the DTMF signal distribution characteristic.
6. A micro-control unit, comprising: the alarm system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first alarm signal sent by a DTMF encoder, the first alarm signal is generated by the DTMF encoder through DTMF encoding of a second alarm signal sent by an alarm system controller, and the second alarm signal comprises an alarm signal and a noise signal sent by an alarm;
the extraction module is used for extracting a DTMF alarm signal corresponding to the alarm signal sent by the alarm in the first alarm signal according to a preset extraction strategy;
and the sending module is used for sending the DTMF alarm signal to the wireless communication module so that the wireless communication module transmits the DTMF alarm signal to a wireless communication terminal in an out-of-band transmission mode.
7. The micro-control unit of claim 6, wherein the extraction module comprises:
the conversion unit is used for sampling the second alarm signal according to a preset voice sampling frequency, and performing analog-to-digital conversion on the sampled alarm signal to obtain a third alarm signal, wherein the preset voice sampling frequency is equal to the DTMF signal frequency;
the processing unit is used for carrying out preset equalization processing on the third alarm signal and then acquiring a fourth alarm signal;
and the extraction unit is used for judging whether the fourth alarm signal belongs to a DTMF alarm signal according to a preset algorithm, and extracting the fourth alarm signal as the DTMF alarm signal when the fourth alarm signal belongs to the DTMF alarm signal.
8. The micro-control unit of claim 7, wherein the extraction module further comprises:
the acquisition unit is used for acquiring a signal difference value of a third alarm signal in the current period and the previous period;
a determining unit for determining that the signal difference is greater than a first preset threshold.
9. The micro-control unit of claim 7, wherein the processing unit is specifically configured to:
determining the highest signal and the lowest signal of the third alarm signal in a preset period;
and balancing the frequency of the third alarm signal to a preset frequency range according to a preset processing strategy, the highest signal and the lowest signal.
10. A DTMF alert signal output system, said system comprising: an alarm system controller, a DTMF encoder, a micro control unit and a wireless communication module, wherein the alarm system controller is in communication connection with the DTMF encoder, the DTMF encoder is in communication connection with the micro control unit, the micro control unit is in communication connection with the wireless communication module, wherein,
the DTMF encoder is used for receiving a second alarm signal sent by the alarm system controller and carrying out DTMF encoding on the second alarm signal to generate a first alarm signal, wherein the second alarm signal comprises an alarm signal and a noise signal sent by an alarm;
the micro control unit is used for realizing the DTMF alarm signal output method of any one of claims 1-5;
and the wireless communication module is used for receiving the DTMF alarm signal and transmitting the DTMF alarm signal to a wireless communication terminal in an out-of-band transmission mode.
CN201811523035.8A 2018-12-13 2018-12-13 Micro control unit and DTMF alarm signal output method and system Active CN111325957B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811523035.8A CN111325957B (en) 2018-12-13 2018-12-13 Micro control unit and DTMF alarm signal output method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811523035.8A CN111325957B (en) 2018-12-13 2018-12-13 Micro control unit and DTMF alarm signal output method and system

Publications (2)

Publication Number Publication Date
CN111325957A true CN111325957A (en) 2020-06-23
CN111325957B CN111325957B (en) 2021-09-03

Family

ID=71164720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811523035.8A Active CN111325957B (en) 2018-12-13 2018-12-13 Micro control unit and DTMF alarm signal output method and system

Country Status (1)

Country Link
CN (1) CN111325957B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2105812U (en) * 1991-05-17 1992-05-27 丹东电子研究所 Telephone line transport alarm transmitting system
KR920010745B1 (en) * 1989-11-21 1992-12-14 주식회사 금성사 Tele-alarming system
CN1166118A (en) * 1996-03-12 1997-11-26 富士通株式会社 Radio access system for telematique service
KR20000074038A (en) * 1999-05-17 2000-12-05 심응용 Aaaaa
CN1487679A (en) * 1994-12-19 2004-04-07 ���˹���Ѷ��� Transmission system and operating method thereof
CN1491019A (en) * 2002-10-14 2004-04-21 华为技术有限公司 Controller and method for mobile communication system apparatus by telephone terminal
KR20040080876A (en) * 2003-03-14 2004-09-20 고진광 System for automatic sound Alarm and Remote Control using DTMF
CN1581906A (en) * 2003-08-11 2005-02-16 华为技术有限公司 Method for realizing dual-tone multifrequency signal silence
CN1623316A (en) * 2002-03-12 2005-06-01 西门子公司 Control of packet network-based service servers using in particular DTMF signals
CN1708997A (en) * 2002-10-25 2005-12-14 达丽星网络有限公司 Method and apparatus for DTMF detection and voice mixing in the CELP parameter domain
CN101052066A (en) * 2007-05-22 2007-10-10 杭州华三通信技术有限公司 Detecting method for prompting voice, voice server and prompting voice detector
WO2009079960A1 (en) * 2007-12-25 2009-07-02 Huawei Technologies Co., Ltd. Method, system and equipment for outband dtmf signaling interworking
CN101483416A (en) * 2009-01-20 2009-07-15 杭州火莲科技有限公司 Response balance processing method for voice
US20100202598A1 (en) * 2002-09-16 2010-08-12 George Backhaus Integrated Voice Navigation System and Method
CN105162998A (en) * 2015-08-24 2015-12-16 小米科技有限责任公司 Denoising method and denoising devices for dual tone multi frequency signal
CN108040186A (en) * 2017-11-15 2018-05-15 维沃移动通信有限公司 The sending method and mobile terminal of a kind of dtmf signal

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920010745B1 (en) * 1989-11-21 1992-12-14 주식회사 금성사 Tele-alarming system
CN2105812U (en) * 1991-05-17 1992-05-27 丹东电子研究所 Telephone line transport alarm transmitting system
CN1487679A (en) * 1994-12-19 2004-04-07 ���˹���Ѷ��� Transmission system and operating method thereof
CN1166118A (en) * 1996-03-12 1997-11-26 富士通株式会社 Radio access system for telematique service
KR20000074038A (en) * 1999-05-17 2000-12-05 심응용 Aaaaa
CN1623316A (en) * 2002-03-12 2005-06-01 西门子公司 Control of packet network-based service servers using in particular DTMF signals
US20100202598A1 (en) * 2002-09-16 2010-08-12 George Backhaus Integrated Voice Navigation System and Method
CN1491019A (en) * 2002-10-14 2004-04-21 华为技术有限公司 Controller and method for mobile communication system apparatus by telephone terminal
CN1708997A (en) * 2002-10-25 2005-12-14 达丽星网络有限公司 Method and apparatus for DTMF detection and voice mixing in the CELP parameter domain
KR20040080876A (en) * 2003-03-14 2004-09-20 고진광 System for automatic sound Alarm and Remote Control using DTMF
CN1581906A (en) * 2003-08-11 2005-02-16 华为技术有限公司 Method for realizing dual-tone multifrequency signal silence
CN101052066A (en) * 2007-05-22 2007-10-10 杭州华三通信技术有限公司 Detecting method for prompting voice, voice server and prompting voice detector
WO2009079960A1 (en) * 2007-12-25 2009-07-02 Huawei Technologies Co., Ltd. Method, system and equipment for outband dtmf signaling interworking
CN101483416A (en) * 2009-01-20 2009-07-15 杭州火莲科技有限公司 Response balance processing method for voice
CN105162998A (en) * 2015-08-24 2015-12-16 小米科技有限责任公司 Denoising method and denoising devices for dual tone multi frequency signal
CN108040186A (en) * 2017-11-15 2018-05-15 维沃移动通信有限公司 The sending method and mobile terminal of a kind of dtmf signal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
董凯宁: "智能报警技术研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》 *

Also Published As

Publication number Publication date
CN111325957B (en) 2021-09-03

Similar Documents

Publication Publication Date Title
TWI474690B (en) A radio sensor for detecting wireless microphone signals and a method thereof
CN109461455B (en) System and method for eliminating howling
CN103929707A (en) Method for detecting conditions of microphone voice-grade channels and terminal
KR960032911A (en) Audio signal compression method
JP2002366174A (en) Method for covering g.729 annex b compliant voice activity detection circuit
CN103077723B (en) Audio transmission system
CN103166702A (en) Method and device for configuring wireless network in voice frequency mode
CN109584901B (en) Emergency broadcast audio processing method and device
CN111325957B (en) Micro control unit and DTMF alarm signal output method and system
JP2851974B2 (en) DTMF signal judgment circuit
CN116260811A (en) Text data transmission method and device, storage medium and electronic device
CN115348507A (en) Impulse noise suppression method, system, readable storage medium and computer equipment
CN113948106A (en) Audio rhythm detection method, light effect control system, device, equipment and medium
CN102055888B (en) Network camera, network shooting system and network shooting method
CN101562013A (en) Method and device for automatically recognizing voice
CN111081269B (en) Noise detection method and system in call process
CN116248726A (en) Student dormitory management system, method and computer storage medium
KR101173980B1 (en) System and method for suppressing noise in voice telecommunication
CN111724811B (en) Squeaking identification method and device based on subaudio frequency
CN114629760A (en) Low-voltage transformer area characteristic current communication method based on frequency domain modulation
US9031245B2 (en) Method and device for detecting acoustic shocks
CN113055735A (en) Wireless screen transmission data transmission method, system and computer readable storage medium
US10198934B2 (en) Facsimile aware alarm monitoring station and method
CN111145784A (en) Sound detection starting system
CN117278057B (en) Self-adaptive data compression system, compression method and electrophysiological signal compression method

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