CN104683002A - Method and device for pairing Bluetooth equipment - Google Patents
Method and device for pairing Bluetooth equipment Download PDFInfo
- Publication number
- CN104683002A CN104683002A CN201510072114.1A CN201510072114A CN104683002A CN 104683002 A CN104683002 A CN 104683002A CN 201510072114 A CN201510072114 A CN 201510072114A CN 104683002 A CN104683002 A CN 104683002A
- Authority
- CN
- China
- Prior art keywords
- bluetooth equipment
- bluetooth
- infrared
- identification number
- control information
- 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
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a method and a device for pairing Bluetooth equipment. The method comprises the following steps: receiving an infrared paring request sent by first Bluetooth equipment, wherein a first Bluetooth equipment identification number is carried in the infrared paring request; sending a Bluetooth connecting request to the first Bluetooth equipment according to the first Bluetooth equipment identification number to establish Bluetooth connection with the first Bluetooth equipment. The invention provides an available pairing method for the Bluetooth connection of screen-free Bluetooth equipment.
Description
Technical field
The present invention relates to Bluetooth technology field, particularly relate to a kind of bluetooth equipment matching method and device.
Background technology
Bluetooth is the radiotechnics of short haul connection between a kind of support equipment, support point-to-point and point-to-multipoint delivery, the equipment such as mobile phone, panel computer, notebook computer, printer, facsimile machine can set up connection by bluetooth, and then carry out communication rapidly and efficiently.
Bluetooth pairing methods conventional between order the first two bluetooth equipment is: after the first bluetooth equipment Bluetooth function is opened, detect the bluetooth equipment within the scope of self bluetooth recognition, and the bluetooth equipment of the bluetooth equipment within the scope of self bluetooth recognition mark is illustrated on own display screen curtain; User manually chooses the bluetooth equipment mark needing to set up the second bluetooth equipment that bluetooth is connected with the first bluetooth equipment from described bluetooth equipment mark; First bluetooth equipment is set up bluetooth with the second bluetooth equipment and is connected.But bluetooth earphone, Baffle Box of Bluetooth, bluetooth game operation bar etc. be there is no to the bluetooth equipment of display screen, can not the bluetooth equipment of the bluetooth equipment within the scope of self bluetooth recognition mark be illustrated on own display screen curtain when mutually matching, because user manually cannot choose the bluetooth equipment mark needing the second bluetooth equipment connected, therefore, this method is infeasible for the pairing between the bluetooth equipment without screen.
Summary of the invention
The embodiment of the present invention provides a kind of bluetooth equipment matching method and device, is a kind ofly to carry out bluetooth without screen bluetooth equipment and connect available matching method.
Embodiment of the present invention first aspect provides a kind of bluetooth equipment matching method, and described method comprises:
Receive the infrared pairing request that the first bluetooth equipment sends, in described infrared pairing request, carry the first bluetooth equipment identification number;
Send Bluetooth connection request according to described first bluetooth equipment identification number to described first bluetooth equipment, be connected to set up bluetooth with described first bluetooth equipment.
In the first possible implementation of embodiment of the present invention first aspect, the infrared pairing request carrying the first bluetooth equipment identification number that described reception first bluetooth equipment sends comprises:
Receive the infrared operational order that the first bluetooth equipment sends, in described infrared operational order, carry control information;
Judge whether the size that takes up room of described control information equals default size, if so, then judge described control information as described first bluetooth equipment identification number, described infrared operational order as described infrared pairing request.
In conjunction with the first possible implementation of embodiment of the present invention first aspect or embodiment of the present invention first aspect, in the implementation that the second of embodiment of the present invention first aspect is possible, when described first bluetooth equipment identification number is the MAC Address of described first bluetooth equipment, describedly judge whether the size that takes up room of described control information equals default size and comprise:
Judge whether the figure place of described control information equals 48.
In conjunction with the implementation of the first or the second of embodiment of the present invention first aspect or embodiment of the present invention first aspect, in the third possible implementation of embodiment of the present invention first aspect, described according to described first bluetooth equipment identification number to described first bluetooth equipment send Bluetooth connection request comprise:
Search for the bluetooth equipment within the scope of self bluetooth recognition;
From the bluetooth equipment within the scope of self bluetooth recognition that search obtains, described first bluetooth equipment is determined according to described first bluetooth equipment mark;
Described Bluetooth connection request is sent to described first bluetooth equipment.
In conjunction with the first of embodiment of the present invention first aspect or embodiment of the present invention first aspect to any one implementation in the third, in the 4th kind of possible implementation of embodiment of the present invention first aspect, described first bluetooth equipment identification number comprises MAC Address or the mobile device international identity code of described first bluetooth equipment.
Embodiment of the present invention second aspect provides a kind of bluetooth equipment contrast means, and described device comprises:
Pairing request receiving element, for receiving the infrared pairing request that the first bluetooth equipment sends, carries the first bluetooth equipment identification number in described infrared pairing request;
Connection request transmitting element, for sending Bluetooth connection request according to described first bluetooth equipment identification number to described first bluetooth equipment, is connected to set up bluetooth with described first bluetooth equipment.
In the first possible implementation of embodiment of the present invention second aspect, described pairing request receiving element comprises:
Command reception subelement, for receiving the infrared operational order that described first bluetooth equipment sends, carries control information in described infrared operational order;
Size judgment sub-unit, for judging whether the size that takes up room of described control information equals default size, if so, judges described control information as described first bluetooth equipment identifier, described infrared operational order as described infrared pairing request.
In conjunction with the first possible implementation of embodiment of the present invention second aspect or embodiment of the present invention first aspect, in the implementation that the second of embodiment of the present invention second aspect is possible, when described first bluetooth equipment identification number is the MAC Address of described first bluetooth equipment, described size judgment sub-unit is for judging whether the figure place of described control information equals 48.
In conjunction with the implementation of the first or the second of embodiment of the present invention second aspect or embodiment of the present invention first aspect, in the third possible implementation of embodiment of the present invention second aspect, described connection request transmitting element comprises:
Search subelement, for searching for the bluetooth equipment within the scope of self bluetooth recognition;
Equipment determination subelement, for determining described first bluetooth equipment according to described first bluetooth equipment mark from the bluetooth equipment within the scope of self Bluetooth identification that search obtains;
Request sends subelement, for sending described Bluetooth connection request to described first bluetooth equipment.
In conjunction with the first of embodiment of the present invention second aspect or embodiment of the present invention first aspect to any one implementation in the third, in the 4th kind of possible implementation of embodiment of the present invention second aspect, described first bluetooth equipment identification number comprises MAC Address or the mobile device international identity code of described first bluetooth equipment.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, the second bluetooth equipment is by receiving the infrared pairing request carrying the first bluetooth equipment identification number, and then open the Bluetooth function of the second bluetooth equipment, and send Bluetooth connection request according to described first bluetooth equipment identification number to described first bluetooth equipment, be connected with the bluetooth of described first bluetooth equipment to set up.By extracting described first bluetooth equipment mark in infrared pairing request, and then the Bluetooth function opening described second bluetooth equipment connects to set up bluetooth according to described first bluetooth equipment mark, provide a kind of without screen bluetooth equipment can matching method.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of bluetooth equipment matching method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of a kind of bluetooth equipment matching method that another embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of bluetooth equipment contrast means that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the embodiment of pairing request receiving element in the embodiment of the present invention shown in Fig. 3;
Fig. 5 is the structural representation of the embodiment of connection request transmitting element in the embodiment of the present invention shown in Fig. 3;
Fig. 6 A is the waveform schematic diagram of logical one and logical zero in NEC protocol code in the embodiment of the present invention;
Fig. 6 B is the waveform schematic diagram utilizing NEC agreement to encode to MAC Address in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The bluetooth equipment mentioned in the embodiment of the present invention includes but are not limited to Baffle Box of Bluetooth, bluetooth earphone, bluetooth game operation bar, bluetooth keyboard etc. without screen bluetooth equipment, and what it should be noted that the Bluetooth pairing methods mentioned in the embodiment of the present invention has a Bluetooth function to mobile phone, panel computer etc. has screen equipment applicable equally.The application scenarios of the embodiment of the present invention can be the infrared ray sending carrying mobile phone Bluetooth identification with the mobile phone of Bluetooth function to Baffle Box of Bluetooth, Baffle Box of Bluetooth extracts Bluetooth of mobile phone and identifies and determine the mobile phone that above-mentioned Bluetooth of mobile phone mark is corresponding after receiving infrared ray, and then the bluetooth set up between Baffle Box of Bluetooth with above-mentioned mobile phone is connected.
Consult Fig. 1, Fig. 1 is the schematic flow sheet of a kind of bluetooth equipment matching method that the embodiment of the present invention provides, and as shown in the figure, described method can comprise:
S101, receives the infrared pairing request that the first bluetooth equipment sends, carries the first bluetooth equipment identification number in described infrared pairing request.
Concrete, receive the infrared pairing request of described first bluetooth equipment transmission at the second bluetooth equipment after, described second bluetooth equipment opens Bluetooth function automatically.The infrared pairing request that described first bluetooth equipment sends carries the first bluetooth equipment identification number of described first bluetooth equipment, described infrared pairing request can be the infrared ray carrying the first bluetooth equipment identification number, and described first bluetooth equipment identification number can be the MAC Address or mobile device international identity code etc. of the first bluetooth equipment.First bluetooth equipment identification number can be encoded according to NEC agreement by described first bluetooth equipment, and sends to described second bluetooth equipment after being modulated by pulse interval modulation mode with infrared signal.Be the waveform schematic diagram of logical zero and logical one in the protocol code of NEC described in the embodiment of the present invention as shown in Figure 6A, such as, described first bluetooth equipment identification number is MAC Address E9:16:A6:59:59:16, be then the waveform after described MAC Address coding as shown in Figure 6B.
Optionally, the step of S101 specifically can comprise the following steps 11) and 12):
11) the infrared operational order that described first bluetooth equipment sends, is received.
Described second bluetooth equipment receives the infrared operational order that described first bluetooth equipment sends, described operational order carries the control information to described second bluetooth equipment, such as, described control information can be the key assignments of button, and described infrared operational order is the operational order that default described key-value pair is answered.
12), judge whether the size that takes up room of the control information of carrying in described infrared operational order equals default size, if so, described control information is then judged as described first bluetooth equipment identification number, described infrared operational order as described infrared pairing request.
Determining step 11) whether the infrared operational order carrying control information that receives be the infrared pairing request carrying described first bluetooth equipment identification number, concrete, can determining step 11) in the size that takes up room of control information of carrying in the infrared operational order that receives whether equal default size, if so, the infrared operational order carrying control information described in is judged to be the infrared pairing request carrying described first bluetooth equipment identification number.Such as, when described control information is the key assignments of button, described control information is 32, when described control information is the MAC Address of the first bluetooth equipment, described control information is 48, so when the figure place judging the control information that described infrared operational order carries is 48, then judge described control information as the MAC Address of described first bluetooth equipment, described infrared operational order as described infrared pairing request.
In actual applications, described first bluetooth equipment may send multiple infrared operational order to described second bluetooth equipment, such as, controlling Baffle Box of Bluetooth at bluetooth cellular phone plays in the application scenarios of music, described infrared operational order can be the infrared operational order controlling Baffle Box of Bluetooth volume, control the infrared operational order etc. that Baffle Box of Bluetooth song switches, in step 11) and step 12) in can by judging that the size of described control information judges whether described infrared operational order is described infrared pairing request, described first bluetooth equipment can be extracted after determining described infrared pairing request identify and open the Bluetooth function of the second bluetooth equipment, and then send Bluetooth connection request according to the first bluetooth equipment identification number to described first bluetooth equipment, this method can make the second bluetooth equipment effectively identify described infrared pairing request, and open the Bluetooth function of the second bluetooth equipment fast, and then execution subsequent step is connected with the bluetooth of the first bluetooth equipment.
S102, sends Bluetooth connection request according to described first bluetooth equipment identification number to described first bluetooth equipment, is connected to set up bluetooth with described first bluetooth equipment.
Concrete, extracted by the first bluetooth equipment identification number carried in the infrared pairing request received in step S101, the second bluetooth equipment described in this step utilizes the demodulation method corresponding with the modulator approach that described first bluetooth equipment uses to be extracted from described infrared pairing request by described first bluetooth equipment identification number.The first corresponding bluetooth equipment is determined according to the first bluetooth equipment identification number extracted, the first bluetooth equipment needing to be connected with the second bluetooth equipment is determined according to the first bluetooth equipment mark obtained, determine the bluetooth equipment needing to connect relative to the Bluetooth identification selected according to user in prior art, this method also can adopt for not having the bluetooth equipment of screen.After determining described first bluetooth equipment, described second bluetooth equipment sends Bluetooth connection request to described first bluetooth equipment, is connected to make setting up mutually bluetooth between the first bluetooth equipment with the second bluetooth equipment.
In the embodiment of the present invention, the second bluetooth equipment is by receiving the infrared pairing request carrying the first bluetooth equipment identification number, and then open the Bluetooth function of the second bluetooth equipment, and send Bluetooth connection request according to described first bluetooth equipment identification number to described first bluetooth equipment, be connected with the bluetooth of described first bluetooth equipment to set up.By extracting described first bluetooth equipment mark in infrared pairing request, and then the Bluetooth function opening described second bluetooth equipment connects to set up bluetooth according to described first bluetooth equipment mark, provide a kind of without screen bluetooth equipment can matching method.
Consult Fig. 2, Fig. 2 is the schematic flow sheet of the bluetooth equipment matching method that another embodiment of the present invention provides, and as shown in the figure, described method can comprise:
S201, receives the infrared pairing request that the first bluetooth equipment sends, carries the first bluetooth equipment identification number in described infrared pairing request.
Concrete, receive the infrared pairing request of described first bluetooth equipment transmission at the second bluetooth equipment after, Bluetooth function is opened.The infrared pairing request that described first bluetooth equipment sends carries the first bluetooth equipment identification number of described first bluetooth equipment, described first bluetooth equipment identification number can be the MAC Address of the first bluetooth equipment, and described infrared pairing request can be the infrared ray carrying the first bluetooth equipment identification number.First bluetooth equipment identification number can be encoded according to NEC agreement by described first bluetooth equipment, and sends to described second bluetooth equipment after being modulated by pulse interval modulation mode with infrared signal.
S202, searches for the bluetooth equipment within the scope of self bluetooth recognition.
Concrete, second bluetooth equipment is searched for and is identified the bluetooth equipment of self bluetooth recognition scope, such as, bluetooth equipment in own identification range can have multiple, such as, the bluetooth equipment of second self bluetooth recognition scope of bluetooth equipment search has A bluetooth equipment, B bluetooth equipment and C bluetooth equipment, and its bluetooth equipment is designated respective MAC Address, is respectively E9:16:A6:59:59:16, F5:24:36:F9:53:16 and 43:A6:3F:59:29:16.
S203, determines described first bluetooth equipment according to described first bluetooth equipment mark from the bluetooth equipment within the scope of self bluetooth recognition that search obtains.
Concrete, according to the first bluetooth equipment identification number extracted in step S201, search for from step S202 in the bluetooth equipment obtained and choose described first bluetooth equipment, bluetooth equipment such as, in step S202 within the scope of self bluetooth recognition has A bluetooth equipment, B bluetooth equipment and C bluetooth equipment, its bluetooth equipment is designated respective MAC Address, be respectively E9:16:A6:59:59:16, F5:24:36:F9:53:16 and 43:A6:3F:59:29:16, described in step S201, the first bluetooth equipment identification number is E9:16:A6:59:59:16, then determine that A bluetooth equipment is described first bluetooth equipment.
S204, sends described Bluetooth connection request to described first bluetooth equipment.
The first bluetooth equipment determined in step S203 sends Bluetooth connection request, is connected to make setting up mutually bluetooth between the first bluetooth equipment with the second bluetooth equipment.
After in the embodiment of the present invention, the second bluetooth equipment receives the infrared pairing request carrying the first bluetooth equipment identification number, open the Bluetooth function of the second bluetooth equipment, and the bluetooth equipment searched within the scope of self bluetooth recognition, and then send Bluetooth connection request to described first bluetooth equipment after determining described first bluetooth equipment according to described first bluetooth equipment mark from the bluetooth equipment recognized.Described first bluetooth equipment mark can by extracting in infrared pairing request, and then trigger the Bluetooth function that the second bluetooth equipment opens self, and be identified in the bluetooth equipment searched according to described first bluetooth equipment and determine described first bluetooth equipment, concerning user, a key easy and simple to handle triggers, be a kind of without screen bluetooth equipment can, matching method fast and effectively.
Consult Fig. 3, Fig. 3 is the structural representation of a kind of bluetooth equipment contrast means that the embodiment of the present invention provides, and as shown in the figure, described device can comprise: pairing request receiving element 301 and connection request transmitting element 302, wherein:
Pairing request receiving element 301, for receiving the infrared pairing request that the first bluetooth equipment sends, carries the first bluetooth equipment identification number in described infrared pairing request.
Concrete, receive the infrared pairing request of described first bluetooth equipment transmission at pairing request receiving element 301 after, Bluetooth function is opened.The infrared pairing request that described first bluetooth equipment sends carries the first bluetooth equipment identification number of described first bluetooth equipment, described infrared pairing request can be the infrared ray carrying the first bluetooth equipment identification number, and described first bluetooth equipment identification number can be the MAC Address or mobile device international identity identifying code etc. of the first bluetooth equipment.First bluetooth equipment identification number can be encoded according to NEC agreement by described first bluetooth equipment, and sends to described pairing request receiving element 301 after being modulated by pulse interval modulation mode with infrared signal.Be the waveform schematic diagram of logical zero and logical one in the protocol code of NEC described in the embodiment of the present invention as shown in Figure 6A, such as, described first bluetooth equipment identification number is MAC Address E9:16:A6:59:59:16, be then the waveform after described MAC Address coding as shown in Figure 6B.
Optionally, as shown in Figure 4, described pairing request receiving element 301 can comprise command reception subelement 3101 and size judgment sub-unit 3102, wherein:
Command reception subelement 3101, for receiving the infrared operational order that described first bluetooth equipment sends, carries control information in described infrared operational order.
Described command reception subelement 3101 receives the infrared operational order that described first bluetooth equipment sends, described operational order carries the control information to described second bluetooth equipment, such as, described control information can be the key assignments of button, and described infrared operational order is the operational order that default described key-value pair is answered.
Size judgment sub-unit 3102, for judging whether the size that takes up room of described control information equals default size, if so, judges described control information as described first bluetooth equipment identifier, described infrared operational order as described infrared pairing request.
Concrete, size judgment sub-unit 3102 judges whether the infrared operational order carrying control information that described command reception subelement 3101 receives is the infrared pairing request carrying described first bluetooth equipment identification number, can judge in specific implementation whether the size that takes up room of the control information of carrying in described infrared operational order equals default size, if so, size judgment sub-unit 3102 judge described in carry the infrared operational order of control information as the infrared pairing request carrying described first bluetooth equipment identification number.Such as, when described control information is the key assignments of button, described control information is 32, when described control information is the MAC Address of the first bluetooth equipment, described control information is 48, so when described size judgment sub-unit 3102 judges that the figure place of the control information that infrared operational order carries is 48, judge described control information as the MAC Address of described first bluetooth equipment, described infrared operational order as described infrared pairing request.
In actual applications, described first bluetooth equipment may send multiple infrared operational order to described pairing request receiving element 301, such as, controlling Baffle Box of Bluetooth at bluetooth cellular phone plays in the application scenarios of music, described infrared operational order can be the infrared operational order controlling Baffle Box of Bluetooth volume, control the infrared operational order etc. that Baffle Box of Bluetooth song switches, after command reception subelement 3101 receives described infrared control instruction, described size judgment sub-unit 3102 can by judging that the size of described control information judges whether described infrared operational order is described infrared pairing request, described first bluetooth equipment can be extracted after determining described infrared pairing request identify and open the Bluetooth function of the second bluetooth equipment, and then send Bluetooth connection request according to described first bluetooth equipment identification number to described first bluetooth equipment, in this device, size judgment sub-unit 3102 effectively can identify described infrared pairing request and open the Bluetooth function of the second bluetooth equipment fast, and then have connection request transmitting element 302 to perform subsequent step to be connected with the bluetooth of the first bluetooth equipment.
Connection request transmitting element 302, for sending Bluetooth connection request according to described first bluetooth equipment identification number to described first bluetooth equipment, is connected to set up bluetooth with described first bluetooth equipment.
Concrete, the the first bluetooth equipment identification number carried in the infrared pairing request received by pairing request receiving element 301 extracts, and utilize the demodulation method corresponding with the modulator approach that described first bluetooth equipment uses to be extracted from described infrared pairing request by described first bluetooth equipment identification number, determine the first corresponding bluetooth equipment according to the first bluetooth equipment identification number extracted.After determining described first bluetooth equipment, connection request transmitting element 302 sends Bluetooth connection request to described first bluetooth equipment, is connected to make setting up mutually bluetooth between the first bluetooth equipment with the second bluetooth equipment.Connection request transmitting element 302 determines the first bluetooth equipment needing to be connected with the second bluetooth equipment according to the first bluetooth equipment mark obtained, determine to need the bluetooth equipment be connected to compare with the Bluetooth identification selected according to user in prior art, this device also can adopt for not having the bluetooth equipment of screen.
Optionally, as shown in Figure 5, described connection request transmitting element 302 can comprise search subelement 3201, equipment determination subelement 3202 and request and send subelement 3203, wherein:
Search subelement 3201, for searching for the bluetooth equipment within the scope of self bluetooth recognition.
Equipment determination subelement 3202, for determining described first bluetooth equipment according to described first bluetooth equipment mark from the bluetooth equipment within the scope of self Bluetooth identification that search obtains.
Request sends subelement 3203, for sending described Bluetooth connection request to described first bluetooth equipment.
Such as, the bluetooth equipment that self bluetooth recognition scope searched for by search subelement 3201 has A bluetooth equipment, B bluetooth equipment and C bluetooth equipment, its MAC Address is respectively E9:16:A6:59:59:16, F5:24:36:F9:53:16 and 43:A6:3F:59:29:16, the the first bluetooth equipment identification number extracted is E9:16:A6:59:59:16, then equipment determination subelement 3202 determines that A bluetooth equipment is described first bluetooth equipment.
After pairing request receiving element 301 receives the infrared pairing request carrying the first bluetooth equipment identification number, open the Bluetooth function of the second bluetooth equipment, the bluetooth equipment within the scope of self bluetooth recognition searched for by search subelement 3201, and then request sends subelement 3203 after equipment determination subelement 3202 determines described first bluetooth equipment according to described first bluetooth equipment mark from the bluetooth equipment recognized to described first bluetooth equipment transmission Bluetooth connection request.Described first bluetooth equipment mark can by extracting in infrared pairing request, and then trigger the Bluetooth function that the second bluetooth equipment opens self, and be identified in the bluetooth equipment searched according to described first bluetooth equipment and determine described first bluetooth equipment, concerning user, this device key easy and simple to handle triggers, be a kind of without screen bluetooth equipment can, contrast means fast and effectively.
In the embodiment of the present invention, the pairing request receiving element of the second bluetooth equipment is by receiving the infrared pairing request carrying the first bluetooth equipment identification number, and then open the Bluetooth function of the second bluetooth equipment, described connection request transmitting element sends Bluetooth connection request according to described first bluetooth equipment identification number to described first bluetooth equipment, is connected with the bluetooth of described first bluetooth equipment to set up.By extracting described first bluetooth equipment mark in infrared pairing request, and then the Bluetooth function opening described second bluetooth equipment connects to set up bluetooth according to described first bluetooth equipment mark, be a kind of without screen bluetooth equipment can contrast means.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Claims (10)
1. a bluetooth equipment matching method, is characterized in that, comprising:
Receive the infrared pairing request that the first bluetooth equipment sends, in described infrared pairing request, carry the first bluetooth equipment identification number;
Send Bluetooth connection request according to described first bluetooth equipment identification number to described first bluetooth equipment, be connected to set up bluetooth with described first bluetooth equipment.
2. the method for claim 1, is characterized in that, the infrared pairing request carrying the first bluetooth equipment identification number that described reception first bluetooth equipment sends comprises:
Receive the infrared operational order that the first bluetooth equipment sends, in described infrared operational order, carry control information;
Judge whether the size that takes up room of described control information equals default size, if so, then judge described control information as described first bluetooth equipment identification number, described infrared operational order as described infrared pairing request.
3. method as claimed in claim 2, is characterized in that, when described first bluetooth equipment identification number is the MAC Address of described first bluetooth equipment, describedly judges whether the size that takes up room of described control information equals default size and comprise:
Judge whether the figure place of described control information equals 48.
4. the method for claim 1, is characterized in that, described according to described first bluetooth equipment identification number to described first bluetooth equipment send Bluetooth connection request comprise:
Search for the bluetooth equipment within the scope of self bluetooth recognition;
From the bluetooth equipment within the scope of self bluetooth recognition that search obtains, described first bluetooth equipment is determined according to described first bluetooth equipment mark;
Described Bluetooth connection request is sent to described first bluetooth equipment.
5. the method for claim 1, is characterized in that, described first bluetooth equipment identification number comprises MAC Address or the mobile device international identity code of described first bluetooth equipment.
6. a bluetooth equipment contrast means, is characterized in that, comprising:
Pairing request receiving element, for receiving the infrared pairing request that the first bluetooth equipment sends, carries the first bluetooth equipment identification number in described infrared pairing request;
Connection request transmitting element, for sending Bluetooth connection request according to described first bluetooth equipment identification number to described first bluetooth equipment, is connected to set up bluetooth with described first bluetooth equipment.
7. device as claimed in claim 6, it is characterized in that, described pairing request receiving element comprises:
Command reception subelement, for receiving the infrared operational order that the first bluetooth equipment sends, carries control information in described infrared operational order;
Size judgment sub-unit, for judging whether the size that takes up room of described control information equals default size, if so, judges described control information as described first bluetooth equipment identifier, described infrared operational order as described infrared pairing request.
8. device as claimed in claim 7, it is characterized in that, when described first bluetooth equipment identification number is the MAC Address of described first bluetooth equipment, described size judgment sub-unit is specifically for judging whether the figure place of described control information equals 48.
9. device as claimed in claim 5, it is characterized in that, described connection request transmitting element comprises:
Search subelement, for searching for the bluetooth equipment within the scope of self bluetooth recognition;
Equipment determination subelement, for determining described first bluetooth equipment according to described first bluetooth equipment mark from the bluetooth equipment within the scope of self Bluetooth identification that search obtains;
Request sends subelement, for sending described Bluetooth connection request to described first bluetooth equipment.
10. device as claimed in claim 5, it is characterized in that, described first bluetooth equipment identification number comprises MAC Address or the mobile device international identity code of described first bluetooth equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510072114.1A CN104683002A (en) | 2015-02-11 | 2015-02-11 | Method and device for pairing Bluetooth equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510072114.1A CN104683002A (en) | 2015-02-11 | 2015-02-11 | Method and device for pairing Bluetooth equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104683002A true CN104683002A (en) | 2015-06-03 |
Family
ID=53317652
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510072114.1A Pending CN104683002A (en) | 2015-02-11 | 2015-02-11 | Method and device for pairing Bluetooth equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104683002A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105427874A (en) * | 2015-11-11 | 2016-03-23 | 广东欧珀移动通信有限公司 | Method and system for configuring playing parameters of Bluetooth loudspeaker box and mobile terminal |
CN105813226A (en) * | 2016-04-29 | 2016-07-27 | 乐视控股(北京)有限公司 | Document transmission method and device |
WO2016180200A1 (en) * | 2015-07-21 | 2016-11-17 | 中兴通讯股份有限公司 | Mobile terminal pairing method and system, and paired mobile terminals |
CN106550259A (en) * | 2016-12-08 | 2017-03-29 | 深圳Tcl数字技术有限公司 | The matching method and system of remote control and TV |
WO2018032681A1 (en) * | 2016-08-18 | 2018-02-22 | 深圳Tcl数字技术有限公司 | Bluetooth pairing method and bluetooth device |
CN108702376A (en) * | 2016-01-05 | 2018-10-23 | 兹沃公司 | The connection management of smart machine and automobile head unit |
CN108882214A (en) * | 2018-07-09 | 2018-11-23 | 深圳市潮流网络技术有限公司 | A kind of quick matching method of Bluetooth remote control |
CN112333594A (en) * | 2020-11-03 | 2021-02-05 | 深圳市声临科技有限公司 | Audio switching method for Bluetooth headset and Bluetooth sound box |
WO2023020564A1 (en) * | 2021-08-20 | 2023-02-23 | 维沃移动通信有限公司 | Charging box and control method and apparatus therefor, earphone assembly, and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005244345A (en) * | 2004-02-24 | 2005-09-08 | Toshiba Corp | Wireless communications system, wireless communication method, and wireless communications terminal |
CN101645727A (en) * | 2008-08-04 | 2010-02-10 | 达方电子股份有限公司 | Quick connecting method for bluetooth device and input device capable of being connected quickly |
CN103067055A (en) * | 2012-12-26 | 2013-04-24 | 深圳天珑无线科技有限公司 | Bluetooth connecting method and mobile terminal |
KR20130102322A (en) * | 2012-03-07 | 2013-09-17 | 삼성전자주식회사 | Method and apparatus for remote controll of multilple screen |
-
2015
- 2015-02-11 CN CN201510072114.1A patent/CN104683002A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005244345A (en) * | 2004-02-24 | 2005-09-08 | Toshiba Corp | Wireless communications system, wireless communication method, and wireless communications terminal |
CN101645727A (en) * | 2008-08-04 | 2010-02-10 | 达方电子股份有限公司 | Quick connecting method for bluetooth device and input device capable of being connected quickly |
KR20130102322A (en) * | 2012-03-07 | 2013-09-17 | 삼성전자주식회사 | Method and apparatus for remote controll of multilple screen |
CN103067055A (en) * | 2012-12-26 | 2013-04-24 | 深圳天珑无线科技有限公司 | Bluetooth connecting method and mobile terminal |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016180200A1 (en) * | 2015-07-21 | 2016-11-17 | 中兴通讯股份有限公司 | Mobile terminal pairing method and system, and paired mobile terminals |
CN105427874A (en) * | 2015-11-11 | 2016-03-23 | 广东欧珀移动通信有限公司 | Method and system for configuring playing parameters of Bluetooth loudspeaker box and mobile terminal |
CN105427874B (en) * | 2015-11-11 | 2018-06-29 | 广东欧珀移动通信有限公司 | A kind of method, system and mobile terminal that Baffle Box of Bluetooth play parameter is configured |
CN108702376B (en) * | 2016-01-05 | 2021-03-30 | 兹沃公司 | Connection management of smart devices to a vehicle head unit |
CN108702376A (en) * | 2016-01-05 | 2018-10-23 | 兹沃公司 | The connection management of smart machine and automobile head unit |
CN105813226A (en) * | 2016-04-29 | 2016-07-27 | 乐视控股(北京)有限公司 | Document transmission method and device |
WO2018032681A1 (en) * | 2016-08-18 | 2018-02-22 | 深圳Tcl数字技术有限公司 | Bluetooth pairing method and bluetooth device |
CN106550259A (en) * | 2016-12-08 | 2017-03-29 | 深圳Tcl数字技术有限公司 | The matching method and system of remote control and TV |
CN106550259B (en) * | 2016-12-08 | 2019-10-15 | 深圳Tcl数字技术有限公司 | The matching method and system of remote controler and TV |
CN108882214A (en) * | 2018-07-09 | 2018-11-23 | 深圳市潮流网络技术有限公司 | A kind of quick matching method of Bluetooth remote control |
CN108882214B (en) * | 2018-07-09 | 2023-08-22 | 深圳市潮流网络技术有限公司 | Bluetooth remote control rapid pairing method |
CN112333594A (en) * | 2020-11-03 | 2021-02-05 | 深圳市声临科技有限公司 | Audio switching method for Bluetooth headset and Bluetooth sound box |
CN112333594B (en) * | 2020-11-03 | 2022-08-02 | 深圳市声临科技有限公司 | Audio switching method for Bluetooth headset and Bluetooth sound box |
WO2023020564A1 (en) * | 2021-08-20 | 2023-02-23 | 维沃移动通信有限公司 | Charging box and control method and apparatus therefor, earphone assembly, and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104683002A (en) | Method and device for pairing Bluetooth equipment | |
EP3484196B1 (en) | Method and apparatus for registering wireless device in wireless communication system | |
CN105353625A (en) | Method, device and system for binding intelligent equipment | |
CN101873719A (en) | Method, device and system for configuring wireless fidelity (WIFI) parameter | |
CN105338659B (en) | A kind of equipment connection method and terminal | |
CN108650671B (en) | Method, device, mobile terminal, storage medium and system for establishing Bluetooth connection | |
CN104581331A (en) | Pairing method and device | |
CN105636161A (en) | Wireless network access method and device, communication terminal and wireless network access point | |
CN103687061A (en) | Method and terminal for establishing connection | |
CN104536711A (en) | Control method of terminal display | |
CN103220822A (en) | Data transmission method, data transmission device and mobile terminal | |
US9578509B2 (en) | Network connecting device, system and method for same | |
CN104270204A (en) | Testing method and testing equipment for wireless communication module | |
CN104902478A (en) | Method for connection with Wi-Fi network, wireless sound box and terminal | |
CN109725543B (en) | Equipment control code configuration method and device, cloud server and network system | |
CN104469665A (en) | Data processing method and user terminals | |
CN104580705A (en) | Terminal | |
CN104320863A (en) | Wireless network access method applied to mobile terminal and mobile terminal | |
CN104780206A (en) | Data sharing method and device | |
CN104796500A (en) | Terminal and intelligent equipment connecting method and device | |
US10708775B2 (en) | Method for establishing network connection by using WPS, and mobile Wi-Fi device | |
CN106257940A (en) | A kind of iOS device and bluetooth peripheral hardware matching method and device | |
CN110992528A (en) | Intelligent door lock binding method and equipment based on identification code and storage medium | |
CN105227627B (en) | A kind of playback equipment packet control process and user terminal | |
US9400898B2 (en) | Device and method for determining redundancies in near field communication tag detection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20151117 Address after: 518057 Guangdong city of Shenzhen province Nanshan District Hing Road 2 three college industrial comprehensive building area A 501-502 Applicant after: SHENZHEN BONCAST INTERACTIVE TELEVISION CO., LTD. Address before: 518057 Nanshan District hi tech park, Guangdong, North District Rainbow science and Technology Building Applicant before: Shenzhen Tongzhou Electronic Co., Ltd. |
|
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150603 |
|
WD01 | Invention patent application deemed withdrawn after publication |