CN105992129A - Bluetooth matching method and device - Google Patents

Bluetooth matching method and device Download PDF

Info

Publication number
CN105992129A
CN105992129A CN201510185899.3A CN201510185899A CN105992129A CN 105992129 A CN105992129 A CN 105992129A CN 201510185899 A CN201510185899 A CN 201510185899A CN 105992129 A CN105992129 A CN 105992129A
Authority
CN
China
Prior art keywords
terminal
proximity sensor
bluetooth equipment
connection data
bluetooth
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
CN201510185899.3A
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.)
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
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 LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority to CN201510185899.3A priority Critical patent/CN105992129A/en
Publication of CN105992129A publication Critical patent/CN105992129A/en
Pending legal-status Critical Current

Links

Abstract

The present invention provides a Bluetooth matching method and a Bluetooth matching device. The method includes the following steps that: the proximity sensor of a first terminal receives connection data transmitted by the Bluetooth device of the first terminal; and the proximity sensor of the first terminal sends the connection data to the proximity sensor of a second terminal, so that the connection data can be transmitted to the Bluetooth device of the second terminal through the proximity sensor of the second terminal, and therefore, the matching of the Bluetooth device of the first terminal and the Bluetooth device of the second terminal can be carried out. With the method and the device of the invention adopted, the first terminal can send the connection data to the proximity sensor of one second terminal only through the proximity sensor of the first terminal, and cannot send the connection data to the proximity sensors of a plurality of second terminals, and therefore, the first terminal can only find one second terminal, and a situation that a plurality of second terminals are found can be avoided, and the Bluetooth device of the first terminal can be accurately matched with the Bluetooth device of the second terminal, and accuracy of Bluetooth matching between the terminals can be improved.

Description

A kind of method and apparatus of Bluetooth pairing
Technical field
The present invention relates to communication technical field, the method and apparatus particularly relating to a kind of Bluetooth pairing.
Background technology
Bluetooth (Blue tooth) is the radiotechnics of a kind of holding equipment short haul connection, it is possible at hands Machine, PDA (Personal Digital Assistant, palm PC), wireless headset and notebook computer etc. Exchanged between equipment wireless messages, communication distance is typically within 10 meters.
When two bluetooth equipments communicate, one is main side equipment, and another is from end equipment.Main side Equipment is searched from end equipment, initiates pairing to from end equipment, and with after end equipment link setup success, both sides are i.e. Can transceiving data.At present, bluetooth equipment has set the pairing between two bluetooth equipments before dispatching from the factory the most in advance Information, main side prestores PIN (Personal Identification Number, the Ge Renshi from end equipment Alias code) and address etc., terminal device powers up i.e. automatic link establishment, by transparent Serial Port Transmission wireless messages, Without peripheral circuit intervention.And bluetooth equipment can switch at main side equipment with between end equipment, flat Time be operated in from end pattern bluetooth equipment, can wait that other main side equipment connects, it is also possible to conversion For main side pattern, initiate pairing to other bluetooth equipment.When bluetooth equipment initiates pairing with holotype, It is to be appreciated that the information such as the Bluetooth address of the other side and pairing password, after having matched, can directly initiate calling.
When searching from end equipment, when around bluetooth equipment is more when, it is possible to two found Or two or more has the bluetooth equipment of same names, but which indigo plant is existing Bluetooth technology cannot be distinguished by Tooth equipment be need connect from end equipment.
In a word, the technical problem needing those skilled in the art urgently to be resolved hurrily is exactly: how at bluetooth equipment In the case of more, match exactly from end bluetooth equipment.
Summary of the invention
The method and apparatus that the invention provides a kind of Bluetooth pairing, to solve in the more feelings of bluetooth equipment Under condition, it is impossible to match accurately from the technical problem holding bluetooth equipment.
In order to solve the problems referred to above, a kind of method that the invention discloses Bluetooth pairing, including:
The Proximity Sensor of first terminal receives the connection data of the bluetooth equipment transmission of first terminal;
Described connection data are sent the low coverage to the second terminal by the Proximity Sensor of described first terminal From sensor, so that described connection data are transferred to second eventually by the Proximity Sensor of described second terminal The bluetooth equipment of end, the bluetooth equipment of the bluetooth equipment and described second terminal that carry out described first terminal is joined Right.
Preferably, described connection data are sent to the second terminal by the Proximity Sensor of described first terminal Proximity Sensor, including:
Infrared emission unit in the Proximity Sensor of described first terminal is to the second terminal closely Infrared receiver in sensor launches infrared waves, wherein, carries described company in described infrared waves Connect data.
Preferably, the infrared emission unit in the Proximity Sensor of described first terminal is to the second terminal Infrared receiver in Proximity Sensor is launched infrared waves and is included:
Described connection data are carried out by the infrared emission unit in the Proximity Sensor of described first terminal Described connection data are converted to pattern and connect data, to the Proximity Sensor of the second terminal by coding In infrared receiver launch carry described pattern connect data infrared waves.
Preferably, described connection data are sent to second eventually by the Proximity Sensor at described first terminal After the Proximity Sensor of end, also include:
The bluetooth equipment of described first terminal monitors the closely sensing whether receiving described second terminal The connection data of device feedback;
If receiving the connection data of the Proximity Sensor feedback of described second terminal, described first eventually The connection data of the Proximity Sensor feedback of described second terminal are registered on end, the most described first terminal Bluetooth equipment and the bluetooth equipment successful matching of described second terminal.
Preferably, described connection packet includes the address and described first of bluetooth equipment of described first terminal The general unique identifier UUID that the bluetooth equipment of terminal generates;
The connection packet of the Proximity Sensor feedback of described second terminal includes the indigo plant of described second terminal The general unique identifier UUID that the address of tooth equipment and the bluetooth equipment of described second terminal generate.
The invention also discloses the device of a kind of Bluetooth pairing, including:
Connect data reception module, for receiving the connection data of the bluetooth equipment transmission of first terminal;
Connect data transmission blocks, for described connection data are sent the closely sensing to the second terminal Device, so that described connection data are transferred to the indigo plant of the second terminal by the Proximity Sensor of described second terminal Tooth equipment, carries out the bluetooth equipment of described first terminal and the bluetooth equipment pairing of described second terminal.
Preferably, described connection data transmission blocks includes: infrared emission unit;
Described infrared emission unit, for the infrared receiver in the Proximity Sensor of the second terminal Launch infrared waves, wherein, described infrared waves carries described connection data.
Preferably, described infrared emission unit specifically for, described connection data are encoded, by institute Stating connection data to be converted to pattern and connect data, infrared in the Proximity Sensor of the second terminal connects Receive unit and launch the infrared waves carrying described pattern connection data.
Preferably, described device also includes: monitor module, whether receives described second eventually for monitoring The connection data of the Proximity Sensor feedback of end;If receiving the Proximity Sensor of described second terminal The connection data of feedback, register the Proximity Sensor feedback of described second terminal on described first terminal The bluetooth equipment of the most described first terminal of connection data and the bluetooth equipment of described second terminal be paired into Merit.
Preferably, described connection packet includes the address and described first of bluetooth equipment of described first terminal The general unique identifier UUID that the bluetooth equipment of terminal generates;
The connection packet of the Proximity Sensor feedback of described second terminal includes the indigo plant of described second terminal The general unique identifier UUID that the address of tooth equipment and the bluetooth equipment of described second terminal generate.
Compared with prior art, the invention have the advantages that
The Proximity Sensor of first terminal receives the connection data of the bluetooth equipment transmission of first terminal, and Send connecting data to the Proximity Sensor of the second terminal, so that connecting near by the second terminal of data Range sensor is transferred to the bluetooth equipment of the second terminal, carries out the bluetooth equipment and second of first terminal eventually The bluetooth equipment pairing of end.Based on infrared light principle, can only point-to-point pass between two Proximity Sensors Defeated connection data, send to one so first terminal the most just can only will connect data by Proximity Sensor The Proximity Sensor of individual second terminal, it is impossible to send connecting data to multiple second terminals closely Sensor, is also achieved that first terminal can only find second terminal, it is to avoid find multiple The situation of two terminals, thus accurately match the bluetooth equipment of the second terminal, improve bluetooth between terminal and join To accuracy.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is only some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for a kind of Bluetooth pairing that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the method for the another kind of Bluetooth pairing that the embodiment of the present invention provides;
Fig. 3 is a kind of connection data transmission architecture schematic diagram that the embodiment of the present invention provides;
Fig. 4 is the schematic flow sheet of the method for the another kind of Bluetooth pairing that the embodiment of the present invention provides;
Fig. 5 is the mutual schematic diagram of bluetooth that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the device of a kind of Bluetooth pairing that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the device of the another kind of Bluetooth pairing that the embodiment of the present invention provides.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not Should be limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to more thoroughly Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
At present, being generally integrated with Proximity Sensor in terminal (such as mobile phone), Proximity Sensor is permissible Including: infrared emission unit and infrared receiver.Wherein, the infrared LED in infrared emission unit (Light Emitting Diode, light emitting diode) can be to emission infrared light, infrared receiver The infrared light that barrier reflects can be received, and the light intensity detecting the infrared light of reflection judges in advance If whether having object to block Proximity Sensor apart from interior, thus realize distance measurement function.Such as, mobile phone is used When family receives calls or mobile phone is put into pocket, Proximity Sensor is it may determine that go out mobile phone and press close to Face or clothes, thus close the touch controllable function of screen, thus prevent from causing operation.The present invention implements Example is based on above-mentioned Proximity Sensor, it is provided that the method and apparatus of a kind of Bluetooth pairing.
Embodiment one
A kind of method embodiments providing Bluetooth pairing, it is adaptable to there is bluetooth equipment and low coverage Terminal from sensor is initiated bluetooth to other terminals with bluetooth equipment and Proximity Sensor and is connected In the case of, this Bluetooth pairing methods can be performed by Bluetooth pairing device.As it is shown in figure 1, this bluetooth The method of pairing comprises the following steps:
Step S101, the Proximity Sensor of first terminal receives the bluetooth equipment transmission of first terminal Connect data.
In this step, terminal can be the electronic equipment with network communicating function and radio communication function, Such as mobile communication terminal, PDA (Personal Digital Assistant, personal digital aid (PDA)), portable Formula computer, smart phone, online notebook, MID (Mobile Internet Device, mobile Internet Equipment), UMPC (Ultra Mobile Personal Computer, Ultra-Mobile PC), flat Plate apparatus such as computer, and this terminal are integrated with Proximity Sensor and bluetooth equipment.Bluetooth to be set up Two terminals connected can be identical equipment, and such as, first terminal can be all hands with the second terminal Machine;Can also be different equipment, such as, first terminal be mobile phone, and the second terminal is online notebook.
Step S102, the Proximity Sensor of first terminal is near by connection data transmission to the second terminal Range sensor, so that connecting data to be transferred to the indigo plant of the second terminal by the Proximity Sensor of the second terminal Tooth equipment, carries out the bluetooth equipment of first terminal and the bluetooth equipment pairing of the second terminal.
In this step, the Proximity Sensor of first terminal can send connecting data to the second terminal Proximity Sensor.The Proximity Sensor of the second terminal can receive connection data, it is possible to will Connect data and be uploaded to the bluetooth equipment of the second terminal.The bluetooth equipment of the second terminal can be according to receiving Connection data set up bluetooth with the bluetooth equipment of first terminal and be connected, and transmit file data bag.
Wherein, Proximity Sensor can include infrared emission unit and infrared receiver, then first eventually Infrared emission unit in the Proximity Sensor of end can be in the Proximity Sensor of the second terminal Infrared receiver launches infrared light, can carry connection data in infrared light.
Owing to infrared light has the characteristic of point-to-point transmission, say, that infrared emission unit sends Infrared light can only be received by an infrared receiver, it is impossible to infrared connect by two or more simultaneously Receipts unit receives, and also avoids the connection number that two or more infrared receiver receives According to, two or more bluetooth equipment also would not be had to receive connection data, do not exist and find Two bluetooth equipments born the same name.Then the bluetooth equipment of first terminal can only find the bluetooth of the second terminal and sets Standby, and set up connection therewith.
The technical scheme provided by the embodiment of the present invention, the Proximity Sensor of first terminal receives first The connection data of the bluetooth equipment transmission of terminal, and send the closely biography to the second terminal by connecting data Sensor, so that the bluetooth that connection data are transferred to the second terminal by the Proximity Sensor of the second terminal sets Standby, carry out the bluetooth equipment of first terminal and the bluetooth equipment pairing of the second terminal.Based on infrared light principle, Point-to-point transmission data can only be connected, so first terminal the most just can only lead between two Proximity Sensors Cross Proximity Sensor and send the Proximity Sensor to second terminal by connecting data, it is impossible to will even Connect data and send the Proximity Sensor to multiple second terminals, be also achieved that first terminal can only be searched To second terminal, it is to avoid find the situation of multiple second terminal such that it is able to accurately match second The bluetooth equipment of terminal improves the accuracy of Bluetooth pairing between terminal.
Embodiment two
The embodiment of the present invention provides a kind of method of preferred Bluetooth pairing, as in figure 2 it is shown, the method bag Include following steps:
Step S201, the Proximity Sensor of first terminal obtains the bluetooth equipment transmission of first terminal Connect data.
Step S202, the infrared emission unit in the Proximity Sensor of first terminal enters connecting data Connection data are converted to pattern and connect data by row coding.
In this step, Proximity Sensor can include infrared emission unit and infrared receiver, When terminal is the initiator that bluetooth connects, infrared emission unit can be started, be that bluetooth connects in terminal During recipient, equally start infrared receiver.Infrared emission unit receive connection data it After, encoding and decoding storehouse pattern can be opened, encode connecting data, connection data are converted to a yard mould Formula connects data, needs just to obtain connection through the decoding schema preset owing to pattern connects data Data, safety is higher, is attacked by third-party in transmittance process therefore, it is possible to prevent connecting data Hit and cause safety problem.
Step S203, infrared emission unit infrared receiver list in the Proximity Sensor of the second terminal Unit launches the infrared light carrying pattern connection data.
In this step, infrared emission unit infrared receiver list in the Proximity Sensor of the second terminal Unit launches carries pattern and connects the infrared light of data so that red in the Proximity Sensor of the second terminal Outer reception unit can receive the infrared light carrying pattern connection data, connects data to carrying pattern Infrared light be filtered, thus can obtain pattern connect data, it is also possible to the connection number to pattern According to being decoded, and then obtain connection data.
In the technical scheme that the embodiment of the present invention provides, by connection data are encoded, generate and compile Connection data after Ma, can improve connection data safety in short range transmission.
In embodiments of the present invention, data transmission architecture is connected as shown in Figure 3.Upper strata is bluetooth equipment Application software layer (APP to connect), service end (service) and adaptation layer.HAL is passed through on upper strata (Hardware Abstraction Layer, hardware abstraction layer) layer may be coupled to lower floor.Wherein, HAL Layer can be integrated in bluetooth equipment or Proximity Sensor, it is also possible to relative to bluetooth equipment and closely Sensor is separately provided, and is as a example by HAL layer is separately provided in the embodiment of the present invention.Lower floor includes: The driving interface I2C (Inter-Integrated Circuit, twin wire universal serial bus) of Proximity Sensor, Proximity Sensor chip (IC, integrated circuit) and infrared emission receive head LED.Wherein, Infrared emission receives head LED can be the reddest with integrated infrared emission unit and the function of infrared receiver Emission receives head LED can launch infrared light, it is also possible to sensing infrared light.
The transmission architecture provided based on Fig. 3, first, the application software of bluetooth equipment opens bluetooth connection mode Formula.Then, the service end of bluetooth equipment connects data by adaptation layer transport to Proximity Sensor HAL layer.Afterwards, in the HAL layer of Proximity Sensor, encoding and decoding storehouse pattern can be opened, will Connect data and be converted to the connection data of pattern, and by the connection data of pattern by closely sensing The driving interface of device passes to Proximity Sensor chip, and finally, Proximity Sensor chip controls is infrared Launch reception lamp to be sent by the infrared light carrying the connection data of coding mode.This transmission architecture can With seamless extension multiple transmission implementation.
Embodiment three
The embodiment of the present invention provides the method for another kind of Bluetooth pairing on the basis of above-described embodiment, as Shown in Fig. 4, the method for this Bluetooth pairing comprises the following steps:
Step S401, the Proximity Sensor of first terminal receives the bluetooth equipment transmission of first terminal Connect data.
In this step, the address MAC that data can include the bluetooth equipment of first terminal is connected (Media Access Control Address, media access control address) and the bluetooth of first terminal set The standby UUID (Universally Unique Identifier, general unique identifier) generated.
Step S402, the Proximity Sensor of first terminal is near by connection data transmission to the second terminal Range sensor.
Step S403, the bluetooth equipment of first terminal monitors the closely biography whether receiving the second terminal The connection data of sensor feedback.
In this step, if not receiving the connection data of the Proximity Sensor feedback of the second terminal, then Step S404 can be performed;If receiving the connection data of the Proximity Sensor feedback of the second terminal, Then perform the operation in step S405.
Step S404, registers the connection number of the Proximity Sensor feedback of the second terminal on first terminal According to, then the bluetooth equipment of first terminal and the bluetooth equipment successful matching of the second terminal, feed back first terminal Bluetooth equipment and the message of bluetooth equipment successful matching of the second terminal.
In this step, the connection data of the bluetooth equipment feedback of the second terminal can include the second terminal The general unique identifier UUID that the bluetooth equipment of the address of bluetooth equipment and the second terminal generates, the Register the connection data of the Proximity Sensor feedback of the second terminal in one terminal, indicate first terminal The bluetooth equipment successful matching of bluetooth equipment and the second terminal.
Step S405, feeds back Bluetooth pairing failure.
Exemplary, above-mentioned connection request is sent to the second terminal, and receives the company that the second terminal sends Connect requirement, use socket communication modes.This is because socket not only can realize first eventually Hold the process communication between the second terminal, and to the configuration requirement of first terminal and the second terminal relatively Low, it is not necessary to the configuration of upgrading terminals.
By the method for the Bluetooth pairing that the embodiment of the present invention provides, the Proximity Sensor of first terminal connects Receive the connection data of the bluetooth equipment transmission of first terminal, and near by connect that data send to the second terminal Range sensor, first terminal monitors the connection of the Proximity Sensor feedback whether receiving the second terminal Data, or receive the connection data of feedback, first terminal is registered the closely sensing of the second terminal The connection data of device feedback, then the bluetooth equipment of first terminal and the bluetooth equipment of the second terminal are paired into Merit.Thus first terminal obtains the connection data of the second terminal, can be connected to first terminal by bluetooth Send file data bag.
The mutual schematic diagram of a kind of bluetooth that Fig. 5 provides for the embodiment of the present invention.In Figure 5, first, clothes The bluetooth equipment of business end sender obtains bluetooth device address MAC the stochastic generation UUID of self, And it is transferred to the Proximity Sensor of service end sender.Then, the closely sensing of service end sender MAC and UUID is sent to client sender, the Proximity Sensor of client sender by device IR IR receives MAC and UUID and enters Bluetooth pairing pattern.Whether the bluetooth equipment of first terminal is monitored and is connect Receive the connection data of the Proximity Sensor feedback of the second terminal, if receiving the second terminal closely The connection data of sensor feedback, register the Proximity Sensor feedback of the second terminal on first terminal Connect data, the then bluetooth equipment of first terminal and the bluetooth equipment successful matching of the second terminal.Afterwards, Service end sender and client sender send mutually connection request and set up connection.Last service end sends Fang Kaiqi sends thread, and service end sending direction client sender sends file data bag, and client is sent out The side of sending receives file data bag.Wherein, need during service end sender sends file data bag Whether judgement file data bag to be transmitted reads complete, if reading complete, is then sent completely;Client End sender needs whether the file data bag judging to receive reads complete, if reading complete, has then received Become.Here, service end sender can be first terminal, and client sender can be the second terminal.
Embodiment four
Embodiments provide the device of a kind of Bluetooth pairing, the side of above-mentioned Bluetooth pairing can be performed Method, as shown in Figure 6, the device of this Bluetooth pairing includes: connects data reception module 61 and connects number According to sending module 62.
Connect data reception module 61, for receiving the connection data of the bluetooth equipment transmission of first terminal, Wherein, the bluetooth equipment of the address of bluetooth equipment and first terminal that connection packet includes first terminal generates General unique identifier UUID;Connect data transmission blocks 62, send to for data will be connected The Proximity Sensor of two terminals, so that connecting data to be transferred to the by the Proximity Sensor of the second terminal The bluetooth equipment of two terminals, carries out the bluetooth equipment of first terminal and the bluetooth equipment pairing of the second terminal.
In connecting data reception module 61, terminal can be to have network communicating function and radio communication merit Can electronic equipment, as mobile communication terminal, personal digital aid (PDA), portable computer, smart phone, Online notebook, mobile internet device, Ultra-Mobile PC, panel computer etc. equipment, And this terminal is integrated with Proximity Sensor and bluetooth equipment.Two terminals that bluetooth to be set up connects Can be identical equipment, such as, first terminal can be all mobile phone with the second terminal;Can also be not Same equipment, such as, first terminal is mobile phone, and the second terminal is online notebook.Wherein, number is connected Generate according to the address MAC of bluetooth equipment and the bluetooth equipment of first terminal that can include first terminal UUID。
In connecting data transmission blocks 62, the Proximity Sensor of first terminal can will connect data Send the Proximity Sensor to the second terminal.The Proximity Sensor of the second terminal can receive connection Data, it is possible to connection data are uploaded to the bluetooth equipment of the second terminal.The bluetooth equipment of the second terminal Bluetooth can be set up according to the connection data received with the bluetooth equipment of first terminal to be connected, and transmit literary composition Part packet.
By the device of the Bluetooth pairing that the embodiment of the present invention provides, the Proximity Sensor of first terminal connects Receive the connection data of the bluetooth equipment transmission of first terminal, and near by connect that data send to the second terminal Range sensor, so that connecting data to be transferred to the indigo plant of the second terminal by the Proximity Sensor of the second terminal Tooth equipment, carries out the bluetooth equipment of first terminal and the bluetooth equipment pairing of the second terminal.Due to closely Sensor, based on infrared light principle, point-to-point transmission can only connect data between two Proximity Sensors, Send to second terminal so first terminal the most just can only will connect data by Proximity Sensor Proximity Sensor, it is impossible to send connecting data to the Proximity Sensor of multiple second terminals, also It is achieved that first terminal can only find second terminal, it is to avoid find the feelings of multiple second terminal Condition, thus accurately match the bluetooth equipment of the second terminal and improve the accuracy of Bluetooth pairing between terminal.
Embodiment five
Embodiments provide the device of another kind of Bluetooth pairing, the dress of the Bluetooth pairing of the present embodiment The device putting the Bluetooth pairing to embodiment four has carried out further optimization, the Bluetooth pairing after optimization Device is as it is shown in fig. 7, the device of Bluetooth pairing includes: connects data reception module 71 and connects data Sending module 72 and monitoring module 73.
Connect data reception module 71, for receiving the connection data of the bluetooth equipment transmission of first terminal, Wherein, the bluetooth equipment of the address of bluetooth equipment and first terminal that connection packet includes first terminal generates General unique identifier.Connect data transmission blocks 72, for connection data are encoded, will be even Connect data and be converted to pattern connection data, the infrared receiver list in the Proximity Sensor of the second terminal Unit launches the infrared waves carrying pattern connection data.Monitor module 73, whether receive for monitoring The connection data of the Proximity Sensor feedback of described second terminal;If receiving the near of described second terminal The connection data of range sensor feedback, register described second terminal closely on described first terminal The bluetooth equipment of the most described first terminal of connection data of sensor feedback and the bluetooth of described second terminal Device pairing success.
The ground that data can include the bluetooth equipment of first terminal is connected in connecting data reception module 71 Location MAC (Media Access Control Address, media access control address) and first terminal The UUID (Universally Unique Identifier, general unique identifier) that bluetooth equipment generates.
Wherein, connect data transmission blocks 72 and include: infrared emission unit, for the second terminal Infrared receiver in Proximity Sensor launches infrared waves, carries connection data in infrared waves.
In monitoring module 73, the connection data of the bluetooth equipment feedback of the second terminal can include second The general unique identifier that the address of the bluetooth equipment of terminal and the bluetooth equipment of described second terminal generate UUID。
By the device of the Bluetooth pairing that the embodiment of the present invention provides, the Proximity Sensor of first terminal connects Receive the connection data of the bluetooth equipment transmission of first terminal, and near by connect that data send to the second terminal Range sensor, first terminal monitors the connection of the Proximity Sensor feedback whether receiving the second terminal Data, or receive the connection data of feedback, first terminal is registered the closely sensing of the second terminal The connection data of device feedback, then the bluetooth equipment of first terminal and the bluetooth equipment of the second terminal are paired into Merit.Thus first terminal obtains the connection data of the second terminal, can be connected to first terminal by bluetooth Send file data bag.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually ?.For device embodiment, due to itself and embodiment of the method basic simlarity, so the ratio described Relatively simple, relevant part sees the part of embodiment of the method and illustrates.
Method and apparatus to a kind of Bluetooth pairing provided by the present invention, is described in detail above, Principle and the embodiment of the present invention are set forth by specific case used herein, above example Explanation be only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for this area Those skilled in the art, according to the thought of the present invention, the most all have and change In place of change, in sum, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. the method for a Bluetooth pairing, it is characterised in that including:
The Proximity Sensor of first terminal receives the connection data of the bluetooth equipment transmission of first terminal;
Described connection data are sent the low coverage to the second terminal by the Proximity Sensor of described first terminal From sensor, so that described connection data are transferred to second eventually by the Proximity Sensor of described second terminal The bluetooth equipment of end, the bluetooth equipment of the bluetooth equipment and described second terminal that carry out described first terminal is joined Right.
Method the most according to claim 1, it is characterised in that described first terminal is closely Described connection data are sent the Proximity Sensor to the second terminal by sensor, including:
Infrared emission unit in the Proximity Sensor of described first terminal is to the second terminal closely Infrared receiver in sensor launches infrared waves, wherein, carries described company in described infrared waves Connect data.
Method the most according to claim 2, it is characterised in that described first terminal is closely The infrared emission unit in sensor infrared receiver in the Proximity Sensor of the second terminal is sent out Penetrate infrared waves to include:
Described connection data are carried out by the infrared emission unit in the Proximity Sensor of described first terminal Described connection data are converted to pattern and connect data, to the Proximity Sensor of the second terminal by coding In infrared receiver launch carry described pattern connect data infrared waves.
Method the most according to claim 1, it is characterised in that in the low coverage of described first terminal From sensor, described connection data are sent after the Proximity Sensor of the second terminal, also include:
The bluetooth equipment of described first terminal monitors the closely sensing whether receiving described second terminal The connection data of device feedback;
If receiving the connection data of the Proximity Sensor feedback of described second terminal, described first eventually The connection data of the Proximity Sensor feedback of described second terminal are registered on end, the most described first terminal Bluetooth equipment and the bluetooth equipment successful matching of described second terminal.
Method the most according to claim 4, it is characterised in that described connection packet includes described General unique knowledge that the address of the bluetooth equipment of first terminal and the bluetooth equipment of described first terminal generate Other code UUID;
The connection packet of the Proximity Sensor feedback of described second terminal includes the indigo plant of described second terminal The general unique identifier UUID that the address of tooth equipment and the bluetooth equipment of described second terminal generate.
6. the device of a Bluetooth pairing, it is characterised in that including:
Connect data reception module, for receiving the connection data of the bluetooth equipment transmission of first terminal;
Connect data transmission blocks, for described connection data are sent the closely sensing to the second terminal Device, so that described connection data are transferred to the indigo plant of the second terminal by the Proximity Sensor of described second terminal Tooth equipment, carries out the bluetooth equipment of described first terminal and the bluetooth equipment pairing of described second terminal.
Device the most according to claim 6, it is characterised in that described connection data transmission blocks Including: infrared emission unit;
Described infrared emission unit, for the infrared receiver in the Proximity Sensor of the second terminal Launch infrared waves, wherein, described infrared waves carries described connection data.
Device the most according to claim 7, it is characterised in that described infrared emission unit is concrete For, described connection data are encoded, described connection data are converted to pattern and connect data, Infrared receiver transmitting in the Proximity Sensor of the second terminal is carried described pattern and is connected number According to infrared waves.
Device the most according to claim 6, it is characterised in that also include: monitor module, uses In the connection data monitoring the Proximity Sensor feedback whether receiving described second terminal;If receiving The connection data of the Proximity Sensor feedback of described second terminal, on described first terminal, registration is described The bluetooth equipment of the most described first terminal of connection data of the Proximity Sensor feedback of the second terminal and institute State the bluetooth equipment successful matching of the second terminal.
Device the most according to claim 9, it is characterised in that described connection packet includes described General unique knowledge that the address of the bluetooth equipment of first terminal and the bluetooth equipment of described first terminal generate Other code UUID;
The connection packet of the Proximity Sensor feedback of described second terminal includes the indigo plant of described second terminal The general unique identifier UUID that the address of tooth equipment and the bluetooth equipment of described second terminal generate.
CN201510185899.3A 2015-04-17 2015-04-17 Bluetooth matching method and device Pending CN105992129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510185899.3A CN105992129A (en) 2015-04-17 2015-04-17 Bluetooth matching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510185899.3A CN105992129A (en) 2015-04-17 2015-04-17 Bluetooth matching method and device

Publications (1)

Publication Number Publication Date
CN105992129A true CN105992129A (en) 2016-10-05

Family

ID=57039545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510185899.3A Pending CN105992129A (en) 2015-04-17 2015-04-17 Bluetooth matching method and device

Country Status (1)

Country Link
CN (1) CN105992129A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792493A (en) * 2017-03-09 2017-05-31 北京小米移动软件有限公司 The matching method of bluetooth equipment, device and bluetooth equipment
CN107741821A (en) * 2017-09-29 2018-02-27 联想(北京)有限公司 Processing method, data processing method, processing unit and data processing equipment
US20220156353A1 (en) * 2020-11-19 2022-05-19 Jvckenwood Corporation Biometric authentication through vascular monitoring

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100279613A1 (en) * 2009-04-29 2010-11-04 Foxconn Communication Technology Corp. Method for establishing a bluetooth connection
CN103067055A (en) * 2012-12-26 2013-04-24 深圳天珑无线科技有限公司 Bluetooth connecting method and mobile terminal
CN103270707A (en) * 2010-09-07 2013-08-28 Bc卡有限公司 Method and system for bluetooth communication
CN104038263A (en) * 2014-06-18 2014-09-10 小米科技有限责任公司 Method and device for establishing Bluetooth connection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100279613A1 (en) * 2009-04-29 2010-11-04 Foxconn Communication Technology Corp. Method for establishing a bluetooth connection
CN103270707A (en) * 2010-09-07 2013-08-28 Bc卡有限公司 Method and system for bluetooth communication
CN103067055A (en) * 2012-12-26 2013-04-24 深圳天珑无线科技有限公司 Bluetooth connecting method and mobile terminal
CN104038263A (en) * 2014-06-18 2014-09-10 小米科技有限责任公司 Method and device for establishing Bluetooth connection

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792493A (en) * 2017-03-09 2017-05-31 北京小米移动软件有限公司 The matching method of bluetooth equipment, device and bluetooth equipment
CN106792493B (en) * 2017-03-09 2020-09-01 北京小米移动软件有限公司 Bluetooth device pairing method and device and Bluetooth device
CN107741821A (en) * 2017-09-29 2018-02-27 联想(北京)有限公司 Processing method, data processing method, processing unit and data processing equipment
US20220156353A1 (en) * 2020-11-19 2022-05-19 Jvckenwood Corporation Biometric authentication through vascular monitoring

Similar Documents

Publication Publication Date Title
US8775804B2 (en) Matching authentication method, device and system for wireless communication
CN106535301A (en) Method, device and system for establishing communication connection
KR101174168B1 (en) Pairing method of bluetooth device using infrared data association and mobile terminal using the same method
KR20090005520A (en) Re-connection method in peripheral interface using visible light communication
JP2014168213A (en) Terminal device and function execution apparatus
TW201409887A (en) Smart home network system and its smart gateway
JP2013251873A5 (en)
TW201526696A (en) Radio communications
WO2005101746A1 (en) Radio communication device and radio communication method
CN105992129A (en) Bluetooth matching method and device
JP2016206940A5 (en)
JP2014090413A (en) Method and apparatus for connecting to wireless local area network
US7991292B2 (en) Terminal and information relay apparatus
KR20200002742A (en) Method and apparatus for registering wireless device in wireless communication system
US8290466B2 (en) Communication system, communication device, communication terminal, and communication setting method
KR20080044375A (en) Near field communication interface control
JP2008219071A5 (en)
US9379763B2 (en) Wireless device and wireless network system
US20120238213A1 (en) Control apparatus and communication apparatus
KR102390887B1 (en) Method and apparatus for registering wireless device in wireless communication system
JP2009182419A (en) Visible light communication system
JP6466896B2 (en) Protective case
CN112655229B (en) Medical equipment automatic networking system and method for automatically connecting WLAN (wireless local area network)
EP3542598A1 (en) Commissioning device of one or more installed lighting devices
JP6715795B2 (en) Manufacturing system and method for connecting jig plate and guiding device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161005

WD01 Invention patent application deemed withdrawn after publication