Communication data transmission method and device, electronic equipment and storage medium

By compressing and encapsulating the transmission method of address book and call record in the vehicle-mounted system, the problem of low transmission efficiency of address book and call record in the prior art is solved, faster and more efficient data transmission is achieved, and user experience is improved.

CN119728674APending Publication Date: 2025-03-28HUAQIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411981589.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The existing address book and call record transmission efficiency is low, the time is long, and the bandwidth occupies high, resulting in long wait times for users and affecting the user experience.

Method used

By obtaining communication data, compressing address book and call record, encapsulating compressed data into encapsulated contact file, and sending the file when the on-board system receives the request, the on-board system decompresses the file to obtain the address book and call record.

Benefits of technology

Improve data transmission efficiency, reduce transmission time and Bluetooth bandwidth usage, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728674A_ABST
    Figure CN119728674A_ABST
Patent Text Reader

Abstract

The invention discloses a communication data transmission method and device, electronic equipment and a storage medium, which are used for solving the technical problems of low efficiency, long time and high bandwidth occupation of the existing address book and call record transmission. The method comprises the following steps: acquiring communication data; the communication data comprises an address book and a call record; compressing the address book and the call record to obtain compressed data; packaging the compressed data to obtain a packaged contact file; when a communication data acquisition request of a vehicle-mounted terminal is received, sending the packaged contact person file to the vehicle-mounted system; and the vehicle-mounted system is used for decompressing the packaged contact file to obtain the address book and the call record. Therefore, the data transmission efficiency is improved, the transmission time is shortened, and the Bluetooth bandwidth occupation is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to a communication data transmission method, device, electronic equipment and storage medium. Background Art

[0002] In-vehicle systems (such as in-vehicle navigation or entertainment systems) usually synchronize address books and call records with mobile terminals (such as smartphones) through the Bluetooth PBAP (Phone Book Access Profile) protocol. The PBAP protocol is built on OBEX (Object Exchange Protocol) and transmits address books and call records in the vCard data format.

[0003] However, the PBAP protocol does not allow the car computer to save the contacts and call records of the paired mobile phone, so all contacts and call records need to be synchronized every time Bluetooth is disconnected and reconnected.

[0004] In addition, the contact and call log data transmitted by the PBAP protocol adopts the vCard format. vCard is a plain text-based electronic business card format. Although it has good scalability and compatibility, its uncompressed nature results in a huge amount of data and low transmission efficiency when transmitting a large number of contacts.

[0005] For example, in actual applications, a user's address book may contain thousands of contacts, and it may take a long time to transmit uncompressed vCard data. For example, it may take 10-20 seconds to transmit 1,000 contacts (excluding avatars and other additional data, which is 120Kbytes), which will cause a long waiting time for users and affect the user experience. As a result, car owners must wait 10-20 seconds before they can make a call through the car computer after getting in the car. Summary of the invention

[0006] The present invention provides a communication data transmission method, device, electronic device and storage medium, which are used to solve the technical problems of low transmission efficiency, long transmission time and high bandwidth occupancy of existing address books and call records.

[0007] The present invention provides a communication data transmission method, which is applied to a mobile terminal, wherein the mobile terminal communicates with a vehicle-mounted system; the method comprises:

[0008] Acquiring communication data; the communication data includes address book and call records;

[0009] Compressing the address book and the call record to obtain compressed data;

[0010] Encapsulating the compressed data to obtain an encapsulated contact file;

[0011] When receiving a communication data acquisition request from the vehicle-mounted terminal, the packaged contact file is sent to the vehicle-mounted system; the vehicle-mounted system is used to decompress the packaged contact file to obtain the address book and the call record.

[0012] Optionally, the step of compressing the address book and the call record to obtain compressed data includes:

[0013] The address book and the call record are compressed into binary data in a preset format using BASE64 encoding to obtain compressed data.

[0014] Optionally, the step of encapsulating the compressed data to obtain an encapsulated contact file includes:

[0015] Create special contact files;

[0016] Marking the target name in the first target field of the special contact file;

[0017] The compressed data is added to the second target field of the special contact file to obtain an encapsulated contact file.

[0018] Optionally, the step of the in-vehicle system decompressing the packaged contact file to obtain the address book and the call record includes:

[0019] identifying a target name in the packaged contact file;

[0020] Extracting data of a target field from the encapsulated contact file according to the target name;

[0021] Decoding the data to obtain the compressed data;

[0022] The compressed data is decoded to obtain the address book and the call record.

[0023] The present invention also provides a communication data transmission device, which is applied to a mobile terminal, and the mobile terminal communicates with a vehicle-mounted system; the device comprises:

[0024] A communication data acquisition module, used to acquire communication data; the communication data includes an address book and call records;

[0025] A compression module, used for compressing the address book and the call record to obtain compressed data;

[0026] A packaging module, used for packaging the compressed data to obtain a packaged contact file;

[0027] The sending module is used to send the packaged contact file to the vehicle-mounted system when receiving a communication data acquisition request from the vehicle-mounted terminal; the vehicle-mounted system is used to decompress the packaged contact file to obtain the address book and the call record.

[0028] Optionally, the compression module includes:

[0029] The compression submodule is used to compress the address book and the call record into binary data in a preset format by using BASE64 encoding to obtain compressed data.

[0030] Optionally, the encapsulation module includes:

[0031] Special contact file creation submodule, used to create special contact files;

[0032] A target name marking submodule, used for marking the target name in the first target field of the special contact file;

[0033] The adding submodule is used to add the compressed data to the second target field of the special contact file to obtain a packaged contact file.

[0034] Optionally, the vehicle-mounted system includes:

[0035] A target name identification module, used to identify the target name in the packaged contact file;

[0036] A data extraction module, used for extracting data of a target field from the encapsulated contact file according to the target name;

[0037] A data decoding module, used for decoding the data to obtain the compressed data;

[0038] The compressed data decoding module is used to decode the compressed data to obtain the address book and the call record.

[0039] The present invention also provides an electronic device, the device comprising a processor and a memory:

[0040] The memory is used to store program code and transmit the program code to the processor;

[0041] The processor is used to execute any one of the communication data transmission methods described above according to the instructions in the program code.

[0042] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program codes, and the program codes are used to execute the communication data transmission method as described in any one of the above items.

[0043] It can be seen from the above technical scheme that the present invention has the following advantages: the present invention obtains communication data; the communication data includes the address book and call records; compresses the address book and call records to obtain compressed data; encapsulates the compressed data to obtain an encapsulated contact file; when receiving a communication data acquisition request from the vehicle-mounted terminal, sends the encapsulated contact file to the vehicle-mounted system; the vehicle-mounted system is used to decompress the encapsulated contact file to obtain the address book and call records. This improves data transmission efficiency, reduces transmission time, and reduces Bluetooth bandwidth occupancy. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0045] Figure 1 A flow chart of the steps of a communication data transmission method provided by an embodiment of the present invention;

[0046] Figure 2 A flowchart of a communication data transmission method provided by another embodiment of the present invention;

[0047] Figure 3 A structural block diagram of a communication data transmission device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The embodiments of the present invention provide a communication data transmission method, device, electronic device and storage medium, which are used to solve the technical problems of low transmission efficiency, long transmission time and high bandwidth occupancy of existing address books and call records.

[0049] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] See also Figure 1 , Figure 1 A flow chart of the steps of a communication data transmission method provided by an embodiment of the present invention.

[0051] A communication data transmission method provided by the present invention is applied to a mobile terminal, wherein the mobile terminal communicates with a vehicle-mounted system. The method may specifically include the following steps:

[0052] Step 101, obtaining communication data; the communication data includes address book and call records;

[0053] In the embodiment of the present invention, the mobile terminal may be a portable device such as a mobile phone or a tablet.

[0054] In the embodiment of the present invention, the communication data may be stored in the vCard data format and transmitted via the PBAP (PhoneBook Access Profile) protocol, including but not limited to the address book and call records.

[0055] vCard is a plain text-based electronic business card format.

[0056] PBAP is an upper layer protocol based on OBEX, which can synchronize information such as address books and call logs on mobile phones and other devices with phonebook functions.

[0057] Step 102, compressing the address book and call records to obtain compressed data;

[0058] In order to reduce the transmission volume of the address book and call records, after obtaining the address book and call records in vCard format, the present invention can compress them to obtain compressed data.

[0059] In one example, a compression algorithm such as ZIP, LZMA, etc. may be used to compress the address book and call logs, and the original vCard data may be compressed into smaller binary data, usually about 5% of the original size.

[0060] For example, 1000 contacts have 120KBbytes of data, which can be compressed to about 6KBbytes.

[0061] Step 103, encapsulate the compressed data to obtain an encapsulated contact file;

[0062] In order to enable the compressed data to be transmitted through the PBAP protocol, the compressed data may be encapsulated into a packaged contact file in the vCard format.

[0063] Step 104, when receiving a communication data acquisition request from the vehicle terminal, the encapsulated contact file is sent to the vehicle system; the vehicle system is used to decompress the encapsulated contact file to obtain the address book and call records.

[0064] PCE (Phone Book Access Client Equipment), such as a vehicle-mounted system, can send a communication data acquisition request to a mobile terminal to request the address book and call logs. After receiving the communication data acquisition request, the mobile terminal returns the encapsulated contact file to the PCE. Since the PBAP protocol supports the transmission of vCard format, and vCard supports embedding binary data such as photos, this operation complies with the protocol standard and does not require modification of the PBAP protocol.

[0065] After receiving the encapsulated contact file, the PCE can decompress the address book and call records from it, thereby realizing fast transmission of the address book and call records.

[0066] The present invention obtains communication data; the communication data includes a contact list and call records; compresses the contact list and call records to obtain compressed data; encapsulates the compressed data to obtain an encapsulated contact file; when a communication data acquisition request is received from a vehicle-mounted terminal, the encapsulated contact file is sent to the vehicle-mounted system; the vehicle-mounted system is used to decompress the encapsulated contact file to obtain the contact list and call records. This improves data transmission efficiency, reduces transmission time, and reduces Bluetooth bandwidth occupancy.

[0067] See also Figure 2 , Figure 2 A flow chart of a communication data transmission method provided by another embodiment of the present invention. Specifically, the following steps may be included:

[0068] Step 201, obtaining communication data; the communication data includes address book and call records;

[0069] Step 202, using BASE64 encoding to compress the address book and call records into binary data in a preset format to obtain compressed data;

[0070] In the embodiment of the present invention, in order to reduce the transmission volume of the address book and call records, after obtaining the address book and call records in the vCard format, the present invention can compress them to obtain compressed data.

[0071] In one example, a compression algorithm such as ZIP, LZMA, etc. may be used to compress the address book and call logs, and the original vCard data may be compressed into smaller binary data, usually about 5% of the original size.

[0072] For example, 1000 contacts have 120Kbytes of data, which can be compressed to about 6Kbytes.

[0073] Step 203, creating a special contact file;

[0074] Step 204, marking the target name in the first target field of the special contact file;

[0075] Step 205, adding the compressed data to the second target field of the special contact file to obtain a packaged contact file;

[0076] In an embodiment of the present invention, a special contact file may be created to encapsulate the compressed data. The format of the special contact file may be a vCard format, as follows:

[0077] BEGIN:VCARD

[0078] VERSION:3.0

[0079] FN:Compressed Data

[0080] N:Compressed;Data;;;

[0081] PHOTO;ENCODING=b;TYPE=ZIP:<BASE64 encoding of compressed binary data>

[0082] END:VCARD

[0083] in:

[0084] FN and N fields (first target field): Identified as a special contact (target name) with the name "CompressedData".

[0085] PHOTO field (second target field): uses the feature of vCard that supports binary data to embed the compressed address book and call log data. The data is encoded in BASE64 and the TYPE is specified as a compressed format (such as ZIP).

[0086] Step 206: When receiving a communication data acquisition request from the vehicle-mounted terminal, the packaged contact file is sent to the vehicle-mounted system; the vehicle-mounted system is used to decompress the packaged contact file to obtain the address book and call records.

[0087] In the embodiment of the present invention, the compressed data is binary, so it is converted into ASCII code using BASE64 encoding, and the size increases by about 35%. For 1,000 contacts, the size of the final packaged contact file data is about 8.1Kbyte, which is 6.7% of the size before compression. Therefore, the amount of data transmitted from the mobile terminal to the vehicle-mounted system is greatly reduced, and the data transmission speed is improved.

[0088] After the vehicle system receives the packaged contact file, it can obtain the address book and call records. The specific steps are as follows:

[0089] S11, identifying the target name in the encapsulated contact file;

[0090] S12, extracting data of a target field from the encapsulated contact file according to the target name;

[0091] S13, decoding the data to obtain compressed data;

[0092] S14, decoding the compressed data to obtain the address book and call records.

[0093] In a specific implementation, a special contact with a target name of "Compressed Data" in the encapsulated contact file can be identified, and then the data in the PHOTO field can be extracted, and the BASE64-encoded binary data can be decoded to obtain the compressed data. The compressed data is then decompressed to restore the original vCard data of the address book and call records. The PCE parses the decompressed vCard data to obtain the contact and call record information. Finally, the contact and call record are presented to the user or stored in a local database.

[0094] The present invention obtains communication data; the communication data includes a contact list and call records; compresses the contact list and call records to obtain compressed data; encapsulates the compressed data to obtain an encapsulated contact file; when a communication data acquisition request is received from a vehicle-mounted terminal, the encapsulated contact file is sent to the vehicle-mounted system; the vehicle-mounted system is used to decompress the encapsulated contact file to obtain the contact list and call records. This improves data transmission efficiency, reduces transmission time, and reduces Bluetooth bandwidth occupancy.

[0095] See also Figure 3 , Figure 3 A structural block diagram of a communication data transmission device provided by an embodiment of the present invention.

[0096] An embodiment of the present invention provides a communication data transmission device, which is applied to a mobile terminal, and the mobile terminal communicates with a vehicle-mounted system; the device includes:

[0097] The communication data acquisition module 301 is used to acquire communication data; the communication data includes the address book and call records;

[0098] A compression module 302, used to compress the address book and call records to obtain compressed data;

[0099] The encapsulation module 303 is used to encapsulate the compressed data to obtain an encapsulated contact file;

[0100] The sending module 304 is used to send the packaged contact file to the vehicle-mounted system when receiving a communication data acquisition request from the vehicle-mounted terminal; the vehicle-mounted system is used to decompress the packaged contact file to obtain the address book and call records.

[0101] In the embodiment of the present invention, the compression module 302 includes:

[0102] The compression submodule is used to compress the address book and call records into binary data in a preset format by using BASE64 encoding to obtain compressed data.

[0103] In the embodiment of the present invention, the encapsulation module 303 includes:

[0104] Special contact file creation submodule, used to create special contact files;

[0105] A target name marking submodule is used to mark the target name in the first target field of the special contact file;

[0106] The adding submodule is used to add the compressed data to the second target field of the special contact file to obtain the encapsulated contact file.

[0107] In an embodiment of the present invention, the vehicle-mounted system includes:

[0108] A target name recognition module, used to recognize the target name in the encapsulated contact file;

[0109] A data extraction module, used for extracting data of a target field from a packaged contact file according to a target name;

[0110] A data decoding module, used for decoding data to obtain compressed data;

[0111] The compressed data decoding module is used to decode the compressed data to obtain the address book and call records.

[0112] An embodiment of the present invention further provides an electronic device, the device comprising a processor and a memory:

[0113] The memory is used to store the program code and transmit the program code to the processor;

[0114] The processor is used to execute the communication data transmission method of the embodiment of the present invention according to the instructions in the program code.

[0115] The embodiment of the present invention further provides a computer-readable storage medium, which is used to store program codes, and the program codes are used to execute the communication data transmission method of the embodiment of the present invention.

[0116] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0117] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0118] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0119] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0120] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0121] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0122] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0123] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0124] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A communication data transmission method, characterized in that: Applied to a mobile terminal, the mobile terminal communicates with a vehicle-mounted system; the method comprises: Acquiring communication data; the communication data includes address book and call records; Compressing the address book and the call record to obtain compressed data; Encapsulating the compressed data to obtain an encapsulated contact file; When receiving a communication data acquisition request from the vehicle-mounted terminal, the packaged contact file is sent to the vehicle-mounted system; the vehicle-mounted system is used to decompress the packaged contact file to obtain the address book and the call record.

2. The method according to claim 1, characterized in that The step of compressing the address book and the call record to obtain compressed data includes: The address book and the call record are compressed into binary data in a preset format using BASE64 encoding to obtain compressed data.

3. The method according to claim 1, characterized in that: The step of encapsulating the compressed data to obtain an encapsulated contact file comprises: Create special contact files; Marking the target name in the first target field of the special contact file; The compressed data is added to the second target field of the special contact file to obtain an encapsulated contact file.

4. The method according to claim 1, characterized in that: The step of decompressing the packaged contact file by the vehicle-mounted system to obtain the address book and the call record includes: identifying a target name in the packaged contact file; Extracting data of a target field from the encapsulated contact file according to the target name; Decoding the data to obtain the compressed data; The compressed data is decoded to obtain the address book and the call record.

5. A communication data transmission device, characterized in that: Applied to a mobile terminal, the mobile terminal communicates with a vehicle-mounted system; the device comprises: A communication data acquisition module, used to acquire communication data; the communication data includes an address book and call records; A compression module, used for compressing the address book and the call record to obtain compressed data; A packaging module, used for packaging the compressed data to obtain a packaged contact file; The sending module is used to send the packaged contact file to the vehicle-mounted system when receiving a communication data acquisition request from the vehicle-mounted terminal; the vehicle-mounted system is used to decompress the packaged contact file to obtain the address book and the call record.

6. The device according to claim 5, characterized in that The compression module comprises: The compression submodule is used to compress the address book and the call record into binary data in a preset format by using BASE64 encoding to obtain compressed data.

7. The device according to claim 5, characterized in that The packaging module comprises: Special contact file creation submodule, used to create special contact files; A target name marking submodule, used for marking the target name in the first target field of the special contact file; The adding submodule is used to add the compressed data to the second target field of the special contact file to obtain a packaged contact file.

8. The device according to claim 5, characterized in that The vehicle-mounted system comprises: A target name identification module, used to identify the target name in the packaged contact file; A data extraction module, used for extracting data of a target field from the encapsulated contact file according to the target name; A data decoding module, used for decoding the data to obtain the compressed data; The compressed data decoding module is used to decode the compressed data to obtain the address book and the call record.

9. An electronic device, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the communication data transmission method according to any one of claims 1 to 4 according to the instructions in the program code.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes, and the program codes are used to execute the communication data transmission method according to any one of claims 1 to 4.