A method, device and medium for synchronizing device data through image features
By capturing the location characteristics through the camera of the AI access control equipment and matching them with the server, automatic synchronization of access control equipment data is achieved, solving the problem of complex and high-cost equipment replacement, improving replacement efficiency and user experience, and reducing after-sales costs.
Patent Information
- Application Number
- CN202410804763.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-06-21
AI Technical Summary
Replacing existing access control equipment is complex, time-consuming and costly, especially when data needs to be reconfigured after equipment failure, especially when there are many devices, which affects the customer experience and increases the company's after-sales service costs.
The camera of the AI access control device captures images of the surrounding environment, extracts location features and uploads them to the server. The server matches and issues configuration data based on the features, realizing automatic synchronization of device data, simplifying the replacement process and reducing reliance on professionals.
It greatly improves the efficiency of equipment failure replacement, reduces after-sales service costs, reduces dependence on technical requirements, and improves user experience.
Smart Images

Figure CN118379820B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of access control systems, and in particular to a method, a device and a medium for synchronizing device data through image features. Background Art
[0002] In the field of intercom access control systems, access control terminals are part of the video intercom system, and the equipment usually saves some configuration data offline, including address books, facial recognition feature values and other data. These devices installed outdoors will have some faults if they are in a high temperature and sun-exposed working environment for a long time, or if they exceed the service life of the equipment. In addition to replacing new equipment, these faulty equipment usually involves resetting the system and data synchronization. These tasks usually require professional equipment maintenance personnel from the manufacturer to perform data maintenance on site. The maintenance personnel need to organize users to re-collect card numbers, faces and other data on the new terminal, or require maintenance personnel to log in to the entire system server to reconfigure the equipment and import old data before the equipment can be reactivated. The entire replacement process requires both installation workers and professional data maintenance personnel. The entire replacement process is complex, inefficient, and tests the technical capabilities of engineers, which invisibly increases the after-sales service costs of the company. In particular, when there are many access control devices, such as the access control system in the community, there are many AI access control devices involved. The workload of reconfiguring data after equipment failure is large, and the time it takes to restore the access control equipment is too long, which affects the use of customers. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a method, device and medium for synchronizing device data through image features, so as to overcome the problems that the replacement of existing access control equipment is complicated, time-consuming and costly.
[0004] In a first aspect, the present invention provides a method for synchronizing device data by image features, comprising the following steps:
[0005] Step S1: After the AI access control device is installed, it is powered on and starts up, actively sends a connection request according to the pre-stored server address, and establishes a connection with the server;
[0006] Step S2: The server generates configuration data for the AI access control device in the management background according to the entered installation location of the AI access control device, and sends the configuration data to the AI access control device;
[0007] Step S3: The server sends a command to the AI access control device to obtain location features;
[0008] Step S4: After receiving the command to obtain the location features, the AI access control device captures the surrounding environment image through its own camera, extracts its location features and uploads them to the server;
[0009] Step S5: The server binds the location feature of the AI access control device to its configuration data based on the unique device number, and stores the location feature in the feature library;
[0010] Step S6: When the AI access control device fails and is replaced with a new one, the data synchronization function is triggered on the new AI access control device, and the surrounding environment image is recaptured through its own camera, and its location features are extracted and uploaded to the server;
[0011] Step S7: The server receives the location features actively uploaded by the AI access control device, matches them with the location features in the feature library, and if the match is successful, obtains the configuration data bound to the corresponding location features in the feature library, and sends the configuration data to the new AI access control device to complete data synchronization.
[0012] Furthermore, the configuration data includes access control information and address book information, the access control information includes face, card number or password, and the address book information sends a directory of communications within the callable authority range according to the terminal installation location.
[0013] Furthermore, the step S4 specifically includes:
[0014] After receiving the command to obtain the location feature, the AI access control device turns off its own white LED fill light, and determines the ambient light intensity and whether there is backlight based on the camera. If there is sufficient light and no direct sunlight, it starts to capture the surrounding environment image; if there is insufficient light or direct sunlight, it suspends the capture behavior, and calculates the next capture judgment time based on the device time and light intensity until the AI access control device captures the surrounding environment image;
[0015] The captured surrounding environment images are preprocessed, including image enhancement, denoising and segmentation, the location features of the surrounding environment images are extracted, and the location features and the unique device number are uploaded to the server.
[0016] Furthermore, the data synchronization function sets different trigger mechanisms according to different forms of devices: for AI access control devices with screens, within the preset time after the device is powered on, by continuously entering the eight-digit password, entering the project setting interface, clicking the "data synchronization" function, the AI access control device pops up "Are you sure you want to synchronize data?", and starts the snapshot action after confirmation; for AI access control devices without screens but with buttons, within the preset time after the device is powered on, by continuously pressing the corresponding physical button on the device end 5 times within 10 seconds to start the "data synchronization" function, the AI access control device voice broadcasts ""Do you want to synchronize data?" If "yes", please double-click the button twice", and starts the snapshot action after receiving the corresponding button operation within the specified time; for AI access control devices without screens or buttons, within the preset time after the device is powered on, by continuously doing the action of gathering and opening the five fingers in front of the device camera 5 times to start the "data synchronization" function, the AI terminal voice broadcasts ""Do you want to synchronize data?" If "yes", please do the action of gathering and opening the five fingers again", and starts the snapshot action after receiving the corresponding operation.
[0017] In a second aspect, the present invention provides a device for synchronizing device data by using image features, the device being a server, and comprising:
[0018] Configuration data module, used for when a new AI access control device is connected to the server, the server generates configuration data for the AI access control device in the management background according to the installation location of the AI access control device entered by the operator, and sends the configuration data to the AI access control device, the configuration data includes access control information and address book information, the access control information includes face, card number or password, and the address book information sends the directory of contacts within the callable permission range according to the terminal installation location;
[0019] Active feature acquisition module, used by the server to send commands to obtain location features to the AI access control device;
[0020] The data binding module is used to bind the location features of the AI access control device to its configuration data based on the device's unique number, and store the location features in the feature library;
[0021] The data synchronization module is used to match the received location features with the location features in the feature library when receiving the location features actively uploaded by the AI access control device. If the match is successful, the configuration data bound to the corresponding location features in the feature library is obtained, and the configuration data is sent to the AI access control device to complete data synchronization.
[0022] In a third aspect, the present invention provides a device for synchronizing device data through image features, wherein the device is an AI access control device, and the device comprises:
[0023] The connection module is used to start the AI access control device after it is installed, and actively send a connection request according to the pre-stored server address to establish a connection with the server;
[0024] The passive capture module is used to capture the surrounding environment image through its own camera after receiving the command of obtaining the location features from the server, and extract its location features and upload them to the server;
[0025] The active capture module is used to actively trigger the data synchronization function, re-capture the surrounding environment image through its own camera, and extract its location features and upload them to the server;
[0026] The access control module is used to obtain user input information and determine whether to open or lock the door based on the input information and configuration data;
[0027] The storage module is used to store the configuration data sent by the server.
[0028] Furthermore, the capture process of the passive capture module and the active capture module is as follows:
[0029] By turning off its own white LED fill light, the camera determines the ambient light intensity and whether there is backlight. If there is sufficient light and no direct sunlight, it starts capturing images of the surrounding environment. If there is insufficient light or direct sunlight, it pauses the capture behavior and calculates the next capture judgment time based on the device time and light intensity until the AI access control device captures images of the surrounding environment.
[0030] Furthermore, the active triggering of data synchronization function sets different triggering mechanisms according to different forms of devices: for AI access control devices with screens, within the preset time after the device is powered on, by continuously entering the eight-digit password, entering the project setting interface, clicking the "data synchronization" function, the AI access control device pops up "Are you sure you want to synchronize data?", and starts the snapshot action after confirmation; for AI access control devices without screens but with buttons, within the preset time after the device is powered on, by continuously pressing the corresponding physical button on the device end 5 times within 10 seconds to start the "data synchronization" function, the AI access control device voice broadcasts ""Do you want to synchronize data?" If "yes", please double-click the button twice", and starts the snapshot action after receiving the corresponding button operation within the specified time; for AI access control devices without screens or buttons, within the preset time after the device is powered on, by continuously doing the action of gathering and opening the five fingers in front of the device camera 5 times to start the "data synchronization" function, the AI terminal voice broadcasts ""Do you want to synchronize data?" If "yes", please do the action of gathering and opening the five fingers again", and starts the snapshot action after receiving the corresponding operation.
[0031] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0032] The advantages of the present invention are that when replacing a faulty device, there is no need for service personnel to visit the site again to perform complex data synchronization work. Only the corresponding access control terminal device needs to be replaced on site, which greatly improves the efficiency of replacing faulty equipment and improves user experience. At the same time, the technical requirements for after-sales installation personnel are also relatively low, reducing the after-sales cost of the project. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.
[0034] Figure 1 The present invention is a flowchart of a method for synchronizing device data through image features in a first embodiment of the present invention.
[0035] Figure 2 The figure is a schematic diagram of the structure of an apparatus for synchronizing device data through image features in the second embodiment of the present invention.
[0036] Figure 3 The figure is a schematic diagram of the structure of an apparatus for synchronizing device data through image features in Embodiment 3 of the present invention.
[0037] Figure 4 Schematic diagram of the structure of the medium in the fourth embodiment of the present invention.
[0038] Figure 5 A schematic diagram of a system topology structure corresponding to a method for synchronizing device data through image features of the present invention.
[0039] Figure 6 This is a schematic diagram of the flow of configuration data sent by the server of the present invention.
[0040] Figure 7 This is a schematic diagram of the process of the server of the present invention actively triggering the acquisition of the location characteristics of the AI access control device.
[0041] Figure 8 The figure is a schematic diagram of the data synchronization process for quickly replacing a faulty device according to the present invention. DETAILED DESCRIPTION
[0042] The overall design idea of the present invention is to use the device's own camera to capture images of the installation environment, and use the device's AI algorithm to extract the image's feature value, and upload this feature value to the server. The installation location set on the server during the device installation phase corresponds one-to-one to the device's location feature. When the device needs to be replaced, the new device also uses its own camera to capture images of the installation environment, and uploads the image location features to the server. The server compares the feature values, finds the user data at the location, and automatically sends it down to complete data synchronization, without the need for professionals to log in to the background system to perform a series of operations.
[0043] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. Embodiment 1
[0044] This embodiment provides a method for synchronizing device data through image features, such as Figure 1 , Figure 5~Figure 8 As shown, the method includes:
[0045] Step S1: After the AI access control device is installed, it is powered on and starts up, actively sends a connection request according to the pre-stored server address, and establishes a connection with the server;
[0046] Step S2: The server generates configuration data for the AI access control device in the management background according to the input installation location of the AI access control device (such as the structural space location such as the building unit number), and sends the configuration data to the
[0047] Sent to the AI access control device. This is the first time to synchronize data to the device. The first synchronization of data from the server to the device terminal requires professional operation;
[0048] Step S3: The server sends a command to the AI access control device to obtain location features;
[0049] Step S4: After receiving the command to obtain the location features, the AI access control device captures the surrounding environment image through its own camera, extracts its location features and uploads them to the server;
[0050] Step S5, the server binds the location feature of the AI access control device to its configuration data based on the unique number of the device (the unique code SN or MAC is the factory information of the device, and the unique code of the device will be synchronized to the server after the connection is established with the server), and stores the location feature in the feature library;
[0051] Step S6: When the AI access control device fails and is replaced with a new one, the data synchronization function is triggered on the new AI access control device, and the surrounding environment image is recaptured through its own camera, and its location features are extracted and uploaded to the server; the replaced AI access control device also establishes a connection with the server through the pre-stored server address before transmitting data.
[0052] Step S7, the server receives the location features actively uploaded by the AI access control device, matches it with the location features in the feature library, and if the match is successful, obtains the configuration data bound to the corresponding location features in the feature library, and sends the configuration data to the new device to complete data synchronization. This is the data synchronization work when replacing a new device after a device failure, and is the process of synchronizing the configuration data already in the server to the new device. In the non-first data synchronization work, when the server does not receive the operator's data synchronization function, it will not actively send the configuration data, but wait for the new device to actively upload the location features for matching. The matching process is: the server compares the received location features with the location features in the feature library one by one to determine whether there are location features with a similarity of more than 98%. If so, the match is successful, and the server sends the configuration data bound to the corresponding location features in the feature library to the AI access control device, otherwise, it prompts that the match failed. Specifically, different prompts are given to users according to different forms of AI access control devices. For example, for AI access control devices with screens, the screen pop-up prompts "no synchronization data exists", and for AI access control devices without screens, the voice prompts "no synchronization data exists".
[0053] The configuration data includes access control information and address book information. The access control information includes face, card number or password. The address book information sends the directory of calls within the call authority range according to the terminal installation location. The configuration data can also add configuration scene modes, advertisements, ringtones, etc. based on project requirements.
[0054] Preferably, the step S4 specifically includes:
[0055] After receiving the command to obtain the location features, the AI access control device turns off its own white LED fill light and judges the ambient light intensity and whether there is backlight based on the camera. If there is sufficient light (sufficient light when the detected image reaches the preset light intensity) and there is no direct sunlight (the condition is satisfied when the contrast, brightness and color distribution characteristics of the detected image meet the corresponding preset range), it starts to capture the surrounding environment image; if there is insufficient light or it is in direct sunlight, the capture behavior is suspended, and the next capture judgment time is calculated based on the device time (synchronized ntp server time) and the light intensity until the AI access control device captures the surrounding environment image;
[0056] The captured surrounding environment images are preprocessed, including image enhancement, denoising and segmentation, and the position features of the surrounding environment images are extracted and uploaded to the server.
[0057] Preferably, the data synchronization function sets different trigger mechanisms according to different forms of devices: For AI access control devices with screens, within the preset time after the device is powered on, enter the engineering setting interface by continuously entering the eight-digit password, click the "data synchronization" function, and the AI access control device pops up "Are you sure you want to synchronize data?", and starts the snapshot action after confirmation. For AI access control devices without screens but with buttons, within the preset time after the device is powered on, the "data synchronization" function is activated by pressing the corresponding physical button on the device end 5 times in 10 seconds, and the AI access control device voice broadcasts "Do you want to synchronize data?" If "yes", please double-click the button twice, and start the snapshot action after double-clicking the corresponding button within the specified time. For AI access control devices without screens or buttons, within the preset time after the device is powered on, the "data synchronization" function is activated by continuously doing the action of gathering and opening the five fingertips in front of the device camera 5 times, and the AI terminal voice broadcasts "Do you want to synchronize data?" If "yes", please do the action of gathering and opening the five fingertips again, and start the snapshot action after following the prompts.
[0058] The trigger path of the above-mentioned "data synchronization" function is hidden, or the trigger operation is complicated, which avoids synchronization when there is no need to synchronize data.
[0059] Based on the same inventive concept, the present application also provides an application corresponding to the method in Example 1 Figure 5 The server shown is shown in Example 2. Embodiment 2
[0060] In this embodiment, a device for synchronizing device data by image features is provided, such as Figure 2 As shown, the device is a server, and the device includes:
[0061] The configuration data module is used for generating configuration data for the AI access control device in the management background according to the installation location of the AI access control device entered by the operator when a new AI access control device is connected to the server, and sending the configuration data to the AI access control device. The configured data is bound to the unique device number in the server. The configuration data includes access control information and address book information. The access control information includes face, card number or password. The address book information sends the directory of calls within the call authority according to the terminal installation location. The process of the server sending configuration data is as follows: Figure 6 As shown;
[0062] Active feature acquisition module, used by the server to send commands to obtain location features to the AI access control device;
[0063] The data binding module is used to bind the location characteristics of the AI access control device to its configuration data based on the device's unique number, and store the location characteristics in the feature library; the server actively triggers the process of obtaining the location characteristic value of the AI access control device, such as Figure 7 As shown;
[0064] The data synchronization module is used to match the received location features with the location features in the feature library when receiving the location features actively uploaded by the AI access control device. If the match is successful, the configuration data bound to the corresponding location features in the feature library is obtained, and the configuration data is sent to the AI access control device to complete data synchronization. The matching process is as follows: the server compares the received location features with the location features in the feature library one by one to determine whether there are location features with a similarity of more than 98%. If so, the match is successful, and the server sends the configuration data bound to the corresponding location features in the feature library to the AI access control device. Otherwise, it prompts that the match failed. The data synchronization process for the server to quickly replace a faulty device is as follows. Figure 8 shown.
[0065] Based on the same inventive concept, the present application also provides an application corresponding to the method in Example 1 Figure 5 The AI access control device shown is shown in Example 3. Embodiment 3
[0066] In this embodiment, a device for synchronizing device data by image features is provided, such as Figure 3 As shown, the device is an AI access control device, and the device includes:
[0067] The connection module is used to start the AI access control device after it is installed, and actively send a connection request according to the pre-stored server address to establish a connection with the server;
[0068] The passive capture module is used to capture the surrounding environment image through its own camera after receiving the command of obtaining the location features from the server, and extract its location features and upload them to the server;
[0069] The active capture module is used to actively trigger the data synchronization function, capture the surrounding environment image through its own camera, and extract its location features and upload it to the server;
[0070] The access control module is used to obtain user input information and determine whether to open or lock the door based on the input information and configuration data;
[0071] The storage module is used to store the configuration data sent by the server.
[0072] Preferably, the capture process of the passive capture module and the active capture module is as follows:
[0073] By turning off its own white LED fill light, the camera determines the ambient light intensity and whether there is backlight. If the light is sufficient (reaching the preset light intensity) and there is no direct sunlight, it starts capturing the surrounding environment. If the light is insufficient or there is direct sunlight, the capture behavior is suspended, and the next capture judgment time is calculated based on the device time and light intensity until the AI access control device captures the surrounding environment.
[0074] Preferably, the active triggering data synchronization function sets different triggering mechanisms according to different forms of devices: For AI access control devices with screens, within the preset time of device power-on, enter the engineering setting interface by continuously entering the eight-digit password, click the "data synchronization" function, and the AI access control device pops up "Are you sure you want to synchronize data?", and starts the snapshot action after confirmation. For AI access control devices without screens but with buttons, within the preset time of device power-on, the "data synchronization" function is activated by pressing the corresponding physical button on the device end 5 times in 10 seconds, and the AI access control device voice broadcasts "Do you want to synchronize data?" If "yes", please double-click the button twice, and start the snapshot action after double-clicking the corresponding button within the specified time. For AI access control devices without screens or buttons, within the preset time of device power-on, the "data synchronization" function is activated by continuously doing the action of gathering and opening the five fingers in front of the device camera 5 times, and the AI terminal voice broadcasts "Do you want to synchronize data?" If "yes", please do the action of gathering and opening the five fingers again, and start the snapshot action after following the prompts.
[0075] In addition, depending on the different forms of AI access control devices, different prompts are given to users when data synchronization fails. For example, for AI access control devices with screens, a pop-up window will prompt "There is no synchronized data". For AI access control devices without screens, a voice prompt will be given "There is no synchronized data".
[0076] Based on the same inventive concept, the present application provides a storage medium corresponding to the first embodiment, see the fourth embodiment for details. Embodiment 4
[0077] This embodiment provides a computer-readable storage medium, such as Figure 4 As shown, a computer program is stored thereon, and when the computer program is executed by a processor, any implementation method in Example 1 can be implemented.
[0078] The technical solution provided in the embodiments of the present application has at least the following technical effects or advantages: when equipment failure requires equipment updating, especially when equipment needs to be updated in batches, it is only necessary to send the new equipment to the user, instruct general installers to replace the corresponding access control terminal equipment on site, and perform a simple data synchronization trigger operation. The equipment terminal will automatically capture environmental photos to extract location features and send them to the server, which will perform feature matching and data synchronization. There is no need to send other professionals to log in to the background server to perform complex data synchronization operations. Therefore, it can greatly improve the efficiency of replacing faulty equipment, avoid user waiting time delays due to insufficient manpower, improve user experience, and at the same time reduce the technical requirements for after-sales personnel and reduce the overall after-sales cost of the project.
[0079] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.
Claims
1. A method for synchronizing device data by image features, characterized in that: The steps include: Step S1: After the AI access control device is installed, it is powered on and starts up, actively sends a connection request according to the pre-stored server address, and establishes a connection with the server; Step S2: The server generates configuration data for the AI access control device in the management background according to the entered installation location of the AI access control device, and sends the configuration data to the AI access control device; Step S3: The server sends a command to the AI access control device to obtain location features; Step S4: After receiving the command to obtain the location features, the AI access control device captures the surrounding environment image through its own camera, extracts its location features and uploads them to the server; Step S5: The server binds the location feature of the AI access control device to its configuration data based on the unique device number, and stores the location feature in the feature library; Step S6: When the AI access control device fails and is replaced with a new one, the corresponding AI access control device is replaced in situ, and the data synchronization function is triggered on the new AI access control device. The surrounding environment image is recaptured through its own camera, and its location features are extracted and uploaded to the server; Step S7: The server receives the location features actively uploaded by the AI access control device, matches them with the location features in the feature library, and if the match is successful, obtains the configuration data bound to the corresponding location features in the feature library, and sends the configuration data to the new AI access control device to complete data synchronization; The step S4 specifically includes: After receiving the command to obtain the location feature, the AI access control device turns off its own white LED fill light, and determines the ambient light intensity and whether there is backlight based on the camera. If there is sufficient light and no direct sunlight, it starts to capture the surrounding environment image; if there is insufficient light or direct sunlight, it suspends the capture behavior, and calculates the next capture judgment time based on the device time and light intensity until the AI access control device captures the surrounding environment image; The captured surrounding environment images are preprocessed, including image enhancement, denoising and segmentation, the location features of the surrounding environment images are extracted, and the location features and the unique device number are uploaded to the server.
2. A method for synchronizing device data by image features as claimed in claim 1, characterized in that: The configuration data includes access control information and address book information. The access control information includes face, card number or password. The address book information sends a directory of calls within the call authority range according to the terminal installation location.
3. A method for synchronizing device data by image features as claimed in claim 1, characterized in that: The data synchronization function sets different trigger mechanisms according to different forms of devices: For AI access control devices with screens, enter the project settings interface by continuously entering the eight-digit password within the preset time after the device is powered on. Click the "Data Synchronization" function, and the AI access control device will pop up "Are you sure you want to synchronize data?". After confirmation, the capture action will be started; For AI access control devices without screens but with buttons, within the preset time after the device is powered on, press the corresponding physical button five times in a row within 10 seconds on the device to start the "data synchronization" function. The AI access control device will announce "Do you want to synchronize data?" If "Yes", please double-click the button twice, and start the capture action after receiving the corresponding button operation within the specified time. For AI access control devices without screens or buttons, within the preset time after the device is powered on, you can activate the "data synchronization" function by continuously spreading your five fingers together in front of the device camera for five times. The AI terminal will announce "Do you want to synchronize data?" and if you say "Yes", "Please spread your five fingers together again". After receiving the corresponding operation, the capture action will be initiated.
4. A device for synchronizing device data by image features, characterized in that: The device is a server, and the device includes: Configuration data module, used for when a new AI access control device is connected to the server, the server generates configuration data for the AI access control device in the management background according to the installation location of the AI access control device entered by the operator, and sends the configuration data to the AI access control device, the configuration data including access control information and address book information; Active feature acquisition module, used by the server to send commands to obtain location features to the AI access control device; The data binding module is used to bind the location features of the AI access control device to its configuration data based on the device's unique number, and store the location features in the feature library; The data synchronization module is used to match the received location features with the location features in the feature library when receiving the location features actively uploaded by the AI access control device. If the match is successful, the configuration data bound to the corresponding location features in the feature library is obtained, and the configuration data is sent to the AI access control device to complete data synchronization.
5. A device for synchronizing device data by image features, characterized in that: The device is an AI access control device, and the device includes: The connection module is used to start the AI access control device after it is installed, and actively send a connection request according to the pre-stored server address to establish a connection with the server; The passive capture module is used to capture the surrounding environment image through its own camera after receiving the command of obtaining the location features from the server, and extract its location features and upload them to the server; The active capture module is used to actively trigger the data synchronization function, capture the surrounding environment image through its own camera, and extract its location features and upload it to the server; The access control module is used to obtain user input information and determine whether to open or lock the door based on the input information and configuration data; A storage module, used to store configuration data sent by the server; The capture process of the passive capture module and the active capture module is as follows: By turning off its own white LED fill light, the camera determines the ambient light intensity and whether there is backlight. If there is sufficient light and no direct sunlight, it starts capturing images of the surrounding environment. If there is insufficient light or direct sunlight, it pauses the capture behavior and calculates the next capture judgment time based on the device time and light intensity until the AI access control device captures images of the surrounding environment.
6. The apparatus for synchronizing device data by image features according to claim 5, characterized in that: The active triggering data synchronization function sets different triggering mechanisms according to different forms of devices: For AI access control devices with screens, enter the project settings interface by continuously entering the eight-digit password within the preset time after the device is powered on. Click the "Data Synchronization" function, and the AI access control device will pop up "Are you sure you want to synchronize data?". After confirmation, the capture action will be started; For AI access control devices without screens but with buttons, within the preset time after the device is powered on, press the corresponding physical button five times in a row within 10 seconds on the device to start the "data synchronization" function. The AI access control device will announce "Do you want to synchronize data?" If "Yes", please double-click the button twice, and start the capture action after receiving the corresponding button operation within the specified time. For AI access control devices without screens or buttons, within the preset time after the device is powered on, you can activate the "data synchronization" function by continuously spreading your five fingers together in front of the device camera for five times. The AI terminal will announce "Do you want to synchronize data?" and if you say "Yes", "Please spread your five fingers together again". After receiving the corresponding operation, the capture action will be initiated.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Data synchronization method and apparatus
CN106487798A
Door lock data migration method and system
CN117831168A
