CN106973079A - A kind of access control method based on MQTT - Google Patents

A kind of access control method based on MQTT Download PDF

Info

Publication number
CN106973079A
CN106973079A CN201710075962.7A CN201710075962A CN106973079A CN 106973079 A CN106973079 A CN 106973079A CN 201710075962 A CN201710075962 A CN 201710075962A CN 106973079 A CN106973079 A CN 106973079A
Authority
CN
China
Prior art keywords
control system
mqtt
visitor
gate
gate control
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
CN201710075962.7A
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 Xin Xin Communication Technology Co Ltd
Original Assignee
Changsha Xin Xin 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 Xin Xin Communication Technology Co Ltd filed Critical Changsha Xin Xin Communication Technology Co Ltd
Priority to CN201710075962.7A priority Critical patent/CN106973079A/en
Publication of CN106973079A publication Critical patent/CN106973079A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/20Individual registration on entry or exit involving the use of a pass
    • G07C9/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The invention discloses a kind of access control method based on MQTT, comprise the following steps:By the use of MQTT agreements as the agreement of visitor's cell-phone customer terminal and gate control system control centre server end PUSH message, gate control system function is set;Visitor can complete the information registering in gate control system control centre server end by cell-phone customer terminal, and after succeeding in registration, MQTT agreements are to visitor's issuing service information;Real time information is sent to gate control system control centre by visitor using MQTT agreements by cell-phone customer terminal;Gate control system control centre is preserved the real time information of transmission, and gate control system control centre carries out on-line monitoring and control in real time to gate inhibition.The suspension that the present invention solves existing Internet door control system reconnects complexity, and message communication abnormality processing is complicated, and the blank of access control terminal equipment on-line checking mechanism greatly facilitates administrative staff and visitor, cost is low, has a safety feature, highly versatile is worthy to be popularized.

Description

