CN106413130A - Bluetooth connection method and device - Google Patents

Bluetooth connection method and device Download PDF

Info

Publication number
CN106413130A
CN106413130A CN201610900006.3A CN201610900006A CN106413130A CN 106413130 A CN106413130 A CN 106413130A CN 201610900006 A CN201610900006 A CN 201610900006A CN 106413130 A CN106413130 A CN 106413130A
Authority
CN
China
Prior art keywords
bluetooth
bluetooth equipment
information
role
identification 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
Application number
CN201610900006.3A
Other languages
Chinese (zh)
Other versions
CN106413130B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610900006.3A priority Critical patent/CN106413130B/en
Publication of CN106413130A publication Critical patent/CN106413130A/en
Application granted granted Critical
Publication of CN106413130B publication Critical patent/CN106413130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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 embodiment of the invention discloses a Bluetooth connection method and device. The method and the device are applied to the technical field of communication. According to the method of the embodiment of the invention, after a first Bluetooth device receives a Bluetooth connection request sent by a second Bluetooth device, if the identification information of the second Bluetooth device matches preset Bluetooth device information, the first Bluetooth device is directly set to be a slave role and role exchange is not allowed, and Bluetooth connection with the second Bluetooth device is carried out according to the role information of the first Bluetooth device. In this way, a user can set the Bluetooth device information in the first Bluetooth device in advance, when the first Bluetooth device passively carries out Bluetooth connection with the set second Bluetooth device, the first Bluetooth device can be directly taken as the slave role, the Bluetooth role exchange will not be initiated, and the performance of the second Bluetooth device will not be influenced.

Description

A kind of Bluetooth connecting method and device
Technical field
The present invention relates to communication technical field, particularly to a kind of Bluetooth connecting method and device.
Background technology
Most of mobile-terminal platform such as International Organization for Standardization (International Organization at present For Standardization, ISO) platform or Android platform etc., all can be equipped with Bluetooth chip, other peripheries can be connected Bluetooth equipment., when receiving other bluetooth equipment connection request, according to Bluetooth specification, meeting is as bluetooth for these mobile-terminal platforms It is attached with other bluetooth equipments from (Slave) role.But in practice process, this kind of work(for similar mobile-terminal platform The powerful product of energy, when receiving other bluetooth equipment connection request it will usually require to be bluetooth master (Master) role, and Carry out role transforming.Bluetooth function or the performance of other bluetooth equipments so can be affected.
Content of the invention
The embodiment of the present invention provides a kind of Bluetooth connecting method and device it is achieved that believing according to the mark of the second bluetooth equipment Breath and preset bluetooth equipment information, determine Role Information in bluetooth connection for first bluetooth equipment.
The embodiment of the present invention provides a kind of Bluetooth connecting method, including:
First bluetooth equipment receives the Bluetooth connection request that the second bluetooth equipment sends, and obtains described second bluetooth equipment Identification information;
Described identification information is mated by described first bluetooth equipment with preset bluetooth equipment information, if phase Join, then the Role Information arranging described first bluetooth equipment and does not allow to carry out role swap from role for bluetooth;
Described first bluetooth equipment carries out bluetooth connection according to the Role Information of described setting with described second bluetooth equipment.
The embodiment of the present invention provides a kind of Bluetooth connection device, including:
Acquiring unit, for receiving the Bluetooth connection request that the second bluetooth equipment sends, obtains described second bluetooth equipment Identification information;
Matching unit, for being mated described identification information with preset bluetooth equipment information, if matched, Arranging unit is notified to be configured;
Arranging unit, the Role Information for arranging described Bluetooth connection device and does not allow to carry out angle from role for bluetooth Color exchanges;
Connection unit, carries out bluetooth connection for the Role Information according to described setting with described second bluetooth equipment.
It can be seen that, in the method for the present embodiment, the first bluetooth equipment is in the bluetooth receiving the second bluetooth equipment transmission even After connecing request, if the identification information of the second bluetooth equipment and preset bluetooth equipment information match, directly arrange first Bluetooth equipment does not allow carry out role swap for bluetooth from role and, and the Role Information according to the first bluetooth equipment and the second indigo plant Tooth equipment carries out bluetooth connection.So user can arrange bluetooth equipment information in advance in the first bluetooth equipment, if first Bluetooth equipment, can be directly as bluetooth from role, and not when passive the second bluetooth equipment with setting carries out bluetooth connection Bluetooth Role can be initiated exchange, thus also will not impact to the performance of the second bluetooth equipment.
Brief description
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 Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, also may be used So that other accompanying drawings are obtained 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 the flow chart of another kind Bluetooth connecting method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of Bluetooth connection device provided in an embodiment of the present invention;
Fig. 4 is the structural representation of another kind Bluetooth connection device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of terminal unit platform provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.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 not making creative work Embodiment, broadly falls into the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", " the 3rd " " Four " etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.Should manage The data that solution so uses can be exchanged, in the appropriate case so that embodiments of the invention described herein for example can be to remove Illustrate here or description those beyond order implement.Additionally, term " comprising " and " having " and theirs is any Deformation, it is intended that covering comprising 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 or the unit clearly listed, but may include clearly not listing or for this A little processes, method, product or the intrinsic other steps of equipment or unit.
The embodiment of the present invention provides a kind of Bluetooth connecting method, mainly can apply to some equipment supporting Bluetooth function In (the hereinafter referred to as first bluetooth equipment), the such as stronger equipment of the function such as terminal unit platform, method flow diagram such as Fig. 1 institute Show, including:
Step 101, the first bluetooth equipment receives the Bluetooth connection request that the second bluetooth equipment sends, and obtains the second bluetooth and sets Standby identification information.Can be specifically the address information of the second bluetooth equipment, or high 3 ground in the address of the second bluetooth equipment Location information.
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), (8 bit address are high-end for high address part (Upper Address Part, UAP) Part) and meaningless address part (Non-significant Address Part, NAP) (16 meaningless address parts), Wherein NAP and UAP is the exclusive identification code of bluetooth equipment production firm it is necessary to distribute to different factories by bluetooth authoritative department Business, and LAP is freely to be distributed by the raw manufacturer internal of bluetooth equipment.In the present embodiment, high 3 bit address information refer to that the second bluetooth sets Standby UAP.
Step 102, the identification information of the second bluetooth equipment is carried out by the first bluetooth equipment with preset bluetooth equipment information Coupling, if matched, execution step 103, if do not matched that, execution step 104.Here preset bluetooth equipment letter The identification information of multiple bluetooth equipments can be included in breath.
Step 103, first bluetooth equipment arrange the first bluetooth equipment Role Information be bluetooth from role and do not allow into Row role swap, Role Information and the second bluetooth equipment according to setting carry out bluetooth connection.The then role of the second bluetooth equipment Information is bluetooth primary role.
It is appreciated that when a bluetooth equipment (than the second bluetooth equipment described above) actively initiates bluetooth connection, that is, Actively send Bluetooth connection request to another bluetooth equipment (than the first bluetooth equipment described above), then according to Bluetooth specification, should Second bluetooth equipment is bluetooth primary role, and the first bluetooth equipment passively accepting bluetooth connection is bluetooth from role.General feelings Under condition, if the first bluetooth equipment equipment that to be function more powerful, when receiving Bluetooth connection request, bluetooth can be initiated Role swap it is desirable to as bluetooth primary role, and in the present embodiment, if the second bluetooth equipment is believed with preset bluetooth equipment Manner of breathing mates, and in order to not affect the function of the second bluetooth equipment, needs to arrange the first bluetooth equipment and does not allow to carry out Bluetooth Role Exchange, directly as bluetooth from role.
In this case, the first bluetooth equipment, when carrying out bluetooth connection with the second bluetooth equipment, directly transmits above-mentioned The corresponding bluetooth connection that accepts of Bluetooth connection request responds to the second bluetooth equipment, wherein without the angle carrying the second bluetooth equipment Color information, and the second bluetooth equipment is being properly received after this accepts bluetooth connection response, acquiescence the second bluetooth equipment is in bluetooth even It is bluetooth primary role in connecing.
Step 104, the first bluetooth equipment is bluetooth primary role according to the first bluetooth equipment, and the second bluetooth equipment is bluetooth From role, carry out bluetooth connection with the second bluetooth equipment.
Specifically, the first bluetooth equipment, when carrying out bluetooth connection with the second bluetooth equipment, sends to the second bluetooth equipment Above-mentioned Bluetooth connection request is corresponding to accept bluetooth connection response, can be bluetooth by the Role Information of the second bluetooth equipment simultaneously It is added on from the information of role and accepts bluetooth connection response, accept bluetooth connection sound when the second bluetooth equipment is successfully received this Ying Hou, completes the bluetooth connection with the first bluetooth equipment as bluetooth from role.
Or, the first bluetooth equipment first sends the corresponding bluetooth that accepts of above-mentioned Bluetooth connection request to the second bluetooth equipment and connects Connect response, then role swap request is initiated to the second bluetooth equipment from the first bluetooth equipment, the second bluetooth equipment is receiving After role swap request, return role swap to the first bluetooth equipment and confirm message, such first bluetooth equipment is just as bluetooth Primary role, the second bluetooth equipment just as bluetooth from role.
It can be seen that, in the method for the present embodiment, the first bluetooth equipment is in the bluetooth receiving the second bluetooth equipment transmission even After connecing request, if the identification information of the second bluetooth equipment and preset bluetooth equipment information match, directly arrange first Bluetooth equipment does not allow carry out role swap for bluetooth from role and, and the Role Information according to the first bluetooth equipment and the second indigo plant Tooth equipment carries out bluetooth connection.So user can arrange bluetooth equipment information in advance in the first bluetooth equipment, if first Bluetooth equipment, can be directly as bluetooth from role, and not when passive the second bluetooth equipment with setting carries out bluetooth connection Bluetooth Role can be initiated exchange, thus also will not impact to the performance of the second bluetooth equipment.
In a specific embodiment, user can using when actively initiating bluetooth connection as bluetooth primary role and taboo Only the information of the bluetooth equipment of role swap is as (the i.e. blacklist configuration in the form of a file of above-mentioned preset bluetooth equipment information File) it is arranged in the permanent storage space that local storage space is the first bluetooth equipment, or it is arranged on another storage device In.
Such first bluetooth equipment is after receiving above-mentioned Bluetooth connection request, when executing the coupling of 102 steps, permissible Directly obtain blacklist configuration file from local storage space, or detect whether the Peripheral Interface of this first bluetooth equipment connects separately One storage device, if connected, obtains blacklist configuration file, this blacklist configuration file includes from another storage device Above-mentioned preset bluetooth equipment information;Then the blacklist configuration file parsing acquisition obtains preset bluetooth equipment information, will The preset bluetooth equipment information that the identification information of the second bluetooth equipment is obtained with parsing is mated.
In another specific embodiment, bluetooth equipment manufacturer can also using when actively initiating bluetooth connection as indigo plant Tooth primary role and forbid role swap bluetooth equipment information as above-mentioned preset bluetooth equipment information with blacklist list Form be arranged in bluetooth procedures code.Or first bluetooth equipment execution above-mentioned steps 101 before, when the first bluetooth sets During the standby Bluetooth function in startup, can be by the blacklist of local storage space or the storage device stored being connected by Peripheral Interface Bluetooth configuration information included by configuration file is added in the blacklist list of bluetooth procedures code.
In this case, because the first bluetooth equipment is when opening Bluetooth function, bluetooth procedures code first can be stored into The storage medium of the first bluetooth equipment is in temporary storage medium, so when the first bluetooth equipment receives Bluetooth connection request Afterwards, when executing the coupling of 102 steps, can be directly by the identification information of the second bluetooth equipment and local storage medium storage The blacklist list that bluetooth procedures code includes is mated, and includes above-mentioned preset bluetooth equipment letter in blacklist list Breath.
In other specific embodiments, the first bluetooth equipment is without depositing of connecting local storage space or Peripheral Interface In storage equipment, the bluetooth equipment information included by blacklist configuration file of storage is added in bluetooth procedures code.With reference to Fig. 2 Shown, when the first bluetooth equipment is in execution step 102, step 1021 can be first carried out, will the second bluetooth equipment mark Information is mated with the blacklist list in bluetooth procedures code, if matched, executes above-mentioned steps 103;If no Match, continue executing with step 1022, will the identification information of the second bluetooth equipment set with the bluetooth in blacklist configuration file Standby information is mated, if do not matched that, executes above-mentioned steps 104, if matched, executes above-mentioned steps 103.
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 figure 3, specifically can include:
Acquiring unit 10, for receiving the Bluetooth connection request that the second bluetooth equipment sends, obtains described second bluetooth and sets Standby identification information;The identification information of the second bluetooth equipment is the address information of described second bluetooth equipment, or described second indigo plant High 3 bit address information in the address of tooth equipment.
Matching unit 11, identification information and preset bluetooth equipment information for obtaining described acquiring unit 10 are carried out Coupling, if matched, notifies arranging unit 12 to be configured.
In one case, described matching unit 11, is connected specifically for from local storage space or by Peripheral Interface Storage device in obtain blacklist configuration file, described blacklist configuration file includes described preset bluetooth equipment letter Breath;Parse described blacklist configuration file and obtain described preset bluetooth equipment information, described identification information and parsing are obtained Preset bluetooth equipment information mated.
Arranging unit 12, the Role Information for arranging described Bluetooth connection device and does not allow to carry out from role for bluetooth Role swap;
Connection unit 13, Role Information and described second bluetooth equipment for arranging according to described arranging unit 12 are carried out Bluetooth connection.
Further, described connection unit 13, if be additionally operable to the mark that described matching unit 11 determines the second bluetooth equipment Knowledge information is not matched that with preset bluetooth equipment information, is bluetooth primary role according to described Bluetooth connection device, and described the Two bluetooth equipments carry out bluetooth connection with described second bluetooth equipment for bluetooth from role.
In the device of the present embodiment, receive, in acquiring unit 10, the Bluetooth connection request that the second bluetooth equipment sends Afterwards, if matching unit 11 determines the identification information of the second bluetooth equipment and preset bluetooth equipment information match, arrange Unit 12 directly arranges Bluetooth connection device and does not allow carry out role swap from role and for bluetooth, and by connection unit 13 according to The Role Information of Bluetooth connection device and the second bluetooth equipment carry out bluetooth connection.So user can arrange bluetooth equipment in advance Information is in the device of the present embodiment, if the device of the present embodiment carries out bluetooth even in passive the second bluetooth equipment with setting When connecing, can exchange without initiating Bluetooth Role directly as bluetooth from role, thus also will not be to the second bluetooth equipment Performance impacts.
With reference to shown in Fig. 4, in a specific embodiment, Bluetooth connection device is as shown in Figure 3 except including Outside structure, adding device 14 can also be included, and matching unit 11 can pass through the first matching unit 111, or pass through first Join unit 111 and the second matching unit 112 to realize, wherein:
First matching unit 111, specifically for the identification information that obtains described acquiring unit 10 and local storage medium The blacklist list that the bluetooth procedures code of storage includes is mated, and described blacklist list includes described preset indigo plant Tooth facility information.In one case, if matched, arranging unit 12 is configured, if do not matched that, connects single Unit 13 carries out bluetooth connection.
Adding device 14, for when starting the Bluetooth function of Bluetooth connection device, by local storage space or by outer If the bluetooth configuration information included by blacklist configuration file of the storage device stored that interface connects is added to described bluetooth journey In the blacklist list of sequence code.Such first matching unit 111 just can be according to the bluetooth procedures after adding device 14 interpolation Code is mated.
Second matching unit 112, if determined in identification information and blacklist list for described first matching unit 111 Bluetooth equipment information do not match that, with local storage space or the storage that is connected by Peripheral Interface is set by described identification information Bluetooth equipment information in the blacklist configuration file of standby middle storage is mated.
In the present embodiment, in another case, do not match that, by second if the first matching unit 111 determines Joining unit 112 to proceed to mate, if the second matching unit 112 determines do not matched that, bluetooth being carried out by connection unit 13 Connecting, if the second matching unit 112 determines matched, being configured by arranging unit 12.
The embodiment of the present invention also provides a kind of terminal unit platform, and its structural representation is as shown in figure 5, this terminal unit is put down Tai Keyin configuration 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 lasting storage.The program being stored in storage medium 22 is permissible Including one or more modules (diagram does not mark), each module can be included to a series of fingers in terminal unit platform Order operation.Further, central processing unit 20 could be arranged to communicate with storage medium 22, executes on terminal unit platform Series of instructions operation in storage medium 22.
Specifically, in storage medium 22, the application program 221 of storage includes the application program of bluetooth connection, and this program The acquiring unit 10 in above-mentioned Bluetooth connection device, matching unit 11, arranging unit 12, connection unit 13 and interpolation can be included Unit 14, here is not repeated.Further, central processing unit 20 could be arranged to communicate with storage medium 22, is broadcasting Put the corresponding sequence of operations of application program of the bluetooth connection of storage in execution storage medium 22 on equipment.
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 this Fig. 5 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 the hardware instructing correlation by program, this 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..
To the embodiment of the present invention, the Bluetooth connecting method being provided and device are described in detail above, 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 understand 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 All will change on body embodiment and range of application, in sum, this specification content should not be construed as to the present invention Restriction.

Claims (14)

1. a kind of Bluetooth connecting method is it is characterised in that include:
First bluetooth equipment receives the Bluetooth connection request that the second bluetooth equipment sends, and obtains the mark of described second bluetooth equipment Information;
Described identification information is mated by described first bluetooth equipment with preset bluetooth equipment information, if matched, The Role Information arranging described first bluetooth equipment and does not allow to carry out role swap from role for bluetooth;
Described first bluetooth equipment carries out bluetooth connection according to the Role Information of described setting with described second bluetooth equipment.
2. the method for claim 1 it is characterised in that described by described identification information and preset bluetooth equipment information Mated, specifically included:
Blacklist configuration file, described blacklist is obtained the storage device connect from local storage space or by Peripheral Interface Configuration file includes described preset bluetooth equipment information;
Parse described blacklist configuration file and obtain described preset bluetooth equipment information, described identification information and parsing are obtained Preset bluetooth equipment information mated.
3. the method for claim 1 it is characterised in that described by described identification information and preset bluetooth equipment information Mated, specifically included:
The blacklist list that the bluetooth procedures code that described identification information is stored with local storage medium includes is mated, Described blacklist list includes described preset bluetooth equipment information.
4. method as claimed in claim 3 it is characterised in that described reception second bluetooth equipment send Bluetooth connection request Before, methods described also includes:
When starting the Bluetooth function of the first bluetooth equipment, described first bluetooth equipment is connect by local storage space or by peripheral hardware The bluetooth configuration information included by blacklist configuration file of the storage device stored that mouth connects is added to described bluetooth procedures generation In the blacklist list of code.
5. method as claimed in claim 3 it is characterised in that described by described identification information and preset bluetooth equipment information Mated, also included:
If described identification information is not matched that with the bluetooth equipment information in blacklist list, by described identification information and locally Bluetooth equipment information in the blacklist configuration file of storage in memory space or the storage device that connected by Peripheral Interface is entered Row coupling.
6. the method as described in any one of claim 1 to 5 is it is characterised in that methods described also includes:
If the identification information of described second bluetooth equipment is not matched that with preset bluetooth equipment information, described first bluetooth sets Standby is bluetooth primary role according to described first bluetooth equipment, and described second bluetooth equipment be bluetooth from role, with described second Bluetooth equipment carries out bluetooth connection.
7. the method as described in any one of claim 1 to 5 it is characterised in that
The identification information of described second bluetooth equipment is the address information of described second bluetooth equipment, or described second bluetooth equipment Address in high 3 bit address information.
8. a kind of Bluetooth connection device is it is characterised in that include:
Acquiring unit, for receiving the Bluetooth connection request that the second bluetooth equipment sends, obtains the mark of described second bluetooth equipment Knowledge information;
Matching unit, for being mated described identification information with preset bluetooth equipment information, if matched, is notified Arranging unit is configured;
Arranging unit, the Role Information for arranging described Bluetooth connection device and does not allow to carry out role's friendship from role for bluetooth Change;
Connection unit, carries out bluetooth connection for the Role Information according to described setting with described second bluetooth equipment.
9. device as claimed in claim 8 it is characterised in that
Described matching unit, specifically for obtaining black name from local storage space or in the storage device that connects by Peripheral Interface Single configuration file, described blacklist configuration file includes described preset bluetooth equipment information;Parse described blacklist configuration File obtains described preset bluetooth equipment information, and the preset bluetooth equipment information that described identification information is obtained with parsing is entered Row coupling.
10. device as claimed in claim 8 is it is characterised in that described matching unit includes:
First matching unit, specifically for including the bluetooth procedures code of described identification information and local storage medium storage Blacklist list mated, described blacklist list includes described preset bluetooth equipment information.
11. devices as claimed in claim 10 are it is characterised in that also include:
Adding device, for when starting the Bluetooth function of described Bluetooth connection device, by local storage space or by peripheral hardware The bluetooth configuration information included by blacklist configuration file of the storage device stored that interface connects is added to described bluetooth procedures In the blacklist list of code.
12. devices as claimed in claim 10 are it is characterised in that described matching unit also includes:
Second matching unit, if do not matched that with the bluetooth equipment information in blacklist list for described identification information, will The blacklist configuration file of described identification information storage with local storage space or in the storage device that is connected by Peripheral Interface In bluetooth equipment information mated.
13. devices as described in any one of claim 8 to 12 it is characterised in that
Described connection unit, if be additionally operable to the identification information of described second bluetooth equipment and preset bluetooth equipment information not phase Coupling, is bluetooth primary role according to described Bluetooth connection device, and described second bluetooth equipment be bluetooth from role, with described the Two bluetooth equipments carry out bluetooth connection.
14. devices as described in any one of claim 8 to 12 it is characterised in that
The identification information of described second bluetooth equipment is the address information of described second bluetooth equipment, or described second bluetooth equipment Address in high 3 bit address information.
CN201610900006.3A 2016-10-14 2016-10-14 A kind of Bluetooth connecting method and device Active CN106413130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610900006.3A CN106413130B (en) 2016-10-14 2016-10-14 A kind of Bluetooth connecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610900006.3A CN106413130B (en) 2016-10-14 2016-10-14 A kind of Bluetooth connecting method and device

Publications (2)

Publication Number Publication Date
CN106413130A true CN106413130A (en) 2017-02-15
CN106413130B CN106413130B (en) 2019-10-25

Family

ID=58011652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610900006.3A Active CN106413130B (en) 2016-10-14 2016-10-14 A kind of Bluetooth connecting method and device

Country Status (1)

Country Link
CN (1) CN106413130B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218994A (en) * 2018-09-05 2019-01-15 北京字节跳动网络技术有限公司 Equivalent device Bluetooth communication method and device based on gateway
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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630217A (en) * 2003-12-19 2005-06-22 株式会社东芝 Communication apparatus
US20060072525A1 (en) * 2004-09-23 2006-04-06 Jason Hillyard Method and system for role management for complex bluetooth® devices
CN104540175A (en) * 2014-11-26 2015-04-22 青岛歌尔声学科技有限公司 Switching method of uninterrupted Bluetooth connection, Bluetooth equipment and system
CN105490712A (en) * 2015-12-31 2016-04-13 中科创达软件股份有限公司 Bluetooth device connection method and bluetooth device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630217A (en) * 2003-12-19 2005-06-22 株式会社东芝 Communication apparatus
US20060072525A1 (en) * 2004-09-23 2006-04-06 Jason Hillyard Method and system for role management for complex bluetooth® devices
CN104540175A (en) * 2014-11-26 2015-04-22 青岛歌尔声学科技有限公司 Switching method of uninterrupted Bluetooth connection, Bluetooth equipment and system
CN105490712A (en) * 2015-12-31 2016-04-13 中科创达软件股份有限公司 Bluetooth device connection method and bluetooth device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218994A (en) * 2018-09-05 2019-01-15 北京字节跳动网络技术有限公司 Equivalent device Bluetooth communication method and device based on gateway
CN109218994B (en) * 2018-09-05 2021-09-17 北京字节跳动网络技术有限公司 Equivalent equipment Bluetooth communication method and device based on gateway
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
CN110087223B (en) * 2019-04-30 2022-11-15 努比亚技术有限公司 Communication connection method, communication device, and storage medium

