CN107295591B - Call method, device, computer storage medium and mobile terminal - Google Patents

Call method, device, computer storage medium and mobile terminal Download PDF

Info

Publication number
CN107295591B
CN107295591B CN201710512241.8A CN201710512241A CN107295591B CN 107295591 B CN107295591 B CN 107295591B CN 201710512241 A CN201710512241 A CN 201710512241A CN 107295591 B CN107295591 B CN 107295591B
Authority
CN
China
Prior art keywords
mobile terminal
call
electric quantity
threshold value
voice service
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
CN201710512241.8A
Other languages
Chinese (zh)
Other versions
CN107295591A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710512241.8A priority Critical patent/CN107295591B/en
Publication of CN107295591A publication Critical patent/CN107295591A/en
Application granted granted Critical
Publication of CN107295591B publication Critical patent/CN107295591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Landscapes

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

Abstract

The invention relates to a call method, a call device, a computer-storable medium and a mobile terminal. The method comprises the following steps: if the fact that the mobile terminal initiates a voice over long term evolution (VoLTE) call request or receives the VoLTE call request is detected, acquiring a charge value and a flow allowance of the mobile terminal; detecting whether the electric quantity value is higher than a first threshold value and whether the flow allowance is higher than a second threshold value; if the electric quantity value is higher than a first threshold value and the flow surplus is higher than a second threshold value, carrying out conversation through VoLTE voice service; if not, the call is carried out through the 2G/3G circuit domain voice service. By the method, the problem of shutdown of the mobile terminal caused by high power consumption of the VoLTE call when the VoLTE call is initiated when the electric quantity value of the mobile terminal is low or the flow allowance is small can be solved, and the call can be realized for a longer time when the electric quantity of the mobile terminal is low.

Description

Call method, device, computer storage medium and mobile terminal
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a communication method, an apparatus, a computer-readable storage medium, and a mobile terminal.
Background
The VoLTE is voice service based on the IMS, and compared with the traditional voice service, the VoLTE voice service is borne in a 4G network, does not need to occupy a 2G/3G network, and can realize the unification of data and voice service in the same network. The VoLTE voice service depending on the 4G network can realize the effects of shorter connection waiting time, higher audio and video call quality and more natural audio and video call, and the voice disconnection rate is almost 0. VoLTE voice service is receiving wide public attention as an emerging voice service.
Disclosure of Invention
The embodiment of the invention provides a communication method, a communication device, a computer storage medium and a mobile terminal, which can switch a VoLTE voice service into a 2G/3G circuit domain voice service.
A method of telephony, comprising:
if the fact that the mobile terminal initiates a voice over long term evolution (VoLTE) call request or receives the VoLTE call request is detected, acquiring a charge value and a flow allowance of the mobile terminal;
detecting whether the electric quantity value is higher than a first threshold value and whether the flow allowance is higher than a second threshold value;
if the electric quantity value is higher than a first threshold value and the flow surplus is higher than a second threshold value, carrying out conversation through VoLTE voice service;
if not, the call is carried out through the 2G/3G circuit domain voice service.
A telephony device, comprising:
the acquisition module is used for acquiring the electric quantity value and the flow allowance of the mobile terminal if detecting that the mobile terminal initiates a voice over long term evolution (VoLTE) call request or receives the VoLTE call request;
the detection module is used for detecting whether the electric quantity value is higher than a first threshold value and whether the flow allowance is higher than a second threshold value;
the switching module is used for carrying out conversation through the VoLTE voice service if the electric quantity value is higher than a first threshold value and the flow surplus is higher than a second threshold value; if not, the call is carried out through the 2G/3G circuit domain voice service.
A computer-readable storage medium on which a computer program is stored, which program, when executed by a processor, implements the above calling method.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the above telephony method when executing the program.
Drawings
FIG. 1 is a flow diagram of a method of calling in one embodiment;
FIG. 2 is a flow chart of a call method in another embodiment;
FIG. 3 is a flow chart of a call method in another embodiment;
FIG. 4 is a flow chart of a call method in another embodiment;
FIG. 5 is a flow chart of a call method in another embodiment;
FIG. 6 is a block diagram of the structure of a calling device in one embodiment;
fig. 7 is a block diagram of a part of a structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further 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.
Fig. 1 is a flow chart of a call method in one embodiment. As shown in fig. 1, a call method includes steps S102 to S106. Wherein:
s102, if the fact that the mobile terminal initiates a voice over long term evolution (VoLTE) call request or receives the VoLTE call request is detected, the electric quantity value and the flow allowance of the mobile terminal are obtained.
Specifically, VoLTE (Voice over LTE, long term evolution Voice) is a Voice service based on IMS (IP multimedia subsystem), and the Voice service is carried on a data network of 4G or higher. When the mobile terminal supports the VoLTE voice call and the mobile terminal can be connected with the 4G data network, the mobile terminal can initiate a VoLTE call request or receive the VoLTE call request.
When the VoLTE call switch is turned on, the mobile terminal can automatically initiate a VoLTE call request after dialing. When the mobile terminal initiates a VoLTE call request or receives the VoLTE call request, the mobile terminal acquires a current electric quantity value and a current flow allowance. The current electric quantity value can be the percentage of the current electric quantity in the total electric quantity value or the numerical value of the current electric quantity; the current flow margin may be the current 4G flow margin. The mobile terminal can acquire the Battery state, such as an electric quantity value, by calling a Battery Manager; and reading monitoring data in the flow monitoring software to obtain the 4G flow allowance.
S104, whether the electric quantity value is higher than a first threshold value and whether the flow allowance is higher than a second threshold value or not is detected.
Specifically, when the mobile terminal obtains the current electric quantity value and the current flow allowance, whether the current electric quantity value is higher than a preset first threshold value and whether the current flow allowance is higher than a preset second threshold value are detected. The first threshold and the second threshold may be preset values of the system, or may be set values of a user. For example, the preset first threshold is 30% or 2000mA, the preset second threshold is 200M, and when the mobile terminal acquires the current electric quantity value and the current flow margin, if the acquired electric quantity value is the electric quantity percentage, whether the electric quantity percentage is higher than 30% is detected; if the obtained electric quantity value is the numerical value of the electric quantity, detecting whether the electric quantity value is higher than 2000 mA; whether the load detection flow rate value is higher than 200M.
And S106, if the electric quantity value is higher than the first threshold value and the flow surplus is higher than the second threshold value, carrying out conversation through the VoLTE voice service. If not, the call is carried out through the 2G/3G circuit domain voice service.
Specifically, when the mobile terminal detects that the electric quantity value is higher than a first threshold value and the flow surplus is higher than a second threshold value, the call is carried out through the VoLTE voice service; when the Mobile terminal detects that the electric quantity value is not higher than a first threshold value or the flow allowance is not higher than a second threshold value, the voice service of the VoLTE is switched to the voice service of the 2G/3G circuit domain, namely the voice service of the VoLTE is switched to the voice service of a GSM (Global System for Mobile Communication). Wherein, the VoLTE voice service is Switched to the GSM voice service by a CSFB (Circuit Switched Fallback) technology.
According to the call method in the embodiment of the invention, when a VoLTE call request is received or initiated, the call of the mobile terminal is judged through the VoLTE voice service or the call of the 2G/3G circuit domain voice service by detecting the electric quantity value and the flow allowance value of the mobile terminal, the VoLTE call can be avoided being initiated when the electric quantity value of the mobile terminal is lower or the flow allowance is less, the shutdown problem of the mobile terminal caused by higher power consumption of the VoLTE call can be avoided, and the call can be realized for a longer time when the electric quantity of the mobile terminal is lower.
In one embodiment, if the mobile terminal receives a VoLTE call request, the mobile terminal does not support a VoLTE call or the mobile terminal does not turn on a VoLTE call switch, the VoLTE voice service is switched to a GSM voice service through a CSFB technique. If the mobile terminal initiates the VoLTE call request, but the mobile terminal receiving the call request does not support the VoLTE call or the mobile terminal does not open the VoLTE call switch, the VoLTE voice service is switched to the GSM voice service through the CSFB technology.
In one embodiment, fig. 2 is a flow chart of a call method in another embodiment. As shown in fig. 2, the above-mentioned call method further includes:
and S202, detecting the electric quantity value and the flow allowance in real time or according to a preset time interval in the call process through the VoLTE voice service.
And S204, if the electric quantity value is not higher than the first threshold value or the flow allowance is not higher than the second threshold value, carrying out communication through the voice service of the 2G/3G circuit domain.
Specifically, the current electric quantity value and the current flow allowance of the mobile terminal can be detected in real time in the process that the mobile terminal carries out communication through the VoLTE voice service; or detecting the current electric quantity value and the current flow allowance according to the preset time interval. The preset time interval can be a system preset value or a user set value. If the current electric quantity value is not higher than the first threshold value or the flow allowance is not higher than the second threshold value, the call is carried out through the voice service of the 2G/3G circuit domain, namely the VoLTE voice service is switched to the GSM voice service through the CSFB technology.
According to the call method in the embodiment of the invention, the electric quantity value and the flow allowance of the mobile terminal are detected in the VoLTE call process, and the voice service is switched according to the electric quantity value and the flow allowance. Namely, when the electric quantity value of the mobile terminal is lower than the specified value or the flow allowance is lower than the specified value, the call is switched to the GSM voice service, so that the power consumption of the terminal is saved, and the extra flow charge caused by the call is avoided.
In one embodiment, the above call method further includes: in the process of carrying out the call through the VoLTE voice service, if the fact that the electric quantity consumption in unit time is higher than a third threshold value and the duration time reaches the preset time length is detected, the call is carried out through the 2G/3G circuit domain voice service.
Specifically, in the process that the mobile terminal carries out the call through the voice over VoLTE service, the electricity consumption is detected, the electricity consumption in unit time is calculated, if the electricity consumption in unit time is detected to be higher than a preset third threshold value, and the duration reaches a preset duration, the call is carried out through the voice over 2G/3G circuit domain service, that is, the voice over VoLTE service is switched to the GSM voice service through the CSFB technique. For example, when the mobile terminal makes a call through the VoLTE voice service, and detects that the electricity consumption reaches 10mA/s in unit time and the duration reaches 30s, it is determined that the electricity consumption of the mobile terminal is abnormal, and the VoLTE voice service is switched to the GSM voice service.
According to the call method in the embodiment of the invention, when the situation that the power consumption of the mobile terminal in unit time is higher in the VoLTE call process is detected, the voice service is switched. Namely, when the mobile terminal is in a scene with abnormal power consumption, if the LTE signal in the current area is poor and the power consumption of the LTE signal searched by the mobile terminal is large, the voice service is switched, so that the power consumption abnormality caused by VoLTE call is avoided.
Fig. 3 is a flowchart of a call method in another embodiment. As shown in fig. 3, the above-mentioned call method includes:
s302, if the mobile terminal is detected to initiate a VoLTE call request or receive the VoLTE call request, the electric quantity value and the flow allowance of the mobile terminal are obtained.
S304, whether the electric quantity value is higher than a first threshold value and whether the flow allowance is higher than a second threshold value or not is detected.
S306, detecting whether the score of the data network signal of the mobile terminal is higher than a fourth threshold value.
And S308, if the electric quantity value is higher than the first threshold value, the flow surplus is higher than the second threshold value, and the value of the data network signal is higher than the fourth threshold value, the call is carried out through the VoLTE voice service.
Specifically, after the mobile terminal initiates a VoLTE call request or receives the VoLTE call request, it is detected whether the value of the power is higher than a first threshold and the flow margin is higher than a second threshold, and it is also detected whether the value of the data network signal of the mobile terminal is higher than a preset fourth threshold. Wherein, the mobile terminal can detect the signal quality of the data network. For example, a network message is sent to a server through a data network, and the time of sending the message is recorded; receiving a network message returned by the server, recording the moment of receiving the message, calculating the time difference between the moment of receiving the message and the moment of sending the message to obtain the network delay, and grading the obtained network delay according to a pre-configured data network signal grading mechanism to obtain the value of the data network signal. And when the signal score of the data network is lower than a preset fourth threshold value, judging that the current data network signal is poor, and switching the VoLTE voice service into the GSM voice service. And carrying out conversation through the VoLTE voice service only when the electric quantity value is higher than the first threshold value, the flow surplus is higher than the second threshold value and the data network signal score is higher than the fourth threshold value.
According to the call method in the embodiment of the invention, the data network signal score of the mobile terminal is detected, and when the data network signal score of the mobile terminal is lower, namely the current data network signal of the mobile terminal is poorer, the VoLTE voice service is switched to the GSM voice service, so that the condition that the VoLTE service fails due to the poorer data network signal is avoided.
Fig. 4 is a flowchart of a call method in another embodiment. As shown in fig. 4, the above-mentioned call method includes:
s402, if the mobile terminal is detected to initiate a voice over Long term evolution (VoLTE) call request or receive the VoLTE call request, acquiring the electric quantity value and the flow allowance of the mobile terminal.
S404, whether the electric quantity value is higher than a first threshold value and whether the flow allowance is higher than a second threshold value or not is detected.
S406, whether the mobile terminal is in a charging state is detected.
And S408, if the flow surplus is higher than the second threshold and the mobile terminal is in a charging state, carrying out conversation through the VoLTE voice service.
Specifically, after the mobile terminal initiates a VoLTE call request or receives the VoLTE call request, it is detected whether the mobile terminal is in a charging state, except that whether the electric quantity value is higher than a first threshold and whether the flow margin is higher than a second threshold. The mobile terminal can obtain the Battery state, such as whether the Battery is charged, by calling Battery Manager. And when the mobile terminal is detected to be in a charging state and the flow surplus is higher than a second threshold value, carrying out conversation through the VoLTE voice service. Namely, when the mobile terminal is in a charging state and the flow surplus is higher than the second threshold, the call is carried out through the VoLTE voice service no matter whether the current electric quantity value of the mobile terminal is higher than the first threshold or not.
The communication method in the embodiment of the invention detects whether the mobile terminal is in the charging state, when the mobile terminal is in the charging state, the VoLTE communication can be carried out only if the flow residual is higher than the second threshold, the VoLTE voice service is preferentially selected for communication, and the communication quality is improved.
Fig. 5 is a schematic diagram of a call method in another embodiment. As shown in fig. 5, a call method includes steps S502 to S512. Wherein:
and S502, starting a VoLTE call switch. And if the mobile terminal supports the VoLTE voice service, starting a VoLTE call switch in the mobile terminal.
S504, the mobile terminal initiates a VoLTE call request or receives the VoLTE call request. When the mobile terminal initiates a VoLTE call request or receives the VoLTE call request, the current electric quantity value and the current flow allowance of the mobile terminal are obtained.
S506, whether the electric quantity value is higher than a first threshold value is detected. It is detected whether the current charge value is higher than a first threshold value, which may be a user set value. If yes, go to step S508; if not, the process proceeds to step S512.
And S508, detecting whether the flow allowance is higher than a second threshold value. It is detected whether the current flow margin is higher than a second threshold, which may be a user set value. If yes, go to step S510; if not, the process proceeds to step S512.
And S510, carrying out conversation through the VoLTE voice service.
S512, the call is carried out through the voice service of the 2G/3G circuit domain.
FIG. 6 is a block diagram of a communication device according to an embodiment. As shown in fig. 6, a communication device includes an obtaining module 602, a detecting module 604, and a switching module 606. Wherein:
the obtaining module 602 is configured to obtain a charge value and a flow margin of the mobile terminal if it is detected that the mobile terminal initiates a long term evolution voice over lte call request or receives a VoLTE call request.
The detecting module 604 is configured to detect whether the electric quantity value is higher than a first threshold and whether the flow margin is higher than a second threshold.
A switching module 606, configured to perform a call through a VoLTE voice service if the electric quantity value is higher than the first threshold and the flow margin is higher than the second threshold; if not, the call is carried out through the 2G/3G circuit domain voice service.
In one embodiment, the detecting module 604 is further configured to detect the electric quantity value and the flow margin in real time or at preset time intervals during a call through the VoLTE voice service; the switching module 606 is further configured to perform a call through the 2G/3G circuit domain voice service if the electric quantity value is not higher than the first threshold or the flow margin is not higher than the second threshold.
In an embodiment, the switching module 606 is further configured to perform a call through the 2G/3G circuit domain voice service when it is detected that the power consumption is higher than the third threshold in a unit time and the duration reaches the preset duration during the call through the VoLTE voice service.
In one embodiment, the detecting module 604 is further configured to detect whether the data network signal score of the mobile terminal is higher than a fourth threshold after detecting whether the electric quantity value is higher than the first threshold and the traffic margin is higher than the second threshold; the switching module 606 is further configured to perform a call through the VoLTE voice service if the electric quantity value is higher than the first threshold, the flow margin is higher than the second threshold, and the data network signal score is higher than the fourth threshold.
In one embodiment, the detecting module 604 is further configured to detect whether the mobile terminal is in a charging state after detecting whether the electric quantity value is higher than a first threshold and whether the flow margin is higher than a second threshold; the switching module 606 is further configured to perform a call through the VoLTE voice service if the traffic margin is higher than the second threshold and the mobile terminal is in the charging state.
In one embodiment, if the mobile terminal receives a VoLTE call request, the mobile terminal does not support a VoLTE call or the mobile terminal does not turn on a VoLTE call switch, the VoLTE voice service is switched to a GSM voice service through a CSFB technique. If the mobile terminal initiates the VoLTE call request, but the mobile terminal receiving the call request does not support the VoLTE call or the mobile terminal does not open the VoLTE call switch, the VoLTE voice service is switched to the GSM voice service through the CSFB technology.
The division of each module in the communication device is only used for illustration, and in other embodiments, the communication device may be divided into different modules as needed to complete all or part of the functions of the communication device.
The embodiment of the invention also provides a computer readable storage medium. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements a telephony method as described above.
The embodiment of the invention also provides the mobile terminal. As shown in fig. 7, for convenience of illustration, only the portion related to the embodiment of the present invention is shown, and details of the technique are not disclosed, please refer to the method portion of the embodiment of the present invention. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking the mobile terminal as the mobile phone as an example:
fig. 7 is a block diagram of a part of a structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 7, the handset includes: radio Frequency (RF) circuit 710, memory 720, input unit 730, display unit 740, sensor 750, audio circuit 760, wireless fidelity (WiFi) module 770, processor 780, and power supply 790. Those skilled in the art will appreciate that the handset configuration shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 710 may be used for receiving and transmitting signals during information transmission or communication, and may receive downlink information of a base station and then process the downlink information to the processor 780; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 710 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 720 may be used to store software programs and modules, and the processor 780 may execute various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 720 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 input unit 730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 700. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, which may also be referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on or near the touch panel 731 by using a finger, a stylus, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 731 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 it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch panel 731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 730 may include other input devices 732 in addition to the touch panel 731. In particular, other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 740 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741. In one embodiment, the Display panel 741 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 731 can cover the display panel 741, and when the touch panel 731 detects a touch operation on or near the touch panel 731, the touch operation is transmitted to the processor 780 to determine the type of the touch event, and then the processor 780 provides a corresponding visual output on the display panel 741 according to the type of the touch event. Although the touch panel 731 and the display panel 741 are two independent components in fig. 7 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 731 and the display panel 741 may be integrated to implement the input and output functions of the mobile phone.
The cell phone 700 may also include at least one sensor 750, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 741 and/or a backlight when the mobile phone is moved to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuitry 760, speaker 761, and microphone 762 may provide an audio interface between a user and a cell phone. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 and output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, and then outputs the audio data to the processor 780 for processing, and then the processed audio data may be transmitted to another mobile phone through the RF circuit 710, or outputs the audio data to the memory 720 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 770, and provides wireless broadband Internet access for the user. Although fig. 7 shows WiFi module 770, it is understood that it does not belong to the essential components of handset 700 and may be omitted as desired.
The processor 780 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the mobile phone. In one embodiment, processor 780 may include one or more processing units. In one embodiment, processor 780 may integrate an application processor and a modem processor, where the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem processor handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
The handset 700 also includes a power supply 790 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 780 via a power management system that may be used to manage charging, discharging, and power consumption.
In one embodiment, the cell phone 700 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present invention, the processor 780 included in the mobile terminal implements the above-described call method when executing the computer program stored in the memory.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for calling, comprising:
if the fact that the mobile terminal initiates a voice over long term evolution (VoLTE) call request or receives the VoLTE call request is detected, acquiring an electric quantity value of the mobile terminal by calling a Battery Manager and acquiring flow allowance by reading flow monitoring data;
detecting whether the electric quantity value is higher than a first threshold value and whether the flow allowance is higher than a second threshold value;
if the electric quantity value is higher than a first threshold value and the flow surplus is higher than a second threshold value, carrying out conversation through VoLTE voice service;
if not, the call is carried out through the 2G/3G circuit domain voice service;
the method further comprises the following steps:
and in the process of carrying out communication through the VoLTE voice service, if the fact that the electric quantity consumption in unit time is higher than a third threshold value and the duration time reaches a preset time length is detected, carrying out communication through the 2G/3G circuit domain voice service.
2. A method for a call as claimed in claim 1, wherein the method further comprises:
detecting the electric quantity value and the flow allowance in real time or according to a preset time interval in the call process through the VoLTE voice service;
and if the electric quantity value is not higher than a first threshold value or the flow allowance is not higher than a second threshold value, carrying out communication through the 2G/3G circuit domain voice service.
3. The call method as claimed in claim 1, wherein after detecting whether the charge value is above a first threshold and the flow margin is above a second threshold, the method further comprises:
detecting whether the data network signal score of the mobile terminal is higher than a fourth threshold value;
and if the electric quantity value is higher than a first threshold value, the flow surplus is higher than a second threshold value, and the value of the data network signal is higher than a fourth threshold value, the call is carried out through the VoLTE voice service.
4. The call method as claimed in claim 1, wherein after detecting whether the charge value is above a first threshold and the flow margin is above a second threshold, the method further comprises:
detecting whether the mobile terminal is in a charging state;
and if the flow surplus is higher than a second threshold value and the mobile terminal is in a charging state, carrying out communication through the VoLTE voice service.
5. A communication device, comprising:
the acquisition module is used for acquiring the electric quantity value of the mobile terminal by calling a Battery Manager and acquiring the flow allowance by reading flow monitoring data if the mobile terminal is detected to initiate a voice over Long term evolution (VoLTE) call request or the VoLTE call request is received;
the detection module is used for detecting whether the electric quantity value is higher than a first threshold value and whether the flow allowance is higher than a second threshold value;
the switching module is used for carrying out conversation through the VoLTE voice service if the electric quantity value is higher than a first threshold value and the flow surplus is higher than a second threshold value; if not, the call is carried out through the 2G/3G circuit domain voice service;
the switching module is further used for carrying out communication through the voice service of the 2G/3G circuit domain if the fact that the electric quantity consumption in unit time is higher than a third threshold value and the duration time reaches a preset time length is detected in the process of carrying out communication through the VoLTE voice service.
6. The communication device of claim 5, wherein:
the detection module is further configured to detect the electric quantity value and the flow allowance in real time or at preset time intervals during a call through the VoLTE voice service;
and the switching module is used for carrying out communication through the 2G/3G circuit domain voice service if the electric quantity value is not higher than a first threshold value or the flow allowance is not higher than a second threshold value.
7. The communication device of claim 5, wherein:
the detection module is further used for detecting whether the data network signal score of the mobile terminal is higher than a fourth threshold after detecting whether the electric quantity value is higher than a first threshold and the flow allowance is higher than a second threshold;
the switching module is further configured to perform a call through the VoLTE voice service if the electric quantity value is higher than a first threshold, the flow margin is higher than a second threshold, and the data network signal score is higher than a fourth threshold.
8. The communication device of claim 5, wherein:
the detection module is further used for detecting whether the mobile terminal is in a charging state or not after detecting whether the electric quantity value is higher than a first threshold value and whether the flow allowance is higher than a second threshold value or not;
the switching module is further configured to perform a call through the VoLTE voice service if the traffic margin is higher than a second threshold and the mobile terminal is in a charging state.
9. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the conversation method according to any one of claims 1 to 4.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the telephony method of any one of claims 1 to 4 when executing the program.
CN201710512241.8A 2017-06-28 2017-06-28 Call method, device, computer storage medium and mobile terminal Active CN107295591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710512241.8A CN107295591B (en) 2017-06-28 2017-06-28 Call method, device, computer storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710512241.8A CN107295591B (en) 2017-06-28 2017-06-28 Call method, device, computer storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107295591A CN107295591A (en) 2017-10-24
CN107295591B true CN107295591B (en) 2020-01-10

Family

ID=60098226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710512241.8A Active CN107295591B (en) 2017-06-28 2017-06-28 Call method, device, computer storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107295591B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966298B (en) * 2018-06-21 2021-06-08 维沃移动通信有限公司 Communication frequency band control method and device
CN111083748B (en) * 2018-10-19 2022-08-12 中兴通讯股份有限公司 Network switching method, terminal and computer readable storage medium
CN109257765B (en) * 2018-11-19 2021-12-21 广东小天才科技有限公司 Voice call adjusting method and mobile terminal
CN109327866B (en) * 2018-12-19 2022-01-04 惠州Tcl移动通信有限公司 Flow control method, flow control device, mobile terminal and storage medium
CN111263017B (en) * 2020-01-09 2021-03-26 RealMe重庆移动通信有限公司 Call mode control method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800318A (en) * 2012-06-27 2012-11-28 优视科技有限公司 Device and method for transmitting and receiving audio data streams
CN105323362A (en) * 2014-06-27 2016-02-10 中兴通讯股份有限公司 Terminal working mode adjustment method and device
CN105550105A (en) * 2015-12-08 2016-05-04 成都中科创达软件有限公司 Selecting method and system of application programs with same function in mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9531552B2 (en) * 2014-10-21 2016-12-27 Arris Enterprises, Inc. Dynamic power reduction management of network devices
US20170026948A1 (en) * 2015-07-20 2017-01-26 Qualcomm Incorporated Inter-radio access technology measurement scheduling during connected mode discontinuous reception duration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800318A (en) * 2012-06-27 2012-11-28 优视科技有限公司 Device and method for transmitting and receiving audio data streams
CN105323362A (en) * 2014-06-27 2016-02-10 中兴通讯股份有限公司 Terminal working mode adjustment method and device
CN105550105A (en) * 2015-12-08 2016-05-04 成都中科创达软件有限公司 Selecting method and system of application programs with same function in mobile terminal