A kind of access control method based on MQTT
Technical field
The present invention relates to gate control system technical field, more particularly to a kind of access control method based on MQTT.
Background technology
MQTT (Message Queuing Telemetry Transport, message queue remote measurement transmission) is IBM exploitations One instant communication protocol, it is possible to the important component as Internet of Things.The agreement supports all platforms, almost can be All networking articles and external connection are got up, and are used to (such as allow house to join by Twitter as sensor and actuator Net) communication protocol.
Existing traditional gate control system is mostly by the way of Orderless keyboard is inputted or swiped the card, and it has the following disadvantages:Disorderly It is fixed on during the keyboard of sequence keyboard type on door, easily reveals password during password is inputted;And swiping card mode easily occurs Forget band card, card wreck and cannot be introduced into, and block cost of manufacture it is higher, and lose after potential safety hazard it is larger.At present, Also there are some than the gate control system of higher-end, by the way of the bio-identification such as fingerprint or face recognition, but this mode Often because cost, the low problem of discrimination can not meet the demand of daily life.With the continuous development of scientific technology, it is existing The access control method based on internet has been proposed in technology, however, existing Internet door control system suspension is reconnected and message Communication abnormality processing is complicated, and there are problems that access control terminal equipment on-line checking mechanism blank.In addition, existing gate control system control Method and agreement majority, which belong to producer oneself, to be drafted, poor universality.Based on above statement, the present invention proposes a kind of based on MQTT Access control method.
The content of the invention
The invention aims to solve shortcoming present in prior art, and a kind of gate inhibition based on MQTT proposed Control method.
A kind of access control method based on MQTT, comprises the following steps:
S1, the association of visitor's cell-phone customer terminal and gate control system control centre server end PUSH message is used as by the use of MQTT agreements View, sets gate control system function;
S2, using MQTT agreements as gate control system news release and the standard of push, visitor can complete exist by cell-phone customer terminal The information registering of gate control system control centre server end, after succeeding in registration, MQTT agreements are to visitor's issuing service information;
S3, the information registering completed in step S2 visitor, are passed real time information by cell-phone customer terminal using MQTT agreements It is sent to gate control system control centre;
S4, gate control system control centre are preserved the real time information transmitted in step S3, and gate control system control centre is on the door Taboo is monitored on-line, and connects the real-time control that mode realizes gate inhibition by TCP length.
It is preferred that, gate control system function in the step S1 include real-time monitoring and control, message transmission and issuing function, Data recording function, automatic upgrade function, network diagnostic function and endpoint registration function.
It is preferred that, MQTT agreements in the step S1 can automatic door aligning access control system carry out network diagnosis, and report automatically Gate inhibition's running status, if there is network failure problem, completes to reconnect fault network using the mechanism that reconnects.
It is preferred that, the MQTT in the step S1 is the upgrading data interactive basis of gate control system terminal device, and it passes through Data record and the upgrading to gate control system are realized in UDP transmission.
It is preferred that, the business information in the step S2 includes property bulletin, advertisement pushing and upgrading and reminded.
It is preferred that, the business information that MQTT agreements are sent to visitor in the step S2, visitor can be selected as needed Selecting property is subscribed to.
A kind of access control method based on MQTT proposed by the present invention, on the basis of based on MQTT agreements, completes to visit Message between objective cell-phone customer terminal and gate control system control centre server end is pushed, and realizes the data record to gate control system And upgrading, visitor by cell-phone customer terminal complete after the information registering of gate control system control centre server end, MQTT agreements Can be to related service information such as visitor's issue property bulletin, advertisement pushing and upgrading promptings, gate control system control centre is to gate inhibition On-line monitoring and in real time control are carried out, the suspension that the present invention solves existing Internet door control system reconnects complexity, and message communication is different Often processing is complicated, and the blank of access control terminal equipment on-line checking mechanism, using MQTT standard agreements, can realize the connection of gate control system Network control system, the information reporting mechanism of gate inhibition's running status, message is pushed and subscribed to, and suspension such as reconnects at the function, greatly facilitates Administrative staff and visitor, complete the connection with gate control system control centre using cell-phone customer terminal, eliminate Orderless keyboard and life The installation of thing identification equipment, eliminates the preparation of access card, greatly reduces cost, access control side proposed by the present invention Method, has a safety feature, and highly versatile is worthy to be popularized.
Brief description of the drawings
Fig. 1 is the gate control system block diagram based on MQTT.
Embodiment
Reference picture 1, makees further to explain with reference to specific embodiment to the present invention.
Embodiment
A kind of access control method based on MQTT proposed by the present invention, comprises the following steps:
S1, the agreement of visitor's cell-phone customer terminal and gate control system control centre server end PUSH message is used as by the use of MQTT agreements With the upgrading data interactive basis of gate control system terminal device, its transmitted by UDP realize to the data record of gate control system and Upgrading, sets gate control system real-time monitoring and control, message transmission and issuing function, data recording function, automatic upgrade function, net Network diagnostic function and endpoint registration function, set MQTT agreements can automatic door aligning access control system carry out network diagnosis, and report automatically Gate inhibition's running status, if there is network failure problem, completes to reconnect fault network using the mechanism that reconnects;
S2, using MQTT agreements as gate control system news release and the standard of push, visitor can complete exist by cell-phone customer terminal The information registering of gate control system control centre server end, after succeeding in registration, MQTT agreements are announced to visitor's issue property, advertisement Push and the related service information such as prompting of upgrading, visitor can carry out selective subscription as needed;
S3, the information registering completed in step S2 visitor, are passed real time information by cell-phone customer terminal using MQTT agreements It is sent to gate control system control centre;
S4, gate control system control centre are preserved the real time information transmitted in step S3, and gate control system control centre is on the door Taboo is monitored on-line, and connects the real-time control that mode realizes gate inhibition by TCP length.
A kind of access control method based on MQTT proposed by the present invention, on the basis of based on MQTT agreements, completes to visit Message between objective cell-phone customer terminal and gate control system control centre server end is pushed, and realizes the data record to gate control system And upgrading, visitor by cell-phone customer terminal complete after the information registering of gate control system control centre server end, MQTT agreements Can be to related service information such as visitor's issue property bulletin, advertisement pushing and upgrading promptings, gate control system control centre is to gate inhibition On-line monitoring and in real time control are carried out, the suspension that the present invention solves existing Internet door control system reconnects complexity, and message communication is different Often processing is complicated, and the blank of access control terminal equipment on-line checking mechanism, using MQTT standard agreements, can realize the connection of gate control system Network control system, the information reporting mechanism of gate inhibition's running status, message is pushed and subscribed to, and suspension such as reconnects at the function, greatly facilitates Administrative staff and visitor, complete the connection with gate control system control centre using cell-phone customer terminal, eliminate Orderless keyboard and life The installation of thing identification equipment, eliminates the preparation of access card, greatly reduces cost, access control side proposed by the present invention Method, has a safety feature, and highly versatile is worthy to be popularized.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto, Any one skilled in the art the invention discloses technical scope in, technique according to the invention scheme and its Inventive concept is subject to equivalent substitution or change, should all be included within the scope of the present invention.

Claims (6)

1. a kind of access control method based on MQTT, it is characterised in that comprise the following steps:
S1, the association of visitor's cell-phone customer terminal and gate control system control centre server end PUSH message is used as by the use of MQTT agreements View, sets gate control system function;
S2, using MQTT agreements as gate control system news release and the standard of push, visitor can complete exist by cell-phone customer terminal The information registering of gate control system control centre server end, after succeeding in registration, MQTT agreements are to visitor's issuing service information;
S3, the information registering completed in step S2 visitor, are passed real time information by cell-phone customer terminal using MQTT agreements It is sent to gate control system control centre;
S4, gate control system control centre are preserved the real time information transmitted in step S3, and gate control system control centre is on the door Taboo is monitored on-line, and connects the real-time control that mode realizes gate inhibition by TCP length.
2. a kind of access control method based on MQTT according to claim 1, it is characterised in that in the step S1 Gate control system function includes real-time monitoring and control, message transmission and issuing function, data recording function, automatic upgrade function, net Network diagnostic function and endpoint registration function.
3. a kind of access control method based on MQTT according to claim 1, it is characterised in that in the step S1 MQTT agreements can automatic door aligning access control system carry out network diagnosis, and report gate inhibition's running status automatically, asked if there is network failure Topic, completes to reconnect fault network using the mechanism that reconnects.
4. a kind of access control method based on MQTT according to claim 1, it is characterised in that in the step S1 MQTT is the upgrading data interactive basis of gate control system terminal device, and it transmits the data note realized to gate control system by UDP Record and upgrading.
5. a kind of access control method based on MQTT according to claim 1, it is characterised in that in the step S2 Business information includes property bulletin, advertisement pushing and upgrading and reminded.
6. a kind of access control method based on MQTT according to claim 1, it is characterised in that in the step S2 The business information that MQTT agreements are sent to visitor, visitor can carry out selective subscription as needed.
CN201710075962.7A 2017-02-13 2017-02-13 A kind of access control method based on MQTT Pending CN106973079A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710075962.7A CN106973079A (en) 2017-02-13 2017-02-13 A kind of access control method based on MQTT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710075962.7A CN106973079A (en) 2017-02-13 2017-02-13 A kind of access control method based on MQTT

Publications (1)

Publication Number Publication Date
CN106973079A true CN106973079A (en) 2017-07-21

Family

ID=59335206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710075962.7A Pending CN106973079A (en) 2017-02-13 2017-02-13 A kind of access control method based on MQTT

Country Status (1)

