Intelligent access control method and system

By collecting real-time video data in the intelligent access control system for face recognition, and sending the data to the server for secondary recognition when matching fails, the problems of slow response speed and network dependence in the existing technology are solved, and the system's reliability is improved. efficiency and reliability.

CN113129492BActive Publication Date: 2024-09-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110412597.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-16
Publication Date
2024-09-10
Estimated Expiration
2041-04-16

AI Technical Summary

Technical Problem

The response speed of existing smart access control systems is slow, and the biometric identification process relies on network stability, so normal entry cannot be achieved when the network is disconnected.

Method used

The access control terminal collects real-time video data and extracts face image information for face recognition. If the match fails, it is sent to the server for secondary recognition. The server performs face recognition again and sends an opening command.

Benefits of technology

It improves the transmission efficiency and recognition efficiency of face image information, enhances the accuracy of identity recognition, reduces false alarm triggers, and ensures the normal operation of the access control system when the network is disconnected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113129492B
    Figure CN113129492B
Patent Text Reader

Abstract

The present application relates to the field of artificial intelligence, and provides an intelligent access control method and system, the method comprising: the access control terminal collects real-time video data of a target person in response to an access control opening request, and extracts a target video frame including facial image information of the target person from the real-time video data; the access control terminal performs face recognition on the facial image information in the target video frame, and obtains a first target facial feature of the target person; if the first target facial feature does not match the facial feature pre-stored in the access control terminal, the access control terminal sends the target video frame to a server; the server performs face recognition on the facial image information in the target video frame, and obtains a second target facial feature of the target person; if the second target facial feature matches the facial feature pre-stored in the server, the server sends an access lock opening instruction to the access control terminal. The present application can reduce the cost of the access control system and effectively reduce the probability of false alarm triggering for people who are allowed to pass.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence, and in particular to an intelligent access control method and system. Background Art

[0002] Smart access control systems are systems that intelligently monitor and manage entrances and exits. They can be used in private homes, public rental apartments, and office spaces. With the increasing development of artificial intelligence technology, smart access control systems based on biometric recognition technology are becoming increasingly popular. They not only effectively improve the convenience of entering homes, but also enhance the security of smart access control systems. Existing smart access control technologies typically utilize servers to perform biometric recognition and comparison on collected biometric information. However, their response speed is slow, and the biometric recognition process relies on network stability, making it impossible to enter homes normally when the network is disconnected. Therefore, there is a need to provide an improved smart access control solution to address the problems existing in the above-mentioned existing technologies. Summary of the Invention

[0003] This application provides an intelligent access control method and system that can effectively improve response speed and stability.

[0004] In one aspect, the present application provides an intelligent access control method, which is applied to an access control system, wherein the access control system includes an access terminal and a server. The method includes:

[0005] The access control terminal collects real-time video data of the target person in response to the access control opening request, and extracts a target video frame including facial image information of the target person from the real-time video data;

[0006] The access control terminal performs face recognition on the face image information in the target video frame to obtain a first target face feature of the target person;

[0007] If the first target facial feature does not match the facial feature pre-stored in the access control terminal, the access control terminal sends the target video frame to the server;

[0008] The server performs face recognition on the facial image information in the target video frame to obtain a second target facial feature of the target person;

[0009] If the second target facial feature matches the facial feature pre-stored in the server, the server sends an access lock opening instruction to the access control terminal.

[0010] On the other hand, the present application provides an intelligent access control method, applied to an access control terminal, the method comprising:

[0011] In response to a door opening request, collecting real-time video data of a target person, and extracting a target video frame including facial image information of the target person from the real-time video data;

[0012] Performing face recognition on the facial image information in the target video frame to obtain a first target facial feature of the target person;

[0013] If the first target facial feature does not match the facial feature pre-stored in the access control terminal, the target video frame is sent to the server; so that the server performs facial recognition on the facial image information in the target video frame to obtain the second target facial feature of the target person; if the second target facial feature matches the facial feature pre-stored in the server, an access lock opening instruction is sent to the access control terminal.

[0014] On the other hand, the present application provides an intelligent access control method, which is applied to a server, and the method includes:

[0015] receiving a target video frame sent by the access control terminal after determining that a first target facial feature does not match a facial feature pre-stored in the access control terminal; the target video frame is a target video frame including facial image information of the target person extracted by the access control terminal from real-time video data of the target person; the first target facial feature is a feature obtained by the access control terminal through facial recognition of the facial image information in the target video frame;

[0016] Performing face recognition on the facial image information in the target video frame to obtain a second target facial feature of the target person;

[0017] If the second target facial feature matches the facial feature pre-stored on the server, an access lock opening instruction is sent to the access control terminal.

[0018] On the other hand, the present application provides an intelligent access control device, which is applied to an access control terminal, and the device includes:

[0019] Image acquisition module: used to collect real-time video data of the target person in response to the access control opening request, and extract the target video frame including the facial image information of the target person from the real-time video data;

[0020] A first face recognition module: configured to perform face recognition on the face image information in the target video frame to obtain a first target face feature of the target person;

[0021] Video frame sending module: used for sending the target video frame to the server if the first target facial feature does not match the facial feature pre-stored in the access control terminal; so that the server can perform facial recognition on the facial image information in the target video frame to obtain the second target facial feature of the target person; if it is determined that the second target facial feature matches the facial feature pre-stored in the server, sending an access lock opening instruction to the access control terminal; if the second target facial feature does not match the facial feature pre-stored in the server, sending visitor notification information to the user terminal.

[0022] On the other hand, the present application provides an intelligent access control device, which is applied to a server, and the device includes:

[0023] A target video frame receiving module is configured to receive a target video frame sent by the access control terminal after determining that a first target facial feature does not match a facial feature pre-stored in the access control terminal; the target video frame is a target video frame including facial image information of the target person extracted by the access control terminal from the real-time video data of the target person; the first target facial feature is a feature obtained by the access control terminal through facial recognition of the facial image information in the target video frame;

[0024] A second face recognition module: configured to perform face recognition on the face image information in the target video frame to obtain a second target face feature of the target person;

[0025] Instruction sending module: used to send an access lock opening instruction to the access control terminal if the second target facial feature matches the facial feature pre-stored on the server.

[0026] On the other hand, the present application provides an intelligent access control system, which includes an access control terminal and a server:

[0027] The access control terminal is configured to, in response to an access control opening request, collect real-time video data of a target person, and extract a target video frame including facial image information of the target person from the real-time video data; perform facial recognition on the facial image information in the target video frame to obtain a first target facial feature of the target person; and if the first target facial feature does not match a facial feature pre-stored in the access control terminal, send the target video frame to the server;

[0028] The server is used to perform facial recognition on the facial image information in the target video frame to obtain a second target facial feature of the target person; if the second target facial feature matches the facial feature pre-stored in the server, an access lock opening instruction is sent to the access control terminal.

[0029] On the other hand, an intelligent access control device is provided, which includes a processor and a memory. The memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the intelligent access control method as described above.

[0030] On the other hand, a computer-readable storage medium is provided, in which at least one instruction or at least one program is stored. The at least one instruction or the at least one program is loaded and executed by a processor to implement the intelligent access control method as described above.

[0031] On the other hand, a server is provided, which includes a processor and a memory, and the device includes a processor and a memory, the memory storing at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the intelligent access control method as described above.

[0032] The intelligent access control method, device, equipment, system, storage medium, and server provided in this application have the following technical effects:

[0033] In the technical solution of the present application, the access control terminal collects real-time video data of the target person in response to the access control opening request, extracts the target video frame including the facial image information of the target person from the real-time video data, performs facial recognition on the facial image information in the target video frame, and performs facial feature matching based on the facial features pre-stored in the access control terminal. With the help of the facial recognition capability on the access control terminal side, the allowed persons are filtered, which can effectively improve the transmission efficiency of facial image information and image recognition efficiency. Then, if the first target facial feature does not match the facial feature pre-stored in the access control terminal, the access control terminal sends the target video frame to the server, and the server performs facial recognition on the facial image information in the target video frame again to obtain the second target facial feature of the target person; if the second target facial feature matches the facial feature pre-stored in the server, the server sends the access lock opening instruction to the access control terminal; by sending the target video frame that fails to be identified or matched to the server for re-identification, the accuracy of the target person's identity recognition can be improved and the probability of false alarm triggering for allowed persons can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present application or the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0035] Figure 1 Schematic diagram of an intelligent access control system provided by an embodiment of the present application;

[0036] Figure 2 This is a flow chart of an intelligent access control method provided by an embodiment of the present application;

[0037] Figure 3 This is a flow chart of an intelligent access control method provided by an embodiment of the present application.

[0038] Figure 4 This is a schematic diagram of the structure of an intelligent access control system provided by an embodiment of the present application;

[0039] Figure 5 This is a flow chart of an intelligent access control method provided by an embodiment of the present application;

[0040] Figure 6 This is a flow chart of an intelligent access control method provided by an embodiment of the present application;

[0041] Figure 7 This is a flow chart of an intelligent access control method provided by an embodiment of the present application;

[0042] Figure 8 This is a flow chart of an intelligent access control method provided by an embodiment of the present application;

[0043] Figure 9 This is a schematic structural diagram of an intelligent access control device provided in an embodiment of the present application;

[0044] Figure 10 This is a schematic structural diagram of an intelligent access control device provided in an embodiment of the present application;

[0045] Figure 11 This is a schematic structural diagram of an intelligent access control device provided in an embodiment of the present application;

[0046] Figure 12 This is a hardware structure block diagram of a server for executing the intelligent access control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0048] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0049] It should be noted that the access control terminal for face collection in this application is equipped with a clearly visible face collection sign to remind users, and the face image collection and collected facial data in this application are only used for legal purposes.

[0050] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0051] P2P penetration: Peer to peer penetration, peer-to-peer technology, also known as peer-to-peer Internet technology, relies on the computing power and bandwidth of participants in the network, rather than concentrating all dependencies on a few servers.

[0052] PIR: Passive Infrared, refers to the use of infrared radiation energy wavelengths to detect human or animal movement.

[0053] Artificial Intelligence (AI) refers to the theories, methods, techniques, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, to perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, AI is a comprehensive technology within computer science that seeks to understand the essence of intelligence and produce new intelligent machines that can respond in a manner similar to human intelligence. AI also studies the design principles and implementation methods of various intelligent machines, enabling them to possess the capabilities of perception, reasoning, and decision-making.

[0054] Artificial intelligence (AI) technology is a comprehensive discipline encompassing a wide range of fields, encompassing both hardware and software technologies. Foundational AI technologies generally include sensors, specialized AI chips, cloud computing, distributed storage, big data processing, operating / interaction systems, and mechatronics. AI software technologies primarily encompass computer vision, speech processing, natural language processing, and machine learning / deep learning.

[0055] Computer vision (CV) is the science of making machines "see." Specifically, it refers to machine vision, where cameras and computers replace the human eye in identifying, detecting, and measuring objects. This involves further processing the images, transforming them into images more suitable for human observation or transmission to instruments. As a scientific discipline, computer vision studies related theories and technologies, aiming to build artificial intelligence systems capable of extracting information from images or multidimensional data. Computer vision technologies typically include image processing, image recognition, image semantic understanding, image retrieval, optical character recognition (OCR), video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous localization and mapping, and common biometric recognition technologies such as facial recognition and fingerprint recognition.

[0056] In recent years, with the research and progress of artificial intelligence technology, artificial intelligence technology has been widely used in many fields. The solution provided in the embodiment of this application involves artificial intelligence machine computer vision and other technologies, which are specifically explained through the following embodiments.

[0057] See also Figure 1 , Figure 1 This is an intelligent access control system provided by the embodiment of the present application. Figure 1 As shown, the system may include at least an access control terminal 01 and a server 02. In practical applications, the server 02 and the access control terminal 01 may be directly or indirectly connected via wired or wireless communication to achieve interaction between the access control terminal 01 and the server 02, and this application does not impose any limitation thereto.

[0058] In an embodiment of the present application, access control terminal 01 may be an access control device installed at an entrance or exit. This access control device may include an image acquisition module (such as a camera) and a facial recognition module (including a visual AI chip and a storage unit). In an embodiment of the present application, access control terminal 01 may be used to automatically trigger or receive manually triggered access control opening requests, collect real-time video data of a target person, and transmit target video frames to server 02 and / or user terminal 03. In some embodiments, access control terminal 01 may also perform facial recognition and matching of the target person based on the target video frames in the real-time video data.

[0059] In the embodiments of the present application, Server 02 can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Specifically, Server 02 can include physical devices, such as network communication units, processors, and memory, or software running on the physical devices, such as applications. Specifically, Server 02 can be used to perform secondary facial recognition and matching on the target video frames sent by Access Control Terminal 01, and then send an access lock unlock instruction to Access Control Terminal 01 based on the matching results.

[0060] In some embodiments, the system may further include a user terminal 03. The user terminal 03 may include a physical device such as an indoor access control device, a smartphone, a desktop computer, a tablet computer, a laptop computer, a digital assistant, a smart remote control device, an augmented reality (AR) / virtual reality (VR) device, a smart wearable device, or an in-vehicle terminal device. It may also include software running on the physical device, such as an application. The user terminal 03 and the server 02, as well as the user terminal 03 and the access control terminal 02, may be directly or indirectly connected via wired or wireless communication to enable interaction between the user terminal 03 and the server 02, which is not limited in this application. Specifically, the user terminal 03 may be used to receive visitor notification information sent by the server 02 or the access control terminal 01, provide the user with a target interface including a video call trigger control and a video playback window, and receive and play real-time video data sent by the server 02 or the access control terminal 01 in response to a video call request triggered by the user. In some embodiments, the user terminal 03 is also used to receive target video frames and perform face recognition and matching based on the target video frames.

[0061] In addition, it should be noted that Figure 1 What is shown is only one type of intelligent access control system. The system may include more or fewer nodes, and this application does not impose any limitation thereto.

[0062] The following combination Figure 2 This paper introduces an intelligent access control method. Figure 2 This is a flowchart of an intelligent access control method provided by an embodiment of the present application. This specification provides method operation steps such as the embodiment or flowchart, but may include more or fewer operation steps based on conventional or non-creative work. The order of steps listed in the embodiment is only one way of executing the steps among many, and does not represent the only execution order. When the actual system or server product is executed, it can be executed in sequence or in parallel (for example, in a parallel processor or multi-threaded processing environment) according to the method shown in the embodiment or the accompanying drawings. Specifically, Figure 2 As shown, the method may include:

[0063] S201: The access control terminal collects real-time video data of a target person in response to an access control opening request, and extracts a target video frame including facial image information of the target person from the real-time video data;

[0064] S203: The access control terminal performs face recognition on the face image information in the target video frame to obtain a first target face feature of the target person;

[0065] S205: If the first target facial feature does not match the facial feature pre-stored in the access control terminal, the access control terminal sends the target video frame to the server;

[0066] S207: The server performs face recognition on the facial image information in the target video frame to obtain a second target facial feature of the target person;

[0067] S209: If the second target facial feature matches the facial feature pre-stored on the server, the server sends an access lock opening instruction to the access control terminal.

[0068] The following describes an intelligent access control method of the present application, which is applied to an intelligent access control system. The intelligent access control system includes an access control terminal and a server. Figure 3This is a flowchart of an intelligent access control method provided by an embodiment of the present application. This specification provides method operation steps such as the embodiment or flowchart, but may include more or fewer operation steps based on conventional or non-creative work. The order of steps listed in the embodiment is only one way of executing the steps among many, and does not represent the only execution order. When the actual system or server product is executed, it can be executed in sequence or in parallel (for example, in a parallel processor or multi-threaded processing environment) according to the method shown in the embodiment or the accompanying drawings. Specifically, Figure 3 As shown, the method may include:

[0069] S301: The access control terminal collects real-time video data of the target person in response to the access control opening request.

[0070] In an embodiment of the present application, the access control terminal can be fixedly installed at the entrance and exit passage. The access control terminal may include an image acquisition module, including a camera module. The camera module is provided with a camera and a CMOS sensor for acquiring images or video signals and converting them into digital signals for subsequent image processing. Specifically, the camera can be a binocular camera, a depth camera, or a structured light camera. After receiving the access control opening request, the access control terminal uses the image acquisition module to collect real-time video data of the target person, and the real-time video data includes the face image of the target person.

[0071] In actual applications, the access control terminal may generate a door opening request in response to a target person triggering a physical button on the access control terminal. For example, the access control terminal may be provided with a physical button such as a trigger switch, and in response to the target person triggering the trigger switch, the access control terminal generates the door opening request. In some cases, the door opening request may also be automatically triggered by the access control terminal. Accordingly, before step S301, the method may further include: triggering the door opening request if the access control terminal detects the presence of the target person within a preset range and the target person stays within the preset range for a period of time greater than or equal to a preset period.

[0072] In some cases, the access control terminal can use the image acquisition device to monitor in real time whether there are people within the preset range, and how long the people stay within the preset range. The preset range can be less than or equal to the field of view of the image acquisition module, and the preset time can be determined based on the actual application scenario. In other cases, the access control terminal can be provided with a PIR detection module, that is, a passive infrared detection module or a body sensing module, which can detect the human body or moving objects by passively detecting infrared radiation signals. Accordingly, the access control terminal can monitor whether there are people within the preset range and how long the people stay based on the PIR detection module. The preset range can be the effective detection range of the PIR detection module. In other cases, the access control terminal can also use the PIR detection module and the image acquisition module to jointly monitor the target person. For example, when the PIR detection module detects the personnel signal, the image acquisition module is used to detect the target person's stay time within the preset range.

[0073] Specifically, when the access control terminal detects the presence of a target person within a preset range and their stay time is greater than or equal to a preset duration, an access control opening request is automatically triggered. In this way, in the scenario of automatically triggering the access control opening request, the accuracy of identifying the target person can be improved and the probability of false triggering of the access control opening request can be reduced.

[0074] S303: The access control terminal extracts a target video frame including facial image information of a target person from the real-time video data.

[0075] S305: The access control terminal performs face recognition on the face image information in the target video frame to obtain a first target face feature of the target person.

[0076] S307: If the first target facial feature matches the facial feature pre-stored in the access control terminal, the access control terminal triggers an access lock opening operation.

[0077] In an embodiment of the present application, the target video frame includes one or several frames of video images including facial image information. The image acquisition module extracts the target video frame for subsequent facial recognition from the real-time video data and sends it to the facial recognition module of the access control terminal. In some embodiments, the facial recognition module includes a visual AI chip and a facial information storage unit, and the facial information storage unit pre-stores pre-entered facial feature data or facial image data of people allowed to pass. The visual AI chip is used to perform facial recognition on the target video frame, obtain a first target facial feature, and match the first target facial feature with the facial feature data or facial image data pre-stored locally in the access control terminal. When it is determined that the first target facial feature matches the locally pre-stored facial feature, the target person is determined to be a person allowed to pass, and the access control terminal triggers the access lock opening operation to open the access control. In this way, the access control terminal directly performs image recognition and local matching on the collected facial image, which can reduce data forwarding delay and effectively improve recognition speed.

[0078] In actual applications, the access control terminal can be equipped with a near-field communication module, which can communicate with the user terminal based on NFC or Bluetooth. The user terminal can transmit preset facial feature data or facial image data through the near-field communication module to the facial data storage unit of the access control terminal for storage.

[0079] S309: If the first target facial feature does not match the facial feature pre-stored in the access control terminal, the access control terminal sends the target video frame to the server.

[0080] In an embodiment of the present application, when the access control terminal determines that the facial features of the first target person do not match the pre-registered facial features, the target video frame is sent to the server for secondary facial recognition. In actual applications, the hardware configuration of the access control terminal limits its own computing power, which in turn limits its accuracy in facial recognition and matching. Therefore, using the server to re-identify and match the target video frame that failed to match can improve the accuracy of target person identification while reducing the hardware configuration requirements of the access control terminal, and reduce the probability of false alarms for people who are allowed to pass.

[0081] S311: The server performs face recognition on the facial image information in the target video frame to obtain a second target facial feature of the target person.

[0082] In an embodiment of the present application, the server pre-stores facial feature data or facial image data of people allowed to pass, which can be data sent by the access control terminal and the same as the pre-stored data in the facial information storage unit, or it can be data uploaded in advance by any terminal connected to the server for communication by people allowed to pass.

[0083] S313: If the second target facial feature matches the facial feature pre-stored on the server, the server sends an access lock opening instruction to the access control terminal.

[0084] S315: The access control terminal triggers an access lock opening operation in response to the access lock opening instruction.

[0085] In an embodiment of the present application, by calling the higher computing power of the server to identify the facial features in the target video frame again, and matching them with the facial feature data or facial image data pre-stored on the server, further verification of the identity of the target person is achieved. If it is determined that the target person is allowed to pass, the server sends an access lock opening instruction to the access control terminal, so that the access control terminal triggers the access lock opening operation.

[0086] In some embodiments, the above method may further include S317: if the second target facial feature does not match the facial feature pre-stored on the server, the server sends a visitor notification message to the user terminal.

[0087] In actual applications, if the server fails to match the facial features of the target video frame again, it determines that the target person is not allowed to pass and sends a visitor notification message to the user terminal. The user terminal can be a terminal device that has been pre-bound to the server or access control terminal, such as an indoor access control device or a mobile device.

[0088] It should be noted that the access control terminal and the server can preset a face recognition model to perform face recognition on the target video frame. The training method or structure of the face recognition model can be the same as the existing technology, and this application does not limit it here.

[0089] In summary, in the technical solution of the present application, the access control terminal responds to the access control opening request, collects real-time video data of the target person, extracts the target video frame including the facial image information of the target person from the real-time video data, performs facial recognition on the facial image information in the target video frame, and performs facial feature matching based on the facial features pre-stored in the access control terminal. By using the facial recognition capability on the access control terminal side to filter the people allowed to pass, the transmission efficiency of facial image information and the image recognition efficiency can be effectively improved. Then, if the first target facial feature does not match the facial feature pre-stored in the access control terminal, the access control terminal sends the target video frame to the server, and the server performs facial recognition on the facial image information in the target video frame again to obtain the second target facial feature of the target person.

[0090] Based on some or all of the above embodiments, after step S315, the method may further include:

[0091] S401: In response to a video call request sent by a user terminal, the server sends a point-to-point connection instruction to the access control terminal and the user terminal respectively.

[0092] In this embodiment of the present application, a video call request is generated by a user triggering an operation on a target interface of a user terminal based on visitor notification information. The user terminal is configured to provide a target interface including a video call trigger control and a video playback window, and to display the received visitor notification information on the target interface. After reading the visitor notification information, the user can submit a video call trigger operation to the user terminal by clicking the video call trigger control. In response to the video call trigger operation, the user terminal generates a video call request and sends it to the server.

[0093] S403: The access control terminal and the user terminal establish a point-to-point communication channel in response to the point-to-point connection instruction, and the access control terminal sends real-time video data to the server.

[0094] In the embodiments of the present application, a point-to-point communication channel is a channel between an access control terminal and a user terminal for transmitting audio and video data. Specifically, a point-to-point communication channel can be established between the access control terminal and the user terminal based on a protocol exchange method based on P2P penetration technology. Furthermore, while the point-to-point communication channel is being established, the access control terminal sends real-time video data to the server in response to the point-to-point connection instruction.

[0095] S405: The server establishes a forwarding channel with the user terminal.

[0096] In an embodiment of the present application, a forwarding channel is a communication channel between a server and a user terminal for forwarding audio and video data. In response to the real-time video data sent by the access control terminal, the server establishes a forwarding channel with the user terminal. For example, the forwarding channel can be established by sending an HTTP request or the like. Through a point-to-point communication channel or a forwarding channel, a video intercom function can be implemented between the user terminal and the access control terminal. It should be noted that the establishment method of the point-to-point communication channel and the forwarding channel can be the same as that of the prior art and is not limited to the above-described method. This application does not impose any restrictions thereon.

[0097] In some embodiments, after step S405, the method may further include:

[0098] S501: The server sends real-time video data to the user terminal through a forwarding channel.

[0099] S503: The user terminal plays the real-time video data sent by the server on the target interface.

[0100] In practice, establishing a point-to-point communication channel takes a long time. Therefore, in some cases, after establishing a forwarding channel, the user terminal receives real-time video data forwarded by the server through the forwarding channel and sends it to the target interface for playback. This can reduce video data playback latency and improve video call connection efficiency.

[0101] S505: The user terminal obtains first communication quality data of the point-to-point communication channel.

[0102] S507: If the first communication quality data meets the preset communication condition, the user terminal sends a video acquisition request to the access control terminal.

[0103] S509: The access control terminal responds to the video acquisition request and sends the real-time video data to the user terminal through the point-to-point communication channel.

[0104] S511: The user terminal switches the real-time video data sent by the server and currently played on the target interface to the real-time video data sent by the access control terminal.

[0105] In actual applications, after establishing a point-to-point communication channel, the user terminal evaluates whether the communication quality of the point-to-point communication channel meets the preset communication conditions based on the first communication quality data. If not, the user terminal continues to receive real-time video data sent by the server based on the forwarding channel; if satisfied, the user terminal sends a video acquisition request to the access control terminal, so that the access control terminal sends real-time video data to the user terminal through the point-to-point communication channel, and the user terminal switches the video playback source of the target interface to the real-time video data received through the point-to-point communication channel. In this way, while reducing the video data playback delay and ensuring the video quality such as viewing smoothness and clarity, the network traffic and server costs caused by the video intercom function are effectively reduced. Specifically, when the first communication quality data includes data delay duration and packet loss rate, the preset communication condition can be that the data delay duration is less than the preset duration and / or the packet loss rate is less than a preset threshold.

[0106] In some embodiments, after step S511, the method may further include S513: if the user terminal detects that the first communication quality data does not meet the preset communication condition, the user terminal switches the real-time video data sent by the access control terminal currently playing on the target interface to the real-time video data forwarded by the server.

[0107] In actual applications, after the user terminal switches to the point-to-point communication channel to receive real-time video data, the communication quality of the point-to-point communication channel is monitored based on the first communication quality data. When it is detected that the communication quality is poor and not satisfactory to the preset communication conditions, the real-time video data sent by the server is received through the forwarding channel and played on the target interface. In this way, the quality of the video intercom call is guaranteed in real time and the user experience is improved.

[0108] In some other embodiments, after step S405, the method may further include:

[0109] S601: The user terminal obtains first communication quality data of a point-to-point communication channel and second communication quality data of a forwarding channel.

[0110] In some cases, the user terminal can obtain communication parameters between the user terminal and the access control terminal during the protocol exchange process for establishing a point-to-point communication channel, and based on these communication parameters, can determine first communication quality data such as the data delay time and packet loss rate of the point-to-point communication channel. In other cases, after the point-to-point communication channel is established, the user terminal can receive real-time video data sent by the access control terminal through the point-to-point communication channel and obtain the first communication quality data based on the reception parameters of the real-time video data. Similarly, the user terminal can determine second communication quality data during the protocol exchange process for establishing a video data forwarding channel, or receive real-time video data through the video data forwarding channel and obtain the second communication quality data based on the reception parameters of the real-time video data.

[0111] S603: The user terminal determines a channel with better communication quality between the point-to-point communication channel and the forwarding channel based on the first communication quality data and the second communication quality data.

[0112] S605: The user terminal receives the real-time video data through the channel with better communication quality, and plays the received real-time video data on the target interface.

[0113] In actual applications, the user terminal compares the first communication quality data and the second communication quality data, such as comparing the data delay time or packet loss rate, and based on the comparison result, uses the channel with better communication quality (shorter data delay time and / or lower packet loss rate) as the channel for receiving real-time video data, and sends the received real-time video data to the target interface. In this way, by selecting the channel with better communication quality for video data transmission, the smoothness and clarity of video playback can be guaranteed, and the user experience can be improved. Specifically, if the quality of the point-to-point communication channel is better, the real-time video data is received and played through the point-to-point communication channel, otherwise the real-time video data is received and played through the forwarding channel, and during the video playback process, the communication quality of the current video receiving channel is monitored. When it is monitored that the communication quality data of the current video receiving channel does not meet the corresponding preset conditions, such as when the communication quality data is less than the corresponding preset threshold, the real-time video data is received and played through another channel.

[0114] In summary, in the technical solution of the present application, the access control terminal responds to the access control opening request, collects real-time video data of the target person, extracts the target video frame including the facial image information of the target person from the real-time video data, performs facial recognition on the facial image information in the target video frame, and performs facial feature matching based on the facial features pre-stored in the access control terminal. By using the facial recognition capability on the access control terminal side to filter the people allowed to pass, the transmission efficiency of facial image information and the image recognition efficiency can be effectively improved. Then, if the first target facial feature does not match the facial feature pre-stored in the access control terminal, the access control terminal sends the target video frame to the server, and the server performs facial recognition on the facial image information in the target video frame again to obtain the second target facial feature of the target person.

[0115] The following describes another intelligent access control method of the present application, which is applied to an intelligent access control system. The method may include:

[0116] S701: The access control terminal collects real-time video data of the target person in response to the access control opening request.

[0117] S703: The access control terminal extracts a target video frame including facial image information of the target person from the real-time video data.

[0118] In some embodiments, after the access control opening request is triggered, it can be determined whether the access control terminal meets the face recognition conditions. If so, steps S705 to S713 are executed; if not, step S715 is executed.

[0119] S705: The access control terminal performs face recognition on the face image information in the target video frame to obtain a first target face feature of the target person.

[0120] S707: If the first target facial feature matches the facial feature pre-stored in the access control terminal, the access control terminal triggers an access lock opening operation.

[0121] S709: If the first target facial feature does not match the facial feature pre-stored in the access control terminal, the access control terminal sends the target video frame to the server.

[0122] S711: The server performs face recognition on the facial image information in the target video frame to obtain a second target facial feature of the target person.

[0123] S713: If the second target facial feature matches the facial feature pre-stored on the server, the server sends an access lock opening instruction to the access control terminal.

[0124] It should be noted that the specific implementation of steps S701 to S713 is similar to that of the above embodiment and will not be repeated here.

[0125] S715: If the access control terminal does not meet the face recognition conditions, the access control terminal sends a face recognition request to the server.

[0126] For example, if it is determined that the computing power of the access control terminal is weak and insufficient to support local face recognition operations, or if an abnormality is detected in the face recognition module of the access control terminal, it is determined that the access control terminal does not meet the face recognition conditions.

[0127] S717: In response to the face recognition request, the server sends a point-to-point connection instruction to the access control terminal and the user terminal respectively.

[0128] S719: The access control terminal and the user terminal establish a point-to-point communication channel in response to the point-to-point connection instruction.

[0129] S721: The access control terminal sends the target video frame to the user terminal through the point-to-point communication channel.

[0130] S723: The user terminal performs face recognition on the face image information in the target video frame to obtain a third target face feature of the target person.

[0131] S725: If the third target facial feature matches the facial feature pre-stored in the user terminal, the user terminal sends an access lock opening instruction to the access control terminal through the point-to-point communication channel.

[0132] In actual applications, the user terminal can pre-acquire and store the facial feature data or facial image data of people allowed to pass through the camera device, and can extract facial features of the target video frame, and match the extracted third target facial features with the pre-stored facial feature data or facial image data. If the match is successful, the target person is determined to be a person allowed to pass, and the user terminal sends an access lock opening instruction to the access control terminal through the point-to-point communication channel, so that the access control terminal triggers the access lock opening operation.

[0133] S727: If the third target facial feature does not match the facial feature pre-stored in the user terminal, trigger a visitor notification operation to generate visitor notification information.

[0134] In some embodiments, before step S721, a step of determining whether a point-to-point communication channel is connected may be performed. Accordingly, the method may further include:

[0135] 1) If the point-to-point communication channel is established, the access control terminal sends the target video frame to the user terminal through the point-to-point communication channel.

[0136] 2) If the point-to-point communication channel is not connected, the access control terminal sends the target video frame to the server.

[0137] 3) The server forwards the target video frame to the user terminal through the forwarding channel between the server and the user terminal.

[0138] In actual applications, after triggering the establishment operation of the point-to-point communication channel, if the point-to-point communication channel is not connected, or the point-to-point communication channel is not connected within a preset time period, it is determined that the point-to-point communication channel has failed to be established, and the server establishes a forwarding channel with the user terminal, and sends the received target video frame to the user terminal based on the forwarding channel, so that the user terminal executes the above-mentioned step S723 to perform face recognition and matching. If there is a match, the access lock opening instruction is forwarded to the access control terminal through the server; if there is no match, the above-mentioned step S727 is executed.

[0139] In this way, intelligent facial recognition is performed through the user terminal, which reduces the number of times the access control terminal and the user terminal call the server, reduces the storage cost and performance usage cost of the server, and stores the facial recognition model on the user terminal, which also reduces the privacy leakage risk introduced by storing user privacy information on the server.

[0140] In some cases, the target person can trigger a video call request on the access control terminal, or the user terminal can generate a video call request in response to a user triggering an action on the target interface. Based on the forwarding channel or point-to-point communication channel established above, the user terminal and the access control terminal can conduct a video call. It should be noted that the access control terminal can achieve real-time video data transmission with the user terminal via the point-to-point communication channel and / or forwarding channel. The specific implementation method is similar to the previous embodiment and will not be repeated here.

[0141] The following describes another intelligent access control method of the present application, which is applied to an intelligent access control system. The method may include:

[0142] S801: The access control terminal collects real-time video data of the target person in response to the access control opening request.

[0143] S803: The access control terminal extracts a target video frame including facial image information of a target person from the real-time video data.

[0144] S805: The access control terminal performs face recognition on the face image information in the target video frame to obtain a first target face feature of the target person.

[0145] S807: If the first target facial feature matches the facial feature pre-stored in the access control terminal, the access control terminal triggers an access lock opening operation.

[0146] S809: If the first target facial feature does not match the facial feature pre-stored in the access control terminal, the access control terminal sends a secondary facial recognition request to the server.

[0147] S811: In response to the secondary face recognition request, the server sends a point-to-point connection instruction to the access control terminal and the user terminal respectively.

[0148] S813: The access control terminal and the user terminal establish a point-to-point communication channel in response to the point-to-point connection instruction.

[0149] S815: The access control terminal sends the target video frame to the user terminal through the point-to-point communication channel.

[0150] S817: The user terminal performs face recognition on the face image information in the target video frame to obtain a third target face feature of the target person.

[0151] S819: If the third target facial feature matches the facial feature pre-stored in the user terminal, the user terminal sends an access lock opening instruction to the access control terminal through the point-to-point communication channel.

[0152] It should be noted that the specific implementation of steps S801 to S819 is similar to the above embodiment and will not be repeated here.

[0153] In this way, by calling the user end through a point-to-point channel to perform secondary face recognition, the accuracy of identity recognition of the target person is improved, the probability of false alarm triggering for people allowed to pass is reduced, and the storage cost and performance usage cost of the server can be reduced.

[0154] In some embodiments, if the first target facial feature does not match the facial feature pre-stored in the access control terminal, the access control terminal further sends the target video frame to the server.

[0155] Accordingly, after step S809, the method further includes:

[0156] S821: The access control terminal sends the target video frame to the server.

[0157] S823: The server performs face recognition on the facial image information in the target video frame to obtain a second target facial feature of the target person.

[0158] S825: If the second target facial feature matches the facial feature pre-stored on the server, the server sends an access lock opening instruction to the access control terminal.

[0159] In actual application, if the third target facial feature does not match the facial feature pre-stored in the user terminal, and / or if the second target facial feature does not match the facial feature pre-stored in the server, the server sends a visitor notification message to the user terminal, or the user terminal triggers a visitor notification operation to generate a visitor notification message.

[0160] In this way, secondary face recognition is performed based on the user terminal and the server respectively, avoiding misidentification of the target person and false alarm triggering of people allowed to pass.

[0161] In some embodiments, if the second target facial features do not match facial features pre-stored on the server, and / or the third target facial features do not match facial features pre-stored on the user terminal, the method further includes, at step S827, matching the target facial features with facial features of dangerous individuals pre-stored in a preset facial database. If a match is successful, a danger alarm message is sent to the user terminal. The dangerous individual may be a lawbreaker or an illegal individual designated by the user. This allows for timely danger warnings and safeguards personal and property safety.

[0162] The following is an introduction to the intelligent access control method of this application in combination with specific applications. Please refer to Figure 4 The intelligent access control system includes an access control terminal, a server and a user terminal. The access control terminal is a terminal with a video intercom function, including a power supply, an image acquisition module, a PIR detection module, a main control module, a face recognition module, a network transmission module, a near-field communication module, a motor control module and a button trigger device; the server is equipped with a cloud platform, and the access control terminal is respectively connected to the cloud platform of the server and the user terminal.

[0163] Specifically, the main control module serves as the control center, responsible for central scheduling and logic processing of the access control terminal. It connects and coordinates with all modules of the access control terminal. The image acquisition module, which includes a camera, CMOS sensor, and image processing unit, is responsible for capturing images or video signals and converting them into digital signals for use in facial recognition and other applications. The facial recognition module, which includes a visual AI chip and a facial feature storage unit, is used for facial recognition. The facial feature storage unit primarily stores pre-registered facial feature values ​​or facial image information of permitted personnel. The network transmission module is primarily responsible for connecting and transmitting information between the access control terminal and the cloud platform, and can utilize WiFi low-power keep-alive technology to connect to the cloud platform. The near-field communication module primarily communicates with user terminals via near-field communication technologies such as NFC or Bluetooth. This allows for access card swiping and the entry of facial features for permitted personnel. It receives pre-registered facial feature values ​​or facial image data from user terminals and transmits them to the facial feature storage unit for storage. The motor control module is connected to the main control module and is responsible for driving the motor device that opens and closes the access control lock. PIR detection module: used to detect target personnel by passively detecting infrared radiation signals. Button trigger device: can be a button for doorbell trigger or unlock trigger, etc.

[0164] Please refer to Figure 5 , the intelligent access control method may specifically include:

[0165] S1: When a target person appears within the detection range of the PIR detection module or presses the trigger button device, the access control terminal triggers the access control opening request. Specifically, when a target person appears within the detection range of the PIR detection module and stays there for a period of time greater than or equal to the preset time, the access control opening request is triggered.

[0166] S2: The image acquisition module acquires real-time video data of the target person in response to the access control opening request.

[0167] S3: The main control module extracts the target video frame from the real-time video data and sends it to the face recognition module. The target video frame includes the facial image information of the target person.

[0168] S4: The facial recognition module uses the visual AI chip to perform facial recognition on the target video frame and matches it with the facial features stored in the access control terminal. If a match occurs, the module proceeds to S5; if not, the module proceeds to S6.

[0169] S5: The main control module triggers the access lock opening operation, so that the motor control module drives the access lock to open.

[0170] S6: The network transmission module sends the target video frame to the cloud platform.

[0171] S7: The cloud platform performs facial recognition on the target video frame and matches the facial features stored on the cloud platform. If a match occurs, the process proceeds to S8; if not, the process proceeds to S9.

[0172] S8: The cloud platform sends an access lock opening instruction to the access control terminal and goes to S5.

[0173] S9: The cloud platform sends visitor notification information to the user terminal.

[0174] After the user reads the visitor notification information on the user terminal, he or she can choose to make a video call with the access control terminal or reject the access control opening request.

[0175] S10: The cloud platform determines whether it has received a video call request sent by the user terminal. If so, it executes S11; if not, it ends the operation.

[0176] S11: The cloud platform sends a point-to-point connection instruction to the access control terminal and the user terminal at the same time.

[0177] S12: The access control terminal and the user terminal establish a point-to-point communication channel in response to the point-to-point connection instruction.

[0178] S13: The access control terminal sends real-time video data to the cloud platform.

[0179] S14: The server establishes a forwarding channel with the user terminal.

[0180] S15: The server sends the real-time video data to the user terminal through the forwarding channel.

[0181] S16: The user terminal plays the real-time video data sent by the server.

[0182] S17: The user terminal determines whether the point-to-point connection channel is connected. If so, execute S18; if not, execute S13.

[0183] S18: The user terminal obtains communication quality data of the point-to-point connection channel.

[0184] S19: The user terminal determines whether the communication quality data meets the preset communication conditions. If yes, execute S20; if not, execute S13.

[0185] S20: The user terminal stops receiving data on the forwarding channel and switches to the point-to-point communication channel to receive real-time video data sent by the access control terminal.

[0186] S21: The user terminal monitors whether a termination instruction submitted by the user is received. If so, the operation ends; if not, S17 is executed.

[0187] It should be noted that for technical details not fully described in the above embodiments, reference can be made to the methods provided in any embodiment of the present application.

[0188] The following combination Figure 6 This application embodiment provides an intelligent access control method, which is applied to access control terminals. Figure 6 , the method specifically includes:

[0189] S901: In response to a door opening request, collecting real-time video data of a target person, and extracting a target video frame including facial image information of the target person from the real-time video data;

[0190] S903: Performing face recognition on the face image information in the target video frame to obtain a first target face feature of the target person;

[0191] S905: If the first target facial feature does not match the facial feature pre-stored in the access control terminal, the target video frame is sent to the server; so that the server performs facial recognition on the facial image information in the target video frame to obtain the second target facial feature of the target person. If the second target facial feature matches the facial feature pre-stored in the server, an access lock opening instruction is sent to the access control terminal.

[0192] In some embodiments, the method further includes S907: if the first target facial feature matches the facial feature pre-stored in the access control terminal, triggering an access lock opening operation.

[0193] In some embodiments, the method further comprises:

[0194] S909: Receive a point-to-point connection instruction sent by the server; the point-to-point connection instruction is generated by the server in response to the video call request sent by the user terminal;

[0195] S911: In response to the point-to-point connection instruction, establish a point-to-point communication channel with the user terminal and send real-time video data to the server; wherein the point-to-point communication channel is a channel between the access control terminal and the user terminal for transmitting audio and video data.

[0196] In some embodiments, the method further includes S913: in response to a video acquisition request from the user terminal, sending real-time video data to the user terminal through a point-to-point communication channel, so that the user terminal plays the real-time video data on the target interface.

[0197] In some embodiments, before step S901, the method further includes: if it is detected that a target person exists within a preset range and the target person stays within the preset range for a time period greater than or equal to a preset time period, triggering a door opening request.

[0198] The following combination Figure 7 This application embodiment provides an intelligent access control method, which is applied to the server. Please refer to Figure 7 , the method specifically includes:

[0199] S1001: Receive a target video frame sent by an access control terminal after determining that a first target facial feature does not match a facial feature pre-stored in the access control terminal; the target video frame is a target video frame including facial image information of a target person extracted from real-time video data of a target person by the access control terminal; the first target facial feature is a feature obtained by the access control terminal through facial recognition of the facial image information in the target video frame;

[0200] S1003: Performing face recognition on the face image information in the target video frame to obtain a second target face feature.

[0201] S1005: If the second target facial feature matches the facial feature pre-stored on the server, an access lock opening instruction is sent to the access control terminal.

[0202] In some embodiments, the access control system further includes a user terminal, and the method further includes:

[0203] S1007: If the second target facial feature does not match the facial feature pre-stored on the server, a visitor notification message is sent to the user terminal.

[0204] In some embodiments, after S1007, the method further includes:

[0205] S1009: In response to the video call request sent by the user terminal, a point-to-point connection instruction is sent to the access control terminal and the user terminal respectively; so that the access control terminal and the user terminal respond to the point-to-point connection instruction, establish a point-to-point communication channel, and the access control terminal sends real-time video data to the server; wherein the point-to-point communication channel is a channel between the access control terminal and the user terminal for transmitting audio and video data;

[0206] S1011: Establishing a forwarding channel with the user terminal. The forwarding channel is a communication channel between the server and the user terminal for forwarding audio and video data.

[0207] In some embodiments, after S1011, the method also includes S1013: when the user terminal determines that the second communication quality data of the forwarding channel is better than the first communication quality data of the point-to-point communication channel, in response to the video acquisition request of the user terminal, the real-time video data sent by the access control terminal is forwarded to the user terminal through the forwarding channel, so that the user terminal plays the received real-time video data on the target interface.

[0208] In some other embodiments, after S1011, the method further includes:

[0209] S1015: Send the real-time video data to the user terminal through the forwarding channel, so that the user terminal plays the real-time video data sent by the server on the target interface.

[0210] Furthermore, the method may further include:

[0211] S1017: In response to a video acquisition request generated by the user terminal based on the first communication quality data not meeting the preset communication conditions, real-time video data is sent to the user terminal through a forwarding channel; so that the user terminal switches the real-time video data sent by the access control terminal currently playing on the target interface to the real-time video data forwarded by the server.

[0212] The following combination Figure 8 This application embodiment provides an intelligent access control method, which is applied to user terminals. Please refer to Figure 8 , the method specifically includes:

[0213] S1101: Receive visitor notification information sent by the server, where the visitor notification information is generated by the server after determining that the second target facial features do not match the facial features pre-stored on the server.

[0214] S1103: Sending the video call request triggered by the user based on the access notification information to the server, so that the server sends a point-to-point connection instruction to the user terminal and the access control terminal;

[0215] S1105: In response to the point-to-point connection instruction, establish a point-to-point communication channel with the access control terminal; wherein the point-to-point communication channel is a channel between the access control terminal and the user terminal for transmitting audio and video data.

[0216] S1107: In response to the forwarding channel establishment request from the server, a forwarding channel is established with the server. The forwarding channel is a communication channel between the server and the user terminal for forwarding audio and video data.

[0217] In some embodiments, after S1107, the method further includes:

[0218] S1109: Acquire first communication quality data of the point-to-point communication channel and second communication quality data of the forwarding channel;

[0219] S1111: Determine, based on the first communication quality data and the second communication quality data, a channel with better communication quality among the point-to-point communication channel and the forwarding channel;

[0220] S1113: Receive real-time video data through the channel with better communication quality, and play the received real-time video data on the target interface.

[0221] In some other embodiments, after S1107, the method further includes:

[0222] S1115: Receive real-time video data sent by the server through the forwarding channel;

[0223] S1117: Playing the real-time video data sent by the server on the target interface;

[0224] S1119: Acquire first communication quality data of the point-to-point communication channel;

[0225] S1121: If the first communication quality data meets the preset communication condition, send a video acquisition request to the access control terminal; so that the access control terminal responds to the video acquisition request and sends real-time video data to the user terminal through the point-to-point communication channel;

[0226] S1123: The real-time video data sent by the server currently being played on the target interface is switched to the real-time video data sent by the access control terminal.

[0227] In some embodiments, after S1123, the method further includes S1125: if it is monitored that the first communication quality data does not meet the preset communication conditions, the real-time video data sent by the access control terminal currently playing on the target interface is switched to the real-time video data sent by the server through the forwarding channel.

[0228] The present application also provides an intelligent access control device, which is applied to an access control terminal, such as Figure 9As shown, the device includes:

[0229] Image acquisition module 11: used to collect real-time video data of the target person in response to the access control opening request, and extract the target video frame including the facial image information of the target person from the real-time video data;

[0230] The first face recognition module 12 is used to perform face recognition on the face image information in the target video frame to obtain the first target face feature of the target person;

[0231] Video frame sending module 13: used to send the target video frame to the server if the first target facial feature does not match the facial feature pre-stored in the access control terminal; so that the server can perform facial recognition on the facial image information in the target video frame to obtain the second target facial feature of the target person. If the second target facial feature matches the facial feature pre-stored in the server, the access lock opening instruction is sent to the access control terminal.

[0232] In some embodiments, the device further includes an access lock control module configured to trigger an access lock opening operation if the first target facial feature matches a facial feature pre-stored in the access terminal.

[0233] In some embodiments, the device also includes a first point-to-point communication channel establishment module: used to receive a point-to-point connection instruction sent by the server; the point-to-point connection instruction is generated by the server in response to a video call request sent by the user terminal; and used to respond to the point-to-point connection instruction, establish a point-to-point communication channel with the user terminal, and send real-time video data to the server; wherein the point-to-point communication channel is a channel between the access control terminal and the user terminal for transmitting audio and video data.

[0234] In some embodiments, the device further includes a video data sending module for sending real-time video data to the user terminal through a point-to-point communication channel in response to a video acquisition request from the user terminal, so that the user terminal plays the real-time video data on the target interface.

[0235] In some embodiments, it also includes an access control opening request trigger module: before responding to the access control opening request and collecting real-time video data of the target person, if it is monitored that the target person exists within the preset range and the target person stays within the preset range for a time greater than or equal to the preset time, the access control opening request is triggered.

[0236] The present application also provides an intelligent access control device, which is applied to the server. Figure 10 As shown, the device includes:

[0237] Target video frame receiving module 21: used to receive a target video frame sent by the access control terminal after determining that the first target facial feature does not match the facial feature pre-stored in the access control terminal; the target video frame is a target video frame including facial image information of the target person extracted by the access control terminal from the real-time video data of the target person; the first target facial feature is a feature obtained by the access control terminal through facial recognition of the facial image information in the target video frame;

[0238] The second face recognition module 22 is used to perform face recognition on the face image information in the target video frame to obtain the second target face feature of the target person;

[0239] The instruction sending module 23 is used to send an access lock opening instruction to the access control terminal if the second target facial feature matches the facial feature pre-stored in the server.

[0240] In some embodiments, the access control system further includes a user terminal, and the device further includes a visitor notification information module: used to send visitor notification information to the user terminal if the second target facial features do not match the facial features pre-stored on the server.

[0241] In some embodiments, the apparatus further comprises:

[0242] Point-to-point connection instruction sending module: After sending visitor notification information to the user terminal, in response to the video call request sent by the user terminal, it sends a point-to-point connection instruction to the access control terminal and the user terminal respectively; so that the access control terminal and the user terminal respond to the point-to-point connection instruction, establish a point-to-point communication channel, and the access control terminal sends real-time video data to the server; wherein the point-to-point communication channel is a channel between the access control terminal and the user terminal for transmitting audio and video data;

[0243] Forwarding channel establishment module: used to establish a forwarding channel with the user terminal. The forwarding channel is a communication channel between the server and the user terminal for forwarding audio and video data.

[0244] In some embodiments, the device also includes a video data forwarding module: after establishing a forwarding channel with a user terminal, when the user terminal determines that the second communication quality data of the forwarding channel is better than the first communication quality data of the point-to-point communication channel, in response to the video acquisition request of the user terminal, the real-time video data sent by the access control terminal is forwarded to the user terminal through the forwarding channel, so that the user terminal plays the received real-time video data on the target interface.

[0245] In other embodiments, the video data forwarding module is also used to: after establishing a forwarding channel with the user terminal, send real-time video data to the user terminal through the forwarding channel; so that the user terminal plays the real-time video data sent by the server on the target interface.

[0246] Furthermore, the video data forwarding module is also used to: in response to a video acquisition request generated by the user terminal based on the first communication quality data not meeting the preset communication conditions, send real-time video data to the user terminal through a forwarding channel; so that the user terminal switches the real-time video data sent by the access control terminal currently playing on the target interface to the real-time video data forwarded by the server.

[0247] The present application also provides an intelligent access control device, which is applied to a user terminal, such as Figure 11 As shown, the device includes:

[0248] The visitor notification information receiving module 31 is used to receive the visitor notification information sent by the server. The visitor notification information is generated by the server after determining that the second target facial feature does not match the facial feature pre-stored in the server.

[0249] The video call request sending module 32 is used to send the video call request triggered by the user based on the access notification information to the server, so that the server sends a point-to-point connection instruction to the user terminal and the access control terminal;

[0250] The second point-to-point communication channel establishing module 33 is used to establish a point-to-point communication channel with the access control terminal in response to the point-to-point connection instruction; wherein the point-to-point communication channel is a channel for transmitting audio and video data between the access control terminal and the user terminal.

[0251] The forwarding channel establishing module 34 is used to establish a forwarding channel with the server in response to the forwarding channel establishment request of the server. The forwarding channel is a communication channel between the server and the user terminal for forwarding audio and video data.

[0252] In some embodiments, the apparatus further comprises:

[0253] Communication quality data acquisition module: used for acquiring first communication quality data of the point-to-point communication channel and second communication quality data of the forwarding channel after establishing the forwarding channel with the server;

[0254] A communication quality determination module: configured to determine a channel with better communication quality among the point-to-point communication channel and the forwarding channel based on the first communication quality data and the second communication quality data;

[0255] Video data playback module: used to receive real-time video data through a channel with better communication quality and play the received real-time video data on the target interface.

[0256] In some other embodiments, the apparatus further comprises:

[0257] The video data playback module is also used to receive the real-time video data sent by the server through the forwarding channel after establishing the forwarding channel with the server; and play the real-time video data sent by the server on the target interface;

[0258] The communication quality data acquisition module is further used to acquire first communication quality data of the point-to-point communication channel;

[0259] A video acquisition request sending module is configured to send a video acquisition request to the access control terminal if the first communication quality data meets a preset communication condition; so that the access control terminal responds to the video acquisition request and sends real-time video data to the user terminal through a point-to-point communication channel;

[0260] The video data playback module is also used to switch the real-time video data sent by the server currently being played on the target interface to the real-time video data sent by the access control terminal.

[0261] In some embodiments, the video data playback module is also used to switch the real-time video data sent by the server currently playing on the target interface to the real-time video data sent by the access control terminal. If it is monitored that the first communication quality data does not meet the preset communication conditions, the video data sent by the access control terminal currently playing on the target interface will be switched to the real-time video data sent by the server through the forwarding channel.

[0262] The device and method embodiments in the above device embodiments are based on the same application concept.

[0263] An embodiment of the present application provides an intelligent access control device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the intelligent access control method provided in the above method embodiment.

[0264] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area. The program storage area can store the operating system, application programs required for functions, etc.; the data storage area can store data created based on the use of the device, etc. In addition, the memory can include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.

[0265] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Taking running on a server as an example, Figure 12This is a hardware structure diagram of a server of an intelligent access control method provided by an embodiment of the present application. Figure 12 As shown, the server 800 may vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 810 (processor 810 may include, but is not limited to, a microprocessor (MCU) or a processing device such as a programmable logic device (FPGA), a memory 830 for storing data, and one or more storage media 820 (e.g., one or more mass storage devices) for storing application programs 823 or data 822. The memory 830 and storage media 820 may be either transient or persistent storage. The program stored in the storage medium 820 may include one or more modules, each of which may include a series of instruction operations on the server. Furthermore, the CPU 810 may be configured to communicate with the storage medium 820 to execute the series of instruction operations in the storage medium 820 on the server 800. The server 800 may also include one or more power supplies 860, one or more wired or wireless network interfaces 850, one or more input and output interfaces 840, and / or one or more operating systems 821, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.

[0266] The input / output interface 840 can be used to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by the communications provider of the server 800. In one embodiment, the input / output interface 840 may include a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the input / output interface 840 may be a radio frequency (RF) module for wireless communication with the Internet.

[0267] It can be understood by those skilled in the art that Figure 12 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 12 More or fewer components than shown, or with Figure 12 Different configurations shown.

[0268] An embodiment of the present application also provides a storage medium, which can be set in a server to store at least one instruction or at least one program related to an intelligent access control method in a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the intelligent access control method provided by the above method embodiment.

[0269] Optionally, in this embodiment, the storage medium may be located in at least one of a plurality of network servers in the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard drive, a magnetic disk, or an optical disk, among other media capable of storing program code.

[0270] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described above.

[0271] As can be seen from the embodiments of the intelligent access control method, device, equipment, server or storage medium provided by the present application, in the technical solution of the present application, the access control terminal responds to the access control opening request, collects the real-time video data of the target person, and extracts the target video frame including the facial image information of the target person from the real-time video data, and performs face recognition on the facial image information in the target video frame, and performs facial feature matching based on the facial features pre-stored in the access control terminal. By using the facial recognition capability on the access control terminal side to filter the people allowed to pass, the transmission efficiency of the facial image information and the image recognition efficiency can be effectively improved. Then, if the first target facial feature does not match the facial feature pre-stored in the access control terminal, the access control terminal sends the target video frame to the server, and the server performs face recognition on the facial image information in the target video frame again to obtain the second target facial feature of the target person.

[0272] It should be noted that the order of the embodiments of the present application described above is for descriptive purposes only and does not represent the superiority or inferiority of the embodiments. The above description is of specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0273] The various embodiments in this application are described in a progressive manner. Similar portions between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the device, equipment, and storage medium embodiments are generally similar to the method embodiments, so their descriptions are relatively simple. For relevant portions, refer to the descriptions of the method embodiments.

[0274] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.

[0275] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.

Claims

1. An intelligent access control method, applied to an access control system, characterized in that: The access control system includes an access control terminal and a server, and the method includes: The access control terminal collects real-time video data of the target person in response to the access control opening request, and extracts a target video frame including facial image information of the target person from the real-time video data; If the access control terminal does not meet the face recognition condition, the access control terminal sends a face recognition request to the server; The server sends a point-to-point connection instruction to the access control terminal and the user terminal respectively in response to the face recognition request; The access control terminal and the user terminal establish a point-to-point communication channel in response to the point-to-point connection instruction; the point-to-point communication channel is established based on the P2P penetration technology and in accordance with the protocol exchange method; If the point-to-point communication channel is connected, the access control terminal sends the target video frame to the user terminal through the point-to-point communication channel; If the point-to-point communication channel is not connected, or the point-to-point communication channel is not connected within a preset time period, it is determined that the point-to-point communication channel fails to be established, the server establishes a forwarding channel with the user terminal, and sends the received target video frame to the user terminal based on the forwarding channel; The user terminal performs face recognition on the face image information in the target video frame to obtain a third target face feature of the target person; If the third target facial feature matches the facial feature pre-stored in the user terminal, the user terminal sends an access lock opening instruction to the access control terminal through the point-to-point communication channel; if the third target facial feature does not match the facial feature pre-stored in the user terminal, a visitor notification operation is triggered to generate visitor notification information; If the access control terminal meets the face recognition condition, the access control terminal performs face recognition on the face image information in the target video frame to obtain a first target face feature of the target person; If the first target facial feature does not match the facial feature pre-stored in the access control terminal, the access control terminal sends the target video frame to the server; The server performs face recognition on the face image information in the target video frame to obtain a second target face feature of the target person; If the second target facial feature matches the facial feature pre-stored in the server, the server sends an access lock opening instruction to the access control terminal; If the second target facial feature does not match the facial feature pre-stored by the server, the server sends a visitor notification message to the user terminal; The server sends a point-to-point connection instruction to the access control terminal and the user terminal respectively based on the video call request sent by the user terminal; The access control terminal and the user terminal establish a point-to-point communication channel in response to the point-to-point connection instruction, and the access control terminal sends real-time video data to the server; The server establishes a forwarding channel with the user terminal; The server sends the real-time video data to the user terminal through the forwarding channel, where the forwarding channel is a communication channel between the server and the user terminal for forwarding the audio and video data; The user terminal plays the real-time video data sent by the server on the target interface; When the point-to-point connection channel is connected, the user terminal acquires first communication quality data of the point-to-point connection channel; If the first communication quality data meets the preset communication condition, the user terminal sends a video acquisition request to the access control terminal; The access control terminal sends the real-time video data to the user terminal through the point-to-point communication channel in response to the video acquisition request; The user terminal stops receiving data on the forwarding channel and switches to the point-to-point communication channel to receive real-time video data sent by the access control terminal; The communication quality of the point-to-point communication channel is monitored based on the first communication quality data. When it is monitored that the communication quality of the point-to-point communication channel does not meet the preset communication condition, the user terminal receives the real-time video data sent by the server through the forwarding channel and plays it on the target interface.

2. The method according to claim 1, characterized in that After the server establishes a forwarding channel with the user terminal, the method further includes: The user terminal obtains first communication quality data of the point-to-point communication channel and second communication quality data of the forwarding channel; The user terminal determines, based on the first communication quality data and the second communication quality data, a channel with better communication quality between the point-to-point communication channel and the forwarding channel; The user terminal receives the real-time video data through the channel with better communication quality, and plays the received real-time video data on the target interface.

3. The method according to claim 1, characterized in that After the server establishes a forwarding channel with the user terminal, the method further includes: If the first communication quality data meets the preset communication condition, the user terminal sends a video acquisition request to the access control terminal; The access control terminal responds to the video acquisition request by executing the step of sending the real-time video data to the user terminal through the point-to-point communication channel; and the user terminal switches the real-time video data sent by the server currently played on the target interface to the real-time video data sent by the access control terminal.

4. The method according to claim 3, characterized in that After the user terminal switches the real-time video data sent by the server and currently played on the target interface to the real-time video data sent by the access control terminal, the method further includes: If the user terminal detects that the first communication quality data does not meet the preset communication condition, the user terminal switches the real-time video data sent by the access control terminal currently played on the target interface to the real-time video data forwarded by the server.

5. The method according to any one of claims 1 to 4, characterized in that: Before the access control terminal responds to the access control opening request triggered by the target person, the method further includes: If the access control terminal detects that the target person exists within a preset range, and the target person stays within the preset range for a time period greater than or equal to a preset time period, the access control opening request is triggered.

6. The method according to claim 1, characterized in that Before the access control terminal sends the target video frame to the user terminal through the point-to-point communication channel, the method further includes: If the point-to-point communication channel is connected, the access control terminal sends the target video frame to the user terminal through the point-to-point communication channel; If the point-to-point communication channel is not connected, the access control terminal sends the target video frame to the server; The server forwards the target video frame to the user terminal through a forwarding channel between the server and the user terminal.

7. An intelligent access control system, characterized in that: The system includes an access control terminal and a server; The access control terminal is used to respond to the access control opening request, collect real-time video data of the target person, and extract the target video frame including the facial image information of the target person from the real-time video data; if the access control terminal does not meet the face recognition condition, send a face recognition request to the server; The access control terminal and the user terminal are used to establish a point-to-point communication channel in response to a point-to-point connection instruction; the point-to-point communication channel is established based on the P2P penetration technology and according to the protocol exchange method; The access control terminal is used to send the target video frame to the user terminal through the point-to-point communication channel if the point-to-point communication channel is connected; The server is used to determine that the point-to-point communication channel fails to be established if the point-to-point communication channel fails to establish a connection, or the point-to-point communication channel fails to establish a connection within a preset time period, establish a forwarding channel with the user terminal, and send the received target video frame to the user terminal based on the forwarding channel; The user terminal is used to perform face recognition on the face image information in the target video frame to obtain a third target face feature of the target person; The user terminal is used to send an access lock opening instruction to the access control terminal through the point-to-point communication channel if the third target facial feature matches the facial feature pre-stored in the user terminal; if the third target facial feature does not match the facial feature pre-stored in the user terminal, trigger a visitor notification operation to generate visitor notification information; The access control terminal is used to perform face recognition on the face image information in the target video frame to obtain the first target face feature of the target person if the access control terminal meets the face recognition condition; if the first target face feature does not match the face feature pre-stored in the access control terminal, send the target video frame to the server; The server is used to perform face recognition on the face image information in the target video frame to obtain a second target face feature of the target person; if the second target face feature matches the face feature pre-stored in the server, a door lock opening instruction is sent to the access control terminal; The server is also used to: if the second target facial feature does not match the facial feature pre-stored in the server, send visitor notification information to the user terminal; based on the video call request sent by the user terminal, send a point-to-point connection instruction to the access control terminal and the user terminal respectively to establish a point-to-point communication channel, and the access control terminal is used to send real-time video data to the server; The server is used to establish a forwarding channel with the user terminal, and send the real-time video data to the user terminal through the forwarding channel. The forwarding channel is a communication channel between the server and the user terminal for forwarding the audio and video data; The user terminal is used to: play the real-time video data sent by the server on the target interface; When the point-to-point connection channel is connected, obtaining first communication quality data of the point-to-point connection channel; If the first communication quality data meets the preset communication condition, sending a video acquisition request to the access control terminal; The access control terminal is used to send the real-time video data to the user terminal through the point-to-point communication channel in response to the video acquisition request; The user terminal is used to stop receiving data on the forwarding channel and switch to the point-to-point communication channel to receive real-time video data sent by the access control terminal; And, based on the first communication quality data, the communication quality of the point-to-point communication channel is monitored. When it is monitored that the communication quality of the point-to-point communication channel does not meet the preset communication condition, the real-time video data sent by the server is received through the forwarding channel and played on the target interface.

8. The system according to claim 7, characterized in that The user terminal is also used for: After the server establishes a forwarding channel with the user terminal, obtaining first communication quality data of the point-to-point communication channel and second communication quality data of the forwarding channel; Based on the first communication quality data and the second communication quality data, determining a channel with better communication quality between the point-to-point communication channel and the forwarding channel; And receiving the real-time video data through the channel with better communication quality, and playing the received real-time video data on the target interface.

9. The system according to claim 7, characterized in that The user terminal is further configured to: after the server establishes a forwarding channel with the user terminal, if the first communication quality data meets a preset communication condition, send a video acquisition request to the access control terminal; The access control terminal is further used to: in response to the video acquisition request, execute the step of sending the real-time video data to the user terminal through the point-to-point communication channel; and The user terminal is also used to switch the real-time video data sent by the server and currently played on the target interface to the real-time video data sent by the access control terminal.

10. The system according to claim 9, characterized in that The user terminal is also used for: after the user terminal switches the real-time video data sent by the server and currently played on the target interface to the real-time video data sent by the access control terminal, if it is monitored that the first communication quality data does not meet the preset communication conditions, the real-time video data sent by the access control terminal and currently played on the target interface is switched to the real-time video data forwarded by the server.

11. The system according to any one of claims 7 to 10, characterized in that: The access control terminal is also used to: before the access control terminal responds to the access control opening request triggered by the target person, if it is monitored that the target person exists within a preset range and the target person stays within the preset range for a period of time greater than or equal to a preset period of time, trigger the access control opening request.

12. The system according to claim 7, characterized in that The access control terminal is further configured to: before the access control terminal sends the target video frame to the user terminal through the point-to-point communication channel, if the point-to-point communication channel is connected, send the target video frame to the user terminal through the point-to-point communication channel; if the point-to-point communication channel is not connected, send the target video frame to the server; The server is also used to forward the target video frame to the user terminal through a forwarding channel between the server and the user terminal.

13. An intelligent access control method, applied to an access control terminal, characterized in that: The method comprises: In response to a door opening request, real-time video data of a target person is collected, and a target video frame including facial image information of the target person is extracted from the real-time video data; If the access control terminal does not meet the face recognition condition, send a face recognition request to the server, so that the server responds to the face recognition request and sends a point-to-point connection instruction to the access control terminal and the user terminal respectively; Cooperating with the user terminal to respond to the point-to-point connection instruction, establishing a point-to-point communication channel; the point-to-point communication channel is established based on P2P penetration technology and according to a protocol exchange method; If the point-to-point communication channel is connected, the target video frame is sent to the user terminal through the point-to-point communication channel; if the point-to-point communication channel is not connected, or the point-to-point communication channel is not connected within a preset time period, it is determined that the point-to-point communication channel has failed to be established, and the server establishes a forwarding channel with the user terminal, and sends the received target video frame to the user terminal based on the forwarding channel; so that the user terminal performs face recognition on the facial image information in the target video frame to obtain the third target facial feature of the target person; if the third target facial feature matches the facial feature pre-stored in the user terminal, the user terminal sends an access lock opening instruction to the access control terminal through the point-to-point communication channel; if the third target facial feature does not match the facial feature pre-stored in the user terminal, a visitor notification operation is triggered to generate visitor notification information; If the access control terminal meets the face recognition condition, face recognition is performed on the face image information in the target video frame to obtain the first target face feature of the target person; If the first target facial feature does not match the facial feature pre-stored in the access control terminal, the target video frame is sent to the server; so that the server performs facial recognition on the facial image information in the target video frame to obtain the second target facial feature of the target person; if the second target facial feature matches the facial feature pre-stored in the server, a door lock opening instruction is sent to the access control terminal; if the second target facial feature does not match the facial feature pre-stored in the server, a visitor notification message is sent to the user terminal; and based on the video call request sent by the user terminal, a point-to-point connection instruction is sent to the access control terminal and the user terminal respectively; Cooperating with the user terminal to respond to the point-to-point connection instruction, establish a point-to-point communication channel, and send real-time video data to the server, so that the server establishes a forwarding channel with the user terminal, and sends the real-time video data to the user terminal through the forwarding channel, wherein the forwarding channel is a communication channel between the server and the user terminal for transcoding audio and video data; thereby enabling the user terminal to play the real-time video data sent by the server on a target interface, and when the point-to-point connection channel is connected, obtain first communication quality data of the point-to-point connection channel, and if the first communication quality data meets a preset communication condition, send a video acquisition request to the access control terminal; In response to the video acquisition request, the real-time video data is sent to the user terminal through the point-to-point communication channel; data reception of the forwarding channel is stopped, and the point-to-point communication channel is switched to receive the real-time video data sent by the access control terminal, and the communication quality of the point-to-point communication channel is monitored based on the first communication quality data. When it is monitored that the communication quality of the point-to-point communication channel does not meet the preset communication conditions, the real-time video data sent by the server is received through the forwarding channel and played on the target interface.

14. The method according to claim 13, characterized in that The method further comprises: If the first target facial feature matches the facial feature pre-stored in the access control terminal, the access lock opening operation is triggered.

15. The method according to claim 13, characterized in that The method further comprises: Receiving a point-to-point connection instruction sent by the server; the point-to-point connection instruction is generated by the server in response to a video call request sent by the user terminal; In response to the point-to-point connection instruction, a point-to-point communication channel is established with the user terminal, and real-time video data is sent to the server; wherein the point-to-point communication channel is a channel between the access control terminal and the user terminal for transmitting audio and video data.

16. The method according to claim 13, characterized in that The method further comprises: In response to a video acquisition request from a user terminal, real-time video data is sent to the user terminal through a point-to-point communication channel, so that the user terminal plays the real-time video data on a target interface.

17. The method according to claim 16, characterized in that Before collecting real-time video data of the target person in response to the door opening request and extracting a target video frame including facial image information of the target person from the real-time video data, the method further includes: If a target person is detected within a preset range, and the target person stays within the preset range for a time period greater than or equal to a preset time period, the access control opening request is triggered.

18. An intelligent access control method, applied to a server, characterized in that: The method comprises: In response to a face recognition request sent by the access control terminal when the access control terminal does not meet the face recognition condition, a point-to-point connection instruction is sent to the access control terminal and the user terminal respectively; so that the access control terminal and the user terminal establish a point-to-point communication channel in response to the point-to-point connection instruction; the point-to-point communication channel is based on P2P penetration technology and is established according to a protocol exchange method; and when the access control terminal establishes a connection through the point-to-point communication channel, the access control terminal sends a target video frame to the user terminal through the point-to-point communication channel; If the point-to-point communication channel fails to establish a connection, or the point-to-point communication channel fails to establish a connection within a preset time period, it is determined that the point-to-point communication channel fails to be established, a forwarding channel is established with the user terminal, and the received target video frame is sent to the user terminal based on the forwarding channel, so that the user terminal performs face recognition on the facial image information in the target video frame to obtain a third target facial feature of the target person; if the third target facial feature matches the facial feature pre-stored in the user terminal, the user terminal sends an access lock opening instruction to the access control terminal through the point-to-point communication channel; if the third target facial feature does not match the facial feature pre-stored in the user terminal, a visitor notification operation is triggered to generate visitor notification information; A target video frame is received, which is sent by the access control terminal after the access control terminal satisfies the face recognition condition and determines that the first target face feature does not match the face feature pre-stored in the access control terminal; the target video frame is a target video frame including face image information of the target person extracted by the access control terminal from the real-time video data of the target person; the first target face feature is a feature obtained by the access control terminal through face recognition of the face image information in the target video frame; Performing face recognition on the face image information in the target video frame to obtain a second target face feature of the target person; If the second target facial feature matches the facial feature pre-stored in the server, sending an access lock opening instruction to the access control terminal; If the second target facial feature does not match the facial feature pre-stored on the server, sending a visitor notification message to the user terminal; Based on the video call request sent by the user terminal, a point-to-point connection instruction is sent to the access control terminal and the user terminal respectively, so that the access control terminal and the user terminal respond to the point-to-point connection instruction, establish a point-to-point communication channel, and the access control terminal sends real-time video data to the server; The real-time video data is sent to the user terminal through a forwarding channel, wherein the forwarding channel is a communication channel between the server and the user terminal for forwarding the audio and video data, so that the user terminal plays the real-time video data sent by the server on a target interface, and when the point-to-point connection channel is connected, first communication quality data of the point-to-point connection channel is obtained, and if the first communication quality data meets a preset communication condition, a video acquisition request is sent to the access control terminal; and then the access control terminal responds to the video acquisition request and sends the real-time video data to the user terminal through the point-to-point communication channel; Stop receiving data on the forwarding channel, switch to the point-to-point communication channel to receive real-time video data sent by the access control terminal, and monitor the communication quality of the point-to-point communication channel based on the first communication quality data. When it is monitored that the communication quality of the point-to-point communication channel does not meet the preset communication conditions, receive the real-time video data sent by the server through the forwarding channel and play it on the target interface.

19. The method according to claim 18, characterized in that After the forwarding channel with the user terminal is established, the method further includes: When the user terminal determines that the second communication quality data of the forwarding channel is better than the first communication quality data of the point-to-point communication channel, in response to the video acquisition request of the user terminal, the real-time video data sent by the access control terminal is forwarded to the user terminal through the forwarding channel, so that the user terminal plays the received real-time video data on the target interface.

20. An intelligent access control device, applied to an access control terminal, characterized in that: The device comprises: Image acquisition module: used to respond to the access control opening request, collect real-time video data of the target person, and extract the target video frame including the facial image information of the target person from the real-time video data; if the access control terminal does not meet the face recognition condition, send a face recognition request to the server, so that the server responds to the face recognition request and sends a point-to-point connection instruction to the access control terminal and the user terminal respectively; cooperate with the user terminal to respond to the point-to-point connection instruction to establish a point-to-point communication channel; the point-to-point communication channel is based on P2P penetration technology and is established according to the protocol exchange method; if the point-to-point communication channel is connected, send the target video frame to the user terminal through the point-to-point communication channel; if the point-to-point communication channel is not connected, or the point-to-point communication channel is not connected within a preset time period, determine the If the point-to-point communication channel fails to be established, the server establishes a forwarding channel with the user terminal, and sends the received target video frame to the user terminal based on the forwarding channel; so that the user terminal performs face recognition on the facial image information in the target video frame to obtain the third target facial feature of the target person; if the third target facial feature matches the facial feature pre-stored in the user terminal, the user terminal sends a door lock opening instruction to the access control terminal through the point-to-point communication channel; if the third target facial feature does not match the facial feature pre-stored in the user terminal, a visitor notification operation is triggered to generate visitor notification information; a first face recognition module: used to perform face recognition on the facial image information in the target video frame to obtain the first target facial feature of the target person if the access control terminal meets the face recognition condition; Video frame sending module: used for sending the target video frame to the server if the first target facial feature does not match the facial feature pre-stored in the access control terminal; so that the server performs facial recognition on the facial image information in the target video frame to obtain the second target facial feature of the target person, and if it is determined that the second target facial feature matches the facial feature pre-stored in the server, sending a door lock opening instruction to the access control terminal; if the second target facial feature does not match the facial feature pre-stored in the server, sending visitor notification information to the user terminal, and based on the video call request sent by the user terminal, sending point-to-point connection instructions to the access control terminal and the user terminal respectively; and, Used to coordinate with the user terminal to respond to the point-to-point connection instruction, establish a point-to-point communication channel, and send real-time video data to the server, so that the server establishes a forwarding channel with the user terminal, and sends the real-time video data to the user terminal through the forwarding channel, and the forwarding channel is a communication channel between the server and the user terminal for translating audio and video data; thereby enabling the user terminal to play the real-time video data sent by the server on a target interface, and when the point-to-point connection channel is connected, obtain first communication quality data of the point-to-point connection channel, and if the first communication quality data meets the preset communication conditions, send a video acquisition request to the access control terminal; and, Used to respond to the video acquisition request, send the real-time video data to the user terminal through the point-to-point communication channel; stop receiving data from the forwarding channel, switch to the point-to-point communication channel to receive the real-time video data sent by the access control terminal, and monitor the communication quality of the point-to-point communication channel based on the first communication quality data. When it is monitored that the communication quality of the point-to-point communication channel does not meet the preset communication conditions, receive the real-time video data sent by the server through the forwarding channel and play it on the target interface.

21. The device according to claim 20, characterized in that The device also includes: Access lock control module: used to trigger the access lock opening operation if the first target facial feature matches the facial feature pre-stored in the access control terminal.

22. The device according to claim 20, characterized in that The device also includes: The first point-to-point communication channel establishment module is used to receive a point-to-point connection instruction sent by the server; the point-to-point connection instruction is generated by the server in response to a video call request sent by the user terminal; and is used to, In response to the point-to-point connection instruction, a point-to-point communication channel is established with the user terminal, and real-time video data is sent to the server; wherein the point-to-point communication channel is a channel between the access control terminal and the user terminal for transmitting audio and video data.

23. The device according to claim 20, characterized in that The device also includes: Video data sending module: used to respond to the video acquisition request of the user terminal and send real-time video data to the user terminal through a point-to-point communication channel so that the user terminal plays the real-time video data on the target interface.

24. The device according to claim 23, characterized in that The device also includes: Access control opening request trigger module: used to trigger the access control opening request before collecting real-time video data of the target person in response to the access control opening request and extracting the target video frame including the facial image information of the target person from the real-time video data. If the target person is monitored to exist within a preset range and the target person stays within the preset range for a period of time greater than or equal to a preset period of time, the access control opening request is triggered.

25. An intelligent access control device, applied to a server, characterized in that: The device is used for: In response to a face recognition request sent by the access control terminal when the access control terminal does not meet the face recognition condition, sending a point-to-point connection instruction to the access control terminal and the user terminal respectively; so that the access control terminal and the user terminal respond to the point-to-point connection instruction and establish a point-to-point communication channel; The point-to-point communication channel is established based on the P2P penetration technology and in accordance with the protocol exchange method; and enabling the access control terminal to send a target video frame to the user terminal through the point-to-point communication channel when the point-to-point communication channel establishes a connection; If the point-to-point communication channel is not connected, or the point-to-point communication channel is not connected within a preset time period, it is determined that the point-to-point communication channel fails to be established, a forwarding channel is established with the user terminal, and the received target video frame is sent to the user terminal based on the forwarding channel, so that the user terminal performs face recognition on the face image information in the target video frame to obtain a third target face feature of the target person; If the third target facial feature matches the facial feature pre-stored in the user terminal, the user terminal sends an access lock opening instruction to the access control terminal through the point-to-point communication channel; If the third target facial feature does not match the facial feature pre-stored in the user terminal, triggering a visitor notification operation to generate visitor notification information; The device also includes: Target video frame receiving module: used for receiving a target video frame sent by the access control terminal after the access control terminal meets the face recognition condition and determines that the first target face feature does not match the face feature pre-stored in the access control terminal; the target video frame is a target video frame including the face image information of the target person extracted by the access control terminal from the real-time video data of the target person; the first target face feature is a feature obtained by the access control terminal through face recognition of the face image information in the target video frame; The second face recognition module is used to perform face recognition on the face image information in the target video frame to obtain the second target face feature of the target person; Instruction sending module: used for sending a door lock opening instruction to the access control terminal if the second target facial feature matches the facial feature pre-stored in the server; Visitor notification information module: used for sending visitor notification information to the user terminal if the second target facial feature does not match the facial feature pre-stored on the server; Video data forwarding module: used for sending point-to-point connection instructions to the access control terminal and the user terminal respectively based on the video call request sent by the user terminal, so that the access control terminal and the user terminal respond to the point-to-point connection instruction, establish a point-to-point communication channel, and the access control terminal sends real-time video data to the server; sends the real-time video data to the user terminal through the forwarding channel, and the forwarding channel is a communication channel between the server and the user terminal for forwarding the audio and video data, so that the user terminal plays the real-time video data sent by the server on the target interface, and obtains the first communication quality of the point-to-point connection channel when the point-to-point connection channel is connected. If the first communication quality data meets the preset communication conditions, a video acquisition request is sent to the access control terminal; the access control terminal then responds to the video acquisition request and sends the real-time video data to the user terminal through the point-to-point communication channel; and, the method is used to stop receiving data through a forwarding channel, switch to the point-to-point communication channel to receive the real-time video data sent by the access control terminal, and monitor the communication quality of the point-to-point communication channel based on the first communication quality data. When it is detected that the communication quality of the point-to-point communication channel does not meet the preset communication conditions, the real-time video data sent by the server is received through the forwarding channel and played on the target interface.

26. The device according to claim 25, characterized in that The device also includes: Video data forwarding module: used for forwarding the real-time video data sent by the access control terminal to the user terminal through the forwarding channel after the forwarding channel is established with the user terminal, when the user terminal determines that the second communication quality data of the forwarding channel is better than the first communication quality data of the point-to-point communication channel, in response to the video acquisition request of the user terminal, so that the user terminal plays the received real-time video data on the target interface.

27. An intelligent access control device, comprising a processor and a memory, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the intelligent access control method as described in any one of claims 1-6, 13-19.

28. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the intelligent access control method as described in any one of claims 1-6, 13-19.

29. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the intelligent access control method as described in any one of claims 1-6, 13-19.