CN101127538A - Self-adapted match method between different Bluetooth devices - Google Patents

Self-adapted match method between different Bluetooth devices Download PDF

Info

Publication number
CN101127538A
CN101127538A CNA2007101535969A CN200710153596A CN101127538A CN 101127538 A CN101127538 A CN 101127538A CN A2007101535969 A CNA2007101535969 A CN A2007101535969A CN 200710153596 A CN200710153596 A CN 200710153596A CN 101127538 A CN101127538 A CN 101127538A
Authority
CN
China
Prior art keywords
bluetooth equipment
bluetooth
link
time
request
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.)
Granted
Application number
CNA2007101535969A
Other languages
Chinese (zh)
Other versions
CN101127538B (en
Inventor
张瑞娟
曹耀斌
常宁安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2007101535969A priority Critical patent/CN101127538B/en
Publication of CN101127538A publication Critical patent/CN101127538A/en
Application granted granted Critical
Publication of CN101127538B publication Critical patent/CN101127538B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model relates to a Bluetooth equipment. When the Bluetooth equipment is successfully matched with other Bluetooth equipments for the first time, the generated information such as random number and link words can be recorded during matching process, the recorded information can reduce the information interaction amount of the second matching, link or file transmission effectively, when performing the second re-matching and SCL chain or SCO link are established, the corresponding applicable link is initialized, the previous recorded information is loaded, the authorization class is corrected. If the Bluetooth equipment of the opposite party does not record the last-time matched related information, the matching is to be a full-new matching process, if the Bluetooth equipment of the opposite party records the last-time matched information, the corresponding treatment is made according to whether the Bluetooth equipment has response information or the response information is correct or not, so that the second flow process has normal interaction.

Description

Adaptive matching process between different Bluetooth devices
Technical field
The present invention is an adaptive matching process between a kind of different brands bluetooth equipment, can handle different Bluetooth devices to the support difference of different Bluetooth protocol child releases with for the processing difference of different Bluetooth devices in the matching process, be suitable for terminal equipment based on the support Bluetooth technology of bluetooth standard protocol for the coupling flow process.
Background technology
Bluetooth technology provides low-cost, in-plant radio communication, constitutes the personal network in fixing and the mobile device communication environment, makes that closely internal information equipment can be realized seamless resource-sharing.As the open standard of a kind of wireless data and voice communication, mainly solve short-range wireless connections, be generally 10 centimetres to 10 meters scope.Bluetooth is carried out work in the ISM of 2.4GHz (Industrial, Scientific, and Medical) frequency range, adopt GFSK frequency hopping and time division duplex (TDD) technology, when transmitter frequency was 1MHz, communication distance was about 10 meters, and effectively the blue-teeth data transmission rate reaches 721Kb/s.
Bluetooth technology can be simplified the connection between the mobile communication terminal devices such as palmtop PC, notebook computer and mobile phone handsets effectively, and can successfully simplify communicating by letter between above these equipment and the Internet, thereby make the transfer of data between these modern communications equipments and the Internet become efficient more rapidly, be the radio communication widening road.Generally, the Bluetooth technology feasible more modern mobile communication equipment that carries easily and computer equipments needn't just can be networked by cable, and can be realized the wireless connections the Internet.Its practical ranges can also be extended to information household appliances such as various household appliances, consumption electronic product and automobile, thereby forms a huge cordless communication network.
The top layer of bluetooth protocol repertory is the high-end applications layer, and the section of corresponding various application models has defined 13 kinds of sections, can be divided into according to the difference of function: telephone protocol subclass, serial port protocol subclass, networking protocol subclass and puppy parc subclass.Bluetooth general-purpose accessing application framework in the puppy parc subclass (General Access Profile) is the basis of other all application frameworks, the basic operation of necessity when two bluetooth equipments are set up communication has been described, mainly comprise link controller (Link Controller, or LC) and link manager (Link Manager, or LM), Bluetooth pairing is exactly a wherein important part.Bluetooth communication does not need to verify in some cases, and any equipment all can be talked with other any equipment.Consider that based on security standpoint a bluetooth equipment (such as mobile phone) can be selected by checking so that certain special service (such as dial-up service, file transfer services) to be provided.The general PIN (Personal Identification Number codes, or abbreviation PIN codes) that uses of bluetooth checking.One by one people's identification code be the longest be the ascii string of 16 characters.The user need import identical PIN in two equipment.After the user had imported PIN, two equipment can generate a concatenated key (1ink key).Then concatenated key can be stored in equipment or the memory.The purpose of matched is exactly the connection of setting up between two bluetooth equipments based on the common link key.The equipment both sides produce, exchange and preserve link key in matching process, in order to authentication use in future.After authentication was passed through, two bluetooth equipments just can communicate.
Summary of the invention
Popularizing for some time of bluetooth equipment, the bluetooth equipment of different brands, or because the difference that the research staff understands for agreement, or owing to processing difference for concatenated key, authentication request during the coupling, caused the different brands bluetooth equipment after the successful matching first time, the abnormal conditions when connecting once more or mating occur.Main purpose of the present invention solves this unsteadiness exactly, proposes a kind of adaptive stable solution.
Adaptive matching process between a kind of different Bluetooth devices is then finished coupling for the first time when first bluetooth equipment in the described different Bluetooth devices receives the matching request of second bluetooth equipment first, it is characterized in that:
When described first bluetooth equipment receives the matching request of described second bluetooth equipment once more, then set up link and the safe class that described second bluetooth equipment is extracted in the matching request second time is changed to the request authentication;
Described first bluetooth equipment asks described second bluetooth equipment to provide corresponding PIN code to carry out authentication as checker as requestor's identity;
If described first bluetooth equipment receives the PIN code of described second bluetooth equipment, then the PIN code with itself and described first bluetooth equipment compares, if pairing then the match is successful for the second time, if unpaired then point out the user it fails to match the described second time; And
If described first bluetooth equipment receives the errored response of described second bluetooth equipment in the regular hour, then described first bluetooth equipment changes to described checker from described request person's identity, completes successfully described second time of coupling so that it is transfused to after the new PIN code as main equipment.
The method according to this invention, described set up link and described safe class changed to ask the step of authentication further to comprise:
If described first bluetooth equipment is preserved the information of described first time of coupling, then set up described link behind the concatenated key in the deletion information of being preserved and the safe class that described second bluetooth equipment is extracted in the matching request second time is changed to the request authentication.
The method according to this invention, described set up link and described safe class changed to ask the step of authentication also to comprise:
If described first bluetooth equipment is not preserved the information of described first time of coupling, then directly set up described link and the safe class that described second bluetooth equipment is extracted in the matching request second time is changed to the request authentication.
According to an aspect of above-mentioned each method, wherein said comparison step further comprises:
Use the symmetric key word to carry out the key word verification that PIN generates through the 2-MOV agreement, the generation of key word should be made up of PIN and its corresponding bluetooth device address that each bluetooth equipment is imported at random.
According to above-mentioned each method on the other hand, described link comprises ACL (Asynchronous Connectionless Link, or claim asynchronous nothing to connect) link and SCO (Synchronous Connection Oriented, or claim synchronously towards connecting) link.
One side again according to above-mentioned each method further comprises the steps:
If described first bluetooth equipment does not receive the response from described second bluetooth equipment in the regular hour, then abandon this request message and be not uploaded to upper strata UI.
Above-described bluetooth equipment can be PC, mobile phone, PDA etc.Compared with prior art, this programme has fine adaptivity, can handle different Bluetooth devices to the support difference of different Bluetooth protocol child releases with for the processing difference of different Bluetooth devices in the matching process for the coupling flow process.
Description of drawings
Fig. 1 is a Bluetooth protocol architectural framework sketch.The position of the present invention in the whole agreement of bluetooth is described;
Fig. 2 is case step figure used in the present invention.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is illustrated.
Whole Bluetooth protocol architecture can be divided into bottom hardware module, intermediate protocol layer and high-end applications layer three parts.Comprise serial port section SPP, general object exchange section GOEP, file transmission section FTP, object push-and-pull section OPP and synchronous section SP in the serial port protocol subclass 102 of its middle-and high-end applications layer.Puppy parc subclass 104 comprises general access section GAP and service discovery application section SDAP.The main agreement of intermediate protocol layer has Object Exchange OBEX 105, serial ports simulation protocol RFCOMM 106, service discovery protocol SDP 107 and logic link control and adapting protocol L2CAP 108.Underlying protocol mainly comprises electronic circuit, power control of control unit interface 109 and base band, radio frequency part 110 or the like.The present invention relates generally to the basis of other Bluetooth protocol frameworks, the bluetooth general-purpose accessing application framework in the puppy parc subclass.
Fig. 2 is a flow chart of the present invention, as shown in the figure, further explains the specific embodiment of the present invention below.
Step 1, two bluetooth equipments that never mated, owing to can not have corresponding concatenated key or the like match information, link, channel were not set up yet, therefore primary coupling all successfully (201).
Step 2, bluetooth equipment A receive the matching request (202) of bluetooth equipment B once more.
Step 3, because that the Various types of data that different bluetooth equipment generates for matching process is last time handled is inconsistent, the meeting that has is all preserved, the part that has is preserved or is not preserved, need judge (203) this moment according to actual conditions.
Step 4, if preserve corresponding data and then arrive step 6, if the corresponding data of preservation then enter step 5.
The concatenated key information (204) of step 5, deletion preservation last time.Because concatenated key is shared by equipment room, it is the basis that the equipment room security affairs are handled, simultaneously, if two side's bluetooth equipments are for the processing difference of concatenated key last time, also can cause often taking place in the link for the second time concatenated key loses, thereby make follow-up flow process unusual failure occur, the deletion of the concatenated key that therefore must will preserve last time.
Step 6, the early stage initialization finish after, begin to set up the ACL link, safe class need be changed to when setting up this link needs authentication (205).
Step 7, and then, bluetooth equipment A will initiate authorizing procedure (206) with requestor's identity request bluetooth equipment B as checker.
Step 8, need whether receive in official hour whether the response and the response of being received correctly come to treat respectively according to bluetooth equipment A: then arrive step 9 if receive correct response at the appointed time with next, to step 12, then do not arrive step 13 if receive wrong response if receive any response.
Step 9, receive the individual identification code value that bluetooth equipment B provides, resolve with the individual identification code value of our bluetooth equipment A input and compare (207).Can use the symmetric key word to carry out the key word verification (208) that PIN generates through the 2-MOV agreement, the generation of key word should be made up of PIN and corresponding bluetooth device address thereof that each bluetooth equipment is imported at random, beginning both sides authentication: if step 10 is then arrived in the authentication success, if step 11 is then arrived in failure.
After step 10, the authentication success, finish the follow-up round-off work of normal coupling, the match is successful (209) for the prompting user, to step 14.
Step 11, failed authentication, the user is after it fails to match (210) in prompting, to step 14.
Step 12, owing to receive replying of bluetooth equipment B mistake, can also normally carry out for guaranteeing the coupling flow process, the identity of bluetooth equipment A will be converted to checker (211) by the requestor.Bluetooth equipment A initiates coupling flow process (212) as main equipment after providing PIN, the coupling flow process of this moment will with normal brand-new coupling flow process identical (213) once.
Step 13, if the response (214) that bluetooth equipment A does not receive bluetooth equipment B at the appointed time, then abandon the message of request coupling this time, for the user friendly angle, should not report any message to the upper strata.To step 14.
Step 14, coupling finish, and withdraw from coupling flow process (215).

Claims (7)

1. adaptive matching process between a different Bluetooth devices is then finished coupling for the first time when first bluetooth equipment in the described different Bluetooth devices receives the matching request of second bluetooth equipment first, it is characterized in that may further comprise the steps:
When described first bluetooth equipment receives the matching request of described second bluetooth equipment once more, then set up link and the safe class that described second bluetooth equipment is extracted in the matching request second time is changed to the request authentication;
Described first bluetooth equipment asks described second bluetooth equipment to provide corresponding PIN code to carry out authentication as checker as requestor's identity;
If described first bluetooth equipment receives the PIN code of described second bluetooth equipment, then the PIN code with itself and described first bluetooth equipment compares, if pairing then the match is successful for the second time, if unpaired then point out the user it fails to match the described second time; And
If described first bluetooth equipment receives the errored response of described second bluetooth equipment in the regular hour, then described first bluetooth equipment changes to described checker from described request person's identity, completes successfully described second time of coupling so that it is transfused to after the new PIN code as main equipment.
2. method according to claim 1, described set up link and described safe class changed to ask the step of authentication further to comprise:
If described first bluetooth equipment is preserved the information of described first time of coupling, then set up described link behind the concatenated key in the deletion information of being preserved and the safe class that described second bluetooth equipment is extracted in the matching request second time is changed to the request authentication.
3. method according to claim 1, described set up link and described safe class changed to ask the step of authentication also to comprise:
If described first bluetooth equipment is not preserved the information of described first time of coupling, then directly set up described link and the safe class that described second bluetooth equipment is extracted in the matching request second time is changed to the request authentication.
4. according to each described method of claim 1 to 3, the step of described comparison further comprises:
Use the symmetric key word to carry out the key word verification that PIN generates through the 2-MOV agreement, the generation of key word should be made up of PIN and its corresponding bluetooth device address that each bluetooth equipment is imported at random.
5. according to each described method of claim 1 to 3, described link comprises ACL link and SCO link.
6. according to each described method of claim 1 to 3, further comprise the steps:
If described first bluetooth equipment does not receive the response from described second bluetooth equipment in the regular hour, then abandon this request message and be not uploaded to upper strata UI.
7. according to each described method of claim 1 to 3, described bluetooth equipment comprises PC, mobile phone and PDA.
CN2007101535969A 2007-09-19 2007-09-19 Self-adapted match method between different Bluetooth devices Expired - Fee Related CN101127538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101535969A CN101127538B (en) 2007-09-19 2007-09-19 Self-adapted match method between different Bluetooth devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101535969A CN101127538B (en) 2007-09-19 2007-09-19 Self-adapted match method between different Bluetooth devices

Publications (2)

Publication Number Publication Date
CN101127538A true CN101127538A (en) 2008-02-20
CN101127538B CN101127538B (en) 2011-11-23

Family

ID=39095492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101535969A Expired - Fee Related CN101127538B (en) 2007-09-19 2007-09-19 Self-adapted match method between different Bluetooth devices

Country Status (1)

Country Link
CN (1) CN101127538B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130926A (en) * 2010-01-18 2011-07-20 纬创资通股份有限公司 Connection line establishment method and bluetooth device
CN102315942A (en) * 2011-09-30 2012-01-11 福源立信(北京)科技有限公司 Security terminal with Bluetooth and communication method thereof of security terminal and client end
CN103618994A (en) * 2013-11-28 2014-03-05 南京守护宝信息技术有限公司 Positioning warning method based on Bluetooth
CN103731562A (en) * 2014-01-21 2014-04-16 三星电子(中国)研发中心 Method and device for adaptively matching bluetooth device with smart devices
WO2014075301A1 (en) * 2012-11-16 2014-05-22 华为终端有限公司 Method, mobile terminal, bluetooth device and system for establishing bluetooth connection
CN103957037A (en) * 2014-04-09 2014-07-30 北京工业大学 Method for automatic communication between PC side and Android mobile phone side based on Bluetooth
CN105025431A (en) * 2014-05-30 2015-11-04 络达科技股份有限公司 Multi-role Bluetooth device and Bluetooth connection method thereof
CN105185086A (en) * 2015-09-30 2015-12-23 刘哲 Wireless control method and system
CN105472773A (en) * 2015-01-13 2016-04-06 深圳Tcl数字技术有限公司 Communication method of multiple Bluetooth devices and host machine
CN105554693A (en) * 2016-02-02 2016-05-04 深圳市文鼎创数据科技有限公司 Bluetooth device pairing method and device
CN106775514A (en) * 2016-11-14 2017-05-31 乐视控股(北京)有限公司 The inspection method and device and electronic equipment of a kind of driving conditions
CN107071620A (en) * 2017-05-11 2017-08-18 建荣半导体(深圳)有限公司 A kind of bluetooth earphone and its matching method, Bluetooth chip and storage device
CN111954039A (en) * 2020-07-02 2020-11-17 深圳市华曦达科技股份有限公司 Set top box Bluetooth configuration method and device, electronic equipment and storage medium
CN113810887A (en) * 2020-05-29 2021-12-17 Oppo广东移动通信有限公司 Bluetooth protocol connection method, device, storage medium and related equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7082461B2 (en) * 2002-06-28 2006-07-25 Microsoft Corporation Method to configure a bluetooth logical link control and adaptation protocol channel
CN1909397A (en) * 2006-08-01 2007-02-07 中山大学 Communication modular between mobile terminals based on Blue Tooth technology

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130926A (en) * 2010-01-18 2011-07-20 纬创资通股份有限公司 Connection line establishment method and bluetooth device
CN102315942A (en) * 2011-09-30 2012-01-11 福源立信(北京)科技有限公司 Security terminal with Bluetooth and communication method thereof of security terminal and client end
US9537991B2 (en) 2012-11-16 2017-01-03 Huawei Device Co., Ltd. Method for establishing bluetooth connection and mobile terminal
WO2014075301A1 (en) * 2012-11-16 2014-05-22 华为终端有限公司 Method, mobile terminal, bluetooth device and system for establishing bluetooth connection
US9185734B2 (en) 2012-11-16 2015-11-10 Huawei Device Co., Ltd. Method for establishing Bluetooth connection, mobile terminal, Bluetooth device, and system
US9756457B2 (en) 2012-11-16 2017-09-05 Huawei Device Co., Ltd. Method for establishing bluetooth connection and mobile terminal
CN103618994A (en) * 2013-11-28 2014-03-05 南京守护宝信息技术有限公司 Positioning warning method based on Bluetooth
CN103731562A (en) * 2014-01-21 2014-04-16 三星电子(中国)研发中心 Method and device for adaptively matching bluetooth device with smart devices
CN103731562B (en) * 2014-01-21 2015-08-12 三星电子(中国)研发中心 For the method and apparatus of smart machine Adaptive matching bluetooth equipment
CN103957037A (en) * 2014-04-09 2014-07-30 北京工业大学 Method for automatic communication between PC side and Android mobile phone side based on Bluetooth
CN103957037B (en) * 2014-04-09 2016-01-13 北京工业大学 Based on the method for bluetooth PC end with the automated communications of Android phone end
CN105025431A (en) * 2014-05-30 2015-11-04 络达科技股份有限公司 Multi-role Bluetooth device and Bluetooth connection method thereof
CN105472773B (en) * 2015-01-13 2019-03-01 深圳Tcl数字技术有限公司 The method and host of plurality of Bluetooth equipments communication
CN105472773A (en) * 2015-01-13 2016-04-06 深圳Tcl数字技术有限公司 Communication method of multiple Bluetooth devices and host machine
CN105185086A (en) * 2015-09-30 2015-12-23 刘哲 Wireless control method and system
CN105554693A (en) * 2016-02-02 2016-05-04 深圳市文鼎创数据科技有限公司 Bluetooth device pairing method and device
CN105554693B (en) * 2016-02-02 2019-02-01 深圳市文鼎创数据科技有限公司 The matching method and device of bluetooth equipment
CN106775514A (en) * 2016-11-14 2017-05-31 乐视控股(北京)有限公司 The inspection method and device and electronic equipment of a kind of driving conditions
CN107071620A (en) * 2017-05-11 2017-08-18 建荣半导体(深圳)有限公司 A kind of bluetooth earphone and its matching method, Bluetooth chip and storage device
CN107071620B (en) * 2017-05-11 2019-05-10 建荣半导体(深圳)有限公司 A kind of bluetooth headset and its matching method, Bluetooth chip and storage device
CN113810887A (en) * 2020-05-29 2021-12-17 Oppo广东移动通信有限公司 Bluetooth protocol connection method, device, storage medium and related equipment
CN113810887B (en) * 2020-05-29 2023-07-14 Oppo广东移动通信有限公司 Bluetooth protocol connection method and device, storage medium and related equipment
CN111954039A (en) * 2020-07-02 2020-11-17 深圳市华曦达科技股份有限公司 Set top box Bluetooth configuration method and device, electronic equipment and storage medium
CN111954039B (en) * 2020-07-02 2022-07-01 深圳市华曦达科技股份有限公司 Set top box Bluetooth configuration method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN101127538B (en) 2011-11-23

Similar Documents

Publication Publication Date Title
CN101127538B (en) Self-adapted match method between different Bluetooth devices
US9717106B2 (en) System for utilizing identity based on pairing of wireless devices
EP2209259B1 (en) Pairing system, pairing management device, pairing method, and program
JP5474135B2 (en) Electronic device and method performed by the electronic device
CN103039063B (en) The password security input system of moving value of key of accessing to your password and cipher safety inputting method
CN101331721B (en) Distributed bluetooth system
US20070123165A1 (en) Methods, systems and devices for assisted discovery in bluetooth enabled devices
CN107426069B (en) Bluetooth-based intelligent household system and control method thereof
CN206667972U (en) Intelligent padlock and intelligent padlock system
CN102594987A (en) Method for realizing safe and quick Bluetooth pairing connection
CN106792493A (en) The matching method of bluetooth equipment, device and bluetooth equipment
CN101809955A (en) Flash pairing between bluetooth devices
CN101625773A (en) Method for implementing remote-control and passive keyless systems based on Bluetooth technology
CN108198285A (en) One kind is based on bluetooth closely automatic safe method for unlocking and system
Jeong et al. Utilizing a Bluetooth remote lock system for a smartphone
KR20110083050A (en) System for authentication using pairing function in bluetooth terminal and method thereof
US20170134950A1 (en) Challenge-response-test image to phone for secure pairing
Becker et al. Bluetooth security & hacks
KR101392571B1 (en) Near Field Communication Interface Control
CN105554043A (en) Wearable equipment identity authentication method based on cross bit operation
CN101222266A (en) Document transmission method and device
CN103200566A (en) Implementation method and calibration method of partner mode between main device and partner device
Jeong et al. A remote lock system using Bluetooth communication
CN103702396B (en) A kind of method and device of network terminal automatic matching
CN111212413A (en) Unlocking communication method and device and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111123

Termination date: 20200919

CF01 Termination of patent right due to non-payment of annual fee