CN109756878A - A kind of Bluetooth pairing methods and equipment - Google Patents
A kind of Bluetooth pairing methods and equipment Download PDFInfo
- Publication number
- CN109756878A CN109756878A CN201811599352.8A CN201811599352A CN109756878A CN 109756878 A CN109756878 A CN 109756878A CN 201811599352 A CN201811599352 A CN 201811599352A CN 109756878 A CN109756878 A CN 109756878A
- Authority
- CN
- China
- Prior art keywords
- equipment
- bluetooth pairing
- power adjustment
- request message
- response message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The present embodiments relate to information security field, a kind of Bluetooth pairing methods and equipment are disclosed.In the present invention, which includes: to send power adjustment request message to the slave equipment with power adjustment attribute;The power adjustment response message returned from equipment according to power adjustment request message is received, which is used to indicate from equipment and has adjusted output power to predetermined power value by ordinary power value, wherein predetermined power value is lower than ordinary power value;Bluetooth pairing request message is sent to from equipment according to predetermined power value;It receives after the Bluetooth pairing response message that equipment is returned according to Bluetooth pairing request message, output power is adjusted to ordinary power value.Between two equipment for carrying out Bluetooth pairing, sent according to the predetermined power value lower than ordinary power value, and/or, message is received, reduces a possibility that interactive message is intercepted and captured by other equipment, improves the safety of Bluetooth pairing, and it is easy to operate, save the cost of equipment.
Description
Technical field
The present embodiments relate to information security field, in particular to a kind of Bluetooth pairing methods and equipment.
Background technique
Currently, Bluetooth Communication Technology is in mobile phone, speaker, PAD (Pure due to the rapid development of wireless communication technique
Audio Design, tablet computer) etc. be able to popularization and application in mobile terminals.In order to guarantee the safety of Bluetooth communication, two
Bluetooth equipment needs first to complete the communication certification between them in the form of pairing, wherein pairing refers to master before communicating for the first time
Establish the process of the key for subsequent communications encryption and decryption through consultation from equipment.During the pairing of bluetooth, there are three types of mirror
Power method: non-Bluetooth transmission mode authenticates (Out Of Band, OOB), numerical value compare authentication (Man In The Middle,
MITM), operation authenticates (Just Works) at once.
At least there are the following problems in the prior art for inventor's discovery: OOB authentication mode needs volume during authentication
External equipment carrys out interactive information, although OOB authentication mode has preferable safety, its equipment cost is high, troublesome in poeration, in reality
Middle use is less;And MITM authentication mode and Just Work authentication mode only pass through bluetooth wireless channel in authentication process, but
Bluetooth wireless signal can be intercepted and captured by other reception devices outside tens of rice to hundreds of meters, and safety is very poor.
Summary of the invention
Embodiment of the present invention is designed to provide a kind of Bluetooth pairing methods and equipment, by carrying out Bluetooth pairing
Two equipment between, according to lower than ordinary power value predetermined power value send, and/or, receive message, reduce interactive disappear
Breath a possibility that being intercepted and captured by other equipment, and then improve the safety of Bluetooth pairing, and easy to operate, saved equipment at
This.
In order to solve the above technical problems, embodiments of the present invention provide a kind of Bluetooth pairing methods, set applied to master
It is standby, comprising the following steps: to send power adjustment request message to the slave equipment with power adjustment attribute;Receive from equipment according to
The power adjustment response message that power adjustment request message returns, power adjustment response message is used to indicate will output from equipment
Power is adjusted by ordinary power value to predetermined power value, wherein predetermined power value is lower than ordinary power value;According to predetermined power value
Bluetooth pairing request message is sent to from equipment;It receives and is responded from equipment according to the Bluetooth pairing that Bluetooth pairing request message returns
After message, output power is adjusted to ordinary power value.
Embodiments of the present invention additionally provide a kind of equipment, comprising: at least one processor;And at least one
The memory of processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instructs by extremely
A few processor executes, so that at least one processor is able to carry out above-mentioned Bluetooth pairing methods.
Embodiments of the present invention additionally provide a kind of Bluetooth pairing methods, are applied to specifically include following step from equipment
It is rapid: to receive the power adjustment request message that there is the main equipment of power adjustment attribute to send;It will according to power adjustment request message
Output power is adjusted by ordinary power value to predetermined power value, wherein predetermined power value is lower than ordinary power value;According to default function
Rate value sends power adjustment response message to main equipment;Receive the Bluetooth pairing request message that main equipment is sent;According to default function
Rate value sends Bluetooth pairing response message and adjusts to main equipment, and by output power to ordinary power value, wherein Bluetooth pairing is rung
Message is answered to be used to indicate with whether main equipment completes Bluetooth pairing.
Embodiments of the present invention additionally provide a kind of equipment, comprising: at least one processor;And at least one
The memory of processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instructs by extremely
A few processor executes, so that at least one processor is able to carry out above-mentioned Bluetooth pairing methods.
Embodiment of the present invention in terms of existing technologies, carry out Bluetooth pairing two equipment between, according to low
In ordinary power value predetermined power value send, and/or, receive message, reduce interactive message by other equipment intercept and capture can
Energy property, and then the safety of Bluetooth pairing is improved, and easy to operate, save the cost of equipment.
In addition, sending confirmation partner attribute request message to from equipment;It receives from equipment according to confirmation partner attribute request
The confirmation partner attribute response message that message returns confirms and carries power adjustment mark in partner attribute response message, wherein
Power adjustment mark, which is used to indicate from equipment, has power adjustment attribute.
It in which, is identified by power adjustment, to determine that from equipment, there is power adjustment attribute, low-power can be used
It sends, and/or, message is received, reduces a possibility that interactive message is intercepted and captured by other equipment, and then improve Bluetooth pairing
Safety.
In addition, receiving the power adjustment response message returned from equipment within a preset time interval.
In addition, determine with from the distance between equipment, display with from the distance between equipment.
In which, by determining and showing with from the distance between equipment, during carrying out Bluetooth pairing, prompt
User is adjusted to from the position of equipment, further increases the success rate of Bluetooth pairing.
In addition, power adjustment request message, and/or, power adjustment response message is transmitted by broadcast channel.
In which, by the transmission power adjustment request message in broadcast channel, and/or, receive power adjustment response
Message, reduces the hardware update of equipment, and then has saved the cost of equipment.
In addition, if according to Bluetooth pairing response message determine with from device pairing fail, and determine and between equipment
Distance more than the first preset threshold, then alert display with from the distance between equipment be more than the first preset threshold, prompt shortening and
From the distance between equipment.
Fail in addition, being determined according to Bluetooth pairing response message with from device authentication.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the Bluetooth pairing methods flow diagram in first embodiment according to the present invention;
Fig. 2 is the group of the Bluetooth pairing in the prior art request and response message in first embodiment according to the present invention
Cheng Tu;
Fig. 3 is the composition of modified the Bluetooth pairing request and response message in first embodiment according to the present invention
Figure;
Fig. 4 is the Bluetooth pairing methods flow diagram in second embodiment according to the present invention;
Fig. 5 is the Bluetooth pairing methods flow diagram in third embodiment according to the present invention;
Fig. 6 is the structural schematic diagram of the equipment in the 4th embodiment according to the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
It should be noted that the "and/or" for including in the following contents indicates to meet any bar in two conditions, or full simultaneously
Two conditions of foot;Or indicate in two execution steps, any one step is only executed, or be performed simultaneously two above step
Suddenly;For example, " A, and/or, B ", if A and B indicates the condition for needing to meet, expression formula expression only meets condition A, or,
Only meet condition B, or, meeting condition A and B simultaneously, amounts to three kinds of possible conditions;If A and B expression is to execute step, should
Expression formula indicates only to execute step A, or, only execute step B, or, be performed simultaneously step A and B, total three kinds possible to execute step
Suddenly.
The first embodiment of the present invention is related to a kind of Bluetooth pairing methods.Carry out Bluetooth pairing two equipment it
Between, it is sent according to the predetermined power value lower than ordinary power value, and/or, message is received, reduces interactive message by other equipment
A possibility that intercepting and capturing, and then the safety of Bluetooth pairing is improved, and easy to operate, save the cost of equipment.
The realization details of the transmission method of the image in present embodiment is specifically described below, the following contents is only
For convenience of the realization details for understanding this programme, not implement the necessary of this programme.
Fig. 1 show the flow chart of the Bluetooth pairing methods in present embodiment, and this method can be applied to progress bluetooth and match
Pair main equipment, wherein main equipment indicate first initiate pairing request equipment, it is corresponding, from equipment expression receiving this
After pairing request message, the equipment that passively makes a response.This method may include following steps.
In a step 101, power adjustment request message is sent to the slave equipment with power adjustment attribute.
Wherein, it before sending power adjustment request message to the slave equipment with power adjustment attribute, sends confirmation and matches
Attribute request messages are given to receive from equipment and are rung from equipment according to the confirmation partner attribute that confirmation partner attribute request message returns
Answer message, wherein power adjustment mark is all carried in confirmation partner attribute request message and confirmation partner attribute response message,
Power adjustment mark is carried in partner attribute response message or, only confirming, power adjustment mark is used to indicate with power
Adjust attribute.
At one in the specific implementation, power adjustment mark can be realized by changing existing Bluetooth pairing protocols.?
In existing Bluetooth pairing protocols, confirmation partner attribute request message and the composition such as Fig. 2 institute for confirming partner attribute response message
Show, wherein include 3 not used reserved bits, " reserved bit " in as Fig. 2, if will wherein one be defined as " power tune
Whole mark ", then it is modified confirmation partner attribute request message and confirm partner attribute response message composition as shown in figure 3,
When power adjustment mark is equal to power preset threshold, then it represents that there is the equipment power adjustment attribute otherwise to indicate that this sets
It is standby not have power adjustment attribute;Such as: power preset threshold is set as 1, and when power adjustment mark is equal to 1, indicating should
Equipment has power adjustment attribute, otherwise, indicates that the equipment does not have power adjustment attribute;Alternatively, can set power presets threshold
Value is 0, when power adjustment mark is equal to 0, indicates that there is the equipment power adjustment attribute otherwise to indicate that the equipment does not have
There is power adjustment attribute.
It should be noted that master and slave equipment all works in the radio band of 2.4GHz during Bluetooth pairing,
The wireless transmission has opening, and the signal that main equipment is sent may be received by neighbouring other equipment;And main equipment
Transmission power is bigger, and the range covered is wider, so that it may so that with the distance between main equipment is farther away receives this from equipment
The signal that main equipment is sent determines from equipment there is the reception main equipment hair under the mode of low-power by power adjustment mark
The message sent can reduce a possibility that signal of main equipment transmission is by neighbouring other equipment reception, and then improve bluetooth and match
Pair success rate.
In a step 102, the power adjustment response message returned from equipment according to power adjustment request message is received.
It should be noted that the power adjustment response message is used to indicate from equipment by output power by ordinary power value
It adjusts to predetermined power value, wherein predetermined power value is lower than ordinary power value.Main equipment can be used predetermined power value and send function
Rate adjustment request message is given from equipment, and/or, receive the power adjustment response message returned from equipment;Also routine can be used
Performance number sends the power adjustment request message to from equipment, and/or, receive the power adjustment response message returned from equipment.
At one in the specific implementation, different operating modes can also be selected according to user, different operating modes is corresponding
Different performance number, for example, sending power adjustment request using ordinary power value if user has selected the first operating mode
Message is given from equipment, and/or, receive the power adjustment response message returned from equipment;If user has selected the second operating mode,
Then power adjustment request message is sent to from equipment using predetermined power value, and/or, it is loud to receive the power adjustment returned from equipment
Answer message.
At one in the specific implementation, main equipment needs to receive the power adjustment returned from equipment within a preset time interval
Otherwise response message if being more than prefixed time interval, just receives the power adjustment response message returned from equipment, then leads
Equipment needs to carry out Bluetooth pairing with from equipment using ordinary power value.
It should be noted that in power adjustment request message, and/or, in power adjustment response message, carry between connection
Every according to the connection interval, it may be determined that prefixed time interval can then be set 1 second to 10 seconds for example, being divided into 1 second between setting connection
In any value as the prefixed time interval.When main equipment has been sent the time of power adjustment request message as sending
Between, using the time for receiving the power adjustment response message returned from equipment as receiving time, calculates the receiving time and be somebody's turn to do
The difference of sending time, if the difference is less than the prefixed time interval, then it represents that power adjustment has been carried out from equipment, at this time
Predetermined power value can be used and carry out Bluetooth pairing with from equipment;Otherwise, it indicates not carry out power adjustment from equipment, need at this time
Ordinary power value is used to carry out Bluetooth pairing with from equipment.
Wherein, power adjustment request message, and/or, power adjustment response message is transmitted by broadcast channel.
It should be noted that the power adjustment request message, and/or, power adjustment response message can be newly-increased wide
Broadcast message, main equipment sends power adjustment request message to from equipment by broadcast channel, according to certain time interval;It can also
In existing broadcast message, to increase power adjustment mark, for confirming from whether equipment has power adjustment attribute.
In step 103, Bluetooth pairing request message is sent to from equipment according to predetermined power value.
At one in the specific implementation, main equipment uses the predetermined power value less than ordinary power value to send Bluetooth pairing request
Message is given from equipment, can reduce a possibility that other equipment intercept and capture the Bluetooth pairing request message, so improve main equipment with
From the safety of equipment Bluetooth pairing.
At step 104, it receives after the Bluetooth pairing response message that equipment is returned according to Bluetooth pairing request message, it will
Output power is adjusted to ordinary power value.
At one in the specific implementation, the Bluetooth pairing response message received can be Bluetooth pairing success response message,
It is also possible to Bluetooth pairing failure response message;It should be noted that the Bluetooth pairing success response no matter main equipment receives
Message or Bluetooth pairing failure response message, main equipment and require from equipment by power adjustment to ordinary power value, to
It is subsequent when carrying out Bluetooth pairing again, use normal power value to carry out the transmitting-receiving of message.
In the present embodiment, between two equipment for carrying out Bluetooth pairing, according to default lower than ordinary power value
Performance number is sent, and/or, message is received, a possibility that interactive message is intercepted and captured by other equipment is reduced, and then improves bluetooth and matches
Pair safety, and it is easy to operate, saved the cost of equipment.
Second embodiment of the present invention is related to a kind of Bluetooth pairing methods.Second embodiment is big with first embodiment
Cause identical, be in place of the main distinction: with after device pairing failure, by alarm prompt and between equipment away from
From, and then improve the success rate of Bluetooth pairing next time.
Specific process flow as shown in figure 4, in the present embodiment, the transmission method of the image include step 401~
406, it is identical as step 101~104 in first embodiment because of step 401~404 in the embodiment, it is no longer superfluous herein
It states, lower mask body introduces step 405~406 in present embodiment.
In step 405, according to Bluetooth pairing response message, determine and fail with from device pairing, and determine with from equipment
The distance between more than the first preset threshold.
Wherein, it according to Bluetooth pairing response message, determines and fails with from device authentication.
At one in the specific implementation, needing first to reflect with from equipment before carrying out Bluetooth pairing between equipment
Power, main equipment send Bluetooth pairing request message to from equipment, wherein include that authentication is close in the Bluetooth pairing request message
After receiving the Bluetooth pairing request message from equipment, if calculating and confirming the authentication password mistake, it is loud to send Bluetooth pairing for code
Answer message to main equipment, main equipment confirms that main equipment fails with from device authentication according to the Bluetooth pairing response message, otherwise,
Confirm that main equipment succeeds with from device authentication.
In a step 406, alarm display be more than the first preset threshold from the distance between equipment, prompt shortening with from setting
It is the distance between standby.
Wherein, it after sending power adjustment request message to the slave equipment with power adjustment attribute, receives from equipment
Before the power adjustment response message returned according to power adjustment request message, it is thus necessary to determine that with from the distance between equipment, show
Show with from the distance between equipment.
At one in the specific implementation, according to following two formula, come estimate the main equipment for needing to carry out Bluetooth pairing with from
The distance between equipment.When needing the main equipment for carrying out Bluetooth pairing and being transmitted in unobstructed free space from equipment,
Path loss estimates formula are as follows: LOSS=32.5+20lgF+20lgD, wherein LOSS indicates bluetooth equipment in unobstructed freedom
The path loss transmitted in space, F indicate main equipment, or, used frequency (unit: MHz), D when sending message from equipment
Indicate to need to carry out the main equipment of Bluetooth pairing with from the distance between equipment (unit: kilometer);The reception power of bluetooth equipment
Calculation formula: RSSI=Pt+Gt+Gr-LOSS, wherein RSSI indicate receive power (unit: dBm);Pt indicates transmitter function
Rate (unit: dBm);Gt indicates transmitter antenna gain (unit: dBm), and Gr indicates receiver antenna gain, is actually using
In, transmitter antenna is directed toward, and/or, receiver antenna direction is random.Such as: it is big from the bluetooth receiving sensitivity of equipment
About in -80dBm to -90dBm or so, because in actual use, carrying out the main equipment of Bluetooth pairing and from the distance between equipment
By multifactor impact, such as: the difference of device orientation, if it is held by manpower, the interference of neighbouring metal, wireless router
Interference etc., estimate need by the transmission power setting of main equipment be -66dBm when, just can guarantee can receive from equipment to this
The message that main equipment is sent.According to formula RSSI=Pt+Gt+Gr-LOSS, for example, each variable-value therein is as follows:
RSSI=-66dBm, Pt=-30dBm, Gt=-5dBm, Gr=-5dBm then can be calculated the bluetooth equipment when unobstructed
Free space in the path loss transmitted are as follows: LOSS=Pt+Gt+Gr-RSSI=-30dBm-5dBm-5dBm+66dBm=-
26dBm;Further according to formula LOSS=32.5+20lgF+20lgD, wherein taking frequency F is 2400MHz, then calculates acquisition main equipment
With from the distance between equipment D be 20cm.To showing in the distance to main equipment, to prompt user adjust main equipment with from
The distance between equipment.
At one in the specific implementation, can also in main equipment, and/or, the appearance picture of the equipment is shown from equipment, and
The position of the Bluetooth antenna of the equipment is clearly marked, and then user is prompted to adjust the slave equipment matched, and/or, it is main
The position and direction of equipment closer to the position where Bluetooth antenna, and then improve and are paired into power.
At one, in the specific implementation, main equipment is according to sending, power budget goes out and at a distance between equipment, determining should be away from
From being more than the first preset threshold, then main equipment alarm is shown and from the distance between equipment more than the first preset threshold, such as:
The first preset threshold is set as 20cm, if main equipment with from the distance between equipment be greater than 20cm, main equipment alarm display " with
It is greater than 20cm from the distance between equipment, please adjusts from the position where equipment!".When user sees this alarm prompt, just
Know main equipment and from the distance between equipment be more than the first preset threshold, normal bluetooth can not be carried out between two equipment
Pairing, and then user manually adjusts from the position of equipment, so as to main equipment and match from can normally carry out bluetooth between equipment
It is right.
Third embodiment of the present invention is related to a kind of Bluetooth pairing methods.Fig. 5 show the bluetooth in present embodiment
The flow chart of matching method, this method can be applied to carry out the slave equipment of Bluetooth pairing, wherein indicate to match receiving from equipment
After request message, the equipment that passively makes a response.This method may include following steps.
In step 501, the power adjustment request message that there is the main equipment of power adjustment attribute to send is received.
In step 502, output power is adjusted by ordinary power value to predetermined power according to power adjustment request message
Value, wherein predetermined power value is lower than ordinary power value.
In step 503, power adjustment response message is sent to main equipment according to predetermined power value.
At one in the specific implementation, first power adjustment response message can also be sent to master according to ordinary power value from equipment
Then equipment again adjusts output power to predetermined power value, wherein predetermined power value is lower than ordinary power value.
In step 504, the Bluetooth pairing request message that main equipment is sent is received.
In step 505, Bluetooth pairing response message is sent to main equipment according to predetermined power value, and by output power tune
It is whole to ordinary power value.
It should be noted that the Bluetooth pairing response message is used to indicate with whether main equipment completes Bluetooth pairing.
In this embodiment, by and having the predetermined power value of output power adjustment to less than ordinary power value
The main equipment that equal-wattage adjusts attribute carries out Bluetooth pairing, reduces and is sent to what the message of main equipment was intercepted and captured by other equipment
Possibility, and then improve the safety with the Bluetooth pairing of main equipment.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent
It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed
Core design with process is all in the protection scope of the patent.
The 4th embodiment of the application provides a kind of equipment, and the equipment specific structure is as shown in Figure 6.Including at least one
Processor 601;And the memory 602 with the communication connection of at least one processor 601.Wherein, be stored with can for memory 602
The instruction executed by least one processor 601, instruction is executed by least one processor 601, so that at least one processor
601 are able to carry out Bluetooth pairing methods described in the first any embodiment into third embodiment.
It should be noted that the equipment, which can be, executes Bluetooth pairing methods described in first or second embodiment
Equipment, be also possible to execute third embodiment described in Bluetooth pairing methods equipment.
In present embodiment, for processor 601 is with central processing unit (Central Processing Unit, CPU),
For memory 602 is with readable and writable memory (Random Access Memory, RAM).Processor 601, memory 602 can be with
It is connected by bus or other modes, in Fig. 6 for being connected by bus.Memory 602 is used as a kind of non-volatile meter
Calculation machine readable storage medium storing program for executing can be used for storing non-volatile software program, non-volatile computer executable program and module,
As realized in the embodiment of the present application, the program of Bluetooth pairing methods is stored in memory 602.Processor 601 is deposited by operation
Storage non-volatile software program, instruction and module in the memory 602, thereby executing equipment various function application and
Bluetooth pairing methods described in the first any embodiment into third embodiment are realized in data processing.
Memory 602 may include storing program area and storage data area, wherein storing program area can store operation system
Application program required for system, at least one function;It storage data area can the Save option list etc..In addition, memory can wrap
High-speed random access memory is included, can also include nonvolatile memory, for example, at least disk memory, a flash memories
Part or other non-volatile solid state memory parts.In some embodiments, it includes relative to processor 601 that memory 602 is optional
Remotely located memory, these remote memories can pass through network connection to external equipment.
One or more program module stores in the memory 602, executes when by one or more processor 601
When, execute Bluetooth pairing methods described in the first any embodiment into third embodiment.
Method provided by the embodiment of the present application can be performed in the said goods, has the corresponding functional module of execution method and has
Beneficial effect, the not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present application.
The 5th embodiment of the application is related to a kind of computer readable storage medium, in the computer readable storage medium
It is stored with computer program, which can be realized when being executed by processor involved in the application any means embodiment
Data transmission channel method for building up.
It will be understood by those skilled in the art that implementing the method for the above embodiments is that can pass through
Program is completed to instruct relevant hardware, which is stored in a storage medium, including some instructions are used so that one
A equipment (can be single-chip microcontroller, chip etc.) or processor (processor) execute each embodiment the method for the application
All or part of the steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (10)
1. a kind of Bluetooth pairing methods, which is characterized in that be applied to main equipment, which comprises
Power adjustment request message is sent to the slave equipment with power adjustment attribute;
Receive the power adjustment response message returned from equipment according to the power adjustment request message, the power adjustment
Response message has been adjusted output power to predetermined power value by ordinary power value from equipment described in being used to indicate, wherein described
Predetermined power value is lower than the ordinary power value;
Bluetooth pairing request message is sent to described from equipment according to the predetermined power value;
Described in receiving after the Bluetooth pairing response message that equipment is returned according to the Bluetooth pairing request message, by the output
Power adjustment is to the ordinary power value.
2. Bluetooth pairing methods according to claim 1, which is characterized in that sending power adjustment request message to having
Before the slave equipment of power adjustment attribute, further includes:
Confirmation partner attribute request message is sent to described from equipment;
Receive the confirmation partner attribute response message returned from equipment according to the confirmation partner attribute request message;
Wherein, power adjustment is all carried in the confirmation partner attribute request message and the confirmation partner attribute response message
Mark, or, only carrying the power adjustment mark in the confirmation partner attribute response message, the power adjustment mark is used
There is power adjustment attribute in instruction.
3. Bluetooth pairing methods according to claim 2, which is characterized in that from equipment according to the power tune described in receiving
The power adjustment response message that whole request message returns, comprising:
The power adjustment response message returned from equipment is received within a preset time interval.
4. Bluetooth pairing methods according to any one of claims 1 to 3, which is characterized in that sending power adjustment request
Message is given after the slave equipment with power adjustment attribute, and reception is described to be returned from equipment according to the power adjustment request message
Power adjustment response message before, further includes:
It is determining and described from the distance between equipment, it shows and described from the distance between equipment.
5. Bluetooth pairing methods according to claim 4, which is characterized in that the power adjustment request message, and/or,
The power adjustment response message, is transmitted by broadcast channel.
6. Bluetooth pairing methods according to claim 5, which is characterized in that match described in receiving from equipment according to the bluetooth
After the Bluetooth pairing response message returned to request message, further includes:
If it is determining to fail with described from device pairing according to the Bluetooth pairing response message, and it is determining with it is described from equipment it
Between distance be more than the first preset threshold, then alert display with it is described from the distance between equipment more than the first preset threshold, mention
Show shortening with it is described from the distance between equipment.
7. Bluetooth pairing methods according to claim 6, which is characterized in that according to the Bluetooth pairing response message, really
It is fixed to fail with described from device pairing, comprising:
It is determining to fail with described from device authentication according to the Bluetooth pairing response message.
8. a kind of Bluetooth pairing methods, which is characterized in that be applied to from equipment, which comprises
Receive the power adjustment request message that there is the main equipment of power adjustment attribute to send;
Output power is adjusted by ordinary power value to predetermined power value according to the power adjustment request message, wherein described
Predetermined power value is lower than the ordinary power value;
Power adjustment response message is sent to the main equipment according to the predetermined power value;
Receive the Bluetooth pairing request message that the main equipment is sent;
According to the predetermined power value send Bluetooth pairing response message to the main equipment, and by the output power adjust to
The ordinary power value, wherein the Bluetooth pairing response message is used to indicate with whether the main equipment completes Bluetooth pairing.
9. a kind of equipment characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out the Bluetooth pairing side as described in any in claim 1 to 7
Method.
10. a kind of equipment characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out Bluetooth pairing methods as claimed in claim 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811599352.8A CN109756878A (en) | 2018-12-26 | 2018-12-26 | A kind of Bluetooth pairing methods and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811599352.8A CN109756878A (en) | 2018-12-26 | 2018-12-26 | A kind of Bluetooth pairing methods and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109756878A true CN109756878A (en) | 2019-05-14 |
Family
ID=66403991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811599352.8A Pending CN109756878A (en) | 2018-12-26 | 2018-12-26 | A kind of Bluetooth pairing methods and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109756878A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112804697A (en) * | 2021-01-04 | 2021-05-14 | 珠海格力电器股份有限公司 | Network distribution method and device for equipment to be networked, electronic equipment and computer readable medium |
CN113838275A (en) * | 2021-11-01 | 2021-12-24 | 深圳创维-Rgb电子有限公司 | Bluetooth batch pairing method, display device and readable storage medium |
CN113920709A (en) * | 2021-11-25 | 2022-01-11 | 四川长虹电器股份有限公司 | Smart television Bluetooth remote controller pairing method |
CN114666744A (en) * | 2022-03-22 | 2022-06-24 | Oppo广东移动通信有限公司 | Near field communication equipment connection method, device, equipment, storage medium and product |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103888905A (en) * | 2014-04-08 | 2014-06-25 | 江苏惠通集团有限责任公司 | Wireless device and method for pairing wireless device with control device |
US20140295761A1 (en) * | 2013-03-27 | 2014-10-02 | BBPOS Limited | System and method for secure pairing of bluetooth devices |
CN104092823A (en) * | 2014-07-09 | 2014-10-08 | 北京深思数盾科技有限公司 | Information safety device and Bluetooth pairing method |
-
2018
- 2018-12-26 CN CN201811599352.8A patent/CN109756878A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140295761A1 (en) * | 2013-03-27 | 2014-10-02 | BBPOS Limited | System and method for secure pairing of bluetooth devices |
CN103888905A (en) * | 2014-04-08 | 2014-06-25 | 江苏惠通集团有限责任公司 | Wireless device and method for pairing wireless device with control device |
CN104092823A (en) * | 2014-07-09 | 2014-10-08 | 北京深思数盾科技有限公司 | Information safety device and Bluetooth pairing method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112804697A (en) * | 2021-01-04 | 2021-05-14 | 珠海格力电器股份有限公司 | Network distribution method and device for equipment to be networked, electronic equipment and computer readable medium |
CN112804697B (en) * | 2021-01-04 | 2022-04-15 | 珠海格力电器股份有限公司 | Network distribution method and device for equipment to be networked, electronic equipment and computer readable medium |
CN113838275A (en) * | 2021-11-01 | 2021-12-24 | 深圳创维-Rgb电子有限公司 | Bluetooth batch pairing method, display device and readable storage medium |
CN113838275B (en) * | 2021-11-01 | 2022-12-02 | 深圳创维-Rgb电子有限公司 | Bluetooth batch pairing method, display device and readable storage medium |
CN113920709A (en) * | 2021-11-25 | 2022-01-11 | 四川长虹电器股份有限公司 | Smart television Bluetooth remote controller pairing method |
CN114666744A (en) * | 2022-03-22 | 2022-06-24 | Oppo广东移动通信有限公司 | Near field communication equipment connection method, device, equipment, storage medium and product |
CN114666744B (en) * | 2022-03-22 | 2024-03-01 | Oppo广东移动通信有限公司 | Method, device, equipment, storage medium and product for connecting near field communication equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108476060B (en) | Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device | |
CN109756878A (en) | A kind of Bluetooth pairing methods and equipment | |
CN109417758B (en) | Bluetooth connection method and terminal | |
EP2615869B1 (en) | Systems for facilitating wireless communication and related methods | |
US7720018B2 (en) | Low power transmission provisioning for wireless network devices | |
US20130178163A1 (en) | Systems for Facilitating Wireless Communication and Related Methods | |
CN105069875B (en) | Electron key, electronic equipment and electronic equipment networking/matching method | |
KR20200130920A (en) | Method for performing user authentication and distance measurement at the same time and electonic device therof | |
CN114040331B (en) | Remote control method and system for vehicle | |
CN104219734A (en) | Internet access method and device for internet device | |
CN113840266A (en) | Bluetooth pairing method, device, system, electronic equipment and storage medium | |
US7684785B2 (en) | Method of communication in a network | |
CN111770094B (en) | Access control method of wireless network and related device | |
CN113473291A (en) | Communication method, earphone cabin and WIFI earphone | |
US11233588B2 (en) | Devices, systems and methods for determining a proximity of a peripheral BLE device | |
CN112714009A (en) | Network distribution method, network equipment to be distributed and network equipment | |
US20060058053A1 (en) | Method for logging in a mobile terminal at an access point of a local communication network, and access point and terminal for carrying out the method | |
JP2021028583A (en) | Control device and program | |
EP2611050A1 (en) | Method and system for pairing at least two devices | |
CN102487505B (en) | Access authentication method of sensor node, apparatus thereof and system thereof | |
WO2018068580A1 (en) | Instruction method and apparatus for screen locking, and method, apparatus and system for locking screen | |
WO2022198387A1 (en) | Intelligent control method, zero-trust control device, gateway, and system | |
CN211429327U (en) | Radio frequency communication system | |
CN115471936B (en) | Bluetooth key control method and device | |
CN114268959B (en) | Communication device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190514 |
|
WD01 | Invention patent application deemed withdrawn after publication |