Bluetooth telephone contact synchronization method and device and vehicle

By directly synchronizing contacts and call record information from the server to the Bluetooth phone APP in the connected vehicle module, the problem of slow synchronization efficiency in the existing technology is solved, the user experience is improved, and the connection is disconnected after synchronization is completed.

CN119946183AActive Publication Date: 2025-05-06SAIC GM WULING AUTOMOBILE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411997559.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-06
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

In the prior art, the synchronization efficiency of address book and call record is slow, resulting in the Bluetooth phone APP being displayed and synchronized, affecting the user experience.

Method used

By establishing a PBAP connection between the client Bluetooth phone APP and the server in the networked vehicle machine module, the contact information and call record information are directly synchronized from the server to the Bluetooth phone APP to avoid extraction through the vehicle machine system database.

Benefits of technology

Improve information synchronization efficiency, ensure that the user experience is not affected, and disconnect the PBAP connection after each synchronization, avoiding the APP being in a synchronized state all the time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119946183A_ABST
    Figure CN119946183A_ABST
Patent Text Reader

Abstract

The invention provides a Bluetooth telephone contact person synchronization method and device and a vehicle, and relates to the technical field of vehicle control, contact person information and call record information in a server side can be directly synchronized to a Bluetooth telephone APP, extraction through a system database of a vehicle machine is not needed, the information synchronization efficiency is improved, and meanwhile, the user experience is improved. After the contact person information and the call record information are synchronized each time, the Bluetooth telephone APP of the client calls a Bluetooth framework to send a PBAP connection disconnection instruction, so that the PBAP connection between the server and the Bluetooth telephone APP is disconnected, and the Bluetooth telephone APP closes the synchronization state; the problem that the Bluetooth phone APP is always in a synchronous state due to the fact that PBAP connection cannot be disconnected automatically in the prior art is avoided, and the negative influence on user experience is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The embodiments of the present application relate to the field of vehicle control technology, and more particularly to a method, device and vehicle for synchronizing contacts via a Bluetooth phone. [Background technology]

[0002] In the native Android system, after the Bluetooth connection is established, the Bluetooth framework process automatically downloads the address book and call logs from the mobile phone and stores them in the Android system database. The Bluetooth phone APP listens to the broadcast of database updates to read and display the data. However, due to the IO read and write speed limit of the Android system database, it takes more than 20 seconds to write 1,000 data to the database, and more than 10 seconds for the Bluetooth phone APP to read. As a result, the Bluetooth phone APP always displays "synchronizing", affecting the user experience. After the Bluetooth connection is established, the mobile phone turns off the contact synchronization permission and then turns on the contact synchronization permission. The native Android system is always in the synchronization state because it cannot establish a PBAP (Phone Book Access Profile) connection. [Summary of the invention]

[0003] The embodiments of the present application propose a Bluetooth phone contact synchronization method, device and vehicle to solve the problems in the prior art of slow synchronization efficiency of address book and call log and poor customer experience caused by the Bluetooth phone APP always showing that the synchronization is in progress.

[0004] The present application embodiment provides a method for synchronizing Bluetooth phone contacts, which is applied to a networked vehicle module. The method includes:

[0005] Establishing a PBAP connection between the Bluetooth phone APP in the client and the server, and sending an information synchronization request to the server based on the PBAP connection, wherein the information synchronization request includes a contact information request and a call record information request;

[0006] receiving a plurality of encapsulated contact information continuously transmitted by the server in response to the contact information request, and decompressing the plurality of encapsulated contact information;

[0007] The decompressed contact information is sequentially called back to the Bluetooth phone APP of the client, and the contact information is updated and displayed;

[0008] When the contact information is completely synchronized, receiving a plurality of packaged call record information continuously transmitted by the server in response to the call record information request, and decompressing the plurality of packaged call record information;

[0009] The decompressed call record information is called back to the Bluetooth phone APP of the client in sequence, and the call record information is updated and displayed; at the same time, after the call record information is completely synchronized, the Bluetooth phone APP sends a disconnect PBAP connection instruction to disconnect the Bluetooth phone APP calling the Bluetooth framework to send a disconnect PBAP connection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server.

