Call method and device
By generating vibration, sound and text prompts during cellular calls, the problem of users' difficulty in perceiving calls from instant messaging applications is solved, and the effect of timely perception and prevention of missed connections is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202311309285.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-10
- Publication Date
- 2025-04-18
AI Technical Summary
When making cellular calls, it is difficult for users to perceive audio and video calls from instant messaging applications, resulting in the possibility of missing important calls.
A method and device are provided to generate user-aware call prompt information, including vibration prompts, sound prompts and display text prompts when an incoming call from an instant communication application is detected during a cellular call.
When the terminal device is shut down or inconvenient to detect screen content, users can still sense conflicting calls in a timely manner, preventing missing important calls and improving user experience.
Smart Images

Figure CN119854405A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication method and device. Background Art
[0002] In addition to using the "Phone" application to make traditional cellular calls, terminal devices can also make audio and video calls based on installed instant messaging applications.
[0003] In actual scenarios, if a user receives an incoming audio or video call based on an instant messaging application while on a cellular call, it is difficult for the user to perceive the incoming audio or video call, and there is a possibility that the user will miss an important call. Summary of the invention
[0004] The present application provides a calling method and device for preventing missed calls from instant messaging applications when an incoming call from an instant messaging application is received during a cellular call.
[0005] In a first aspect, the technical solution provides a calling method, including: detecting a first incoming call during a first call establishment process and during the first call, the first incoming call is a call initiated by an instant messaging application, and the first call is a cellular call; generating a first prompt message, the first prompt message including one or more of a vibration prompt message, a sound prompt message, and a text prompt message displayed in a first pop-up window, the text prompt message is used to indicate that the first incoming call has been received, and the first pop-up window is closed in response to a received close instruction.
[0006] The call method provided by the above technical solution can generate user-perceivable call prompt information when receiving an incoming call from an instant messaging application during a cellular call, so that the user can still perceive the conflicting call in time when the terminal device screen is off and it is inconvenient to perceive the screen display content, thereby preventing the missed important calls and improving the user experience. In addition, the above implementation scheme is not constrained by the call control strategy of the instant messaging application, and can uniformly handle conflicting calls from various instant messaging applications, and has strong applicability.
[0007] In combination with the first aspect, in certain implementations of the first aspect, after the first call is established and the first incoming call is detected during the first call, the method further includes: displaying a first control, the first control being used to display a second prompt message, the second prompt message being used to indicate that the first incoming call has been received; and closing the first control by automatically closing the control after the display time exceeds a set threshold.
[0008] In combination with the first aspect, in certain implementations of the first aspect, before generating the first prompt information, the method further includes: determining that a call prompt function of the instant messaging application is turned on, and the call prompt function of the instant messaging application is used to indicate whether to generate the first prompt information after detecting the first incoming call.
[0009] In this implementation, users can flexibly set the on / off state of the instant messaging application call reminder function based on their own needs, and the terminal device can generate the first reminder information for the instant messaging application conflicting call during the cellular call only when the user turns on the instant messaging application call reminder function. This can better meet user needs and improve user experience.
[0010] In combination with the first aspect, in certain implementations of the first aspect, before generating the first prompt information, the method further includes: obtaining a first configuration file, the first configuration file containing at least one application identification information; and determining that at least one application identification information contains identification information of an instant messaging application.
[0011] In this implementation, the user can flexibly configure the target instant messaging application based on the configuration of the switch state of the instant messaging application incoming call reminder function, so that the first reminder information is issued only when the instant messaging application incoming call reminder function is turned on and the incoming instant messaging application is the target instant messaging application.
[0012] In combination with the first aspect, in certain implementations of the first aspect, before generating the first prompt information, the method further includes: obtaining a second configuration file, the second configuration file containing at least one contact identification information; and determining that the at least one contact identification information contains the calling user identification information of the first incoming call.
[0013] In this implementation, the call reminder function of the instant messaging application can be turned on or off based on user needs, and by setting a black / white list of third-party applications and a black / white list of third-party application friends, the first reminder information is generated only for conflicting calls initiated by the target instant messaging application and the target contact based on user needs. It is more flexible and has a better user experience.
[0014] In combination with the first aspect, in some implementations of the first aspect, before generating the first prompt information, the method further includes: rejecting the first incoming call.
[0015] In combination with the first aspect, in some implementations of the first aspect, the first control includes a first sub-control, and the first sub-control is used for answering the call; the above method also includes: establishing the second call in response to a triggering operation on the first sub-control.
[0016] In combination with the first aspect, in some implementations of the first aspect, the method further includes: after establishing the second call, controlling the first call to be held.
[0017] In combination with the first aspect, in some implementations of the first aspect, the method further includes: after establishing the second call, controlling the first call to hang up.
[0018] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: after the second call is established, granting the audio focus to the second call; or, after the second call is established and the first call is controlled to be held, granting the audio focus to the second call.
[0019] In this implementation, when two calls coexist, the audio focus can be controlled to be granted to the IM application call that the user has recently answered, thereby ensuring that the uplink and downlink audio paths of the current IM application call are normal and improving the user experience.
[0020] In combination with the first aspect, in certain implementations of the first aspect, after establishing the second call, the method further includes: turning on a call interception function, the call interception function being used to implement cellular call interception; after turning on the call interception function, detecting the second call, intercepting the second call, the second call being a cellular call.
[0021] In this implementation, when the user chooses to answer an IM application call, the IM application call may be considered to be of higher importance. In this case, the new cellular call may be automatically intercepted to ensure that the current IM application call is not interrupted by the new cellular call.
[0022] In combination with the first aspect, in certain implementations of the first aspect, before intercepting the second incoming call, the method further includes: obtaining a third configuration file, the third configuration file containing at least one user identification information to be intercepted; and determining that at least one user identification information to be intercepted contains the calling user identification information of the second incoming call.
[0023] In this implementation, after the user chooses to answer a call from an instant messaging application, on the one hand, the newly received cellular call can be intercepted from the bottom layer to prevent the current call from being interrupted; at the same time, based on the user's pre-configured list, calls from whitelisted users can be retained, thereby preventing the user from missing calls from important contacts and providing a better user experience.
[0024] In combination with the first aspect, in some implementations of the first aspect, the method further includes: when the second call ends, turning off the call interception function.
[0025] In a second aspect, the present technical solution provides an electronic device, comprising: a cellular call application, an instant messaging application, a notification center module, an audio unit, and a motor; further comprising: a display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the device, cause the device to perform the following steps: the instant messaging application detects a first incoming call during the cellular call establishment process and the cellular call process, and the first incoming call is a call initiated by the instant messaging application; the notification center module controls the generation of a first prompt message, comprising: the notification center module executes one or more of the following: controls the audio unit to generate sound prompt messages, controls the motor to generate vibration prompt messages, controls the display of a first pop-up window, and displays text prompt messages in the first pop-up window, and the text prompt messages are used to indicate that the first incoming call has been received, and the first pop-up window is closed in response to a received closing instruction.
[0026] The electronic device provided by the above technical solution can generate user-perceivable incoming call prompt information when receiving an incoming call from an instant messaging application during a cellular call, so that the user can still perceive the conflicting call in time when the screen of the electronic device is off and it is inconvenient to perceive the screen display content, thereby preventing the missed important calls and improving the user experience. In addition, the above implementation scheme is not constrained by the call control strategy of the instant messaging application, and can uniformly handle conflicting calls from various instant messaging applications, and has strong applicability.
[0027] In a third aspect, the present technical solution provides an electronic device, comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the device, enable the device to execute the method in the first aspect and any possible implementation of the first aspect.
[0028] In a fourth aspect, the present technical solution provides an electronic device, comprising a storage medium and a central processing unit, wherein the storage medium may be a non-volatile storage medium, wherein a computer executable program is stored in the storage medium, and the central processing unit is connected to the non-volatile storage medium and executes the computer executable program to implement the method in the first aspect and any possible implementation manner of the first aspect.
[0029] In a fifth aspect, the present technical solution provides a chip, comprising a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface to execute the method in the first aspect and any possible implementation of the first aspect.
[0030] Optionally, as an implementation method, the chip may also include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the method in the first aspect and any possible implementation method of the first aspect.
[0031] In a sixth aspect, the present technical solution provides a computer-readable storage medium, wherein the computer-readable medium stores a program code for execution by a device, wherein the program code includes instructions for executing the method in the first aspect and any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a schematic diagram of a scenario of the first call interface provided in an embodiment of the present application;
[0033] Figure 2 A schematic diagram of a scenario of an instant messaging application interface provided by an embodiment of the present application;
[0034] Figure 3 is another scenario schematic diagram of the first call interface provided in an embodiment of the present application;
[0035] Figure 4 is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0036] Figure 5 It is a schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;
[0037] Figure 6 is a schematic flow chart of a calling method provided in an embodiment of the present application;
[0038] Figure 7 This is a schematic diagram of a scenario of the first interface provided in an embodiment of the present application;
[0039] Figure 8 This is a schematic diagram of a scenario of the first pop-up window provided in an embodiment of the present application;
[0040] Fig. 9 is another schematic flow chart of the calling method provided in the embodiment of the present application;
[0041] Fig.10 is another schematic flow chart of the calling method provided in the embodiment of the present application;
[0042] Fig.11 is a schematic scenario diagram of the calling method provided in the embodiment of the present application;
[0043] Fig.12is another schematic flow chart of the calling method provided in the embodiment of the present application;
[0044] Fig.13 is another schematic scenario diagram of the calling method provided in an embodiment of the present application;
[0045] Fig.14 is another schematic scenario diagram of the calling method provided in an embodiment of the present application;
[0046] Fig.15 is another schematic scenario diagram of the calling method provided in an embodiment of the present application;
[0047] Fig.16 is another schematic flow chart of the calling method provided in the embodiment of the present application;
[0048] Fig.17 It is another schematic flowchart of the calling method provided in the embodiment of the present application. DETAILED DESCRIPTION
[0049] Before describing the embodiments of the present application, the related technology is first introduced.
[0050] Electronic devices are equipped with a subscriber identification module (SIM) card, and electronic devices can access the corresponding operator network based on the SIM card and make calls, which is referred to as "cellular calls" in this application. In addition, electronic devices can also be equipped with instant messaging applications to achieve instant messaging, including audio communication and video communication.
[0051] In actual scenarios, if a user receives an audio or video call from an instant messaging application during a cellular call, based on the control strategy of the instant messaging application, the instant messaging application will not provide an obvious incoming call prompt when it detects that the cellular call is currently in progress. Therefore, the user will not be able to perceive the incoming call from the instant messaging application during the cellular call. Moreover, even when the cellular call ends and the user enters the application interface of the instant messaging application, it is difficult for the user to detect the missed call.
[0052] Furthermore, in the above scenario, when an incoming call from an instant messaging application is received during a cellular call, the control strategies of different instant messaging applications are different, which can be specifically divided into the following categories, which are described below.
[0053] Scenario 1: The first type of instant messaging application.
[0054] When the first electronic device is in a cellular call with the second electronic device, the first electronic device receives an incoming audio or video call from the third electronic device based on an instant messaging application. Then, the instant messaging application installed in the first electronic device automatically rejects the incoming audio or video call after detecting the incoming audio or video call.
[0055] Furthermore, after rejecting the incoming call from the instant messaging application, Figure 1 As shown, the display of the first message notification bar 11 in the display interface 10 of the current cellular call is triggered. The first message notification bar 11 can be used to notify that an incoming call from an instant messaging application has been received. The first message notification bar 11 is automatically retracted after the display time reaches a preset time. Based on the screen control mechanism of the terminal device in the call state, the terminal device is always in the screen-off state during the process of displaying and retracting the first message notification bar 11. Therefore, it is difficult for the user to notice the missed call prompt in the first message notification bar. Even in the bright screen state, since the terminal device is always placed next to the user's ear during the call, it is difficult for the user to notice the content displayed on the screen.
[0056] Furthermore, when the user ends the current cellular call and actively enters the instant messaging application interface, there is no obvious missed call prompt in the instant messaging application interface. Figure 2 A schematic diagram of a display scenario of an instant messaging application interface in a first electronic device after an incoming call from an instant messaging application is rejected is provided. Figure 2 As shown, the instant messaging application display interface includes a chat list 21, and the chat entry 211 corresponding to the incoming friend in the chat list 21 only displays the semantic information of the audio and video call, which is used to prompt that the latest historical chat information with the friend is an audio and video call, but there is no missed call prompt. Therefore, even if the user enters the instant messaging application interface, it is difficult to find that there is a missed call.
[0057] Scenario 2: The second type of instant messaging application.
[0058] Assume that the first electronic device is in a cellular call with the second electronic device. At this time, the first electronic device receives an incoming audio or video call from a third electronic device based on an instant messaging application. Then, after detecting the incoming audio or video call, the instant messaging application installed in the first electronic device will not automatically reject the call. Figure 3As shown, the second message notification bar 12 is triggered in the display interface 10 of the current cellular call, and the second message notification bar 12 can be used to notify the current instant messaging application call. Since the user is in a call state at this time and the terminal device is in a screen-off state, it is difficult for the user to notice the incoming call prompt in the first message notification bar. Even in the screen-on state, since the terminal device is always placed next to the user's ear during the call, it is difficult for the user to notice the content displayed on the screen. Therefore, the user will not be able to answer the instant messaging application call of the third electronic device in time.
[0059] Furthermore, when the user still does not answer the call after the preset time, the call to the third electronic device fails and the incoming call is automatically hung up. At this time, the second message notification bar 12 is retracted. When the user ends the current cellular call and enters the instant messaging application interface, Figure 2 Similarly, there is no obvious prompt information in the instant messaging application interface. Therefore, it is difficult for users to find out that they have missed a call.
[0060] Through the description of the above two scenarios, it can be understood that when an instant messaging application call is received during a cellular call, the instant messaging application call conflicts with the ongoing cellular call. Regardless of whether the instant messaging application actively rejects the instant messaging application call, there is no obvious call reminder for the instant messaging application call during the cellular call and after the cellular call ends, which makes it easy for users to miss important calls from the instant messaging application. As more and more instant messaging applications support audio and video calls, it is becoming more and more common for users to make audio and video calls based on instant messaging applications. The above-mentioned situation of missing instant messaging application calls is becoming more and more common, which has a greater impact on user experience.
[0061] In view of the above problems, embodiments of the present application are proposed.
[0062] In an embodiment of the present application, during a cellular call, when the electronic device detects an incoming call from an instant messaging application, it can generate prompt information that is easier for the user to perceive for the incoming call from the instant messaging application, such as a vibration prompt information, a sound prompt information, or a combination of the two, thereby facilitating the user to promptly detect the latest incoming call from the instant messaging application and prevent the occurrence of missed calls.
[0063] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0064] For example, Figure 4A schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application is shown. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0065] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0066] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0067] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0068] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0069] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0070] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface to achieve the function of making and receiving calls.
[0071] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of making and receiving calls. Both the I2S interface and the PCM interface can be used for audio communication.
[0072] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0073] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a call control function, etc.), etc. The data storage area may store data created during the use of the electronic device 100, etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0074] The electronic device 100 can implement audio functions, such as making and receiving calls, receiving voice data, etc., through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.
[0075] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0076] The speaker 170A, also known as a "speaker", is an electroacoustic transducer that can convert an electrical signal into an acoustic signal and output it. When answering a call or receiving voice data, the user can listen to the hands-free call through the speaker 170A.
[0077] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0078] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0079] The pressure sensor 180A is used to sense pressure signals and convert pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
[0080] The distance sensor 180F and the proximity light sensor 180G can both be used to measure the distance, specifically by infrared or laser. In some embodiments, when the user is making a call or receiving voice data, the proximity light sensor 180G can be used to detect whether the user is close to the electronic device 100 using an infrared signal, thereby being used to execute a screen-off decision.
[0081] The touch sensor 180K is also called a “touch control device.” The touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch control screen.”
[0082] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
[0083] The indicator 192 may be an indicator light, which may be used to indicate messages, missed calls, notifications, etc., and may also be used to indicate charging status and power changes.
[0084] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0085] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system of the layered architecture is taken as an example to exemplify the software structure of the electronic device 100.
[0086] Figure 5 1 is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.
[0087] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
[0088] The application layer can include a series of application packages.
[0089] like Figure 5 As shown, the application package may include a call application, WLAN, and various instant audio and video call applications.
[0090] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0091] like Figure 5 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a notification manager, and the like.
[0092] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0093] Content providers are used to store and retrieve data and make it accessible to applications. The data may include audio, calls made and received, phone books, etc.
[0094] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. The display interface can be composed of one or more views.
[0095] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including calling, connecting, hanging up, etc.).
[0096] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify the receipt of an incoming call. The notification manager can also be a notification that appears in the system top status bar in the form of an icon or scroll bar text, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0097] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0098] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0099] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0100] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0101] The kernel layer is the layer between hardware and software. The kernel layer contains at least audio driver, sensor driver, display driver, and camera driver.
[0102] For ease of understanding, the following embodiments of the present application will be described in detail with Figure 4 , Figure 5 As an example, the electronic device with the structure shown in FIG. Figure 1 , Figure 2 ,as well as Figure 3 The scenario shown specifically illustrates the calling method provided in the embodiment of the present application.
[0103] Figure 6 is a schematic flow chart of a call method provided in an embodiment of the present application, such as Figure 6 As shown, the calling method provided in the embodiment of the present application includes:
[0104] 101. During a call establishment process and a call process of a first call, a first incoming call is detected.
[0105] 102. In response to detecting a first incoming call, generate first prompt information, where the first prompt information includes vibration prompt information and / or sound prompt information.
[0106] In the embodiment of the present application, the first call refers to a cellular call, that is, a call initiated through the operator network using a SIM card. For example, it can be a cellular call initiated by the first electronic device to the second electronic device and answered by the second electronic device, or it can be a cellular call initiated by the second electronic device to the first electronic device and answered by the first electronic device, and the present application does not limit this.
[0107] During the call establishment process and the call process of the first call, the interface displayed by the first electronic device is the first interface. The first interface can be, for example, a first dialing interface, a first waiting interface, a first call interface, a main interface of the first electronic device, or an application interface of any application (such as a map application, a social application, etc.) in the first electronic device.
[0108] Specifically, during the call establishment process of the first call, when the first electronic device is in a calling state, the first electronic device sends a call request to the second electronic device in response to the received dialing operation. Figure 7 As shown in FIG. 7A , the first electronic device displays a first dialing interface 80. The first dialing interface 80 may display the telephone number of the second electronic device, semantic information of the dialing, and a hang-up button.
[0109] During the call establishment process of the first call, when the first electronic device is in a ringing state, the first electronic device starts ringing in response to the ringing message 180Ringing sent by the second electronic device. Figure 7 As shown in FIG. 7B , the first electronic device displays a first waiting-to-answer interface 90. The first waiting-to-answer interface 90 may display the phone number of the second electronic device, an answer button, and a hang-up button.
[0110] During the first call, when the first electronic device is in a call state, the cellular call between the first electronic device and the second electronic device is connected. Figure 7 As shown in 7C in FIG. 1 , the first electronic device displays a first call interface 10. The first call interface 10 may display the call duration of the current cellular call and the phone number of the second electronic device.
[0111] Furthermore, during the call establishment process and any state node during the call process, the first electronic device can also display the main interface in response to a trigger operation of the user to return to the main interface. Figure 7 As shown in 7D, exemplarily, during a call, in response to a trigger operation of the user returning to the main interface, the first electronic device may display the main interface 70 and display a prompt control 73 above the main interface 70, and the prompt control 73 may display the call duration of the first call.
[0112] Alternatively, during the call establishment process and at any state node during the call process, the first electronic device may also display an application interface of any application in response to a trigger operation of the user on any application.
[0113] In a call scenario, users are accustomed to placing the terminal device next to their ears and waiting for the call to be connected after dialing, and moving the terminal device away from their ears after the call ends. Based on the screen control mechanism of the terminal device, when the terminal device is next to the user's ear, the terminal device can detect the proximity behavior based on the proximity light sensor and control the screen to turn off; when the terminal device is away from the user's ear, the proximity light sensor can no longer detect the proximity behavior, and at this time, the terminal device controls the screen to turn on.
[0114] Based on the above description, it can be understood that during the call establishment process and the call process of the first call, the first electronic device is always in a screen-off state, and the user cannot observe the screen display content.
[0115] In another scenario, after dialing, the user does not place the terminal device next to the ear, but places it away from the ear, establishes a connection with the terminal device through a Bluetooth device or turns on the hands-free mode to answer the call. At this time, although the screen is still on, the user is usually not focused on the current call in the hands-free scenario, but is dealing with other matters at the same time. Obviously, in such scenarios, it is also difficult for users to notice the content displayed on the screen.
[0116] Therefore, in the embodiment of the present application, if the first electronic device receives an incoming audio or video call initiated by a third electronic device based on any instant messaging application during a cellular call, the instant messaging application installed in the first electronic device can detect the receipt of the incoming audio or video call. Furthermore, the first electronic device can generate prompt information that the user can perceive during the cellular call in response to the incoming audio or video call.
[0117] In one possible implementation, the prompt information may be a vibration prompt information, a sound prompt information, or a combination of the two. Exemplarily, the sound prompt information may be a music clip, or a prompt voice that indicates the semantics of "receiving an audio or video call from the XX application". Among them, the vibration amplitude, frequency, audio content of the sound prompt information, etc. of the vibration prompt information may be pre-set by the user. If the user has not set it, it may be implemented based on the default settings. Based on this implementation, it is convenient for the user to perceive the audio or video call in time when the screen of the first electronic device is off.
[0118] In another possible implementation, the prompt information may be a text prompt information, and the text prompt information may be used to express the semantics of "receiving an audio or video call from XX application". Figure 8 As shown, a first pop-up window 60 may be displayed in the display interface of the first electronic device, and the above text prompt information may be displayed in the first pop-up window 60. Figure 1 The first message notification bar 11 and Figure 3 Unlike the second message notification bar 12 shown in the figure, in the embodiment of the present application, a confirmation button 61 may be displayed in the first pop-up window 60, and the first pop-up window 60 may be passively closed in response to the user's triggering operation of the confirmation button 61. Through this implementation, even if the user does not notice the text prompt information in the first pop-up window 60 when the screen of the first electronic device is off, when the first call is ended, the screen of the first electronic device is turned on. At this time, since the first pop-up window 60 is still displayed in the display interface of the first electronic device, the user can determine the missed call based on the text prompt information in the first pop-up window 60.
[0119] In the above technical solution, the terminal device can generate user-perceivable prompt information for audio and video calls received during a cellular call based on the control method provided by the solution, so that the user can still perceive the conflicting calls in time when the terminal device screen is off and it is inconvenient to perceive the screen display content, thereby preventing the missed important calls and improving the user experience. In addition, the above technical solution is not affected by the processing strategy of the instant messaging application itself, and is compatible with various instant messaging applications, with strong applicability.
[0120] Fig. 9 is a schematic flow chart of a call method provided in an embodiment of the present application, such as Fig. 9As shown, the calling method provided in the embodiment of the present application includes:
[0121] 201. During a cellular call, a second application receives a first incoming call message sent by a network side, where the first incoming call message is used to indicate that a first incoming call has been received.
[0122] 202. The second application sends a call rejection message to the network side, where the call rejection message is used to indicate that the first incoming call is rejected.
[0123] 203. The second application sends a missed call indication message to the notification center module. The missed call indication message is used to indicate that the first incoming call has been received.
[0124] In the embodiment of the present application, the first electronic device may be installed with a first application and a second application. The first application is used to establish a cellular call based on the operator network. The second application is an instant messaging application, which is used to establish an audio and video call. At the same time, the first electronic device may also include a notification center module, an audio unit, a motor, a modem, and other unit modules.
[0125] The first application installed in the first electronic device can establish a connection with the network through a modem and establish a call with the second electronic device through the network. Specifically, the first electronic device can establish a call with the second electronic device as a calling device or as a called device.
[0126] The first electronic device may display the first interface during the process of establishing a cellular call with the second electronic device and during the cellular call. Figure 7 Specifically, during the process of establishing a cellular call, when the first electronic device is in a calling state, the first interface may be a first dialing interface. During the process of establishing a cellular call, when the first electronic device is in a ringing state, the first interface may be a first waiting-to-answer interface. During the process of establishing a cellular call, the first electronic device is in a call state, and the first interface may be a first call interface. Furthermore, during the process of establishing a cellular call and at any state node during the cellular call, the first electronic device may also display the main interface in response to a trigger operation of the user returning to the main interface.
[0127] During a cellular call, the audio unit of the first electronic device can receive the audio data packet sent by the network side through the modem, and convert the digital audio information into an analog audio signal for output. At the same time, the audio unit can convert the analog audio data input by the user into a digital audio signal, upload it to the network through the modem, and send it to the second electronic device.
[0128] In the present application embodiment, Figure 5As shown, the application framework layer of the first electronic device may include a phone manager. In the first electronic device, each instant messaging application may pre-register the status event of the cellular call with the phone manager. After each instant messaging application completes the registration of the status event of the cellular call, when the first electronic device is in the process of establishing a cellular call or in the process of a cellular call, the phone manager may be used to broadcast a first notification message to each registered instant messaging application, and the first notification message may be used by each instant messaging application to determine that the first electronic device is currently performing a cellular call.
[0129] Furthermore, after the cellular call ends, the phone manager may also broadcast a second notification message to each instant messaging application, and the second notification message may be used by each instant messaging application to determine that the first electronic device ends the cellular call.
[0130] Based on the above description, in an embodiment of the present application, after receiving the first notification message and before receiving the second notification message, the second application receives an incoming call message sent by the network side, and the incoming call message is used to indicate that an audio and video call initiated by a third electronic device has been received. At this time, since the first electronic device is still in the process of establishing a cellular call or in the process of a cellular call, and the priority of the cellular call is higher than that of the audio and video call of the instant messaging application, in order to avoid the current cellular call being interrupted by the incoming call of the instant messaging application, in an embodiment of the present application, on the one hand, the second application can send an indication message of rejecting the incoming call to the network side. Specifically, the second application can send an indication message of rejecting the incoming call to the Modem, which is uploaded to the network side by the Modem. On the other hand, the second application can also send a prompt message of having received the incoming call to the notification center module. In an embodiment of the present application, the above-mentioned indication message of rejecting the incoming call and the prompt message of having received the incoming call can be sent at the same time, or the indication message of rejecting the incoming call can be sent first, and then the prompt message of having received the incoming call can be sent, and the present application does not limit this.
[0131] 204, the notification center module controls the display of the first control on the first interface, and displays the second prompt information in the first control.
[0132] The notification center module may display a first control in the first interface and display a second prompt information in the first control in response to a prompt message sent by the second application that an incoming call has been received. The second prompt information may be used to indicate that an incoming call from an instant messaging application has been received. The second prompt information may specifically include caller identification information, call time, call method, etc. Among them, the call method may be a voice call or a video call.
[0133] The first control can be Figure 1The first message notification bar 11 shown is displayed at the top of the display interface 10. The first message notification bar 11 can be located in an upper layer of the layer where the first call interface is located. The first message notification bar 11 can be automatically retracted after the display time reaches a preset time.
[0134] 205 , the notification center module sends a first indication message to the audio unit and / or the motor, where the first indication message is used to indicate generation of first prompt information.
[0135] 206 , the audio unit and the motor generate first prompt information.
[0136] In the embodiment of the present application, considering that the first electronic device is in a screen-off state and is placed next to the user's ear during a cellular call, it is difficult for the user to notice the missed call only by displaying a prompt message on the screen. Therefore, on the basis of the above, the first electronic device can also generate prompt information that is easier for the user to perceive.
[0137] Specifically, the notification center module may send a first indication message to the audio unit and / or the motor in response to the above-mentioned missed call indication message sent by the instant messaging application. The first indication message may be used to instruct the audio unit and / or the motor to generate a first prompt message respectively. After receiving the first indication message, the audio unit may control the speaker to play the sound prompt message. Exemplarily, the sound prompt message may be a music clip, or a prompt voice with the semantics of "receiving an audio or video call from the XX application". After receiving the first indication message, the motor unit generates a vibration prompt.
[0138] Based on the above-mentioned sound prompts and vibration prompts, users can promptly perceive incoming calls from instant messaging applications during a cellular call, thereby facilitating users to promptly interrupt the current cellular call and answer important audio and video calls, or, after the current cellular call ends, users can promptly check missed audio and video calls and call back to avoid missing important audio and video calls.
[0139] Through the above technical solution, when an incoming call from an instant messaging application conflicts with an ongoing cellular call and the instant messaging application actively rejects the call, the electronic device can, based on the rejection information monitored by the system notification center module, autonomously control and generate a user-perceivable missed call prompt without being affected by the control strategy of the instant messaging application, thereby preventing the user from being unaware of the automatically rejected instant messaging application call and missing important calls.
[0140] Fig.10 is another schematic flow chart of the calling method provided in the embodiment of the present application, such as Figure 8 As shown, the calling method provided in the embodiment of the present application includes:
[0141] 301. During a cellular call, a second application receives a first incoming call message sent by a network side, where the first incoming call message is used to indicate that a first incoming call has been received.
[0142] 302. The second application sends an incoming call indication message to the notification center module, where the incoming call indication message is used to indicate that a first incoming call has been received.
[0143] In the embodiment of the present application, during the cellular call between the first electronic device and the second electronic device, when the second application receives a first incoming call from the third electronic device, unlike the previous embodiment, the first incoming call is no longer automatically rejected, but an indication message indicating the receipt of the first incoming call is directly sent to the notification center module. The notification center module receives the indication message and can determine that the first electronic device currently receives a call from the second application.
[0144] 303, the notification center module controls the display of the first control on the first interface, and displays the second prompt information in the first control.
[0145] 304, the notification center module sends a first indication message to the audio unit and the motor, where the first indication message is used to indicate the generation of the first prompt information.
[0146] 305, the audio unit and the motor generate first prompt information.
[0147] After the notification center module determines that a call from the second application is currently received, similar to the aforementioned embodiment, on the one hand, the first control may be displayed in the first interface, and the second prompt information may be displayed in the first control. The second prompt information may be used to indicate that a call from the second application is currently received. The second prompt information may specifically include caller identification information and call mode, wherein the call mode may be a voice call or a video call. At the same time, the first sub-control may also be displayed in the first control, and the first sub-control may be used to answer the call. The first electronic device may answer the call from the second application in response to a user triggering operation on the first sub-control, such as a click operation. And the second sub-control may also be displayed in the first control, and the second sub-control may be used to hang up. The first electronic device may hang up the call from the second application in response to a user triggering operation on the second sub-control, such as a click operation.
[0148] The first control can be Figure 3 The second message notification bar 12 is shown at the top of the display interface 10. The second message notification bar 12 may be located in an upper layer of the layer where the display interface 10 is located. The second message notification bar 12 may be retracted if the user does not answer the first incoming call for a preset period of time.
[0149] On the other hand, the notification center module can also generate a first prompt message that is easier for the user to perceive. Specifically, similar to the aforementioned embodiment, the notification center module can send an instruction message to the audio unit and / or the motor to instruct the audio unit and / or the motor to generate the first prompt message respectively. Among them, after receiving the instruction message, the audio unit can control the speaker to play the sound prompt message. Exemplarily, the sound prompt message can be a music clip, or a prompt voice that expresses the semantics of "receiving an audio or video call from XX application". After receiving the instruction message, the motor can generate a vibration prompt.
[0150] Based on the above sound prompt and vibration prompt, the user can easily perceive the incoming call of the instant messaging application during the cellular call and answer the call in time, thereby preventing the user from missing the incoming call of the second application during the cellular call.
[0151] Alternatively, in another implementation, the first prompt information may also be a text prompt information. In this implementation, the notification center module may control the display of the first pop-up window in the current display interface of the first electronic device, and display the text prompt information in the first pop-up window, and the text prompt information may be used to express the semantics of "receiving an audio or video call from the XX application". The first pop-up window may be closed in response to a close instruction triggered by the user. For example, a confirmation button may be displayed in the first pop-up window, and the first pop-up window may be passively closed in response to the user's triggering operation of the confirmation button.
[0152] Based on the above text prompt information, after the cellular call ends and the screen of the first electronic device turns on, the user can determine that the call from the second application was missed and call back in time through the prompt information displayed in the first pop-up window.
[0153] In the embodiment of the present application, the execution order of the above steps 304 and 305 is not limited. For example, they can be executed simultaneously, or step 305 can be executed before step 304.
[0154] 306 , the second application displays a second call interface in response to the answering operation of the first incoming call.
[0155] 307. The second application sends a call establishment completion indication message to the notification center module to indicate that the second call establishment is completed.
[0156] After generating the first prompt information and the second prompt information, in response to the user's answering operation after sensing the first incoming call, the first electronic device can display the second call interface. Figure 3 The triggering operation of the answer button in the second prompt information shown. The second call interface can display the second call duration and the user identification information of the opposite device.
[0157] Furthermore, the second application may also send an indication message to the notification center module to indicate that the establishment of the second call is complete.
[0158] 308. The notification center module sends an audio focus control message to the audio unit, where the audio focus control message is used to indicate that the audio focus is granted to the second call.
[0159] In the case of multiple calls, the mixed playback of multiple voice data will cause the user to be unable to answer any call normally. Therefore, in the case of multiple calls, the audio focus can be set to focus the audio on one of the calls, so that the microphone is only used to collect the audio data of the call, and the speaker or receiver is only used to play the audio data of the call.
[0160] After the second call is established, if the previous cellular call has not been hung up, the audio focus is still on the cellular call, so there may be an abnormality in the uplink and downlink paths of the second call. In the embodiment of the present application, after the second call is established, it can be considered that the second call is more important from the user's perspective and has a higher priority. After the notification center module determines that the second call is established, the notification center module can send a control signal to the audio unit to enable the audio unit to transfer the audio focus from the cellular call to the second call, thereby ensuring that the uplink and downlink audio paths of the current second call are normal and improving the user experience.
[0161] Specifically, after determining that the second call is established, the notification center module can immediately send a control signal to the audio unit to enable the audio unit to transfer the audio focus from the cellular call to the second call. Through this implementation, it can be ensured that the uplink and downlink channels of the second call are in a normal state throughout the entire process.
[0162] Alternatively, the notification center module may send a control signal to the audio unit after determining that the second call is established and the previous first call is suspended, so as to cause the audio unit to transfer the audio focus from the cellular call to the second call. The first call being suspended means that the first call is kept. Through this implementation, the audio focus can be controlled when it is determined that there are multiple calls currently.
[0163] 309. The notification center module sends a call control message to the first application. The call control message is used to instruct to hang up the first call.
[0164] Further, after determining that the second call is successfully established, the notification center module may send a control instruction to the first application to instruct the first application to hang up the current first call. The first application may respond to the control instruction by sending a hang-up request (bye) to the second electronic device through the modem, and the hang-up request is used to request to end the current call. The hang-up request can be used to trigger the second electronic device to send a 200OK response message to the first electronic device to end the current call.
[0165] Alternatively, in another implementation, after determining that the second call is established successfully, the notification center module may send a control instruction to the first application to instruct the first application to hold the current first call.
[0166] 310, the notification center module sends a call interception indication message to the modem, where the call interception indication message is used to indicate to start call interception.
[0167] 311. In response to detecting the second incoming call, the modem intercepts the second incoming call.
[0168] Since the system priority of the cellular phone is higher than that of the instant messaging application call, when the first electronic device receives the cellular call again, the current second call may be interrupted by the cellular call. In a possible scenario, the current second call is more important to the user, so in order to avoid the current second call being interrupted, in the embodiment of the present application, the notification center module can send a notification message to the modem to enable the call interception function, so that the modem automatically intercepts the cellular call received during the current call.
[0169] Specifically, after the call interception function is activated, if the modem receives a cellular call notification sent by the network side, it can send a call rejection message to the network side, thereby intercepting the cellular call. The call rejection message can be a message sent by the modem in response to a call request sent by the network side, such as a decline message; or the call rejection message can also be a message sent by the modem in response to a ringing message sent by the network side, such as a cancel message.
[0170] 312. The modem sends a missed call notification message to the first application. The missed call notification message is used to notify a missed call.
[0171] After successfully intercepting the cellular call, the modem may send a missed call notification to the first application. The missed call notification may be used to notify the user ID, phone number, call time, etc. corresponding to the missed call.
[0172] After receiving the missed call notification, the first application Fig.11As shown, in the main interface 70 of the terminal device, the upper right corner of the first application icon 71 can display missed call prompt information, such as displaying a corresponding number according to the number of missed calls. In addition, the first application can also generate a call record corresponding to the missed call based on the missed call notification.
[0173] Furthermore, if Fig.11 As shown, in response to the user triggering operation of the first application icon 71 in the main interface 70, the first application interface 710 may be displayed. Among them, the first application interface 710 may display the historical incoming / outgoing call records within the target time period in chronological order, and the historical incoming / outgoing call records may include the incoming call record 711 corresponding to the newly added missed call, which may specifically include the user ID or phone number, call time, number of calls, etc. of the missed call. Among them, the incoming call record 711 corresponding to the newly added missed call may be highlighted compared to other historical incoming / outgoing call records, such as being displayed in a different color, or adding identification information.
[0174] 313. In response to the second call being ended, the second application sends a call end indication message to the notification center module, where the call end indication message is used to notify the end of the second call.
[0175] 314, the notification center module sends a call interception closing instruction message to the modem, where the call interception closing instruction message is used to instruct to close the call interception.
[0176] After the current second call ends, the second application may send a call end indication message to the notification center module. Further, the notification center module may instruct the modem to turn off call interception so that the first electronic device can normally receive new cellular calls.
[0177] At the same time, when the aforementioned first call is suspended, the notification center module can also instruct the first application to end the current second call, so that the first application can resume the first call. At the same time, the notification center module can also instruct the audio unit to re-grant the audio focus to the first call to ensure that the uplink and downlink audio paths of the first call are normal.
[0178] Through the above technical solution, firstly, when an incoming call from an instant messaging application conflicts with an ongoing cellular call, if the instant messaging application does not actively reject the call but there is no obvious incoming call prompt, the electronic device can, based on the incoming call information monitored by the system notification center module, be unaffected by the control strategy of the instant messaging application and autonomously control the generation of a user-perceivable incoming call prompt, thereby facilitating the user to promptly perceive the instant messaging application call received during the cellular call and answer it in a timely manner.
[0179] At the same time, the above technical solution can automatically grant the audio focus to the instant messaging application call after the user answers the instant messaging application call, thereby preventing the user from having abnormal uplink and downlink audio paths when the user is making an instant messaging application call. Secondly, the above technical solution can automatically intercept new cellular calls through the bottom layer after the user answers the instant messaging application call, preventing the current instant messaging application call from being interrupted by the cellular phone, and ensuring the continuity of the user when answering important instant messaging application calls.
[0180] Fig.12 is another schematic flow chart of the calling method provided in the embodiment of the present application, such as Fig.12 As shown, based on the foregoing embodiments, after the notification center module determines that an incoming call from an instant messaging application is received and before instructing to generate the first prompt information, the call method provided in the embodiment of the present application further includes:
[0181] 401, the notification center module detects whether the incoming call notification function of the instant messaging application is turned on. If yes, execute step 402; otherwise, execute step 405.
[0182] 402, the notification center module detects whether the second application is the target instant messaging application. If yes, execute step 403; otherwise, execute step 405.
[0183] 403, the notification center module detects whether the calling user of the first incoming call is the target contact. If yes, execute 404, otherwise, execute step 405.
[0184] 404, the notification center module sends a first indication message to the audio unit and the motor, where the first indication message is used to indicate the generation of the first prompt information.
[0185] 405. The notification center module determines not to generate the first prompt information.
[0186] In the embodiment of the present application, the user can set the switch state of the instant messaging application incoming call prompt function in the terminal device in advance. The instant messaging application incoming call prompt function refers to the function of sending a first prompt message to the instant messaging application incoming call during a cellular call.
[0187] Fig.13 A schematic diagram of a scenario of an instant messaging application call reminder function setting interface provided in an embodiment of the present application, such as Fig.11As shown, in response to the triggering operation of the setting application icon 72 in the main interface 70 of the terminal device, a setting interface 720 may be displayed. The setting interface 720 may display a setting option 721 of the instant messaging application incoming call reminder function. The user may set the instant messaging application incoming call reminder function to be turned on or off through the setting option 721 of the instant messaging application incoming call reminder function. Specifically, the terminal device may display the instant messaging application incoming call reminder function setting interface 722 in response to the user's triggering operation of the instant messaging application incoming call reminder function setting option 721. The instant messaging application incoming call reminder function setting interface 722 may display a second control 723, and the second control 723 is a control control for the on / off state of the instant messaging application incoming call reminder function. Furthermore, in response to the triggering operation of the second control 723, the on / off state of the instant messaging application incoming call reminder function may be set.
[0188] Alternatively, in another implementation, the setting options for the instant messaging application incoming call reminder function can also be configured in the setting interface of the first application of the terminal device, and the user can pre-set the instant messaging application incoming call reminder function on or off in the setting interface of the first application.
[0189] Based on the above description, after the notification center module determines that an incoming call from an instant messaging application is received, before instructing the motor and the audio unit to generate the first prompt information, the switch state of the instant messaging application incoming call prompt function can be detected first.
[0190] When it is detected that the function of prompting incoming calls of the instant messaging application is turned off, it can be determined that the user does not need to receive explicit prompts such as vibration and sound for incoming calls of the instant messaging application during the cellular call. At this time, the notification center module can determine that it is not necessary to generate the first prompt information, and does not execute the action of instructing the motor and the audio unit to generate the first prompt information.
[0191] On the contrary, when the incoming call reminder function of the instant messaging application is turned on, it can be determined that the user has a need for explicit reminders such as vibration and sound for incoming calls from the instant messaging application during a cellular call. At this time, in a possible implementation, the notification center module can directly send corresponding instruction messages to the audio unit and the motor to instruct the audio unit and the motor to generate sound prompt information and vibration prompt information respectively. Therefore, based on changes in user needs, vibration and sound prompts can be performed for conflicting calls from the instant messaging application during a cellular call only when the user turns on the incoming call reminder function of the instant messaging application, which is more flexible and provides a better user experience.
[0192] Alternatively, in another possible implementation, when the incoming call prompt function of the instant messaging application is turned on, further, in the embodiment of the present application, constraints on the instant messaging application can be added, so that the first prompt information is only generated for incoming calls of the pre-set instant messaging application.
[0193] Specifically, the user may pre-configure the first configuration file.
[0194] In a possible implementation, the first configuration file can be used to describe the target instant messaging application, and the first prompt information is generated only when the incoming call of the target instant messaging application conflicts with the cellular call. For example, the identification information of each target instant messaging application, such as the application name, the descriptor associated with the application name, etc., can be added to the first configuration file.
[0195] When the notification center module determines that an incoming call from an instant messaging application is received and that the incoming call notification function of the instant messaging application is turned on, the first configuration file pre-configured by the user can be obtained. Furthermore, it can be detected whether the first configuration file contains the identification information of the instant messaging application of the current incoming call. When it is determined that the first configuration file contains the identification information of the instant messaging application of the current incoming call, it can be considered that the instant messaging application of the current incoming call belongs to the target instant messaging application.
[0196] Alternatively, in another implementation, the first configuration file may be used to describe a non-target instant messaging application. In this implementation, if it is determined that the first configuration file does not contain identification information of the instant messaging application of the current incoming call, the instant messaging application of the current incoming call may be considered to be a target instant messaging application.
[0197] Alternatively, in another possible implementation, the first configuration file may be used to describe the mapping relationship between each instant messaging application and the conflicting call prompt mode. In this implementation, the notification center module may be used to search the first configuration file for the conflicting call prompt mode corresponding to the instant messaging application according to the identification information of the instant messaging application of the current incoming call.
[0198] Several possible configuration methods of the first configuration file are described below.
[0199] Fig.14 A schematic diagram of a scenario of the configuration interface of the first configuration file is given. Fig.14 As shown, the terminal device may respond to Fig.11The triggering operation of the second control 723 in the instant messaging application incoming call reminder function setting interface 722 shown turns on the instant messaging application incoming call reminder function and displays the first configuration interface 30. The first configuration page 30 can display the icon information of each instant messaging application, and each instant messaging application icon information can correspond to a third control 31. Then, the terminal device can determine the target instant messaging application in response to the user's triggering operation on the third control 31 corresponding to any instant messaging application. Then, the terminal device can automatically generate a first configuration file according to each target instant messaging application selected by the user.
[0200] Fig.15 Another schematic diagram of the configuration interface of the first configuration file is given below. Fig.15 As shown, the terminal device may respond to Fig.13 The triggering operation of the second control 723 in the instant messaging application incoming call reminder function setting interface 722 shown turns on the instant messaging application incoming call reminder function, and displays the second configuration page 40, which can display the add control 41. Then, in response to the triggering operation of the add control 41, the first selection interface 50 can be displayed, and the first selection interface 50 can include an instant messaging application list 51, and the instant messaging application list 51 can include icon information of each instant messaging application, and each instant messaging application icon information can correspond to a fourth control 52. In response to the triggering operation of the fourth control 52 corresponding to any instant messaging application, the corresponding instant messaging application can be selected. Then, in response to the user's triggering operation of the fifth control 53 in the first selection interface, the terminal device can determine each instant messaging application selected by the user as the target instant messaging application. The fifth control 53 can be, for example, a completion button, a confirmation button, etc. Then, the terminal device can jump to the above-mentioned second configuration page 40, and the icon information of the target instant messaging application is displayed in the second configuration interface 40. At the same time, the terminal device can automatically generate a first configuration file according to each target instant messaging application selected by the user.
[0201] Based on the first configuration file, when the notification center module determines that the instant messaging application of the current incoming call does not belong to the target instant messaging application, the notification center module may determine not to generate the first prompt information and not to execute the action of instructing the motor and the audio unit to generate the first prompt information.
[0202] On the contrary, when the notification center module determines that the instant messaging application of the current incoming call belongs to the target instant messaging application, a corresponding instruction message can be sent to the audio unit and the motor to instruct the audio unit and the motor to generate sound prompt information and vibration prompt information respectively.
[0203] Through this implementation, the user can flexibly configure the target instant messaging application based on the configuration of the switch state of the instant messaging application incoming call reminder function, so that the first reminder information is issued only when the instant messaging application incoming call reminder function is turned on and the incoming instant messaging application is the target instant messaging application.
[0204] Or, in another possible implementation, further, a target contact may be set, so that the first prompt information is generated only for incoming calls from the target contact in the instant messaging application.
[0205] Specifically, the user may pre-configure a second configuration file, which may be used to describe the target contact. The second configuration file may include, for example, identification information of the target contact, which includes the user account name, user nickname, and user remark name of the target contact in the instant messaging application. Among them, the user account name may be used to uniquely identify the user of the instant messaging application, the user nickname is the name set by the account owner for himself, and the user remark name is the name set by the user for the instant messaging application contact.
[0206] After determining that the instant messaging application of the current incoming call belongs to the target instant messaging application, the notification center module can confirm the identification information of the incoming caller, such as the user account name and the user note name. Then, the above-mentioned second configuration file can be obtained, and it can be queried whether the second configuration file contains the user identification information of the current incoming caller. In the case where it is determined that the user identification information of the current incoming caller is included, it can be determined that the current incoming caller is the target user, and the current incoming call needs to be prompted with the first prompt information. At this time, the notification center module can send a first indication message to the audio unit and the motor to instruct the audio unit and the motor to generate sound prompt information and vibration prompt information respectively.
[0207] On the contrary, if it is determined that the second configuration file does not contain the user identification information of the current caller, it can be determined that the current caller does not belong to the target user, and the current call does not need to be prompted with the first prompt information. At this time, the notification center module can determine not to generate the first prompt information, and does not perform the action of instructing the motor and the audio unit to generate the first prompt information.
[0208] In one possible implementation, the user can set the target contact in the system settings of the terminal device. In this implementation, the system settings can access and display the contact list of the instant messaging application. Then, the target contact can be determined based on the user's selection operation on the contact in the contact list. Alternatively, the user can manually query the identification information of the target contact in the instant messaging application and fill it in the interface provided by the system settings function. Then, the terminal device can generate the above-mentioned second configuration file based on the target contact set by the user. Based on this implementation, the notification center module can obtain the second configuration file from the local storage location of the terminal device.
[0209] In another possible implementation, the user can set the target contact in each instant messaging application. In this implementation, each instant messaging application can display a contact list, and then determine the target contact based on the user's selection operation of the contact in the contact list. Then, the terminal device can generate a second configuration file based on the target contact selected by the user. Based on this implementation, the notification center module can obtain the second configuration file by obtaining it from each instant messaging application.
[0210] Through the above implementation scheme, the function of prompting incoming calls of instant messaging applications can be turned on or off based on user needs, and by setting a blacklist / whitelist of third-party applications and a blacklist / whitelist of third-party application friends, the first prompt information is generated only for conflicting calls initiated by the target instant messaging application and target contact selected by the user based on user needs. It has higher flexibility and better user experience.
[0211] In another implementation, before executing the above step 404, any one or more of the above steps 401, 402 and 403 may be flexibly selected and executed. This application does not impose any limitation on this.
[0212] In another embodiment of the present application, alternatively, the above method process can also be jointly executed by the instant messaging application and the notification center module.
[0213] Fig.16 is another schematic flow chart of the calling method provided in the embodiment of the present application, such as Fig.16 As shown, in the embodiment of the present application, the above method flow can be:
[0214] 501, the notification center module detects whether the incoming call notification function of the instant messaging application is turned on. If yes, execute step 502; otherwise, execute step 5062.
[0215] 502, the notification center module detects whether the second application is the target instant messaging application. If yes, execute step 503; otherwise, execute step 5062.
[0216] 503. The notification center module sends a second indication message to the second application.
[0217] 504. In response to the second indication message, the second application detects whether the calling user of the first incoming call is the target contact. If yes, execute 5051; otherwise, execute 5052.
[0218] 5051. The second application sends a second response message to the notification center module.
[0219] 5061, the notification center module sends a first indication message to the audio unit and the motor in response to the second response message, where the first indication message is used to indicate the generation of the first prompt information.
[0220] 5071, the audio unit and the motor generate a first prompt message.
[0221] 5052. The second application sends a third response message to the notification center module.
[0222] 5062, the notification center module does not generate the first prompt information.
[0223] In the embodiment of the present application, the target contact can be set by the user in the instant messaging application, and a second configuration file is generated and stored in the cloud server of the instant messaging application. Based on this, when the notification center module determines that the instant messaging application that currently makes a call is the target instant messaging application, an indication message can be sent to the instant messaging application to instruct the instant messaging application to determine whether the current caller is the target contact.
[0224] After receiving the indication message, the instant messaging application may obtain the above-mentioned second configuration file stored in the instant messaging application cloud server. Furthermore, the identification information of the incoming user may be matched with the identification information of each user in the second configuration file. When the identification information of the incoming user matches any user identification information in the second configuration file, the instant messaging application may determine that the incoming user is the target contact. At this time, the instant messaging application may send a second response message to the notification center module, and the second response message may be used to indicate that the incoming user is the target user. On the contrary, when it is determined that the identification information of the incoming user does not match any user identification information in the second configuration file, the instant messaging application may determine that the incoming user is not the target contact. At this time, the instant messaging application may send a third response message to the notification center module, and the third response message may be used to indicate that the incoming user is not the target user.
[0225] Furthermore, when the notification center module receives the second response message, it may instruct the audio unit and the motor to generate the first prompt message; on the contrary, when the notification center module receives the third response message, it may determine not to generate the first prompt message, not to respond to the third response message, and the notification center module takes no action.
[0226] In the above scheme, the process of the method can be implemented together based on the linkage and cooperation between the terminal device system side and the instant messaging application cloud server side.
[0227] In another embodiment of the present application, alternatively, the above method process can also be executed by an instant messaging application.
[0228] For example, the switch state of the instant messaging application incoming call reminder function can be set by the instant messaging application providing a setting interface. Based on this, when the instant messaging application of the terminal device receives an incoming call from the instant messaging application, the switch state of the instant messaging application incoming call reminder function can be detected. When it is determined that the instant messaging application incoming call reminder function is in the on state, the second configuration file stored in the instant messaging application cloud server can be obtained, and the identification information of the incoming call user can be matched with the identification information of each user in the second configuration file.
[0229] When the identification information of the incoming caller matches any user identification information in the second configuration file, the instant messaging application can determine that the incoming caller is the target contact. At this time, the instant messaging application can send instruction information to the audio unit and the motor to instruct the generation of the first prompt information. On the contrary, when it is determined that the identification information of the incoming caller does not match any user identification information in the second configuration file, the instant messaging application can determine that there is no need to generate the first prompt information.
[0230] Alternatively, in another implementation, when the instant messaging application determines that the incoming caller is the target contact, a notification message may be sent to the notification center module so that the notification center module determines that the incoming caller is the target contact. Furthermore, the notification center module may send instruction information to the audio unit and the motor to instruct the generation of the first prompt information.
[0231] Fig.17 is another schematic flow chart of the calling method provided in the embodiment of the present application, such as Fig.17 As shown, based on the above embodiments, after the modem detects the second incoming call and before intercepting the second incoming call, the call method provided in the embodiment of the present application further includes:
[0232] 601, the modem detects a second incoming call.
[0233] 602, the modem determines whether the calling user of the second incoming call is the user to be intercepted. If yes, execute step 603; otherwise, execute step 604.
[0234] 603, the modem intercepts the second incoming call.
[0235] 604, the modem responds normally to the second incoming call.
[0236] Based on the above embodiments, when the terminal device sends a first prompt message and the user answers a new instant messaging application call in response to the first prompt message, the current instant messaging application call can be considered an important call for the user. Therefore, to ensure that the call is not interrupted, the modem can automatically intercept subsequent cellular calls.
[0237] However, blindly intercepting all cellular calls may cause the user to miss calls from more important contacts. Therefore, in the embodiment of the present application, the user can set the third configuration file in advance. Specifically, the first application of the terminal device can provide a corresponding configuration interface, and then the user can configure the user to be intercepted in the configuration interface provided by the first application, thereby generating the third configuration file.
[0238] In one possible implementation, the third configuration file may include a whitelist user list; or, in another possible implementation, the third configuration file may include a blacklist user list. It can be understood that the whitelist user list is a list of users who do not need to intercept calls, and the blacklist user list is a list of users to be intercepted.
[0239] In an embodiment of the present application, the modem may receive the above-mentioned third configuration file sent by the application processor (AP) side of the first electronic device. In one possible implementation, the AP side may send the third configuration file to the modem for storage after the third configuration file is generated. Alternatively, in another possible implementation, the AP side may send the third configuration file to the modem for storage in response to the modem starting the call interception function according to the received instruction. Alternatively, in another possible implementation, the AP side may send the third configuration file to the modem for storage in response to the modem detecting a new cellular call.
[0240] Based on the above description, when the modem detects a new cellular call, the modem can confirm the caller of the incoming call and further determine whether the caller of the incoming call is a user to be intercepted based on the third configuration file.
[0241] In one possible implementation, the third configuration file includes a whitelist user list. In this case, when it is detected that the third configuration file does not contain the calling user information, the calling user can be determined as a user to be intercepted. In another possible implementation, the third configuration file includes a blacklist user list. In this case, when it is detected that the third configuration file contains the calling user information, the calling user can be determined as a user to be intercepted.
[0242] When it is determined that the calling user of the latest incoming call is the user to be intercepted, the modem can intercept the incoming call, thereby maintaining the ongoing instant messaging application call.
[0243] When it is determined that the calling user of the latest incoming call is not the user to be intercepted, the modem can respond to the incoming call normally to connect the incoming call normally, thereby preventing the user from missing the incoming call of an important contact during a call in the instant messaging application.
[0244] Through the above implementation scheme, after the user chooses to answer a call from an instant messaging application, on the one hand, the newly received cellular calls can be intercepted from the bottom layer to prevent the current call from being interrupted; at the same time, based on the user's pre-configured list, the calls of whitelist users can be retained, thereby preventing the user from missing calls from important contacts and providing a better user experience.
[0245] It is understandable that, in order to implement the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments.
[0246] In this embodiment, the electronic device can be divided into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0247] An embodiment of the present application also provides an electronic device, which includes a storage medium and a central processing unit. The storage medium may be a non-volatile storage medium, in which a computer executable program is stored. The central processing unit is connected to the non-volatile storage medium and executes the computer executable program to implement the above-mentioned call method.
[0248] The embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a computer, the computer executes each step of the call method of the embodiment of the present application.
[0249] The embodiment of the present application also provides a computer program product containing instructions. When the computer program product is run on a computer or any at least one processor, it enables the computer to execute each step of the call method of the embodiment of the present application.
[0250] An embodiment of the present application also provides a chip, including a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface to execute corresponding operations and / or processes performed by the call method provided in the present application.
[0251] Optionally, the chip also includes a memory, which is connected to the processor via a circuit or wire, and the processor is used to read and execute the computer program in the memory. Further optionally, the chip also includes a communication interface, and the processor is connected to the communication interface. The communication interface is used to receive data and / or information to be processed, and the processor obtains the data and / or information from the communication interface and processes the data and / or information. The communication interface can be an input and output interface.
[0252] The memory can be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or it can also be any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer.
[0253] In the embodiments of the present application, "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0254] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0255] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0256] In several embodiments provided in the present application, any function can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0257] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for making a call, characterized in that: include: During the first call establishment process and the first call process, a first incoming call is detected, the first incoming call is initiated by an instant messaging application, and the first call is a cellular call; Generate a first prompt message, the first prompt message including one or more of a vibration prompt message, a sound prompt message, and a text prompt message displayed in a first pop-up window, the text prompt message is used to indicate that the first incoming call has been received, and the first pop-up window is closed in response to a received close instruction.
2. The method according to claim 1, characterized in that After the first call is established and the first incoming call is detected during the first call, the method further includes: A first control is displayed, where the first control is used to display a second prompt message, where the second prompt message is used to indicate that the first incoming call has been received; and the first control is closed automatically after the display time exceeds a set threshold.
3. The method according to claim 1, characterized in that Before generating the first prompt information, the method further includes: It is determined that an incoming call prompt function of an instant messaging application is in an enabled state, wherein the incoming call prompt function of the instant messaging application is used to indicate whether to generate the first prompt information after the first incoming call is detected.
4. The method according to claim 3, characterized in that Before generating the first prompt information, the method further includes: Acquire a first configuration file, where the first configuration file includes at least one application identification information; It is determined that the at least one application identification information includes identification information of the instant messaging application.
5. The method according to claim 3 or 4, characterized in that: Before generating the first prompt information, the method further includes: Acquire a second configuration file, where the second configuration file includes at least one contact identification information; It is determined that the at least one contact identification information includes the calling user identification information of the first incoming call.
6. The method according to claim 1, characterized in that Before generating the first prompt information, the method further includes: Reject the first incoming call.
7. The method according to claim 2, characterized in that The first control includes a first sub-control, and the first sub-control is used for answering a call; the method further includes: In response to the triggering operation on the first sub-control, a second call is established.
8. The method according to claim 7, characterized in that The method further comprises: After establishing the second call, the first call is maintained.
9. The method according to claim 7, characterized in that: The method further comprises: After establishing the second call, controlling the first call to hang up.
10. The method according to claim 8, characterized in that The method further comprises: After the second call is established, granting the audio focus to the second call; or, After the second call is established and the first call is maintained, the audio focus is granted to the second call.
11. The method according to any one of claims 7 to 10, characterized in that: After establishing the second call, the method further includes: Enable the call blocking function, which is used to block incoming cellular calls; After the incoming call interception function is turned on, a second incoming call is detected and intercepted, and the second incoming call is a cellular call.
12. The method according to claim 11, characterized in that Before intercepting the second incoming call, the method further includes: Obtaining a third configuration file, wherein the third configuration file includes at least one user identification information to be intercepted; It is determined that the at least one user identification information to be intercepted includes the calling user identification information of the second incoming call.
13. The method according to claim 12, characterized in that The method further comprises: When the second call ends, the call interception function is turned off.
14. An electronic device, characterized in that: include: Cellular call application, instant messaging application, notification center module, audio unit, motor; also includes: A display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the device, cause the device to perform the following steps: The instant messaging application detects a first incoming call during the first call establishment process and the first call process, the first incoming call is an incoming call initiated by the instant messaging application, and the first call is a cellular call; The notification center module controls the generation of a first prompt message, including: the notification center module executes one or more of the following: controls the audio unit to generate sound prompt messages, controls the motor to generate vibration prompt messages, the notification center module controls the display of a first pop-up window, and displays text prompt messages in the first pop-up window, the text prompt messages are used to indicate that the first incoming call has been received, and the first pop-up window is closed in response to a received close instruction.
15. The device according to claim 14, characterized in that Before the notification center module controls the generation of the first prompt information, when the instruction is executed by the device, the device specifically performs the following steps: The notification center module controls the display of a first control, the first control is used to display a second prompt message, the second prompt message is used to indicate that the first incoming call has been received; the first control is closed automatically after the display time exceeds a set threshold.
16. The device according to claim 14, characterized in that Before the notification center module controls the generation of the first prompt information, when the instruction is executed by the device, the device specifically performs the following steps: The notification center module determines that an instant messaging application incoming call prompt function is in an enabled state, and the instant messaging application incoming call prompt function is used to indicate whether to generate the first prompt information after detecting the first incoming call.
17. The device according to claim 16, characterized in that Before the notification center module controls the generation of the first prompt information, when the instruction is executed by the device, the device specifically performs the following steps: The notification center module obtains a first configuration file, where the first configuration file includes at least one application identification information; The notification center module determines that the at least one application identification information includes identification information of the instant messaging application.
18. The device according to claim 16 or 17, characterized in that Before the notification center module controls the generation of the first prompt information, when the instruction is executed by the device, the device specifically performs the following steps: The notification center module obtains a second configuration file, where the second configuration file includes at least one contact identification information; The notification center module determines that the at least one contact identification information includes the calling user identification information of the first incoming call.
19. The device according to claim 14, characterized in that Before the notification center module controls the generation of the first prompt information, when the instruction is executed by the device, the device specifically performs the following steps: The instant messaging application rejects the first incoming call.
20. The device according to claim 15, characterized in that The first control includes a first sub-control, and the first sub-control is used for answering a call; when the instruction is executed by the device, the device specifically performs the following steps: The instant messaging application establishes a second call in response to the triggering operation on the first sub-control.
21. The device according to claim 20, characterized in that When the instruction is executed by the device, the device specifically performs the following steps: After establishing the second call, the notification center module controls the first call to be held.
22. The device according to claim 20, characterized in that When the instruction is executed by the device, the device specifically performs the following steps: After establishing the second call, the notification center module controls the first call to be hung up.
23. The device according to claim 21, characterized in that When the instruction is executed by the device, the device specifically performs the following steps: After the second call is established, the notification center module controls to grant the audio focus to the second call; or, After the second call is established and the first call is controlled to be held, the notification center module controls the granting of audio focus to the second call.
24. The device according to any one of claims 20 to 23, characterized in that The electronic device further comprises a modem; after the second call is established, when the instruction is executed by the device, the device specifically performs the following steps: The notification center module controls the modem to enable a call interception function, where the call interception function is used to implement cellular call interception; After the incoming call interception function is enabled, the modem detects a second incoming call and intercepts the second incoming call, where the second incoming call is a cellular call.
25. The device according to claim 24, characterized in that Before the modem intercepts the second incoming call, when the instruction is executed by the device, the device specifically performs the following steps: The modem obtains a third configuration file, wherein the third configuration file includes at least one user identification information to be intercepted; The modem determines that the at least one user identification information to be intercepted includes the calling user identification information of the second incoming call.
26. The device according to claim 25, characterized in that When the instruction is executed by the device, the device specifically performs the following steps: When the second call ends, the notification center module controls the modem to turn off the incoming call interception function.
27. A chip, characterized in that: The chip includes a processor and a data interface, and the processor reads instructions stored in a memory through the data interface to execute the method as described in any one of claims 1 to 13.
28. A storage medium, characterized in that: The storage medium stores program instructions, which, when executed on an electronic device, enable the electronic device to execute the method as claimed in any one of claims 1 to 13.
Citation Information
Patent Citations
Anti-disturbance method and apparatus
CN104066067A
Incoming call reminding method and device, computer device and computer readable storage medium
CN107911552A
Instant messaging reminding method, device and system
CN112235178A
Electronic equipment, information display method thereof and medium
CN114968001A