CN101853533B - Password setting method and device for building access control system - Google Patents
Password setting method and device for building access control system Download PDFInfo
- Publication number
- CN101853533B CN101853533B CN200910131116.8A CN200910131116A CN101853533B CN 101853533 B CN101853533 B CN 101853533B CN 200910131116 A CN200910131116 A CN 200910131116A CN 101853533 B CN101853533 B CN 101853533B
- Authority
- CN
- China
- Prior art keywords
- password
- processing unit
- machine processing
- user
- subelement
- 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.)
- Active
Links
Images
Landscapes
- Lock And Its Accessories (AREA)
- Time Recorders, Dirve Recorders, Access Control (AREA)
Abstract
Description
技术领域 technical field
本发明涉及楼宇门禁系统,特别是指一种用于楼宇门禁系统的密码设定方法和装置。The invention relates to a building access control system, in particular to a password setting method and device for the building access control system.
背景技术 Background technique
目前,楼宇门禁系统通常包括室内机和门口机,室内机与门口机可以通过以太网相连,室内机设置在用户室内用于向门口机发出开单门的命令,门口机设置在大门上用于根据接收的命令控制打开门锁。At present, the building access control system usually includes an indoor station and an outdoor station. The indoor station and the outdoor station can be connected through Ethernet. The door lock is controlled to be opened according to the received command.
楼宇门禁系统的室内机可以是具有用户交互界面的智能终端或者是可视对讲的室内机。该智能终端可以接收门口机传输过来的音视频数据,将其中的视频数据在显示屏上显示和将音频数据在扬声器上播放。The indoor unit of the building access control system may be an intelligent terminal with a user interaction interface or an indoor unit for video intercom. The smart terminal can receive the audio and video data transmitted from the outdoor station, display the video data on the display screen and play the audio data on the speaker.
门口机控制门锁开关,可以是带有音视频数据的采集和播放功能的终端。The VTO controls the door lock switch, and can be a terminal with audio and video data collection and playback functions.
访客来访时,通过按门口机上的按键呼叫用户,用户可以在显示屏上看到访客并且可以与访客对讲,用户触动开门按键就可以遥控门口机打开门锁。用户自己则可以通过在门口机上输入密码的方式打开门锁。When a visitor comes to visit, press the button on the outdoor station to call the user, the user can see the visitor on the display screen and can talk to the visitor, and the user can remotely open the door lock by touching the door open button. The user himself can open the door lock by inputting the password on the door station.
目前,门口机的开门密码通常由物业公司设定并且定期更换,物业公司负责将新密码发送到用户邮箱或者用户手机上以告知用户。At present, the door opening password of the outdoor station is usually set by the property management company and changed regularly. The property management company is responsible for sending the new password to the user's mailbox or mobile phone to inform the user.
上述开门密码的设定方法存在一些缺陷,1、很多用户共用一个密码容易造成密码的泄密,给用户的人身财产安全带来隐患;2、物业公司设定的密码对于用户来说很陌生,用户容易忘记密码,导致用户无法打开单元门,而且用户还要记住定期更换的不同密码,这就又给用户增加了困难;3、如果出现意外情况,如用户没有收到更换后的密码,用户就无法打开单元门,给用户带来烦恼和不便。There are some defects in the setting method of the above-mentioned door-opening password. 1. Many users share a password, which will easily cause the leakage of the password and bring hidden dangers to the personal and property safety of the user; 2. The password set by the property company is very strange to the user. It is easy to forget the password, causing the user to be unable to open the unit door, and the user also has to remember the different passwords that are changed regularly, which adds difficulties to the user; Just can't open unit door, bring trouble and inconvenience to user.
针对上述问题,人们提出了一种密码设定方法,用户可以自行在门口机对原始密码进行修改,这样每个用户都可以设定自己的开门密码。In view of the above problems, people have proposed a password setting method, the user can modify the original password on the door machine, so that each user can set his own password for opening the door.
这种开门密码的设定方法的缺陷是:在公共场所对密码进行修改容易造成密码的泄漏,而且如果有人在门口机上恶意设定其他用户的密码,那么用户本人就不能开门,给用户造成不便。The defect of this method of setting the door-opening password is: modifying the password in a public place will easily cause the leakage of the password, and if someone maliciously sets the password of other users on the door station, the user himself will not be able to open the door, which will cause inconvenience to the user. .
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供一种用于楼宇门禁系统的密码设定方法和装置,使用户可以在室内的智能终端上设置门口机密码,且针对不同用户可以生成不同的密码。In view of this, the main purpose of the present invention is to provide a password setting method and device for a building access control system, so that users can set passwords for door phones on indoor smart terminals, and different passwords can be generated for different users.
本发明提供的一种用于楼宇门禁系统的密码设定方法,包括步骤:A kind of password setting method for building access control system provided by the present invention, comprises steps:
A、室内机处理单元接收用户输入的密码,并发送给门口机处理单元;A. The indoor station processing unit receives the password input by the user and sends it to the outdoor station processing unit;
B、门口机处理单元确定所述室内机处理单元所对应的房间标识信息,并结合所接收的密码生成开门所需的密码并存储。B. The outdoor station processing unit determines the room identification information corresponding to the indoor station processing unit, and combines the received password to generate and store the password required for opening the door.
可选的,步骤A之前还包括鉴权所述用户身份的步骤。Optionally, before step A, a step of authenticating the identity of the user is also included.
可选的,步骤A还包括判断接收的所述密码是否为有效的步骤。Optionally, step A further includes the step of judging whether the received password is valid.
可选的,步骤A所述发送之前还包括将所述密码加密的步骤;步骤B接收所述密码之后还包括解密该加密后的密码的步骤。Optionally, before the sending in step A, the step of encrypting the password is further included; in step B, after receiving the password, the step of decrypting the encrypted password is also included.
其中,步骤B所述确定所述室内机处理单元所对应的房间标识信息的步骤包括:Wherein, the step of determining the room identification information corresponding to the indoor unit processing unit in step B includes:
确定所述室内机处理单元消息中的IP地址,读取存储的所述IP地址对应的房间标识信息。Determine the IP address in the message of the indoor unit processing unit, and read the stored room identification information corresponding to the IP address.
可选的,所述房间标识信息包括:至少以下之一或任意组合:小区号、楼栋号、单元号、楼层号、房间号;或用户预先设定的特定数字信息。Optionally, the room identification information includes: at least one or any combination of the following: cell number, building number, unit number, floor number, room number; or specific digital information preset by the user.
本发明提供的用于楼宇门禁系统的密码设定装置包括:室内机处理单元和门口机处理单元,其中,The password setting device for the building access control system provided by the present invention includes: an indoor machine processing unit and an outdoor machine processing unit, wherein,
室内机处理单元包括:密码接收子单元,用于接收用户输入的密码;和密码传输子单元,用于将所述密码发送给门口机处理单元;The indoor unit processing unit includes: a password receiving subunit, used to receive the password input by the user; and a password transmission subunit, used to send the password to the outdoor station processing unit;
门口机处理单元包括:密码接收子单元,用于接收室内机处理单元发送过来的所述密码;开门密码生成子单元,用于确定所述室内机处理单元所对应的房间标识信息,并结合所接收的密码生成开门所需的密码;和密码存储子单元,用于将生成的开门所需的密码进行存储。The outdoor machine processing unit includes: a password receiving subunit for receiving the password sent by the indoor machine processing unit; a door opening password generating subunit for determining the room identification information corresponding to the indoor machine processing unit, and combining the A password required for opening the door is generated from the received password; and a password storage subunit is used for storing the generated password required for opening the door.
可选的,室内机处理单元还包括:鉴权子单元,用于对所述用户身份进行鉴权。Optionally, the indoor unit processing unit further includes: an authentication subunit, configured to authenticate the user identity.
可选的,其特征在于,室内机处理单元还包括:密码限制子单元,用于判断密码接收子单元所接收的密码是否为有效。Optionally, it is characterized in that the indoor unit processing unit further includes: a password restriction subunit, configured to determine whether the password received by the password receiving subunit is valid.
可选的,室内机处理单元还包括:加密子单元,用于将密码接收子单元所接收的所述密码进行加密;门口机处理单元还包括:解密子单元,用于将密码接收子单元所接收的加密后的密码进行解密。Optionally, the indoor station processing unit further includes: an encryption subunit, used to encrypt the password received by the password receiving subunit; the outdoor station processing unit also includes: a decryption subunit, used to encrypt the password received by the password receiving subunit The received encrypted password is decrypted.
由上可以看出,本发明提供的密码设置方法和设置装置,可以实现由用户通过室内机设定密码,并且结合其房间标识信息生成密码,实现不同用户可以分别设置开门密码,且由于密码的生成结合了房间标识信息,更为有针对性和安全性。It can be seen from the above that the password setting method and setting device provided by the present invention can enable users to set passwords through indoor units, and generate passwords in combination with their room identification information, so that different users can set door-opening passwords separately, and due to the different passwords The generation combines room identification information, which is more targeted and secure.
其中,还实现可以对用户的身份进行鉴权,避免非法的进入设定密码过程。Wherein, it is also realized that the identity of the user can be authenticated to avoid illegal access to the password setting process.
其中,还可以实现对用户所输入的密码进行分析是否有效,避免用户输入不够安全基本的密码作为设定密码。Wherein, it is also possible to analyze whether the password input by the user is valid, so as to prevent the user from inputting an insufficiently safe and basic password as the set password.
其中,密码在室内机与门口机传输时可以采用加密的方式,增加数据传输过程中的安全性。Among them, the password can be encrypted during the transmission between the indoor station and the outdoor station to increase the security of the data transmission process.
其中,所述房间标识信息可以与室内机IP地址对应存储,可以直接读取出房间标识信息进行应用。可选的,所述房间标识信息包括:至少以下之一或任意组合:小区号、楼栋号、单元号、房间号;或用户预先设定的特定数字信息。尤其当为用户预定的特定数字信息时,更加体现出了开门密码的专有性,其他人是无法得知所述特定数字信息的,加强了开门密码的安全性。Wherein, the room identification information can be stored corresponding to the IP address of the indoor unit, and the room identification information can be directly read out for application. Optionally, the room identification information includes: at least one or any combination of the following: cell number, building number, unit number, room number; or specific digital information preset by the user. Especially when the specific digital information is reserved for the user, it further reflects the exclusiveness of the door-opening password, and other people cannot know the specific digital information, which strengthens the security of the door-opening password.
附图说明 Description of drawings
图1为楼宇门禁系统的架构示意图;FIG. 1 is a schematic diagram of a building access control system;
图2为楼宇门禁系统的密码设定装置的构成示意图;2 is a schematic diagram of the composition of the password setting device of the building access control system;
图3为房间标识信息的构成格式示意图;Fig. 3 is a schematic diagram of the composition format of the room identification information;
图4为开门密码构成示意图;Fig. 4 is a schematic diagram of the composition of the password for opening the door;
图5为密码设定方法的流程图。FIG. 5 is a flow chart of a password setting method.
具体实施方式 Detailed ways
图1为楼宇门禁系统的架构图,如图所示,楼宇内的各个室内机和门口机通过以太网交换机相互连接,可以使用基于Linux操作系统组建的局域网。室内机和门口机具有人机交互界面,该人机交互界面可以由MiniGUI制作。室内机与门口机通过UDP协议传输音视频数据,也可以通过485通信协议传输数据。室内机包括室内机处理单元100,门口机包括门口机处理单元200,室内机处理单元100和门口机处理单元200可以采用ARM10处理器。Figure 1 is the architectural diagram of the building access control system. As shown in the figure, each indoor station and outdoor station in the building are connected to each other through an Ethernet switch, and a local area network based on the Linux operating system can be used. The indoor station and outdoor station have human-computer interaction interface, which can be made by MiniGUI. The indoor station and outdoor station can transmit audio and video data through UDP protocol, and can also transmit data through 485 communication protocol. The indoor station includes an indoor
图2为楼宇门禁系统的密码设定装置的构成示意图,如图所示,室内机处理单元100包括:FIG. 2 is a schematic diagram of the composition of the password setting device of the building access control system. As shown in the figure, the indoor
密码接收子单元101,用于接收用户输入的密码;用户输入的鉴权密码和新密码都由密码接收子单元101接收。The
鉴权子单元102,用于对输入密码的用户的身份进行鉴权。鉴权子单元102存储有正确密码,通过判断密码接收子单元101所接收的用户输入的鉴权密码与存储的正确密码是否匹配来对用户身份进行鉴权。鉴权子单元102接收的用户输入的鉴权密码与鉴权子单元102存储的正确密码相匹配,则用户身份通过鉴权,反之则判断用户身份为非法。The
密码限制子单元103,用于判断密码接收子单元101所接收的新密码是否为有效。例如,密码限制子单元103存储有限制密码列表,列表内包括最常用的简单数字密码,如123456,111111,00000,888888或其他类型限制的密码,通过将接收的新密码与存储的限制密码比较来判断接收的新密码是否为有效。新密码与列表中的任何一个密码一致,则判断新密码为无效,反之则有效。列表内还可以包括其他条件,例如判断用户输入的密码位数不满足位数的要求(如输入密码应为6位)时,也视为新密码无效。The
加密子单元104,用于将密码接收子单元101接收的新密码进行加密。The
密码传输子单元105,用于将加密后的密码通过局域网TCP协议发送给门口机处理单元200。The
门口机处理单元200包括:The outdoor
密码接收子单元201,用于接收室内机处理单元100发送过来的加密密码;A
解密子单元202,用于将密码接收子单元201接收的加密密码进行解密。The
开门密码生成子单元203,将解密后的密码和发送密码的IP地址对应的房间标识信息结合生成开门所需的密码。开门密码生成子单元203预先存储有每个室内机对应的房间标识信息和IP地址。房间标识信息和IP地址对应存储,根据发送密码的IP地址即可得知发送密码的室内机对应的房间标识信息。其中房间标识信息的构成格式可如图3所示,包括2字节的小区号、2字节的楼栋号、1字节的单元号和2字节的房间号,其中,可以将房间标识信息或其包含的部分信息,如房间号作为房间标识信息。还可以包含楼层号等。开门密码的格式如图4所示,由2个字节的房间号和6个字节的密码信息构成,其中密码信息中的1个字节代表用户输入的一个字符。例如房间号为402的用户输入的新密码是256489,则生成的开门所需密码为402256489,就是说该用户在门口机上输入密码402256489才能开启大门。开门密码中加入房间号可以增加密码的安全级别,不易被人破解。需要说明的是,房间标识信息也可以是由用户预先设定的其他信息,例如是特定数字信息,这可以由室内机提供相应的输入界面来实现。当为特定数字信息时,如果被其他人修改了密码,由于他不知道用户预设的特定数字信息,因此也无法去开启门禁。当然,为了避免用户忘记其设定的特定数字信息,还应该设置该信息的清除或取消程序,以备万一。The door-opening
密码存储子单元204,用于存储开门所需的密码。密码存储单元可以采用具有128M的RAM或256M的FLASH。The
图5为密码设定方法的流程图,如图所示,包括以下步骤:Fig. 5 is the flowchart of password setting method, as shown in the figure, comprises the following steps:
步骤501、室内机处理单元100的密码接收子单元101接收用户在门口机的交互界面输入的鉴权密码,并由鉴权子单元102进行鉴权,通过鉴权后用户可以登录进入设定密码的界面。
步骤502、室内机处理单元100的密码接收子单元101接收用户在设定密码的界面输入的新密码。
步骤503、室内机处理单元100的密码限制子单元103判断用户输入的新密码是否为有效密码,当判断输入的密码为无效密码时通过交互界面提示用户输入的密码无效,以及提示重新输入其他密码;当判断有效时,则继续执行下一步。
步骤504、室内机处理单元100的加密子单元104对所接受的新密码采用MD5的加密方法进行加密。
步骤505、室内机处理单元100的密码传输子单元105将加密后的新密码发送给门口机处理单元200。如图1所示,可以通过所述网络发送给远端的门口机处理单元200。
步骤506、门口机处理单元200的密码接收子单元201接收室内机处理单元100发送过来的加密密码。
步骤507、门口机处理单元200的解密子单元202对接收的加密密码采用MD5的解密方法进行解密。不难理解,当步骤504采用了其他加密方式时,本步骤需要采用相应的解密方式。
步骤508、门口机处理单元200的开门密码生成子单元203将解密后的密码与房间标识信息结合生成开门所需的密码。
步骤509、门口机处理单元200的密码存储子单元204将生成的开门所需的密码进行存储。
加密子单元104也可以采用其他的加密方法对密码进行加密,如将密码取反的加密方法。相应的,解密子单元202将接收到的密码取反进行解密。当然房间标识信息也可以包括单元号等信息。另外,对于开门密码生成时,如对密码安全级别要求不高,也可以仅使用所存储的密码,即用户所设置的密码作为开门密码。The
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910131116.8A CN101853533B (en) | 2009-04-02 | 2009-04-02 | Password setting method and device for building access control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910131116.8A CN101853533B (en) | 2009-04-02 | 2009-04-02 | Password setting method and device for building access control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101853533A CN101853533A (en) | 2010-10-06 |
CN101853533B true CN101853533B (en) | 2014-04-23 |
Family
ID=42804998
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910131116.8A Active CN101853533B (en) | 2009-04-02 | 2009-04-02 | Password setting method and device for building access control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101853533B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102708610A (en) * | 2012-06-06 | 2012-10-03 | 万科思自控信息(中国)有限公司 | Door access control system and door-lock unlocking method thereof |
CN105719366A (en) * | 2014-12-01 | 2016-06-29 | 丰唐物联技术(深圳)有限公司 | Method and apparatus used for unlocking door locks |
CN105788049A (en) * | 2016-04-26 | 2016-07-20 | 苏州见真物联科技有限公司 | Apartment door access control system with WIFI wireless communication network |
CN105976471B (en) * | 2016-05-18 | 2018-07-20 | 北京千丁互联科技有限公司 | A kind of access control equipment, caller management method and system |
CN106169198A (en) * | 2016-06-30 | 2016-11-30 | 苏州见真物联科技有限公司 | A kind of community underground garage intelligent management gate control system |
CN106652064B (en) * | 2016-12-29 | 2020-02-21 | 北京万集科技股份有限公司 | Parking lot payment method and system |
CN108234948A (en) * | 2017-12-19 | 2018-06-29 | 安恩达科技(深圳)有限公司 | Video intercom digital visual intercommunication method, indoor unit and system in every family |
CN109493469A (en) * | 2018-10-15 | 2019-03-19 | 珠海格力电器股份有限公司 | Authority setting method and management equipment of intelligent door lock |
CN110891096A (en) * | 2019-11-15 | 2020-03-17 | 珠海数字动力科技股份有限公司 | Building intercom networking system and networking method |
CN111915782A (en) * | 2020-02-27 | 2020-11-10 | 宁波大学 | Intelligent door safety control method |
CN111768541A (en) * | 2020-06-10 | 2020-10-13 | 未来加(重庆)科技有限公司 | Face recognition access control system with multimedia interactive display |
-
2009
- 2009-04-02 CN CN200910131116.8A patent/CN101853533B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101853533A (en) | 2010-10-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101853533B (en) | Password setting method and device for building access control system | |
CN110462692B (en) | Safety communication method based on intelligent lock system and intelligent lock system thereof | |
US7289631B2 (en) | Encryption key setting system, access point, encryption key setting method, and authentication code setting system | |
CN105894627B (en) | A kind of control of bluetooth access equipment, control of bluetooth access management system and method | |
CN104732626B (en) | Gate inhibition's authorization management method and system | |
TWI491790B (en) | A smart lock structure and an operating method thereof | |
CN105118127B (en) | A kind of guest system and control method thereof | |
CN101217805B (en) | A wireless LAN access control method | |
CN105207900B (en) | A kind of private information transmission method based on immediate communication platform | |
CN105282179B (en) | A method of family's Internet of Things security control based on CPK | |
US20210351920A1 (en) | Secure communication method and smart lock system based thereof | |
CN108230503A (en) | A kind of half network type apartment door-locking system based on Bluetooth door lock | |
CN104052817A (en) | Intelligent door and intelligent door control method and system | |
CN105261100A (en) | Entrance guard unlocking method and system | |
CN108010166A (en) | Electronic door lock system | |
JP2004320139A (en) | Remote control system and relaying apparatus | |
CN101937584B (en) | The generation method of passwords of access control system | |
EP1411674B1 (en) | Encryption key setting system and method, access point, and authentication code setting system | |
WO2016146046A1 (en) | Data access method and device | |
CN113593088A (en) | Intelligent unlocking method, intelligent lock, mobile terminal and server | |
KR101572430B1 (en) | A key management method using a mobile communication terminal, a key management server and a mobile communication terminal for door lock opening and closing | |
KR20150006099A (en) | Methods and apparatuses of controlling interphone | |
CN107911384B (en) | A kind of cell management system and method based on digital certificate | |
CN116563977A (en) | Identity authentication management method, electronic equipment, intelligent lock and related devices | |
CN113421362B (en) | CTID-based intelligent door lock real-name authentication method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |