CN103840860A - Bluetooth communication method and device - Google Patents

Bluetooth communication method and device Download PDF

Info

Publication number
CN103840860A
CN103840860A CN201410067942.1A CN201410067942A CN103840860A CN 103840860 A CN103840860 A CN 103840860A CN 201410067942 A CN201410067942 A CN 201410067942A CN 103840860 A CN103840860 A CN 103840860A
Authority
CN
China
Prior art keywords
equipment
service
bluetooth
protocol
bluetooth address
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.)
Granted
Application number
CN201410067942.1A
Other languages
Chinese (zh)
Other versions
CN103840860B (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.)
Tendyron Technology Co Ltd
Original Assignee
Tendyron Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tendyron Technology Co Ltd filed Critical Tendyron Technology Co Ltd
Priority to CN201410067942.1A priority Critical patent/CN103840860B/en
Publication of CN103840860A publication Critical patent/CN103840860A/en
Application granted granted Critical
Publication of CN103840860B publication Critical patent/CN103840860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a Bluetooth communication method and device. The method includes the following steps that a first device obtains a Bluetooth connection request sent by a second device; the first device obtains a Bluetooth address of the second device from the Bluetooth connection request and sets up physical-layer communication with the second device; the first device obtains a query message of a service finding protocol transmitted by the second device; before a responding message corresponding to the query message of the service finding protocol is transmitted, the first device judges whether the Bluetooth address of the second device is in pre-stored target Bluetooth addresses or not; if yes, the first device searches for a universal unique identification code corresponding to a service of an ipod accessory protocol, obtains protocol information corresponding to the universal unique identification code and obtains description information of the service of the ipod accessory protocol from the protocol information; the first device transmits the responding message of the service finding protocol; the first device carries out Bluetooth communication with the second device according to the protocol information corresponding to the universal unique identification code.

Description

A kind of Bluetooth communication method and device
Technical field
The present invention relates to a kind of electronic technology field, relate in particular to a kind of Bluetooth communication method and device.
Background technology
At present, operating system is that the equipment that the Apple of ios device produces has blue-teeth data transfer function, but in the time using bluetooth to carry out transfer of data, the equipment of Apple only can be set up Bluetooth communication with the equipment that belongs to Apple, cannot set up and communicate by letter with the equipment with Bluetooth function of other manufacturer production (as mobile phone, panel computer or intelligent cipher key equipment etc.), therefore it is problem demanding prompt solution that the equipment that, how to make not belong to Apple can be set up Bluetooth communication with the equipment of Apple.
Summary of the invention
Main purpose of the present invention is to provide a kind of Bluetooth communication method and device, is intended to address the above problem.
For achieving the above object, technical scheme of the present invention is specifically achieved in that
A kind of Bluetooth communication method, comprising: the first equipment obtains the Bluetooth connection request that the second equipment sends; Described the first equipment obtains the Bluetooth address of described the second equipment from described Bluetooth connection request, and according to described Bluetooth connection request, the communication connection of setting up physical layer with described the second equipment; After the communication connection of described physical layer has been set up, described the first equipment obtains the query messages of the service discovery protocol of described the second equipment transmission by the communication connection of described physical layer; Before response message corresponding to the query messages that sends described service discovery protocol, whether the Bluetooth address that described the first equipment judges described the second equipment is in pre-stored target Bluetooth address, and wherein said target Bluetooth address is that operating system is the Bluetooth address of the equipment of IOS; If the Bluetooth address of described the second equipment is in described target Bluetooth address, described the first equipment is searched the general unique identifier of the service correspondence of ipod accessory agreement, and finding after described general unique identifier, obtain protocol information corresponding to described general unique identifier, from described protocol information, obtain the descriptor of the service of ipod accessory agreement, the descriptor of wherein said ipod accessory protocol service at least comprises the channel number information of the serial cable simulation protocol layer that the service of described ipod accessory agreement uses; Obtaining after the general unique identifier of service correspondence of described ipod accessory agreement and the descriptor of the service of described ipod accessory agreement, described the first equipment sends the response message of described service discovery protocol, and the response message of wherein said service discovery protocol comprises the general unique identifier of service correspondence of ipod accessory agreement and the descriptor of the service of described ipod accessory agreement; After communication port corresponding to channel number that serial cable simulation protocol layer detected set up, described the first equipment carries out Bluetooth communication according to protocol information corresponding to described general unique identifier and described the second equipment.
Wherein, the general unique identifier of the service correspondence of described ipod accessory agreement is 0x00000000decafadedecadeafdecacaff.
Wherein, described target Bluetooth address obtains in the following way, comprise: described the first device access records the website that operating system is the Bluetooth address of the equipment of IOS, and download from described website the website that described operating system is the Bluetooth address of the equipment of IOS.
A kind of Bluetooth communication device, comprising: the first acquisition module, the Bluetooth connection request sending for obtaining the second equipment; The second acquisition module, for obtaining the Bluetooth address of described the second equipment from described Bluetooth connection request; Set up module, for according to described Bluetooth connection request, the communication connection of setting up physical layer with described the second equipment; The 3rd acquisition module, after having set up in the communication connection of described physical layer, obtains the query messages of the service discovery protocol of described the second equipment transmission by the communication connection of described physical layer; Judge module, for before response message corresponding to the query messages that sends described service discovery protocol, whether the Bluetooth address that judges described the second equipment is in pre-stored target Bluetooth address, and wherein said target Bluetooth address is that operating system is the Bluetooth address of the equipment of IOS; Search module, if for the Bluetooth address of described the second equipment at described target Bluetooth address, search the general unique identifier of the service correspondence of ipod accessory agreement; The 4th acquisition module, for finding after described general unique identifier, obtain protocol information corresponding to described general unique identifier, from described protocol information, obtain the descriptor of the service of ipod accessory agreement, the descriptor of wherein said ipod accessory protocol service at least comprises the channel number information of the serial cable simulation protocol layer that the service of described ipod accessory agreement uses; Sending module, for obtaining after the general unique identifier of service correspondence of described ipod accessory agreement and the descriptor of the service of described ipod accessory agreement, send the response message of described service discovery protocol, the response message of wherein said service discovery protocol comprises the descriptor of the corresponding general unique identifier of ipod accessory agreement and the service of described ipod accessory agreement;
Communication module, after having set up at communication port corresponding to channel number that serial cable simulation protocol layer detected, carries out Bluetooth communication according to protocol information corresponding to described general unique identifier and described the second equipment.
Wherein, the general unique identifier of the service correspondence of described ipod accessory agreement is 0x00000000decafadedecadeafdecacaff.
Wherein, described target Bluetooth address obtains in the following way, comprising: it is the website of the Bluetooth address of the equipment of IOS that Visitor Logs has operating system, and downloads from described website the website that described operating system is the Bluetooth address of the equipment of IOS.
As seen from the above technical solution provided by the invention, initiate after Bluetooth connection request at the second equipment, determine by obtaining the Bluetooth address of the second equipment whether the second equipment is apple equipment, after definite the second equipment is apple equipment, obtain general unique identifier and the protocol information of the service correspondence of ipod accessory agreement, respond the Bluetooth connection request that the second equipment is initiated, make the equipment that does not belong to Apple set up Bluetooth communication with the equipment of Apple.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of Bluetooth communication method embodiment provided by the invention;
Fig. 2 is the structural representation of Bluetooth communication device embodiment provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on embodiments of the invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to protection scope of the present invention.
In description of the invention, it will be appreciated that, term " " center ", " longitudinally ", " laterally ", " on ", D score, " front ", " afterwards ", " left side ", " right side ", " vertically ", " level ", " top ", " end ", " interior ", orientation or the position relationship of instructions such as " outward " are based on orientation shown in the drawings or position relationship, only the present invention for convenience of description and simplified characterization, instead of device or the element of instruction or hint indication must have specific orientation, with specific orientation structure and operation, therefore can not be interpreted as limitation of the present invention.In addition, term " first ", " second " be only for describing object, and can not be interpreted as instruction or hint relative importance or quantity or position.
In description of the invention, it should be noted that, unless otherwise clearly defined and limited, term " installation ", " being connected ", " connection " should be interpreted broadly, and for example, can be to be fixedly connected with, and can be also to removably connect, or connect integratedly; Can be mechanical connection, can be also electrical connection; Can be to be directly connected, also can indirectly be connected by intermediary, can be the connection of two element internals.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete meaning in the present invention.
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in further detail.
Fig. 1 is the schematic flow sheet of Bluetooth communication method embodiment provided by the invention.Shown in Fig. 1, embodiment of the method comprises:
Step 101, the first equipment obtain the Bluetooth connection request that the second equipment sends.
Wherein, described Bluetooth connection request is initiated by the second equipment, for triggering bluetooth establishment of connection.
Wherein, described the first equipment can be mobile terminal or intelligent cipher key equipment, and wherein this intelligent cipher key equipment has digital signature and/or dynamic password systematic function.
Step 102, described the first equipment obtain the Bluetooth address of described the second equipment from described Bluetooth connection request, and according to described Bluetooth connection request, the communication connection of setting up physical layer with described the second equipment.
Wherein, described Bluetooth address can be MAC Address, receiving Bluetooth connection request, described the first equipment is according to this Bluetooth connection request, determine that the second equipment need to set up bluetooth with the first equipment and be connected, therefore respond the Bluetooth connection request of this second equipment, the communication connection of setting up physical layer with the second equipment.
Step 103, after the communication connection of described physical layer has been set up, described the first equipment obtains by the communication connection of described physical layer the query messages of service discovery protocol that described the second equipment sends.
Wherein, the effect of described service discovery protocol (Service Discovery Protocol) is that the opposite equip. service that can provide and the characteristic of each service are provided.SDP agreement is divided into client (client) and two kinds of roles of server (server), initiatively initiate the bluetooth equipment of inquiry request of service discovery protocol as client, receive the bluetooth equipment of inquiry request of the service discovery protocol that other equipment send as server end.In the present embodiment, the first equipment is SDP sever, and the second equipment is SDP client.
Step 104, sending before the response message that the query messages of described service discovery protocol is corresponding, whether the Bluetooth address that described the first equipment judges described the second equipment is in pre-stored target Bluetooth address, and wherein said target Bluetooth address is that operating system is the Bluetooth address of the equipment of IOS.
SDP response message is different from directly sending in prior art, and the present embodiment, before sending this SDP response message, first judges whether the initiator of Bluetooth communication is the equipment of Apple.Wherein, judge that whether this initiator is that the mode of the equipment of Apple is to judge by Bluetooth address, i.e. target Bluetooth address in the present embodiment.Wherein, described target Bluetooth address can be to import in the first equipment by the input interface of the first equipment in advance, also can be that the first device access records the website that operating system is the Bluetooth address of the equipment of IOS, and download from described website the website that described operating system is the Bluetooth address of the equipment of IOS.For example, SIG(Special Interest Group) the responsible Bluetooth address that distributes each manufacturer, on the website of SIG, (www.bluetooth.org) can find the shared Bluetooth address of each manufacturer.
If the Bluetooth address of described the second equipment of step 105 is in described target Bluetooth address, described the first equipment is searched the general unique identifier of the service correspondence of ipod accessory agreement, and finding after described general unique identifier, obtain protocol information corresponding to described general unique identifier, from described protocol information, obtain the descriptor of the service of ipod accessory agreement, the descriptor of wherein said ipod accessory protocol service at least comprises the channel number information of the serial cable simulation protocol layer that the service of described ipod accessory agreement uses.
Wherein, have multiple services in SDP server, each service identifies by general unique identifier (universally unique identifier, UUID).Each service can, to there being one or more agreements (profile) information, have in each protocol information and comprise multiple parameter informations.The service of ipod accessory agreement (iPod Accessory Protocol, IAP) is as a service in SDP sever, is the agreement that the equipment of Apple and the data of third party device are used while being connected.General unique identifier corresponding to described IAP service is 0x00000000decafadedecadeafdecacaff.Its protocol information comprises multiple parameter informations, the transformation parameter connecting for blue-teeth data transmission is set.Wherein said transformation parameter comprises that described IAP serves the channel number information of the serial cable simulation protocol layer using.Wherein said serial cable simulation protocol (RFCOMM) is for providing the transparent control of logic-based link and adapting protocol (Logical Link Control and Adaptation Protocol, L2CAP) serial-port of agreement, is supported in the communication channel up to 60 tunnels between 2 bluetooth equipments.The transfer of data of the agreement on each upper strata is carried out in RFCOMM communication channel, and before two bluetooth equipments use profile transmission data, need connect by specifying the channel number of the RFCOMM that profile is corresponding set up data.
Wherein, step 104 to step 105 can obtain carrying out immediately after Bluetooth address in step 102, also can after step 103 receives SDP inquiry request, carry out again; Wherein, in step 102, obtain carrying out immediately after Bluetooth address, make, before receiving SDP inquiry request, to have carried out decision operation, thereby shorten the response time to SDP inquiry request.
Step 106, obtaining after the general unique identifier of service correspondence of described ipod accessory agreement and the descriptor of the service of described ipod accessory agreement, the first equipment sends the response message of described service discovery protocol, and the response message of wherein said service discovery protocol comprises the general unique identifier of service correspondence of ipod accessory agreement and the descriptor of the service of described ipod accessory agreement.
Wherein, the UUID of the IAP in the response message of described service discovery protocol supports IAP service for first equipment of informing to the second equipment, can set up bluetooth with it and be connected; And the descriptor of described IAP is to inform and make the parameter information that the Bluetooth communication of the first equipment connects the first equipment trigger the second equipment by the response message of this transmission service discovery protocol and complete blue-teeth data establishment of connection to the second equipment.
Step 107, after communication port corresponding to channel number that serial cable simulation protocol layer detected set up, described the first equipment carries out Bluetooth communication according to protocol information corresponding to described general unique identifier and described the second equipment.
Embodiment of the method provided by the invention, initiate after Bluetooth connection request at the second equipment, determine by obtaining the Bluetooth address of the second equipment whether the second equipment is apple equipment, after definite the second equipment is apple equipment, obtain general unique identifier and the protocol information of the service correspondence of ipod accessory agreement, respond the Bluetooth connection request that the second equipment is initiated, make the equipment that does not belong to Apple set up Bluetooth communication with the equipment of Apple.
Fig. 2 is the structural representation of Bluetooth communication device embodiment provided by the invention.Fig. 2 shown device comprises:
The first acquisition module 201, the Bluetooth connection request sending for obtaining the second equipment;
The second acquisition module 202, is connected with described the first acquisition module 201, for obtain the Bluetooth address of described the second equipment from described Bluetooth connection request;
Set up module 203, be connected with described the first acquisition module 201, for according to described Bluetooth connection request, the communication connection of setting up physical layer with described the second equipment;
The 3rd acquisition module 204, is connected with the described module 203 of setting up, and after having set up in the communication connection of described physical layer, obtains the query messages of the service discovery protocol of described the second equipment transmission by the communication connection of described physical layer;
Judge module 205, be connected with described the 3rd acquisition module 204 with described the second acquisition module 202, for before response message corresponding to the query messages that sends described service discovery protocol, whether the Bluetooth address that judges described the second equipment is in pre-stored target Bluetooth address, and wherein said target Bluetooth address is that operating system is the Bluetooth address of the equipment of IOS;
Search module 206, be connected with described judge module 205, if for the Bluetooth address of described the second equipment at described target Bluetooth address, search the general unique identifier of the service correspondence of ipod accessory agreement;
The 4th acquisition module 207, be connected with the described module 206 of searching, for finding after described general unique identifier, obtain protocol information corresponding to described general unique identifier, from described protocol information, obtain the descriptor of the service of ipod accessory agreement, the descriptor of wherein said ipod accessory protocol service at least comprises the channel number information of the serial cable simulation protocol layer that the service of described ipod accessory agreement uses;
Sending module 208, be connected with described the 4th acquisition module 207, for obtaining after the general unique identifier of service correspondence of described ipod accessory agreement and the descriptor of the service of described ipod accessory agreement, send the response message of described service discovery protocol, the response message of wherein said service discovery protocol comprises the general unique identifier of service correspondence of ipod accessory agreement and the descriptor of the service of described ipod accessory agreement;
Communication module 209, be connected with described sending module 208, for after communication port corresponding to channel number that serial cable simulation protocol layer detected set up, carry out Bluetooth communication according to protocol information corresponding to described general unique identifier and described the second equipment.
Wherein, the general unique identifier of the service correspondence of described ipod accessory agreement is 0x00000000decafadedecadeafdecacaff.
Wherein, described target Bluetooth address obtains in the following way, comprising: it is the website of the Bluetooth address of the equipment of IOS that Visitor Logs has operating system, and downloads from described website the website that described operating system is the Bluetooth address of the equipment of IOS.
Certainly, above-mentioned Module Division just a kind of signal is divided, and the present invention is not limited thereto.For example, the first acquisition module 201, the second acquisition module 202, the 3rd acquisition module 204 and the 4th acquisition module 207 can be that a module realizes actually.As long as therefore can realize the Module Division of object of the present invention, all should belong to protection scope of the present invention.
Device embodiment provided by the invention, initiate after Bluetooth connection request at the second equipment, determine by obtaining the Bluetooth address of the second equipment whether the second equipment is apple equipment, after definite the second equipment is apple equipment, obtain general unique identifier and the protocol information of the service correspondence of ipod accessory agreement, respond the Bluetooth connection request that the second equipment is initiated, make the equipment that does not belong to Apple set up Bluetooth communication with the equipment of Apple.
Any process of otherwise describing in flow chart or at this or method are described and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with being stored in software or the firmware carried out in memory and by suitable instruction execution system.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic for data-signal being realized to the logic gates of logic function, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a kind of computer-readable recording medium, this program, in the time carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium using the form of software function module.
The above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And specific features, structure, material or the feature of description can be with suitable mode combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, those of ordinary skill in the art can change above-described embodiment within the scope of the invention in the situation that not departing from principle of the present invention and aim, amendment, replacement and modification.Scope of the present invention is by claims and be equal to and limit.

Claims (6)

1. a Bluetooth communication method, is characterized in that, comprising:
The first equipment obtains the Bluetooth connection request that the second equipment sends;
Described the first equipment obtains the Bluetooth address of described the second equipment from described Bluetooth connection request, and according to described Bluetooth connection request, the communication connection of setting up physical layer with described the second equipment;
After the communication connection of described physical layer has been set up, described the first equipment obtains the query messages of the service discovery protocol of described the second equipment transmission by the communication connection of described physical layer;
Before response message corresponding to the query messages that sends described service discovery protocol, whether the Bluetooth address that described the first equipment judges described the second equipment is in pre-stored target Bluetooth address, and wherein said target Bluetooth address is that operating system is the Bluetooth address of the equipment of IOS;
If the Bluetooth address of described the second equipment is in described target Bluetooth address, described the first equipment is searched the general unique identifier of the service correspondence of ipod accessory agreement, and finding after described general unique identifier, obtain protocol information corresponding to described general unique identifier, from described protocol information, obtain the descriptor of the service of ipod accessory agreement, the descriptor of wherein said ipod accessory protocol service at least comprises the channel number information of the serial cable simulation protocol layer that the service of described ipod accessory agreement uses;
Obtaining after the general unique identifier of service correspondence of described ipod accessory agreement and the descriptor of the service of described ipod accessory agreement, described the first equipment sends the response message of described service discovery protocol, and the response message of wherein said service discovery protocol comprises the general unique identifier of service correspondence of ipod accessory agreement and the descriptor of the service of described ipod accessory agreement;
After communication port corresponding to channel number that serial cable simulation protocol layer detected set up, described the first equipment carries out Bluetooth communication according to protocol information corresponding to described general unique identifier and described the second equipment.
2. method according to claim 1, is characterized in that, the general unique identifier of the service correspondence of described ipod accessory agreement is 0x00000000decafadedecadeafdecacaff.
3. method according to claim 1 and 2, is characterized in that, described target Bluetooth address obtains in the following way, comprising:
Described the first device access records the website that operating system is the Bluetooth address of the equipment of IOS, and downloads from described website the website that described operating system is the Bluetooth address of the equipment of IOS.
4. a Bluetooth communication device, is characterized in that, comprising:
The first acquisition module, the Bluetooth connection request sending for obtaining the second equipment;
The second acquisition module, for obtaining the Bluetooth address of described the second equipment from described Bluetooth connection request;
Set up module, for according to described Bluetooth connection request, the communication connection of setting up physical layer with described the second equipment;
The 3rd acquisition module, after having set up in the communication connection of described physical layer, obtains the query messages of the service discovery protocol of described the second equipment transmission by the communication connection of described physical layer;
Judge module, for before response message corresponding to the query messages that sends described service discovery protocol, whether the Bluetooth address that judges described the second equipment is in pre-stored target Bluetooth address, and wherein said target Bluetooth address is that operating system is the Bluetooth address of the equipment of IOS;
Search module, if for the Bluetooth address of described the second equipment at described target Bluetooth address, search the general unique identifier of the service correspondence of ipod accessory agreement;
The 4th acquisition module, for finding after described general unique identifier, obtain protocol information corresponding to described general unique identifier, from described protocol information, obtain the descriptor of the service of ipod accessory agreement, the descriptor of wherein said ipod accessory protocol service at least comprises the channel number information of the serial cable simulation protocol layer that the service of described ipod accessory agreement uses;
Sending module, for obtaining after the general unique identifier of service correspondence of described ipod accessory agreement and the descriptor of the service of described ipod accessory agreement, send the response message of described service discovery protocol, the response message of wherein said service discovery protocol comprises the general unique identifier of service correspondence of ipod accessory agreement and the descriptor of the service of described ipod accessory agreement;
Communication module, after having set up at communication port corresponding to channel number that serial cable simulation protocol layer detected, carries out Bluetooth communication according to protocol information corresponding to described general unique identifier and described the second equipment.
5. device according to claim 4, is characterized in that, the general unique identifier of the service correspondence of described ipod accessory agreement is 0x00000000decafadedecadeafdecacaff.
6. according to the device described in claim 4 or 5, it is characterized in that, described target Bluetooth address obtains in the following way, comprising:
It is the website of the Bluetooth address of the equipment of IOS that Visitor Logs has operating system, and downloads from described website the website that described operating system is the Bluetooth address of the equipment of IOS.
CN201410067942.1A 2014-02-27 2014-02-27 A kind of Bluetooth communication method and device Active CN103840860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410067942.1A CN103840860B (en) 2014-02-27 2014-02-27 A kind of Bluetooth communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410067942.1A CN103840860B (en) 2014-02-27 2014-02-27 A kind of Bluetooth communication method and device

Publications (2)

Publication Number Publication Date
CN103840860A true CN103840860A (en) 2014-06-04
CN103840860B CN103840860B (en) 2016-08-17

Family

ID=50804051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410067942.1A Active CN103840860B (en) 2014-02-27 2014-02-27 A kind of Bluetooth communication method and device

Country Status (1)

Country Link
CN (1) CN103840860B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744466A (en) * 2016-01-26 2016-07-06 广东欧珀移动通信有限公司 Bluetooth equipment connection method and Bluetooth equipment
CN106601262A (en) * 2016-12-15 2017-04-26 北京塞宾科技有限公司 High definition Bluetooth audio frequency transmitting and receiving terminal and communication system
CN106612368A (en) * 2015-10-27 2017-05-03 比亚迪股份有限公司 Voice collection system, voice collector and information transmission control method
CN106851531A (en) * 2016-12-15 2017-06-13 北京塞宾科技有限公司 A kind of Bluetooth audio frequency transmission method
CN106900079A (en) * 2015-12-18 2017-06-27 展讯通信(上海)有限公司 Bluetooth connecting method and device
CN106900080A (en) * 2015-12-18 2017-06-27 展讯通信(上海)有限公司 Bluetooth connecting method and device
CN107835238A (en) * 2017-10-31 2018-03-23 乐鑫信息科技(上海)有限公司 A kind of method for solving attribute database and repeating to find
CN108924642A (en) * 2018-07-16 2018-11-30 北京达佳互联信息技术有限公司 Stream media live broadcasting method, device and computer equipment and storage medium
CN111277986A (en) * 2020-03-06 2020-06-12 北京百瑞互联技术有限公司 Method for improving Bluetooth transmission speed of iOS device
CN111918250A (en) * 2019-05-09 2020-11-10 阿尔卑斯通信器件技术(上海)有限公司 Bluetooth communicator and Bluetooth communication method
CN112789934A (en) * 2018-12-25 2021-05-11 华为技术有限公司 Bluetooth service query method and electronic equipment
CN113329120A (en) * 2020-02-28 2021-08-31 卡西欧计算机株式会社 Communication device, communication system, and communication method
CN113365258A (en) * 2014-09-15 2021-09-07 华为技术有限公司 Communication method and system of wearable device and related device
CN113438628A (en) * 2021-06-23 2021-09-24 京东科技控股股份有限公司 Method and device for data interaction

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101646221A (en) * 2008-08-08 2010-02-10 比亚迪股份有限公司 Method, system and mobile terminal for processing Bluetooth connection request
US20100180063A1 (en) * 2007-06-22 2010-07-15 Apple Inc. Serial pass-through device
CN103019981A (en) * 2012-11-16 2013-04-03 深圳市文鼎创数据科技有限公司 Signal transfer control method and signal transfer device
CN103052062A (en) * 2012-12-06 2013-04-17 深圳市文鼎创数据科技有限公司 Switching device for communicating mobile terminal with intelligent key device and communication method for switching device
US20130145057A1 (en) * 2010-08-31 2013-06-06 Apple Inc. Communication between a host device and an accessory using multiple-endpoint identification

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100180063A1 (en) * 2007-06-22 2010-07-15 Apple Inc. Serial pass-through device
CN101646221A (en) * 2008-08-08 2010-02-10 比亚迪股份有限公司 Method, system and mobile terminal for processing Bluetooth connection request
US20130145057A1 (en) * 2010-08-31 2013-06-06 Apple Inc. Communication between a host device and an accessory using multiple-endpoint identification
CN103019981A (en) * 2012-11-16 2013-04-03 深圳市文鼎创数据科技有限公司 Signal transfer control method and signal transfer device
CN103052062A (en) * 2012-12-06 2013-04-17 深圳市文鼎创数据科技有限公司 Switching device for communicating mobile terminal with intelligent key device and communication method for switching device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
百度文库: "《ipad和iphone的数据端口的定义》", 《HTTP://WENKU.BAIDU.COM/VIEW/64A36BDD7C1CFAD6195FA772.HTML?RE=VIEW》 *

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113365258A (en) * 2014-09-15 2021-09-07 华为技术有限公司 Communication method and system of wearable device and related device
CN106612368A (en) * 2015-10-27 2017-05-03 比亚迪股份有限公司 Voice collection system, voice collector and information transmission control method
CN106900080B (en) * 2015-12-18 2019-12-03 展讯通信(上海)有限公司 Bluetooth connecting method and device
CN106900079B (en) * 2015-12-18 2019-12-03 展讯通信(上海)有限公司 Bluetooth connecting method and device
CN106900079A (en) * 2015-12-18 2017-06-27 展讯通信(上海)有限公司 Bluetooth connecting method and device
CN106900080A (en) * 2015-12-18 2017-06-27 展讯通信(上海)有限公司 Bluetooth connecting method and device
CN105744466B (en) * 2016-01-26 2019-04-26 Oppo广东移动通信有限公司 A kind of connection method of Bluetooth device and bluetooth equipment
CN105744466A (en) * 2016-01-26 2016-07-06 广东欧珀移动通信有限公司 Bluetooth equipment connection method and Bluetooth equipment
CN106601262A (en) * 2016-12-15 2017-04-26 北京塞宾科技有限公司 High definition Bluetooth audio frequency transmitting and receiving terminal and communication system
CN106851531A (en) * 2016-12-15 2017-06-13 北京塞宾科技有限公司 A kind of Bluetooth audio frequency transmission method
CN107835238B (en) * 2017-10-31 2021-05-18 乐鑫信息科技(上海)股份有限公司 Method for solving repeated discovery of attribute database
CN107835238A (en) * 2017-10-31 2018-03-23 乐鑫信息科技(上海)有限公司 A kind of method for solving attribute database and repeating to find
CN108924642B (en) * 2018-07-16 2019-08-27 北京达佳互联信息技术有限公司 Stream media live broadcasting method, device and computer equipment and storage medium
CN108924642A (en) * 2018-07-16 2018-11-30 北京达佳互联信息技术有限公司 Stream media live broadcasting method, device and computer equipment and storage medium
CN112789934A (en) * 2018-12-25 2021-05-11 华为技术有限公司 Bluetooth service query method and electronic equipment
CN112789934B (en) * 2018-12-25 2023-04-18 华为技术有限公司 Bluetooth service query method and electronic equipment
CN111918250A (en) * 2019-05-09 2020-11-10 阿尔卑斯通信器件技术(上海)有限公司 Bluetooth communicator and Bluetooth communication method
CN111918250B (en) * 2019-05-09 2023-03-21 阿尔卑斯通信器件技术(上海)有限公司 Bluetooth communicator and Bluetooth communication method
US11553326B2 (en) 2020-02-28 2023-01-10 Casio Computer Co., Ltd. Communication device and communication method for transmitting notifications to communicate with first and second softwares and to cause second software to be on standby and to cancel being on standby
CN113329120A (en) * 2020-02-28 2021-08-31 卡西欧计算机株式会社 Communication device, communication system, and communication method
CN113329120B (en) * 2020-02-28 2023-10-13 卡西欧计算机株式会社 Electronic timepiece, smart phone, communication method, and storage medium
CN111277986A (en) * 2020-03-06 2020-06-12 北京百瑞互联技术有限公司 Method for improving Bluetooth transmission speed of iOS device
CN111277986B (en) * 2020-03-06 2022-02-25 北京百瑞互联技术有限公司 Method for improving Bluetooth transmission speed of iOS device
CN113438628B (en) * 2021-06-23 2022-07-05 京东科技控股股份有限公司 Method and device for data interaction
CN113438628A (en) * 2021-06-23 2021-09-24 京东科技控股股份有限公司 Method and device for data interaction

Also Published As

Publication number Publication date
CN103840860B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN103840860A (en) Bluetooth communication method and device
KR101821474B1 (en) Configuring wireless accessory devices
US9015694B2 (en) Cloud-based firmware distribution service
CN107483715B (en) Method and system for communication between terminal and equipment, terminal and storage medium
CN106162602B (en) Method and device for downloading configuration file of group device
CN104780198B (en) System for updating communication setting of in-vehicle communication module and vehicle
EP3648487B1 (en) Method for updating firmware and related apparatus
US8213333B2 (en) Identifying and resolving problems in wireless device configurations
KR20160003992A (en) METHOD AND APPARATUS FOR PROFILE DOWNLOAD FOR eUICC
KR102069265B1 (en) Apparatus, methods and computer programs for establishing a communication connection between a vehicle's information system and a mobile device
US10389581B2 (en) Access-point controller discovery via an intermediary
CN103458057A (en) Resource acquiring method, device and server
CN112737902A (en) Network configuration method and device, storage medium and electronic equipment
CN111787540B (en) Method and device for accessing Internet of things, electronic equipment and readable storage medium
CN105636161A (en) Wireless network access method and device, communication terminal and wireless network access point
CN106341815B (en) Wireless connection method, terminal and AP
US20200344599A1 (en) Streamlined creation and expansion of a wireless mesh network
CN103973474A (en) Network terminal update configuration method
WO2016026313A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
EP3979071B1 (en) Method, user equipment, and application server for downloading application
CN110602693B (en) Networking method and equipment of wireless network
EP3217768B1 (en) Secure commissioning of wireless enabled lighting devices
TW201817208A (en) Methods and systems for enhanced BLUETOOTH bonding
CN104133794A (en) Mobile terminal and set top box pairing method and mobile terminal
CN103078970A (en) Automatic configuration device and method for wireless fidelity (WiFi) address

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