A walkie-talkie and a walkie-talkie method
The second recognition controller in the intercom recognizes the voice data and PTT signal, and controls the working state of the modulator and power amplifier, solves the voice loss problem caused by incoordination of speech and PTT key operation, and realizes the complete transmission of voice data.
Patent Information
- Application Number
- CN202510303313.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2045-03-14
AI Technical Summary
In the prior art, the problem of speech speech loss in the initial and end stages due to inconsistency between speaking and PTT key operation.
An intercom is adopted, including a modulator, a second recognition controller and a power amplifier. The second recognition controller recognizes the voice data and the PTT control signal, and controls the operating state of the modulator and the power amplifier to ensure the complete transmission of the voice data.
It effectively solves the problem of voice loss caused by incoordination of speech and PTT key operation, ensuring that the voice data in the initial and end stages can be completely sent.
Smart Images

Figure CN119814064B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of walkie - talkies, and particularly to a walkie - talkie and a communication method thereof. Background Art
[0002] The voice communication transceiver working state of a walkie - talkie belongs to simplex communication, and requires a PTT (Push To Talk) button to cooperate for transceiver communication conversion. The PTT button is usually set on the walkie - talkie. The normal operation is to press the PTT button first and then speak, and stop speaking before the PTT button is lifted. In this way, during the period when the PTT button is continuously pressed, the voice will be sent out. Therefore, it requires the user to be able to better grasp the coordination between speaking and operating the PTT button.
[0003] However, in actual use, the situation where speaking and operating the PTT button cannot be coordinated often occurs. Especially when speaking first and then pressing the PTT button, in this case, the voice spoken first will not be sent out. There will also be a situation where the PTT button is lifted before the voice is finished speaking, resulting in the subsequent voice not being sent out either. In this way, when the other party listens, they cannot obtain complete voice information, resulting in the need to repeat the transmission. Summary of the Invention
[0004] The main technical problem to be solved by this application is to provide a walkie - talkie and a communication method thereof, which solve the problem that in the prior art, due to the uncoordinated operation between speaking and the PTT button, the transmitted voice is lost in the initial stage and the end stage.
[0005] To solve the above - mentioned technical problem, a technical solution adopted by this application is to provide a walkie - talkie, including: a modulator, a second recognition controller, and a power amplifier. The second recognition controller is electrically connected to the modulator, the power amplifier, the PTT input terminal, and the voice output terminal respectively; the second recognition controller is used to recognize the valid voice data from the voice output terminal, and recognize the PTT control signal from the PTT input terminal; if the second recognition controller first recognizes that the PTT control signal is valid, the second recognition controller controls the modulator and the power amplifier to start working, and modulates and amplifies the power of the valid voice data from the voice output terminal for output; or, if the second recognition controller recognizes that the PTT control signal is not yet valid, but recognizes an initial voice identifier, the second recognition controller controls the modulator and the power amplifier to start working, and modulates and amplifies the power of the valid voice data after the initial voice identifier from the voice output terminal for output.
[0006] In some embodiments, the second recognition controller is further configured to recognize an end voice identifier from the voice output end. After the second recognition controller recognizes that the PTT control signal changes from the valid state to the invalid state and there is still valid voice data, it continues to receive the valid voice data, and the modulator and the power amplifier continue to work until the end voice identifier is recognized, and then the second recognition controller controls the modulator and the power amplifier to stop working.
[0007] In some embodiments, the second recognition controller includes a second MCU, an identifier recognition unit, a second PPT recognition unit, a second voice recognition unit, and a modulation and power amplifier control unit electrically connected to the second MCU; the identifier recognition unit is electrically connected to the voice output end and is configured to recognize an initial voice identifier and an end voice identifier from the voice output end, the second voice recognition unit is also electrically connected to the voice output end and is configured to recognize valid voice data from the voice output end, the second PPT recognition unit is electrically connected to the PTT input end and is configured to recognize the PTT control signal, and the modulation and power amplifier control unit is respectively connected to the modulator and the power amplifier and is configured to control the modulator and the power amplifier to start working and stop working.
[0008] In some embodiments, the intercom further includes a headphone adaptively connected thereto.
[0009] In some embodiments, the headphone further includes a connector connected to the intercom. The connector includes a voice output portion at the end, and a PTT signal input portion, a power connection portion, and a ground connection portion sequentially arranged after the voice output portion. A first insulating portion is provided between the voice output portion and the PTT signal input portion, a second insulating portion is provided between the PTT signal input portion and the power connection portion, a third insulating portion is provided between the power connection portion and the ground connection portion, and a fourth insulating portion is provided at the rear of the ground connection portion.
[0010] In some embodiments, a plurality of cables are further provided inside the connector, including a third cable electrically connected to the voice output portion, a fourth cable electrically connected to the PTT signal input portion, a second cable electrically connected to the power connection portion, and a first cable electrically connected to the ground connection portion. These cables are insulated from each other.
[0011] The present application also provides an embodiment of an intercom method for making an intercom call based on the aforementioned intercom, including the steps of: when the second identification controller identifies the initial voice identifier from the voice output end and also identifies that the PTT control signal from the PTT input end is not yet valid, it is determined that the voice from the earphone is earlier than the pressing of the PTT button; when the second identification controller identifies valid voice data after the end of the identification of the initial voice identifier, it correspondingly controls both the modulator and the power amplifier to start working, and modulates and amplifies the valid voice data after the initial voice identifier for output; after the second identification controller identifies that the PTT control signal from the PTT input end is valid and the valid voice data continues to exist, it continues to control the modulator and the power amplifier to maintain the working state.
[0012] In some embodiments, when the intercom is in the calling state, if the second identification controller identifies that the PTT control signal from the PTT input end switches from the valid state to the invalid state and also identifies that the valid voice data from the voice output end continues to exist, it continues to control the modulator and the power amplifier to maintain the working state; when the second identification controller identifies the end voice identifier after the valid voice data and also identifies that the PTT control signal is in the invalid state, it correspondingly controls the modulator and the power amplifier to stop working.
[0013] The beneficial effect of the present application is that the present application discloses an intercom and an intercom method. The intercom includes a modulator, a second identification controller, a power amplifier, a PTT input end, and a voice output end. When the second identification controller identifies that the PTT control signal from the PTT input end is not yet valid, but identifies valid voice data and also identifies that an initial voice identifier is set, it controls the modulator and the power amplifier to start working, and modulates and amplifies the valid voice data from the voice output end for output. After the second identification controller identifies that the PTT control signal changes from the valid state to the invalid state and the valid voice data still exists, it continues to receive the valid voice data, and the modulator and the power amplifier continue to work until the end voice identifier is identified, and then it controls the modulator and the power amplifier to stop working. Based on the present application, the problem in the prior art that the voice during the initial stage and the end stage of the call is lost due to the uncoordinated cooperation between speaking and the operation of the PTT button can be effectively solved. Description of the Drawings
[0014] Figure 1 is a schematic diagram of the composition of the earphone and the intercom in an embodiment of the present application;
[0015] Figure 2 is a schematic diagram of the internal composition of the filter processor of the earphone in an embodiment of the present application;
[0016] Figure 3 It is a waveform schematic diagram of the original voice data in an embodiment of the present application;
[0017] Figure 4 It is a waveform schematic diagram of the compressed voice data in an embodiment of the present application;
[0018] Figure 5 It is a schematic diagram of the internal composition of the first identification controller of the earphone in an embodiment of the present application;
[0019] Figure 6 It is a schematic diagram of the composition of the switching switch of the earphone in an embodiment of the present application;
[0020] Figure 7 It is a schematic diagram of the composition of the earphone chip in an embodiment of the present application;
[0021] Figure 8 It is a schematic diagram of the connector of the earphone in an embodiment of the present application;
[0022] Figure 9 It is a flowchart of the intercom method on the earphone side in an embodiment of the present application;
[0023] Figure 10 It is a schematic diagram of the compression storage principle of the original voice data and the compressed voice data by data frames in an embodiment of the present application;
[0024] Figure 11 It is a flowchart of the intercom method on the earphone side in an embodiment of the present application;
[0025] Figure 12 It is a waveform schematic diagram of the voice with an initial voice identifier in an embodiment of the present application;
[0026] Figure 13 It is a flowchart of the intercom method on the earphone side in an embodiment of the present application;
[0027] Figure 14 It is a waveform schematic diagram of the voice with an end voice identifier in an embodiment of the present application;
[0028] Figure 15 It is a circuit composition diagram of the second identification controller of the intercom in an embodiment of the present application;
[0029] Figure 16 It is a flowchart of the intercom method on the intercom side in an embodiment of the present application;
[0030] Figure 17 It is a flowchart of the intercom method on the intercom side in an embodiment of the present application. Detailed implementation manners
[0031] To facilitate the understanding of this application, the following provides a more detailed description of this application in conjunction with the accompanying drawings and specific embodiments. The accompanying drawings show preferred embodiments of this application. However, this application can be implemented in many different forms and is not limited to the embodiments described in this specification. On the contrary, these embodiments are provided to make the understanding of the disclosure of this application more thorough and comprehensive.
[0032] It should be noted that, unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by those skilled in the technical field to which this application belongs. The terms used in the specification of this application are only for the purpose of describing specific embodiments and are not used to limit this application. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.
[0033] The following provides a detailed description of each embodiment in conjunction with the accompanying drawings.
[0034] Figure 1 is a schematic diagram of the composition of an embodiment of the headset and walkie-talkie based on this application. From Figure 1 It can be seen that on the headset side, it includes: a pickup 11, a buffer 12, a filter processor 13, a first recognition controller 14, and a switch 15, as well as a PTT input terminal 16 and a voice output terminal 17. The switch 15 is respectively connected to the filter processor 13, the buffer 12, the first recognition controller 14, and the voice output terminal 17. The first recognition controller 14 is also electrically connected to the filter processor 13, the PTT input terminal 16, and the filter processor 13 is also electrically connected to the pickup 11, and is used to perform analog-to-digital conversion on the voice signal output by the pickup 11 to obtain the original voice data, and perform various filtering processes on the original voice data.
[0035] Furthermore, the first recognition controller 14 recognizes the original voice data generated by the filter processor 13, and also recognizes the PTT control signal from the PTT input terminal 16; if the first recognition controller 14 recognizes that the original voice data appears earlier than the PTT control signal, it controls the original voice data to be stored in the buffer 12 for caching after voice compression processing, and controls the switch 15 to be connected to the buffer 12. When it recognizes the appearance of the PTT control signal, it outputs the compressed voice data in the buffer 12 to the voice output terminal 17.
[0036] Based on the composition and working method of the above-mentioned headset, it can be seen that when the user of the headset starts speaking before the PTT control signal appears, the input original voice data can be effectively recognized and stored through the pickup 11, buffer 12, filter processor 13 and first recognition controller 14. When the PTT control signal is detected, the compressed voice data is output from the buffer, so that the voice signal before the arrival of the PPT control signal can also be collected and sent, avoiding the problem of the voice signal being "chopped off" due to the lag in the operation of the PTT button.
[0037] Furthermore, Figure 2 shows the internal composition of the filter processor 13, including an audio amplification unit 131, an AD sampling unit 132, a compression filter unit 133, a power detection unit 134, and preferably a de-scrambling filter unit 135. Among them, the audio amplification unit 131 is used to amplify the audio signal input from the pickup without distortion, and the obtained is an analog audio signal after power amplification, and then it enters the AD sampling unit 132 for analog-to-digital conversion to obtain the original voice data.
[0038] The original voice data can be output in three paths and enter the compression filter unit 133, the power detection unit 134 and the de-scrambling filter unit 135 respectively. The following will be described one by one. For the compression filter unit 133, it mainly performs compression filtering on the original voice data to remove the low-power components in the original voice data, mainly for removing the silent or low-voice parts during speech.
[0039] Combined with Figure 3 and Figure 4 the illustrated embodiment, where Figure 3 is the original voice data A1 input to the compression filter unit 133, Figure 4 is the compressed voice data A2 output from the compression filter unit 133. It can be clearly seen that the digital voice with a lower audio amplitude in the original voice data A1 is filtered out. In Figure 4 it is schematically shown that the low-amplitude audio surrounded by multiple red frames in the original voice data A1 is removed, so that the effective voice components in the time distribution are compressed, and the time length of the voice becomes shorter, but the effective voice content does not decrease. Figure 3 and Figure 4The time scale is marked in it. It can be seen that the time length of the original voice data A1 is about 11 seconds (time scale 00:02 to 00:12), the time length of the compressed voice data A2 is about 9 seconds, and the compressed time length is 2 seconds. Therefore, by reasonably selecting the time lengths of the original voice data A1 and the compressed voice data A2, the required compressed time length can be obtained. Of course, it also depends on the voice characteristics of the speaker. Different compressed time lengths can be selected according to the different voice characteristics of the speaker.
[0040] Figure 2 The compression filtering unit 133 in Figure 1 is electrically connected to the buffer 12 in it, and is used to store the compressed voice data output by the compression filtering unit 133 into the buffer 12.
[0041] In Figure 2 the power detection unit 134 is used to detect the power of the original voice data output by the AD sampling unit 132, so as to detect and judge whether there is a voice signal input by the walkie-talkie user. It is mainly used to distinguish noise, background sound, etc. Therefore, both the amplitude of the original voice data and the duration of the original voice data need to be detected, so as to effectively judge whether it is a voice signal. Therefore, after the power detection unit 134 detects the power of the input original voice data, if it judges that it is voice data, it outputs a valid recognition signal, such as a high voltage signal. If it judges that it is not voice data, it outputs an invalid recognition signal, such as a low voltage signal. It can be defaulted to a low voltage signal. Only when the power detection recognizes valid original voice data during the input of the original voice data, a valid recognition signal is output.
[0042] Figure 2 The power detection unit 134 in Figure 1 is electrically connected to the first recognition controller 14 in it, and is used to output the valid recognition signal or the invalid recognition signal of the power detection unit 134 to the first recognition controller 14, and then the first recognition controller 14 further recognizes and judges. In Figure 2 the de-scrambling filtering unit 135 is used to filter out background interference of the original voice data output by the AD sampling unit 132, eliminate background noise and background interference in the voice, make the voice content clearer, and the output is de-scrambled voice data. Of course, the de-scrambling filtering unit 135 can also be selectively used, that is, only used when there is obvious background noise. For example, when the headset is used at a construction site with very large background noise, this unit can be selected to perform de-scrambling filtering on the original voice data. In general use, the original voice data can be directly output.
[0043] Such as Figure 5As shown in the figure, the first recognition controller 14 includes a first MCU 141, a first voice recognition unit 142, a first PPT recognition unit 143, an identification generation unit 144, and a time difference calculation unit 145 that are electrically connected to the first MCU 141. Among them, the first voice recognition unit 142 is Figure 2 electrically connected to the power detection unit 134 in
[0044] to receive the valid recognition signal or invalid recognition signal output by the power detection unit 134 and then forward it to the first MCU 141. After receiving the valid recognition signal from the first voice recognition unit 142, the first MCU 141 records the first voice moment when the valid recognition signal arrives.
[0045] In addition, the power detection unit 134 can also forward the original voice data output by the AD sampling unit 132 without processing to the first voice recognition unit 142 for voice feature recognition to identify the speaker's identity, so as to determine whether to send the speaker's voice. In this way, the intelligence level of the headset can be enhanced. Correspondingly, a mapping relationship can be established according to the recognized speaker identity and his operating characteristics of the walkie-talkie. For example, it can be identified whether the speaker's PTT button operation is standard, whether there is a situation of speaking too early but pressing the PTT button late, or still speaking after the PTT button is lifted, as well as the time difference length between pressing the PTT button late and lifting the PTT button early.
[0046] The first MCU 141 is electrically connected to the time difference calculation unit 145 and is used to send both the first voice moment and the first PTT moment to the time difference calculation unit 145. On the one hand, it is used to judge which of the first voice moment and the first PTT moment arrives earlier. When the first PTT moment is earlier than the first voice moment, it belongs to the normal walkie-talkie speaking mode. When the first PTT moment is later than the first voice moment, it belongs to the abnormal walkie-talkie speaking mode. For the abnormal walkie-talkie speaking mode, it is necessary to calculate the time difference between the first voice moment and the first PTT moment, that is, the first time difference. The first time difference is used to further adjust the aforementioned compression time length.
[0047] The first MCU 141 is electrically connected to the identification generation unit 144. After the first MCU 141 determines that the first voice moment is earlier than the first PTT moment, an initial voice identification is generated by the identification generation unit 144. For example, it is a single-frequency f1 audio signal within the voice frequency range. This initial voice identification is added to the front of the original voice data as the starting part of the voice, and then output to the walkie-talkie through the voice output terminal 17. In addition, the identification generation unit 144 can also generate an end voice identification. For example, it is a single-frequency f2 audio signal within the voice frequency range, and f2 is not equal to f1. This end voice identification is added to the back of the original voice data as the ending part of the voice. The identification generation unit 144 is electrically connected to the switch 15. On the one hand, according to the recognition of the first voice moment and the first PTT moment, a switching control signal is correspondingly output to the switch 15. On the other hand, an initial voice identification can also be output to the switch 15 as needed. Therefore, optionally, the first identification controller 14 and the switch 15 are not only connected by a control line, but also connected by a signal line for transmitting the initial voice identification and the end voice identification. This signal line is connected to the output terminal of the identification generation unit 144 of the first identification controller 14.
[0048] As Figure 6 shown, and in combination with the foregoing Figure 1 , 2 and Figure 5 , the switch 15 includes a first input terminal 151, a second input terminal 152, a control terminal 153, and an output terminal 154. Among them, the first input terminal 151 is electrically connected to the buffer 12, the second input terminal 152 is electrically connected to the filtering processor 13, specifically to the de-scrambling filtering unit 135, the control terminal 153 is electrically connected to the first identification controller 14, specifically to the identification generation unit 144, and the output terminal 154 is electrically connected to the voice output terminal 17. As needed, a third input terminal 155 can also be set for connecting to the identification generation unit 144 in the first identification controller 14. When it is necessary to output an initial voice identification or an end voice identification, it can be switched and connected to the third input terminal 155 under the control of the control terminal 153.
[0049] Based on the foregoing Figure 1 , 2 , 5, and 6 of the hardware circuit composition, the circuit in the earphone in this application can also be integrated in the form of a chip to achieve the same function. As Figure 7 shown, the earphone chip 3 internally includes a buffer 32, a filtering processor 33, a first identification controller 34, and a switch 35, as well as a PTT input connection line 36 and a voice output connection line 37, corresponding respectively to Figure 1The middle buffer 12, the filtering processor 13, the first recognition controller 14, the switching switch 15, as well as the PTT input end 16 and the voice output end 17 have the same functional roles and internal compositions, which will not be elaborated here.
[0050] The pins of the headphone chip 3 include a power supply pin 301, a ground pin 302, a voice output pin 303, a PTT input pin 304, and a pickup input pin 305. Among them, the power supply pin 301 and the ground pin 302 are used to connect to the positive and negative poles of direct current, and this direct current can be sourced from the power supply of the headphone itself or can be connected to the power supply from a compatible walkie-talkie through a cable. The voice output pin 303 is electrically connected to the voice output connection line 37 inside the headphone chip 3, and the voice output pin 303 is used to output valid voice data, initial voice identification / end voice identification to the walkie-talkie. The PTT input pin 304 is electrically connected to the PTT input connection line 36 inside the headphone chip 3, and the PTT input pin 304 is used to receive the PTT control signal from the walkie-talkie. The pickup input pin 305 is electrically connected to the filtering processor 33 inside the headphone chip 3 and is used to externally connect a pickup to receive the analog voice signal from the pickup.
[0051] The headphone chip based on single-chip integration can implement the various functions disclosed above in this application, which is beneficial to miniaturize the headphone to realize the functions of the above various control and processing circuits, and ensure the optimal design of various factors such as volume, energy consumption, and cost.
[0052] Figure 8 It further shows the connector in the headphone for connecting to the walkie-talkie, that is, the headphone includes a connector. Correspondingly, the walkie-talkie compatible with the headphone includes a jack for connecting to the connector. The connector includes a voice output part 403 at the end, and the voice output part 403 corresponds to Figure 1 the physical implementation mode of the voice output end 17 in, to realize the electrical connection between the walkie-talkie and the headphone. And a PTT signal input part 404 arranged in sequence from front to back (corresponding to Figure 1The physical implementation of the PTT input terminal 16 in it), the power connection part 402 (for supplying power to the earphone from inside the walkie-talkie), the ground connection part 401 (for the common ground connection between the internal circuit of the walkie-talkie and the internal circuit of the earphone). The setting order of these functional parts (i.e., 401-404) is not limited to this embodiment and can also be adjusted according to design requirements. These functional parts are all made of conductive metal materials. A first insulating part 411 is provided between the voice output part 403 and the PTT signal input part 404, a second insulating part 412 is provided between the PTT signal input part 404 and the power connection part 402, a third insulating part 413 is provided between the power connection part 402 and the ground connection part 401, and a fourth insulating part 414 is provided at the rear of the ground connection part 401. These insulating parts can isolate and insulate these functional parts from each other.
[0053] In addition, cables corresponding to these functional parts are also provided inside the connector, including a third cable 423 electrically connected to the voice output part 403, a fourth cable 424 electrically connected to the PTT signal input part 404, a second cable 422 electrically connected to the power connection part 402, and a first cable 421 electrically connected to the ground connection part 401. These cables are also insulated from each other. The outside of each cable is made of insulating material, and the inside is wrapped with a conductor. These cables are then uniformly wrapped in an earphone connecting wire composed of insulating material and nylon reinforcement material.
[0054] The following combines Figure 9 and Figure 10 to further illustrate how the earphone of the present application can completely transmit the voice signal in the case where there is a voice signal before the PTT is pressed. This can be achieved in two ways. First, the first implementation method is introduced.
[0055] As Figure 9 shown, it includes the following steps:
[0056] Step S101, the first recognition controller 14 recognizes the effective recognition signal indicating the occurrence of the voice signal, records the first voice moment when it appears , and at this time the PTT control signal has not appeared yet. The first recognition controller 14 controls the filtering processor 13 to perform compression processing and sends the compressed voice data to the buffer 12 for caching.
[0057] Step S102, the first recognition controller 14 recognizes the PTT effective signal when the PTT button is pressed, records the first PTT moment when it appears , calculates the time difference between the first voice moment and the first PTT moment , that is, the first time difference .
[0058] In step S103, buffer 12 buffers the compressed speech data from filter processor 13 frame by frame. The first recognition controller 14 controls the changeover switch 15 to connect to buffer 12, and inputs the buffered compressed speech data in the buffer into the speech output end frame by frame.
[0059] In step S104, after all the compressed speech data buffered in buffer 12 is output, the first recognition controller 14 controls the changeover switch 15 to be electrically connected to filter processor 13, and inputs the descrambled speech data or the original speech data output by filter processor 13 into the speech output end.
[0060] In step S103, it also includes that buffer 12 buffers the compressed speech data from filter processor 13 frame by frame. As Figure 10 shown, the frame length of the division of the original speech data is , that is, the frame duration of the original speech data frame is . After being compressed by the method as Figure 4 shown, the corresponding frame duration of the compressed speech data frame is , and the frame compression duration of the two is . Further, in order to compensate for the first time difference , after the PTT button is pressed, a total of original speech data frames are required. The symbol represents rounding up. After these M original speech data frames, it is no longer necessary to output the compressed speech data frames to the speech output end, but the original speech data can be directly output to the speech output end. Correspondingly, in step S104, after these M original speech data frames, the changeover switch 15 is controlled to connect the first input end 151 and the output end 154, and switch to connect the second input end 152 and the output end 154.
[0061] The following is another implementation method. As Figure 11 shown, it includes the following steps:
[0062] In step S201, the first recognition controller 14 recognizes the appearance of a valid recognition signal indicating the appearance of a speech signal, records the first speech moment when it appears, and at this time the PTT control signal has not appeared yet. The first recognition controller 14 controls the filter processor 13 to perform compression processing and sends the compressed speech data to the buffer 12 for buffering.
[0063] In step S202, the first recognition controller 14 first outputs an initial speech identifier, which is output to the speech output end through the control changeover switch 15 (that is, Figure 6In the middle, control the switch to connect the third input terminal 155 to the output terminal 154), and synchronously control the self-filtering processor 13 to compress the input voice signal and store the compressed voice data in the buffer 12. After the initial voice identifier is issued, then control the buffer 12 to output the compressed voice data and output it to the voice output terminal through the switch (that is Figure 6 In the middle, control the switch to connect the first input terminal 151 to the output terminal 154).
[0064] Step S203, after the time length of the compressed voice data corresponding to the compression is equal to the time length of the initial voice identifier, the first recognition controller 14 controls the switch to switch to the filter processor 13 (that is Figure 6 In the middle, control the switch to connect the second input terminal 152 to the output terminal 154), and output the original voice data or the de-scrambled voice data from the filter processor 13 to the voice output terminal through the switch 15.
[0065] Combined with Figure 12 The shown voice waveform, which includes two adjacent waveforms before and after. The previous waveform represents the initial voice identifier B1 (the duration can be between 0.5 seconds and 2 seconds), and the latter waveform represents the compressed voice data A2. Here, it can be combined with Figure 4 For explanation, that is, the time length of the original voice data A1 corresponding to the compressed voice data A2 before compression, minus the time length of the compressed voice data A2, exactly equals the duration of the initial voice identifier B1.
[0066] Based on Figure 11 And Figure 12 The shown embodiments, mainly for sending audio data from the earphone to the walkie-talkie in the way of "initial voice identifier + compressed voice data". As long as the walkie-talkie detects the initial voice identifier, it can be considered that an effective speech has been made through the earphone, and the voice signal will be sent, rather than waiting for the PTT button to be pressed before sending the voice signal. Therefore, the problem of the initial voice being "cut off" can be solved.
[0067] For the situation where the PTT button is lifted earlier than the end of speaking, as Figure 13 Shown, it includes the following steps:
[0068] Step S301, the first recognition controller 14 recognizes that the PTT control signal changes from the effective state to the invalid state, indicating that the PTT button is lifted. At the same time, it also recognizes that the original voice data still exists. The first recognition controller 14 continues to control the filter processor 13 to output the original voice data to the voice output terminal.
[0069] Step S302, the first recognition controller 14 recognizes the end of the original voice data and generates an end voice identifier to output to the voice output terminal.
[0070] Correspondingly, with Figure 12 similarly, Figure 14 It schematically shows two adjacent waveforms before and after. The previous waveform represents the original voice data A1, and the latter waveform is the end voice identifier B2 (the duration can be between 0.5 second and 2 seconds), that is, the end voice identifier B2 is added after the original voice data A1 ends.
[0071] Furthermore, in combination with Figure 1 As shown, on the intercom side, there are also a modulator 21, a second identification controller 22, and a power amplifier 23. The second identification controller 22 is electrically connected to the modulator 21, the power amplifier 23, the PTT input terminal 16, and the voice output terminal 17 respectively. Combining the foregoing content, the second identification controller 22 can identify the initial voice identifier B1 and the end voice identifier B2 from the voice output terminal 17, can also identify the valid voice data from the voice output terminal 17 (the valid voice data includes the foregoing compressed voice data, original voice data, or de-scrambled voice data), and can identify the PTT control signal from the PTT input terminal.
[0072] Among them, if the second identification controller 22 identifies that the PTT control signal is valid, the second identification controller 22 controls the modulator 21 and the power amplifier 23 to start working, and modulates and amplifies the power of the valid voice data from the voice output terminal 17 for output. Or, if the second identification controller 22 identifies that the PTT control signal is not yet valid, but identifies valid voice data and also identifies that there is an initial voice identifier B1 set, the second identification controller 22 controls the modulator 21 and the power amplifier 23 to start working, and modulates and amplifies the power of the valid voice data from the voice output terminal 17 for output.
[0073] It should be noted that the modulator 21 here mainly completes the communication modulation of the valid voice data, such as completing amplitude modulation, frequency modulation on the working frequency of the intercom, or digital modulation such as BPSK, QPSK, QAM, etc., to obtain the corresponding modulation signal. The power amplifier 23 mainly amplifies the power of the modulation signal completed by the modulator 21, and then transmits it through the antenna of the intercom. In addition, this application is also applicable to intercoms based on public phones. In this case, the modulator 21 and the power amplifier 23 correspond to the modulation and power amplification devices used in mobile communications. The implementation forms of these two devices can be integrated into a single chip, and no restrictions are imposed on this.
[0074] In addition, when the identified PTT control signal changes from the valid state to the invalid state, the PTT button is lifted. If the valid voice data still exists, the valid voice data is continuously received until the end voice identifier B2 is identified, and then the modulator 21 and the power amplifier 23 are controlled to stop working.
[0075] Furthermore, in combination with Figure 15 , the second recognition controller 22 includes a second MCU 221, an identification recognition unit 222, a second PPT recognition unit 223, a second voice recognition unit 224, and a modulation and power amplifier control unit 225 that are electrically connected to the second MCU 221.
[0076] The identification recognition unit 222 is connected to the Figure 1 voice output terminal 17 therein, and is used to recognize the initial voice identifier B1 and the end voice identifier B2 from the voice output terminal 17, and perform identification for two cases respectively, that is, the case where the valid voice data arrives earlier than the PTT control signal and the case where the valid voice data ends later than the PTT control signal.
[0077] The second voice recognition unit 224 is also connected to the Figure 1 voice output terminal 17 therein, and is used to recognize the valid voice data from the voice output terminal 17, and only send it to the modulator 21 and the power amplifier 23 when the valid voice data exists.
[0078] The second PPT recognition unit 223 is connected to the Figure 1 PTT input terminal 16 therein, and is used to recognize the PTT control signal. The results of the identification recognition unit 222 recognizing the initial voice identifier B1 and the end voice identifier B2, and the results of the second PPT recognition unit 223 recognizing the PTT control signal are all transmitted to the second MCU 221, and the second MCU 221 then issues control signals to the modulation and power amplifier control unit 225 according to these recognition results to further control Figure 1 the modulator 21 in it to start working or stop working, and control the power amplifier 23 to start working or stop working. Here, the modulation and power amplifier control unit 225 is respectively connected to the modulator 21 and the power amplifier 23, and is used to control the start and stop of the modulator 21 and the power amplifier 23.
[0079] Thus, it can be seen that Figure 15 the identification recognition unit 222 in it is mainly for application scenarios that require identification and judgment of the initial voice identifier B1 and the end voice identifier B2. For the application scenario of the embodiment shown in Figure 9 , there is no need to use the Figure 15 identification recognition unit 222 in it.
[0080] On the side of the walkie-talkie, Figure 16 a method for recognizing and controlling the initial voice identifier B1 is further provided, including the following steps:
[0081] Step S401: When the second recognition controller 22 recognizes the initial voice identifier from the voice output end 17 and also recognizes that the PTT control signal from the PTT input end 16 is not yet valid, it is determined that the valid voice data from the earphone is earlier than the pressing of the PTT button.
[0082] Step S402: When the second recognition controller 22 recognizes valid voice data after the end of the recognition of the initial voice identifier, the corresponding control modulator 21 and power amplifier 23 both start to work, and modulate and amplify the power of the valid voice data after the initial voice identifier for output.
[0083] Step S403: After the second recognition controller 22 recognizes that the PTT control signal from the PTT input end 16 is valid and the valid voice data continues to exist, it continues to control the modulator 21 and the power amplifier 23 to maintain the working state.
[0084] Figure 17 A method for recognizing and controlling the end voice identifier B2 is further provided, including the following steps:
[0085] Step S501: When the intercom is in the speaking state, the second recognition controller 22 recognizes that the PTT control signal from the PTT input end 16 switches from the valid state to the invalid state, the PTT button is lifted, and at the same time, it also recognizes that the valid voice data from the voice output end 17 continues to exist, then it continues to control the modulator 21 and the power amplifier 23 to maintain the working state.
[0086] Step S502: When the second recognition controller 22 recognizes the end voice identifier after the valid voice data and also recognizes that the PTT control signal is in the invalid state, it correspondingly controls the modulator 21 and the power amplifier 23 to stop working.
[0087] It can be seen that the present application discloses an intercom and an intercom method. The intercom includes: a modulator, a second recognition controller, a power amplifier, a PTT input end, and a voice output end. When the second recognition controller recognizes that the PTT control signal from the PTT input end is not yet valid, but recognizes the valid voice data and also recognizes that the initial voice identifier is set, it controls the modulator and the power amplifier to start working, and modulates and amplifies the power of the valid voice data from the voice output end for output. After the second recognition controller recognizes that the PTT control signal changes from the valid state to the invalid state and the valid voice data still exists, it continues to receive the valid voice data, and the modulator and the power amplifier continue to work until the end voice identifier is recognized, and then it controls the modulator and the power amplifier to stop working. Based on the present application, the problem that the speaking voice is lost in the initial stage and the end stage due to the uncoordinated cooperation between speaking and PTT button operation in the prior art can be effectively solved.
[0088] The above are only the embodiments of the present application, and do not thus limit the patent scope of the present application. Any equivalent structural transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall similarly be included within the patent protection scope of the present application.
Claims
1. A walkie-talkie, characterized in that, Including: A modulator, a second identification controller, and a power amplifier. The second identification controller is electrically connected to the modulator, the power amplifier, the PTT input terminal, and the voice output terminal respectively. The second identification controller is used to identify valid voice data from the voice output terminal and identify the PTT control signal from the PTT input terminal. In the initial stage of the speaking voice, if the second identification controller first identifies that the PTT control signal is valid, the second identification controller controls the modulator and the power amplifier to start working, modulates and amplifies the valid voice data from the voice output terminal for output; if the second identification controller identifies that the PTT control signal is not yet valid but an initial voice identifier is recognized, the second identification controller controls the modulator and the power amplifier to start working, and modulates and amplifies the valid voice data from the voice output terminal after the initial voice identifier for output. In the end stage of the speaking voice, the second identification controller is further used to identify the end voice identifier from the voice output terminal. After the second identification controller identifies that the PTT control signal changes from a valid state to an invalid state and the valid voice data still exists, the valid voice data is continuously received, and the modulator and the power amplifier continue to work until the end voice identifier is recognized, and then the second identification controller controls the modulator and the power amplifier to stop working.
2. The walkie-talkie according to claim 1, characterized in that, The second identification controller includes a second MCU, an identification recognition unit, a second PPT recognition unit, a second voice recognition unit, and a modulation and power amplifier control unit electrically connected to the second MCU. The identification recognition unit is electrically connected to the voice output terminal and is used to identify the initial voice identifier and the end voice identifier from the voice output terminal. The second voice recognition unit is also electrically connected to the voice output terminal and is used to identify the valid voice data from the voice output terminal. The second PPT recognition unit is electrically connected to the PTT input terminal and is used to identify the PTT control signal. The modulation and power amplifier control unit is respectively connected to the modulator and the power amplifier and is used to control the modulator and the power amplifier to start working and stop working.
3. The walkie-talkie according to claim 1, characterized in that, The walkie-talkie further includes a headphone adaptively connected thereto.
4. The walkie-talkie according to claim 3, wherein The headphone further includes a connector connected to the walkie-talkie. The connector includes a voice output portion at the end, and a PTT signal input portion, a power supply connection portion, and a ground connection portion sequentially arranged after the voice output portion. A first insulating portion is arranged between the voice output portion and the PTT signal input portion, a second insulating portion is arranged between the PTT signal input portion and the power supply connection portion, a third insulating portion is arranged between the power supply connection portion and the ground connection portion, and a fourth insulating portion is arranged at the rear of the ground connection portion.
5. The walkie-talkie according to claim 4, characterized in that, Inside the connector, there are also multiple cables, including a third cable electrically connected to the voice output part, a fourth cable electrically connected to the PTT signal input part, a second cable electrically connected to the power connection part, and a first cable electrically connected to the ground connection part. These cables are insulated from each other.
6. A walkie-talkie method, characterized in that, Based on the walkie-talkie described in claim 1, when making an intercom call, in the initial stage of the speech for the call, it includes the steps of: The second recognition controller recognizes the initial voice identifier from the voice output end, and at the same time also recognizes that the PTT control signal from the PTT input end is not yet valid, then it is judged that the voice from the earphone connected to the walkie-talkie is earlier than the pressing of the PTT button; When the second recognition controller recognizes valid voice data after the end of the initial voice identifier, it correspondingly controls both the modulator and the power amplifier to start working, and modulates and amplifies the power of the valid voice data after the initial voice identifier for output; After the second recognition controller recognizes that the PTT control signal from the PTT input end is valid and the valid voice data continues to exist, it continues to control the modulator and the power amplifier to maintain the working state; In the end stage of the speech for the call, it also includes the steps of: When the walkie-talkie is in the call state, the second recognition controller recognizes that the PTT control signal from the PTT input end switches from the valid state to the invalid state, the PTT button is lifted, and at the same time it also recognizes that the valid voice data from the voice output end continues to exist, then it continues to control the modulator and the power amplifier to maintain the working state; When the second recognition controller recognizes the end voice identifier after the valid voice data and at the same time also recognizes that the PTT control signal is in the invalid state, it correspondingly controls the modulator and the power amplifier to stop working.
Citation Information
Patent Citations
Method and device for judging voice breakpoint extension
CN104780263A
Method for reducing call establishment time and interphone
CN107863981A