Information processing method, communication system, chip system and storage medium

By storing and managing the phone numbers of unanswered calls in smart devices and performing callback processing under user instructions, the problem of smart watches being unable to call back unanswered calls is solved and effective processing of unanswered calls is achieved. .

CN117376469BActive Publication Date: 2024-09-17HONOR DEVICE CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202311138372.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-31
Publication Date
2024-09-17
Estimated Expiration
2043-08-31

AI Technical Summary

Technical Problem

In the existing technology, smart watches cannot perform callback processing for unconnected incoming calls based on mobile phones, resulting in the inability to complete the callback processing for unconnected incoming calls.

Method used

By storing the phone number of the unanswered call in the smart device and sending a callback instruction to the corresponding device under the user's instruction, the callback processing of the unanswered call is realized. The specific method includes receiving an incoming call request message, storing the incoming call number, not updating the history record after receiving the missed call indication, and sending a callback instruction after user operation to obtain and use the stored number for callback.

Benefits of technology

It is realized that when a smart watch receives an unanswered call, it can obtain the phone number from the history record and perform callback processing, which solves the problem of the smart watch being unable to call back the unanswered call.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117376469B
    Figure CN117376469B
Patent Text Reader

Abstract

The embodiment of the present application discloses an information processing method and an electronic device, which relates to the technical field of electronic devices and can realize callback processing of missed calls through electronic devices. The specific scheme is: when the first call is not connected, the first number is stored in the first historical record. A first missed call indication is received, and the first missed call indication is used to indicate that the first call is not connected. In the case where the first missed call indication is transmitted through a preset service, after receiving the first missed call indication, the first historical record is not updated. The first missed call indication does not include the first number. Receive the user's operation on the first control. The first control is a control that indicates that the first call is not connected. In response to the first operation, a first callback indication is sent to the second device, the first callback indication includes the first number obtained from the first historical record, and the first callback indication is used to instruct the second device to call back according to the first number.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of electronic devices, and in particular, to an information processing method and an electronic device. Background Art

[0002] Currently, a mobile phone can establish a communication connection with a smart watch (hereinafter referred to as a watch) for data transmission.

[0003] For example, the communication connection may be a Bluetooth connection based on the Bluetooth protocol, wherein the service type of the Bluetooth connection in the mobile phone is Apple Notification Center Service (ANCS).

[0004] Exemplarily, based on the Bluetooth connection, the watch can handle calls made based on the mobile phone. The calls can include incoming calls and outgoing calls. For example, the watch can answer or reject calls made based on the mobile phone under the user's instructions.

[0005] In some implementations, the watch can also call back the missed calls received by the mobile phone. A missed call is a call that is answered or rejected. The call back process corresponds to calling the phone number of the missed call based on the mobile phone. In this implementation, the mobile phone pre-stores the contact information (such as the contact name, etc.) and phone number of the missed call. In this case, the watch cannot call back the missed call based on the mobile phone. Summary of the invention

[0006] The embodiment of the present application provides an information processing method and an electronic device, wherein the electronic device is a first device. The first device always stores the phone number of the unanswered call. When the first device instructs another electronic device (such as a second device) to call back the unanswered call, the phone number of the unanswered call can be obtained.

[0007] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:

[0008] In a first aspect, an information processing method is provided, which is applied to a first device, wherein a communication connection is established between the first device and a second device. The first device is provided with a display screen. The method comprises: receiving a first call request message, wherein the first call request message is used to indicate a first incoming call, and the first call request message includes a first number of the first incoming call. In the case where the first call is not connected, the first number is stored in a first history record. A first missed call indication is received, wherein the first missed call indication is used to indicate that the first incoming call is not connected. In the case where the first missed call indication is transmitted through a preset service, after the first missed call indication is received, the first history record is not updated. The first missed call indication does not include the first number. A first operation of a user is received, wherein the first operation is an operation on a first control. The first control is a control displayed on the display screen indicating that the first incoming call is not connected. In response to the first operation, a first callback indication is sent to the second device, wherein the first callback indication includes the first number obtained from the first history record, and the first callback indication is used to instruct the second device to dial back a phone number according to the first number.

[0009] Based on the above scheme, when the second device receives the first incoming call, it can send a first call request to the first device to indicate the first incoming call. When the first incoming call is missed, the first device can store the phone number of the first incoming call in the first historical record. When the service type of the Bluetooth connection used in the second device is a preset service type, the first device does not update the first historical record after receiving the first missed call indication. That is to say, after receiving the first missed call indication, the first number is still stored in the first historical record. In this way, the first device can subsequently obtain the first number from the first historical record and send the first number to the second device. This allows the second device to call back the first incoming call based on the first number.

[0010] Optionally, the second device stores the first number of the first incoming call and the first contact information corresponding to the first incoming call. In the present application, the second device stores the phone number of the first incoming call and the first contact information corresponding to the first incoming call. The first contact information may be the name of the first contact, etc. In this case, the first missed call indication received by the first device and transmitted through the preset service does not include the phone number of the first incoming call, that is, the first number.

[0011] Optionally, storing the first number in the first history record includes: receiving a second missed call indication, the second missed call indication being used to indicate that the first call was not connected. In response to the second missed call indication, storing the first number in the first history record. Based on the above scheme, the first device may store the first number in the first history record when receiving the second missed call indication. This allows the first device to subsequently obtain the first number of the first call from the first history record.

[0012] Optionally, after receiving the first call request message, the method further includes: storing the first number of the first incoming call indicated by the first call request message in an incoming call variable, the incoming call variable being used to store the number of the current incoming call. In response to the second missed call indication, storing the first number in the first history record includes: storing the first number from the incoming call variable to the first history variable, the first history variable being one of the one or more variables included in the first history record, each variable in the first history record being used to store a phone number of an incoming call.

[0013] Based on the above solution, when the first device receives the first call request message, it can save the first number included in the first call request message in the incoming call variable. The first device stores the first number in the incoming call variable in the first history variable, thereby storing the first number in the first history record.

[0014] Optionally, before storing the first number from the incoming call variable to the first historical variable, the method further includes: storing the first number from the incoming call variable to a first missed call variable. The first missed call variable is used to store the phone number of the unanswered call. Storing the first number from the incoming call variable to the first historical variable includes: storing the first number from the first missed call variable to the first historical variable. In the above scheme, the first device stores the first number from the incoming call variable to the first missed call variable. The first number stored in the first historical variable may be obtained from the first missed call variable.

[0015] Optionally, after receiving the first missed call indication and before updating the first historical record, the method further includes: determining that the service type used by the second device when receiving the first missed call indication is the preset service.

[0016] Optionally, the preset service is ANCS.

[0017] In the present application, when the first missed call indication is transmitted via ANCS, the first missed call indication does not include the first number.

[0018] Optionally, before sending a first callback indication to the second device in response to the first operation, the method further includes: acquiring the first number from the first historical variable in response to the first operation.

[0019] Optionally, storing the first number in the first historical record includes: storing the first number and the first identifier of the first incoming call in the first historical record. Before obtaining the first number from the first historical variable, the method further includes: determining callback information according to the first operation. The callback information includes the first identifier. Obtaining the first number from the first historical variable includes: obtaining the first number from the first historical variable according to the first identifier indicated by the callback information.

[0020] In the above scheme, the first incoming call is configured with a first identifier, and the first identifier and the first number are stored in the first historical variable. The first device can determine the first identifier of the first incoming call indicated by the user according to the first operation. The first device can index the first number corresponding to the first identifier from the first historical variable according to the first identifier. Then, the first number is obtained from the first historical variable.

[0021] Optionally, the first missed call variable is missedPhoneNumberInfo. The first history variable is callHistoryInfo.phoneNum.

[0022] Optionally, after receiving the first call request message, the method further includes: the first call request message also includes first contact information corresponding to the first incoming call. Rendering a first interface according to the first number and the first contact information in the first call request message. The first interface is a processing interface for receiving the first call. The first interface includes call information, and the call information corresponds to the first incoming call.

[0023] Optionally, after receiving the first missed call indication, the method further includes: including the first contact information in the first missed call indication. Rendering a second interface according to the first contact information in the first missed call indication. The second interface includes a first notification. The first notification is used to indicate that the first call was not answered.

[0024] Optionally, after sending the first callback instruction to the second device, the method further includes: displaying a third interface. The third interface is a processing interface for dialing the first number.

[0025] In a second aspect, a communication system is provided, the communication system comprising a first device and a second device, the first device and the second device establishing a communication connection. The second device is used to send a first call request message to the first device when a first incoming call is received, the first call request message is used to indicate the first incoming call, and the first call request message includes a first number of the first incoming call. The first device is used to store the first number in a first history record when the first call is not connected. The second device is also used to send a first missed call indication to the first device through a preset service, the first missed call indication is used to indicate that the first incoming call is not connected. The first missed call indication does not include the first number. The first device is also used to not update the first history record when the first missed call indication is received. The first device is also used to receive a first operation of a user, the first operation is an operation on a first control. The first control is a control displayed on a display screen indicating that the first incoming call is not connected. The first device is also used to send a first call back indication to the second device in response to the first operation, the first call back indication includes the first number obtained from the first history record. The second device is further configured to use the first number to make a call back according to the first call back instruction.

[0026] Optionally, the first device stores the first number in a first history record, comprising: the first device receives a second missed call indication, the second missed call indication is used to indicate that the first call is not connected. The first device stores the first number in the first history record in response to the second missed call indication.

[0027] Optionally, after the first device receives the first call request message, the method further includes: the first device stores the first number of the first incoming call indicated by the first call request message in an incoming call variable, and the incoming call variable is used to store the number of the current incoming call. In response to the second missed call indication, the first device stores the first number in the first history record, including: the first device stores the first number from the incoming call variable to the first history variable, the first history variable is one of one or more variables included in the first history record, and each variable in the first history record is used to store a phone number of an incoming call.

[0028] In a third aspect, a chip system is provided, which is applied to a first device. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line. The interface circuit is used to receive a signal from the memory of the first device and send the signal to the processor, where the signal includes a computer instruction stored in the memory. When the processor executes the computer instruction, the first device executes the information processing method provided in the first aspect and any possible implementation thereof.

[0029] In a fourth aspect, a computer-readable storage medium is provided, which is applied to a first device and includes computer instructions, which, when executed on the first device, enable the first device to execute the information processing method provided in the first aspect and any possible implementation thereof.

[0030] In a fifth aspect, a computer program product is provided. When the computer program product runs on a computer, it enables the computer to execute the information processing method performed by the first electronic device in the above-mentioned first aspect and any possible implementation thereof.

[0031] It can be understood that the solutions provided in the second aspect to the fifth aspect of the present application can respectively correspond to the first aspect and any possible design thereof, so the beneficial effects that can be achieved are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 This is a schematic diagram of the interaction between a mobile phone and a watch;

[0033] Figure 2 This is another schematic diagram of the interaction between a mobile phone and a watch;

[0034] Figure 3 A schematic diagram of an interface;

[0035] Figure 4 This is another interface schematic diagram;

[0036] Figure 5 A schematic diagram of the composition of an electronic device provided in an embodiment of the present application;

[0037] Figure 6 An interactive schematic diagram of an information processing method provided in an embodiment of the present application;

[0038] Figure 7 A schematic diagram of an interface provided in an embodiment of the present application;

[0039] Figure 8 An interactive schematic diagram of another information processing method provided in an embodiment of the present application;

[0040] Fig. 9 Another interface schematic diagram provided for an embodiment of the present application;

[0041] Fig.10 A schematic diagram of another electronic device provided in an embodiment of the present application;

[0042] Fig.11 A schematic diagram of the composition of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

[0044] Currently, users can use multiple electronic devices at the same time to obtain different smart service experiences through different electronic devices.

[0045] Exemplarily, the multiple electronic devices may include mobile phones, smart watches, etc.

[0046] refer to Figure 1 In some embodiments, the mobile phone can establish a communication connection with a smart watch (hereinafter referred to as a watch) for data transmission. For example, the communication connection can be a Bluetooth connection based on the Bluetooth protocol.

[0047] Based on the Bluetooth connection, the watch can process a call request based on the mobile phone. The call request may include an incoming call request and an outgoing call request. The incoming call request corresponds to a call request received by the mobile phone from the calling user. The outgoing call request corresponds to a call request sent by the mobile phone to the called user.

[0048] It should be noted that, in the present embodiment, the call made by the mobile phone is a call based on a subscriber identity module (SIM) card or an embedded subscriber identity module (ESIM) card.

[0049] For example, taking the case where a mobile phone receives an incoming call request, refer to Figure 2 The mobile phone has pre-stored the phone number of contact A, such as number A. When the mobile phone receives a call request from contact A, it may display interface 201 accordingly. Interface 201 may include the name of the contact (contact A), etc. The incoming call from contact A is referred to as incoming call 1 hereinafter.

[0050] Based on the Bluetooth connection, when the mobile phone receives the call request of the incoming call 1, it can synchronize the contact information corresponding to the incoming call 1 to the watch. Among them, the contact information may include the contact name (contact A) and the phone number (number A).

[0051] After receiving the call request information, the watch displays interface 202. Interface 202 may include the contact name (contact A), control 1, and control 2. Control 1 is used to provide the user with a function of rejecting the current incoming call, and control 2 is used to provide the user with a function of answering the current incoming call.

[0052] It is understandable that in some implementations, within a preset time, the mobile phone does not detect that the user inputs operation 1 and operation 2 in interface 201. Operation 1 is used to instruct the mobile phone to answer the current incoming call. Operation 2 is used to instruct the mobile phone to reject the current incoming call. At the same time, the watch does not detect that the user inputs operation 3 and operation 4 in interface 202. Operation 3 instructs the watch to answer the current incoming call based on the mobile phone. Operation 4 instructs the watch to reject the current incoming call based on the mobile phone. Among them, operation 3 can be a click operation on control 2, and operation 4 can be a click operation on control 1.

[0053] In another implementation, taking mobile phone 1 as an example, the call request of incoming call 1 received by mobile phone 1 is sent by another call device (such as mobile phone 2). Before mobile phone 1 performs rejection / answering processing on incoming call 1, mobile phone 2 performs hang-up processing on incoming call 1 under the instruction of the user. The hang-up processing corresponds to the call request of incoming call 1 sent by mobile phone 2 to mobile phone 1 being stopped.

[0054] In the above two implementations, the mobile phone (or mobile phone 1) will automatically hang up the current incoming call 1. That is, the incoming call 1 is not connected.

[0055] In some embodiments, a call record application is installed in the watch, and the call record application is used to store a history record of calls made based on the mobile phone. The history record may include at least one of an incoming call record and an outgoing call record.

[0056] After the aforementioned incoming call 1 is not connected, a corresponding history record 1 is stored in the call record application, and the history record 1 corresponds to the incoming call 1.

[0057] Exemplary, reference Figure 3 The main interface 301 of the watch may include a control 302 of a call record application. The user may input an operation 303 to the control 302 to instruct the watch to run the call record application. The operation 303 may be a click operation on the control 302.

[0058] refer to Figure 4 In response to operation 303, the watch may run a call record application. In addition, the watch may also switch an interface 401 of the call record.

[0059] like Figure 4As shown, on interface 401, the watch can show the user the call records stored in the call record application. As shown in interface 401, the call record includes history record 1. History record 1 can show the user the name of the contact corresponding to the incoming call 1 (contact A), the time when the mobile phone received the incoming call 1, etc.

[0060] In some embodiments, based on the Bluetooth connection, the user can input operation 403 to control 402 to instruct the watch to perform a call back process for incoming call 1 based on the mobile phone. The call back process corresponds to calling back the number A corresponding to contact A. The operation 403 can be a click operation on control 402.

[0061] In some implementations, after receiving the user's operation 403, the watch cannot process the incoming call 1 based on the mobile phone. That is, the watch fails to process the incoming call 1 based on the mobile phone. In this implementation, the service type of the Bluetooth connection in the mobile phone is ANCS. Through ANCS, the mobile phone can transmit and send data to and from the watch.

[0062] In order to solve the above technical problems, the embodiments of the present application provide an information processing method and an electronic device. Based on the Bluetooth connection, for an unanswered call, the watch stores the phone number of the unanswered call in a first history variable. When the watch calls back the unanswered call based on the mobile phone, the phone number can be obtained from the first history variable and sent to the mobile phone. The watch calls the phone number based on the mobile phone and completes the call back processing of the unanswered call.

[0063] The solution provided in the embodiments of the present application can be applied to the user's electronic device. Exemplarily, in some embodiments, the electronic device may include a wearable device such as a smart watch or a smart bracelet. In other embodiments, the electronic device may also include an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a vehicle-mounted device, a smart home device, and other portable electronic devices.

[0064] In the specific implementation process, the electronic device can exchange information with the call device based on Bluetooth connection, and the call device supports the function of system call. The system call is a call based on a SIM card or an ESIM card.

[0065] In an embodiment of the present application, an electronic device may process a call task based on a call device (such as a user's mobile phone). The call task may include an incoming call and an outgoing call. In an incoming call, the call device receives a call request from a calling user as a called user. In an outgoing call, the call device sends a call request to the called user as a calling user. The processing operation may include at least one of answering an incoming call, rejecting an incoming call, hanging up a call, and dialing back a call.

[0066] For example, combined with Figure 2 In the description, the electronic device is a smart watch and the call task is an incoming call. Figure 2 After receiving the call request of the incoming call 1 shown in , the user can answer the incoming call through the control 2 in the interface 202, or reject the incoming call through the control 1 in the interface 202.

[0067] In different embodiments, the electronic device may have different compositions.

[0068] As an example, refer to Figure 5 , is a schematic diagram of the software composition of an electronic device provided in an embodiment of the present application.

[0069] like Figure 5 As shown, in this example, the software composition of the electronic device may have a multi-layer structure. The layers communicate with each other through software interfaces. Different layers may include one or more functional modules. The functional modules in multiple layers may be used to cooperate to implement one or more functions of the electronic device.

[0070] It is understood that an operating system may be run in the electronic device. For example, the operating system may be based on For example, the operating system may be a micro operating system customized for a wearable electronic device or a portable electronic device.

[0071] The operating system running in the electronic device can provide the processing capabilities of the kernel. For example, the operating system can provide storage, tasks, data transmission in the bus (such as inter-process communication (IPC)), task interruption and other capabilities.

[0072] like Figure 5 The configuration and operation of the software in each layer shown can be implemented based on the operating environment provided by the operating system running in the electronic device.

[0073] like Figure 5As shown, in this example, the electronic device may include an application layer, a framework layer, an algorithm and internal library, a hardware abstraction layer, and a hardware driver layer.

[0074] Among them, the application layer may include a series of application packages. Take the electronic device as a watch as an example. As an example, the application layer of the watch may include application packages for watch management such as device management, OTA upgrade, and dial management. The application layer may also include map applications, music applications, navigation applications and other functional applications provided by third-party developers. The application layer may also include communication applications such as information, call records, and calls. The application layer may also include applications such as mobile phone positioning, voice assistants, and personal affairs centers that support interconnection and interoperability with other devices. The application layer may also include other functional applications such as sports health, wallet applications, and manufacturing.

[0075] It is understandable that if Figure 5 The configuration in the application layer shown is only an example. In other implementations, the application layer in the electronic device may include more or fewer application programs, so as to support various functions of the electronic device through different application programs.

[0076] In such Figure 5 In the example of FIG. 1 , the call application and the call recording application can implement management of incoming calls and / or outgoing calls based on the call device.

[0077] For example, combined with Figure 4 In the description, the call record application stores at least one of the incoming call record and the outgoing call record based on the call device. The electronic device can use the call record application to call back the phone number in the call record based on the call device.

[0078] like Figure 5 As shown, below the application layer may be a framework layer, which may also be called a framework layer.

[0079] The framework layer provides application programming interface (API) and programming framework for the application programs in the application layer. The application framework layer includes some predefined functions.

[0080] In this example, the framework layer can provide meta-capability cross-platform execution environment (ACE), user interface (UI) framework, system basic service capabilities, underlying software service capabilities, sports health service capabilities, hardware service capabilities, etc. Each framework and capability can correspond to an entity or logic module in the framework layer.

[0081] The ACE UI framework may include an ACE application development framework. The ACE application development framework may provide a variety of application development logics to facilitate the development of software development and design by development designers in the ACE application development framework. The ACE UI framework may also include a UI tool (UI kit). The UI tool may provide image rendering processing capabilities. In some embodiments, the UI tool may be used to execute image rendering instructions indicated by an application program in the application layer.

[0082] For example, after parsing the received dial data file, the dial management can obtain specific parameters of each element in the dial and image data of each element based on the parsed processing, and instruct the electronic device to render the dial image through the UI kit.

[0083] In some other embodiments, the ACE UI framework may further include a touchGFX framework. As a graphical user interface (GUI) framework, the touchGFX framework can execute image rendering instructions issued by an application independently or in conjunction with a UI tool.

[0084] The basic service capabilities of the system may include communication services and audio services. Among them, communication services may include message services, call services, interconnection services, contact services, etc. Audio services may include music playback services, audio management services, voice broadcast services, music control services, etc.

[0085] The underlying software service capabilities can include basic services, manufacturing, and device management. Basic services can provide log services, file systems, NV management, exception logging, dual-machine communication, memory management, and other capabilities. Manufacturing can include manufacturing-related functions. For example, production services, aging services, etc. Device management can include device control, display management, Bluetooth management, etc.

[0086] Sports health service capabilities may include sports services and health services. Sports services may include exercise services, daily activity services, data storage and synchronization services, training status assessment services, etc. Health services may include heart rate services, sleep services, breathing services, heart health services, etc.

[0087] Hardware service capabilities may include various service support capabilities. For example, hardware service capabilities may include positioning services, Bluetooth / Bluetooth low energy (BLE) services, Near Field Communication (NFC) services, and other capabilities.

[0088] The framework layer may include algorithms and internal libraries, which may include multiple functional functions and interfaces, and the framework layer implements corresponding functions by calling the multiple functional functions and interfaces.

[0089] Exemplarily, the algorithm and internal library may include an algorithm library and a basic library. The algorithm library may include algorithm functions related to liveness detection, algorithm functions related to gestures, etc. The basic library may include algorithm functions related to barcodes, basic C libraries, etc.

[0090] In this example, the algorithm and the internal library may also include a communication protocol stack. The communication protocol stack may include various protocol data for supporting the communication capability of the device. For example, the communication protocol stack may include a Bluetooth protocol stack, a BLE protocol stack, etc.

[0091] The hardware abstraction layer is also called the Hardware Abstract Layer, or HAL layer for short. The HAL layer can include one or more abstract modules of entity components. The application can call the corresponding entity component and obtain data by issuing instructions to the abstract module in the entity component.

[0092] Exemplarily, in this example, the hardware abstraction layer may include software abstract modules for physical components such as board support package (BSP), NFC, motor, liquid crystal display (LCD), Bluetooth, flash, touch panel (TP), etc. The hardware abstraction layer may also include hardware abstract modules corresponding to sensor components provided in the electronic device. For example, hardware abstract modules corresponding to acceleration sensors, gyroscope sensors, etc. The hardware abstraction layer may also include an interrupt module.

[0093] In such Figure 5 In the example, the electronic device may also include a hardware driver layer. The hardware driver layer may also be referred to as a driver layer. The hardware driver layer may include drivers for one or more hardware components. When an application needs to call a hardware component set in an electronic device, an instruction may be sent to a driver module set in the corresponding hardware driver layer, so that the driver module converts the software instruction into an instruction that can be directly transmitted to the hardware component, thereby realizing control and data transmission of the hardware component.

[0094] Exemplarily, the hardware driver layer may include a BSP driver, an LCD driver, a TP driver, a flash driver, a Motor driver, a Bluetooth driver, a sensor driver, and the like.

[0095] It should be noted that the application layer can communicate with the framework layer by calling the framework API. The framework layer can also call the corresponding API implementation when it needs to call the algorithm and the internal library function to communicate with the kernel layer or the hardware abstraction layer. For example, the API for calling the kernel layer may include CMSIS API, and the HAI API may be used when calling HAL.

[0096] Combination Figure 5 In the example of the electronic device being a watch and the calling device being a mobile phone, in the embodiment of the present application, the watch can call the Bluetooth / BLE module in the framework layer to establish a Bluetooth connection with the mobile phone. After the Bluetooth connection is established, the calling application and the call record application in the watch can exchange information and transmit data with the calling device through the Bluetooth connection.

[0097] It should be noted that the above Figure 5 The description and examples do not constitute a limitation on the electronic device involved in this application. In other embodiments, the electronic device may also have more or less hardware or software components. The embodiments of this application do not limit the specific components of the electronic device.

[0098] The solution provided in the embodiments of the present application can be applied to Figure 5 In the electronic device shown.

[0099] In the following description, the solution provided in the embodiment of the present application is described by taking the electronic device as a watch and the calling device as a mobile phone as an example.

[0100] In an embodiment of the present application, based on the Bluetooth connection between the mobile phone and the watch, when the mobile phone receives an incoming call request, the contact information in the incoming call request can be saved in the watch. The contact information includes the contact name and phone number. This allows the watch to subsequently process the current incoming call request under the user's instructions. For example, the watch can answer the call, reject the call, and call back any one of the processes under the user's instructions. The call back is performed after the incoming call is hung up.

[0101] In some embodiments of the present application, the watch may also be referred to as the first device, and the mobile phone may also be referred to as the second device.

[0102] For example, taking a mobile phone receiving an incoming call request as an example, the mobile phone is equipped with a SIM card. The mobile phone can receive an incoming call request sent by other call devices (such as a fixed phone, mobile phone 2, etc.) based on the SIM card.

[0103] In this example, the mobile phone and the watch are connected via Bluetooth. When the mobile phone receives an incoming call request, the contact information in the call request can be sent to the watch based on the Bluetooth connection.

[0104] The following combination Figure 6 , taking the incoming call request received by the mobile phone as a call request from caller 1, and the mobile phone pre-stores the phone number of caller 1 and the contact information corresponding to caller 1 as an example, the method provided in the embodiment of the present application is described in detail.

[0105] In some embodiments of the present application, incoming call 1 may also be referred to as the first incoming call, and the contact information corresponding to incoming call 1 may also be referred to as the first contact information corresponding to incoming call 1.

[0106] like Figure 6 As shown, the program may include:

[0107] S601. The mobile phone sends a first incoming call message to the watch.

[0108] For example, when the mobile phone receives a call request from incoming call 1, the mobile phone can send a first incoming call message to the watch based on the Bluetooth connection between the mobile phone and the watch. The first incoming call message includes the phone number corresponding to incoming call 1, that is, number A. The first incoming call message is used to indicate incoming call 1.

[0109] In some embodiments of the present application, the first incoming call message may also be referred to as a first call request message, and number A may also be referred to as a first number.

[0110] For example, a SIM card is configured in the mobile phone, and the call request of the incoming call 1 is received based on the SIM card. The call request of the incoming call 1 may be sent by other call devices. In addition, the contact information of the incoming call 1 is pre-stored in the mobile phone. The contact information includes the contact name (contact A) and the phone number (number A). Among them, contact A is the name of the contact corresponding to the incoming call 1 stored in the mobile phone.

[0111] In this example, the watch can establish a connection with the mobile phone via Bluetooth. When the mobile phone receives a call request from incoming call 1, it can send a first incoming call message to the watch based on the Bluetooth connection, so that the watch can obtain number A from the first incoming call message.

[0112] In an embodiment of the present application, when the watch receives the first incoming call message, it can continue to execute S602 and subsequent processing.

[0113] S602: After receiving the first incoming call message, the watch stores number A in the first incoming call variable.

[0114] Exemplarily, the first incoming call variable is used to store the phone number of the incoming call currently made based on the mobile phone. The first incoming call variable can be stored in the memory of the watch. After receiving the first incoming call message, the watch can first store the number A in the first incoming call message into the first incoming call variable. The storage of number A is realized so that the watch can obtain number A when processing number A later.

[0115] For example, the first incoming call variable may be incomingCallNumberFromBt. After receiving the first incoming call message, the watch stores the number A in incomingCallNumberFromBt in response to the first incoming call message.

[0116] S603: The watch adds the first incoming call message to the message queue.

[0117] In some embodiments of the present application, in order to ensure the normal operation and processing of other application processes in the watch, the watch can first add the first incoming call message to the message queue to facilitate the subsequent processing of the first incoming call message by the watch.

[0118] S604: After receiving the first interruption information, the watch takes out the first incoming call message from the message queue.

[0119] Exemplarily, the first interruption information is used to instruct the watch to process the first incoming call message. After receiving the first interruption information, the watch can take out the first incoming call message from the message queue and perform the process as S605.

[0120] In an embodiment of the present application, the first interrupt information may be as follows: Figure 5 Sent by the interrupt module in.

[0121] S605: The watch reads the first incoming call variable, and stores the number A in the first incoming call variable into the second incoming call variable.

[0122] Exemplarily, the second incoming call variable is used to identify the incoming call number received by the watch. The watch can obtain the incoming call number, that is, number A, by reading the first incoming call variable, and store the number A in the second incoming call variable.

[0123] For example, in combination with the description in S602, the second incoming call variable may be incomingPhoneNumberInfo. After receiving the interruption information in S604, the watch may obtain number A by reading incomingCallNumberFromBt and store the number A in incomingPhoneNumberInfo.

[0124] Optionally, in some embodiments of the present application, in response to the first incoming call message, the watch may directly execute the operation in S605 to store number A in the second incoming call variable, so that the watch can continue to process number A later.

[0125] For example, after receiving the first incoming call message, the watch responds to the first incoming call message and stores the number A in the first incoming call message into incomingPhoneNumberInfo.

[0126] In some embodiments of the present application, the incoming call variable includes a first incoming call variable and a second incoming call variable.

[0127] In some other embodiments of the present application, after receiving the first incoming call message, the watch can also display the first interface according to the information in the first incoming call message. In this embodiment, the information in the first incoming call message also includes the contact name (Contact A). The first interface can show the user the call information corresponding to the incoming call 1. The call information may include the contact name, etc.

[0128] For example, the watch can display the following information based on the information in the first incoming call message: Figure 2 The interface 202 shown in FIG. The description of the interface 202 can be referred to Figure 2 The instructions in the article are not repeated here.

[0129] It should be noted that, in some other embodiments of the present application, the first incoming call message may also include the location of number A. In response to the first incoming call message, the watch may also display the location of number A and the contact name to the user in the first interface.

[0130] In some embodiments of the present application, taking the first interface as interface 202 as an example, the watch can receive an operation input by the user through interface 202. The watch can send instruction A to the mobile phone through the Bluetooth connection according to the operation input by the user, so that the mobile phone can execute the first processing corresponding to instruction A. Instruction A includes any one of an answering call instruction or a rejecting call instruction. When instruction A includes an answering call instruction, the first processing corresponds to answering the incoming call. When instruction A includes a rejecting call instruction, the first processing corresponds to rejecting the incoming call.

[0131] For example, the operation input by the user is operation 3, and operation 3 instructs the watch to answer the current incoming call 1 based on the mobile phone. According to operation 3, the watch can send an answering call instruction to the mobile phone through the Bluetooth connection. After receiving the answering call instruction, the mobile phone responds to the answering call instruction and answers the current incoming call 1. In this way, the watch can answer the current incoming call based on the mobile phone.

[0132] For another example, the operation input by the user is operation 4, and operation 4 instructs the watch to reject the current incoming call 1 based on the mobile phone. According to operation 4, the watch can send a reject call instruction to the mobile phone through the Bluetooth connection. After the mobile phone receives the reject call instruction, it responds to the reject call instruction and rejects the current incoming call 1. In this way, the watch can reject the current incoming call based on the mobile phone.

[0133] In some embodiments of the present application, the incoming call 1 is not answered, that is, the incoming call 1 is not answered or rejected. After the incoming call 1 is not answered, the mobile phone and the watch can perform the processes such as S606 to S608 to store the record corresponding to the incoming call 1 in the call record application in the watch.

[0134] S606: The mobile phone sends the first missed message to the watch.

[0135] Exemplarily, after the incoming call 1 is not answered, the mobile phone can send a first missed message to the watch. The first missed message is used to indicate that the incoming call 1 is not answered.

[0136] In some embodiments of the present application, the first missed message may also be referred to as a second missed call indication.

[0137] In response to the first missed message, the watch may perform operations such as S607 and S608.

[0138] S607: After receiving the first missed message, the watch reads the second incoming call variable and stores the number A in the second incoming call variable into the first missed call variable.

[0139] In an embodiment of the present application, the first missed call variable is used to store the phone number of the unanswered call. The first missed call variable is stored in the memory of the watch. The unanswered call corresponds to the call that has not been answered or rejected. After receiving the first missed message, the watch can obtain the number A by reading the second call variable and store the number A in the first missed call variable.

[0140] Exemplarily, the first missed call variable is missedPhoneNumberInfo. After reading number A in incomingPhoneNumberInfo, the watch can store number A in missedPhoneNumberInfo.

[0141] S608: The watch reads the first missed call variable, and stores the number A in the first missed call variable into the first historical variable.

[0142] For example, the watch can read number A from the first missed call variable and store number A in the first history variable. The first history variable is stored in the memory of the watch. In this way, when the watch subsequently performs a callback process for the incoming call 1 based on the mobile phone, it can obtain the phone number corresponding to the incoming call 1 from the first history variable.

[0143] For example, the first history variable is callHistoryInfo.phoneNum, and a history cache is configured in callHistoryInfo.phoneNum. The watch can read the missed call cache in missedPhoneNumberInfo, obtain number A, and store number A in the history cache of callHistoryInfo.phoneNum.

[0144] It should be noted that, in an embodiment of the present application, the history cache includes history cache 1, history cache 2, ..., history cache n, where n is greater than 2. The multiple history caches are used to store multiple phone numbers. The multiple phone numbers are phone numbers corresponding to call tasks based on mobile phones. Among them, the call tasks may include incoming calls and outgoing calls. The phone numbers stored in the history cache have a sequence, that is, the earlier the start time corresponding to the call task, the closer the corresponding stored phone number is to the head of the history cache, and the later the start time corresponding to the call task, the closer the corresponding stored phone number is to the tail of the history cache. Among them, the head of the history cache corresponds to history cache 1, and the head of the history cache corresponds to history cache n.

[0145] In addition, when the watch stores a phone number in callHistoryInfo.phoneNum, it can sequentially advance the phone numbers stored in history cache 1 to history cache n, empty history cache 1, and then store the phone number in history cache 1.

[0146] For example, in some implementations, the history cache 1 stores phone numbers corresponding to other call tasks (such as incoming call 2), such as number B. The history caches 2 to n do not store phone numbers.

[0147] Combined with the above description, in this implementation, the watch can obtain number A by reading missedPhoneNumberInfo. Before storing number A in the history cache, the watch can store number B in history cache 1 into history cache 1, empty history cache 1, and then store number A in history cache 1 in callHistoryInfo.phoneNum.

[0148] In another implementation, no phone number is stored in history cache 1 to history cache n. In this implementation, after the watch obtains number A by reading missed call cache 1 in missedPhoneNumberInfo, number A can be directly stored in history cache 1.

[0149] In some other embodiments of the present application, a first identifier is configured corresponding to incoming call 1. The watch can also store the first identifier together with number A in the history cache 1 of callHistoryInfo.phoneNum, so that the watch can subsequently obtain number A from callHistoryInfo.phoneNum according to the first identifier.

[0150] It should be noted that, in the embodiment of the present application, the history record corresponding to the incoming call 1 stored in the call record application corresponds to the first identifier stored in callHistoryInfo.phoneNum.

[0151] For example, the historical record corresponding to call 1 is Figure 4 The history record 1 shown in the interface 401 in the callHistoryIn-fo.phoneNum stores the phone number (number A) and the first identifier of the incoming call 1. The history record 1 shown in the interface 401 corresponds to the first identifier in the history cache 1.

[0152] In some embodiments of the present application, the historical record 1 may also be referred to as the first historical record.

[0153] In some other embodiments of the present application, after operations S606 to S608 are completed, the mobile phone and the watch may continue to perform operations S609 to S613.

[0154] S609: The mobile phone sends a second missed message to the watch.

[0155] In the embodiment of the present application, the second missed message is used to indicate that the incoming call 1 is not connected. After the watch receives the second missed message, in response to the second missed message, the watch can perform operations such as S610 to S613.

[0156] In some embodiments of the present application, the second missed message may also be referred to as a first missed call indication.

[0157] S610: In response to the second missed message, the watch determines whether the service type of the Bluetooth connection used by the mobile phone is ANCS.

[0158] In some embodiments of the present application, the watch determines that the service type of the Bluetooth connection used by the mobile phone is ANCS. When the service type of the Bluetooth connection used by the mobile phone is ANCS, the second missed message may include the name of the contact corresponding to the incoming call 1, that is, contact A. In this case, the watch can perform operations such as those in S613 in response to the second missed call message.

[0159] It should be noted that, in the embodiment of the present application, when the service type of the Bluetooth connection used by the mobile phone is ANCS, the second missed message does not include the telephone number corresponding to the incoming call 1, that is, number A.

[0160] In some other embodiments of the present application, the watch determines that the service type of the Bluetooth connection used by the mobile phone is not ANCS. When the service type of the Bluetooth connection used by the mobile phone is not ANCS, the second missed message may include contact A and number A. In this case, the watch may perform operations such as S611 to S613 in response to the second missed call message.

[0161] S611. The watch stores number A in the first missed call variable.

[0162] For example, the watch may store number A in missedPhoneNumberInfo.

[0163] It should be noted that, in the embodiment of the present application, after number A is stored in missedPhoneNumberInfo, number A will overwrite the data previously stored in missedPhoneNumberInfo.

[0164] S612: The watch reads number A in the first missed call variable, and stores number A in the first history variable.

[0165] For example, the watch can read missedPhoneNumberInfo and obtain number A. Number A is stored in history cache 1 in callHistoryInfo.phoneNum.

[0166] It should be noted that, in the embodiment of the present application, after number A is stored in history cache 1 , number A will overwrite the data previously stored in history cache 1 .

[0167] In the embodiment of the present application, the watch may also execute the operation of S613 in response to the second missed message.

[0168] S613. Obtain second interface information according to the second missed message.

[0169] Exemplarily, the second interface corresponds to a message notification interface for receiving incoming call 1. The second interface information may include a contact name corresponding to incoming call 1.

[0170] Combined with the description in S610, the second missed message may include the contact name of caller 1, that is, contact A. When the watch receives the second missed message, in response to the second missed message, it obtains the contact name of caller 1. The watch may render the second interface according to the information in the second missed message, and display the second interface.

[0171] For example, refer to Figure 7 The second interface may be interface 701. Interface 701 may display the contact name (contact A) of incoming call 1 to the user.

[0172] Through S609 to S613, in response to the second missed message, the watch will execute S613 when it is determined that the service type of the Bluetooth connection used by the mobile phone is ANCS, and will execute S610 to S613 when it is determined that the service type of the Bluetooth connection used by the mobile phone is not ANCS. After the watch receives the second missed message, the number A is still stored in the first history variable.

[0173] In other embodiments of the present application, when the watch receives the second missed message, in response to the second missed message, it can only execute the processing in S613 to obtain the contact name of the incoming call 1 and realize the display of the second interface.

[0174] In combination with the above description, the watch can also, under the user's instruction, call back the incoming call 1 based on the mobile phone, that is, call the phone number corresponding to the incoming call 1 based on the mobile phone.

[0175] For example, according to Figure 4 In the description in the figure, the user can input operation 403 to control 402 in interface 401 to instruct the watch to call back the incoming call 1 based on the mobile phone. After receiving the operation 403, the watch can Figure 8 The processing in enables the mobile phone to call back the incoming call 1 according to the number A in the first historical variable.

[0176] In some embodiments of the present application, operation 403 may also be referred to as a first operation, and control 402 may also be referred to as a first control.

[0177] like Figure 8 As shown, the program may include:

[0178] S801. In response to operation 403, the watch stores number A in the first history variable into the first outgoing call variable.

[0179] For example, after receiving the operation 403, the watch obtains the number A from the first historical variable in response to the operation 403. For the implementation of storing the number A in the first historical variable, please refer to Figure 6 The instructions in the article are not repeated here.

[0180] For example, combined with Figure 4 Operation 403 is an operation performed on the control (control 402) corresponding to the incoming call 1 record. The incoming call 1 record can be stored in the call record application of the watch.

[0181] In combination with the above description, the first identifier is configured corresponding to the incoming call 1, and the first identifier and the number A are both stored in callHistory-Info.phoneNum. For example, the first identifier and the number A are both stored in the history cache 1.

[0182] In this example, in response to operation 403, the watch can determine the identifier of incoming call 1 indicated by the user, that is, the first identifier, according to operation 403. After obtaining the first identifier, the watch can obtain the number A from callHistoryInfo.ph-oneNum according to the first identifier.

[0183] It is understandable that when the watch calls back the incoming call 1 based on the mobile phone, it only needs the phone number corresponding to the incoming call 1.

[0184] Therefore, in other embodiments of the present application, when the watch stores the number A in the first history variable into the first outgoing call variable, the number A stored in callHistoryInfo.phoneNum can be first stored in outgoingPhoneNumberInfo.

[0185] Exemplarily, a plurality of bit storage spaces are configured in the history cache 1. A bit can also be referred to as a bit. The plurality of bit storage spaces are bit0, bit1, ..., bitm in sequence.

[0186] In some implementations, m is greater than 20, and number A can be stored in bit1 to bit20. The watch can store number A stored in bit1 to bit20 in history cache 1 into outgoingPhoneNumberInfo, and then store number A stored in outgoingPh-oneNumberInfo into the first outgoing call variable.

[0187] For example, the first outgoing call variable may be phoneCallCmd.szPhoneNum. After the watch stores the number A in callHistoryInfo.-phoneNum into outgoingPhoneNumberInfo, it stores the number A in outgoingPhoneNumberInfo into phoneCallCmd.szPhoneNum.

[0188] S802. The watch sends a call back instruction to the mobile phone.

[0189] Exemplarily, the call-back instruction includes the first outgoing call variable. The call-back instruction is used to instruct the mobile phone to call the first outgoing call variable. After completing the operation of S801, the watch can send the call-back instruction to the mobile phone based on the Bluetooth connection.

[0190] For example, the call back instruction includes phoneCallCmd.szPhoneNum. PhoneCallCmd.szPhoneNum stores number A. The call back instruction is used to instruct the mobile phone to call back according to number A in phoneCallCmd.szPhoneNum.

[0191] In some embodiments of the present application, the call back instruction may also be referred to as a first call back indication.

[0192] S803: The mobile phone responds to the call back instruction and calls back the number A in the first outgoing call variable.

[0193] For example, after receiving the call back instruction, the mobile phone can obtain number A from phoneCallCmd.szPhoneNum in response to the call back instruction. In this way, after receiving the call back instruction, the mobile phone can call back according to number A in phoneCallCmd.szPhoneNum, thereby completing the call back processing of incoming call 1.

[0194] In other embodiments of the present application, reference Fig. 9 , after the mobile phone calls the number A in phoneCallCmd.szPhoneNum, the mobile phone can also display interface 901. Correspondingly, after the watch calls the number A in phoneCallCmd.szPhoneNum based on the mobile phone, the watch displays interface 902. Interfaces 901 and 902 correspond to the outgoing call interface of number A. Interfaces 901 and 902 include the contact name (contact A) and the like.

[0195] In some implementations of the present application, interface 902 may also be referred to as a third interface.

[0196] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of each functional module. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed herein, 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. 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 the present application.

[0197] The above integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0198] For example, Fig.10 FIG. 1 is a schematic diagram showing the composition of an electronic device 1000. Fig.10 As shown, the electronic device 1000 may include: a processor 1001 and a memory 1002. The memory 1002 is used to store computer-executable instructions. Exemplarily, in some embodiments, when the processor 1001 executes the instructions stored in the memory 1002, the electronic device 1000 may execute any of the methods shown in the above embodiments. Fig.10 In the example of , the electronic device may further include a display screen 1003. The display screen 1003 may read contact information from the memory 1002 for display under the control of the processor 1001.

[0199] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0200] Fig.11 A schematic diagram of the composition of a chip system 1100 is shown. The chip system 1100 may include: a processor 1101 and a communication interface 1102, which are used to support related devices to implement the functions involved in the above embodiments. In a possible design, the chip system also includes a memory for storing program instructions and data necessary for electronic devices. The chip system may be composed of chips, or may include chips and other discrete devices. It should be noted that in some implementations of the present application, the communication interface 1102 may also be referred to as an interface circuit.

[0201] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0202] The functions or actions or operations or steps in the above embodiments can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or may include one or more servers, data centers and other data storage devices that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0203] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. An information processing method, characterized in that: The method is applied to a first device, the first device and a second device establish a communication connection; the first device is provided with a display screen; the method comprises: receiving a first call request message, where the first call request message is used to indicate a first incoming call, and the first call request message includes a first number of the first incoming call; After receiving the first call request message, the method further includes: storing the first number of the first incoming call indicated by the first call request message in an incoming call variable, the incoming call variable being used to store the number of the current incoming call; If the first call is not connected, storing the first number in a first history record; receiving a first missed call indication, where the first missed call indication is used to indicate that the first incoming call was not answered; In the case where the first missed call indication is transmitted through a preset service, after receiving the first missed call indication, the first history record is not updated; the first missed call indication does not include the first number; receiving a first operation of a user, wherein the first operation is an operation on a first control; the first control is a control displayed on the display screen indicating that the first incoming call is not answered; In response to the first operation, sending a first call back indication to the second device, where the first call back indication includes the first number obtained from the first history record, and the first call back indication is used to instruct the second device to call back according to the first number; Wherein, when the first call is not connected, storing the first number in a first history record comprises: receiving a second missed call indication, the second missed call indication being used to indicate that the first call is not connected, and storing the first number in the first history record in response to the second missed call indication; Wherein, in response to the second missed call indication, storing the first number in the first history record includes: storing the first number from the incoming call variable to the first history variable, the first history variable is one of one or more variables included in the first history record, and each variable in the first history record is used to store a phone number of an incoming call.

2. The method according to claim 1, characterized in that The second device stores the first number of the first incoming call and the first contact information corresponding to the first incoming call.

3. The method according to claim 2, characterized in that Before storing the first number from the incoming call variable to the first history variable, the method further includes: The first number is stored from the incoming call variable to the first missed call variable; the first missed call variable is used to store the phone number of the unanswered call; The storing the first number from the incoming call variable to the first history variable comprises: The first number is stored from the first missed call variable to the first history variable.

4. The method according to any one of claims 1 to 3, characterized in that After receiving the first missed call indication and before not updating the first history record, the method further includes: It is determined that when receiving the first missed call indication, the service type used by the second device is the preset service.

5. The method according to claim 4, characterized in that The preset service is ANCS.

6. The method according to claim 5, characterized in that Before sending a first callback indication to the second device in response to the first operation, the method further includes: In response to the first operation, the first number is obtained from the first history variable.

7. The method according to claim 6, characterized in that The storing the first number in a first history record comprises: storing the first number and the first identifier of the first incoming call in the first history record; Before obtaining the first number from the first historical variable, the method further includes: Determine callback information according to the first operation; the callback information includes the first identifier; The obtaining the first number from the first historical variable includes: The first number is acquired from the first historical variable according to the first identifier indicated by the callback information.

8. The method according to any one of claims 5 to 7, characterized in that: The first missed variable is missedPhoneNumberInfo; The first history variable is callHistoryInfo.phoneNum.

9. The method according to claim 8, characterized in that After receiving the first call request message, the method further includes: The first call request message also includes first contact information corresponding to the first incoming call; A first interface is rendered according to the first number and the first contact information in the first call request message; the first interface is a processing interface for receiving the first call; the first interface includes call information, and the call information corresponds to the first incoming call.

10. The method according to claim 9, characterized in that After receiving the first missed call indication, the method further includes: The first missed call indication includes the first contact information; A second interface is rendered according to the first contact information in the first missed call indication; the second interface includes a first notification; and the first notification is used to indicate that the first call was not answered.

11. The method according to claim 9 or 10, characterized in that: After sending the first callback indication to the second device, the method further includes: The third interface is displayed; the third interface is a processing interface for dialing the first number.

12. A communication system, characterized in that: The communication system comprises a first device and a second device, wherein the first device and the second device establish a communication connection; The second device is used to send a first call request message to the first device when receiving a first incoming call, where the first call request message is used to indicate the first incoming call and includes a first number of the first incoming call; After receiving the first call request message, the first device further includes: storing the first number of the first incoming call indicated by the first call request message in an incoming call variable, where the incoming call variable is used to store the number of the current incoming call; The first device is used to store the first number in a first history record when the first call is not connected; The second device is further used to send a first missed call indication to the first device through a preset service, where the first missed call indication is used to indicate that the first call was not connected; the first missed call indication does not include the first number; The first device is further configured to not update the first history record when receiving the first missed call indication; The first device is further configured to receive a first operation of a user, where the first operation is an operation of a first control; the first control is a control displayed on a display screen indicating that the first incoming call is not answered; The first device is further configured to send a first call back indication to the second device in response to the first operation, where the first call back indication includes the first number obtained from the first historical record; The second device is further configured to make a call back using the first number according to the first call back instruction; The first device is used to store the first number in a first history record when the first call is not connected, including: receiving a second missed call indication, the second missed call indication is used to indicate that the first call is not connected, and in response to the second missed call indication, storing the first number in the first history record; Wherein, in response to the second missed call indication, storing the first number in the first history record includes: storing the first number from the incoming call variable to the first history variable, the first history variable is one of one or more variables included in the first history record, and each variable in the first history record is used to store a phone number of an incoming call.

13. A chip system, characterized in that: The chip system is applied to a first device; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive a signal from a memory of the first device and send the signal to the processor, the signal including computer instructions stored in the memory; when the processor executes the computer instructions, the first device executes the method as described in any one of claims 1-11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium is applied to a first device; The method comprises computer instructions, which, when executed on the first device, cause the first device to execute the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Method and device for processing call request and mobile terminal

    CN106790932A

  • Dialing method and mobile terminal

    CN107635066A

  • Conversation method, device and system

    CN113923612A

  • Incoming call interception method and device, electronic equipment and storage medium

    CN115334200A

  • Dialing control method and device, terminal equipment and computer readable storage medium

    CN115396542A