CN-121982804-A - Unlocking method, intelligent glasses, storage medium and electronic equipment
Abstract
The embodiment of the specification discloses a method for unlocking, intelligent glasses, a storage medium and electronic equipment, wherein the method comprises the steps of firstly obtaining the distance between the intelligent glasses and digital key equipment, determining whether a user is looking at the digital key equipment currently through the intelligent glasses if the distance is smaller than or equal to a first preset threshold value, obtaining similarity between a shooting image corresponding to the intelligent glasses and at least one equipment image corresponding to the digital key equipment, which is stored in advance, if the similarity is larger than or equal to a second preset threshold value, sending an unlocking instruction to the digital key equipment, and enabling the digital key equipment to execute corresponding unlocking operation based on the unlocking instruction.
Inventors
- LIU FUHU
- WANG YONGTAO
- QIU ZHIKAI
Assignees
- 支付宝(杭州)数字服务技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260122
Claims (14)
- 1. A method for unlocking, applied to intelligent glasses, comprising: Obtaining the distance between the intelligent glasses and the digital key equipment, and determining whether a user is looking at the digital key equipment currently through the intelligent glasses if the distance is smaller than or equal to a first preset threshold value; If yes, obtaining the similarity between the shooting image corresponding to the intelligent glasses and at least one device image corresponding to the pre-stored digital key device; and if the similarity is greater than or equal to a second preset threshold, sending an unlocking instruction to the digital key device so that the digital key device executes corresponding unlocking operation based on the unlocking instruction.
- 2. The method of claim 1, the obtaining a distance between the smart glasses and a digital key device, comprising: obtaining one or more devices obtained by Bluetooth scanning of the intelligent glasses; And if the digital key equipment exists in the one or more pieces of equipment according to the Bluetooth information of the at least one digital key equipment bound with the intelligent glasses, determining the distance between the intelligent glasses and the digital key equipment according to the Bluetooth signal intensity corresponding to the digital key equipment.
- 3. The method of claim 2, further comprising: and if at least one digital key device bound with the intelligent glasses exists, starting Bluetooth scanning.
- 4. A method according to claim 3, said turning on a bluetooth scan if there is at least one digital key device bound to the smart glasses, comprising: And if at least one digital key device bound with the intelligent glasses exists, and the distance between the current position of the intelligent glasses and the position of the at least one digital key device stored in advance is smaller than or equal to a third preset threshold value, starting Bluetooth scanning.
- 5. The method of claim 1, the obtaining a similarity between a captured image corresponding to the smart glasses and at least one device image corresponding to the digital key device stored in advance, comprising: extracting a first image embedding of a shooting image corresponding to the intelligent glasses; and obtaining the similarity between the first image embedding and the second image embedding of at least one device image corresponding to the pre-stored digital key device.
- 6. The method of claim 1, the transmitting an unlock instruction to the digital key device, comprising: Identity verification is carried out on the user through the intelligent glasses; And if the user passes the identity verification, sending an unlocking instruction to the digital key device.
- 7. The method of claim 1, wherein the digital key device performs a command validity verification on the unlocking command, and if the command validity verification is passed, performs a corresponding unlocking operation.
- 8. The method of claim 1, further comprising: And scanning the binding two-dimensional code corresponding to the digital key device through the intelligent glasses, obtaining Bluetooth information corresponding to the digital key device, and binding the intelligent glasses and the digital key device based on the Bluetooth information.
- 9. The method of claim 8, further comprising: And shooting by the intelligent glasses to obtain at least one equipment image corresponding to the digital key equipment, and storing the at least one equipment image.
- 10. The method of claim 9, the storing the at least one device image, comprising: And extracting a second image embedding corresponding to the at least one equipment image, and storing the second image embedding.
- 11. An intelligent eyeglass for unlocking, comprising: the gazing module is used for obtaining the distance between the intelligent glasses and the digital key equipment, and if the distance is smaller than or equal to a first preset threshold value, determining whether the user is gazing at the digital key equipment currently through the intelligent glasses; The shooting module is used for obtaining the similarity between the shooting image corresponding to the intelligent glasses and at least one device image corresponding to the pre-stored digital key device if the intelligent glasses are used for shooting the image; And the unlocking module is used for sending an unlocking instruction to the digital key equipment if the similarity is greater than or equal to a second preset threshold value, so that the digital key equipment executes corresponding unlocking operation based on the unlocking instruction.
- 12. A storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the method according to any of claims 1-10.
- 13. An electronic device comprising a processor and a memory, wherein the memory stores a computer program adapted to be loaded by the processor and to perform the steps of the method according to any of claims 1-10.
- 14. A computer program product having stored thereon at least one instruction, which when executed by a processor, implements the steps of the method of any of claims 1 to 10.
Description
Unlocking method, intelligent glasses, storage medium and electronic equipment Technical Field The present invention relates to an artificial intelligence technology, and in particular, to a method for unlocking, an intelligent glasses, a storage medium, and an electronic device. Background The digital key is widely applied to intelligent door locks, bicycles, and other scenes. The current mainstream scheme uses a mobile phone as a carrier, and unlocking is realized by means of manual operation App (Application), NFC (NEAR FIELD Communication) touch or bluetooth noninductive mode. The App operation and touch mode require the user to unlock the mobile phone, open the application or actively approach, the interactive link is long, and the experience is not natural enough. Although the non-inductive unlocking realizes the convenience of 'approaching and opening' in part of scenes, the non-inductive unlocking lacks accurate identification of the actual behavior intention of a user, lacks a user identity verification link and has safety risks, and meanwhile, part of terminal equipment (such as an intelligent door lock) is limited by power consumption, hardware and the like and cannot provide non-inductive functions. Disclosure of Invention An object of an embodiment of the present disclosure is to provide a method for unlocking, smart glasses, a storage medium, and an electronic device. The embodiment of the specification provides a method for unlocking, through providing a digital key scheme based on intelligent glasses 'watching unlocking', intelligent glasses are used as perception terminals of user identities and intentions, technologies such as watching behavior recognition and visual image matching are combined, user behavior intentions are accurately recognized, watching unlocking operation is completed, whether users 'intentional unlocking' is achieved or not is accurately judged, potential safety hazards of 'passive triggering' in traditional near field communication can be solved, better digital key unlocking experience can be brought to users, nature degree of unlocking interaction can be improved, unlocking safety can be enhanced, wide application prospect is achieved, the problems that users experience is poor in noisy environments without manual or voice awakening of the users, unlocking experience of the users is improved, high-power consumption calculation such as visual image matching can be triggered only in a short distance, triggering frequency can be reduced, and intelligent glasses are improved, and the method comprises the following steps: Obtaining the distance between the intelligent glasses and the digital key equipment, and determining whether a user is looking at the digital key equipment currently through the intelligent glasses if the distance is smaller than or equal to a first preset threshold value; If yes, obtaining the similarity between the shooting image corresponding to the intelligent glasses and at least one device image corresponding to the pre-stored digital key device; and if the similarity is greater than or equal to a second preset threshold, sending an unlocking instruction to the digital key device so that the digital key device executes corresponding unlocking operation based on the unlocking instruction. Further, the obtaining the distance between the smart glasses and the digital key device includes: obtaining one or more devices obtained by Bluetooth scanning of the intelligent glasses; And if the digital key equipment exists in the one or more pieces of equipment according to the Bluetooth information of the at least one digital key equipment bound with the intelligent glasses, determining the distance between the intelligent glasses and the digital key equipment according to the Bluetooth signal intensity corresponding to the digital key equipment. Further, the method further comprises: and if at least one digital key device bound with the intelligent glasses exists, starting Bluetooth scanning. Further, if at least one digital key device bound with the smart glasses exists, starting bluetooth scanning, including: And if at least one digital key device bound with the intelligent glasses exists, and the distance between the current position of the intelligent glasses and the position of the at least one digital key device stored in advance is smaller than or equal to a third preset threshold value, starting Bluetooth scanning. Further, the obtaining the similarity between the photographed image corresponding to the smart glasses and at least one device image corresponding to the pre-stored digital key device includes: extracting a first image embedding of a shooting image corresponding to the intelligent glasses; and obtaining the similarity between the first image embedding and the second image embedding of at least one device image corresponding to the pre-stored digital key device. Further, the sending the unlocking instruction to the digital key device incl