CN100488073C - Method and system for completing blue-tooth on-line match program by wire interface - Google Patents

Method and system for completing blue-tooth on-line match program by wire interface Download PDF

Info

Publication number
CN100488073C
CN100488073C CNB2004100287120A CN200410028712A CN100488073C CN 100488073 C CN100488073 C CN 100488073C CN B2004100287120 A CNB2004100287120 A CN B2004100287120A CN 200410028712 A CN200410028712 A CN 200410028712A CN 100488073 C CN100488073 C CN 100488073C
Authority
CN
China
Prior art keywords
online
bluetooth
central control
control unit
mode
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.)
Expired - Lifetime
Application number
CNB2004100287120A
Other languages
Chinese (zh)
Other versions
CN1561011A (en
Inventor
余成能
叶承轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2004100287120A priority Critical patent/CN100488073C/en
Publication of CN1561011A publication Critical patent/CN1561011A/en
Application granted granted Critical
Publication of CN100488073C publication Critical patent/CN100488073C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

A method and a system for finishing blue teeth on-line pair program, in which, the system includes at least two blue teeth devices and a central control device. These blue teeth equipments are connected with the central control device in wire which searches for information of the equipments to all blue teeth equipments, such as their address(BD-ADDR), varieties and on-line mode and judges the possible formed on-line pairs from the information and generates a link key for each pair, finally, it writes information of link key and each object into each blue tooth equipment.

Description

Finish the method and system of the online matcher of bluetooth with wireline interface
Technical field
The present invention relates to the online pairing of a kind of bluetooth (bluetooth) (pairing) program.The present invention be more particularly directed to finish the method and system of the online matcher of bluetooth with wired connection.
Background technology
Bluetooth technology is a kind of technology of wireless transmission, can allow table go up and reach luggable computer, personal digital assistant (Personal Digital Assistance; PDA), mobile phone, printer, scanner, digital camera, or even carry out short-range wireless link between the electrical home appliances.The principle of Bluetooth technology is exactly to utilize the frequency of ISM frequency band (being about 2.4-2.48GHz) with wireless mode transmission data and voice.Each device that possesses Bluetooth technology all has the address of standard, bluetooth device address (BD_ADDR) just, can allow you use lower powered radio to carry out arriving one to one the binding of a pair of at the most seven (forming a small-sized network), transmission range can reach 10 meters farthest.Bluetooth technology not only has the high transmission rates of the about 1Mbps of per second (or saying 723.2Kbps), also can use PIN code to carry out scrambled simultaneously.Owing to possess jump (Hopping) rate of per second 1600 times,, have the ability of repairing again after avoiding therefore to the collision that other communications service caused with frequency range.
Fig. 1 is the matcher figure of known bluetooth technology.At first, two a certain equipment of unpaired bluetooth equipment still can be searched the other side with wireless mode earlier.And when certain bluetooth equipment searches another bluetooth equipment, two bluetooth equipments can with wireless mode set up one online.Then can enter online pairing mode, at this moment online both sides must import identical Personal Identification Number (Personal IdentificationNumber; PIN) password (code) just can carry out pairing mode.After pairing mode is successful, can produce the proprietary link key of these two bluetooth equipments (Link key), so this link key can be used to carry out authentication (Authentication), and and then generation encryption key (Encryption key) support encryption.
Known Bluetooth technology needs two bluetooth equipment input PIN code just can carry out online pairing, can produce exclusive link key after the pairing, is used for carrying out the encryption of transmission after authenticating and supporting.But some bluetooth equipment is because volume ratio is less, or just there are not input digit or alphabetical interface originally, for example bluetooth mouse, bluetooth printer or the like, not to add input interface just can support above-mentioned pairing and the authentication procedure of freely importing PIN code mode, cause extra cost burden; Can't obtain link key exactly and produce Encryption Key, and can't support to encrypt.
Wireless in addition online pairing authentication usually can be owing to there being similar devices to exist in the areal, and cause the puzzlement of on-line unit.
Summary of the invention
In view of this, the purpose of this invention is to provide a kind of online matching method, do not need to obtain the essential information of online object through the standard matcher.
The present invention exchanges link key by the wired connection mode, makes the bluetooth equipment of nil and alphabetical input capability, also can match, authenticate, with bluetooth on-line program such as encryption.
For achieving the above object, the invention provides and a kind ofly finish online method of matching of bluetooth and system with wireline interface.The system of the online pairing of execution bluetooth of the present invention comprises that two or more bluetooth equipments are online with a wired mode and a central control unit.At first that institute's desire is online bluetooth equipment and central control unit link, at this moment central control unit can detect these bluetooth equipments, and read the relevant information of each bluetooth equipment, comprising bluetooth device address (BD_ADDR), device category, online mode and other extraneous information.Then, central control unit judges that according to the device category that reads and online mode information institute might form online online combo, and is every group of exclusive link key (link key) of online combo generation.Last more respectively with bluetooth device address, device category, online mode and the corresponding link key of online object in every group of online combo, write each bluetooth equipment.
The wired connection of bluetooth equipment and central control unit is a wired escape way among the present invention, is used for transmitting and information such as reception instruction and response, and such safe lane can be implemented by a serial port interface (RS-232 Port).In addition, wired connection of the present invention can be an internal integrate circuit bus (Inter IC Bus; I 2C Bus), this is because internal integrate circuit bus directly reads and control internal memory, need not additionally increase the software support and receive instruction and send response.
Central control unit of the present invention can be autonomous system and independently operates, or the equipment of main frame master control passive operation, is built in the device in any one bluetooth equipment in more can be.When bluetooth equipment and central control unit were online, central control can utilize near inductor and detect bluetooth equipment, also can use former wired connection to carry out poll or receive the signal of assigning interruption, detected the on line state with bluetooth equipment.
Central control unit of the present invention is judged the combo principle of online combo, can the elasticity adjustment according to various utilizations.API (the Application ProgramInterface that bluetooth equipment of the present invention is included; API) must support to read and write bluetooth device address, device category, online mode, and other extraneous information, offer upper layer software (applications) with the relevant information that these are relevant with online combo, and deposit in the known device database of upper layer software (applications).After online combo was finished, bluetooth equipment can break with central control unit, and utilized the proprietary link key of being distributed to carry out online authentication (authentication), and produced encryption (Encryption) key by link key, encrypted.
For the features and advantages of the present invention can be become apparent, several preferred embodiments cited below particularly, and be described with reference to the accompanying drawings as follows.
Description of drawings
Fig. 1 is the flow chart of the known online matcher of bluetooth;
Fig. 2 is the foundation embodiment that finishes the online pair system of bluetooth with wireline interface of the present invention; And
Fig. 3 is a flow chart of finishing the online matcher of bluetooth with wireline interface of the present invention.
The reference numeral explanation
20-finishes the system of the online pairing of bluetooth with wireline interface;
21-main frame (PC);
22-bluetooth adapter (Bluetooth Dongle);
The 23-central control unit;
The 24-bluetooth mouse;
Online between 25-bluetooth adapter and the main frame;
Online between 26-central control unit and the bluetooth adapter;
Online between 27-central control unit and the bluetooth mouse.
Embodiment
See also Fig. 2, Fig. 2 finishes the embodiment of the system 20 of the online pairing of bluetooth for what the present invention disclosed with wireline interface.The embodiment of Fig. 2 carries out online pairing for a bluetooth mouse 24 and a bluetooth adapter (Bluetooth Dongle) 22.Bluetooth adapter 22 is connected on the computer 21, and it online 25 can be USB (Universal Serial Bus; Or the interface (as PCMCIA) supported of other bluetooth adapter 22 USB), or serial port interface computer 21 supported connected modes such as (RS-232Port).And central control unit 23 can be installed in equipment end, cradle, main frame etc., independently operates and the central control unit 23 of Fig. 2 is an autonomous system.The central control unit 23 of present embodiment is respectively with an internal integrate circuit bus (Inter ICBus; I 2C Bus) 26,27 connect bluetooth adapter 22 and bluetooth mouse 24.And internal integrate circuit bus can directly read and control internal memory, therefore the support that does not need additionally to increase software and Bluetooth protocol (Bluetooth Protocol Stuck) receives instruction and sends response, can finish online pairing of primary bluetooth and authentication.The first pairing of traditional bluetooth must just can be finished in having under the complete Bluetooth protocol support with authentication procedure, and the present invention can match under the situation that start is not finished fully, the exchange link key, and finish the authentication formality.
After central control unit 23 detects bluetooth adapter 22 and bluetooth mouse 24, bluetooth device address (BD_ADDR), device category, online mode and other extraneous information of fetch equipment from the internal memory of these two bluetooth equipments 22,24.So central control unit 23 judges whether to matching the equipment of (need interconnect in other words) according to the device category and the online mode of these two bluetooth equipments.The bluetooth adapter 22 of present embodiment and the equipment of bluetooth mouse for need interconnect (can match in other words), therefore central control unit can produce an exclusive link key, and write in the internal memory of bluetooth mouse 24 by BD_ADDR, device category, online mode and the link key information of internal integrate circuit bus 27 with bluetooth adapter 22, similarly, write in the internal memory of bluetooth adapter 22 by BD_ADDR, device category, online mode and the link key information of internal integrate circuit bus 26 bluetooth mouse 24.Just can make two bluetooth equipments obtain the relevant information of online object via such way of contact, to finish the Bluetooth pairing program.Central control unit 23 at this moment can cut off and bluetooth adapter 22 and bluetooth mouse 24 between online 26,27, bluetooth adapter 22 is finished authentication (Authentication) with the link key that bluetooth mouse 24 just can use pairing to obtain afterwards, and then produce encryption key (Encryption key), and the signal that utilizes this Encryption key will be transferred to the other side is encrypted.
The program diagram that the step of the online matching method of bluetooth of the present invention also can Fig. 3 shows is represented.Two or more need be exchanged the bluetooth equipment and the wired binding of central control unit of on-line information, must have the ability to transmit and information such as reception instruction and response in this wired connection, as use the RS-232 port, or utilize as online internal memory that can direct access device such as internal integrate circuit bus.When bluetooth equipment was assigned to central control unit, central control unit can be used near (touching) inductor in addition or use original wired connection to carry out poll or receive and assign interruption, to detect the bluetooth equipment to assign.Then, central control unit is responsible for detecting the bluetooth equipment of installation, and reads BD_ADDR, device category, online mode and other extraneous information of bluetooth equipment.
Bluetooth device address (BD_ADDR) is according to (the Institute ofElectrical ﹠amp of IEEE; Electronics Engineers; IEEE) defined OUI distribution principle produces, and each bluetooth equipment all has the BD_ADDR of 6 exclusive bytes (48), as each bluetooth equipment of identification.Device category then is used for defining the type of each bluetooth equipment, for example keyboard, mouse, mobile phone, printer, scanner, digital camera, electrical home appliances or the like.Online mode then is to be used for the kind of the service that defines, for example bluetooth Dongle can be earphone gateway end (HSP AG, master), earphone earphone end (HSP HS, slave) or the man-machine interface host side (HID Host, master).Bluetooth earphone can only be worked as earphone earphone end (HSP HS, slave), bluetooth keyboard can only be worked as human interface device end (HIDDevice, slave), therefore central control unit is in pairing, according to the online mode of these bluetooth equipments, learn that bluetooth Dongle can match with bluetooth earphone at (earphone gateway end and earphone earphone end), bluetooth Dongle also can match (man-machine interface host side and human interface device end) with bluetooth keyboard.Because bluetooth earphone and one of bluetooth keyboard are Headphone device, one is human-computer interface device, and two online modes are all the bluetooth of slave device, and such equipment can not be paired into combo.
After central control unit reads these information of online bluetooth equipment, according to device category and online mode judge might form online combo, the combo principle of this online combo can the elasticity adjustment according to various utilizations.After these bluetooth equipment pairings, central control unit can produce an independently link key for every group of online combo, and link key is every group of one 128 exclusive key.So central control unit in every group of online combo corresponding equipment, writes BD_ADDR, device category, online mode and the link key information etc. of online object respectively.
Implement when of the present invention, hardware must provide the interface of wired connection, and must have the ability to receive instruction and send response, or the ability of access memory device directly is provided.Support bluetooth equipment of the present invention that API (Application Program Interface then must be provided; API), offer upper layer software (applications) in order to relevant information (as BD_ADDR, device category, online mode, other extraneous information and link key etc.) with online combo, known API has only the read-write of support BD_ADDR and link key, so the present invention can utilize host computer interface (the HostComputer Interface of Bluetooth specification formulation; HCI) the HIC instruction and incident (VendorSpecific HIC Command ﹠amp that define voluntarily of transmission user; Events).Certainly, if some Embedded bluetooth equipment does not have this HCI interface, then can use other interface mode to formulate API.Upper layer software (applications) can read the BD_ADDR and the link key information of bluetooth equipment by original API, and reads other relevant information by this user-defined new API, for example device category, online mode and extraneous information etc.Upper layer software (applications) then can deposit these data in the known device database of oneself, after for example Widcomm BTW can keep these information, the shortcut of appearance and these online combos can reach on-line operation as long as click these shortcuts in its Bluetooth Space.Upper layer software (applications) after finishing aforesaid operations, (obtain link key that central control unit gives after), follow-up online authentication and cryptographic operation are all identical with program after general Bluetooth pairing operation is finished.
Disclosed online matching method of bluetooth and the system of the present invention finishes online pairing by wired binding, and need not can obtain the essential information of online object through the standard matcher, as BD_ADDR, device category, online mode and link key etc.Produce the bluetooth combo with wired binding like this, allow the bluetooth equipment of nil and alphabetical input capability also can obtain link key, and then authentication and cryptographic operation after supporting.The present invention is owing to utilize the mode of contact to carry out online pairing, and the situation that does not have the online mistake of similar devices in same interval takes place.Bluetooth pairing mode of the present invention obtains extraneous information (for example device category, online mode and other extraneous information) by new interface, can reduce the time of being taken when selecting online object.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; those skilled in the art can do some changes and retouching under the premise without departing from the spirit and scope of the present invention, so protection scope of the present invention is as the criterion with the application's claim.

Claims (10)

1. finish the online method of matching of bluetooth with wireline interface for one kind, comprise the following steps:
One central control unit detects by interconnective two bluetooth equipments of wired mode at least, and reads the respectively relevant information of this bluetooth equipment, comprises bluetooth device address, device category, online mode and other extraneous information;
According to the device category that reads and online mode information judge might form online online combo;
For every group of online combo produces a proprietary link key; And
With bluetooth device address, device category, online mode and this corresponding link key of online object in every group of online combo, write each bluetooth equipment respectively;
The wired connection of wherein said bluetooth equipment and this central control unit is a wired escape way, is used for transmitting and information such as reception instruction and response.
2. as claimed in claim 1ly finish the online method of matching of bluetooth with wireline interface, wherein this wired escape way is selected from one of following: a serial port interface or directly reads and controls the internal integrate circuit bus of internal memory.
3. as claimed in claim 1ly finish the online method of matching of bluetooth with wireline interface, wherein the function mode of this central control unit is selected from one of following: an autonomous system independently operates, the equipment of a main frame master control passive operation and in be built in any one described bluetooth equipment.
4. as claimed in claim 1ly finish the online method of matching of bluetooth with wireline interface, wherein when described bluetooth equipment and this central control unit are online, this central control unit detects the method for the on line state of described bluetooth equipment, is selected from one of following: utilize one near inductor, use former wired connection to carry out poll and receive one to assign the signal of interruption.
5. as claimed in claim 1ly finish the online method of matching of bluetooth with wireline interface, wherein said bluetooth equipment comprises API support read-write bluetooth device address, device category, online mode, reaches other extraneous information, and the online matching method of this bluetooth can also utilize this API that the relevant information of described online combo is offered upper layer software (applications), and deposits a known device database of upper layer software (applications) in.
6. finish the system of the online pairing of bluetooth with wireline interface for one kind, comprising:
One wired safety corridor connects at least two bluetooth equipments in wired mode, and can transmit and receive information such as instruction and response; And
One central control unit, connect described bluetooth equipment by this wired safety corridor, the relevant information that obtains each bluetooth equipment comprises bluetooth device address, device category, online mode and other extraneous information, judge that according to the relevant information that reads institute might form online online combo, and be every group of online combo generation link key exclusively;
After wherein this central control unit combo is finished, with bluetooth device address, device category, online mode and this corresponding link key of online object in every group of online combo, write each bluetooth equipment respectively.
7. as claimed in claim 6ly finish the system of the online pairing of bluetooth with wireline interface, it is one of following that this wired escape way is selected from: a serial port interface, directly read and control an internal integrate circuit bus of internal memory.
8. as claimed in claim 6ly finish the system of the online pairing of bluetooth with wireline interface, wherein the function mode of this central control unit is selected from one of following: an autonomous system independently operates, the equipment of a main frame master control passive operation and in be built in any one described bluetooth equipment.
9. the system that finishes the online pairing of bluetooth with wireline interface as claimed in claim 6, wherein when described bluetooth equipment and this central control unit are online, the method of the on line state of the described bluetooth equipment of this central authorities' control detection is selected from one of following: utilize one near inductor, use former wired connection to carry out poll and receive one to assign the signal of interruption.
10. the system that finishes the online pairing of bluetooth with wireline interface as claimed in claim 6, wherein each bluetooth equipment comprises API support read-write bluetooth device address, device category, online mode, reaches other extraneous information, and this system can also utilize this API that the relevant information of described online combo is offered upper layer software (applications), and deposits in the known device database of upper layer software (applications).
CNB2004100287120A 2004-03-10 2004-03-10 Method and system for completing blue-tooth on-line match program by wire interface Expired - Lifetime CN100488073C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100287120A CN100488073C (en) 2004-03-10 2004-03-10 Method and system for completing blue-tooth on-line match program by wire interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100287120A CN100488073C (en) 2004-03-10 2004-03-10 Method and system for completing blue-tooth on-line match program by wire interface

Publications (2)

Publication Number Publication Date
CN1561011A CN1561011A (en) 2005-01-05
CN100488073C true CN100488073C (en) 2009-05-13

Family

ID=34441274

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100287120A Expired - Lifetime CN100488073C (en) 2004-03-10 2004-03-10 Method and system for completing blue-tooth on-line match program by wire interface

Country Status (1)

Country Link
CN (1) CN100488073C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100446522C (en) * 2005-10-28 2008-12-24 环达电脑(上海)有限公司 Method for implementing handfree speech of mobile phone based on blue tooth technology on PDA equipment
WO2012109286A1 (en) * 2011-02-08 2012-08-16 Hewlette-Packard Development Company, L.P. System and method for linking and sharing resources amongst devices
CN102723971B (en) * 2012-06-26 2014-09-24 宇龙计算机通信科技(深圳)有限公司 Bluetooth device and Bluetooth pairing method thereof
US8935411B2 (en) * 2012-08-22 2015-01-13 Nokia Corporation Method and apparatus for utilizing advertisements to provide information regarding connection setup
US10225714B2 (en) * 2012-11-28 2019-03-05 Salutica Allied Solutions Sdn. Bhd. System and method for transmitting, storing receiving and/or retrieving identification information or data and/or pairing information or data between accessories or associated products and smart electronic devices into and/or from any distinct server or storage media
US9344185B2 (en) 2013-03-27 2016-05-17 BBPOS Limited System and method for secure pairing of bluetooth devices
CN104639213A (en) * 2013-11-11 2015-05-20 上海山景集成电路股份有限公司 Method and system for Bluetooth matching on basis of USB (universal serial bus) cable
CN104019916A (en) * 2014-06-23 2014-09-03 北京旗硕基业科技股份有限公司 Pit temperature testing device for white spirit brewing
CN104796774A (en) * 2015-03-23 2015-07-22 四川长虹电器股份有限公司 Across-device application integrating method and system
CN108616853A (en) * 2017-01-18 2018-10-02 致伸科技股份有限公司 The operating method of Bluetooth pairing system and Bluetooth pairing system

Also Published As

Publication number Publication date
CN1561011A (en) 2005-01-05

Similar Documents

Publication Publication Date Title
TWI231131B (en) Method and system of completing bluetooth for the pairing procedure by wired interface
EP1410571B1 (en) Method for transferring a device identifier block on a second communication link separated from the bluetooth link
EP2068535A1 (en) Portable telephone and access control method
CN102149167A (en) Method for automatic pairing to a wireless network
KR20060119236A (en) Mobile-phone with function of wireless mouse and home-network device and network control system thereof
CN100488073C (en) Method and system for completing blue-tooth on-line match program by wire interface
CN101009565A (en) Secure update system of the robot data and its method
GB2455059A (en) Transmitting device pairing information over multiple available out of band channels/interfaces
CN108901020B (en) Network access method, mobile terminal and server
CN103198265A (en) Method for starting root permission of mobile device
EP1276337B1 (en) Transmitting user's name information between two terminals
KR20180035292A (en) IoT smart home system and IoT service providing server for using the same
CN105516889A (en) Bluetooth connection method and terminal
KR20110083050A (en) System for authentication using pairing function in bluetooth terminal and method thereof
CN106529236A (en) Unlocking method, apparatus and system
CN114760321B (en) Device data synchronization method and device, terminal device and storage medium
WO2015051742A1 (en) Method and device for automatically implementing wireless connection between devices
KR100799794B1 (en) Remote controller having the function of setting network and setting method for wireless network using the same
CN202261285U (en) Duplex input device
CN102447496B (en) Wireless safe online establishing method and wireless system
KR20090127676A (en) System and method for protecting of computer by use of bluetooth
KR100827813B1 (en) Method for pairing between bluetooth devices using tag and bluetooth device for the same
KR20080022296A (en) Method for bluetooth device discovering in mobile communication terminal having bluetooth device
CN105050090A (en) Play scene display control method and play equipment
CN114244540A (en) Authority control method, device, system and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20090513

CX01 Expiry of patent term