Method for recording synchronous call, electronic device and readable storage medium

CN116346975BActive Publication Date: 2026-08-28HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111595541.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-23
Publication Date
2026-08-28
Estimated Expiration
2041-12-23

AI Technical Summary

Technical Problem

[0003]本申请实施例提供一种同步通话记录的方法、电子设备及可读存储介质,该方法能够解决多个电子设备上的通话记录不一致的问题

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116346975B_ABST
    Figure CN116346975B_ABST
Patent Text Reader

Abstract

The application provides a method for synchronizing call records, an electronic device and a readable storage medium. In the method, a third electronic device sends a call request, the first electronic device and the second electronic device can receive the call request and make incoming call prompts, and a user can select one of the devices to communicate. When the user selects the first electronic device to communicate, the first electronic device can generate call records after the call ends and during the call, respectively, and send the generated call records to the second electronic device when it is determined that the first electronic device and the second electronic device are in short-range communication connection. Based on the above technical solution, the electronic devices around the user that do not answer the phone can synchronize the call records, so that the user can more conveniently check the call records. In addition, the electronic devices that do not establish short-range communication connection with the first electronic device will not receive the call records, thereby protecting the privacy of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to methods, electronic devices, and readable storage media for synchronizing call records. Background Technology

[0002] Currently, many electronic devices can make and receive phone calls, such as smartwatches and tablets. Imagine a user has multiple electronic devices around them, one of which has a SIM (Subscriber Identity Module) card installed. This SIM-enabled device is linked to other devices. When the SIM-enabled device receives a call request, all linked devices will vibrate or ring, and the user can choose any one to answer the call. After the call ends, a call log is generated on the selected device, but not on the unselected devices, leading to inconsistencies in the call logs across the devices. Summary of the Invention

[0003] This application provides a method for synchronizing call records, an electronic device, and a readable storage medium. This method can solve the problem of inconsistent call records on multiple electronic devices.

[0004] In a first aspect, embodiments of this application provide a method for synchronizing call recordings. This method is applied to a synchronized call recording system, which includes a first electronic device and a second electronic device. The first electronic device and the second electronic device are connected via short-range communication. The method includes:

[0005] The system receives a call request from a third electronic device; establishes a short-range communication connection between the first and second electronic devices; based on the call request, the first electronic device displays a first call request interface, and the second electronic device displays a second call request interface; detects a first operation on the first call request interface, which is an operation to accept the call request; in response to the first operation, the first electronic device establishes a call connection with the third electronic device; after establishing a call connection with the third electronic device, the first electronic device generates a first call record based on the call request. The first call record includes first identification information, second identification information, and a first call status. The first identification information is used to uniquely identify the first electronic device, the second identification information is used to identify the user information of the third electronic device, and the first call status is used to indicate the status of the call connection between the first and third electronic devices; the first electronic device sends the first call record to the second electronic device.

[0006] Alternatively, a first operation on the second call request interface is detected, the first operation being an operation to accept a call request; in response to the first operation, the second electronic device establishes a call connection with the third electronic device; after establishing a call connection with the third electronic device, the second electronic device generates a first call record based on the call request, the first call record including first identification information, second identification information, and a first call status, the first identification information being used to uniquely identify the second electronic device, the second identification information being used to identify the user information of the third electronic device, and the first call status being used to indicate the status of the call connection between the second electronic device and the third electronic device; the second electronic device sends the first call record to the first electronic device.

[0007] Based on the above technical solution, when the first electronic device answers a call, it can synchronize the first call record to the second electronic device. When the second electronic device answers a call, it can synchronize the first call record to the first electronic device. Call records can also be simultaneously displayed on electronic devices near the user that are not receiving calls, making it easier for the user to view their call history.

[0008] In conjunction with the first aspect, in some implementations of the first aspect, the first electronic device and the second electronic device are mutually trusted devices.

[0009] Based on the above technical solution, call records can be synchronized on trusted devices, such as when the first electronic device and the second electronic device are logged into the same account, which can protect user privacy.

[0010] In conjunction with the first aspect and the above-described implementations, in some implementations of the first aspect, the first electronic device sending the first call record to the second electronic device includes: determining a short-range communication connection between the first electronic device and the second electronic device; and the first electronic device sending the first call record to the second electronic device.

[0011] Based on the above technical solution, the first electronic device can send the first call record to the second electronic device only when the first electronic device and the second electronic device are in a short-range communication connection, thereby improving the security of user privacy.

[0012] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, when the short-range communication is based on a wireless local area network (WLAN), determining the short-range communication connection between the first electronic device and the second electronic device includes: sending a query request to the WLAN server, the query request instructing the WLAN server to query the destination address of the electronic device currently connected to the WLAN; receiving the destination address of the electronic device currently connected to the WLAN sent by the WLAN server; and determining the short-range communication connection between the first electronic device and the second electronic device when the destination address includes the addresses of both the first electronic device and the second electronic device.

[0013] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, when the short-range communication is Bluetooth-based short-range communication, determining the short-range communication connection between the first electronic device and the second electronic device includes: obtaining the destination address of the electronic device with which the first electronic device has established a short-range communication connection from the target location of the first electronic device; and determining the short-range communication connection between the first electronic device and the second electronic device when the destination address includes the address of the second electronic device.

[0014] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, when the first electronic device is a device without a SIM card inserted, receiving a call request includes: a second electronic device receiving the call request, wherein the second electronic device is a device with a SIM card inserted; the method further includes: after receiving the call request, the second electronic device sending the call request to the first electronic device.

[0015] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, when the first electronic device is a device with an inserted SIM card, receiving a call request includes: the first electronic device receiving the call request; the method further includes: after receiving the call request, the first electronic device sending the call request to a second electronic device.

[0016] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, the method further includes: generating a first interface based on the first call record, the first interface including first identification information, second identification information and first call status; and displaying the first interface in response to the operation of viewing the first call record.

[0017] Combining the first aspect and the above implementation methods, in some implementation methods of the first aspect, the first call record is generated after the call ends, and the first call status is "call ended".

[0018] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, the method further includes: after establishing a call connection with the third electronic device, the first electronic device generates a second call record based on the call request, the second call record includes first identification information, second identification information and a second call status, the first call record is a call record updated from the second call record, and the second call status is "in a call"; the first electronic device sends the second call record to the second electronic device.

[0019] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, the method further includes: generating a second interface based on the second call record, the second interface including first identification information, second identification information and second call status; and displaying the second interface in response to the operation of viewing the second call record.

[0020] Based on the above technical solution, the first electronic device generates a second call record and a first call record respectively before the call connection ends and after the call ends. When the first electronic device and the second electronic device are in a short-range communication connection, the second call record and the first call record are sent to the second electronic device respectively, so that the second electronic device can still receive the second call record before the short-range communication connection is disconnected during the call, thereby making it convenient for the user to view the call record.

[0021] If the first electronic device generates the first call record and then the second electronic device disconnects the short-range communication connection with the first electronic device, the first electronic device will not send the first call record to the second electronic device.

[0022] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, after receiving the second call record, the method further includes: when the second electronic device receives the second call record and detects that the short-range communication connection with the first electronic device has been disconnected, the second electronic device generates a third interface, the third interface including first identification information, second identification information, and information on the disconnection of the short-range communication connection between the second electronic device and the first electronic device.

[0023] Furthermore, if the second electronic device re-establishes a short-range communication connection with the first electronic device after the call ends, the first electronic device can still send the first call record to the second electronic device.

[0024] Secondly, embodiments of this application provide a method for synchronizing call recordings. This method is applied to a synchronized call recording system, which includes a first electronic device and a second electronic device. The first electronic device and the second electronic device are connected via short-range communication. The method is executed by the first electronic device and includes:

[0025] The system receives a call request from a third electronic device; displays a first call request interface; detects a first operation on the first call request interface, the first operation being the acceptance of a call request; in response to the first operation, establishes a call connection with the third electronic device; after establishing a call connection with the third electronic device, generates a first call record based on the call request, the first call record including first identification information, second identification information, and a first call status, the first identification information being used to uniquely identify the first electronic device, the second identification information being used to identify the user information of the third electronic device, and the first call status being used to indicate the status of the call connection between the first electronic device and the third electronic device; and sends the first call record to a second electronic device.

[0026] In conjunction with the second aspect, in some implementations of the second aspect, the first electronic device and the second electronic device are mutually trusted devices.

[0027] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, sending the first call record to the second electronic device includes: establishing a short-range communication connection with the second electronic device; and sending the first call record to the second electronic device.

[0028] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, when the short-range communication is based on a wireless local area network (WLAN), determining a short-range communication connection with the second electronic device includes: sending a query request to the WLAN server, the query request instructing the WLAN server to query the destination address of the electronic device currently connected to the WLAN; receiving the destination address of the electronic device currently connected to the WLAN sent by the WLAN server; and determining a short-range communication connection with the second electronic device when the destination address includes the addresses of both the first and second electronic devices.

[0029] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, when the short-range communication is Bluetooth-based short-range communication, the determination of a short-range communication connection between the first electronic device and the second electronic device includes: obtaining the destination address of the electronic device with which the first electronic device has established a short-range communication connection from the target location of the first electronic device; and determining that the first electronic device and the second electronic device are connected in a short-range communication when the destination address includes the address of the second electronic device.

[0030] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, after generating the first call record, the method further includes: generating a first interface based on the first call record, the first interface including first identification information, second identification information and first call status; and displaying the first interface in response to the operation of viewing the first call record.

[0031] In combination with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the first interface displayed by the second electronic device is generated after the first call record is received.

[0032] Combining the second aspect and the above implementation methods, in some implementation methods of the second aspect, the first call record is generated after the call ends, and the first call status is "call ended".

[0033] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, before generating the first call record, the method further includes: generating a second call record based on a call request, the second call record including first identification information, second identification information and a second call status, the first call record being an updated call record of the second call record, and the second call status being in a call; and sending the second call record to a second electronic device.

[0034] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the method further includes: generating a second interface based on the second call record, the second interface including first identification information, second identification information, and second call status; and displaying the second interface in response to the operation of viewing the second call record.

[0035] In combination with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the second interface displayed by the second electronic device is generated after the second call record is received.

[0036] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the third interface of the second electronic device is generated when the short-range communication connection with the first electronic device is disconnected after receiving the second call record. The third interface includes first identification information, second identification information, and information on the disconnection of the short-range communication connection between the second electronic device and the first electronic device.

[0037] In combination with the second aspect and the above implementation methods, in some implementation methods of the second aspect, when the first electronic device displays the first call request interface, the second electronic device displays the second call request interface.

[0038] Thirdly, embodiments of this application provide an apparatus included in an electronic device, which has the function of implementing the behaviors of the electronic device in the above aspects and possible implementations thereof. The functions can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions. For example, a display module or unit, a detection module or unit, a processing module or unit, etc.

[0039] Fourthly, embodiments of this application provide an electronic device, which includes: a display screen; one or more processors; one or more memories; a module with multiple applications installed; the memories store one or more programs, which, when executed by the processor, cause the electronic device to perform any of the possible methods for synchronizing call recordings in the second aspect.

[0040] Fifthly, embodiments of this application provide a system for synchronizing call recording, including one or more electronic devices. The system includes: a display screen; one or more processors; one or more memories; a module with multiple applications installed; the memories store one or more programs, which, when executed by the processor, cause the system to perform any of the possible methods for synchronizing call recording under the first aspect.

[0041] Sixthly, embodiments of this application provide a computer-readable storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform any of the possible methods for synchronizing call recordings described in the first or second aspect above.

[0042] In a seventh aspect, embodiments of this application provide a computer program product that, when run on an electronic device, causes the electronic device to execute any of the possible methods for synchronizing call recording described in the second aspect above. Attached Figure Description

[0043] Figure 1 Figure (a) in this application is a schematic diagram of a scenario where multiple electronic devices vibrate or ring simultaneously when a user receives an incoming call, according to an embodiment of this application.

[0044] Figure 1 Figure (b) is a schematic diagram of a scenario where multiple electronic devices are in different locations when a user receives an incoming call, according to an embodiment of this application.

[0045] Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0046] Figure 3 This is a hardware and software structure block diagram of an example electronic device provided in an embodiment of this application;

[0047] Figure 4 This is a schematic flowchart illustrating a method for synchronizing call records according to an embodiment of this application;

[0048] Figure 5 This is a schematic flowchart illustrating yet another method for synchronizing call records provided in an embodiment of this application;

[0049] Figure 6 This is an illustrative interactive flowchart of an example of a method for synchronizing call records provided in an embodiment of this application;

[0050] Figure 7 This is an illustrative interactive flowchart of another method for synchronizing call records provided in the embodiments of this application;

[0051] Figure 8 Figure (a) in this application is a schematic diagram of an example of a first interface provided in an embodiment of this application;

[0052] Figure 8 Figure (b) is a schematic diagram of an example of a second interface provided in an embodiment of this application;

[0053] Figure 8 Figure (c) in this application is a schematic diagram of an example of a third interface provided in an embodiment of this application;

[0054] Figure 9 Figure (a) in the figure is a schematic diagram of another example of the first interface provided in the embodiment of this application;

