CN104539706A - Method and system for information synchronization among Bluetooth terminals - Google Patents
Method and system for information synchronization among Bluetooth terminals Download PDFInfo
- Publication number
- CN104539706A CN104539706A CN201410845997.0A CN201410845997A CN104539706A CN 104539706 A CN104539706 A CN 104539706A CN 201410845997 A CN201410845997 A CN 201410845997A CN 104539706 A CN104539706 A CN 104539706A
- Authority
- CN
- China
- Prior art keywords
- data
- file
- bluetooth
- data format
- information synchronization
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000012856 packing Methods 0.000 claims description 13
- 230000005540 biological transmission Effects 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 239000003643 water by type Substances 0.000 description 2
- 241000143060 Americamysis bahia Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
- H04B5/72—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method and system for information synchronization among Bluetooth terminals. The method comprises the steps that data, needing to be packaged, of a sending terminal are read, and packaged according to a preset data format, and packaged files are sent to a receiving terminal through a Bluetooth serial transmission protocol; the receiving terminal parses the files according to the preset data format, and the data obtained through parsing are stored in corresponding caches and displayed. The method and system are based on the Bluetooth serial transmission protocol, the data are packaged and transmitted according to the protocolled data format, and are parsed and displayed, information synchronization among mobile terminals is achieved, the synchronization process is easy and fast to operate, and high feasibility and universality are achieved.
Description
Technical field
The present invention relates to mobile communication technology field, particularly relate to the information synchronization method between a kind of Bluetooth terminal and system.
Background technology
Along with the fast development of mobile Internet, mobile terminal is while updating at a high speed, and its kind is also being on the increase.A lot of people can have several mobile terminal simultaneously, such as functional mobile phone, smart mobile phone, pad etc.And the information sharing (as shared contact person, share note, share message registration etc.) realized between mobile terminal becomes the common requirements of people, but between existing mobile terminal, also cannot realize sharing of information very well.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide the information synchronization method between a kind of Bluetooth terminal and system, be intended to solve the problem that cannot realize information sharing between existing Bluetooth terminal.
Technical scheme of the present invention is as follows:
An information synchronization method between Bluetooth terminal, wherein, comprises step:
The data that A, reading transmitting terminal need be packed, and packed according to predetermined data format, packed file is sent to receiving terminal by bluetooth serial ports host-host protocol;
The data be resolved to, and to be saved in document analysis in corresponding buffer memory according to predetermined data format by B, receiving terminal, and show.
Information synchronization method between described Bluetooth terminal, wherein, described steps A specifically comprises:
A1, draft the data format of packing in advance;
A2, request according to receiving terminal, read the data that transmitting terminal database or memory need be packed;
A3, the data of reading are bundled in vCard file by the data format drafted;
A4, read packed vCard file;
A5, by bluetooth serial ports host-host protocol, vCard file is sent to receiving terminal.
Information synchronization method between described Bluetooth terminal, wherein, described step B specifically comprises:
After B1, receiving terminal receive vCard file, judge that whether it be the file of sent request feedback, if then enter step B2;
B2, vCard file is saved to specified path;
B3, according to the data format drafted, vCard file to be resolved;
B4, the data parsed are saved in buffer memory, show.
Information synchronization method between described Bluetooth terminal, wherein, described data are message registration data.
Information synchronization method between described Bluetooth terminal, wherein, in described steps A 1, the data format drafted is: on vCard reference format basis, increase message registration call type and airtime field.
An information synchronization system between Bluetooth terminal, wherein, comprising:
Sending module, for reading the data that transmitting terminal need be packed, and is packed according to predetermined data format, packed file is sent to receiving terminal by bluetooth serial ports host-host protocol;
Receiver module, for according to predetermined data format by document analysis, and the data be resolved to be saved in corresponding buffer memory, and to show.
Information synchronization system between described Bluetooth terminal, wherein, described sending module specifically comprises:
Draft unit, for drafting the data format of packing in advance;
Data-reading unit, for the request according to receiving terminal, the data that reading transmitting terminal database or memory need be packed;
Packaged unit, for being bundled in vCard file by the data of reading by the data format drafted;
Document reading unit, for reading packed vCard file;
Transmitting element, for being sent to receiving terminal by bluetooth serial ports host-host protocol by vCard file.
Information synchronization system between described Bluetooth terminal, wherein, described receiver module specifically comprises:
Judging unit, after receiving vCard file, judges that whether it be the file of sent request feedback, if then enter storage unit for receiving terminal;
Storage unit, for being saved to specified path by vCard file;
Resolution unit, for according to the data format drafted, resolves vCard file;
Display unit, for being saved in buffer memory by the data parsed, shows.
Information synchronization system between described Bluetooth terminal, wherein, described data are message registration data.
Information synchronization system between described Bluetooth terminal, wherein, described in draft in unit, the data format drafted is: on VCARD reference format basis, increase message registration call type and airtime field.
Beneficial effect: the present invention is based on bluetooth serial ports host-host protocol, according to the data format drafted, packing transmission is carried out to data, then resolve display, realize the synchronous of information between mobile terminal, synchronizing process of the present invention is simple to operate, convenient, has stronger feasibility and versatility.
Accompanying drawing explanation
Fig. 1 is the flow chart of the information synchronization method preferred embodiment between a kind of Bluetooth terminal of the present invention.
Fig. 2 is the particular flow sheet of step S101 in method shown in Fig. 1.
Fig. 3 is the particular flow sheet of step S102 in method shown in Fig. 1.
Fig. 4 is the transmission flow figure of the information synchronization method Application Example between a kind of Bluetooth terminal of the present invention.
Fig. 5 is the reception flow chart of the information synchronization method Application Example between a kind of Bluetooth terminal of the present invention.
Fig. 6 is the structured flowchart of the information synchronization system preferred embodiment between a kind of Bluetooth terminal of the present invention.
Fig. 7 is the concrete structure block diagram of sending module in system shown in Figure 6.
Fig. 8 is the concrete structure block diagram of receiver module in system shown in Figure 6.
Embodiment
The invention provides the information synchronization method between a kind of Bluetooth terminal and system, for making object of the present invention, technical scheme and effect clearly, clearly, the present invention is described in more detail below.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the flow chart of the information synchronization method preferred embodiment between a kind of Bluetooth terminal of the present invention, and as shown in the figure, it comprises step:
S101, read at the database of transmitting terminal the data that need pack, and packed according to predetermined data format, packed file is sent to receiving terminal by bluetooth serial ports host-host protocol;
The data be resolved to, and to be saved in document analysis in corresponding buffer memory according to predetermined data format by S102, receiving terminal, and show.
In the embodiment of the present invention, the data first need shared are packed according to the data format drafted, then the file of packing is transferred to receiving terminal by bluetooth serial ports host-host protocol (SPP), receiving terminal is resolved file again, and show, thus realize different pieces of information and shared by the mode based on Bluetooth transmission.The method transmitting procedure of the embodiment of the present invention is simple, quick and general, thus applied widely.
As the preferred embodiment of the present invention, as shown in Figure 2, described step S101 specifically comprises:
S201, draft the data format of packing in advance;
Be message registration data instance with data, the data format drafting packing is: on vCard reference format basis, increase the distinctive field of message registration, as call type and air time etc.Also comprise the information such as the duration of call and conversation number source place in addition.Call type wherein can comprise the type of outbound calling and Inbound Calls, also can comprise the type of visual telephone and voice call.Other information are as in the information such as conversation number, contact name is then included in original vCard reference format.
VCard is international reference format, so this data format has very big feasibility and versatility.
A vCard file comprising personal information is:
BEGIN:VCARD
VERSION:2.1
N:Gump;Forrest
FN:Forrest Gump
ORG:Gump Shrimp Co.
TITLE:Shrimp Man
TEL;WORK;VOICE:(111) 555-1212
TEL;HOME;VOICE:(404) 555-1212
ADR;WORK:;;100 Waters Edge;Baytown;LA;30314;United States of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:100 Waters Edge=0D=0ABaytown, LA 30314=0D=0AUnited States of America
ADR;HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:42 Plantation St.=0D=0ABaytown, LA 30314=0D=0AUnited States of America
EMAIL;PREF;INTERNET:forrestgump@walladalla.com
REV:20080424T195243Z
END:VCARD
VCard data format is capable: type [; Parameter]: value
ADR; HOME; POSTAL; PARCEL; ; ; Such as street address; Shenzhen; Guangdong; 433330; China
" ADR " is wherein a type, represents an address information
"; " number be list separator
HOME; POSTAL; PARCEL represents parameter, represents purposes or the classification of ADR
Street address; Shenzhen; Guangdong; 433330; China represents an ADR value, address value.
S202, request according to receiving terminal, read the data that need pack in the database of transmitting terminal;
After receiving terminal sends a request to transmitting terminal, transmitting terminal is at its communicating data storehouse or other storage mediums such as NVRAM(nonvolatile random access memory) in read the data that need pack.
S203, the data of reading are bundled in vCard file by the data format drafted;
The suffix of the vCard file after packing is .vcf.
S204, read packed vCard file;
S205, by bluetooth serial ports host-host protocol, vCard file is sent to receiving terminal.
As the preferred embodiment of the present invention, as shown in Figure 3, described step S102 specifically comprises:
After S301, receiving terminal receive vCard file, judge its whether for send request fed back file, if then enter step S302; Then flow process terminates if not.
S302, file is saved to specified path;
S303, according to the data format drafted, vcf file to be resolved;
Its data parsed comprise contact name, number, air time, call type etc.
S304, the data parsed are saved in buffer memory, show.
Constantly like this parse the data comprised in file, make receiving terminal can share the data of transmitting terminal.Because the data such as message registration are batch packing, transmission and parsing, so it is more convenient and efficient.
Below by for shared message registration, process of transmitting and receiving course are specifically described.
As shown in Figure 4, transmission flow comprises step:
S401, message registration from call module in fetch equipment;
S402, by the data format drafted, message registration data to be packed, generate vCard file;
S403, judge packing whether success; If success, enters step S404; Otherwise enter step S407;
S404, startup bluetooth SPP send vCard file;
S405, judge to send whether success; If then enter step S406, otherwise enter step S407;
S406, by exception handling judge whether retransmit, if Selective resending, then return step S404, otherwise enter step S407; Exception handling wherein can be show a prompting frame on interface of mobile terminal, and whether prompting user retransmits, and when determining, then return step S404 and retransmit, when cancelling, then flow process terminates, i.e. step S407;
S407, flow process terminate.
As shown in Figure 5, receive flow process and comprise step:
S501: the vCard file receiving message registration;
S502: judge whether it is the file of asking according to fileinfo, if not, then enter step S506, otherwise next step, i.e. step S503;
S503: resolve this vCard file one by one according to vCard standard by the form drafted;
S504: the message registration parsed is kept at corresponding data buffer(buffer memory) in;
S505: judge whether parsing completes; If be parsed, enter step S506, otherwise return step S503.
S506: process ends
Based on said method, the present invention also provides the preferred embodiment of the information synchronization system between a kind of Bluetooth terminal, and as shown in Figure 6, it comprises:
Sending module 100, for reading the data that transmitting terminal need be packed, and is packed according to predetermined data format, packed file is sent to receiving terminal by bluetooth serial ports host-host protocol;
Receiver module 200, for according to predetermined data format by document analysis, and the data be resolved to be saved in corresponding buffer memory, and to show.
Further, as shown in Figure 7, described sending module 100 specifically comprises:
Draft unit 110, for drafting the data format of packing in advance;
Data-reading unit 120, for the request according to receiving terminal, reads the data that need pack in the database of transmitting terminal;
Packaged unit 130, for being bundled in vCard file by the data of reading by the data format drafted;
Document reading unit 140, for reading packed vCard file;
Transmitting element 150, for being sent to receiving terminal by bluetooth serial ports host-host protocol by vCard file.
Further, as shown in Figure 8, described receiver module 200 specifically comprises:
Judging unit 210, after receiving vCard file, judges that whether it be the file of sent request feedback, if then enter storage unit for receiving terminal;
Storage unit 220, for being saved to specified path by vCard file;
Resolution unit 230, for according to the data format drafted, resolves vCard file;
Display unit 240, for being saved in buffer memory by the data parsed, shows.
Further, described data are message registration data.
Further, described in draft in unit 110, the data format drafted is: on vCard reference format basis, increase message registration call type, airtime field.
Ins and outs about above-mentioned modular unit are existing in method above to be described in detail, therefore repeats no more.
In sum, the present invention is based on bluetooth serial ports host-host protocol, according to the data format drafted, packing transmission is carried out to data, then display is resolved, realize the synchronous of information between mobile terminal, synchronizing process of the present invention is simple to operate, convenient, has stronger feasibility and versatility.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.
Claims (10)
1. the information synchronization method between Bluetooth terminal, is characterized in that, comprises step:
The data that A, reading transmitting terminal need be packed, and packed according to predetermined data format, packed file is sent to receiving terminal by bluetooth serial ports host-host protocol;
The data be resolved to, and to be saved in document analysis in corresponding buffer memory according to predetermined data format by B, receiving terminal, and show.
2. the information synchronization method between Bluetooth terminal according to claim 1, is characterized in that, described steps A specifically comprises:
A1, draft the data format of packing in advance;
A2, request according to receiving terminal, read the data that transmitting terminal database or memory need be packed;
A3, the data of reading are bundled in vCard file by the data format drafted;
A4, read packed vCard file;
A5, by bluetooth serial ports host-host protocol, vCard file is sent to receiving terminal.
3. the information synchronization method between Bluetooth terminal according to claim 2, is characterized in that, described step B specifically comprises:
After B1, receiving terminal receive vCard file, judge that whether it be the file of sent request feedback, if then enter step B2;
B2, vCard file is saved to specified path;
B3, according to the data format drafted, vCard file to be resolved;
B4, the data parsed are saved in buffer memory, show.
4. the information synchronization method between Bluetooth terminal according to claim 2, is characterized in that, described data are message registration data.
5. the information synchronization method between Bluetooth terminal according to claim 2, is characterized in that, in described steps A 1, the data format drafted is: on vCard reference format basis, increase message registration call type and airtime field.
6. the information synchronization system between Bluetooth terminal, is characterized in that, comprising:
Sending module, for reading the data that transmitting terminal need be packed, and is packed according to predetermined data format, packed file is sent to receiving terminal by bluetooth serial ports host-host protocol;
Receiver module, for according to predetermined data format by document analysis, and the data be resolved to be saved in corresponding buffer memory, and to show.
7. the information synchronization system between Bluetooth terminal according to claim 6, is characterized in that, described sending module specifically comprises:
Draft unit, for drafting the data format of packing in advance;
Data-reading unit, for the request according to receiving terminal, the data that reading transmitting terminal database or memory need be packed;
Packaged unit, for being bundled in vCard file by the data of reading by the data format drafted;
Document reading unit, for reading packed vCard file;
Transmitting element, for being sent to receiving terminal by bluetooth serial ports host-host protocol by vCard file.
8. the information synchronization system between Bluetooth terminal according to claim 7, is characterized in that, described receiver module specifically comprises:
Judging unit, after receiving vCard file, judges that whether it be the file of sent request feedback, if then enter storage unit for receiving terminal;
Storage unit, for being saved to specified path by vCard file;
Resolution unit, for according to the data format drafted, resolves vCard file;
Display unit, for being saved in buffer memory by the data parsed, shows.
9. the information synchronization system between Bluetooth terminal according to claim 7, is characterized in that, described data are message registration data.
10., according to the information synchronization system between Bluetooth terminal according to claim 7, it is characterized in that, described in draft in unit, the data format drafted is: on vCard reference format basis, increase message registration call type and airtime field.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410845997.0A CN104539706A (en) | 2014-12-31 | 2014-12-31 | Method and system for information synchronization among Bluetooth terminals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410845997.0A CN104539706A (en) | 2014-12-31 | 2014-12-31 | Method and system for information synchronization among Bluetooth terminals |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104539706A true CN104539706A (en) | 2015-04-22 |
Family
ID=52855173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410845997.0A Pending CN104539706A (en) | 2014-12-31 | 2014-12-31 | Method and system for information synchronization among Bluetooth terminals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104539706A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113052780A (en) * | 2020-11-16 | 2021-06-29 | 泰州市出彩网络科技有限公司 | Data packaging system using bluetooth communication |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101668067A (en) * | 2009-08-19 | 2010-03-10 | 宇龙计算机通信科技(深圳)有限公司 | Method for transmitting data in conversation and mobile terminal |
US20140106823A1 (en) * | 2006-12-07 | 2014-04-17 | Kyocera Corporation | Address book management method and user interface |
CN103795445A (en) * | 2014-01-20 | 2014-05-14 | 惠州Tcl移动通信有限公司 | Method and system for transferring address book information based on blue tooth |
-
2014
- 2014-12-31 CN CN201410845997.0A patent/CN104539706A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140106823A1 (en) * | 2006-12-07 | 2014-04-17 | Kyocera Corporation | Address book management method and user interface |
CN101668067A (en) * | 2009-08-19 | 2010-03-10 | 宇龙计算机通信科技(深圳)有限公司 | Method for transmitting data in conversation and mobile terminal |
CN103795445A (en) * | 2014-01-20 | 2014-05-14 | 惠州Tcl移动通信有限公司 | Method and system for transferring address book information based on blue tooth |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113052780A (en) * | 2020-11-16 | 2021-06-29 | 泰州市出彩网络科技有限公司 | Data packaging system using bluetooth communication |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2009281545B2 (en) | Content adaptation realizing method and content adaptation server | |
CN101984692B (en) | A kind of method and device for preventing Malware from sending data | |
CN101909118B (en) | Method for setting short message prompt tones of mobile communication terminal | |
CN101370050A (en) | Transmitting/receiving method for information in conversation and mobile terminal | |
KR20070114606A (en) | Communication system and voice over internat protocol apparatus and data communication method | |
CN102625001A (en) | System and method for acquiring weather situation of home location of calling/called party based on cell phone communication | |
CN106454783A (en) | Method, calling terminal, called terminal and cloud server for realizing call processing | |
CN102215463A (en) | Missed call processing method and terminal equipment | |
CN103139041A (en) | Method for filtering information and method, device and system for processing forwarded information | |
CN100483368C (en) | Information delivery management device, confirmation system and method, mobile communication terminal | |
CN101902704A (en) | Message sending method, system and intercommunication server | |
AU2004301358C1 (en) | Message system | |
CN104539706A (en) | Method and system for information synchronization among Bluetooth terminals | |
US8712028B2 (en) | Telephone relaying apparatus, telephone relaying method, and program | |
DE602004012190D1 (en) | A method for retransmitting messages among mobile communication terminals | |
CN101931909A (en) | Method and system for generating and acquiring information of 3G terminal and 3G terminal thereof | |
WO2013074139A1 (en) | Remote access of information stored in a mobile phone | |
JP5785508B2 (en) | Intercom system | |
US10264110B2 (en) | Cordless telephone device and telephone directory control method | |
CN102833413A (en) | System and method for setting e-mail to automatically forward missed call and new short message through information | |
CN102438217B (en) | Method and system for realizing pure cell-phone number email address without @ mark | |
US9456320B2 (en) | System and method for simultaneously sending a message with a call to a mobile device | |
WO2015099073A1 (en) | Personal-information-adding system and charging method | |
US20030125053A1 (en) | Method of managing SMS type telephone messages in a telecommunications network | |
WO2010027362A1 (en) | Using secondary channel to activate primary channel for data, video, and voice communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150422 |
|
RJ01 | Rejection of invention patent application after publication |