CN106507501A - A kind of Bluetooth connecting method and device - Google Patents
A kind of Bluetooth connecting method and device Download PDFInfo
- Publication number
- CN106507501A CN106507501A CN201610898981.5A CN201610898981A CN106507501A CN 106507501 A CN106507501 A CN 106507501A CN 201610898981 A CN201610898981 A CN 201610898981A CN 106507501 A CN106507501 A CN 106507501A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- role
- bluetooth equipment
- equipment
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses Bluetooth connecting method and device, are applied to communication technical field.In the method for the present embodiment, first bluetooth equipment is when preparing and the second bluetooth equipment carries out bluetooth connection, can first according to the identification information of the second bluetooth equipment, and the corresponding relation of preset bluetooth equipment information and Role Information, determine the second Bluetooth Role of the second bluetooth equipment, then the first bluetooth equipment carries out bluetooth connection according to the dihedral color and the second bluetooth equipment of the second Bluetooth Role.So according to actual needs the corresponding Role Information of the second bluetooth equipment in bluetooth connection can be arranged in the first bluetooth equipment so that after the first bluetooth equipment and the second bluetooth equipment carry out bluetooth connection, ensure the function and performance of the second bluetooth equipment as far as possible.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of Bluetooth connecting method and device.
Background technology
Current major part mobile-terminal platform such as International Organization for Standardization (International Organization
For Standardization, ISO) platform or Android platform etc., Bluetooth chip can be equipped with all, other peripheries can be connected
Bluetooth equipment., when other bluetooth equipment connection requests are received, according to Bluetooth specification, meeting is used as bluetooth for these mobile-terminal platforms
It is attached with other bluetooth equipments from (Slave) role, and other bluetooth equipments is used as bluetooth master (Master) role.
But in practice process, some bluetooth equipments need to be operated under certain Bluetooth Role pattern, could be working properly,
Otherwise its some function operation is abnormal or performance is not high.
Content of the invention
The embodiment of the present invention provides a kind of Bluetooth connecting method and device, it is achieved that in Bluetooth connection process, and first is blue
Tooth equipment carries out bluetooth connection according to preset bluetooth equipment information and the corresponding relation of Role Information with the second bluetooth equipment.
The embodiment of the present invention provides a kind of Bluetooth connecting method, including:
Obtain the identification information of the second bluetooth equipment to be connected;
According to the identification information, and the corresponding relation of preset bluetooth equipment information and Role Information, determine with described
Second Bluetooth Role of the second bluetooth equipment corresponding to identification information;
The dihedral color that first Bluetooth Role of the first bluetooth equipment is set as second Bluetooth Role, with described second
Bluetooth equipment carries out bluetooth connection.
The embodiment of the present invention provides a kind of Bluetooth connection device, including:
Information acquisition unit, for obtaining the identification information of the second bluetooth equipment to be connected;
Role's acquiring unit, for according to the identification information, and preset bluetooth equipment information is right with Role Information
Should be related to, determine the second Bluetooth Role of the second bluetooth equipment corresponding with the identification information;
Connection unit, for the dihedral that the first Bluetooth Role by Bluetooth connection device is set as second Bluetooth Role
Color, carries out bluetooth connection with second bluetooth equipment.
It can be seen that, in the method for the present embodiment, the first bluetooth equipment is preparing to carry out bluetooth connection with the second bluetooth equipment
When, can first according to the identification information of the second bluetooth equipment, and the corresponding relation of preset bluetooth equipment information and Role Information,
Determine the second Bluetooth Role of the second bluetooth equipment, then dihedral color and second indigo plant of first bluetooth equipment according to the second Bluetooth Role
Tooth equipment carries out bluetooth connection.So can according to actual needs by the corresponding Role Information of the second bluetooth equipment in bluetooth connection
Arrange in the first bluetooth equipment so that after the first bluetooth equipment and the second bluetooth equipment carry out bluetooth connection, ensure the as far as possible
The function and performance of two bluetooth equipments.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of flow chart of Bluetooth connecting method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural representation of Bluetooth connection device provided in an embodiment of the present invention;
Fig. 3 is the structural representation of another kind of Bluetooth connection device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of terminal unit platform provided in an embodiment of the present invention.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiment.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " " in description and claims of this specification and above-mentioned accompanying drawing
Four " etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.Should manage
The data that solution is so used can be exchanged in the appropriate case, so that embodiments of the invention described herein for example can be removing
Order beyond those for illustrating here or describing is implemented.Additionally, term " comprising " and " having " and theirs is any
Deformation, it is intended that cover including not exclusively, for example, contains the process of series of steps or unit, method, system, product
Product or equipment are not necessarily limited to those steps that clearly lists or unit, but may include clearly not list or for this
A little other intrinsic steps of process, method, product or equipment or unit.
The embodiment of the present invention provides a kind of Bluetooth connecting method, mainly can apply to the equipment of some support Bluetooth functions
In (hereinafter referred to as the first bluetooth equipment), the such as stronger equipment of the function such as terminal unit platform, method flow diagram such as Fig. 1 institutes
Show, including:
Step 101, the first bluetooth equipment obtain the identification information of the second bluetooth equipment to be connected.Can be specifically second
High 3 bit address information in the address information of bluetooth equipment, or the address of the second bluetooth equipment.
Generally, the address of bluetooth equipment includes being divided into three parts, i.e. LAP Lower Address Part (Lower Address
Part, LAP) (24 bit address lower portion), high address part (Upper Address Part, UAP) (8 bit address are high-end
Part) and meaningless address part (Non-significant Address Part, NAP) (16 meaningless address parts),
Wherein NAP and UAP are the exclusive identification codes of bluetooth equipment production firm, it is necessary to distribute to different factories by bluetooth authoritative department
Business, and LAP is freely distributed by bluetooth equipment life manufacturer internal.In the present embodiment, high 3 bit address information refers to that the second bluetooth sets
Standby UAP.
It is appreciated that the first bluetooth equipment can actively initiate the bluetooth connection with the second bluetooth equipment, such first is blue
Tooth equipment can first initiate the flow process of the present embodiment before Bluetooth connection request is sent to the second bluetooth equipment;Another kind of feelings
Under condition, after the first bluetooth equipment can passively receive the Bluetooth connection request of the second bluetooth equipment transmission, initiate to execute this reality
Apply the flow process of example.
Step 102, according to the identification information that step 101 is obtained, and preset bluetooth equipment information is right with Role Information
Should be related to, determine the second Bluetooth Role of the second bluetooth equipment corresponding with the identification information that step 101 is obtained.
Here the identification information of multiple bluetooth equipments and the corresponding role's letter of difference can be included in preset corresponding relation
Breath, the preset corresponding relation can be user be set in advance in the first bluetooth equipment permanent storage space i.e. locally stored
In space, or it is arranged in another storage device.
Such first bluetooth equipment directly can obtain configuration file from local storage space when this step is executed, or
Detect whether the Peripheral Interface of first bluetooth equipment connects another storage device, if connection, obtains from another storage device
Configuration file is taken, the configuration file includes the corresponding relation of above-mentioned preset bluetooth equipment information and Role Information;Then solve
The configuration file that analysis is obtained obtains preset corresponding relation, the corresponding pass that the identification information of the second bluetooth equipment is obtained with parsing
System is mated, if the identification information that sets of the second bluetooth and a certain bluetooth equipment information phase parsed in the corresponding relation that obtains
Coupling, in the corresponding relation that parsing is obtained, Role Information corresponding with a certain bluetooth equipment information is used as the second Bluetooth Role
Information.
First Bluetooth Role of the first bluetooth equipment is set as the second Bluetooth Role by step 103, the first bluetooth equipment
Dihedral color, carries out bluetooth connection with the second bluetooth equipment.Specifically, if the first Bluetooth Role is bluetooth primary role, first
The dihedral color of Bluetooth Role refers to bluetooth from role, if the first Bluetooth Role be bluetooth from role, the first Bluetooth Role
Meal role refers to bluetooth primary role.
Generally, when a bluetooth equipment actively initiates bluetooth connection, i.e., actively send Bluetooth connection request to
Another bluetooth equipment, then the acquiescence Bluetooth Role for actively initiating the bluetooth equipment of bluetooth connection is bluetooth primary role, and passive
Receive bluetooth connection one end acquiescence Bluetooth Role be bluetooth from role.
Specifically, if the first bluetooth equipment is actively to initiate to carry out bluetooth connection with the second bluetooth equipment, and pass through
Above-mentioned steps 103 determine the first bluetooth equipment the first Bluetooth Role be bluetooth from role, the first bluetooth equipment can with
During second bluetooth equipment carries out bluetooth connection, the second bluetooth is set by the role transforming order of the second bluetooth equipment
Second Bluetooth Role of equipment be bluetooth primary role, and the first Bluetooth Role of the first bluetooth equipment be bluetooth from role.Wherein,
If the first Bluetooth Role of the first bluetooth equipment that step 103 determines is bluetooth primary role, the first bluetooth equipment can be according to
The Bluetooth specification of acquiescence and the second bluetooth equipment carry out bluetooth connection.
If the first bluetooth equipment is the passive Bluetooth connection request for receiving the transmission of the second bluetooth equipment, and by above-mentioned
Step 103 determines that the first Bluetooth Role of the first bluetooth equipment is bluetooth primary role, and the first bluetooth equipment can be to the second bluetooth
Equipment sends and receives Bluetooth connection request, and specifies the first Bluetooth Role of the first bluetooth equipment in Bluetooth connection request is received
For bluetooth primary role, it is desirable to carry out role transforming.Wherein, if the first bluetooth angle of the first bluetooth equipment of step 103 determination
Color be bluetooth from role, the first bluetooth equipment can carry out bluetooth connection according to the Bluetooth specification of acquiescence and the second bluetooth equipment.
It can be seen that, in the method for the present embodiment, the first bluetooth equipment is preparing to carry out bluetooth connection with the second bluetooth equipment
When, can first according to the identification information of the second bluetooth equipment, and the corresponding relation of preset bluetooth equipment information and Role Information,
Determine the second Bluetooth Role of the second bluetooth equipment, then dihedral color and second indigo plant of first bluetooth equipment according to the second Bluetooth Role
Tooth equipment carries out bluetooth connection.So can according to actual needs by the corresponding Role Information of the second bluetooth equipment in bluetooth connection
Arrange in the first bluetooth equipment so that after the first bluetooth equipment and the second bluetooth equipment carry out bluetooth connection, ensure the as far as possible
The function and performance of two bluetooth equipments.
In a specific embodiment, when the first bluetooth equipment execute above-mentioned steps 101 after, if identification information with
In preset corresponding relation, arbitrary bluetooth equipment information is not all matched that, the first bluetooth equipment can be according to the first bluetooth equipment
First Bluetooth Role is that the first acquiescence Bluetooth Role and the second bluetooth equipment carry out bluetooth connection.Specifically, if the first bluetooth
Equipment is actively to initiate the bluetooth connection with the second bluetooth equipment, then the first acquiescence Bluetooth Role is bluetooth primary role, if
First bluetooth equipment is the passive Bluetooth connection request for receiving the second bluetooth equipment, then the first acquiescence Bluetooth Role be bluetooth from
Role.But, be similar to mobile phone this kind equipment, generally passive receive bluetooth connection when, mobile phone may require that and do bluetooth primary role, from
And carry out role swap.
When the first Bluetooth Role according to the first bluetooth equipment is that the first acquiescence Bluetooth Role is carried out with the second bluetooth equipment
After bluetooth connection, if certain Bluetooth function of the second bluetooth equipment is unavailable or performance parameter value fails to reach preset ginseng
Caused by number scope is the second Bluetooth Role by the second bluetooth equipment, then the first bluetooth equipment can obtain the second bluetooth equipment
The second acquiescence Bluetooth Role in the current Bluetooth with the first bluetooth equipment is connected, then adds in preset corresponding relation
The corresponding relation of the anti-Role Information of the identification information of the second bluetooth equipment and the second acquiescence Bluetooth Role.
If so preset in the first bluetooth equipment corresponding relation does not include the feelings of the information of the second bluetooth equipment
Under condition, when in the connection procedure of the first bluetooth equipment and the second bluetooth equipment, if the second bluetooth equipment goes wrong, such as
Certain Bluetooth functions of two bluetooth equipments is unavailable or performance parameter value fails to reach preset parameter area, can first determine
Two bluetooth equipments go wrong be whether by the second Bluetooth Role problem caused by, if it is, the second bluetooth equipment of explanation is in indigo plant
Can not be the second acquiescence Bluetooth Role in tooth connection, then can add the second bluetooth in the corresponding relation of the first bluetooth equipment and set
The second standby Bluetooth Role is the information of the dihedral color of the second acquiescence Bluetooth Role.
After interpolation operation is executed, the first bluetooth equipment can disconnect and be connected with the current Bluetooth of the second bluetooth equipment, so
The first Bluetooth Role according to the first bluetooth equipment is the second acquiescence Bluetooth Role afterwards, re-starts bluetooth with the second bluetooth equipment
Connection, so that whether certain Bluetooth function described or performance parameter value of the second bluetooth equipment of detection can reach preset parameter model
Enclose.
The embodiment of the present invention also provides a kind of Bluetooth connection device, i.e., the first above-mentioned bluetooth equipment, its structural representation
As shown in Fig. 2 can specifically include:
Information acquisition unit 10, for obtaining the identification information of the second bluetooth equipment to be connected;Second bluetooth sets
Standby identification information is high 3 bit address in the address information of second bluetooth equipment, or the address of second bluetooth equipment
Information.
Role's acquiring unit 11, for the identification information obtained according to described information acquiring unit 10, and preset bluetooth
Facility information and the corresponding relation of Role Information, determine the second bluetooth angle of the second bluetooth equipment corresponding with the identification information
Color;
Role's acquiring unit 11, specifically for the storage device connected from local storage space or by Peripheral Interface
Middle acquisition configuration file, the configuration file include that the preset corresponding relation, the parsing configuration file obtain described
Preset corresponding relation;If a certain bluetooth equipment information phase in the corresponding relation that the identification information is obtained with parsing
Match somebody with somebody, Role Information corresponding with a certain bluetooth equipment information is parsed in the corresponding relation that obtains as described second using described
The information of Bluetooth Role.
For the first Bluetooth Role by Bluetooth connection device, connection unit 12, is set as that role's acquiring unit 11 is obtained
The dihedral color of the second Bluetooth Role for taking, carries out bluetooth connection with second bluetooth equipment.
It can be seen that, in the device of the present embodiment, when preparing and the second bluetooth equipment carries out bluetooth connection, role obtains single
Unit 11 can first according to the identification information of the second bluetooth equipment, and the corresponding pass of preset bluetooth equipment information and Role Information
System, determines the second Bluetooth Role of the second bluetooth equipment, then dihedral color and second of the connection unit 12 according to the second Bluetooth Role
Bluetooth equipment carries out bluetooth connection.So can according to actual needs by corresponding role's letter of the second bluetooth equipment in bluetooth connection
Breath is arranged in the first bluetooth equipment so that after Bluetooth connection device and the second bluetooth equipment carry out bluetooth connection, ensured as far as possible
The function and performance of the second bluetooth equipment.
With reference to shown in Fig. 3, in a specific embodiment, Bluetooth connection device is as shown in Figure 2 except including
Outside structure, default role acquiring unit 13 and adding device 14 can also be included, wherein:
Above-mentioned connection unit 12, if being additionally operable to role's acquiring unit 11 determines that identification information is preset right with described
In should being related to, arbitrary bluetooth equipment information is not all matched that, the first Bluetooth Role according to the Bluetooth connection device is silent for first
Recognizing Bluetooth Role carries out bluetooth connection with second bluetooth equipment.
Default role acquiring unit 13, for connection unit 12 according to the first Bluetooth Role of the Bluetooth connection device be
After first acquiescence Bluetooth Role carries out bluetooth connection with second bluetooth equipment, if certain of second bluetooth equipment
Bluetooth function is unavailable or performance parameter value to fail to reach preset parameter area be by the second blue of second bluetooth equipment
Caused by tooth role, second acquiescence of second bluetooth equipment in the current Bluetooth with the first bluetooth equipment is connected is obtained blue
Tooth role;
Adding device 14, for add in the preset corresponding relation identification information of second bluetooth equipment with
The corresponding relation of the anti-Role Information of the second acquiescence Bluetooth Role that the default role acquiring unit 13 is obtained.
The connection unit 12, is additionally operable to after adding device 14 is added operation, disconnects and the second bluetooth equipment
Current Bluetooth connects, and is the second acquiescence Bluetooth Role according to the first Bluetooth Role of the Bluetooth connection device, with described second
Bluetooth equipment re-starts bluetooth connection, to detect certain Bluetooth function described or the performance parameter of second bluetooth equipment
Whether value can reach preset parameter area.
The embodiment of the present invention also provides a kind of terminal unit platform, and its structural representation is as shown in figure 4, the terminal unit is flat
Tai Keyin configurations or performance is different and the larger difference of producing ratio, can include one or more central processing units
(central processing units, CPU) 20 (for example, one or more processors) and memorizer 21, one or
More than one storage application program 221 or the storage medium 22 (such as one or more mass memory units) of data 222.
Wherein, memorizer 21 and storage medium 22 can be of short duration storage or persistently store.The program for being stored in storage medium 22 can be with
Including one or more modules (diagram do not mark), each module can include to terminal unit platform in a series of fingers
Order operation.Further, central processing unit 20 could be arranged to communicate with storage medium 22, execute on terminal unit platform
Series of instructions operation in storage medium 22.
Specifically, the application program 221 for storing in storage medium 22 includes the application program of bluetooth connection, and the program
The information acquisition unit 10 in above-mentioned Bluetooth connection device, role's acquiring unit 11, connection unit 12, default role can be included
Acquiring unit 13 and adding device 14, here is not repeated.Further, central processing unit 20 could be arranged to and storage
Medium 22 communicates, a series of corresponding behaviour of the application program of the bluetooth connection of storage in execution storage medium 22 on playback equipment
Make.
Terminal unit platform can also include one or more power supplys 23, one or more wired or wireless nets
Network interface 24, one or more input/output interfaces 25, and/or, one or more operating systems 223, for example
Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
The step performed by the first bluetooth equipment described in said method embodiment can be based on the end shown in the Fig. 4
The structure of end equipment platform.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage
Medium can include:Read only memory (ROM), random access memory ram), disk or CD etc..
The above Bluetooth connecting method and device provided by the embodiment of the present invention is described in detail, used herein
Specific case is set forth to the principle of the present invention and embodiment, and the explanation of above example is only intended to help and understands
The method of the present invention and its core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, in tool
Will change in body embodiment and range of application, in sum, this specification content is should not be construed as to the present invention
Restriction.
Claims (12)
1. a kind of Bluetooth connecting method, it is characterised in that include:
Obtain the identification information of the second bluetooth equipment to be connected;
According to the identification information, and preset bluetooth equipment information and the corresponding relation of Role Information, determine and the mark
Second Bluetooth Role of corresponding second bluetooth equipment of information;
The dihedral color that first Bluetooth Role of the first bluetooth equipment is set as second Bluetooth Role, with second bluetooth
Equipment carries out bluetooth connection.
2. the method for claim 1, it is characterised in that described according to the identification information, and preset bluetooth equipment
Information and the corresponding relation of Role Information, determine the second Bluetooth Role of the second bluetooth equipment corresponding with the identification information,
Specifically include:
Configuration file is obtained in the storage device connected from local storage space or by Peripheral Interface, is wrapped in the configuration file
The preset corresponding relation is included, the configuration file is parsed and is obtained the preset corresponding relation;
If a certain bluetooth equipment information match in the corresponding relation that the identification information is obtained with parsing, by the parsing
Letter of the Role Information corresponding with a certain bluetooth equipment information as second Bluetooth Role in the corresponding relation for obtaining
Breath.
3. the method for claim 1, it is characterised in that methods described also includes:
If in the identification information and the preset corresponding relation, arbitrary bluetooth equipment information is not all matched that, according to described
First Bluetooth Role of the first bluetooth equipment is that the first acquiescence Bluetooth Role carries out bluetooth connection with second bluetooth equipment.
4. method as claimed in claim 3, it is characterised in that first Bluetooth Role according to first bluetooth equipment
After bluetooth connection being carried out for the first acquiescence Bluetooth Role with second bluetooth equipment, methods described also includes:
If certain Bluetooth function of second bluetooth equipment is unavailable or performance parameter value fails to reach preset parameter model
Enclose caused by being the second Bluetooth Role by second bluetooth equipment, obtain second bluetooth equipment and setting with the first bluetooth
The second acquiescence Bluetooth Role in standby current Bluetooth connection;
Add identification information and the described second acquiescence bluetooth angle of second bluetooth equipment in the preset corresponding relation
The corresponding relation of the anti-Role Information of color.
5. method as claimed in claim 4, it is characterised in that methods described also includes:
The first Bluetooth Role according to first bluetooth equipment is that the described second acquiescence Bluetooth Role is set with second bluetooth
Standby re-start bluetooth connection, so as to detect second bluetooth equipment certain Bluetooth function described or performance parameter value whether
Preset parameter area can be reached.
6. the method as described in any one of claim 1 to 5, it is characterised in that
The identification information of second bluetooth equipment is the address information of second bluetooth equipment, or second bluetooth equipment
Address in high 3 bit address information.
7. a kind of Bluetooth connection device, it is characterised in that include:
Information acquisition unit, for obtaining the identification information of the second bluetooth equipment to be connected;
Role's acquiring unit, for according to the identification information, and the corresponding pass of preset bluetooth equipment information and Role Information
System, determines the second Bluetooth Role of the second bluetooth equipment corresponding with the identification information;
Connection unit, for the dihedral color that the first Bluetooth Role by Bluetooth connection device is set as second Bluetooth Role,
Bluetooth connection is carried out with second bluetooth equipment.
8. device as claimed in claim 7, it is characterised in that
Role's acquiring unit, specifically for obtaining in the storage device that connects from local storage space or by Peripheral Interface
Configuration file, the configuration file include that the preset corresponding relation, the parsing configuration file obtain described preset
Corresponding relation;If a certain bluetooth equipment information match in the corresponding relation that the identification information is obtained with parsing, by institute
Role Information corresponding with a certain bluetooth equipment information is stated in the corresponding relation that obtains of parsing as the second bluetooth angle
The information of color.
9. device as claimed in claim 7, it is characterised in that
The connection unit, if be additionally operable to the identification information with arbitrary bluetooth equipment information in the preset corresponding relation
All do not match that, be the first acquiescence Bluetooth Role and second bluetooth according to the first Bluetooth Role of the Bluetooth connection device
Equipment carries out bluetooth connection.
10. device as claimed in claim 9, it is characterised in that also include:
Default role acquiring unit, is the first acquiescence Bluetooth Role for the first Bluetooth Role according to the Bluetooth connection device
After bluetooth connection is carried out with second bluetooth equipment, if certain Bluetooth function of second bluetooth equipment unavailable or
Performance parameter value fails to reach caused by preset parameter area is the second Bluetooth Role by second bluetooth equipment, obtains
Second acquiescence Bluetooth Role of second bluetooth equipment in the current Bluetooth with the first bluetooth equipment is connected;
Adding device, for adding the identification information of second bluetooth equipment with described in the preset corresponding relation
The corresponding relation of the anti-Role Information of two acquiescence Bluetooth Roles.
11. devices as claimed in claim 10, it is characterised in that
The connection unit, it is the described second acquiescence bluetooth angle according to the first Bluetooth Role of the Bluetooth connection device to be additionally operable to
Color, re-starts bluetooth connection with second bluetooth equipment, to detect certain bluetooth described of second bluetooth equipment
Whether function or performance parameter value can reach preset parameter area.
12. devices as described in any one of claim 7 to 11, it is characterised in that
The identification information of second bluetooth equipment is the address information of second bluetooth equipment, or second bluetooth equipment
Address in high 3 bit address information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610898981.5A CN106507501B (en) | 2016-10-14 | 2016-10-14 | Bluetooth connection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610898981.5A CN106507501B (en) | 2016-10-14 | 2016-10-14 | Bluetooth connection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106507501A true CN106507501A (en) | 2017-03-15 |
CN106507501B CN106507501B (en) | 2020-02-11 |
Family
ID=58294239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610898981.5A Active CN106507501B (en) | 2016-10-14 | 2016-10-14 | Bluetooth connection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106507501B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109246662A (en) * | 2017-05-04 | 2019-01-18 | 上海创豆科技有限公司 | A kind of bluetooth Internet of Things module physical programmed method and system |
CN110062368A (en) * | 2019-04-30 | 2019-07-26 | 努比亚技术有限公司 | Communication connecting method, communication equipment and storage medium |
CN110087223A (en) * | 2019-04-30 | 2019-08-02 | 努比亚技术有限公司 | 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 |
CN110198536A (en) * | 2019-04-30 | 2019-09-03 | 努比亚技术有限公司 | Communication control method, equipment, system and readable storage medium storing program for executing |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060072525A1 (en) * | 2004-09-23 | 2006-04-06 | Jason Hillyard | Method and system for role management for complex bluetooth® devices |
US20120302170A1 (en) * | 2011-05-26 | 2012-11-29 | Motorola Mobility, Inc. | Method and apparatus for performing role management of short-range wireless connections |
CN104080086A (en) * | 2014-07-18 | 2014-10-01 | 北京智谷睿拓技术服务有限公司 | Wireless connection establishment method and wireless connection establishment device |
CN104796985A (en) * | 2009-04-22 | 2015-07-22 | 索尼公司 | Wireless communication device, wireless communication system, wireless communication method, and program |
CN105430603A (en) * | 2015-12-03 | 2016-03-23 | 北京握奇智能科技有限公司 | Secure connection method and system for Bluetooth equipment |
CN105490712A (en) * | 2015-12-31 | 2016-04-13 | 中科创达软件股份有限公司 | Bluetooth device connection method and bluetooth device |
CN106658359A (en) * | 2016-10-12 | 2017-05-10 | 青岛海信移动通信技术股份有限公司 | Bluetooth connection method and device and communication system |
-
2016
- 2016-10-14 CN CN201610898981.5A patent/CN106507501B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060072525A1 (en) * | 2004-09-23 | 2006-04-06 | Jason Hillyard | Method and system for role management for complex bluetooth® devices |
CN104796985A (en) * | 2009-04-22 | 2015-07-22 | 索尼公司 | Wireless communication device, wireless communication system, wireless communication method, and program |
US20120302170A1 (en) * | 2011-05-26 | 2012-11-29 | Motorola Mobility, Inc. | Method and apparatus for performing role management of short-range wireless connections |
CN104080086A (en) * | 2014-07-18 | 2014-10-01 | 北京智谷睿拓技术服务有限公司 | Wireless connection establishment method and wireless connection establishment device |
CN105430603A (en) * | 2015-12-03 | 2016-03-23 | 北京握奇智能科技有限公司 | Secure connection method and system for Bluetooth equipment |
CN105490712A (en) * | 2015-12-31 | 2016-04-13 | 中科创达软件股份有限公司 | Bluetooth device connection method and bluetooth device |
CN106658359A (en) * | 2016-10-12 | 2017-05-10 | 青岛海信移动通信技术股份有限公司 | Bluetooth connection method and device and communication system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109246662A (en) * | 2017-05-04 | 2019-01-18 | 上海创豆科技有限公司 | A kind of bluetooth Internet of Things module physical programmed method and system |
CN110062368A (en) * | 2019-04-30 | 2019-07-26 | 努比亚技术有限公司 | Communication connecting method, communication equipment and storage medium |
CN110087223A (en) * | 2019-04-30 | 2019-08-02 | 努比亚技术有限公司 | 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 |
CN110198536A (en) * | 2019-04-30 | 2019-09-03 | 努比亚技术有限公司 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN106507501B (en) | 2020-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106507501A (en) | A kind of Bluetooth connecting method and device | |
EP1261171A2 (en) | Radio communication terminal having functions of master station or slave station | |
CN106341834A (en) | Internet-of-things device configuration method, Internet-of-things device configuration apparatus, Internet-of-things device configuration system and Internet-of-things device | |
CN102082588B (en) | Communication device, communication system, communication method, and program | |
CN105940720B (en) | It is a kind of to trigger the method for register machine protocol interaction, access point, website | |
CN103124422A (en) | Device associating method, device and system | |
CN109981360B (en) | Internet of things equipment site opening method, device and system and storage medium | |
CN107347205A (en) | A kind of network section system of selection, apparatus and system | |
EP3502908B1 (en) | Spi-based data transmission method and device | |
CN105246029A (en) | Bluetooth communication method and system and electronic device | |
CN105792109A (en) | Bluetooth equipment connection processing method and system based on Linux system | |
CN104581847B (en) | A kind of configuration method and device of wireless device | |
CN107092459A (en) | Exchange method and interactive device and display screen control system | |
CN106506717A (en) | A kind of automatic discovering method and equipment | |
CN111934904B (en) | Capacity expansion method, controller and system | |
CN106413130B (en) | A kind of Bluetooth connecting method and device | |
CN110086931B (en) | Device control method and device, host device, mobile terminal and storage medium | |
CN111818613A (en) | Wireless network configuration method, device and storage medium | |
CN106791243B (en) | A kind of function setting method and device based on Bluetooth protocol | |
CN205880745U (en) | Electronic device | |
CN102592415B (en) | The operation method of ra-dio tool and the ra-dio tool | |
CN113824612B (en) | Network equipment compatibility testing method, terminal equipment and storage medium | |
CN109067570A (en) | A kind of server info methods of exhibiting, device and server | |
CN105188155B (en) | A kind of method and terminal of network connection | |
CN112165715B (en) | Equipment detection method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong Opel Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |