CN105553964A - Method and apparatus for controlling Bluetooth device - Google Patents

Method and apparatus for controlling Bluetooth device Download PDF

Info

Publication number
CN105553964A
CN105553964A CN201510918511.6A CN201510918511A CN105553964A CN 105553964 A CN105553964 A CN 105553964A CN 201510918511 A CN201510918511 A CN 201510918511A CN 105553964 A CN105553964 A CN 105553964A
Authority
CN
China
Prior art keywords
user terminal
bluetooth
authentication
user
bluetooth equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510918511.6A
Other languages
Chinese (zh)
Other versions
CN105553964B (en
Inventor
谭康喜
许超
梁鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510918511.6A priority Critical patent/CN105553964B/en
Publication of CN105553964A publication Critical patent/CN105553964A/en
Application granted granted Critical
Publication of CN105553964B publication Critical patent/CN105553964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure

Abstract

The invention provides a method and apparatus for controlling a Bluetooth device. The method includes the following steps that: a Bluetooth connection request sent by a user terminal is received, wherein the user terminal is a non-default adapter device of the Bluetooth device; a Bluetooth connection is established with the user terminal according to the Bluetooth connection request; a user is prompted to input authentication information; user authentication information sent by the user terminal is received, and identity authentication is performed on the user terminal; if identity authentication is successful, Bluetooth communication is carried out with the user terminal; and if identity authentication fails, the Bluetooth connection with the user terminal is disconnected. According to the method and apparatus of the invention, identity authentication is performed on the user, so that a real user and a malicious control user can be effectively distinguished, and therefore, secure and effective control on the Bluetooth device by the non-default adapter device can be realized.

Description

Control method and the device of bluetooth equipment
Technical field
The disclosure relates to communication technical field, particularly relates to a kind of method and the device that control bluetooth equipment.
Background technology
In correlation technique, the general acquiescence adapting appts as controlling bluetooth equipment of blue Tooth remote controller, use safety and facilitating.But if the blue Tooth remote controller of bluetooth equipment breaks down or user carries after bluetooth equipment is gone out and leaves behind blue Tooth remote controller, bluetooth equipment just cannot use, and brings inconvenience to the life of user.
Summary of the invention
In view of this, the disclosure provides a kind of method and the device that control bluetooth equipment, may be manipulated to prevent bluetooth equipment by people's malice.
According to the first aspect of disclosure embodiment, provide a kind of method controlling bluetooth equipment, be applied in bluetooth equipment, described method comprises:
Receive the Bluetooth connection request that user terminal sends, described user terminal is the non-default adapting appts of described bluetooth equipment;
Set up bluetooth according to described Bluetooth connection request with described user terminal to be connected;
Prompting user input validation information;
Receive the user authentication information that user terminal sends, authentication is carried out to described user terminal;
If authentication success, carries out Bluetooth communication with described user terminal;
If authentication failure, disconnects and being connected with the bluetooth of described user terminal.
Alternatively, before described prompting user input validation information, described method also comprises:
According to the default white list of device identification coupling of the user terminal that described Bluetooth connection request comprises;
If described white list comprises the device identification of described user terminal, then carry out Bluetooth communication with described user terminal;
If do not comprise the device identification of described user terminal in described white list, then trigger Bluetooth device prompts user input validation information.
Alternatively, the method for described control bluetooth equipment also comprises:
The device identification of the user terminal by authentication is added in the white list of described bluetooth equipment.
Alternatively, the method for described control bluetooth equipment also comprises:
The number of times of a user terminal identity authentication failed in statistics a period of time;
If the number of times of described user terminal identity authentication failed meets predetermined threshold value, the device identification of described user terminal is listed in the blacklist of described bluetooth equipment.
Alternatively, the user authentication information that described reception user terminal sends, authentication is carried out to described user terminal, comprising:
Receive the user authentication information that user terminal sends;
Calculate from prompting user input validation information to the time interval received user authentication information;
The described time interval and preset time threshold value are compared;
If described interval greater than preset time threshold value, determine one's identity authentication failed;
If the described time interval is less than or equal to described preset time threshold value, then judge whether described user authentication information mates with described authorization information;
If described user authentication information is mated with described authorization information, then judge that user terminal identity is proved to be successful;
If described user authentication information is not mated with described authorization information, then judge user terminal identity authentication failed.
According to the second aspect of disclosure embodiment, provide a kind of device controlling bluetooth equipment, be arranged in bluetooth equipment, comprise:
Connection request receiver module, be configured to the Bluetooth connection request receiving user terminal transmission, described user terminal is the non-default adapting appts of described bluetooth equipment;
Bluetooth link block, is configured to set up bluetooth according to described Bluetooth connection request with described user terminal and is connected;
Information reminding module, is configured to prompting user input validation information;
Authentication module, is configured to the user authentication information receiving user terminal transmission, carries out authentication to described user terminal;
First communication module, is configured to, in the successful situation of authentication, carry out Bluetooth communication with described user terminal;
Disconnect module, be configured to when authentication failure, disconnect and being connected with the bluetooth of described user terminal.
Alternatively, the device of described control bluetooth equipment also comprises:
Matching module, the device identification coupling being configured to the user terminal comprised according to described Bluetooth connection request presets white list;
Second communication module, is configured to, when described white list comprises the device identification of described user terminal, carry out Bluetooth communication with described user terminal;
Checking trigger module, when being configured to the device identification not comprising described user terminal in described white list, trigger Bluetooth device prompts user input validation information.
Alternatively, the device of described control bluetooth equipment also comprises:
White list arranges module, is configured to the device identification of the user terminal by authentication to add in the white list of described bluetooth equipment.
Alternatively, the device of described control bluetooth equipment also comprises:
Statistical module, is configured to the number of times adding up a user terminal identity authentication failed in a period of time;
Blacklist arranges module, is configured to, when the number of times of described user terminal identity authentication failed meets predetermined threshold value, the device identification of described user terminal be listed in the blacklist of described bluetooth equipment.
Alternatively, described authentication module, comprising:
Authorization information receiving element, is configured to the user authentication information receiving user terminal transmission;
Timing unit, is configured to calculate from prompting user input validation information to the time interval received user authentication information;
Comparing unit, is configured to the described time interval and preset time threshold value to compare;
Failure determining unit, be configured to when described interval greater than preset time threshold value, determine one's identity authentication failed;
Judging unit, is configured to, when the described time interval is less than or equal to described preset time threshold value, judge whether described user authentication information mates with described authorization information;
First identifying unit, is configured to when described user authentication information is mated with described authorization information, judges that user terminal identity is proved to be successful;
Second identifying unit, is configured under described user authentication information and the unmatched situation of described authorization information, judges user terminal identity authentication failed.
According to the third aspect of disclosure embodiment, provide a kind of device controlling bluetooth equipment, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the Bluetooth connection request that user terminal sends, described user terminal is the non-default adapting appts of described bluetooth equipment;
Set up bluetooth according to described Bluetooth connection request with described user terminal to be connected;
Prompting user input validation information;
Receive the user authentication information that user terminal sends, authentication is carried out to described user terminal;
If authentication success, carries out Bluetooth communication with described user terminal;
If authentication failure, disconnects and being connected with the bluetooth of described user terminal.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In the disclosure, the method for the control bluetooth equipment that the disclosure provides, after user terminal sends Bluetooth connection request to bluetooth equipment, bluetooth equipment can be set up bluetooth with user terminal in advance and be connected.Then can, by the basis of bluetooth data transmission, ask to carry out authentication to user terminal at user terminal and bluetooth equipment.Effectively distinguish actual user by the mode of user being carried out to authentication and malice manipulates user, thus realize allowing non-default adapting appts to bluetooth equipment safe, effectively control.
In the disclosure, first the white list can preset by bluetooth equipment is mated user terminal, actual user can be confirmed as without the need to further authentication to the user terminal by white list, for mate in white list less than user terminal can authentication further, not only saved user time but also the information security of bluetooth equipment can have been guaranteed.
In the disclosure, for the user terminal by authentication, the device identification of this user terminal can be joined in the white list of bluetooth equipment.During this user terminal of the follow-up use of user manipulation bluetooth equipment, authentication link can be saved, be user-friendly to this user terminal manipulation bluetooth equipment, save user time, thus promote the Consumer's Experience of bluetooth equipment.
In the disclosure, blacklist mechanism can be enabled in bluetooth equipment, when after the Bluetooth connection request receiving user terminal, by the blacklist of the device identification of user terminal coupling bluetooth equipment, if find the device identification of user terminal in blacklist, then directly can disconnect bluetooth and connect, without the need to carrying out follow-up authentication, save system processing resources, prevent certain user from maliciously manipulating bluetooth equipment, the Consumer's Experience of lifting means more further later.
In the disclosure, when bluetooth equipment carries out authentication to user terminal, first can judge whether exceed preset time threshold value from prompting user input validation information to the time interval receiving user authentication information, if exceed, then automatically disconnect bluetooth to connect, avoid bluetooth after being in wait state for a long time and occupying system resources always, thus lifting means performance.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is a kind of flow chart that realize the method that control bluetooth equipment of the disclosure according to an exemplary embodiment;
Fig. 2 is a kind of scene schematic diagram that control the method for bluetooth equipment of the disclosure according to an exemplary embodiment;
Fig. 3 is the flow chart that the another kind of the disclosure according to an exemplary embodiment controls the method for bluetooth equipment;
Fig. 4 is the flow chart that the another kind of the disclosure according to an exemplary embodiment controls the method for bluetooth equipment;
Fig. 5 is the flow chart that the another kind of the disclosure according to an exemplary embodiment controls the method for bluetooth equipment;
Fig. 6 is the flow chart that the another kind of the disclosure according to an exemplary embodiment controls the method for bluetooth equipment;
Fig. 7 is a kind of device block diagram that control bluetooth equipment of the disclosure according to an exemplary embodiment;
Fig. 8 is the device block diagram that the another kind of the disclosure according to an exemplary embodiment controls bluetooth equipment;
Fig. 9 is the device block diagram that the another kind of the disclosure according to an exemplary embodiment controls bluetooth equipment;
Figure 10 is the device block diagram that the another kind of the disclosure according to an exemplary embodiment controls bluetooth equipment;
Figure 11 is a kind of device block diagram that control bluetooth equipment of the disclosure according to an exemplary embodiment;
Figure 12 is a kind of structural representation controlling bluetooth equipment device 1200 according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
The term used in the disclosure is only for the object describing specific embodiment, and the not intended to be limiting disclosure." one ", " described " and " being somebody's turn to do " of the singulative used in disclosure and the accompanying claims book is also intended to comprise most form, unless context clearly represents other implication.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Term first, second, third, etc. may be adopted although should be appreciated that to describe various information in the disclosure, these information should not be limited to these terms.These terms are only used for the information of same type to be distinguished from each other out.Such as, when not departing from disclosure scope, the first information also can be called as the second information, and similarly, the second information also can be called as the first information.Depend on linguistic context, word as used in this " if " can be construed as into " ... ... time " or " when ... ... time " or " in response to determining ".
SPP agreement (SerialPortProfile, serial port profile) defines and how to arrange virtual serial port and how to connect two bluetooth equipments.Namely Bluetooth Serial Port carries out transfer of data based on creating serial ports between SPP protocol realization bluetooth equipment.SPP agreement comprises safe mode and non-security mode.For safe mode, initiate SPP request one side initiate request after, whether the opposing party can point out and match, user have the right deallocation to and refusal; For non-security mode, the opposing party directly can set up Bluetooth communication with the side initiating SPP request and connect.
In correlation technique, to the control of bluetooth equipment, all adopt acquiescence adapting appts, such as blue Tooth remote controller transmits control signal and realizes controlling.If the blue Tooth remote controller of a certain bluetooth equipment breaks down or carry to pass into silence when bluetooth equipment is gone out user and carry, then bluetooth equipment just cannot use.Correlation technique provides a kind of method that Bluetooth function adopting user terminal realizes controlling bluetooth equipment, is applicable to work under SPP non-security mode, but all can realize the control to bluetooth equipment due to any user terminal, there is information security hidden danger.
Based on this, present disclose provides a kind of method controlling bluetooth equipment, realize the control to bluetooth equipment by user terminal, wherein above-mentioned user terminal is the non-default adapting appts of bluetooth equipment.
The terminal that user terminal in the disclosure can be smart mobile phone, panel computer, personal digital assistant (PersonalDigitalAssistant, PDA), wearable device etc. are provided with bluetooth communication.
As a kind of method flow diagram that control bluetooth equipment of Fig. 1 according to the disclosure one exemplary embodiment, in bluetooth equipment side, can comprise the following steps:
In a step 11, receive the Bluetooth connection request that user terminal sends, described user terminal is the non-default adapting appts of described bluetooth equipment;
In disclosure embodiment, user terminal is the side initiating Bluetooth connection request, the requested side of bluetooth equipment.
With reference to the application scenarios schematic diagram of the control bluetooth equipment of Fig. 2 according to an exemplary embodiment, above-mentioned user terminal is assumed to be the smart mobile phone 100 of a user, above-mentioned bluetooth equipment 200 can be a can based on the TVHH amusement wireless device of SPP protocol realization Bluetooth control, by can view for free network film, TV play etc. after on this equipment connection to TV 300 or display, such as millet box.
Suppose that the blue Tooth remote controller (that is, giving tacit consent to adapter) in the first input source as millet box 200 has damaged, user can only use smart mobile phone 100 pairs of millet boxes 200 to control.Smart mobile phone 100 can be installed a remote control applications program APP, after user terminal is by the authentication of bluetooth equipment, as hardware blue Tooth remote controller, to bluetooth equipment controlling functions can be had.
In step 12, set up bluetooth according to described Bluetooth connection request with described user terminal to be connected;
In the disclosed embodiments, after bluetooth equipment receives the Bluetooth connection request of user terminal transmission, based on the non-security mode of SPP agreement, automatically set up bluetooth with user terminal and be connected.Now, bluetooth equipment can and user terminal between transmit data.
In step 13, prompting user input validation information;
Be connected although user terminal and bluetooth equipment establish bluetooth, for the purpose of information security, bluetooth equipment answers the request of user terminal to set up with it after bluetooth connects, can initiatively point out user's input validation information.
In disclosure embodiment, different according to the producing method of authorization information, the mode of bluetooth equipment prompting user input validation information can comprise at least two kinds:
First kind of way, above-mentioned authorization information is that user sets in advance.Bluetooth equipment answers the request of user terminal, after tentatively setting up bluetooth connection, can trigger the instruction requiring user's input validation information.According to this instruction, by the user interface prompt user input validation information of the display interface of bluetooth equipment, the display be connected with bluetooth equipment or user terminal.
The second way, to be bluetooth equipment produce setting up after bluetooth is connected with user terminal above-mentioned authorization information.Bluetooth equipment can by the display interface of bluetooth equipment, or the video screen be connected with bluetooth equipment, computer monitor show above-mentioned authorization information.Subsequently, in the user interface of user terminal, input corresponding user authentication information after wait user sees authorization information and send to bluetooth equipment to carry out authentication.Wherein, above-mentioned authorization information can be the information of the real-time stochastic generation of bluetooth equipment, such as virtual remote controller upwards, downwards, left, to the right, the virtual key such as confirmation is one or more, or the information such as combination of numbers, monogram, as shown in Figure 2.
In another embodiment of the disclosure, the time limit of user's input validation information can also be limited while above-mentioned prompting user input validation information, such as 20s.Prompting user needs input validation information in 20s, otherwise authentication failure.
At step 14, receive the user authentication information that user terminal sends, authentication is carried out to described user terminal;
The user operation entrance that known authorization information is provided by user terminal can input by actual user, also according to the authorization information of bluetooth equipment display, can input user authentication information in the user interface of user terminal.This user authentication information is sent to bluetooth equipment after receiving the user authentication information of user's input by user terminal.
In the disclosure one embodiment, after bluetooth equipment receives user authentication information, user authentication information is mated with the authorization information of bluetooth equipment, if the match is successful, then represent authentication success, perform step 15; If it fails to match, then represent authentication failure, perform step 16.
For the user attempting malice control bluetooth equipment, can not know default authorization information in advance under normal circumstances, or can't see the authorization information of bluetooth equipment display, therefore its possibility inputting correct user authentication information by user terminal is very little.When bluetooth equipment detects that user authentication information is not mated with the authorization information of bluetooth equipment, then can determine that corresponding user terminal belongs to malice control terminal, then can disconnect the bluetooth controlling user terminal with this malice and be connected.
In another embodiment of the disclosure, control the method flow diagram of bluetooth equipment see the another kind of Fig. 3 according to an exemplary embodiment, on basis embodiment illustrated in fig. 1, step 14 can comprise:
In step 141, receive the user authentication information that user terminal sends;
In step 142, calculate from prompting user input validation information to the time interval received user authentication information;
Bluetooth equipment opens listen mode after prompting user input validation information, start a timer simultaneously, start timing, wait when receiving user authentication information, stop timing, thus record is from prompting user input validation information to the time interval t received user authentication information.
In step 143, judge whether the described time interval is greater than preset time threshold value;
Suppose that above-mentioned preset time threshold value is t 0, then step 143 is for judge whether t is greater than t 0, if so, then perform step 144, if not, then perform step 145;
In step 144, if described interval greater than preset time threshold value, determine one's identity authentication failed;
Namely once the time that user inputs user authentication information exceed preset time threshold value, whether the user authentication information no matter inputted is correct, all judges subscriber authentication failure, avoids bluetooth equipment to be in the state of intercepting always, save the resource of bluetooth equipment processor, improve equipment performance.
In step 145, if the described time interval is less than or equal to described preset time threshold value, then judge whether described user authentication information mates with authorization information; If so, step 146 is performed; If not, step 147 is performed;
In step 146, if described user authentication information is mated with authorization information, then judge that user terminal identity is proved to be successful;
In step 147, if described user authentication information is not mated with authorization information, then judge user terminal identity authentication failed.
In step 15, if authentication success, Bluetooth communication is carried out with described user terminal;
In disclosure embodiment, if the match is successful for the user authentication information that user is inputted by user terminal and the authorization information that bluetooth equipment shows, then illustrate that this user terminal is validated user terminal, allow bluetooth equipment and this validated user terminal to proceed Bluetooth data transfer.
In step 16, if authentication failure, disconnect and being connected with the bluetooth of described user terminal.
Accordingly, if it fails to match for the authorization information of the user authentication information that user is inputted by user terminal and bluetooth equipment, then illustrate that this user terminal may be malice operation control terminal, bluetooth equipment is manipulated for preventing its malice, disconnect and being connected with the bluetooth of this user terminal, no longer allow this user terminal access bluetooth equipment.
Visible, the method for the control bluetooth equipment that the disclosure provides, after user terminal sends Bluetooth connection request to bluetooth equipment, bluetooth equipment can be set up bluetooth with user terminal in advance and be connected.Then set up bluetooth connection at the two namely can, by the basis of bluetooth data transmission, to ask to carry out authentication to user terminal.By require the mode of user's input validation information can effectively distinguish actual user and malice manipulate user, thus realize non-default adapting appts to bluetooth equipment safe, effectively control.
Fig. 4 shows the another kind of method flow diagram controlling bluetooth equipment according to an exemplary embodiment, on basis embodiment illustrated in fig. 1, between step 12 and 13, can also comprise:
In step 17, the device identification coupling of the user terminal comprised according to described Bluetooth connection request presets white list;
Bluetooth connection request comprises the device identification of user terminal, and this device identification is such as the information such as the MAC Address of user terminal.Be preset with the white list allowing user's access in bluetooth equipment, still for millet box, such as, above-mentioned default white list can comprise the device identification of the user terminal of each kinsfolk.
In step 18, if described white list comprises the device identification of described user terminal, then carry out Bluetooth communication with described user terminal;
If do not comprise the device identification of described user terminal in described white list, then trigger Bluetooth equipment performs above-mentioned steps 13.
In another embodiment of the disclosure, if do not comprise the device identification of described user terminal in the default white list of bluetooth equipment, bluetooth equipment also directly can disconnect and being connected with the bluetooth of above-mentioned user terminal, and no longer perform step 13 and subsequent step, thus the user terminal of strange user is avoided to control the interference of bluetooth equipment.
Fig. 5 shows the another kind of method flow diagram controlling bluetooth equipment according to an exemplary embodiment, on basis embodiment illustrated in fig. 1, can also comprise:
In step 19, the device identification of the user terminal by authentication is added in the white list of described bluetooth equipment.
For the user terminal by authentication, the device identification of this user terminal can be joined in the white list of bluetooth equipment.During this user terminal of the follow-up use of user manipulation bluetooth equipment, authentication link can be saved, be user-friendly to this user terminal manipulation bluetooth equipment, save user time, thus promote the Consumer's Experience of bluetooth equipment.
Fig. 6 shows the another kind of method flow diagram controlling bluetooth equipment according to an exemplary embodiment, on basis embodiment illustrated in fig. 1, can also comprise:
In step 110, the number of times of a user terminal identity authentication failed in a period of time is added up;
In step 111, if described user terminal does not meet predetermined threshold value by the number of times of authentication, the device identification of described user terminal is listed in the blacklist of described bluetooth equipment.
In the disclosure one embodiment, maliciously manipulate bluetooth equipment again for preventing certain user further later, blacklist mechanism can be enabled in bluetooth equipment, specific implementation process is: the number of times of a certain user terminal identity authentication failed in statistics a period of time, the such as number of times of counting user terminal A authentication failure in a day, suppose that above-mentioned predetermined threshold value is 10 times, when the number of times of user terminal A authentication failure in a day is more than 10 times, illustrate that the holder of user terminal A can't see the authorization information of bluetooth equipment display or do not know the default authorization information of bluetooth equipment, belong to malice manipulator.Attempt malice again for preventing this user later and manipulate bluetooth equipment, the device identification of user terminal A is added in subscriber blacklist by bluetooth equipment automatically.When this user terminal asks to set up Bluetooth communication with bluetooth equipment next time again, bluetooth equipment is directly refused to set up bluetooth with it and is connected.
According to a further advantageous embodiment of the invention, when exist a certain user terminal and bluetooth equipment set up bluetooth be connected time, bluetooth equipment can eject checking frame." adding blacklist " option is had in this checking frame.If user finds that this user terminal is for maliciously connecting bluetooth equipment, user can directly by selecting " adding blacklist " option that this user terminal is drawn in blacklist.
For aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.
Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to embodiment, and involved action and module might not be that the disclosure is necessary.
Corresponding a kind of above-mentioned method controlling bluetooth equipment, the disclosure additionally provides a kind of device controlling bluetooth equipment, is arranged in bluetooth equipment.
With reference to a kind of device block diagram that control bluetooth equipment of Fig. 7 according to an exemplary embodiment, described device can comprise:
Connection request receiver module 21, be configured to the Bluetooth connection request receiving user terminal transmission, described user terminal is the non-default adapting appts of described bluetooth equipment;
Bluetooth link block 22, is configured to set up bluetooth according to described Bluetooth connection request with described user terminal and is connected;
Information reminding module 23, is configured to prompting user input validation information;
Authentication module 24, is configured to the user authentication information receiving user terminal transmission, carries out authentication to described user terminal;
First communication module 25, is configured to, in the successful situation of authentication, carry out Bluetooth communication with described user terminal;
Disconnect module 26, be configured to when authentication failure, disconnect and being connected with the bluetooth of described user terminal.
Fig. 8 shows the another kind of device block diagram controlling bluetooth equipment according to an exemplary embodiment, and on basis embodiment illustrated in fig. 7, described device can also comprise:
Matching module 27, the device identification coupling being configured to the user terminal comprised according to described Bluetooth connection request presets white list;
Second communication module 28, is configured to, when described white list comprises the device identification of described user terminal, carry out Bluetooth communication with described user terminal;
Checking trigger module 29, when being configured to the device identification not comprising described user terminal in described white list, trigger Bluetooth device prompts user input validation information.
Fig. 9 shows the another kind of device block diagram controlling bluetooth equipment according to an exemplary embodiment, and on basis embodiment illustrated in fig. 7, described device can also comprise:
White list arranges module 210, is configured to the device identification of the user terminal by authentication to add in the white list of described bluetooth equipment.
Figure 10 shows the another kind of device block diagram controlling bluetooth equipment according to an exemplary embodiment, and on basis embodiment illustrated in fig. 7, described device can also comprise:
Statistical module 211, is configured to the number of times adding up a user terminal identity authentication failed in a period of time;
Blacklist arranges module 212, is configured to, when the number of times of described user terminal identity authentication failed meets predetermined threshold value, the device identification of described user terminal be listed in the blacklist of described bluetooth equipment.
Figure 11 shows the another kind of device block diagram controlling bluetooth equipment according to an exemplary embodiment, and on basis embodiment illustrated in fig. 7, described authentication module 24 can comprise:
Authorization information receiving element 241, is configured to the user authentication information receiving user terminal transmission;
Timing unit 242, is configured to calculate from prompting user input validation information to the time interval received user authentication information;
Comparing unit 243, is configured to the described time interval and preset time threshold value to compare;
Failure determining unit 244, be configured to when described interval greater than preset time threshold value, determine one's identity authentication failed;
Judging unit 245, is configured to when the described time interval is less than or equal to described preset time threshold value, judges whether described user authentication information mates with described authorization information;
First identifying unit 246, is configured to when described user authentication information is mated with authorization information, judges that user terminal identity is proved to be successful;
Second identifying unit 247, is configured under described user authentication information and the unmatched situation of authorization information, judges user terminal identity authentication failed.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of disclosure scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Accordingly, the disclosure additionally provides a kind of bluetooth equipment, comprising: processor; For the memory of storage of processor executable instruction; Wherein, described processor is configured to:
Receive the Bluetooth connection request that user terminal sends, described user terminal is the non-default adapting appts of described bluetooth equipment;
Set up bluetooth according to described Bluetooth connection request with described user terminal to be connected;
Prompting user input validation information;
Receive the user authentication information that user terminal sends, authentication is carried out to described user terminal;
If authentication success, carries out Bluetooth communication with described user terminal;
If authentication failure, disconnects and being connected with the bluetooth of described user terminal.
As shown in figure 12, Figure 12 is a kind of structural representation controlling the device 1200 of bluetooth equipment according to an exemplary embodiment.Such as, device 1200 may be provided in a bluetooth equipment.With reference to Figure 12, device 1200 comprises communications component 1216, is configured to the communication being convenient to wireless mode between device 1200 and miscellaneous equipment.In one exemplary embodiment, communication component 1216 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technology realize.
Device 1200 comprises can also comprise processing components 1222, and it comprises one or more processor further, and the memory resource representated by memory 1232, can such as, by the instruction of the execution of processing unit 1222, application program for storing.The application program stored in memory 1232 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1222 is configured to perform instruction, to perform the method for above-mentioned control intelligent home device.
Device 1200 can also comprise the power management that a power supply module 1226 is configured to final controlling element 1200, and a wired or wireless network interface 1250 is configured to device 1200 to be connected to network, and input and output (I/O) interface 1258.Device 1200 can operate the operating system based on being stored in memory 1232, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electron component.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1232 of instruction, above-mentioned instruction can perform said method by the processing components 1222 of device 1200.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The disclosure is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
The foregoing is only preferred embodiment of the present disclosure, not in order to limit the disclosure, all within spirit of the present disclosure and principle, any amendment made, equivalent replacements, improvement etc., all should be included within scope that the disclosure protects.

Claims (11)

1. control a method for bluetooth equipment, be applied in bluetooth equipment, it is characterized in that, described method comprises:
Receive the Bluetooth connection request that user terminal sends, described user terminal is the non-default adapting appts of described bluetooth equipment;
Set up bluetooth according to described Bluetooth connection request with described user terminal to be connected;
Prompting user input validation information;
Receive the user authentication information that user terminal sends, authentication is carried out to described user terminal;
If authentication success, carries out Bluetooth communication with described user terminal;
If authentication failure, disconnects and being connected with the bluetooth of described user terminal.
2. method according to claim 1, is characterized in that, before described prompting user input validation information, described method also comprises:
According to the default white list of device identification coupling of the user terminal that described Bluetooth connection request comprises;
If described white list comprises the device identification of described user terminal, then carry out Bluetooth communication with described user terminal;
If do not comprise the device identification of described user terminal in described white list, then trigger Bluetooth device prompts user input validation information.
3. method according to claim 1, is characterized in that, described method also comprises:
The device identification of the user terminal by authentication is added in the white list of described bluetooth equipment.
4. method according to claim 1, is characterized in that, described method also comprises:
The number of times of a user terminal identity authentication failed in statistics a period of time;
If the number of times of described user terminal identity authentication failed meets predetermined threshold value, the device identification of described user terminal is listed in the blacklist of described bluetooth equipment.
5. method according to claim 1, is characterized in that, the user authentication information that described reception user terminal sends, and carries out authentication, comprising described user terminal:
Receive the user authentication information that user terminal sends;
Calculate from prompting user input validation information to the time interval received user authentication information;
The described time interval and preset time threshold value are compared;
If described interval greater than preset time threshold value, determine one's identity authentication failed;
If the described time interval is less than or equal to described preset time threshold value, then judge whether described user authentication information mates with described authorization information;
If described user authentication information is mated with described authorization information, then judge that user terminal identity is proved to be successful;
If described user authentication information is not mated with described authorization information, then judge user terminal identity authentication failed.
6. control a device for bluetooth equipment, be arranged in bluetooth equipment, it is characterized in that, described device comprises:
Connection request receiver module, be configured to the Bluetooth connection request receiving user terminal transmission, described user terminal is the non-default adapting appts of described bluetooth equipment;
Bluetooth link block, is configured to set up bluetooth according to described Bluetooth connection request with described user terminal and is connected;
Information reminding module, is configured to prompting user input validation information;
Authentication module, is configured to the user authentication information receiving user terminal transmission, carries out authentication to described user terminal;
First communication module, is configured to, in the successful situation of authentication, carry out Bluetooth communication with described user terminal;
Disconnect module, be configured to when authentication failure, disconnect and being connected with the bluetooth of described user terminal.
7. device according to claim 6, is characterized in that, described device also comprises:
Matching module, the device identification coupling being configured to the user terminal comprised according to described Bluetooth connection request presets white list;
Second communication module, is configured to, when described white list comprises the device identification of described user terminal, carry out Bluetooth communication with described user terminal;
Checking trigger module, when being configured to the device identification not comprising described user terminal in described white list, trigger Bluetooth device prompts user input validation information.
8. device according to claim 6, is characterized in that, described device also comprises:
White list arranges module, is configured to the device identification of the user terminal by authentication to add in the white list of described bluetooth equipment.
9. device according to claim 6, is characterized in that, described device also comprises:
Statistical module, is configured to the number of times adding up a user terminal identity authentication failed in a period of time;
Blacklist arranges module, is configured to, when the number of times of described user terminal identity authentication failed meets predetermined threshold value, the device identification of described user terminal be listed in the blacklist of described bluetooth equipment.
10. device according to claim 6, is characterized in that, described authentication module, comprising:
Authorization information receiving element, is configured to the user authentication information receiving user terminal transmission;
Timing unit, is configured to calculate from prompting user input validation information to the time interval received user authentication information;
Comparing unit, is configured to the described time interval and preset time threshold value to compare;
Failure determining unit, be configured to when described interval greater than preset time threshold value, determine one's identity authentication failed;
Judging unit, is configured to, when the described time interval is less than or equal to described preset time threshold value, judge whether described user authentication information mates with described authorization information;
First identifying unit, is configured to when described user authentication information is mated with described authorization information, judges that user terminal identity is proved to be successful;
Second identifying unit, is configured under described user authentication information and the unmatched situation of described authorization information, judges user terminal identity authentication failed.
11. 1 kinds of devices controlling bluetooth equipment, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the Bluetooth connection request that user terminal sends, described user terminal is the non-default adapting appts of described bluetooth equipment;
Set up bluetooth according to described Bluetooth connection request with described user terminal to be connected;
Prompting user input validation information;
Receive the user authentication information that user terminal sends, authentication is carried out to described user terminal;
If authentication success, carries out Bluetooth communication with described user terminal;
If authentication failure, disconnects and being connected with the bluetooth of described user terminal.
CN201510918511.6A 2015-12-10 2015-12-10 Control the method and device of bluetooth equipment Active CN105553964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510918511.6A CN105553964B (en) 2015-12-10 2015-12-10 Control the method and device of bluetooth equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510918511.6A CN105553964B (en) 2015-12-10 2015-12-10 Control the method and device of bluetooth equipment

Publications (2)

Publication Number Publication Date
CN105553964A true CN105553964A (en) 2016-05-04
CN105553964B CN105553964B (en) 2019-09-17

Family

ID=55832900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510918511.6A Active CN105553964B (en) 2015-12-10 2015-12-10 Control the method and device of bluetooth equipment

Country Status (1)

Country Link
CN (1) CN105553964B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108347719A (en) * 2018-02-06 2018-07-31 广东欧珀移动通信有限公司 Connection method of Bluetooth device, device, storage medium, mobile terminal and server
CN108616856A (en) * 2018-04-20 2018-10-02 上海思愚智能科技有限公司 A kind of communication means, intelligence module and the storage medium of intelligence module
CN110276191A (en) * 2019-05-06 2019-09-24 阿里巴巴集团控股有限公司 A kind of equipment configuration method, device and electronic equipment
WO2020087734A1 (en) * 2018-10-30 2020-05-07 歌尔股份有限公司 Bluetooth connection processing method and device and storage medium
CN111540083A (en) * 2020-03-23 2020-08-14 深圳威富智慧锁业科技有限公司 Unlocking method and system based on Bluetooth connection, computer equipment and storage medium
CN112188460A (en) * 2020-09-30 2021-01-05 中国银行股份有限公司 Contact information recording method and apparatus
CN113079515A (en) * 2021-03-30 2021-07-06 四川虹美智能科技有限公司 Safety binding method and system and intelligent device
WO2022021256A1 (en) * 2020-07-30 2022-02-03 华为技术有限公司 Association control method and related apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115023A (en) * 2006-07-25 2008-01-30 华为技术有限公司 Method for subscripting, amending, canceling subscription authority and desubscripting CBCS service
CN102170639A (en) * 2011-05-11 2011-08-31 华南理工大学 Authentication method of distributed wireless Ad Hoc network
CN103561073A (en) * 2013-10-25 2014-02-05 北京奇虎科技有限公司 Position information prompting method, device and system
CN103916855A (en) * 2014-04-28 2014-07-09 太仓市同维电子有限公司 Method for enabling mobile phone to be connected to WiFi network
CN104618784A (en) * 2015-02-28 2015-05-13 江苏惠通集团有限责任公司 safety authentication method, remote control method, remote control device and authentication system for network television
CN105005217A (en) * 2015-05-29 2015-10-28 广东欧珀移动通信有限公司 Control method, wireless sound box, terminal and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115023A (en) * 2006-07-25 2008-01-30 华为技术有限公司 Method for subscripting, amending, canceling subscription authority and desubscripting CBCS service
CN102170639A (en) * 2011-05-11 2011-08-31 华南理工大学 Authentication method of distributed wireless Ad Hoc network
CN103561073A (en) * 2013-10-25 2014-02-05 北京奇虎科技有限公司 Position information prompting method, device and system
CN103916855A (en) * 2014-04-28 2014-07-09 太仓市同维电子有限公司 Method for enabling mobile phone to be connected to WiFi network
CN104618784A (en) * 2015-02-28 2015-05-13 江苏惠通集团有限责任公司 safety authentication method, remote control method, remote control device and authentication system for network television
CN105005217A (en) * 2015-05-29 2015-10-28 广东欧珀移动通信有限公司 Control method, wireless sound box, terminal and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
佚名: "SERIAL PORT PROFILE", 《HTTPS://WWW.BLUETOOTH.COM/SPECIFICATIONS/PROFILES-OVERVIEW》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108347719A (en) * 2018-02-06 2018-07-31 广东欧珀移动通信有限公司 Connection method of Bluetooth device, device, storage medium, mobile terminal and server
CN108347719B (en) * 2018-02-06 2021-02-02 Oppo广东移动通信有限公司 Bluetooth device connection method, device, storage medium, mobile terminal and server
CN108616856A (en) * 2018-04-20 2018-10-02 上海思愚智能科技有限公司 A kind of communication means, intelligence module and the storage medium of intelligence module
WO2020087734A1 (en) * 2018-10-30 2020-05-07 歌尔股份有限公司 Bluetooth connection processing method and device and storage medium
CN110276191A (en) * 2019-05-06 2019-09-24 阿里巴巴集团控股有限公司 A kind of equipment configuration method, device and electronic equipment
CN111540083A (en) * 2020-03-23 2020-08-14 深圳威富智慧锁业科技有限公司 Unlocking method and system based on Bluetooth connection, computer equipment and storage medium
WO2022021256A1 (en) * 2020-07-30 2022-02-03 华为技术有限公司 Association control method and related apparatus
CN112188460A (en) * 2020-09-30 2021-01-05 中国银行股份有限公司 Contact information recording method and apparatus
CN112188460B (en) * 2020-09-30 2024-02-27 中国银行股份有限公司 Contact information recording method and device
CN113079515A (en) * 2021-03-30 2021-07-06 四川虹美智能科技有限公司 Safety binding method and system and intelligent device

Also Published As

Publication number Publication date
CN105553964B (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN105553964A (en) Method and apparatus for controlling Bluetooth device
CN106789462B (en) Intelligent household electrical appliance network access safety control method
CN104243484B (en) Information interacting method and device, electronic equipment
US10171997B2 (en) Method and apparatus for interconnection between terminal device and gateway device
CN104378145A (en) Pairing method and system of Bluetooth device
CN104580265A (en) Equipment binding method and equipment binding device
US10432476B2 (en) Method, apparatus, and system for joining node to network
US10298446B2 (en) Methods, apparatuses, and system for device management
US20190089693A1 (en) Systems and methods for authenticating internet-of-things devices
US20230411994A1 (en) Contraband detection through smart power components
CN108475504A (en) Communication device
CN104348524A (en) Binding method, center equipment and peripheral equipment
WO2019120102A1 (en) Wireless handheld electronic device, smart electronic device and pairing connection method thereof
CN108390873A (en) Authentication binding method, device and the system of smart machine
CN105281809A (en) Auxiliary bluetooth low-power-consumption equipment pairing method and system
CN104793508B (en) Screening control method, the device and system of household electrical appliance
CN105787344A (en) Slave device and method for establishing connection between same and master device
CN104883682A (en) WIFI hotspot connecting and selecting method, communication terminal and system
CN111478816A (en) Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN111212413B (en) Unlocking communication method and device and computer storage medium
US10674549B2 (en) Method and apparatus for networking unmanned aerial vehicle and system for controlling unmanned aerial vehicle
KR100559043B1 (en) Mobile home network system
CN105159168A (en) Group control method of broadcast equipment and user terminal
CN112637846B (en) Hotspot connection method and device
CN116669026B (en) Password updating method, password updating system, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant