Equipment pairing method and device, augmented reality glasses and storage medium
By detecting the preset matching opponent and extracting equipment images for identification, the problem of complex and efficiency of the pairing operation of the augmented reality glasses and the third -party equipment is solved, and the simplified equipment pairing process and efficient pairing process are achieved.
Patent Information
- Application Number
- CN202310913674.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-24
- Publication Date
- 2025-01-24
AI Technical Summary
When pairing existing augmented reality glasses with third-party devices, they are complex in operation and inefficient in pairing.
By detecting the preset pairing gestures existing in the current space image, extract the corresponding device image for image recognition, obtain device information, and pair with the target device based on this information.
Reduce the complexity of the equipment pairing operation, improve the pairing efficiency, so that users can activate the pairing process through simple gestures and automatically complete the equipment matching.
Smart Images

Figure CN119356514A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of augmented reality technology, and more particularly to a device pairing method, apparatus, augmented reality glasses, and storage medium. Background Technology
[0002] With the development of augmented reality technology, the use of augmented reality (AR) glasses is becoming more and more common. Controlling third-party devices through AR glasses will bring users a more convenient operating experience. Before controlling third-party devices, they need to be paired with the third-party devices. Currently, device pairing is generally done by scanning a QR code or verifying via mobile phone SMS, which is complicated and inefficient. Summary of the Invention
[0003] The main objective of this invention is to provide a device pairing method, apparatus, augmented reality glasses, and storage medium, aiming to solve the technical problems of complex operation and low pairing efficiency when pairing augmented reality glasses with third-party devices in the prior art.
[0004] To achieve the above objectives, the present invention provides a device pairing method applied to augmented reality glasses, the method comprising the following steps:
[0005] If a preset paired gesture is detected in the current spatial image, the device image corresponding to the preset paired gesture in the current spatial image is extracted;
[0006] Perform image recognition on the device image to obtain device information of the device corresponding to the device image;
[0007] The device is paired with the corresponding target device in the current space based on the device information.
[0008] Optionally, when a preset pairing gesture is detected in the current spatial image, extracting the device image in the current spatial image corresponding to the preset pairing gesture includes:
[0009] If a preset paired gesture is detected in the current spatial image, a closed region composed of the preset paired gesture is determined in the current spatial image;
[0010] Extract the device image from the current spatial image based on the enclosed region.
[0011] Optionally, the step of pairing the device information with the corresponding target device in the current space includes:
[0012] If the device information is included in the preset supported device list, open the wireless channel to perform device scanning;
[0013] The target device in the current space is determined based on the device information and the scanned device information, and then paired with the target device.
[0014] Optionally, the step of determining the target device in the current space based on the device information and the scanned device information, and pairing it with the target device, includes:
[0015] The device information is matched with the scanned device information;
[0016] If at least two matching devices exist, send a reverse authentication signal to each matching device in sequence.
[0017] Upon receiving an authentication feedback signal output by the matching device based on the reverse authentication signal, the device location of the matching device is obtained;
[0018] If the device location matches the device location of the device corresponding to the device image, then the matching device is determined to be the target device, and it is paired with the target device.
[0019] Optionally, when at least two matching devices exist, sending reverse authentication signals sequentially to each matching device includes:
[0020] When at least two matching devices exist, obtain the device information scan time for each matching device.
[0021] Based on the device information scanning time, reverse authentication signals are sequentially sent to each matching identifier.
[0022] Optionally, after pairing the device with the corresponding target device in the current space based on the device information, the method further includes:
[0023] If pairing with the target device is successful, a palmprint verification prompt message will be output.
[0024] Obtain a palm image of the user based on the palmprint verification prompt information, and perform palmprint matching between the palm image and a pre-stored palm image;
[0025] If the palmprint match is successful, the user is allowed to operate the target device.
[0026] Optionally, after pairing the device with the corresponding target device in the current space based on the device information, the method further includes:
[0027] If pairing with the target device is successful, the device identifier and device spatial location of the target device are obtained;
[0028] Store the device identifier in relation to the spatial location of the device.
[0029] Furthermore, to achieve the above objectives, the present invention also proposes a device pairing apparatus, the apparatus comprising:
[0030] The extraction module is used to extract the device image corresponding to the preset paired gesture in the current spatial image when a preset paired gesture is detected in the current spatial image;
[0031] The recognition module is used to perform image recognition on the device image to obtain device information of the device corresponding to the device image;
[0032] The pairing module is used to pair the device with the corresponding target device in the current space based on the device information.
[0033] Furthermore, to achieve the above objectives, the present invention also proposes an augmented reality glasses device, the device comprising: a memory, a processor, and a device pairing program stored in the memory and executable on the processor, the device pairing program being configured to implement the steps of the device pairing method as described above.
[0034] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing a device pairing program, which, when executed by a processor, implements the steps of the device pairing method as described above.
[0035] This invention, upon detecting a preset pairing gesture in the current spatial image, extracts the device image corresponding to the preset pairing gesture from the current spatial image; performs image recognition on the device image to obtain device information of the corresponding device; and pairs the device with a corresponding target device in the current space based on the device information. This invention activates the device pairing process upon detecting a preset pairing gesture in the current spatial image, performs image recognition on the device image corresponding to the preset pairing gesture to obtain device information, and pairs the device with a corresponding target device in the current space based on the device information. It can activate the device pairing process through gestures and automatically complete pairing with the target device using the device information obtained from recognizing the device image, reducing the operational complexity of device pairing and improving device pairing efficiency. Attached Figure Description
[0036] Figure 1 This is a schematic diagram of the structure of augmented reality glasses in the hardware operating environment involved in the embodiments of the present invention;
[0037] Figure 2 This is a flowchart illustrating the first embodiment of the device pairing method of the present invention;
[0038] Figure 3 This is a flowchart illustrating the second embodiment of the device pairing method of the present invention;
[0039] Figure 4 This is a flowchart illustrating the third embodiment of the device pairing method of the present invention;
[0040] Figure 5 This is a structural block diagram of the first embodiment of the device pairing device of the present invention.
[0041] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0042] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0043] Reference Figure 1 , Figure 1 This is a schematic diagram of the augmented reality glasses structure of the hardware operating environment involved in the embodiment of the present invention.
[0044] like Figure 1 As shown, the augmented reality glasses may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0045] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on augmented reality glasses and may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.
[0046] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a device pairing program.
[0047] exist Figure 1 In the augmented reality glasses shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 can be set in the augmented reality glasses. The augmented reality glasses call the device pairing program stored in the memory 1005 through the processor 1001 and execute the device pairing method provided in the embodiment of the present invention.
[0048] This invention provides a device pairing method, which is applied to augmented reality glasses, with reference to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the device pairing method of the present invention.
[0049] In this embodiment, the device pairing method includes the following steps:
[0050] Step S10: If a preset pairing gesture is detected in the current spatial image, extract the device image in the current spatial image that corresponds to the preset pairing gesture.
[0051] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, or an electronic device, augmented reality glasses, etc., capable of realizing the above functions. The following uses augmented reality glasses as an example to illustrate this embodiment and the subsequent embodiments.
[0052] It is understandable that the current spatial image can be an image of the space where the augmented reality glasses are located, captured by a camera device set on the augmented reality glasses; the preset pairing gesture can be a pre-set gesture to activate the pairing process with a third-party device; and the device image can be an image of the device that the user selects to be paired via gesture.
[0053] It should be understood that the current spatial image includes the user's gesture image and the device image. The user can select any device in the current space for pairing through preset pairing gestures. The augmented reality glasses capture the current spatial image through the camera and perform gesture recognition on the current spatial image. If a preset gesture is detected in the current spatial image, the device pairing process is initiated, and the device image corresponding to the preset pairing gesture in the current spatial image is extracted.
[0054] It should be noted that gesture recognition can be performed on the current spatial image using a preset gesture recognition algorithm. Specifically, gesture sample images containing preset paired gestures can be obtained, a gesture recognition training dataset can be constructed using the sample images, an initial neural network model can be trained using the training dataset, and the preset gesture recognition algorithm can be obtained when the accuracy of pattern recognition reaches a preset accuracy.
[0055] Step S20: Perform image recognition on the device image to obtain device information of the device corresponding to the device image.
[0056] It is understandable that equipment information includes, but is not limited to, equipment type and equipment model.
[0057] It should be noted that a preset device recognition algorithm can be used to perform image recognition on device images to obtain the device type and model corresponding to the device image. Specifically, device sample images containing device images can be obtained, a device recognition training dataset can be constructed using the device sample images, an initial device recognition model can be trained using the device recognition training dataset, and a preset device recognition algorithm can be obtained when the accuracy of the model is greater than the preset accuracy. The initial device recognition model includes, but is not limited to, image classification networks, key point recognition algorithms, and neural network models.
[0058] Step S30: Pair the device with the corresponding target device in the current space based on the device information.
[0059] It is understandable that the target device can be a device determined based on device information.
[0060] In practical implementation, for example, a user wears augmented reality glasses and selects a device to be paired in the current space using a preset pairing gesture. The augmented reality glasses are equipped with a camera device that captures an image of the current space. The user then uses a preset gesture recognition model to perform gesture recognition on the current space image. If a preset pairing gesture is detected in the current space image, the user extracts the device image corresponding to the preset pairing gesture from the current space image. The user then uses a preset device recognition algorithm to perform device recognition on the device image to obtain the device information of the device in the device image. Based on the device information, the user determines the corresponding target device in the current space and pairs it with the target device.
[0061] Furthermore, in order to improve the accuracy of gesture recognition and device recognition, step S10 includes: when a preset paired gesture is detected in the current spatial image, determining a closed region composed of the preset paired gesture in the current spatial image; and extracting a device image from the current spatial image based on the closed region.
[0062] In this embodiment, a preset pairing gesture forms a closed area, and the device within the closed area is the device that needs to be paired; the image within the closed area formed by the preset pairing gesture is extracted, and this image is the image of the device that needs to be paired.
[0063] In one example, the preset pairing gesture is a gesture that frames a device. A user wearing AR glasses has three third-party devices A, B, and C in the current space. The user needs to pair with device B. The user frames B with a gesture. The camera on the AR glasses captures an image of the current space and performs gesture recognition on the image. If the preset pairing gesture is detected, the closed area formed by the gesture is determined. The image of the device framed by the preset pairing gesture is extracted based on this closed area. The extracted device image is then recognized to obtain device information such as device type and model. The devices in the current space are scanned, and the device information is matched with the scanned device information to determine the successfully matched device as the target device, thus pairing with the target device.
[0064] This embodiment, upon detecting a preset pairing gesture in the current spatial image, extracts the device image corresponding to the preset pairing gesture from the current spatial image; performs image recognition on the device image to obtain device information of the device corresponding to the device image; and pairs the device with the corresponding target device in the current space based on the device information. This embodiment activates the device pairing process upon detecting a preset pairing gesture in the current spatial image, performs image recognition on the device image corresponding to the preset pairing gesture to obtain device information, and pairs the device with the corresponding target device in the current space based on the device information. This allows the device pairing process to be activated via gesture, and the pairing is automatically completed with the target device based on the device information obtained from recognizing the device image, reducing the operational complexity of device pairing and improving device pairing efficiency.
[0065] refer to Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the device pairing method of the present invention.
[0066] Based on the first embodiment described above, in this embodiment, step S30 includes:
[0067] Step S301: If the device information is included in the preset supported device list, open the wireless channel to perform device scanning.
[0068] It is understandable that the preset supported device list can be a list of devices that can be paired, such as lights, speakers, smart screens, smart curtains, smart cleaning robots, etc.; the preset supported device list contains device information indicating that it can be paired with the device; the wireless channel includes but is not limited to Bluetooth, wireless network, etc.; turn on the wireless channel to scan for devices in the current space.
[0069] Step S302: Determine the target device in the current space based on the device information and the scanned device information, and pair it with the target device.
[0070] Understandably, the device information is matched with the scanned device information, and the successfully matched device is identified as the target device, which is then paired with that target device.
[0071] In one example, the preset supported device list includes lights, speakers, smart screens, smart curtains, smart cleaning robots, etc. The device information obtained by recognizing the device image is: device type - smart speaker, device model - A01. The preset supported device list contains device information. The AR glasses turn on Bluetooth to scan for devices. The scanned device information includes: lights, smart speakers and smart curtains. The scanned device information is matched with the recognized device information to determine that the target device is a smart speaker, and then paired with the smart speaker.
[0072] Furthermore, multiple identical devices may exist within the current space. Therefore, during device scanning, multiple identical devices may be detected. To reduce interference from irrelevant devices and identify the device corresponding to the device image, thereby improving the user experience, step S302 includes: matching the device information with the scanned device information; if at least two matching devices exist, sequentially sending a reverse authentication signal to each matching device; upon receiving an authentication feedback signal output by the matching device based on the reverse authentication signal, obtaining the device location of the matching device; if the device location matches the device location of the device corresponding to the device image, then determining the matching device as the target device and pairing it with the target device.
[0073] It is understandable that the reverse authentication signal can be a signal used to authenticate multiple identical devices to determine the target device; the authentication feedback signal can be a signal output by a third-party device after receiving the reverse authentication signal; the matching device can be a device whose scanned device information matches the device information obtained from the recognized device image; the device location can be the spatial location of the device in the current space; the device location matching with the device location of the device image can be that the device location matches the device location of the device image, or the positional deviation between the device location and the device location of the device image is less than a preset deviation.
[0074] It should be understood that sending reverse authentication signals to each matching device in sequence can be done by sending reverse authentication signals to the matching devices from front to back according to the scanning time, sending reverse authentication signals to the matching devices from back to front according to the scanning time, sending reverse authentication signals to the matching devices randomly, or sending them in other ways. This embodiment does not impose any restrictions on this.
[0075] In practice, the device information obtained from the image of the identified device is matched with the scanned device information. If there are at least two matching devices, a reverse authentication signal is sent to the matching devices in sequence. When an authentication feedback signal is received from the matching device, the device location of that device is obtained and matched with the device location of the corresponding device in the device image. If the match is successful, the device is determined to be the target device and paired with the matching device. If the location does not match successfully, the next matching device is authenticated until the target device is determined.
[0076] Furthermore, in order to pair with the device selected by the user, the step of sending reverse authentication signals to each matching device in sequence when there are at least two matching devices includes: obtaining the device information scanning time of each matching device when there are at least two matching devices; and sending reverse authentication signals to each matching device in sequence according to the device information scanning time.
[0077] In one example: AR glasses are equipped with a camera. Third-party devices present in the current space include A, C, D1, and D2. A preset supported device list includes A, B, D, E, and F. The user frames device D using a preset pairing gesture. The camera captures an image of the current space and performs gesture recognition. If the preset pairing gesture is detected, the device pairing process is initiated. The device image within the closed area formed by the preset pairing gesture is extracted. The device information obtained from recognizing the device image is: Device Type - D, Device Model - D01. The preset supported device list contains the recognized device information. The AR glasses then open their wireless channel to scan for third-party devices in the current space. The scanned device information is: A, C, D1, and D2. The scanned device information is then compared with the recognized... The system matches the device information. Once two devices are matched, reverse authentication signals are sent sequentially to D1 and D2. After receiving the reverse authentication signals, D1 and D2 perform corresponding operations to output authentication feedback signals. For example, the reverse authentication signal for a lamp can be set to the light turning on and off three times, the reverse authentication signal for a smart speaker can be three fixed-frequency sounds, and the reverse authentication signal for a smart screen can be the display of a specific icon. The authentication feedback signals can be identified through a camera or microphone. Assuming that both D1 and D2 are lamps, a signal is first sent to D1. After D1 outputs the authentication feedback signal, the signal is identified by the camera. Then, the spatial position of D1 is obtained through the 6DOF module. If the spatial position matches the spatial position of the device framed by the gesture, pairing with D1 is performed, and the pairing process ends. If they do not match, authentication continues for D2.
[0078] In this embodiment, when the device information is included in the preset supported device list, a wireless channel is opened to scan for devices. Based on the device information and the scanned device information, a target device within the current space is determined, and the device is paired with the target device. This embodiment, by scanning for devices within the current space and pairing them based on the scanned and identified device information when pairing with a selected device is supported, improves the success rate of device pairing.
[0079] refer to Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the device pairing method of the present invention.
[0080] Based on the above embodiments, in this embodiment, after step S30, the method further includes:
[0081] Step S40: If the pairing with the target device is successful, output a palmprint verification prompt message.
[0082] It is understandable that the palmprint verification prompt message can be a prompt message used to remind the user to perform palmprint verification, and the output method of the palmprint verification prompt message includes, but is not limited to: displaying it on the built-in screen or outputting it through the speaker.
[0083] Step S50: Obtain the palm image of the user based on the palmprint verification prompt information, and perform palmprint matching between the palm image and the pre-stored palm image.
[0084] It is understandable that the palm image can be an image of the user's palm captured by a camera device; the preset palm image can be a pre-stored image of the palm of a user with device operation permissions.
[0085] Step S60: If the palmprint matching is successful, the user is allowed to operate the target device.
[0086] In practical implementation, for example, when AR glasses are successfully paired with a target device, it is also necessary to determine whether the user has the device operation permission and output palmprint verification prompt information, so as to prompt the user to place their palm in the prompt position, capture the user's palm image through the camera device, and match the palmprint of the captured palm image with the palmprint pre-recorded by the user. If the match is successful, the user is allowed to operate and set the target device.
[0087] Furthermore, to facilitate subsequent control of the paired device, after step S30, the method further includes: if the pairing with the target device is successful, obtaining the device identifier and device spatial location of the target device; and storing the device identifier and the device spatial location in correspondence.
[0088] It is understood that a device identifier can be an identifier that can be used to uniquely identify the device, including but not limited to: device code, device identification number, etc.
[0089] It should be noted that the gesture recognition, device recognition, and palm print recognition in this embodiment all use the built-in camera device, without the need for additional hardware. This reduces hardware costs while achieving the above functions.
[0090] In this embodiment, upon successful pairing with the target device, a palmprint verification prompt is output; an image of the user's hand based on the palmprint verification prompt is acquired, and the palmprint image is matched with a pre-stored palmprint image; if the palmprint match is successful, the user is allowed to operate the target device. This embodiment, by performing palmprint verification on the user upon successful pairing with the target device and allowing the user to operate the device upon successful palmprint verification, can authenticate the user's identity and improve the security of device operation.
[0091] Furthermore, embodiments of the present invention also propose a storage medium storing a device pairing program, which, when executed by a processor, implements the steps of the device pairing method described above.
[0092] Reference Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the device pairing device of the present invention.
[0093] like Figure 5 As shown, the device pairing device proposed in this embodiment of the invention includes:
[0094] Extraction module 10 is used to extract the device image in the current spatial image that corresponds to the preset paired gesture when a preset paired gesture is detected in the current spatial image;
[0095] The recognition module 20 is used to perform image recognition on the device image to obtain device information of the device corresponding to the device image;
[0096] The pairing module 30 is used to pair the device with the corresponding target device in the current space based on the device information.
[0097] This embodiment, upon detecting a preset pairing gesture in the current spatial image, extracts the device image corresponding to the preset pairing gesture from the current spatial image; performs image recognition on the device image to obtain device information of the device corresponding to the device image; and pairs the device with the corresponding target device in the current space based on the device information. This embodiment activates the device pairing process upon detecting a preset pairing gesture in the current spatial image, performs image recognition on the device image corresponding to the preset pairing gesture to obtain device information, and pairs the device with the corresponding target device in the current space based on the device information. This allows the device pairing process to be activated via gesture, and the pairing is automatically completed with the target device based on the device information obtained from recognizing the device image, reducing the operational complexity of device pairing and improving device pairing efficiency.
[0098] Based on the first embodiment of the device pairing device of the present invention, a second embodiment of the device pairing device of the present invention is proposed.
[0099] In this embodiment, the extraction module 10 is further configured to determine a closed region composed of the preset paired gestures in the current spatial image when a preset paired gesture is detected in the current spatial image; and extract a device image from the current spatial image based on the closed region.
[0100] The pairing module 30 is further configured to, when the device information is included in the preset supported device list, open a wireless channel to scan for devices; determine the target device in the current space based on the device information and the scanned device information, and pair with the target device.
[0101] The pairing module 30 is further configured to match the device information with the scanned device information; when there are at least two matching devices, send a reverse authentication signal to each matching device in sequence; when an authentication feedback signal is received from the matching device based on the reverse authentication signal, obtain the device location of the matching device; if the device location matches the device location of the device corresponding to the device image, determine the matching device as the target device, and pair it with the target device.
[0102] The pairing module 30 is further configured to, when there are at least two matching devices, obtain the device information scanning time of each matching device; and sequentially send reverse authentication signals to each matching device according to the device information scanning time.
[0103] The pairing module 30 is further configured to output palmprint verification prompt information when pairing with the target device is successful; acquire a palm image of the user based on the palmprint verification prompt information, and perform palmprint matching between the palm image and a pre-stored palm image; and allow the user to operate the target device when the palmprint matching is successful.
[0104] The pairing module 30 is further configured to, upon successful pairing with the target device, obtain the device identifier and device spatial location of the target device; and store the device identifier and the device spatial location in correspondence.
[0105] Other embodiments or specific implementations of the device pairing device of the present invention can be found in the above-described method embodiments, and will not be repeated here.
[0106] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0107] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0108] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0109] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A device pairing method, characterized in that: The device pairing method is applied to augmented reality glasses, and the device pairing method includes: In a case where a preset pairing gesture is detected in the current space image, extracting a device image corresponding to the preset pairing gesture in the current space image; Performing image recognition on the device image to obtain device information of the device corresponding to the device image; Pairing is performed with a corresponding target device in the current space according to the device information.
2. The method according to claim 1, characterized in that The extracting, when detecting that a preset pairing gesture exists in the current space image, a device image corresponding to the preset pairing gesture in the current space image includes: In a case where a preset pairing gesture is detected in the current spatial image, determining a closed area formed by the preset pairing gesture in the current spatial image; A device image is extracted from the current space image according to the closed area.
3. The method according to claim 1 or 2, characterized in that The pairing with a corresponding target device in the current space according to the device information includes: When the preset supported device list includes the device information, opening a wireless channel to scan for devices; A target device in the current space is determined according to the device information and the scanned device information, and paired with the target device.
4. The method according to claim 3, characterized in that The determining a target device in the current space according to the device information and the scanned device information, and pairing with the target device, includes: Matching the device information with the scanned device information; When there are at least two matching devices, sending a reverse authentication signal to each matching device in sequence; Upon receiving an authentication feedback signal output by a matching device based on the reverse authentication signal, acquiring a device position of the matching device; If the device position matches the device position of the device corresponding to the device image, the matching device is determined to be a target device and paired with the target device.
5. The method according to claim 4, characterized in that The step of sending a reverse authentication signal to each matching device in sequence when there are at least two matching devices comprises: When there are at least two matching devices, obtain the device information scanning time of each matching device; A reverse authentication signal is sequentially sent to each matching identification according to the device information scanning time.
6. The method according to claim 1 or 2, characterized in that: After pairing the device information with the corresponding target device in the current space, the method further includes: When the pairing with the target device is successful, outputting palmprint verification prompt information; Acquire a palm image of the user based on the palmprint verification prompt information, and perform palmprint matching between the palm image and a pre-stored palm image; In case the palm print matching is successful, the user is allowed to operate the target device.
7. The method according to claim 1 or 2, characterized in that: After pairing the device information with the corresponding target device in the current space, the method further includes: When pairing with the target device is successful, obtaining a device identification and a device spatial location of the target device; The device identification and the device spatial position are stored in correspondence.
8. A device pairing apparatus, characterized in that: The device comprises: an extraction module, configured to extract, when detecting that a preset pairing gesture exists in the current spatial image, a device image corresponding to the preset pairing gesture in the current spatial image; An identification module, used to perform image recognition on the device image to obtain device information of the device corresponding to the device image; The pairing module is used to pair the device with the corresponding target device in the current space according to the device information.
9. An augmented reality glasses, characterized in that: The augmented reality glasses include: a memory, a processor, and a device pairing program stored in the memory and executable on the processor, wherein the device pairing program is configured to implement the steps of the device pairing method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a device pairing program, and when the device pairing program is executed by the processor, the steps of the device pairing method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Mobile device and method for pairing the mobile device with an electronic device
CN105323708B
Wireless link pairing authentication
US20220150992A1
Cited By
Communication method and system of AR glasses with earphone and glasses separated, and medium
CN121665249A