CN110176088A - Door lock control method based on wearable device and wearable device - Google Patents
Door lock control method based on wearable device and wearable device Download PDFInfo
- Publication number
- CN110176088A CN110176088A CN201811284329.XA CN201811284329A CN110176088A CN 110176088 A CN110176088 A CN 110176088A CN 201811284329 A CN201811284329 A CN 201811284329A CN 110176088 A CN110176088 A CN 110176088A
- Authority
- CN
- China
- Prior art keywords
- facial image
- background server
- user
- house number
- number information
- 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
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00563—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/30—Individual registration on entry or exit not involving the use of a pass
- G07C9/32—Individual registration on entry or exit not involving the use of a pass in combination with an identity check
- G07C9/37—Individual registration on entry or exit not involving the use of a pass in combination with an identity check using biometric data, e.g. fingerprints, iris scans or voice recognition
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/30—Individual registration on entry or exit not involving the use of a pass
- G07C9/38—Individual registration on entry or exit not involving the use of a pass with central registration
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Lock And Its Accessories (AREA)
- Studio Devices (AREA)
Abstract
Description
技术领域technical field
本发明涉及可穿戴设备技术领域,尤其涉及一种基于可穿戴设备的门锁控制方法及可穿戴设备。The present invention relates to the technical field of wearable devices, in particular to a wearable device-based door lock control method and the wearable device.
背景技术Background technique
现实生活中,通常用户在入住酒店时,酒店前台会给办理完入住手续的用户一张房卡,该房卡类似于房门钥匙,用户需要刷房卡才能进入房间。但是,在实践中发现,用户丢失房卡、弄坏房卡或者忘带房卡的情况时常发生,而补办房卡以及验证用户身份信息的手续通常比较复杂,使得用户体验感不佳,还增加了酒店工作人员的负担。In real life, when a user checks in to a hotel, the front desk of the hotel will give the user a room card after checking in. The room card is similar to a door key, and the user needs to swipe the room card to enter the room. However, in practice, it is found that users often lose their room cards, damage them or forget to bring their room cards, and the procedures for reissuing room cards and verifying user identity information are usually complicated, which makes the user experience poor and increases the burden on the hotel staff.
发明内容Contents of the invention
本发明实施例公开了一种基于可穿戴设备的门锁控制方法及可穿戴设备,能够解决现有技术中因房卡丢失、损坏等原因造成的补办手续操作复杂的问题,提高用户体验感,以及减少酒店工作人员的工作量。The embodiment of the present invention discloses a door lock control method based on a wearable device and a wearable device, which can solve the problem of complicated re-doing procedures in the prior art caused by reasons such as loss or damage of the room card, and improve user experience. As well as reducing the workload of hotel staff.
本发明实施例第一方面公开一种基于可穿戴设备的门锁控制方法,所述可穿戴设备包括的智能主机以可转动方式设在所述可穿戴设备的支架上,所述智能主机正对设置的主机底面和主机顶面上各设有一个拍摄模组,所述方法包括:The first aspect of the embodiment of the present invention discloses a door lock control method based on a wearable device. The smart host included in the wearable device is rotatably set on the bracket of the wearable device. The smart host is facing the A shooting module is respectively arranged on the bottom surface of the host computer and the top surface of the host computer, and the method includes:
控制第一拍摄模组拍摄门牌获得门牌号信息;其中,所述第一拍摄模组为设于所述主机底面的拍摄模组或者为设于所述主机顶面的拍摄模组;controlling the first photographing module to photograph the house number to obtain house number information; wherein, the first photographing module is a photographing module arranged on the bottom surface of the host or a photographing module arranged on the top surface of the host;
将所述门牌号信息发送至后台服务器;Send the house number information to the background server;
控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收所述后台服务器发送的根据所述门牌号信息匹配得到的合法面部图像;当所述第一拍摄模组为设于所述主机底面的拍摄模组时,所述第二拍摄模组为设于所述主机顶面的拍摄模组,当所述第一拍摄模组为设于所述主机顶面的拍摄模组时,所述第二拍摄模组为设于所述主机底面的拍摄模组;Control the second camera module to capture the user's facial image, obtain the user's facial image, and receive the legal facial image sent by the background server according to the house number information matching; when the first camera module is set at the When the photographing module on the bottom surface of the host is mentioned above, the second photographing module is a photographing module arranged on the top surface of the host; when the first photographing module is a photographing module arranged on the top surface of the host , the second camera module is a camera module arranged on the bottom surface of the host;
判断所述用户面部图像与所述合法面部图像是否相匹配;judging whether the facial image of the user matches the legitimate facial image;
如果匹配,控制所述门牌号信息对应的门锁执行开启操作。If they match, control the door lock corresponding to the house number information to perform an unlocking operation.
作为一种可选的实施方式,在本发明实施例第一方面中,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
如果所述用户面部图像与所述合法面部图像不匹配,向所述后台服务器发送提醒消息,所述提醒消息携带所述可穿戴设备的设备标识号以及内置于所述智能主机的近场通信(Near Field Communication,NFC)模块的模块标识号,所述提醒消息用于提醒所述后台服务器通过所述可穿戴设备控制所述门牌号信息对应的门锁的当前用户的所述用户面部图像与所述合法面部图像不匹配,以使所述后台服务器在根据所述设备标识号以及所述模块标识号确定所述可穿戴设备为获得所述门牌号信息对应的门锁的控制权限的可穿戴设备时发送近距离通信开启指令;If the facial image of the user does not match the legal facial image, a reminder message is sent to the background server, the reminder message carries the device identification number of the wearable device and the near field communication (near field communication) built in the smart host Near Field Communication (NFC) module identification number, the reminder message is used to remind the background server to control the current user's face image of the current user who controls the door lock corresponding to the house number information through the wearable device. The legal facial image does not match, so that the background server determines that the wearable device is a wearable device that obtains the control authority of the door lock corresponding to the house number information according to the device identification number and the module identification number Send short-distance communication open command at any time;
接收所述近距离通信开启指令,并根据所述近距离通信开启指令打开所述NFC模块的读写功能,以使所述后台服务器控制设置于所述门牌号信息对应的门锁附近的拍摄装置通过从所述NFC模块读取所述模块标识号以对所述可穿戴设备进行定位,并控制所述拍摄装置对所述当前用户进行视频监控;Receive the short-range communication opening instruction, and open the read-write function of the NFC module according to the short-distance communication opening instruction, so that the background server controls the photographing device arranged near the door lock corresponding to the house number information Positioning the wearable device by reading the module identification number from the NFC module, and controlling the camera to monitor the current user;
接收所述后台服务器发送的警示信息,所述警示信息为所述后台服务器根据视频监控得到的视频图像与所述合法面部图像的比对结果生成得到;Receiving the warning information sent by the background server, the warning information is generated by the background server according to the comparison result of the video image obtained by video monitoring and the legal facial image;
在所述比对结果指示确认所述视频图像与所述合法面部图像不匹配时,发出用于警示所述当前用户离开的警示信息。When the comparison result indicates that the video image does not match the legal facial image, a warning message for warning the current user to leave is issued.
作为一种可选的实施方式,在本发明实施例第一方面中,所述控制第一拍摄模组拍摄门牌获得门牌号信息之前,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, before controlling the first photographing module to photograph the house number to obtain the house number information, the method further includes:
与所述后台服务器建立通信连接,并获得对所述后台服务器分配的所述合法面部图像对应的合法门牌号信息对应的门锁的控制权限;Establish a communication connection with the background server, and obtain the control authority of the door lock corresponding to the legal house number information corresponding to the legal facial image distributed by the background server;
将所述设备标识号与所述模块标识号发送给所述后台服务器,以使所述后台服务器关联存储所述设备标识号、所述模块标识号、分配的所述合法门牌号信息以及所述后台服务器拍摄得到的所述合法面部图像。Sending the device identification number and the module identification number to the background server, so that the background server associates and stores the device identification number, the module identification number, the assigned legal house number information, and the The legal facial image captured by the background server.
作为一种可选的实施方式,在本发明实施例第一方面中,在确定所述用户面部图像与所述合法面部图像相匹配之后,以及所述控制所述门牌号信息对应的门锁执行开启操作之前,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, after it is determined that the user's face image matches the legal face image, and the door lock corresponding to the house number information is controlled to execute Before starting the operation, the method also includes:
向所述后台服务器发送所述用户面部图像与所述合法面部图像相匹配的第一匹配结果;Sending the first matching result that the user's facial image matches the legal facial image to the background server;
接收所述后台服务器根据所述第一匹配结果发送的针对所述门牌号信息的门锁开启指令;receiving a door lock unlock instruction for the house number information sent by the background server according to the first matching result;
所述控制所述门牌号信息对应的门锁执行开启操作,包括:The controlling the door lock corresponding to the house number information to perform an opening operation includes:
根据所述门锁开启指令控制所述门牌号信息对应的门锁执行开启操作。The door lock corresponding to the house number information is controlled to perform an opening operation according to the door lock opening instruction.
作为一种可选的实施方式,在本发明实施例第一方面中,所述在所述比对结果指示确认所述视频图像与所述合法面部图像不匹配时,发出用于警示所述当前用户离开的警示信息之后,所述方法还包括:As an optional implementation, in the first aspect of the embodiment of the present invention, when the comparison result indicates that the video image does not match the legal facial image, sending a message to warn the current After the user leaves the warning message, the method further includes:
向所述后台服务器发送查询指令,所述查询指令用于请求所述后台服务器检测是否存在所述用户面部图像的匹配合法面部图像;Sending a query instruction to the background server, the query instruction is used to request the background server to detect whether there is a matching legal facial image of the user's facial image;
接收所述后台服务器发送的路线引导指示,所述路线引导指示为所述后台服务器在确定存在所述用户面部图像的匹配合法面部图像时生成,所述路线引导指令携带有所述用户面部图像的目标门牌号信息以及到达所述目标门牌号信息对应的门锁的路线信息;receiving the route guidance instruction sent by the background server, the route guidance instruction is generated by the background server when it is determined that there is a legal facial image matching the user's facial image, and the route guidance instruction carries the user's facial image Target house number information and route information to the door lock corresponding to the target house number information;
输出所述路线信息以引导用户到达所述目标门牌号信息对应的门锁的所在位置。The route information is output to guide the user to the location of the door lock corresponding to the target house number information.
本发明实施例第二方面公开一种可穿戴设备,所述可穿戴设备包括的智能主机以可转动方式设在所述可穿戴设备的支架上,所述智能主机正对设置的主机底面和主机顶面上各设有一个拍摄模组,所述智能主机包括:The second aspect of the embodiment of the present invention discloses a wearable device. The smart host included in the wearable device is rotatably arranged on the bracket of the wearable device. The smart host faces the bottom surface of the host and the host. Each of the top surfaces is provided with a camera module, and the smart host includes:
第一拍摄单元,用于控制第一拍摄模组拍摄门牌获得门牌号信息;其中,所述第一拍摄模组为设于所述主机底面的拍摄模组或者为设于所述主机顶面的拍摄模组;The first photographing unit is used to control the first photographing module to photograph the house number to obtain house number information; wherein, the first photographing module is a photographing module arranged on the bottom surface of the host or is arranged on the top surface of the host shooting module;
第一发送单元,用于将所述门牌号信息发送至后台服务器;a first sending unit, configured to send the house number information to a background server;
第二拍摄单元,用于控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收所述后台服务器发送的根据所述门牌号信息匹配得到的合法面部图像;当所述第一拍摄模组为设于所述主机底面的拍摄模组时,所述第二拍摄模组为设于所述主机顶面的拍摄模组,当所述第一拍摄模组为设于所述主机顶面的拍摄模组时,所述第二拍摄模组为设于所述主机底面的拍摄模组;The second photographing unit is used to control the second photographing module to photograph the facial image of the user, obtain the facial image of the user, and receive the legal facial image sent by the background server according to the matching of the house number information; when the first When the photographing module is the photographing module arranged on the bottom surface of the host, the second photographing module is the photographing module arranged on the top surface of the host, and when the first photographing module is arranged on the host In the case of the shooting module on the top surface, the second shooting module is a shooting module arranged on the bottom surface of the host;
判断单元,用于判断所述用户面部图像与所述合法面部图像是否相匹配;A judging unit, configured to judge whether the user's facial image matches the legal facial image;
开启单元,用于在所述判断单元判断出所述用户面部图像与所述合法面部图像相匹配时,控制所述门牌号信息对应的门锁执行开启操作。An opening unit, configured to control the door lock corresponding to the house number information to perform an opening operation when the judging unit judges that the facial image of the user matches the legal facial image.
作为一种可选的实施方式,在本发明实施例第二方面中,所述智能主机还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the smart host further includes:
提醒单元,用于在所述判断单元判断出所述用户面部图像与所述合法面部图像不匹配时,向所述后台服务器发送提醒消息,所述提醒消息携带所述可穿戴设备的设备标识号以及内置于所述智能主机的近场通信NFC模块的模块标识号,所述提醒消息用于提醒所述后台服务器通过所述可穿戴设备控制所述门牌号信息对应的门锁的当前用户的所述用户面部图像与所述合法面部图像不匹配,以使所述后台服务器在根据所述设备标识号以及所述模块标识号确定所述可穿戴设备为获得所述门牌号信息对应的门锁的控制权限的可穿戴设备时发送近距离通信开启指令;A reminder unit, configured to send a reminder message to the background server when the judging unit judges that the user's facial image does not match the legal facial image, the reminder message carrying the device identification number of the wearable device And the module identification number of the near field communication NFC module built in the smart host, the reminder message is used to remind the background server to control the current user's door lock corresponding to the house number information through the wearable device The user's facial image does not match the legal facial image, so that the background server determines that the wearable device is the one that obtains the door lock corresponding to the house number information according to the device identification number and the module identification number Send a short-range communication start command when controlling the wearable device with permission;
第一接收单元,用于接收所述近距离通信开启指令,并根据所述近距离通信开启指令打开所述NFC模块的读写功能,以使所述后台服务器控制设置于所述门牌号信息对应的门锁附近的拍摄装置通过从所述NFC模块读取所述模块标识号以对所述可穿戴设备进行定位,并控制所述拍摄装置对所述当前用户进行视频监控;The first receiving unit is used to receive the short-distance communication opening instruction, and open the read-write function of the NFC module according to the short-distance communication opening instruction, so that the background server control is set to correspond to the house number information The photographing device near the door lock locates the wearable device by reading the module identification number from the NFC module, and controls the photographing device to perform video surveillance on the current user;
第二接收单元,用于接收所述后台服务器发送的警示信息,所述警示信息为所述后台服务器根据视频监控得到的视频图像与所述合法面部图像的比对结果生成得到;The second receiving unit is used to receive the warning information sent by the background server, the warning information is generated by the background server according to the comparison result of the video image obtained by video monitoring and the legal facial image;
警示单元,用于在所述比对结果指示确认所述视频图像与所述合法面部图像不匹配时,发出用于警示所述当前用户离开的警示信息。A warning unit, configured to issue a warning message for warning the current user to leave when the comparison result indicates that the video image does not match the legal facial image.
作为一种可选的实施方式,在本发明实施例第二方面中,所述智能主机还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the smart host further includes:
连接单元,用于在所述第一拍摄单元控制第一拍摄模组拍摄门牌获得门牌号信息之前,与所述后台服务器建立通信连接,并获得对所述后台服务器分配的所述合法面部图像对应的合法门牌号信息对应的门锁的控制权限;A connection unit, configured to establish a communication connection with the background server before the first photographing unit controls the first photographing module to photograph the house number to obtain the house number information, and obtain the legal facial image corresponding to the background server. The control authority of the door lock corresponding to the legal house number information;
第二发送单元,用于将所述设备标识号与所述模块标识号发送给所述后台服务器,以使所述后台服务器关联存储所述设备标识号、所述模块标识号、分配的所述合法门牌号信息以及所述后台服务器拍摄得到的所述合法面部图像。The second sending unit is configured to send the device identification number and the module identification number to the background server, so that the background server associates and stores the device identification number, the module identification number, the assigned legal house number information and the legal facial image captured by the background server.
作为一种可选的实施方式,在本发明实施例第二方面中,所述智能主机还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the smart host further includes:
第三发送单元,用于在所述判断单元判断出所述用户面部图像与所述合法面部图像相匹配之后,以及所述开启单元控制所述门牌号信息对应的门锁执行开启操作之前,向所述后台服务器发送所述用户面部图像与所述合法面部图像相匹配的第一匹配结果;The third sending unit is configured to send a message to the user after the judging unit judges that the facial image of the user matches the legal facial image and before the unlocking unit controls the door lock corresponding to the house number information to perform an unlocking operation. The background server sends the first matching result that the user's facial image matches the legal facial image;
第三接收单元,用于接收所述后台服务器根据所述第一匹配结果发送的针对所述门牌号信息的门锁开启指令;A third receiving unit, configured to receive a door lock unlock instruction for the house number information sent by the background server according to the first matching result;
所述开启单元,具体用于根据所述门锁开启指令控制所述门牌号信息对应的门锁执行开启操作。The opening unit is specifically configured to control the door lock corresponding to the house number information to perform an opening operation according to the door lock opening instruction.
作为一种可选的实施方式,在本发明实施例第二方面中,所述智能主机还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the smart host further includes:
第四发送单元,用于在所述警示单元在所述比对结果指示确认所述视频图像与所述合法面部图像不匹配时,发出用于警示所述当前用户离开的警示信息之后,向所述后台服务器发送查询指令,所述查询指令用于请求所述后台服务器检测是否存在所述用户面部图像的匹配合法面部图像;The fourth sending unit is configured to, after the warning unit sends out warning information for warning the current user to leave when the comparison result indicates that the video image does not match the legal facial image, send a message to all The background server sends a query instruction, and the query instruction is used to request the background server to detect whether there is a matching legal facial image of the user's facial image;
第四接收单元,用于接收所述后台服务器发送的路线引导指示,所述路线引导指示为所述后台服务器在确定存在所述用户面部图像的匹配合法面部图像时生成,所述路线引导指令携带有所述用户面部图像的目标门牌号信息以及到达所述目标门牌号信息对应的门锁的路线信息;The fourth receiving unit is configured to receive a route guidance instruction sent by the background server, the route guidance instruction is generated by the background server when it is determined that there is a legal facial image matching the user's facial image, and the route guidance instruction carries There is the target house number information of the user's face image and the route information to the door lock corresponding to the target house number information;
输出单元,用于输出所述路线信息以引导用户到达所述目标门牌号信息对应的门锁的所在位置。An output unit, configured to output the route information to guide the user to the location of the door lock corresponding to the target house number information.
本发明实施例第三方面公开一种可穿戴设备,包括:The third aspect of the embodiment of the present invention discloses a wearable device, including:
存储有可执行程序代码的存储器;a memory storing executable program code;
与所述存储器耦合的处理器;a processor coupled to the memory;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行本发明实施例第一方面公开的一种基于可穿戴设备的门锁控制方法。The processor invokes the executable program code stored in the memory to execute a wearable device-based door lock control method disclosed in the first aspect of the embodiments of the present invention.
本发明实施例第四方面公开一种计算机可读存储介质,其存储计算机程序,其中,所述计算机程序使得计算机执行本发明实施例第一方面公开的一种基于可穿戴设备的门锁控制方法。The fourth aspect of the embodiment of the present invention discloses a computer-readable storage medium, which stores a computer program, wherein the computer program causes the computer to execute a wearable device-based door lock control method disclosed in the first aspect of the embodiment of the present invention .
本发明实施例第五方面公开一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。A fifth aspect of the embodiments of the present invention discloses a computer program product, which causes the computer to execute part or all of the steps of any one of the methods in the first aspect when the computer program product is run on a computer.
本发明实施例第六方面公开一种应用发布平台,所述应用发布平台用于发布计算机程序产品,其中,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。The sixth aspect of the embodiments of the present invention discloses an application distribution platform, which is used to distribute computer program products, wherein, when the computer program products run on a computer, the computer executes any of the aspects of the first aspect. Some or all steps of a method.
与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
本发明实施例中,控制第一拍摄模组拍摄门牌获得门牌号信息,将该门牌号信息发送至后台服务器;控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收后台服务器发送的根据门牌号信息匹配得到的合法面部图像;判断用户面部图像与合法面部图像是否相匹配,如果匹配,控制门牌号信息对应的门锁执行开启操作。可见,实施本发明实施例,将第一拍摄模组拍摄门牌获得的门牌号信息发送至后台服务器,然后在判断出后台服务器发送的合法面部图像和第二拍摄模组拍摄的用户面部图像相匹配时,开启该门牌号信息对应的房门,可以在不使用房卡的情况下方便快捷地开启房门,避免使用房卡时带来的各种麻烦问题,能够提高安全性和用户体验感,减少酒店工作人员的工作量。In the embodiment of the present invention, the first photographing module is controlled to photograph the house number to obtain the house number information, and the house number information is sent to the background server; the second photographing module is controlled to photograph the user's face image, obtain the user's face image, and receive the house number information from the background server The legal facial image sent according to the matching of the house number information; judge whether the user's facial image matches the legal facial image, and if it matches, control the door lock corresponding to the house number information to perform the opening operation. It can be seen that, implementing the embodiment of the present invention, the house number information obtained by the first photographing module photographing the house plate is sent to the background server, and then it is judged that the legal facial image sent by the background server matches the user facial image photographed by the second photographing module When you open the door corresponding to the house number information, you can open the door conveniently and quickly without using the room card, avoiding various troubles caused by using the room card, and improving security and user experience. Reduce workload for hotel staff.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1是本发明实施例公开的一种可穿戴设备的结构示意图;Fig. 1 is a schematic structural diagram of a wearable device disclosed in an embodiment of the present invention;
图2是图1另一视角的示意图;Fig. 2 is a schematic diagram of another perspective of Fig. 1;
图3是本发明实施例公开的一种基于可穿戴设备的门锁控制方法的流程示意图;Fig. 3 is a schematic flowchart of a door lock control method based on a wearable device disclosed in an embodiment of the present invention;
图4是本发明实施例公开的另一种基于可穿戴设备的门锁控制方法的流程示意图;Fig. 4 is a schematic flowchart of another door lock control method based on a wearable device disclosed in an embodiment of the present invention;
图5是本发明实施例公开的另一种基于可穿戴设备的门锁控制方法的流程示意图;Fig. 5 is a schematic flowchart of another door lock control method based on a wearable device disclosed in an embodiment of the present invention;
图6是本发明实施例公开的另一种可穿戴设备的结构示意图;Fig. 6 is a schematic structural diagram of another wearable device disclosed in an embodiment of the present invention;
图7是本发明实施例公开的另一种可穿戴设备的结构示意图;Fig. 7 is a schematic structural diagram of another wearable device disclosed in an embodiment of the present invention;
图8是本发明实施例公开的另一种可穿戴设备的结构示意图;Fig. 8 is a schematic structural diagram of another wearable device disclosed in an embodiment of the present invention;
图9是本发明实施例公开的另一种可穿戴设备的结构示意图。Fig. 9 is a schematic structural diagram of another wearable device disclosed by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同的对象,而不是用于描述特定顺序。本发明实施例的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", "third" and "fourth" in the specification and claims of the present invention are used to distinguish different objects, rather than to describe specific order. The terms "comprising" and "having" and any variations thereof in the embodiments of the present invention are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to expressly instead of those steps or elements listed, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
请参阅图1和图2,图1是本发明实施例公开的一种可穿戴设备的结构示意图,图2是图1另一视角的示意图。在图1和图2中,可穿戴设备包括的智能主机101以可转动方式设在可穿戴设备的支架104上,以使智能主机101在第一姿态位置和第二姿态位置之间转换,智能主机101包括正对设置的主机顶面1013和主机底面1014,主机顶面1013设有一个拍摄模组1011,主机底面1014设有一个拍摄模组1012,主机顶面1013和主机底面1014的拍摄模组在第一姿态位置获得的拍摄角度和在第二姿态位置获得的拍摄角度不同,能够满足用户的不同拍摄角度需求。另外,支架104连接于侧带的两侧带端部之间,侧带的一个侧带102的端部通过第一转轴105轴接于支架104的第一端,而侧带的另一个侧带103的端部连接支架104的第二端。Please refer to FIG. 1 and FIG. 2 , FIG. 1 is a schematic structural diagram of a wearable device disclosed in an embodiment of the present invention, and FIG. 2 is a schematic diagram of another perspective of FIG. 1 . In FIG. 1 and FIG. 2, the smart host 101 included in the wearable device is rotatably arranged on the bracket 104 of the wearable device, so that the smart host 101 can switch between the first posture position and the second posture position, and the smart host 101 The host 101 includes a host top surface 1013 and a host bottom surface 1014 facing to each other. The host top surface 1013 is provided with a photographing module 1011, and the host bottom surface 1014 is provided with a photographing module 1012. The photographing modules of the host top surface 1013 and the host bottom surface 1014 The shooting angle obtained by the group at the first pose position is different from the shooting angle obtained at the second pose position, which can meet different shooting angle requirements of users. In addition, the bracket 104 is connected between the ends of the side bands on both sides, the end of one side band 102 of the side band is pivotally connected to the first end of the bracket 104 through the first rotating shaft 105, and the other side band of the side band The end of 103 is connected to the second end of bracket 104 .
本发明实施例公开一种基于可穿戴设备的门锁控制方法及可穿戴设备,能够提高安全性和用户体验感,减少酒店工作人员的工作量。以下结合附图,从智能主机角度出发进行详细描述。The embodiment of the present invention discloses a door lock control method based on a wearable device and the wearable device, which can improve security and user experience, and reduce the workload of hotel staff. The following describes in detail from the perspective of the smart host with reference to the accompanying drawings.
实施例一Embodiment one
请结合图1和图2,参阅图3,图3是本发明实施例公开的一种基于可穿戴设备的门锁控制方法的流程示意图。其中,图3所描述的基于可穿戴设备的门锁控制方法可以应用于前面实施例描述的可穿戴设备。如前面实施例描述的,可穿戴设备包括的智能主机以可转动方式设在可穿戴设备的支架上,该智能主机的主机顶面正对该智能主机的主机底面,主机顶面和主机底面各自设有一个拍摄模组。如图3所示,该基于可穿戴设备的门锁控制方法可以包括以下步骤:Please refer to FIG. 3 in conjunction with FIG. 1 and FIG. 2 . FIG. 3 is a schematic flowchart of a wearable device-based door lock control method disclosed in an embodiment of the present invention. Wherein, the door lock control method based on the wearable device described in FIG. 3 can be applied to the wearable device described in the previous embodiments. As described in the previous embodiments, the smart host included in the wearable device is rotatably arranged on the bracket of the wearable device, the top surface of the smart host is facing the bottom surface of the smart host, and the top surface of the host and the bottom surface of the host are respectively There is a camera module. As shown in Figure 3, the door lock control method based on the wearable device may include the following steps:
301、智能主机控制第一拍摄模组拍摄门牌获得门牌号信息。301. The smart host controls the first photographing module to photograph the house number to obtain house number information.
本发明实施例中,可穿戴设备还包括支架104,智能主机101设置在支架104上;由于可穿戴设备包括的智能主机以可转动方式设在可穿戴设备的支架上,因此,可以通过手动转动智能主机来调整智能主机与支架之间的转动角度,从而使智能主机从第一姿态位置转动至第二姿态位置,并获得不同于在第一姿态位置时的拍摄角度,其中,智能主机与支架之间的转动角度可以在0~90°之间。例如,将智能主机叠设在支架上时的位置设为第一姿态位置,此时智能主机与支架之间的角度为0°,第一拍摄模组和第二拍摄模组相对于支架的夹角也为0°夹角;而当智能主机转动至目标角度,并保持在目标角度时,智能主机与支架之间的目标角度可优选为90°,此时获得第二姿态位置,第一拍摄模组和第二拍摄模组相对于支架的夹角也为90°夹角,从而实现对第一拍摄模组和第二拍摄模组的拍摄角度的调整。本发明实施例中,智能主机与支架之间的转动角度可以在0~90°之间调整,优选地,该转动角度可为0°、30°、45°、60°、75°或90°。在需要拍摄模组进行拍摄时,手动转动智能主机使得第一拍摄模组和第二拍摄模组获得合适的拍摄角度,开启并控制第一拍摄模组和/或第二拍摄模组进行图像拍摄,获得待处理图像。In the embodiment of the present invention, the wearable device also includes a bracket 104, and the smart host 101 is arranged on the bracket 104; since the smart host included in the wearable device is rotatably arranged on the bracket of the wearable device, it can be rotated manually The smart host adjusts the rotation angle between the smart host and the bracket, so that the smart host rotates from the first attitude position to the second attitude position, and obtains a shooting angle different from that at the first attitude position, wherein the smart host and the bracket The rotation angle between them can be between 0° and 90°. For example, the position when the smart host is stacked on the bracket is set as the first attitude position. At this time, the angle between the smart host and the bracket is 0°, and the clip between the first shooting module and the second shooting module relative to the bracket Angle is also 0° included angle; and when the smart host turns to the target angle and remains at the target angle, the target angle between the smart host and the support can be preferably 90°, at this time the second attitude position is obtained, and the first shooting The included angle between the module and the second shooting module relative to the bracket is also 90°, so as to realize the adjustment of the shooting angles of the first shooting module and the second shooting module. In the embodiment of the present invention, the rotation angle between the smart host and the bracket can be adjusted between 0° and 90°, preferably, the rotation angle can be 0°, 30°, 45°, 60°, 75° or 90° . When the shooting module is required to take pictures, manually turn the smart host to make the first shooting module and the second shooting module obtain a suitable shooting angle, open and control the first shooting module and/or the second shooting module for image shooting , to obtain the image to be processed.
其中,第一拍摄模组为设于主机底面的拍摄模组或者为设于主机顶面的拍摄模组。Wherein, the first photographing module is a photographing module arranged on the bottom surface of the host or a photographing module arranged on the top surface of the host.
302、智能主机将门牌号信息发送至后台服务器。302. The smart host sends the house number information to the background server.
本发明实施例中,智能主机与后台服务器之间建立通信连接,可以实现智能主机和后台服务器之间的信息发送和接收,所以智能主机可以将门牌号信息发送至后台服务器。In the embodiment of the present invention, a communication connection is established between the smart host and the background server, which can realize information sending and receiving between the smart host and the background server, so the smart host can send the house number information to the background server.
303、智能主机控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收后台服务器发送的根据门牌号信息匹配得到的合法面部图像。303. The smart host controls the second camera module to capture the user's facial image, obtain the user's facial image, and receive the legal facial image matched with the house number information sent by the background server.
其中,当第一拍摄模组为设于主机底面的拍摄模组时,第二拍摄模组为设于主机顶面的拍摄模组,当第一拍摄模组为设于主机顶面的拍摄模组时,第二拍摄模组为设于主机底面的拍摄模组。Wherein, when the first photographing module is the photographing module arranged on the bottom surface of the host, the second photographing module is the photographing module arranged on the top surface of the host, and when the first photographing module is the photographing module arranged on the top surface of the host When assembled, the second photographing module is a photographing module arranged on the bottom surface of the host.
304、智能主机判断用户面部图像与合法面部图像是否相匹配。304. The smart host determines whether the user's facial image matches the legitimate facial image.
作为一种可选的实施方式,智能主机放大用户面部图像,对放大后的用户面部图像进行滤波处理,获得预处理面部图像;然后,提取预处理面部图像中至少包括眼睛、鼻子、嘴巴、眉毛和面部外轮廓的面部特征点,并确定预处理面部图像的方向信息,基于方向信息对面部特征点进行拟合,获得用户面部图像对应的面部特征;智能主机判断用户面部图像对应的面部特征与合法面部图像对应的面部特征的匹配程度,从而判断用户面部图像与合法面部图像是否相匹配。通过该实施方式,能够根据用户面部图像对应的面部特征与合法面部图像对应的面部特征的匹配程度来判断用户面部图像与合法面部图像是否相匹配,从而提高了判断的可信度和安全性。As an optional implementation, the smart host enlarges the user's facial image, performs filtering processing on the enlarged user's facial image, and obtains a pre-processed facial image; and the facial feature points of the outer contour of the face, and determine the direction information of the pre-processed facial image, fit the facial feature points based on the direction information, and obtain the facial features corresponding to the user's facial image; the intelligent host judges the facial features corresponding to the user's facial image and The matching degree of the facial features corresponding to the legal facial image, so as to determine whether the user's facial image matches the legal facial image. Through this embodiment, it can be judged whether the user's facial image matches the legitimate facial image according to the matching degree of the facial features corresponding to the user's facial image and the facial features corresponding to the legal facial image, thereby improving the reliability and security of the judgment.
305、当用户面部图像与合法面部图像相匹配时,智能主机控制门牌号信息对应的门锁执行开启操作。305. When the user's facial image matches the legitimate facial image, the smart host controls the door lock corresponding to the house number information to perform an unlocking operation.
作为一种可选的实施方式,智能主机控制拍摄模组拍摄用户的面部图像,采集用户虹膜信息;智能主机在将门牌号信息发送至后台服务器之后,接收后台服务器发送的根据门牌号信息匹配得到的合法虹膜信息;在判断出用户虹膜信息与合法虹膜信息相匹配时,智能主机控制门牌号信息对应的门锁执行开启操作。通过该实施方式,能够根据用户的虹膜信息来判定用户控制门牌号信息对应的门锁执行开启的操作是否合法,可以提高安全系数,保障用户的人身安全。As an optional implementation, the smart host controls the camera module to take pictures of the user's face and collect the user's iris information; after the smart host sends the house number information to the background server, it receives the house number information sent by the background server to match the legal iris information; when judging that the iris information of the user matches the legal iris information, the smart host controls the door lock corresponding to the house number information to perform the opening operation. Through this embodiment, it can be judged according to the user's iris information whether the user's operation of controlling the door lock corresponding to the house number information to open is legal, which can improve the safety factor and ensure the user's personal safety.
本发明实施例中,根据前面实施例描述的内容可知,在佩戴可穿戴设备的用户利用可穿戴设备进行拍摄门牌之前,可以调整智能主机101相对底部支架104的角度为90°,相应的智能主机101的拍摄模组1011和拍摄模组1012相对底部支架的夹角也为90°夹角;在此基础上,控制第一拍摄模组拍摄门牌获得门牌号信息,将该门牌号信息发送至后台服务器;控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收后台服务器发送的根据门牌号信息匹配得到的合法面部图像;判断用户面部图像与合法面部图像是否相匹配,如果匹配,控制门牌号信息对应的门锁执行开启操作,能够提高安全性和用户体验感,减少酒店工作人员的工作量。此外,实施本发明实施例,由于可穿戴设备包括的智能主机以可转动方式设在可穿戴设备的支架上,并且智能主机的主机顶面以及主机底面各自设有一个拍摄模组,这可以无需用户扭转佩戴可穿戴设备的手臂的情况下调整拍摄角度,避免扭转佩戴可穿戴设备的手臂调整拍摄角度时带来的手臂疲惫感,提升用户的使用体验性。In the embodiment of the present invention, according to the content described in the previous embodiments, before the user wearing the wearable device uses the wearable device to take pictures of the house number, the angle of the smart host 101 relative to the bottom bracket 104 can be adjusted to 90°, and the corresponding smart host The included angle between the shooting module 1011 and the shooting module 1012 of 101 is also 90° with respect to the bottom bracket; on this basis, control the first shooting module to take pictures of the house number to obtain the house number information, and send the house number information to the background Server; control the second camera module to take the user's facial image, obtain the user's facial image, and receive the legal facial image sent by the background server according to the house number information matching; judge whether the user's facial image matches the legal facial image, if they match , control the door lock corresponding to the house number information to perform the opening operation, which can improve security and user experience, and reduce the workload of hotel staff. In addition, to implement the embodiment of the present invention, since the smart host included in the wearable device is rotatably arranged on the bracket of the wearable device, and the top surface of the smart host and the bottom surface of the host are each equipped with a camera module, which can eliminate the need for The user adjusts the shooting angle while twisting the arm wearing the wearable device, avoiding the arm fatigue caused by twisting the arm wearing the wearable device to adjust the shooting angle, and improving the user experience.
实施例二Embodiment two
请结合图1和图2,参阅图4,图4是本发明实施例公开的一种基于可穿戴设备的门锁控制方法的流程示意图。如图4所示,该基于可穿戴设备的门锁控制方法可以包括以下步骤:Please refer to FIG. 4 in conjunction with FIG. 1 and FIG. 2 . FIG. 4 is a schematic flowchart of a wearable device-based door lock control method disclosed in an embodiment of the present invention. As shown in Figure 4, the door lock control method based on the wearable device may include the following steps:
401、智能主机与后台服务器建立通信连接,并获得对后台服务器分配的合法面部图像对应的合法门牌号信息对应的门锁的控制权限。401. The smart host establishes a communication connection with the background server, and obtains the control authority of the door lock corresponding to the legal house number information corresponding to the legal facial image assigned by the background server.
作为一种可选的实施方式,智能主机可以向后台服务器发送通信请求,该通信请求携带用户信息,然后智能主机接收到后台服务器发送的身份验证信息之后,输入用户的指纹信息进行验证,身份验证成功后智能主机与后台服务器建立通信连接,智能主机将用户面部图像上传至后台服务其作为合法面部图像,并获得对后台服务器分配的合法面部图像对应的合法门牌号信息对应的门锁的控制权限。通过该实施方式,能够通过验证指纹信息进一步验证用户身份信息,验证成功后才与后台服务器建立通信连接,同时录入用户信息,分配合法门牌号信息,能够简化信息录入的操作,提高安全性。As an optional implementation, the smart host can send a communication request to the background server, the communication request carries user information, and after receiving the identity verification information sent by the background server, the smart host inputs the user's fingerprint information for verification, and the identity verification After the success, the smart host establishes a communication connection with the background server, and the smart host uploads the user's facial image to the background service as a legal facial image, and obtains the control authority of the door lock corresponding to the legal house number information corresponding to the legal facial image assigned by the background server . Through this embodiment, the user identity information can be further verified by verifying the fingerprint information. After the verification is successful, a communication connection is established with the background server, and the user information is entered at the same time, and the legal house number information is assigned, which can simplify the operation of information entry and improve security.
402、智能主机将设备标识号与模块标识号发送给后台服务器,以使后台服务器关联存储可穿戴设备的设备标识号、内置于智能主机的近场通信NFC模块的模块标识号、分配的合法门牌号信息以及后台服务器拍摄得到的合法面部图像。402. The smart host sends the device identification number and the module identification number to the background server, so that the background server associates and stores the device identification number of the wearable device, the module identification number of the near-field communication NFC module built in the smart host, and the assigned legal house number ID information and legal facial images captured by the background server.
本发明实施例中,智能主机将设备标识号与模块标识号发送给后台服务器之后,后台服务器可以根据设备标识号检测到可穿戴设备信息,并获取可穿戴设备的位置信息;门锁可以识别出内置于智能主机的近场通信NFC模块的模块标识号,智能主机可以通过模块标识号定位到门锁所在的位置。In the embodiment of the present invention, after the smart host sends the device identification number and module identification number to the background server, the background server can detect the information of the wearable device according to the device identification number, and obtain the location information of the wearable device; the door lock can identify The module identification number of the near-field communication NFC module built in the smart host, the smart host can locate the location of the door lock through the module identification number.
403、智能主机控制第一拍摄模组拍摄门牌获得门牌号信息。403. The smart host controls the first camera module to capture house number information to obtain house number information.
404、智能主机将门牌号信息发送至后台服务器。404. The smart host sends the house number information to the background server.
405、智能主机控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收后台服务器发送的根据门牌号信息匹配得到的合法面部图像。405. The smart host controls the second camera module to capture the user's facial image, obtain the user's facial image, and receive the legitimate facial image matched with the house number information sent by the background server.
406、智能主机判断用户面部图像与合法面部图像是否相匹配;如果是,执行步骤407;如果否,执行步骤408。406. The smart host judges whether the facial image of the user matches the legitimate facial image; if yes, execute step 407; if not, execute step 408.
407、智能主机控制门牌号信息对应的门锁执行开启操作。407. The smart host controls the door lock corresponding to the house number information to perform an opening operation.
408、智能主机向后台服务器发送提醒消息,该提醒消息携带可穿戴设备的设备标识号以及内置于智能主机的近场通信NFC模块的模块标识号,该提醒消息用于提醒后台服务器通过可穿戴设备控制门牌号信息对应的门锁的当前用户的用户面部图像与合法面部图像不匹配,以使后台服务器在根据设备标识号以及模块标识号确定可穿戴设备为获得门牌号信息对应的门锁的控制权限的可穿戴设备时发送近距离通信开启指令。408. The smart host sends a reminder message to the background server. The reminder message carries the device identification number of the wearable device and the module identification number of the near-field communication NFC module built in the smart host. The reminder message is used to remind the background server to pass through the wearable device. The face image of the current user who controls the door lock corresponding to the house number information does not match the legal face image, so that the background server determines that the wearable device is the control of the door lock corresponding to the house number information according to the device identification number and the module identification number. Send a short-range communication enable command to a wearable device with permission.
409、智能主机接收近距离通信开启指令,并根据近距离通信开启指令打开NFC模块的读写功能,以使后台服务器控制设置于门牌号信息对应的门锁附近的拍摄装置通过从NFC模块读取模块标识号以对可穿戴设备进行定位,并控制拍摄装置对当前用户进行视频监控。409. The smart host receives the short-distance communication opening instruction, and enables the reading and writing function of the NFC module according to the short-distance communication opening instruction, so that the background server controls the camera installed near the door lock corresponding to the house number information to read from the NFC module. The module identification number is used to locate the wearable device and control the camera to monitor the current user.
410、智能主机接收后台服务器发送的警示信息,该警示信息为后台服务器根据视频监控得到的视频图像与合法面部图像的比对结果生成得到。410. The smart host receives the warning information sent by the background server. The warning information is generated by the background server according to the comparison result between the video image obtained by video monitoring and the legal facial image.
411、在比对结果指示确认视频图像与合法面部图像不匹配时,智能主机发出用于警示当前用户离开的警示信息。411. When the comparison result indicates that the confirmed video image does not match the legal facial image, the smart host sends out an alert message for alerting the current user to leave.
可见,实施图4所描述的基于可穿戴设备的门锁控制方法,智能主机可以与后台服务器建立通信连接,并获得对后台服务器分配的合法面部图像对应的合法门牌号信息对应的门锁的控制权限,然后控制第一拍摄模组拍摄门牌获得门牌号信息,将该门牌号信息发送至后台服务器;控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收后台服务器发送的根据门牌号信息匹配得到的合法面部图像;判断用户面部图像与合法面部图像是否相匹配,如果匹配,控制门牌号信息对应的门锁执行开启操作;如果不匹配,发出用于警示当前用户离开的警示信息。通过该实施方式,能够在用户面部图像与合法面部图像相匹配时,控制门牌号信息对应的门锁执行开启操作;在用户面部图像与合法面部图像不匹配时,发出用于警示当前用户离开的警示信息,提高了安全性和用户体验感。It can be seen that, implementing the wearable device-based door lock control method described in Figure 4, the smart host can establish a communication connection with the background server, and obtain the control of the door lock corresponding to the legal house number information corresponding to the legal facial image assigned by the background server Then control the first camera module to take pictures of the house number to obtain the house number information, and send the house number information to the background server; control the second camera module to take pictures of the user's face image, obtain the user's face image, and receive the basis sent by the background server The legal facial image obtained by matching the house number information; judging whether the user’s facial image matches the legal facial image, and if they match, control the door lock corresponding to the house number information to perform the opening operation; if they do not match, issue a warning to warn the current user to leave information. Through this embodiment, when the user's facial image matches the legal facial image, the door lock corresponding to the house number information can be controlled to perform an opening operation; Warning information improves security and user experience.
实施例三Embodiment three
请结合图1和图2,参阅图5,图5是本发明实施例公开的一种基于可穿戴设备的门锁控制方法的流程示意图。如图5所示,该基于可穿戴设备的门锁控制方法可以包括以下步骤:Please refer to FIG. 5 in conjunction with FIG. 1 and FIG. 2 . FIG. 5 is a schematic flowchart of a wearable device-based door lock control method disclosed in an embodiment of the present invention. As shown in Figure 5, the door lock control method based on the wearable device may include the following steps:
501、智能主机与后台服务器建立通信连接,并获得对后台服务器分配的合法面部图像对应的合法门牌号信息对应的门锁的控制权限;501. The smart host establishes a communication connection with the background server, and obtains the control authority of the door lock corresponding to the legal house number information corresponding to the legal facial image assigned by the background server;
502、智能主机将设备标识号与模块标识号发送给后台服务器,以使后台服务器关联存储可穿戴设备的设备标识号、内置于智能主机的近场通信NFC模块的模块标识号、分配的合法门牌号信息以及后台服务器拍摄得到的合法面部图像。502. The smart host sends the device identification number and the module identification number to the background server, so that the background server associates and stores the device identification number of the wearable device, the module identification number of the near-field communication NFC module built in the smart host, and the assigned legal house number ID information and legal facial images captured by the background server.
503、智能主机控制第一拍摄模组拍摄门牌获得门牌号信息。503. The smart host controls the first camera module to photograph the house number to obtain house number information.
504、智能主机将门牌号信息发送至后台服务器504. The smart host sends the house number information to the background server
505、智能主机控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收后台服务器发送的根据门牌号信息匹配得到的合法面部图像。505. The smart host controls the second camera module to capture the user's facial image, obtain the user's facial image, and receive the legal facial image matched with the house number information sent by the background server.
506、智能主机判断用户面部图像与合法面部图像是否相匹配;如果是,执行步骤507;如果否,执行步骤510。506. The smart host judges whether the facial image of the user matches the legitimate facial image; if yes, execute step 507; if not, execute step 510.
507、智能主机向后台服务器发送用户面部图像与合法面部图像相匹配的第一匹配结果。507. The smart host sends the first matching result that the user's facial image matches the legal facial image to the background server.
508、智能主机接收后台服务器根据第一匹配结果发送的针对门牌号信息的门锁开启指令。508. The smart host receives the door lock opening instruction for the house number information sent by the background server according to the first matching result.
509、智能主机根据门锁开启指令控制门牌号信息对应的门锁执行开启操作。509. The smart host controls the door lock corresponding to the house number information to perform an opening operation according to the door lock opening instruction.
510、智能主机向后台服务器发送提醒消息,该提醒消息携带可穿戴设备的设备标识号以及内置于智能主机的近场通信NFC模块的模块标识号,该提醒消息用于提醒后台服务器通过可穿戴设备控制门牌号信息对应的门锁的当前用户的用户面部图像与合法面部图像不匹配,以使后台服务器在根据设备标识号以及模块标识号确定可穿戴设备为获得门牌号信息对应的门锁的控制权限的可穿戴设备时发送近距离通信开启指令。510. The smart host sends a reminder message to the background server. The reminder message carries the device identification number of the wearable device and the module identification number of the near field communication NFC module built in the smart host. The reminder message is used to remind the background server to pass through the wearable device. The face image of the current user who controls the door lock corresponding to the house number information does not match the legal face image, so that the background server determines that the wearable device is the control of the door lock corresponding to the house number information according to the device identification number and the module identification number. Send a short-range communication enable command to a wearable device with permission.
511、智能主机接收近距离通信开启指令,并根据近距离通信开启指令打开NFC模块的读写功能,以使后台服务器控制设置于门牌号信息对应的门锁附近的拍摄装置通过从NFC模块读取模块标识号以对可穿戴设备进行定位,并控制拍摄装置对当前用户进行视频监控。511. The smart host receives the short-distance communication opening instruction, and according to the short-distance communication opening instruction, enables the reading and writing function of the NFC module, so that the background server controls the camera device installed near the door lock corresponding to the house number information to read from the NFC module. The module identification number is used to locate the wearable device and control the camera to monitor the current user.
512、智能主机接收后台服务器发送的警示信息,该警示信息为后台服务器根据视频监控得到的视频图像与合法面部图像的比对结果生成得到。512. The smart host receives the warning information sent by the background server. The warning information is generated by the background server according to the comparison result between the video image obtained by video monitoring and the legal facial image.
513、在比对结果指示确认视频图像与合法面部图像不匹配时,智能主机发出用于警示当前用户离开的警示信息。513. When the comparison result indicates that the confirmed video image does not match the legitimate facial image, the smart host sends out an alert message for alerting the current user to leave.
514、智能主机向后台服务器发送查询指令,该查询指令用于请求后台服务器检测是否存在用户面部图像的匹配合法面部图像。514. The smart host sends a query instruction to the background server, where the query instruction is used to request the background server to detect whether there is a legal facial image that matches the user's facial image.
515、智能主机接收后台服务器发送的路线引导指示,该路线引导指示为后台服务器在确定存在用户面部图像的匹配合法面部图像时生成,该路线引导指示携带有用户面部图像的目标门牌号信息以及到达目标门牌号信息对应的门锁的路线信息。515. The smart host receives the route guidance instruction sent by the background server. The route guidance instruction is generated by the background server when it is determined that there is a legal facial image that matches the user's facial image. The route guidance instruction carries the target house number information of the user's facial image and the arrival address. The route information of the door lock corresponding to the target house number information.
516、智能主机输出路线信息以引导用户到达目标门牌号信息对应的门锁的所在位置。516. The smart host outputs route information to guide the user to the location of the door lock corresponding to the target house number information.
作为一种可选的实施方式,智能主机可以在显示屏幕弹出路线信息,并根据当前位置信息和目标门牌号信息对应的门锁的所在位置信息计算出最短路径;然后对最短路径进行标记,用箭头引导用户通过最短路径到达目标门牌号信息对应的门锁的所在位置。通过该实施方式,能够通过最短路径到达目标门牌号信息对应的门锁的所在位置,节省了用户的时间,提高了用户的体验性。As an optional implementation, the smart host can pop up route information on the display screen, and calculate the shortest path according to the current location information and the location information of the door lock corresponding to the target house number information; then mark the shortest path, and use The arrow guides the user to reach the location of the door lock corresponding to the target house number information through the shortest path. Through this embodiment, the location of the door lock corresponding to the target house number information can be reached through the shortest path, which saves the user's time and improves the user's experience.
可选地,智能主机还可以在根据当前位置信息和目标门牌号信息对应的门锁的所在位置信息计算出最短路径之后,通过语音播报的形式根据最短路径引导用户到达目标门牌号信息对应的门锁的所在位置。通过该实施方式,能够减少用户查看显示屏幕的操作,进一步提高用户体验性。Optionally, after calculating the shortest path based on the current location information and the location information of the door lock corresponding to the target house number information, the smart host can guide the user to reach the door corresponding to the target house number information through the form of voice broadcast according to the shortest path. The location of the lock. Through this embodiment, it is possible to reduce the user's operations of checking the display screen, and further improve user experience.
可见,实施图5所描述的基于可穿戴设备的门锁控制方法,智能主机可以与后台服务器建立通信连接,并获得对后台服务器分配的合法面部图像对应的合法门牌号信息对应的门锁的控制权限,然后控制第一拍摄模组拍摄门牌获得门牌号信息,将该门牌号信息发送至后台服务器;控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收后台服务器发送的根据门牌号信息匹配得到的合法面部图像;判断用户面部图像与合法面部图像是否相匹配,如果匹配,向后台服务器发送用户面部图像与合法面部图像相匹配的第一匹配结果,然后接收后台服务器根据第一匹配结果发送的针对门牌号信息的门锁开启指令,根据门锁开启指令控制门牌号信息对应的门锁执行开启操作;如果不匹配,发出用于警示当前用户离开的警示信息,然后向后台服务器发送用于请求后台服务器检测是否存在用户面部图像的匹配合法面部图像的查询指令,在后台服务器在确定存在用户面部图像的匹配合法面部图像时,接收目标门牌号信息以及到达目标门牌号信息对应的门锁的路线信息。通过该实施方式,能够在用户面部图像与合法面部图像相匹配时,根据门锁开启指令控制门牌号信息对应的门锁执行开启操作;在用户面部图像与合法面部图像不匹配时,发出用于警示当前用户离开的警示信息,并接收后台服务器发送的目标门牌号信息以及到达目标门牌号信息对应的门锁的路线信息的查询结果,提高了安全性和用户体验感。It can be seen that, implementing the wearable device-based door lock control method described in Figure 5, the smart host can establish a communication connection with the background server, and obtain the control of the door lock corresponding to the legal house number information corresponding to the legal facial image assigned by the background server Then control the first camera module to take pictures of the house number to obtain the house number information, and send the house number information to the background server; control the second camera module to take pictures of the user's face image, obtain the user's face image, and receive the basis sent by the background server The legal facial image obtained by matching house number information; judge whether the user’s facial image matches the legal facial image, and if it matches, send the first matching result that the user’s facial image matches the legal facial image to the background server, and then receive the background server according to the first matching result. A door lock opening command for the house number information sent by a matching result, according to the door lock opening command, the door lock corresponding to the house number information is controlled to perform the opening operation; if it does not match, a warning message is sent to warn the current user to leave, and then send a message to the background The server sends a query instruction for requesting the background server to detect whether there is a matching legal facial image of the user's facial image. When the background server determines that there is a matching legal facial image of the user's facial image, it receives the target house number information and the arrival target house number information. The route information of the door lock. Through this embodiment, when the user's facial image matches the legal facial image, the door lock corresponding to the house number information can be controlled to perform the unlocking operation according to the door lock opening instruction; Alert the current user to leave the warning information, and receive the target house number information sent by the background server and the query result of the route information to the door lock corresponding to the target house number information, which improves security and user experience.
实施例四Embodiment four
请参阅图6,图6是本发明实施例公开的另一种可穿戴设备的结构示意图。该可穿戴设备包括的智能主机以可转动方式设在可穿戴设备的支架上,智能主机的主机顶面正对智能主机的主机底面,主机顶面和主机底面各设有一个拍摄模组,如图6所示,该智能主机可以包括:Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of another wearable device disclosed in an embodiment of the present invention. The smart host included in the wearable device is rotatably arranged on the bracket of the wearable device, the top surface of the smart host is facing the bottom surface of the smart host, and a camera module is respectively provided on the top surface and the bottom surface of the host, such as As shown in Figure 6, the smart host may include:
第一拍摄单元601,用于控制第一拍摄模组拍摄门牌获得门牌号信息。The first photographing unit 601 is used to control the first photographing module to photograph the house number to obtain house number information.
其中,第一拍摄模组为设于主机底面的拍摄模组或者为设于主机顶面的拍摄模组。Wherein, the first photographing module is a photographing module arranged on the bottom surface of the host or a photographing module arranged on the top surface of the host.
第一发送单元602,用于将门牌号信息发送至后台服务器。The first sending unit 602 is configured to send the house number information to the background server.
本发明实施例中,智能主机与后台服务器之间建立通信连接,可以实现智能主机和后台服务器之间的信息发送和接收,所以第一发送单元602可以将门牌号信息发送至后台服务器。In the embodiment of the present invention, a communication connection is established between the smart host and the background server to realize information sending and receiving between the smart host and the background server, so the first sending unit 602 can send the house number information to the background server.
第二拍摄单元603,用于控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收后台服务器发送的根据门牌号信息匹配得到的合法面部图像。The second photographing unit 603 is used to control the second photographing module to photograph the user's facial image, obtain the user's facial image, and receive the legal facial image matched with the house number information sent by the background server.
其中,当第一拍摄模组为设于主机底面的拍摄模组时,第二拍摄模组为设于主机顶面的拍摄模组,当第一拍摄模组为设于主机顶面的拍摄模组时,第二拍摄模组为设于主机底面的拍摄模组。Wherein, when the first photographing module is the photographing module arranged on the bottom surface of the host, the second photographing module is the photographing module arranged on the top surface of the host, and when the first photographing module is the photographing module arranged on the top surface of the host When assembled, the second photographing module is a photographing module arranged on the bottom surface of the host.
判断单元604,用于判断用户面部图像与合法面部图像是否相匹配。A judging unit 604, configured to judge whether the facial image of the user matches the legitimate facial image.
作为一种可选的实施方式,判断单元604用于放大用户面部图像,对放大后的用户面部图像进行滤波处理,获得预处理面部图像;然后,提取预处理面部图像中至少包括眼睛、鼻子、嘴巴、眉毛和面部外轮廓的面部特征点,并确定预处理面部图像的方向信息,基于方向信息对面部特征点进行拟合,获得用户面部图像对应的面部特征;智能主机判断用户面部图像对应的面部特征与合法面部图像对应的面部特征的匹配程度,从而判断用户面部图像与合法面部图像是否相匹配。通过该实施方式,能够根据用户面部图像对应的面部特征与合法面部图像对应的面部特征的匹配程度来判断用户面部图像与合法面部图像是否相匹配,从而提高了判断的可信度和安全性。As an optional implementation, the judging unit 604 is configured to enlarge the user's facial image, perform filtering processing on the enlarged user's facial image, and obtain a pre-processed facial image; then, extract the pre-processed facial image at least including eyes, nose, The facial feature points of the mouth, eyebrows, and facial contours, and determine the direction information of the pre-processed facial image, fit the facial feature points based on the direction information, and obtain the facial features corresponding to the user's facial image; the intelligent host judges the user's facial image corresponding The degree of matching between the facial features and the facial features corresponding to the legal facial image, so as to determine whether the user's facial image matches the legal facial image. Through this embodiment, it can be judged whether the user's facial image matches the legitimate facial image according to the matching degree of the facial features corresponding to the user's facial image and the facial features corresponding to the legal facial image, thereby improving the reliability and security of the judgment.
开启单元605,用于在上述判断单元604判断出用户面部图像与合法面部图像相匹配时,控制门牌号信息对应的门锁执行开启操作。The unlocking unit 605 is configured to control the door lock corresponding to the house number information to perform an unlocking operation when the judging unit 604 judges that the user's facial image matches the legitimate facial image.
作为一种可选的实施方式,第二拍摄单元603用于控制拍摄模组拍摄用户的面部图像,采集用户虹膜信息;并在第一发送单元602将门牌号信息发送至后台服务器之后,接收后台服务器发送的根据门牌号信息匹配得到的合法虹膜信息;在判断单元604判断出用户虹膜信息与合法虹膜信息相匹配时,开启单元605控制门牌号信息对应的门锁执行开启操作。通过该实施方式,能够根据用户的虹膜信息来判定用户控制门牌号信息对应的门锁执行开启的操作是否合法,可以提高安全系数,保障用户的人身安全。As an optional implementation, the second photographing unit 603 is used to control the photographing module to photograph the user's facial image and collect the user's iris information; and after the first sending unit 602 sends the house number information to the background server, receive the The legal iris information sent by the server according to the matching of the house number information; when the judging unit 604 judges that the user's iris information matches the legal iris information, the opening unit 605 controls the door lock corresponding to the house number information to perform an opening operation. Through this embodiment, it can be judged according to the user's iris information whether the user's operation of controlling the door lock corresponding to the house number information to open is legal, which can improve the safety factor and ensure the user's personal safety.
可见,实施图6所示的智能主机,控制第一拍摄模组拍摄门牌获得门牌号信息,将该门牌号信息发送至后台服务器;控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收后台服务器发送的根据门牌号信息匹配得到的合法面部图像;判断用户面部图像与合法面部图像是否相匹配,如果匹配,控制门牌号信息对应的门锁执行开启操作,能够提高安全性和用户体验感,减少酒店工作人员的工作量。It can be seen that the implementation of the intelligent host shown in Figure 6 controls the first camera module to capture the house number information to obtain the house number information, and sends the house number information to the background server; controls the second camera module to capture the user's facial image and obtain the user's facial image , and receive the legal facial image sent by the background server according to the house number information matching; judge whether the user’s face image matches the legal face image, and if they match, control the door lock corresponding to the house number information to perform the opening operation, which can improve security and The sense of user experience reduces the workload of hotel staff.
实施例五Embodiment five
请参阅图7,图7是本发明实施例公开的另一种可穿戴设备的结构示意图。其中,图7所示的智能主机是由图6所示的智能主机进行优化得到的。与图6所示的智能主机相比较,图7所示的智能主机还可以包括:Please refer to FIG. 7 . FIG. 7 is a schematic structural diagram of another wearable device disclosed in an embodiment of the present invention. Wherein, the smart host shown in FIG. 7 is obtained by optimizing the smart host shown in FIG. 6 . Compared with the smart host shown in Figure 6, the smart host shown in Figure 7 may further include:
连接单元606,用于在上述601第一拍摄单元控制第一拍摄模组拍摄门牌获得门牌号信息之前,与后台服务器建立通信连接,并获得对后台服务器分配的合法面部图像对应的合法门牌号信息对应的门锁的控制权限。The connection unit 606 is used to establish a communication connection with the background server before the first photographing unit controls the first photographing module to photograph the house number to obtain the house number information in 601, and obtain the legal house number information corresponding to the legal facial image assigned to the background server The control authority of the corresponding door lock.
作为一种可选的实施方式,连接单元606用于向后台服务器发送通信请求,该通信请求携带用户信息,在接收到后台服务器发送的身份验证信息之后,输入用户的指纹信息进行验证,身份验证成功后智能主机与后台服务器建立通信连接,将用户面部图像上传至后台服务其作为合法面部图像,并获得对后台服务器分配的合法面部图像对应的合法门牌号信息对应的门锁的控制权限。通过该实施方式,能够通过验证指纹信息进一步验证用户身份信息,验证成功后才与后台服务器建立通信连接,同时录入用户信息,分配合法门牌号信息,能够简化信息录入的操作,提高安全性。As an optional implementation, the connection unit 606 is used to send a communication request to the background server, the communication request carries user information, and after receiving the identity verification information sent by the background server, input the user's fingerprint information for verification, identity verification After success, the intelligent host establishes a communication connection with the background server, uploads the user's facial image to the background service as a legal facial image, and obtains the control authority of the door lock corresponding to the legal house number information corresponding to the legal facial image assigned by the background server. Through this embodiment, the user identity information can be further verified by verifying the fingerprint information. After the verification is successful, a communication connection is established with the background server, and the user information is entered at the same time, and the legal house number information is assigned, which can simplify the operation of information entry and improve security.
第二发送单元607,用于将可穿戴设备的设备标识号与内置于智能主机的近场通信NFC模块的模块标识号发送给后台服务器,以使后台服务器关联存储设备标识号、模块标识号、分配的合法门牌号信息以及后台服务器拍摄得到的合法面部图像。The second sending unit 607 is used to send the device identification number of the wearable device and the module identification number of the near field communication NFC module built in the smart host to the background server, so that the background server associates the storage device identification number, the module identification number, The assigned legal house number information and the legal facial image captured by the background server.
本发明实施例中,第二发送单元607用于将设备标识号与模块标识号发送给后台服务器,之后,后台服务器可以根据设备标识号检测到可穿戴设备信息,并获取可穿戴设备的位置信息;门锁可以识别出内置于智能主机的近场通信NFC模块的模块标识号,智能主机可以通过模块标识号定位到门锁所在的位置。In the embodiment of the present invention, the second sending unit 607 is used to send the device identification number and the module identification number to the background server, and then the background server can detect the information of the wearable device according to the device identification number, and obtain the location information of the wearable device ; The door lock can identify the module identification number of the near field communication NFC module built in the smart host, and the smart host can locate the position of the door lock through the module identification number.
提醒单元608,用于在上述判断单元604判断出用户面部图像与合法面部图像不匹配时,向后台服务器发送提醒消息,该提醒消息携带可穿戴设备的设备标识号以及内置于智能主机的近场通信NFC模块的模块标识号,该提醒消息用于提醒后台服务器通过可穿戴设备控制门牌号信息对应的门锁的当前用户的用户面部图像与合法面部图像不匹配,以使后台服务器在根据设备标识号以及模块标识号确定可穿戴设备为获得门牌号信息对应的门锁的控制权限的可穿戴设备时发送近距离通信开启指令;The reminder unit 608 is used to send a reminder message to the background server when the judgment unit 604 judges that the user's facial image does not match the legal facial image. The reminder message carries the device identification number of the wearable device and the near field The module identification number of the communication NFC module. The reminder message is used to remind the background server to control the door lock corresponding to the house number information through the wearable device. number and the module identification number to determine that the wearable device is a wearable device that obtains the control authority of the door lock corresponding to the house number information, and sends a short-distance communication open command;
第一接收单元609,用于接收近距离通信开启指令,并根据近距离通信开启指令打开NFC模块的读写功能,以使后台服务器控制设置于门牌号信息对应的门锁附近的拍摄装置通过从NFC模块读取模块标识号以对可穿戴设备进行定位,并控制拍摄装置对当前用户进行视频监控;The first receiving unit 609 is used to receive the short-distance communication opening instruction, and open the read-write function of the NFC module according to the short-distance communication opening instruction, so that the background server controls the photographing device arranged near the door lock corresponding to the house number information to pass from The NFC module reads the module identification number to locate the wearable device, and controls the camera to monitor the current user;
第二接收单元610,用于接收后台服务器发送的警示信息,该警示信息为后台服务器根据视频监控得到的视频图像与合法面部图像的比对结果生成得到;The second receiving unit 610 is configured to receive the warning information sent by the background server, which is generated by the background server according to the comparison result of the video image obtained by video monitoring and the legal facial image;
警示单元611,用于在比对结果指示确认视频图像与合法面部图像不匹配时,发出用于警示当前用户离开的警示信息。The warning unit 611 is configured to send out warning information for warning the current user to leave when the comparison result indicates that the confirmed video image does not match the legal facial image.
可见,实施图7所示的智能主机,智能主机可以与后台服务器建立通信连接,并获得对后台服务器分配的合法面部图像对应的合法门牌号信息对应的门锁的控制权限,然后控制第一拍摄模组拍摄门牌获得门牌号信息,将该门牌号信息发送至后台服务器;控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收后台服务器发送的根据门牌号信息匹配得到的合法面部图像;判断用户面部图像与合法面部图像是否相匹配,如果匹配,控制门牌号信息对应的门锁执行开启操作;如果不匹配,发出用于警示当前用户离开的警示信息。通过该实施方式,能够在用户面部图像与合法面部图像相匹配时,控制门牌号信息对应的门锁执行开启操作;在用户面部图像与合法面部图像不匹配时,发出用于警示当前用户离开的警示信息,提高了安全性和用户体验感。It can be seen that, implementing the smart host shown in Figure 7, the smart host can establish a communication connection with the background server, and obtain the control authority of the door lock corresponding to the legal house number information corresponding to the legal face image assigned by the background server, and then control the first shooting The module captures the house number information to obtain the house number information, and sends the house number information to the background server; controls the second shooting module to shoot the user's face image, obtains the user's face image, and receives the legal information sent by the background server based on the house number information matching. Facial image: judge whether the user’s facial image matches the legitimate facial image, if they match, control the door lock corresponding to the house number information to perform the opening operation; if they do not match, issue a warning message to warn the current user to leave. Through this embodiment, when the user's facial image matches the legal facial image, the door lock corresponding to the house number information can be controlled to perform an opening operation; Warning information improves security and user experience.
实施例六Embodiment six
请参阅图8,图8是本发明实施例公开的另一种可穿戴设备的结构示意图。其中,图8所示的智能主机是由图7所示的智能主机进行优化得到的。与图7所示的智能主机相比较,图8所示的智能主机还可以包括:Please refer to FIG. 8 . FIG. 8 is a schematic structural diagram of another wearable device disclosed in an embodiment of the present invention. Wherein, the smart host shown in FIG. 8 is obtained by optimizing the smart host shown in FIG. 7 . Compared with the smart host shown in Figure 7, the smart host shown in Figure 8 may further include:
第三发送单元612,用于在上述判断单元604判断出用户面部图像与合法面部图像相匹配之后,以及上述开启单元605控制门牌号信息对应的门锁执行开启操作之前,向后台服务器发送用户面部图像与合法面部图像相匹配的第一匹配结果;The third sending unit 612 is used to send the user's face to the background server after the judging unit 604 judges that the user's facial image matches the legitimate facial image, and before the opening unit 605 controls the door lock corresponding to the house number information to perform the opening operation. The first matching result where the image matches a legitimate facial image;
第三接收单元613,用于接收后台服务器根据第一匹配结果发送的针对门牌号信息的门锁开启指令;The third receiving unit 613 is configured to receive the door lock opening instruction for the house number information sent by the background server according to the first matching result;
上述开启单元605,具体用于根据门锁开启指令控制门牌号信息对应的门锁执行开启操作。The opening unit 605 is specifically configured to control the door lock corresponding to the house number information to perform an opening operation according to the door lock opening instruction.
第四发送单元614,用于在上述警示单元611在比对结果指示确认视频图像与合法面部图像不匹配时,发出用于警示当前用户离开的警示信息之后,向后台服务器发送查询指令,该查询指令用于请求后台服务器检测是否存在用户面部图像的匹配合法面部图像;The fourth sending unit 614 is used to send a query instruction to the background server after the above-mentioned warning unit 611 sends a warning message for warning the current user to leave when the comparison result indicates that the confirmed video image does not match the legal facial image. The instruction is used to request the background server to detect whether there is a matching legal facial image of the user's facial image;
第四接收单元615,用于接收后台服务器发送的路线引导指示,该路线引导指示为后台服务器在确定存在用户面部图像的匹配合法面部图像时生成,该路线引导指示携带有用户面部图像的目标门牌号信息以及到达目标门牌号信息对应的门锁的路线信息;The fourth receiving unit 615 is configured to receive the route guidance instruction sent by the background server, the route guidance instruction is generated when the background server determines that there is a legal facial image matching the user's facial image, and the route guidance instruction carries the target house number of the user's facial image number information and the route information to the door lock corresponding to the target house number information;
输出单元616,用于输出路线信息以引导用户到达目标门牌号信息对应的门锁的所在位置。The output unit 616 is configured to output route information to guide the user to the location of the door lock corresponding to the target house number information.
作为一种可选的实施方式,输出单元616用于在显示屏幕弹出路线信息,并根据当前位置信息和目标门牌号信息对应的门锁的所在位置信息计算出最短路径;然后对最短路径进行标记,用箭头引导用户通过最短路径到达目标门牌号信息对应的门锁的所在位置。通过该实施方式,能够通过最短路径到达目标门牌号信息对应的门锁的所在位置,节省了用户的时间,提高了用户的体验性。As an optional implementation, the output unit 616 is used to pop up the route information on the display screen, and calculate the shortest path according to the current location information and the location information of the door lock corresponding to the target house number information; and then mark the shortest path , use arrows to guide the user to reach the location of the door lock corresponding to the target house number information through the shortest path. Through this embodiment, the location of the door lock corresponding to the target house number information can be reached through the shortest path, which saves the user's time and improves the user's experience.
可选地,输出单元616还用于在根据当前位置信息和目标门牌号信息对应的门锁的所在位置信息计算出最短路径之后,通过语音播报的形式根据最短路径引导用户到达目标门牌号信息对应的门锁的所在位置。通过该实施方式,能够减少用户查看显示屏幕的操作,进一步提高用户体验性。Optionally, the output unit 616 is also configured to guide the user to reach the door corresponding to the target house number information in the form of voice broadcast after the shortest path is calculated according to the current location information and the location information of the door lock corresponding to the target house number information. The location of the door lock. Through this embodiment, it is possible to reduce the user's operations of checking the display screen, and further improve user experience.
可见,实施图8所示的智能主机,智能主机可以与后台服务器建立通信连接,并获得对后台服务器分配的合法面部图像对应的合法门牌号信息对应的门锁的控制权限,然后控制第一拍摄模组拍摄门牌获得门牌号信息,将该门牌号信息发送至后台服务器;控制第二拍摄模组拍摄用户的面部图像,获得用户面部图像,并接收后台服务器发送的根据门牌号信息匹配得到的合法面部图像;判断用户面部图像与合法面部图像是否相匹配,如果匹配,向后台服务器发送用户面部图像与合法面部图像相匹配的第一匹配结果,然后接收后台服务器根据第一匹配结果发送的针对门牌号信息的门锁开启指令,根据门锁开启指令控制门牌号信息对应的门锁执行开启操作;如果不匹配,发出用于警示当前用户离开的警示信息,然后向后台服务器发送用于请求后台服务器检测是否存在用户面部图像的匹配合法面部图像的查询指令,在后台服务器在确定存在用户面部图像的匹配合法面部图像时,接收目标门牌号信息以及到达目标门牌号信息对应的门锁的路线信息。通过该实施方式,能够在用户面部图像与合法面部图像相匹配时,根据门锁开启指令控制门牌号信息对应的门锁执行开启操作;在用户面部图像与合法面部图像不匹配时,发出用于警示当前用户离开的警示信息,并接收后台服务器发送的目标门牌号信息以及到达目标门牌号信息对应的门锁的路线信息的查询结果,提高了安全性和用户体验感。It can be seen that, implementing the smart host shown in Figure 8, the smart host can establish a communication connection with the background server, and obtain the control authority of the door lock corresponding to the legal house number information corresponding to the legal facial image assigned by the background server, and then control the first shooting The module captures the house number information to obtain the house number information, and sends the house number information to the background server; controls the second shooting module to shoot the user's face image, obtains the user's face image, and receives the legal information sent by the background server based on the house number information matching. Facial image: judge whether the user’s facial image matches the legal facial image, if they match, send the first matching result that the user’s facial image matches the legal facial image to the background server, and then receive the house number sent by the background server according to the first matching result No. information door lock opening command, according to the door lock opening command to control the door lock corresponding to the house number information to perform the opening operation; if it does not match, send a warning message to warn the current user to leave, and then send a message to the background server to request the background server Detect whether there is a query instruction for matching the legal facial image of the user's facial image, and when the background server determines that there is a matching legal facial image for the user's facial image, it receives the target house number information and the route information to the door lock corresponding to the target house number information. Through this embodiment, when the user's facial image matches the legal facial image, the door lock corresponding to the house number information can be controlled to perform the unlocking operation according to the door lock opening instruction; Alert the current user to leave the warning information, and receive the target house number information sent by the background server and the query result of the route information to the door lock corresponding to the target house number information, which improves security and user experience.
实施例七Embodiment seven
请参阅图9,图9是本发明实施例公开的另一种可穿戴设备的结构示意图。该可穿戴设备包括的智能主机以可转动方式设在可穿戴设备的支架上,智能主机的主机顶面和主机底面各设有一个拍摄模组,如图9所示,该智能主机可以包括:Please refer to FIG. 9 . FIG. 9 is a schematic structural diagram of another wearable device disclosed in an embodiment of the present invention. The smart host included in the wearable device is rotatably arranged on the bracket of the wearable device, and the top surface of the smart host and the bottom surface of the host are each equipped with a shooting module, as shown in Figure 9, the smart host may include:
存储有可执行程序代码的存储器901;A memory 901 storing executable program codes;
与存储器901耦合的处理器902;a processor 902 coupled with a memory 901;
其中,处理器902调用存储器901中存储的可执行程序代码,执行图3~图5任意一种基于可穿戴设备的门锁控制方法。Wherein, the processor 902 calls the executable program code stored in the memory 901 to execute any one of the wearable device-based door lock control methods shown in FIG. 3 to FIG. 5 .
本发明实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序使得计算机执行图3~图5任意一种基于可穿戴设备的门锁控制方法。The embodiment of the present invention discloses a computer-readable storage medium, which stores a computer program, wherein the computer program enables the computer to execute any one of the wearable device-based door lock control methods shown in FIGS. 3 to 5 .
本发明实施例还公开一种计算机程序产品,其中,当计算机程序产品在计算机上运行时,使得计算机执行如以上各方法实施例中的方法的部分或全部步骤。The embodiment of the present invention also discloses a computer program product, wherein, when the computer program product is run on a computer, the computer is made to execute some or all of the steps of the methods in the above method embodiments.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-Only Memory (Programmable Read-only Memory, PROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CompactDisc Read -Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.
以上对本发明实施例公开的一种基于可穿戴设备的门锁控制方法及可穿戴设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A door lock control method based on a wearable device disclosed in the embodiment of the present invention and the wearable device have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment It is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, The contents of this description should not be construed as limiting the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811284329.XA CN110176088B (en) | 2018-10-31 | 2018-10-31 | Door lock control method based on wearable device and wearable device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811284329.XA CN110176088B (en) | 2018-10-31 | 2018-10-31 | Door lock control method based on wearable device and wearable device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110176088A true CN110176088A (en) | 2019-08-27 |
| CN110176088B CN110176088B (en) | 2021-04-30 |
Family
ID=67689245
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811284329.XA Active CN110176088B (en) | 2018-10-31 | 2018-10-31 | Door lock control method based on wearable device and wearable device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110176088B (en) |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103412877A (en) * | 2013-07-15 | 2013-11-27 | 珠海市魅族科技有限公司 | Method and device for transmitting picture |
| CN204087316U (en) * | 2014-09-23 | 2015-01-07 | 西安盈姆电子信息科技有限公司 | A kind of Yunmen access control system of sending framework based on raspberry |
| CN105205892A (en) * | 2015-10-08 | 2015-12-30 | 广东欧珀移动通信有限公司 | Access control method and system |
| CN105681278A (en) * | 2015-12-29 | 2016-06-15 | 福建星网锐捷通讯股份有限公司 | Registering method and system of face identification access control |
| CN105678865A (en) * | 2014-11-17 | 2016-06-15 | 霍尼韦尔国际公司 | Notification method, notification system and notification device |
| KR101682311B1 (en) * | 2015-08-28 | 2016-12-02 | 이근장 | Face Recognition Digital Door Lock |
| CN106652109A (en) * | 2015-10-30 | 2017-05-10 | 东莞酷派软件技术有限公司 | Intelligent lock control method, device and lock management server |
| CN206370116U (en) * | 2017-01-18 | 2017-08-01 | 赵琪 | A kind of Intelligent door lock capable of recognizing face |
| CN107301702A (en) * | 2017-06-21 | 2017-10-27 | 杭州明览智能科技有限公司 | Intelligent door lock system based on pattern code and Internet |
| US20170352943A1 (en) * | 2016-06-02 | 2017-12-07 | Samsung Electronics Co., Ltd. | Electronic device comprising antenna |
| CN108415350A (en) * | 2018-03-29 | 2018-08-17 | 乾元智能江苏安全技术有限公司 | A kind of combustion gas based on Internet of Things guard system safe to use and its method |
| CN108416278A (en) * | 2018-02-23 | 2018-08-17 | 王珏 | Recognition of face method for unlocking and Related product |
-
2018
- 2018-10-31 CN CN201811284329.XA patent/CN110176088B/en active Active
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103412877A (en) * | 2013-07-15 | 2013-11-27 | 珠海市魅族科技有限公司 | Method and device for transmitting picture |
| CN204087316U (en) * | 2014-09-23 | 2015-01-07 | 西安盈姆电子信息科技有限公司 | A kind of Yunmen access control system of sending framework based on raspberry |
| CN105678865A (en) * | 2014-11-17 | 2016-06-15 | 霍尼韦尔国际公司 | Notification method, notification system and notification device |
| KR101682311B1 (en) * | 2015-08-28 | 2016-12-02 | 이근장 | Face Recognition Digital Door Lock |
| CN105205892A (en) * | 2015-10-08 | 2015-12-30 | 广东欧珀移动通信有限公司 | Access control method and system |
| CN106652109A (en) * | 2015-10-30 | 2017-05-10 | 东莞酷派软件技术有限公司 | Intelligent lock control method, device and lock management server |
| CN105681278A (en) * | 2015-12-29 | 2016-06-15 | 福建星网锐捷通讯股份有限公司 | Registering method and system of face identification access control |
| US20170352943A1 (en) * | 2016-06-02 | 2017-12-07 | Samsung Electronics Co., Ltd. | Electronic device comprising antenna |
| CN206370116U (en) * | 2017-01-18 | 2017-08-01 | 赵琪 | A kind of Intelligent door lock capable of recognizing face |
| CN107301702A (en) * | 2017-06-21 | 2017-10-27 | 杭州明览智能科技有限公司 | Intelligent door lock system based on pattern code and Internet |
| CN108416278A (en) * | 2018-02-23 | 2018-08-17 | 王珏 | Recognition of face method for unlocking and Related product |
| CN108415350A (en) * | 2018-03-29 | 2018-08-17 | 乾元智能江苏安全技术有限公司 | A kind of combustion gas based on Internet of Things guard system safe to use and its method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110176088B (en) | 2021-04-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109326058B (en) | Identity verification method and device based on intelligent teller machine, terminal and readable medium | |
| EP3540621B1 (en) | Identity authentication method and apparatus, terminal and server | |
| US10579783B1 (en) | Identity authentication verification | |
| KR101051365B1 (en) | Access control device with camera and access control method | |
| JP2002229955A (en) | Information terminal device and authentication system | |
| JP2002251380A (en) | User collation system | |
| CN108205834A (en) | Access control management method and access control system | |
| JP2003317100A (en) | Information terminal device, authentication system, and registration / authentication method | |
| US11245707B2 (en) | Communication terminal, communication system, communication control method, and recording medium | |
| CN105931050A (en) | Bank card information authentication method, client side, and bank system | |
| CN109690542A (en) | User authentication method using facial recognition and device therefor | |
| KR20210004319A (en) | Method, apparatus and system for performing authentication using face recognition | |
| EP3594879A1 (en) | System and method for authenticating transactions from a mobile device | |
| JP4521086B2 (en) | Face image recognition apparatus and face image recognition method | |
| WO2020022034A1 (en) | Information processing device, information processing method, and information processing program | |
| CN109981525A (en) | Identity information authentication method, terminal, server and system | |
| WO2011003353A1 (en) | Visualizaed self-service terminal, remote interactive self-help bank system and service method | |
| EP1835433B1 (en) | Authentification device, authentification method, authentification program and computer readable recording medium | |
| US12019722B2 (en) | System, device and method for authentication with use of information code | |
| CN110177224A (en) | Information association method based on wearable device and wearable device | |
| EP3989184A1 (en) | Liveness detection of facial image data | |
| JP7001239B2 (en) | Authentication device, authentication method, and program | |
| JPWO2020152917A1 (en) | Face recognition devices, face recognition methods, programs, and recording media | |
| TWI729679B (en) | Authentication system, authentication device, and authentication method | |
| CN108764033A (en) | Auth method and device, electronic equipment, computer program and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |