CN106713646B - Emergency voice communication device and method based on embedded equipment - Google Patents

Emergency voice communication device and method based on embedded equipment Download PDF

Info

Publication number
CN106713646B
CN106713646B CN201611241121.0A CN201611241121A CN106713646B CN 106713646 B CN106713646 B CN 106713646B CN 201611241121 A CN201611241121 A CN 201611241121A CN 106713646 B CN106713646 B CN 106713646B
Authority
CN
China
Prior art keywords
call
instruction
module
central controller
communication number
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.)
Active
Application number
CN201611241121.0A
Other languages
Chinese (zh)
Other versions
CN106713646A (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.)
Nanjing Adaer Electronic Technology Co ltd
Original Assignee
Nanjing Adaer Electronic 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 Nanjing Adaer Electronic Technology Co ltd filed Critical Nanjing Adaer Electronic Technology Co ltd
Priority to CN201611241121.0A priority Critical patent/CN106713646B/en
Publication of CN106713646A publication Critical patent/CN106713646A/en
Application granted granted Critical
Publication of CN106713646B publication Critical patent/CN106713646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72418User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides an emergency voice call device and a call method based on embedded equipment, which comprise an MCU central controller, a watchdog module, a wireless communication module, a voice module and a GPIO module, wherein the GPIO module is respectively connected with a trigger and the MCU central controller, the MCU central controller is respectively connected with the watchdog module, the wireless communication module and the voice module, the voice module is respectively connected with the wireless communication module, the MCU central controller and the GPIO module, and can support wireless communication modules of various manufacturers such as 2G/3G/4G, and the like, so that the emergency voice call device and the call method can realize one-key dialing, automatic answering and manual answering functions without damage. The wireless communication module supports wireless communication modules of various manufacturers such as 2G/3G/4G and the like, and has the characteristics of simple method, flexible control, cost saving and easiness in integration.

Description

Emergency voice communication device and method based on embedded equipment
Technical Field
The invention relates to the technical field of voice communication, in particular to an emergency voice communication device and method based on embedded equipment.
Background
The current emergency voice communication field is generally realized by connecting a wireless terminal with a telephone to realize a conversation function, or by a network telephone such as VOIP. The two modes require external telephones, occupy no space, are not beneficial to embedded integrated application and increase the cost; the network telephone of VOIP is very easy to be influenced by network environment, the call quality is very unstable, and the problem of voice delay exists.
Disclosure of Invention
The invention aims to solve the problems and provides a method for realizing emergency voice call by adopting a global mature and stable mobile phone mobile communication network without an external telephone and a VOIP technology, which is simple, flexible to control, cost-saving and extremely easy to integrate.
Therefore, one object of the present invention is to provide an emergency voice call device based on an embedded device, which includes an MCU central controller, a watchdog module, a wireless communication module, a voice module, and a GPIO module.
The GPIO module is respectively connected with the trigger and the MCU central controller and is used for receiving the trigger signal sent by the trigger and sending the received trigger signal to the MCU central controller; according to the trigger signal, the MCU central controller sends a call instruction or a hang-up instruction to the voice module; and the voice module executes calling or hanging up after receiving the instruction.
The MCU central controller is respectively connected with the watchdog module, the wireless communication module and the voice module and is used for storing a plurality of preset communication numbers; the MCU central controller generates a corresponding query instruction according to the received trigger signal; the query instruction carries preset communication number addresses, and the MCU central controller sends the query instruction to the voice module, wherein the communication number addresses point to a plurality of preset communication numbers arranged according to priorities.
The voice module is respectively connected with the wireless communication module, the MCU central controller and the GPIO module, acquires a preset communication number corresponding to a first address in the communication number addresses, and immediately calls the preset communication number corresponding to the first address through the wireless communication module according to a received call instruction; and judging the line state, feeding the line state back to the MCU, and judging whether to continue to call the preset next communication number or not by the MCU according to the line state until the call is established or the last communication number cannot be connected.
Preferably, the line state includes at least the following two states:
and in the state 1, the preset communication number is a channel, and at the moment, the MCU central controller judges that the call is established according to the line state and stops executing the instruction of calling the next preset communication number.
And 2, judging that the call cannot be established by the MCU according to the line state when the preset communication number cannot be accessed, executing an instruction for calling the next preset communication number by the MCU central controller, continuously judging the line state, and repeating the steps until the call is established or the last communication number cannot be accessed.
Preferably, the MCU central controller classifies the passively answered communication numbers according to the user instruction, and sets the passively answered communication numbers as a black list and a white list of the telephone numbers.
Preferably, the watchdog module is connected with the MCU central controller and used for monitoring the running state of the MCU central controller in real time.
Preferably, the voice module includes an audio signal amplifying and converting circuit, an audio interface, and an IO control circuit. The audio interface comprises a microphone and an earphone.
Preferably, the trigger is a key switch or a relay.
The invention also provides an emergency voice communication method based on the embedded equipment, which comprises the following steps:
step S1, the GPIO module receives the trigger signal sent by the trigger and sends the received trigger signal to the MCU central controller; according to the trigger signal, the MCU central controller sends a call instruction or a hang-up instruction to the voice module; and the voice module executes calling or hanging up after receiving the instruction.
Step S2, a plurality of preset communication numbers are arranged in the MCU central controller, a corresponding query instruction is generated according to the received trigger signal, and a preset communication number address is carried in the query instruction, wherein the communication number address points to the preset communication numbers arranged according to the priority, and the MCU central controller sends the generated query instruction to the voice module.
Step S3, the voice module obtains the preset communication number corresponding to the communication number address of the query instruction, and immediately calls the preset communication number corresponding to the first address through the wireless communication module according to the received call instruction; and judging the line state, feeding the line state back to the MCU, judging whether to execute an instruction for calling the next preset communication number by the MCU according to the line state, continuing to judge the line state, and repeating the steps until the call is established or the last communication number cannot be connected.
Preferably, step S1 further includes the following steps: the MCU central controller 1 presets calling delay time when controlling the voice module, the GPIO module receives a trigger signal sent by the 2 nd trigger in the preset calling delay time, the MCU central controller judges that all instructions are cancelled to be executed, a hang-up instruction is sent to the voice module, and the voice module executes hang-up after receiving the instructions.
Preferably, step S1 further includes the following steps: the GPIO module can detect whether the local telephone is connected with a trigger signal, if the GPIO module receives the trigger signal that the local telephone is connected with, the MCU central controller judges that the execution of a subsequent instruction is cancelled, and sends an on-hook instruction to the voice module to realize local voice communication; if the GPIO does not receive the trigger signal of the local telephone being connected, the MCU central controller presets communication numbers to dial in turn until the call is established or the last communication number cannot be connected.
Preferably, the line status in step S3 includes at least the following two statuses:
the state 1 is that the preset communication number is a channel, and at the moment, the MCU central controller judges that a call is established according to the line state and stops executing an instruction for calling the next preset communication number;
and 2, judging that the call cannot be established by the MCU according to the line state when the preset communication number cannot be accessed, executing an instruction for calling the next preset communication number by the MCU central controller, continuously judging the line state, and repeating the steps until the call is established or the last communication number cannot be accessed.
Compared with the prior art, the emergency voice communication device and the emergency voice communication method based on the embedded equipment have the following advantages that:
1. the MCU central processing system is a highly integrated high-performance embedded MIPS processor, the cost and the power consumption can be reduced to the maximum extent by adopting the mode, the design efficiency is improved, and the layout size of a circuit board can be reduced.
2. The wireless communication module is connected with the MCU central processing system through a Mini-PCie or USB interface and supports various network modes such as GSM/GPRS/EDGE/CDMA/WCDMA/EVDO/TD-SCDMA/TDD-LTE/FDD-LTE and the like.
3. The MCU is combined with the GPIO and the voice module; the method and the device realize manual or automatic push-to-talk, are convenient and quick, can automatically or manually select answering and hang-up according to the judgment of whether the incoming call is matched with the set black and white list, can timely process emergency conditions and reduce unnecessary loss.
4. The MCU is combined with the GPIO and the voice module; the system can realize linkage detection, automatic calling and automatic answering with a local telephone and a remote telephone, and can strive for more precious time!
5. The watchdog module monitors the running state of the MCU central controller in real time, conveniently and timely finds the abnormal running state of the MCU, and realizes automatic diagnosis and automatic recovery.
6. The MCU central controller can remotely modify the preset telephone number by communicating with the remote server.
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 above 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 circuit connection block diagram of an emergency voice call device based on an embedded device according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific implementation process of an emergency voice call apparatus based on an embedded device according to an embodiment of the present invention;
FIG. 3 is a flow chart of an emergency voice call method based on an embedded device according to the present invention;
reference numerals
The system comprises a 1-MCU central controller, a 2-watchdog module, a 3-wireless communication module, a 4-voice module and a 5-GPIO module.
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.
As shown in fig. 1, an embodiment of the present invention provides an emergency voice call device based on an embedded device, including an MCU central controller 1, a watchdog module 2, a wireless communication module 3, a voice module 4, and a GPIO module 5; the watchdog module 2 is connected with the MCU central controller 1 and used for monitoring the running state of the MCU central controller 1 in real time.
The GPIO module is respectively connected with the trigger and the MCU central controller 1, and the GPIO module 5 is used for receiving the trigger signal sent by the trigger and sending the received trigger signal to the MCU central controller 1; according to the trigger signal, the MCU central controller 1 sends a call instruction or a hang-up instruction to the voice module 4; and the voice module executes calling or hanging up after receiving the instruction.
Further, when the MCU central controller 1 controls the voice module, the calling delay time is preset, the GPIO module receives the trigger signal sent by the 2 nd trigger within the preset calling delay time, the MCU central controller judges that all instructions are cancelled to be executed, the on-hook instruction is sent to the voice module, and the voice module executes on-hook after receiving the instruction.
Furthermore, the GPIO module can also detect a trigger signal whether the local telephone is connected, if the GPIO module receives the trigger signal that the local telephone is connected, the MCU central controller judges that the execution of a subsequent instruction is cancelled, and sends a hang-up instruction to the voice module, so that local voice communication is realized; if the GPIO does not receive the trigger signal of the local telephone being connected, the MCU central controller presets communication numbers to dial in turn until the call is established or the last communication number cannot be connected.
The MCU central controller 1 adopts an embedded MIPS processor, so that the cost and the power consumption can be reduced to the maximum extent, the design efficiency is improved, and the layout size of a circuit board can be reduced. Further, the trigger may be a key switch or a relay.
The MCU central controller 1 is respectively connected with the watchdog module 2, the wireless communication module 3 and the voice module 4, and the MCU central controller 1 is used for storing a plurality of preset communication numbers; a plurality of preset communication numbers are set by the user and are necessary emergency contact numbers, for example: monitoring center, rescue personnel and maintenance personnel's telephone number.
The MCU central controller 1 generates a corresponding query instruction according to the received trigger signal; the query instruction carries preset communication number addresses, and the MCU central controller 1 sends the query instruction to the voice module 4, wherein the communication number addresses point to a plurality of preset communication numbers arranged according to priorities; the watchdog module monitors the running state of the MCU central controller in real time, conveniently and timely finds the abnormal running state of the MCU, and realizes automatic diagnosis and automatic recovery.
And the MCU central controller classifies the passively answered communication numbers according to the user instruction and sets the passively answered communication numbers into a black list and a white list of the telephone numbers. Further, if the incoming call number is the telephone number in the blacklist, the MCU central controller controls the voice call module to hang up the telephone; and when the incoming call number is the white list telephone number, the MCU central controller controls the voice module 4 to answer automatically or manually.
It should be noted that the communication numbers in the black and white lists can be modified by the user in real time.
The voice module 4 is respectively connected with the wireless communication module 3, the MCU central controller and the GPIO module 5, and further mainly realizes the voice call function based on the SIM card; the SIM card supports a single card or multiple cards.
The voice module 4 comprises an audio signal amplifying and converting circuit, an audio interface and an IO control circuit. The MIC audio interface includes a microphone and earpiece interface. The voice module 4 is connected with the SIM card, and the GPIO is controlled by the MCU central processing system to realize automatic or manual alternate dialing of a preset telephone number and answering of an incoming call.
The voice module 4 acquires a preset communication number corresponding to a first address in communication number addresses according to the query instruction, and immediately calls the preset communication number corresponding to the first address through the wireless communication module 3 according to a received call instruction; and judging the line state, and feeding back the line state to the MCU central controller 1, specifically, the line state includes at least the following two states:
the state 1 is that the preset communication number is a channel, and at the moment, the MCU central controller judges that a call is established according to the line state and stops executing an instruction for calling the next preset communication number;
and 2, judging that the call cannot be established by the MCU according to the line state when the preset communication number cannot be accessed, executing an instruction for calling the next preset communication number by the MCU central controller, continuously judging the line state, and repeating the steps until the call is established or the last communication number cannot be accessed.
Further, the wireless communication module 3 can be a 2G/3G/4G wireless communication module, is connected with the MCU central processing system through a Mini-PCie or USB interface, and supports various network systems such as GSM/GPRS/EDGE/CDMA/WCDMA/EVDO/TD-SCDMA/LTE and the like. The wireless communication module 3 mainly adopts a standardized interface design, and can be compatible with 2G/3G/4G wireless communication modules based on similar standard interfaces of different models of various manufacturers on the market. The 2G/3G/4G wireless communication module is connected with the MCU central processing system by adopting a standard interface, and the 2G/3G/4G wireless communication module mainly completes an air interface of a 2G/3G/4G wireless network, and comprises the functions of establishing/data communication, voice communication, GPS data transmission and the like of the 2G/3G/4G wireless network.
Specifically, in the communication process, the voice module sends a call instruction by using the wireless communication module 3 according to the acquired preset communication number, the call instruction is sent to the receiving end of the opposite side through the base station, and if the call instruction is a path, the receiving end of the opposite side responds, and then the call is established; otherwise, the receiving end of the other party does not answer, and feeds back to the busy tone or the busy signal of the voice module. And when the call cannot be established, the MCU central controller determines whether to execute an instruction of calling the next preset communication number according to whether the voice module is a busy tone or a busy signal.
After the call is established, the base station sends the call instruction to the called terminal, the call connection between the calling terminal (the emergency voice call device of the invention) and the called terminal is established, and the two parties realize the emergency call through the base station.
As shown in fig. 2, the specific process can be illustrated by the following examples.
When the trigger is manually or automatically triggered, the GPIO controls the voice module 4 to immediately call a preset 1 st telephone number, and if the 1 st telephone number is not busy, the GPIO waits for the other party to answer, and the voice call is established; if the 1 st telephone number is busy, a busy tone can be returned to the MCU central controller for judgment, at the moment, the MCU central controller executes an instruction of calling the next preset communication number, and continues to judge the line state, and so on until the call is established or the last communication number cannot be connected, and the MCU central controller hangs up.
And the GPIO module receives the trigger signal sent by the 2 nd trigger within the preset calling delay time, the MCU central controller judges that all instructions are cancelled to be executed, sends a hang-up instruction to the voice module, and the voice module executes hang-up after receiving the instruction.
Further, as shown in fig. 2, the GPIO module may further detect a trigger signal indicating whether the local phone is connected, and if the GPIO module receives the trigger signal indicating that the local phone is connected, the MCU central controller determines to cancel execution of the subsequent instruction and sends an on-hook instruction to the voice module to implement local voice communication; if the GPIO does not receive the trigger signal of the local telephone being connected, the MCU central controller presets communication numbers to dial in turn until the call is established or the last communication number cannot be connected.
When a call is called, if the called telephone number is the telephone number in the blacklist, the MCU central controller controls the voice call module to hang up the call; and when the incoming call number is the white list telephone number, the MCU central controller controls the voice module 4 to answer automatically or manually.
The MCU central controller 1 can also communicate with a remote control terminal through the wireless communication module 3 and the SIM card, and remotely modify the preset telephone number through a short message or a remote server.
Specifically, the user sends a short message or an instruction to the wireless communication module 3 through a remote control terminal (including a short message device or a server), wherein the content of the short message or the instruction includes: for the modification instruction of the preset communication number, the wireless communication module 3 forwards the modification instruction to the MCU central controller 1, so that the MCU central controller updates the original storage content therein.
As shown in fig. 3, the present invention further provides an emergency voice call method based on an embedded device, including the following steps:
step S1, the GPIO module 5 receives the trigger signal sent by the trigger and sends the received trigger signal to the MCU central controller; according to the trigger signal, the MCU central controller sends a call instruction or a hang-up instruction to the voice module; and the voice module executes calling or hanging up after receiving the instruction. As shown in fig. 2, step S1 further includes the following steps: and the GPIO module receives the trigger signal sent by the 2 nd trigger within the preset calling delay time, the MCU central controller judges that all instructions are cancelled to be executed, sends a hang-up instruction to the voice module, and the voice module executes hang-up after receiving the instruction.
Further, as shown in fig. 2, the GPIO module may further detect a trigger signal indicating whether the local phone is connected, and if the GPIO module receives the trigger signal indicating that the local phone is connected, the MCU central controller determines to cancel execution of the subsequent instruction and sends an on-hook instruction to the voice module to implement local voice communication; if the GPIO does not receive the trigger signal of the local telephone being connected, the MCU central controller presets communication numbers to dial in turn until the call is established or the last communication number cannot be connected.
And step S2, a plurality of preset communication numbers are arranged in the MCU central controller, corresponding inquiry instructions are generated according to the times of the received trigger signals, preset communication number addresses carried in the inquiry instructions are inquired, the communication number addresses point to the preset communication numbers arranged according to the priority, and the MCU central controller sends the generated inquiry instructions to the voice module.
Further, as shown in fig. 2, in step S2, the MCU central controller classifies the passively answered communication numbers according to the user instruction, and sets a black and white list of the phone numbers. Further, if the incoming call number is the telephone number in the blacklist, the MCU central controller controls the voice call module to hang up the telephone; and when the incoming call number is the white list telephone number, the MCU central controller controls the voice module to automatically or manually answer the call. It should be noted that the communication numbers in the black and white lists can be modified by the user in real time.
As shown in fig. 3, in step S3, the voice module obtains a preset communication number corresponding to the communication number address of the query instruction, and immediately calls the preset communication number corresponding to the first address through the wireless communication module according to the received call instruction; and judging the line state, wherein the line state at least comprises the following two states:
state 1, presetting a communication number as a path; at the moment, the MCU central controller judges that the call is established according to the line state and stops executing the instruction of calling the next preset communication number.
State 2, presetting a communication number as unavailable; and at the moment, the MCU central controller judges that the call cannot be established according to the line state, the voice module is automatically hung up manually or under the control of the MCU central controller, a preset second number corresponding to the next address in the communication number addresses is dialed according to the priority in sequence, the line state is fed back to the MCU central controller, the line state is continuously judged, and the MCU central controller continuously judges the line state and analogizes in sequence until the call is established or the last communication number cannot be connected.
Further, the wireless communication module 3 may be a 3G/4G wireless communication module or a Wifi module, and is connected to the MCU central processing system through a Mini-PCie or USB interface, and supports a 3G/4G wireless communication module of various network systems of GSM/GPRS/EDGE/CDMA, WCDMA/EVDO/TD-SCDMA/TDD-LTE/FDD-LTE. The wireless communication module mainly adopts a standardized interface design, and can be compatible with 2G/3G/4G wireless communication modules based on similar standard interfaces of different models of various manufacturers on the market. The 2G/3G/4G wireless communication module is connected with the MCU central processing system by adopting a standard interface, and the 2G/3G/4G wireless communication module mainly completes an air interface of a 2G/3G/4G wireless network, and comprises the functions of establishing/data communication, voice communication, GPS data transmission and the like of the 2G/3G/4G wireless network.
Specifically, in the communication process, the voice module sends a call instruction by using the wireless communication module according to the acquired preset communication number, the call instruction is sent to the receiving end of the opposite side through the base station, and if the call instruction is a path, the receiving end of the opposite side responds and the call is established; otherwise, the receiving end of the other party does not answer, and feeds back to the busy tone or the busy signal of the voice module. When the call cannot be established, the MCU central controller determines whether to automatically or manually control the trigger to trigger again according to whether the voice module is busy or busy.
After the call is established, the base station sends the call instruction to the called terminal, the call connection between the calling terminal (the emergency voice call device of the invention) and the called terminal is established, and the two parties realize the emergency call through the base station.
As shown in fig. 2, the specific process can be illustrated by the following examples.
When the trigger is manually or automatically triggered, the GPIO controls the voice module 4 to immediately call a preset 1 st telephone number, and if the 1 st telephone number is not busy, the GPIO waits for the other party to answer, and the voice call is established; if the 1 st telephone number is busy, a busy tone can be returned to the MCU central controller for judgment, at the moment, the MCU central controller executes an instruction of calling the 2 nd preset telephone number, and continues to judge the line state, and so on until a call is established or the last communication number cannot be connected, and the MCU central controller hangs up.
When a call is incoming, if the incoming call number is the telephone number in the blacklist, the MCU central controller controls the voice call module to hang up the call; and when the incoming call number is the white list telephone number, the MCU central controller controls the voice module 4 to answer automatically or manually.
Further, step S3 includes that the following MCU central controller is connected to the watchdog module, so that the watchdog module monitors the operating state of the MCU central controller in real time. The watchdog module monitors the running state of the MCU central controller in real time, conveniently and timely finds the abnormal running state of the MCU, and realizes automatic diagnosis and automatic recovery.
The MCU central controller 1 can also communicate with a remote control terminal (short message equipment or a server) through the wireless communication module 3, and remotely modify the preset telephone number in the form of a short message instruction or a control instruction transmitted by a mobile communication network.
Specifically, the user sends a short message instruction or a control instruction to the wireless communication module 3 through a remote control terminal (short message device or server), wherein the content includes: for the modification instruction of the preset communication number, the wireless communication module 3 forwards the modification instruction to the MCU central controller 1, so that the MCU central controller updates the original storage content therein.
The invention can realize one-key dialing, automatic and manual answering functions by setting. The wireless communication module supports wireless communication modules of various manufacturers such as 2G/3G/4G and the like, and has the characteristics of simple method, flexible control, cost saving and easiness in integration.
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 do not necessarily 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.
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 in the above embodiments by those of ordinary skill in the art without departing from the principle and spirit of the present invention. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (6)

1. An emergency voice call device based on embedded equipment is characterized by comprising an MCU central controller, a watchdog module, a wireless communication module, a voice module and a GPIO module;
the GPIO module is respectively connected with the trigger and the MCU central controller and is used for receiving the trigger signal sent by the trigger and sending the received trigger signal to the MCU central controller; according to the trigger signal, the MCU central controller sends a call instruction or a hang-up instruction to the voice module; the voice module executes calling or hanging up after receiving the instruction;
the MCU central controller is respectively connected with the watchdog module, the wireless communication module and the voice module and is used for storing a plurality of preset communication numbers; the MCU central controller generates a corresponding query instruction according to the received trigger signal; the query instruction carries preset communication number addresses, and the MCU central controller sends the query instruction to the voice module, wherein the communication number addresses point to a plurality of preset communication numbers arranged according to priorities;
the voice module is respectively connected with the wireless communication module, the MCU central controller and the GPIO module, acquires a preset communication number corresponding to a first address in the communication number addresses, and immediately calls the preset communication number corresponding to the first address through the wireless communication module according to a received call instruction; judging the line state, feeding the line state back to the MCU, and judging whether to continue calling the preset next communication number or not by the MCU according to the line state until the call is established or the last communication number cannot be connected;
in the communication process, the voice module sends a calling instruction by using the wireless communication module according to the acquired preset communication number, the calling instruction is sent to the receiving end of the opposite side through the base station, and if the calling instruction is a path, the receiving end of the opposite side responds, and then the call is established; otherwise, the receiving end of the other party does not answer, and feeds back to the busy tone or the busy signal of the voice module; when the call cannot be established, the MCU central controller determines whether to execute an instruction of calling the next preset communication number according to whether the voice module is a busy tone or a busy signal;
after establishing a call, the base station sends the call instruction to the called terminal, establishes a call connection between the calling terminal and the called terminal, and realizes emergency call between the calling terminal and the called terminal through the base station;
the line state includes at least the following two states:
the state 1 is that the preset communication number is a channel, and at the moment, the MCU central controller judges that a call is established according to the line state and stops executing an instruction for calling the next preset communication number;
and 2, judging that the call cannot be established by the MCU according to the line state when the preset communication number cannot be accessed, executing an instruction for calling the next preset communication number by the MCU central controller, continuously judging the line state, and repeating the steps until the call is established or the last communication number cannot be accessed.
2. The emergency voice call device based on embedded device according to claim 1, wherein the MCU central controller classifies passively answered communication numbers according to user instructions, and sets them as black and white lists of phone numbers.
3. The emergency voice call device based on the embedded device according to claim 1, wherein the watchdog module is connected to the MCU central controller, and is configured to monitor an operation state of the MCU central controller in real time.
4. The emergency voice call apparatus based on embedded device according to claim 1, wherein the voice module comprises an audio signal amplifying and converting circuit, an audio interface, and an IO control circuit.
5. The emergency voice call device based on embedded device as claimed in claim 1, wherein the trigger is a key switch or a relay.
6. An emergency voice call method based on embedded equipment is characterized by comprising the following steps:
step S1, the GPIO module receives the trigger signal sent by the trigger and sends the received trigger signal to the MCU central controller; according to the trigger signal, the MCU central controller sends a call instruction or a hang-up instruction to the voice module; the voice module executes calling or hanging up after receiving the instruction; the GPIO module can detect whether the local telephone is connected with a trigger signal, if the GPIO module receives the trigger signal that the local telephone is connected with, the MCU central controller judges that the execution of a subsequent instruction is cancelled, and sends an on-hook instruction to the voice module to realize local voice communication; if the GPIO does not receive the trigger signal of the local telephone which is connected, the MCU central controller dials in turn according to the preset communication number until the call is established or the last communication number can not be connected, and hangs up; when the MCU central controller controls the voice module, presetting call delay time, and the GPIO module receives a trigger signal sent by the 2 nd trigger in the preset call delay time, judging that all instructions are cancelled to be executed by the MCU central controller, sending a hang-up instruction to the voice module, and executing hang-up after the voice module receives the instruction;
step S2, a plurality of preset communication numbers are arranged in the MCU, a corresponding query instruction is generated according to the received trigger signal, and a preset communication number address is carried in the query instruction, wherein the communication number address points to the preset communication numbers arranged according to priority, and the MCU sends the generated query instruction to a voice module;
step S3, the voice module obtains the preset communication number corresponding to the communication number address of the query instruction, and immediately calls the preset communication number corresponding to the first address through the wireless communication module according to the received call instruction; judging the line state, feeding the line state back to the MCU, judging whether to execute an instruction for calling the next preset communication number or not by the MCU according to the line state, continuing to judge the line state, and repeating the steps until the call is established or the last communication number cannot be connected;
in the communication process, the voice module sends a calling instruction by using the wireless communication module according to the acquired preset communication number, the calling instruction is sent to the receiving end of the opposite side through the base station, and if the calling instruction is a path, the receiving end of the opposite side answers and then the call is established; otherwise, the receiving end of the other party does not answer, and feeds back to the busy tone or the busy signal of the voice module; when the call cannot be established, the MCU central controller determines whether to automatically or manually control the trigger to trigger again according to whether the voice module is busy or busy;
after establishing a call, the base station sends the call instruction to the called terminal, establishes a call connection between the calling terminal and the called terminal, and realizes emergency call between the calling terminal and the called terminal through the base station;
the line state includes at least the following two states:
the state 1 is that the preset communication number is a channel, and at the moment, the MCU central controller judges that a call is established according to the line state and stops executing an instruction for calling the next preset communication number;
and 2, judging that the call cannot be established by the MCU according to the line state when the preset communication number cannot be accessed, executing an instruction for calling the next preset communication number by the MCU central controller, continuously judging the line state, and repeating the steps until the call is established or the last communication number cannot be accessed.
CN201611241121.0A 2016-12-29 2016-12-29 Emergency voice communication device and method based on embedded equipment Active CN106713646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611241121.0A CN106713646B (en) 2016-12-29 2016-12-29 Emergency voice communication device and method based on embedded equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611241121.0A CN106713646B (en) 2016-12-29 2016-12-29 Emergency voice communication device and method based on embedded equipment

Publications (2)

Publication Number Publication Date
CN106713646A CN106713646A (en) 2017-05-24
CN106713646B true CN106713646B (en) 2021-01-08

Family

ID=58903729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611241121.0A Active CN106713646B (en) 2016-12-29 2016-12-29 Emergency voice communication device and method based on embedded equipment

Country Status (1)

Country Link
CN (1) CN106713646B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1489824A2 (en) * 2003-06-16 2004-12-22 Matsushita Electric Industrial Co., Ltd. Security system and cordless phone apparatus
CN102348183A (en) * 2011-08-08 2012-02-08 深圳市冠润达电子有限公司 Method and system for realizing emergency wireless communication
CN202503578U (en) * 2011-11-28 2012-10-24 江西联创精密机电有限公司 Embedded voice exchange system
CN204408435U (en) * 2015-03-04 2015-06-17 西安科技大学 A kind of emergency communication main frame
CN105722251A (en) * 2016-04-13 2016-06-29 南京阿达尔电子科技有限公司 Industrial level terminal for internet of things
CN105763734A (en) * 2016-03-24 2016-07-13 北京小米移动软件有限公司 Emergency communication method, device, and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701973B (en) * 2013-12-17 2017-05-31 北京工业大学 A kind of convenient calling terminal of intelligence

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1489824A2 (en) * 2003-06-16 2004-12-22 Matsushita Electric Industrial Co., Ltd. Security system and cordless phone apparatus
CN102348183A (en) * 2011-08-08 2012-02-08 深圳市冠润达电子有限公司 Method and system for realizing emergency wireless communication
CN202503578U (en) * 2011-11-28 2012-10-24 江西联创精密机电有限公司 Embedded voice exchange system
CN204408435U (en) * 2015-03-04 2015-06-17 西安科技大学 A kind of emergency communication main frame
CN105763734A (en) * 2016-03-24 2016-07-13 北京小米移动软件有限公司 Emergency communication method, device, and apparatus
CN105722251A (en) * 2016-04-13 2016-06-29 南京阿达尔电子科技有限公司 Industrial level terminal for internet of things

Also Published As

Publication number Publication date
CN106713646A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
KR101035815B1 (en) A method for realizing dual-standby call of dual-mode mobile terminal
CN108377482B (en) Method, device, system and equipment for connecting terminal with Bluetooth equipment
CN105430143B (en) Communication processor, VoLTE realization method, mobile terminal and data card
US6327477B1 (en) Wireless communication apparatus and system
CN104661084A (en) Method for automatically changing volume of TV during answering of mobile phone
CN1809195A (en) Multi-communication network call processing method for multi-mode terminals
CN102104667B (en) Mobile phone and on-hook method thereof
US20120220303A1 (en) Stationary wireless terminal and switching method for automatically switching communication lines
CN107124706B (en) Method, device and system for switching calls among mobile phones
CN104602361A (en) Method for expanding wireless network service of mobile phone by WiFi (wireless fidelity) network
CN104602214A (en) Expansion method of wireless voice and short message service of mobile phone
CN106713646B (en) Emergency voice communication device and method based on embedded equipment
CN105025543A (en) Communication method, apparatus and terminal
CN102263862A (en) Intelligent dialing method and fixedline telephone using same
CN101197595B (en) Method for acquiring external line state in Bluetooth cordless telephone system
CN101635903A (en) Calling control method, calling control apparatus, terminal and communication system
CN105101127A (en) Abnormal call warning method and device
CN111356170B (en) Method and device for switching multiple systems of mobile terminal
CN102104992A (en) Double-mode communication equipment and method for answering call by using bluetooth device
US9148909B2 (en) Mobile terminal
CN204578623U (en) A kind of traffic box supporting calls transfer
KR101078938B1 (en) The system and method for informing the situation which can be spoken to a person using a generic telephone
KR100617747B1 (en) Automated Response Method Using Built-in Voicemail System
WO2014169764A1 (en) Method for transferring call on mobile terminal, and mobile terminal
CN104427084A (en) Handset communication method, handset and handset communication system

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