CN103888177A - Method for quickly establishing Bluetooth connection - Google Patents

Method for quickly establishing Bluetooth connection Download PDF

Info

Publication number
CN103888177A
CN103888177A CN201410063378.6A CN201410063378A CN103888177A CN 103888177 A CN103888177 A CN 103888177A CN 201410063378 A CN201410063378 A CN 201410063378A CN 103888177 A CN103888177 A CN 103888177A
Authority
CN
China
Prior art keywords
bluetooth
terminal equipment
module
parameter
address
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
Application number
CN201410063378.6A
Other languages
Chinese (zh)
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.)
Nanjing Post and Telecommunication University
Nanjing University of Posts and Telecommunications
Original Assignee
Nanjing Post and Telecommunication University
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 Nanjing Post and Telecommunication University filed Critical Nanjing Post and Telecommunication University
Priority to CN201410063378.6A priority Critical patent/CN103888177A/en
Publication of CN103888177A publication Critical patent/CN103888177A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for quickly establishing Bluetooth connection, comprising steps of quickly establishing connection by using NFC for transmitting necessary parameters needed by Bluetooth connection establishment, comparing the transmitted parameters with periphery Bluetooth device parameters obtained through scanning by the Bluetooth to determine that whether the Bluetooth addresses belong to one device, if yes, initiating connection request and establishing connection, if not, carrying on comparison unit the Blue addresses are matched. The method for quickly establishing Bluetooth connection can effectively shorten scanning time, can save the matching processes, can directly perform connection and can establish a Bluetooth link. Because the NFC communication distance is short and the truthful terminal devices can exchange parameters in s short distance, which also guarantees the safety during the process of Bluetooth connection establishment.

Description

A kind of method that Rapid Establishment bluetooth connects
Technical field
The present invention relates to wireless communication technology and technical field of mobile terminals, especially a kind of method that realizes the connection of Rapid Establishment bluetooth.
Background technology
Between two bluetooth equipments, connect, traditional method need to be through overscanning, pairing, three steps of connection, and scanning duration is fixed, and is generally 10s, want the equipment connecting, and initiate pairing and connection procedure after having scanned by the manual selection of user.This mode is applicable to the more situation of periphery bluetooth equipment, but in the situation that periphery bluetooth equipment is less, not only loses time simultaneously but also increased power consumption, has shortened battery-powered time.Whole connection procedure is loaded down with trivial details, and the time is tediously long, and power consumption is large, has a strong impact on user and experiences.If know rapidly the facility information of wanting connection in scanning process, and initiate voluntarily connection request and can greatly shorten sweep time.NFC technology relies on the fast advantage of connection speed, has made up the deficiency of bluetooth.How to utilize NFC technology simplification step, shortening bluetooth connect hours to become the major issue of Bluetooth technology.
Summary of the invention
The invention provides a kind of method that Rapid Establishment bluetooth connects that realizes.
The present invention is achieved through the following technical solutions:
Comprise NFC module 1 and bluetooth module 1 at terminal equipment A, on the basis that terminal equipment B comprises NFC module 2 and bluetooth module 2, a kind of method that realizes the connection of Rapid Establishment bluetooth, comprises the following steps:
Step 1: start NFC module 1 and the bluetooth module 1 of terminal equipment A, the NFC module 2 of B and bluetooth module 2;
Step 2: the NFC module 1 of terminal equipment A is obtained the parameter of bluetooth module 1, the NFC module 2 of terminal equipment B is obtained the parameter of bluetooth module 2, and the bluetooth module 1 of terminal equipment A enters scan pattern simultaneously, and the bluetooth module 2 of terminal equipment B enters broadcast mode;
Step 3: NFC module 1, the 2 exchange bluetooth parameters of terminal equipment A and B, periphery bluetooth parameters is obtained in bluetooth module 1 scanning of terminal equipment A;
Step 4: bluetooth module 1 scan in terminal equipment A to the periphery bluetooth parameters of obtaining and exchange with NFC module 1 parameter of obtaining and compare, determine whether same equipment, if so, carry out step 5, if not, proceed to compare, until mate;
Step 5: the bluetooth module 1 of terminal equipment A is initiated connection request, the bluetooth module 2 of terminal equipment B receives asks and responds;
Step 6: the bluetooth module 1,2 of terminal equipment A and B connects.
In the 2nd step, NDEF message is made up of one article of NDEF Record, NDEF Record is made up of 3bit TNF, TYPE, ID and PAYLOAD, wherein in 3bit TNF, constant 0x01 represents TNF_WELL_KNOWN, TYPE is defined as RTD_TEXT, ID is defined as byte[0], representative is empty herein, and Payload PAYLOAD places Bluetooth address MAC Address.
The present invention utilizes NFC Rapid Establishment to connect, transmit the bluetooth necessary parameter that connects, the periphery bluetooth equipment parameter that the parameter of transmission and bluetooth are obtained by scanning is compared, and determines whether same equipment, if so, initiate connection request and connect; If not, proceed comparison, until coupling.The present invention can effectively shorten sweep time, saves the step of pairing, directly connects, and creates Bluetooth link.Simultaneously NFC communication distance is short, when the terminal equipment of trust could close contact exchange parameter, has so also ensured the fail safe of bluetooth connection procedure.
Beneficial effect of the present invention is:
1. the vertical bluetooth of second run-up connects;
2. simple to operate, process safety.
Brief description of the drawings
Fig. 1 is the bluetooth schematic diagram that connects.
Fig. 2 is NDEF message format.
Embodiment
Below in conjunction with Figure of description, the present invention is described in further detail.
Terminal equipment A comprises NFC module 1 and bluetooth module 1, and terminal equipment B comprises NFC module 2 and bluetooth module 2, and a kind of bluetooth method of connection fast that realizes, comprises the following steps:
Step 1: the NFC module 1 and the bluetooth module 1 that start terminal equipment A, the NFC module 2 of terminal equipment B and bluetooth module 2, NFC module 1 and NFC module 2 are initialized as respectively ad hoc mode, and bluetooth module 1 is initialized as scan pattern, and bluetooth module 2 is initialized as broadcast mode;
Step 2: the NFC module 1 of terminal equipment A is obtained the parameters such as the Bluetooth address of bluetooth module 1 by intermodule direct communication, Bluetooth address parameter is packaged into NDEF message, the NFC module 2 of terminal equipment B by intermodule direct communication obtain bluetooth module 2 the parameter such as Bluetooth address after, Bluetooth address parameter is packaged into NDEF message, the bluetooth module 1 of terminal equipment A enters scan pattern simultaneously, the bluetooth module 2 of terminal equipment B enters broadcast mode, and the parameter of broadcast comprises Bluetooth address and the bluetooth device name of self;
Step 3: the NFC module 1,2 of terminal equipment A and B exchanges and resolve NDEF message, obtains the other side's bluetooth parameters, periphery bluetooth equipment parameter is obtained in bluetooth module 1 scanning of terminal equipment A;
Step 4: bluetooth module 1 is scanned in terminal equipment A to the Bluetooth address that Bluetooth address in the parameter of obtaining and NFC module 1 exchange in the parameter of obtaining and compare, determine whether same equipment, if, carry out step 6, if not, proceed comparison, until two Bluetooth address match, in the time that comparison time exceedes maximum 10 seconds, stop comparison, carry out step 5;
Step 5: the bluetooth module 1 of terminal module A stops scanning, whether inquiry user needs to rescan, if user's selection is that bluetooth module 1 carry out step 4 after entering scan pattern, no if user selects, and does not take operation;
Step 6: the bluetooth module 1 of terminal equipment A is initiated connection request, the parameter of request comprises self bluetooth equipment parameter and bluetooth module 2 device parameters, the bluetooth module 2 of terminal equipment B receives asks and responds;
Step 7: the bluetooth module 1,2 of terminal equipment A and B connects.
NDEF message format described in step 2 as shown in Figure 2.Described NDEF message is made up of a NDEF Record, wherein in 3bit TNF, constant 0x01 represents TNF_WELL_KNOWN, and TYPE is defined as RTD_TEXT, and ID is defined as byte[0], representative is empty herein, and Payload PAYLOAD places Bluetooth address MAC Address.
The feature that the present invention utilizes NFC to connect fast, can in scanning process, obtain the information of wanting the equipment connecting, the equipment scanning when judgement is the equipment of wanting connection, finish immediately scanning and initiate voluntarily connection request, than traditional scanning constant duration, not only can effectively shorten sweep time but also can reduce energy consumption.Because NFC communication distance only has 10 centimetres, the equipment ability close contact exchange parameter of mutual trust, has ensured the fail safe of bluetooth connection procedure like this, also can save the pairing step in traditional approach simultaneously, directly connects, and creates Bluetooth link.

Claims (2)

1. realize the method that Rapid Establishment bluetooth connects, comprise NFC module 1 and bluetooth module 1 at terminal equipment A, on the basis that terminal equipment B comprises NFC module 2 and bluetooth module 2, comprise the following steps:
Step 1: start NFC module 1 and the bluetooth module 1 of terminal equipment A, the NFC module 2 of terminal equipment B and bluetooth module 2;
Step 2: the NFC module 1 of terminal equipment A is obtained the parameters such as the Bluetooth address of bluetooth module 1, Bluetooth address parameter is packaged into NDEF message, the NFC module 2 of terminal equipment B obtain bluetooth module 2 the parameter such as Bluetooth address after, Bluetooth address parameter is packaged into NDEF message, the bluetooth module 1 of terminal equipment A enters scan pattern simultaneously, the bluetooth module 2 of terminal equipment B enters broadcast mode, and the parameter of broadcast comprises Bluetooth address and the bluetooth device name of self;
Step 3: NFC module 1, the 2 exchange bluetooth parameters of terminal equipment A, B, periphery bluetooth parameters is obtained in bluetooth module 1 scanning of terminal equipment A;
Step 4: bluetooth module 1 is scanned in terminal equipment A to the Bluetooth address that Bluetooth address in the parameter of obtaining and NFC module 1 exchange in the parameter of obtaining and compare, determine whether same equipment, if, carry out step 5, if not, proceed comparison, until two Bluetooth address match or comparison time exceedes maximum;
Step 5: the bluetooth module 1 of terminal equipment A is initiated connection request, the bluetooth module 2 of terminal equipment B receives asks and responds;
Step 6: the bluetooth module 1,2 of terminal equipment A and B connects.
2. a kind of method that Rapid Establishment bluetooth connects that realizes according to claim 1, it is characterized in that in step 2, NDEF message is made up of a NDEF Record, NDEF Record is made up of 3bit TNF, TYPE, ID and PAYLOAD, wherein in 3bit TNF, constant 0x01 represents TNF_WELL_KNOWN, TYPE is defined as RTD_TEXT, ID is defined as byte[0], representative is empty herein, Payload PAYLOAD places Bluetooth address MAC Address.
CN201410063378.6A 2014-02-25 2014-02-25 Method for quickly establishing Bluetooth connection Pending CN103888177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410063378.6A CN103888177A (en) 2014-02-25 2014-02-25 Method for quickly establishing Bluetooth connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410063378.6A CN103888177A (en) 2014-02-25 2014-02-25 Method for quickly establishing Bluetooth connection

Publications (1)

Publication Number Publication Date
CN103888177A true CN103888177A (en) 2014-06-25

Family

ID=50956915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410063378.6A Pending CN103888177A (en) 2014-02-25 2014-02-25 Method for quickly establishing Bluetooth connection

Country Status (1)

Country Link
CN (1) CN103888177A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219618A (en) * 2014-08-29 2014-12-17 延锋伟世通电子科技(上海)有限公司 Device and method for implementing quick match of in-vehicle Bluetooth by near field communication technology
CN104410950A (en) * 2014-12-25 2015-03-11 北京元心科技有限公司 Data sharing method, device and system
CN104539320A (en) * 2015-01-15 2015-04-22 北京深思数盾科技有限公司 Pairing method for Bluetooth devices
CN104768123A (en) * 2015-03-18 2015-07-08 广东欧珀移动通信有限公司 Bluetooth connection method, device and system
CN105392114A (en) * 2015-12-03 2016-03-09 北京握奇智能科技有限公司 NFC based rapid Bluetooth connection system and method
CN105430603A (en) * 2015-12-03 2016-03-23 北京握奇智能科技有限公司 Secure connection method and system for Bluetooth equipment
CN106412326A (en) * 2016-10-28 2017-02-15 广东欧珀移动通信有限公司 Parameter adjusting method of terminal equipment and terminal equipment
WO2017076269A1 (en) * 2015-11-03 2017-05-11 国民技术股份有限公司 Smart device, and method and apparatus for establishing bluetooth connection between devices therefor
CN106792443A (en) * 2016-12-02 2017-05-31 歌尔科技有限公司 A kind of matching method for bluetooth equipment, device and bluetooth equipment
WO2018032681A1 (en) * 2016-08-18 2018-02-22 深圳Tcl数字技术有限公司 Bluetooth pairing method and bluetooth device
TWI632795B (en) * 2015-11-03 2018-08-11 國民技術股份有限公司 Method and device for pairing Bluetooth devices
CN108616849A (en) * 2016-12-13 2018-10-02 中国电信股份有限公司 Bluetooth connecting method, Bluetooth system and equipment
CN108684029A (en) * 2018-08-23 2018-10-19 维沃移动通信有限公司 A kind of Bluetooth pairing connection method and system, bluetooth equipment and terminal
CN110072218A (en) * 2018-01-23 2019-07-30 致伸科技股份有限公司 The method of wireless communication device and its communication partner
CN111132100A (en) * 2019-10-09 2020-05-08 珠海市杰理科技股份有限公司 Bluetooth connection method and device, Bluetooth equipment and Bluetooth system
CN113038442A (en) * 2021-03-16 2021-06-25 北京百瑞互联技术有限公司 Method, device and system for matching and connecting low-power-consumption Bluetooth equipment
CN115708373A (en) * 2021-08-18 2023-02-21 Oppo广东移动通信有限公司 Bluetooth audio receiving method, device, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789997A (en) * 2010-01-15 2010-07-28 宇龙计算机通信科技(深圳)有限公司 Method and device for linking bluetooth and mobile terminal
CN102780513A (en) * 2011-05-13 2012-11-14 希姆通信息技术(上海)有限公司 Mobile terminal and method for realizing Bluetooth communication between mobile terminals
CN102983890A (en) * 2012-11-14 2013-03-20 北京小米科技有限责任公司 Method and device of pairing connection of equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789997A (en) * 2010-01-15 2010-07-28 宇龙计算机通信科技(深圳)有限公司 Method and device for linking bluetooth and mobile terminal
CN102780513A (en) * 2011-05-13 2012-11-14 希姆通信息技术(上海)有限公司 Mobile terminal and method for realizing Bluetooth communication between mobile terminals
CN102983890A (en) * 2012-11-14 2013-03-20 北京小米科技有限责任公司 Method and device of pairing connection of equipment

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219618A (en) * 2014-08-29 2014-12-17 延锋伟世通电子科技(上海)有限公司 Device and method for implementing quick match of in-vehicle Bluetooth by near field communication technology
CN104410950A (en) * 2014-12-25 2015-03-11 北京元心科技有限公司 Data sharing method, device and system
CN104539320A (en) * 2015-01-15 2015-04-22 北京深思数盾科技有限公司 Pairing method for Bluetooth devices
CN104768123A (en) * 2015-03-18 2015-07-08 广东欧珀移动通信有限公司 Bluetooth connection method, device and system
TWI634771B (en) * 2015-11-03 2018-09-01 國民技術股份有限公司 Wisdom device and method and device for establishing Bluetooth connection between devices
WO2017076269A1 (en) * 2015-11-03 2017-05-11 国民技术股份有限公司 Smart device, and method and apparatus for establishing bluetooth connection between devices therefor
TWI632795B (en) * 2015-11-03 2018-08-11 國民技術股份有限公司 Method and device for pairing Bluetooth devices
CN107006049A (en) * 2015-11-03 2017-08-01 国民技术股份有限公司 A kind of smart machine and its set up the method for equipment room bluetooth connection, device
CN105392114A (en) * 2015-12-03 2016-03-09 北京握奇智能科技有限公司 NFC based rapid Bluetooth connection system and method
CN105430603A (en) * 2015-12-03 2016-03-23 北京握奇智能科技有限公司 Secure connection method and system for Bluetooth equipment
WO2018032681A1 (en) * 2016-08-18 2018-02-22 深圳Tcl数字技术有限公司 Bluetooth pairing method and bluetooth device
CN106412326A (en) * 2016-10-28 2017-02-15 广东欧珀移动通信有限公司 Parameter adjusting method of terminal equipment and terminal equipment
CN106412326B (en) * 2016-10-28 2019-09-13 Oppo广东移动通信有限公司 A kind of parameter regulation means and terminal device of terminal device
CN106792443A (en) * 2016-12-02 2017-05-31 歌尔科技有限公司 A kind of matching method for bluetooth equipment, device and bluetooth equipment
CN108616849A (en) * 2016-12-13 2018-10-02 中国电信股份有限公司 Bluetooth connecting method, Bluetooth system and equipment
CN110072218A (en) * 2018-01-23 2019-07-30 致伸科技股份有限公司 The method of wireless communication device and its communication partner
CN108684029A (en) * 2018-08-23 2018-10-19 维沃移动通信有限公司 A kind of Bluetooth pairing connection method and system, bluetooth equipment and terminal
CN108684029B (en) * 2018-08-23 2021-07-23 维沃移动通信有限公司 Bluetooth pairing connection method and system, Bluetooth device and terminal
CN111132100A (en) * 2019-10-09 2020-05-08 珠海市杰理科技股份有限公司 Bluetooth connection method and device, Bluetooth equipment and Bluetooth system
CN111132100B (en) * 2019-10-09 2023-05-02 珠海市杰理科技股份有限公司 Bluetooth connection method and device, bluetooth equipment and Bluetooth system
CN113038442A (en) * 2021-03-16 2021-06-25 北京百瑞互联技术有限公司 Method, device and system for matching and connecting low-power-consumption Bluetooth equipment
CN113038442B (en) * 2021-03-16 2023-07-25 北京百瑞互联技术有限公司 Low-power consumption Bluetooth equipment matched connection method, device and system
CN115708373A (en) * 2021-08-18 2023-02-21 Oppo广东移动通信有限公司 Bluetooth audio receiving method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN103888177A (en) Method for quickly establishing Bluetooth connection
KR101735334B1 (en) Method and apparatus for performing discovery procedures in wi-fi p2p device
US10756964B2 (en) Internet of things configuration method and system for secure low-power-consumption proxy device
CN102315864B (en) For the method and apparatus of mobile device Point-to-Point Data Transmission
CA2864288C (en) Communication device, communication method, program, and communication system
US9288729B2 (en) Method for performing a change of mode in devices directly communicating with each other in a wireless connection system, and apparatus for same
US9119024B2 (en) Wireless communication terminal, wireless communication device, and wireless communication method
US8396497B2 (en) Communication device and method for controlling communication device
WO2012114968A1 (en) Wireless base station and wireless communication system using same
EP2615870A1 (en) Systems for facilitating wireless communication and related methods
CN106375939B (en) Dual-mode Bluetooth-based data transmission system and method in underground tunnel
CN103686674A (en) Network access method, intelligent terminal and WiFi access equipment
CN111163500A (en) Two-dimensional code-based network distribution method and system for Internet of things equipment
CN103139932A (en) Apparatus and method for connecting to device in wireless terminal
WO2013025040A3 (en) Method for performing device to device direct communication, method for supporting the same, and device therefor
RU2017102665A (en) METHOD AND DEVICE FOR OBTAINING RIGHTS OF USE
WO2016153701A1 (en) Method and apparatus for low power wireless docking discovery
WO2013104153A1 (en) Quick bluetooth device pairing method and bluetooth device
WO2017115515A1 (en) Information processing device, information processing method and program
US20160081019A1 (en) Method and apparatus to reduce power consumption in wireless devices
KR20190032845A (en) Electronic device for performing reconnection of near field communication and method for controlling thereof
CN105069875A (en) Electronic key, electronic devices and electronic device networking/pairing method
CN108605277A (en) Establish the method and device of WLAN connection
CN104754495A (en) Smart household device connecting method and smart terminal
WO2021223405A1 (en) Method and control terminal for activating network distribution mode of air conditioner

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140625