CN106102129A - Connect the method and device of bluetooth equipment - Google Patents
Connect the method and device of bluetooth equipment Download PDFInfo
- Publication number
- CN106102129A CN106102129A CN201610344329.9A CN201610344329A CN106102129A CN 106102129 A CN106102129 A CN 106102129A CN 201610344329 A CN201610344329 A CN 201610344329A CN 106102129 A CN106102129 A CN 106102129A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- equipment
- connection
- bluetooth equipment
- main 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 241001062009 Indigofera Species 0.000 claims description 12
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 4
- 238000012217 deletion Methods 0.000 description 3
- 230000037430 deletion Effects 0.000 description 3
- 238000012216 screening Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of method connecting bluetooth equipment, when the Bluetooth function of main equipment is opened, scan and determine the attachable bluetooth equipment of surrounding;Obtain the connection history information of described bluetooth equipment and described main equipment, and according to described history information, described bluetooth equipment is ranked up;And, according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.The invention also discloses a kind of device connecting bluetooth equipment.Present invention achieves the purpose of fast automatic connection bluetooth equipment.
Description
Technical field
The present invention relates to communication technical field, particularly relate to connect the method and device of bluetooth equipment.
Background technology
There is bluetooth module on the equipment such as current smart mobile phone, Baffle Box of Bluetooth, intelligent television, other bluetooths can be connected and set
Standby.Some bluetooth equipments have bluetooth autoconnect function, and i.e. after Bluetooth function is opened, main equipment actively sends connection request
To slave Bluetooth equipment, thus set up bluetooth and connect.But, existing bluetooth equipment can connect according to history when being certainly dynamically connected
Record sends connection request to all slave Bluetooth equipment being previously paired successively, but the equipment being most recently connected connects again
Work(is not necessarily can be connected to, when cannot still can gradually connect until set up successful connection during successful connection when connecing.Can seem, adopt
Carrying out bluetooth by this kind of method to connect and make to clamp on that to set up the bluetooth Connection Time longer, the automatic joint efficiency of bluetooth is relatively low, impact
Consumer's Experience.
Content of the invention
Present invention is primarily targeted at a kind of method and device connecting bluetooth equipment of offer, it is intended to realize fast automatic
Connect the purpose of bluetooth equipment.
For achieving the above object, a kind of method connecting bluetooth equipment that the present invention provides comprises the following steps:
When the Bluetooth function of main equipment is opened, scan and determine the attachable bluetooth equipment of surrounding;
Obtain the connection history information of described bluetooth equipment and described main equipment, and according to described history information
Described bluetooth equipment is ranked up;And
According to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.
Preferably, described history information includes: described bluetooth equipment sets up, with described main equipment, the company that bluetooth is connected
Connect that time, each time bluetooth connect connects duration, the connection number of times in Preset Time, and described method also includes:
Set up, with described main equipment the last time, the Connection Time that bluetooth is connected according to described bluetooth equipment, give described indigo plant
Tooth equipment the first weighted value, wherein, the described Connection Time is nearer, then described first weighted value is bigger;
The connection duration being connected with described main equipment bluetooth according to bluetooth equipment described in Preset Time and connection number of times, compose
Giving described bluetooth equipment the second weighted value, wherein, described connection duration is longer, and described connection number of times is more, then described second power
Weight values is bigger;And
According to described first weighted value and described second weighted value, described bluetooth equipment is ranked up.
Preferably, described method also includes:
Obtain described bluetooth equipment information according to described sequence, and it is acceptable described to judge whether described bluetooth equipment is
The Bluetooth connection request of main equipment the bluetooth equipment setting up bluetooth connection therewith;And
If so, then according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.
Preferably, if described bluetooth equipment is not to be the Bluetooth connection request of acceptable described main equipment and set with this master
The standby bluetooth equipment setting up bluetooth connection, then from described sequence, deletion cannot accept the Bluetooth connection request of described main equipment simultaneously
Set up the bluetooth equipment that bluetooth is connected with this main equipment.
Preferably, described method also includes:
After described main equipment is certainly dynamically connected described bluetooth equipment by described sequence, bluetooth equipment described in real time record and institute
Stating bluetooth link information between main equipment, and preserving to described history information, wherein, described bluetooth link information includes:
The connection number of times that Connection Time, the connection duration of described bluetooth connection and the described bluetooth that described bluetooth connects connects.
Additionally, for achieving the above object, the present invention also provides a kind of device connecting bluetooth equipment, and described connection bluetooth sets
Standby device includes:
Scan module, for when the Bluetooth function of main equipment is opened, scans and determines that the attachable bluetooth of surrounding sets
Standby;
Order module, is used for obtaining the connection history information of described bluetooth equipment and described main equipment, and according to institute
State history information to be ranked up described bluetooth equipment;And
Control module, for according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.
Preferably, described history information includes: described bluetooth equipment sets up, with described main equipment, the company that bluetooth is connected
Connect that time, each time bluetooth connect connects duration, the connection number of times in Preset Time, and described order module includes:
First assignment unit, for setting up, with described main equipment the last time, the company that bluetooth is connected according to described bluetooth equipment
Connecing the time, giving described bluetooth equipment the first weighted value, wherein, the described Connection Time is nearer, then described first weighted value is bigger;
Second assignment unit, for the connection being connected with described main equipment bluetooth according to bluetooth equipment described in Preset Time
Duration and connection number of times, give described bluetooth equipment the second weighted value, and wherein, described connection duration is longer, described connection number of times
More, then described second weighted value is bigger;And
Sequencing unit, for according to described first weighted value and described second weighted value, arranges to described bluetooth equipment
Sequence.
Preferably, described control module includes:
Judging unit, is used for obtaining described bluetooth equipment information according to described sequence, and whether judges described bluetooth equipment
It is the Bluetooth connection request of acceptable described main equipment and set up the bluetooth equipment that bluetooth connects therewith;And
Control unit, can receive the Bluetooth connection request of described main equipment if being for described bluetooth equipment and build therewith
The bluetooth equipment that vertical bluetooth connects, then according to the described main equipment of described sequence control from being dynamically connected described bluetooth equipment.
Preferably, described control module also includes:
Delete unit, if for described bluetooth equipment be not be acceptable described main equipment Bluetooth connection request and with
This main equipment sets up the bluetooth equipment that bluetooth connects, then delete the bluetooth connection that cannot accept described main equipment from described sequence
Request simultaneously sets up, with this main equipment, the bluetooth equipment that bluetooth is connected.
Preferably, described device also includes:
Preserve module, for sorting at described main equipment after the described bluetooth equipment that is dynamically connected by described, real time record institute
State bluetooth link information between bluetooth equipment and described main equipment, and preserve to described history information, wherein, described bluetooth
Link information includes: Connection Time, the connection duration of described bluetooth connection and the described bluetooth that described bluetooth connects connects
Connect number of times.
The embodiment of the present invention, when the Bluetooth function of main equipment is opened, scans and determines that the attachable bluetooth of surrounding sets
Standby;Obtain the connection history information of described bluetooth equipment and described main equipment, and according to described history information to institute
State bluetooth equipment to be ranked up;And, according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.Set due to main
Attachable bluetooth equipment is sorted according to history information for when carrying out bluetooth connection so that main equipment is entering
Row bluetooth is in hgher efficiency when connecting, it is achieved that the purpose of fast automatic connection bluetooth equipment.
Brief description
Fig. 1 is the schematic flow sheet of the method first embodiment that the present invention connects bluetooth equipment;
Fig. 2 is the schematic flow sheet of method the second embodiment that the present invention connects bluetooth equipment;
Fig. 3 is the schematic flow sheet of method the 3rd embodiment that the present invention connects bluetooth equipment;
Fig. 4 is the schematic flow sheet of method the 5th embodiment that the present invention connects bluetooth equipment;
Fig. 5 is the high-level schematic functional block diagram of the device first embodiment that the present invention connects bluetooth equipment;
Fig. 6 is the high-level schematic functional block diagram of device the second embodiment that the present invention connects bluetooth equipment;
Fig. 7 is the high-level schematic functional block diagram of device the 3rd embodiment that the present invention connects bluetooth equipment;
Fig. 8 is the high-level schematic functional block diagram of device the 5th embodiment that the present invention connects bluetooth equipment.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The present invention provides a kind of method connecting bluetooth equipment.With reference to Fig. 1, in the first embodiment, the method includes:
Step S10, when the Bluetooth function of main equipment is opened, scans and determines the attachable bluetooth equipment of surrounding;
Step S20, obtains the connection history information of described bluetooth equipment and described main equipment, and according to described history
Described bluetooth equipment is ranked up by record information;And
Step S30, according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.
The method of the connection bluetooth equipment that the present invention provides for automatically quickly connecting subordinate when main equipment bluetooth is opened
Bluetooth equipment.Wherein, main equipment and bluetooth equipment are all with bluetooth module, possess the bluetooth equipment of Bluetooth function, for example, intelligence
The bluetooth equipments such as energy TV, smart mobile phone, Baffle Box of Bluetooth.Main equipment is the equipment actively sending Bluetooth connection request, and subordinate sets
The standby equipment being to receive Bluetooth connection request.
In the present embodiment when the Bluetooth function of main equipment is opened, scan and determine the attachable bluetooth equipment of surrounding,
Specifically initialize Bluetooth protocol, start bluetooth protocol repertory, scanning bluetooth equipment around, when scan exist attachable from
During genus equipment, obtain the facility information of the attachable slave scanning, the attachable subordinate that specifically will scan
The device information update of equipment is in internal memory, and its facility information can include bluetooth device name, address, type etc..
Above-mentioned bluetooth equipment is the history note that main equipment is connected with bluetooth equipment with the connection history information of main equipment
Record information, history information can be saved in preset file, for example, be saved in XML file, then history information
It is that the form according to XML file preserves.
After getting the connection history information of bluetooth equipment and main equipment, according to history information, bluetooth is set
For being ranked up, further according to sequence control main equipment automatic connection of Bluetooth equipment.Concrete history information can include
The bluetooths such as the time of connection, connection number of times connect related parameter, carry out bluetooth equipment according to these historical connection parameters
Sequence so that be attached in a certain order when connecting.
The embodiment of the present invention, when the Bluetooth function of main equipment is opened, scans and determines that the attachable bluetooth of surrounding sets
Standby;Obtain the connection history information of described bluetooth equipment and described main equipment, and according to described history information to institute
State bluetooth equipment to be ranked up;And, according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.Set due to main
Attachable bluetooth equipment is sorted according to history information for when carrying out bluetooth connection so that main equipment is entering
Row bluetooth is in hgher efficiency when connecting, it is achieved that the purpose of fast automatic connection bluetooth equipment.
With reference to Fig. 2, the method first embodiment connecting bluetooth equipment based on the present invention shown in above-mentioned Fig. 1, this is proposed
Method second embodiment of bright connection bluetooth equipment, in the present embodiment, above-mentioned steps S20 includes:
Step S210, sets up, with described main equipment the last time, the Connection Time that bluetooth is connected according to described bluetooth equipment,
Giving described bluetooth equipment the first weighted value, wherein, the described Connection Time is nearer, then described first weighted value is bigger;
Step S220, the connection duration being connected with described main equipment bluetooth according to bluetooth equipment described in Preset Time and company
Connecing number of times, giving described bluetooth equipment the second weighted value, wherein, described connection duration is longer, and described connection number of times is more, then institute
State the second weighted value bigger;
Step S230, according to described first weighted value and described second weighted value, is ranked up to described bluetooth equipment.
Bluetooth equipment is ranked up by the present embodiment according to history information, and wherein, history information includes: bluetooth
Connection in what equipment and main equipment set up that Connection Time that bluetooth is connected, each time bluetooth connect connect duration, Preset Time
Number of times.
Set up the Connection Time that bluetooth is connected with main equipment the last time according to bluetooth equipment, give bluetooth equipment first and weigh
Weight values, the Connection Time is nearer, and the first weighted value is bigger.For example, in history information during the connection of bluetooth equipment AAA and BBB
Between be respectively 18:34:01 31/08/2015 and 10:30:00 30/08/2015, then AAA equipment and BBB equipment are given its
One weighted value, and the first weighted value that first weighted value of AAA is more than equipment BBB, the size of the first concrete weighted value is permissible
Set as required.
The connection duration being connected with main equipment bluetooth according to bluetooth equipment in Preset Time and connection number of times, give bluetooth and set
Standby second weighted value, wherein, the Connection Time is longer, connects number of times more, then the second weighted value is bigger.Wherein Preset Time is permissible
Be set as required, for example, it can be set to be 30 days in, then judge equipment in the 24*3600*30 time connection duration and
Connect number of times, all do not carried out the equipment that bluetooth connects for exceeding Preset Time can to arrange weight coefficient be preset value,
Also can not be ranked up it, specifically can select as required, wherein the value of Preset Time can set as required.Its
The middle Connection Time can be average Connection Time or the last connection duration connecting, specifically can be as required
Set.For example in history information, number of times and the Connection Time of bluetooth equipment AAA are respectively 6 times, the last Connection Time
Being 3 minutes, the number of times of bluetooth equipment BBB and Connection Time are respectively 5 times, and the last Connection Time is 3 minutes, then bluetooth sets
Second weighted value more than bluetooth equipment BBB for second weighted value of standby AAA, the size of the second concrete weighted value can be according to need
Set.
Wherein, if the connection number of times of bluetooth equipment AAA is more than bluetooth equipment BBB, but the Connection Time of bluetooth equipment AAA is little
In the Connection Time of bluetooth equipment BBB, during assignment, second weighted value of bluetooth equipment AAA can be more than, less than also can being equal to
Second weighted value of bluetooth equipment BBB, specifically can set as required.
Wherein, above-mentioned steps S210 can be for S210 in front execution with the order of step S220, it is also possible to step S220 exists
Rear execution, it is also possible to step S210 and step S220 executed in parallel.
After impart the first weighted value and the second weighted value for bluetooth equipment, according to the first weighted value and the second weight
Value, is ranked up to bluetooth equipment.Wherein, when carrying out assignment to bluetooth equipment, all attachable bluetooth scanning sets
Standby, calculating and the assignment of weighted value can be carried out only for the bluetooth equipment of history of existence record information, for the indigo plant scanning
Tooth equipment, but this bluetooth equipment not history of existence record information, i.e. this bluetooth equipment may never connect with main equipment
Connect, weight can not be calculated, or this kind equipment is given definite value or is arranged in last, specifically can be arranged as required to
Bluetooth equipment that is that scan and that do not had history linkage record.
For example, when scanning tetra-equipment of AAA, BBB, CCC, DDD, if history information exists device A AA with
Device A AA is ranked up according to history information by equipment BBB with equipment BBB, does not arranges equipment CCC with equipment DDD
Sequence, or the weighted value by equipment CCC and equipment DDD is set to 0.
For example, history information is saved in the XML file of the entitled bt_device.xml of file.Tool in XML file
Internal appearance is:
When the equipment that main equipment scans has device A AA, equipment BBB, equipment CCC and equipment DDD, according to historical record
Information, gives weighted value, according to history information, the first weighted value of four equipment for the aforementioned four equipment scanning
It is from big to small: the first weighted value of device A AA > first weighted value of equipment CCC > first weighted value of equipment BBB > equipment
First weighted value of DDD, because the Connection Time that device A AA and main equipment the last time set up bluetooth is nearest, equipment DDD and master
The Connection Time that equipment the last time sets up bluetooth is farthest.For example by the of device A AA, equipment BBB, equipment CCC and equipment DDD
One weighted value can be respectively set to the 0.08th, the 0.06th, the 0.04th, 0.02.
It is connected duration and connection number of times according to bluetooth equipment in history Preset Time with main equipment bluetooth, give bluetooth equipment
Second weighted value, its process is similar with above-mentioned imparting the first weighted value process, repeats no more.
After imparting weighted value, bluetooth equipment can be ranked up, concrete, when sequence, according to the first power
Weight values and the second weighted value calculate in conjunction with preset formula, such as formula P=Am%+Bn%, and wherein A is the first weight
Value, B is the second weighted value, m and n is respectively preset proportionality coefficient, and m%+n%=100%, P are calculated order system
Number, can being ranked up from big to small according to P connect so that the last, connect number of times most, the Connection Time is the longest
, equipment is preferentially connected.Also can make P=A*last_connect_time+B*count, wherein A and B is respectively the first power
Weight values and the second weighted value.Concrete obtain the first weighted value and the second weighted value after the method that calculates can set as required
Fixed.
The present embodiment, by setting up the Connection Time that bluetooth is connected with main equipment the last time according to bluetooth equipment, gives indigo plant
Tooth equipment the first weighted value, the connection duration being connected with main equipment bluetooth according to bluetooth equipment in Preset Time and connection number of times,
Give bluetooth equipment the second weighted value, further according to the first weighted value and the second weighted value, bluetooth equipment is ranked up so that be blue
Tooth equipment connect when, can preferential attachment user expect connect equipment, accelerate user set up bluetooth connect speed, improve
Consumer's Experience.
With reference to Fig. 3, the method first embodiment connecting bluetooth equipment based on the present invention shown in above-mentioned Fig. 1, this is proposed
Method the 3rd embodiment of bright connection bluetooth equipment, in the present embodiment, above-mentioned steps S30 includes:
Step S310, obtains described bluetooth equipment information according to described sequence, and judges whether described bluetooth equipment is
Can accept the Bluetooth connection request of described main equipment and set up the bluetooth equipment that bluetooth connects therewith;If so, step S320;
Step S320, according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.
In the present embodiment, after sorting bluetooth equipment, obtain bluetooth equipment information, concrete, bluetooth can be obtained and set
Standby title, address, type etc., concrete which information that obtains sets as required.
After getting bluetooth equipment information, it is judged that bluetooth equipment be whether the Bluetooth connection request of acceptable main equipment simultaneously
Set up the bluetooth equipment that bluetooth connects therewith.Concrete determination methods can be sentenced by the type obtaining bluetooth equipment
Disconnected.Concrete, set up connect when, according to putting in order, control main equipment is first to putting in order at primary bluetooth equipment
Send connection request, when receiving the message of bluetooth successful connection, confirm that main equipment is built with arranging primary bluetooth equipment
Vertical bluetooth successful connection.If main equipment is with arrangement, primary bluetooth equipment is not set up bluetooth successful connection, then control is main sets
Standby equipment deputy with arrangement is set up bluetooth and is connected.
If being the Bluetooth connection request of acceptable main equipment and setting up the bluetooth equipment that bluetooth connects therewith, then according to row
Sequence controls main equipment automatic connection of Bluetooth equipment.Such as device A AA, equipment BBB, equipment CCC and equipment DDD are all permissible
Accept the Bluetooth connection request of main equipment and can carry out, with main equipment, the bluetooth equipment that bluetooth is connected, its put in order for: set
Standby AAA > equipment CCC > equipment BBB > equipment DDD, then, when connecting, set up bluetooth according to the elder generation that puts in order with device A AA and be connected,
Concrete, main equipment sends Bluetooth connection request to device A AA, if receiving the successful message of bluetooth connection establishment, then confirms
Main equipment and the bluetooth connection establishment success of device A AA, if main equipment and the connection failure of device A AA, then send indigo plant to equipment CCC
Tooth connection request.
The present embodiment obtains bluetooth equipment information by after sequence, and judges whether bluetooth equipment is and can receive main equipment
Bluetooth connection request and set up therewith bluetooth connect equipment, if so, then according to sequence control main equipment automatic connection of Bluetooth
Equipment so that main equipment, when the bluetooth equipment of the surrounding that is certainly dynamically connected, can be attached according to putting in order, improves and automatically connects
The speed connecing.
Connect method the 3rd embodiment of bluetooth equipment based on the present invention shown in above-mentioned Fig. 3, propose the present invention and connect indigo plant
Method the 4th embodiment of tooth equipment, in the present embodiment, if described bluetooth equipment is not the indigo plant being acceptable described main equipment
Tooth connection request simultaneously sets up, with this main equipment, the bluetooth equipment that bluetooth is connected, then delete from described sequence and cannot accept described master
The Bluetooth connection request of equipment simultaneously sets up, with this main equipment, the bluetooth equipment that bluetooth is connected.
In the present embodiment, if exist bluetooth equipment can not receive main equipment Bluetooth connection request and can not be with this main equipment
When setting up the bluetooth equipment that bluetooth connects, by this bluetooth equipment from the middle deletion that puts in order.Owing to some bluetooth equipments cannot connect
Receive BlueTooth request and set up connection, bluetooth can only be set up by way of actively sending Bluetooth connection request and connect, if therefore actively
Connect this equipment, then can receive the feedback of connection failure, in this case, automatic connection of Bluetooth through one section of stand-by period
The time of equipment is elongated, therefore here, it is impossible to enough receive main equipment Bluetooth connection request and can not be with this main equipment
The bluetooth equipment setting up bluetooth connection is deleted so that improve the efficiency that bluetooth connects when bluetooth connects.
Also can only be connected the bluetooth-type wanting to connect by screening by this kind of method, for example only connect audio types
Bluetooth equipment, if the bluetooth equipment of mouse type being detected, be not attached.Then judge when connecting that whether bluetooth equipment is
Preset bluetooth-type, is if so, then attached, if it is not, then delete this equipment in the ranking.
For example, when device A AA detecting, equipment BBB, the device type of equipment CCC are 24, the equipment class of equipment DDD
Type is 25, and wherein 24 types represent that this equipment is audio frequency, and 25 types represent that this equipment is mouse, when hope only connects audio frequency apparatus
When, equipment DDD is deleted from sequence, only connects device A AA, equipment BBB and equipment CCC, then according to AAA when connecting equipment
The order of CCC > equipment BBB carries out certainly being dynamically connected.
The present embodiment by when sequence after bluetooth equipment in exist cannot receive main equipment Bluetooth connection request or with
This main equipment sets up the bluetooth equipment that bluetooth connects, then delete this equipment from sequence, and now main equipment is according to putting in order
During automatic connection of Bluetooth equipment, owing to deleting the bluetooth equipment that cannot connect so that decrease connection when connection and wait
Time, improve connection speed and the efficiency that bluetooth connects.
With reference to Fig. 4, connect method above-described embodiment of bluetooth equipment based on the present invention, propose the present invention and connect bluetooth equipment
Method the 5th embodiment, in the present embodiment, the present invention propose connection bluetooth equipment method also include:
Step S40, after described main equipment is certainly dynamically connected described bluetooth equipment by described sequence, bluetooth described in real time record
Bluetooth link information between equipment and described main equipment, and preserve to described history information, wherein, described bluetooth connects letter
Breath includes: the connection time that Connection Time, the connection duration of described bluetooth connection and the described bluetooth that described bluetooth connects connects
Number.
In the present embodiment after main equipment is by sequence automatic connection of Bluetooth equipment, real time record link information.Particularly
Main equipment and around a certain bluetooth equipment set up bluetooth success when, relevance linkage information, by link information preserve to history note
Record information, specifically stores according to the file format of history information, and such as history information is saved in XML format
File in when, link information is stored with XML file format.
Bluetooth link information includes, Connection Time, the connection duration of bluetooth connection and the bluetooth that bluetooth connects connects
Connect number of times.Concrete, such as when equipment BBB sets up bluetooth successful connection with main equipment, bluetooth link information is updated to
History information, when equipment BBB and main equipment set up bluetooth be connected 5 minutes disconnect again after, obtaining its Connection Time is 15:
34:01 31/09/2015, a length of 300s during connection, connect number of times and add up on number of times for connecting in history, if connecting number of times before
It is 5, then be 6 after updating.
Concrete, in history information, the link information of equipment BBB is in bt_device.xml file, is updated to:
It is understood that bluetooth link information is except including that above link information can also be changed at bluetooth equipment
During bluetooth device name, other information such as bluetooth title again preserving this bluetooth equipment.
After history information is updated according to up-to-date bluetooth connection, main equipment carries out bluetooth connection again
When, can be ranked up according to up-to-date history information, thus carry out certainly being dynamically connected.
The present embodiment by main equipment by the automatic connection of Bluetooth equipment that puts in order after, real time record bluetooth equipment and master
Bluetooth link information between equipment, and preserve to history information so that history information is according to up-to-date bluetooth even
The situation of connecing is updated so that when being again attached, and can be ranked up according to up-to-date history information, improves main setting
Standby bluetooth is from the speed being dynamically connected.
The present invention also provides a kind of device connecting bluetooth equipment, with reference to Fig. 5, provides the present invention and connects bluetooth equipment
Device first embodiment, in this embodiment, the device connecting bluetooth equipment includes:
Scan module 10, for when the Bluetooth function of main equipment is opened, scanning and determining the attachable bluetooth of surrounding
Equipment;
Order module 20, for obtaining the connection history information of described bluetooth equipment and described main equipment, and according to
Described bluetooth equipment is ranked up by described history information;And
Control module 30, for according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.
The device of the connection bluetooth equipment that the present invention provides for automatically quickly connecting subordinate when main equipment bluetooth is opened
Bluetooth equipment.Wherein, main equipment and bluetooth equipment are all with bluetooth module, possess the bluetooth equipment of Bluetooth function, for example, intelligence
The bluetooth equipments such as energy TV, smart mobile phone, Baffle Box of Bluetooth.Main equipment is the equipment actively sending Bluetooth connection request, and subordinate sets
The standby equipment being to receive Bluetooth connection request.
In the present embodiment when the Bluetooth function of main equipment is opened, scan module 10 scans and determines the attachable of surrounding
Bluetooth equipment, specifically initializes Bluetooth protocol, starts bluetooth protocol repertory, scanning bluetooth equipment around, when scanning existence
During attachable slave, order module 20 obtains the facility information of the attachable slave scanning, and specifically will
The device information update of the attachable slave scanning is in internal memory, and its facility information can include bluetooth equipment name
Title, address, type etc..
Above-mentioned bluetooth equipment is the history note that main equipment is connected with bluetooth equipment with the connection history information of main equipment
Record information, history information can be saved in preset file, for example, be saved in XML file, then history information
It is that the form according to XML file preserves.
After getting the connection history information of bluetooth equipment and main equipment, control module 30 is believed according to historical record
Bluetooth equipment is ranked up by breath, further according to sequence control main equipment automatic connection of Bluetooth equipment.Concrete history information
In can include the time connecting, connect the bluetooth such as number of times and connect related parameter, come to indigo plant according to these historical connection parameters
Tooth equipment is ranked up so that be attached in a certain order when connecting.
The embodiment of the present invention, when the Bluetooth function of main equipment is opened, scans and determines that the attachable bluetooth of surrounding sets
Standby;Obtain the connection history information of described bluetooth equipment and described main equipment, and according to described history information to institute
State bluetooth equipment to be ranked up;And, according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.Set due to main
Attachable bluetooth equipment is sorted according to history information for when carrying out bluetooth connection so that main equipment is entering
Row bluetooth is in hgher efficiency when connecting, it is achieved that the purpose of fast automatic connection bluetooth equipment.
With reference to Fig. 6, the device first embodiment connecting bluetooth equipment based on the present invention shown in above-mentioned Fig. 5, this is proposed
Bright connection bluetooth equipment device the second embodiment, in the present embodiment, described history information includes: described bluetooth equipment with
What described main equipment set up that Connection Time that bluetooth connects, each time bluetooth connect connects duration, the connection time in Preset Time
Number, above-mentioned order module 20 includes:
First assignment unit 210, is connected for setting up bluetooth according to described bluetooth equipment and described main equipment the last time
Connection Time, give described bluetooth equipment the first weighted value, wherein, the described Connection Time is nearer, then described first weighted value
Bigger;
Second assignment unit 220, for be connected with described main equipment bluetooth according to bluetooth equipment described in Preset Time
Connecting duration and connecting number of times, giving described bluetooth equipment the second weighted value, wherein, described connection duration is longer, described connection
Number of times is more, then described second weighted value is bigger;And
Sequencing unit 230, for according to described first weighted value and described second weighted value, is carried out to described bluetooth equipment
Sequence.
Bluetooth equipment is ranked up by the present embodiment according to history information, and wherein, history information includes: bluetooth
Connection in what equipment and main equipment set up that Connection Time that bluetooth is connected, each time bluetooth connect connect duration, Preset Time
Number of times.
First assignment unit 210 is set up the Connection Time that bluetooth is connected with main equipment the last time according to bluetooth equipment, composes
Giving bluetooth equipment the first weighted value, the Connection Time is nearer, and the first weighted value is bigger.For example, bluetooth equipment in history information
The Connection Time of AAA and BBB is respectively 18:34:01 31/08/2015 and 10:30:00 30/08/2015, then to AAA equipment
Give its first weighted value, and the first weighted value that first weighted value of AAA is more than equipment BBB, concrete first with BBB equipment
The size of weighted value can set as required.
Connection duration that second assignment unit 220 is connected with main equipment bluetooth according to bluetooth equipment in Preset Time and connection
Number of times, gives bluetooth equipment the second weighted value, and wherein, the Connection Time is longer, connects number of times more, then the second weighted value is bigger.
Wherein Preset Time can be set as required, for example, it can be set to be 30 days in, then in judging the 24*3600*30 time
The connection duration of equipment and connect number of times, for exceed Preset Time all do not carried out bluetooth connect equipment power can be set
Weight coefficient is preset value, it is also possible to not being ranked up it, specifically can selecting as required, wherein the value of Preset Time is permissible
Set as required.Wherein the Connection Time can be average Connection Time or the last connection duration connecting, tool
Body can set as required.For example in history information, the number of times of bluetooth equipment AAA and Connection Time are respectively 6 times,
A rear Connection Time is 3 minutes, and the number of times of bluetooth equipment BBB and Connection Time are respectively 5 times, and the last Connection Time is
3 minutes, then the second weighted value more than bluetooth equipment BBB for second weighted value of bluetooth equipment AAA, the second concrete weighted value
Size can set as required.
Wherein, if the connection number of times of bluetooth equipment AAA is more than bluetooth equipment BBB, but the Connection Time of bluetooth equipment AAA is little
In the Connection Time of bluetooth equipment BBB, during assignment, second weighted value of bluetooth equipment AAA can be more than, less than also can being equal to
Second weighted value of bluetooth equipment BBB, specifically can set as required.
After impart the first weighted value and the second weighted value for bluetooth equipment, sequencing unit 230 is according to the first weight
Value and the second weighted value, be ranked up to bluetooth equipment.Wherein, when assignment is carried out to bluetooth equipment, scan all can
The bluetooth equipment connecting, can carry out calculating and the assignment of weighted value only for the bluetooth equipment of history of existence record information, right
In the bluetooth equipment scanning, but this bluetooth equipment not history of existence record information, i.e. this bluetooth equipment may never with master
Equipment carried out connection, can not calculate weight, or this kind equipment gives definite value or is arranged in last, specifically permissible
It is arranged as required to bluetooth equipment that is that scan and that do not had history linkage record.
For example, when scanning tetra-equipment of AAA, BBB, CCC, DDD, if history information exists device A AA with
Device A AA is ranked up according to history information by equipment BBB with equipment BBB, does not arranges equipment CCC with equipment DDD
Sequence, or the weighted value by equipment CCC and equipment DDD is set to 0.
For example, history information is saved in the XML file of the entitled bt_device.xml of file.Tool in XML file
Internal appearance is:
When the equipment that main equipment scans has device A AA, equipment BBB, equipment CCC and equipment DDD, according to historical record
Information, gives weighted value, according to history information, the first weighted value of four equipment for the aforementioned four equipment scanning
It is from big to small: the first weighted value of device A AA > first weighted value of equipment CCC > first weighted value of equipment BBB > equipment
First weighted value of DDD, because the Connection Time that device A AA and main equipment the last time set up bluetooth is nearest, equipment DDD and master
The Connection Time that equipment the last time sets up bluetooth is farthest.For example by the of device A AA, equipment BBB, equipment CCC and equipment DDD
One weighted value can be respectively set to the 0.08th, the 0.06th, the 0.04th, 0.02.
It is connected duration and connection number of times according to bluetooth equipment in history Preset Time with main equipment bluetooth, give bluetooth equipment
Second weighted value, its process is similar with above-mentioned imparting the first weighted value process, repeats no more.
After imparting weighted value, bluetooth equipment can be ranked up, concrete, when sequence, according to the first power
Weight values and the second weighted value calculate in conjunction with preset formula, such as formula P=Am%+Bn%, and wherein A is the first weight
Value, B is the second weighted value, m and n is respectively preset proportionality coefficient, and m%+n%=100%, P are calculated order system
Number, can being ranked up from big to small according to P connect so that the last, connect number of times most, the Connection Time is the longest
, equipment is preferentially connected.Also can make P=A*last_connect_time+B*count, wherein A and B is respectively the first power
Weight values and the second weighted value.Concrete obtain the first weighted value and the second weighted value after the method that calculates can set as required
Fixed.
The present embodiment, by setting up the Connection Time that bluetooth is connected with main equipment the last time according to bluetooth equipment, gives indigo plant
Tooth equipment the first weighted value, the connection duration being connected with main equipment bluetooth according to bluetooth equipment in Preset Time and connection number of times,
Give bluetooth equipment the second weighted value, further according to the first weighted value and the second weighted value, bluetooth equipment is ranked up so that be blue
Tooth equipment connect when, can preferential attachment user expect connect equipment, accelerate user set up bluetooth connect speed, improve
Consumer's Experience.
With reference to Fig. 7, the device first embodiment connecting bluetooth equipment based on the present invention shown in above-mentioned Fig. 5, this is proposed
Device the 3rd embodiment of bright connection bluetooth equipment, in the present embodiment, above-mentioned control module 30 includes:
Judging unit 310, is used for obtaining described bluetooth equipment information according to described sequence, and judges that described bluetooth equipment is
The no Bluetooth connection request being acceptable described main equipment simultaneously sets up the bluetooth equipment that bluetooth connects therewith;And
Control unit 320, if for described bluetooth equipment be can receive described main equipment Bluetooth connection request and with
Set up the bluetooth equipment that bluetooth connects, then according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.
In the present embodiment, after sorting bluetooth equipment, obtain bluetooth equipment information, concrete, bluetooth can be obtained and set
Standby title, address, type etc., concrete which information that obtains sets as required.
After getting bluetooth equipment information, it is judged that unit 310 judges whether bluetooth equipment is the indigo plant that can accept main equipment
Tooth connection request simultaneously sets up the bluetooth equipment that bluetooth connects therewith.Concrete determination methods can be by obtaining the class of bluetooth equipment
Type judges.Concrete, set up connect when, according to putting in order, control main equipment is first to putting in order at first
Bluetooth equipment send connection request, when receiving the message of bluetooth successful connection, confirm main equipment with arrange primary
Bluetooth equipment sets up bluetooth successful connection.If main equipment is with arrangement, primary bluetooth equipment is not set up bluetooth successful connection,
Then control main equipment and arrange deputy equipment and set up bluetooth and be connected.
If being the Bluetooth connection request of acceptable main equipment and setting up the bluetooth equipment that bluetooth connects, control unit therewith
320 according to sequence control main equipment automatic connection of Bluetooth equipment.Such as device A AA, equipment BBB, equipment CCC and equipment DDD are complete
Portion is all can to accept the Bluetooth connection request of main equipment and can carry out, with main equipment, the bluetooth equipment that bluetooth is connected, its arrangement
Order is: device A AA > equipment CCC > equipment BBB > equipment DDD, then when connecting, according to putting in order, elder generation sets up with device A AA
Bluetooth connects, concrete, and main equipment sends Bluetooth connection request to device A AA, successfully disappears if receiving bluetooth connection establishment
Breath, then confirm the bluetooth connection establishment success of main equipment and device A AA, if main equipment and the connection failure of device A AA, then to equipment
CCC sends Bluetooth connection request.
The present embodiment obtains bluetooth equipment information by after sequence, and judges whether bluetooth equipment is and can receive main equipment
Bluetooth connection request and set up therewith bluetooth connect equipment, if so, then according to sequence control main equipment automatic connection of Bluetooth
Equipment so that main equipment, when the bluetooth equipment of the surrounding that is certainly dynamically connected, can be attached according to putting in order, improves and automatically connects
The speed connecing.
Connect device the 3rd embodiment of bluetooth equipment based on the present invention shown in above-mentioned Fig. 7, propose the present invention and connect indigo plant
Device the 4th embodiment of tooth equipment, in the present embodiment, above-mentioned control module 30 also includes:
Delete unit, if for described bluetooth equipment be not be acceptable described main equipment Bluetooth connection request and with
This main equipment sets up the bluetooth equipment that bluetooth connects, then delete the bluetooth connection that cannot accept described main equipment from described sequence
Request simultaneously sets up, with this main equipment, the bluetooth equipment that bluetooth is connected.
In the present embodiment, if exist bluetooth equipment can not receive main equipment Bluetooth connection request and can not be with this main equipment
When setting up the bluetooth equipment that bluetooth connects, delete unit by this bluetooth equipment from the middle deletion that puts in order.Owing to some bluetooths set
Connection is set up in the standby BlueTooth request that cannot receive, and can only set up bluetooth and connect by way of actively sending Bluetooth connection request, because of
If this actively connects this equipment, then can receive the feedback of connection failure through one section of stand-by period, in this case, automatically
The time connecting bluetooth equipment is elongated, therefore here, it is impossible to enough receive main equipment Bluetooth connection request and can not be with
The bluetooth equipment that this main equipment sets up bluetooth connection is deleted so that improve the efficiency that bluetooth connects when bluetooth connects.
Also can only be connected the bluetooth-type wanting to connect by screening by this kind of method, for example only connect audio types
Bluetooth equipment, if the bluetooth equipment of mouse type being detected, be not attached.Then judge when connecting that whether bluetooth equipment is
Preset bluetooth-type, is if so, then attached, if it is not, then delete this equipment in the ranking.
For example, when device A AA detecting, equipment BBB, the device type of equipment CCC are 24, the equipment class of equipment DDD
Type is 25, and wherein 24 types represent that this equipment is audio frequency, and 25 types represent that this equipment is mouse, when hope only connects audio frequency apparatus
When, equipment DDD is deleted from sequence, only connects device A AA, equipment BBB and equipment CCC, then according to AAA when connecting equipment
The order of CCC > equipment BBB carries out certainly being dynamically connected.
The present embodiment by when sequence after bluetooth equipment in exist cannot receive main equipment Bluetooth connection request or with
This main equipment sets up the bluetooth equipment that bluetooth connects, then delete this equipment from sequence, and now main equipment is according to putting in order
During automatic connection of Bluetooth equipment, owing to deleting the bluetooth equipment that cannot connect so that decrease connection when connection and wait
Time, improve connection speed and the efficiency that bluetooth connects.
With reference to Fig. 8, connect device above-described embodiment of bluetooth equipment based on the present invention, propose the present invention and connect bluetooth equipment
Device the 5th embodiment, in the present embodiment, the present invention propose connection bluetooth equipment device also include:
Preserve module 40, for sorting at described main equipment after the described bluetooth equipment that is dynamically connected by described, real time record
Bluetooth link information between described bluetooth equipment and described main equipment, and preserve to described history information, wherein, described indigo plant
Tooth link information includes: Connection Time, the connection duration of described bluetooth connection and described bluetooth that described bluetooth connects connect
Connection number of times.
In the present embodiment after main equipment is by sequence automatic connection of Bluetooth equipment, preserve module 40 real time record link information
And preserve.Particularly main equipment and around a certain bluetooth equipment set up bluetooth success when, relevance linkage information, by connections letter
Breath preserves to history information, specifically stores according to the file format of history information, for example historical record letter
When breath is saved in the file of XML format, link information is stored with XML file format.
Bluetooth link information includes, Connection Time, the connection duration of bluetooth connection and the bluetooth that bluetooth connects connects
Connect number of times.Concrete, such as when equipment BBB sets up bluetooth successful connection with main equipment, bluetooth link information is updated to
History information, when equipment BBB and main equipment set up bluetooth be connected 5 minutes disconnect again after, obtaining its Connection Time is 15:
34:01 31/09/2015, a length of 300s during connection, connect number of times and add up on number of times for connecting in history, if connecting number of times before
It is 5, then be 6 after updating.
Concrete, in history information, the link information of equipment BBB is in bt_device.xml file, is updated to:
It is understood that bluetooth link information is except including that above link information can also be changed at bluetooth equipment
During bluetooth device name, other information such as bluetooth title again preserving this bluetooth equipment.
After history information is updated according to up-to-date bluetooth connection, main equipment carries out bluetooth connection again
When, can be ranked up according to up-to-date history information, thus carry out certainly being dynamically connected.
The present embodiment by main equipment by the automatic connection of Bluetooth equipment that puts in order after, real time record bluetooth equipment and master
Bluetooth link information between equipment, and preserve to history information so that history information is according to up-to-date bluetooth even
The situation of connecing is updated so that when being again attached, and can be ranked up according to up-to-date history information, improves main setting
Standby bluetooth is from the speed being dynamically connected.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this
Equivalent structure or equivalence flow process that bright specification and accompanying drawing content are made convert, or are directly or indirectly used in other related skills
Art field, all in like manner includes in the scope of patent protection of the present invention.
Claims (10)
1. the method connecting bluetooth equipment, it is characterised in that described method includes:
When the Bluetooth function of main equipment is opened, scan and determine the attachable bluetooth equipment of surrounding;
Obtain the connection history information of described bluetooth equipment and described main equipment, and according to described history information to institute
State bluetooth equipment to be ranked up;And
According to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.
2. the method for claim 1, it is characterised in that described history information includes: described bluetooth equipment and institute
That states that main equipment sets up that Connection Time that bluetooth connects, each time bluetooth connect connects duration, the connection number of times in Preset Time,
Described method also includes:
Set up, with described main equipment the last time, the Connection Time that bluetooth is connected according to described bluetooth equipment, give described bluetooth and set
Standby first weighted value, wherein, the described Connection Time is nearer, then described first weighted value is bigger;
The connection duration being connected with described main equipment bluetooth according to bluetooth equipment described in Preset Time and connection number of times, give institute
Stating bluetooth equipment the second weighted value, wherein, described connection duration is longer, and described connection number of times is more, then described second weighted value
Bigger;And
According to described first weighted value and described second weighted value, described bluetooth equipment is ranked up.
3. the method for claim 1, it is characterised in that described method also includes:
Obtain described bluetooth equipment information according to described sequence, and judge whether described bluetooth equipment is acceptable described master and sets
Standby Bluetooth connection request simultaneously sets up the bluetooth equipment that bluetooth connects therewith;And
If so, then according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.
4. method as claimed in claim 3, it is characterised in that if described bluetooth equipment is not to be acceptable described main equipment
Bluetooth connection request and set up, with this main equipment, the bluetooth equipment that bluetooth is connected, then delete from described sequence and cannot accept institute
State the Bluetooth connection request of main equipment and set up, with this main equipment, the bluetooth equipment that bluetooth is connected.
5. the method as described in any one of claim 1-4, it is characterised in that described method also includes:
After described main equipment is certainly dynamically connected described bluetooth equipment by described sequence, bluetooth equipment described in real time record and described master
Bluetooth link information between equipment, and preserve to described history information, wherein, described bluetooth link information includes: described
The connection number of times that Connection Time, the connection duration of described bluetooth connection and the described bluetooth that bluetooth connects connects.
6. the device connecting bluetooth equipment, it is characterised in that described device includes:
Scan module, for when the Bluetooth function of main equipment is opened, scanning and determining the attachable bluetooth equipment of surrounding;
Order module, is used for obtaining the connection history information of described bluetooth equipment and described main equipment, and goes through according to described
Described bluetooth equipment is ranked up by Records of the Historian record information;And
Control module, for according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.
7. device as claimed in claim 6, it is characterised in that described history information includes: described bluetooth equipment and institute
That states that main equipment sets up that Connection Time that bluetooth connects, each time bluetooth connect connects duration, the connection number of times in Preset Time,
Described order module includes:
First assignment unit, during for setting up, with described main equipment the last time, the connection that bluetooth is connected according to described bluetooth equipment
Between, give described bluetooth equipment the first weighted value, wherein, the described Connection Time is nearer, then described first weighted value is bigger;
Second assignment unit, for the connection duration being connected with described main equipment bluetooth according to bluetooth equipment described in Preset Time
With connection number of times, giving described bluetooth equipment the second weighted value, wherein, described connection duration is longer, and described connection number of times is more,
Then described second weighted value is bigger;And
Sequencing unit, for according to described first weighted value and described second weighted value, is ranked up to described bluetooth equipment.
8. device as claimed in claim 6, it is characterised in that described control module includes:
Judging unit, is used for obtaining described bluetooth equipment information according to described sequence, and judges whether described bluetooth equipment is
Can accept the Bluetooth connection request of described main equipment and set up the bluetooth equipment that bluetooth connects therewith;And
Control unit, can receive the Bluetooth connection request of described main equipment if being for described bluetooth equipment and set up indigo plant therewith
The bluetooth equipment that tooth connects, then according to the described sequence described main equipment of control from being dynamically connected described bluetooth equipment.
9. device as claimed in claim 8, it is characterised in that described control module also includes:
Delete unit, if for described bluetooth equipment be not be acceptable described main equipment Bluetooth connection request and with this master
Equipment sets up the bluetooth equipment that bluetooth connects, then delete the Bluetooth connection request that cannot accept described main equipment from described sequence
And set up, with this main equipment, the bluetooth equipment that bluetooth is connected.
10. the device as described in any one of claim 6 to 9, it is characterised in that described device also includes:
Preserve module, for after described main equipment is certainly dynamically connected described bluetooth equipment by described sequence, blue described in real time record
Bluetooth link information between tooth equipment and described main equipment, and preserve to described history information, wherein, described bluetooth connects
Information includes: the connection that Connection Time, the connection duration of described bluetooth connection and the described bluetooth that described bluetooth connects connects
Number of times.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610344329.9A CN106102129A (en) | 2016-05-23 | 2016-05-23 | Connect the method and device of bluetooth equipment |
PCT/CN2016/096246 WO2017201899A1 (en) | 2016-05-23 | 2016-08-22 | Method and apparatus for connecting to bluetooth device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610344329.9A CN106102129A (en) | 2016-05-23 | 2016-05-23 | Connect the method and device of bluetooth equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106102129A true CN106102129A (en) | 2016-11-09 |
Family
ID=57229982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610344329.9A Pending CN106102129A (en) | 2016-05-23 | 2016-05-23 | Connect the method and device of bluetooth equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106102129A (en) |
WO (1) | WO2017201899A1 (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107155123A (en) * | 2017-06-14 | 2017-09-12 | 深圳Tcl新技术有限公司 | Matching method, television set and the readable storage medium storing program for executing of bluetooth equipment and television set |
CN107770758A (en) * | 2017-09-21 | 2018-03-06 | 深圳市汉普电子技术开发有限公司 | The bluetooth of Baffle Box of Bluetooth returns even method, Baffle Box of Bluetooth and storage medium |
CN108135033A (en) * | 2017-12-19 | 2018-06-08 | 维沃移动通信有限公司 | A kind of Bluetooth connecting method and mobile terminal |
CN108235830A (en) * | 2017-12-29 | 2018-06-29 | 深圳市名宗科技有限公司 | A kind of Wireless pairing system and matching method |
CN108347720A (en) * | 2018-02-08 | 2018-07-31 | 广东欧珀移动通信有限公司 | communication connecting method, device, terminal and storage medium |
CN108924706A (en) * | 2018-06-26 | 2018-11-30 | 努比亚技术有限公司 | Bluetooth headset method for handover control, bluetooth headset and computer readable storage medium |
CN109151790A (en) * | 2018-10-25 | 2019-01-04 | 苏州格目软件技术有限公司 | A kind of connection method of Bluetooth device and its system based on network security |
CN109286996A (en) * | 2018-10-16 | 2019-01-29 | 深圳Tcl新技术有限公司 | Mode switching method, bluetooth equipment, apparatus and system based on bluetooth connection |
CN109413629A (en) * | 2018-11-20 | 2019-03-01 | 智车优行科技(北京)有限公司 | Bluetooth reconnection method |
WO2019119620A1 (en) * | 2017-12-20 | 2019-06-27 | 深圳光峰科技股份有限公司 | Bluetooth connection method, smart terminal and bluetooth device |
CN110191450A (en) * | 2019-04-02 | 2019-08-30 | 华为技术有限公司 | Business connection establishment method, bluetooth master, chip and Bluetooth system |
CN110809267A (en) * | 2019-10-31 | 2020-02-18 | 维沃移动通信有限公司 | Device connection method, electronic device and computer readable storage medium |
CN111954193A (en) * | 2020-08-06 | 2020-11-17 | Tcl通讯(宁波)有限公司 | Bluetooth device connection detection method and device and mobile terminal |
CN115314868A (en) * | 2022-07-28 | 2022-11-08 | 杭州智缤科技有限公司 | Bluetooth BLE communication technology-based application system for intelligent fire fighting |
CN116056051A (en) * | 2022-06-06 | 2023-05-02 | 荣耀终端有限公司 | Bluetooth connection control method, system and equipment |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112004220A (en) * | 2020-09-16 | 2020-11-27 | 深圳市锐尔觅移动通信有限公司 | Bluetooth connection method and system, Bluetooth device and readable storage medium |
CN113747406B (en) * | 2021-08-06 | 2024-03-12 | 深圳Tcl新技术有限公司 | Bluetooth connection method and device, bluetooth equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101340212A (en) * | 2007-07-03 | 2009-01-07 | 艾威梯软件技术(北京)有限公司 | Method, apparatus and system for triggering automatic switchover of Bluetooth connecting device by key pressing |
CN102394673A (en) * | 2011-11-17 | 2012-03-28 | 深圳市中兴移动通信有限公司 | Ordering method of bluetooth devices and system thereof |
CN103228059A (en) * | 2013-04-02 | 2013-07-31 | 深圳市文鼎创数据科技有限公司 | Method and device for processing bluetooth pairing information |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9215420B2 (en) * | 2010-06-01 | 2015-12-15 | Comcast Cable Communications, Llc | Ranking search results |
CN103228060B (en) * | 2013-04-02 | 2016-12-28 | 深圳市文鼎创数据科技有限公司 | The processing method and processing device of Bluetooth pairing information |
TWI532000B (en) * | 2014-02-27 | 2016-05-01 | 南臺科技大學 | Assisted ordering system recording detailed attributes of a diner's or his/her relatives' preferred meal history |
-
2016
- 2016-05-23 CN CN201610344329.9A patent/CN106102129A/en active Pending
- 2016-08-22 WO PCT/CN2016/096246 patent/WO2017201899A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101340212A (en) * | 2007-07-03 | 2009-01-07 | 艾威梯软件技术(北京)有限公司 | Method, apparatus and system for triggering automatic switchover of Bluetooth connecting device by key pressing |
CN102394673A (en) * | 2011-11-17 | 2012-03-28 | 深圳市中兴移动通信有限公司 | Ordering method of bluetooth devices and system thereof |
CN103228059A (en) * | 2013-04-02 | 2013-07-31 | 深圳市文鼎创数据科技有限公司 | Method and device for processing bluetooth pairing information |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107155123A (en) * | 2017-06-14 | 2017-09-12 | 深圳Tcl新技术有限公司 | Matching method, television set and the readable storage medium storing program for executing of bluetooth equipment and television set |
CN107770758A (en) * | 2017-09-21 | 2018-03-06 | 深圳市汉普电子技术开发有限公司 | The bluetooth of Baffle Box of Bluetooth returns even method, Baffle Box of Bluetooth and storage medium |
CN108135033A (en) * | 2017-12-19 | 2018-06-08 | 维沃移动通信有限公司 | A kind of Bluetooth connecting method and mobile terminal |
CN108135033B (en) * | 2017-12-19 | 2020-07-31 | 维沃移动通信有限公司 | Bluetooth connection method and mobile terminal |
WO2019119620A1 (en) * | 2017-12-20 | 2019-06-27 | 深圳光峰科技股份有限公司 | Bluetooth connection method, smart terminal and bluetooth device |
WO2019127322A1 (en) * | 2017-12-29 | 2019-07-04 | 深圳市名宗科技有限公司 | Wireless pairing system and pairing method |
CN108235830A (en) * | 2017-12-29 | 2018-06-29 | 深圳市名宗科技有限公司 | A kind of Wireless pairing system and matching method |
CN108235830B (en) * | 2017-12-29 | 2021-08-17 | 深圳市名宗科技有限公司 | Wireless pairing system and pairing method |
US10972894B2 (en) | 2017-12-29 | 2021-04-06 | Shenzhen Mingzong Technology Co., Ltd. | Wireless pairing system and method thereof |
CN108347720A (en) * | 2018-02-08 | 2018-07-31 | 广东欧珀移动通信有限公司 | communication connecting method, device, terminal and storage medium |
CN108924706A (en) * | 2018-06-26 | 2018-11-30 | 努比亚技术有限公司 | Bluetooth headset method for handover control, bluetooth headset and computer readable storage medium |
CN108924706B (en) * | 2018-06-26 | 2020-08-18 | 东莞市和乐电子有限公司 | Bluetooth headset switching control method, Bluetooth headset and computer readable storage medium |
CN109286996A (en) * | 2018-10-16 | 2019-01-29 | 深圳Tcl新技术有限公司 | Mode switching method, bluetooth equipment, apparatus and system based on bluetooth connection |
CN109151790A (en) * | 2018-10-25 | 2019-01-04 | 苏州格目软件技术有限公司 | A kind of connection method of Bluetooth device and its system based on network security |
CN109413629A (en) * | 2018-11-20 | 2019-03-01 | 智车优行科技(北京)有限公司 | Bluetooth reconnection method |
CN110191450A (en) * | 2019-04-02 | 2019-08-30 | 华为技术有限公司 | Business connection establishment method, bluetooth master, chip and Bluetooth system |
CN110191450B (en) * | 2019-04-02 | 2021-02-26 | 华为技术有限公司 | Service connection establishing method, Bluetooth main device, chip and Bluetooth system |
CN110809267A (en) * | 2019-10-31 | 2020-02-18 | 维沃移动通信有限公司 | Device connection method, electronic device and computer readable storage medium |
CN111954193A (en) * | 2020-08-06 | 2020-11-17 | Tcl通讯(宁波)有限公司 | Bluetooth device connection detection method and device and mobile terminal |
CN111954193B (en) * | 2020-08-06 | 2024-06-11 | 深圳市华正行科技有限公司 | Bluetooth equipment connection detection method and device and mobile terminal |
CN116056051A (en) * | 2022-06-06 | 2023-05-02 | 荣耀终端有限公司 | Bluetooth connection control method, system and equipment |
CN116056051B (en) * | 2022-06-06 | 2023-10-27 | 荣耀终端有限公司 | Bluetooth connection control method, system and equipment |
CN115314868A (en) * | 2022-07-28 | 2022-11-08 | 杭州智缤科技有限公司 | Bluetooth BLE communication technology-based application system for intelligent fire fighting |
Also Published As
Publication number | Publication date |
---|---|
WO2017201899A1 (en) | 2017-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106102129A (en) | Connect the method and device of bluetooth equipment | |
CN106412277B (en) | The loading method and device of virtual scene | |
CN105681846B (en) | A kind of set-top box carries out the method and set-top box of Bluetooth matching | |
CN106790417A (en) | A kind of long-range control method, terminal and system | |
CN106128456A (en) | The sound control method of intelligent appliance, terminal and system | |
CN107770758A (en) | The bluetooth of Baffle Box of Bluetooth returns even method, Baffle Box of Bluetooth and storage medium | |
CN106288249B (en) | A kind of air conditioner wireless network-building method and device | |
CN106465161B (en) | The method and computer-readable medium of access point and operation access point | |
CN105282829B (en) | A kind of method and wireless sound box connecting network | |
CN105975225A (en) | Multi-screen interaction connection method, device and system | |
CN110569127A (en) | Virtual resource transferring, sending and acquiring method and device | |
CN102929661A (en) | Method and device for processing functional component, and server | |
CN107273112B (en) | Method and device for displaying gift list information | |
CN101547194B (en) | Method and system for obtaining internet data by embedded type terminal | |
CN112423368A (en) | Gateway, intelligent device, mobile terminal, network access method and network access auxiliary method and system | |
CN100592714C (en) | Method for establishing a wireless network | |
CN101674205B (en) | Method and device for generating network communication protocol test sequence based on finite-state machine | |
CN106168974A (en) | Method and system for processing multi-system screenshot file | |
CN106445440A (en) | Screen sharing method and terminal thereof | |
CN105812843A (en) | Method and system of intelligent TV upgrade | |
CN103648044A (en) | Method and device for starting applications | |
CN102902579A (en) | Processing system for functional assembly | |
CN104954158B (en) | A kind of connection management method and connection pool control equipment | |
CN106803954A (en) | Detection method, the apparatus and system of many tuner Set Top Boxes | |
CN106302670A (en) | A kind of picture update method, communication terminal and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20161109 |