N-dimensional code scanning in standby mode

CN120569723APending Publication Date: 2025-08-29HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280101359.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-10-28
Publication Date
2025-08-29

Smart Images

  • Figure CN120569723A_ABST
    Figure CN120569723A_ABST
Patent Text Reader

Abstract

A method performed by an electronic device for processing an N-dimensional (N-D) code includes: detecting, by the electronic device in a standby mode, a trigger gesture performed by a user of the electronic device; in response to the detected trigger gesture, acquiring an image from a camera of the electronic equipment when the electronic equipment is in the standby mode; when in the standby mode, determining whether the image includes an N-D code; in response to determining that the image includes an N-D code: causing the electronic device to exit the standby mode; determining whether the user of the electronic device is an authorized user; in response to determining that the user is an authorized user of the electronic device, the N-D code is processed.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] none. Technical Field

[0003] The present invention generally relates to the field of graphic pattern scanning, and more particularly to graphic pattern scanning performed by an electronic device in a standby mode. Background Art

[0004] A barcode is a graphic pattern that encodes data. Barcodes can be configured as linear (or one-dimensional) barcodes, quick response (QR) codes (matrix barcodes), or other graphic patterns. The data encoded in the barcode can be interpreted as information about the object or location where the barcode is displayed. The data encoded in the barcode can be interpreted as a locator or identifier pointing to a web page, multimedia content, or e-commerce portal displaying information. The data encoded in the barcode can activate information and / or provide information to an application in a scanning device. Summary of the Invention

[0005] The disclosed aspects / embodiments provide techniques for maintaining an electronic device in a standby mode while performing the early steps of scanning an N-dimensional (ND) code of graphically encoded data. Relative to the prior art, this improved technique reduces one or more of the time, attention, and / or interaction that a user must devote to the scanning process.

[0006] A first aspect relates to a method performed by an electronic device to process an ND code, the method comprising: an electronic device in standby mode detecting a trigger gesture performed by a user of the electronic device; in response to detecting the trigger gesture: acquiring an image from a camera of the electronic device while in the standby mode; determining whether the image includes an ND code while in the standby mode; in response to determining that the image includes the ND code: causing the electronic device to exit the standby mode; determining whether the user of the electronic device is an authorized user; and in response to determining that the user is an authorized user of the electronic device, processing the ND code.

[0007] Optionally, in any of the above aspects, another implementation of the aspect provides that the electronic device is one of a smartphone, a tablet computer, a virtual reality headset, an augmented reality headset, an electronic subsystem of a vehicle, and a static display device.

[0008] Optionally, in any of the above aspects, another implementation of the aspect provides that acquiring an image from the camera of the electronic device includes acquiring video data; the image is a frame in the video data.

[0009] Optionally, in any of the above aspects, another implementation of the aspect provides that the electronic device detecting the trigger gesture includes sensing a predetermined characteristic of a signal from an accelerometer of the electronic device.

[0010] Optionally, in any of the above aspects, another implementation of the aspect provides that the electronic device detects the trigger gesture including sensing a difference between two images from the camera.

[0011] Optionally, in any of the above aspects, another implementation of the aspect provides that determining whether the user is an authorized user of the electronic device includes: causing the electronic device to exit the standby mode.

[0012] Optionally, in any of the above aspects, another implementation of the aspect provides that causing the electronic device to exit the standby mode includes sending a signal to the user, the signal indicating activation of the ND code processing mode of the electronic device.

[0013] Optionally, in any of the above aspects, another implementation of the aspect provides that the signal is one or more of a tactile signal, a visual signal and an auditory signal.

[0014] Optionally, in any of the above aspects, another implementation of the aspect provides that determining whether the user is an authorized user of the electronic device includes: comparing the user's biometric information with stored biometric information of one or more authorized users of the electronic device.

[0015] Optionally, in any of the above aspects, another implementation of the aspect provides that processing the ND code includes activating an application on the electronic device, accessing information stored in a network, displaying information stored in the electronic device, and accessing a web page.

[0016] Optionally, in any of the above aspects, another implementation of the aspect provides that processing the ND code includes processing the ND code in response to obtaining a signal from the user approving processing of the ND code.

[0017] Optionally, in any of the above aspects, another implementation of the aspect provides that processing the ND code includes not further interacting with the user.

[0018] Optionally, in any of the above aspects, another implementation of the aspect provides that processing the ND code includes: acquiring a signal from the user, the signal indicating an ND code selected from multiple ND codes in the image; and processing the selected ND code.

[0019] Optionally, in any of the above aspects, another implementation of the aspect provides that determining whether the ND code exists in the image further includes determining whether the ND code is located in a central area of ​​the image and whether the ND code is in focus in the image.

[0020] Optionally, in any of the above aspects, another implementation of the aspect provides that determining whether the ND code exists in the image further includes determining whether the ND code is tilted in the image.

[0021] A second aspect relates to a non-transitory computer-readable medium comprising a computer program product for use by an electronic device, the computer program product comprising computer-executable instructions stored on the non-transitory computer-readable medium, which, when executed by one or more processors, causes a sending network node to perform any of the above aspects.

[0022] A third aspect relates to an electronic device for executing the method of any of the above aspects.

[0023] For clarity of description, any of the above-described embodiments may be combined with any one or more of the other above-described embodiments to create new embodiments within the scope of the present invention.

[0024] These and other features will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] For a more thorough understanding of the present invention, reference is now made to the following description of the drawings which is described in conjunction with the accompanying drawings and detailed description, wherein like reference numerals represent like parts.

[0026] Figure 1 It is the method of processing ND code performed by electronic equipment;

[0027] Figure 2 It is a method performed by electronic devices to determine whether there are ND codes that can be processed in the image;

[0028] Figure 3 A schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0029] It should be understood at the outset that although illustrative implementations of one or more embodiments are provided below, the systems and / or methods disclosed herein may be implemented using any number of techniques, whether currently known or in existence. The present invention should in no way be limited to the illustrative embodiments, drawings, and techniques described below, including the exemplary designs and embodiments illustrated and described herein, but may be modified within the scope of the appended claims and their full scope of equivalents.

[0030] As mentioned above, barcodes (one-dimensional codes) and QR codes (two-dimensional codes) are two types of graphic patterns that encode data. The methods and devices described here can be used with barcodes and QR codes, but can also be used with other types of graphic patterns that encode data. Some examples are graphic patterns that surround or are integrated into an image or logo, graphic patterns that are superimposed on an image (e.g., a watermark), graphic patterns that are incorporated into a subliminal code in a video, graphic patterns that are perceptible to a digital camera but not to the human eye, or graphic patterns that vary over time or have depth (e.g., vary with the distance from the camera). These graphic patterns that encode data are collectively referred to as N-dimensional codes (or ND codes) in this article.

[0031] Scanning a QR code using a smartphone typically requires the smartphone user to perform several steps. With some smartphones, the user must:

[0032] 1. Take the smartphone out of standby mode,

[0033] 2. Authenticate the user on the smartphone,

[0034] 3. Navigate said smartphone to the desired screen,

[0035] 4. Launch the app, open the menu,

[0036] 5. Select the QR scanning function,

[0037] 6. Aim the smartphone's camera at the QR code to be scanned.

[0038] 7. Wait for the application to locate and process the QR code.

[0039] For other smartphones, the user must:

[0040] 1. Take the smartphone out of standby mode,

[0041] 2. Activate the camera of the smartphone,

[0042] 3. Aim the camera at the QR code to be scanned,

[0043] 4. Confirm that the smartphone recognizes the QR code to be scanned,

[0044] 5. Authenticate the user on the smartphone,

[0045] 6. Wait for the application to process the QR code.

[0046] Due to the large number of steps required, the user may choose not to scan an available QR code because, for example, the process takes longer than the user is willing to spend (e.g., the user is walking past the QR code and cannot stop to allow the phone to process the QR code), because the user cannot focus their attention on the smartphone required for the process (e.g., the user is on a phone call or driving), or because the user cannot interact with the smartphone screen as desired (e.g., the user has only one hand free).

[0047] Disclosed herein is a method for processing ND codes that addresses such issues by reducing the amount of time and / or user interaction required to process ND codes while maintaining secure scanning, preventing use in inappropriate locations, and reducing accidental use. Furthermore, the method disclosed herein can be performed on electronic devices other than smartphones, such as a vehicle's camera-based electronic subsystem or a static display device with a camera.

[0048] Figure 1 The method 100 for processing ND codes is performed by an electronic device. In block 102, when in a standby mode, the electronic device detects a trigger gesture performed by a user of the electronic device.

[0049] In various embodiments, an electronic device is in standby mode when it is in a state that is neither fully active nor fully powered off. Such an electronic device may operate at less than its full processing capacity in standby mode and may consume less energy than when operating in standby mode. Such an electronic device in standby mode is not powered off and has some active functionality. Such an electronic device in standby mode may turn off its display but be sensitive to activity on its touch screen, buttons, or accelerometer, or receive signals on its cellular interface, wired network interface, wireless interface (e.g., Bluetooth interface), or other communication interface.

[0050] In some embodiments, the electronic device is a portable device (e.g., a smartphone, tablet, virtual reality headset, or augmented reality headset). In such embodiments, the triggering gesture performed by the user may include the user moving the electronic device from a current orientation to a new orientation (e.g., an upright or partially upright position) and holding the electronic device steady in the new orientation for a predetermined amount of time (a time threshold). In some such embodiments, the time threshold is 0.5 seconds. In other embodiments where the electronic device is a portable device, the triggering gesture performed by the user may include the user moving the electronic device in a predetermined pattern. In some such embodiments, the predetermined pattern may be rotating the electronic device at least a predetermined angle and back again at least a predetermined number of times. In other such embodiments, the predetermined pattern may be moving the electronic device to a predetermined orientation and, possibly, linearly moving the electronic device at least a predetermined distance in the predetermined direction within a predetermined amount of time (e.g., holding a smartphone in the orientation of viewing an ND code and moving the smartphone toward the ND code in a "pushing" motion). This movement of the electronic device may be detected using an accelerometer, differences between two or more images from a camera, differences in consecutive frames of video data, or other such techniques. In various embodiments, the triggering gesture may be any combination of the above-described gestures.

[0051] In other embodiments, the electronic device is in a fixed position relative to the user (e.g., the electronic device is a camera-based electronic subsystem of a vehicle, where the camera is viewing the interior of the vehicle or a static display device with a camera (e.g., a connected television or kiosk)). In such embodiments, the trigger gesture performed by the user may include the user presenting the ND code to the camera of the electronic device, or holding an object carrying the ND code in front of the camera of the electronic device and "pushing" the object toward the camera. In other such embodiments, the trigger gesture may be an actual physical gesture performed by the user and visible to the camera (e.g., waving a hand in a predetermined gesture). Such a trigger gesture may be detected by sensing the difference between two or more images from the camera.

[0052] In other embodiments, the electronic device is a camera-based electronic subsystem of the vehicle, where the camera faces outward from the vehicle. In such embodiments, a trigger gesture performed by the user may include the user positioning the vehicle so that the ND code is within the field of view of the outward-facing camera. An example of such a trigger gesture is pulling up to the entrance of a parking lot, where the ND code is displayed on a pole next to the vehicle. Such a trigger gesture may be detected by sensing a difference between two or more images from the camera.

[0053] In various embodiments, the trigger gesture performed by the user may include a predefined combination of gestures similar to the above-mentioned gestures and similar gestures. When performed in a predetermined order (or sequence) or in any order, such a combination may be recognized as a trigger gesture.

[0054] In block 104, in response to detecting the trigger gesture in block 102 and remaining in standby mode, the electronic device acquires an image from its camera. In some embodiments, the electronic device acquires video data from its camera, and the image comprises a still image (or frame) from the video data. In block 106, while remaining in standby mode, the electronic device determines whether the image includes one or more ND codes. Figure 2 One process that may be used by the electronic device in block 106 is described.

[0055] In some embodiments, where the electronic device's camera is configured to operate in multiple modes, method 100 may activate the camera in a mode that uses less battery power than another mode. For example, the camera may be activated in one or more of a black and white mode and a low-resolution mode. Because block 104 is performed while the electronic device is in standby mode, the user will likely have no visual feedback as to whether they have successfully pointed the camera at the target ND code. Therefore, in some embodiments, the camera may be activated in a wide-angle mode to increase the likelihood that the target ND code is within the camera's field of view.

[0056] In method 100, if no ND code is present in the image, method 100 returns to block 102 to await another trigger gesture. In other embodiments, if no ND code is present in the image, method 100 returns to block 104 to acquire another image. In such embodiments, method 100 loops between blocks 104 and 106 until the user successfully locates the electronic device (or ND code) of block 106 to determine the presence of one or more ND codes in the image. In such embodiments, method 100 may loop between steps 104 and 106 only a predetermined number of times or for a predetermined amount of time before returning to block 102 to await another trigger gesture.

[0057] In various embodiments, block 106 may detect whether the image includes some other predetermined object. In these embodiments, the object may be a person, a painting, a cartoon image, a logo, or other recognizable object. In such embodiments, decoding such an object may include matching the detected image of the object with one or more stored images and causing the electronic device to perform an action associated with the stored image if the object matches by at least a predetermined threshold measure. In some embodiments, the associated action may be of a similar type to the action associated with decoding an ND code.

[0058] In block 108, the electronic device enters an ND code processing mode. In various embodiments, during block 108 and the remaining steps of method 100, the electronic device is exited from standby mode only to the extent necessary to perform the steps of the method. In some embodiments, block 108 includes storing the image in which the ND code was determined to be present in block 106 in a memory for later use. Some embodiments include block 110, in which the electronic device sends a signal to the user indicating activation of the ND code processing mode. Such a signal can be a tactile signal (e.g., vibration of the electronic device), a visual signal (e.g., a briefly flashing pattern or a written message on the display of the electronic device), or an audible signal (e.g., a beep).

[0059] In block 112, the user of the electronic device is authenticated as an authorized user of the electronic device. In some embodiments, any user who activates the ND code processing mode can be considered an authorized user (e.g., where the electronic device is a public utility information machine). However, when the electronic device is a smartphone or a connected television, only certain users can be authorized (e.g., the owner of the smartphone or a user of the connected television designated as an "adult"). This user authentication can be disabled in the settings menu of the electronic device.

[0060] Authentication may include comparing the biometric information of the current user of the electronic device with stored biometric information of one or more authorized users of the electronic device. In some embodiments, authentication may include facial or fingerprint recognition. The stored biometric information may be stored locally on the electronic device or in secure storage on a network.

[0061] In block 110, signaling indicating activation of the ND code processing mode may also optionally be provided to the user after or during user authentication. In some embodiments, if it is determined in block 106 that the image includes an ND code, the electronic device may initiate the user authentication process in block 112 and provide the signal indicating activation of the ND code processing mode in block 110 concurrently with user authentication, e.g., as an additional element of a lock screen. In other embodiments, the signal indicating activation of the ND code processing mode in block 110 is provided only after user authentication.

[0062] In some embodiments, at block 114, the user is requested to confirm that ND processing should be performed, and further processing is performed only in response to a signal from the user approving such processing. If the user cancels such processing or the response request fails, method 100 terminates. The electronic device may return to standby mode, or may return later in response to other conditions (e.g., inactivity). After the electronic device returns to standby mode, method 100 resumes at block 102.

[0063] In some embodiments, if multiple ND codes are determined to be present in the image, a user is requested in block 114 to indicate a selected ND code to be processed. In some such embodiments, the electronic device displays the image to the user, and the user selects the ND code by tapping the ND code in the image on a touchscreen device, generating a signal indicating the selected ND code. In other such embodiments, the electronic device displays the image to the user and highlights one of the ND codes. The user can interact with the electronic device to move the highlight to the target ND code, and then perform an action with the electronic device's user interface to transmit a signal indicating selection of the target ND code.

[0064] In box 116, the electronic device decodes and processes the ND code. In some embodiments, the processing is the same as that provided by the user time and interaction intensive functions for smartphone QR code scanning as described above. Such processing may include activating an application on the electronic device, accessing information stored on the network, displaying information stored on the electronic device, and accessing a web page. The QR code can be interpreted as a locator or identifier that enables the electronic device to access a web page (e.g., a page displaying information or multimedia content, or a page of an e-commerce portal). The data encoded in the QR code can enable the electronic device to activate an application, provide information to the application, and / or enable the application to access information stored on the network or electronic device.

[0065] Other embodiments may also determine the identity of the ND code generator that generated the ND code to be processed. If the ND code generator is included in the list of approved ND code generators, the electronic device decodes and processes the ND code without further user interaction. In some such embodiments, when the ND code generator is not included in the list of approved ND code generators, the electronic device requests further user confirmation that ND processing should continue before decoding and processing the ND code.

[0066] In various embodiments, the performance of method 100 or a block (e.g., block 108) of method 100 may be disabled so that automatic scanning of ND codes is not performed in standby mode. In some embodiments, a user may be able to disable such scanning in a settings menu of the electronic device. In some embodiments, a location sensing function of the device (e.g., Global Positioning System (GPS) sensing) may determine that the electronic device is in a location where such scanning should not be activated.

[0067] In various embodiments, the electronic device may be configured to perform method 100 when the electronic device is not in standby mode. If the electronic device has already authenticated the user, block 112 may be skipped. In some embodiments, user confirmation of ND processing in block 114 may not be implemented.

[0068] As can be seen, the method for processing ND codes disclosed herein eliminates many steps required in other electronic devices. For example, the user does not need to take the electronic device out of standby mode, activate the camera, manually activate the ND processing mode by launching an application or selecting a function, or click on an image of the ND code to initiate processing.

[0069] Figure 2 The method 200 is performed by an electronic device to determine whether an image includes one or more ND codes and whether these codes are decodable. The method 200 can be performed by the electronic device as part of block 106, as described in reference to FIG. Figure 1 As stated.

[0070] In block 202, the electronic device detects whether the image includes one or more ND codes. If no ND codes are detected in the image, method 200 terminates with an indication that the image does not include ND codes. In some embodiments, the electronic device searches the image for alignment marks, fiducials, or position detection patterns that indicate the presence of ND codes. In other embodiments, the image is presented to a classification algorithm, which may utilize, for example, an artificial intelligence (AI) model that has been trained to recognize ND codes using training data, including training images that do include ND codes and training images that do not include ND codes.

[0071] At block 204, the electronic device determines which of the one or more ND codes are within a predetermined central region of the image. If no ND code is detected within the central region of the image, method 200 terminates with an indication that the image does not include an ND code. In some embodiments, the portion of the image deemed central can be selected to exclude ND codes that were inadvertently included in the image due to the user imprecisely pointing the camera at one or more target ND codes or not intending to point the camera at any ND codes. In other embodiments, the portion of the image deemed central can be selected based on camera characteristics that would cause ND codes in the periphery of the image to be incorrectly decoded or undecodable.

[0072] In block 206, the electronic device determines which of the one or more ND codes are sufficiently sharp (or in focus) to be accurately decoded. If no ND code is sufficiently in focus, method 200 terminates with an indication that the image does not include an ND code. In some embodiments, such a determination can be made by measuring the one or more ND codes using a spatial frequency response (SFR) or a modulation transfer function (MTF). Any ND code that measures above a predetermined threshold can be determined to be sufficiently sharp to be accurately decoded.

[0073] In block 208, the electronic device determines which of the one or more ND codes is rotated (or tilted) too far relative to the plane of the image to be accurately decodable. If all ND codes are too tilted, method 200 terminates with an indication that the image does not include an ND code. In some embodiments, the amount of tilt of the ND code can be determined using alignment marks, fiducials, or a position detection pattern of the ND code. In such embodiments, the ND code is excessively tilted in the plane of the image if one or more lines between a pair of orthogonal fiducials form an angle with a side of the image that is greater than a predetermined threshold angle. In such embodiments, the ND code is excessively tilted about an axis parallel to the image plane if the lengths of the lines between the pair of orthogonal fiducials differ by more than a predetermined threshold amount. Any ND code that is not tilted by more than the threshold amount can be determined to be accurately decodable. Furthermore, in block 208, an ND code can be tilted and still be readable, but still result in the method terminating because it is determined that the user did not intend to read the ND code with a camera.

[0074] Block 202 determines whether the image includes any ND codes. Blocks 204, 206, and 208 determine whether any ND codes in the image are potentially decodable. In various embodiments, the determinations (tests) performed in blocks 204, 206, and 208 may be performed in any order and / or combination. The ND codes identified in block 202 may be stored in a set, and when the tests of blocks 204, 206, and 208 are performed, ND codes that do not meet one of the tests may be removed from the set and not considered in subsequent tests. In such an embodiment, if, after all tests have been performed, one or more ND codes remain in the set, method 200 terminates with an indication that the image includes one or more ND codes.

[0075] Figure 3 Schematic diagram of an electronic device 300 (eg, a smartphone, a tablet computer, an electronic subsystem of a vehicle, a static display device, etc.) according to an embodiment of the present invention. The electronic device 300 is suitable for implementing the embodiments disclosed herein.

[0076] Electronic device 300 includes a processor 302 capable of performing various processing operations of electronic device 300. Processor 302 is coupled to and in communication with at least one memory 304 and is implemented in hardware and software. Processor 302 can be implemented as one or more central processing unit (CPU) chips, cores (e.g., as a multi-core processor), field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), and digital signal processors (DSPs). Processor 302 includes an ND code scanning module 306. ND code scanning module 306 is capable of implementing the methods disclosed herein. Therefore, the inclusion of ND code scanning module 306 provides substantial improvements to the functionality of electronic device 300 and enables transitions of electronic device 300 to different states. Alternatively, ND code scanning module 306 can be implemented as instructions stored in memory 304 and executed by processor 302.

[0077] The memory 304 stores instructions and data used, generated, or collected by the electronic device 300. For example, the memory 304 can store software or firmware instructions executed by the processor 302 and data used to perform the methods disclosed herein. The memory 304 includes any suitable one or more volatile and / or non-volatile storage and retrieval devices. Any suitable type of memory can be used, for example, random access memory (RAM), read-only memory (ROM), a hard disk, an optical disk, a subscriber identity module (SIM) card, a memory stick, a secure digital (SD) memory card, etc.

[0078] The processor 302 is also coupled to and in communication with a transceiver 308, which is coupled to an antenna 310 and / or a wired communication terminal 312. The transceiver 308 is configured to send and receive signals using Ethernet or other network protocols via the wired communication terminal 312. The transceiver 308 is also configured to send and receive signals wirelessly via the antenna 310 using cellular, Bluetooth, or other wireless protocols.

[0079] The processor 302 is also coupled to and in communication with a user interface 314, which is configured to communicate with one or more user interface devices. Such user interface devices may include a display, a touch screen, a keyboard, a remote control, a fingerprint scanner, a speaker, a mouse, a trackball, and other devices suitable for providing interaction with a user of the electronic device 300.

[0080] Processor 302 is also coupled to and in communication with a first camera 316 and, in some embodiments, a second camera 318. In a smartphone or tablet, camera 316 may be a camera facing away from the display screen of electronic device 300, if present, and camera 318 may be a camera facing in the same direction as the display screen of electronic device 300 (e.g., for viewing the user of electronic device 300). In a vehicle's electronic subsystem, camera 316 may be one or more cameras facing inward of the vehicle (e.g., for viewing the vehicle's occupants), and camera 318 may be one or more cameras facing away from the vehicle (e.g., for viewing the vehicle's surroundings). In a static display device (e.g., a kiosk or connected television), camera 316 may face the user of the static display device.

[0081] The disclosed embodiments may be systems, apparatus, methods, and / or computer program products at any possible level of integrated technical detail. The computer program product may include a computer-readable storage medium having computer-readable program instructions that cause a processor to perform various aspects of the present invention. The computer-readable storage medium may be a tangible device capable of retaining and storing instructions for use by an instruction execution device.

[0082] Although the present invention provides a number of specific embodiments, it should be understood that the disclosed systems and methods may also be embodied in a variety of other specific forms without departing from the spirit or scope of the present invention. The examples of the present invention are to be considered illustrative rather than restrictive, and the present invention is not limited to the details given herein. For example, various elements or components may be combined or incorporated in another system, or certain features may be omitted or not implemented.

[0083] In addition, without departing from the scope of the present invention, the techniques, systems, subsystems, and methods described and illustrated as discrete or separate in the various embodiments may be combined or integrated with other systems, components, techniques, or methods. Other changes, substitutions, and alternative examples will be apparent to those skilled in the art and do not depart from the spirit and scope disclosed herein.

Claims

1. A method for processing N-dimensional (ND) codes performed by an electronic device, characterized in that: The method comprises: An electronic device in a standby mode detects a trigger gesture performed by a user of the electronic device; In response to detecting the trigger gesture: When in the standby mode, acquiring an image from a camera of the electronic device; When in the standby mode, determining whether the image includes an ND code; In response to determining that the image includes an ND code: causing the electronic device to exit the standby mode; determining whether the user of the electronic device is an authorized user; In response to determining that the user is an authorized user of the electronic device, the ND code is processed.

2. The method according to claim 1, characterized in that The electronic device is one of a smartphone, a tablet computer, a virtual reality headset, an augmented reality headset, an electronic subsystem of a vehicle, and a static display device.

3. The method according to claim 1 or 2, characterized in that: Acquiring an image from the camera of the electronic device includes acquiring video data; The images are frames in the video data.

4. The method according to any one of the preceding claims, characterized in that Detecting the trigger gesture by the electronic device includes sensing a predetermined characteristic of a signal from an accelerometer of the electronic device.

5. The method according to any one of the preceding claims, characterized in that Detecting the trigger gesture by the electronic device includes sensing a difference between two images from the camera.

6. The method according to any one of the preceding claims, characterized in that Determining whether the user is an authorized user of the electronic device includes causing the electronic device to exit the standby mode.

7. The method according to any one of the preceding claims, characterized in that Causing the electronic device to exit the standby mode includes sending a signal to the user, the signal instructing activation of an ND code processing mode of the electronic device.

8. The method according to claim 7, characterized in that The signal is one or more of a tactile signal, a visual signal, and an auditory signal.

9. The method according to any one of the preceding claims, characterized in that Determining whether the user is an authorized user of the electronic device includes comparing the user's biometric information with stored biometric information of one or more authorized users of the electronic device.

10. The method according to any one of the preceding claims, characterized in that Processing the ND code includes activating an application on the electronic device, accessing information stored in a network, displaying information stored in the electronic device, and accessing a web page.

11. The method according to any one of the preceding claims, characterized in that Processing the ND code includes processing the ND code in response to obtaining a signal from the user approving processing of the ND code.

12. The method according to any one of the preceding claims, characterized in that Processing the ND code includes no further interaction with the user.

13. The method according to any one of the preceding claims, characterized in that Processing the ND code includes: obtaining a signal from the user, the signal indicating an ND code selected from a plurality of ND codes in the image; The selected ND code is processed.

14. The method according to any one of the preceding claims, characterized in that Determining whether the image includes an ND code further includes determining whether the ND code is located in a central area of ​​the image and whether the ND code is in focus in the image.

15. The method according to claim 14, characterized in that Determining whether the image includes an ND code further includes determining whether the ND code is tilted in the image.

16. A non-transitory computer-readable medium, characterized in that The non-transitory computer-readable medium includes a computer program product for use by an electronic device, the computer program product including computer-executable instructions stored on the non-transitory computer-readable medium, which, when executed by one or more processors, causes the electronic device to perform the method of any one of the above claims.

17. An electronic device, characterized in that: For carrying out the method according to any one of claims 1 to 15.