CN106658359A - Bluetooth connection method and device and communication system - Google Patents

Bluetooth connection method and device and communication system Download PDF

Info

Publication number
CN106658359A
CN106658359A CN201610888879.7A CN201610888879A CN106658359A CN 106658359 A CN106658359 A CN 106658359A CN 201610888879 A CN201610888879 A CN 201610888879A CN 106658359 A CN106658359 A CN 106658359A
Authority
CN
China
Prior art keywords
equipment
role
bluetooth connection
bluetooth
identification
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
CN201610888879.7A
Other languages
Chinese (zh)
Other versions
CN106658359B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610888879.7A priority Critical patent/CN106658359B/en
Publication of CN106658359A publication Critical patent/CN106658359A/en
Application granted granted Critical
Publication of CN106658359B publication Critical patent/CN106658359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The invention discloses a Bluetooth connection method, device and system and belongs to the technical field of communication. The method is applied to a first device. A Bluetooth configuration file in the first device supports a peripheral role and a main control role at the same time. The method comprises the following steps: a role identification of a second device to be Bluetooth connected is obtained, and whether a role indicated by the role identification of the second device is the peripheral role or the main control role is determined; if the role is the peripheral role, the first device is enabled to play the main control role when Bluetooth connection between the first device and the second device is established; if the role is the main control role, the first device is enabled to play the peripheral role when Bluetooth connection between the first device and the second device is established; according to the Bluetooth connection method and device and the communication system, Bluetooth connection between the first device and second devices in different roles can be established without any custom-made Bluetooth chip in the first device, manufacture cost can be lowered, and flexibility of Bluetooth connection between devices can be effectively improved.

Description

Bluetooth connecting method, device and communication system
Technical field
The present invention relates to communication technical field, more particularly to a kind of Bluetooth connecting method, device and communication system.
Background technology
With the development of science and technology, the external equipment (abbreviation peripheral hardware) such as earphone, keyboard and sound equipment start using bluetooth with Main control device (such as mobile phone and computer etc.) set up connection, such that it is able to be prevented effectively from wired connection to equipment use it is caused Limit.
In correlation technique, the Bluetooth connection process between two equipment mainly can include:Scanning, certification (match) and Three steps of connection.Wherein, Connection Step is by the bluetooth profiles (English in two equipment:Profile) it is attached. During the connection, need to ensure that the role that bluetooth profile in an equipment is supported is primary role, another The role that bluetooth profile in equipment is supported is peripheral role.
But, for some have the ip intelligent peripherals of SOS, the role that its bluetooth profile is supported is general For primary role, the Bluetooth chip for being provided with customization is needed in the ip intelligent peripherals, could be built with the main control device such as mobile phone and computer Vertical bluetooth connection.The ip intelligent peripherals it is relatively costly, motility when bluetooth connection is carried out between equipment is relatively low.
The content of the invention
In in order to solve the problems, such as correlation technique, the invention provides a kind of Bluetooth connecting method, device and communication system, First equipment can be according to the role identification of the second equipment to be connected, with different from the role of the second equipment and second equipment Bluetooth connection is set up, thus first equipment need not adopt the Bluetooth chip of customization, you can set with the second of different role type It is standby to set up bluetooth connection, improve the motility of bluetooth connection between equipment.
A kind of first aspect of embodiment of the present invention, there is provided Bluetooth connecting method, is applied to the first equipment, and described Bluetooth profiles in one equipment support that peripheral role and primary role, methods described include simultaneously:
The role identification of the second equipment of bluetooth connection is treated in acquisition;
Judge that the role indicated by the role identification of second equipment is peripheral role or primary role,
If peripheral role, then first equipment is set to set up bluetooth connection with second equipment with primary role, if It is primary role, then makes first equipment set up bluetooth connection with second equipment with peripheral role.
A kind of second aspect of embodiment of the present invention, there is provided Bluetooth connection device, is applied to the first equipment, and described Bluetooth profiles in one equipment support that peripheral role and primary role, described device include simultaneously:
Acquiring unit, for obtaining the role identification of the second equipment for treating bluetooth connection;
Connection unit, for judging that the role indicated by the role identification of second equipment is peripheral role or master control Role, if peripheral role, then makes first equipment set up bluetooth connection with second equipment with primary role, if main Control role, then make first equipment set up bluetooth connection with second equipment with peripheral role.
The third aspect of embodiment of the present invention, there is provided a kind of communication system, the communication system includes:At least two Equipment;
At least one of at least two equipment equipment includes the Bluetooth connection device as described in second aspect.
The technical scheme that the present invention is provided has the advantages that:
The invention provides a kind of Bluetooth connecting method, device and communication system, the method can apply to the first equipment In, bluetooth profiles in first equipment support peripheral role and primary role simultaneously, and first equipment can be according to treating Role indicated by the role identification of the second equipment of connection, to set up blue with second equipment different from the role of the second equipment Tooth connects.Therefore, Bluetooth chip need not be customized in the first equipment just can set up bluetooth with the second equipment of different role type Connection, reduces manufacturing cost, effectively increases the motility of bluetooth connection between equipment.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, can be obtaining other according to these accompanying drawings Accompanying drawing.
Fig. 1 is the flow chart of the Bluetooth connecting method according to one embodiment of the present invention;
Fig. 2 is the flow chart of the Bluetooth connecting method according to another embodiment of the present invention;
Fig. 3 is the flow chart of the Bluetooth connecting method according to another embodiment of the invention;
Fig. 4 is the structural representation of the Bluetooth connection device according to one embodiment of the present invention;
Fig. 5 is the schematic diagram of the communication system according to one embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
In various embodiments of the present invention, set bluetooth profiles can include hands-free configuration file in each equipment (Hands-free Profile, referred to as HFP), audio transmission protocol configuration file (Advenced Audio Distribution Profile, referred to as A2DP) and telephone directory book access configuration file (Phonebook Access Profile, referred to as PBAP) etc..
Wherein, the bluetooth connection based on hands-free configuration file HFP, can make peripheral hardware (for example, bluetooth earphone, blue tooth vehicular Deng) phone of control main control device (for example, mobile phone etc.), such as answer, hang up, rejection and phonetic dialing.What the HFP was supported Primary role is audio frequency net gate way (Audio gateway, referred to as AG), and the peripheral role supported is hands-free kits (Hands- Free, referred to as HF).
Based on the bluetooth connection of audio transmission protocol configuration file A2DP, the transmission of audio-frequency information can be realized, its typical case Using for bluetooth earphone.The primary role that the A2DP is supported is output audio-frequency assembly (Source, referred to as SRC), is supported Peripheral role for input audio-frequency assembly (Sink, referred to as SNK).
The bluetooth connection of configuration file is accessed based on telephone directory book, can realize that peripheral hardware reads communication from main control device The function of record.The primary role that the PBAP is supported is (the device that contains the source phone Book objects, referred to as PCE), the peripheral role supported is phone directory receiving unit (the device that Retrieves phone book, referred to as PSE).
Fig. 1 is the flow chart of the Bluetooth connecting method according to one embodiment of the present invention, and the method can apply to One equipment, the bluetooth profiles in first equipment can simultaneously support peripheral role and primary role, with reference to Fig. 1, the party Method can include:
Step 101, acquisition treat the role identification of the second equipment of bluetooth connection.
Wherein, the role identification of second equipment is used to indicate the angle that the bluetooth profiles in second equipment are supported Color, the role can be peripheral role or primary role.
Step 102, judge that the role indicated by the role identification of second equipment is peripheral role or primary role.If Peripheral role, then execution step 103;If primary role, then execution step 104.
Step 103, make first equipment bluetooth connection is set up with primary role and second equipment.
Step 104, make first equipment bluetooth connection is set up with peripheral role and second equipment.
Due to the role of first equipment it is different from the character types that the bluetooth profiles in second equipment are supported, And be mutually matched, therefore can be successfully established bluetooth connection between two equipment.Wherein, first equipment can run on peace Tall and erect operating system, second equipment can run on Android operation system or Apple Macintosh operating system (iphone operation System, referred to as IOS).
Further, in embodiments of the present invention, when the first equipment and the second equipment set up bluetooth connection, can be by master Dynamic connection and passive connection two ways are realized, wherein actively connection is referred to by the first equipment active scan surrounding devices and initiated Bluetooth connection request, passive connection is referred to and waits other equipment to scan and receive the Bluetooth connection request that other equipment is initiated.Under Face is discussed in detail Bluetooth connecting method provided in an embodiment of the present invention with regard to two kinds of connected modes.
When on the one hand, actively Bluetooth connection request being initiated for the first equipment, the flow chart of the Bluetooth connecting method Can be with as shown in Fig. 2 the method can include:
Step 201, the first equipment start bluetooth module and the other equipment in the range of predeterminable range are scanned.
In embodiments of the present invention, first equipment can be triggered by predetermined registration operation by user and starts bluetooth module, example Such as, when user clicks on the bluetooth icon shown on the first equipment display interface, first equipment can be according to the clicking operation Bluetooth enabled instruction is generated, and starts bluetooth module.After the bluetooth module starts, can be in the range of predeterminable range (such as 10 Rice in the range of) other equipment be scanned.
Step 202, when by bluetooth module scanning to the second equipment that can carry out bluetooth connection, second set to this Preparation send role identification to obtain request, and receives the role identification that second equipment is returned.
If second equipment is located in the range of the predeterminable range of first equipment, and second equipment also opens indigo plant Tooth module and in detectable state, then first equipment can scan second equipment, it is possible to send out to second equipment Role identification is sent to obtain request, to obtain the role identification of second equipment.Example, it is assumed that second equipment is IOS mobile phones, First equipment is using the peripheral hardware (ip intelligent peripherals developed using Android platform) of Android operation system, then first equipment The role identification of accessed second equipment can be the mark of primary role.For example, the mark of AG, the mark of SRC or The mark of person PCE.
Step 203, according to the role identification of second equipment, send Bluetooth connection request, the bluetooth to second equipment The role identification of first equipment is carried in connection request.
First equipment is got after the role identification of the second equipment, in order to set up bluetooth connection with second equipment, can be with Bluetooth connection request is sent to second equipment, the role identification of first equipment is carried in the Bluetooth connection request, and should Role in Bluetooth connection request indicated by the role identification of the first entrained equipment and the role identification of second equipment is not Together.
Example, when the role indicated by the role identification of the IOS mobile phones is primary role, the ARIXTRA peripheral hardware is to this Entrained role identification can be the mark of peripheral role in the Bluetooth connection request that IOS mobile phones send, the mark of such as HF, The mark of SNK or the mark of PSE etc.;When the role indicated by the role identification of second equipment is peripheral role, this first Entrained role identification can be the mark of primary role in the Bluetooth connection request that equipment sends.
Further, since the bluetooth profiles of multiple types can be provided with the first equipment and the second equipment, therefore the When Bluetooth connection request is sent to the second equipment, the bluetooth profiles that can be based on each type send one to one equipment Bluetooth connection request, and the mark of the role that the bluetooth profiles of the type are supported is carried in each Bluetooth connection request Know.Specifically, for HFP connects, the ARIXTRA peripheral hardware can be by calling BluetoothHandsfreeClient.connect () function to second equipment initiates Bluetooth connection request, and the role identification carried in the Bluetooth connection request is HF role Mark;For A2DP connections, the ARIXTRA peripheral hardware can be by calling BluetoothA2dpClient.connect () function Bluetooth connection request is initiated to second equipment, the role identification carried in the Bluetooth connection request is the mark of SNK role; For PBAP connections, the ARIXTRA peripheral hardware can be initiated by getPbapClient () .connect () function to second equipment Bluetooth connection request, the role identification carried in the Bluetooth connection request is the mark of PSE role.
Step 204, according to the result of bluetooth connection, update the display interface of first equipment.
Second equipment is received after the Bluetooth connection request of the first equipment transmission, can be sent connection to first equipment and be rung Message is answered, after first equipment receives the connection response message, it may be determined that bluetooth connection success, and is sent out to second equipment Data are sent, or receives the data that second equipment sends;If first equipment do not receive in preset time period this second The connection response message that equipment sends, then can determine that bluetooth connection fails.First equipment can be according to the bluetooth judged Connection result, updates the display interface of the first equipment.
Example, if the bluetooth connection failure of HFP, the prompting letter of " without handset audio " can be shown on display interface Breath;If the bluetooth connection failure of A2DP, can show the information of " without media audio ";If the bluetooth connection of PBAP is lost Lose, then can show the information of " cannot synchronous communication record ".If having arbitrary bluetooth to match somebody with somebody in above-mentioned three kinds of bluetooth profiles File successful connection is put, then going up can show the information of " connecting ", or show the particular type of bluetooth connection, for example " handset audio connects " or " media audio connects " etc..
It should be noted that in actual applications, state mark can be provided with the bluetooth profiles of first equipment Will position, first equipment can judge whether the bluetooth connection of each bluetooth profiles is successful by the state flag bit, And the result for more judging, update the display interface of first equipment.
It can be seen from above-mentioned analysis, the Bluetooth connecting method that the present invention is provided, due to the peripheral hardware using Android operation system Bluetooth connection can be carried out with the role different from the ios device and the ios device according to the role identification of ios device, therefore The function that Android device (such as ARIXTRA rearview mirror) is connected with ios device (such as IOS mobile phones) can be realized, is greatly improved and is set Motility during bluetooth connection is carried out between standby.
When on the other hand, passively connecting for the first equipment, the flow chart of the Bluetooth connecting method can be such as Fig. 3 institutes Show, the method can include:
Step 301, the bluetooth module started in the first equipment, so that the second equipment can scan first equipment.
When needing for the first equipment and other equipment to carry out bluetooth connection, can first start the bluetooth in first equipment Module, and open the detectable function of bluetooth, so as to the second opening of device bluetooth module after, first equipment can be scanned.
Step 302, the role identification acquisition request for receiving second equipment transmission.
Second equipment starts after bluetooth module, actively surrounding devices is scanned, when the second device scan sets to first When standby, first can send role identification to first equipment and obtain request, to obtain the role identification of first equipment.Wherein, The role identification that second equipment is sent obtains the role identification that second equipment can also be carried in request.
Step 303, parsing obtain the role identification that the role identification obtains the second equipment in request.
First equipment is received after the role identification acquisition request that second equipment sends, and the role identification can be obtained Take request to be parsed, and get the role identification that the role identification obtains the second equipment entrained in request.Example, First equipment is assumed for ARIXTRA peripheral hardware, second equipment is IOS mobile phones, then the IOS mobile phones accessed by the ARIXTRA peripheral hardware Role identification can be mark of mark, the mark of SRC or PCE of AG etc.;If first equipment is Android mobile phone, this second Equipment be IOS intelligent sound boxes, then the role identification of the IOS intelligent sound boxes accessed by the Android mobile phone can be HF mark, The mark of SNK or the mark of PSE.
Step 304, according to the role identification of second equipment, send the role identification of the first equipment to second equipment.
First equipment is got after the role identification of the second equipment, can first judge the role identification indication of second equipment The role for showing is peripheral role or primary role, if the second equipment is peripheral role, first equipment to the second equipment is sent out The role identification sent can be the mark of primary role;If the second equipment is primary role, first equipment is to the second equipment The role identification of transmission can be the mark of peripheral role.So as to the role identification that the second equipment sends according to first equipment, Determining can set up bluetooth connection with first equipment.Example, the ARIXTRA peripheral hardware can be by the mark of the HF role in HFP The mark of the PSE role in the mark and PBAP of the SNK role in knowledge, A2DP is sent to the IOS mobile phones.
It should be noted that in another kind of optional implementation of the invention, if the first equipment is opening bluetooth module Before, user has learned that the role identification of the second equipment for treating bluetooth connection, then user can be according to the role of the second equipment Mark, actively closes the peripheral role or primary role supported in the bluetooth profiles of first equipment, makes the bluetooth configuration File only supports a kind of role.
Specifically, when the role indicated by the role identification of the second equipment is primary role, user can close this Primary role in the bluetooth profiles of one equipment so that the bluetooth profiles only support peripheral role;When the second equipment Role identification indicated by role be peripheral role when, the peripheral role that user then can be closed in the bluetooth profiles, So that the bluetooth profiles only support primary role.Example, it is assumed that first equipment is the outer of operation Android operation system If, then when the ARIXTRA peripheral hardware needs and IOS mobile phones (role that the bluetooth profiles of the IOS mobile phones are supported is primary role) When setting up bluetooth connection, in the SNK role and PBAP in AG role, A2DP that user can be closed in the HFP of the ARIXTRA peripheral hardware PCE role, the role that now each bluetooth profiles are supported in the peripheral hardware is peripheral role.
Further, the mode for closing certain role in bluetooth profiles can be to close in the firmware of equipment, or Person is closed in upper layer identification code by way of eigenvalue feature, and such as the first equipment can pass through function disable Profile_supported_hs_hfp to close HFP in AG roles, by function profile_supported_a2dp come Close A2DP in SRC role and by function profile_supported_pbap to close PBAP in PCE roles.
Step 305, the Bluetooth connection request for receiving second equipment transmission.
Second equipment receive the first equipment transmission role identification after, due to first equipment role identification indicated by Role it is different from the role that the bluetooth profiles of second equipment are supported, therefore second equipment can determine can be with First equipment sets up bluetooth connection, and sends Bluetooth connection request to first equipment, to set up bluetooth with first equipment Connection.
Example, IOS mobile phones receive the mark of HF role, the mark of SNK role and the PSE angles of ARIXTRA peripheral hardware transmission After the mark of color, the ARIXTRA peripheral hardware can be defined as an external equipment, and Bluetooth connection request is sent to the ARIXTRA peripheral hardware.
Step 306, according to the Bluetooth connection request, carry out bluetooth connection with second equipment.
Example, ARIXTRA peripheral hardware is received after the Bluetooth connection request of IOS mobile phones transmission, you can set up with the IOS mobile phones Bluetooth connection, the process of the bluetooth connection can be HFP in IOS mobile phones AG role's connection ARIXTRA peripheral hardware in HFP HF role, The SNK role of A2DP or the PCE role of PBAP in IOS mobile phones connect in SRC role's connection ARIXTRA peripheral hardware of A2DP in IOS mobile phones Meet the PSE role of PBAP in ARIXTRA peripheral hardware.
Further, as shown in above-mentioned step 204, first equipment according to the Bluetooth connection request, with second equipment After carrying out bluetooth connection, it is also possible to according to the result of the bluetooth connection, update the display interface of first equipment.This specifically updates Process may be referred to above-mentioned steps 204, and the embodiment of the present invention is repeated no more to this.
It should be noted that the sequencing of the step of Bluetooth connecting method provided in an embodiment of the present invention can be fitted Work as adjustment, step according to circumstances can also accordingly be increased and decreased.Any those familiar with the art takes off in the present invention In the technical scope of dew, the method that can readily occur in change all should be included within the scope of the present invention, therefore no longer go to live in the household of one's in-laws on getting married State.
The invention provides a kind of Bluetooth connecting method, the method can apply in the first equipment, in first equipment Bluetooth profiles support peripheral role and primary role simultaneously, first equipment can be according to the second equipment to be connected Role identification, to set up bluetooth connection with second equipment different from the role of the second equipment.Therefore, without the need for fixed in the first equipment Bluetooth chip processed just can set up bluetooth connection with the second equipment of different role type, reduce manufacturing cost, effectively improve The motility of bluetooth connection between equipment.Additionally, Bluetooth connecting method provided in an embodiment of the present invention can also realize that ARIXTRA sets The standby bluetooth connection between ios device, further increases the motility of bluetooth connection.
Fig. 4 is the structural representation of the Bluetooth connection device according to one embodiment of the present invention, and the device can be applied In the first equipment, the bluetooth profiles in first equipment support peripheral role and primary role simultaneously, with reference to Fig. 4, should Device can include:
Acquiring unit 401, for obtaining the role identification of the second equipment for treating bluetooth connection.
Connection unit 402, for judging that the role indicated by the role identification of second equipment is peripheral role or master Control role, if peripheral role, then makes first equipment with primary role and second equipment and sets up bluetooth connection, if master control Role, then make first equipment with peripheral role and second equipment and set up bluetooth connection.
On the one hand, the acquisition of acquiring unit 401 treats that the process of the role identification of the second equipment of bluetooth connection can include:
By bluetooth module scanning to the second equipment that can carry out bluetooth connection, to second equipment role identification is sent Request is obtained, the role identification that second equipment is returned is received.
On the other hand, the acquiring unit 401 obtain the process of the role identification of the second equipment for treating bluetooth connection can be with Including:
Reception treats that the role identification that the second equipment of bluetooth connection sends obtains request, and parsing obtains the role identification and obtains The role identification of the second equipment in request.
Optionally, the peripheral role is included in hands-free kits HF, input audio-frequency assembly SNK and phone directory receiving unit PSE Any one.
Optionally, first equipment runs on Android operation system;Second equipment runs on Android operation system or IOS System.
The invention provides a kind of Bluetooth connection device, the device can apply in the first equipment, in first equipment Bluetooth profiles support peripheral role and primary role simultaneously, first equipment can be according to the second equipment to be connected Role identification, to set up bluetooth connection with second equipment different from the role of the second equipment.Therefore, without the need for fixed in the first equipment Bluetooth chip processed just can set up bluetooth connection with the second equipment of different role type, reduce manufacturing cost, effectively improve The motility of bluetooth connection between equipment.
Fig. 5 is the schematic diagram of the communication system according to one embodiment of the present invention, as shown in figure 5, the communication system can To include:At least two equipment 01 and 02, between at least two equipment 01 and 02 bluetooth connection can be set up;This at least two At least one of equipment equipment includes Bluetooth connection device as shown in Figure 4.Wherein, the first equipment at least two equipment 01 can be the ip intelligent peripherals such as bluetooth earphone, Baffle Box of Bluetooth or bluetooth rearview mirror as shown in Figure 5 for running on Android system.
Those skilled in the art can be understood that, for convenience and simplicity of description, the device of foregoing description With the specific work process of unit, the corresponding process in preceding method embodiment is may be referred to, be will not be described here.
The foregoing is only presently preferred embodiments of the present invention, not to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (11)