Also Published As

Publication number Publication date
CN106413130B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN109417758B (en) Bluetooth connection method and terminal
CN106507501A (en) A kind of Bluetooth connecting method and device
CN104378145B (en) The matching method and system of bluetooth equipment
CN106413130A (en) Bluetooth connection method and device
CN111866998A (en) Bluetooth network distribution method, equipment and storage medium
CN106028264B (en) Electronic equipment Bluetooth pairing methods and system
CN103124422A (en) Device associating method, device and system
CN104801050A (en) Pairing method and pairing system for aeromodel airplane and remote controller
CN107172571A (en) A kind of smart machine automatic matching connection method and system
CN104301371A (en) Secure simple pairing through embedded vehicle network access device
CN105991164B (en) A kind of network-building method and system of bluetooth
CN105940720B (en) It is a kind of to trigger the method for register machine protocol interaction, access point, website
CN109981360B (en) Internet of things equipment site opening method, device and system and storage medium
CN104091113A (en) Method and system for achieving mobile terminal screen unlocking through NFC data matching
CN104105218A (en) Method and system for achieving Android system mobile phone hotspot WPS connection
CN108496381A (en) Information processing equipment, information processing method and program
CN109709915A (en) A kind of method and system of intelligent cooperating manufacture between multiple production line
CN106535090A (en) Pairing method for Bluetooth device and intelligent device and Bluetooth device
EP2981021A1 (en) Integrated circuit, communication method, computer program, and communication device
CN103347307B (en) A kind of wireless identification of patient monitor and the method and system of data transfer
CN104597890B (en) Information processing method and electronic equipment
CN105592459B (en) Safety certification device based on wireless communication
CN104754495A (en) Smart household device connecting method and smart terminal
CN104918296A (en) Network connection assistance system and method
CN103942480A (en) Method and system for achieving mobile terminal screen unlocking through matching of retina information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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 OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant