CN111417161B - Communication method and electronic equipment - Google Patents
Communication method and electronic equipment Download PDFInfo
- Publication number
- CN111417161B CN111417161B CN202010183377.0A CN202010183377A CN111417161B CN 111417161 B CN111417161 B CN 111417161B CN 202010183377 A CN202010183377 A CN 202010183377A CN 111417161 B CN111417161 B CN 111417161B
- Authority
- CN
- China
- Prior art keywords
- mode
- call
- communication
- state
- condition
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a communication method and electronic equipment. The communication method comprises the following steps: under the condition that the electronic equipment is in a preset call state of a first call mode, if prompt information for indicating that a call network is abnormal is received, the first call mode is switched to a second call mode. The technical scheme provided by the embodiment of the invention can keep the conversation continuity and improve the conversation experience of the user.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a communication method and electronic equipment.
Background
Currently, when communication is performed through a call service provided by an operator, a call mode that does not affect a user to surf the internet using a cellular mobile network includes: a Voice over WiFi (Voice over WiFi) mode and a Voice over LTE (Voice over LTE) mode.
The VoWiFi uses a Wireless-Fidelity (WiFi) network as an access network, accesses to an IP Multimedia Subsystem (IMS) network, and provides voice, video and other call services through the IMS network. The VoLTE is similar to the VoWiFi, and the VoLTE uses a Long-Term Evolution (LTE) network as an access network, accesses to the IMS network, and provides voice, video and other communication services through the IMS network. The VoWiFi and the VoLTE are mutually supplemented, brand-new call experience is brought to a user, and the working efficiency of a call network is greatly improved.
However, when a user makes a call in the VoLTE mode or the VoWiFi mode, the user often encounters a situation that a call network is abnormal, which causes a call to be not dialed or the call is abnormally hung up, and the call experience of the user is affected.
Disclosure of Invention
The embodiment of the invention provides a communication method and electronic equipment, and aims to solve the problem that in the prior art, when a network abnormality occurs during communication in a VoLTE mode or a VoWiFi mode, the conversation experience of a user is influenced.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a communication method, which is applied to an electronic device, where the communication method includes:
under the condition that the electronic equipment is in a preset call state in a first call mode, if prompt information for indicating that a call network is abnormal is received, switching the first call mode into a second call mode;
wherein the preset call state comprises: any one of a call state, an incoming call state, and a connection state; under the condition that the first call mode is a VoLTE mode, the second call mode is a VoWiFi mode; and under the condition that the first call mode is a VoWiFi mode, the second call mode is a VoLTE mode.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the switching module is used for switching the first call mode into a second call mode if prompt information for indicating that a call network is abnormal is received under the condition that the electronic equipment is in a preset call state in the first call mode;
wherein the preset call state comprises: any one of a call state, an incoming call state, and a connection state; under the condition that the first call mode is a VoLTE mode, the second call mode is a VoWiFi mode; and under the condition that the first call mode is a VoWiFi mode, the second call mode is a VoLTE mode.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the communication method as described above when executing the computer program.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the communication method as described above.
In the embodiment of the invention, when communication is carried out in a certain call mode, if prompt information for indicating the abnormality of a call network is received, the call mode is switched. The embodiment of the invention switches the call mode when the call network is abnormal, so as to improve the probability of call continuity and further improve the call experience of a user.
Drawings
Fig. 1 is a flow chart diagram of a communication method provided by an embodiment of the invention;
FIG. 2 is a block diagram of one embodiment of an electronic device;
fig. 3 is a second block diagram of an electronic device according to an embodiment of the 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.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
According to an aspect of the embodiments of the present invention, a communication method is provided, which is applied to an electronic device (i.e., User Equipment (UE)) supporting a call service provided by an operator. The electronic device may include, but is not limited to: the mobile phone, the tablet computer, the notebook computer, the palm computer, the vehicle-mounted terminal, the wearable device and the like. In addition, the call service described in the embodiment of the present invention may include, but is not limited to: voice call services, video call services, and the like, and on the other hand may include but is not limited to: the call service of the circuit domain, the call service of the VoLTE and the call service of the VoWiFi.
As shown in fig. 1, the communication method may include:
step 101: under the condition that the electronic equipment is in a preset call state in a first call mode, if prompt information for indicating that a call network is abnormal is received, the first call mode is switched to a second call mode.
The first talk mode described herein may be a VoLTE mode or a VoWiFi mode. The second communication mode described herein may be a VoLTE mode or a VoWiFi mode. Under the condition that the first call mode is a VoLTE mode, the second call mode is a VoWiFi mode; and under the condition that the first call mode is a VoWiFi mode, the second call mode is a VoLTE mode.
Based on the types of the first and second call modes, the call network described herein includes, but is not limited to: a WiFi network, an LTE network, and an IMS network, etc.
The preset call state described herein includes: any one of a call state, an incoming call state, and a connected state. The calling state is for the calling terminal, and is the state in which the calling terminal initiates the call. The incoming call state is for the called terminal, and is the state of the called terminal when the called terminal is called. The connection state is for the calling terminal and the called terminal, and refers to a state in which the calling terminal and the called terminal have successfully established a call connection.
In the embodiment of the invention, when communication is carried out in a certain call mode, if prompt information for indicating the abnormality of a call network is received, the call mode is switched. In the embodiment of the invention, when the call network is abnormal, the call mode is switched and communication is attempted to be continued through another call mode, so that the probability of call continuity is improved, the communication quality is improved and the call experience of a user is further improved.
Optionally, the first call mode may also include a Circuit Switched (CS) call mode, and the second call mode may also include a CS call mode. For example, in the case that the first call mode is a circuit domain call mode, the second call mode is a VoLTE mode or a VoWiFi mode (specifically, which call mode can be set according to actual requirements). For another example, when the first call mode is the VoLTE mode or the VoWiFi mode, the second call mode may also be a circuit domain call mode.
Optionally, within a preset time after the first communication mode is switched to the second communication mode in step 101, if the prompt message for indicating that the communication network is abnormal is not received, which indicates that the second communication mode is available, the electronic device may continue to communicate through the second communication mode.
The preset time may be set according to a time required for the server to detect that the electronic device is switched to the second communication mode, detect that the communication network corresponding to the second communication mode is abnormal, and feed back the prompt information to the electronic device.
Optionally, the communicating in the second call mode may include:
under the condition that the preset call state is the call state, the electronic equipment performs silent redialing through a second call mode;
under the condition that the preset call state is the incoming call state, the electronic equipment receives incoming call information through a second call mode;
and under the condition that the preset call state is the connection state, the electronic equipment receives the call information sent by the opposite terminal through the second call mode and sends the call information of the local terminal to the opposite terminal through the second call mode.
The call information described herein may include: at least one of voice call information and video call information.
In order to better understand how to continue communication in different call states through the second call mode, the following explains the call between the calling terminal and the called terminal through the VoLTE mode as an example, as follows:
if the calling terminal receives prompt information for indicating that the call network is abnormal in the call state, the call mode is switched from the VoLTE mode to the VoWiFi mode, and silent redialing is performed through the VoWiFi mode, so that the called terminal is called again under the condition that a user does not sense the call mode, and the continuity of communication is ensured.
Further, assume that the calling terminal successfully calls the called terminal through the VoLTE mode and enters a connected state. And if the calling terminal receives prompt information for indicating that the call network is abnormal in the connected state, switching the call mode from the VoLTE mode to the VoWiFi mode. Because the VoLTE mode and the VoWiFi mode can be switched seamlessly, the calling terminal can continue to communicate with the called terminal through the VoWiFi mode under the condition that a user does not sense the voice, namely, the calling terminal (corresponding to the home terminal) can continue to receive the communication information sent by the called terminal (corresponding to the opposite terminal) through the VoWiFi mode and send the communication information of the home terminal to the called terminal through the VoWiFi mode, and the communication continuity is ensured. For example, for a calling terminal, the home terminal refers to itself, and the opposite terminal refers to a called terminal; for the called end, the home end refers to itself, and the opposite end refers to the calling end.
Suppose again that the calling terminal calls the called terminal through the VoLTE mode, and the called terminal receives the incoming call information through the VoWiFi mode and enters the incoming call state. If the called terminal receives the prompt message for indicating the abnormality of the call network in the incoming call state, the call mode can be switched from the VoWiFi mode to the VoLTE mode, and the incoming call information is continuously received in the VoLTE mode, so that the problem that the incoming call cannot be received due to the abnormality of the call network is avoided, and the probability of communication continuity is improved.
Optionally, within a preset time after the first communication mode is switched to the second communication mode in step 101, if a prompt message indicating that the communication network is abnormal is received, which indicates that the second communication mode may also be unavailable or unreliable, the electronic device may switch the second communication mode to the circuit domain communication mode, and perform silent redialing through the circuit domain communication mode.
The preset time may be set according to a time required for the server to detect that the electronic device is switched to the second communication mode, detect that the communication network corresponding to the second communication mode is abnormal, and feed back the prompt information to the electronic device.
In the embodiment of the invention, under the condition that the first communication mode is switched to the second communication mode and the second communication mode is the VoLTE mode, if the prompt message for indicating the abnormity of the communication network is received, the VoLTE mode can be switched to the circuit domain communication mode, and silent redialing is attempted to be carried out through the circuit domain network, so that the communication is continued under the condition that a user does not sense the voice, the communication continuity probability is improved, and the communication quality is improved.
It can be understood that, under the condition that the second communication mode is the VoWiFi mode, after the first communication mode is switched to the second communication mode, if the prompt message for indicating that the communication network is abnormal is received, the second communication mode may also be switched to the circuit domain communication mode, and the silent redialing is performed through the circuit domain communication mode, so that the probability of communication continuity is improved, and the communication quality is improved.
In order to better understand the technical solution, the explanation is continued by taking the foregoing example as an example.
Supposing that, in the incoming call state, the called terminal switches the call mode from the VoWiFi mode to the VoLTE mode and tries to receive incoming call information in the VoLTE mode, but after the call mode is switched to the VoLTE mode, the electronic device receives indication information for indicating that the call network is abnormal again, which indicates that the VoLTE mode may be unavailable or unreliable, at this time, the VoLTE mode may be switched to the circuit domain call mode and tries to perform silent redialing through the circuit domain call mode, so that the probability of communication continuity is improved, and the communication quality is improved.
It will of course be appreciated that it is also possible to: and after the VoLTE mode is switched, the called terminal connects the incoming call in the VoLTE mode and communicates with the calling terminal in the VoLTE mode. In the communication process, indication information for indicating the communication network abnormality is received, and since the prompt information is received once when the incoming call information is received in the VoWiFi mode, the VoWiFi mode may still be unavailable or unreliable, at this time, the VoLTE mode may be switched to the circuit domain communication mode, and the silent redialing through the circuit domain communication mode is attempted.
Optionally, in the embodiment of the present invention, the prompt message for indicating the abnormality of the call network may include an error code. E.g., 403, 480, 503, etc. Where 403 indicates no access, 480 indicates temporary unavailability, and 503 indicates unavailability of a service.
In order to better understand the communication method provided by the embodiment of the present invention, two examples are taken as examples and further explained below.
Example one:
1. user equipment (i.e., UE) communicates in VoLTE mode.
After the user equipment registers on the VoLTE, the user can use the user equipment to perform VoLTE dialing and perform VoLTE call.
2. And the network is abnormal and returns a corresponding error code to the user equipment.
In the process of a telephone request of the user equipment (namely in a calling state) or in the process of a call of the user equipment (namely in a connection state), if the call network is abnormal, the call network server issues a corresponding error code to the user equipment.
3. And after the user equipment receives the error code, the user equipment call module triggers the switching processing operation from the VoLTE mode to the VoWiFi mode.
After the user equipment receives the error code, for example, after receiving the error code such as 403, 480 or 503 sent by the call network server, the telephone module of the user equipment triggers the operation of switching from VoLTE to VoWiFi. If the user equipment is currently in the process of telephone request, carrying out silent redialing in a VoWiFi mode; and if the user equipment is currently in the process of calling, attempting to continue calling on the VoWiFi.
4. The user equipment switches to the VoWiFi mode.
And when the user equipment is successfully switched to the VoWiFi mode, carrying out VoWiFi conversation.
When the user equipment also receives an error code after switching to the VoWiFi mode, the user equipment can try to perform CS domain silent redialing so as to ensure that the conversation is continuously performed as much as possible.
Example two:
1. the user equipment is talking in a VoWiFi mode.
After the user equipment registers with the VoWiFi, the user can use the user equipment to perform VoWiFi dialing and VoWiFi conversation.
2. And the network is abnormal and returns a corresponding error code to the user equipment.
In the process of a telephone request of the user equipment (namely in a calling state) or in the process of a call of the user equipment (namely in a connection state), if the call network is abnormal, the call network server issues a corresponding error code to the user equipment.
3. After the user equipment receives the error code, the user equipment call module triggers the switching processing operation from the VoWiFi mode to the VoLTE mode.
After the user equipment receives the error code, for example, after receiving the error code such as 403, 480 or 503 sent by the call network server, the phone module of the user equipment triggers the switching processing operation from the VoWiFi to the VoLTE. If the user equipment is currently in the telephone request process, carrying out silent redialing in a VoLTE mode; and if the user equipment is currently in the call process, attempting to continue the call on the VoLTE.
4. The user equipment switches to VoLTE mode.
And when the user equipment is successfully switched to the VoLTE mode, carrying out VoLTE call.
When the user equipment also receives an error code after switching to the VoLTE mode, the user equipment can try to perform CS domain silent redialing, so as to ensure that the call is continuously performed as much as possible.
Finally, it should be noted that "communication" in the embodiment of the present invention refers to the whole communication process from call origination to call drop, and may include, but is not limited to: call state, incoming call state, on state, and hang up state, etc.
In summary, in the embodiments of the present invention, when communication is performed in a certain communication mode, if a prompt message indicating that a communication network is abnormal is received, the communication mode is switched. In the embodiment of the invention, when the call network is abnormal, the call mode is switched and communication is attempted to be continued through another call mode, so that the probability of call continuity is improved, the communication quality is improved and the call experience of a user is further improved.
With the above description of the communication method provided by the embodiment of the present invention, an electronic device provided by the embodiment of the present invention will be described with reference to the accompanying drawings.
According to another aspect of an embodiment of the present invention, an electronic device is provided.
The electronic device is an electronic device capable of supporting a call service provided by an operator. The electronic device may include, but is not limited to: the mobile phone, the tablet computer, the notebook computer, the palm computer, the vehicle-mounted terminal, the wearable device and the like. The electronic device can realize the details in the communication method and achieve the same effect, and the details are not repeated here to avoid repetition.
In addition, the call service according to the embodiment of the present invention may include, but is not limited to: voice call services and video call services, etc.
As shown in fig. 2, the electronic apparatus includes:
the switching module 201 is configured to, when the electronic device is in a preset call state in a first call mode, switch the first call mode to a second call mode if a prompt message indicating that a call network is abnormal is received.
Wherein the preset call state comprises: any one of a call state, an incoming call state, and a connection state; under the condition that the first call mode is a VoLTE mode, the second call mode is a VoWiFi mode; and under the condition that the first call mode is a VoWiFi mode, the second call mode is a VoLTE mode.
Optionally, the electronic device further comprises:
and the first communication module is used for carrying out communication through the second communication mode within the preset time after the first communication mode is switched to the second communication mode if the prompt message for indicating that the communication network is abnormal is not received.
Optionally, the first communication module includes:
the first communication unit is used for carrying out silent redial through the second communication mode under the condition that the preset communication state is the call state;
the second communication unit is used for receiving incoming call information through the second communication mode under the condition that the preset communication state is the incoming call state;
and the third communication unit is used for receiving the call information sent by the opposite terminal through the second communication mode and sending the call information of the local terminal to the opposite terminal through the second communication mode under the condition that the preset call state is the connection state.
Optionally, the electronic device further comprises:
and the second communication module is used for switching the second communication mode into the circuit domain communication mode and carrying out silent redialing through the circuit domain communication mode within the preset time after the first communication mode is switched into the second communication mode and under the condition that prompt information for indicating the abnormity of a communication network is received.
Optionally, the prompt message includes: an error code.
In the embodiment of the invention, when communication is carried out in a certain call mode, if prompt information for indicating the abnormality of a call network is received, the call mode is switched. In the embodiment of the invention, when the call network is abnormal, the call mode is switched and communication is attempted to be continued through another call mode, so that the probability of call continuity is improved, the communication quality is improved and the call experience of a user is further improved.
Fig. 3 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 3 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the electronic device 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 processor 310 is configured to, when the electronic device is in a preset call state in a first call mode, switch the first call mode to a second call mode if a prompt message indicating that a call network is abnormal is received.
Wherein the preset call state comprises: any one of a call state, an incoming call state, and a connection state; under the condition that the first call mode is a VoLTE mode, the second call mode is a VoWiFi mode; and under the condition that the first call mode is a VoWiFi mode, the second call mode is a VoLTE mode.
In the embodiment of the invention, when communication is carried out in a certain call mode, if prompt information for indicating the abnormality of a call network is received, the call mode is switched. In the embodiment of the invention, when the call network is abnormal, the call mode is switched and communication is attempted to be continued through another call mode, so that the probability of call continuity is improved, the communication quality is improved and the call experience of a user is further improved.
It should be noted that, in this embodiment, the electronic device 300 may implement each process in the method embodiment of the present invention and achieve the same beneficial effects, and for avoiding repetition, details are not described here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 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 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 302, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the electronic apparatus 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds 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 301 in case of the phone call mode.
The electronic device 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or the backlight when the electronic device 300 is moved to the ear. As one type of motion sensor, an 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 an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 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 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 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 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although the touch panel 3071 and the display panel 3061 are shown in fig. 3 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 308 is an interface for connecting an external device to the electronic apparatus 300. 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 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 300 or may be used to transmit data between the electronic apparatus 300 and the external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 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 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 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the electronic device. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The electronic device 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 300 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 310, a memory 309, and a computer program stored in the memory 309 and capable of running on the processor 310, where the computer program, when executed by the processor 310, implements each process of the communication method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
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 communication method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated 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.
Claims (10)
1. A communication method applied to an electronic device, the communication method comprising:
under the condition that the electronic equipment is in a preset call state in a first call mode, if prompt information for indicating that a call network is abnormal is received, switching the first call mode into a second call mode;
wherein the preset call state comprises: any one of a call state, an incoming call state, and a connection state; under the condition that the first call mode is a VoLTE mode, the second call mode is a VoWiFi mode; under the condition that the first call mode is a VoWiFi mode, the second call mode is a VoLTE mode;
after the first communication mode is switched to the second communication mode, the communication method further includes:
within a preset time after the first communication mode is switched to the second communication mode, if prompt information for indicating that a communication network is abnormal is received, switching the second communication mode to a circuit domain communication mode, and performing silent redialing through the circuit domain communication mode;
and the preset time is set according to the fact that the electronic equipment is switched to the second communication mode detected by the server, the communication network corresponding to the second communication mode is detected to be abnormal, and the time required by the electronic equipment for feeding back the prompt message is fed back.
2. The communication method according to claim 1, wherein after switching the first communication mode to the second communication mode, the communication method further comprises:
and in a preset time after the first communication mode is switched to the second communication mode, if the prompt message for indicating the communication network abnormality is not received, the communication is carried out through the second communication mode.
3. The communication method according to claim 2, wherein the communicating in the second communication mode includes:
under the condition that the preset communication state is the call state, silent redialing is carried out through the second communication mode;
receiving incoming call information through the second communication mode under the condition that the preset communication state is the incoming call state;
and under the condition that the preset call state is the connection state, receiving call information sent by the opposite terminal through the second call mode, and sending the call information of the local terminal to the opposite terminal through the second call mode.
4. The communication method according to claim 1, wherein the prompt message includes: an error code.
5. An electronic device, comprising:
the switching module is used for switching the first call mode into a second call mode if prompt information for indicating that a call network is abnormal is received under the condition that the electronic equipment is in a preset call state in the first call mode;
wherein the preset call state comprises: any one of a call state, an incoming call state, and a connection state; under the condition that the first call mode is a VoLTE mode, the second call mode is a VoWiFi mode; under the condition that the first call mode is a VoWiFi mode, the second call mode is a VoLTE mode;
wherein, the electronic equipment still includes:
the second communication module is used for switching the second communication mode into a circuit domain communication mode and carrying out silent redialing through the circuit domain communication mode within the preset time after the first communication mode is switched into the second communication mode and under the condition that prompt information for indicating the abnormity of a communication network is received;
and the preset time is set according to the fact that the electronic equipment is switched to the second communication mode detected by the server, the communication network corresponding to the second communication mode is detected to be abnormal, and the time required by the electronic equipment for feeding back the prompt message is fed back.
6. The electronic device of claim 5, further comprising:
and the first communication module is used for carrying out communication through the second communication mode within the preset time after the first communication mode is switched to the second communication mode if the prompt message for indicating that the communication network is abnormal is not received.
7. The electronic device of claim 6, wherein the first communication module comprises:
the first communication unit is used for carrying out silent redial through the second communication mode under the condition that the preset communication state is the call state;
the second communication unit is used for receiving incoming call information through the second communication mode under the condition that the preset communication state is the incoming call state;
and the third communication unit is used for receiving the call information sent by the opposite terminal through the second communication mode and sending the call information of the local terminal to the opposite terminal through the second communication mode under the condition that the preset call state is the connection state.
8. The electronic device of claim 5, wherein the prompt message comprises: an error code.
9. An electronic device, comprising: processor, memory and a computer program stored on the memory and executable on the processor, which computer program, when being executed by the processor, carries out the steps of the communication method according to one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the communication method according to one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010183377.0A CN111417161B (en) | 2020-03-16 | 2020-03-16 | Communication method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010183377.0A CN111417161B (en) | 2020-03-16 | 2020-03-16 | Communication method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111417161A CN111417161A (en) | 2020-07-14 |
CN111417161B true CN111417161B (en) | 2022-04-22 |
Family
ID=71494382
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010183377.0A Active CN111417161B (en) | 2020-03-16 | 2020-03-16 | Communication method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111417161B (en) |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105897462A (en) * | 2016-03-25 | 2016-08-24 | 宇龙计算机通信科技(深圳)有限公司 | Data transmission processing method and apparatus, and terminal |
CN106900021B (en) * | 2017-02-20 | 2020-08-11 | 惠州Tcl移动通信有限公司 | VoWiFi call processing method and system for mobile terminal |
CN107231650B (en) * | 2017-06-09 | 2020-10-30 | 奇酷互联网络科技(深圳)有限公司 | Network switching exception handling method and device and mobile terminal |
CN107613536A (en) * | 2017-09-22 | 2018-01-19 | 广东欧珀移动通信有限公司 | Select method, apparatus, mobile terminal and the readable storage medium storing program for executing of network |
CN108337696B (en) * | 2018-02-01 | 2021-11-12 | Oppo广东移动通信有限公司 | Method and device for processing SRVCC exception, storage medium and electronic equipment |
CN108366402A (en) * | 2018-02-01 | 2018-08-03 | 广东欧珀移动通信有限公司 | Switching method, device, storage medium and the electronic equipment of speech business |
CN108834089B (en) * | 2018-06-28 | 2021-11-16 | 努比亚技术有限公司 | SIM card switching method, mobile terminal and computer readable storage medium |
CN109819489B (en) * | 2019-01-16 | 2021-03-23 | 维沃移动通信有限公司 | Terminal calling method and terminal |
CN110099421B (en) * | 2019-04-29 | 2021-08-24 | 维沃移动通信有限公司 | Signal processing method and device and terminal equipment |
-
2020
- 2020-03-16 CN CN202010183377.0A patent/CN111417161B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111417161A (en) | 2020-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111479309B (en) | Service processing method, user equipment and computer readable storage medium | |
CN109889757B (en) | Video call method and terminal equipment | |
CN108282759B (en) | Service processing method and mobile communication terminal | |
CN108495349B (en) | Switching method of operator network and mobile terminal | |
CN110913455B (en) | Method for forbidding abnormal cell, electronic equipment and server | |
CN107172605B (en) | Emergency call method, mobile terminal and computer readable storage medium | |
CN111817832A (en) | Information processing method, terminal and network side equipment | |
CN109831359B (en) | Method for detecting connection state of data network and terminal equipment thereof | |
CN111107223B (en) | Message processing method and electronic equipment | |
CN107517487B (en) | Call control method and mobile terminal | |
CN111615198A (en) | Resource determining method, resource indicating method, terminal and network side equipment | |
CN111093137B (en) | Volume control method, volume control equipment and computer readable storage medium | |
CN109151741B (en) | Multimedia message receiving method and terminal | |
CN108307075B (en) | Incoming call processing method and mobile terminal | |
CN108419283B (en) | WIFI hotspot scanning method and mobile terminal | |
CN111601334B (en) | Measuring method, device and system | |
CN112925501A (en) | Audio playing control method, device and system and computer readable storage medium | |
CN109639905B (en) | Incoming call reminding method, mobile terminal and computer readable storage medium | |
CN109005377B (en) | Video processing method and terminal equipment | |
CN110798873A (en) | Voice service registration method and electronic equipment | |
CN111246528A (en) | Network switching method and electronic equipment | |
CN111417161B (en) | Communication method and electronic equipment | |
CN113301509B (en) | Communication method and related equipment | |
CN111083293B (en) | Communication control method and electronic equipment | |
CN110365842B (en) | Terminal control method and terminal 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 |