[0010] Optionally, after sending the information synchronization request to the server based on the PBAP connection, the method further includes:

[0011] The first callback interface is called back to enable the Bluetooth phone APP to execute synchronization of the contact information; the first interface is the callback interface for the Bluetooth phone APP synchronization start in the client.

[0012] Optional, including:

[0013] The server determines the number of contacts in the server according to the contact information request;

[0014] When the number of contacts exceeds a preset contact threshold, the server packages the contacts in the server based on the preset contact threshold, and encapsulates the packaged contacts to obtain a plurality of packaged contact information;

[0015] The server continuously transmits a plurality of packaged contact information to the client, and the client receives the plurality of packaged contact information in sequence.

[0016] Optionally, the packaging of the packaged contacts to obtain a plurality of packaged contact information includes:

[0017] The packaged contacts are encapsulated in vcard data format to obtain several encapsulated contact information.

[0018] Optionally, calling back the decompressed contact information to the Bluetooth phone APP of the client in sequence, and updating and displaying the contact information, includes:

[0019] The second callback interface is called back to control the Bluetooth phone APP of the client to sequentially receive the decompressed contact information; the second callback interface is a callback interface for single contact information transmission.

[0020] Optionally, the receiving a plurality of encapsulated call record information continuously transmitted by the server in response to the call record information request includes:

[0021] The server determines the number of call records in the server according to the call record information request;

[0022] When the number of call records exceeds a preset call record threshold, the server packages the call records in the server based on the preset call record threshold, and encapsulates the packaged call records to obtain a plurality of packaged call record information;

[0023] The server continuously transmits a plurality of packaged call record information to the client, and the client receives the plurality of packaged call record information in sequence.

[0024] Optionally, calling back the decompressed call record information to the Bluetooth phone APP of the client in sequence includes:

[0025] The third callback interface is called back to control the Bluetooth phone APP of the client to sequentially receive the decompressed call record information; the third callback interface is a callback interface for single call record information transmission.

[0026] The present application embodiment provides a Bluetooth phone contact synchronization device, which is applied to a networked vehicle module, and the device includes:

[0027] A communication establishment module, used to establish a PBAP connection between the Bluetooth phone APP in the client and the server, and send an information synchronization request to the server based on the PBAP connection, wherein the information synchronization request includes a contact information request and a call record information request;

[0028] A first information processing module, configured to receive a plurality of packaged contact information continuously transmitted by the server in response to the contact information request, and decompress the plurality of packaged contact information;

[0029] A first information updating module, used to call back the decompressed contact information to the Bluetooth phone APP of the client in sequence, and update and display the contact information;

[0030] A second information processing module is used to receive a plurality of packaged call record information continuously transmitted by the server in response to the call record information request after the contact information is completely synchronized, and decompress the plurality of packaged call record information;

[0031] The second information update module is used to call back the decompressed call record information to the Bluetooth phone APP of the client in sequence, and update and display the call record information; at the same time, after the call record information is completely synchronized, the Bluetooth phone APP sends a disconnect PBAP connection instruction to disconnect the Bluetooth phone APP calling the Bluetooth framework to send a disconnect PBAP connection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server.

[0032] An embodiment of the present application provides a networked vehicle-machine module, which includes a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, the networked vehicle-machine module is triggered to execute the steps of the method described above.

[0033] An embodiment of the present application provides a vehicle, which includes the above-mentioned networked vehicle-machine module.

[0034] Its beneficial effect is that: the present application can directly synchronize the contact information and call log information in the server to the Bluetooth phone APP directly, without the need to extract through the system database of the vehicle computer, thereby improving the efficiency of information synchronization. At the same time, after each synchronization of contact information and call log information, the client's Bluetooth phone APP calls the Bluetooth framework to send a disconnect PBAP connection instruction, so that the server and the Bluetooth phone APP disconnect the PBAP connection, and the Bluetooth phone APP will turn off the synchronization state, avoiding the problem in the prior art that the Bluetooth phone APP is always in a synchronization state due to the inability to disconnect the PBAP connection by itself, thereby reducing the negative impact on user experience.

Brief Description of the Drawings

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 A schematic diagram of a Bluetooth phone contact synchronization process provided in an embodiment of the present application;

[0037] Figure 2 A schematic diagram of the structure of a Bluetooth phone contact synchronization device provided in an embodiment of the present application;

[0038] Figure 3 A schematic diagram of the structure of a networked vehicle machine module provided in an embodiment of the present application;

[0039] Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. [Specific implementation method]

[0040] In order to better understand the technical solution of this specification, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0041] It should be clear that the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0042] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit this specification. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0043] The technical solution protected by the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0044] Reference Figure 1 A flow chart of a Bluetooth phone contact synchronization method provided for an embodiment of the present application, the flow of the method is described as follows: S101: Establish a PBAP connection between the Bluetooth phone APP in the client and the server, and send an information synchronization request to the server based on the PBAP connection, the information synchronization request including a contact information request and a call log information request; S102: Receive a plurality of encapsulated contact information continuously transmitted by the server in response to the contact information request, and decompress the plurality of encapsulated contact information; S103: Call back the decompressed contact information to the Bluetooth phone APP of the client in sequence, and update and display the contact information.

[0045] In a preferred embodiment, taking the client as a vehicle and the server as a mobile phone as an example, first, the mobile phone and the vehicle communicate and connect through the Bluetooth framework, then the Bluetooth phone APP in the vehicle mobilizes the Bluetooth framework to send a PBAP connection instruction to the mobile phone, so that the mobile phone and the Bluetooth phone APP establish a PBAP connection, and based on the PBAP connection, direct communication between the mobile phone and the Bluetooth phone APP is realized, and the information synchronization request includes a contact information request, a call record information request, etc.; after that, the mobile phone packs and packages the contacts stored in the mobile phone in turn according to the received contact information request, obtains a number of packaged contact information, and sends the several packaged contact information through the Bluetooth framework ework is transmitted to the Bluetooth phone APP one by one. The Bluetooth phone APP decompresses several packaged contact information and controls the vehicle's Bluetooth phone APP to receive the decompressed contact information and update the displayed contact information in sequence by calling back the second callback interface in the Bluetooth framework; among them, the second callback interface is a callback interface for single contact information transmission, that is, a callback interface for single transmission of one packaged contact information. Through the second callback interface, the contacts in the mobile phone can be transferred to the Bluetooth phone APP in batches, and the contacts can be updated and displayed on the Bluetooth phone APP immediately after the transmission. There is no need to wait until all contacts are synchronized to the Bluetooth phone APP before updating the display, which reduces the time users wait for updating contacts and improves the user experience.

[0046] S104: When the contact information is fully synchronized, receive the multiple encapsulated call record information continuously transmitted by the server in response to the call record information request, and decompress the multiple encapsulated call record information; S105: Call back the decompressed call record information to the Bluetooth phone APP of the client in sequence, and update and display the call record information; at the same time, after the call record information is fully synchronized, the Bluetooth phone APP sends a disconnect PBAP connection instruction to disconnect the Bluetooth phone APP calling the Bluetooth framework to send a disconnect PBAP connection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server.

[0047] In a preferred embodiment, still taking the client as a vehicle and the server as a mobile phone as an example, when all contacts in the mobile phone are completely synchronized to the Bluetooth phone APP, the mobile phone will package and encapsulate the call records stored in the mobile phone in sequence according to the received call record information request, obtain a number of encapsulated call record information, and transmit the several encapsulated call record information to the Bluetooth phone APP one by one, the Bluetooth phone APP decompresses the several encapsulated contact information and controls the vehicle's Bluetooth phone APP to receive the decompressed encapsulated call record information and update and display the encapsulated call record information in sequence by calling back the third callback interface in the Bluetooth framework; wherein the third callback interface is a callback interface for single call record information transmission, that is, a callback interface for single transmission of one encapsulated call record information, through the third callback interface, the call records in the mobile phone can be transmitted to the Bluetooth phone APP in batches, and updated and displayed on the Bluetooth phone APP immediately after transmission, without waiting until all call records are synchronized to the Bluetooth phone APP before updating the display, reducing the time users wait for call record updates and improving user experience. When all call records in the mobile phone are completely synchronized to the Bluetooth phone APP, the vehicle's Bluetooth phone APP sends a disconnect PBAP connection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server. The Bluetooth phone APP will turn off the synchronization state, avoiding the problem in the prior art that the Bluetooth phone APP is always in a synchronization state due to the Bluetooth framework's inability to disconnect itself, thereby reducing the negative impact on user experience.

[0048] In a preferred embodiment, the call records include missed call records, received call records, and outgoing call records. After each type of call record is synchronously updated, the third callback interface in the Bluetooth framework needs to be called back to ensure the synchronous update and display of the Bluetooth phone APP.

[0049] Optionally, after sending an information synchronization request to the server based on the PBAP connection, the method further includes: calling back a first callback interface to enable the Bluetooth phone APP to execute synchronization of the contact information; the first interface is a callback interface for starting synchronization of the Bluetooth phone APP in the client.

[0050] In a preferred embodiment, the contact start operation is called back through the callback interface on Contact Callback Start, wherein the contact start operation will force the Bluetooth phone APP to execute the start of contact downloading, which is equivalent to notifying the Bluetooth phone APP of the start of contact downloading, so that the Bluetooth phone APP is in a synchronous ready state, and can quickly receive the decompressed contact information transmitted by the Bluetooth framework, thereby reducing the response time of the Bluetooth phone APP.

[0051] Optionally, the receiving of a number of encapsulated contact information continuously transmitted by the server in response to the contact information request includes: the server determining the number of contacts in the server according to the contact information request; when the number of contacts exceeds a preset contact threshold, the server packages the contacts in the server based on the preset contact threshold, and packages the packaged contacts to obtain a number of encapsulated contact information; the server continuously transmits a number of encapsulated contact information to the client, and the client receives the number of encapsulated contact information in turn.

[0052] In a preferred embodiment, the client is still taken as a vehicle and the server is taken as a mobile phone for explanation. Taking the preset contact threshold of 200 as an example, since the number of contacts stored in the mobile phone may be large, a one-time transmission will cause a large delay and the Bluetooth phone APP will update and display slowly. For this reason, the mobile phone will determine the number of contacts in the mobile phone according to the contact information request; when the number of contacts exceeds 200, the mobile phone will package the contacts in the mobile phone according to 200 contacts as a group. Taking the number of contacts in the mobile phone as 1100 as an example, the contacts in the mobile phone are packaged into five contact data packets, and the five contact data packets are encapsulated to obtain five encapsulated contact information. Then, the mobile phone continuously transmits the five encapsulated contact information to the vehicle, and the Bluetooth phone APP in the vehicle calls the Bluetooth framework to receive the five encapsulated contact information in turn. The contact information is transmitted in batches to facilitate the subsequent quick display on the Bluetooth phone APP, without waiting for all contacts to be transmitted to the Bluetooth phone APP before updating the display, thereby reducing the time users wait to update contacts and improving the user experience.

[0053] Optionally, packaging the packaged contacts to obtain a plurality of packaged contact information includes: packaging the packaged contacts in a vcard data format to obtain a plurality of packaged contact information.

[0054] In a preferred embodiment, since vcard defines a method for organizing personal information and can be used for the transmission and exchange of personal information, the present application uses the vcard data format to encapsulate contacts. vcard uses fields to describe a piece of information about a person, such as the TEL field represents a phone number, and the parameter WORK indicates that the phone number is a work phone number, etc. vcard uses a row-oriented organization format. In addition to multiple rows in the field value, each row represents a complete piece of information. The vcard data format can better reflect the information characteristics of the contact, and can quickly and effectively display the contact information when the Bluetooth phone APP updates the display.

[0055] Optionally, the receiving of a number of encapsulated call record information continuously transmitted by the server in response to the call record information request includes: the server determining the number of call records in the server according to the call record information request; when the number of call records exceeds a preset call record threshold, the server packages the call records in the server based on the preset call record threshold, and encapsulates the packaged call records to obtain a number of encapsulated call record information; the server continuously transmits a number of encapsulated call record information to the client, and the client receives the number of encapsulated call record information in turn.

[0056] In a preferred embodiment, the client is still taken as a vehicle and the server is taken as a mobile phone for explanation. For example, the call record is a missed call record and the preset call record threshold is 150. Since the number of missed call records stored in the mobile phone may be large, a one-time transmission will cause a large delay and the Bluetooth phone APP will update and display slowly. For this reason, the mobile phone will determine the number of missed call records in the mobile phone according to the call record information request; when the number of missed call records exceeds 150, the mobile phone will package the missed call records in the mobile phone as a group of 150 missed call records. For example, the number of missed call records in the mobile phone is 250. , the contacts in the mobile phone are packaged into 2 missed call record data packets, and the 2 missed call record data packets are encapsulated to obtain 2 encapsulated missed call record information. Then, the mobile phone continuously transmits the 2 encapsulated missed call record information to the vehicle, and the Bluetooth phone APP in the vehicle calls the Bluetooth framework to receive the 2 encapsulated missed call record information in sequence. The missed call record information is transmitted in batches to facilitate subsequent quick display on the Bluetooth phone APP. There is no need to wait for all missed call records to be transmitted to the Bluetooth phone APP before updating the display, which reduces the time users wait for the update of missed call records and improves the user experience.

[0057] In a preferred embodiment, each time the Bluetooth phone APP synchronizes contacts and call records, it will re-establish the PBAP connection between the Bluetooth phone APP and the server. After the download is complete, the Bluetooth phone APP sends an instruction to disconnect the PBAP connection to the PBAP connection between the Bluetooth phone APP and the server. Because if the PBAP connection is always connected, sometimes there will be a long synchronization time without response, it is only suitable for short connections.

[0058] In a preferred embodiment, the Bluetooth phone APP no longer determines whether the PBAP is connected when determining the Bluetooth connection status. The Bluetooth phone APP also no longer determines whether the PBAP is connected in other states, thereby avoiding the time consumed by the determination process and improving the user experience.

[0059] This application can directly synchronize the contact information and call log information in the server to the Bluetooth phone APP without having to extract it from the system database of the vehicle computer, thereby improving the efficiency of information synchronization. At the same time, after each synchronization of contact information and call log information, the client's Bluetooth phone APP calls the Bluetooth framework to send a disconnect PBAP connection instruction, so that the server and the Bluetooth phone APP disconnect the PBAP connection, and the Bluetooth phone APP will turn off the synchronization state, avoiding the problem in the prior art that the Bluetooth phone APP is always in a synchronization state due to the inability to disconnect the PBAP connection by itself, thereby reducing the negative impact on user experience.

[0060] Reference Figure 2 A Bluetooth phone contact synchronization device provided in an embodiment of the present application is applied to a networked vehicle module, and the device includes:

[0061] The communication establishment module 201 is used to establish a PBAP connection between the Bluetooth phone APP in the client and the server, and send an information synchronization request to the server based on the PBAP connection, wherein the information synchronization request includes a contact information request and a call record information request;

[0062] The first information processing module 202 is used to receive a plurality of packaged contact information continuously transmitted by the server in response to the contact information request, and decompress the plurality of packaged contact information;

[0063] The first information updating module 203 is used to call back the decompressed contact information to the Bluetooth phone APP of the client in sequence, and update and display the contact information;

[0064] The second information processing module 204 is used to receive a plurality of packaged call record information continuously transmitted by the server in response to the call record information request after the contact information is completely synchronized, and decompress the plurality of packaged call record information;

[0065] The second information update module 205 is used to call back the decompressed call record information to the Bluetooth phone APP of the client in sequence, and update and display the call record information; at the same time, after the call record information is completely synchronized, the Bluetooth phone APP sends a disconnect PBAP connection instruction to disconnect the Bluetooth phone APP calling the Bluetooth framework to send a disconnect PBAP connection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server.

[0066] Optionally, after sending the information synchronization request to the server based on the PBAP connection, the device further includes:

[0067] The first interface callback module is used to call back the first callback interface so that the Bluetooth phone APP executes the synchronization of the contact information; the first interface is the callback interface for the Bluetooth phone APP synchronization start in the client.

[0068] Optionally, the first information processing module 202 includes:

[0069] A contact number determination unit, configured for the server to determine the number of contacts in the server according to the contact information request;

[0070] A first encapsulation unit, configured to, when the number of the contacts exceeds a preset contact threshold, cause the server to package the contacts in the server based on the preset contact threshold, and to package the packaged contacts to obtain a plurality of packaged contact information;

[0071] The contact information receiving unit is used for the server to continuously transmit a plurality of packaged contact information to the client, and the client receives the plurality of packaged contact information in sequence.

[0072] Optionally, the first packaging unit includes:

[0073] The first encapsulation subunit is used to encapsulate the packaged contacts in a vcard data format to obtain a plurality of encapsulated contact information.

[0074] Optionally, the first information updating module 203 includes:

[0075] The second interface callback module is used to control the Bluetooth phone APP of the client to receive the decompressed contact information in sequence by calling back the second callback interface; the second callback interface is a callback interface for single contact information transmission.

[0076] Optionally, the second information processing module 204 includes:

[0077] A call record quantity determination unit, configured for the server to determine the number of call records in the server according to the call record information request;

[0078] A second encapsulation unit is configured to, when the number of call records exceeds a preset call record threshold, package the call records in the server based on the preset call record threshold, and encapsulate the packaged call records to obtain a plurality of packaged call record information;

[0079] The call record information receiving unit is used for the server to continuously transmit a plurality of packaged call record information to the client, and the client receives the plurality of packaged call record information in sequence.

[0080] Optionally, the second information updating module 205 includes:

[0081] The third interface callback module is used to control the Bluetooth phone APP of the client to receive the decompressed call record information in sequence by calling back the third callback interface; the third callback interface is a callback interface for single call record information transmission.

[0082] Regarding the device in the above embodiment, the process of executing the operation in each step has been described in detail in the embodiment of the method, and will not be elaborated here.

[0083] See also Figure 3 Based on the same inventive concept, the embodiment of the present application further provides a networked vehicle module, the networked vehicle module comprising at least one processor 401, the processor 401 is used to execute a computer program stored in a memory, and implement the embodiment of the present application as provided in Figure 1 The flowchart diagram steps of the Bluetooth phone contact synchronization method are shown.

[0084] Optionally, the processor 401 may specifically be a central processing unit, a specific ASIC, or one or more integrated circuits for controlling program execution.

[0085] Optionally, the networked vehicle module may further include a memory 402 connected to at least one processor 401, and the memory 402 may include ROM, RAM, and disk storage. The memory 402 is used to store data required by the processor 401 when it is running, that is, it stores instructions that can be executed by at least one processor 401. At least one processor 401 executes the instructions stored in the memory 402 to execute the following steps: Figure 1 The method shown. Wherein, the number of memories 402 is one or more. Wherein, the number of memories 402 is one or more.

[0086] See also Figure 4 Based on the same inventive concept, the embodiment of the present application further provides a vehicle, comprising Figure 3 The networked vehicle module shown. For example, the vehicle can be a pure electric vehicle, an extended-range vehicle, or a plug-in hybrid vehicle.

[0087] The present application also provides a computer storage medium, wherein the computer storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes Figure 1 method.

[0088] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.

Claims

1. A method for synchronizing contacts of a Bluetooth phone, characterized in that: Applied to a networked vehicle module, the method includes: Establishing a PBAP connection between the Bluetooth phone APP in the client and the server, and sending an information synchronization request to the server based on the PBAP connection, wherein the information synchronization request includes a contact information request and a call record information request; receiving a plurality of encapsulated contact information continuously transmitted by the server in response to the contact information request, and decompressing the plurality of encapsulated contact information; The decompressed contact information is sequentially called back to the Bluetooth phone APP of the client, and the contact information is updated and displayed; When the contact information is completely synchronized, receiving a plurality of packaged call record information continuously transmitted by the server in response to the call record information request, and decompressing the plurality of packaged call record information; The decompressed call record information is called back to the Bluetooth phone APP of the client in sequence, and the call record information is updated and displayed; at the same time, after the call record information is completely synchronized, the Bluetooth phone APP sends a disconnect PBAP connection instruction to disconnect the Bluetooth phone APP calling the Bluetooth framework to send a disconnect PBAP connection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server.

2. The method according to claim 1, characterized in that After sending the information synchronization request to the server based on the PBAP connection, the method further includes: The first callback interface is called back to enable the Bluetooth phone APP to execute synchronization of the contact information; the first interface is the callback interface for the Bluetooth phone APP synchronization start in the client.

3. The method according to claim 1, characterized in that The receiving of the plurality of packaged contact information continuously transmitted by the server in response to the contact information request includes: The server determines the number of contacts in the server according to the contact information request; When the number of contacts exceeds a preset contact threshold, the server packages the contacts in the server based on the preset contact threshold, and encapsulates the packaged contacts to obtain a plurality of packaged contact information; The server continuously transmits a plurality of packaged contact information to the client, and the client receives the plurality of packaged contact information in sequence.

4. The method according to claim 3, characterized in that The step of packaging the packaged contacts to obtain a plurality of packaged contact information includes: The packaged contacts are encapsulated in vcard data format to obtain several encapsulated contact information.

5. The method according to claim 1, characterized in that The decompressed contact information is sequentially called back to the Bluetooth phone APP of the client, and the contact information is updated and displayed, including: The second callback interface is called back to control the Bluetooth phone APP of the client to sequentially receive the decompressed contact information; the second callback interface is a callback interface for single contact information transmission.

6. The method according to claim 1, characterized in that The receiving of a plurality of encapsulated call record information continuously transmitted by the server in response to the call record information request includes: The server determines the number of call records in the server according to the call record information request; When the number of call records exceeds a preset call record threshold, the server packages the call records in the server based on the preset call record threshold, and encapsulates the packaged call records to obtain a plurality of packaged call record information; The server continuously transmits a plurality of packaged call record information to the client, and the client receives the plurality of packaged call record information in sequence.

7. The method according to claim 1, characterized in that The decompressed call record information is sequentially called back to the Bluetooth phone APP of the client, including: The third callback interface is called back to control the Bluetooth phone APP of the client to sequentially receive the decompressed call record information; the third callback interface is a callback interface for single call record information transmission.

8. A Bluetooth phone contact synchronization device, characterized in that: Applied to a networked vehicle module, the device comprises: A communication establishment module, used to establish a PBAP connection between the Bluetooth phone APP in the client and the server, and send an information synchronization request to the server based on the PBAP connection, wherein the information synchronization request includes a contact information request and a call record information request; A first information processing module, configured to receive a plurality of packaged contact information continuously transmitted by the server in response to the contact information request, and decompress the plurality of packaged contact information; A first information updating module, used to call back the decompressed contact information to the Bluetooth phone APP of the client in sequence, and update and display the contact information; A second information processing module is used to receive a plurality of packaged call record information continuously transmitted by the server in response to the call record information request after the contact information is completely synchronized, and decompress the plurality of packaged call record information; The second information update module is used to call back the decompressed call record information to the Bluetooth phone APP of the client in sequence, and update and display the call record information; at the same time, after the call record information is completely synchronized, the Bluetooth phone APP sends a disconnect PBAP connection instruction to disconnect the Bluetooth phone APP calling the Bluetooth framework to send a disconnect PBAP connection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server.

9. A networked vehicle module, characterized in that: The networked vehicle-machine module includes a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, the networked vehicle-machine module is triggered to execute the steps of the method as described in any one of claims 1-7.

10. A vehicle, characterized in that: The vehicle includes the networked vehicle module as described in claim 9.

Citation Information

Patent Citations

  • Method and device for obtaining information of intelligent terminal telephone book

    CN103457642A

  • Address book synchronization method, device and vehicle provided with same

    CN109040403A

  • Bluetooth communication method and device and computer readable storage medium

    CN111741457A

  • Data transmission method and related equipment

    CN116782417A