Voice playback method, device, computer-readable storage medium, and computer equipment
By identifying and storing target voice and sending voice at intervals after the call channel is established, the problem of loss in voice transmission when different voice systems are interconnected is solved, and the complete and clear transmission of voice is achieved.
Patent Information
- Application Number
- CN202211372407.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-03
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2042-11-03
AI Technical Summary
When different voice systems are interconnected, voice is prone to loss during transmission, and the existing technology is difficult to effectively solve this problem.
By identifying the target voice from the first voice system and performing continuous storage, a call channel with the intercom terminal in the second voice system is established, and voice is sent for a period of time after the call channel is established, ensuring that the voice is during transmission. Not lost.
It realizes the complete and clear transmission of voice when different voice systems are interconnected, avoiding the problems of voice loss, eating words or losing the entire paragraph.
Smart Images

Figure CN116095054B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of voice data processing, and in particular to a voice playing method, device, computer-readable storage medium and computer equipment. Background Art
[0002] In the related art, the conference system is usually directly interconnected with the wireless digital cluster system to realize voice transmission between the two voice systems. However, when this method is used, there are problems of missing words, interrupted words and loss of entire paragraphs in voice transmission. The above problems can only be improved by manual methods, but this improvement method is inconvenient and unreliable.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a voice playback method, apparatus, computer-readable storage medium and computer equipment to at least solve the technical problem of voice loss during transmission when different voice systems are interconnected.
[0005] According to one aspect of an embodiment of the present invention, a voice playback method is provided, comprising: identifying a target voice from a first voice system and continuously storing the target voice; establishing a call channel with an intercom terminal in a second voice system; starting from the start of establishing the call channel, after a first predetermined time interval, sending the target voice to the intercom terminal, wherein the intercom terminal is used to play the target voice, and the first predetermined time interval is greater than the time interval for establishing the call channel.
[0006] Optionally, sending the target voice to the intercom terminal includes: dividing the target voice into a first voice segment of a second predetermined time length; generating a first control signal corresponding to the first voice segment of the second predetermined time length; sending the first voice segment and the first control signal to the intercom terminal, wherein the first control signal is used to control the intercom terminal to play the first voice segment within a time period less than the second predetermined time length.
[0007] Optionally, the first control signal includes: playback speed information of the first voice segment.
[0008] Optionally, sending the target voice to the intercom terminal includes: determining a second voice segment of the first third predetermined time length in the target voice, wherein the third predetermined time length is greater than the interval between two adjacent sendings of the target voice; generating a second control signal corresponding to the second voice segment of the third predetermined time length; sending the target voice and the second control signal to the intercom terminal, wherein the second control signal is used to control the intercom terminal to play the second voice segment within a time period less than the third predetermined time length.
[0009] Optionally, the second control signal includes: playback speed information of the second voice segment.
[0010] Optionally, the first voice system is a full-duplex voice system, and the second voice system is a half-duplex voice system or a simplex voice system.
[0011] According to one aspect of an embodiment of the present invention, there is provided a voice playback device, comprising: a recognition module, used to recognize a target voice from a first voice system and continuously store the target voice; an establishment module, used to establish a call channel with an intercom terminal in a second voice system; a sending module, used to send the target voice to the intercom terminal after a first predetermined time interval starting from the start of establishing the call channel, wherein the intercom terminal is used to play the target voice, and the first predetermined time interval is greater than the time interval for establishing the call channel.
[0012] Optionally, the sending module includes: a division unit, used to divide the target speech into a first speech segment of a second predetermined time length; a generation unit, used to generate a first control signal corresponding to the first speech segment of the second predetermined time length; a sending unit, used to send the first speech segment and the first control signal to the intercom terminal, wherein the first control signal is used to control the intercom terminal to play the first speech segment within a time period less than the second predetermined time length.
[0013] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned voice playback methods.
[0014] According to one aspect of an embodiment of the present invention, a computer device is provided, including: a memory and a processor, wherein the memory stores a computer program; and the processor is used to execute the computer program stored in the memory, wherein when the computer program is executed, the processor executes any one of the above-mentioned voice playback methods.
[0015] In an embodiment of the present invention, a method of controlling the playback of voice is adopted according to the three characteristics of the call channel establishment time, the call time limit and the call interval limit of the second voice system during voice playback. By adding a protection delay on the basis of the original call channel establishment time, the voice sending is actively stopped before the intercom terminal call is interrupted, the voice during this period is stored and played at double speed during the next call, ensuring that the voice is played completely during the call, and after the interval of sending voice, the voice in the previous period of time in the currently sent voice is stored, and the voice is played at double speed to ensure that the sent voice will not be affected by the interval time limit, thereby achieving the purpose of avoiding the loss of words, words or whole paragraphs when the first voice system and the second voice system are interconnected from multiple angles, thereby achieving the technical effect of playing the voice of the first voice system completely and clearly in the intercom terminal of the second voice system, thereby solving the technical problem of voice loss during transmission when different voice systems are interconnected. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0017] Figure 1 is a flow chart of a voice playing method according to an embodiment of the present invention;
[0018] Figure 2 is a schematic diagram of an interconnection device provided according to an optional embodiment of the present invention;
[0019] Figure 3 It is a structural block diagram of a voice playback device provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0022] According to an embodiment of the present invention, a method embodiment of voice playback is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0023] Figure 1 is a flow chart of a voice playing method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0024] Step S102, recognizing a target speech from the first speech system and continuously storing the target speech;
[0025] Step S104, establishing a call channel with the intercom terminal in the second voice system;
[0026] Step S106, starting from the start of establishing the call channel, after a first predetermined time interval, the target voice is sent to the intercom terminal, wherein the intercom terminal is used to play the target voice, and the first predetermined time interval is greater than the time interval for establishing the call channel.
[0027] Through the above steps, the target voice from the first voice system is first recognized, and according to the recognition result of the target voice, a call channel is established between the intercom terminal in the second voice system, so as to perform voice transmission based on the call channel. It takes a period of time to establish a call channel, and the time required for each call terminal to establish a call channel is not necessarily completely consistent. Therefore, in this embodiment, the target voice is sent to the intercom terminal after a first predetermined time interval from the beginning of establishing the call channel, and the first predetermined time interval is greater than the time interval required for establishing the call channel, thereby avoiding problems such as voice loss caused by starting to transmit voice when the call channel is not completely established. For example, if the time required to establish the call channel is 400 milliseconds, the first predetermined time interval can be set to 500 milliseconds.
[0028] As an optional embodiment, sending the target voice to the intercom terminal includes: dividing the target voice into a first voice segment of a second predetermined time length; generating a first control signal corresponding to the first voice segment of the second predetermined time length; sending the first voice segment and the first control signal to the intercom terminal, wherein the first control signal is used to control the intercom terminal to play the first voice segment within a time period less than the second predetermined time length.
[0029] The intercom terminal itself has a call limit time, that is, the intercom terminal can only play voice continuously within a period of time. If the call limit time is exceeded, the intercom terminal will interrupt the voice playback. In this embodiment, based on the call limit time, before the intercom terminal interrupts the voice playback, it actively stops sending voice, and after a period of time, continues to send the voice and voice control signal stored during the interval, that is, it ensures that during each call, the first voice segment is played within the first predetermined time, thereby avoiding voice loss caused by call interruption.
[0030] The call restriction time can be divided into the time restriction of the intercom terminal and the time restriction of the wired dispatch console of the second voice system.
[0031] For example, if the call limit time of the intercom terminal is 60 seconds, the voice and control signals can be automatically stopped when the call lasts for 55 seconds, and the voice and control signals can be sent again after an interval of 5 seconds. For another example, if the call limit time of the digital trunking system and the wired dispatch console is 5 minutes, the call can be automatically stopped before it lasts for 5 minutes, and the voice and control signals can be started again after an interval of 10 seconds.
[0032] As an optional embodiment, the first control signal includes: playback speed information of the first voice segment. The first control signal can use the playback speed information therein to control how the intercom terminal plays the first voice segment. For example, if the intercom terminal call limit time is 60 seconds, it can automatically stop sending voice and control signals when the call lasts for 55 seconds, send voice and control signals again after an interval of 5 seconds, and use the first control signal to quickly play the voice within the interval of 5 seconds at a predetermined speed (1.1 times) to achieve the purpose of catching up, so as to ensure that the voice can be played completely while avoiding voice playback delays. For another example, if the call limit time of the digital trunking system and the wired dispatch console is 5 minutes, it can automatically stop before the call lasts for 5 minutes, and send voice and control signals again after an interval of 10 seconds, and use the first control signal to quickly play the voice within the interval of 10 seconds at a predetermined speed (1.2 times).
[0033] As an optional embodiment, sending a target voice to an intercom terminal includes: determining a second voice segment of the first third predetermined time length in the target voice, wherein the third predetermined time length is greater than the interval between two adjacent sendings of the target voice; generating a second control signal corresponding to the second voice segment of the third predetermined time length; sending the target voice and the second control signal to the intercom terminal, wherein the second control signal is used to control the intercom terminal to play the second voice segment within a time period less than the third predetermined time length.
[0034] There needs to be a certain time interval between two adjacent voice and control signal transmissions, and the voice received during this interval cannot be played normally. Therefore, in this embodiment, the second voice segment of the first third predetermined time length of the voice is stored, and when the target voice is sent, the second control signal is used to quickly play the stored second voice segment to avoid voice loss caused by the call interval time limit.
[0035] Interval time limits can be divided into radio station interval limits and intercom dispatch system interval limits.
[0036] For example, if the interval between each transmission of the radio station needs to be greater than 3 seconds, the voice within the first 5 seconds of the current voice transmission can be stored, and the voice and control signal can be sent again after 5 seconds. For another example, if the interval between continuous transmission time limits of the intercom scheduling system needs to be greater than 5 seconds, the voice within the first 10 seconds of the current voice transmission can be stored, and the voice and control signal can be sent again after 10 seconds.
[0037] As an optional embodiment, the second control signal includes: the playback speed information of the second voice segment. The second control signal can use the playback speed information therein to control how the intercom terminal plays the second voice segment. For example, if the interval between each transmission of the radio station needs to be greater than 3 seconds, the voice within the first 5 seconds of the current voice transmission can be stored, and the voice and control signal can be sent again after 5 seconds, and the second control signal can be used to quickly play the voice within the interval of 5 seconds at a predetermined speed (1.1 times) to achieve the purpose of catching up, so as to ensure that the voice can be played completely while avoiding voice playback delays. For another example, if the continuous transmission time limit interval of the intercom scheduling system needs to be greater than 5 seconds, the voice within the first 10 seconds of the current voice transmission can be stored, and the voice and control signal can be sent again after 10 seconds, and the first control signal can be used to quickly play the voice within the interval of 10 seconds at a predetermined speed (1.2 times).
[0038] As an optional embodiment, the first voice system is a full-duplex voice system, and the second voice system is a half-duplex voice system or a simplex voice system. A full-duplex voice system can perform two-way voice transmission at the same time, a half-duplex voice system can perform two-way voice transmission, but cannot perform two-way transmission at the same time, and a simplex voice system can only perform one-way voice transmission. In this embodiment, the first voice system is a full-duplex voice system, and the second voice system is a half-duplex voice system or a simplex voice system, so that the method based on this embodiment can realize complete and clear voice transmission and playback between different voice systems, for example, voice interconnection between a conference system and a wireless digital trunking system can be realized.
[0039] Based on the above embodiments and optional embodiments, the present invention proposes an optional implementation mode, which is described below.
[0040] The optional implementation of the present invention also proposes a device for interconnecting a duplex voice system with a half-duplex or simplex voice system. The device can adapt to the connected conference system according to the call establishment time, call restriction time, call interval restriction, and terminal call priority characteristics of the wireless digital trunking system, and solves the problems of missing or interrupted characters when interconnecting with the conference system through built-in intelligent feature detection, high-fidelity intelligent recording storage, and intelligent playback technology, achieving a reliable interconnection effect.
[0041] In the optional implementation of the present invention, the electrical characteristics of the two systems, such as input and output impedance and audio level, are completely different: the conference system uses a mixer as the main processor of the audio system, and the audio input and output are input / output through the XLR port at line level, 600 ohm impedance 1.2 volt line level standard. However, the digital trunking intercom car radio only has (600 ohm 80 mV small signal or 10 kilo ohm 700 mV line level) and the wired dispatch console has audio output capability (32 ohm low impedance), and the dispatch console audio input only supports microphone (80 mV).
[0042] The optional implementation mode of the present invention uses an embedded radio gateway, and customizes the software and hardware according to the above characteristics of the two systems. The gateway controls the radio group change, picks up the radio working status, network mode, sends and receives text messages, etc. through PEI / serial port (AT command or XCMP protocol). Audio transmission and reception and radio push-to-talk control (PTT) can be performed through the radio's accessory interface. The radio gateway can work in a centralized mode and a decentralized mode. Multiple gateways can be interconnected through a local area network, and multiple radio systems can be interconnected through an IP network.
[0043] Figure 2 is a schematic diagram of an interconnection device provided according to an optional embodiment of the present invention, such as Figure 2 As shown, the device comprises:
[0044] (1) Hardware modification
[0045] 1. The interface is connected to the wireless digital trunking system through the Zhengtong network wired dispatch console or radio station. The seat board is modified to add a Canon port input to connect the conference system mixer output / input.
[0046] 2. The main power supply uses a low-noise linear DC power supply, which can rectify and filter the ripple and interference signals in the circuit to prevent interference with the audio signal. It also provides a pure and stable working voltage for other circuits.
[0047] 3. Add a pre-selection amplifier to the seat board to improve the receiving sensitivity when the conference system signal strength is weak. Balance the dynamic range of the conference system input signal level. Improve the signal-to-noise ratio of the signal output to the dispatch desk microphone input.
[0048] 4. Add a 20dB balanced attenuator to the radio output to prevent the output signal level from being too high, so that it can match the impedance and level requirements of the wired dispatch console input audio interface.
[0049] 5. If the conference main mixer is connected, a 5dB balanced attenuator is added to the radio interface audio input to reduce the audio distortion output to the mixer.
[0050] (2) Software Upgrade
[0051] Add the following functional modules to the ARM (Advanced Reduced Instruction Set Machine) computing core:
[0052] 1. Set the seat board as a voice automatic recognition control device (VoX). First, trigger the push-to-talk signal (PTT). The conference system audio will be continuously transmitted to the wireless system, and the ARM board will control the radio interface of the main board.
[0053] 2. To time the audio signal output by the seat board, two interruption timing durations can be set in the gateway configuration tool, which can correspond to the intercom call limit time and call interval limit time. Triggering the time limit will interrupt the PTT signal of the radio port, allowing the intercom to forward the conference audio in real time and automatically release the transmission resources according to the set time limit.
[0054] 3. Automatically store the conference audio content during the intercom transmission interruption period.
[0055] 4. Add a voice acceleration algorithm to accelerate the audio content during the intercom forwarding interruption and the real-time content of the meeting.
[0056] 5. -Sonic voice speed change algorithm: This algorithm can change the pitch and speed of real-time voice streams. This algorithm was selected because the audio interconnect device utilizes the computing power of low-power ARM, and the -Sonic algorithm is less complex and occupies less computing resources.
[0057] It can be seen from the above that the interconnection device proposed in the optional implementation mode of the present invention automatically establishes an 800-megahertz channel and interconnects with the video conferencing system through audio recognition. Through built-in intelligent feature detection, high-fidelity intelligent recording storage, and intelligent playback technology, the problems of missing words, interrupted words, and loss of entire paragraphs caused by the connection between the ordinary dispatch desk and the conference system are solved. The seat system has a user-friendly interface and can adjust the group settings in real time as needed, greatly improving the operating efficiency. According to the actual use characteristics of the dispatch system, the practicality of the system is emphasized, including the hardware platform and application software of the system, to ensure that the system has good comprehensive performance and the system has high application efficiency. The device uses the -Sonic voice speed change algorithm to change the speed of the forwarded voice according to the cache length, so that the conference system voice can maintain the continuity and integrity of the forwarded voice even when the intercom system has multiple interruptions due to the call limit time and the call interval limit time, thereby improving the user experience.
[0058] Based on the interconnection device proposed in the optional implementation mode of the present invention, the specific scheme for realizing the interconnection between the conference system and the wireless cluster system is as follows:
[0059] (1) Call establishment time
[0060] After the system receives the transmission control signal, it takes 400 milliseconds to establish a call channel, and only then can the voice sent in be fully heard by the group members. Therefore, the optional implementation of the present invention first recognizes the voice from the conference system and sends out the transmission control signal, and records and stores the voice at the same time, and plays it after 500 milliseconds and sends it to the wireless digital trunking system, and the recording and playback are carried out simultaneously in real time; and the playback end is recognized, and the transmission control signal is terminated after the voice playback ends.
[0061] (2) Call restriction time
[0062] The call time limit on the intercom terminal side can be divided into the call time limit of the intercom within the system and the call time limit of the digital trunking system and the wired dispatch console.
[0063] Each call of the intercom in the system has a time limit of 60 seconds. When the time limit is reached, the transmission is interrupted. In order to avoid losing voice information, the transmission control signal stops automatically at 55 seconds and transmits again after an interval of 5 seconds. During this period, the voice is stored and played back at 1.1 times the speed to catch up with the lost time.
[0064] The digital trunking system and the wired dispatching station have a 5-minute continuous transmission limit, and the transmission will be interrupted when the time limit is reached. In order to avoid losing voice information, the transmission control signal generated by the interconnected device needs to be controlled to stop automatically before 5 minutes, and then transmit again after an interval of 10 seconds. During this period, the voice will be stored and played at 1.2 times the speed to catch up with the time lost during the interruption of voice forwarding.
[0065] (3) Call interval limit
[0066] Interval time limits can be divided into radio station interval limits and intercom dispatch system interval limits.
[0067] The interval between each transmission of the radio station needs to be greater than 3 seconds. For stability, the voice within 5 seconds before the transmission will be stored, and 1.1 times the playback will be performed when the next transmission is performed 5 seconds later.
[0068] The intercom dispatch system's continuous transmission time limit interval needs to be greater than 5 seconds. For the sake of stability, the second transmission interruption timer of the interconnected device is set to 10 seconds. After 10 seconds, it will be transmitted again and the content in the cache will be played at 1.2 times the speed until it catches up with the real-time audio of the conference system and then forwarded at normal speed.
[0069] In summary, the optional implementation method of the present invention recognizes and stores the voice from the conference system according to the characteristics of the wireless digital cluster, and then sends out the processed transmission control signal and plays the voice, thereby realizing the interconnection between the wireless digital cluster system and the conference system. The phenomenon of missing words, biting words, and missing words is avoided. The device can be deployed in the conference dispatch duty room where the conference system mixer is located to complete the interconnection between the digital cluster dispatch console and the conference mixer, and can also be installed in any temporary command post small conference mixer directly connected to the digital intercom radio.
[0070] According to an embodiment of the present invention, a voice playback device is also provided. Figure 3 is a structural block diagram of a voice playback device provided according to an embodiment of the present invention, such as Figure 3 As shown, the device includes: an identification module 31, a creation module 32 and a sending module 33. The device is described below.
[0071] The recognition module 31 is used to recognize the target voice from the first voice system and continuously store the target voice; the establishment module 32 is connected to the above-mentioned recognition module 31, and is used to establish a call channel between the intercom terminal in the second voice system; the sending module 33 is connected to the above-mentioned establishment module 32, and is used to send the target voice to the intercom terminal after a first predetermined time interval from the beginning of establishing the call channel, wherein the intercom terminal is used to play the target voice, and the first predetermined time interval is greater than the time interval for establishing the call channel.
[0072] As an optional embodiment, the above-mentioned sending module includes: a division unit, used to divide the target speech into a first speech segment of a second predetermined time length; a generation unit, used to generate a first control signal corresponding to the first speech segment of the second predetermined time length; a sending unit, used to send the first speech segment and the first control signal to the intercom terminal, wherein the first control signal is used to control the intercom terminal to play the first speech segment within a time period less than the second predetermined time length.
[0073] According to an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned voice playback methods.
[0074] According to an embodiment of the present invention, a computer device is also provided, including: a memory and a processor, the memory storing a computer program; the processor is used to execute the computer program stored in the memory, and when the computer program is running, the processor executes any one of the above-mentioned voice playback methods.
[0075] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0076] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0077] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0078] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0079] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0080] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0081] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A voice playing method, characterized in that: include: Recognizing a target speech from a first speech system and continuously storing the target speech; Establishing a call channel with the intercom terminal in the second voice system; Starting from the start of establishing the call channel, after a first predetermined time interval, the target voice is sent to the intercom terminal, wherein the intercom terminal is used to play the target voice, and the first predetermined time interval is greater than the time interval for establishing the call channel; The sending the target voice to the intercom terminal includes: Determine a second speech segment of a third predetermined time length before the target speech, wherein the third predetermined time length is greater than an interval between two adjacent transmissions of the target speech; generating a second control signal corresponding to the second speech segment of the third predetermined duration; The target voice and the second control signal are sent to the intercom terminal, wherein the second control signal is used to control the intercom terminal to play the second voice segment within a time period that is less than the third predetermined time period.
2. The method according to claim 1, characterized in that The sending the target voice to the intercom terminal includes: Dividing the target speech into first speech segments of a second predetermined time length; generating a first control signal corresponding to the first speech segment of the second predetermined duration; The first voice segment and the first control signal are sent to the intercom terminal, wherein the first control signal is used to control the intercom terminal to play the first voice segment within a time period that is less than the second predetermined time period.
3. The method according to claim 2, characterized in that The first control signal includes: playback speed information of the first voice segment.
4. The method according to claim 1, characterized in that: The second control signal includes: playback speed information of the second voice segment.
5. The method according to any one of claims 1 to 4, characterized in that: The first voice system is a full-duplex voice system, and the second voice system is a half-duplex voice system or a simplex voice system.
6. A voice playing device, characterized in that: include: A recognition module, configured to recognize a target speech from the first speech system and continuously store the target speech; An establishing module, used for establishing a call channel with an intercom terminal in a second voice system; A sending module, configured to send the target voice to the intercom terminal after a first predetermined time interval from the start of establishing the call channel, wherein the intercom terminal is configured to play the target voice, and the first predetermined time interval is greater than the time interval for establishing the call channel; Wherein, sending the target voice to the intercom terminal includes: Determine a second speech segment of a third predetermined time length before the target speech, wherein the third predetermined time length is greater than an interval between two adjacent transmissions of the target speech; generating a second control signal corresponding to the second speech segment of the third predetermined duration; The target voice and the second control signal are sent to the intercom terminal, wherein the second control signal is used to control the intercom terminal to play the second voice segment within a time period that is less than the third predetermined time period.
7. The device according to claim 6, characterized in that The sending module comprises: a division unit, configured to divide the target speech into first speech segments of a second predetermined time length; A generating unit, configured to generate a first control signal corresponding to the first speech segment of the second predetermined duration; A sending unit is used to send the first voice segment and the first control signal to the intercom terminal, wherein the first control signal is used to control the intercom terminal to play the first voice segment within a time period less than the second predetermined time period.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the voice playing method according to any one of claims 1 to 5.
9. A computer device, characterized in that: include: Memory and processor, The memory stores a computer program; The processor is used to execute the computer program stored in the memory, and when the computer program is running, the processor executes the voice playback method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Apparatus and method for implementing voice buffering in PTT terminal
CN101111035A
Voice quality optimization method based on websocket and talkback terminal
CN114173213A
Voice speed adjusting system of voice over Internet protocol (VoIP) phone and method therefor
US20070177633A1
