[go: up one dir, main page]

CN106504391A - A control method, device and system for intelligent access control - Google Patents

A control method, device and system for intelligent access control Download PDF

Info

Publication number
CN106504391A
CN106504391A CN201611053283.1A CN201611053283A CN106504391A CN 106504391 A CN106504391 A CN 106504391A CN 201611053283 A CN201611053283 A CN 201611053283A CN 106504391 A CN106504391 A CN 106504391A
Authority
CN
China
Prior art keywords
access control
password
opening
client
smart
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.)
Granted
Application number
CN201611053283.1A
Other languages
Chinese (zh)
Other versions
CN106504391B (en
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.)
Beijing Love Relay Technology Development Co Ltd
Original Assignee
Beijing Love Relay Technology Development 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 Beijing Love Relay Technology Development Co Ltd filed Critical Beijing Love Relay Technology Development Co Ltd
Priority to CN201611053283.1A priority Critical patent/CN106504391B/en
Publication of CN106504391A publication Critical patent/CN106504391A/en
Application granted granted Critical
Publication of CN106504391B publication Critical patent/CN106504391B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/32Individual registration on entry or exit not involving the use of a pass in combination with an identity check
    • G07C9/33Individual registration on entry or exit not involving the use of a pass in combination with an identity check by means of a password
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • H04L63/0846Network architectures or network communication protocols for network security for authentication of entities using passwords using time-dependent-passwords, e.g. periodically changing passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a kind of control method of intelligent entrance guard, apparatus and system, are related to Internet technical field, main purpose is by arranging the ageing security to strengthen intelligent entrance guard control for opening password.The main technical scheme of the present invention is:The instruction of the unlatching password of the acquisition intelligent entrance guard that server is sent in response to client;According to the initial password for instructing and transferring the intelligent entrance guard;The dynamic encryption factor is obtained for the initial password, the dynamic encryption factor is updated according to preset time interval;Ciphertext of the dynamic encryption factor with the initial password is encrypted by Advanced Encryption Standard, the unlatching password of the intelligent entrance guard is generated;The unlatching password encryption of the intelligent entrance guard is transmitted to client, to open the intelligent entrance guard using the unlatching password.Present invention is mainly used for control intelligent entrance guard.

Description

一种智能门禁的控制方法、装置及系统A control method, device and system for intelligent access control

技术领域technical field

本发明涉及互联网技术领域,尤其涉及一种智能门禁的控制方法、装置及系统。The invention relates to the technical field of the Internet, in particular to a control method, device and system for intelligent access control.

背景技术Background technique

随着现代移动互联网技术的发展,门禁系统也逐渐智能化,互联网化,目前的智能门禁系统在管理人员进出的同时,还可以提供事后的查询报表等服务,常见的智能门禁系统包括:密码门禁系统,非接触卡门禁系统,生物识别门禁系统等。With the development of modern mobile Internet technology, the access control system is gradually becoming intelligent and Internet-based. The current intelligent access control system can also provide services such as query reports after the event while the management personnel enter and exit. Common intelligent access control systems include: password access control system, contactless card access control system, biometric access control system, etc.

目前应用最为广泛的智能门禁系统为密码门禁系统,是通过检验输入密码是否正确来识别进出权限,而现有的密码门禁系统一般采用明文密码进行开门,当使用明文密码或对明文密码进行简单加密后在互联网上传递时,门禁密码极易被破解并随意使用,导致人员进出管理混乱,失去了设置门禁系统的意义。At present, the most widely used intelligent access control system is the password access control system, which identifies the access authority by checking whether the input password is correct. However, the existing password access control system generally uses plaintext passwords to open the door. When using plaintext passwords or simple encryption of plaintext passwords When it is passed on the Internet, the access control password is very easy to be cracked and used at will, which leads to confusion in the management of personnel entry and exit, and loses the meaning of setting up an access control system.

发明内容Contents of the invention

有鉴于此,本发明提供一种智能门禁的控制方法、装置及系统,主要目的在于通过设置开启密码的时效性来加强智能门禁控制的安全性。In view of this, the present invention provides an intelligent access control method, device and system, the main purpose of which is to enhance the security of intelligent access control by setting the timeliness of unlocking passwords.

为达到上述目的,本发明主要提供如下技术方案:In order to achieve the above object, the present invention mainly provides the following technical solutions:

一方面,本发明提供了一种智能门禁的控制方法,该方法包括:On the one hand, the present invention provides a control method of intelligent access control, the method comprising:

服务器响应于客户端发送的获取智能门禁的开启密码的指令;The server responds to the instruction sent by the client to obtain the unlocking password of the smart access control;

根据所述指令调取该智能门禁的初始密码;Retrieving the initial password of the smart access control according to the instruction;

针对所述初始密码获取动态加密因子,所述动态加密因子根据预置时间间隔进行更新;Acquire a dynamic encryption factor for the initial password, and update the dynamic encryption factor according to a preset time interval;

将所述动态加密因子与所述初始密码的密文通过高级加密标准进行加密,生成所述智能门禁的开启密码;Encrypting the dynamic encryption factor and the ciphertext of the initial password through Advanced Encryption Standard to generate the unlocking password of the intelligent access control;

将所述智能门禁的开启密码加密传输至客户端,以利用所述开启密码开启所述智能门禁。Encrypting and transmitting the opening password of the intelligent access control to the client, so as to use the opening password to open the intelligent access control.

第二方面,本发明还提供了一种智能门禁的控制方法,该方法包括:In a second aspect, the present invention also provides a method for controlling intelligent access control, the method comprising:

客户端发送获取智能门禁的开启密码的指令,以使服务器根据所述指令生成所述智能门禁的开启密码;The client sends an instruction to obtain the unlocking password of the smart access control, so that the server generates the unlocking password of the smart access control according to the instruction;

获取所述服务器加密传输的所述智能门禁的开启密码;Obtain the opening password of the intelligent access control encrypted and transmitted by the server;

对加密传输的所述智能门禁的开启密码进行解密,将解密后的所述开启密码发送至所述智能门禁,以使智能门禁根据所述开启密码执行开门操作;Decrypt the unlocking password of the encrypted access control, and send the decrypted unlocking password to the smart access control, so that the smart access control performs the door opening operation according to the unlocking password;

接收所述智能门禁执行开门操作的反馈结果。Receive the feedback result of the door opening operation performed by the smart access control.

第三方面,本发明还提供了另一种智能门禁的控制方法,该方法包括:In a third aspect, the present invention also provides another intelligent access control method, which includes:

智能门禁获取动态加密因子,所述动态加密因子由服务器根据预置时间间隔进行更新;The intelligent access control obtains a dynamic encryption factor, and the dynamic encryption factor is updated by the server according to a preset time interval;

利用所述动态加密因子和所述智能门禁的初始密码生成所述智能门禁的开门验证码;Utilize the dynamic encryption factor and the initial password of the intelligent access control to generate the door opening verification code of the intelligent access control;

接收客户端发送的开启密码,所述开启密码是所述客户端从所述服务器获取的用于开启所述智能门禁的密码;Receiving the opening password sent by the client, the opening password is the password obtained by the client from the server for opening the smart access control;

当所述开门验证码与所述开启密码相同时,执行开门操作;When the verification code for opening the door is the same as the password for opening the door, perform a door opening operation;

向所述客户端反馈所述开门操作的执行结果。Feedback the execution result of the door opening operation to the client.

第四方面,本发明还提供了一种服务器,该服务器包括:In a fourth aspect, the present invention also provides a server, which includes:

接收单元,用于接收客户端发送的获取智能门禁的开启密码的指令;The receiving unit is used to receive the instruction of obtaining the opening password of the intelligent access control sent by the client;

调取单元,用于根据所述接收单元指令调取该智能门禁的初始密码;A calling unit, used to call the initial password of the smart access control according to the instruction of the receiving unit;

获取单元,用于针对所述调取单元调取的初始密码获取动态加密因子,所述动态加密因子根据预置时间间隔进行更新;An obtaining unit, configured to obtain a dynamic encryption factor for the initial password retrieved by the calling unit, and the dynamic encryption factor is updated according to a preset time interval;

生成单元,用于将所述获取单元获取的动态加密因子与所述调取单元调取的初始密码的密文通过高级加密标准进行加密,生成所述智能门禁的开启密码;A generating unit, configured to encrypt the dynamic encryption factor obtained by the obtaining unit and the ciphertext of the initial password retrieved by the calling unit through the Advanced Encryption Standard to generate the unlocking password of the intelligent access control;

发送单元,用于将所述生成单元生成的智能门禁的开启密码加密传输至客户端,以使客户端利用所述开启密码开启所述智能门禁。The sending unit is configured to encrypt and transmit the unlocking password of the smart access control generated by the generating unit to the client, so that the client uses the unlocking password to unlock the smart access control.

第五方面,本发明提供了一种客户端,该客户端包括:In a fifth aspect, the present invention provides a client, which includes:

第一发送单元,用于发送获取智能门禁的开启密码的指令,以使服务器根据所述指令生成所述智能门禁的开启密码;The first sending unit is used to send an instruction for obtaining the unlocking password of the smart access control, so that the server generates the unlocking password of the smart access control according to the instruction;

获取单元,用于获取所述服务器加密传输的所述智能门禁的开启密码;An acquisition unit, configured to acquire the unlocking password of the smart access control encrypted and transmitted by the server;

解密单元,用于对所述获取单元得到的加密传输的所述智能门禁的开启密码进行解密;A decryption unit, configured to decrypt the unlocking password of the intelligent access control obtained by the encryption transmission obtained by the acquisition unit;

第二发送单元,用于将所述解密单元解密后的所述开启密码发送至所述智能门禁,以使智能门禁根据所述开启密码执行开门操作;The second sending unit is configured to send the unlocking password decrypted by the decrypting unit to the smart access control, so that the smart access control performs a door opening operation according to the unlocking password;

接收单元,用于接收所述智能门禁执行开门操作的反馈结果。The receiving unit is configured to receive the feedback result of the door opening operation performed by the smart access control.

第六方面,本发明提供了一种智能门禁,该智能门禁包括:In a sixth aspect, the present invention provides an intelligent access control, which includes:

获取单元,用于获取动态加密因子,所述动态加密因子由服务器根据预置时间间隔进行更新;An acquisition unit, configured to acquire a dynamic encryption factor, the dynamic encryption factor is updated by the server according to a preset time interval;

生成单元,用于利用所述智能门禁的初始密码和所述获取单元得到的动态加密因子生成所述智能门禁的开门验证码;A generating unit, configured to use the initial password of the intelligent access control and the dynamic encryption factor obtained by the acquisition unit to generate the door opening verification code of the intelligent access control;

接收单元,用于接收客户端发送的开启密码,所述开启密码是所述客户端从所述服务器获取的用于开启所述智能门禁的密码;A receiving unit, configured to receive an opening password sent by a client, where the opening password is a password obtained by the client from the server for opening the smart access control;

执行单元,用于当所述生成单元得到的开门验证码与所述接收单元得到的开启密码相同时,执行开门操作;An execution unit, configured to perform a door opening operation when the door opening verification code obtained by the generating unit is the same as the unlocking password obtained by the receiving unit;

发送单元,用于向所述客户端发送所述开门操作的执行结果。A sending unit, configured to send the execution result of the door opening operation to the client.

第七方面,本发明提供了一种智能门禁的控制系统,该系统包括如前所述的服务器、客户端以及智能门禁;In the seventh aspect, the present invention provides a control system for intelligent access control, which includes the aforementioned server, client and intelligent access control;

其中,所述服务器用于,根据所述客户端发送的获取智能门禁的开启密码的指令调取该智能门禁的初始密码,针对所述初始密码获取动态加密因子,将所述动态加密因子与所述初始密码的密文通过高级加密标准进行加密,生成所述智能门禁的开启密码,将所述智能门禁的开启密码加密传输至客户端;Wherein, the server is used to retrieve the initial password of the intelligent access control according to the instruction sent by the client to obtain the unlocking password of the intelligent access control, obtain a dynamic encryption factor for the initial password, and combine the dynamic encryption factor with the The ciphertext of the initial password is encrypted by the Advanced Encryption Standard to generate the opening password of the intelligent access control, and the opening password of the intelligent access control is encrypted and transmitted to the client;

所述客户端用于,向服务器发送获取智能门禁的开启密码的指令,获取所述服务器加密传输的所述智能门禁的开启密码,并对加密传输的所述智能门禁的开启密码进行解密,将解密后的所述开启密码发送至所述智能门禁,再接收所述智能门禁执行开门操作的反馈结果;The client is used to send an instruction to the server to obtain the unlocking password of the smart access control, obtain the unlocking password of the smart access control encrypted and transmitted by the server, and decrypt the encrypted transmission of the unlocking password of the smart access control, and The decrypted unlocking password is sent to the smart access control, and then the feedback result of the smart access control performing the door opening operation is received;

所述智能门禁用于,获取由所述服务器根据预置时间间隔进行更新的动态加密因子,利用所述动态加密因子和所述智能门禁的初始密码生成所述智能门禁的开门验证码,再接收客户端发送的所述智能门禁的开启密码,当所述开门验证码与所述开启密码相同时,执行开门操作,并向所述客户端反馈所述开门操作的执行结果。The smart access control is used to obtain the dynamic encryption factor updated by the server according to the preset time interval, use the dynamic encryption factor and the initial password of the smart access control to generate the door opening verification code of the smart access control, and then receive The unlocking password of the intelligent access control sent by the client, when the verification code for opening the door is the same as the unlocking password, the door opening operation is performed, and the execution result of the door opening operation is fed back to the client.

依据上述本发明所提出的一种智能门禁的控制方法、装置及系统,通过在智能门禁系统的服务器中设置一个动态加密因子,并对该动态加密因子进行预置时间间隔的更新,利用该动态加密因子在服务器和智能门禁两端生成相同的开启密码与开门验证码,服务器将开启密码发送给客户端,而客户端利用收到的开启密码输入智能门禁,由智能门禁判断该开启密码是否与智能门禁本地生成的开门验证码相同。相对于现有的智能门禁系统的开门方式,本发明能够通过动态加密因子在不同的时间段内生成不同的开启密码,用户通过客户端实时地从服务器获取当前有效的开启密码,并将该开启密码发送给智能门禁进行校验,从而开启智能门禁。也就是通过设置开启密码的时效性来提高开启密码在使用过程中的安全性。According to the control method, device and system of a kind of intelligent access control proposed by the present invention, a dynamic encryption factor is set in the server of the intelligent access control system, and the dynamic encryption factor is updated at a preset time interval, and the dynamic encryption factor is utilized. The encryption factor generates the same opening password and door opening verification code at both ends of the server and the smart access control. The server sends the opening password to the client, and the client uses the received opening password to enter the smart access control. The smart access control judges whether the opening password is consistent with The door opening verification code generated locally by the smart access control is the same. Compared with the door opening method of the existing intelligent access control system, the present invention can generate different opening passwords in different time periods through the dynamic encryption factor, and the user obtains the currently valid opening password from the server in real time through the client, and sends the opening password The password is sent to the smart access control for verification, thereby opening the smart access control. That is, by setting the timeliness of opening the password to improve the security of the opening password during use.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:

图1示出了本发明实施例提出的一种智能门禁的控制方法的流程图;Fig. 1 shows the flowchart of the control method of a kind of intelligent access control that the embodiment of the present invention proposes;

图2示出了本发明实施例提出的第二种智能门禁的控制方法的流程图;Fig. 2 shows the flowchart of the control method of the second intelligent access control proposed by the embodiment of the present invention;

图3示出了本发明实施例提出的第三种智能门禁的控制方法的流程图;Fig. 3 shows the flow chart of the control method of the third intelligent access control proposed by the embodiment of the present invention;

图4示出了本发明实施例提出的第四种智能门禁的控制方法的交互流程图;Fig. 4 shows the interaction flowchart of the fourth intelligent access control method proposed by the embodiment of the present invention;

图5示出了本发明实施例提出的一种服务器的组成框图;FIG. 5 shows a block diagram of a server proposed by an embodiment of the present invention;

图6示出了本发明实施例提出的另一种服务器的组成框图;FIG. 6 shows a block diagram of another server proposed by an embodiment of the present invention;

图7示出了本发明实施例提出的另一种客户端的组成框图;FIG. 7 shows a composition block diagram of another client proposed by an embodiment of the present invention;

图8示出了本发明实施例提出的一种智能门禁的组成框图;Fig. 8 shows a composition block diagram of an intelligent access control proposed by an embodiment of the present invention;

图9示出了本发明实施例提出的另一种智能门禁的组成框图;Fig. 9 shows the composition block diagram of another kind of intelligent access control proposed by the embodiment of the present invention;

图10示出了本发明实施例提出的一种智能门禁的控制系统的组成框图。FIG. 10 shows a block diagram of a smart access control system proposed by an embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

本发明实施例提供了一种智能门禁的控制方法,如图1所示,该方法应用在智能门禁系统的服务器中,用于向通过智能门禁应用获取开启密码的客户端提供对应智能门禁的开启密码,并且向智能门禁提供可更新的动态加密因子。具体步骤包括:The embodiment of the present invention provides a control method of intelligent access control, as shown in Figure 1, the method is applied in the server of the intelligent access control system, and is used to provide the opening of the corresponding intelligent access control to the client that obtains the opening password through the intelligent access control application password, and provide an updatable dynamic encryption factor to smart access control. Specific steps include:

101、根据客户端发送的获取智能门禁的开启密码的指令调取该智能门禁的初始密码。101. Retrieve the initial password of the smart access control according to the instruction sent by the client to obtain the unlocking password of the smart access control.

具体而言,服务器可以根据客户端发送的获取智能门禁的开启密码的指令,提取智能门禁的初始密码,其中,初始密码是由智能门禁生成并同步保存在服务器中的密码,由于智能门禁系统中可能存在有多个智能门禁,因此,服务器中也会保存有各个智能门禁所对应的初始密码。Specifically, the server can extract the initial password of the intelligent access control according to the instruction sent by the client to obtain the opening password of the intelligent access control, wherein the initial password is generated by the intelligent access control and stored in the server simultaneously. There may be multiple smart access controls, therefore, the initial password corresponding to each smart access control is also saved in the server.

需要说明的是,当存在多个智能门禁时,不同智能门禁的初始密码可以相同也可以不同,也就是说,每个智能门禁都会存在有对应的初始密码,但该初始密码并不唯一对应于一个智能门禁。对于相同的初始密码,可以是在智能门禁系统中规定一个或多个统一的智能门禁的初始密码,以此作为生成智能门禁开启密码的基础加密信息。而对于不同的初始密码,一般是不同的智能门禁会对应于不同的初始密码,也就是每个智能门禁会对应有唯一的初始密码,这种唯一的初始密码的生成方式可以为:服务器主动为智能门禁分配一个唯一的初始密码并同步给对应的智能门禁,或者是由服务器获取智能门禁的唯一标识信息,进而生成一个唯一的初始密码再同步给对应的智能门禁。其中,智能门禁的唯一标识信息可以为智能门禁的门禁编码,即智能门禁在系统的唯一编号。It should be noted that when there are multiple smart access controls, the initial passwords of different smart access controls can be the same or different, that is, each smart access control will have a corresponding initial password, but the initial password does not uniquely correspond to A smart access control. For the same initial password, one or more unified initial passwords of intelligent access control can be specified in the intelligent access control system, as the basic encrypted information for generating the opening password of the intelligent access control. For different initial passwords, generally, different smart access controls will correspond to different initial passwords, that is, each smart access control will have a unique initial password. The unique initial password generation method can be: the server actively The smart access control assigns a unique initial password and synchronizes it to the corresponding smart access control, or the server obtains the unique identification information of the smart access control, and then generates a unique initial password and then synchronizes it to the corresponding smart access control. Wherein, the unique identification information of the intelligent access control may be the access control code of the intelligent access control, that is, the unique number of the intelligent access control in the system.

102、针对调取的初始密码获取动态加密因子。102. Acquire a dynamic encryption factor for the retrieved initial password.

其中,动态加密因子是指能够根据预置时间间隔进行更新的加密参数。Wherein, the dynamic encryption factor refers to an encryption parameter that can be updated according to a preset time interval.

在本发明实施例中,服务器可以利用预置的时间间隔生成不同的动态加密因子。其中,预置的时间间隔可以影响到动态加密因子的更新速度,即时间间隔越短动态加密因子的更新的频次就越快,反之动态加密因子的更新频次会慢;从而该预置动态加密因子的时间间隔也可以是决定开启智能门禁密码的有效时长。在得到动态加密因子的同时,服务器会将该动态加密因子发送给各个智能门禁,以便于智能门禁利用该动态加密因子生成对应的开门验证码。In the embodiment of the present invention, the server may generate different dynamic encryption factors at preset time intervals. Among them, the preset time interval can affect the update speed of the dynamic encryption factor, that is, the shorter the time interval, the faster the update frequency of the dynamic encryption factor, otherwise the update frequency of the dynamic encryption factor will be slow; thus the preset dynamic encryption factor The time interval can also be to determine the effective length of time to open the smart access control password. While obtaining the dynamic encryption factor, the server will send the dynamic encryption factor to each smart access control, so that the smart access control can use the dynamic encryption factor to generate a corresponding door opening verification code.

本步骤中所获取的动态加密因子是根据调取智能门禁的初始密码之后,获取当前最新的动态加密因子。也就是存在客户端发送获取智能门禁的开启密码的指令后,服务器才会执行调取对应智能门禁的初始密码和最新的动态加密因子的操作。The dynamic encryption factor obtained in this step is obtained according to the current latest dynamic encryption factor after calling the initial password of the smart access control. That is, after the client sends an instruction to obtain the unlocking password of the smart access control, the server will execute the operation of calling the initial password and the latest dynamic encryption factor of the corresponding smart access control.

103、将所述动态加密因子与所述初始密码的密文通过高级加密标准进行加密,生成所述智能门禁的开启密码。103. Encrypt the dynamic encryption factor and the ciphertext of the initial password by using the Advanced Encryption Standard to generate an unlock password for the smart access control.

其中,要生成智能门禁的开启密码首先需要确定所要打开的智能门禁。Among them, to generate the opening password of the smart access control, it is first necessary to determine the smart access control to be opened.

本发明实施例中,是根据客户端所发送的指令中指定的智能门禁信息确定要打开的智能门禁,根据确定的智能门禁调取对应的初始密码并提取的当前有效的动态加密因子进行加密,得到一个开启密码。In the embodiment of the present invention, the intelligent access control to be opened is determined according to the intelligent access control information specified in the instruction sent by the client, and the corresponding initial password is retrieved according to the determined intelligent access control and the currently valid dynamic encryption factor extracted is encrypted. Get an unlock code.

其中,在初始密码与智能门禁唯一对应时,初始密码可以通过对智能门禁的门禁编码进行加密得到,也就是说通过使用该门禁编码得到的初始密码,进而生成的开启密码只适用于该智能门禁。Among them, when the initial password is uniquely corresponding to the smart access control, the initial password can be obtained by encrypting the access control code of the smart access control, that is to say, the initial password obtained by using the access control code, and then the generated opening password is only applicable to the smart access control .

需要说明的是,所生成的开启密码是具有时效性的,也就是当动态加密因子进行更新后,在智能门禁一端所对应生成的开门验证码将发生变化,此时得到的开启密码将过期失效。It should be noted that the generated opening password is time-sensitive, that is, when the dynamic encryption factor is updated, the corresponding generated door opening verification code at the smart access control end will change, and the unlocking password obtained at this time will expire and become invalid .

104、将生成的智能门禁的开启密码加密传输至客户端。104. Encrypt and transmit the generated opening password of the smart access control to the client.

将步骤103中生成的开启密码作为响应获取智能门禁开启密码的指令的结果发送对应的客户端,由客户端将该开启密码展示给用户或者直接将该开启密码输入到智能门禁中进行开门操作。The opening password generated in step 103 is sent to the corresponding client as a result of responding to the instruction for obtaining the opening password of the smart access control, and the client displays the opening password to the user or directly inputs the opening password into the smart access control to open the door.

进一步的,为了防止开启密码在发送过程中被拦截、盗取,可以将该开启密码进行加密后再发送给客户端,由客户端用进行相应的解密操作来得到可用的开启密码,或者是利用一些安全性较高的传输通道来进行开启密码的发送,以确保开启密码在传输过程中的安全性,对于具体的加密方式或传输途径本发明实施例不做具体限定。Further, in order to prevent the opening password from being intercepted or stolen during the sending process, the opening password can be encrypted and then sent to the client, and the client can use the corresponding decryption operation to obtain the available opening password, or use Some high-security transmission channels are used to send the unlocking password to ensure the security of the unlocking password during the transmission process. The embodiment of the present invention does not specifically limit the specific encryption method or transmission route.

以上实施例所提供的智能门禁的控制方法主要应用于控制智能门禁的服务器中,而对应于该服务器的控制方法,本发明还提供一个应用在客户端中的智能门禁的控制方法,一般的,该客户端中会安装有相应的智能门禁应用,在该客户端中进行智能门禁控制的具体方法如图2所示,其步骤包括:The control method of intelligent access control provided by the above embodiments is mainly applied to a server controlling intelligent access control, and corresponding to the control method of the server, the present invention also provides a control method of intelligent access control applied in a client, generally, A corresponding smart access control application will be installed in the client, and the specific method for smart access control in the client is shown in Figure 2, and the steps include:

201、发送获取智能门禁的开启密码的指令。201. Send an instruction for obtaining an unlocking password of the smart access control.

本步骤是由客户端向服务器发送的指令,该指令用于获取智能门禁的开启密码。其中,该指令的内容中至少应包含所要开启的智能门禁的相关信息,关于智能门禁的相关信息,可以是该智能门禁的唯一标识信息,比如智能门禁编码,还可以一些能够确定具体智能门禁的信息,智能门禁的位置信息等。This step is an instruction sent by the client to the server, and the instruction is used to obtain the opening password of the intelligent access control. Among them, the content of the instruction should at least include the relevant information of the smart access control to be opened. The relevant information about the smart access control can be the unique identification information of the smart access control, such as the smart access control code, or some information that can determine the specific smart access control. Information, location information of smart access control, etc.

202、获取服务器加密传输的该智能门禁的开启密码。202. Obtain the unlocking password of the smart access control encrypted and transmitted by the server.

在发送出获取开启智能门禁的指令后,服务器会根据该指令生成对应的智能门禁的开启密码并反馈给客户端。而为了该开启密码在服务器与客户端之间传输的安全性,服务器一般会对开启密码进行加密传输,或者是通过高安全性的传输通道进行传输。因此,客户端在获取智能门禁的开启密码时,往往得到的是进行加密传输的开启密码,或者是与服务器建立高安全性的传输通道来接收智能门禁的开启密码。After sending out the command to acquire and open the smart access control, the server will generate the corresponding unlocking password of the smart access control according to the command and feed it back to the client. In order to ensure the security of the activation password transmitted between the server and the client, the server generally encrypts and transmits the activation password, or transmits it through a high-security transmission channel. Therefore, when the client obtains the unlocking password of the smart access control, it often obtains the unlocking password for encrypted transmission, or establishes a high-security transmission channel with the server to receive the unlocking password of the smart access control.

203、对加密传输的智能门禁的开启密码进行解密,将解密后的开启密码发送至智能门禁。203. Decrypt the encrypted and transmitted unlocking password of the smart access control, and send the decrypted unlocking password to the smart access control.

针对步骤202中对开启密码进行加密后传输的情况,客户端需要对其进行解密,以得到可用的开启密码,而对于解密的方式,则需要与服务器进行预先规定,根据服务器的加密方式对应的进行解密,由于加密解密的技术在实际应用中已被广泛应用,因此,对于具体的加密方式,本发明实施例步骤具体限定。For the case of encrypting and transmitting the opening password in step 202, the client needs to decrypt it to obtain a usable opening password, and for the decryption method, it needs to be pre-specified with the server, according to the corresponding encryption method of the server To perform decryption, since the technology of encryption and decryption has been widely used in practical applications, the steps of the embodiment of the present invention are specifically limited for the specific encryption method.

通过解密后得到的开启密码,客户端就可以将其发送至智能门禁,以使智能门禁根据该开启密码进行匹配验证,对验证通过的开启密码执行开门操作。Through the unlocking password obtained after decryption, the client can send it to the smart access control, so that the smart access control can perform matching verification according to the unlocking password, and perform the door opening operation on the unlocking password that passes the verification.

204、接收智能门禁执行开门操作的反馈结果。204. Receive the feedback result of the door opening operation executed by the smart access control.

步骤203是向智能门禁发送开启密码,而智能门禁会根据该开启密码向客户端反馈该开启密码所对应的执行操作结果,即开启密码正确则打开智能门禁,而开启密码错误则保持智能门禁的关闭状态并提示客户端该开启密码错误。Step 203 is to send the opening password to the smart access control, and the smart access control will feed back the execution operation result corresponding to the opening password to the client according to the opening password. The status is closed and the client is prompted that the password to open is wrong.

本发明还提供一种应用在智能门禁的控制方法,如图3所示,该方法利用服务器更新的动态加密因子生成与智能门禁相对应的验证码(即开门验证码),并且接收客户端输入的开启密码,通过校验该开启密码来确定智能门禁能否被开启。具体步骤包括:The present invention also provides a control method applied to intelligent access control, as shown in Figure 3, the method utilizes the dynamic encryption factor updated by the server to generate a verification code corresponding to the smart access control (i.e. the verification code for opening the door), and receives the client input The opening password, by checking the opening password to determine whether the smart access control can be opened. Specific steps include:

301、获取动态加密因子。301. Acquire a dynamic encryption factor.

具体而言,智能门禁通过与服务器的网络连接能够获取到最新的动态加密因子,即服务器更新的动态加密因子,其中,网络连接的具体方式可以采用现有的成熟技术实现,对此,本发明实施例不做详细说明。Specifically, the intelligent access control can obtain the latest dynamic encryption factor through the network connection with the server, that is, the dynamic encryption factor updated by the server, wherein the specific way of network connection can be realized by using existing mature technologies. Examples are not described in detail.

进一步地,对于动态加密因子的获取方式,可以采用由服务器对智能门禁广播更新的动态加密因子,即智能门禁是被动接收更新的动态加密因子,也可以采用由智能门禁向服务器发送获取请求,以获取最新的动态加密因子,即智能门禁是主动获取当前最新的动态加密因子,对于获取动态加密因子的具体方式,本发明实施例也不做限定。Further, for the acquisition method of the dynamic encryption factor, the dynamic encryption factor updated by the server to the intelligent access control broadcast can be adopted, that is, the intelligent access control passively receives the updated dynamic encryption factor, or the intelligent access control can send an acquisition request to the server to Obtaining the latest dynamic encryption factor means that the smart access control system actively acquires the latest dynamic encryption factor. The embodiment of the present invention does not limit the specific method of obtaining the dynamic encryption factor.

进而,为了保证动态加密因子在服务器与智能门禁之间的传输安全性,还可以对动态加密因子进行加密传输,即在服务器端对动态加密因子进行加密,在智能门禁端进行解密后应用。其中,加密的具体方式不限定于是对称加密方式或者是非对称加密方式。Furthermore, in order to ensure the security of the transmission of the dynamic encryption factor between the server and the smart access control, the dynamic encryption factor can also be encrypted for transmission, that is, the dynamic encryption factor is encrypted on the server side, and then applied after decryption at the smart access control side. Wherein, the specific encryption method is not limited to a symmetric encryption method or an asymmetric encryption method.

302、利用获取的动态加密因子和智能门禁的初始密码生成该智能门禁的开启验证码开门验证码。302. Generate an opening verification code of the smart access control by using the acquired dynamic encryption factor and the initial password of the smart access control.

本步骤中所生成门禁的开门验证码的方式与服务器端生成的开启密码的方式相同,也就是通过获取智能门禁的初始密码,利用该初始密码结合所获取的动态加密因子进行加密而生成该门禁的开门验证码。The door opening verification code generated in this step is the same as the opening password generated by the server, that is, the access control is generated by obtaining the initial password of the smart access control and encrypting the initial password with the obtained dynamic encryption factor The verification code for opening the door.

本步骤与步骤301构成了在智能门禁生成开门验证码的具体方式,其采用的是一个循环更新的方式,所生成的开门验证码可以根据动态加密因子的更新而更新,也就是在智能门禁每次获取一个动态加密因子后,都会对应的生成一个新的开门验证码。本发明实施例中,对于所生成的开门验证码,可以顺序地进行存储以备事后查询的需要,而在存储空间有限或受处理器处理能力限制的条件下,也可以只保存有限数量的开门验证码。This step and step 301 constitute a specific method for generating a door-opening verification code at the smart access control, which adopts a cyclic update method, and the generated door-opening verification code can be updated according to the update of the dynamic encryption factor, that is, every time at the smart access control After obtaining a dynamic encryption factor for the first time, a new verification code for opening the door will be generated correspondingly. In the embodiment of the present invention, the generated door-opening verification codes can be stored sequentially for subsequent query, and only a limited number of door-opening verification codes can be saved under the condition of limited storage space or limited by the processing capacity of the processor. Captcha.

303、接收客户端发送的开启密码。303. Receive the activation password sent by the client.

在完成上述的步骤,即在智能门禁生成有开门验证码之后,该智能门禁就可以根据开门验证码来验证客户端发送的开启密码。After completing the above steps, that is, after the smart access control generates a door-opening verification code, the smart access control can verify the opening password sent by the client according to the door-opening verification code.

其中,智能门禁接收的开启密码是指可以最终执行客户端发送的开启智能门禁的钥匙。进一步地,针对开启密码的输入方式本发明在此不做任何限定。即,可以是通过用户在智能门禁上操作进行的输入,如按键输入,刷卡输入等等,也可以通过与客户端建立通信连接,由客户端向智能门禁传输开启密码,而对于连接的具体方式可以是wifi连接,手机热点连接、蓝牙连接、红外连接等,对于具体的连接方式本发明实施例不做具体限定。Wherein, the opening password received by the smart access control refers to a key that can finally execute the key sent by the client to open the smart access control. Further, the present invention does not make any limitation on the input method of unlocking the password. That is, it can be input by the user operating on the smart access control, such as key input, card input, etc., or by establishing a communication connection with the client, the client transmits the opening password to the smart access control, and the specific method of connection It may be a wifi connection, a mobile phone hotspot connection, a bluetooth connection, an infrared connection, etc. The embodiment of the present invention does not specifically limit the specific connection method.

304、当开门验证码与开启密码相匹配时,执行开门操作。304. When the verification code for opening the door matches the password for opening the door, perform a door opening operation.

具体地,在智能门禁获取到开启密码后,会将该开启密码按照预置的判断规则与本地的开门验证码进行匹配,其中,预置的判断规则是根据智能门禁本地所保存的开门验证码的数量进行设置的,比如,当前仅为一个开门验证码时,其判断规则就是直接将开启密码与该开门验证码进行对比判断,相同就执行开门操作,而当开门验证码为多个时,判断规则就可以是按照开门验证码的更新顺序将开启密码与多个开门验证码进行逐一的对比判断,在存在相同的开门验证码时就执行开门操作。Specifically, after the smart access control obtains the opening password, it will match the opening password with the local door-opening verification code according to the preset judgment rule, wherein the preset judgment rule is based on the locally stored door-opening verification code of the smart access control. For example, when there is only one door-opening verification code, the judgment rule is to directly compare and judge the opening code with the door-opening verification code. If they are the same, the door-opening operation will be performed. The judgment rule can be to compare and judge the unlocking password and multiple door-opening verification codes one by one according to the update order of the door-opening verification codes, and perform the door-opening operation when there are the same door-opening verification codes.

305、向客户端反馈开门操作的执行结果。305. Feedback the execution result of the door opening operation to the client.

作为对步骤303的响应,智能门禁会将步骤304的处理结果反馈给客户端,以告知客户端其发送的开启密码是否有效地开启了该智能门禁,对于错误的开启密码将提起客户端其输入的开启密码有误。As a response to step 303, the smart access control will feed back the processing result of step 304 to the client to inform the client whether the opening password it sends has effectively opened the smart access control. The password to open is wrong.

结合上述实施例的实现方式可以看出,本发明所采用的智能门禁的控制方法,主要是在服务器维护一个动态加密因子,并为该动态加密因子设置一个更新周期,再根据更新的动态加密因子在智能门禁端生成开门验证码,同时,服务器会根据客户端的请求生成当前开启智能门禁的开启密码并反馈给客户端,最后由客户端使用从服务器端获取的开启密码传输到智能门禁端进行验证开门操作。在此过程中,由于动态加密因子会按照周期进行更新,导致智能门禁生成的开门验证码会根据该周期更新而进行更新,这样客户端所获取的开启密码只是在固定周期内有效的密码,即便被盗取破解,由于该密码应用的时间极为有限,因而可以减少由于丢失该密码所造成的损失。此外,通过对传输的开启密码进行加密传输,以及选择安全性更高的传输方式可以进一步提高智能门禁系统中传递开启密码的安全性,从而提升整个智能门禁系统的使用安全性。In conjunction with the implementation of the above-mentioned embodiments, it can be seen that the control method of intelligent access control adopted in the present invention is mainly to maintain a dynamic encryption factor at the server, and set an update period for the dynamic encryption factor, and then according to the updated dynamic encryption factor The verification code for opening the door is generated at the smart access control terminal. At the same time, the server will generate the opening password for the current smart access control according to the client’s request and feed it back to the client. Finally, the client uses the opening password obtained from the server to transmit it to the smart access control terminal for verification. Door opening operation. During this process, since the dynamic encryption factor will be updated according to the period, the door opening verification code generated by the smart access control will be updated according to the period update, so that the opening password obtained by the client is only valid within a fixed period, even if If it is stolen and cracked, since the application time of the password is extremely limited, the loss caused by losing the password can be reduced. In addition, by encrypting the transmitted opening password and selecting a more secure transmission method, the security of passing the opening password in the intelligent access control system can be further improved, thereby improving the use security of the entire intelligent access control system.

通过上述实施例的说明可见,该智能门禁的控制方法主要是基于服务器端、客户端和智能门禁端之间的交互操作来实现的。为了更加详细地说明本发明提出的一种智能门禁的控制方法,特别是在开启密码生成以及传输过程中所提出的提升密码安全性的操作方式,基于上述实施例的内容,本发明还提出了一种智能门禁的控制方法,该方法将具体说明开启密码在服务器、客户端和智能门禁之间的传输过程以及验证开门的具体方式,具体步骤如图4所示,包括:It can be seen from the description of the above embodiments that the control method of the intelligent access control is mainly realized based on the interactive operation between the server, the client and the intelligent access control. In order to describe in more detail a control method for intelligent access control proposed by the present invention, especially the operation method for improving password security proposed in the process of unlocking password generation and transmission, based on the content of the above-mentioned embodiments, the present invention also proposes A control method for intelligent access control, the method will specify the transmission process of the opening password between the server, the client and the intelligent access control and the specific mode of verifying the opening of the door. The specific steps are as shown in Figure 4, including:

401、服务器根据预置时间间隔更新动态加密因子,并将更新的动态加密因子发送至智能门禁。401. The server updates the dynamic encryption factor according to a preset time interval, and sends the updated dynamic encryption factor to the smart access control.

其中,预置时间间隔的大小决定了动态加密因子的更新频次,进而决定了智能门禁的开启密码的更新频率。时间间隔越小,开启密码的更新速度就越快,对应的开启密码的有效期也就越短,相对的,对于智能门禁系统的安全性也就越高,但是考虑到开启密码存在一个从服务器到客户端,再从客户端发送至智能门禁的过程,如果时间间隔设置的过短,就可能出现在智能门禁接收到开启密码时,由于动态加密因子的更新导致开门验证码已经更新,而所输入的开启密码已经失效的问题。因此,该时间间隔的设置可以根据实际用户需求来设置,所以,该时间间隔值是根据不同情况区别设置的经验值。Wherein, the size of the preset time interval determines the update frequency of the dynamic encryption factor, and further determines the update frequency of the opening password of the intelligent access control. The smaller the time interval, the faster the update speed of the opening password, and the shorter the validity period of the corresponding opening password. Relatively, the security of the intelligent access control system is higher. However, considering that there is an opening password from the server to In the process of sending from the client to the smart access control, if the time interval is set too short, it may happen that when the smart access control receives the opening password, the verification code for opening the door has been updated due to the update of the dynamic encryption factor, and the entered The open password has expired. Therefore, the setting of the time interval can be set according to actual user needs, so the value of the time interval is an empirical value that is set differently according to different situations.

此外,动态加密因子更新后,服务器可以主动将更新后的动态加密因子发送给系统中所有的智能门禁,以便后者根据新的动态加密因子生成新的开门验证码。对于智能门禁系统中存在多个智能门禁时,不限定是通过系统广播的方式发送新的动态加密因子,或者是通过服务器端设置的地址列表发送新的动态加密因子,而该地址列表中记录有系统中所有的智能门禁的通讯地址。In addition, after the dynamic encryption factor is updated, the server can actively send the updated dynamic encryption factor to all the smart access control in the system, so that the latter can generate a new door opening verification code according to the new dynamic encryption factor. When there are multiple intelligent access controls in the intelligent access control system, it is not limited to sending the new dynamic encryption factor through the system broadcast, or sending the new dynamic encryption factor through the address list set on the server side, and the address list records the Communication address of all smart access control in the system.

402、由智能门禁根据更新的动态加密因子生成该智能门禁的开门验证码。402. The smart access control generates a door opening verification code for the smart access control according to the updated dynamic encryption factor.

针对智能门禁系统中的任意一个智能门禁,在收到服务器发送的动态加密因子后,将提取该门禁的初始密码,该初始密码为该智能门禁在系统中的唯一标识,再利用该初始密码与新的态加密因子进行加密,生成该智能门禁新的开门验证码。其中,本发明实施例中是通过高级加密标准(Advanced Encryption Standard,AES)进行的加密,AES是美国国家标准技术研究所NIST旨在取代DES的21世纪的加密标准,AES是一个新的可以用于保护电子数据的加密算法。明确地说,AES是一个迭代的、对称密钥分组的密码,它可以使用128、192和256位密钥,并且用128位(16字节)分组加密和解密数据。与公共密钥密码使用密钥对不同,对称密钥密码使用相同的密钥加密和解密数据。通过分组密码返回的加密数据的位数与输入数据相同。迭代加密使用一个循环结构,在该循环中重复置换(permutations)和替换(substitutions)输入数据。AES算法是基于置换和代替的。置换是数据的重新排列,而代替是用一个单元数据替换另一个。AES使用了几种不同的技术来实现置换和替换。由于AES加密算法在加密技术领域中已有广泛使用,因此,针对AES的具体算法,本发明实施例不再进行详细说明。目前,常用到的加密方法大都是基于该标准所开发的,如EFS,MD5,无线网络的WEP,WAP等。For any intelligent access control in the intelligent access control system, after receiving the dynamic encryption factor sent by the server, it will extract the initial password of the access control, which is the unique identification of the intelligent access control in the system, and then use the initial password and The new state encryption factor is encrypted to generate a new door-opening verification code for the smart access control. Wherein, in the embodiment of the present invention, the encryption carried out by the Advanced Encryption Standard (AES), AES is the encryption standard of the 21st century that the National Institute of Standards and Technology NIST aims to replace DES, and AES is a new encryption standard that can be used Encryption algorithms for protecting electronic data. Specifically, AES is an iterative, symmetric-key block cipher that can use 128-, 192-, and 256-bit keys, and encrypts and decrypts data with 128-bit (16-byte) blocks. Unlike public-key cryptography, which uses a key pair, symmetric-key cryptography uses the same key to encrypt and decrypt data. The encrypted data returned by a block cipher has the same number of bits as the input data. Iterative encryption uses a loop structure in which permutations and substitutions are repeatedly made to the input data. The AES algorithm is based on permutation and substitution. Substitution is the rearrangement of data, while substitution is the replacement of one unit of data by another. AES uses several different techniques to achieve permutation and replacement. Since the AES encryption algorithm has been widely used in the field of encryption technology, the embodiment of the present invention will not describe in detail the specific algorithm of AES. At present, most commonly used encryption methods are developed based on this standard, such as EFS, MD5, WEP and WAP for wireless networks, etc.

403、由智能门禁保存多个不同的开门验证码作为验证客户端传输的开启密码是否有效的验证码。403. The smart access control stores multiple different door-opening verification codes as verification codes for verifying whether the opening code transmitted by the client is valid.

对于智能门禁,每更新一次动态加密因子,相对应的就会得到一个新的开门验证码,因此,随着时间间隔的不断更新,智能门禁会生成多个开门验证码,而每个验证码的有效期分别是对应于某个时间间隔的。而为了避免有效期过短或者由于验证码更新导致的开启密码失效的问题,智能门禁可以设置多个连续时间段所对应的开门验证码均为有效验证码。For smart access control, each time the dynamic encryption factor is updated, a new door-opening verification code will be correspondingly obtained. Therefore, with the continuous update of the time interval, the smart access control will generate multiple door-opening verification codes, and each verification code The validity period corresponds to a certain time interval, respectively. In order to avoid the problem that the validity period is too short or the opening password is invalid due to the verification code update, the smart access control can set the door opening verification codes corresponding to multiple consecutive time periods as valid verification codes.

例如,设定动态加密因子的更新周期为10分钟,当客户端在该周期的末尾获取到当前的开启密码后,在下一个更新周期中才发送该开启密码至智能门禁,此时,若不设置多个开门验证码,该用户将由于密码输入有误而无法打开智能门禁,而在设置多个开门验证码后,由于客户端输入的开启密码为上一周期的密码,当上一周期的开门验证码被设置为有效验证码时,该客户单就可以打开该智能门禁。为此,本发明实施例中,智能门禁会保存多个不同周期的开门验证码,这些开门验证码是根据动态加密因子的更新而得到的。在具体的设置方式上,则可根据实际需要设置用于验证开启密码的开门验证码的个数,考虑到智能门禁的计算处理能力以及存储空间,较为常用的是设置2到3个与当前开门验证码对应的时间间隔连续的开门验证码,例如,设置当前10分钟对应的开门验证码和前10分钟对应的开门验证码,或者设置当前10分钟对应的开门验证码与其前、后10分钟分别对应的开门验证码。For example, set the update period of the dynamic encryption factor to 10 minutes. When the client obtains the current opening password at the end of the period, it will send the opening password to the smart access control in the next update period. At this time, if you do not set Multiple door-opening verification codes, the user will not be able to open the smart access control due to incorrect password input. After setting multiple door-opening verification codes, since the opening password entered by the client is the password of the previous cycle, when the previous cycle of door opening When the verification code is set as a valid verification code, the customer can open the smart access control with a single ticket. For this reason, in the embodiment of the present invention, the smart access control will save a plurality of door-opening verification codes of different periods, and these door-opening verification codes are obtained according to the update of the dynamic encryption factor. In terms of specific setting methods, the number of door-opening verification codes used to verify the opening password can be set according to actual needs. Considering the computing and processing capabilities and storage space of smart access control, it is more common to set 2 to 3 codes that are the same as the current door-opening code. The time interval corresponding to the verification code is a continuous door opening verification code, for example, set the door opening verification code corresponding to the current 10 minutes and the door opening verification code corresponding to the previous 10 minutes, or set the door opening verification code corresponding to the current 10 minutes and its previous and subsequent 10 minutes respectively The corresponding verification code for opening the door.

404、由服务器接收客户端发送的获取智能门禁开启密码的指令,并提取当前的动态加密因子以及该智能门禁的初始密码。404. The server receives an instruction from the client to obtain the password for unlocking the smart access control, and extracts the current dynamic encryption factor and the initial password of the smart access control.

本步骤执行的前提是在服务器中存在有动态加密因子,也就是在步骤401的基础上,接收客户端发送的获取智能门禁开启密码的指令。The premise of this step is that there is a dynamic encryption factor in the server, that is, on the basis of step 401, the instruction to obtain the password for opening the smart access control is received from the client.

服务器在收到客户端发送的指令时,将提取当前最新的动态加密因子,用于生成开启密码。同时,服务器会根据对该指令进行解析,来确定需要打开的智能门禁,根据确定的智能门禁查找对应的初始密码,而在实际应用中,可以在所发送的请求中直接添加对应的初始密码,以方便后续生成智能门禁的开启密码。When the server receives the instruction sent by the client, it will extract the latest dynamic encryption factor and use it to generate the opening password. At the same time, the server will analyze the instruction to determine the smart access control that needs to be opened, and find the corresponding initial password according to the determined smart access control. In practical applications, the corresponding initial password can be directly added to the sent request. In order to facilitate the subsequent generation of the opening password of the smart access control.

405、由服务器将动态加密因子与初始密码的密文通过高级加密标准进行加密,生成智能门禁的开启密码。405. The server encrypts the dynamic encryption factor and the ciphertext of the initial password through the Advanced Encryption Standard to generate an opening password of the smart access control.

服务器在得到初始密码和动态加密因子后,就可以通过高级加密标准对初始密码和动态加密因子进行加密,从而生成门禁的开启密码。对于本步骤中所生成的开启密码,其实现方式与步骤402中生成开门验证码的具体方式相同,因此,对开启密码的生成方式可参考步骤402,此处不再赘述。而本步骤与步骤402的区别在于开启密码生成的具体位置以及生成的时机,本步骤是在服务器端生成的开启密码,而步骤402是在智能门禁端生成的开门验证码,并且,本步骤中生成的开启密码是根据接收的指令对应生成的开启密码,而步骤402是根据更新的动态加密因子生成的开门验证码。也就是说,在服务器端生成的开启密码是为了响应客户端所发送的获取开启密码的指令而执行的操作,在没有指令时,服务器将不会生成开启密码。After the server obtains the initial password and the dynamic encryption factor, it can encrypt the initial password and the dynamic encryption factor through the Advanced Encryption Standard, thereby generating the unlocking password of the access control. For the unlocking password generated in this step, its implementation method is the same as that of generating the door opening verification code in step 402. Therefore, the method of generating the unlocking password can refer to step 402, which will not be repeated here. The difference between this step and step 402 is the specific location and timing of the generation of the unlock password. This step is the unlock password generated at the server side, while step 402 is the verification code for opening the door generated at the smart access control terminal. And, in this step The generated opening password is correspondingly generated according to the received instruction, and step 402 is a door opening verification code generated according to the updated dynamic encryption factor. That is to say, the opening password generated on the server side is an operation performed in response to an instruction for obtaining the opening password sent by the client, and the server will not generate the opening password without the instruction.

406、服务器对生成的开启密码进行加密,并发送给对应的客户端。406. The server encrypts the generated unlock password and sends it to the corresponding client.

为了进一步增加开启密码在传输过程中的安全性,服务器可以对所生成的开启密码进行加密传输,在本发明实施例中,可以是对开启密码的密文进行加密,例如,将密文中的字符循序打乱,进行重新组合后发送给客户端,由客户端进行解密,得到有效的开启密码。In order to further increase the security of the unlocking password during transmission, the server can encrypt and transmit the generated unlocking password. In the embodiment of the present invention, it can encrypt the ciphertext of the unlocking password. Disrupt the order, recombine and send to the client, and the client decrypts it to obtain an effective opening password.

此外,在发送给对应的客户端时,还可以通过更安全的传输路径来提高开启密码的传输安全性。具体的,本发明实施例中可以采用超文本传输安全协议(HypertextTransfer Protocol Secure,HTTPS)进行传输。HTTPS是以安全为目标的HTTP通道,简单讲就是HTTP的安全版。即在HTTP下加入SSL层,HTTPS的安全基础是SSL,因此加密的详细内容就需要SSL。它是一个URI scheme(抽象标识符体系),句法类同http:体系。用于安全的HTTP数据传输。https:URL表明它使用了HTTP,但HTTPS存在不同于HTTP的默认端口及一个加密/身份验证层(在HTTP与TCP之间)。这个系统的最初研发由网景公司(Netscape)进行,并内置于其浏览器Netscape Navigator中,提供了身份验证与加密通讯方法。现在它被广泛用于万维网上安全敏感的通讯,例如交易支付方面。对于应用HTTPS进行数据传输的具体实现方式本发明实施例不做具体说明。In addition, when sending to a corresponding client, a more secure transmission path can also be used to improve the transmission security of the unlock password. Specifically, in the embodiment of the present invention, Hypertext Transfer Protocol Secure (HTTPS) may be used for transmission. HTTPS is an HTTP channel with the goal of security. Simply put, it is the secure version of HTTP. That is to add the SSL layer under HTTP. The security basis of HTTPS is SSL, so the detailed content of encryption requires SSL. It is a URI scheme (abstract identifier system), the syntax is similar to the http: system. For secure HTTP data transfer. The https: URL indicates that it uses HTTP, but HTTPS has a default port different from HTTP and an encryption/authentication layer (between HTTP and TCP). The system was initially developed by Netscape and built into its browser, Netscape Navigator, providing authentication and encrypted communication methods. It is now widely used for security-sensitive communications on the World Wide Web, such as transaction payments. The embodiment of the present invention does not specifically describe the specific implementation manner of data transmission using HTTPS.

407、由客户端将得到的开启密码发送至智能门禁。407. The client sends the obtained opening password to the smart access control.

在本发明实施例中,客户端的主要功能是协助用户打开智能门禁的门锁,其执行的主要步骤包括:向服务器发送获取开启密码的指令,接收服务器反馈的开启密码,当该开启密码进行加密传输时,还需要进行解密操作,以得到可用的开启密码,最后是将该开启密码发送到智能门禁,以开启门禁或得到无法开启的提示。其中,将开启密码发送到智能门禁中需要在两者之间建立有效的通讯连接,本发明实施例中不限定是网络连接或者蓝牙连接、近场通讯(Near Field Communication,NFC)连接等,具体的连接方式需要根据实际应用的需求来确定,例如,当需要进行远程控制时,就需要通过网络连接来传输智能门禁的开启密码,而当需要进行现场操作时,则可以通过客户端使用蓝牙连接或NFC连接来传输智能门禁的开启密码。In the embodiment of the present invention, the main function of the client is to assist the user to open the door lock of the intelligent access control. The main steps of its execution include: sending an instruction to the server to obtain the unlocking password, receiving the unlocking password fed back by the server, and encrypting the unlocking password During transmission, a decryption operation is also required to obtain an available opening password, and finally, the opening password is sent to the smart access control to open the access control or get a prompt that it cannot be opened. Among them, sending the unlock password to the smart access control requires establishing an effective communication connection between the two. In the embodiment of the present invention, it is not limited to a network connection, a Bluetooth connection, a near field communication (Near Field Communication, NFC) connection, etc., specifically The connection method needs to be determined according to the actual application requirements. For example, when remote control is required, the opening password of the smart access control needs to be transmitted through the network connection, and when on-site operation is required, the Bluetooth connection can be used through the client Or NFC connection to transmit the opening password of the smart access control.

408、智能门禁判断客户端发送的开启密码是否与本地的开门验证码相同,相同则执行开门操作。408. The smart access control judges whether the opening password sent by the client is the same as the local verification code for opening the door, and if they are the same, perform the door opening operation.

最后,是由智能门禁对客户端输入的开启密码进行校验判断,具体的,在接收到开启密码后,智能门禁将提取本地设置的至少一个有效开门验证码,对比开启密码是否与开门验证码相同,也就是判断开启密码是否为多个有效开门验证码中的一个,若是,则执行开门操作,若否,则向客户端反馈输入的开启密码有误。Finally, the smart access control checks and judges the opening password entered by the client. Specifically, after receiving the opening password, the smart access control will extract at least one valid door-opening verification code set locally, and compare whether the opening password is the same as the door-opening verification code. Same, that is, it is judged whether the unlocking password is one of a plurality of valid door-opening verification codes, if so, the door-opening operation is performed, and if not, the input unlocking password is fed back to the client is wrong.

其中,在智能门禁内设置有多个有效开门验证码时,有效开门验证码的数量将直接影响密码校验的速度,因此,在智能门禁的计算能力有限的情况下,应尽量设置少量的有效开门验证码,以此在不影响校验结果的情况下提高校验速度,从而提升用户的使用体验。Among them, when multiple valid door-opening verification codes are set in the smart access control, the number of valid door-opening verification codes will directly affect the speed of password verification. Open the door verification code, so as to improve the verification speed without affecting the verification result, thereby improving the user experience.

通过上述实施例的描述,能够清楚地说明智能门禁系统中的的服务器端、智能门禁以及安装有智能门禁应用的客户端之间的交互过程,以及开启密码、开门验证码分别在服务器端和智能门禁端中的生成过程,以此就可以说明采用该智能门禁的控制方法的智能门禁系统是如何完成门禁开门的实现方案。进一步的,作为对上述应用在服务器中方法的实现,本发明提供了一种服务器,为便于阅读,本发明实施例不再对前述方法实施例中的细节内容进行逐一赘述,但应当明确,本实施例中的服务器能够对应实现前述方法实施例中的全部内容。该服务器如图5所示,具体包括:Through the description of the above-mentioned embodiments, it is possible to clearly illustrate the interaction process between the server end in the intelligent access control system, the intelligent access control, and the client with the intelligent access control application installed, as well as the opening password and the verification code for opening the door between the server end and the intelligent access control system respectively. The generation process in the access control terminal can explain how the intelligent access control system adopting the control method of the intelligent access control completes the realization scheme of opening the door. Furthermore, the present invention provides a server as an implementation of the above-mentioned application method in the server. For the convenience of reading, the embodiments of the present invention will not repeat the details in the foregoing method embodiments one by one, but it should be clear that this The server in the embodiment can correspondingly implement all the contents in the foregoing method embodiments. The server is shown in Figure 5, specifically including:

接收单元51,用于接收客户端发送的获取智能门禁的开启密码的指令;The receiving unit 51 is used to receive the instruction of obtaining the opening password of the smart access control sent by the client;

调取单元52,用于根据所述接收单元51指令调取该智能门禁的初始密码;The calling unit 52 is used to call the initial password of the smart access control according to the instruction of the receiving unit 51;

获取单元53,用于针对所述调取单元52调取的初始密码获取动态加密因子,所述动态加密因子根据预置时间间隔进行更新;The obtaining unit 53 is configured to obtain a dynamic encryption factor for the initial password retrieved by the retrieval unit 52, and the dynamic encryption factor is updated according to a preset time interval;

生成单元54,用于将所述获取单元53得到的动态加密因子和所述调取单元52调取的初始密码的密文通过高级加密标准,生成所述智能门禁的开启密码;A generation unit 54, configured to pass the ciphertext of the dynamic encryption factor obtained by the acquisition unit 53 and the initial password retrieved by the retrieval unit 52 through the Advanced Encryption Standard to generate the password for unlocking the smart access control;

发送单元55,用于将所述生成单元54生成的智能门禁的开启密码加密传输至客户端,以使客户端利用所述开启密码开启所述智能门禁。The sending unit 55 is configured to encrypt and transmit the unlocking password of the smart access control generated by the generating unit 54 to the client, so that the client uses the unlocking password to unlock the smart access control.

进一步的,如图6所示,所述服务器还包括:Further, as shown in Figure 6, the server also includes:

更新单元56,用于在所述获取单元53针对所述初始密码获取动态加密因子之前,根据预置时间间隔更新所述动态加密因子;An updating unit 56, configured to update the dynamic encryption factor according to a preset time interval before the acquisition unit 53 acquires the dynamic encryption factor for the initial password;

所述发送单元55还用于,向所述智能门禁发送所述更新单元56更新后的动态加密因子。The sending unit 55 is further configured to send the dynamic encryption factor updated by the updating unit 56 to the smart access control.

进一步的,如图6所示,所述调取单元52包括:Further, as shown in FIG. 6, the calling unit 52 includes:

确定模块521,用于根据所述指令确定所述智能门禁的门禁编码,所述门禁编码为所述智能门禁的唯一标识;Determining module 521, for determining the access control code of the intelligent access control according to the instruction, the access control code being the unique identification of the intelligent access control;

生成模块522,用于对所述确定模块521确定的门禁编码加密生成所述智能门禁的初始密码。The generation module 522 is configured to encrypt the access control code determined by the determination module 521 to generate the initial password of the smart access control.

进一步的,所述生成单元54还用于,将所述动态加密因子与所述初始密码的密文通过高级加密标准进行加密,生成所述智能门禁的开启密码。Further, the generating unit 54 is further configured to encrypt the dynamic encryption factor and the ciphertext of the initial password through the Advanced Encryption Standard to generate the unlocking password of the smart access control.

进一步的,如图6所示,所述发送单元55包括:Further, as shown in FIG. 6, the sending unit 55 includes:

加密模块551,用于对所述智能门禁的开启密码的密文进行加密;An encryption module 551, configured to encrypt the ciphertext of the unlocking password of the intelligent access control;

发送模块552,用于利用超文本传输安全协议将所述加密模块551加密后的开启密码发送至客户端。The sending module 552 is configured to send the unlocking password encrypted by the encryption module 551 to the client by using the HTTP security protocol.