Country Link
CN (1) CN106973079A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108171827A (en) * 2017-12-12 2018-06-15 杭州电子科技大学 A kind of College Dormitory intelligent door lock administration system based on MQTT agreements
CN110284768A (en) * 2019-07-03 2019-09-27 金华航大北斗应用技术有限公司 A kind of intelligence Beidou positioning lock and its localization method
CN110401857A (en) * 2019-05-15 2019-11-01 深圳市鑫鸿视联科技发展有限公司 A kind of digital TV channel broadcast system and method based on cloud talkback door lock system
CN110491098A (en) * 2019-08-12 2019-11-22 青岛聚好联科技有限公司 A kind of control of bluetooth access equipment fault early-warning method and device based on deep learning
WO2019224697A1 (en) * 2018-05-23 2019-11-28 Inversiones Tecnológicas De America S.A. Multi-biometric iot bridge
CN114299641A (en) * 2021-11-26 2022-04-08 福建新大陆通信科技股份有限公司 Door control non-inductive unlocking method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954456A (en) * 2015-06-08 2015-09-30 陈广宁 Mobile Internet of Things management and control system
CN106056707A (en) * 2016-05-19 2016-10-26 李悌荷 Residential quarter network access control scheme
CN106251454A (en) * 2016-08-25 2016-12-21 张博 A kind of gate control system based on Internet of Things and access control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954456A (en) * 2015-06-08 2015-09-30 陈广宁 Mobile Internet of Things management and control system
CN106056707A (en) * 2016-05-19 2016-10-26 李悌荷 Residential quarter network access control scheme
CN106251454A (en) * 2016-08-25 2016-12-21 张博 A kind of gate control system based on Internet of Things and access control method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁作松: "智能家居系统多客户端协调同步方法的研究与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108171827A (en) * 2017-12-12 2018-06-15 杭州电子科技大学 A kind of College Dormitory intelligent door lock administration system based on MQTT agreements
WO2019224697A1 (en) * 2018-05-23 2019-11-28 Inversiones Tecnológicas De America S.A. Multi-biometric iot bridge
US11843677B2 (en) 2018-05-23 2023-12-12 Inversiones Tecnologicas De America S.A. Multi-biometric IoT bridge
CN110401857A (en) * 2019-05-15 2019-11-01 深圳市鑫鸿视联科技发展有限公司 A kind of digital TV channel broadcast system and method based on cloud talkback door lock system
CN110401857B (en) * 2019-05-15 2021-10-12 深圳市鑫鸿视联科技发展有限公司 Digital television channel broadcasting system and method based on cloud talkback access control system
CN110284768A (en) * 2019-07-03 2019-09-27 金华航大北斗应用技术有限公司 A kind of intelligence Beidou positioning lock and its localization method
CN110491098A (en) * 2019-08-12 2019-11-22 青岛聚好联科技有限公司 A kind of control of bluetooth access equipment fault early-warning method and device based on deep learning
CN114299641A (en) * 2021-11-26 2022-04-08 福建新大陆通信科技股份有限公司 Door control non-inductive unlocking method and system
CN114299641B (en) * 2021-11-26 2023-12-22 福建新大陆通信科技股份有限公司 Door control noninductive unlocking method and system

Similar Documents

Publication Publication Date Title
CN106973079A (en) A kind of access control method based on MQTT
CN105184883A (en) Intelligent attendance bracelets and attendance checking method based on user ID and fingerprint recognition
CN103593891A (en) Intelligent access system with instant messaging function and method
US8855280B1 (en) Communication detail records (CDRs) containing media for communications in controlled-environment facilities
CN107657522B (en) A kind of construction site labour and capital management method
CN105225045A (en) A kind of movable attendance checking system based on user ID and fingerprint recognition and Work attendance method
US20080281829A1 (en) Web-Based System and Method for Collection and Management of Real Estate Open House Data
DE202016000632U1 (en) Multi-channel video intercom system with access to advanced digital services
CN106789353A (en) The method and system of orientation problem between client and service end
CN108717743A (en) A kind of visitor preengages recognition of face intelligent entrance guard or gate system
CN106652115A (en) Video access control monitoring system based on server platform
CN107948274A (en) Business confirmation method and system, server, storage medium
CN109218370A (en) Message method and device, electronic equipment
CN112398931A (en) Audio and video data processing method and device, computer equipment and storage medium
CN108881362A (en) A kind of browser platform based on block chain
CN108985038A (en) A kind of login method and system, terminal of application program
JP2019153190A (en) Providing server, providing method, and providing program
CN105160540A (en) Online-to-offline service popularization system and method
EP1775907A3 (en) Handling identity information
US11042950B2 (en) Automated content transmission system
CN106973078A (en) The method and information exchange control system of business data processing
CN106023050A (en) Traffic data management system
CN207475763U (en) A kind of UAV Video coded system
CN109345186A (en) Business handling method and terminal device based on Internet of Things
CN115393139A (en) Student school entry management method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
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

Application publication date: 20170721

RJ01 Rejection of invention patent application after publication