CN104639213A - Method and system for Bluetooth matching on basis of USB (universal serial bus) cable - Google Patents
Method and system for Bluetooth matching on basis of USB (universal serial bus) cable Download PDFInfo
- Publication number
- CN104639213A CN104639213A CN201310557607.5A CN201310557607A CN104639213A CN 104639213 A CN104639213 A CN 104639213A CN 201310557607 A CN201310557607 A CN 201310557607A CN 104639213 A CN104639213 A CN 104639213A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- equipment
- bluetooth equipment
- usb
- usb interface
- 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 invention provides a method and a system for Bluetooth matching on the basis of a USB (universal serial bus) cable. The method includes that whether a USB interface of a first Bluetooth device is connected with a second Bluetooth device or not is monitored, if yes, Bluetooth connection between the first Bluetooth device and the second Bluetooth device is established automatically via the USB interface. Obviously, manual matching and NFC (near field communication) automatic matching are integrated, plug-and-play features of the normally-integrated USB interface are adopted, a Bluetooth matching process is triggered by a USB connection cable, Bluetooth matching information is transmitted via the USB interface, and the method and the system for Bluetooth matching on the basis of the USB cable have the advantages of simplicity in operation, low cost and capability of enabling Bluetooth matching.
Description
Technical field
The present invention relates to Bluetooth communication field, particularly relate to a kind of method and system of carrying out Bluetooth pairing based on USB line.
Background technology
Bluetooth is the radiotechnics of a kind of support equipment short haul connection (general 10m in), can carry out wireless messages exchange comprising between numerous equipment such as mobile phone, PDA, wireless headset, notebook computer, related peripherals." bluetooth " technology of utilization, can simplify the communication between mobile communication terminal device effectively, also can communication successfully between simplified apparatus and internet (Internet), thus transfer of data becomes more rapidly efficiently, is radio communication widening road.Bluetooth adopts distributed network structure and fast frequency hopping and short packet technology, support point-to-point and point-to-multipoint delivery, be operated in the i.e. industry of 2.4GHz ISM(of global general-use, science, medical science) frequency range, its data rate is 1Mbps, adopts time division duplex transmission scheme to realize full duplex transmission.
But, before intercoming mutually between bluetooth equipment, first to set up linking bluetooth, namely the Bluetooth matching of bluetooth equipment.Current, Bluetooth pairing technology mainly contains manual pairing and NFC automatic matching two kinds.Manual pairing is the man-machine interface of user by bluetooth equipment hand-manipulated, through steps such as search, selection, links, realizes the pairing of bluetooth equipment.Due to the whole pairing process of needs manual intervention, so manual matching method is comparatively consuming time, cumbersome again.NFC automatic matching utilizes NFC to trigger to carry out Bluetooth pairing processes, whole process does not need user intervention, it is a kind of matching method of automation, compare manual matching method, although simplify operation, but it requires all integrated NFC module of two bluetooth equipments be paired, and causes equipment cost higher thus.
In addition, be in the Chinese patent literature of 201210335410.2 at application number, describe the Bluetooth pairing methods in a kind of test and system, send bluetooth test command by test module to the address acquisition module with its wired connection, this address acquisition module obtains the Bluetooth address of bluetooth module, and this Bluetooth address is sent to this test module, this test module matches according to Bluetooth address and this bluetooth module.Although this testing equipment carries out Bluetooth pairing by the mode of line, be only applicable to this kind of method the production testing accelerating wireless device, and the bluetooth equipment of terminal consumer cannot be used for.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of method and system of carrying out Bluetooth pairing based on USB line, to realize the bluetooth AutoLink between bluetooth equipment.
For achieving the above object and other relevant objects, the invention provides a kind of method of carrying out Bluetooth pairing based on USB line, it at least comprises:
Whether the USB interface of monitoring the first bluetooth equipment has connected the second bluetooth equipment, is if so, then automatically set up the linking bluetooth of described first bluetooth equipment and described second bluetooth equipment by described USB interface.
Preferably, described method also comprises: the relevant information transmitting the first bluetooth equipment by described USB interface starts described second bluetooth equipment and carries out the Bluetooth pairing with the first bluetooth equipment; Described first bluetooth equipment carries out the Bluetooth pairing with described second bluetooth equipment based on the relevant information of the second bluetooth equipment passed back; More preferably, described relevant information comprises address and name information etc.
The present invention also provides a kind of automatic matching system of carrying out Bluetooth pairing based on USB line, and it at least comprises:
Whether monitoring modular, connected the second bluetooth equipment for the USB interface of monitoring the first bluetooth equipment, if so, then exported triggering signal;
Set up module, for automatically being set up the linking bluetooth of described first bluetooth equipment and described second bluetooth equipment by described USB interface based on described triggering signal.
Preferably, described set up module also for: the relevant information transmitting the first bluetooth equipment by described USB interface starts described second bluetooth equipment and carries out the Bluetooth pairing with the first bluetooth equipment, and carries out the Bluetooth pairing with the second bluetooth equipment based on the relevant information of the second bluetooth equipment passed back.
As mentioned above, method and system of carrying out Bluetooth pairing based on USB line of the present invention, have following beneficial effect: simple to operate, with low cost, automatically can carry out Bluetooth pairing etc.
Accompanying drawing explanation
Fig. 1 is shown as the flow chart carrying out the method for Bluetooth pairing based on USB line of the present invention.
Fig. 2 is shown as automatic matching system schematic of carrying out Bluetooth pairing based on USB line of the present invention.
Element numbers explanation
1 automatic matching system
11 monitoring modulars
12 set up module
S1 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
Refer to Fig. 1 to Fig. 2.It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
As shown in the figure, the invention provides a kind of method of carrying out Bluetooth pairing based on USB line.Wherein, method according to the present invention has been come mainly through the automatic matching system in the first bluetooth equipment, and this automatic matching system to include but not limited to be arranged in the first bluetooth equipment and can realize the application module of the present invention program.Wherein, this first bluetooth equipment includes but not limited to: the equipment with bluetooth module, such as, has the mobile phone of bluetooth module, PDA, personal computer, panel computer etc.
In step sl, whether the USB interface of the first bluetooth equipment belonging to described automatic matching system monitoring self is connected with the second bluetooth equipment, if so, the linking bluetooth of described first bluetooth equipment and described second bluetooth equipment is then automatically set up by described USB interface.
Wherein, described second bluetooth equipment comprises the equipment that any one has bluetooth module, preferably, includes but not limited to: have the mobile phone of bluetooth module, PDA, personal computer, panel computer etc.
Particularly, whether the USB interface of the first bluetooth equipment belonging to described automatic matching system monitoring self has connected the second bluetooth equipment, if, the bluetooth module of described second bluetooth equipment is then started by described USB interface, and give described second bluetooth equipment by the related information transmission of the first bluetooth equipment belonging to self, described second bluetooth equipment is made to carry out the Bluetooth pairing with described first bluetooth equipment, simultaneously, the relevant information of self is transmitted back described automatic matching system by USB interface by described second bluetooth equipment, described automatic matching system carries out the Bluetooth pairing with described second bluetooth equipment based on the relevant information of described second bluetooth equipment received, complete the first bluetooth equipment thus to set up with linking of described second bluetooth equipment.
Wherein, described relevant information comprises the information set up required for linking bluetooth, preferably, include but not limited to: address and name information, those information are curable in bluetooth module, such as, the address of the first bluetooth equipment and name information are solidificated in the bluetooth module of the first bluetooth equipment, and address and the name information of described second bluetooth equipment are solidificated in the bluetooth module of the second bluetooth equipment.
Such as, there is the automatic matching system monitoring in the mobile phone of bluetooth module and connected the panel computer with bluetooth module to the USB interface of this mobile phone, then the address of this mobile phone and name information are transferred to described panel computer by this USB interface, described panel computer is made to carry out Bluetooth pairing based on the address of this mobile phone and name information, and by this USB interface, Self address and name information are transmitted back this mobile phone, the automatic matching system of this mobile phone carries out Bluetooth pairing based on the address of this panel computer and name information, realize the linking bluetooth of mobile phone and panel computer thus.
In addition, if due to accident, the first bluetooth equipment belonging to automatic matching system and the second bluetooth equipment lose unpaired message, when needing again to establish the link, again can carry out Bluetooth pairing to set up linking bluetooth between the two by USB interface connected mode.
As shown in Figure 2, the invention provides a kind of automatic matching system of carrying out Bluetooth pairing based on USB line.Described automatic matching system 1 at least comprises: monitoring modular 11 and set up module 12.
Whether the USB interface that described monitoring modular 11 monitors the first bluetooth equipment belonging to self is connected with the second bluetooth equipment, if so, then exports triggering signal.
Particularly, by the supply voltage of the USB interface of monitoring the first bluetooth equipment belonging to self, described monitoring modular 11 determines whether this USB interface is connected with the second bluetooth equipment.
Describedly set up module 12 sets up described first bluetooth equipment and described second bluetooth equipment automatically linking bluetooth by described USB interface.
Wherein, described second bluetooth equipment comprises the equipment that any one has bluetooth module, preferably, includes but not limited to: have the mobile phone of bluetooth module, PDA, personal computer, panel computer etc.
Particularly, whether the USB interface that described monitoring modular 11 monitors the first bluetooth equipment belonging to self has connected the second bluetooth equipment, if so, then triggers describedly to set up module 12.Describedly set up module 12 starts described second bluetooth equipment bluetooth module by described USB interface, and give described second bluetooth equipment by the related information transmission of the first bluetooth equipment belonging to self, described second bluetooth equipment is made to carry out the Bluetooth pairing with described first bluetooth equipment, simultaneously, the relevant information of self is transmitted back by USB interface by described second bluetooth equipment describedly sets up module 12, described module 12 of setting up carries out the Bluetooth pairing with described second bluetooth equipment based on the relevant information of described second bluetooth equipment received, complete the first bluetooth equipment thus to set up with linking of described second bluetooth equipment.
Wherein, described relevant information comprises the information set up required for linking bluetooth, preferably, include but not limited to: address and name information, those information are curable in bluetooth module, such as, the address of the first bluetooth equipment and name information are solidificated in the bluetooth module of the first bluetooth equipment, and address and the name information of described second bluetooth equipment are solidificated in the bluetooth module of the second bluetooth equipment.
Such as, there is the monitoring module monitors in the mobile phone of bluetooth module and connected the panel computer with bluetooth module to the USB interface of this mobile phone, the address of this mobile phone and name information are transferred to described panel computer by this USB interface by the module of setting up then in this mobile phone, described panel computer is made to carry out Bluetooth pairing based on the address of this mobile phone and name information, and by this USB interface, Self address and name information are transmitted back this mobile phone, the module of setting up of this mobile phone carries out Bluetooth pairing based on the address of this panel computer and name information, realize the linking bluetooth of mobile phone and panel computer thus.
In addition, if due to accident, the first bluetooth equipment belonging to automatic matching system 1 and the second bluetooth equipment lose unpaired message, when needing again to establish the link, again can carry out Bluetooth pairing to set up linking bluetooth between the two by USB interface connected mode.
In sum, of the present inventionly carry out the manual pairing of method and system collection of Bluetooth pairing and the advantage of NFC automatic matching based on USB line, utilize the feature of the plug and play of generally integrated USB interface,, to be the invention has the advantages that by USB interface transmission Bluetooth pairing information by USB line trigger Bluetooth pairing process:
1, exercise price is cheap; Because many smart machines being integrated with bluetooth module are also integrated with USB interface at present simultaneously, therefore can realize USB by existing bluetooth module and USB interface and assist bluetooth automatic matching function, not need to invest and add new hardware module.
2, simple to operate: user only needs to connect USB line, automatically can complete the matching operation of bluetooth, without the need to understanding Bluetooth pairing technology, simple and convenient, effectively alleviates the burden of user.
3, fail safe is high: USB interface utilizes short distance shielding conductor to carry out signal transmission, therefore transmits unpaired message by USB interface, can not there is the possibility be ravesdropping, so fail safe is high.
4, low in energy consumption: owing to only just carrying out automatic bluetooth pairing when USB line, not produce extra power consumption when the non-line of USB, therefore low in energy consumption.
So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.
Claims (10)
1. carry out a method for Bluetooth pairing based on USB line, it is characterized in that, described method of carrying out Bluetooth pairing based on USB line at least comprises:
Whether the USB interface of monitoring the first bluetooth equipment has connected the second bluetooth equipment, is if so, then automatically set up the linking bluetooth of described first bluetooth equipment and described second bluetooth equipment by described USB interface.
2. method of carrying out Bluetooth pairing based on USB line according to claim 1, characterized by further comprising: the relevant information transmitting the first bluetooth equipment by described USB interface starts described second bluetooth equipment and carries out the Bluetooth pairing with the first bluetooth equipment; Described first bluetooth equipment carries out the Bluetooth pairing with described second bluetooth equipment based on the relevant information of the second bluetooth equipment passed back.
3. method of carrying out Bluetooth pairing based on USB line according to claim 2, is characterized in that: described relevant information comprises address and name information.
4. the method for carrying out Bluetooth pairing based on USB line according to any one of claims 1 to 3, is characterized in that: described first bluetooth equipment and the second bluetooth equipment include the equipment with bluetooth module.
5. method of carrying out Bluetooth pairing based on USB line according to claim 4, is characterized in that: described in there is bluetooth module equipment comprise mobile phone or panel computer.
6. carry out an automatic matching system for Bluetooth pairing based on USB line, it is characterized in that, described automatic matching system of carrying out Bluetooth pairing based on USB line at least comprises:
Whether monitoring modular, connected the second bluetooth equipment for the USB interface of monitoring the first bluetooth equipment, if so, then exported triggering signal;
Set up module, for automatically being set up the linking bluetooth of described first bluetooth equipment and described second bluetooth equipment by described USB interface based on described triggering signal.
7. automatic matching system of carrying out Bluetooth pairing based on USB line according to claim 6, is characterized in that: described set up module also for:
The relevant information transmitting the first bluetooth equipment by described USB interface starts described second bluetooth equipment and carries out the Bluetooth pairing with the first bluetooth equipment, and carries out the Bluetooth pairing with the second bluetooth equipment based on the relevant information of the second bluetooth equipment passed back.
8. method of carrying out Bluetooth pairing based on USB line according to claim 7, is characterized in that: described relevant information comprises address and name information.
9. the method for carrying out Bluetooth pairing based on USB line according to any one of claim 6 to 8, is characterized in that: described first bluetooth equipment and the second bluetooth equipment include the equipment with bluetooth module.
10. method of carrying out Bluetooth pairing based on USB line according to claim 9, is characterized in that: described in there is bluetooth module equipment comprise mobile phone or panel computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310557607.5A CN104639213A (en) | 2013-11-11 | 2013-11-11 | Method and system for Bluetooth matching on basis of USB (universal serial bus) cable |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310557607.5A CN104639213A (en) | 2013-11-11 | 2013-11-11 | Method and system for Bluetooth matching on basis of USB (universal serial bus) cable |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104639213A true CN104639213A (en) | 2015-05-20 |
Family
ID=53217589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310557607.5A Pending CN104639213A (en) | 2013-11-11 | 2013-11-11 | Method and system for Bluetooth matching on basis of USB (universal serial bus) cable |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104639213A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105185086A (en) * | 2015-09-30 | 2015-12-23 | 刘哲 | Wireless control method and system |
CN105516905A (en) * | 2015-12-25 | 2016-04-20 | 百度在线网络技术(北京)有限公司 | Connection method and device of Bluetooth devices |
CN105872882A (en) * | 2016-04-29 | 2016-08-17 | 乐视控股(北京)有限公司 | Method and terminal for matched connection of Bluetooth earphones and Bluetooth earphones |
CN105898961A (en) * | 2016-01-07 | 2016-08-24 | 深圳市朗科智能电气股份有限公司 | Wireless lighting pairing control system |
CN106792473A (en) * | 2016-12-30 | 2017-05-31 | 百度在线网络技术(北京)有限公司 | Bluetooth connecting method and system, mobile terminal and mobile unit |
CN107231173A (en) * | 2017-04-26 | 2017-10-03 | 上海掌门科技有限公司 | A kind of intelligent watch matching method and system based on data wire |
CN108494966A (en) * | 2018-03-28 | 2018-09-04 | 广东美的环境电器制造有限公司 | The master and slave equipment of apparatus control method, bluetooth, storage medium and clarifier |
CN109862456A (en) * | 2018-12-18 | 2019-06-07 | 努比亚技术有限公司 | Operating mode control method, bluetooth headset, terminal and computer storage medium |
WO2019242042A1 (en) * | 2018-06-19 | 2019-12-26 | 深圳市炬力北方微电子有限公司 | Pairing system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1561011A (en) * | 2004-03-10 | 2005-01-05 | 威盛电子股份有限公司 | Method and system for completing blue-tooth on-line match program by wire interface |
CN102572636A (en) * | 2012-02-03 | 2012-07-11 | 杨晓东 | Bluetooth system and bluetooth headset |
CN102833021A (en) * | 2012-09-11 | 2012-12-19 | Tcl通力电子(惠州)有限公司 | Bluetooth pairing method and system in test |
CN103167366A (en) * | 2011-12-15 | 2013-06-19 | 鸿富锦精密工业(深圳)有限公司 | Bluetooth headset and Bluetooth headset pairing method |
-
2013
- 2013-11-11 CN CN201310557607.5A patent/CN104639213A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1561011A (en) * | 2004-03-10 | 2005-01-05 | 威盛电子股份有限公司 | Method and system for completing blue-tooth on-line match program by wire interface |
CN103167366A (en) * | 2011-12-15 | 2013-06-19 | 鸿富锦精密工业(深圳)有限公司 | Bluetooth headset and Bluetooth headset pairing method |
CN102572636A (en) * | 2012-02-03 | 2012-07-11 | 杨晓东 | Bluetooth system and bluetooth headset |
CN102833021A (en) * | 2012-09-11 | 2012-12-19 | Tcl通力电子(惠州)有限公司 | Bluetooth pairing method and system in test |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105185086A (en) * | 2015-09-30 | 2015-12-23 | 刘哲 | Wireless control method and system |
CN105516905A (en) * | 2015-12-25 | 2016-04-20 | 百度在线网络技术(北京)有限公司 | Connection method and device of Bluetooth devices |
CN105898961A (en) * | 2016-01-07 | 2016-08-24 | 深圳市朗科智能电气股份有限公司 | Wireless lighting pairing control system |
CN105898961B (en) * | 2016-01-07 | 2019-03-12 | 深圳市朗科智能电气股份有限公司 | Wireless lighting matches control system |
CN105872882A (en) * | 2016-04-29 | 2016-08-17 | 乐视控股(北京)有限公司 | Method and terminal for matched connection of Bluetooth earphones and Bluetooth earphones |
CN106792473A (en) * | 2016-12-30 | 2017-05-31 | 百度在线网络技术(北京)有限公司 | Bluetooth connecting method and system, mobile terminal and mobile unit |
CN107231173A (en) * | 2017-04-26 | 2017-10-03 | 上海掌门科技有限公司 | A kind of intelligent watch matching method and system based on data wire |
CN108494966A (en) * | 2018-03-28 | 2018-09-04 | 广东美的环境电器制造有限公司 | The master and slave equipment of apparatus control method, bluetooth, storage medium and clarifier |
WO2019242042A1 (en) * | 2018-06-19 | 2019-12-26 | 深圳市炬力北方微电子有限公司 | Pairing system |
CN109862456A (en) * | 2018-12-18 | 2019-06-07 | 努比亚技术有限公司 | Operating mode control method, bluetooth headset, terminal and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104639213A (en) | Method and system for Bluetooth matching on basis of USB (universal serial bus) cable | |
US10474452B2 (en) | Firmware upgrade through GPIO port via UART protocol | |
CN105045548A (en) | Wireless screen transmission method, expansion equipment and wireless screen transmission system | |
CN103581598A (en) | Interconnection and interworking and multi-screen interaction equipment, system and implementation method | |
CN105577717B (en) | Control method and system compatible with connection of multiple different electrical appliances | |
CN105453609A (en) | Method and apparatus for Wi-Fi direct connection, and cross-reference of related application(s) | |
CN106227646A (en) | A kind of acquisition, the method and apparatus sending electric quantity for electronic equipment | |
CN104037885A (en) | Portable power source, working condition monitoring system of portable power source and monitoring management method of portable power source | |
CN103401898A (en) | Method for transmitting data between mobile terminals and mobile terminals | |
CN218068838U (en) | Device for displaying real-time state parameters of keyboard and mouse | |
CN104102359B (en) | With wired and radio function the electronic installation of switching | |
US9971591B2 (en) | Mobile terminal, power adapter, and upgrade method thereof | |
CN204731623U (en) | A kind of intelligent control system | |
CN105100000B (en) | Interface conversion device and network system | |
CN112492433A (en) | Charging box, wireless earphone and wireless earphone charging system | |
CN211152101U (en) | Wireless screen transmission equipment and interaction system | |
CN202710751U (en) | Compass directing and monitoring equipment | |
CN105991788A (en) | Method for realizing slave network address assignment based on NFC communication | |
CN105607913B (en) | The operation processing method and device of interconnecting application | |
CN218847045U (en) | Wireless networking universal intelligent detonator | |
CN203632691U (en) | RS485 network node equipment communication detector | |
CN103167432A (en) | System and method for achieving near-field information sending based on bluetooth transmission protocol | |
CN106130829B (en) | Bus test method and device | |
CN206363306U (en) | A kind of terminal and its serial communication circuit | |
CN203445909U (en) | Intercom terminal parameter configuration system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150520 |
|
RJ01 | Rejection of invention patent application after publication |