进一步的,作为对上述应用在客户端中方法的实现,本发明实施例还提供了一种控制智能门禁的客户端,为便于阅读,本装置实施例不再对前述方法实施例中的细节内容进行逐一赘述,但应当明确,本实施例中的客户端能够对应实现前述方法实施例中的全部内容。该客户端如图7所示,具体包括:Further, as the implementation of the above-mentioned application method in the client, the embodiment of the present invention also provides a client for controlling intelligent access control. For the convenience of reading, this embodiment of the device does not repeat the detailed content in the foregoing method embodiment. It will be described one by one, but it should be clear that the client in this embodiment can correspondingly implement all the content in the foregoing method embodiments. The client is shown in Figure 7, specifically including:

第一发送单元61,用于发送获取智能门禁的开启密码的指令,以使服务器根据所述指令生成所述智能门禁的开启密码;The first sending unit 61 is used to send an instruction for obtaining the unlocking password of the smart access control, so that the server generates the unlocking password of the smart access control according to the instruction;

获取单元62,用于获取所述服务器加密传输的所述智能门禁的开启密码;An acquisition unit 62, configured to acquire the unlocking password of the smart access control encrypted and transmitted by the server;

解密单元63,用于对所述获取单元62得到的加密传输的所述智能门禁的开启密码进行解密;A decryption unit 63, configured to decrypt the unlocking password of the intelligent access control obtained by the encryption transmission obtained by the acquisition unit 62;

第二发送单元64,用于将所述解密单元63解密后的所述开启密码发送至所述智能门禁,以使智能门禁根据所述开启密码执行开门操作;The second sending unit 64 is configured to send the unlocking password decrypted by the decrypting unit 63 to the smart access control, so that the smart access control performs a door opening operation according to the unlocking password;

接收单元65,用于接收所述智能门禁执行开门操作的反馈结果。The receiving unit 65 is configured to receive the feedback result of the door opening operation performed by the smart access control.

进一步的,作为对上述应用在智能门禁中方法的实现,本发明实施例也提供了一种智能门禁,为便于阅读,本装置实施例不再对前述方法实施例中的细节内容进行逐一赘述,但应当明确,本实施例中的装置能够对应实现前述方法实施例中的全部内容。该智能门禁如图8所示,具体包括:Further, as the implementation of the above-mentioned method applied in smart access control, the embodiment of the present invention also provides a smart access control. For the convenience of reading, this embodiment of the device does not repeat the details of the foregoing method embodiments one by one. However, it should be clear that the device in this embodiment can correspondingly implement all the contents in the foregoing method embodiments. The smart access control is shown in Figure 8, specifically including:

获取单元71,用于获取动态加密因子,所述动态加密因子由服务器根据预置时间间隔进行更新;An acquisition unit 71, configured to acquire a dynamic encryption factor, which is updated by the server according to a preset time interval;

生成单元72,用于利用所述智能门禁的初始密码和所述获取单元71得到的动态加密因子生成所述智能门禁的开门验证码;A generating unit 72, configured to utilize the initial password of the smart access control and the dynamic encryption factor obtained by the acquisition unit 71 to generate the door-opening verification code of the smart access control;

接收单元73,用于接收客户端发送的开启密码,所述开启密码是所述客户端从所述服务器获取的用于开启所述智能门禁的密码;The receiving unit 73 is configured to receive the opening password sent by the client, the opening password is the password obtained by the client from the server for opening the smart access control;

执行单元74,用于当所述生成单元72得到的开门验证码与所述接收单元73得到的开启密码相同时,执行开门操作;Executing unit 74, used for when the verification code for opening the door obtained by the generating unit 72 is the same as the unlocking password obtained by the receiving unit 73, execute the door opening operation;

发送单元75,用于向所述客户端发送所述开门操作的执行结果。A sending unit 75, configured to send the execution result of the door opening operation to the client.

进一步的,如图9所示,所述生成单元72包括:Further, as shown in FIG. 9, the generating unit 72 includes:

获取模块721,用于获取所述智能门禁的门禁编码,所述门禁编码为所述智能门禁的唯一标识;Obtaining module 721, for obtaining the access control code of described intelligent access control, and described access control code is the unique identification of described intelligent access control;

第一生成模块722,用于对所述获取模块721得到的门禁编码加密生成所述智能门禁的初始密码;The first generating module 722 is used to encrypt the access control code obtained by the acquisition module 721 to generate the initial password of the intelligent access control;

第二生成模块723,用于将所述动态加密因子与所述第一生成模块722生成的初始密码的密文通过高级加密标准进行加密,生成所述智能门禁的开门验证码。The second generating module 723 is configured to encrypt the dynamic encryption factor and the ciphertext of the initial password generated by the first generating module 722 through the Advanced Encryption Standard to generate the verification code for opening the smart door.

进一步的,如图9所示,所述智能门禁还包括:Further, as shown in Figure 9, the smart access control also includes:

存储单元76,用于在所述生成单元72利用所述动态加密因子和所述智能门禁的初始密码生成所述智能门禁的开门验证码之后,根据更新的动态加密因子保存预置数量的多个不同开门验证码。The storage unit 76 is used to save a preset number of passwords according to the updated dynamic encryption factor after the generating unit 72 generates the door-opening verification code of the intelligent access control using the dynamic encryption factor and the initial password of the intelligent access control. Different verification codes for opening the door.

进一步的,如图9所示,所述执行单元74包括:Further, as shown in FIG. 9, the execution unit 74 includes:

判断模块741,用于判断所述开启密码是否为所述多个不同开门验证码中的一个;A judging module 741, configured to judge whether the unlocking password is one of the plurality of different door-opening verification codes;

执行模块742,用于当所述判断模块741判断所述开启密码为所述多个不同开门验证码中的一个时,执行开门操作;Executing module 742, used to execute the door opening operation when the judging module 741 judges that the unlocking password is one of the multiple different door opening verification codes;

提示模块743,用于当所述判断模块741判断所述开启密码不是所述多个不同开门验证码中的一个时,提示输入的密码有误。The prompting module 743 is configured to prompt that the input password is wrong when the judging module 741 judges that the unlocking password is not one of the plurality of different verification codes for opening the door.

基于上述的服务器实施例、客户端实施例以及智能门禁实施例,本发明还提供一种智能门禁的控制系统的实施例,如图10所示,该系统包括:服务器81,智能门禁82以及安装智能门禁应用的客户端83。Based on the above-mentioned server embodiment, client embodiment and intelligent access control embodiment, the present invention also provides an embodiment of a control system of intelligent access control, as shown in Figure 10, the system includes: server 81, intelligent access control 82 and installation The client 83 of the intelligent access control application.

其中,服务器81用于,根据所述客户端83发送的获取智能门禁82的开启密码的指令调取该智能门禁的初始密码,针对所述初始密码获取动态加密因子,将所述动态加密因子与所述初始密码的密文通过高级加密标准进行加密,生成所述智能门禁的开启密码,将所述智能门禁的开启密码加密传输至客户端83;Wherein, the server 81 is used to retrieve the initial password of the intelligent access control according to the instruction of obtaining the opening password of the intelligent access control 82 sent by the client 83, obtain a dynamic encryption factor for the initial password, and combine the dynamic encryption factor with the The ciphertext of the initial password is encrypted by Advanced Encryption Standard to generate the opening password of the intelligent access control, and the opening password of the intelligent access control is encrypted and transmitted to the client 83;

客户端83用于,向服务器81发送获取智能门禁的开启密码的指令,获取所述服务器加密传输的所述智能门禁的开启密码,并对加密传输的所述智能门禁的开启密码进行解密,将解密后的所述开启密码发送至所述智能门禁82,再接收所述智能门禁82执行开门操作的反馈结果;The client 83 is used to send to the server 81 an instruction to obtain the unlocking password of the smart access control, obtain the unlocking password of the intelligent access control encrypted and transmitted by the server, and decrypt the unlocking password of the smart access control encrypted and transmitted, and The unlocking password after decryption is sent to the smart access control 82, and then the feedback result of the door opening operation performed by the smart access control 82 is received;

智能门禁82用于,获取由所述服务器81根据预置时间间隔进行更新的动态加密因子,利用所述动态加密因子和所述智能门禁的初始密码生成所述智能门禁的开门验证码,再接收客户端83发送的所述智能门禁的开启密码,当所述开门验证码与所述开启密码相同时,执行开门操作,并向所述客户端83反馈所述开门操作的执行结果。The intelligent access control 82 is used to obtain the dynamic encryption factor updated by the server 81 according to the preset time interval, utilize the dynamic encryption factor and the initial password of the intelligent access control to generate the door opening verification code of the intelligent access control, and then receive The opening password of the intelligent access control sent by the client 83, when the verification code for opening the door is the same as the opening password, the door opening operation is performed, and the execution result of the door opening operation is fed back to the client 83.

综上所述,本发明实施例所采用的智能门禁的控制方法、装置及系统,可以通过在服务器维护一个动态加密因子,并为该动态加密因子设置一个更新周期,再根据更新的动态加密因子在智能门禁生成开门验证码,,服务器会根据客户端的请求生成当前开启智能门禁的开启密码并反馈给客户端,最后由客户端使用从服务器端获取的开启密码传输到智能门禁端进行验证开门操作。在此过程中,由于动态加密因子会按照周期进行更新,导致智能门禁生成的开门验证码会根据该周期更新而进行更新,这样,客户端所获取的开启密码只是在固定周期内有效的密码,即便被盗取破解,由于该密码应用的时间极为有限,因而可以减少由于丢失该密码所造成的损失。此外,通过对传输的开启密码进行加密传输,以及选择安全性更高的传输方式可以进一步提高智能门禁系统中传递开启密码的安全性,从而提升整个智能门禁系统的使用安全性。In summary, the control method, device and system of intelligent access control adopted in the embodiment of the present invention can maintain a dynamic encryption factor on the server, set an update period for the dynamic encryption factor, and then update the dynamic encryption factor according to the updated dynamic encryption factor. When the smart access control generates a door-opening verification code, the server will generate the current opening password of the smart access control according to the client's request and feed it back to the client. Finally, the client uses the unlocking password obtained from the server to transmit it to the smart access control terminal for verification and opening the door. . During this process, since the dynamic encryption factor will be updated periodically, the door opening verification code generated by the smart access control will be updated according to the periodic update. In this way, the unlocking password obtained by the client is only valid within a fixed period. Even if it is stolen and cracked, since the application time of the password is extremely limited, the loss caused by losing the password can be reduced. In addition, by encrypting the transmitted opening password and selecting a more secure transmission method, the security of passing the opening password in the intelligent access control system can be further improved, thereby improving the use security of the entire intelligent access control system.

上述服务器包括处理器和存储器,上述接收单元、调取单元、获取单元、生成单元和发送单元等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The above-mentioned server includes a processor and a memory, and the above-mentioned receiving unit, calling unit, acquiring unit, generating unit, and sending unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding Features.

对应的客户端也包括处理器和存储器,上述第一发送单元、获取单元、解密单元、第二发送单元和接收单元等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The corresponding client also includes a processor and a memory. The above-mentioned first sending unit, obtaining unit, decryption unit, second sending unit, and receiving unit are all stored in the memory as program units, and the processor executes the above-mentioned program stored in the memory. Program unit to realize the corresponding function.

此外,上述的智能门禁包括处理器和存储器,上述获取单元、生成单元、接收单元、执行单元和发送单元等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。In addition, the above-mentioned intelligent access control includes a processor and a memory, and the above-mentioned acquisition unit, generation unit, receiving unit, execution unit, and sending unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory. realize the corresponding function.

上述的处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来调整设置开启密码的时效性从而加强智能门禁控制的安全性。The above-mentioned processor includes a kernel, and the kernel retrieves corresponding program units from the memory. The kernel can set one or more, and adjust the timeliness of setting the password to strengthen the security of intelligent access control by adjusting the kernel parameters.

存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。Memory may include non-permanent memory in computer-readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one memory chip.

本申请还提供了一种计算机程序产品,当在服务器上执行时,适于执行初始化有如下方法步骤的程序代码:服务器响应于客户端发送的获取智能门禁的开启密码的指令;根据所述指令调取该智能门禁的初始密码;针对所述初始密码获取动态加密因子,所述动态加密因子根据预置时间间隔进行更新;将所述动态加密因子与所述初始密码的密文通过高级加密标准进行加密,生成所述智能门禁的开启密码;将所述智能门禁的开启密码加密传输至客户端,以使客户端利用所述开启密码开启所述智能门禁。The present application also provides a computer program product, which, when executed on a server, is suitable for executing a program code initialized with the following method steps: the server responds to the instruction sent by the client to obtain the unlocking password of the intelligent access control; according to the instruction Retrieving the initial password of the smart access control; obtaining a dynamic encryption factor for the initial password, the dynamic encryption factor is updated according to a preset time interval; the ciphertext of the dynamic encryption factor and the initial password through the Advanced Encryption Standard performing encryption to generate an opening password of the intelligent access control; encrypting and transmitting the opening password of the intelligent access control to the client, so that the client uses the opening password to open the intelligent access control.

当在客户端上执行时,适于执行初始化有如下方法步骤的程序代码:客户端发送获取智能门禁的开启密码的指令,以使服务器根据所述指令生成所述智能门禁的开启密码;获取所述服务器加密传输的所述智能门禁的开启密码;对加密传输的所述智能门禁的开启密码进行解密,将解密后的所述开启密码发送至所述智能门禁,以使智能门禁根据所述开启密码执行开门操作;接收所述智能门禁执行开门操作的反馈结果。When executed on the client, it is suitable for executing the program code that is initialized with the following method steps: the client sends an instruction to obtain the opening password of the intelligent access control, so that the server generates the opening password of the intelligent access control according to the instruction; The unlocking password of the intelligent access control encrypted and transmitted by the server; decrypt the unlocking password of the intelligent access control encrypted and transmitted, and send the decrypted unlocking password to the intelligent access control, so that the intelligent access control can be opened according to the The password performs the door opening operation; and receives the feedback result of the intelligent access control performing the door opening operation.

当在智能门禁上执行时,适于执行初始化有如下方法步骤的程序代码:智能门禁获取动态加密因子,所述动态加密因子由服务器根据预置时间间隔进行更新;利用所述动态加密因子和所述智能门禁的初始密码生成所述智能门禁的开门验证码;接收客户端发送的开启密码,所述开启密码是所述客户端从所述服务器获取的用于开启所述智能门禁的密码;当所述开门验证码与所述开启密码相同时,执行开门操作;向所述客户端反馈所述开门操作的执行结果。When executed on the intelligent access control, it is suitable for executing the program code with the following method steps for initialization: the intelligent access control acquires a dynamic encryption factor, and the dynamic encryption factor is updated by the server according to a preset time interval; using the dynamic encryption factor and the The initial password of the intelligent access control generates the door opening verification code of the intelligent access control; the opening password sent by the client is received, and the opening password is the password obtained by the client from the server for opening the intelligent access control; when When the door opening verification code is the same as the opening password, perform a door opening operation; and feed back an execution result of the door opening operation to the client.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read only memory (ROM) or flash RAM. The memory is an example of a computer readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are only examples of the present application, and are not intended to limit the present application. For those skilled in the art, various modifications and changes may occur in this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims (10)

1.一种智能门禁的控制方法,其特征在于,所述方法包括:1. A control method for intelligent access control, characterized in that the method comprises: 服务器响应于客户端发送的获取智能门禁的开启密码的指令;The server responds to the instruction sent by the client to obtain the unlocking password of the smart access control; 根据所述指令调取该智能门禁的初始密码;Retrieving the initial password of the smart access control according to the instruction; 针对所述初始密码获取动态加密因子,所述动态加密因子根据预置时间间隔进行更新;Acquire a dynamic encryption factor for the initial password, and update the dynamic encryption factor according to a preset time interval; 将所述动态加密因子与所述初始密码的密文通过高级加密标准进行加密,生成所述智能门禁的开启密码;Encrypting the dynamic encryption factor and the ciphertext of the initial password through Advanced Encryption Standard to generate the unlocking password of the intelligent access control; 将所述智能门禁的开启密码加密传输至客户端,以利用所述开启密码开启所述智能门禁。Encrypting and transmitting the opening password of the intelligent access control to the client, so as to use the opening password to open the intelligent access control. 2.根据权利要求1所述的方法,其特征在于,根据所述指令调取该智能门禁的初始密码包括:2. The method according to claim 1, wherein calling the initial password of the smart access control according to the instruction comprises: 根据所述指令确定所述智能门禁的门禁编码,所述门禁编码为所述智能门禁的唯一标识;Determine the access control code of the intelligent access control according to the instruction, and the access control code is the unique identification of the intelligent access control; 对所述门禁编码加密生成所述智能门禁的初始密码。The initial password of the intelligent access control is generated by encrypting the access control code. 3.一种智能门禁的控制方法,其特征在于,所述方法包括:3. A control method for intelligent access control, characterized in that the method comprises: 客户端发送获取智能门禁的开启密码的指令,以使服务器根据所述指令生成所述智能门禁的开启密码;The client sends an instruction to obtain the unlocking password of the smart access control, so that the server generates the unlocking password of the smart access control according to the instruction; 获取所述服务器加密传输的所述智能门禁的开启密码;Obtain the opening password of the intelligent access control encrypted and transmitted by the server; 对加密传输的所述智能门禁的开启密码进行解密,将解密后的所述开启密码发送至所述智能门禁,以使智能门禁根据所述开启密码执行开门操作。Deciphering the encrypted transmission of the unlocking password of the smart access control, and sending the decrypted unlocking password to the smart access control, so that the smart access control performs a door opening operation according to the unlocking password. 4.一种智能门禁的控制方法,其特征在于,所述方法包括:4. A control method for intelligent access control, characterized in that the method comprises: 智能门禁获取动态加密因子,所述动态加密因子由服务器根据预置时间间隔进行更新;The intelligent access control obtains a dynamic encryption factor, and the dynamic encryption factor is updated by the server according to a preset time interval; 利用所述动态加密因子和所述智能门禁的初始密码生成所述智能门禁的开门验证码;Utilize the dynamic encryption factor and the initial password of the intelligent access control to generate the door opening verification code of the intelligent access control; 接收客户端发送的开启密码,所述开启密码是所述客户端从所述服务器获取的用于开启所述智能门禁的密码;Receiving the opening password sent by the client, the opening password is the password obtained by the client from the server for opening the smart access control; 当所述开门验证码与所述开启密码相同时,执行开门操作;When the verification code for opening the door is the same as the password for opening the door, perform a door opening operation; 向所述客户端反馈所述开门操作的执行结果。Feedback the execution result of the door opening operation to the client. 5.根据权利要求4所述的方法,其特征在于,利用所述动态加密因子和所述智能门禁的初始密码生成所述智能门禁的开门验证码包括:5. The method according to claim 4, wherein utilizing the dynamic encryption factor and the initial password of the intelligent access control to generate the door-opening verification code of the intelligent access control comprises: 获取所述智能门禁的门禁编码,所述门禁编码为所述智能门禁的唯一标识;Obtain the access code of the intelligent access control, the access control code is the unique identification of the intelligent access control; 对所述门禁编码加密生成所述智能门禁的初始密码;Encrypting the access control code to generate an initial password for the smart access control; 将所述动态加密因子与所述初始密码的密文通过高级加密标准进行加密,生成所述智能门禁的开门验证码。The dynamic encryption factor and the ciphertext of the initial password are encrypted by advanced encryption standard to generate the door opening verification code of the intelligent access control. 6.根据权利要求4所述的方法,其特征在于,在利用所述动态加密因子和所述智能门禁的初始密码生成所述智能门禁的开门验证码之后,所述方法还包括:6. The method according to claim 4, wherein, after utilizing the dynamic encryption factor and the initial password of the intelligent access control to generate the door-opening verification code of the intelligent access control, the method further comprises: 根据更新的动态加密因子保存预置数量的多个不同开门验证码;Save a preset number of different door-opening verification codes according to the updated dynamic encryption factor; 所述当所述开门验证码与所述开启密码相匹配时,执行开门操作包括:When the door-opening verification code matches the opening password, performing the door-opening operation includes: 判断所述开启密码是否为所述多个不同开门验证码中的一个;Judging whether the unlocking password is one of the multiple different door-opening verification codes; 若是,则执行开门操作;If so, perform the door opening operation; 若否,则提示输入的密码有误。If not, it prompts that the entered password is incorrect. 7.一种服务器,其特征在于,所述服务器包括:7. A server, characterized in that the server comprises: 接收单元,用于接收客户端发送的获取智能门禁的开启密码的指令;The receiving unit is used to receive the instruction of obtaining the opening password of the intelligent access control sent by the client; 调取单元,用于根据所述接收单元指令调取该智能门禁的初始密码;A calling unit, used to call the initial password of the smart access control according to the instruction of the receiving unit; 获取单元,用于针对所述调取单元调取的初始密码获取动态加密因子,所述动态加密因子根据预置时间间隔进行更新;An obtaining unit, configured to obtain a dynamic encryption factor for the initial password retrieved by the calling unit, and the dynamic encryption factor is updated according to a preset time interval; 生成单元,用于将所述获取单元获取的动态加密因子与所述调取单元调取的初始密码的密文通过高级加密标准进行加密,生成所述智能门禁的开启密码;A generating unit, configured to encrypt the dynamic encryption factor obtained by the obtaining unit and the ciphertext of the initial password retrieved by the calling unit through the Advanced Encryption Standard to generate the unlocking password of the intelligent access control; 发送单元,用于将所述生成单元生成的智能门禁的开启密码加密传输至客户端,以使客户端利用所述开启密码开启所述智能门禁。The sending unit is configured to encrypt and transmit the unlocking password of the smart access control generated by the generating unit to the client, so that the client uses the unlocking password to unlock the smart access control. 8.一种客户端,其特征在于,所述客户端包括:8. A client, characterized in that the client includes: 第一发送单元,用于发送获取智能门禁的开启密码的指令,以使服务器根据所述指令生成所述智能门禁的开启密码;The first sending unit is used to send an instruction for obtaining the unlocking password of the smart access control, so that the server generates the unlocking password of the smart access control according to the instruction; 获取单元,用于获取所述服务器加密传输的所述智能门禁的开启密码;An acquisition unit, configured to acquire the unlocking password of the smart access control encrypted and transmitted by the server; 解密单元,用于对所述获取单元得到的加密传输的所述智能门禁的开启密码进行解密;A decryption unit, configured to decrypt the unlocking password of the intelligent access control obtained by the encryption transmission obtained by the acquisition unit; 第二发送单元,用于将所述解密单元解密后的所述开启密码发送至所述智能门禁,以使智能门禁根据所述开启密码执行开门操作;The second sending unit is configured to send the unlocking password decrypted by the decrypting unit to the smart access control, so that the smart access control performs a door opening operation according to the unlocking password; 接收单元,用于接收所述智能门禁执行开门操作的反馈结果。The receiving unit is configured to receive the feedback result of the door opening operation performed by the smart access control. 9.一种智能门禁,其特征在于,所述智能门禁包括:9. An intelligent access control, characterized in that the intelligent access control comprises: 获取单元,用于获取动态加密因子,所述动态加密因子由服务器根据预置时间间隔进行更新;An acquisition unit, configured to acquire a dynamic encryption factor, the dynamic encryption factor is updated by the server according to a preset time interval; 生成单元,用于利用所述智能门禁的初始密码和所述获取单元得到的动态加密因子生成所述智能门禁的开门验证码;A generating unit, configured to use the initial password of the intelligent access control and the dynamic encryption factor obtained by the acquisition unit to generate the door opening verification code of the intelligent access control; 接收单元,用于接收客户端发送的开启密码,所述开启密码是所述客户端从所述服务器获取的用于开启所述智能门禁的密码;A receiving unit, configured to receive an opening password sent by a client, where the opening password is a password obtained by the client from the server for opening the smart access control; 执行单元,用于当所述生成单元得到的开门验证码与所述接收单元得到的开启密码相同时,执行开门操作;An execution unit, configured to perform a door opening operation when the door opening verification code obtained by the generating unit is the same as the unlocking password obtained by the receiving unit; 发送单元,用于向所述客户端发送所述开门操作的执行结果。A sending unit, configured to send the execution result of the door opening operation to the client. 10.一种智能门禁的控制系统,其特征在于,所述控制系统包括如权利要求7所述的服务器、如权利要求8所述的客户端以及如权利要求9所述的智能门禁;10. A control system for intelligent access control, characterized in that the control system comprises the server as claimed in claim 7, the client as claimed in claim 8, and the intelligent access control as claimed in claim 9; 其中,所述服务器用于,根据所述客户端发送的获取智能门禁的开启密码的指令调取该智能门禁的初始密码,针对所述初始密码获取动态加密因子,将所述动态加密因子与所述初始密码的密文通过高级加密标准进行加密,生成所述智能门禁的开启密码,将所述智能门禁的开启密码加密传输至客户端;Wherein, the server is used to retrieve the initial password of the intelligent access control according to the instruction sent by the client to obtain the unlocking password of the intelligent access control, obtain a dynamic encryption factor for the initial password, and combine the dynamic encryption factor with the The ciphertext of the initial password is encrypted by the Advanced Encryption Standard to generate the opening password of the intelligent access control, and the opening password of the intelligent access control is encrypted and transmitted to the client; 所述客户端用于,向服务器发送获取智能门禁的开启密码的指令,获取所述服务器加密传输的所述智能门禁的开启密码,并对加密传输的所述智能门禁的开启密码进行解密,将解密后的所述开启密码发送至所述智能门禁,再接收所述智能门禁执行开门操作的反馈结果;The client is used to send an instruction to the server to obtain the unlocking password of the smart access control, obtain the unlocking password of the smart access control encrypted and transmitted by the server, and decrypt the encrypted transmission of the unlocking password of the smart access control, and The decrypted unlocking password is sent to the smart access control, and then the feedback result of the smart access control performing the door opening operation is received; 所述智能门禁用于,获取由所述服务器根据预置时间间隔进行更新的动态加密因子,利用所述动态加密因子和所述智能门禁的初始密码生成所述智能门禁的开门验证码,再接收客户端发送的所述智能门禁的开启密码,当所述开门验证码与所述开启密码相同时,执行开门操作,并向所述客户端反馈所述开门操作的执行结果。The smart access control is used to obtain the dynamic encryption factor updated by the server according to the preset time interval, use the dynamic encryption factor and the initial password of the smart access control to generate the door opening verification code of the smart access control, and then receive The unlocking password of the intelligent access control sent by the client, when the verification code for opening the door is the same as the unlocking password, the door opening operation is performed, and the execution result of the door opening operation is fed back to the client.
CN201611053283.1A 2016-11-24 2016-11-24 A control method, device and system for intelligent access control Expired - Fee Related CN106504391B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611053283.1A CN106504391B (en) 2016-11-24 2016-11-24 A control method, device and system for intelligent access control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611053283.1A CN106504391B (en) 2016-11-24 2016-11-24 A control method, device and system for intelligent access control

Publications (2)

Publication Number Publication Date
CN106504391A true CN106504391A (en) 2017-03-15
CN106504391B CN106504391B (en) 2020-03-06

Family

ID=58328701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611053283.1A Expired - Fee Related CN106504391B (en) 2016-11-24 2016-11-24 A control method, device and system for intelligent access control

Country Status (1)

Country Link
CN (1) CN106504391B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107093236A (en) * 2017-04-13 2017-08-25 乐猫联卫(北京)网络科技有限公司 A kind of double access control systems recognized based on fuzzy video
CN107395751A (en) * 2017-08-23 2017-11-24 绵阳美菱软件技术有限公司 A kind of remote control system of intelligent household electrical appliance and method
CN107633588A (en) * 2017-10-24 2018-01-26 北京金储自动化技术有限公司 Control method, system, lockset, electronic equipment and readable storage medium storing program for executing
CN107862803A (en) * 2017-10-31 2018-03-30 柠创科技(深圳)有限公司 Rental equipment unlocking method, cloud server, equipment terminal, equipment and system
CN108230496A (en) * 2017-12-21 2018-06-29 广东汇泰龙科技有限公司 A kind of time segment management method, system based on cloud lock account
CN108269335A (en) * 2018-01-15 2018-07-10 广安众道电子商务有限公司 A kind of intelligent entrance guard control system and method
WO2018177188A1 (en) * 2017-03-29 2018-10-04 云丁网络技术(北京)有限公司 Secure communication method based on smart door lock system and smart door lock system thereof
CN109035499A (en) * 2018-06-30 2018-12-18 恒宝股份有限公司 A kind of electronic password lock authentication method based on dynamic password
CN109168162A (en) * 2018-11-20 2019-01-08 北京千丁互联科技有限公司 Bluetooth communication encryption method, device and intelligent security guard equipment
CN111325879A (en) * 2020-01-21 2020-06-23 上海钧正网络科技有限公司 Vehicle remote control method and device, storage medium and equipment
CN112446982A (en) * 2019-08-10 2021-03-05 云丁网络技术(北京)有限公司 Method, device, computer readable medium and equipment for controlling intelligent lock
CN114143029A (en) * 2021-10-29 2022-03-04 航天信息股份有限公司 User personal account password generating system and method capable of being repeatedly generated
US11417159B2 (en) 2019-08-02 2022-08-16 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling a smart lock
CN115100767A (en) * 2022-06-27 2022-09-23 深圳市永达电子信息股份有限公司 A kind of control system and method of remote control door
US11997193B2 (en) 2017-03-29 2024-05-28 Yunding Network Technology (Beijing) Co., Ltd. Secure communication method and smart lock system based thereof
CN118887753A (en) * 2024-09-27 2024-11-01 深圳市精致网络设备有限公司 A cabinet door opening encryption control method, system, device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007157022A (en) * 2005-12-08 2007-06-21 Toppan Nsw:Kk Admission management system, admission management method
CN204406513U (en) * 2015-01-28 2015-06-17 聊城金齐锁具有限公司 A kind of dynamic puzzle-lock system
CN105046796A (en) * 2015-08-31 2015-11-11 芝麻智能科技(北京)有限公司 Unlocking control method, device and system for electronic lock
CN105118127A (en) * 2015-09-17 2015-12-02 慧锐通智能科技股份有限公司 Visiting system and control method thereof
CN105976466A (en) * 2016-05-03 2016-09-28 科世达(上海)管理有限公司 Car access control opening method
CN106023360A (en) * 2016-05-12 2016-10-12 上海泛创通信技术有限公司 Intelligent system management method of Bluetooth intelligent lock

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007157022A (en) * 2005-12-08 2007-06-21 Toppan Nsw:Kk Admission management system, admission management method
CN204406513U (en) * 2015-01-28 2015-06-17 聊城金齐锁具有限公司 A kind of dynamic puzzle-lock system
CN105046796A (en) * 2015-08-31 2015-11-11 芝麻智能科技(北京)有限公司 Unlocking control method, device and system for electronic lock
CN105118127A (en) * 2015-09-17 2015-12-02 慧锐通智能科技股份有限公司 Visiting system and control method thereof
CN105976466A (en) * 2016-05-03 2016-09-28 科世达(上海)管理有限公司 Car access control opening method
CN106023360A (en) * 2016-05-12 2016-10-12 上海泛创通信技术有限公司 Intelligent system management method of Bluetooth intelligent lock

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110462692B (en) * 2017-03-29 2022-02-22 云丁网络技术(北京)有限公司 Safety communication method based on intelligent lock system and intelligent lock system thereof
US11070364B2 (en) 2017-03-29 2021-07-20 Yunding Network Technology (Beijing) Co., Ltd. Secure communication method and smart lock system based thereof
WO2018177188A1 (en) * 2017-03-29 2018-10-04 云丁网络技术(北京)有限公司 Secure communication method based on smart door lock system and smart door lock system thereof
US11997193B2 (en) 2017-03-29 2024-05-28 Yunding Network Technology (Beijing) Co., Ltd. Secure communication method and smart lock system based thereof
CN110462692A (en) * 2017-03-29 2019-11-15 云丁网络技术(北京)有限公司 A kind of safety communicating method and its intelligent door lock system based on intelligent door lock system
CN107093236A (en) * 2017-04-13 2017-08-25 乐猫联卫(北京)网络科技有限公司 A kind of double access control systems recognized based on fuzzy video
CN107395751B (en) * 2017-08-23 2020-06-05 合肥美菱物联科技有限公司 A system and method for remote control of smart home appliances
CN107395751A (en) * 2017-08-23 2017-11-24 绵阳美菱软件技术有限公司 A kind of remote control system of intelligent household electrical appliance and method
CN107633588A (en) * 2017-10-24 2018-01-26 北京金储自动化技术有限公司 Control method, system, lockset, electronic equipment and readable storage medium storing program for executing
CN107862803A (en) * 2017-10-31 2018-03-30 柠创科技(深圳)有限公司 Rental equipment unlocking method, cloud server, equipment terminal, equipment and system
CN108230496A (en) * 2017-12-21 2018-06-29 广东汇泰龙科技有限公司 A kind of time segment management method, system based on cloud lock account
CN108269335A (en) * 2018-01-15 2018-07-10 广安众道电子商务有限公司 A kind of intelligent entrance guard control system and method
CN109035499A (en) * 2018-06-30 2018-12-18 恒宝股份有限公司 A kind of electronic password lock authentication method based on dynamic password
CN109168162A (en) * 2018-11-20 2019-01-08 北京千丁互联科技有限公司 Bluetooth communication encryption method, device and intelligent security guard equipment
CN109168162B (en) * 2018-11-20 2021-09-21 北京千丁互联科技有限公司 Bluetooth communication encryption method and device and intelligent security equipment
US11417159B2 (en) 2019-08-02 2022-08-16 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling a smart lock
US11928904B2 (en) 2019-08-02 2024-03-12 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling a smart lock
CN112446982A (en) * 2019-08-10 2021-03-05 云丁网络技术(北京)有限公司 Method, device, computer readable medium and equipment for controlling intelligent lock
CN111325879A (en) * 2020-01-21 2020-06-23 上海钧正网络科技有限公司 Vehicle remote control method and device, storage medium and equipment
CN114143029B (en) * 2021-10-29 2024-03-08 航天信息股份有限公司 User personal account password generation system and method capable of repeatedly generating
CN114143029A (en) * 2021-10-29 2022-03-04 航天信息股份有限公司 User personal account password generating system and method capable of being repeatedly generated
CN115100767A (en) * 2022-06-27 2022-09-23 深圳市永达电子信息股份有限公司 A kind of control system and method of remote control door
CN118887753A (en) * 2024-09-27 2024-11-01 深圳市精致网络设备有限公司 A cabinet door opening encryption control method, system, device and medium
CN118887753B (en) * 2024-09-27 2025-01-14 深圳市精致网络设备有限公司 Cabinet door opening encryption control method, system, equipment and medium

Also Published As

Publication number Publication date
CN106504391B (en) 2020-03-06

Similar Documents

Publication Publication Date Title
CN106504391B (en) A control method, device and system for intelligent access control
US20210367795A1 (en) Identity-Linked Authentication Through A User Certificate System
US20220014524A1 (en) Secure Communication Using Device-Identity Information Linked To Cloud-Based Certificates
US9935954B2 (en) System and method for securing machine-to-machine communications
US12192184B2 (en) Secure session resumption using post-quantum cryptography
US8559642B2 (en) Cryptographic communication with mobile devices
US20190173873A1 (en) Identity verification document request handling utilizing a user certificate system and user identity document repository
US11824978B2 (en) Cryptographic key generation system and method
CN109618334B (en) Control method and related equipment
US8397281B2 (en) Service assisted secret provisioning
CN100514333C (en) Data base safety access method and system
US9443069B1 (en) Verification platform having interface adapted for communication with verification agent
US20170353315A1 (en) Secure electronic entity, electronic apparatus and method for verifying the integrity of data stored in such a secure electronic entity
CN109816831A (en) An authentication method and system for an intelligent lock based on a national secret algorithm
KR20200067987A (en) Method of login control
KR101745482B1 (en) Communication method and apparatus in smart-home system
US20220329412A1 (en) Network arrangement for secure use of a private key remotely accessed through an open network
CN116599719A (en) User login authentication method, device, equipment and storage medium
CN115333820B (en) Block chain data processing method, device, equipment and storage medium
JP6165044B2 (en) User authentication apparatus, system, method and program
EP4576652A1 (en) A system for securely and centrally storing a digital key
CN107911223B (en) Cross signature method and device
Guo et al. 2FA Communication Protocol to Secure Metro Control Devices
KR20170117682A (en) Method and System for certificating electronic machines
WO2019132650A1 (en) Physical access control through challenge response interaction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200306

CF01 Termination of patent right due to non-payment of annual fee