An intercom access device and an emergency command system

By designing a walkie-talkie access device that includes a general serial interface, main control module, a decoder and a walkie-talkie interface, the problem of emergency command system being unable to be used normally in areas with poor network quality is solved, and the normal access and communication of walkie-talkie in various scenarios is realized.

CN116260477BActive Publication Date: 2025-06-03广州广哈通信股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211489212.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-25
Publication Date
2025-06-03
Estimated Expiration
2042-11-25

AI Technical Summary

Technical Problem

The existing emergency command system cannot be used normally in areas with poor network quality, which limits the use of walkie-talkies.

Method used

An intercom access device is designed, including a general serial interface, main control module, a decoder and a intercom interface. Through these components, the wired connection between the intercom and the emergency command center is realized to ensure normal communication.

Benefits of technology

This device can normally access the walkie-talkie in areas with poor network quality, ensuring normal communication between the emergency command center and the master-slave walkie-talkie, and flexibly applied to various scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116260477B_ABST
    Figure CN116260477B_ABST
Patent Text Reader

Abstract

The present invention discloses an interphone access device and an emergency command system. The device includes a universal serial interface for externally connecting to an emergency command center; an interphone interface for externally connecting to a main interphone; a codec, one end of which is connected to a main control module and the other end is connected to the interphone interface, for receiving the intercom analog audio sent by the main interphone and converting the intercom analog audio into intercom digital audio and sending it to the main control module; the main control module, which is connected to the universal serial interface and is used for: receiving the command digital audio sent by the emergency command center and sending the command digital audio to the codec so that the codec converts the command digital audio into command analog audio; receiving the intercom digital audio sent by the codec; and sending the intercom digital audio to the emergency command center. The present invention can realize connecting an interphone to an emergency command center in an area with poor network quality while ensuring normal intercom communication, so as to be flexibly applied to various scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and particularly to an interphone access device and an emergency command system based on the interphone access device. Background Art

[0002] The emergency command system has functions such as command, dispatching, intercom, and broadcasting, and is mainly used for tracking of emergency incidents, real-time communication, joint command, on-site emergency support, etc. to provide emergency guarantee. The intercom function of the existing emergency command system mainly has the following three access methods: 1. Wireless trunking intercom gateway access; 2. Interphone repeater access; 3. WiFi single soldier access. Although these three intercom access methods can connect the interphone to the emergency command system, these three intercom access methods all have relatively high requirements for network quality and cannot be used normally in areas with poor network quality, and the application scenarios are limited. Summary of the Invention

[0003] The present invention provides an interphone access device and an emergency command system, which can realize connecting the interphone to the emergency command center in an area with poor network quality, while ensuring normal intercom communication, so as to be flexibly applied to various scenarios.

[0004] An embodiment of the present invention provides an interphone access device, including a universal serial interface, a main control module, a codec, and an interphone interface; wherein,

[0005] The universal serial interface is used to externally connect to an emergency command center;

[0006] The interphone interface is used to externally connect to a main interphone;

[0007] One end of the codec is connected to the main control module, and the other end is connected to the interphone interface. The codec is used to receive the intercom analog audio sent by the main interphone connected to the interphone interface, and convert the intercom analog audio into intercom digital audio and send it to the main control module;

[0008] The main control module is connected to the universal serial interface and is used for:

[0009] Receiving the command digital audio sent by the emergency command center connected to the universal serial interface;

[0010] Sending the command digital audio to the codec, so that the codec converts the command digital audio into command analog audio and sends the command analog audio to the main interphone connected to the interphone interface;

[0011] Receiving the intercom digital audio sent by the codec;

[0012] Send the digital intercom audio to the emergency command center connected to the universal serial interface.

[0013] As an improvement to the above solution, the intercom access device further includes a relay; wherein,

[0014] One end of the relay is connected to the main control module, and the other end is connected to the intercom interface. The relay is used to control the PTT function of the main intercom connected to the intercom interface.

[0015] As an improvement to the above solution, the intercom access device further includes an isolation circuit; wherein,

[0016] One end of the isolation circuit is connected to the UART serial port of the main control module, and the other end is connected to the intercom interface. The isolation circuit is used to isolate the intercom interface from the UART serial port.

[0017] As an improvement to the above solution, the intercom access device further includes a DIP switch; wherein,

[0018] The DIP switch is connected to the main control module, and the DIP switch is used to configure the device number of the intercom access device.

[0019] As an improvement to the above solution, the intercom access device further includes a power conversion chip; wherein,

[0020] The power conversion chip is connected to the universal serial interface, and the power conversion chip is used to convert the voltage provided by the emergency command center connected to the universal serial interface into the operating voltage of the intercom access device.

[0021] As an improvement to the above solution, the main control module is provided with a first buffer, and the first buffer is used to store the command digital audio sent by the emergency command center connected to the universal serial interface received;

[0022] Then, the sending the command digital audio to the codec specifically is:

[0023] When it is detected that the data volume of the command digital audio stored in the first buffer reaches a first preset quantity threshold, the command digital audio stored in the first buffer is sequentially sent to the codec.

[0024] As an improvement to the above solution, the main control module is further used for:

[0025] When it is detected that the data volume of the command digital audio stored in the first buffer is greater than or equal to a second preset quantity threshold, a first sampling frequency signal is generated and fed back to the emergency command center connected to the universal serial interface, so that the emergency command center reduces the sampling frequency of the command digital audio; wherein, the second preset quantity threshold is greater than the first preset quantity threshold.

[0026] When it is detected that the data volume of the command digital audio stored in the first buffer is less than or equal to a third preset quantity threshold, a second sampling frequency signal is generated and fed back to the emergency command center connected to the universal serial interface, so that the emergency command center increases the sampling frequency of the command digital audio; wherein, the third preset quantity threshold is less than the first preset quantity threshold.

[0027] As an improvement of the above solution, the main control module is further provided with a second buffer; wherein, the second buffer is used for storing the intercom digital audio sent by the codec.

[0028] Then, the sending of the intercom digital audio to the emergency command center connected to the universal serial interface specifically is:

[0029] Periodically send one of the intercom digital audios stored in the second buffer to the emergency command center connected to the universal serial interface.

[0030] As an improvement of the above solution, the main control module is further used for:

[0031] When it is detected that the data volume of the intercom digital audio stored in the second buffer is greater than or equal to a fourth preset quantity threshold, discard one of the intercom digital audios without sending it to the emergency command center connected to the universal serial interface.

[0032] When it is detected that the data volume of the intercom digital audio stored in the second buffer is less than or equal to a fifth preset quantity threshold, insert an empty audio data and send it to the emergency command center connected to the universal serial interface; wherein, the fifth preset quantity threshold is less than the fourth preset quantity threshold.

[0033] Another embodiment of the present invention provides an emergency command system based on an intercom access device, including an emergency command center, a main intercom, at least one slave intercom and the intercom access device as described in any one of the above; wherein,

[0034] The emergency command center is connected to the universal serial interface of the walkie-talkie access device through a universal serial bus, the main walkie-talkie is connected to the walkie-talkie interface of the corresponding walkie-talkie access device through a cable, and at least one slave walkie-talkie is communicatively connected to the main walkie-talkie.

[0035] Compared with the prior art, for a walkie-talkie access device and an emergency command system based on the walkie-talkie access device disclosed in an embodiment of the present invention, one end of the walkie-talkie access device is connected to the emergency command center through a universal serial interface in a wired manner, and the other end is connected to the main walkie-talkie through a walkie-talkie interface in a wired manner; wherein, the main walkie-talkie is wirelessly connected to other slave walkie-talkies on the same channel, so that the main and slave walkie-talkies can be quickly accessed to the emergency command system, and it is not affected even in areas with poor network quality, and can effectively ensure the normal communication between the emergency command center and the main and slave walkie-talkies, so as to be flexibly applied to various scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 is a schematic structural diagram of a walkie-talkie access device provided by an embodiment of the present invention;

[0037] Figure 2 is a schematic structural diagram of an emergency command system provided by an embodiment of the present invention;

[0038] Figure 3 is a schematic diagram of recording and playing of a walkie-talkie access device provided by an embodiment of the present invention.

[0039] Figure 4 is a schematic structural diagram of another emergency command system provided by an embodiment of the present invention.

[0040] Among them, the reference numerals are as follows: 00, back-end command center; 10, walkie-talkie access device; 101, universal serial interface; 102, walkie-talkie interface; 103, codec; 104, main control module; 105, relay; 106, isolation circuit; 107, DIP switch; 108, power conversion chip; 20, emergency command center; 201, speaker; 202, hand microphone; 203, MESH router; 204, individual soldier; 30, walkie-talkie networking; 301, main walkie-talkie; 302, slave walkie-talkie; 40, satellite. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0041] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without making creative efforts shall fall within the protection scope of the present invention.

[0042] See Figure 1 , Figure 1 which is a schematic flowchart of an interphone access device provided by an embodiment of the present invention.

[0043] The interphone access device 10 provided by the embodiment of the present invention includes a universal serial interface 101, a main control module 104, a codec 103, and an interphone interface 102; wherein,

[0044] The universal serial interface 101 is used to externally connect to an emergency command center 20;

[0045] The interphone interface 102 is used to externally connect to a main interphone 301;

[0046] One end of the codec 103 is connected to the main control module 104, and the other end is connected to the interphone interface 102. The codec 103 is used to receive the intercom analog audio sent by the main interphone 301 accessed to the interphone interface 102, and convert the intercom analog audio into intercom digital audio and send it to the main control module 104;

[0047] The main control module 104 is connected to the universal serial interface 101 and is used for:

[0048] Receiving the command digital audio sent by the emergency command center 20 accessed to the universal serial interface 101;

[0049] Sending the command digital audio to the codec 103, so that the codec 103 converts the command digital audio into command analog audio and sends the command analog audio to the main interphone 301 accessed to the interphone interface 102;

[0050] Receiving the intercom digital audio sent by the codec 103;

[0051] Sending the intercom digital audio to the emergency command center 20 accessed to the universal serial interface 101.

[0052] See Figure 2, the basic networking connection of the walkie-talkie adopting the walkie-talkie access device 10 of this embodiment in the emergency command scenario includes: the backend command center 00, the front-end emergency command center 20, the satellite 40, the walkie-talkie access device 10, and the walkie-talkie network 30; among them, the emergency command center 20 includes a speaker 201 and a hand microphone 202. The speaker 201 is used to provide an audio playback function for the emergency command center 20, and the hand microphone 202 is used to provide an audio collection function for the emergency command center 20; the emergency command center 20 is connected to the universal serial interface 101 of the walkie-talkie access device 10 through a universal serial cable (USB); the walkie-talkie network 30 includes a main walkie-talkie 301 and at least one slave walkie-talkie 302; the other end of the walkie-talkie access device 10 is connected to the main walkie-talkie 301 using a cable matching the main walkie-talkie 301; the main walkie-talkie 301 provides a proximal walkie-talkie function, and the slave walkie-talkie 302 is a walkie-talkie distributed outside. The channels of the main walkie-talkie 301 and the slave walkie-talkie 302 are the same, and the slave walkie-talkie 302 provides a call function between the field operation personnel and the emergency command center 20; the satellite 40 provides a satellite 40 link signal for the backend command center 00 and the emergency command center 20. It can be understood that for the walkie-talkie access device 10 of this embodiment, one end is connected to the main walkie-talkie 301 using a cable matching the main walkie-talkie 301, and the other end is connected to the emergency command center 20 using a standard universal serial interface 101 (that is, the universal serial interface 101), which can quickly connect the walkie-talkie network 30 to the emergency command system. At the same time, it can adopt the Linux standard alsa driver, and the application program can directly call and use it, reducing the development of the application program. Compared with the prior art, the walkie-talkie access device 10 of this embodiment has simple hardware implementation, low power consumption, low cost, simple connection, and is portable.

[0053] Specifically, the walkie-talkie access device 10 further includes a relay 105; among them,

[0054] One end of the relay 105 is connected to the main control module 104, and the other end is connected to the walkie-talkie interface 102. The relay 105 is used to control the PTT function of the main walkie-talkie 301 connected to the walkie-talkie interface 102.

[0055] In practical applications, the main control module 104 is an MCU chip, such as GD32F427ZGT6, which is used to configure the codec 103 and implement the interaction between the audio data of the codec 103 and the data of the emergency command center 20 of the USB. At the same time, according to the command of the emergency command center 20, the relay 105 is controlled through the GPIO of the main control module 104 to implement the PTT function of the master / slave intercom 302. In practical applications, the codec 103 can select the ES8388 chip of Everest-semi (Shunxin), and the codec 103 provides the functions of analog sound digitization or digital audio to analog conversion. The relay 105 provides a set of dry contact control interfaces for controlling the PTT function of the master / slave intercom 302.

[0056] Exemplarily, take the main control module 104 controlling the relay 105 to close and open through its GPIO_1 pin as an example, where a high level of GPIO_1 controls the relay 105 to close and a low level controls the relay 105 to be normally open. When the main control module 104 parses the HID protocol transmitted by the emergency command center 20 for controlling the PTT function and requires the state of the relay 105 to be closed, the main control module 104 will set the GPIO_1 pin level to high and return the operation success to the emergency command center 20 at the same time. When the relay 105 is closed, it means that the intercom access device 10 controls the main intercom 301 to press the PTT of the intercom through the intercom interface 102, realizing local voice pickup and transmission of the intercom. On the contrary, when the main control module 104 parses the HID protocol for controlling the PTT function and requires the state of the relay 105 to be normally open, the main control module 104 will set the GPIO_1 pin level to low and return the operation success to the emergency command center 20 at the same time. When the relay 105 is normally open, it means that the intercom access device 10 controls the main intercom 301 to release the PTT button through the intercom interface 102, and the main intercom 301 sends the remote voice through the intercom interface 102 to the MIC interface of the codec 103 for audio acquisition. After analog-to-digital conversion, it is sent to the main control module 104 through I2S, and then sent to the emergency command center 20 through the universal serial bus for voice playback.

[0057] As one specific embodiment, the intercom access device 10 further includes an isolation circuit 106; wherein,

[0058] One end of the isolation circuit 106 is connected to the UART serial port of the main control module 104, and the other end is connected to the intercom interface 102. The isolation circuit 106 is used to implement the isolation from the intercom interface 102 to the UART serial port.

[0059] Specifically, the isolation circuit 106 is used to implement communication isolation and power isolation between the intercom interface 102 and the UART serial port of the main control module 104, so as to effectively protect the UART serial port. The UART serial port of the main control module 104 is reserved for frequency writing of the master intercom 301 and the slave intercom 302. The main control module 104 can modify the channel functions of the master intercom 301 and the slave intercom 302 through the UART serial port. Specifically, the signal of the main control module 104 passes through the isolation circuit 106 through the UART serial port to reach the master intercom 301 and the slave intercom 302, reads the frequencies of the corresponding channels of the master intercom 301 and the slave intercom 302, modifies the frequency points, and then rewrites the frequencies of the new channels to the master intercom 301 and the slave intercom 302.

[0060] In some more preferred embodiments, the intercom access device 10 further includes a DIP switch 107; wherein,

[0061] The DIP switch 107 is connected to the main control module 104, and the DIP switch 107 is used to configure the device number of the intercom access device 10.

[0062] It should be noted that considering that 2 or more intercom access devices 10 can be connected to the same emergency command center 20, in terms of hardware implementation, a DIP switch 107 (such as a 5-bit DIP switch 107) can also be set. The main control module 104 powers on to detect the state of the DIP switch 107, so as to set the device number of the intercom access device 10, such as: 01, 02, 03, 04,..., 31, etc., so that the emergency command center 20 can distinguish the connected intercom access devices 10.

[0063] It should be noted that the intercom access device 10 of this embodiment is connected to the emergency command center 20 through a universal serial bus. The emergency command center 20 enumerates the intercom access device 10 through the universal serial bus. Through the function of the main control module 104, the intercom access device 10 is enumerated as a composite device of an audio sound card, a HID device, and a uart serial port device. Among them, the audio sound card corresponds to the codec 103, and the HID channel can be used to control the relay 105 to implement the PTT function. At the same time, the emergency command center 20 also obtains the device number of the intercom access device 10 through the HID channel; wherein, the device number is obtained by the main control module 104 reading and mapping the DIP switch 107.

[0064] It should be noted that the main control module 104 of this embodiment accesses the codec 103 through the I2C bus to realize the initialization configuration of the codec 103. For the specific timing requirements of the I2C bus, reference can be made to the requirements of the corresponding codec 103, such as the ES8388 chip exemplified in the solution of the present invention. In addition, the main control module 104 realizes digital audio transmission to the codec 103 through the I2S bus. The codec 103 serves as a slave of the I2S bus, while the main control module 104 serves as the host of the I2S bus. The main control module 104 sends the command digital audio downloaded by the emergency command center 20 through the universal serial bus to the codec 103 through the I2S. The codec 103 configures the sampling frequency (such as 48KHz) to realize digital-to-analog signal conversion, and sends it to the intercom interface 102 from the reserved interface (SPK interface) of the external speaker 201 of the codec 103. At the same time, it also connects from the intercom 302 interface 102 to the microphone interface (MIC interface) of the codec 103, collects the intercom analog audio according to the configured sampling frequency (such as 48KHz), performs analog audio-to-digital audio conversion, and then the codec 103 transmits the intercom digital audio to the main control module 104 through the I2S, and the main control module 104 sends it to the emergency command center 20 through the universal serial bus for sound playback.

[0065] In some more preferred embodiments, the intercom access device 10 further includes a power conversion chip 108; wherein,

[0066] The power conversion chip 108 is connected to the universal serial interface 101, and the power conversion chip 108 is used to convert the voltage provided by the emergency command center 20 accessed to the universal serial interface 101 into the working voltage of the intercom access device 10.

[0067] Exemplarily, assuming that the voltage on the universal serial bus to which the emergency command center 20 is connected to the universal serial interface 101 is 5V and the working voltage of the intercom access device 10 is 3.3V, the power conversion chip 108 can convert the 5V voltage on the universal serial bus into a 3.3V power supply voltage for the entire intercom access device 10 to use.

[0068] In a specific implementation manner, the main control module 104 is provided with a first buffer, and the first buffer is used to store the command digital audio received from the emergency command center 20 accessed to the universal serial interface 101;

[0069] Then, the sending of the command digital audio to the codec 103 is specifically:

[0070] When it is detected that the data volume of the command digital audio stored in the first buffer reaches the first preset quantity threshold, the command digital audio stored in the first buffer is sequentially sent to the codec 103.

[0071] Further, the main control module 104 is further configured to:

[0072] When it is detected that the data volume of the command digital audio stored in the first buffer is greater than or equal to the second preset quantity threshold, generate a first sampling frequency signal and feedback the first sampling frequency signal to the emergency command center 20 connected to the universal serial interface 101, so that the emergency command center 20 reduces the sampling frequency of the command digital audio; wherein, the second preset quantity threshold is greater than the first preset quantity threshold;

[0073] When it is detected that the data volume of the command digital audio stored in the first buffer is less than or equal to the third preset quantity threshold, generate a second sampling frequency signal and feedback the second sampling frequency signal to the emergency command center 20 connected to the universal serial interface 101, so that the emergency command center 20 increases the sampling frequency of the command digital audio; wherein, the third preset quantity threshold is less than the first preset quantity threshold.

[0074] Preferably, the first preset quantity threshold is n / 2, the second preset quantity threshold is 3n / 4, and the third preset quantity threshold is n / 4; wherein, n is the maximum capacity of the command digital audio stored in the first buffer.

[0075] It should be noted that when it is detected that the data volume of the command digital audio stored in the first buffer is less than the second preset quantity threshold and greater than the third preset quantity threshold, the sampling frequency of the emergency command center 20 remains unchanged. Exemplarily, taking the conventional sampling frequency of the emergency command center 20 as 48KHz as an example, when it is detected that the data volume of the command digital audio stored in the first buffer is greater than or equal to the second preset quantity threshold, it means that the sampling frequency of the emergency command center 20 is too fast, and it is necessary to make the emergency command center 20 reduce the sampling frequency of the command digital audio, such as 42KHz; when it is detected that the data volume of the command digital audio stored in the first buffer is less than or equal to the third preset quantity threshold, it means that the sampling frequency of the emergency command center 20 is too slow, and it is necessary to make the emergency command center 20 increase the sampling frequency of the command digital audio, such as 60KHz.

[0076] Specifically, the main control module 104 is further provided with a second buffer; wherein, the second buffer is used to store the intercom digital audio sent by the codec 103.

[0077] Then, the step of sending the intercom digital audio to the emergency command center 20 connected to the universal serial interface 101 is specifically as follows:

[0078] Periodically send one piece of the intercom digital audio stored in the second buffer to the emergency command center 20 connected to the universal serial interface 101.

[0079] Furthermore, the main control module 104 is further configured to:

[0080] When it is detected that the data volume of the intercom digital audio stored in the second buffer is greater than or equal to the fourth preset quantity threshold, discard one piece of the intercom digital audio without sending it to the emergency command center 20 connected to the universal serial interface 101;

[0081] When it is detected that the data volume of the intercom digital audio stored in the second buffer is less than or equal to the fifth preset quantity threshold, insert an empty audio data and send it to the emergency command center 20 connected to the universal serial interface 101; wherein, the fifth preset quantity threshold is less than the fourth preset quantity threshold.

[0082] Preferably, the fourth preset quantity threshold is m * 15 / 16, and the fifth preset quantity threshold is m / 16; wherein, m is the maximum capacity of the second buffer for storing the intercom digital audio.

[0083] It should be noted that when it is detected that the data volume of the intercom digital audio stored in the second buffer is less than the fourth preset quantity threshold and greater than the fifth preset quantity threshold, periodically send one piece of the intercom digital audio stored in the second buffer to the emergency command center 20 connected to the universal serial interface 101. That is, keep the original data sending state unchanged. Preferably, send one piece of the intercom digital audio stored in the second buffer to the emergency command center 20 connected to the universal serial interface 101 every 1 ms.

[0084] It should be noted that the first buffer is the first audio buffer, and the second buffer is the audio transmission buffer. The voice playback process and recording process of the emergency command system using the intercom access device 10 of this embodiment are as follows: 1. Voice playback process: The emergency command center 20 picks up the audio of the hand microphone 202, converts the audio of the hand microphone 202 into command digital audio, and sends it to the first buffer of the main control module 104 through the USB channel. The main control module 104 sends it to the codec 103 to convert the digital audio into analog audio, and then sends it to the main intercom 301 through the intercom interface 102. 2. Recording process: The main intercom 301 receives the audio of the remote slave intercom 302, enters the codec 103 through the MIC channel to convert the analog audio into digital audio, and sends it to the second buffer of the main control module 104, and is transmitted to the emergency command center 20 through the USB channel for recording, or directly plays it through the speaker 201 of the emergency command center 20, etc. However, since the output transmission of the USB channel belongs to the asynchronous mode, the data transmission between the emergency command center 20 and the main control module 104 may be discontinuous. Therefore, it is necessary to adjust the sampling frequency of the emergency command center 20 or the transmitted audio data according to the situation of the data packets in the current transceiver buffer.

[0085] Taking the size of the command digital audio as s characters and the capacity of the first buffer as n command digital audios as an example, the following uses a specific embodiment to illustrate the process of the intercom access device 10 of this embodiment receiving data:

[0086] 1. When the first buffer receives n / 2 command digital audios, start the codec 103 for voice playback;

[0087] 2. Judge the data volume of the command digital audio remaining in the first buffer. If it is greater than n / 4 and less than 3n / 4, this size is set as a reasonable range. Therefore, the voice playback is performed at the normal 48 kHz sampling frequency;

[0088] 3. When the data volume of the command digital audio remaining in the first buffer is less than or equal to n / 4, this indicates that the number of command digital audios in the first buffer is too small. Therefore, feedback to the emergency command center 20 that the current sampling frequency is adjusted to 60KHz, and the emergency command center 20 is required to speed up the data transmission. However, in fact, the voice playback is still performed at the 48KHz sampling frequency. Only the 60KHz sampling frequency is fed back to the emergency command center 20 to make the emergency command center 20 speed up the transmission of the command digital audio to avoid the reduction of the command digital audio stored in the first buffer and cause disconnection;

[0089] 4. When the amount of data of the command digital audio in the first buffer is greater than or equal to n * 3 / 4, it indicates that the number of data packets in the first buffer is excessive at this time. Therefore, it is necessary to feedback to the emergency command center 20 that the current adoption rate is adjusted to 42KHz, and the emergency command center 20 needs to slow down the data transmission. However, in fact, the playback still proceeds at a sampling frequency of 48KHz. Only the sampling frequency of 42KHz is fed back to the emergency command center 20 to enable the emergency command center 20 to slow down the transmission of the command digital audio and avoid excessive data volume of the command digital audio stored in the first buffer, resulting in data overflow.

[0090] It should be noted that the described 60KHz sampling and 42KHz sampling frequencies, as well as the coefficients of 1 / 4, 3 / 4, 1 / 16, and 15 / 16, are all debugging experience values and are not fixed values, which can be adjusted according to the actual situation.

[0091] It should be noted that in the prior art, there are mainly the following three access methods for the intercom function of the emergency command system: 1. Wireless trunking intercom gateway access; 2. Intercom repeater access; 3. WiFi single soldier 204 access. Among them, the wireless trunking intercom gateway access (portable trunking intercom gateway) can dock multiple intercoms and can also be interconnected and integrated with the front-end command platform through SIP, but it requires integrated development of the emergency platform and has a high cost; the intercom repeater access can access multiple intercoms and has a relatively long communication distance, but the position of the repeater is fixed, generally established on high-rise buildings or mountain positions, which is not flexible, and it is necessary to match frequency parameters and establish a fixed antenna, and it cannot quickly access the private network for communication; the WiFi single soldier 204 access can be directly accessed in a single machine form and has the functions of intercom communication and video, but its networking requires the deployment of MESH wireless devices for cluster connection. WiFi is unstable and the single machine cost is high, and it is only applicable to specific scenarios. Moreover, there is currently no unified intercom access standard in the prior art, and the interface protocols of different manufacturers and different models of intercoms may vary, and different adaptations are required. In contrast, the intercom access device of the present application has the following advantages:

[0092] 1. On the one hand, the intercom access device 10 of the present invention can quickly access the emergency command center 20 through the universal serial interface 101, which is equivalent to adding a USB sound card and an HID device in the emergency command center 20. The Linux system can quickly call the sound card for playback and recording through the standard alsa interface, and at the same time, the function keys can be quickly issued through the HID channel to implement the PTT function. On the other hand, it can utilize the headphone interface channel of the intercom, directly integrate the control and call of the intercom into the emergency command center 20 by using the intercom access device 10, without the need to purchase an external repeater or cluster gateway, nor to access through network SIP, so it is not affected by network coverage.

[0093] 2. The intercom access device 10 of the present invention is connected to the main intercom 301 through a dedicated cable, using the functions of the original intercom. The connection is simple and can be quickly deployed. There is no need to arrange an antenna and consider power supply like an intercom repeater, nor is it necessary to connect through SIP like a wireless intercom cluster gateway, which is limited by the network coverage environment.

[0094] 3. The intercom access device 10 of the present invention has simple functions and a simple hardware design. The finished product has a small size and is easy to carry. There is no need to separately consider power supply like an intercom repeater to reduce the risk of battery life during emergency operations; nor is it necessary to purchase expensive repeaters or cluster gateways. The overall cost is low, and most importantly, it can be independently developed.

[0095] In addition, it should be noted that since the intercom access device 10 of the present invention is connected to the emergency command center 20 through a universal serial interface 101, abnormalities may occur due to the long-term operation of the universal serial bus. Therefore, in order to quickly detect whether the universal serial bus is abnormal, the intercom access device in this embodiment can also add a heartbeat detection mechanism, set the heartbeat detection function through the USB HID channel. In addition, the emergency command center 20 can be set to send a heartbeat packet every preset time interval (such as 5 seconds). After the main control module 104 receives a heartbeat packet, it sends a heartbeat response packet. When the main control module 104 does not receive a heartbeat packet within a preset time (such as 20 seconds), it is considered that the universal serial bus has an abnormality and a restart operation is executed. When the emergency command center 20 detects an abnormality in the universal serial bus, it restarts the USB SDK program of the emergency command center 20 and re-adapts.

[0096] See Figure 2 , which is a schematic structural diagram of an emergency command system provided by an embodiment of the present invention.

[0097] An emergency command system based on an intercom access device provided by an embodiment of the present invention includes an emergency command center 20, a main intercom 301, at least one slave intercom 302, and the intercom access device 10 as described in any one of the above; wherein,

[0098] The emergency command center 20 is connected to the universal serial interface 101 of the intercom access device 10 through a universal serial bus. The main intercom 301 is connected to the intercom interface 102 of the corresponding intercom access device 10 through a cable. At least one slave intercom 302 is communicatively connected to the main intercom 301.

[0099] Specifically, the emergency command center 20 includes a hand microphone 202 and a speaker 201; wherein, the hand microphone 202 is used to provide an audio collection function for the emergency command center 20; the speaker 201 is used to provide an audio playback function for the emergency command center 20.

[0100] Specifically, the emergency command system further includes a backend command center 00 and a satellite 40; wherein, the satellite 40 is used to provide a satellite 40 link signal to enable the backend command center 00 to communicate with the emergency command center 20.

[0101] The following uses a specific embodiment to illustrate the process of the walkie-talkie intercom mode of the emergency command system provided by this embodiment:

[0102] At the emergency command site, as Figure 2 shown, connect the walkie-talkie access device 10 to the universal serial interface 101 of the emergency command center 20, connect the walkie-talkie access device 10 to the main walkie-talkie 301 through a cable, and several slave walkie-talkies 302 go to each operation point at the emergency site. The emergency command center 20 speaks through the hand microphone 202, presses the PTT button of the hand microphone 202, and starts speaking. The emergency command center 20 detects the PTT function button of the hand microphone 202, and through the USB HID protocol, sends the PTT function to the main control module 104 through the universal serial bus. The main control module 104 sets its GPIO_1 pin (the GPIO_1 pin is connected to the relay 105) to a high level, the relay 105 closes, and simulates the PTT press action of the main walkie-talkie 301 through the cable. At the same time, the hand microphone 202 picks up the command voice by simulating the voice, sends it to the local sound card of the emergency command center 20 for collection, converts it into command digital audio, and sends the command digital audio to the main control module 104 through the universal serial bus. The main control module 104 transmits the digital audio to the codec 103 through the I2S bus for digital-to-analog conversion into analog audio, and transmits it from the SPK channel to the walkie-talkie interface 102, and sends it to the microphone input of the main walkie-talkie 301 through the cable, and wirelessly sends it to the walkie-talkies on the same channel through the main walkie-talkie 301. At this time, several slave walkie-talkies 302 at the scene can hear the command voice of the emergency command center 20. When ending the command voice of the emergency command center 20, release the PTT button of the hand microphone 202. After the emergency command center 20 detects the release of the PTT function, it notifies the main control module 104 to set GPIO_1 to a low level through the USB HID protocol, the relay 105 is normally open, and simulates the release of the PTT button of the main walkie-talkie 301 through the cable.

[0103] Suppose any walkie-talkie 302 reports the on-site investigation situation to the emergency command system. Press the PTT button on the walkie-talkie 302 to start reporting the situation. The voice is transmitted wirelessly to all walkie-talkies on the same channel. After the voice reaches the master walkie-talkie 301, it passes through the cable through the walkie-talkie interface 102 and is transmitted to the codec 103 through the MIC channel. After analog-to-digital conversion, the codec 103 sends the walkie-talkie digital audio to the main control module 104 through I2S, and the main control module 104 sends the walkie-talkie digital audio to the emergency command center 20 through the universal serial bus. And the application program of the emergency command center 20 plays the audio through the speaker 201.

[0104] See Figure 3 , as an optional implementation manner, the emergency command center 20 further includes a MESH router 203 and at least one single soldier 204; wherein, the MESH router 203 is used to provide a WiFi coverage signal and is connected to the emergency command center 20 through a network cable; at least one single soldier 204 connects to the network through the WiFi coverage signal provided by the MESH router 203 and registers information with the emergency command center 20.

[0105] The following uses a specific embodiment to illustrate the process of the conference mode of the emergency command system provided in this embodiment:

[0106] In the actual application environment of the emergency command center 20, the environment is harsh and there is often no wireless network. The emergency site is basically connected through the satellite 40 link to communicate with the backend command center 00. As Figure 3 shown, in the conference mode of the emergency command center 20, the conference members include two single soldiers 204, the master walkie-talkie 301 and the slave walkie-talkie 302 connected to the emergency command center 20 through the walkie-talkie access device 10, and may also include the backend command center 00 connected through the satellite 40 link. During the conference process, the emergency command center 20 initiates a call, presses the hand microphone 202, and sends a command instruction to all conference members. The command voice reaches the MESH router 203 through the network cable and is converted into a WiFi signal and transmitted to all single soldiers 204. At the same time, it is transmitted to the master walkie-talkie 301 and each slave walkie-talkie 302 through the universal serial bus, and can also be sent to the backend command center 00 through the satellite 40 link. Suppose any single soldier 204 reports the on-site situation. The single soldier 204 directly transmits the voice to the MESH router 203 through WiFi and is transmitted to the emergency command center 20 through the network cable, and is played by the speaker 201. As for whether to send the voice of the single soldier 204 to the walkie-talkie access device through the universal serial bus and then to each walkie-talkie, it is determined by the actual application scenario. And suppose any slave walkie-talkie 302 needs to report the on-site situation. Whether the voice of the slave walkie-talkie 302 needs to be transmitted to each single soldier 204 through the network or to the backend command center 00 through the satellite 40 link is determined by the actual application scenario.