[0055] Figure 9 Figure (b) is a schematic diagram of another example of the second interface provided in the embodiments of this application;

[0056] Figure 9 Figure (c) is a schematic diagram of another example of a third interface provided in the embodiments of this application. Detailed Implementation

[0057] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0058] Currently, many electronic devices can make and receive phone calls, such as large screens, smartwatches, smart speakers, or tablets. When a user has multiple electronic devices around them... Figure 1 Figure (a) illustrates a scenario where multiple electronic devices vibrate or ring when a user receives a call request. In this scenario, the user can choose any electronic device to answer the call. However, a problem arises: the electronic device that answers the call generates a call log, while the electronic device that doesn't answer the call doesn't, resulting in inconsistent call logs across multiple devices. This can negatively impact the user experience.

[0059] For example, in a home environment, a user may have both a tablet and a smartphone nearby, such as Figure 1 As shown in Figure (b), a user is watching TV on a tablet in the bedroom and has their smartphone in the living room. When the user receives a call request from a colleague, both the smartphone and tablet ring to alert the user. The user can then answer the call on the tablet and continue the conversation without having to leave the bedroom to use the smartphone. After the call ends, the call log is only generated on the tablet. Since no call log is generated on the smartphone, a discrepancy arises between the call logs on the tablet and smartphone. When the user moves to the living room and wants to call their colleague back using their smartphone, they must return to the bedroom to check the call log on the tablet, instead of directly calling back using the smartphone, thus impacting the user experience.

[0060] To address the aforementioned issues, this application proposes a method for synchronizing call logs. When a first electronic device and a second electronic device are present near the user, the first electronic device establishes short-range communication with the second electronic device. Upon receiving a call request from a third electronic device, either the first or second electronic device responds to the user's call answering action and establishes a call connection with the third electronic device. After establishing a call connection with the third electronic device, a first call log is generated based on the call request. The first call log includes first identification information, second identification information, and a first call status. The first identification information uniquely identifies the first electronic device, the second identification information identifies the user information of the third electronic device, and the first call status indicates the status of the call connection between the first and third electronic devices. After generating the first call log, the first electronic device sends the first call log to the second electronic device, or vice versa. Therefore, this method enables the call logs of the first and second electronic devices to be synchronized. In other words, it allows call logs to be simultaneously displayed on electronic devices near the user that have not received a call, making it easier for the user to view the call logs. Furthermore, electronic devices that have not established a short-range communication connection with the first electronic device will not receive the first call log, thus protecting the user's privacy.

[0061] The method for synchronizing call records provided in this application can be applied to electronic devices such as mobile phones, tablets, smartwatches, in-vehicle devices, smart screens, laptops, robots, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). This application does not impose any limitations on the specific type of electronic device.

[0062] For example, Figure 2 This is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of this application. In a specific implementation, the electronic device 100 may be the first electronic device or the second electronic device in the embodiment of this application.

[0063] Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0064] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0065] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.

[0066] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0067] In some embodiments, the processor 110 may include one or more interfaces. Interfaces 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.

[0068] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0069] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0070] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0071] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0072] Internal memory 121 can be used to store computer executable program code, which includes instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory located in the processor.

[0073] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0074] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the electronic device 100. The electronic device 100 can support one 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, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calls and data communication. 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.

[0075] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0076] Figure 3This is a hardware and software structure block diagram of an example electronic device 100 provided in an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and function, and the layers communicate with each other through software interfaces. In some embodiments, the Android system can be divided into four layers, from top to bottom: the application layer, the application framework layer (Frameworks, FWK), the hardware abstraction layer (HAL), and the kernel layer.

[0077] The application layer may include a series of application packages. For example, an application package may include a call application, which includes a user interface (UI) and logic modules. The logic modules include a call processing module and a device decision module. The call processing module is used to process call information from electronic device 100. The device decision module is used to analyze whether relevant data needs to be transmitted to other electronic devices after detecting data changes.

[0078] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0079] like Figure 3 As shown, the application framework layer may include a data change monitoring module, a rendering module, an information change monitoring module, a content provider, a distributed framework, a notification manager, etc.

[0080] The data change monitoring module is used to monitor the call status (including connection, hang-up, etc.) of electronic device 100.

[0081] The information change monitoring module is used to monitor the status of short-range communication connections between the electronic device 100 and its trusted devices, as well as changes in the network to which the electronic device 100 is connected. The electronic device 100 determines its trusted devices based on the logged-in account information. For example, if the same account is logged into both the first and second electronic devices, a trust relationship can be established between them based on the account information. After establishing this trust relationship, the first electronic device becomes a trusted device of the second electronic device.

[0082] The drawing and rendering module is used to generate the display interface. The drawing and rendering module can also call visual controls to add visual controls to the display interface, such as generating an interface to display call requests or an interface to display call records.

[0083] The distributed framework provides several APIs for transmitting information, enabling data synchronization between devices within a local area network. Examples include synchronizing incoming call signals so that two devices on the local network can receive calls simultaneously, and synchronizing call logs.

[0084] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0085] The notification manager allows applications to display notifications in the status bar. These can be used to convey informational messages, appear briefly, and then disappear automatically without user interaction. Examples include notifications of download completion and message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications. Furthermore, it can present notifications as dialog boxes on the screen, such as text messages in the status bar, sound alerts, electronic device vibrations, and flashing indicator lights.

[0086] The abstraction layer includes a transmission channel module and a display processing module. The transmission channel module provides the functionality for electronic device 100 to interact with other electronic devices. The display processing module provides the functionality for electronic device 100 to display information.

[0087] The kernel layer is the layer between hardware and software. At a minimum, the kernel layer includes display drivers and IPC communication.

[0088] The following describes the workflow of electronic device 100 synchronizing call records with other electronic devices after receiving a call request, using both the software and hardware of electronic device 100.

[0089] When electronic device 100 is the first electronic device, when the first electronic device receives a call request from the third electronic device, the data change monitoring module detects that the first electronic device has received a call request and stores the identification information of the third electronic device in the content provider. The data change monitoring module notifies the call processing module that the first electronic device has received a call request. After receiving the notification, the call processing module retrieves the identification information of the third electronic device from the content provider and sends the identification information of the third electronic device to the rendering module. The rendering module renders the incoming call interface (i.e., the call request interface) based on the identification information of the third electronic device. After the incoming call interface is rendered, the rendering module sends the incoming call interface to the display processing module. The display processing module starts the display driver and displays the incoming call interface on the display screen. The identification information of the third electronic device corresponds to the second identification information and is used to identify the user information of the third electronic device. For example, the identification information of the third electronic device may be the phone number corresponding to the SIM card inserted in the third electronic device, or the name corresponding to the phone number on the first electronic device.

[0090] The user performs a first operation on the first electronic device, namely, accepting a call request. For example, the first operation could be clicking the answer control on the call request interface. After detecting the first operation, the first electronic device responds by establishing a call connection with the third electronic device. The first electronic device then conducts the call with the third electronic device through the call processing module. The data change monitoring module detects that the call status of the first electronic device has changed to "in a call" and notifies the call processing module. The call processing module obtains the identification information of the third electronic device and the identification information of the first electronic device from the content provider. Based on the second call status, the identification information of the third electronic device, and the identification information of the first electronic device, it generates a second call record and sends the second call record to the device decision module. The identification information of the first electronic device corresponds to the first identification information and is used to uniquely identify the first electronic device. For example, the identification information of the first electronic device could be the name of the first electronic device.

[0091] The device decision module sends the second call record to the distributed framework. The information change monitoring module monitors the status of short-range communication connections established between the first electronic device and other electronic devices. The distributed framework obtains the addresses of the electronic devices that have established short-range communication connections with the first electronic device from among its trusted devices through the information change monitoring module. For simplicity, these "electronic devices that have established short-range communication connections with the first electronic device from among its trusted devices" can be referred to as "online devices." When the second electronic device is an online device, the distributed framework sends the second call record to the transmission channel module via API based on the address of the second electronic device. The transmission channel module then transmits the second call record to the second electronic device via IPC communication.

[0092] When a user wants to end a call, they can perform a second operation on the first electronic device to hang up. For example, the second operation could be clicking the hang-up control on the call interface. After detecting the second operation, the first electronic device responds and ends the call with the third electronic device. The data change monitoring module detects that the call status of the first electronic device has changed from "in a call" to "call ended" and notifies the call processing module. The call processing module calculates the call duration and then generates a first call record based on the first call status, the identification information of the third electronic device, the call duration, and the identification information of the first electronic device. The first call record is then sent to the device decision module. The device decision module sends the first call record to the distributed framework. The information change monitoring module monitors the status of short-range communication between the first electronic device and other electronic devices. The distributed framework obtains the address of online devices through the information change monitoring module. When the second electronic device is online, the distributed framework sends the first call record to the transmission channel module via API based on the address of the second electronic device. The transmission channel module transmits the first call record to the second electronic device via IPC communication.

[0093] When electronic device 100 is the second electronic device, it receives the first call record sent by the first electronic device and stores it in the content provider. After the data change monitoring module detects a data change, it sends a notification to the call processing module. The call processing module retrieves the first call record from the content provider and sends it to the rendering module. The rendering module renders the first interface based on the first call record. The first interface includes the first call status, the identification information of the third electronic device, and the identification information of the first electronic device. Then, it sends the first interface to the display processing module. After obtaining the first call record, the call processing module displays a notification in the status bar through the notification manager to inform the user of the call record. The user can perform a third operation on the second electronic device, namely, viewing the first call record. This third operation instructs the second electronic device to display the first interface; for example, clicking the notification in the status bar. When the second electronic device detects the third operation, the display processing module starts the display driver and displays the first interface on the screen.

[0094] After receiving the second call record sent by the first electronic device, the second electronic device displays the second interface using the same method as the method described above for displaying the first interface.

[0095] The method for synchronizing call records provided in the embodiments of this application will be described below. Figure 4 An exemplary flowchart of a method 400 for synchronizing call logs is shown.

[0096] S401: Determine a trusted device for the first electronic device.

[0097] For example, suppose the user is in a home environment with at least two electronic devices nearby, such as a mobile phone, tablet, or smartwatch. Taking the mobile phone as the first electronic device and either the tablet or smartwatch as the second, the user account logged in on the mobile phone can be used to determine if the mobile phone is a trusted device. The mobile phone broadcasts a message containing the user account logged in on the phone. When the tablet or smartwatch receives the broadcast message, it checks if its logged-in user account matches the one on the mobile phone. If they match, it sends a reply message to the mobile phone, including its own identification information, which may include the device name and the device's Media Access Control Address (MAC address). Upon receiving the reply messages from the tablet and smartwatch, the mobile phone determines that the tablet and smartwatch are trusted devices.

[0098] In addition, when the user account logged in on the tablet or smartwatch is the same as the user account logged in on the mobile phone, the cloud server of the user account can obtain the identification information of the tablet or smartwatch. Users can then view other devices logged into the user account on their mobile phones and obtain the identification information of the tablet or smartwatch. Users can designate the tablet or smartwatch as a trusted device of their mobile phone, or they can designate one of them as a trusted device of their mobile phone.

[0099] It should be noted that step S401 above is an optional step.

[0100] S402: A call request has been received from a third electronic device.

[0101] The call request can be received by either the first electronic device or the second electronic device.

[0102] S403: Determine that a short-range communication connection has been established between the first electronic device and the second electronic device.

[0103] In this embodiment of the application, short-range communication can be short-range communication based on wireless local area network, such as Wi-Fi, or short-range communication based on Bluetooth, or short-range communication based on other methods.

[0104] Taking the first electronic device receiving a call request as an example, when the short-range communication is based on a wireless local area network (WLAN), the first electronic device accesses the WLAN. In one implementation, the first electronic device sends a query request to the WLAN server, instructing the server to query the destination address of the currently accessed electronic device. At this point, the currently accessed electronic device is an online device, and the destination address is the address of the online device, which can be an Internet Protocol address (IP address). The WLAN server sends the destination address of the online device to the first electronic device. Upon receiving the destination address from the WLAN server, the first electronic device can determine that the device corresponding to the destination address is an online device, thus establishing a short-range communication connection between the first electronic device and the second electronic device.

[0105] In another implementation, the first electronic device sends a query request to the server of the wireless local area network (WLAN). The query request instructs the server to query the identification information and address of the electronic devices currently connected to the WLAN. At this time, the WLAN server sends the identification information and address of the electronic devices currently connected to the WLAN to the first electronic device. The first electronic device compares the identification information of its trusted devices with the identification information of the electronic devices currently connected to the WLAN. If the identification information of the electronic devices currently connected to the WLAN is the same as the identification information of its trusted devices, the first electronic device determines that the electronic devices currently connected to the WLAN are online devices, and the address of the electronic devices currently connected to the WLAN is the destination address of the online devices. When the second electronic device is an online device, it is determined that the first electronic device and the second electronic device establish a short-range communication connection.

[0106] When the short-range communication is based on Bluetooth, the first electronic device stores the identification information and destination address of the electronic device with which it has established a Bluetooth connection at the target location. Based on the identification information of the electronic device with which it has established a Bluetooth connection and the identification information of the trusted device, the first electronic device determines whether the second electronic device is connected to the first electronic device via Bluetooth. If so, the first electronic device determines that a short-range communication connection has been established with the second electronic device.

[0107] S404: Based on the call request, the first electronic device displays the first call request interface, and the second electronic device displays the second call request interface.

[0108] In the implementation of this application embodiment, when the first electronic device and the second electronic device are communicating at short distances, the first electronic device or the second electronic device receives a call request. Based on distributed communication, the first electronic device and the second electronic device can simultaneously provide call notification, such as vibration or ringing. The first electronic device displays a first call request interface, and the second electronic device displays a second call request interface, so that the user can select one of the devices to communicate.

[0109] S405: A first operation on the first call request interface is detected, the first operation being an operation to accept a call request; in response to the first operation, the first electronic device establishes a call connection with the third electronic device.

[0110] In this embodiment, the user can choose to answer the call using a first electronic device. For example, the user performs a first operation on the first electronic device, namely, accepting a call request. For instance, the first operation could be clicking the answer control on the incoming call interface. The first electronic device detects the first operation and, in response, establishes a call connection with a third electronic device.

[0111] S406: After establishing a call connection with the third electronic device, the first electronic device generates a first call record based on the call request. The first call record includes the identification information of the first electronic device, the identification information of the third electronic device, and the first call status.

[0112] The call request carries the identification information of the third electronic device. After receiving the call request, the first electronic device can generate a call record based on the identification information of the third electronic device and its own identification information.

[0113] In this embodiment, the first electronic device can generate call records under different call states. The call state refers to the status of the call connection between the first electronic device and the third electronic device.

[0114] In one implementation, the first electronic device generates a first call log only after the call with the third electronic device has ended. The first call log includes the identification information of the first electronic device, the identification information of the third electronic device, and the first call status, which is "call ended." In addition, the first call log may also include call duration and date information.

[0115] In another implementation, after establishing a call connection with the third electronic device, the first electronic device generates a second call log before the call ends (i.e., during the call). This second call log includes the identification information of the first and third electronic devices, as well as the second call status, which is "in progress." Then, after the call with the third electronic device ends, a first call log is generated. The second call log is then updated to reflect the first call log. Since the duration of the call between the first and third electronic devices is uncertain, generating and sending the second call log during the call, especially when the call duration is long, ensures the second electronic device receives the call log promptly.

[0116] S407: The first electronic device determines that it is in a short-range communication connection with the second electronic device and sends the first call record to the second electronic device.

[0117] After the first electronic device generates the first or second call record, it determines that the second electronic device and the first electronic device are in a short-range communication connection based on the same method as in step S403, and then sends the first call record to the second electronic device.

[0118] It is worth noting that in step S405, the user can also use the second electronic device to answer the call. At this time, a first operation on the second call request interface is detected, which is the operation of accepting a call request. In response to the first operation, the second electronic device establishes a call connection with the third electronic device. After establishing a call connection with the third electronic device, the second electronic device generates a first call record or a second call record based on the call request. The first call record includes first identification information, second identification information, and a first call status. The first identification information is used to uniquely identify the second electronic device, the second identification information is used to identify the user information of the third electronic device, and the call status is used to indicate the status of the call connection between the first electronic device and the third electronic device. The second call record includes first identification information, second identification information, and a second call status. The first call status is that the call has ended, and the second call status is that the call is in progress. The second electronic device determines that it is in a short-range communication connection with the first electronic device, and then sends the first call record or the second call record to the first electronic device.

[0119] In the embodiments of this application, when the first electronic device and the second electronic device are connected in a short-range communication connection, the third electronic device sends a call request. Both the first and second electronic devices can receive the call request and simultaneously provide an incoming call notification, allowing the user to select one of the devices for communication. When the user selects one of the devices for communication, that device generates a call log. After generating the call log, if it is determined that the device is in a short-range communication connection with another device, the generated call log is sent to the other device.

[0120] In this embodiment, call logs are synchronized with online devices, allowing users to view and process call information using different electronic devices. The online devices are those that have established a short-range communication connection with the first electronic device, ensuring that all devices synchronizing call logs are located near the user, thus protecting user privacy. Furthermore, by synchronizing call logs via short-range communication, when someone else answers a call on the first electronic device, the electronic devices that did not answer the call can promptly receive the call log. When the user is not near the first electronic device, the user can promptly perceive the status of the first electronic device.

[0121] The first electronic device can be a device with mobile phone calling capabilities, i.e., a primary device (the first electronic device has mobile data communication capabilities), for example, a device with an inserted SIM card. The second electronic device can be an auxiliary device, which may or may not have mobile phone calling capabilities; for example, the second electronic device may be an electronic device without an inserted SIM card. This is not a limitation. It should be understood that multiple auxiliary devices can exist simultaneously.

[0122] like Figure 5 As shown, the master device directly receives call requests from a third electronic device. When the master device answers a call request, it establishes a call connection with the third electronic device, generates a second call log during the call based on the call request, and sends it to the online device. After the call ends, it generates a first call log and sends it to the online device, updating the second call log to the first call log. For example, a mobile phone answers a call request and generates a call log, then sends the call log to a tablet and a smartwatch.

[0123] The auxiliary device receives call information from the master device, including a call request. When the auxiliary device answers the call request, it establishes a call connection with a third electronic device. Based on the call request and its own device information, it generates a second call log during the call and sends it to the online device. After the call ends, it generates a first call log and sends it to the online device, updating the second call log to the first. For example, a tablet computer answers a call request, generates a call log, and then sends the call log to a mobile phone and a smartwatch.

[0124] It should be noted that when two SIM cards are inserted into the main device, the first and second call logs also include the SIM card identification information, such as "SIM 1" and "SIM 2". The call information sent from the main device to the auxiliary device also includes the SIM card identification information.

[0125] When the first electronic device communicates with the third electronic device, the method 600 for synchronizing call records by the first electronic device is as follows: Figure 6 As shown, the method 600 includes:

[0126] S601: When the master device receives a call request, the user answers the call.

[0127] For example, the main device is a mobile phone.

[0128] S602: The master device data change monitoring module monitors the call status of the master device.

[0129] At this time, the main device's call status is "in a call".

[0130] S603: The master device generates a second call record and sends the second call record to the master device's distributed framework.

[0131] S604: The distributed framework of the master device can view the currently online devices from the information change monitoring module.

[0132] S605: The master device's distributed framework sends the second call record to the online device.

[0133] At this point, online devices are auxiliary devices. For example, current online devices include tablets and smartwatches.

[0134] S606: The user hangs up the call.

[0135] The user performs a second action on the first electronic device to hang up the call. For example, the second action could be clicking the hang-up control on the call interface. Based on the detected second action, the main device disconnects the call connection with the third electronic device.

[0136] S607: The master device data change monitoring module monitors the call status of the master device.

[0137] At this point, the master device's call status changes from "in a call" to "call ended." The data change monitoring module detects the change in the master device's call status and notifies the master device to update the call log.

[0138] S608: The master device generates the first call record and sends the first call record to the master device's distributed framework.

[0139] S609: The distributed framework of the master device can view the currently online devices from the information change monitoring module.

[0140] At this point, the currently online device may be different from the online device in step S605. For example, the only currently online device may be a smartwatch. The tablet computer lost its short-range communication connection with the host device during the call.

[0141] S610: The master device's distributed framework sends the first call record to the online device.

[0142] After receiving the first call record, the online device updates the second call record to reflect the first call record. It then sends a notification to the main device that the first call record has been received.

[0143] It should be noted that after the call ends, for example, at 10:00 AM, the tablet reconnects to the phone via short-range communication. For example, at 2:00 PM, the phone can still send the first call record to the tablet, and the phone can update the current call record to the first call record.

[0144] It should be noted that if the smartwatch and the phone do not have a short-range communication connection when the phone receives a call request, meaning the smartwatch does not receive the call request, the phone can still send the call record to the smartwatch after the phone generates the call log and establishes a short-range communication connection with the phone.

[0145] Details not described in the embodiments of this application can be found in the foregoing. Figures 3 to 5 The methods described in the illustrated embodiments will not be repeated here.

[0146] When the second electronic device communicates with the third electronic device, the method 700 for synchronizing call records by the second electronic device is as follows: Figure 7 As shown, the method includes:

[0147] S701: Upon receiving a call request, the master device transmits the call information to the auxiliary device.

[0148] S702: The user selects an auxiliary device to answer the call.

[0149] For example, when a user answers a call using a tablet, the tablet establishes a call connection with a third electronic device.

[0150] S703: The auxiliary device data change monitoring module monitors the call status of the auxiliary device.

[0151] At this time, the auxiliary device's call status is "in a call".

[0152] S704: The auxiliary device generates a second call record and sends the second call record to the distributed framework of the auxiliary device.

[0153] S705: The distributed framework for auxiliary devices allows you to view currently online devices from the information change monitoring module.

[0154] S706: The distributed framework of the auxiliary device sends the second call record to the online device.

[0155] At this point, online devices can include the primary device and other auxiliary devices. For example, current online devices include mobile phones and smartwatches. The distributed framework sends the second call log to the mobile phone and smartwatch.

[0156] S707: The user hangs up the call.

[0157] S708: The auxiliary device data change monitoring module monitors the call status of the auxiliary device.

[0158] At this point, the auxiliary device's call status changes from "in a call" to "call ended." The data change monitoring module detects this change in the auxiliary device's call status and notifies the auxiliary device to update its call log.

[0159] S709: The auxiliary device generates the first call record and sends the first call record to the distributed framework of the auxiliary device.

[0160] S710: The distributed framework for auxiliary devices allows you to view currently online devices from the information change monitoring module.

[0161] At this point, the current online device may be different from the online device in step S706.

[0162] S711: The distributed framework of the auxiliary device sends the first call record to the online device.

[0163] Details not described in the embodiments of this application can be found in the foregoing. Figures 3 to 6 The methods in the illustrated embodiments will not be described in detail here. It should be noted that in some cases, steps S705 and S706, and steps S710 and S711 can be replaced by: the distributed framework of the auxiliary device sending the second call record to the master device, and the master device sending the second call record to other auxiliary devices. For example, if the tablet only establishes a Bluetooth connection with the mobile phone, and the mobile phone also establishes a Bluetooth connection with the smartwatch, then the tablet sends the second call record to the mobile phone, and then the mobile phone sends the second call record to the smartwatch.

[0164] Taking the second electronic device receiving call logs as an example, the second electronic device displays a notification message in the status bar to inform the user that there are call logs. It then generates a first interface based on the first call log and a second interface based on the second call log. After seeing the notification message, the user can perform a third operation on the second electronic device. For example, the third operation could be clicking the notification message in the status bar. When the second electronic device detects the third operation, it displays either the first or second interface.

[0165] It should be noted that in some cases, the call between the first and third electronic devices may last for a considerable period. During this call, the second electronic device, which initially established a short-range communication connection with the first electronic device, may disconnect, meaning the second electronic device may drop the connection during the call. For example, the second electronic device might be located outside the Wi-Fi connection range; for instance, a user might be using their mobile phone at home to make a call with the third electronic device while their tablet is taken to the park by their mother to take pictures. Alternatively, the user might switch the network the second electronic device is connected to, or the user might have turned off the second electronic device's Bluetooth function. In these situations, the second electronic device may receive the second call record but not the first call record.

[0166] When the second electronic device receives the second call record and detects a change in its network status—for example, detecting a disconnection from the Wi-Fi connection established a preset time ago, a user switching networks, a user disabling Bluetooth, or a device being powered off—the second electronic device generates a third call record based on the information contained in the first call record. The third call record includes the identification information of the first electronic device, the identification information of the third electronic device, and information indicating that the second electronic device has disconnected its short-range communication connection with the first electronic device. The second electronic device updates the second call record to the third call record and generates a third interface based on the third call record.

[0167] The following explanation uses a mobile phone as the first electronic device (main device) and a tablet computer as the second electronic device (auxiliary device) to illustrate the first interface, the second interface, and the third interface.

[0168] After the call ends, the second electronic device receives the first call record and displays the first interface. Figure 8 Figure (a) illustrates a first interface 80 displayed on a tablet computer. The first interface 80 includes a numeric keypad interface 81 and a call log interface 82. The numeric keypad interface 81 includes a numeric keypad 811 and dialing controls 812. The call log interface 82 displays at least one first call record, such as first call record 821 and first call record 822. When first call record 821 is the most recent call record, it can be displayed above first call record 822. Each first call record displays identification information of a first electronic device, identification information of a third electronic device, and the first call status.

[0169] For example, the first call record 821 displays the identification information of the third electronic device as "Xiao Hong", the identification information of the first electronic device as "My Phone", and the first call status as "Answered". Additionally, it may display the SIM card identification information as "Card 5233", the date the first call record 821 was received as "8 / 12", and the call duration as "8 minutes and 32 seconds". The content of the first call record 821 is: On August 12th, the SIM card ending in "5233" received a call from Xiao Hong. The user answered the call using their phone, and the call has ended, lasting 8 minutes and 32 seconds.

[0170] In the call log interface 82, to the right of the first call log 821, a first control 820 can also be displayed. Users can click on the first control 820 to enter the details interface of the first call log 821. The details interface can display the user's historical call records with "Xiao Hong", "Xiao Hong's" profile picture, and the location of "Xiao Hong's" SIM card.

[0171] In addition, the top of the numeric keypad interface 81 and the call log interface 82 can display information such as battery level, network, carrier, and time. The bottom of the numeric keypad interface 81 and the call log interface 82 can display icons such as phone number, contacts, and favorites, as well as a return control 801, a desktop control 802, and a menu control 803. When the user clicks the return control 801 (or the desktop control 802, or the menu control 803), the tablet can switch from the currently displayed first interface to other interfaces. For example, when the user clicks the desktop control 802, the tablet can switch from the first interface to the desktop.

[0172] During the call, the second electronic device receives the second call log and displays a second interface. Figure 8 Figure (b) illustrates a second interface 83 displayed on the tablet computer. The second interface 83 includes a numeric keypad interface 81 and a call log interface 84. The call log interface 84 displays at least one second call record, and each second call record displays the identification information of the first electronic device, the identification information of the third electronic device, and the second call status.

[0173] For example, the second call log 841 displays the identification information of the third electronic device as "Xiao Hong", the identification information of the first electronic device as "My Phone", and the second call status as "In Response". Additionally, it may display the SIM card identification information as "Card 5233" and the date the second call log 841 was received as "8 / 12". The content of the second call log 841 is: On August 12th, the SIM card ending in "5233" received a call from Xiao Hong, the user answered the call using their mobile phone, and is currently talking to Xiao Hong.

[0174] When the tablet disconnects Figure 8 Figure (c) illustrates a third interface 85 displayed on the tablet computer. The third interface 85 includes a numeric keypad interface 81 and a call log interface 86. The call log interface 86 displays at least one third call record, and each third call record displays the identification information of the first electronic device, the identification information of the third electronic device, and information indicating that the second electronic device has lost its short-range communication connection with the first electronic device.

[0175] For example, the third call record 861 displays the identification information of the third electronic device as "Xiao Hong", the identification information of the first electronic device as "My Phone", and the information that the second electronic device lost its short-range communication connection with the first electronic device as "Disconnected". In addition, it may also display the identification information of the SIM card as "Card 5233" and the date of receiving the third call record 861 as "8 / 12". The content of the third call record 861 is: On August 12, the SIM card with the last four digits "5233" received a call from Xiao Hong. The user answered the call with the mobile phone, and the tablet lost its short-range communication connection with the mobile phone during the call.

[0176] The following explanation uses a tablet computer as the receiving device and a smartwatch as the device for receiving call logs as an example to illustrate the first, second, and third interfaces.

[0177] Figure 9 Figure (a) shows a first interface 91 displayed on the smartwatch, which displays at least one first call record, such as first call record 911 and first call record 912. For example, first call record 911 displays the identification information of the third electronic device as "136********", the identification information of the first electronic device as "My Tablet", and the first call status as "Answered". In addition, first call record 911 may also display the call duration as "3:10", that is, the call lasted for 3 minutes and 10 seconds.

[0178] In addition, the avatar 910 of a third electronic device can be displayed to the left of the first call record 911. This avatar can be a user-preset avatar or a system default avatar.

[0179] Figure 9 Figure (b) shows a second interface 92 displayed on the smartwatch, which displays at least one second call record, such as second call record 921 and second call record 922. For example, second call record 921 displays the identification information of the third electronic device as "136********", the identification information of the first electronic device as "My Tablet", and the second call status as "answering".

[0180] Figure 9Figure (c) illustrates a third interface 93 displayed on the smartwatch, which shows at least one third call record, such as third call record 931 and second call record 932. For example, third call record 931 shows the identification information of the third electronic device as "136********", the identification information of the first electronic device as "My Tablet", and the information that the smartwatch lost short-range communication connection with the tablet during the call as "disconnected".

[0181] It should be understood that the above interface is just an example. In reality, when the smartwatch displays the first call record, the second call record generated during other calls may be displayed below the first call record 911.

[0182] It should be understood that after the first electronic device generates call logs, it can also generate a corresponding interface to display the call logs.

[0183] This embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0184] This embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0185] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0186] The electronic device provided in this embodiment is used to execute the above-described dynamic response method, and therefore can achieve the same effect as the above-described implementation method. When using integrated units, the electronic device may include a processing module, a storage module, and a communication module. The processing module can be used to control and manage the actions of the electronic device; for example, it can be used to support the electronic device in executing the steps executed by the processing unit. The storage module can be used to support the electronic device in executing stored program code and data. The communication module can be used to support communication between the electronic device and other devices.

[0187] The processing module can be a processor or a controller. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.

[0188] In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device involved in this embodiment can be a device having... Figure 2 The device with the structure shown.

[0189] This embodiment also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed on an electronic device, the electronic device performs the aforementioned method steps to achieve the dynamic response method in the above embodiment.

[0190] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to achieve the dynamic response method described in the above embodiment.

[0191] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component, or module. The apparatus may include a connected processor and a memory; wherein the memory is used to store computer execution instructions, and when the apparatus is running, the processor may execute the computer execution instructions stored in the memory to cause the chip to execute the dynamic response method in the above-described method embodiments.

[0192] In this embodiment, the electronic device, computer-readable storage medium, computer program product or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0193] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0194] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0195] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0196] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0197] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0198] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for synchronizing call records, characterized in that, The method is applied to a synchronous call recording system, which includes a first electronic device and a second electronic device. The first electronic device and the second electronic device are connected via short-range communication. When the first electronic device has a SIM card inserted, the second electronic device has no SIM card inserted; when the first electronic device has no SIM card inserted, the second electronic device has a SIM card inserted. The method includes: A call request is received from a third electronic device. When the first electronic device is a device without a SIM card and the second electronic device is a device with a SIM card, the second electronic device receives the call request and sends the call request to the first electronic device. When the first electronic device is a device with a SIM card and the second electronic device is a device without a SIM card, the first electronic device receives the call request and sends the call request to the second electronic device. Establish a short-range communication connection between the first electronic device and the second electronic device; Based on the call request, the first electronic device displays a first call request interface, and the second electronic device displays a second call request interface; A first operation on the first call request interface is detected, wherein the first operation is to accept the call request. In response to the first operation, the first electronic device establishes a communication connection with the third electronic device; After establishing a call connection with the third electronic device, the first electronic device generates a first call record based on the call request. The first call record includes first identification information, second identification information, and a first call status. The first identification information is used to uniquely identify the first electronic device, the second identification information is used to identify the user information of the third electronic device, and the first call status is used to indicate the status of the call connection between the first electronic device and the third electronic device. The first call record is generated after the call ends, and the first call status is that the call has ended. Based on the first call record, a first interface is generated, which includes the first identification information, the second identification information, and the first call status. The first electronic device sends the first call record to the second electronic device, and after receiving the first call record, the second electronic device generates and displays the first interface; After establishing a call connection with the third electronic device, the first electronic device generates a second call record based on the call request. The second call record includes the first identification information, the second identification information, and the second call status. The first call record is a call record updated from the second call record, and the second call status is "in a call". Based on the second call record, a second interface is generated, which includes the first identification information, the second identification information, and the second call status. The first electronic device sends the second call record to the second electronic device, and after receiving the second call record, the second electronic device generates and displays the second interface; When the second electronic device receives the second call record and detects that the short-range communication connection with the first electronic device has been disconnected, the second electronic device generates a third interface. The third interface includes the first identification information, the second identification information, and information about the disconnection of the short-range communication connection between the second electronic device and the first electronic device. The first electronic device sends the first call record or the second call record to the second electronic device after determining that the second electronic device is an online device that has established a trust relationship with the first electronic device by logging into the same user account and is currently in a short-range communication connection.

2. The method according to claim 1, characterized in that, The first electronic device and the second electronic device are mutually trusted devices.

3. The method according to claim 1 or 2, characterized in that, The first electronic device sends a first call record to the second electronic device, including: Establish a short-range communication connection between the first electronic device and the second electronic device; The first electronic device sends the first call record to the second electronic device.

4. The method according to any one of claims 1 to 3, characterized in that, When the short-range communication is based on a wireless local area network, determining that the first electronic device and the second electronic device have a short-range communication connection includes: Send a query request to the server of the wireless local area network, the query request instructing the server of the wireless local area network to query the destination address of the electronic device currently connected to the wireless local area network; Receive the destination address of the electronic device currently connected to the wireless local area network sent by the server of the wireless local area network; When the destination address includes the addresses of the first electronic device and the second electronic device, a short-range communication connection between the first electronic device and the second electronic device is determined.

5. The method according to any one of claims 1 to 3, characterized in that, When the short-range communication is Bluetooth-based short-range communication, determining that the first electronic device and the second electronic device are connected via short-range communication includes: From the target location of the first electronic device, obtain the destination address of the electronic device that has already established a short-range communication connection with the first electronic device; When the destination address includes the address of the second electronic device, a short-range communication connection between the first electronic device and the second electronic device is determined.

6. A method for synchronizing call records, characterized in that, The method is applied to a synchronous call recording system, the system including a first electronic device and a second electronic device, the first electronic device and the second electronic device being connected via short-range communication, the first electronic device being a device with a SIM card inserted, and the second electronic device being a device without a SIM card inserted, the method being executed by the first electronic device, including: A call request is received from a third electronic device. When the first electronic device is a device without a SIM card and the second electronic device is a device with a SIM card, the second electronic device receives the call request and sends the call request to the first electronic device. When the first electronic device is a device with a SIM card and the second electronic device is a device without a SIM card, the first electronic device receives the call request and sends the call request to the second electronic device. Display the first call request screen; A first operation on the first call request interface is detected, wherein the first operation is to accept the call request. In response to the first operation, a call connection is established with the third electronic device; After establishing a call connection with the third electronic device, a first call record is generated based on the call request. The first call record includes first identification information, second identification information, and a first call status. The first identification information is used to uniquely identify the first electronic device, the second identification information is used to identify the user information of the third electronic device, and the first call status is used to indicate the status of the call connection between the first electronic device and the third electronic device. The first call record is generated after the call ends, and the first call status is that the call has ended. Based on the first call record, a first interface is generated, which includes the first identification information, the second identification information, and the first call status. The first call record is sent to the second electronic device, and after receiving the first call record, the second electronic device generates and displays the first interface; After establishing a call connection with the third electronic device, a second call record is generated based on the call request. The second call record includes the first identification information, the second identification information, and the second call status. The first call record is a call record updated from the second call record, and the second call status is "in a call". Based on the second call record, a second interface is generated, which includes the first identification information, the second identification information, and the second call status. The second call record is sent to the second electronic device. After receiving the second call record, the second electronic device generates and displays the second interface. The third interface of the second electronic device is generated when it disconnects the short-range communication connection with the first electronic device after receiving the second call record. The third interface includes the first identification information, the second identification information, and information on the disconnection of the short-range communication connection between the second electronic device and the first electronic device. The first electronic device sends the first call record or the second call record to the second electronic device after determining that the second electronic device is an online device that has established a trust relationship with the first electronic device by logging into the same user account and is currently in a short-range communication connection.

7. The method according to claim 6, characterized in that, The first electronic device and the second electronic device are mutually trusted devices.

8. The method according to claim 6 or 7, characterized in that, Sending the first call record to the second electronic device includes: Establish a short-range communication connection with the second electronic device; Send the first call record to the second electronic device.

9. The method according to any one of claims 6 to 8, characterized in that, When the short-range communication is based on a wireless local area network, determining the short-range communication connection with the second electronic device includes: Send a query request to the server of the wireless local area network, the query request instructing the server of the wireless local area network to query the destination address of the electronic device currently connected to the wireless local area network; Receive the destination address of the electronic device currently connected to the wireless local area network sent by the server of the wireless local area network; When the destination address includes the addresses of the first electronic device and the second electronic device, a short-range communication connection with the second electronic device is determined.

10. The method according to any one of claims 6 to 9, characterized in that, When the short-range communication is Bluetooth-based, the first electronic device determines a short-range communication connection with the second electronic device, including: From the target location of the first electronic device, obtain the destination address of the electronic device that has already established a short-range communication connection with the first electronic device; When the destination address includes the address of the second electronic device, a short-range communication connection between the first electronic device and the second electronic device is determined.

11. The method according to any one of claims 6 to 10, characterized in that, While the first electronic device displays the first call request interface, the second electronic device displays the second call request interface.

12. An electronic device, characterized in that, include: Display screen; One or more processors; one or more memories; a module with multiple applications installed; The memory stores one or more programs that, when executed by the processor, cause the electronic device to perform the method as described in any one of claims 6 to 11.

13. A system for synchronizing call logs, comprising one or more electronic devices, characterized in that, include: Display screen; One or more processors; One or more storage devices; a module with multiple applications installed; The memory stores one or more programs that, when executed by the processor, cause the system to perform the method as described in any one of claims 1 to 5.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1 to 5, or cause the electronic device to perform the method as described in any one of claims 6 to 11.

15. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Data processing method, server and electronic device

    CN109067886A

  • Call method, device and system

    CN110138937A