CN106231542A - A kind of passive method of attachment of bluetooth - Google Patents

A kind of passive method of attachment of bluetooth Download PDF

Info

Publication number
CN106231542A
CN106231542A CN201610750485.5A CN201610750485A CN106231542A CN 106231542 A CN106231542 A CN 106231542A CN 201610750485 A CN201610750485 A CN 201610750485A CN 106231542 A CN106231542 A CN 106231542A
Authority
CN
China
Prior art keywords
bluetooth
slave devices
bluetooth slave
master
devices
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
Application number
CN201610750485.5A
Other languages
Chinese (zh)
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.)
Changsha Rich Communication Technology Co Ltd
Original Assignee
Changsha Rich Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changsha Rich Communication Technology Co Ltd filed Critical Changsha Rich Communication Technology Co Ltd
Priority to CN201610750485.5A priority Critical patent/CN106231542A/en
Publication of CN106231542A publication Critical patent/CN106231542A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A kind of passive method of attachment of bluetooth, comprises the following steps: (1), in the system having multiple Bluetooth slave devices, bluetooth master sets up a heartbeat packet, periodic scanning surrounding devices;(2) when there being Bluetooth slave devices to need to connect bluetooth master, the implementor name of this Bluetooth slave devices amendment self, as the request connecting bluetooth master;(3) bluetooth master obtains the implementor name of this Bluetooth slave devices by scanning, actively sets up the connection with this Bluetooth slave devices, carries out data interaction, after data interaction completes, disconnect, and equipment of itself name is changeed back original name by this Bluetooth slave devices.The inventive method is not connected number of devices quantitative limitation by bluetooth, and hardware cost is low, and control flow is simple, and the efficiency that saves time is high.

Description

A kind of passive method of attachment of bluetooth
Technical field
The present invention relates to a kind of passive method of attachment of bluetooth.
Background technology
Bluetooth technology is the open global specifications of a kind of wireless data and voice communication, and its flesh and blood is to set for fixing Communication environment between standby or mobile device sets up general radio air interfaces (Radio Air Interface), will be logical Letter technology and computer technology, further combined with getting up, make various 3C equipment not have electric wire or the interconnective situation of cable Under, can realize being in communication with each other or operating in short range;It is connected as basis with the near radio of low cost, is fixing Equipment sets up a special short-range radio technology being connected with mobile device communication environment.Along with Bluetooth technology development with more Newly, nowadays, Bluetooth technology is widely used in Smart Home and wearable device, and the life with us is closely bound up.
Connected mode between bluetooth equipment is that actively connected mode, i.e. bluetooth master scan equipment around at present, In the equipment scanned, actively select the Bluetooth slave devices needing to connect, after data interaction completes, need manually to disconnect, This will cause restriction to the quantity connecting Bluetooth slave devices.Bluetooth equipment at most connect 7 from equipment, and bluetooth BLE (Bluetooth Low Energy bluetooth low energy consumption technologies) can only connect 3 from equipment, if desired connect more bluetooth from Equipment, can be realized by following two method: 1, the Bluetooth slave devices that each manual disconnection has connected, the most actively connects new Bluetooth slave devices, this will cause operating sufficiently complex loaded down with trivial details, and control flow is complicated, and time-consuming efficiency is low, is not suitable for bluetooth from setting In the actual application that standby quantity is too much;2, adding more bluetooth module and form cascade or junction network, this will cause cost All being significantly increased with system power dissipation, and control flow is complicated, time-consuming efficiency is low.
Summary of the invention
The technical problem to be solved is, overcomes the deficiency of above-mentioned background technology, it is provided that one is by bluetooth not even Connecing number of devices quantitative limitation, hardware cost is low, and control flow is simple, the passive method of attachment of bluetooth that the efficiency that saves time is high.
The present invention solves its technical problem and employed technical scheme comprise that, a kind of passive method of attachment of bluetooth, including following step Rapid:
(1) in the system having multiple Bluetooth slave devices, bluetooth master sets up a heartbeat packet, periodic scanning surrounding devices;
(2) when there being Bluetooth slave devices to need to connect bluetooth master, the implementor name of this Bluetooth slave devices amendment self, as even Connect the request of bluetooth master;
(3) bluetooth master obtains the implementor name of this Bluetooth slave devices by scanning, actively sets up the company with this Bluetooth slave devices Connecing, carry out data interaction, after data interaction completes, disconnect, equipment of itself name is changeed back original name by this Bluetooth slave devices.
Further, in step (2), the Bluetooth slave devices connecting bluetooth master is needed the implementor name of self to be revised as " Bluetooth slave devices n-asks to connect ", n is the numbering of this Bluetooth slave devices.
Further, in step (2), equipment of itself title is changed into by the Bluetooth slave devices after disconnecting: " Bluetooth slave devices N ", n is the numbering of this Bluetooth slave devices.
Further, in step (1), quantity >=2 of described Bluetooth slave devices.
Compared with prior art, advantages of the present invention is as follows: use passive connected mode, after data interaction completes, bluetooth Automatically disconnect from equipment;Not connected number of devices quantitative limitation by bluetooth, be particularly well-suited to have multiple Bluetooth slave devices is In system, the quantity of Bluetooth slave devices up to tens, up to a hundred the most;The cost of other unnecessary hardware devices can be saved, Control flow is simple, and the efficiency that saves time is high.
Accompanying drawing explanation
Fig. 1 is embodiment of the present invention bluetooth equipment original state schematic diagram.
Fig. 2 is that embodiment illustrated in fig. 1 Bluetooth slave devices 1 asks connection diagram.
Fig. 3 is that embodiment illustrated in fig. 1 Bluetooth slave devices 1 disconnects schematic diagram.
Detailed description of the invention
Below in conjunction with the accompanying drawings and the present invention is described in further detail by specific embodiment.
Originally being implemented with one group of status monitoring bluetooth equipment, Bluetooth slave devices quantity is 80.
With reference to Fig. 1,2,3, the present embodiment comprises the following steps:
(1) bluetooth master sets up a heartbeat packet, periodic scanning surrounding devices;
(2) when Bluetooth slave devices 1 needs to connect bluetooth master, the implementor name of self is revised as " bluetooth by Bluetooth slave devices 1 Connect from equipment 1-request ", as the request connecting bluetooth master;
(3) bluetooth master obtains the implementor name of this Bluetooth slave devices 1 by scanning, actively sets up the company with Bluetooth slave devices 1 Connecing, carry out data interaction, after data interaction completes, disconnect, equipment of itself name is changed into " bluetooth is from setting by Bluetooth slave devices 1 Standby 1 ".
The inventive method uses passive connected mode, and after data interaction completes, Bluetooth slave devices disconnects automatically;No Connected number of devices quantitative limitation by bluetooth, be particularly well-suited to have in the system of multiple Bluetooth slave devices, the quantity of Bluetooth slave devices Up to tens, up to a hundred the most;The cost of other unnecessary hardware devices can be saved, the most effectively.
Those skilled in the art can carry out various modifications and variations to the present invention, if these amendments and modification are at this Within the scope of invention claim and equivalent technologies thereof, then these amendments and modification are also within protection scope of the present invention.
The prior art that the content not described in detail in description is known to the skilled person.

Claims (4)

1. the passive method of attachment of bluetooth, it is characterised in that comprise the following steps:
(1) in the system having multiple Bluetooth slave devices, bluetooth master sets up a heartbeat packet, periodic scanning surrounding devices;
(2) when there being Bluetooth slave devices to need to connect bluetooth master, the implementor name of this Bluetooth slave devices amendment self, as even Connect the request of bluetooth master;
(3) bluetooth master obtains the implementor name of this Bluetooth slave devices by scanning, actively sets up the company with this Bluetooth slave devices Connecing, carry out data interaction, after data interaction completes, disconnect, equipment of itself name is changeed back original name by this Bluetooth slave devices.
2. the passive method of attachment of bluetooth as claimed in claim 1, it is characterised in that: in step (2), need to connect bluetooth master and set The implementor name of self is revised as " Bluetooth slave devices n-asks to connect " by standby Bluetooth slave devices, and n is the volume of this Bluetooth slave devices Number.
3. the passive method of attachment of bluetooth as claimed in claim 1 or 2, it is characterised in that: in step (2), after disconnecting Equipment of itself title is changed into by Bluetooth slave devices: " Bluetooth slave devices n ", and n is the numbering of this Bluetooth slave devices.
4. the passive method of attachment of bluetooth as claimed in claim 1 or 2, it is characterised in that: in step (1), described bluetooth is from setting Standby quantity >=2.
CN201610750485.5A 2016-08-30 2016-08-30 A kind of passive method of attachment of bluetooth Pending CN106231542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610750485.5A CN106231542A (en) 2016-08-30 2016-08-30 A kind of passive method of attachment of bluetooth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610750485.5A CN106231542A (en) 2016-08-30 2016-08-30 A kind of passive method of attachment of bluetooth

Publications (1)

Publication Number Publication Date
CN106231542A true CN106231542A (en) 2016-12-14

Family

ID=57556064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610750485.5A Pending CN106231542A (en) 2016-08-30 2016-08-30 A kind of passive method of attachment of bluetooth

Country Status (1)

Country Link
CN (1) CN106231542A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108738004A (en) * 2018-05-21 2018-11-02 云谷(固安)科技有限公司 Bluetooth array structure, Bluetooth data transfer method and Bluetooth data transmission system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101511066A (en) * 2009-03-19 2009-08-19 李海 Shortcut method and system for interacting information with Bluetooth equipment
CN104077906A (en) * 2014-06-30 2014-10-01 长城信息产业股份有限公司 Automatic data collection device and method based on NFC (Near Field Communication)
CN105162497A (en) * 2015-08-04 2015-12-16 天地融科技股份有限公司 Data transmission method, terminal, electronic signature device and system
CN105188022A (en) * 2015-09-29 2015-12-23 爱国者电子科技有限公司 Wireless routing device and communication method
CN105490711A (en) * 2015-12-31 2016-04-13 福建联迪商用设备有限公司 Bluetooth automatic connection method, master device, slave device, and system
CN105611488A (en) * 2015-12-31 2016-05-25 福建联迪商用设备有限公司 Automatic Bluetooth connection method and master device, slave device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101511066A (en) * 2009-03-19 2009-08-19 李海 Shortcut method and system for interacting information with Bluetooth equipment
CN104077906A (en) * 2014-06-30 2014-10-01 长城信息产业股份有限公司 Automatic data collection device and method based on NFC (Near Field Communication)
CN105162497A (en) * 2015-08-04 2015-12-16 天地融科技股份有限公司 Data transmission method, terminal, electronic signature device and system
CN105188022A (en) * 2015-09-29 2015-12-23 爱国者电子科技有限公司 Wireless routing device and communication method
CN105490711A (en) * 2015-12-31 2016-04-13 福建联迪商用设备有限公司 Bluetooth automatic connection method, master device, slave device, and system
CN105611488A (en) * 2015-12-31 2016-05-25 福建联迪商用设备有限公司 Automatic Bluetooth connection method and master device, slave device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张国胜: "基于蓝牙自配对的Android遥控系统的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑2016年第3期》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108738004A (en) * 2018-05-21 2018-11-02 云谷(固安)科技有限公司 Bluetooth array structure, Bluetooth data transfer method and Bluetooth data transmission system
CN108738004B (en) * 2018-05-21 2021-11-23 云谷(固安)科技有限公司 Bluetooth array system, Bluetooth data transmission method and Bluetooth data transmission system

Similar Documents

Publication Publication Date Title
CN101977382B (en) Audio and video integrated control circuit and method for accessing access point
EP2860638B1 (en) Serial communication over communication control pin
CN102387612B (en) Device for mobile communication, mobile network sharing method and electronic installation
CN104335497A (en) Automatic connection of bluetooth human interface devices
CN104244468A (en) Portable wireless router
CN104202422B (en) A kind of wireless connection system that Internet of Things is supported to access and method
CN106231542A (en) A kind of passive method of attachment of bluetooth
CN103559149A (en) Method and system for working mode switchover of universal serial bus on-the-go (USB OTG) dual-role devices
CN103488598A (en) Multi-mode terminal and method for realizing USB (universal serial bus) sharing
CN109086243A (en) A kind of Android system core control panel of band LTE communication function
CN102880508A (en) Method and system for realizing PC (Personal Computer)-controlled Android terminal
CN102983992B (en) Realize the method for communication between many boards in ATCA device, system
CN106209174B (en) The information interacting method of plurality of Bluetooth equipments networking
CN205377907U (en) Device of language chat carries out between multiple terminal
CN203301754U (en) Low-cost mobile WIFI AP device
CN210037965U (en) Wireless electricity meter
CN203433477U (en) Wireless mouse with Wi-Fi function
CN208673332U (en) A kind of Android system core control panel of band LTE communication function
CN106470113A (en) A kind of network management system and data managing method
CN205142260U (en) Router and intelligent house control system
KR20150131519A (en) Method and Apparatus for Communicating Between Local Networks
CN202488748U (en) Wireless fidelity (WiFi) wireless internet adapter integrating Bluetooth function and USB hub function
CN202488763U (en) USB interface WiFi wireless internet access adapter integrating Bluetooth
CN203504768U (en) Green non-driven wireless modem/WIFI router device
CN202602026U (en) Connector

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161214