[0107] It should be noted that for the relevant specific descriptions and beneficial effects of the embodiments of the emergency command system based on the walkie-talkie access device in this embodiment, reference can be made to the relevant specific descriptions and beneficial effects of the embodiments of the above-mentioned walkie-talkie access device, which will not be elaborated here.

[0108] The above is the preferred embodiment of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements are also regarded as the protection scope of the present invention.

Claims

1. An intercom access device, characterized in that, it includes a universal serial interface, a main control module, a codec, and an intercom interface; wherein, the universal serial interface is used to externally connect to an emergency command center; the intercom interface is used to externally connect to a main intercom; one end of the codec is connected to the main control module, and the other end is connected to the intercom interface. The codec is used to receive the intercom analog audio sent by the main intercom connected to the intercom interface, and convert the intercom analog audio into intercom digital audio and send it to the main control module; the main control module is connected to the universal serial interface and is used for: receiving the command digital audio sent by the emergency command center connected to the universal serial interface; sending the command digital audio to the codec, so that the codec converts the command digital audio into command analog audio and sends the command analog audio to the main intercom connected to the intercom interface; receiving the intercom digital audio sent by the codec; sending the intercom digital audio to the emergency command center connected to the universal serial interface; wherein, the main control module is provided with a first buffer area, and the first buffer area is used to store the command digital audio received from the emergency command center connected to the universal serial interface; then, the sending the command digital audio to the codec is specifically: when it is detected that the data volume of the command digital audio stored in the first buffer area reaches a first preset quantity threshold, sequentially sending the command digital audio stored in the first buffer area to the codec; wherein, the main control module is further used for: when it is detected that the data volume of the command digital audio stored in the first buffer area is greater than or equal to a second preset quantity threshold, generating a first sampling frequency signal and feeding back the first sampling frequency signal to the emergency command center connected to the universal serial interface, so that the emergency command center reduces the sampling frequency of the command digital audio; wherein, the second preset quantity threshold is greater than the first preset quantity threshold; when it is detected that the data volume of the command digital audio stored in the first buffer area is less than or equal to a third preset quantity threshold, generating a second sampling frequency signal and feeding back the second sampling frequency signal to the emergency command center connected to the universal serial interface, so that the emergency command center increases the sampling frequency of the command digital audio; wherein, the third preset quantity threshold is less than the first preset quantity threshold.

2. The intercom access device according to claim 1, characterized in that, the intercom access device further includes a relay; wherein, one end of the relay is connected to the main control module, and the other end is connected to the intercom interface. The relay is used to control the PTT function of the main intercom connected to the intercom interface.

3. The intercom access device according to claim 1, characterized in that, the intercom access device further includes an isolation circuit; wherein, The isolation circuit has one end connected to the UART serial port of the main control module and the other end connected to the intercom interface. The isolation circuit is used to isolate the intercom interface from the UART serial port.

4. The intercom access device according to claim 1, characterized in that the intercom access device further includes a DIP switch; wherein, the DIP switch is connected to the main control module, and the DIP switch is used to configure the device number of the intercom access device.

5. The intercom access device according to claim 1, characterized in that the intercom access device further includes a power conversion chip; wherein, the power conversion chip is connected to the universal serial interface, and the power conversion chip is used to convert the voltage provided by the emergency command center connected to the universal serial interface into the operating voltage of the intercom access device.

6. The intercom access device according to claim 1, characterized in that the main control module is further provided with a second buffer; wherein, the second buffer is used to store the digital intercom audio sent by the codec; then, sending the digital intercom audio to the emergency command center connected to the universal serial interface specifically means: periodically sending one of the digital intercom audios stored in the second buffer to the emergency command center connected to the universal serial interface.

7. The intercom access device according to claim 6, characterized in that the main control module is further used for: when it is detected that the data volume of the digital intercom audio stored in the second buffer is greater than or equal to a fourth preset quantity threshold, discarding one of the digital intercom audios without sending it to the emergency command center connected to the universal serial interface; when it is detected that the data volume of the digital intercom audio stored in the second buffer is less than or equal to a fifth preset quantity threshold, inserting an empty audio data and sending it to the emergency command center connected to the universal serial interface; wherein, the fifth preset quantity threshold is less than the fourth preset quantity threshold.

8. An emergency command system based on an intercom access device, characterized in that it includes an emergency command center, a main intercom, at least one slave intercom and the intercom access device according to any one of claims 1 to 7; wherein, the emergency command center is connected to the universal serial interface of the intercom access device through a universal serial bus, the main intercom is connected to the intercom interface of the corresponding intercom access device through a cable, and at least one slave intercom is communicatively connected to the main intercom.

Citation Information

Patent Citations

  • Coal mine broadcasting system with wireless talkback function and implementation method

    CN114302347A

  • Mining intelligent broadcast intercommunication system

    CN203522759U