CN105636004A - Bluetooth automatic reconnection method and system based on low power consumption Bluetooth - Google Patents
Bluetooth automatic reconnection method and system based on low power consumption Bluetooth Download PDFInfo
- Publication number
- CN105636004A CN105636004A CN201510985958.5A CN201510985958A CN105636004A CN 105636004 A CN105636004 A CN 105636004A CN 201510985958 A CN201510985958 A CN 201510985958A CN 105636004 A CN105636004 A CN 105636004A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- equipment
- bluetooth equipment
- power consumption
- low
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The present invention discloses a Bluetooth automatic reconnection method and system based on low power consumption Bluetooth. Through judging whether the Bluetooth connection between a first Bluetooth device and a second Bluetooth device is disconnected or not, if so, the Bluetooth of the second Bluetooth device broadcasts to the surrounding in a low power consumption mode, and the Bluetooth of the first Bluetooth device scans the surrounding bluetooth devices in a low power consumption mode. Whether the first Bluetooth device scans the second Bluetooth device or not is judged, and if so, the first Bluetooth device sends a Bluetooth connection to the second Bluetooth device again, the Bluetooth connection is established again. When the distance between two Bluetooth devices is out of a range and the two Bluetooth devices are disconnected, the Bluetooth low power consumption broadcasting and scanning are started. When the Bluetooth device is in the vicinity again and is scanned, the reconnection is tried, thus in the condition of reducing power consumption as much as possible, the service reconnection is carried out, and convenience is brought to a user.
Description
Technical field
The present invention relates to low-power consumption Bluetooth technology field, in particular a kind of bluetooth Auto-reconnect method and system based on low-power consumption bluetooth.
Background technology
Bluetooth is a kind of open wireless communication standard, it is possible to the equipment such as wireless connections computer, portable equipment, mobile phone, printer, earphone in short-range. Blue tooth wireless technology employs the frequency band (2.4GHz) of global general-use, to guarantee to go everywhere without any hindrance here all over the world, allows various digital equipment wireless link up.
Bluetooth has a lot of application, and every kind of application is corresponding to a configuration file (Profile), and it defines the general behavior between bluetooth equipment, comprises initially setting up messaging parameter and control. Common configuration file has A2DP(AdvanceAudioDistributionProfile, the stereo audio transmission between definition device), HFP(Hands-FreeProfile, the connection transmission of definition hands-free device) etc. Before bluetooth equipment interconnection, two bluetooth equipments need pairing. Due to the distance limit of bluetooth, after two bluetooth equipments exceed certain distance, service connection can interrupt; Even if two equipment come back to attachable scope later, business is without Auto-reconnect.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is in that, it is provided that a kind of bluetooth Auto-reconnect method and system based on low-power consumption bluetooth, it is intended to solve existing bluetooth connect disconnect after will not the problem of Auto-reconnect.
This invention address that the technical scheme that technical problem adopts is as follows:
A kind of bluetooth Auto-reconnect method based on low-power consumption bluetooth, wherein, including:
Whether the connection of A, the bluetooth judged between the first bluetooth equipment and the second bluetooth equipment disconnects, if it has, then perform step B;
B, the second bluetooth equipment bluetooth broadcast towards periphery with low-power consumption mode, the bluetooth of the first bluetooth equipment is with low-power consumption mode scanning bluetooth equipment around;
C, judge whether the first bluetooth equipment scans described second bluetooth equipment, connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
The described bluetooth Auto-reconnect method based on low-power consumption bluetooth, wherein, described step B specifically includes:
B1, the second bluetooth equipment bluetooth broadcast towards periphery with low-power consumption mode correspondence Bluetooth address and bluetooth title;
B2, the first bluetooth equipment bluetooth with low-power consumption mode scanning bluetooth equipment around, the scan period is the very first time.
The described bluetooth Auto-reconnect method based on low-power consumption bluetooth, wherein, described step C specifically includes:
C1, judge whether the first bluetooth equipment scans described second bluetooth equipment, if it has not, then return step B2; Connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
The described bluetooth Auto-reconnect method based on low-power consumption bluetooth, wherein, described step C specifically includes:
C2, the first bluetooth equipment obtain the Bluetooth address of bluetooth equipment around, it is judged that among the bluetooth equipment Bluetooth address connected whether this Bluetooth address preserves on the first bluetooth equipment, if it has not, then return step B2; Connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
The described bluetooth Auto-reconnect method based on low-power consumption bluetooth, wherein, described step C also includes:
C3, judge whether the first bluetooth equipment scans described second bluetooth equipment, if yes, then closing the low coverage sensing defined function of the first bluetooth equipment and the second bluetooth equipment, the first bluetooth equipment is again initiated bluetooth to the second bluetooth equipment and is connected, and re-establishes bluetooth and connects.
A kind of bluetooth Auto-reconnect system based on low-power consumption bluetooth, wherein, including:
Whether connection judgment module, disconnect for judging that the bluetooth between the first bluetooth equipment and the second bluetooth equipment connects, if it has, then perform low-power consumption bluetooth module;
Low-power consumption bluetooth module, for being broadcasted towards periphery with low-power consumption mode by the bluetooth of the second bluetooth equipment, the bluetooth of the first bluetooth equipment is with the bluetooth equipment around low-power consumption mode scanning;
Auto-reconnect module, is used for judging whether the first bluetooth equipment scans described second bluetooth equipment, connects if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establishes bluetooth and connects.
The described bluetooth Auto-reconnect system based on low-power consumption bluetooth, wherein, described low-power consumption bluetooth module includes:
Radio unit, for broadcasting Bluetooth address and the bluetooth title of correspondence towards periphery by the bluetooth of the second bluetooth equipment with low-power consumption mode;
Scanning element, for scanning bluetooth equipment around by the bluetooth of the first bluetooth equipment with low-power consumption mode, the scan period is the very first time.
The described bluetooth Auto-reconnect system based on low-power consumption bluetooth, wherein, described Auto-reconnect module includes:
First Auto-reconnect unit, is used for judging whether the first bluetooth equipment scans described second bluetooth equipment, if it has not, then return scanning element; Connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
The described bluetooth Auto-reconnect system based on low-power consumption bluetooth, wherein, described Auto-reconnect module includes:
Second Auto-reconnect unit, for being obtained the Bluetooth address of bluetooth equipment around by the first bluetooth equipment, judge among the bluetooth equipment Bluetooth address connected whether this Bluetooth address preserves on the first bluetooth equipment, if it has not, then return scanning element; Connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
The described bluetooth Auto-reconnect system based on low-power consumption bluetooth, wherein, described Auto-reconnect module includes:
3rd Auto-reconnect unit, for judging whether the first bluetooth equipment scans described second bluetooth equipment, if yes, then close the low coverage sensing defined function of the first bluetooth equipment and the second bluetooth equipment, first bluetooth equipment is again initiated bluetooth to the second bluetooth equipment and is connected, and re-establishes bluetooth and connects.
A kind of bluetooth Auto-reconnect method and system based on low-power consumption bluetooth provided by the present invention, efficiently solve existing bluetooth connect disconnect after will not the problem of Auto-reconnect, whether disconnect by judging that the bluetooth between the first bluetooth equipment and the second bluetooth equipment connects, if yes, then the bluetooth of the second bluetooth equipment is broadcasted towards periphery with low-power consumption mode, and the bluetooth of the first bluetooth equipment is with the bluetooth equipment around low-power consumption mode scanning; Judge whether the first bluetooth equipment scans described second bluetooth equipment, connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect; When two bluetooth equipments disconnect beyond distance, open broadcast and the scanning of Bluetooth Low Energy; When scan bluetooth equipment again nearby time, attempt reconnect; So when power consumption less as far as possible, business can be carried out and reconnects, bring advantage to the user.
Accompanying drawing explanation
Fig. 1 is the flow chart of the bluetooth Auto-reconnect method preferred embodiment based on low-power consumption bluetooth provided by the invention.
Fig. 2 is the structured flowchart of the bluetooth Auto-reconnect system preferred embodiment based on low-power consumption bluetooth provided by the invention.
Detailed description of the invention
The present invention provides a kind of bluetooth Auto-reconnect method and system based on low-power consumption bluetooth, and for making the purpose of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment. Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
Bluetooth Low Energy (BluetoothLowEnergy) is a kind of low cost, short distance, the wireless technology of interoperable. Its most important characteristic is exactly power saving, extremely low operation and stand-by power consumption, and a button cell can as long as the continuous operation several years; Additionally, low cost and across characteristics such as vendor interoperabilitys, it is possible to for various fields such as pedometer, heart rate monitor, intelligence instrument, sensor Internet of Things. The advantage of low-power consumption bluetooth (BluetoothLowEnergy, BLE) is province's power consumption, and the data volume simultaneously transmitted is also smaller. The exploitation of BLE agreement is mainly at link layer (LinkLayer, LL), general-purpose accessing protocol layer (GenericAccessProfile, GAP) and general-purpose attribute protocol layer (GenericAttributeProfile, GATT).
In bluetooth BLE, there is a GenericAttributeProfile (GATT), it is that one is connected by BLE, the Profile(configuration file of read-write properties class small data) general specification, the Profile of now all of BLE application is all based on GATT. GATT has two kinds of roles: central apparatus (Central) and ancillary equipment (Peripheral). Ancillary equipment is broadcasted firstly the need of by the information of self, and central equipment obtains the information of ancillary equipment by searching for, and carries out data exchange.
The Profile of BLE has and realizes the PXP(proximityprofile that two bluetooth equipments of detection are close, low coverage sensing defined function), define two role's ProximityMonitor(low coverage sensing monitoring modules) sense reporting modules with ProximityReporter(low coverage), the former is GATTclient(client), perform scanning and the logic being connected; The latter is GATTserver(server), be responsible for broadcast with receive Monitor(monitoring module) connection.
Refer to the flow chart that Fig. 1, Fig. 1 are the bluetooth Auto-reconnect method preferred embodiment based on low-power consumption bluetooth provided by the invention, as it can be seen, said method comprising the steps of:
Whether the connection of step S100, the bluetooth judged between the first bluetooth equipment and the second bluetooth equipment disconnects, if it has, then perform step S200;
Step S200, the second bluetooth equipment bluetooth broadcast towards periphery with low-power consumption mode, the bluetooth of the first bluetooth equipment is with low-power consumption mode scanning bluetooth equipment around;
Step S300, judge whether the first bluetooth equipment scans described second bluetooth equipment, connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
Below in conjunction with specific embodiment, above-mentioned steps is described in detail.
In the step s 100, it is judged that whether the bluetooth connection between the first bluetooth equipment and the second bluetooth equipment disconnects, if it has, then perform step S200. The connection of existing bluetooth generally only has 10m, and when two equipment are beyond this distance, existing bluetooth service can be interrupted; Even if two equipment come back to attachable scope later, business is without Auto-reconnect, it is necessary to user manually connects. First bluetooth equipment of the present invention and the second bluetooth equipment are in Bluetooth pairing and bluetooth connection status, when the distance of the first bluetooth equipment and the second bluetooth equipment is beyond certain limit, then bluetooth connection between the two can be interrupted. When whether the bluetooth detected between the first bluetooth equipment and the second bluetooth equipment connects and disconnects, then perform step S200, namely the bluetooth of the second bluetooth equipment is broadcasted towards periphery with low-power consumption mode, and the bluetooth of the first bluetooth equipment is with the bluetooth equipment around low-power consumption mode scanning. Described first bluetooth equipment and the second bluetooth equipment can be mobile terminal, such as mobile phone, panel computer etc., it is possible to for the various wearable devices with Bluetooth function, such as bluetooth earphone, Bluetooth watch etc.
In step s 200, the bluetooth of the second bluetooth equipment is broadcasted towards periphery with low-power consumption mode, and the bluetooth of the first bluetooth equipment is with the bluetooth equipment around low-power consumption mode scanning. Specifically, when two bluetooth equipments disconnect beyond distance, open broadcast and the scanning of Bluetooth Low Energy. When practical application, the bluetooth of the second bluetooth equipment broadcasts Bluetooth address and the bluetooth title of correspondence towards periphery with low-power consumption mode. Preferably, the bluetooth of the first bluetooth equipment is with the bluetooth equipment around low-power consumption mode scanning, and the scan period is the very first time. The very first time is such as 0.5 second or 1 second etc., specifically can be configured as required. Arranging the scan period is when not scanning earphone, and mobile phone waits that the regular hour is scanned again, promotes thus avoiding searching for the power consumption brought frequently.
Preferably, described step S200 specifically includes:
S201, the second bluetooth equipment bluetooth broadcast towards periphery with low-power consumption mode correspondence Bluetooth address and bluetooth title;
S202, the first bluetooth equipment bluetooth with low-power consumption mode scanning bluetooth equipment around, the scan period is the very first time.
In step S300, it is judged that whether the first bluetooth equipment scans described second bluetooth equipment, connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect. Specifically, it is simply that after the first bluetooth equipment and the second bluetooth equipment disconnect bluetooth connection, the first bluetooth equipment opens the scanning of low-power consumption bluetooth mode, and the second bluetooth equipment opens the broadcast of low-power consumption bluetooth mode. When the second bluetooth equipment is again near the first bluetooth equipment, then the first bluetooth equipment can scan the second bluetooth equipment, the first bluetooth equipment is again initiated bluetooth to the second bluetooth equipment and is connected, and re-establishes bluetooth and connects.
Further, described step S300 specifically includes:
S301, judge whether the first bluetooth equipment scans described second bluetooth equipment, if it has not, then return step S202; Connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
Specifically, it is simply that the first bluetooth equipment judges whether to scan described second bluetooth equipment, it does not have scanning, the first bluetooth equipment again scans after the time delay very first time, so can avoid searching for the power consumption brought frequently to promote; If scanning the second bluetooth equipment, then the first bluetooth equipment is again initiated bluetooth to the second bluetooth equipment and connected, and re-establishes bluetooth and connects.
Preferably, described step S300 specifically includes:
S302, the first bluetooth equipment obtain the Bluetooth address of bluetooth equipment around, it is judged that among the bluetooth equipment Bluetooth address connected whether this Bluetooth address preserves on the first bluetooth equipment, if it has not, then return step S202; Connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
About how judging whether the first bluetooth equipment scans described second bluetooth equipment, can be judged by comparison Bluetooth address, first bluetooth equipment stores the Bluetooth address of the bluetooth equipment of connected mistake, so after the second bluetooth equipment disconnects, in the first bluetooth equipment, storage has the Bluetooth address of the second bluetooth equipment. First bluetooth equipment scanning bluetooth equipment around, obtains the Bluetooth address of correspondence, if meeting the Bluetooth address of storage in the first bluetooth equipment, then then can correspondence reconnect.
Preferably, described step S300 also includes:
S303, judge whether the first bluetooth equipment scans described second bluetooth equipment, if yes, then closing the low coverage sensing defined function of the first bluetooth equipment and the second bluetooth equipment, the first bluetooth equipment is again initiated bluetooth to the second bluetooth equipment and is connected, and re-establishes bluetooth and connects. Specifically, Bluetooth Low Energy pattern has low coverage sensing defined function, after unlatching, the first bluetooth equipment and the second bluetooth equipment just can have distance perspective should and close to inducing function. When the first bluetooth equipment and the second bluetooth equipment disconnect, just corresponding low coverage of opening senses defined function; When the first bluetooth equipment and the second bluetooth equipment reconnect, corresponding low coverage of closing senses defined function.
With an Application Example, the detailed description of the invention is as follows below.
(A2DP is transmitted with Bluetooth audio frequency, AdvanceAudioDistributionProfile, stereo audio transmission between definition device) for example, system has mobile phone (namely the first bluetooth equipment) and bluetooth earphone (namely the second bluetooth equipment) two parts. Case for mobile telephone is containing two modules, A2DP and PXPMonitor(low coverage sensing monitoring module): A2DP is the bluetooth configuration file for audio transmission, and PXPMonitor is for when two equipment are beyond apart from later Bluetooth Low Energy scanning. Bluetooth earphone end also comprises two modules, A2DPSink and PXPReporter(low coverage sensing reporting modules): A2DPSink is used for reception and the broadcasting of Bluetooth audio frequency transmission, and PXPReporter is for the broadcast of Bluetooth Low Energy, so as to arrived by mobile telephone scanning.
Original state, mobile phone and bluetooth earphone are in pairing and connection status, and the audio frequency of mobile phone is by A2DP module transfer to bluetooth earphone. When the distance of bluetooth earphone with mobile phone exceeds certain limit, bluetooth disconnecting. Then, mobile phone opens PXP function with bluetooth, and mobile phone is used for scanning as ProximityMonitor; Earphone, as ProximityReporter, opens broadcast, in order to arrived by mobile telephone scanning. Mobile phone performs single pass, and when not scanning earphone, mobile phone scans after needing wait regular hour (namely the very first time) again, avoids searching for the power consumption brought frequently and promotes; If scanning original bluetooth earphone, closing PXP function, mobile phone is again initiated A2DP to bluetooth earphone and is connected, and bluetooth connection re-establishes, and flow process terminates.
The bluetooth Auto-reconnect method based on low-power consumption bluetooth of the present invention, when two bluetooth equipments disconnect beyond distance, opens broadcast and the scanning of Bluetooth Low Energy; When scan equipment again nearby time, attempt reconnect; So when power consumption less as far as possible, business can be carried out and reconnects, bring advantage to the user; The present invention adopts Bluetooth Low Energy broadcast and scan mechanism, it is possible to realizing Auto-reconnect, greatly facilitating thus bringing to user.
Based on above-mentioned bluetooth Auto-reconnect method, the embodiment of the present invention additionally provides a kind of bluetooth Auto-reconnect system based on low-power consumption bluetooth, as in figure 2 it is shown, include:
Whether connection judgment module 10, disconnect for judging that the bluetooth between the first bluetooth equipment and the second bluetooth equipment connects, if it has, then perform low-power consumption bluetooth module 20; Specifically as described in step S100;
Low-power consumption bluetooth module 20, for being broadcasted towards periphery with low-power consumption mode by the bluetooth of the second bluetooth equipment, the bluetooth of the first bluetooth equipment is with the bluetooth equipment around low-power consumption mode scanning; Specifically as described in step S200;
Auto-reconnect module 30, is used for judging whether the first bluetooth equipment scans described second bluetooth equipment, connects if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establishes bluetooth and connects; Specifically as described in step S300.
Further, described low-power consumption bluetooth module 20 includes:
Radio unit, for broadcasting Bluetooth address and the bluetooth title of correspondence towards periphery by the bluetooth of the second bluetooth equipment with low-power consumption mode;
Scanning element, for scanning bluetooth equipment around by the bluetooth of the first bluetooth equipment with low-power consumption mode, the scan period is the very first time.
Further, described Auto-reconnect module 30 includes:
First Auto-reconnect unit, is used for judging whether the first bluetooth equipment scans described second bluetooth equipment, if it has not, then return scanning element; Connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
Further, described Auto-reconnect module 30 includes:
Second Auto-reconnect unit, for being obtained the Bluetooth address of bluetooth equipment around by the first bluetooth equipment, judge among the bluetooth equipment Bluetooth address connected whether this Bluetooth address preserves on the first bluetooth equipment, if it has not, then return scanning element; Connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
Further, described Auto-reconnect module 30 includes:
3rd Auto-reconnect unit, for judging whether the first bluetooth equipment scans described second bluetooth equipment, if yes, then close the low coverage sensing defined function of the first bluetooth equipment and the second bluetooth equipment, first bluetooth equipment is again initiated bluetooth to the second bluetooth equipment and is connected, and re-establishes bluetooth and connects.
In sum, a kind of bluetooth Auto-reconnect method and system based on low-power consumption bluetooth provided by the invention, whether disconnect by judging that the bluetooth between the first bluetooth equipment and the second bluetooth equipment connects, if yes, then the bluetooth of the second bluetooth equipment is broadcasted towards periphery with low-power consumption mode, and the bluetooth of the first bluetooth equipment is with the bluetooth equipment around low-power consumption mode scanning; Judge whether the first bluetooth equipment scans described second bluetooth equipment, connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect; When two bluetooth equipments disconnect beyond distance, open broadcast and the scanning of Bluetooth Low Energy; When scan equipment again nearby time, attempt reconnect; So when power consumption less as far as possible, business can be carried out and reconnects, bring advantage to the user.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, it is possible to improved according to the above description or convert, all these improve and convert the protection domain that all should belong to claims of the present invention.
Claims (10)
1. the bluetooth Auto-reconnect method based on low-power consumption bluetooth, it is characterised in that including:
Whether the connection of A, the bluetooth judged between the first bluetooth equipment and the second bluetooth equipment disconnects, if it has, then perform step B;
B, the second bluetooth equipment bluetooth broadcast towards periphery with low-power consumption mode, the bluetooth of the first bluetooth equipment is with low-power consumption mode scanning bluetooth equipment around;
C, judge whether the first bluetooth equipment scans described second bluetooth equipment, connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
2. the bluetooth Auto-reconnect method based on low-power consumption bluetooth according to claim 1, it is characterised in that described step B specifically includes:
B1, the second bluetooth equipment bluetooth broadcast towards periphery with low-power consumption mode correspondence Bluetooth address and bluetooth title;
B2, the first bluetooth equipment bluetooth with low-power consumption mode scanning bluetooth equipment around, the scan period is the very first time.
3. the bluetooth Auto-reconnect method based on low-power consumption bluetooth according to claim 2, it is characterised in that described step C specifically includes:
C1, judge whether the first bluetooth equipment scans described second bluetooth equipment, if it has not, then return step B2; Connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
4. the bluetooth Auto-reconnect method based on low-power consumption bluetooth according to Claims 2 or 3, it is characterised in that described step C specifically includes:
C2, the first bluetooth equipment obtain the Bluetooth address of bluetooth equipment around, it is judged that among the bluetooth equipment Bluetooth address connected whether this Bluetooth address preserves on the first bluetooth equipment, if it has not, then return step B2; Connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
5. the bluetooth Auto-reconnect method based on low-power consumption bluetooth according to claim 2, it is characterised in that described step C also includes:
C3, judge whether the first bluetooth equipment scans described second bluetooth equipment, if yes, then closing the low coverage sensing defined function of the first bluetooth equipment and the second bluetooth equipment, the first bluetooth equipment is again initiated bluetooth to the second bluetooth equipment and is connected, and re-establishes bluetooth and connects.
6. the bluetooth Auto-reconnect system based on low-power consumption bluetooth, it is characterised in that including:
Whether connection judgment module, disconnect for judging that the bluetooth between the first bluetooth equipment and the second bluetooth equipment connects, if it has, then perform low-power consumption bluetooth module;
Low-power consumption bluetooth module, for being broadcasted towards periphery with low-power consumption mode by the bluetooth of the second bluetooth equipment, the bluetooth of the first bluetooth equipment is with the bluetooth equipment around low-power consumption mode scanning;
Auto-reconnect module, is used for judging whether the first bluetooth equipment scans described second bluetooth equipment, connects if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establishes bluetooth and connects.
7. the bluetooth Auto-reconnect system based on low-power consumption bluetooth according to claim 6, it is characterised in that described low-power consumption bluetooth module includes:
Radio unit, for broadcasting Bluetooth address and the bluetooth title of correspondence towards periphery by the bluetooth of the second bluetooth equipment with low-power consumption mode;
Scanning element, for scanning bluetooth equipment around by the bluetooth of the first bluetooth equipment with low-power consumption mode, the scan period is the very first time.
8. the bluetooth Auto-reconnect system based on low-power consumption bluetooth according to claim 7, it is characterised in that described Auto-reconnect module includes:
First Auto-reconnect unit, is used for judging whether the first bluetooth equipment scans described second bluetooth equipment, if it has not, then return scanning element; Connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
9. the bluetooth Auto-reconnect system based on low-power consumption bluetooth according to claim 7 or 8, it is characterised in that described Auto-reconnect module includes:
Second Auto-reconnect unit, for being obtained the Bluetooth address of bluetooth equipment around by the first bluetooth equipment, judge among the bluetooth equipment Bluetooth address connected whether this Bluetooth address preserves on the first bluetooth equipment, if it has not, then return scanning element; Connect if it has, then the first bluetooth equipment initiates bluetooth to the second bluetooth equipment again, re-establish bluetooth and connect.
10. the bluetooth Auto-reconnect system based on low-power consumption bluetooth according to claim 6, it is characterised in that described Auto-reconnect module includes:
3rd Auto-reconnect unit, for judging whether the first bluetooth equipment scans described second bluetooth equipment, if yes, then close the low coverage sensing defined function of the first bluetooth equipment and the second bluetooth equipment, first bluetooth equipment is again initiated bluetooth to the second bluetooth equipment and is connected, and re-establishes bluetooth and connects.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510985958.5A CN105636004A (en) | 2015-12-25 | 2015-12-25 | Bluetooth automatic reconnection method and system based on low power consumption Bluetooth |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510985958.5A CN105636004A (en) | 2015-12-25 | 2015-12-25 | Bluetooth automatic reconnection method and system based on low power consumption Bluetooth |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105636004A true CN105636004A (en) | 2016-06-01 |
Family
ID=56050399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510985958.5A Pending CN105636004A (en) | 2015-12-25 | 2015-12-25 | Bluetooth automatic reconnection method and system based on low power consumption Bluetooth |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105636004A (en) |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106162535A (en) * | 2016-08-29 | 2016-11-23 | 中科创达软件股份有限公司 | The method and device that a kind of bluetooth connects |
CN106332159A (en) * | 2016-08-10 | 2017-01-11 | 深圳市奥尼电子工业有限公司 | WIFI anomaly automatic reconnection device, system and method |
CN107040871A (en) * | 2016-12-26 | 2017-08-11 | 歌尔科技有限公司 | The connection method of bluetooth equipment and equipment |
CN107071701A (en) * | 2017-03-13 | 2017-08-18 | 广州视源电子科技股份有限公司 | A kind of Bluetooth slave devices find the method and Bluetooth slave devices of target Bluetooth slave unit |
CN107182026A (en) * | 2017-05-17 | 2017-09-19 | 上海晶曦微电子科技有限公司 | Information transferring method and device based on low-power consumption bluetooth |
CN107454563A (en) * | 2017-09-08 | 2017-12-08 | 歌尔科技有限公司 | A kind of Bluetooth communication method, device and bluetooth equipment |
CN107635290A (en) * | 2017-07-25 | 2018-01-26 | 深圳市文鼎创数据科技有限公司 | Mobile terminal, Bluetooth Key and connection method, storage medium and system |
CN108174457A (en) * | 2018-01-12 | 2018-06-15 | 恒玄科技(上海)有限公司 | Charging box, the communication system of bluetooth headset and communication means |
CN108198398A (en) * | 2017-12-29 | 2018-06-22 | 北京智行鸿远汽车有限公司 | Applied to the wireless communications method and system detected automatically |
CN108541080A (en) * | 2018-04-23 | 2018-09-14 | Oppo广东移动通信有限公司 | First electronic equipment and the second electronic equipment carry out the method and Related product of Hui Lian |
CN108810865A (en) * | 2018-09-02 | 2018-11-13 | 上海悦骑智能科技有限公司 | The method that no ability to communicate bluetooth equipment is connected with communication apparatus |
CN109413629A (en) * | 2018-11-20 | 2019-03-01 | 智车优行科技(北京)有限公司 | Bluetooth reconnection method |
CN109769240A (en) * | 2019-03-12 | 2019-05-17 | 百度在线网络技术(北京)有限公司 | Bluetooth connecting method, device and system |
CN110062366A (en) * | 2019-04-18 | 2019-07-26 | 深圳创维数字技术有限公司 | Bluetooth pairing abnormality eliminating method, equipment, storage medium and device |
CN110602592A (en) * | 2019-09-30 | 2019-12-20 | 广州酷狗计算机科技有限公司 | Earphone assembly |
CN110740400A (en) * | 2019-10-30 | 2020-01-31 | 歌尔股份有限公司 | Charging box, TWS earphone, system of charging box and TWS earphone, reconnection device and method |
CN110753312A (en) * | 2019-10-25 | 2020-02-04 | 深圳传音控股股份有限公司 | Data sharing method, device and system and computer readable storage medium |
CN112839303A (en) * | 2021-04-12 | 2021-05-25 | 荣耀终端有限公司 | Method and related device for device reconnection |
CN113115291A (en) * | 2021-04-13 | 2021-07-13 | 深圳市康凯铭科技有限公司 | Bluetooth automatic reconnection method and system based on low-power-consumption Bluetooth |
CN113225690A (en) * | 2020-01-21 | 2021-08-06 | 华为技术有限公司 | Bluetooth connection method, system and electronic equipment |
EP3873118A1 (en) * | 2017-05-19 | 2021-09-01 | Apple Inc. | Bluetooth (tm) low-energy scanning and ranging |
CN113891297A (en) * | 2021-05-31 | 2022-01-04 | 荣耀终端有限公司 | Method for controlling Bluetooth connection and electronic equipment |
CN114157995A (en) * | 2021-12-16 | 2022-03-08 | 深圳市英维克信息技术有限公司 | Bluetooth networking method and device, electronic equipment and computer readable storage medium |
CN115499815A (en) * | 2022-09-15 | 2022-12-20 | 中山亿联智能科技有限公司 | Intelligent quick connection method of low-power-consumption Bluetooth equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020066249A (en) * | 2001-02-09 | 2002-08-14 | 삼성전자 주식회사 | Method for establishing link among telecommunication terminals having bluetooth device |
CN104469980A (en) * | 2014-11-21 | 2015-03-25 | 广东欧珀移动通信有限公司 | Bluetooth connecting method and Bluetooth equipment |
US20150170136A1 (en) * | 2013-12-18 | 2015-06-18 | PayRange Inc. | Method and System for Performing Mobile Device-To-Machine Payments |
KR20150086851A (en) * | 2014-01-21 | 2015-07-29 | 김관민 | Real time remote data communication method and system by BLE(Bluetooth Low Energy) communication and the sound wave |
CN104967971A (en) * | 2015-06-26 | 2015-10-07 | 飞天诚信科技股份有限公司 | Method achieving bluetooth automatic return connection in Android system |
-
2015
- 2015-12-25 CN CN201510985958.5A patent/CN105636004A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020066249A (en) * | 2001-02-09 | 2002-08-14 | 삼성전자 주식회사 | Method for establishing link among telecommunication terminals having bluetooth device |
US20150170136A1 (en) * | 2013-12-18 | 2015-06-18 | PayRange Inc. | Method and System for Performing Mobile Device-To-Machine Payments |
KR20150086851A (en) * | 2014-01-21 | 2015-07-29 | 김관민 | Real time remote data communication method and system by BLE(Bluetooth Low Energy) communication and the sound wave |
CN104469980A (en) * | 2014-11-21 | 2015-03-25 | 广东欧珀移动通信有限公司 | Bluetooth connecting method and Bluetooth equipment |
CN104967971A (en) * | 2015-06-26 | 2015-10-07 | 飞天诚信科技股份有限公司 | Method achieving bluetooth automatic return connection in Android system |
Cited By (31)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106332159A (en) * | 2016-08-10 | 2017-01-11 | 深圳市奥尼电子工业有限公司 | WIFI anomaly automatic reconnection device, system and method |
CN106162535A (en) * | 2016-08-29 | 2016-11-23 | 中科创达软件股份有限公司 | The method and device that a kind of bluetooth connects |
CN107040871A (en) * | 2016-12-26 | 2017-08-11 | 歌尔科技有限公司 | The connection method of bluetooth equipment and equipment |
CN107071701A (en) * | 2017-03-13 | 2017-08-18 | 广州视源电子科技股份有限公司 | A kind of Bluetooth slave devices find the method and Bluetooth slave devices of target Bluetooth slave unit |
CN107071701B (en) * | 2017-03-13 | 2019-12-27 | 广州视源电子科技股份有限公司 | Method for discovering target Bluetooth slave device by Bluetooth slave device and Bluetooth slave device |
CN107182026A (en) * | 2017-05-17 | 2017-09-19 | 上海晶曦微电子科技有限公司 | Information transferring method and device based on low-power consumption bluetooth |
EP3873118A1 (en) * | 2017-05-19 | 2021-09-01 | Apple Inc. | Bluetooth (tm) low-energy scanning and ranging |
CN107635290A (en) * | 2017-07-25 | 2018-01-26 | 深圳市文鼎创数据科技有限公司 | Mobile terminal, Bluetooth Key and connection method, storage medium and system |
CN107454563A (en) * | 2017-09-08 | 2017-12-08 | 歌尔科技有限公司 | A kind of Bluetooth communication method, device and bluetooth equipment |
CN107454563B (en) * | 2017-09-08 | 2020-08-28 | 歌尔科技有限公司 | Bluetooth communication method and device and Bluetooth equipment |
CN108198398A (en) * | 2017-12-29 | 2018-06-22 | 北京智行鸿远汽车有限公司 | Applied to the wireless communications method and system detected automatically |
CN108174457B (en) * | 2018-01-12 | 2020-09-01 | 恒玄科技(上海)股份有限公司 | Charging box, communication system and communication method of Bluetooth headset |
CN108174457A (en) * | 2018-01-12 | 2018-06-15 | 恒玄科技(上海)有限公司 | Charging box, the communication system of bluetooth headset and communication means |
CN108541080A (en) * | 2018-04-23 | 2018-09-14 | Oppo广东移动通信有限公司 | First electronic equipment and the second electronic equipment carry out the method and Related product of Hui Lian |
CN108541080B (en) * | 2018-04-23 | 2020-09-22 | Oppo广东移动通信有限公司 | Method for realizing loop connection between first electronic equipment and second electronic equipment and related product |
CN108810865A (en) * | 2018-09-02 | 2018-11-13 | 上海悦骑智能科技有限公司 | The method that no ability to communicate bluetooth equipment is connected with communication apparatus |
CN109413629A (en) * | 2018-11-20 | 2019-03-01 | 智车优行科技(北京)有限公司 | Bluetooth reconnection method |
CN109769240A (en) * | 2019-03-12 | 2019-05-17 | 百度在线网络技术(北京)有限公司 | Bluetooth connecting method, device and system |
CN110062366A (en) * | 2019-04-18 | 2019-07-26 | 深圳创维数字技术有限公司 | Bluetooth pairing abnormality eliminating method, equipment, storage medium and device |
CN110602592A (en) * | 2019-09-30 | 2019-12-20 | 广州酷狗计算机科技有限公司 | Earphone assembly |
CN110753312A (en) * | 2019-10-25 | 2020-02-04 | 深圳传音控股股份有限公司 | Data sharing method, device and system and computer readable storage medium |
CN110740400B (en) * | 2019-10-30 | 2021-03-26 | 歌尔股份有限公司 | Charging box, TWS earphone, system of charging box and TWS earphone, reconnection device and method |
CN110740400A (en) * | 2019-10-30 | 2020-01-31 | 歌尔股份有限公司 | Charging box, TWS earphone, system of charging box and TWS earphone, reconnection device and method |
CN113225690A (en) * | 2020-01-21 | 2021-08-06 | 华为技术有限公司 | Bluetooth connection method, system and electronic equipment |
CN113225690B (en) * | 2020-01-21 | 2022-09-02 | 华为技术有限公司 | Bluetooth connection method, system and electronic equipment |
CN112839303A (en) * | 2021-04-12 | 2021-05-25 | 荣耀终端有限公司 | Method and related device for device reconnection |
CN113115291A (en) * | 2021-04-13 | 2021-07-13 | 深圳市康凯铭科技有限公司 | Bluetooth automatic reconnection method and system based on low-power-consumption Bluetooth |
CN113115291B (en) * | 2021-04-13 | 2021-11-26 | 深圳市康凯铭科技有限公司 | Bluetooth automatic reconnection method and system based on low-power-consumption Bluetooth |
CN113891297A (en) * | 2021-05-31 | 2022-01-04 | 荣耀终端有限公司 | Method for controlling Bluetooth connection and electronic equipment |
CN114157995A (en) * | 2021-12-16 | 2022-03-08 | 深圳市英维克信息技术有限公司 | Bluetooth networking method and device, electronic equipment and computer readable storage medium |
CN115499815A (en) * | 2022-09-15 | 2022-12-20 | 中山亿联智能科技有限公司 | Intelligent quick connection method of low-power-consumption Bluetooth equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105636004A (en) | Bluetooth automatic reconnection method and system based on low power consumption Bluetooth | |
EP2774351B1 (en) | Transferring an active call to another device | |
CN108476060B (en) | Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device | |
US8364963B2 (en) | Method and device for bluetooth pairing | |
US6871047B2 (en) | Radio communication connection destination specifying method | |
CN105406923B (en) | A kind of Bluetooth interconnection method and system of mobile terminal | |
US10542405B2 (en) | Bluetooth profile fast connect | |
CN105450268A (en) | Bluetooth-based method and system for automatically connecting wearable device with mobile terminal | |
EP2649859B1 (en) | Automatically enabling wireless communication | |
WO2020132922A1 (en) | Method and device for connecting bluetooth devices | |
CN103906208A (en) | Multimode power-saving multimedia transmission method and system | |
EP2941058A1 (en) | Near field communication method and device | |
CN104205998A (en) | Method and apparatus for relaying data communications in a bluetooth network | |
CN113660650B (en) | Method and related device for device reconnection | |
CN103476146B (en) | The data transmission method of compatible Miracast and system | |
US9258672B2 (en) | Short-range wireless communication device | |
CN108353339A (en) | The method and apparatus of networking between a kind of equipment | |
CN103312787B (en) | A kind of method and mobile terminal being quickly shared file by fingerprint recognition | |
EP1720328A1 (en) | Apparatus and method for displaying information in Bluetooth communication mode of wireless terminal | |
CA2723657C (en) | Router collaboration | |
US7580704B2 (en) | Communication systems and methods for switching communication services | |
CN112436985A (en) | Network distribution method, device, terminal equipment and storage medium | |
US20150172433A1 (en) | Method, system and mobile terminal for connection to a public network | |
CN112788783A (en) | Relay connection establishing method and equipment | |
KR100790155B1 (en) | System and method for emboding a multimedia service in mobile terminal through a remote apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160601 |
|
RJ01 | Rejection of invention patent application after publication |