CN108520578A - A kind of intelligent access control system - Google Patents

A kind of intelligent access control system Download PDF

Info

Publication number
CN108520578A
CN108520578A CN201810203566.2A CN201810203566A CN108520578A CN 108520578 A CN108520578 A CN 108520578A CN 201810203566 A CN201810203566 A CN 201810203566A CN 108520578 A CN108520578 A CN 108520578A
Authority
CN
China
Prior art keywords
access control
control system
door
connect
client
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
CN201810203566.2A
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.)
Guiyang Red Bird Intelligent Technology Service Co Ltd
Guizhou Education University
Original Assignee
Guiyang Red Bird Intelligent Technology Service Co Ltd
Guizhou Education University
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 Guiyang Red Bird Intelligent Technology Service Co Ltd, Guizhou Education University filed Critical Guiyang Red Bird Intelligent Technology Service Co Ltd
Priority to CN201810203566.2A priority Critical patent/CN108520578A/en
Publication of CN108520578A publication Critical patent/CN108520578A/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/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/38Individual registration on entry or exit not involving the use of a pass with central registration
    • 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
    • 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/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/007Telephonic communication systems specially adapted for combination with other electrical systems with remote control systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/02Telephonic communication systems specially adapted for combination with other electrical systems with bell or annunciator systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention belongs to Smart Home technical fields, disclose a kind of intelligent access control system, and intelligent access control system includes:Owner's subsystem, visitor's subsystem, further comprises:Local data base is connect with Business Logic, and Business Logic is connect with client, and client is connect with bluetooth unit, bluetooth unit, is connect with gate inhibition's device and doorbell, Men Jinqi.The present invention is quasi- to develop an Android phone intelligent access control system, which sends enabling signal when visitor rings a doorbell to master cellular phone first, and then owner receives the information, checks that guest's situation is locked on/off after confirmation is errorless by mobile phone by mobile phone;By the invention, the deficiency in current access control system field can be made up, effectively pushes the development of smart home field.

Description

A kind of intelligent access control system
Technical field
The invention belongs to Smart Home technical field more particularly to a kind of intelligent access control systems.
Background technology
Currently, the prior art commonly used in the trade is such:
Smart home business becomes market focus.The Haier of the country, Changhong, millet have begun intervention smart home Field.The Schneider of foreign countries, Philip intervene home intelligent market already, and the companies such as Google, apple, Microsoft also begin to pay close attention to The field.And access control system is the indispensable part of smart home, it will to offering convenience property of people’s lives, safety. Make people no longer worry whether the door of family closes, only need to open network to may know that, if do not closed, so that it may with remote by network Distance is closed the door.Therefore, there is certain practical significance and application prospect to the research of access control system.
Currently, common access control system has card-scanning type access control system, calling type access control system and bio-identification door in life Access control system three classes.Wherein card-scanning type and calling type gate inhibition is very dangerous, and bio-identification access control system cost is very high.Therefore, from peace From the point of view of complete and cost performance, these three access control systems are all not very convenient for user, such as block easy to be lost, safety Difference.
In conclusion problem of the existing technology is:
Existing access control system is for user's inconvenience;Android phone is not bound with to be applied.
Invention content
In view of the problems of the existing technology, the present invention provides a kind of intelligent access control systems.
The invention is realized in this way a kind of intelligent access control system, the intelligent access control system include:
Owner's subsystem controls gate inhibition's device using Bluetooth technology, using distributed storage technology to relevant information It is managed;Control for gate inhibition's device and relevant information management.
Visitor's subsystem sends request of opening the door for visitor visitor to owner;Visitor rings a doorbell first, then owner's hand Chance receives incoming messages, is finally confirmed whether to open the door;It is communicated by bluetooth between doorbell and mobile phone;When visitor presses door When bell, doorbell can send a character C to mobile phone;When mobile phone receives character C, pop-up has guest's incoming messages;It confirms phone Whether open the door;When by downward swing door, mobile phone sends character a to gate inhibition's device;When gate inhibition's device receives character a, open the door.
Further, the intelligent access control system further comprises:
Local data base is connect with Business Logic:Business Logic is mainly carried out by ORM frames and local data base Connection, ORM frames provide a set of CRUD operate interfaces and access database for Business Logic.
Business Logic is connect with client:Business Logic includes a series of interfaces accessed for client, including is stepped on Record, the interfaces such as enabling.The login interface of Business Logic will be called when clicking login button such as client.For recording user Name, password and relevant information.
Client is connect with bluetooth unit:Client is attached with bluetooth unit by Bluetooth adapter.First Bluetooth adapter is got by BluetoothAdapter.getDefaultAdapter (), is then passed through GetRemoteDevice () method in BluetoothAdapter gets bluetooth equipment, and last client is got and indigo plant Socket Socket between tooth equipment connect with bluetooth equipment by socket and obtains input, and it is logical that output flows into row data Letter.
Bluetooth unit is connect with gate inhibition's device, doorbell:Gate inhibition's device is communicated by central die with other assemblies, So bluetooth unit is connect with gate inhibition's device by central die.It is used for transmission the communication data of client.
Gate inhibition's device:Chip, photoelectrical coupler, magnetic key operated lock, chip are sent out message to photoelectrical coupler, are referred to if sending out enabling It enables, then photoelectrical coupler forms high voltage between the magnet of magnetic key operated lock, and magnet, which unclamps, to open the door;If sending out shutdown instruction, Photoelectrical coupler forms low-voltage between the magnet of magnetic key operated lock, and magnet, which is sucked, closes the door.
Further, visitor's subsystem is integrated with gate inhibition end C51 microcontrollers:C51 microcontrollers control and bluetooth, photoelectricity Coupler, the communication between doorbell.
Further, the intelligent access control system further comprises:
Data access layer is connect with local data base, for the access to data;Pass through data base management system pair first Data are stored, and then carrying out additions and deletions to data changes;
Page display layer:It is connect with Business Logic, for showing business function by mobile phone A pp.
Another object of the present invention is to provide a kind of information data processing terminals equipped with the intelligent access control system.
Another object of the present invention is to provide a kind of home furnishings intelligent locks being equipped with above-mentioned intelligent access control system.
Advantages of the present invention and good effect are:
The present invention is quasi- to develop an Android phone intelligent access control system, the system first when guest rings a doorbell to Master cellular phone sends enabling signal, and then owner receives the information, and guest's situation is checked by mobile phone, after confirmation is errorless, by Mobile phone locks on/off.By the invention, the deficiency in current access control system field can be made up, effectively pushes smart home field Development.The present invention is at low cost, easy to use.
Description of the drawings
Fig. 1 is intelligent access control system schematic diagram provided in an embodiment of the present invention.
In figure:1, local data base;2, Business Logic;3, client;4, bluetooth unit;5, Men Jinqi;6, Zhu Renzi System;7, visitor's subsystem.
Fig. 2 is App login functions module activities figure provided in an embodiment of the present invention.
Fig. 3 is App switch gates activity diagram provided in an embodiment of the present invention.
Fig. 4 is visitor's subsystem activity diagram provided in an embodiment of the present invention.
Fig. 5 is owner's subsystem Use Case Map provided in an embodiment of the present invention.
Fig. 6 is App Modify passwords activity diagram provided in an embodiment of the present invention.
Fig. 7 is visitor's subsystem Use Case Map provided in an embodiment of the present invention.
Fig. 8 is LoginActivity sequence diagrams provided in an embodiment of the present invention.
Fig. 9 is MainActivity sequence diagrams provided in an embodiment of the present invention.
Figure 10 is ModifyPasswordActivity sequence diagrams provided in an embodiment of the present invention.
Figure 11 is App login functions module status figure provided in an embodiment of the present invention.
Figure 12 is App switch gates state diagram provided in an embodiment of the present invention.
Figure 13 is App Modify passwords state diagram provided in an embodiment of the present invention.
Figure 14 is owner's subsystem module figure provided in an embodiment of the present invention.
Figure 15 is visitor's subsystem module figure provided in an embodiment of the present invention.
Figure 16 is the PCB circuit diagrams at gate inhibition end provided in an embodiment of the present invention.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to embodiments, to the present invention It is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to Limit the present invention.
The present invention uses java language, and the intelligence of switch gate can be carried out using intelligence android mobile phones by developing user Access control system.In android2.3.3 with upper mounting plate, function includes the running software:Visitor rings a doorbell, and master cellular phone receives To the delivering sound and prompt have visitor visiting;Owner can be come to visit situation by video;Owner can be with door lock.
The application principle of the present invention is further described below in conjunction with the accompanying drawings.
As shown in Figure 1, intelligent access control system provided in an embodiment of the present invention, including:
Owner's subsystem 6:Gate inhibition's device is controlled using Bluetooth technology, using distributed storage technology to relevant information It is managed;Owner carries out input username and password and logs in first, and after logining successfully, owner could open the door, closes the door, look into See relevant information..
Visitor's subsystem 7:Visitor rings a doorbell first, and then master cellular phone will receive incoming messages, finally be confirmed whether out Door.It is communicated by bluetooth between doorbell and mobile phone, when ringing a doorbell, doorbell can send a character C to mobile phone;When When mobile phone receives character C, pop-up has guest's incoming messages;It confirms phone and whether opens the door, when by downward swing door, mobile phone is sent out to gate inhibition Send character a;When gate inhibition receives character a, gate inhibition drives magnetic key operated lock to open the door.
The intelligent access control system further comprises:
Local data base 1, connect with Business Logic:Business Logic mainly by ORM frames and local data base into Row connection, ORM frames provide a set of CRUD operate interfaces and access database for Business Logic.
Business Logic 2, connect with client:Business Logic includes a series of interfaces accessed for client, including It logs in, the interfaces such as enabling.The login interface of Business Logic will be called when clicking login button such as client.It is used for recording Name in an account book, password and relevant information.
Client 3, connect with bluetooth unit:Client is attached with bluetooth unit by Bluetooth adapter.It is first It first passes through BluetoothAdapter.getDefaultAdapter () and gets Bluetooth adapter, then pass through GetRemoteDevice () method in BluetoothAdapter gets bluetooth equipment, and last client is got and indigo plant Socket Socket between tooth equipment connect with bluetooth equipment by socket and obtains input, and it is logical that output flows into row data Letter.
Bluetooth unit 4 is connect with gate inhibition's device:Gate inhibition's device is communicated by central die with other assemblies, so Bluetooth unit is connect with gate inhibition's device by central die.It is used for transmission the communication data of client.
Gate inhibition's device 5:Chip, photoelectrical coupler, magnetic key operated lock, chip are sent out message to photoelectrical coupler, are referred to if sending out enabling It enables, then photoelectrical coupler forms high voltage between the magnet of magnetic key operated lock, and magnet, which unclamps, to open the door;If sending out shutdown instruction, Photoelectrical coupler forms low-voltage between the magnet of magnetic key operated lock, and magnet, which is sucked, closes the door.
Visitor's subsystem 7 is integrated with gate inhibition end C51 microcontrollers:C51 microcontrollers control and bluetooth, photoelectric coupling Device, the communication between doorbell.
The intelligent access control system further comprises:
Data access layer is connect with local data base, for the access to data;Pass through data base management system pair first Data are stored, and then carrying out additions and deletions to data changes;
Page display layer:It is connect with Business Logic, for showing business function by mobile phone A pp.
The present invention is further described with reference to concrete analysis.
1, hardware condition:Computer (1), C51 microcontrollers (1), Android phone (1)
Software condition:Microsoft Office Word 2010、Microsoft Office Visio 2007、 Eclipse 4.2、Photoshop CS4、Sqlite 3、Keil C51。
2, intelligent access control system is divided into two kinds of roles:Owner and visitor.
1) owner
Main users of the owner as intelligent access control system can use search bluetooth, connect bluetooth, open the door, close the door, check The functions such as visiting record
2) visitor
When visitor comes to visit, presses doorbell and notify owner
3) functional mode
(1) owner's subsystem use-case, such as Fig. 5
Use case description 1
Use-case title It logs in
Use case description: User inputs account and password logs in
Participant: User
Precondition: There are this accounts in database
Postcondition: System login success or failure
Basic operation flow: Such as Fig. 2
Optional operating process
Use case description 2
Use case description 3
(2) visitor's subsystem use-case, such as Fig. 7
Use case description 4
4), object model
Class or interface specification 1:
Class or interface specification 2
Class name or interface name Explanation
LoginActivity System login class
OnChoiceItemClickListener It logs in and cancels control and respond monitor interface
OnClickListener Control responds monitor interface on login window
OnTouchListener Login window contact response monitor interface
Class or interface specification 3
Class or interface specification 4
Class name or interface name Explanation
ModifyPasswordActivity Modify password window class
OnClickListener Control responds monitor interface on main window
OnClickTitleBarListener Control response interface in title bar
TitleBar Title bar class
Handler Message Processing class in queue
Class or interface specification 5
Class name or interface name Explanation
SettingActivity Class is arranged in system
OnClickListener Control responds monitor interface on main window
OnClickTitleBarListener Control response interface in title bar
TitleBar Title bar class
Class or interface specification 6
5) dynamic model
LoginActivity logs in sequential such as Fig. 8
MainActivity sequential such as Fig. 9
ModifyPasswordActivity sequential such as Figure 10
Login status such as Figure 11
Switch door state such as Figure 12
Modify password state such as Figure 13
6) object model with service
Class declaration:
Method explanation:
Class or interface specification
Class name or interface name Explanation
LoginActivity System login class
OnChoiceItemClickListener It logs in and cancels control and respond monitor interface
OnClickListener Control responds monitor interface on login window
OnTouchListener Login window contact response monitor interface
Method explanation
Class or interface specification
Method explanation
Class or interface specification
Class name or interface name Explanation
BluetoothService Communication class between bluetooth
Serializable The included serializing interface of system
BluetoothDevice System bluetooth equipment class
BluetoothSocket System bluetooth socket class
BluetoothAdapter System Bluetooth adapter class
Context Window context class
BroadcastReceiver Broadcast recipients' class
Method explanation
The present invention is described further with reference to system design.
1, system designs
On the basis of analysis of system performance, system architecture figure such as Fig. 1 is.
2 master-plans:
According to the functional requirement model of system, system is divided into owner by participant, visitor's two subsystems are such as schemed Shown in 14, Figure 15
3, main modular and user-interface design:
The purpose of this system exploitation is realized when visitor comes to visit, and doorbell is pressed, and android mobile phone terminals receive visiting disappear Then breath carries out the function of switch gate, so the human-computer interaction interface of system is presented with the page format of mobile phone A pp,
Wherein:PCB Figure 16 of gate inhibition end C51 microcontrollers
4, design data:
The main database table of this system is user message table, visitor's record sheet, since main function of system is real respectively Existing Bluetooth communication between mobile phone A pp and gate inhibition's device, fairly simple in data volume, user class and visitor record no spy between class Different relationship.
5, system is realized:
System architecture is realized
(1) data access layer:It realizes the access function to data, such as increases, deletes, changing, inquiry data.
(2) Business Logic:The specific logic function of realization business, such as system login, switch gate, visitor's record are checked Deng.
(3) page display layer:It will be shown in business function mobile phone A pp, such as display logs in people's information, visitor's record Deng.
The realization of database ORM technologies
Object-Relation Mapping (OBJECT/RELATION MAPPING, abbreviation ORM), is opened with the software of object-oriented Forwarding method develop and generate.The development approach of object-oriented is the mainstream exploitation side in current enterprise-level application development environment Method, relational database are the mainstream data storage systems that data are permanently stored in enterprise-level application environment.Object and relation data It is two kinds of forms of expression of Business Entity, Business Entity shows as object, shows as relation data in the database in memory. There is association and inheritance between object in memory, and in the database, relation data can not directly express multi-to-multi pass Connection and inheritance.Therefore, Object-Relation Mapping (ORM) system exists generally in the form of middleware, main to realize program pair As the mapping to relational database data.
Object-oriented grows up on the basis of soft project basic principle (such as coupling, polymerization, encapsulation), and closes It is that database is then developed from mathematical theory, there are significant differences for two sets of theories.It is unmatched in order to solve this Phenomenon, Object Relation Mapping technology are come into being.
The realization of ORM framework technologies can must developer focus on how carrying out additions and deletions to database too much changing and look into, Complicated SQL statement is also avoided simultaneously
General ORM includes following four part:
One API that CRUD operations are carried out to lasting class object;
One language or API are used for providing and class and the relevant inquiry of generic attribute;
The tool of one regulation MAPPING METADATA;
A kind of technology can allow the realization of ORM to carry out DIRTYCHECKING, LAZY together with transaction object ASSOCIATION FETCHING and other optimization operations.
In the present system, a set of frame that data update can be quickly carried out to database is just designed, main includes five Class OpenDroidHelper.java, OpenDroid.java, DBBean.java, CRUD.java,
CreateDB.java and xml document open_droid.xml
OpenDroidHelper helps class, main function to read file from open_droid.xml and know and to create Then database name, database version, table name are stored in DBBean classes
In DBBean classes, main there are three field, version, name, sqls preserve the database version to be created, Name and the SQL statement for creating table
CRUD classes, predominant package changes the method looked into database progress additions and deletions
CreateDB classes, this classification is critically important, it inherits the SQLiteOpenHelper in androidAPI, data The establishment of library and table all derive from it is such, rewritten two method OnCreate read data creation database in DBBean and Table, OnUpdate update the data library.
OpenDroid classes, such is open to developer, it is important that, as long as finish writing in a program will be in number by developer According to the classification of mapping table in library, then inheriting such can achieve the effect that automatically create database and table.
The effect of open_droid.xml, this file are easy for developer's configuration data library name, version, table.Certainly configuration It is noted that the full name of corresponding classification when table.
Configuration file such as in this program is as follows
The realization of main modular:
1) realization of App login interfaces
Login function-clicks confirming button after first filling in correct username and password, into system main interface;If User name or the then display reminding error message of password mistake.
Main code:
SendMessage (handler, MsgType.LOGIN_FAILED, " user name is not present ");
The realization at 2 App opening-closing doors interfaces
Switch lock --- it when pressing unlocking button, then unlocks, unlocking button becomes press-button for locking.When pressing press-button for locking, It then shuts, press-button for locking becomes unlocking button.
It unlocks/shuts and mainly realize code:
It receives incoming messages and mainly realizes code:
3 App passwords change the realization at interface
The system setting in sideslip menu is clicked, into setting interface interface, Modify password is then clicked and enters this boundary Face.
The main code for changing personal identification number is as follows:
Test:
The test at opening-closing door interface
Test Sample Design
The invention will be further described for analysis below in conjunction with the accompanying drawings.
Fig. 2 is that App provided in an embodiment of the present invention logs in activity diagram:User is required for inputting user name into App every time It is logged in password.The record of user name input by user, password and lane database is matched.
Fig. 3 is owner's App switch gate activity diagram provided in an embodiment of the present invention:Client is blue by Bluetooth of mobile phone and gate inhibition Tooth is communicated, and door open command a is sent to gate inhibition, or the instruction A that closes the door.
Fig. 4 is visiting subscriber's activity diagram provided in an embodiment of the present invention:Visitor rings a doorbell first, sends instruction C to owner Mobile phone, then master cellular phone will receive incoming messages.
Fig. 5 is owner's subsystem Use Case Map provided in an embodiment of the present invention:Owner's subsystem includes mainly logging in, and visitor disappears Breath prompt, searches for bluetooth, connects bluetooth, opens the door, and closes the door, and is arranged (whether prompting message is opened), and Modify password logs off, Logging off users, visitor record modules such as (checking record, deletion record).
Fig. 6 is App Modify passwords activity diagram figure provided in an embodiment of the present invention:First determine whether the former login password of input, New password frame determines whether the content of password box is empty, if free, continues to input again;If being not sky, judge defeated Whether the former login password entered is correct, if mistake, re-enters;If the former login password of input is correct, continue to sentence Whether the new password of disconnected input and determining password are consistent, preserve new username and password if consistent and user is prompted to change Password success, otherwise prompts user to re-enter.
Fig. 7 is visitor visitor's subsystem Use Case Map provided in an embodiment of the present invention:Doorbell is then mounted on and is pressed outdoors for visitor The owner that sends a notice has guest visiting.
Fig. 8 is LoginActivity sequence diagrams provided in an embodiment of the present invention:When user presses login button, Username and password is transmitted to the login interfaces of component SystemComponent and called by LoginActivity, then login Interface call PersonUtil getPersons () method return user, login interfaces judge return user whether be Sky notifies LoginActivity to login successfully if being not sky, otherwise notifies LoginActivity login failures.
Fig. 9 is MainActivity sequence diagrams provided in an embodiment of the present invention:MainActivity mainly passes through BluetoothService components are communicated with bluetooth, and MainActivity can be got by BluetoothService Matched bluetooth equipment list connects bluetooth equipment, and data are written to bluetooth equipment, and data are read from bluetooth equipment.
Figure 10 is ModifyPasswordActivity sequence diagrams provided in an embodiment of the present invention:When user press modification it is close When code button, new user name and password are transmitted to component SystemComponent's by ModifyPasswordActivity ModifyPassword interfaces simultaneously call, and then modifyPassword interfaces call the getPersons () of PersonUtil Method return user, modifyPassword interfaces judge whether the user for returning is empty, are notified if being not sky LoginActivity is successfully modified, otherwise notifies LoginActivity modification failures.
Figure 11 is login status figure provided in an embodiment of the present invention:When user input username and password and press login by When button, this when, backstage carried out in user's matching, and the page, which is shown, to be logged in, if successful match page notice in backstage is used Family logins successfully, and otherwise prompts login failure.
Figure 12 is switch gate state diagram provided in an embodiment of the present invention:When door has been opened, master cellular phone Client-Prompt door It has been opened that, otherwise prompt door has closed.
Figure 13 is Modify password state diagram provided in an embodiment of the present invention:When user inputs original code, new password and determination Password and when pressing Modify password button, this when, backstage new password was deposited into database, and the page, which is shown, to be changed, The page notifies the success of user's Modify password if backstage deposit new password success, otherwise prompts Modify password failure.
Figure 14 is owner's subsystem module figure provided in an embodiment of the present invention:User's registrant's function module includes logging in, Bluetooth is searched for, switch gate is come to visit and prompted, and personal information is checked, system setting (opens prompting message, Modify password), note of coming to visit Record is nullified, is logged off.
Figure 15 is visitor's subsystem module figure provided in an embodiment of the present invention:Visitor's function module includes mainly doorbell, is opened Shut function.
Figure 16 is the PCB circuit diagrams at gate inhibition end provided in an embodiment of the present invention:This module, which is divided into, to be manually controlled and remotely controls Two ways processed, manually controls and exactly reaches switching effect by switch control voltage variation, and remote control is exactly that control panel is logical It crosses bluetooth module and receives the signal that mobile phone terminal is sent to change the signal of chip pin, achieve the effect that control switch.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention made by within refreshing and principle.

Claims (5)

1. a kind of intelligent access control system, which is characterized in that the intelligent access control system includes:
Owner's subsystem controls gate inhibition's device using Bluetooth technology, is carried out to relevant information using distributed storage technology Management;
Visitor's subsystem sends request of opening the door for visitor to owner;Visitor rings a doorbell first, and then master cellular phone, which will receive, comes Message is visited, is finally confirmed whether to open the door;It is communicated by bluetooth between doorbell and mobile phone;When visitor rings a doorbell, doorbell meeting A character C is sent to mobile phone;When mobile phone receives character C, pop-up has guest's incoming messages;It confirms phone and whether opens the door;When When by downward swing door, mobile phone sends character a to gate inhibition's device;When gate inhibition's device receives character a, open the door.
2. intelligent access control system as described in claim 1, which is characterized in that the intelligent access control system further comprises:
Local data base is connect with the ORM frames of Business Logic;For recording user name, password and relevant information;
Business Logic is connect with client by access interface;The access interface includes logging in, and is opened the door;For client It logs in;
Client is connect by Bluetooth adapter with bluetooth unit;
Bluetooth adapter is got by BluetoothAdapter.getDefaultAdapter () first;
Then bluetooth equipment is got by getRemoteDevice () method in BluetoothAdapter,
Last client gets the socket Socket between bluetooth unit, connect and obtains with bluetooth unit by socket Input, output is taken to flow into row data communication;
Bluetooth unit is connect with gate inhibition's device, doorbell, is used for transmission the communication data of client;
Gate inhibition's device, including chip, photoelectrical coupler, magnetic key operated lock;The chip hair message is to photoelectrical coupler, if client is sent out Go out door open command, then photoelectrical coupler forms high voltage between the magnet of magnetic key operated lock, and magnet, which unclamps, to open the door;If client is sent out Go out instruction of closing the door, then photoelectrical coupler forms low-voltage between the magnet of magnetic key operated lock, and magnet, which is sucked, closes the door;Gate inhibition's device is logical Chip is crossed to be communicated with bluetooth unit and client.
3. intelligent access control system as claimed in claim 2, which is characterized in that the intelligent access control system further comprises:
Data access layer is connect with local data base, for the access to data;First by data base management system to data It is stored, then carrying out additions and deletions to data changes;
Page display layer:It is connect with Business Logic, for showing business function by mobile phone A pp.
4. a kind of home furnishings intelligent lock being equipped with intelligent access control system described in claim 1.
5. a kind of information data processing terminal equipped with intelligent access control system described in claim 1.
CN201810203566.2A 2018-03-13 2018-03-13 A kind of intelligent access control system Pending CN108520578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810203566.2A CN108520578A (en) 2018-03-13 2018-03-13 A kind of intelligent access control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810203566.2A CN108520578A (en) 2018-03-13 2018-03-13 A kind of intelligent access control system

Publications (1)

Publication Number Publication Date
CN108520578A true CN108520578A (en) 2018-09-11

Family

ID=63433005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810203566.2A Pending CN108520578A (en) 2018-03-13 2018-03-13 A kind of intelligent access control system

Country Status (1)

Country Link
CN (1) CN108520578A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111681342A (en) * 2020-05-26 2020-09-18 深圳桔子智能科技发展有限公司 Remote control method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473839A (en) * 2013-09-13 2013-12-25 惠州Tcl移动通信有限公司 Implementation method and implementation system of intelligent video access control system
CN205750945U (en) * 2016-05-25 2016-11-30 深圳市安顺祥科技有限公司 A kind of Gate-ban Monitoring System of Home House
CN205880943U (en) * 2015-12-07 2017-01-11 山东爱泊客网络科技有限公司 Can realize access control system that cell -phone opened door
CN106485811A (en) * 2015-08-27 2017-03-08 昆山研达电脑科技有限公司 Household access control system based on social software
CN206489640U (en) * 2016-12-31 2017-09-12 广州市宗显科技有限公司 A kind of intelligent entrance guard machine
CN206931134U (en) * 2017-07-12 2018-01-26 成都大学 A kind of unified access controller towards family

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473839A (en) * 2013-09-13 2013-12-25 惠州Tcl移动通信有限公司 Implementation method and implementation system of intelligent video access control system
CN106485811A (en) * 2015-08-27 2017-03-08 昆山研达电脑科技有限公司 Household access control system based on social software
CN205880943U (en) * 2015-12-07 2017-01-11 山东爱泊客网络科技有限公司 Can realize access control system that cell -phone opened door
CN205750945U (en) * 2016-05-25 2016-11-30 深圳市安顺祥科技有限公司 A kind of Gate-ban Monitoring System of Home House
CN206489640U (en) * 2016-12-31 2017-09-12 广州市宗显科技有限公司 A kind of intelligent entrance guard machine
CN206931134U (en) * 2017-07-12 2018-01-26 成都大学 A kind of unified access controller towards family

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
韩迪: "《Android实例详解-项目实训开发》", 31 August 2016 *
颜建华: "《Android开发关键技术之旅 JAVA程序员快速学习通道》", 31 July 2012 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111681342A (en) * 2020-05-26 2020-09-18 深圳桔子智能科技发展有限公司 Remote control method and system

Similar Documents

Publication Publication Date Title
CN109034720A (en) A kind of mobile oa platform and device suitable for power scheduling service management
CN106357724A (en) Uniformly integrated information management platform system
CN103176789A (en) Method and system used for realizing function extension of open platform
CN204791237U (en) Wireless Intelligence entrance guard's intercom system
US11948412B2 (en) Intelligent lock credential validation
CN103116924B (en) Electronic lock system based on images and mobile communication network
CN110300083A (en) A kind of method, terminal and authentication server obtaining identity information
CN103116923A (en) Security and protection method based on images and mobile communication network
CN105809796A (en) Hotel self-service check-in control system and method
CN205845134U (en) A kind of smart lock
CN108520578A (en) A kind of intelligent access control system
CN106856018A (en) Transmission identity data is with the system and method for access control
CN107070901B (en) Intelligent community software and hardware integrated development system
CN105741394A (en) Intelligent access control system based on mobile phone control
KR102459799B1 (en) System and method for managing entrance and exit of common entrance door
CN210295226U (en) Card issuing management system of intelligent door lock
CN210895580U (en) Mobile terminal dynamic modification intelligent door lock password
CN205788384U (en) The access control equipment of a kind of long-range control and access control system thereof
KR102599345B1 (en) Smart home system able to manage residents and visitors of multi-family houses
CN204440509U (en) Building door control terminal
CN105869236B (en) Building guard method and door control terminal
CN111784883B (en) Intelligent lock configuration method and system
CN106506844A (en) A kind of wechat remote mobile based on agreement note is monitored and return system, method
Derbali Toward Secure Door Lock System: Development IoT Smart Door Lock Device
KR20190101917A (en) Digital door lock with text display display liquid crystal

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

Application publication date: 20180911