1. a kind of Bluetooth connecting method, it is characterised in that be applied to the first equipment, the bluetooth profiles in first equipment Support that peripheral role and primary role, methods described include simultaneously:
The role identification of the second equipment of bluetooth connection is treated in acquisition;
Judge that the role indicated by the role identification of second equipment is peripheral role or primary role,
If peripheral role, then first equipment is set to set up bluetooth connection with second equipment with primary role,
If primary role, then first equipment is set to set up bluetooth connection with second equipment with peripheral role.
2. method according to claim 1, it is characterised in that role's mark of the second equipment of bluetooth connection is treated in the acquisition Know, including:
By bluetooth module scanning to the second equipment that can carry out bluetooth connection, send role identification to second equipment and obtain Request is taken, the role identification that second equipment is returned is received.
3. method according to claim 1, it is characterised in that role's mark of the second equipment of bluetooth connection is treated in the acquisition Know, including:
Reception treats that the role identification of the second equipment transmission of bluetooth connection obtains request, and parsing obtains the role identification acquisition please The role identification of the second equipment in asking.
4. according to the arbitrary described method of claims 1 to 3, it is characterised in that
The peripheral role includes any one in hands-free kits HF, input audio-frequency assembly SNK and phone directory receiving unit PSE.
5. according to the arbitrary described method of claims 1 to 3, it is characterised in that
First equipment runs on Android operation system;
Second equipment runs on Android operation system or IOS systems.
6. a kind of Bluetooth connection device, it is characterised in that be applied to the first equipment, the bluetooth profiles in first equipment Support that peripheral role and primary role, described device include simultaneously:
Acquiring unit, for obtaining the role identification of the second equipment for treating bluetooth connection;
Connection unit, for judging that the role indicated by the role identification of second equipment is peripheral role or master control angle Color, if peripheral role, then makes first equipment set up bluetooth connection with second equipment with primary role, if master control Role, then make first equipment set up bluetooth connection with second equipment with peripheral role.
7. device according to claim 6, it is characterised in that the acquiring unit obtains the second equipment for treating bluetooth connection Role identification, including:
By bluetooth module scanning to the second equipment that can carry out bluetooth connection, send role identification to second equipment and obtain Request is taken, the role identification that second equipment is returned is received.
8. device according to claim 6, it is characterised in that the acquiring unit obtains the second equipment for treating bluetooth connection Role identification, including:
Reception treats that the role identification of the second equipment transmission of bluetooth connection obtains request, and parsing obtains the role identification acquisition please The role identification of the second equipment in asking.
9. according to the arbitrary described device of claim 6 to 8, it is characterised in that
The peripheral role includes any one in hands-free kits HF, input audio-frequency assembly SNK and phone directory receiving unit PSE.
10. according to the arbitrary described device of claim 6 to 8, it is characterised in that
First equipment runs on Android operation system;
Second equipment runs on Android operation system or IOS systems.
11. a kind of communication systems, it is characterised in that the communication system includes:At least two equipment;
At least one of at least two equipment equipment includes the bluetooth connection dress as described in claim 6 to 10 is arbitrary Put.
CN201610888879.7A 2016-10-12 2016-10-12 Bluetooth connection method, device and communication system Active CN106658359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610888879.7A CN106658359B (en) 2016-10-12 2016-10-12 Bluetooth connection method, device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610888879.7A CN106658359B (en) 2016-10-12 2016-10-12 Bluetooth connection method, device and communication system

Publications (2)

Publication Number Publication Date
CN106658359A true CN106658359A (en) 2017-05-10
CN106658359B CN106658359B (en) 2020-09-11

Family

ID=58855198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610888879.7A Active CN106658359B (en) 2016-10-12 2016-10-12 Bluetooth connection method, device and communication system

Country Status (1)

Country Link
CN (1) CN106658359B (en)

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507501A (en) * 2016-10-14 2017-03-15 广东欧珀移动通信有限公司 A kind of Bluetooth connecting method and device
CN110062368A (en) * 2019-04-30 2019-07-26 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110087224A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 Registration control method, communication equipment and storage medium
CN110087222A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 Role switching control method, communication equipment and storage medium
CN110087223A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110121163A (en) * 2019-04-30 2019-08-13 努比亚技术有限公司 Registration handling method, communication equipment and storage medium
CN110139257A (en) * 2019-04-30 2019-08-16 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110139258A (en) * 2019-04-30 2019-08-16 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110191443A (en) * 2019-04-30 2019-08-30 努比亚技术有限公司 Bluetooth communication connection method, communication equipment and storage medium
CN110191445A (en) * 2019-04-30 2019-08-30 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110191444A (en) * 2019-04-30 2019-08-30 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110198536A (en) * 2019-04-30 2019-09-03 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110213749A (en) * 2019-04-30 2019-09-06 努比亚技术有限公司 Communication processing method, communication equipment and storage medium
CN110213750A (en) * 2019-04-30 2019-09-06 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110213752A (en) * 2019-04-30 2019-09-06 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110213836A (en) * 2019-04-30 2019-09-06 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110225503A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110225502A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110225498A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication control method, communication equipment and storage medium
CN110225499A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110225501A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110225500A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110234099A (en) * 2019-04-30 2019-09-13 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110248343A (en) * 2019-04-30 2019-09-17 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110248345A (en) * 2019-04-30 2019-09-17 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110248344A (en) * 2019-04-30 2019-09-17 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110267243A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication control method, communication equipment and storage medium
CN110267242A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110267244A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication handover method, equipment, system and readable storage medium storing program for executing
CN110267240A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication control method, communication equipment and storage medium
CN110267241A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110267361A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110505611A (en) * 2019-04-30 2019-11-26 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110740438A (en) * 2019-04-30 2020-01-31 努比亚技术有限公司 Communication method, device, system and readable storage medium
CN111800836A (en) * 2020-06-30 2020-10-20 北京小米移动软件有限公司 Communication method, communication device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056256A (en) * 2006-04-11 2007-10-17 创杰科技股份有限公司 Role exchange method for bluetooth radio communication system
CN101179749A (en) * 2006-11-09 2008-05-14 艾威梯软件技术(北京)有限公司 System and method for supporting automatic establishment and disconnection of wireless cluster connection
CN103686516A (en) * 2013-12-11 2014-03-26 乐视致新电子科技(天津)有限公司 Bluetooth headset capable of sharing audios and control method thereof
CN104539323A (en) * 2014-12-25 2015-04-22 惠州Tcl移动通信有限公司 Bluetooth low-power-consumption networking interconnection method and system
CN105490712A (en) * 2015-12-31 2016-04-13 中科创达软件股份有限公司 Bluetooth device connection method and bluetooth device
CN105828281A (en) * 2016-05-19 2016-08-03 北京小米移动软件有限公司 Device connection method and device
CN105827282A (en) * 2016-05-24 2016-08-03 卧槽科技(深圳)有限公司 Bluetooth equipment networking method and device and Bluetooth equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056256A (en) * 2006-04-11 2007-10-17 创杰科技股份有限公司 Role exchange method for bluetooth radio communication system
CN101179749A (en) * 2006-11-09 2008-05-14 艾威梯软件技术(北京)有限公司 System and method for supporting automatic establishment and disconnection of wireless cluster connection
CN103686516A (en) * 2013-12-11 2014-03-26 乐视致新电子科技(天津)有限公司 Bluetooth headset capable of sharing audios and control method thereof
CN104539323A (en) * 2014-12-25 2015-04-22 惠州Tcl移动通信有限公司 Bluetooth low-power-consumption networking interconnection method and system
CN105490712A (en) * 2015-12-31 2016-04-13 中科创达软件股份有限公司 Bluetooth device connection method and bluetooth device
CN105828281A (en) * 2016-05-19 2016-08-03 北京小米移动软件有限公司 Device connection method and device
CN105827282A (en) * 2016-05-24 2016-08-03 卧槽科技(深圳)有限公司 Bluetooth equipment networking method and device and Bluetooth equipment

Cited By (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507501A (en) * 2016-10-14 2017-03-15 广东欧珀移动通信有限公司 A kind of Bluetooth connecting method and device
CN110234099A (en) * 2019-04-30 2019-09-13 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110087223A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110087222A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 Role switching control method, communication equipment and storage medium
CN110062368A (en) * 2019-04-30 2019-07-26 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110121163A (en) * 2019-04-30 2019-08-13 努比亚技术有限公司 Registration handling method, communication equipment and storage medium
CN110139257A (en) * 2019-04-30 2019-08-16 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110139258A (en) * 2019-04-30 2019-08-16 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110191443A (en) * 2019-04-30 2019-08-30 努比亚技术有限公司 Bluetooth communication connection method, communication equipment and storage medium
CN110191445A (en) * 2019-04-30 2019-08-30 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110191444A (en) * 2019-04-30 2019-08-30 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110198536A (en) * 2019-04-30 2019-09-03 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110213749A (en) * 2019-04-30 2019-09-06 努比亚技术有限公司 Communication processing method, communication equipment and storage medium
CN110213750A (en) * 2019-04-30 2019-09-06 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110213752A (en) * 2019-04-30 2019-09-06 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110213836A (en) * 2019-04-30 2019-09-06 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110248343A (en) * 2019-04-30 2019-09-17 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110225502A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110225498A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication control method, communication equipment and storage medium
CN110225499A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110225501A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110087223B (en) * 2019-04-30 2022-11-15 努比亚技术有限公司 Communication connection method, communication device, and storage medium
CN110087224A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 Registration control method, communication equipment and storage medium
CN110225503A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110248345A (en) * 2019-04-30 2019-09-17 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110248344A (en) * 2019-04-30 2019-09-17 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110267243A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication control method, communication equipment and storage medium
CN110267242A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110267244A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication handover method, equipment, system and readable storage medium storing program for executing
CN110267240A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication control method, communication equipment and storage medium
CN110267241A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110267361A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110505611A (en) * 2019-04-30 2019-11-26 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110691347A (en) * 2019-04-30 2020-01-14 努比亚技术有限公司 Communication connection method, communication device, and storage medium
CN110740438A (en) * 2019-04-30 2020-01-31 努比亚技术有限公司 Communication method, device, system and readable storage medium
CN110225500A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110087222B (en) * 2019-04-30 2021-12-03 努比亚技术有限公司 Role switching control method, communication device, and storage medium
CN110087224B (en) * 2019-04-30 2021-12-03 努比亚技术有限公司 Registration control method, communication device, and storage medium
CN110267361B (en) * 2019-04-30 2022-05-03 努比亚技术有限公司 Communication control method, device, system and readable storage medium
CN110225500B (en) * 2019-04-30 2022-04-29 努比亚技术有限公司 Communication method, device, system and readable storage medium
CN110740438B (en) * 2019-04-30 2022-04-29 努比亚技术有限公司 Communication method, device, system and readable storage medium
EP3934293A1 (en) * 2020-06-30 2022-01-05 Beijing Xiaomi Mobile Software Co., Ltd. Communication method and apparatus, and storage medium
CN111800836A (en) * 2020-06-30 2020-10-20 北京小米移动软件有限公司 Communication method, communication device, electronic equipment and storage medium
US11678391B2 (en) 2020-06-30 2023-06-13 Beijing Xiaomi Mobile Software Co., Ltd. Communication methods and electronic devices

Also Published As

Publication number Publication date
CN106658359B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN106658359A (en) Bluetooth connection method and device and communication system
RU2541913C2 (en) System and method for providing wireless cellular connection
JP4282721B2 (en) Mobile terminal device
WO2017071420A1 (en) Method, apparatus and system for voice communication with smart device
US20080167072A1 (en) System and method for providing telephone service access via a gateway telephone
CN106900079A (en) Bluetooth connecting method and device
JP2002125268A (en) Method for specifying radio communication connection destination
ATE417444T1 (en) MESSAGE SYSTEM
EP1868343A1 (en) Method, system and storage for communication of information by a handheld communication device in an ad-hoc network
KR20210008415A (en) Access control method, message broadcast method, and related devices
JP5359198B2 (en) Hands-free device
KR102223748B1 (en) Voice over Internet Protocol Phone supporting Ethernet tethering and Internet service method using the same
WO2024066694A1 (en) Connection method and apparatus for audio devices, and storage medium and device
CN114158025B (en) Device reconnection method and related device
US10863024B2 (en) System, user equipment, server, computer program product and method for providing access to mobile communication services
WO2021239032A1 (en) Bluetooth protocol connection method and apparatus, storage medium, and related device
KR20020015909A (en) Method for connecting a phone using voice over ip and bluetooth
CN101384046A (en) Data calling method and system in mobile terminal system
CN104796488A (en) Information push method and device, terminal and server
CN110999340A (en) Near field communication device and method
CN111542034B (en) Collaborative management method and device for binary configuration teleconference
KR101509013B1 (en) Recording Medium, Terminal Device and Method for Processing Application
WO2022074857A1 (en) Communication management device, communication management method, communication management program, and communication management system
WO2021182197A1 (en) Communication management device, communication management method, communication management program, and communication management system
JP5323509B2 (en) Hands-free call device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder