CN107682360B - Voice call processing method and mobile terminal - Google Patents

Voice call processing method and mobile terminal Download PDF

Info

Publication number
CN107682360B
CN107682360B CN201711047922.8A CN201711047922A CN107682360B CN 107682360 B CN107682360 B CN 107682360B CN 201711047922 A CN201711047922 A CN 201711047922A CN 107682360 B CN107682360 B CN 107682360B
Authority
CN
China
Prior art keywords
voice
frame
received
data packet
voice 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
CN201711047922.8A
Other languages
Chinese (zh)
Other versions
CN107682360A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711047922.8A priority Critical patent/CN107682360B/en
Publication of CN107682360A publication Critical patent/CN107682360A/en
Application granted granted Critical
Publication of CN107682360B publication Critical patent/CN107682360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a voice call processing method and a mobile terminal, wherein the processing method comprises the following steps: receiving indication information when the transmission or the reception of a voice data packet is interrupted due to non-voice quality in the voice communication process; wherein the voice data packet comprises a voice frame and a silence frame; the silent frame is not received within a preset time length after the indication information is received, and the silent frame is inserted into a sending queue of the voice data packet; in the embodiment of the invention, the base station can not configure the mobile terminal to carry out inter-system switching due to the problem caused by non-voice quality, so that the 4G voice call drop is avoided, and the purpose of stabilizing the 4G voice call service is achieved.

Description

Voice call processing method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for processing a voice call and a mobile terminal.
Background
The final Voice solution in the 4G (fourth generation mobile communication technology) network is VOLTE (Voice over LTE, a long term evolution-based Voice service), which is an IP data transmission technology, and does not require a 2G/3G network, all services are carried on the 4G network, and the unification of data and Voice services in the same network can be realized. Compared with 2G and 3G voice communication, the voice quality of VOLTE can be improved by about 40 percent because the VOLTE adopts a high-resolution coding and decoding technology. VOLTE brings lower access delay (waiting time after dialing) for the user, which is 50% lower than 3G, approximately 2 seconds, and 2G time is 6-7 seconds. In addition, the dropped call rate under 2G and 3G may occur, but the dropped call rate of VOLTE is close to zero. In other words, the 4G network not only provides high-rate data services, but also provides high-quality audio and video calls, which require VOLTE technology to implement.
The video solution in 4G networks is ViLTE (video over LTE, long term evolution based video service). Like VoLTE, ViLTE is carried over LTE. ViLTE needs to carry image frames in addition to voice. Higher network stability and network rates are required.
The mobile station is switched between different systems in the process of carrying out the VoLTE/ViLTE service, namely, the mobile station is switched from a 4G network to other network systems such as 2G, so that the VoLTE/ViLT service is interrupted.
As shown in fig. 1, VoLTE/ViLTE all include voice data packets, the voice is encoded by AMR (adaptive multi-rate coding), and is generated by a voice generation sub-module of the mobile station, and the voice generation sub-module generates two types of voice packets according to the content of the voice, one is in a voice data packet format a, the fixed 20ms generates a voice data packet a, the other is in a communication comfort data packet format B (silence frame), and the period is 160ms generates a voice data packet B. After receiving the voice data packet, the mobile station modulation and demodulation submodule encapsulates the received data packet in the voice real-time processing submodule, performs voice specific processing in the protocol processing submodule, and sends the processed data packet to the equivalent protocol submodule of the base station for processing.
The protocol processing sub-module of the base station counts the number of voice protocol packets according to the voice packet characteristics of VoLTE/ViLTE, and for voice data packet A, 20ms is expected to be received, and for voice data packet B, 160ms is expected to be received.
As shown in fig. 2, the protocol processing sub-module of the base station determines the quality of the mobile station voice according to the packet loss rate of the voice protocol packet expected to be received. If the number of the voice data packets received by the base station in the set time period is less than the preset number, the base station considers that the packet loss rate is too high, and therefore the voice quality of the mobile station is judged to be in a problem. The mobile station would be configured to measure a different system (e.g., 2g) cell, in which case the mobile station would easily hand off to the different system cell, thereby interrupting VoLTE/ViLTE service.
For example, the packet loss is 20% within 2s set by the base station, and the mobile station handset voice quality is considered to be poor.
Depending on the transmission period of voice data packet a and voice data packet B, the base station expects 100 packets of format a, or 100/8 packets of about 12-13 of format B, within 2 s. Suppose that the mobile station transmits 60 voice data packets a and 4 voice data packets B in 2s of time. The packet loss rate considered by the base station should be around 8%.
Disclosure of Invention
The invention provides a voice call processing method and a mobile terminal in real time, and aims to solve the problem that in the prior art, if different systems are switched during 4G voice call, the 4G voice call is interrupted.
In order to solve the technical problem, the invention is realized as follows: a processing method of voice call comprises the following steps:
receiving indication information when the transmission or the reception of a voice data packet is interrupted due to non-voice quality in the voice communication process; wherein the voice data packet comprises a voice frame and a silence frame;
and inserting a silence frame into a sending queue of the voice data packet within a preset time length after the indication information is received.
In a first aspect, an embodiment of the present invention further provides a mobile terminal, including:
the receiving module is used for receiving the indication information when the transmission or the reception of the voice data packet is interrupted due to the non-voice quality in the voice communication process; wherein the voice data packet comprises a voice frame and a silence frame;
and the inserting module is used for inserting a silent frame into the sending queue of the voice data packet within a preset time length after the indication information is received.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the processing method for voice call as described above.
In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the processing method for voice calls described above.
In the embodiment of the invention, in the voice communication process, if the non-voice quality causes the voice data packet to be sent or received, the indication information is received, and if the silence frame is not received within the preset time length after the indication information is received, the silence frame is inserted into the generation queue of the voice data packet and sent to the base station, so that the base station can not configure the mobile terminal to carry out inter-system switching because of the problem caused by the non-voice quality, the 4G voice communication is prevented from being dropped, and the purpose of stabilizing the 4G voice communication service is achieved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a diagram illustrating a prior art interaction of voice data packets between a mobile station and a base station;
FIG. 2 is a signaling diagram illustrating inter-system handover between a mobile station and a base station in the prior art;
fig. 3 is a flowchart illustrating steps of a method for processing a voice call according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating interaction between a mobile terminal and a base station in a method for processing a voice call according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating the detailed steps of a method for processing a voice call according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a second schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 8 is a third schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 9 is a fourth schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 3, an embodiment of the present invention provides a method for processing a voice call, including:
step 301, receiving indication information when the transmission or reception of a voice data packet is interrupted due to non-voice quality in a voice communication process; wherein the voice data packet includes a voice frame and a silence frame.
In this step, the reason why the transmission or reception of the voice data packet is interrupted due to the non-voice quality may specifically be hands-free switching during the communication process; namely, the voice data packet is interrupted in the hand-free switching process, so that the voice data packet is not sent to the base station in the hand-free switching process.
Preferably, the voice data packet has a flag indicating whether it is a voice frame or a silence frame. The AMR speech coding protocol defines a speech frame and a silence frame, and generates a packet for 20ms if the speech frame is a speech frame, and generates a packet for 160ms if the silence frame is a silence frame. There are only two formats of packets, either speech frames or silence frames. The base station can judge whether the voice frame or the silent frame is according to the format of the received voice data packet.
Specifically, step 301 includes: and receiving the indication information when the voice data packet is transmitted or received to be interrupted due to the conversion of the voice input and output mode in the 4G voice communication process. The 4G voice call specifically refers to a voice service VOLTE based on long term evolution or a video service VILTE based on long term evolution.
Further, the step of receiving the indication information when the voice data packet is interrupted in sending or receiving due to the conversion of the voice input/output mode in the 4G voice communication process includes: and receiving the indication information when the hands-free switching causes the interruption of the transmission or the reception of the voice data packet in the 4G voice communication process. Specifically, the hands-free switching may be caused by a user manually clicking a switching button, and may also be caused by dial APP call setting, which is not specifically limited herein.
Step 302, a silence frame is not received within a preset time length after the indication information is received, and a silence frame is inserted into a transmission queue of the voice data packet.
Specifically, the setting of the preset time length can be adjusted by a user according to actual conditions, and can be stored in a memory medium of the mobile terminal and read from a memory; the preset time length can also be set by a base station or a cell and can be stored in a memory medium of the base station or the cell; and is not particularly limited herein.
Further, step 302 in the above embodiment of the present invention includes:
the silent frame is not received within a preset time length after the indication information is received, and a silent frame is inserted into a sending queue of the voice data packet at a target moment; wherein the content of the first and second substances,
the time length between the target time and the last time when the voice data packet is received is equal to the time length of the transmission period of the silence frame.
For example, if the indication information is received at a first time, and the first time is the last time a voice data packet (the voice data packet may be a voice frame or a silence frame) is received, the target time is the first time + the transmission period of the silence frame 160 ms.
For another example, the indication information is received at the first time, but the first time is not the time when the voice data packet (the voice data packet may be a voice frame or a silence frame) is received last time; if the first time is 9:00 and the last time when the voice data packet is received is 8:59, the target time is 8:59+ 160ms of the transmission period of the silence frame.
It should be noted that the first time may be the same as or different from the last time of receiving the voice data packet, and the target time is determined according to the last time of receiving the voice data packet and the transmission period of the silence frame.
It should be further noted that, if the silence frame is not received within the first preset time length from the first time, and the mobile terminal inserts a silence frame into the transmission queue of the voice data packet at the target time; at the moment, whether the voice data packet is received within a second preset time length needs to be detected again, if the voice data packet is received, the processing is not carried out, and if the voice data packet is not received, a silence frame is further inserted again according to the moment of inserting the silence frame last time and the sending period of the silence frame; and sequentially processing until a voice data packet (here, the voice data packet is a silence frame or a voice frame) is received.
Preferably, step 302 in the above embodiment of the present invention includes:
the silent frame and the voice frame are not received within a preset time length after the indication information is received, and a silent frame is inserted into a sending queue of the voice data packet; alternatively, the first and second electrodes may be,
and after the indication information is received, a silence frame is not received within a preset time length, but a voice frame is received within the preset time length, and the preset time length is greater than the voice frame sending period, and the silence frame is inserted into a sending queue of voice data packets.
It should be noted that the monitoring of the preset time length may be implemented by a timer, and the timed time length of the timer is equal to the preset time length.
For example, the timer is started when the indication information is received, and if the timer is overtime and no voice data packet (including a silence frame and a voice frame) is received, a silence frame is inserted into a transmission queue of the voice data packet; or, if the voice frame is received before the timer is overtime and the timing time length of the timer is greater than the voice frame sending period by 20ms, inserting a silence frame into the sending queue of the voice data packet. Further, if the silent frame is received before the timer is overtime, no processing is performed; or receiving the voice frame before the timer is overtime, and if the timing time length of the timer is less than 20ms of the voice frame sending period, not processing.
Further, after step 302 in the foregoing embodiment of the present invention, the method for processing a voice call further includes:
and sequentially sending the voice data packets contained in the sending queue to the base station according to the sending queue of the voice data packets.
In order to describe the voice call processing method provided by the present application more clearly, an internal structure of the mobile terminal provided by the embodiment of the present invention is shown in fig. 4, where the mobile terminal includes: a dialing module 41, a voice module 42, a modulation and demodulation module 43, and a data sending module 44; the base station includes: a receive data module 45 and a data processing module 46. Further, the dialing module 41 includes a hands-free switching sub-module 411; the speech module 42 includes a speech generation submodule 421; the modem module 43 includes a real-time voice processing submodule 431 and a protocol processing submodule 432; the data processing module 46 includes a protocol processing sub-module 461.
With reference to the structure of the mobile terminal in fig. 4, the specific steps of the processing method for voice call shown in fig. 5 are as follows:
step 501, the mobile terminal performs a volte/villte call in the 4G cell, and the dial of the mobile terminal sends hands-free switching, that is, the voice input and output of the mobile terminal are switched.
In step 502, the modem module 43 of the mobile terminal sets a timer T and starts timing from 0. T sets the overtime time as Th; for example, Th may be set to 160ms according to the transmission period of the silence frame.
Step 503, the modem module 43 of the mobile terminal determines whether the timer T receives the voice packet sent by the voice module when timeout occurs, and if the timer T does not receive the voice packet, the process goes to step 504; if a voice packet is received, go to step 505.
In step 504, the real-time voice processing submodule 431 of the mobile terminal inserts the silence frame into the transmission queue of the voice data packet, and times T again at regular time.
Step 505, the mobile terminal receives the voice packet before the timer times out, and determines whether the received voice packet is a silence frame, if the received voice packet is a silence frame, the step 508 is turned to, otherwise, the step 506 is turned to.
Step 506, the mobile terminal receives the voice frame, determines whether the timing of the timer T is greater than 20ms, if so, goes to step 507, otherwise, goes to step 508.
Step 507, the real-time voice processing submodule of the mobile terminal inserts a silence frame into a sending queue of the voice data packet.
In step 508, the mobile terminal transmits the data of the transmission queue of the voice data packet to the base station.
In summary, in the processing method for voice call provided in the foregoing embodiment of the present invention, when the mobile terminal switches hands-free, if the modem module of the mobile terminal does not receive the data packet within a certain time, the real-time voice processing sub-module of the modem module of the mobile terminal inserts a silence frame into the transmission queue of the voice data packet according to the transmission period of the silence frame, and transmits the silence frame to the protocol processing sub-module to encode and transmit the silence frame to the peer entity of the base station. When the improved base station protocol processing submodule checks the packet loss of the voice data packet, the modulation and demodulation module increases the sending of the voice packet, so that the situation that the mobile station is switched to an abnormal system due to the fact that the mobile station is judged to have a problem in voice quality because the mobile station is switched to a hands-free state and lacks data is avoided, and the purpose of stabilizing the video/video service is achieved.
As shown in fig. 6, an embodiment of the present invention further provides a mobile terminal 600, including:
a receiving module 601, configured to receive indication information when transmission or reception of a voice data packet is interrupted due to non-voice quality in a voice call process; wherein the voice data packet comprises a voice frame and a silence frame;
an inserting module 602, configured to insert a silence frame into a transmission queue of voice data packets after the silence frame is not received within a preset time length after the indication information is received.
Preferably, in the above embodiment of the present invention, as shown in fig. 7, the receiving module 601 includes:
receiving submodule 6011, configured to receive indication information when a voice data packet is sent or received in an interrupted manner due to a conversion of a voice input/output mode in a 4G voice call process.
Preferably, in the above embodiment of the present invention, as shown in fig. 7, the receiving submodule 6011 includes:
a receiving unit 60111, configured to receive the indication information when the sending or receiving of the voice data packet is interrupted due to hands-free switching in the 4G voice call process.
Preferably, in the above embodiment of the present invention, as shown in fig. 7, the inserting module 602 includes:
a first inserting sub-module 6021, configured to insert a silence frame into a transmission queue of the audio data packet at a target time when the silence frame is not received within a preset time length after the indication information is received; wherein the content of the first and second substances,
the time length between the target time and the last time when the voice data packet is received is equal to the time length of the transmission period of the silence frame.
Preferably, in the above embodiment of the present invention, as shown in fig. 7, the inserting module 602 includes:
a second inserting sub-module 6022, configured to insert a silence frame into a transmission queue of a voice data packet within a preset time length after receiving the indication information, where the silence frame and the voice frame are not received; and/or the presence of a gas in the gas,
a third inserting sub-module 6023, configured to insert a silence frame into a sending queue of a voice data packet when a silence frame is not received within a preset time length after the indication information is received, but a voice frame is received within the preset time length and the preset time length is greater than a voice frame sending period.
Preferably, in the above embodiment of the present invention, as shown in fig. 7, the mobile terminal further includes:
a sending module 603, configured to send the voice data packets included in the sending queue to the base station in sequence according to the sending queue of the voice data packets.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 5, and is not described herein again to avoid repetition.
In summary, in the processing method for voice call provided in the foregoing embodiment of the present invention, when the mobile terminal switches hands-free, if the modem module of the mobile terminal does not receive the data packet within a certain time, the real-time voice processing sub-module of the modem module of the mobile terminal inserts a silence frame into the transmission queue of the voice data packet according to the transmission period of the silence frame, and transmits the silence frame to the protocol processing sub-module to encode and transmit the silence frame to the peer entity of the base station. When the improved base station protocol processing submodule checks the packet loss of the voice data packet, the modulation and demodulation module increases the sending of the voice packet, so that the situation that the mobile station is switched to an abnormal system due to the fact that the mobile station is judged to have a problem in voice quality because the mobile station is switched to a hands-free state and lacks data is avoided, and the purpose of stabilizing the video/video service is achieved.
It should be noted that, the mobile terminal provided in the above embodiments of the present invention is a mobile terminal capable of executing the above processing method for voice call, and all embodiments of the processing method for voice call are applicable to the mobile terminal, and can achieve the same or similar beneficial effects.
Figure 8 is a schematic diagram of a hardware configuration of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 8 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The radio frequency unit 801 is configured to receive indication information when transmission or reception of a voice data packet is interrupted due to non-voice quality in a voice call process; wherein the voice data packet comprises a voice frame and a silence frame;
the processor 810 is configured to insert a silence frame into a transmission queue of the voice data packet, where the silence frame is not received within a preset time length after the indication information is received.
In summary, in the processing method for voice call provided in the foregoing embodiment of the present invention, when the mobile terminal switches hands-free, if the modem module of the mobile terminal does not receive the data packet within a certain time, the real-time voice processing sub-module of the modem module of the mobile terminal inserts a silence frame into the transmission queue of the voice data packet according to the transmission period of the silence frame, and transmits the silence frame to the protocol processing sub-module to encode and transmit the silence frame to the peer entity of the base station. When the improved base station protocol processing submodule checks the packet loss of the voice data packet, the modulation and demodulation module increases the sending of the voice packet, so that the situation that the mobile station is switched to an abnormal system due to the fact that the mobile station is judged to have a problem in voice quality because the mobile station is switched to a hands-free state and lacks data is avoided, and the purpose of stabilizing the video/video service is achieved.
It should be noted that, the mobile terminal provided in the above embodiments of the present invention is a mobile terminal capable of executing the above processing method for voice call, and all embodiments of the processing method for voice call are applicable to the mobile terminal, and can achieve the same or similar beneficial effects.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 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. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the mobile terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The mobile terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the mobile terminal 800 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 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 807 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 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions 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 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 808 is an interface through which an external device is connected to the mobile terminal 800. 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 808 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 800 or may be used to transmit data between the mobile terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 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 809 can include high speed random access memory, and can 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 810 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 running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the mobile terminal. Processor 810 may include one or more processing units; preferably, the processor 810 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 processor 810.
The mobile terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may be logically coupled to the processor 810 via a power management system that may be used to manage charging, discharging, and power consumption.
In addition, the mobile terminal 800 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 900, a memory 910, and a computer program stored in the memory 910 and capable of running on the processor 900, where the computer program, when executed by the processor 900, implements each process of the above-mentioned voice call processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the processing method for voice call, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for processing a voice call, comprising:
receiving indication information when the transmission or the reception of a voice data packet is interrupted due to non-voice quality in the voice communication process; wherein the voice data packet comprises a voice frame and a silence frame;
the silent frame is not received within a preset time length after the indication information is received, and the silent frame is inserted into a sending queue of the voice data packet;
the step of inserting a silence frame into the transmission queue of the voice data packet within a preset time length after receiving the indication information, includes:
the silent frame is not received within a preset time length after the indication information is received, and a silent frame is inserted into a voice data packet queue to be sent at a target moment; wherein, the time length between the target time and the last time of receiving the voice data packet is equal to the time length of the sending period of the silence frame;
the silent frame and the voice frame are not received within a preset time length after the indication information is received, and a silent frame is inserted into a sending queue of the voice data packet;
a silence frame is not received within a preset time length after the indication information is received, but a voice frame is received within the preset time length, and the preset time length is greater than a voice frame sending period, and the silence frame is inserted into a sending queue of a voice data packet;
if the silence frame is not received within a preset time length after the indication information is received, but a voice frame is received within the preset time length and the preset time length is less than a voice frame sending period, no processing is performed;
if the silent frame is received within the preset time length after the indication information is received, the silent frame is not processed;
the step of receiving the indication information when the transmission or reception of the voice data packet is interrupted due to the non-voice quality in the voice communication process comprises:
and receiving the indication information when the voice data packet is transmitted or received to be interrupted due to the conversion of the voice input and output mode in the 4G voice communication process.
2. The processing method according to claim 1, wherein the step of receiving the indication information when the voice data packet transmission or reception is interrupted due to the conversion of the voice input/output mode during the 4G voice call comprises:
and receiving the indication information when the hands-free switching causes the interruption of the transmission or the reception of the voice data packet in the 4G voice communication process.
3. The processing method according to claim 1, wherein after the step of inserting a silence frame into the transmission queue of the voice data packet after the step of not receiving the silence frame within a preset time length after receiving the indication information, the method further comprises:
and sequentially sending the voice data packets contained in the sending queue to the base station according to the sending queue of the voice data packets.
4. A mobile terminal, comprising:
the receiving module is used for receiving the indication information when the transmission or the reception of the voice data packet is interrupted due to the non-voice quality in the voice communication process; wherein the voice data packet comprises a voice frame and a silence frame;
the inserting module is used for inserting a silent frame into a sending queue of a voice data packet within a preset time length after the indication information is received;
the insertion module includes:
the first inserting submodule is used for inserting a silence frame into a voice data packet queue to be sent at a target moment when the silence frame is not received within a preset time length after the indication information is received; wherein, the time length between the target time and the last time of receiving the voice data packet is equal to the time length of the sending period of the silence frame;
the second inserting submodule is used for inserting a silence frame into a sending queue of a voice data packet within a preset time length after the indication information is received, wherein the silence frame and the voice frame are not received;
a third inserting sub-module, configured to insert a silence frame into a transmission queue of a voice data packet if a silence frame is not received within a preset time length after the indication information is received, but a voice frame is received within the preset time length, where the preset time length is greater than a voice frame transmission period;
wherein, the silence frame is not received within a preset time length after the indication information is received, but a voice frame is received within the preset time length and the preset time length is less than a voice frame sending period, and the inserting module does not process the voice frame; if a silence frame is received within a preset time length after the indication information is received, the insertion module does not process the silence frame;
the receiving module includes:
and the receiving submodule is used for receiving the indication information when the voice data packet is sent or received to be interrupted due to the fact that the voice input and output mode is converted in the 4G voice communication process.
5. The mobile terminal of claim 4, wherein the receiving submodule comprises:
and the receiving unit is used for receiving the indication information when the hands-free switching causes the interruption of the transmission or the reception of the voice data packet in the 4G voice communication process.
6. The mobile terminal of claim 4, wherein the mobile terminal further comprises:
and the sending module is used for sequentially sending the voice data packets contained in the sending queue to the base station according to the sending queue of the voice data packets.
7. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method for processing voice calls according to any one of claims 1 to 3.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of processing a voice call according to any one of claims 1 to 3.
CN201711047922.8A 2017-10-31 2017-10-31 Voice call processing method and mobile terminal Active CN107682360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711047922.8A CN107682360B (en) 2017-10-31 2017-10-31 Voice call processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711047922.8A CN107682360B (en) 2017-10-31 2017-10-31 Voice call processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107682360A CN107682360A (en) 2018-02-09
CN107682360B true CN107682360B (en) 2020-09-08

Family

ID=61143864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711047922.8A Active CN107682360B (en) 2017-10-31 2017-10-31 Voice call processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107682360B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200137623A1 (en) * 2017-05-11 2020-04-30 Intel IP Corporation Bandwidth utilization during silence frames
CN108259510A (en) * 2018-02-27 2018-07-06 惠州Tcl移动通信有限公司 A kind of media data real-time Transmission control method, system and storage medium
CN111697982B (en) * 2019-03-15 2022-03-22 安克创新科技股份有限公司 Adaptive noise processing method, device, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9726879D0 (en) * 1997-12-20 1998-02-18 Motorola Ltd Method and apparatus for discontinuous transmission
CN101394225A (en) * 2007-09-17 2009-03-25 华为技术有限公司 Method and device for speech transmission
CN101394224A (en) * 2007-09-17 2009-03-25 华为技术有限公司 Service frame sending method and device
CN105101109A (en) * 2014-05-15 2015-11-25 哈尔滨海能达科技有限公司 Realization method, terminal, and system for discontinuous transmission of police digital trunking system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9726879D0 (en) * 1997-12-20 1998-02-18 Motorola Ltd Method and apparatus for discontinuous transmission
CN101394225A (en) * 2007-09-17 2009-03-25 华为技术有限公司 Method and device for speech transmission
CN101394224A (en) * 2007-09-17 2009-03-25 华为技术有限公司 Service frame sending method and device
CN105101109A (en) * 2014-05-15 2015-11-25 哈尔滨海能达科技有限公司 Realization method, terminal, and system for discontinuous transmission of police digital trunking system

Also Published As

Publication number Publication date
CN107682360A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN110175062B (en) Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium
CN107889151B (en) Measurement report reporting method, mobile terminal and computer readable storage medium
CN110299936B (en) Transmitting antenna switching method, terminal equipment and computer readable storage medium
CN109088997B (en) Game audio control method, terminal and computer readable storage medium
CN112423076B (en) Audio screen-throwing synchronous control method, equipment and computer readable storage medium
CN109743737B (en) Method, terminal and base station for reducing coexistence interference of multiple networks
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN108282759B (en) Service processing method and mobile communication terminal
CN107682360B (en) Voice call processing method and mobile terminal
CN108881778B (en) Video output method based on wearable device and wearable device
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
JP2023520305A (en) Gateway access method and electronic equipment
CN110290277B (en) Antenna control method and terminal
CN109151741B (en) Multimedia message receiving method and terminal
CN111615198B (en) Resource determining method, resource indicating method, terminal and network side equipment
CN109117069B (en) Interface operation method, terminal and computer readable storage medium
CN108235084B (en) Video playing method and mobile terminal
CN108307075B (en) Incoming call processing method and mobile terminal
CN107517487B (en) Call control method and mobile terminal
CN111836311B (en) Capability negotiation method, terminal and network equipment
CN110167202B (en) Session processing method, device, terminal and medium
CN108881775B (en) Video communication method and mobile terminal
CN109561221B (en) Call control method, device and computer readable storage medium
CN109831577B (en) Network connection method, terminal, and computer-readable storage medium
CN111132355B (en) Semi-persistent scheduling transmission method, terminal and network equipment

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