CN109104717A - Bluetooth pairing methods, bluetooth equipment and bluetooth module - Google Patents

Bluetooth pairing methods, bluetooth equipment and bluetooth module Download PDF

Info

Publication number
CN109104717A
CN109104717A CN201811355394.7A CN201811355394A CN109104717A CN 109104717 A CN109104717 A CN 109104717A CN 201811355394 A CN201811355394 A CN 201811355394A CN 109104717 A CN109104717 A CN 109104717A
Authority
CN
China
Prior art keywords
bluetooth
module
user terminal
security module
pairing code
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
CN201811355394.7A
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.)
Sichuan Science And Technology Ltd By Share Ltd
Original Assignee
Sichuan Science And Technology Ltd By Share 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 Sichuan Science And Technology Ltd By Share Ltd filed Critical Sichuan Science And Technology Ltd By Share Ltd
Priority to CN201811355394.7A priority Critical patent/CN109104717A/en
Publication of CN109104717A publication Critical patent/CN109104717A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Abstract

The present invention provides a kind of Bluetooth pairing methods, bluetooth equipment and bluetooth modules, are related to field of communication technology.Bluetooth pairing methods are applied to bluetooth equipment, and bluetooth equipment includes bluetooth module and the security module with bluetooth module communication connection, this method comprises: bluetooth module receives the connection request that user terminal is sent, connection request includes the first Bluetooth pairing code;Bluetooth module sends the first safety command to security module;The second pre-stored Bluetooth pairing code is sent to bluetooth module by security module;When the first Bluetooth pairing code is matched with the second Bluetooth pairing code, bluetooth module and user terminal establish bluetooth connection.Bluetooth pairing methods, bluetooth equipment and bluetooth module provided by the invention can effectively prevent Bluetooth pairing code to be read by outside, highly-safe, avoid the occurrence of the risk of man-in-the-middle attack.

Description

Bluetooth pairing methods, bluetooth equipment and bluetooth module
Technical field
The present invention relates to fields of communication technology, in particular to a kind of Bluetooth pairing methods, bluetooth equipment and bluetooth mould Block.
Background technique
Bluetooth be a kind of currently used low-power consumption, short distance, interoperable wireless communication technique, be widely used in In the various electronics such as mobile phone, intelligent terminal.
Currently, existing bluetooth connection be mostly be directly connected between equipment or by with the indigo plant that is stored in bluetooth firmware Tooth pairing code connects after directly being verified.However, in this manner, the safety of bluetooth connection is lower, Bluetooth pairing Code is easy to be read by outside, and there are the risks of man-in-the-middle attack.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of Bluetooth pairing methods, bluetooth equipment and bluetooth mould Block, to improve the above problem.
In order to achieve the above objectives, the present invention is implemented as follows:
In a first aspect, being applied to bluetooth equipment the embodiment of the invention provides a kind of Bluetooth pairing methods, the bluetooth is set The standby security module including bluetooth module and with bluetooth module communication connection, which comprises
The bluetooth module receives the connection request that user terminal is sent, and the connection request includes the first Bluetooth pairing Code;
The bluetooth module sends the first safety command to the security module;
The second pre-stored Bluetooth pairing code is sent to the bluetooth module by the security module;
When the first Bluetooth pairing code is matched with the second Bluetooth pairing code, the bluetooth module and the user Terminal establishes bluetooth connection.
Optionally, the method also includes:
The bluetooth module sends the second safety command to the security module;
The security module binds the user terminal according to second safety command.
Second aspect, the embodiment of the invention provides another Bluetooth pairing methods, the bluetooth mould applied to bluetooth equipment Block, the bluetooth equipment include the bluetooth module and the security module with bluetooth module communication connection, the method packet It includes:
The connection request that user terminal is sent is received, the connection request includes the first Bluetooth pairing code;
The first safety command is sent to the security module to obtain the second pre-stored Bluetooth pairing of the security module Code;
When the first Bluetooth pairing code is matched with the second Bluetooth pairing code, bluetooth is established with the user terminal Connection.
Optionally, the method also includes:
The second safety command is sent to the security module so that the security module binds the user terminal.
Optionally, the method also includes:
Pairing result is sent to the user terminal.
The third aspect, the embodiment of the invention provides a kind of bluetooth equipment, the bluetooth equipment include bluetooth module and with The security module of the bluetooth module communication connection;
The bluetooth module is used to receive the connection request of user terminal transmission, and the connection request includes that the first bluetooth is matched To code;
The bluetooth module is also used to send the first safety command to the security module;
The second Bluetooth pairing code that the security module is used to be pre-stored is sent to the bluetooth module;
The bluetooth module is also used to when the first Bluetooth pairing code is matched with the second Bluetooth pairing code, with institute It states user terminal and establishes bluetooth connection.
Optionally, the bluetooth module is also used to send the second safety command to the security module;
The security module is also used to bind the user terminal according to second safety command.
Fourth aspect, the embodiment of the invention provides a kind of bluetooth modules, are applied to bluetooth equipment, the bluetooth equipment packet The bluetooth module and the security module with bluetooth module communication connection are included, the bluetooth module includes:
Receiving submodule, for receiving the connection request of user terminal transmission, the connection request includes that the first bluetooth is matched To code;
Sending submodule, it is pre-stored to obtain the security module for sending the first safety command to the security module The second Bluetooth pairing code;
Judging submodule, for judging whether the first Bluetooth pairing code matches with the second Bluetooth pairing code;
Submodule is connected, it is and described for when the first Bluetooth pairing code is matched with the second Bluetooth pairing code User terminal establishes bluetooth connection.
Optionally, the sending submodule is also used to send the second safety command so that the safety to the security module Module binds the user terminal.
Optionally, the sending submodule is also used to send pairing result to the user terminal.
For the prior art, Bluetooth pairing methods, bluetooth equipment and bluetooth module provided by the invention have with following Beneficial effect:
Bluetooth pairing methods, bluetooth equipment and bluetooth module provided by the invention can effectively prevent Bluetooth pairing code outer Portion is read, highly-safe, avoids the occurrence of the risk of man-in-the-middle attack.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the schematic diagram that the bluetooth equipment that present pre-ferred embodiments provide and user terminal interact.
Fig. 2 is the functional block diagram for the bluetooth equipment that present pre-ferred embodiments provide.
Fig. 3 is the flow chart for the Bluetooth pairing methods applied to bluetooth module that present pre-ferred embodiments provide.
Fig. 4 is the bluetooth module block diagram that present pre-ferred embodiments provide.
Fig. 5 is the flow chart for the Bluetooth pairing methods applied to bluetooth equipment that present pre-ferred embodiments provide.
Icon: 100- bluetooth equipment;110- bluetooth module;111- receiving submodule;112- sending submodule;113- judgement Submodule;114- connection submodule;120- security module;200- user terminal.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Referring to Fig. 1, being that the bluetooth equipment 100 that present pre-ferred embodiments are supplied to is interacted with user terminal 200 Schematic diagram, the user terminal 200 can find out around the bluetooth equipment 100 that can be searched, and pass through Bluetooth pairing and blue Tooth equipment 100 establishes bluetooth connection.
The user terminal 200 can be PC (personal computer, PC), tablet computer, intelligent hand Machine, personal digital assistant (personal digital assistant, PDA) etc..It is blue that the bluetooth equipment 100 can be setting PC (personal computer, PC), the tablet computer, smart phone, personal digital assistant of tooth module (personal digital assistant, PDA) etc..
Referring to Fig. 2, be the functional block diagram for the bluetooth equipment 100 that present pre-ferred embodiments are supplied to, it is described Bluetooth equipment 100 includes bluetooth module 110 and security module 120 (SE, Secure Element), the security module 120 It is a microcomputer, data safety storage, encryption and decryption operation etc. is realized by safety chip and chip operating system (COS) Function.The bluetooth module 110 and 120 integration packaging of security module are in bluetooth equipment 100, and the bluetooth module 110 It is communicated with the security module 120 using secure communication interface.The security module 120 is provided with application program, is used for Bluetooth pairing code and apparatus bound information are stored, and reads or be written data by safety command interaction.
Referring to Fig. 3, being that the bluetooth applied to bluetooth module 110 shown in Fig. 2 that present pre-ferred embodiments provide is matched To the flow chart of method.Detailed process shown in Fig. 3 will be described in detail below.
Step S101 receives the connection request that user terminal 200 is sent.
Bluetooth pairing methods provided in this embodiment are applied to the bluetooth module 110 of bluetooth equipment 100.Match carrying out bluetooth To before, bluetooth equipment 100 first opens Bluetooth function, user terminal 200 can by searching for mode find out around can be searched Bluetooth equipment 100.
After finding out bluetooth equipment 100, user can choose the bluetooth equipment 100 found out and manually in user terminal 200 It is manually entered the first Bluetooth pairing code for Bluetooth pairing.At this point, bluetooth module of the user terminal 200 to bluetooth equipment 100 110 send connection request, include the first Bluetooth pairing code in the connection request.Bluetooth module 110 receives user terminal 200 connection requests sent.
Step S102 sends the first safety command to security module 120 to obtain the second pre-stored indigo plant of security module 120 Tooth matches code.
Bluetooth module 110 receive the connection request backward security module 120 send in advance with the security module 120 assist The first good safety command of quotient.It is previously stored in the application program of security module 120 and matches for the second bluetooth of Bluetooth pairing To code, after security module 120 receives the first safety command of the transmission of bluetooth module 110, reads in its application program and deposit in advance The second Bluetooth pairing code for Bluetooth pairing of storage, and the second Bluetooth pairing code read is sent to bluetooth module 110, Bluetooth module 110 gets the second pre-stored Bluetooth pairing code of security module 120.
Step S103, judges whether the first Bluetooth pairing code matches with the second Bluetooth pairing code, if so, executing step S104;If not, executing step S106.
After bluetooth module 110 gets the second pre-stored Bluetooth pairing code of security module 120, user terminal 200 is sent out Verifying is compared with the second Bluetooth pairing code that security module 120 is sent in the first Bluetooth pairing code in the connection request sent, Judge whether the first Bluetooth pairing code and the second Bluetooth pairing code are consistent, if the first Bluetooth pairing code and the second Bluetooth pairing Code is consistent, thens follow the steps S104.If the first Bluetooth pairing code and the second Bluetooth pairing code are inconsistent, S106 is thened follow the steps.
Step S104 establishes bluetooth connection with user terminal 200.
If the first Bluetooth pairing code is consistent with the second Bluetooth pairing code, illustrate the first Bluetooth pairing code and the second bluetooth Code matching is matched, bluetooth module 110 and user terminal 200 establish bluetooth connection at this time, to complete user terminal 200 and bluetooth The connection of equipment 100 is matched.
Step S105 sends the second safety command so that 120 user bound terminal 200 of security module to security module 120.
After bluetooth module 110 and user terminal 200 establish bluetooth connection, the equipment letter of user terminal 200 can be got Breath, the facility information includes the identification information (address mac of such as user terminal 200) of user terminal 200 for identification.With This simultaneously, bluetooth module 110 also to security module 120 send one consulted in advance with the security module 120 second refer to safely Enable, to request security module 120 to bind the facility information of the user terminal 200, security module 120 receive this second The facility information of user terminal 200 is stored into its application program after safety command, to complete setting to user terminal 200 The binding of standby information, when request carries out bluetooth connection with bluetooth equipment 100 next time, bluetooth equipment 100 can be according to safe mould The facility information stored in block 120 directly establishes bluetooth connection with user terminal 200, inputs Bluetooth pairing again without user Code carries out Bluetooth pairing.
Further, after 120 user bound terminal 200 of security module, security module 120 can also be to bluetooth module 110 The feedback information of one characterization binding success of feedback, so that the feedback information is sent to user terminal 200 by bluetooth module 110, from And the user of user terminal 200 is made to know the user terminal 200 and bluetooth equipment 100 binding success.
Step S106 sends pairing result to user terminal 200.
If the first Bluetooth pairing code is matched with the second Bluetooth pairing code, and when bluetooth module 110 is built with user terminal 200 Vertical bluetooth connection, then bluetooth module 110 sends the pairing result of a characterization successful matching to user terminal 200.If first is blue Tooth matches code and the second Bluetooth pairing code mismatch, then bluetooth module 110 does not establish bluetooth connection with user terminal 200, and to User terminal 200 sends a characterization and matches unsuccessful pairing result.The user of user terminal 200 can be according to the pairing knot of feedback Fruit knows whether user terminal 200 and bluetooth equipment 100 have connected pairing and complete.
It should be noted that the sequence of step S105 and step S106 does not limit in the embodiment of the present invention.
Referring to Fig. 4, being that 110 box of bluetooth module shown in Fig. 2 that is applied to that present pre-ferred embodiments provide is illustrated Figure, the bluetooth module 110 include receiving submodule 111, sending submodule 112, judging submodule 113 and connection submodule 114。
The receiving submodule 111 is used to receive the connection request of the transmission of user terminal 200, and the connection request includes the One Bluetooth pairing code.
It should be understood that the receiving submodule 111 can be used for executing above-mentioned step S101.
Sending submodule 112 is used to send the first safety command to the security module 120 to obtain the security module 120 the second pre-stored Bluetooth pairing codes.
It should be understood that the sending submodule 112 can be used for executing above-mentioned step S102.
Judging submodule 113 is for judging whether the first Bluetooth pairing code matches with the second Bluetooth pairing code.
It should be understood that the judging submodule 113 can be used for executing above-mentioned step S103.
It connects submodule 114 to be used for when the first Bluetooth pairing code is matched with the second Bluetooth pairing code, with institute It states user terminal 200 and establishes bluetooth connection.
It should be understood that the connection submodule 114 can be used for executing above-mentioned step S104.
The sending submodule 112 is also used to send the second safety command so that the safety to the security module 120 Module 120 binds the user terminal 200.
It should be understood that the sending submodule 112 can be also used for executing above-mentioned step S105.
The sending submodule 112 is also used to send pairing result to the user terminal 200.
It should be understood that the sending submodule 112 can be also used for executing above-mentioned step S106.
Referring to Fig. 5, being that the bluetooth applied to bluetooth equipment 100 shown in Fig. 2 that present pre-ferred embodiments provide is matched To the flow chart of method.Detailed process shown in fig. 5 will be described in detail below.
Step S201, bluetooth module 110 receive the connection request that user terminal 200 is sent.
Bluetooth pairing methods provided in this embodiment are applied to bluetooth equipment 100.Before carrying out Bluetooth pairing, bluetooth is set Standby 100 first open Bluetooth function, user terminal 200 can by searching for mode find out around the bluetooth equipment 100 that can be searched.
After finding out bluetooth equipment 100, user can choose the bluetooth equipment 100 found out manually and can be in user terminal 200 are manually entered the first Bluetooth pairing code for Bluetooth pairing.At this point, bluetooth mould of the user terminal 200 to bluetooth equipment 100 Block 110 sends connection request, includes the first Bluetooth pairing code in the connection request.It is whole that bluetooth module 110 receives user The connection request that end 200 is sent.
Step S202, bluetooth module 110 send the first safety command to security module 120.
Bluetooth module 110 receive the connection request backward security module 120 send in advance with the security module 120 assist The first good safety command of quotient.
The second pre-stored Bluetooth pairing code is sent to bluetooth module 110 by step S203, security module 120.
The second Bluetooth pairing code for Bluetooth pairing, safe mould are previously stored in the application program of security module 120 After block 120 receives the first safety command of the transmission of bluetooth module 110, read pre-stored for bluetooth in its application program Second Bluetooth pairing code of pairing, and the second Bluetooth pairing code read is sent to bluetooth module 110.
Step S204, bluetooth module 110 judge whether the first Bluetooth pairing code matches with the second Bluetooth pairing code, if It is to execute step S205;If not, executing step S208.
Bluetooth module 110 gets the second pre-stored Bluetooth pairing code of security module 120, and user terminal 200 is sent out Verifying is compared with the second Bluetooth pairing code that security module 120 is sent in the first Bluetooth pairing code in the connection request sent, Judge whether the first Bluetooth pairing code and the second Bluetooth pairing code are consistent, if the first Bluetooth pairing code and the second Bluetooth pairing Code is consistent, thens follow the steps S205.If the first Bluetooth pairing code and the second Bluetooth pairing code are inconsistent, then follow the steps S208。
Step S205, bluetooth module 110 and user terminal 200 establish bluetooth connection.
If the first Bluetooth pairing code is consistent with the second Bluetooth pairing code, illustrate the first Bluetooth pairing code and the second bluetooth Code matching is matched, bluetooth module 110 and user terminal 200 establish bluetooth connection at this time, to complete user terminal 200 and bluetooth The connection of equipment 100 is matched.
Step S206, bluetooth module 110 send the second safety command to security module 120.
After bluetooth module 110 and user terminal 200 establish bluetooth connection, the equipment letter of user terminal 200 can be got Breath, the facility information includes the identification information (address mac of such as user terminal 200) of user terminal 200 for identification.With This simultaneously, bluetooth module 110 also to security module 120 send one consulted in advance with the security module 120 second refer to safely It enables, to request security module 120 to bind the facility information of the user terminal 200.
Step S207,120 user bound terminal 200 of security module.
Security module 120 receives second safety command, and the storage of the facility information of user terminal 200 is applied to it In program, so that the binding to user terminal 200 is completed, when user terminal 200 is carried out in request next time with bluetooth equipment 100 When bluetooth connection, bluetooth equipment 100 can directly be built with user terminal 200 according to the facility information stored in security module 120 Vertical bluetooth connection inputs Bluetooth pairing code again without user and carries out Bluetooth pairing.
Step S208, bluetooth module 110 send pairing result to user terminal 200.
If the first Bluetooth pairing code matches with the second Bluetooth pairing code and establishes bluetooth connection with user terminal 200, Bluetooth module 110 sends the pairing result of a characterization successful matching to user terminal 200.If the first Bluetooth pairing code and second Bluetooth pairing code mismatches, then bluetooth module 110 does not establish bluetooth connection with user terminal 200, and sends to user terminal 200 One characterization matches unsuccessful pairing result.The user of user terminal 200 can know user terminal according to the pairing result of feedback 200 complete with whether bluetooth equipment 100 has connected pairing.
It should be noted that the sequence of step S206 and step S208 does not limit in the embodiment of the present invention.
Referring to Fig. 2, being the functional block diagram for the bluetooth equipment 100 that present pre-ferred embodiments provide.Bluetooth is set Standby 100 include bluetooth module 110 and the security module 120 with the communication connection of bluetooth module 110.
The bluetooth module 110 is used to receive the connection request of the transmission of user terminal 200, and the connection request includes first Bluetooth pairing code.
It should be understood that the bluetooth module 110 can be used for executing above-mentioned step S201.
The bluetooth module 110 is also used to send the first safety command to the security module 120.
It should be understood that the bluetooth module 110 can be also used for executing above-mentioned step S202.
The second Bluetooth pairing code that the security module 120 is used to be pre-stored is sent to the bluetooth module 110.
It should be understood that the security module 120 can be used for executing above-mentioned step S203.
The bluetooth module 110 be also used to judge the first Bluetooth pairing code and the second Bluetooth pairing code whether Match.
It should be understood that the bluetooth module 110 can be also used for executing above-mentioned step S204.
The bluetooth module 110 is also used to when the first Bluetooth pairing code is matched with the second Bluetooth pairing code, Bluetooth connection is established with the user terminal 200.
It should be understood that the bluetooth module 110 can be also used for executing above-mentioned step S205.
The bluetooth module 110 is also used to send the second safety command to the security module 120.
It should be understood that the bluetooth module 110 can be also used for executing above-mentioned step S206.
The security module 120 is also used to bind the user terminal 200 according to second safety command.
It should be understood that the security module 120 can be also used for executing above-mentioned step S207.
The bluetooth module 110 is also used to send pairing result to user terminal 200.
It should be understood that the bluetooth module 110 can be also used for executing above-mentioned step S208.
In conclusion Bluetooth pairing methods provided in an embodiment of the present invention, bluetooth equipment and bluetooth module, it can be in bluetooth After module 110 receives the connection request of the transmission of user terminal 200, the first safety command is sent to read to security module 120 Pre-stored the second Bluetooth pairing code for Bluetooth pairing, matches to get the second bluetooth in security module application program It is matched to code and by the first Bluetooth pairing code in connection request with the second Bluetooth pairing code, passes through indigo plant after successful match Tooth module 110 and user terminal 200 establish bluetooth connection, to complete user terminal 200 and the connection of bluetooth equipment 100 is matched It is right.Since the second Bluetooth pairing code is stored in security module, and secure communication is used between security module and bluetooth module 110 Interface communication reads Bluetooth pairing code not directly from bluetooth module 110 during Bluetooth pairing and carries out pairing verification, i.e., Bluetooth pairing code is not easy to be read by outside, therefore effectively prevents the risk for man-in-the-middle attack occur, improves bluetooth equipment (man-in-the-middle attack is referred to as " MITM attack " Network Intrusion of a kind of " indirect ", this attack mode is by each for safety One intermediate equipment is virtually placed between two equipment of connection by kind technological means, this intermediate equipment is known as " intermediate Such as there is go-between's equipment between bluetooth equipment and will exist and eavesdrop, reset, distorting, forging security risk in people ").Meanwhile After the completion of connection pairing, bluetooth module 110 sends the second safety command to security module 120, and security module 120 is according to the second peace All referring to user bound terminal 200 is enabled, so next time when user terminal 200 requests to carry out bluetooth connection with bluetooth equipment 100, Bluetooth equipment 100 directly can establish bluetooth connection with user terminal 200 according to the facility information stored in security module 120, It inputs Bluetooth pairing code again without user and carries out Bluetooth pairing.In addition, Bluetooth pairing methods provided in an embodiment of the present invention, Bluetooth equipment and bluetooth module, which can send a characterization pairing to user terminal 200 from bluetooth module 110 after Bluetooth pairing, is No successful pairing is as a result, the user of user terminal 200 can know that user terminal 200 is set with bluetooth according to the pairing result of feedback Whether standby 100, which have connected pairing, is completed.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.It needs Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of Bluetooth pairing methods, be applied to bluetooth equipment, the bluetooth equipment include bluetooth module and with the bluetooth mould The security module of block communication connection, which is characterized in that the described method includes:
The bluetooth module receives the connection request that user terminal is sent, and the connection request includes the first Bluetooth pairing code;
The bluetooth module sends the first safety command to the security module;
The second pre-stored Bluetooth pairing code is sent to the bluetooth module by the security module;
When the first Bluetooth pairing code is matched with the second Bluetooth pairing code, the bluetooth module and the user terminal Establish bluetooth connection.
2. Bluetooth pairing methods according to claim 1, which is characterized in that the method also includes:
The bluetooth module sends the second safety command to the security module;
The security module binds the user terminal according to second safety command.
3. a kind of Bluetooth pairing methods, applied to the bluetooth module of bluetooth equipment, the bluetooth equipment includes the bluetooth module With the security module communicated to connect with the bluetooth module, which is characterized in that the described method includes:
The connection request that user terminal is sent is received, the connection request includes the first Bluetooth pairing code;
The first safety command is sent to the security module to obtain the second pre-stored Bluetooth pairing code of the security module;
When the first Bluetooth pairing code is matched with the second Bluetooth pairing code, bluetooth is established with the user terminal and is connected It connects.
4. Bluetooth pairing methods according to claim 3, which is characterized in that the method also includes:
The second safety command is sent to the security module so that the security module binds the user terminal.
5. Bluetooth pairing methods according to claim 3, which is characterized in that the method also includes:
Pairing result is sent to the user terminal.
6. a kind of bluetooth equipment, which is characterized in that the bluetooth equipment include bluetooth module and with the bluetooth module communication link The security module connect;
The bluetooth module is used to receive the connection request of user terminal transmission, and the connection request includes the first Bluetooth pairing Code;
The bluetooth module is also used to send the first safety command to the security module;
The second Bluetooth pairing code that the security module is used to be pre-stored is sent to the bluetooth module;
The bluetooth module is also used to when the first Bluetooth pairing code is matched with the second Bluetooth pairing code, with the use Family terminal establishes bluetooth connection.
7. bluetooth equipment according to claim 6, which is characterized in that the bluetooth module is also used to the security module Send the second safety command;
The security module is also used to bind the user terminal according to second safety command.
8. a kind of bluetooth module, be applied to bluetooth equipment, the bluetooth equipment include the bluetooth module and with the bluetooth mould The security module of block communication connection, which is characterized in that the bluetooth module includes:
Receiving submodule, for receiving the connection request of user terminal transmission, the connection request includes the first Bluetooth pairing code;
Sending submodule, for sending the first safety command to the security module with obtain the security module it is pre-stored the Two Bluetooth pairing codes;
Judging submodule, for judging whether the first Bluetooth pairing code matches with the second Bluetooth pairing code;
Submodule is connected, is used for when the first Bluetooth pairing code is matched with the second Bluetooth pairing code, with the user Terminal establishes bluetooth connection.
9. bluetooth module according to claim 8, which is characterized in that the sending submodule is also used to the safe mould Block sends the second safety command so that the security module binds the user terminal.
10. bluetooth module according to claim 8, which is characterized in that the sending submodule is also used to the user Terminal sends pairing result.
CN201811355394.7A 2018-11-14 2018-11-14 Bluetooth pairing methods, bluetooth equipment and bluetooth module Pending CN109104717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811355394.7A CN109104717A (en) 2018-11-14 2018-11-14 Bluetooth pairing methods, bluetooth equipment and bluetooth module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811355394.7A CN109104717A (en) 2018-11-14 2018-11-14 Bluetooth pairing methods, bluetooth equipment and bluetooth module

Publications (1)

Publication Number Publication Date
CN109104717A true CN109104717A (en) 2018-12-28

Family

ID=64870182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811355394.7A Pending CN109104717A (en) 2018-11-14 2018-11-14 Bluetooth pairing methods, bluetooth equipment and bluetooth module

Country Status (1)

Country Link
CN (1) CN109104717A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109921866A (en) * 2019-03-22 2019-06-21 广东顺德智勤科技有限公司 Exempt to match test macro, method, test equipment and wireless receiver
CN112804668A (en) * 2019-11-14 2021-05-14 诺玛有限公司 Computer readable medium recorded with bluetooth security threat detection method
CN113570841A (en) * 2021-06-07 2021-10-29 宁波奥克斯电气股份有限公司 Bluetooth pairing control method and device, Bluetooth remote controller and household appliance

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080057890A1 (en) * 2006-08-30 2008-03-06 Apple Computer, Inc. Automated pairing of wireless accessories with host devices
CN103763786A (en) * 2014-01-20 2014-04-30 梅平 Equipment pairing method, terminal and system
CN104320161A (en) * 2014-10-08 2015-01-28 上海天奕达电子科技有限公司 Method and system for rapid Bluetooth pairing
CN104378145A (en) * 2014-11-27 2015-02-25 北京深思数盾科技有限公司 Pairing method and system of Bluetooth device
CN107370645A (en) * 2017-07-18 2017-11-21 广东美的制冷设备有限公司 Intelligent bracelet, air-conditioning, Intelligent bracelet and air-conditioning binding method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080057890A1 (en) * 2006-08-30 2008-03-06 Apple Computer, Inc. Automated pairing of wireless accessories with host devices
CN103763786A (en) * 2014-01-20 2014-04-30 梅平 Equipment pairing method, terminal and system
CN104320161A (en) * 2014-10-08 2015-01-28 上海天奕达电子科技有限公司 Method and system for rapid Bluetooth pairing
CN104378145A (en) * 2014-11-27 2015-02-25 北京深思数盾科技有限公司 Pairing method and system of Bluetooth device
CN107370645A (en) * 2017-07-18 2017-11-21 广东美的制冷设备有限公司 Intelligent bracelet, air-conditioning, Intelligent bracelet and air-conditioning binding method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109921866A (en) * 2019-03-22 2019-06-21 广东顺德智勤科技有限公司 Exempt to match test macro, method, test equipment and wireless receiver
CN109921866B (en) * 2019-03-22 2021-11-09 广东顺德智勤科技有限公司 Pairing-free test system, method, test equipment and wireless receiver
CN112804668A (en) * 2019-11-14 2021-05-14 诺玛有限公司 Computer readable medium recorded with bluetooth security threat detection method
CN113570841A (en) * 2021-06-07 2021-10-29 宁波奥克斯电气股份有限公司 Bluetooth pairing control method and device, Bluetooth remote controller and household appliance

Similar Documents

Publication Publication Date Title
CN104378145B (en) The matching method and system of bluetooth equipment
CN104363250B (en) A kind of method and system for equipment connection
CN104320779B (en) Based on U/SIM cards Authentication Response and feedback near-field communication authentication method of prescribing a time limit
CN105450614B (en) A kind of server account logon method, device and system
CN103124266B (en) Mobile terminal and carry out the method, system and the cloud server that log in by it
CN103313429B (en) A kind of processing method identifying forgery WIFI hot spot
CN109104717A (en) Bluetooth pairing methods, bluetooth equipment and bluetooth module
CN109040099A (en) It is a kind of for the verification method of application, terminal and system
CN107018130A (en) A kind of identity card cloud recognizes Verification System
CN103415012A (en) Authentication method and authentication device of wireless router
CN104254073A (en) Method and device for authentication of access terminal
CN105898743B (en) A kind of method for connecting network, apparatus and system
CN104581727A (en) Equipment connecting method and device and AP (access point) end electronic equipment
CN110602676B (en) Method for preventing hardware wallet from being maliciously paired
CN105656627A (en) Identity verification method, device and system
CN105430764B (en) A kind of method and terminal connecting Wi-Fi Hotspot
CN107197462A (en) Detection method, device and the electronic equipment of wireless network type
CN204376941U (en) Outer net middleware, Intranet middleware and middleware system
US20190281053A1 (en) Method and apparatus for facilitating frictionless two-factor authentication
CN105744517A (en) Information authentication method and network side device
CN107396283A (en) A kind of router wireless connection authentication method and system
CN106856585A (en) Set up the method and device of short-distance wireless passage
CN105873180B (en) Method and apparatus for setting up wireless connection
CN106056014A (en) Identity card reading method, identity card reading system and card reader
CN107404489A (en) A kind of mobile terminal shared system and method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181228