Bluetooth phone contact synchronization method, device and vehicle
By establishing a PBAP connection between the Bluetooth phone app and the server, contact and call log information is directly synchronized and transmitted in batches, and the connection is disconnected after synchronization is completed. This solves the problems of low synchronization efficiency and inability to disconnect in existing technologies, thus improving the user experience.
Patent Information
- Application Number
- CN202411997559.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2044-12-31
AI Technical Summary
In existing technologies, Bluetooth phone apps are inefficient at synchronizing contacts and call logs, resulting in a poor user experience. Furthermore, because the PBAP connection cannot be disconnected automatically, the app continuously displays a synchronizing status.
By establishing a PBAP connection between the client and the server, contact and call log information is directly synchronized, and the connection is disconnected after synchronization is completed. Data is transmitted in batches using encapsulation and decompression technology, encapsulated using vCard data format, and information display is controlled by a callback interface.
It improves information synchronization efficiency, reduces user waiting time, avoids the app constantly displaying a synchronization status, and enhances the user experience.
Smart Images

Figure CN119946183B_ABST
Abstract
Description
[0001] Embodiments of the present application relate to the technical field of vehicle control, and particularly relate to a Bluetooth phone contact synchronization method and device and a vehicle.
[0002] The native Android system automatically downloads the address book and call records from the mobile phone after Bluetooth connection, and stores them in the Android system database. The Bluetooth phone APP listens to the database update broadcast, and reads and displays the data. However, due to the limitation of the IO read-write speed of the Android system database, it takes more than 20s to write 1000 data into the database, and it takes more than 10s for the Bluetooth phone APP to read, which causes the Bluetooth phone APP to always display synchronization in progress, affecting the user experience. After Bluetooth connection, the mobile phone closes the synchronization contact permission and then opens it. The native Android system cannot establish a PBAP (Phone Book Access Profile) connection, so it is always in the synchronization in progress state.
[0003] Embodiments of the present application provide a Bluetooth phone contact synchronization method and device and a vehicle to solve the problem of slow synchronization efficiency of the address book and call records and poor customer experience caused by the Bluetooth phone APP always displaying synchronization in progress.
[0004] Embodiments of the present application provide a Bluetooth phone contact synchronization method, applied to a networked vehicle machine module, which comprises the following steps:
[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 comprises 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] Calling the decompressed contact information to the Bluetooth phone APP of the client in sequence, and updating and displaying the contact information;
[0008] When the contact information synchronization is completed, receiving a plurality of encapsulated call record information continuously transmitted by the server in response to the call record information request, and decompressing the plurality of encapsulated call record information;
[0009] The decompressed call record information is sequentially called back to the Bluetooth phone APP of the client, and the call record information is updated and displayed; meanwhile, after the call record information synchronization is completed, the Bluetooth phone APP sends a PBAP connection disconnection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server.
[0010] Optionally, after the information synchronization request is sent to the server based on the PBAP connection, the method further comprises:
[0011] The first callback interface is called back to enable the Bluetooth phone APP to perform the synchronization of the contact information; the first interface is a callback interface for starting the synchronization of the Bluetooth phone APP in the client.
[0012] Optionally, the method comprises:
[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 encapsulated contact information.
[0015] The server continuously transmits the plurality of encapsulated contact information to the client, and the client sequentially receives the plurality of encapsulated contact information.
[0016] Optionally, the encapsulation of the packaged contacts to obtain a plurality of encapsulated contact information comprises:
[0017] The packaged contacts are encapsulated in a vcard data format to obtain a plurality of encapsulated contact information.
[0018] Optionally, the sequentially calling back of the decompressed contact information to the Bluetooth phone APP of the client and the updating and displaying of the contact information comprises:
[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 of the plurality of encapsulated call record information continuously transmitted by the server in response to the call record information request comprises:
[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 packs call records in the server based on the preset call record threshold, and encapsulates the packed call records to obtain a plurality of encapsulated call record information.
[0023] The server continuously transmits the plurality of encapsulated call record information to the client, and the client receives the plurality of encapsulated call record information in sequence.
[0024] Optionally, the step of sequentially calling back the decompressed call record information to the Bluetooth phone APP of the client comprises:
[0025] The third callback interface is a callback interface for single call record information transmission.
[0026] Embodiments of the present application provide a Bluetooth phone contact synchronization device, applied to a network-connected vehicle machine module, the device comprising:
[0027] A communication establishment module is configured to establish a PBAP connection between a Bluetooth phone APP in a client and a server, and send an information synchronization request to the server based on the PBAP connection, wherein the information synchronization request comprises a contact information request and a call record information request.
[0028] A first information processing module is configured to 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.
[0029] A first information updating module is configured to sequentially call back the decompressed contact information to the Bluetooth phone APP of the client, and update the display of the contact information.
[0030] A second information processing module is configured to, when the contact information synchronization is complete, receive a plurality of encapsulated call record information continuously transmitted by the server in response to the call record information request, and decompress the plurality of encapsulated call record information.
[0031] A second information updating module is configured to sequentially call back the decompressed call record information to the Bluetooth phone APP of the client, and update the display of the call record information. Meanwhile, the Bluetooth phone APP sends a PBAP connection disconnection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server after the call record information synchronization is complete.
[0032] The embodiment of the present application provides a web-connected vehicle machine module, the web-connected vehicle machine module comprises 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 web-connected vehicle machine module executes the steps of the method described above.
[0033] The embodiment of the present application provides a vehicle comprising the web-connected vehicle machine module described above.
[0034] The embodiment of the present application has the beneficial effects that the contact information and the call record information in the server can be directly synchronized to the Bluetooth phone APP, and the information synchronization efficiency is improved, and after the contact information and the call record information are synchronized each time, the Bluetooth phone APP of the client calls the Bluetooth framework to send a disconnection PBAP connection instruction, so that the server and the Bluetooth phone APP are disconnected from the PBAP connection, and the Bluetooth phone APP will be closed in the synchronization state, thereby avoiding the problem that the Bluetooth phone APP is always in the synchronization state due to the fact that the PBAP connection cannot be disconnected automatically in the prior art, and reducing the negative influence on the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0036] Figure 1 A Bluetooth phone contact synchronization flowchart is provided for the embodiment of the present application.
[0037] Figure 2 A structure diagram of a Bluetooth phone contact synchronization device is provided for the embodiment of the present application.
[0038] Figure 3 A structure diagram of a web-connected vehicle machine module is provided for the embodiment of the present application.
[0039] Figure 4 A structure diagram of a vehicle is provided for the embodiment of the present application.
DETAILED DESCRIPTION
[0040] In order to better understand the technical solutions of the present application, the embodiments of the present application will be described in detail below with reference to the drawings.
[0041] It should be apparent that the described embodiments are merely a portion of the embodiments of the present specification, rather than all of the embodiments. Based on the embodiments in the present specification, all other embodiments obtained by those of ordinary skill in the art without creative labor are within the scope of protection of the present specification.
[0042] The terms used in the embodiments of the present application are merely for the purpose of describing the specific embodiments, and are not intended to limit the present specification. The singular forms "a", "an" and "the" used in the embodiments of the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise.
[0043] The technical solutions protected by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0044] Referring to Figure 1 A flowchart of a Bluetooth phone contact synchronization method provided by the embodiments of the present application is shown in the figure. The flow of the method is described as follows: S101: Establish a PBAP connection between a Bluetooth phone APP in a client and a 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 record 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 the decompressed contact information to the Bluetooth phone APP of the client in turn, and update the display of 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 are connected 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 direct communication between the mobile phone and the Bluetooth phone APP is realized based on the PBAP connection, and the information synchronization request includes a contact information request, a call record information request, etc.; then, the mobile phone packs and encapsulates the contact information stored in the mobile phone memory according to the received contact information request, obtains a plurality of encapsulated contact information, and transmits the plurality of encapsulated contact information into the Bluetooth phone APP through the Bluetooth framework one by one, the Bluetooth phone APP decompresses the plurality of encapsulated contact information and controls the Bluetooth phone APP of the vehicle to receive the decompressed contact information and update the display of the contact information through the second callback interface of the Bluetooth framework; the second callback interface is a callback interface for single contact information transmission, that is, a callback interface for transmitting one encapsulated contact information at a time, through the second callback interface, the contact information in the mobile phone can be transmitted to the Bluetooth phone APP in batches, and the display in the Bluetooth phone APP can be updated immediately after transmission, without waiting for all the contact information to be synchronized to the Bluetooth phone APP before updating the display, thereby reducing the user's waiting time for updating the contact information and improving the user experience.
[0046] S104: when the contact information synchronization is completed, receiving a plurality of encapsulated call record information continuously transmitted by the server in response to the call record information request, and decompressing the plurality of encapsulated call record information; S105: calling the decompressed call record information to the Bluetooth phone APP of the client one by one, and updating the display of the call record information; at the same time, after the call record information is synchronized, the Bluetooth phone APP sends a PBAP connection disconnection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server.
[0047] In a preferred embodiment, still taking the example of the client being a vehicle and the server being a mobile phone, when all the contacts in the mobile phone are completely synchronized to the Bluetooth phone APP, the mobile phone will request the call record stored in the mobile phone memory to be packaged and encapsulated in turn according to the received call record information, obtain a plurality of encapsulated call record information, and transmit the plurality of encapsulated call record information into the Bluetooth phone APP one by one. The Bluetooth phone APP decompresses the plurality of encapsulated contact information and controls the Bluetooth phone APP of the vehicle to receive the decompressed encapsulated call record information and update the display of the encapsulated call record information in turn through the third callback interface of the Bluetooth framework. The third callback interface is a callback interface for single call record information transmission, that is, a callback interface for transmitting one encapsulated call record information at a time. Through the third callback interface, the call records in the mobile phone can be transmitted to the Bluetooth phone APP in batches, and the display can be updated immediately after transmission, without waiting for all the call records to be synchronized to the Bluetooth phone APP before updating the display, thereby reducing the time for the user to wait for the call records to be updated and improving the user experience. When all the call records in the mobile phone are completely synchronized to the Bluetooth phone APP, the Bluetooth phone APP of the vehicle sends a PBAP connection disconnection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server. The Bluetooth phone APP will close the synchronization state, avoiding the problem that the Bluetooth phone APP is always in a synchronization state due to the inability of the Bluetooth framework to disconnect the connection in the prior art, and reducing the negative impact on the user experience.
[0048] In a preferred embodiment, the call records include missed call records, received call records, and outgoing call records. After updating one type of call record each time, the third callback interface of the Bluetooth framework needs to be called again to ensure the synchronization update and display of the Bluetooth phone APP.
[0049] Optionally, after sending the information synchronization request to the server based on the PBAP connection, the method further includes calling the first callback interface to make the Bluetooth phone APP perform the synchronization of the contact information. The first interface is a callback interface for the start of the synchronization of the Bluetooth phone APP in the client.
[0050] In a preferred embodiment, the callback interface on Contact Callback Start is called to call the start of the contact. The start of the contact operation forces the Bluetooth phone APP to perform the start of the contact download, which is equivalent to notifying the Bluetooth phone APP of the start of the contact download, making the Bluetooth phone APP in a synchronization preparation state, enabling the Bluetooth phone APP to quickly receive the decompressed contact information transmitted by the Bluetooth framework, and reducing the response time of the Bluetooth phone APP.
[0051] Optionally, the receiving the plurality of encapsulated contact information continuously transmitted by the server in response to the contact information request comprises: determining, by the server, the number of contacts in the server according to the contact information request; when the number of contacts exceeds a preset contact threshold, packaging, by the server, the contacts in the server based on the preset contact threshold, and encapsulating the packaged contacts to obtain the plurality of encapsulated contact information; and continuously transmitting, by the server, the plurality of encapsulated contact information to the client, and sequentially receiving, by the client, the plurality of encapsulated contact information.
[0052] In a preferred embodiment, still taking the client as a vehicle and the server as a mobile phone as an example, and taking the preset contact threshold as 200, since the number of contacts stored in the mobile phone can be large, one-time transmission can cause large delay and slow update display of the Bluetooth phone APP, therefore, the mobile phone determines the number of contacts in the mobile phone according to the contact information request; when the number of contacts exceeds 200, the mobile phone packages 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 five encapsulated contact information are obtained by encapsulating the five contact data packets, then the mobile phone continuously transmits the five encapsulated contact information to the vehicle, the Bluetooth phone APP in the vehicle sequentially receives the five encapsulated contact information by calling the Bluetooth framework, and the contact information is transmitted in batches, which facilitates subsequent rapid display on the Bluetooth phone APP, and there is no need to wait for all the contacts to be transmitted to the Bluetooth phone APP before updating and displaying, thereby reducing the user waiting time for updating the contacts and improving the user experience.
[0053] Optionally, the encapsulating the packaged contacts to obtain the plurality of encapsulated contact information comprises: encapsulating the packaged contacts in a vcard data format to obtain the plurality of encapsulated contact information.
[0054] In a preferred embodiment, since the vcard defines an organization method of personal information, and can be used for transmission and exchange of personal information, the application encapsulates the contacts in a vcard data format, the vcard uses fields to describe a piece of information of a person, such as a TEL field representing a telephone number, and a parameter WORK representing a unit telephone number. The vcard adopts a line-oriented organization form, and each line represents a complete piece of information except for multiple lines in the field value, and the vcard data format can better reflect the information characteristics of the contacts, and can quickly and effectively display the contact information when updating and displaying the Bluetooth phone APP.
[0055] Optionally, the receiving the plurality of encapsulated call record information continuously transmitted by the server in response to the call record information request comprises: determining, by the server, 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 packs the call records in the server based on the preset call record threshold, encapsulates the packed call records to obtain a plurality of encapsulated call record information; and the server continuously transmits the plurality of encapsulated call record information to the client, and the client receives the plurality of encapsulated call record information in sequence.
[0056] In a preferred embodiment, still taking the client as a vehicle and the server as a mobile phone as an example, taking the call record as a missed call record and the preset call record threshold as 150 as an example, since the number of missed call records stored in the mobile phone can be large, one-time transmission can cause large delay and slow update display of the Bluetooth phone APP, therefore, the mobile phone determines 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 packs the missed call records in the mobile phone according to 150 missed call records as a group, taking the number of missed call records in the mobile phone as 250 as an example, the contacts in the mobile phone are packed into two missed call record data packets, and two encapsulated missed call record information are obtained by encapsulating the two missed call record data packets, then the mobile phone continuously transmits the two encapsulated missed call record information to the vehicle, and the Bluetooth phone APP in the vehicle calls the Bluetooth framework to receive the two encapsulated missed call record information in sequence, which facilitates subsequent fast display on the Bluetooth phone APP through the way of batch transmission of missed call record information, without waiting for all missed call records to be transmitted to the Bluetooth phone APP before updating and displaying, reducing the user waiting time for updating the missed call records and improving the user experience.
[0057] In a preferred embodiment, the Bluetooth phone APP re-establishes the PBAP connection between the Bluetooth phone APP and the server every time the Bluetooth phone APP synchronizes the contacts and the call records, and issues a command to disconnect the PBAP connection after the download is completed, because if the PBAP connection is always connected, sometimes the synchronization time is long and unresponsive, which is only suitable for short connection.
[0058] In a preferred embodiment, the Bluetooth phone APP no longer judges whether the PBAP is connected when judging the Bluetooth connection state, and the Bluetooth phone APP no longer judges whether the PBAP is connected in other states, avoiding the time consumed by the judgment process and improving the user experience.
[0059] The application can directly synchronize the contact information and the call record information in the server to the Bluetooth phone APP, without extracting through the system database of the vehicle machine, thereby improving the information synchronization efficiency. Meanwhile, after synchronizing the contact information and the call record information each time, the Bluetooth phone APP of the client calls the Bluetooth framework to send a disconnection PBAP connection instruction, so that the server and the Bluetooth phone APP are disconnected from the PBAP connection, and the Bluetooth phone APP will be closed in the synchronization state, thereby avoiding the problem that the Bluetooth phone APP is always in the synchronization state due to the PBAP connection which cannot be disconnected automatically in the prior art, and reducing the negative impact on the user experience.
[0060] With reference to Figure 2 A Bluetooth phone contact synchronization device provided by the embodiment of the application is applied to a networked vehicle machine module, and the device comprises:
[0061] A communication establishment module 201 is configured to establish a PBAP connection between a Bluetooth phone APP in a client and a server, and send an information synchronization request to the server based on the PBAP connection, wherein the information synchronization request comprises a contact information request and a call record information request.
[0062] A first information processing module 202 is configured to 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.
[0063] A first information updating module 203 is configured 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] A second information processing module 204 is configured to, when the contact information synchronization is completed, receive a plurality of encapsulated call record information continuously transmitted by the server in response to the call record information request, and decompress the plurality of encapsulated call record information.
[0065] A second information updating module 205 is configured 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. Meanwhile, the Bluetooth phone APP sends a disconnection PBAP connection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server after the call record information synchronization is completed.
[0066] Optionally, after sending the information synchronization request to the server based on the PBAP connection, the device further comprises:
[0067] The first interface callback module is configured to call back a first callback interface to enable the Bluetooth phone APP to perform synchronization of the contact information; the first interface is a callback interface for starting synchronization of the Bluetooth phone APP in the client.
[0068] Optionally, the first information processing module 202 includes:
[0069] The contact quantity determination unit is configured to determine, by the server, a quantity of contacts in the server according to the contact information request.
[0070] The first packaging unit is configured to, when the quantity of contacts exceeds a preset contact threshold, package the contacts in the server based on the preset contact threshold, and package the packaged contacts to obtain a plurality of packaged contact information.
[0071] The contact information receiving unit is configured to continuously transmit, by the server, the plurality of packaged contact information to the client, and the client sequentially receives the plurality of packaged contact information.
[0072] Optionally, the first packaging unit includes:
[0073] The first packaging subunit is configured to package the packaged contacts in a vcard data format to obtain the plurality of packaged contact information.
[0074] Optionally, the first information updating module 203 includes:
[0075] The second interface callback module is configured to control the Bluetooth phone APP of the client to sequentially receive the decompressed contact information by calling back a 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] The call record quantity determination unit is configured to determine, by the server, a quantity of call records in the server according to the call record information request.
[0078] The second packaging unit is configured to, when the quantity of call records exceeds a preset call record threshold, package the call records in the server based on the preset call record threshold, and package the packaged call records to obtain a plurality of packaged call record information.
[0079] The call record information receiving unit is configured to continuously transmit, by the server, the plurality of packaged call record information to the client, and the client sequentially receives the plurality of packaged call record information.
[0080] Optionally, the second information updating module 205 comprises:
[0081] a third interface callback module, configured to control the Bluetooth phone APP of the client to sequentially receive the decompressed call record information by calling a third callback interface; the third callback interface is a callback interface for single call record information transmission.
[0082] As to the device in the above embodiment, the process in which each step performs an operation has been described in detail in the embodiment of the method, and thus will not be described in detail here.
[0083] Referring to Figure 3 , based on the same inventive concept, the embodiment of the present application further provides a web-connected vehicle machine module, which comprises at least one processor 401, and the processor 401 is configured to execute a computer program stored in a memory to implement the flowchart of the Bluetooth phone contact synchronization method as shown in Figure 1 .
[0084] Optionally, the processor 401 can be a central processor, a specific ASIC, and can be one or more integrated circuits for controlling program execution.
[0085] Optionally, the web-connected vehicle machine module can further comprise a memory 402 connected with the at least one processor 401, and the memory 402 can comprise a ROM, a RAM and a disk memory. The memory 402 is configured to store data required by the processor 401 during execution, that is, the memory 402 stores instructions executable by the at least one processor 401, and the at least one processor 401 executes the method as shown in Figure 1 by executing the instructions stored in the memory 402. Wherein, the number of the memory 402 is one or more.
[0086] Referring to Figure 4 , based on the same inventive concept, the embodiment of the present application further provides a vehicle comprising Figure 3 the web-connected vehicle machine module as shown in. For example, the vehicle can be a pure electric vehicle, a range extended vehicle, or a plug-in hybrid vehicle.
[0087] The embodiment of the present application further 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 the method as shown in Figure 1 .
[0088] The above only describes the preferred embodiments of the present application, and does not limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A Bluetooth phone contact synchronization method, characterized by, The method is applied to a networked vehicle module, and the method comprises the following steps: Establishing a PBAP connection between a Bluetooth phone APP in a client and a server, and sending an information synchronization request to the server based on the PBAP connection, wherein the information synchronization request comprises 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; Calling the decompressed contact information to the Bluetooth phone APP in the client in sequence, and updating the display of the contact information; When the contact information synchronization is completed, receiving a plurality of encapsulated call record information continuously transmitted by the server in response to the call record information request, and decompressing the plurality of encapsulated call record information; Calling the decompressed call record information to the Bluetooth phone APP in the client in sequence, and updating the display of the call record information; meanwhile, sending a PBAP connection disconnection instruction by the Bluetooth phone APP to disconnect the PBAP connection between the Bluetooth phone APP and the server.
2. The method of claim 1, wherein, After sending the information synchronization request to the server based on the PBAP connection, the method further comprises the following steps: Calling a first callback interface to enable the Bluetooth phone APP to perform the synchronization of the contact information; the first callback interface is a callback interface for the start of the synchronization of the Bluetooth phone APP.
3. The method of claim 1, wherein, The receiving of the plurality of encapsulated contact information continuously transmitted by the server in response to the contact information request comprises the following steps: 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, encapsulates the packaged contacts to obtain a plurality of encapsulated contact information, and continuously transmits the plurality of encapsulated contact information to the client. The client receives the plurality of encapsulated contact information in sequence.
4. The method of claim 3, wherein, The encapsulation of the packaged contacts to obtain the plurality of encapsulated contact information comprises the following step: The packaged contacts are encapsulated in a vcard data format to obtain the plurality of encapsulated contact information.
5. The method of claim 1, wherein, The calling of the decompressed contact information to the Bluetooth phone APP in the client in sequence and the updating of the display of the contact information comprise the following steps: The Bluetooth phone APP in the client receives the decompressed contact information in sequence by calling a second callback interface; the second callback interface is a callback interface for single contact information transmission.
6. The method of claim 1, wherein, The receiving of the plurality of encapsulated call record information continuously transmitted by the server in response to the call record information request comprises the following steps: 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 packs call records in the server based on the preset call record threshold, and encapsulates the packed call records to obtain a plurality of encapsulated call record information; The server continuously transmits the plurality of encapsulated call record information to the client, and the client sequentially receives the plurality of encapsulated call record information.
7. The method of claim 1, wherein, The step of sequentially calling back the decompressed call record information to the Bluetooth phone APP of the client comprises: The third callback interface is a callback interface for single call record information transmission.
8. A Bluetooth phone contact synchronization apparatus, characterized by, The device is applied to a vehicle telematics module, and the device comprises: A communication establishment module is configured to establish a PBAP connection between a Bluetooth phone APP in a client and a server, and send an information synchronization request to the server based on the PBAP connection, wherein the information synchronization request comprises a contact information request and a call record information request; A first information processing module is configured to 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; A first information updating module is configured to sequentially call back the decompressed contact information to the Bluetooth phone APP of the client, and update the display of the contact information; A second information processing module is configured to, when the contact information synchronization is complete, receive a plurality of encapsulated call record information continuously transmitted by the server in response to the call record information request, and decompress the plurality of encapsulated call record information; A second information updating module is configured to sequentially call back the decompressed call record information to the Bluetooth phone APP of the client, and update the display of the call record information; meanwhile, the Bluetooth phone APP sends a PBAP connection disconnection instruction to disconnect the PBAP connection between the Bluetooth phone APP and the server after the call record information synchronization is complete.
9. A connected vehicle module, comprising: The vehicle telematics module comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the vehicle telematics module is triggered to perform the steps of the method according to any one of claims 1-7.
10. A vehicle characterized by comprising: The vehicle comprises the vehicle telematics module according to claim 9. The vehicle comprises the vehicle telematics module according to 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