An adaptive digital intercom transmission mode switching method
Through adaptive transmission mode switching and voice codec algorithm matching, digital walkie-talkies achieve longer transmission distances and smoother voice communication in low-bandwidth environments, solving the shortcomings of transmission distance and voice quality in existing technologies.
Patent Information
- Application Number
- CN202310369028.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2043-04-07
AI Technical Summary
Existing digital walkie-talkies struggle to achieve longer transmission distances and better voice quality in low-bandwidth scenarios without a public transmission channel, especially in scenarios with low real-time requirements such as remote emergency calls, where existing solutions are ineffective for voice communication transmission.
An adaptive transmission mode switching method is adopted. The transmitting walkie-talkie packets the voice signal according to the transmission mode and sends it. The receiving walkie-talkie adaptively parses the voice message, using both real-time and slow modes, combined with different channel coding rates, to achieve a longer transmission distance and match the voice codec algorithm.
It enables seamless voice information reception in low-bandwidth transmission protocol scenarios, providing longer transmission distances and smooth voice communication without incurring additional costs.
Smart Images

Figure CN116527076B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electronic communication equipment, and a transmission mode switching method of an adaptive digital intercom BACKGROUND
[0002] The intercom has the ability of short-distance voice communication in the absence of a public transmission channel, and the digital intercom has the characteristics of strong anti-interference ability and long transmission distance compared with the analog intercom. The working mode of the digital intercom mainly includes the sending and receiving of voice signals. The sending process is roughly as follows: the collected voice analog signal is converted into a digital signal through an ADC, then the encoded digital signal is broadcast through radio frequency after a voice coding algorithm. The receiving process is mainly as follows: the received digital signal of a specific frequency is restored to a voice digital signal through a voice decoding algorithm, and then the voice digital signal is converted into an analog signal through a DAC and played through a loudspeaker.
[0003] In an ideal state, people hope to transmit a long distance in real time and obtain better voice quality. However, in fact, the maximum real-time transmission distance in a given transmission environment is relatively fixed, and it is difficult to further improve the transmission distance without changing the transmission power and hardware, especially in some scenarios that do not require real-time performance, such as remote distress calls, where a longer transmission distance is particularly important. Moreover, in scenarios involving low-bandwidth transmission protocols, existing solutions are difficult to effectively complete voice intercom transmission. SUMMARY
[0004] In view of the problems in the prior art, a transmission mode switching method of an adaptive digital intercom is provided, which can be applied to scenarios involving low-bandwidth transmission protocols and has the ability to achieve a longer transmission distance. When the intercom at the sending end sends voice, the intercom at the receiving end adaptively switches the transmission mode according to the message, and the user can receive voice information without feeling.
[0005] The technical solution adopted by the present application is as follows: a transmission mode switching method of an adaptive digital intercom, the intercom at the sending end sets the transmission mode, and after collecting the voice signal, completes packetization according to the transmission mode to send the voice message; the intercom at the receiving end analyzes the received voice message, and adaptively uses the corresponding voice decoding algorithm to restore the voice according to the determined transmission mode; wherein the transmission mode includes real-time and slow modes.
[0006] As a preferred solution, the specific sending process of the sending intercom is as follows: the sending intercom presses the PTT key, converts the collected analog voice signal into a PCM digital voice signal through an ADC, forms an encoded voice frame through a voice encoding algorithm, packs the encoded voice frame in a fixed time slice according to the set transmission mode, adds a flag bit transmission mode, and sends in the form of a voice message.
[0007] As a preferred solution, when the transmission mode is real-time, the sending intercom buffers the voice frame in a time slice of several hundred milliseconds and sends it in real time.
[0008] As a preferred solution, when the transmission mode is slow, the sending intercom buffers the encoded voice frame in a time slice of several seconds and sends it.
[0009] As a preferred solution, after the receiving intercom receives the voice message and analyzes the transmission mode of the voice message, it buffers the voice message in a time slice of the same length as the sending intercom, and then restores the voice using a voice decoding algorithm.
[0010] As a preferred solution, when the sending intercom sends a voice message, it selects a certain frequency point for broadcast transmission, and all receiving intercoms with the same frequency point can receive the voice message information.
[0011] As a preferred solution, the voice message can carry parameters including transmission mode, voice encoding and decoding algorithm, and transmission data type.
[0012] As a preferred solution, when encoding the voice, the voice encoding algorithm uses a fixed code rate or a variable code rate, and when decoding, the corresponding code rate is used to complete the decoding.
[0013] As a preferred solution, when the transmission mode is real-time, the time slice length is set to 100-500 ms.
[0014] As a preferred solution, when the transmission mode is slow, the time slice length is set to 1-10 s.
[0015] Compared with the prior art, the beneficial effects of the above technical solution are:
[0016] 1. The present application can realize the analysis of the transmission mode of the receiving intercom to adapt to the scene of low-bandwidth transmission protocol.
[0017] 2. When the sending intercom switches to slow mode, the receiving intercom can realize voice intercom capability without further operation.
[0018] 3. The application can not only realize adaptive mode switching, but also realize adaptive voice coding algorithm switching.
[0019] 4. The application can smoothly perform voice communication in real-time mode or slow mode.
[0020] 5. The application integrates real-time mode and slow mode, has the ability to increase the transmission distance, and does not need to increase the cost. BRIEF DESCRIPTION OF DRAWINGS
[0021] Figure 1 The application proposes a schematic diagram of adaptive digital intercom transmission mode switching method.
[0022] Figure 2 The application proposes a transmission flow chart. DETAILED DESCRIPTION
[0023] The embodiments of the application are described in detail below, examples of which are shown in the drawings, wherein the same or similar notations represent the same or similar modules or modules with the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and are only used to explain the application, and cannot be understood as a limitation of the application. On the contrary, the embodiments of the application include all changes, modifications and equivalents falling within the spirit and scope of the appended claims.
[0024] Reference Figure 1 , Figure 2 In order to realize real-time voice intercom, slow transmission in low bandwidth scene can also be realized, and further combined with channel coding rate change to realize longer distance transmission, the embodiment proposes an adaptive digital intercom transmission mode switching method. The transmitting end intercom sets the transmission mode, and after collecting the voice signal, completes packetization according to the transmission mode to send in the form of voice message; the receiving end intercom analyzes the received voice message, and adaptively uses the corresponding voice decoding algorithm to restore the voice according to the determined transmission mode; wherein the transmission mode includes real-time and slow modes. It should be noted that the transmitting end intercom and the receiving end intercom in the embodiment are both digital intercoms.
[0025] Specifically, the transmitting end intercom presses the PTT (Push To Talk) key, converts the collected analog voice signal into PCM digital voice signal through ADC, and forms the encoded voice frame through the voice coding algorithm in units of frames; the encoded voice frame is packetized in fixed time slices according to the set transmission mode, a flag bit TransmissionMode is added, and the voice message is sent.
[0026] In this embodiment, the speech coding algorithm can use a fixed code rate or a variable code rate. The speech signal is compressed in units of frames, and the compression algorithm is mainly a hybrid compression algorithm based on LPC.
[0027] At this time, the length of the time slice will be adjusted according to the transmission mode. When the transmission mode is real-time, the sending intercom will cache the speech frame in a time slice of hundreds of milliseconds, add necessary parameter information for packetization, and broadcast at a certain frequency. In this embodiment, the time slice length is preferably set to 100-500 ms.
[0028] When the transmission mode is slow, the sending intercom will cache the encoded speech frame in a time slice of seconds, add necessary parameter information for packetization, and broadcast at a certain frequency. In this embodiment, the time slice length is preferably set to 1-10 s.
[0029] Correspondingly, all intercoms in the same group at a certain frequency will receive the message information, then parse the message according to the transmission mode parameters, speech coding algorithm parameters, etc. in the message, and then perform channel decoding at a corresponding code rate and speech decoding with the same speech compression algorithm.
[0030] In this embodiment, in order to realize adaptive mode switching of the digital intercom, the message is defined as follows:
[0031] Typedef struct_send_Packet{
[0032] XXXX Codec;
[0033] XXXX TransmissionMode;
[0034] XXXX Data
[0035] }SendPacket
[0036] The message contains: speech codec algorithm Codec, transmission mode TransmissionMode, and speech data Data.
[0037] By determining the transmission mode parameter TransmissionMode and the speech codec algorithm parameter in the message, the receiving intercom can adaptively parse the transmission mode of the message, so that users can receive speech information without feeling in different bandwidth transmission protocol scenarios. This method can not only be applied in low-bandwidth transmission protocol scenarios, but also can be combined with different channel coding rates to achieve longer transmission distances.
[0038] Reference Figure 2The transmission method of the present application is fully described as follows:
[0039] 1. The sending end intercom collects analog voice signals and converts them into PCM digital voice signals, selects a voice coding algorithm, and completes coding.
[0040] 2. The transmission mode is set to real-time, and the time slice is 100-500 ms in Buffer for buffering, and the transmission mode is low-speed, and the time slice is 1-10 s in Buffer for buffering.
[0041] 3. Parameters and flag bits are added to the voice data in Buffer to complete packetization and form voice messages.
[0042] 4. Channel coding of the required code rate is selected, and transmission is completed after coding.
[0043] 5. After the receiving end intercom receives the message, channel decoding is performed, and then message analysis is performed.
[0044] 6. The transmission mode is determined to be real-time, and the time slice is 100-500 ms in Buffer for buffering; the transmission mode is determined to be real-time, and the time slice is 1-10 s in Buffer for buffering.
[0045] 7. Voice decoding is performed according to the voice coding algorithm parameters to obtain the digital voice sent by the sending end intercom.
[0046] Based on the method, real-time transmission and slow transmission of the digital intercom can be realized, the ability to increase the transmission distance is possessed, and additional costs are not required; and the receiving end intercom can adaptively complete mode matching, and can also complete voice coding and decoding algorithm matching.
[0047] It should be noted that in the description of the embodiments of the present application, unless otherwise explicitly specified and limited, the terms "setting", "connection" should be understood broadly, for example, it can be fixedly connected, or detachably connected, or integrally connected; it can be directly connected, or indirectly connected through an intermediate medium. For those skilled in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances; the drawings in the embodiments are used to clearly and completely describe the technical solutions in the embodiments of the present application, and obviously, the described embodiments are part of the embodiments of the present application, but not all the embodiments. The components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations.
[0048] Although the embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary, and are not to be interpreted as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above embodiments within the scope of the present application.
Claims
1. A method for adaptive switching of transmission modes of a digital intercom, characterized in that, The sending intercom sets a transmission mode, encodes the collected voice signal into a voice frame, buffers time slices of different lengths according to the set transmission mode, completes packeting, and sends in the form of a voice message; the receiving intercom analyzes the received voice message, analyzes the transmission mode of the voice message, buffers time slices of the same length as the sending intercom, and restores the voice by using a voice decoding algorithm; wherein the transmission mode includes real-time and slow modes, in the real-time mode, the time slice is several hundred milliseconds long; in the slow mode, the time slice is a second long.
2. The method of claim 1, wherein, The specific sending process of the sending intercom is as follows: the sending intercom presses the PTT key, converts the collected analog voice signal into a PCM digital voice signal through ADC, forms an encoded voice frame through a voice encoding algorithm, buffers the encoded voice frame in a corresponding time slice length according to the set transmission mode, packetizes, adds a flag bit transmission mode, and sends in the form of a voice message.
3. The method of claim 1, wherein, When the sending intercom sends a voice message, it selects a frequency point for broadcast sending, and all receiving intercoms with the same frequency point can receive the voice message information.
4. The method for switching the transmission mode of an adaptive digital intercom according to claim 1, characterized in that, The voice message can carry parameters including the transmission mode, voice encoding and decoding algorithm, and transmission data type.
5. The method for switching the transmission mode of an adaptive digital intercom according to claim 1, wherein, When encoding the voice, the voice encoding algorithm uses a fixed code rate or a variable code rate, and when decoding, the corresponding code rate is used to complete the decoding.
6. The method for switching the transmission mode of an adaptive digital intercom according to claim 1, wherein, When the transmission mode is real-time, the time slice length is set to 100-500 ms.
7. The method of claim 1, wherein, When the transmission mode is slow, the time slice length is set to 1-10 s.
Citation Information
Patent Citations
Frame erasure concealment for a multi-rate speech and audio codec
CN103597544A
Voice quality optimization method based on websocket and talkback terminal
CN114173213A