CN109003369A - A kind of control of bluetooth access device and its communication means based on Ibeacon - Google Patents

A kind of control of bluetooth access device and its communication means based on Ibeacon Download PDF

Info

Publication number
CN109003369A
CN109003369A CN201810854807.XA CN201810854807A CN109003369A CN 109003369 A CN109003369 A CN 109003369A CN 201810854807 A CN201810854807 A CN 201810854807A CN 109003369 A CN109003369 A CN 109003369A
Authority
CN
China
Prior art keywords
ibeacon
bluetooth
control
app
bluetooth beacon
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
CN201810854807.XA
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.)
Guangzhou Baiyun District Huacheng Integrated Trade Service Co
Original Assignee
Guangzhou Baiyun District Huacheng Integrated Trade Service Co
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 Guangzhou Baiyun District Huacheng Integrated Trade Service Co filed Critical Guangzhou Baiyun District Huacheng Integrated Trade Service Co
Priority to CN201810854807.XA priority Critical patent/CN109003369A/en
Publication of CN109003369A publication Critical patent/CN109003369A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a kind of control of bluetooth access device and its communication means based on Ibeacon, MCU control chip are electrically connected with memory, clock module, rotation motor, Ibeacon Bluetooth beacon;Ibeacon Bluetooth beacon is connect with mobile phone wireless, and mobile phone and server are wirelessly connected, and MCU controls chip, for controlling and coordinating cooperating with each other for each module;Rotation motor, for driving the movement of electronic lock body;Ibeacon Bluetooth beacon realizes BLE communication for sending location information;Mobile phone judges that distance is unlocked for carrying out Ibeacon positioning by APP software;Server, for storing user right information.The present invention detects Ibeacon signal by APP, calculates mobile phone with a distance from door lock, realizes and precisely unlocks without operation.It obtains current location information and location information is pushed to by background server, collector's activity trajectory by APP.

Description

A kind of control of bluetooth access device and its communication means based on Ibeacon
Technical field
The present invention relates to gate inhibition's technical field more particularly to a kind of control of bluetooth access devices and its communication based on Ibeacon Method.
Background technique
Currently used in the market is traditional bluetooth technology (Classic BT) to realize gate function, conventional Bluetooth gate inhibition Power consumption is big, without positioning function, auto-unlocking apart from bad control, do not support it is multi-joint connect, the same time can only connect a hand Machine.
Traditional gate inhibition realizes entrance guard management using RFID technique, and people must take out RFID card and swipe the card on access-control card reader It opens the door.Inconvenient both hands take the people of thing to pass through, and common RFID card (EM card, M1 card) safety is all very poor, it is easy to be answered System, makes access control system safety have a greatly reduced quality.Also occur a kind of realize using conventional Bluetooth currently on the market and passes through door without operation Taboo product (number of patent application: 201720206593.6), implementation is as follows:
Using mobile phone conventional Bluetooth function, mobile phone terminal is main equipment, and control of bluetooth access machine is made into a Bluetooth slave devices, blue Tooth gate inhibition is equivalent to traditional Bluetooth earphone equipment.Mobile phone and control of bluetooth access are matched first, when there is the mobile phone matched to connect When nearly control of bluetooth access, mobile phone can actively be connect with control of bluetooth access, and control of bluetooth access obtains the Bluetooth MAC address of mobile phone, and judgement is had the right Door lock is opened after limit.Door lock is closed when mobile phone leaves overlay area.
The shortcomings that prior art:
1, it unlocks apart from uncontrollable: as long as door lock will be opened, and distance can not into the coverage area of bluetooth wireless signal Control is easy to be robbed by people to be introduced into.
2, it repeats to unlock: can just lock when leaving coverage area, will lead to door lock if stopped for a long time in overlay area It is constantly opened, safety is poor.
3, reaction speed is slow: because being using conventional Bluetooth function, in order to which power saving Bluetooth of mobile phone is scanned from the interval of equipment ratio It is longer, it may appear that people goes to the case where also waiting could unlock for several seconds beside door lock.Be equivalent to usually open bluetooth headset it After to wait several seconds mobile phones just have connection one reason.
4, do not controlled with APP on conventional Bluetooth gate inhibition mobile phone terminal, cannot will unlock record and door state by mobile phone biography It is defeated to arrive backstage;It can not realize positioning function.
5, conventional Bluetooth power consumption is big, and the cruise duration of battery of mobile phone is substantially reduced using conventional Bluetooth gate inhibition.
Summary of the invention
In view of the above drawbacks of the prior art, technical problem to be solved by the invention is to provide one kind to be based on The control of bluetooth access device and its communication means of Ibeacon, so as to solve the deficiencies in the prior art.
To achieve the above object, the present invention provides a kind of control of bluetooth access device based on Ibeacon, including MCU control Chip, memory, clock module, rotation motor, Ibeacon Bluetooth beacon, the MCU control chip and memory, clock mould Block, rotation motor, the electrical connection of Ibeacon Bluetooth beacon;The Ibeacon Bluetooth beacon is connect with mobile phone wireless, the mobile phone It is wirelessly connected with server, in which:
MCU control chip, for control and coordinate memory, clock module, rotation motor, Ibeacon Bluetooth beacon it Between cooperate with each other;
Memory, for storing unlocking information;
Clock module is used for timing;
Rotation motor, for driving the movement of electronic lock body;
Ibeacon Bluetooth beacon realizes BLE communication for sending location information;
Mobile phone judges that distance is unlocked for carrying out Ibeacon positioning by APP software;
Server, for storing user right information.
A kind of above-mentioned control of bluetooth access device based on Ibeacon, the MCU control chip are single-chip microcontroller, ARM processing Device, DSP any one.
A kind of above-mentioned control of bluetooth access device based on Ibeacon, the memory are flash chip.
A kind of above-mentioned control of bluetooth access device based on Ibeacon, the clock module are DS1302 chip.
A kind of control of bluetooth access communication means based on Ibeacon, comprising the following steps:
(1) Ibeacon Bluetooth beacon broadcast message wakes up the mobile phone of processing suspend mode and activates APP, APP is allowed to realize The bluetooth connection of BLE5.0;
(2) APP is attached by 4G or cable with server, obtains the concerned right information of user, in time more New information;
(3) APP is communicated by BLE5.0 with Ibeacon Bluetooth beacon, is carried out to the distance of Ibeacon Bluetooth beacon Judgement, when APP judges at a distance from Ibeacon Bluetooth beacon within the set range, to send unlocking to Ibeacon Bluetooth beacon and refer to It enables, when Ibeacon receives unlocking instruction, sends unlocking signal to MCU control chip, MCU controls chip controls rotation motor It unlocks.
A kind of above-mentioned control of bluetooth access communication means based on Ibeacon, APP and Ibeacon bluetooth in the step (2) Beacon is realized by the verifying of dynamic secret key and is unlocked.
A kind of above-mentioned control of bluetooth access communication means based on Ibeacon, step (1) the Ibeacon Bluetooth beacon are wide The information broadcast are as follows: UUID information, major, minor, Measured Power.
A kind of above-mentioned control of bluetooth access communication means based on Ibeacon, MCU control chip receives in the step (3) When to unlocking signal, clock time information is read, control rotation motor is unlocked, and the information of unlocking is stored into memory.
The beneficial effects of the present invention are:
The present invention detects Ibeacon signal by APP, calculates mobile phone with a distance from door lock, realizes and precisely unlocks without operation. Ibeacon signal is detected by APP, obtain current location information and location information is pushed to by background server by APP, is adopted Collect record personnel activity trajectory, controlled using APP, will unlock record and door state by mobile phone be transferred to from the background.In addition, Ibeacon Bluetooth beacon is low in energy consumption, and unlocking speed is fast.
It is described further below with reference to technical effect of the attached drawing to design of the invention, specific structure and generation, with It is fully understood from the purpose of the present invention, feature and effect.
Detailed description of the invention
Fig. 1 is the principle of the present invention figure.
Specific embodiment
As shown in Figure 1, a kind of control of bluetooth access device based on Ibeacon, including MCU control chip, memory, clock mould Block, rotation motor, Ibeacon Bluetooth beacon, the MCU control chip and memory, clock module, rotation motor, Ibeacon Bluetooth beacon electrical connection;The Ibeacon Bluetooth beacon is connect with mobile phone wireless, and the mobile phone and server are wirelessly connected, In:
MCU control chip, for control and coordinate memory, clock module, rotation motor, Ibeacon Bluetooth beacon it Between cooperate with each other;
Memory, for storing unlocking information;
Clock module is used for timing;
Rotation motor, for driving the movement of electronic lock body;
Ibeacon Bluetooth beacon realizes BLE communication for sending location information;
Mobile phone judges that distance is unlocked for carrying out Ibeacon positioning by APP software;
Server, for storing user right information.
In the present embodiment, MCU control chip be single-chip microcontroller, arm processor, DSP any one.
In the present embodiment, the memory is flash chip.
In the present embodiment, the clock module is DS1302 chip.
A kind of control of bluetooth access communication means based on Ibeacon, comprising the following steps:
(1) Ibeacon Bluetooth beacon broadcast message wakes up the mobile phone of processing suspend mode and activates APP, APP is allowed to realize The bluetooth connection of BLE5.0;
(2) APP is attached by 4G or cable with server, obtains the concerned right information of user, in time more New information;
(3) APP is communicated by BLE5.0 with Ibeacon Bluetooth beacon, is carried out to the distance of Ibeacon Bluetooth beacon Judgement, when APP judges at a distance from Ibeacon Bluetooth beacon within the set range, to send unlocking to Ibeacon Bluetooth beacon and refer to It enables, when Ibeacon receives unlocking instruction, sends unlocking signal to MCU control chip, MCU controls chip controls rotation motor It unlocks.
APP and Ibeacon Bluetooth beacon are realized by the verifying of dynamic secret key in the present embodiment, in the step (2) unlocks.
In the present embodiment, the information of step (1) Ibeacon Bluetooth beacon broadcast are as follows: UUID information, major, minor、Measured Power。
In the present embodiment, when MCU control chip receives unlocking signal in the step (3), clock time information is read, It controls rotation motor to unlock, the information of unlocking is stored into memory.
The present invention realizes bluetooth short distance automatic door opening using newest Ibeacon technology.Ibeacon broadcasts some positioning Information, it can wake up the mobile phone of processing suspend mode and activate APP, allow APP to realize the bluetooth connection of BLE5.0, then opened Door relevant operation.APP mainly realizes the judgement to Ibeacon distance, to effectively control enabling distance;It also achieves The communication of BLE5.0 bluetooth and door lock, this communication process have used dynamic key to unlock, efficiently avoid it is various its Its attack;The interaction with server is realized, it is attached by 4G or cable with server, and the correlation of user is obtained Authority information, can more new information in time.
Ibeacon bluetooth mainly realizes some basic functions of Ibeacon, including send location information, UUID, Major, minor, Measured Power etc. information, UUID are 128 marks for being defined as ISO/IEC11578:1996 standard Know symbol.Major and Minor is 16 identifiers by iBeacon publisher's sets itself.For example, chain store can be The ID etc. in individual shops can be written in writing area information in Major in Minor.In addition, being embedded in iBeacon function in household electrical appliances When energy, product type can be indicated with Major, indicate error code with Minor, be used to external notification failure.
Measured Power be between iBeacon module and receiver at a distance of 1m when reference received signal strength (RSSI:Received Signal Strength Indicator).Receiver refers to RSSI according to this and receives the strong of signal Degree is to calculate sending module at a distance from receiver.
BLE communication is realized, it and APP have carried out the interaction of data, completed user authentication, the basic training such as unlocking operation Energy.When Ibeacon receives unlocking instruction, it can send unlocking signal to MCU.When MCU receives unlocking signal, its meeting Clock is read, some information that control motor is reached, and unlocked are stored into memory.
The present invention detects Ibeacon signal by APP, calculates mobile phone with a distance from door lock, realizes and precisely unlocks without operation. Ibeacon signal is detected by APP, obtain current location information and location information is pushed to by background server by APP, is adopted Collect record personnel activity trajectory, controlled using APP, will unlock record and door state by mobile phone be transferred to from the background.
The preferred embodiment of the present invention has been described in detail above.It should be appreciated that those skilled in the art without It needs creative work according to the present invention can conceive and makes many modifications and variations.Therefore, all technologies in the art Personnel are available by logical analysis, reasoning, or a limited experiment on the basis of existing technology under this invention's idea Technical solution, all should be within the scope of protection determined by the claims.

Claims (8)

1. a kind of control of bluetooth access device based on Ibeacon, it is characterised in that: control chip, memory, clock mould including MCU Block, rotation motor, Ibeacon Bluetooth beacon, the MCU control chip and memory, clock module, rotation motor, Ibeacon Bluetooth beacon electrical connection;The Ibeacon Bluetooth beacon is connect with mobile phone wireless, and the mobile phone and server are wirelessly connected, In:
MCU controls chip, for control and coordinate memory, clock module, rotation motor, between Ibeacon Bluetooth beacon It cooperates with each other;
Memory, for storing unlocking information;
Clock module is used for timing;
Rotation motor, for driving the movement of electronic lock body;
Ibeacon Bluetooth beacon realizes BLE communication for sending location information;
Mobile phone judges that distance is unlocked for carrying out Ibeacon positioning by APP software;
Server, for storing user right information.
2. a kind of control of bluetooth access device based on Ibeacon as described in claim 1, it is characterised in that: the MCU controls core Piece be single-chip microcontroller, arm processor, DSP any one.
3. a kind of control of bluetooth access device based on Ibeacon as described in claim 1, it is characterised in that: the memory is Flash chip.
4. a kind of control of bluetooth access device based on Ibeacon as described in claim 1, it is characterised in that: the clock module For DS1302 chip.
5. a kind of control of bluetooth access communication means based on Ibeacon, which comprises the following steps:
(1) Ibeacon Bluetooth beacon broadcast message wakes up the mobile phone of processing suspend mode and activates APP, APP is allowed to realize BLE5.0 Bluetooth connection;
(2) APP is attached by 4G or cable with server, obtains the concerned right information of user, updates letter in time Breath;
(3) APP is communicated by BLE5.0 with Ibeacon Bluetooth beacon, is sentenced to the distance of Ibeacon Bluetooth beacon It is disconnected, when APP judges at a distance from Ibeacon Bluetooth beacon within the set range, to send unlocking to Ibeacon Bluetooth beacon and refer to It enables, when Ibeacon receives unlocking instruction, sends unlocking signal to MCU control chip, MCU controls chip controls rotation motor It unlocks.
6. a kind of control of bluetooth access communication means based on Ibeacon as claimed in claim 5, which is characterized in that the step (3) APP and Ibeacon Bluetooth beacon are realized by the verifying of dynamic secret key in unlocks.
7. a kind of control of bluetooth access communication means based on Ibeacon as claimed in claim 5, which is characterized in that the step (1) information of Ibeacon Bluetooth beacon broadcast are as follows: UUID information, major, minor, Measured Power.
8. a kind of control of bluetooth access communication means based on Ibeacon as claimed in claim 5, which is characterized in that the step (3) when MCU control chip receives unlocking signal in, clock time information is read, control rotation motor is unlocked, the information of unlocking It stores in memory.
CN201810854807.XA 2018-07-31 2018-07-31 A kind of control of bluetooth access device and its communication means based on Ibeacon Pending CN109003369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810854807.XA CN109003369A (en) 2018-07-31 2018-07-31 A kind of control of bluetooth access device and its communication means based on Ibeacon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810854807.XA CN109003369A (en) 2018-07-31 2018-07-31 A kind of control of bluetooth access device and its communication means based on Ibeacon

Publications (1)

Publication Number Publication Date
CN109003369A true CN109003369A (en) 2018-12-14

Family

ID=64596222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810854807.XA Pending CN109003369A (en) 2018-07-31 2018-07-31 A kind of control of bluetooth access device and its communication means based on Ibeacon

Country Status (1)

Country Link
CN (1) CN109003369A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109493494A (en) * 2018-12-15 2019-03-19 深圳壹账通智能科技有限公司 Method for unlocking, device, equipment and medium based on smart lock
CN110276865A (en) * 2019-05-09 2019-09-24 北京致行慕远科技有限公司 Solve lock control method, device, electric vehicle and terminal
CN111970646A (en) * 2020-07-08 2020-11-20 深圳市昇润科技有限公司 Intelligent Bluetooth operation switch method and system based on beacon broadcast
CN115359590A (en) * 2022-08-22 2022-11-18 深圳市亲邻科技有限公司 Intelligent access control method and device, mobile terminal and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109493494A (en) * 2018-12-15 2019-03-19 深圳壹账通智能科技有限公司 Method for unlocking, device, equipment and medium based on smart lock
CN110276865A (en) * 2019-05-09 2019-09-24 北京致行慕远科技有限公司 Solve lock control method, device, electric vehicle and terminal
CN111970646A (en) * 2020-07-08 2020-11-20 深圳市昇润科技有限公司 Intelligent Bluetooth operation switch method and system based on beacon broadcast
CN111970646B (en) * 2020-07-08 2022-04-26 深圳市昇润科技有限公司 Intelligent Bluetooth operation switch method and system based on beacon broadcast
CN115359590A (en) * 2022-08-22 2022-11-18 深圳市亲邻科技有限公司 Intelligent access control method and device, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN109003369A (en) A kind of control of bluetooth access device and its communication means based on Ibeacon
CN204375037U (en) A kind of electronic lock and gate control system
CN106056015B (en) Utilize the cell potential of RFID tag assessment peripheral equipment
CN107393071A (en) A kind of current apparatus control method answered based on bluetooth distance perspective and control system
CN103941654A (en) Intelligent household control system with automatically activated functions and accessories thereof
CN211396994U (en) NB-IoT (NB-IoT) safety communication intelligent door control device
CN101942937A (en) Intelligent door lock, wireless communication terminal and intelligent door lock system
CN106023355A (en) Room control system with Bluetooth signal control function and control method thereof
CN204189213U (en) A kind of phone number and fingerprint recognition entrance guard device
CN104484918A (en) NFC-based Android intelligent door lock opening method
CN204463267U (en) A kind of intelligent access control system
CN106603425A (en) Router and state control method thereof
CN106127892A (en) A kind of Household gate control method based on Bluetooth communication
CN207148947U (en) A kind of gate control system
CN106741329A (en) Public lease bicycle Intelligent Passive lock system
CN202221597U (en) Garage access control system with short message service trigger and position matching guarantee functions
Ping et al. Remote Monitoring Intelligent System Based on Fingerprint Door Lock
CN107993321A (en) A kind of method of the active unlock of intelligent bicycle lock and intelligent bicycle lock
CN211878623U (en) Electronic seal management system
CN206972122U (en) A kind of smart home timber
CN206489642U (en) Intelligent access control system based on bluetooth
CN101252594A (en) Intelligent household electrical appliance control system
CN105654587B (en) Control system, wireless remote control device and the device of pairing, method
CN107816257A (en) The method for unlocking and bluetooth intelligent wireless lock of a kind of bluetooth intelligent wireless lock
CN109218968B (en) Staff positioning method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination