CN105516909A - Method and system of connecting Bluetooth device base on authorization - Google Patents

Method and system of connecting Bluetooth device base on authorization Download PDF

Info

Publication number
CN105516909A
CN105516909A CN201610007064.3A CN201610007064A CN105516909A CN 105516909 A CN105516909 A CN 105516909A CN 201610007064 A CN201610007064 A CN 201610007064A CN 105516909 A CN105516909 A CN 105516909A
Authority
CN
China
Prior art keywords
mac address
bluetooth equipment
connection device
connection
authorizing
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
CN201610007064.3A
Other languages
Chinese (zh)
Inventor
曲贺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qingchuan Technology Co Ltd
Original Assignee
Beijing Qingchuan Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qingchuan Technology Co Ltd filed Critical Beijing Qingchuan Technology Co Ltd
Priority to CN201610007064.3A priority Critical patent/CN105516909A/en
Publication of CN105516909A publication Critical patent/CN105516909A/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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and system of connecting a Bluetooth device base on authorization. The method comprises the steps of: receiving a connection request, obtaining the MAC address of a connection device, and matching the MAC address of the connection device with the MAC address of a connected Bluetooth device; transferring a connection request and an authorization request to the connected Bluetooth device matching unsuccessfully, or connecting with the connection device matching successfully; and connecting with the connection device after obtaining an authorization instruction according to the authorization request, and deleting the MAC address of the connected Bluetooth device, and storing the MAC address of the connected device. According to the invention, the connected Bluetooth device sends an authorization request to the connection device sending a connection request so as to connect with the Bluetooth of the connected device, thereby simplifying the operation steps of connecting with the Bluetooth device, and improving user experiences.

Description

A kind of method and system of the connection bluetooth equipment based on authorizing
Technical field
The invention belongs to field of intelligent control, in particular to a kind of method and system of the connection bluetooth equipment based on authorizing.
Background technology
Need user to click or touch bluetooth equipment to determine pairing when existing bluetooth equipment and mobile phone pairing, user is so just caused to need to carry out manual operations, operating process is simultaneously loaded down with trivial details, the most important thing is that bluetooth equipment needs the circuit of touch modules or the button of confirmation, cause cost to increase.This mode complex operation, for a long time consuming time, it is poor to experience.Therefore a kind of method that direct transmission instruction connects object bluetooth equipment is urgently invented.
Summary of the invention
Loaded down with trivial details for solving bluetooth equipment and mobile phone pairing process operation in prior art, for a long time consuming time, experience the technological deficiency of difference, the invention provides a kind of by binding mobile phone MAC Address, by mating with the Bluetooth of mobile phone MAC Address of binding, the object of the user experience that realized simplifying the operation, improve to the mobile phone mandate that request connects by other equipment connecting bluetooth equipment.。
The invention provides a kind of method that mobile phone based on authorizing connects bluetooth equipment, comprising the steps: that receiving connection request obtains connection device MAC Address, and the MAC Address of connection device MAC Address with the bluetooth equipment be connected is mated; Forward connection request and authorization requests to the unsuccessful bluetooth equipment connected of coupling, or be connected with the connection device that the match is successful; Be connected with connection device after obtaining authorized order according to authorization requests, delete the MAC Address the MAC Address storing connection device that have connected bluetooth equipment.
Further, also comprise before being connected with connection device after obtaining authorized order
Judge whether Authorization result is authorized order, is, is connected after obtaining authorized order with connection device, delete the MAC Address the MAC Address storing connection device that have connected bluetooth equipment; Otherwise do not process.
Further, connection device MAC Address is mated with the MAC Address of the bluetooth equipment be connected before also comprise
Judge whether the MAC Address that there is the bluetooth equipment connected, be, the MAC Address of connection device MAC Address with the bluetooth equipment be connected is mated, otherwise be connected with connection device and store the MAC Address of connection device.
Further, the method for the described connection bluetooth equipment based on authorizing also comprises
Judge whether the bluetooth equipment that connected has carried out transfer of data in preset time T, is do not process, otherwise disconnect and delete and connect bluetooth equipment MAC Address.
Present invention also offers a kind of system of the connection bluetooth equipment based on authorizing, comprising receiver module, authorization module, processing module, wherein,
Receiver module, obtains connection device MAC Address for receiving connection request, and the MAC Address of connection device MAC Address with the bluetooth equipment be connected is mated;
Authorization module, for forwarding connection request and authorization requests to the unsuccessful bluetooth equipment connected of coupling, or is connected with the connection device that the match is successful;
Processing module, is connected with connection device after obtaining authorized order, deletes the MAC Address the MAC Address storing connection device that have connected bluetooth equipment.
Further, processing module also comprises
Instruction judging unit, for judging whether Authorization result is authorized order, is, is connected after obtaining authorized order with connection device, deletes the MAC Address the MAC Address storing connection device that have connected bluetooth equipment; Otherwise do not process.
Further, receiver module also comprises
Storing judging unit, for judging whether the MAC Address storing the bluetooth equipment connected, is the MAC Address of connection device MAC Address with the bluetooth equipment be connected mated, otherwise is connected with connection device and stores the MAC Address of connection device.
Further, the system of the described connection bluetooth equipment based on authorizing also comprises
Format module, for judging whether the bluetooth equipment of store M AC address has carried out transfer of data in preset time T, is do not process, otherwise disconnects and deletes this MAC Address.
To sum up, the present invention is by mating the MAC Address of connection device with the MAC Address being connected bluetooth equipment, by the mandate of the bluetooth equipment connected complete to mate with MAC Address unsuccessful connection device connection, thus simplify the operation, improve user experience.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of an embodiment of the method for the connection bluetooth equipment based on authorizing of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of the method for the connection bluetooth equipment based on authorizing of the present invention;
Fig. 3 is the schematic flow sheet of another embodiment of the method for the connection bluetooth equipment based on authorizing of the present invention;
Fig. 4 is the structural representation of the system of the connection bluetooth equipment based on authorizing of the present invention.
Embodiment
Also by reference to the accompanying drawings the present invention is described in further detail below by specific embodiment.
In order to improve the simplicity of bluetooth equipment and mobile phone matching operation, improve user experience, the invention provides a kind of method that mobile phone based on authorizing connects bluetooth equipment, directly receiving the data in mobile phone of request connection by the Bluetooth of mobile phone MAC Address of binding or being received by authorized.
As shown in Figure 1, be the schematic flow sheet of an embodiment of the method for the connection bluetooth equipment based on authorizing of the present invention.Described method comprises the steps:
S1, reception connection request obtain connection device MAC Address, and the MAC Address of connection device MAC Address with the bluetooth equipment be connected are mated.
In specific implementation process, the situation of not carrying out transfer of data after mobile phone connects bluetooth equipment may be there is.This situation occupies the channel of other mobile phones and bluetooth devices, greatly causes the wasting of resources.
S2, forward connection request and authorization requests to the unsuccessful bluetooth equipment that connected of coupling, or be connected with the connection device that the match is successful.
S3, to obtain after authorized order is connected with connection device according to authorization requests, deletion has connected the MAC Address of bluetooth equipment and has stored the MAC Address of connection device.
As shown in Figure 2, present invention also offers a kind of schematic flow sheet of another embodiment of method of the connection bluetooth equipment based on authorizing.
S11, reception connection request obtain connection device MAC Address, and the MAC Address of connection device MAC Address with the bluetooth equipment be connected are mated.
S21, forward connection request and authorization requests to the unsuccessful bluetooth equipment that connected of coupling, or be connected with the connection device that the match is successful.
S31, to obtain after authorized order is connected with connection device according to authorization requests, deletion has connected the MAC Address of bluetooth equipment and has stored the MAC Address of connection device.
S41, judge whether the bluetooth equipment that connected has carried out transfer of data in preset time T, is do not process, otherwise disconnect and delete and connect bluetooth equipment MAC Address.
Mobile phone is connected for example illustrates the present invention with bluetooth bracelet (bluetooth equipment) below.Be illustrated in figure 3 procedure Procedure figure of the present invention.
Described method comprises:
S101, reception connection request obtain connection device MAC Address.User utilizes mobile phone to send connection request to bluetooth bracelet.Bluetooth bracelet obtains the MAC Address of mobile phone after receiving connection request.
S102, judging whether the MAC Address that there is the bluetooth equipment connected, is perform step S103, otherwise performs step S104.Due to the restriction that bluetooth connects, a bluetooth equipment can only be connected with a bluetooth equipment.Therefore after bluetooth bracelet obtains the MAC Address of mobile phone, judge bluetooth bracelet whether with other equipment connections.
S103, the MAC Address of connection device MAC Address with the bluetooth equipment be connected mated, the match is successful then performs step S105, otherwise performs step S106.If bluetooth bracelet is connected with other bluetooth equipments, so the MAC Address of other equipment is mated with the MAC Address of other mobile phones, if the match is successful, then last time connect bluetooth equipment be this mobile phone, this mobile phone can directly be connected.
S104, to be connected with connection device and to store the MAC Address of connection device.If bluetooth bracelet did not connect bluetooth equipment, then bluetooth bracelet did not store the MAC Address of other bluetooth equipments, and bluetooth bracelet is directly connected with mobile phone, and memory mobile phone MAC Address.
S105, after the unsuccessful bluetooth equipment that connected of coupling forwards connection request and authorization requests, perform step S107.Mate unsuccessful, illustrate that the equipment of bluetooth bracelet last time connection is not this mobile phone.
S106, to be connected with the connection device that the match is successful.
S107, judge whether Authorization result is authorized order, is perform S108, otherwise does not process.
S108, to obtain after authorized order is connected with connection device according to authorization requests, deletion has connected the MAC Address of bluetooth equipment and has stored the MAC Address of connection device.Under the state that other equipment are connected with bluetooth bracelet, mobile phone will be connected with bluetooth bracelet, then need to disconnect the connection with other bluetooth equipments, this disconnects and independently can be determined by the user of other equipment, agree to authorize or refusal mandate, agree to authorize bluetooth automatically to disconnect, otherwise do not process.
Present invention also offers a kind of system of the connection bluetooth equipment based on authorizing.As shown in Figure 4, described system comprises receiver module 10, authorization module 20, processing module 30.
Wherein,
Receiver module 10, receives connection request and obtains connection device MAC Address, and the MAC Address of connection device MAC Address with the bluetooth equipment be connected mated;
Authorization module 20, for forwarding connection request and authorization requests to the unsuccessful bluetooth equipment connected of coupling, or is connected with the unsuccessful connection device of coupling;
Processing module 30, is connected with connection device after obtaining authorized order, deletes the MAC Address the MAC Address storing connection device that have connected bluetooth equipment.
In specific implementation process, in order to prevent the mobile phone bound not carrying out transfer of data for a long time from taking communication port, processing module also comprises
Instruction judging unit, for judging whether Authorization result is authorized order, is, is connected after obtaining authorized order with connection device, deletes the MAC Address the MAC Address storing connection device that have connected bluetooth equipment; Otherwise do not process.
Receiver module also comprises
Storing judging unit, for judging whether the MAC Address storing the bluetooth equipment connected, is the MAC Address of connection device MAC Address with the bluetooth equipment be connected mated, otherwise is connected with connection device and stores the MAC Address of connection device.
The system of the described connection bluetooth equipment based on authorizing also comprises
Format module, for judging whether the bluetooth equipment connected has carried out transfer of data in preset time T, is do not process, otherwise disconnects and deletes and connect bluetooth equipment MAC Address.
As being described for mobile phone A, mobile phone B in figure specific implementation process.Suppose that the bluetooth MAC of mobile phone A is bound, and the bluetooth MAC of mobile phone B is not bound.Prime minister's mobile phone B sends connection request to bluetooth equipment, not bound through judging the bluetooth MAC of mobile phone B, after bluetooth equipment sends refusal instruction to mobile phone B.Mobile phone B sends authorization requests to bluetooth equipment.This authorization requests is forwarded to mobile phone A by bluetooth equipment, determines whether authorize mobile phone B by mobile phone A.If mobile phone A mandate, bluetooth equipment then communicates with mobile phone B, carries out transfer of data.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1., based on a method for the connection bluetooth equipment of authorizing, it is characterized in that, comprise the steps:
Receive connection request and obtain connection device MAC Address, and the MAC Address of connection device MAC Address with the bluetooth equipment be connected is mated;
Forward connection request and authorization requests to the unsuccessful bluetooth equipment connected of coupling, or be connected with the connection device that the match is successful;
Be connected with connection device after obtaining authorized order according to authorization requests, delete the MAC Address the MAC Address storing connection device that have connected bluetooth equipment.
2. the method for the connection bluetooth equipment based on authorizing according to claim 1, is characterized in that, also comprises before being connected according to authorization requests after obtaining authorized order with connection device
Judge whether Authorization result is authorized order, is, is connected after obtaining authorized order with connection device, delete the MAC Address the MAC Address storing connection device that have connected bluetooth equipment; Otherwise do not process.
3. the method for the connection bluetooth equipment based on authorizing according to claim 1, is characterized in that, also comprise before connection device MAC Address being mated with the MAC Address of the bluetooth equipment be connected
Judge whether the MAC Address that there is the bluetooth equipment connected, be, the MAC Address of connection device MAC Address with the bluetooth equipment be connected is mated, otherwise be connected with connection device and store the MAC Address of connection device.
4. the method for the connection bluetooth equipment based on authorizing according to claim 1, is characterized in that, the method for the described connection bluetooth equipment based on authorizing also comprises
Judge whether the bluetooth equipment that connected has carried out transfer of data in preset time T, is do not process, otherwise disconnect and delete and connect bluetooth equipment MAC Address.
5., based on a system for the connection bluetooth equipment of authorizing, it is characterized in that, comprise receiver module, authorization module, processing module, wherein,
Receiver module, obtains connection device MAC Address for receiving connection request, and the MAC Address of connection device MAC Address with the bluetooth equipment be connected is mated;
Authorization module, for forwarding connection request and authorization requests to the unsuccessful bluetooth equipment connected of coupling, or is connected with the connection device that the match is successful;
Processing module, is connected with connection device after obtaining authorized order, deletes the MAC Address the MAC Address storing connection device that have connected bluetooth equipment.
6. the system of the connection bluetooth equipment based on authorizing according to claim 5, it is characterized in that, processing module also comprises
Instruction judging unit, for judging whether Authorization result is authorized order, is, is connected after obtaining authorized order with connection device, deletes the MAC Address the MAC Address storing connection device that have connected bluetooth equipment; Otherwise do not process.
7. the system of the connection bluetooth equipment based on authorizing according to claim 6, it is characterized in that, receiver module also comprises
Storing judging unit, for judging whether the MAC Address storing the bluetooth equipment connected, is the MAC Address of connection device MAC Address with the bluetooth equipment be connected mated, otherwise is connected with connection device and stores the MAC Address of connection device.
8. the system of the connection bluetooth equipment based on authorizing according to claim 5, is characterized in that, the system of the described connection bluetooth equipment based on authorizing also comprises
Format module, for judging whether the bluetooth equipment connected has carried out transfer of data in preset time T, is do not process, otherwise disconnects and deletes and connect bluetooth equipment MAC Address.
CN201610007064.3A 2015-09-30 2016-01-06 Method and system of connecting Bluetooth device base on authorization Pending CN105516909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610007064.3A CN105516909A (en) 2015-09-30 2016-01-06 Method and system of connecting Bluetooth device base on authorization

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201510642017 2015-09-30
CN2015106420171 2015-09-30
CN201610007064.3A CN105516909A (en) 2015-09-30 2016-01-06 Method and system of connecting Bluetooth device base on authorization

Publications (1)

Publication Number Publication Date
CN105516909A true CN105516909A (en) 2016-04-20

Family

ID=55724484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610007064.3A Pending CN105516909A (en) 2015-09-30 2016-01-06 Method and system of connecting Bluetooth device base on authorization

Country Status (1)

Country Link
CN (1) CN105516909A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108901010A (en) * 2018-08-01 2018-11-27 飞天诚信科技股份有限公司 A kind of bluetooth equipment and Bluetooth connecting method
CN112165706A (en) * 2020-09-27 2021-01-01 维沃移动通信(杭州)有限公司 Equipment connection management method and device and Bluetooth equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130706A (en) * 2011-03-15 2011-07-20 华为终端有限公司 Bluetooth multipath switching device and method
CN102594987A (en) * 2012-02-09 2012-07-18 深圳市中兴移动通信有限公司 Method for realizing safe and quick Bluetooth pairing connection
CN104254138A (en) * 2013-06-25 2014-12-31 深圳市易普森科技有限公司 Bluetooth queuing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130706A (en) * 2011-03-15 2011-07-20 华为终端有限公司 Bluetooth multipath switching device and method
CN102594987A (en) * 2012-02-09 2012-07-18 深圳市中兴移动通信有限公司 Method for realizing safe and quick Bluetooth pairing connection
CN104254138A (en) * 2013-06-25 2014-12-31 深圳市易普森科技有限公司 Bluetooth queuing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108901010A (en) * 2018-08-01 2018-11-27 飞天诚信科技股份有限公司 A kind of bluetooth equipment and Bluetooth connecting method
CN112165706A (en) * 2020-09-27 2021-01-01 维沃移动通信(杭州)有限公司 Equipment connection management method and device and Bluetooth equipment
CN112165706B (en) * 2020-09-27 2023-03-24 维沃移动通信(杭州)有限公司 Equipment connection management method and device and Bluetooth equipment

Similar Documents

Publication Publication Date Title
CN103037477A (en) Method, server side and client side of family media device accessing to wireless fidelity (wifi) hotspot
US9451067B2 (en) Portable terminal auxiliary device having satellite communication function
CN101409871B (en) Long-distance remote-control method, system and remote-control device
US9326114B2 (en) Transferring a voice call
WO2018184439A1 (en) Method and system for bluetooth unpairing of set-top box
US8503998B2 (en) Wireless communication terminal and wireless communication method
CN108124510B (en) Wireless pairing system and pairing method
EP2941058A1 (en) Near field communication method and device
CN104348977A (en) Operating control method for mobile terminal, master terminal and slave terminal
CN102036240A (en) Method for synchronizing mobile phone information onto personnel computer (PC), mobile phone, computer and network system
CN103442344A (en) Method and system for performing call forwarding based on NFC and Bluetooth
CN105516903A (en) Control method and system for achieving connection with multiple Bluetooth devices
CN105516909A (en) Method and system of connecting Bluetooth device base on authorization
CN114727367A (en) Wireless remote network distribution method, control center and equipment
CN102905261B (en) Contact information authentication requesting and receiving method and clients
CN104168555A (en) Communication prompting method and device
CN104125593A (en) Information processing method and electronic equipment
CN104717688A (en) Method and device for controlling wireless router
JP6246353B2 (en) Communication apparatus and communication control method
CN110366152B (en) Method and system for realizing far-field communication connection of equipment based on near-field communication identity recognition
CN104219781A (en) System and method for exchanging data between intelligent terminals
CN101384046A (en) Data calling method and system in mobile terminal system
CN101394675A (en) Call implementing method and terminal
CN204721616U (en) A kind of wireless communication apparatus and system
CN103580727A (en) Short-distance wireless data transmission method and system and mobile terminals

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20200310

AD01 Patent right deemed abandoned