Also Published As

Publication number Publication date
CN107295591A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
US10831161B2 (en) Method and device for sending communication message
CN107295591B (en) Call method, device, computer storage medium and mobile terminal
US10269163B2 (en) Method and apparatus for switching real-time image in instant messaging
CN110213318B (en) Data transmission control method, equipment and storage medium
CN108988909B (en) Audio processing method and device, electronic equipment and computer readable storage medium
CN107465841B (en) Fault information reporting method and terminal
CN107182113B (en) Networking control method and device of multi-mode mobile terminal and mobile terminal
CN108834132B (en) Data transmission method and equipment and related medium product
CN108900231B (en) Dynamic antenna adjustment method and related product
CN108733337B (en) Screen display method and device, electronic equipment and computer readable storage medium
CN105227598B (en) Resource sharing method, device and system based on cloud storage
CN108377486B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN107872791B (en) Access point connection method and device
CN106484563B (en) Data migration method and terminal equipment
WO2018049901A1 (en) Data migration method and related devices
CN112997471B (en) Audio channel switching method and device, readable storage medium and electronic equipment
CN108566476B (en) Information processing method, terminal and computer readable storage medium
CN107894958B (en) Junk information cleaning method, terminal, server and computer readable storage medium
CN110891262A (en) Bluetooth pairing method, system and terminal equipment
CN106535229B (en) WiFi signal receiving sensitivity testing method and mobile terminal
CN106815077B (en) Data processing method based on intelligent device architecture and intelligent device
CN106878294B (en) Method and device for recording voice information by interphone
CN106686704B (en) Terminal monitoring method and mobile terminal
CN105635379B (en) Noise suppression method and device

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant