[go: up one dir, main page]

CN110708417B - Voice switching method, device, terminal and computer readable storage medium - Google Patents

Voice switching method, device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN110708417B
CN110708417B CN201810752172.2A CN201810752172A CN110708417B CN 110708417 B CN110708417 B CN 110708417B CN 201810752172 A CN201810752172 A CN 201810752172A CN 110708417 B CN110708417 B CN 110708417B
Authority
CN
China
Prior art keywords
pcm
voice
voice data
playing
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810752172.2A
Other languages
Chinese (zh)
Other versions
CN110708417A (en
Inventor
杨柳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201810752172.2A priority Critical patent/CN110708417B/en
Priority to PCT/CN2019/089623 priority patent/WO2020010963A1/en
Publication of CN110708417A publication Critical patent/CN110708417A/en
Application granted granted Critical
Publication of CN110708417B publication Critical patent/CN110708417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/39Electronic components, circuits, software, systems or apparatus used in telephone systems using speech synthesis

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a voice switching method, a voice switching device, a terminal and a computer readable storage medium for voice communication, and belongs to the field of mobile terminals. The method comprises the following steps: acquiring first PCM voice data of a receiving end in the switching process of the audio equipment and storing the first PCM voice data in a cache; acquiring second PCM voice data of a receiving end, which has the same time as the first PCM voice data after the audio equipment is successfully switched; and processing the first PCM voice data and the second PCM voice data according to a preset PCM voice data processing strategy to obtain processed third PCM voice data, and sending the third PCM voice data to the switched audio equipment. By the embodiment of the invention, seamless switching of the voice equipment can be realized in the conversation process, so that a user cannot lose any voice information in the equipment switching process, the understanding of the user on the voice information is enhanced, and the user experience is enhanced.

Description

Voice switching method, device, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a voice switching method and apparatus for voice call, a terminal, and a computer-readable storage medium.
Background
During the daily voice call, the user can switch from the hand-held state to the hands-free state during the call as required. When the user switches from the hand-held state to the hands-free state, the user cannot normally listen to the downlink PCM voice data in the process that the mobile terminal is far away from the ear of the user. The specific switching time is different according to the operation speed and the operation habit of different users, and is generally more than 2 seconds. When the other party in the call speaks continuously, the downlink PCM voice data may not be obtained or lost in the switching process, and the longer the switching time is, the more the downlink PCM voice data is lost, thereby affecting the voice information reception of the other party in the call and affecting the user experience.
Therefore, it is necessary to provide a new voice switching method to solve the above existing problems.
Disclosure of Invention
In view of this, the present invention provides a voice switching method, apparatus, terminal and computer readable storage medium for voice call, so as to solve the problem that when a voice device is switched during a call, downlink PCM voice data information can be completely transmitted and seamlessly switched, so that a user does not lose any voice information during the device switching process, thereby enhancing the user's understanding of voice information and enhancing user experience.
The technical scheme adopted by the invention for solving the technical problems is as follows:
according to an aspect of the present invention, a voice handover method is provided, which is applied to a mobile terminal, and includes:
acquiring and approaching first PCM voice data received by a receiving end in the switching process of voice processing audio equipment and storing the first PCM voice data in a cache;
and second PCM voice data which is received by a receiving end and has the same time length as the first PCM voice data after the voice processing audio equipment is successfully switched is obtained and approached, so that the first PCM voice data and the second PCM voice data are played within the switching time.
In one possible design, before the step of obtaining and approximating the first PCM speech data received by the receiving end during the switching of the speech processing audio device and storing the first PCM speech data in the buffer, the method further includes: detecting the audio equipment switching in the voice communication process.
In one possible design, the step of obtaining and approximating the first PCM speech data received by the receiving end during switching of the speech processing audio device and storing the first PCM speech data in the buffer includes:
recording a first time stamp T1 of the mobile terminal about to leave the human ear when the audio equipment is switched;
recording a second time stamp T2 when the touch screen of the mobile terminal is switched by the clicked audio device;
acquiring first PCM voice data within the switching time T of the audio equipment, and storing the first PCM voice data in a cache; wherein the audio device switching time T-T2-T1;
and approximating the voice to process the first PCM voice data to obtain the 1 st third PCM voice data.
In a possible design, the step of obtaining and approximating second PCM speech data with the same duration as the first PCM speech data received by a receiving end after the switching of the speech processing audio device is successful so that the playing of the first PCM speech data and the second PCM speech data is completed within the switching time includes:
playing the nth third PCM voice data;
acquiring Nth second PCM voice data received by a receiving end after the audio processing audio equipment is successfully switched within the playing time;
approximating the voice to process the Nth time second PCM voice data to obtain the (N + 1) th time third PCM voice data;
and circularly executing the steps until N is equal to the playing times when the approaching playing time is less than the preset playing time, wherein N is an integer more than or equal to 1.
In one possible design, the approximating speech process is: and approximating the playing time of the PCM voice data by adopting an approximation method and combining voice processing to obtain the PCM voice data after approximation.
In one possible design, the speech processing is divided into two stages of speech decomposition and speech synthesis; wherein:
in the speech decomposition stage, framing of original PCM speech data is completed, and the decomposed frames are used for speech synthesis processing; setting the frame length as N and the frame shift as Sa;
and the voice synthesis stage keeps the position of the first frame in the voice decomposition stage unchanged, moves each frame, and changes the frame shift Sa in the voice decomposition stage into the frame shift Ss in the voice synthesis stage according to the speed change factor A & ltss/Sa & gt.
According to another aspect of the present invention, there is provided a voice switching apparatus, which is applied to the voice switching method, the voice switching apparatus including: the device comprises an acquisition module, a cache module and a processing module, wherein:
the acquisition module is used for acquiring first PCM voice data received by a receiving end in the switching process of the audio equipment and second PCM voice data with the same time length as the first PCM voice data after the audio equipment is successfully switched;
the cache module is used for caching the first PCM voice data and the PCM voice data in the approaching voice processing process;
the processing module is configured to perform approximate speech processing on the first PCM speech data and the second PCM speech data, so that the first PCM speech data and the second PCM speech data are played within a switching time.
In one possible design, the apparatus further includes a detection module, where the detection module is configured to detect an audio device switch during a voice call.
According to another aspect of the present invention, there is provided a terminal comprising: the voice switching method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the computer program realizes the steps of the voice switching method provided by the embodiment of the invention when being executed by the processor.
According to another aspect of the present invention, a computer-readable storage medium is provided, in which a program of the voice switching method is stored, and the program of the voice switching method is executed by a processor to implement the steps of the voice switching method provided in the embodiments of the present invention.
Compared with the prior art, the voice switching method, the voice switching device, the terminal and the computer readable storage medium for the voice call are provided by the invention. The method comprises the following steps: acquiring and approaching first PCM voice data received by a receiving end in the switching process of voice processing audio equipment and storing the first PCM voice data in a cache; and second PCM voice data with the same time length as the first PCM voice data received by a receiving end after the voice processing audio equipment is successfully switched is obtained and approached, so that the first PCM voice data and the second PCM voice data are played in the switching time, and seamless switching is realized. By the technical means approaching the voice processing, the problem that all the PCM voice data information can be completely transmitted and played when the voice equipment is switched in the conversation process can be solved, and seamless switching is realized, so that a user cannot lose any voice information in the equipment switching process, the understanding of the user on the voice information is enhanced, and the user experience is enhanced.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a voice switching method for voice call according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a method for completing seamless voice handover during switching of audio devices by using an approximation method in combination with caching and voice processing according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a voice switching apparatus for voice call according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a voice switching method for voice call according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
It should be noted that the terms first, second and the like in the description and in the claims, and in the drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Please refer to fig. 3. The embodiment of the invention provides a voice switching method of voice communication, which is applied to a mobile terminal and comprises the following steps:
s1, acquiring and approaching first PCM voice data received by a receiving terminal in the switching process of the voice processing audio equipment and storing the first PCM voice data in a cache;
s2, second PCM voice data with the same time length as the first PCM voice data received by the receiving end after the voice processing audio equipment is successfully switched is obtained and approached, so that the first PCM voice data and the second PCM voice data are played in the switching time, and seamless switching is realized.
Further, the approximating speech is processed by: and approximating the playing time of the PCM voice data by adopting an approximation method and combining voice processing to obtain the PCM voice data after approximation.
Further, before the step S1 of obtaining and approaching the first PCM speech data received by the receiving end during switching of the speech processing audio device and storing the first PCM speech data in the buffer, the method further includes: the step of detecting audio equipment switching in the voice call process comprises the following steps: the proximity sensor detects the moving condition of the mobile terminal in the voice call process, and if the mobile terminal is detected to move, the condition that the audio equipment is switched is judged.
Further, the approximating speech is processed by: and approximating the playing time of the PCM voice data by adopting an approximation method and combining voice processing to obtain the PCM voice data after approximation.
The voice processing only changes the speed of speech and keeps the intonation and the semanteme of the voice unchanged, and the voice processing is divided into two stages of voice decomposition and voice synthesis. Wherein: in the speech decomposition stage, framing of original PCM speech data is completed, and the decomposed frames are used for speech synthesis processing; setting the frame length as N and the frame shift (the distance between two adjacent frames) as Sa; the speech synthesis stage changes the frame shift Sa of the speech decomposition stage to the frame shift Ss of the speech synthesis stage according to the shift factor a Ss/Sa, and specifically includes: and keeping the position of the first frame in the speech decomposition stage unchanged, and moving each frame after the speech decomposition stage to change the frame shift Sa into Ss, so that the preliminary synthesized frame can be obtained.
Further, in step S1, the step of obtaining and approximating the first PCM speech data received by the receiving end during switching of the speech processing audio device and storing the first PCM speech data in the buffer includes:
s11, in the voice call process, the proximity sensor detects that the mobile terminal moves, audio equipment switching occurs, for example, switching between a receiver and a loudspeaker occurs, and a first time stamp T1 of the mobile terminal leaving the human ear is recorded;
s12, recording a second time stamp T2 when the touch screen of the mobile terminal is switched by clicking the audio device, for example, a second time stamp T2 when the touch screen of the mobile terminal is switched from a headphone mode to a loudspeaker mode by clicking;
s13, acquiring first PCM voice data received by a receiving end within the switching time T of the audio equipment; wherein the audio device switching time T is a difference between the second time stamp T2 and the first time stamp T1, i.e., T-T2-T1. Meanwhile, the switching time T of the audio equipment is the playing time of the first PCM voice data stored in the cache in the period of time;
s14, sending the acquired first PCM voice data to a cache and storing the first PCM voice data in the cache;
and S15, processing the first PCM voice data by approaching voice to obtain the 1 st third PCM voice data.
Further, in step S2, the step of obtaining and approximating second PCM speech data with the same duration as the first PCM speech data received by a receiving end after the audio processing audio device is successfully switched, so that the playing of the first PCM speech data and the second PCM speech data is completed within the switching time includes:
s21, playing the Nth third PCM voice data;
s22, obtaining the second PCM voice data of the Nth time received by the receiving end after the audio processing audio equipment is successfully switched within the playing time;
s23, processing the Nth time second PCM voice data by approaching voice to obtain N +1 th time third PCM voice data;
and looping through steps S21 to S23 until the approaching playback time is less than the preset playback time, where N is equal to the number of times of playback when the approaching playback time is less than the preset playback time, and the playback of the first PCM speech data and the second PCM speech data is completed within the switching time N times, where N is an integer greater than or equal to 1.
Please refer to fig. 4. Fig. 4 is a schematic diagram of a method for completing seamless voice switching in an audio device switching process by using an approximation method in combination with buffering and voice processing according to an embodiment of the present invention.
In fig. 4, audio device switching (e.g., handset switching to speaker) of the mobile terminal occurs at time T [ T1, T2] when the first PCM speech data is acquired, and time T [ T2, T3] when the switching is successful is immediately followed by a receiver playback time that coincides with the device switching time when the second PCM speech data is acquired.
The process of approximating the playing time by combining the approximation method with the cache and the voice processing is as follows:
within time T [ T1, T2 ]: after finishing the two stage processes of the first PCM voice data caching in the time T [ T1, T2] and the voice decomposition and voice synthesis by adopting the voice processing, after the caching and the voice processing, processing the PCM voice data (first PCM voice data) with the original playing time of T [ T1, T2] into PCM voice data PCM-T/2 with the playing time Tx of T/2, wherein the PCM voice data PCM-T/2 is the third PCM voice data of the 1 st time obtained after the processing, and at the moment, the playing time is reduced by half compared with the original playing time to T/2 of the original playing time.
Within time T/2[ T2, T2+ T/2 ]: finishing the playing of the PCM voice data PCM-T/2 (i.e. sending the PCM voice data PCM-T/2 to the audio equipment after switching for playing), finishing the two stages of the buffering of the PCM voice data (the PCM voice data comprises the second PCM voice data of T/2) in the time T/2[ T2, T2+ T/2] and the voice decomposition and voice synthesis by adopting the voice processing while finishing the playing, processing the PCM voice data with the original playing time of T/2[ T2, T2+ T/2] into the PCM voice data PCM-T/4 with the playing time Tx of T/4 after the buffering and the voice processing, wherein the PCM voice data PCM-T/4 is the third PCM voice data of the 2 nd time obtained after the processing, and the playing time is reduced by half compared with the original playing time at this time, reduced to T/4 of the original playing time.
Within time T/4[ T2+ T/2, T2+ T/2+ T/4 ]: finishing the playing of the PCM voice data PCM-T/4 (i.e. sending the PCM voice data PCM-T/4 to the audio equipment after switching for playing), finishing the PCM voice data in the time T/4[ T2+ T/2, T2+ T/2+ T/4] (at this time, the PCM voice data comprises the second PCM voice data of (T/4) buffer and the two stages of voice decomposition and voice synthesis by the voice processing, processing the PCM voice data with the original playing time of T/4[ T2+ T/2, T2+ T/2+ T/4] into the PCM voice data PCM-T/8 with the playing time Tx of T/8 after buffer and voice processing, at this time, the PCM voice data PCM-T/8 is the third PCM voice data obtained after processing, at this time, the playing time is reduced by half compared with the original playing time at this time, and is reduced to T/8 of the original playing time.
…, the approach is completed until the playing time Tx is less than the preset playing time Tu.
For example, if the audio device switching time is 2 seconds, in step S1, the first PCM speech data during 2 seconds of audio device switching has been acquired and buffered, and the approximate speech processing is performed on the 2 seconds PCM speech data to obtain the third PCM speech data with the 1 st playback time of 1 second. After the audio equipment is successfully switched, the 1 st time of second PCM voice data is obtained while the 1 st time of third PCM voice data is played (the 1 second playing is finished), the original playing time of the 1 st time of second PCM voice data is 1 second, the 1 st time of second PCM voice data is obtained, and the 1 st time of second PCM voice data is subjected to approximate voice processing to enable the playing time of the 1 st time of second PCM voice data to be 0.5 second, namely, the 2 nd time of third PCM voice data.
And acquiring the second PCM voice data of the 2 nd time while playing the third PCM voice data of the 2 nd time (playing is completed within 0.5 second), wherein the original playing time of the second PCM voice data of the 2 nd time is 0.5 second, acquiring the second PCM voice data of the 2 nd time, performing approximate voice processing on the second PCM voice data of the 2 nd time, and then playing the third PCM voice data of the 3 rd time with the playing time of 0.25 second.
And acquiring the 3 rd time second PCM voice data while playing the 3 rd time third PCM voice data (playing is completed within 0.25 seconds), wherein the original playing time of the 3 rd time second PCM voice data is 0.25 seconds, acquiring the 3 rd time second PCM voice data, performing approximate voice processing on the 3 rd time second PCM voice data, and then playing the 4 th time third PCM voice data with the playing time of 0.125 seconds.
…, the approach is completed until the playing time Tx is less than the predetermined playing time Tu (e.g., 50 ms).
The first time PCM voice data playing starts at the T/2 moment, and the playing time Tx is T/2; the second time PCM voice data playing starts at the moment of T/2+ T/4, and the playing time Tx is T/4; the third PCM voice data play starts at the time of T/2+ T/4+ T/8, and the play time Tx is T/8; and analogizing in turn, finishing the N-th PCM voice data playing at the time of T/2+ T/4+ T/8. + T/2^ N, wherein the playing time Tx is T/2^ N. It can be seen that each time the PCM audio data is played back, the first term is T/2, the common ratio is 1/2, and when N tends to infinity, the total playback time of the PCM audio data is T according to the following equation of summation of the equal ratios.
Figure BDA0001725814770000141
In the formula, TNFor the total playing time, 1/2 is the common ratio between each playing time, and N is the playing times. When N approaches infinity, TNThe value is T.
By combining the approximation method with cache and voice processing, when the playing times tend to be infinite, all PCM voice data in playing time 2T [ T1, T3] without delay and loss can be realized in time T, and seamless switching is realized.
In the actual playing process, when the playing time Tx is smaller than the preset playing time Tu (e.g. 50 ms), the above approximation is stopped, and the approaching process is ended. Because the user hardly subjectively perceives that the PCM speech data is not obtained or lost when the playing time Tx is less than the preset playing time Tu (e.g., 50 msec).
Preferably, in the present invention, there is a certain requirement on the audio device switching time T, the audio device switching time T is required to be between a preset minimum switching time Tmin (e.g. 0.5 second) and a preset maximum switching time Tmax (e.g. 5 seconds) (the preset minimum switching time Tmin < T < the preset maximum switching time Tmax), when the audio device switching time T is greater than the preset maximum switching time Tmax, the audio device switching time is too long, PCM voice data information to be processed is relatively large, and the user is recommended to ask the dialog party again to request repetition. If the audio device switching time T is less than the preset minimum switching time Tmin, the audio device switching time is very short, and there is a possibility that the user hardly acquires PCM voice data information during the switching operation, and there is no need to perform seamless switching at this time.
By the method provided by the invention, the first PCM voice data with the playing time of T (switching time of audio equipment) and the second PCM voice data with the same playing time of T can be processed by the approaching voice cache of the invention to obtain the processed third PCM voice data with the playing time of T, and the playing time is reduced by half compared with the original playing time. The method can solve the problem that all the downlink PCM voice data information can be completely transmitted and played and seamlessly switched when the voice equipment is switched in the call process, so that a user cannot lose any voice information in the equipment switching process, the understanding of the user to voice information is enhanced, and the user experience is enhanced.
Please refer to fig. 5. The embodiment of the present invention provides a voice switching device for voice call, which is applied to a mobile terminal, and the voice switching device 300 includes: a detecting module 301, an obtaining module 302, a caching module 303, and a processing module 304, wherein:
the detecting module 301 is configured to detect audio device switching in a voice call process;
the obtaining module 302 is configured to obtain first PCM speech data received by a receiving end during switching of audio devices and second PCM speech data having a same duration as the first PCM speech data after switching of the audio devices is successful;
the buffer module 303 is configured to buffer the first PCM speech data and the PCM speech data in the process of approaching speech processing;
the processing module 304 is configured to perform approximate speech processing on the buffered first PCM speech data and the second PCM speech data after the audio device is successfully switched, so that the first PCM speech data and the second PCM speech data are completely played within a switching time.
Preferably, the detecting module 301 is a proximity sensor.
It should be noted that the device embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are described in the method embodiment in detail, and technical features in the method embodiment are correspondingly applicable in the device embodiment, which is not described herein again.
The technical solution of the present invention is further described in detail with reference to the following examples.
In this embodiment, a case where a voice call is seamlessly switched from a handset to a speaker during a call will be described as an example.
Please refer to fig. 7. The embodiment of the invention provides a voice switching method of voice communication, which is applied to a mobile terminal and comprises the following steps:
s701, detecting audio equipment switching in the voice call process. The proximity sensor detects the moving condition of the mobile terminal in the voice call process, and if the mobile terminal is detected to move, the condition that the audio equipment is switched is judged.
S702, in the voice call process, detecting that the mobile terminal moves, switching audio equipment, namely switching between a receiver and a loudspeaker, and recording a first time stamp T1 when the mobile terminal is about to leave the ear of a person;
s703, recording a second time stamp T2 when the touch screen of the mobile terminal is switched by clicking the audio device, namely recording a second time stamp T2 when the touch screen of the mobile terminal is switched from an earphone mode to a loudspeaker mode by clicking;
s704, acquiring first PCM voice data within the switching time T of the audio equipment and storing the first PCM voice data in a cache; wherein the audio device switching time T is a difference between the second time stamp T2 and the first time stamp T1, i.e., T-T2-T1. Meanwhile, the audio device switching time T is also the playing time of the first PCM speech data stored in the buffer memory during the period of time.
S705, approaching voice processing the first PCM voice data to obtain 1 st third PCM voice data.
S706, playing the 1 st third PCM voice data, acquiring the 1 st second PCM voice data within the playing time, and approaching to voice processing the 1 st second PCM voice data to obtain the 2 nd third PCM voice data.
S707, playing the nth third PCM audio data, acquiring the nth second PCM audio data within the playing time, and approaching the nth second PCM audio data to obtain the (N + 1) th third PCM audio data, where N > is 2.
S708, after the approaching and voice processing, comparing the approaching playing time with the preset playing time, if the approaching playing time is less than the preset playing time, stopping the approaching, and going to S709, otherwise, going to S707, and continuing to approach the playing time.
And S709, ending the approximation.
In addition, an embodiment of the present invention further provides a terminal, as shown in fig. 6, where the terminal 900 includes: a memory 902, a processor 901 and one or more computer programs stored in the memory 902 and operable on the processor 901, wherein the memory 902 and the processor 901 are coupled together by a bus system 903, and the one or more computer programs when executed by the processor 901 implement the following steps of a voice call handover method provided by an embodiment of the present invention:
s1, acquiring and approaching first PCM voice data received by a receiving terminal in the switching process of the voice processing audio equipment and storing the first PCM voice data in a cache;
s2, second PCM voice data with the same time length as the first PCM voice data received by the receiving end after the voice processing audio equipment is successfully switched is obtained and approached, so that the first PCM voice data and the second PCM voice data are played in the switching time, and seamless switching is realized.
The method disclosed in the above embodiments of the present invention may be applied to the processor 901, or implemented by the processor 901. The processor 901 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by an integrated logic circuit of hardware or an instruction in the form of software in the processor 901. The processor 901 may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 901 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 902, and the processor 901 reads the information in the memory 902 and performs the steps of the foregoing method in combination with the hardware thereof.
It is to be understood that the memory 902 of embodiments of the present invention may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a magnetic Random Access Memory (Flash Memory) or other Memory technologies, a Compact disc Read-Only Memory (CD-ROM), a Digital Versatile Disc (DVD), or other optical disc storage, magnetic cartridge, magnetic tape, magnetic Disk storage, or other magnetic storage devices; volatile Memory can be Random Access Memory (RAM), and by way of exemplary and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Double Data Rate Synchronous Random Access Memory (ESDRAM), Synchronous Link Dynamic Random Access Memory (SLDRAM), Direct Memory bus Random Access Memory (DRRAM). The described memory for embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
It should be noted that the terminal embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiment, and technical features in the method embodiment are correspondingly applicable in the terminal embodiment, which is not described herein again.
In addition, in an exemplary embodiment, an embodiment of the present invention further provides a computer storage medium, specifically a computer-readable storage medium, for example, a memory 902 storing a computer program, where the computer storage medium stores one or more programs of a voice handover method for a voice call, and the one or more programs of the voice handover method for a voice call are executed by a processor 901 to implement the following steps of the voice handover method for a voice call provided by the embodiment of the present invention:
s1, acquiring and approaching first PCM voice data received by a receiving terminal in the switching process of the voice processing audio equipment and storing the first PCM voice data in a cache;
s2, second PCM voice data with the same time length as the first PCM voice data received by the receiving end after the voice processing audio equipment is successfully switched is obtained and approached, so that the first PCM voice data and the second PCM voice data are played in the switching time, and seamless switching is realized.
It should be noted that the embodiment of the voice handover method program for a voice call on a computer-readable storage medium and the embodiment of the method belong to the same concept, and specific implementation processes thereof are described in detail in the embodiment of the method, and technical features in the embodiment of the method are applicable to the embodiment of the computer-readable storage medium, and are not described herein again.
The invention provides a voice switching method, a device, a terminal and a computer readable storage medium for voice communication, wherein the method comprises the following steps: acquiring and approaching first PCM voice data received by a receiving end in the switching process of voice processing audio equipment and storing the first PCM voice data in a cache; and second PCM voice data with the same time length as the first PCM voice data received by a receiving end after the voice processing audio equipment is successfully switched is obtained and approached, so that the first PCM voice data and the second PCM voice data are played in the switching time, and seamless switching is realized. By the technical means approaching the voice processing, the problem that all the PCM voice data information can be completely transmitted and played when the voice equipment is switched in the conversation process can be solved, and seamless switching is realized, so that a user cannot lose any voice information in the equipment switching process, the understanding of the user on the voice information is enhanced, and the user experience is enhanced.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A method of voice switching, the method comprising:
in the voice communication process, first PCM voice data with the playing time length T received by a receiving end in the voice processing audio equipment switching process are obtained, the first PCM voice data are approximated, the first PCM voice data with the playing time length T/2 are obtained and serve as 1 st third PCM voice data, and the third PCM voice data are stored in a cache;
after the voice processing audio equipment is successfully switched, playing the 1 st third PCM voice data, acquiring and approaching second PCM voice data with the playing time length of T/2 received by a receiving end during the 1 st third PCM voice data playing, obtaining second PCM voice data with the playing time length of T/4 as the 2 nd third PCM voice data, and storing the second PCM voice data in a cache;
playing the third PCM voice data of the 2 nd time, acquiring and approaching second PCM voice data with the playing time length of T/4 received by a receiving terminal during the playing of the third PCM voice data of the 2 nd time, obtaining the second PCM voice data with the playing time length of T/8 as third PCM voice data of the 3 rd time, and storing the second PCM voice data in a cache;
and circularly executing the processing steps of playing, obtaining, approaching and caching the PCM voice data after the switching of the voice processing audio equipment is successful until the playing time length of the Nth third PCM voice data is less than the preset playing time, so that the playing of the first PCM voice data with the playing time length T obtained in the voice call switching process and the second PCM voice data with the playing time length T obtained after the voice call switching is successful is finished within the playing time T after the voice call switching is successful, wherein N is an integer greater than or equal to 1.
2. The method according to claim 1, wherein before the step of obtaining the first PCM speech data with the playing time T received by the receiving end during switching of the speech processing audio device, the method further comprises: detecting the audio equipment switching in the voice communication process.
3. The method of claim 1 wherein said step of approximating said first PCM speech data comprises:
recording a first time stamp T1 of the mobile terminal about to leave the human ear when the audio equipment is switched;
recording a second time stamp T2 when the touch screen of the mobile terminal is switched by the clicked audio device;
acquiring first PCM voice data within the switching time T of the audio equipment, and storing the first PCM voice data in a cache; wherein the audio device switching time T-T2-T1;
and approaching the voice to process the first PCM voice data to obtain the first PCM voice data with the playing time of T/2 as the 1 st third PCM voice data.
4. The method of any of claims 1 to 3, wherein the approximating speech processing is: and approximating the playing time of the PCM voice data by adopting an approximation method and combining voice processing to obtain the approximated PCM voice data.
5. The method according to claim 4, wherein the speech processing is divided into two stages of speech decomposition and speech synthesis; wherein:
in the speech decomposition stage, framing of original PCM speech data is completed, and the decomposed frames are used for speech synthesis processing; setting the frame length as N and the frame shift as Sa;
and the voice synthesis stage keeps the position of the first frame in the voice decomposition stage unchanged, moves each frame, and changes the frame shift Sa in the voice decomposition stage into the frame shift Ss in the voice synthesis stage according to the speed change factor A & ltss/Sa & gt.
6. A voice switching apparatus, which is applied to the voice switching method according to any one of claims 1 to 5, wherein the voice switching apparatus comprises: the device comprises an acquisition module, a cache module and a processing module, wherein:
the acquisition module is used for acquiring first PCM voice data with the playing duration T received by a receiving end in the audio equipment switching process and second PCM voice data with the playing duration T after the audio equipment is successfully switched in the voice communication process;
the cache module is used for caching the first PCM voice data and the PCM voice data in the approaching voice processing process;
the processing module is configured to approximate the first PCM speech data to obtain first PCM speech data with a playing duration of T/2 as third PCM speech data for the 1 st time, approximate second PCM speech data with a playing duration of T/2 received by the receiving terminal during playing of the third PCM speech data for the 1 st time, obtain second PCM speech data with a playing duration of T/4 as third PCM speech data for the 2 nd time, approximate the second PCM speech data with a playing duration of T/4 received by the receiving terminal during playing of the third PCM speech data for the 2 nd time, obtain second PCM speech data with a playing duration of T/8 as third PCM speech data for the 3 rd time, and cyclically execute the processing steps of playing, obtaining, approximating, and caching the PCM speech data after the audio processing audio device is successfully switched until the playing duration of the third PCM speech data for the nth time is less than a preset playing time, and completing the playing of the first PCM voice data with the playing duration T acquired in the voice call switching process and the second PCM voice data with the playing duration T acquired after the voice call switching is successful within the playing time T after the voice call switching is successful, wherein N is an integer greater than or equal to 1.
7. The apparatus of claim 6, further comprising a detection module, wherein the detection module is configured to detect an audio device switch during a voice call.
8. A terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the voice switching method according to any of claims 1 to 5.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program of the voice switching method, which when executed by a processor implements the steps of the voice switching method according to any one of claims 1 to 5.
CN201810752172.2A 2018-07-10 2018-07-10 Voice switching method, device, terminal and computer readable storage medium Active CN110708417B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810752172.2A CN110708417B (en) 2018-07-10 2018-07-10 Voice switching method, device, terminal and computer readable storage medium
PCT/CN2019/089623 WO2020010963A1 (en) 2018-07-10 2019-05-31 Voice handover method, apparatus, terminal, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810752172.2A CN110708417B (en) 2018-07-10 2018-07-10 Voice switching method, device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110708417A CN110708417A (en) 2020-01-17
CN110708417B true CN110708417B (en) 2021-02-23

Family

ID=69142181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810752172.2A Active CN110708417B (en) 2018-07-10 2018-07-10 Voice switching method, device, terminal and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN110708417B (en)
WO (1) WO2020010963A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087709A (en) * 2020-08-26 2020-12-15 上海传英信息技术有限公司 An information push method, device and computer storage medium
CN113434309B (en) * 2021-06-23 2024-06-21 东风汽车有限公司东风日产乘用车公司 Message broadcasting method, device and storage medium
JP7254978B1 (en) * 2022-01-17 2023-04-10 レノボ・シンガポール・プライベート・リミテッド Information processing device and control method
CN115334231B (en) * 2022-03-30 2024-11-26 努比亚技术有限公司 A method, device and computer-readable storage medium for optimizing under-screen camera imaging

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103985394A (en) * 2014-04-18 2014-08-13 青岛尚慧信息技术有限公司 Audio file playing method
CN107577447A (en) * 2017-08-24 2018-01-12 联想(北京)有限公司 Control the method and apparatus for media playing of media data output
WO2018031171A1 (en) * 2016-08-09 2018-02-15 Qualcomm Incorporated System and method to provide an alert using microphone activation
CN107872584A (en) * 2017-11-24 2018-04-03 维沃移动通信有限公司 A multimedia processing method, multimedia equipment and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009224911A (en) * 2008-03-13 2009-10-01 Onkyo Corp Headphone
CN101854425A (en) * 2009-04-02 2010-10-06 深圳富泰宏精密工业有限公司 Mobile device and sound mode switching method thereof
CN103811033B (en) * 2012-11-14 2017-05-17 北京新媒传信科技有限公司 Method and device for controlling voice playing modes
CN103984518A (en) * 2014-04-18 2014-08-13 青岛尚慧信息技术有限公司 Intelligent mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103985394A (en) * 2014-04-18 2014-08-13 青岛尚慧信息技术有限公司 Audio file playing method
WO2018031171A1 (en) * 2016-08-09 2018-02-15 Qualcomm Incorporated System and method to provide an alert using microphone activation
CN107577447A (en) * 2017-08-24 2018-01-12 联想(北京)有限公司 Control the method and apparatus for media playing of media data output
CN107872584A (en) * 2017-11-24 2018-04-03 维沃移动通信有限公司 A multimedia processing method, multimedia equipment and terminal

Also Published As

Publication number Publication date
WO2020010963A1 (en) 2020-01-16
CN110708417A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
CN110175062B (en) Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium
CN112394896B (en) Reverse screen-throwing frame rate control method, device and computer readable storage medium
CN112004174B (en) Noise reduction control method, device and computer readable storage medium
CN112004173A (en) Switching method of Bluetooth earphone, mobile terminal and computer readable storage medium
CN110708417B (en) Voice switching method, device, terminal and computer readable storage medium
CN112712815B (en) Software-based pop sound suppression method, terminal, and computer-readable medium
CN109088997B (en) Game audio control method, terminal and computer readable storage medium
US12224792B2 (en) Audio transmission method and electronic device
CN114126015A (en) Power consumption control method, intelligent terminal and storage medium
CN107682551B (en) Control method, terminal and storage medium of intelligent power amplifier
CN111093137A (en) A volume control method, device and computer-readable storage medium
CN112600815B (en) Video display method, terminal and computer readable storage medium
CN111970668B (en) Bluetooth audio control method, device and computer readable storage medium
CN109711830B (en) Quick display method and device for two-dimension code payment, mobile terminal and storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN115086479A (en) Terminal control method, intelligent terminal and storage medium
CN109688268A (en) A kind of method and device, mobile terminal and the storage medium of mixed audio output
CN109739642B (en) CPU frequency modulation method and device, mobile terminal and computer readable storage medium
CN112532787B (en) Earphone audio data processing method, mobile terminal and computer readable storage medium
CN116743894A (en) Communication method, intelligent terminal and storage medium
CN112887776B (en) Method, equipment and computer readable storage medium for reducing audio delay
CN112770001B (en) Output volume regulation and control method, device and computer readable storage medium
CN112104783B (en) Microphone control method, microphone control equipment and computer readable storage medium
CN110278402B (en) Dual-channel audio processing method and device and computer readable storage medium
CN110286959B (en) Game list management method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant