# Patent

## Title
User information extraction method and user information extraction apparatus

## Abstract

The present application discloses a user information extraction method and a user information extraction apparatus. The method comprises: acquiring an image comprising at least one digital watermark; acquiring user related information corresponding to a user and comprised in the at least one digital watermark in the image; and projecting the user related information to a fundus of the user. In the present application, user related information used in a certain scenario is extracted in the corresponding scenario and projected onto a fundus of a user, and therefore, the user does not need to memorize the user related information, thereby avoiding inconvenience caused when the user forgets the user related information.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
The present application is a national stage application of International Application No. PCT/CN2014/071143, filed on Jan. 22, 2014, which claims priority to and the benefit of Chinese Patent Application No. 201310572121.9 filed with the State Intellectual Property Office of P.R. China on Nov. 15, 2013, and entitled “USER INFORMATION ACQUISITION METHOD AND USER INFORMATION ACQUISITION APPARATUS”. The contents of both of the above-referenced applications are herein incorporated by reference in their entirety.
TECHNICAL FIELD
The present application relates to the field of digital authentication technologies, and in particular, to a user information extraction method and apparatus.
BACKGROUND
In order to save energy and avoid misoperations, mobile or wearable devices are generally set with a screen locking function, and a lock screen may be unlocked with or without a password. When a screen with a password is to be unlocked, a user needs to memorize some special passwords, patterns, actions, or the like. Although security can be ensured, a case in which the user forgets those special passwords, patterns, actions, or the like occurs easily, which brings inconvenience to the user. Certainly, in addition to the foregoing scenario of unlocking the screen, the foregoing problem also exists in other scenarios in which passwords need to be input for further operations.
By using digital watermark technologies, some identifier information (that is, the digital watermark) may be directly embedded in a digital carrier without affecting using of the original carrier, and the identifier information is not detected and modified easily. The digital watermark technologies are applied to many aspects, such as copyright protection, anti-counterfeiting, authentication, and information hiding. If the digital watermark technologies can be used to securely and covertly help the user input a password, or the like, to obtain corresponding authorization, the foregoing problem that authentication cannot be performed because the user forgets the password may be solved, thereby improving user experience.
SUMMARY
An objective of the present application is to provide a user information extraction solution, so as to provide a user, without breaching confidentiality, user related information used in a corresponding scenario, thereby avoiding inconvenience caused by the user forgetting the corresponding user related information.
To achieve the foregoing objective, according to a first aspect, the present application provides a user information extraction method, comprising:
acquiring an image comprising at least one digital watermark;
acquiring user related information corresponding to a user and comprised in the at least one digital watermark in the image; and
projecting the user related information to a fundus of the user.
According to a second aspect, the present application provides a user information extraction apparatus, comprising:
an image acquisition module, configured to acquire an image comprising at least one digital watermark;
an information acquisition module, configured to acquire user related information corresponding to a user and comprised in the at least one digital watermark in the image; and
a projection module, configured to project the user related information to a fundus of the user.
In at least one technical solution of embodiments of the present application, user related information used in a certain scenario is extracted in the corresponding scenario and projected onto a fundus of a user, and therefore, the user does not need to memorize the user related information, thereby avoiding inconvenience caused by the user forgetting the user related information.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a flowchart of steps of a user information extraction method according to an embodiment of the present application;
FIG. 2a to FIG. 2c are schematic application diagrams of a user information extraction method according to an embodiment of the present application;
FIG. 3a and FIG. 3b are schematic application diagrams of another user information extraction method according to an embodiment of the present application;
FIG. 4a and FIG. 4b are schematic diagrams of a light spot pattern used in a user information extraction method according to an embodiment of the present application and an image obtained at a fundus and comprising the light spot pattern;
FIG. 5 is a schematic block diagram of a structure of a user information extraction apparatus according to an embodiment of the present application;
FIG. 6a and FIG. 6b are schematic block diagrams of structures of another two user information extraction apparatuses according to an embodiment of the present application;
FIG. 7a is a schematic block diagram of a structure of a location detection module used in a user information extraction apparatus according to an embodiment of the present application;
FIG. 7b is a schematic block diagram of a structure of a location detection module used in another user information extraction apparatus according to an embodiment of the present application;
FIG. 7c and FIG. 7d are corresponding optical path diagrams when a location detection module used in a user information extraction apparatus according to an embodiment of the present application performs location detection;
FIG. 8 is a schematic diagram of applying a user information extraction apparatus to glasses according to an embodiment of the present application;
FIG. 9 is a schematic diagram of applying another user information extraction apparatus to glasses according to an embodiment of the present application;
FIG. 10 is a schematic diagram of applying still another user information extraction apparatus to glasses according to an embodiment of the present application;
FIG. 11 is a schematic structural diagram of yet another user information extraction apparatus according to an embodiment of the present application;
FIG. 12 is a flowchart of steps of a user information embedding method according to an embodiment of the present application; and
FIG. 13 is a schematic block diagram of a structure of a user information embedding apparatus according to an embodiment of the present application.



DETAILED DESCRIPTION
The methods and apparatus according to the present application are described in detail with reference to accompanying drawings and embodiments as follows:
In everyday life, a user often needs to use various user related information, for example, a user password or a special gesture that needs to be input by the user on a lock screen interface of electronic devices, a user password that needs to be used by the user when logging in to some web sites or an account of an application, password information that needs to be used in some access control devices, or other various user authentication information. The user needs to memorize these various user related information, and input corresponding user related information in a corresponding scenario to perform a further operation; otherwise, great inconvenience may be caused to the user. Therefore, in the present application, as shown in FIG. 1, an embodiment of the present application provides a user information extraction method, comprising:
S120: Acquire an image comprising at least one digital watermark.
S140: Acquire user related information corresponding to a user and comprised in the at least one digital watermark in the image.
S160: Project the user related information to a fundus of the user.
In an embodiment of the present application, user related information related to a user is acquired from a digital watermark of an image and projected onto a fundus of the user, to cause the user to confidentially acquire, without special memorization, the corresponding user related information in a scenario in which the corresponding user related information needs to be used, thereby facilitating use of the user, and improving user experience.
In the following, an embodiment of the present application further describes the steps by using the following implementation manner:
S120: Acquire an image comprising at least one digital watermark.
There are various manners for acquiring the image in the embodiments of the present application, for example:
1. Acquire the image by means of shooting.
In an embodiment of the present application, a smart glasses device may be used to shoot an object seen by the user. For example, when the user sees the image, the smart glasses device shoots the image.
2. Acquire the image by means of receiving from an external device.
In a possible implementation manner of an embodiment of the present application, the image may further be acquired by using other devices, or the image is acquired through interaction with a device displaying the image.
S140: Acquire user related information corresponding to a user and comprised in the at least one digital watermark in the image.
In an embodiment of the present application, there are various methods for acquiring the user related information, for example, one or more of the following:
1. Extract the user related information from the image.
In this implementation manner, for example, the digital watermark in the image may be analyzed by using a personal private key and a public or private watermark extraction method, to extract the user related information.
2. Send the image to an external device, and receive the user related information in the image from the external device.
In this implementation manner, the image may be sent to an external device, for example, sent to a cloud server or a third party authority to extract the user related information in the digital watermark in the image by using the cloud server or the third party authority.
In a possible implementation manner of an embodiment of the present application, the image corresponds to a graphical user interface displayed by a device. As described above, the graphical user interface may be, for example, a lock screen of the device (as shown in FIG. 2a and FIG. 3a), or may further be an input interface of user authentication information, such as a password for an application, a web site, or the like.
In a possible implementation manner, the graphical user interface comprises an input interface of the user related information, such as track keys 230 and number keys 330 shown in FIG. 2a and FIG. 3a, to cause the user to input corresponding user related information.
In a possible implementation manner of an embodiment of the present application, the user related information comprises user authentication information corresponding to the image.
The user authentication information herein may be, for example, the user password or a special posture (such as a hand gesture, or an overall body posture) described above. That the user authentication information “corresponds to the image” may be, for example, that a lock screen of an electronic device (such as a mobile phone, a tablet computer, a notebook computer, or a desktop computer) is displayed in the image, wherein the lock screen comprises a user authentication information input prompt interface to prompt the user to input corresponding user authentication information, and the user related information obtained by the user according to the image is the to-be-input user authentication information. Alternatively, for example, an image (the image may be, for example, a static image generated by printing or the like, or may be an electronic image displayed by using an electronic device) comprising a watermark exists near an access controller to which a password needs to be input. The user may acquire password information of the access controller from the image by using the foregoing method.
Certainly, in another possible implementation manner of the embodiments of the present application, the user related information may further be other information, for example, the image is a user environment interface displayed by an electronic device (such as a computer) shared by multiple people. When one of the users uses the method according to an embodiment of the present application, the user can acquire, from the image, input information to access a corresponding application on the environment interface associated with the user, which facilitates use of the user.
In a possible implementation manner of the embodiments of the present application, before step S140, user authentication may further performed, wherein an identity of the user is confirmed, to cause the user related information corresponding to the user to be obtained in step S140. For example, the user performs the functions of the steps in the embodiments of the present application by using a pair of smart glasses on which identity authentication is successfully performed.
S160: Project the user related information to a fundus of the user.
In an embodiment of the present application, in order to cause the user to obtain the user related information in a confidential manner, the user related information is projected onto the fundus of the user to cause the user to obtain the corresponding user related information.
In a possible implementation manner, the projection may be that the user related information is directly projected onto the fundus of an eye of the user by using a projection module.
In another possible implementation manner, the projection may also be that the user related information is displayed at a location that only the user can see (for example, a display surface of a pair of smart glasses), and the user related information is projected onto the fundus of the user through the display surface.
In the first manner, the user related information does not need to pass through an intermediate display but directly reaches the fundus of the user, and therefore, the first manner has higher privacy. The following further describes this implementation manner. The step of projecting the user related information onto a fundus of the user comprises:
projecting the user related information; and
adjusting at least one projection imaging parameter of an optical path between a projection location and an eye of the user until the image of the user related information formed at the fundus of the user satisfies at least one defined first clarity criterion.
Herein, the clarity criterion may be set according to a clarity measurement parameter commonly used by a person skilled in the art, such as effective resolution of an image.
In a possible implementation manner of the embodiment of the present application, the adjusting at least one projection imaging parameter of an optical path between the projection location and an eye of the user comprises:
adjusting at least one imaging parameter of at least one optical device on the optical path between the projection location and the eye of the user, and/or a location of the at least one optical device on the optical path.
The imaging parameters herein may include a focal length, an optical axis direction, and the like of optical devices. The adjustment causes the user related information to be properly projected onto the fundus of the user, for example, by adjusting a focal length of the at least one optical device, an image of the user related information can be clearly formed on the fundus of the user. “Clearly” herein refers to satisfying the at least one defined first clarity criterion. Alternatively, in the following description, when three-dimensional display is required, in addition to directly generating an image of the left eye and an image of the right eye that are with parallax, the user related information corresponding to two eyes of the user may be the same, and an effect of three-dimensional display of the user related information may be achieved by separately projecting the user related information to the two eyes with certain deviation. In such cases, for example, an optical axis parameter of the optical device may be adjusted.
When the user sees the user related information, a direction of a sight line of an eye may change, and it is required that the user related information be well projected onto the fundus of the user at the time when the directions of the sight line of the eye are different. Therefore, in a possible implementation manner of an embodiment of the present application, step S160 further comprises:
transferring, corresponding to locations of a pupil when optical axis directions of the eye are different, the user related information to the fundus of the user.
In a possible implementation manner of an embodiment of the present application, a curved optical device, such as a curved beam splitter may be required to implement the function of the foregoing step. However, to-be-displayed content is generally deformed after passing through the curved optional device. Therefore, in a possible implementation manner of an embodiment of the present application, step S160 further comprises:
performing, on the user related information, counter-deformation processing corresponding to locations of a pupil at the time when the optical axis directions of the eye are different, to cause the fundus to receive the user related information that needs to be presented.
For example, the projected user related information is preprocessed to cause the projected user related information to have a counter-deformation effect that is opposite to the deformation, and then after the user related information passes through the foregoing curved optical device, the counter-deformation effect is offset by a deformation effect of the curved optical device, and therefore, the user related information received at the fundus of the user is presented with a required effect.
In a possible implementation manner, user related information projected onto the eye of the user does not need to be aligned with the image. For example, when the user needs to input a group of password in sequence, for example, “1234”, the group of password only needs to be projected onto the fundus of the user to be seen by the user. However, in some cases, for example, when the user related information is that a specific action is performed at a specific location, for example, a specific track is to be drawn at a specific location described in FIG. 2b, the user related information needs to be displayed and aligned with the image. Therefore, in a possible implementation manner of an embodiment of the present application, step S160 comprises:
aligning, at the fundus of the user, the projected user related information with an image seen by the user.
As shown in FIG. 2a and FIG. 2b, in this implementation manner, the user sees an image 210 shown in FIG. 2a, wherein the image is, for example, a lock screen interface of a mobile phone device, and the user acquires corresponding user related information 220 according to the image 210. In step S160, after being aligned with the image 210 (the user related information is presented at a corresponding location in the image), the user related information 220 is projected onto the fundus of the user, to cause the user to see the picture shown in FIG. 2b, wherein a track shown by a dashed line is the user related information 220 projected onto the fundus of the user. After the user inputs corresponding track on the lock screen according to the user related information (to obtain an image shown in FIG. 2c), the mobile phone is unlocked.
FIG. 3a and FIG. 3b are another implementation manner. The user first sees an image 310 shown in FIG. 3a, wherein the image is, for example, a lock screen interface of a mobile phone device, and corresponding user related information 320 is acquired according to the image 310, for example, a dashed box shown in FIG. 3b, wherein corresponding number keys 330 in the round box are numbers that are to be input subsequently.
To implement the foregoing alignment function, in a possible implementation manner, the method further comprises:
detecting a location, of a gaze point of the user, relative to the user, wherein
the aligning, at the fundus of the user, the projected user related information with an image seen by the user comprises: aligning, at the fundus of the user according to the location of the gaze point of the user, relative to the user, the projected user related information with the image seen by the user.
Herein, because the user is looking at the image at this moment, for example, a lock screen interface of a mobile phone of the user, the location corresponding to the gaze point of the user is the location at which the image is located.
In this implementation manner, there are various manners for detecting the location of the gaze point of the user, which for example, comprise one or more of the following:
1) Use a pupil direction detector to detect an optical axis direction of an eye, and use a depth sensor (such as an infrared distance meter) to obtain a depth of an eye-gazed scenario, and obtain a location of a gaze point of a sight line of the eye. The technology belongs to the prior art, and is not described again in this implementation manner.
2) Separately detect optical axis directions of two eyes, obtain directions of sight lines of the two eyes of the user according to the optical axis directions of the two eyes, and obtain the location of the gaze point of the sight lines of the eyes by using an intersection point of the directions of the sight lines of the two eyes. The technology also belongs to the prior art, and is not described herein again.
3) Obtain the location of the gaze point of the sight line of the eye according to optical parameters of an optical path between an image acquisition location and the eye and the optical parameters of the eye at the time when a fundus image that satisfies at least one defined second clarity criterion is presented on an imaging surface of an eye is acquired. The embodiments of the present application provide a specific process of this method in the following, which is not described herein again.
Certainly, a person skilled in the art may understand that in addition to the foregoing several gaze point detection methods, other methods that may be used to detect a gaze point of an eye of the user may also be used in the method according to the embodiments of the present application.
Steps of detecting a location of a current gaze point of the user by using method 3) comprise:
acquiring at least one fundus image at the fundus of an eye of the user;
adjusting at least one imaging parameter of an optical path between an image acquisition location of the at least one fundus image and the eye of the user until a fundus image that satisfies at least one defined second clarity criterion is acquired; and
analyzing the at least one fundus image to obtain the imaging parameter of the optical path and at least one optical parameter of the eye corresponding to the fundus image that satisfies the at least one defined second clarity criterion, and calculating, the location of a current gaze point of the user relative to the user.
As for the second clarity criterion described herein, the clarity criterion is the foregoing clarity criterion commonly used by a person skilled in the art, which may be the same as or maybe different from the foregoing first clarity criterion.
By analyzing the fundus image, the optical parameters of the eye at the time when the fundus image that satisfies the at least one defined second clarity criterion is acquired is obtained, and therefore, a position of a current focusing point of a sight line is obtained through calculation, which provides a basis for further detecting an observing behavior of an observer based on the accurate location of the focusing point.
The image presented at “the fundus” herein mainly is an image presented on a retina, which may be an image of the fundus itself, or an image of another object projected onto the fundus, such as a light spot pattern mentioned below.
The adjusting at least one projection imaging parameter of an optical path between the projection location and an eye of the user comprises: adjusting a focal length of at least one optical device on the optical path and/or a location of the at least one optical device on the optical path, to cause the fundus image that satisfies the at least one defined second clarity criterion to be obtained when the at least one optical device is at a certain location or in a certain state, wherein the adjustment may be continuous and in real time.
In a possible implementation manner of an embodiment of the present application, the optional device may be a focal length adjustable lens, configured to adjust a refractive index and/or a shape of the optical device to complete adjustment of the focal length of the optical device. Specifically: 1) Adjust the focal length by adjusting curvature of at least one surface of the focal length adjustable lens, for example, adjust the curvature of the focal length adjustable lens by increasing or decreasing liquid media in a cavity formed by two transparent layers; 2) Adjust the focal length by changing the refractive index of the focal length adjustable lens, for example, a specific liquid crystal medium is filled in the focal-length adjustable lens, and arrangement of the liquid crystal medium is adjusted by adjusting a voltage of a corresponding electrode of the liquid crystal medium, and therefore, change the refractive index of the focal length adjustable lens.
In another possible implementation manner of the method according to an embodiment of the present application, an optical device may be a group of lenses, configured to perform adjustment of a focal length of the group of lenses by adjusting relative locations between the lenses in the group of lenses. Alternatively, one or more lenses in the group of lenses are the foregoing focal length adjustable lenses.
In addition to changing the imaging parameters by changing characteristics of the optical device as described above, the imaging parameters may also be changed by adjusting the position of the optical device on the optical path.
In addition, in the method according to an embodiment of the present application, the analyzing the at least one fundus image further comprises:
analyzing the at least one fundus image to find the fundus image that satisfies at least one defined second clarity criterion; and
calculating an optical parameter of the eye according to the fundus image that satisfies the at least one defined second clarity criterion, and known imaging parameters when the fundus image satisfying the at least one defined second clarity criterion is obtained.
By adjusting at least one projection imaging parameter of an optical path between the projection location and an eye of the user, the fundus image that satisfies the at least one defined second clarity criterion can be acquired, however, the fundus images need to be analyzed to find the fundus image that satisfies the at least one defined second clarity criterion. The optical parameter of the eye can be obtained through calculation according to the fundus image that satisfies the at least one defined second clarity criterion and the known optical path parameters.
In the method according to an embodiment of the present application, the step of detecting a location of a current gaze point of the user may further comprise:
projecting a light spot to the fundus.
The projected light spot may have no specific pattern but only be used to illuminate the fundus. The projected light spot may further comprise a pattern with abundant features. The abundant features of the pattern may facilitate easy detection and improve detection precision. FIG. 4a is a schematic diagram of a light spot pattern P. The pattern may be formed by a light spot pattern generator, such as frosted glass. FIG. 4b shows an image acquired at the fundus when the light spot pattern P is projected.
In order not to affect normal viewing of the eye, the light spot can be an eye-invisible infrared light spot. In these cases, in order to decrease interference from other spectrums, lights except the eye-invisible light in the projected light spot may be filtered out.
Correspondingly, the method according to the embodiment of the present application may further comprise the following step:
Control luminance of the projected light spot according to a result obtained through analysis in the foregoing steps. The analysis result comprises, for example, features of the fundus images, a contrast of the features of the fundus images, texture features, and the like.
It should be noted that a special case of controlling the luminance of the projected light spot is starting or stopping projection. For example, when an observer keeps gazing at a point, the projection may be stopped periodically; or when a fundus of the observer is bright enough, the projection may be stopped, and information at the fundus can be used to detect a distance from a focusing point of a current sight line of an eye to the eye.
In addition, the luminance of the projected light spot may further be controlled according to the ambient light.
In the method according to an embodiment of the present application, the analyzing the at least one fundus image further comprises:
calibrating the image at the fundus, to obtain at least one reference image corresponding to the image presented at the fundus. Comparative calculation is performed on the at least one fundus image and the reference image, to obtain the fundus image that satisfies the at least one defined second clarity criterion. Herein, the fundus image that satisfies the at least one defined second clarity criterion may be an obtained image that is the least different from the reference image. In the method according to this implementation manner, a difference between the currently obtained image and the reference image may be calculated by using an existing image processing algorithm, for example, by using a classic automatic phase difference focusing algorithm.
The optical parameters of the eye may include an optical axis direction of an eye obtained according to features of the eye at the time when the fundus image that satisfies the at least one defined second clarity criterion is acquired. The features of the eye herein may be acquired from the fundus image that satisfies the at least one defined second clarity criterion, or may be acquired in another manner. A direction of a sight line at which an eye of the user gazes may be obtained according to the optical axis direction of the eye. Specifically, the optical axis direction of the eye may be obtained according to the features of the fundus at the time when the fundus image that satisfies the at least one defined second clarity criterion is obtained, and determining the optical axis direction of the eye by using the features of the fundus may be more precise.
When a light spot pattern is projected onto the fundus, a size of the light spot pattern may be bigger than a fundus visible region or may be smaller than the fundus visible region.
When an area of the light spot pattern is smaller than or equal to the fundus visible region, a classic feature points matching algorithm (for example, the scale invariant feature transform (SIFT) algorithm) may be used to determine the optical axis direction of the eye by detecting a location of the light spot pattern in the image, relative to the fundus.
When the area of the light spot pattern is bigger than or equal to the fundus visible region, a location of the light spot pattern in the obtained image, relative to an original light spot pattern (obtained through image calibration) may be used to determine the optical axis direction or to determine a direction of a sight line of the observer.
In another possible implementation manner of the method according to the embodiments of the present application, the optical axis direction of the eye may further be obtained according to features of the pupil at the time when the fundus image that satisfies the at least one defined second clarity criterion is obtained. Features of the pupil herein may be acquired from the fundus image that satisfies the at least one defined second clarity criterion, or may be acquired in another manner. The obtaining the optical axis direction of the eye by using the feature of the eye pupil belongs to the prior art, and is not described herein again.
In addition, the method according to an embodiment of the present application may further comprise: calibrating the optical axis direction of the eye, so as to more precisely determine the foregoing optical axis direction of the eye.
In the method according to an embodiment of the present application, the known imaging parameters comprises at least one fixed imaging parameter and at least one real-time imaging parameter, wherein the at least one real-time imaging parameter is parameter information of the optical device at the time when the fundus image that satisfies the at least one defined second clarity criterion is acquired, and this parameter information may be obtained in a manner of real-time recording at the time when the fundus image that satisfies the at least one defined second clarity criterion is acquired.
After a current optical parameter of the eye is obtained, a location of a gaze point of the eye may be obtained with reference to a distance from a focusing point of the eye to the eye, which is obtained through calculation (specific process is to be described in detail in combination with the apparatus part).
In order to make the user related information seen by the user have a three-dimensional display effect and look more real, in a possible implementation manner of the embodiment of the present application, the user related information may be projected onto the fundus of the user three-dimensionally in step 160.
As described above, in a possible implementation manner, the three-dimensional display may be using same information. By performing projection location adjustment in step S160, information with parallax is seen by two eyes of the user, generating a three-dimensional display effect.
In another possible implementation manner, the user related information comprises three-dimensional information respectively corresponding to the two eyes of the user, and in step S160, corresponding user related information is separately projected onto the two eyes of the user. That is: the user related information comprises left eye information corresponding to the left eye of the user and right eye information corresponding to the right eye of the user, and during projection, the left eye information is projected onto the left eye of the user and the right eye information is projected onto the right eye of the user, to cause the user related information seen by the user to have a proper three-dimensional display effect, thus bring better user experience. In addition, when the user related information input by the user comprises three-dimensional space information, the foregoing three-dimensional projection causes the user to see the three-dimensional space information. For example, when a user needs to make a specific hand gesture at a specific location in the three-dimensional space to correctly input the user related information, the foregoing method according to an embodiment of the present application causes the user to see three-dimensional user related information, and know the specific location and the specific hand gesture according to the user related information, and further causes the user to make the hand gesture at the specific location, as prompted by the user related information. At this time, even if another person sees the gesture action made by the user, the person cannot know the space information, which causes the user related information to have a better confidentiality effect.
As shown in FIG. 5, an embodiment of the present application further provides a user information extraction apparatus 500, comprising:
an image acquisition module 510, configured to acquire an image comprising at least one digital watermark;
an information acquisition module 520, configured to acquire user related information corresponding to a user and comprised in the at least one digital watermark in the image; and
a projection module 530, configured to project the user related information to a fundus of the user.
In the embodiment of the present application, user related information related to a user is acquired from a digital watermark of an image and projected onto a fundus of the user, to cause the user to confidentially acquire, without special memorization, the corresponding user related information in a scenario in which the corresponding user related information needs to be used, thereby facilitating use of the user, and improving user experience.
In order to make the user acquire the user related information more naturally and conveniently, the apparatus according to an embodiment of the present application may be, for example, a wearable device that is used near eyes of the user, such as a pair of smart glasses. When a gaze point of a sight line of the user falls on the image, the image is automatically acquired by using the image acquisition module 510, and after the user related information is obtained, the information is projected onto the fundus of the user.
In the following, embodiments of the present application further describe the modules of the foregoing apparatus with reference to the following implementation manners:
In an implementation manner of an embodiment of the present application, the image acquisition module 510 may have various forms. For example:
As shown in FIG. 6a, the image acquisition module 510 comprises a shooting submodule 511, configured to shoot the image.
Herein, the shooting submodule 511 may be, for example, a camera of a pair of smart glasses, configured to shoot an image seen by the user.
As shown in FIG. 6b, in another implementation manner of an embodiment of the present application, the image acquisition module 510 comprises:
a first communications submodule 512, configured to receive the image from an external device.
In this implementation manner, the image may be acquired by another device, and then the image is sent to the apparatus according to an embodiment of the present application; or the image is acquired through interaction with a device displaying the image (that is, the device transfers displayed image information to the apparatus according to an embodiment of the present application).
In an embodiment of the present application, the information acquisition module 520 may also have various forms. For example:
As shown in FIG. 6a, the information acquisition module 520 comprises: an information extraction submodule 521, configured to extract the user related information from the image.
In this implementation manner, the information extraction submodule 521 may, for example, analyze the digital watermark in the image by using a personal private key and a public or private watermark extraction method, to extract the user related information.
As shown in FIG. 6b, in another implementation manner of an embodiment of the present application, the information acquisition module 520 comprises: a second communications submodule 522, configured to:
send the image to an external device, and receive the user related information in the image from the external device.
In this implementation manner, the image may be sent to the external device, for example, sent to a cloud server or a third party authority to extract the user related information in the digital watermark in the image by using the cloud server or the third party authority, and then the user related information is sent back to the second communications submodule 522 in an embodiment of the present application.
Herein, functions of the first communications submodule 512 and the second communications submodule 522 may be implemented by a same communications module.
In a possible implementation manner of an embodiment of the present application, the image corresponds to a graphical user interface displayed by a device. The graphical user interface comprises an input interface of the user related information. For details, refer to corresponding description in the foregoing method embodiments, which is not described herein again.
In an embodiment of the present application, the user related information comprises user authentication information corresponding to the image. For details, refer to corresponding description in the foregoing method embodiments, which is not described herein again.
In an embodiment of the present application, when the apparatus 500 is being used, identity confirmation may be performed on the user. For example, when the user uses a pair of smart glasses that can implement the functions of the apparatus according to an embodiment of the present application, the pair of smart glasses first authenticates the user, to cause the pair of smart glasses to know an identity of the user, and subsequently, when extracting the user related information by using the information extraction module 520, the pair of smart glasses only acquires the user related information corresponding to the user. That is, as long as the user goes through user authentication with the pair of smart glasses of the user once, the user related information can be acquired from devices of the user or public devices by using the pair of smart glasses.
As shown in FIG. 6a, in this implementation manner, the projection module 530 comprises:
an information projection submodule 531, configured to project the user related information; and
a parameter adjustment submodule 532, configured to adjust at least one projection imaging parameter of an optical path between the information projection submodule 531 and an eye of the user until the image of the user related information formed at the fundus of the user satisfies at least one defined first clarity criterion.
In an implementation manner, the parameter adjustment submodule 532 comprises:
at least one adjustable lens device, a focal length of the at least one adjustable lens device being adjustable and/or a location of the at least one adjustable lens device on the optical path.
As shown in FIG. 6b, in an implementation manner, the projection module 530 comprises:
a curved beam splitting device 533, configured to transfer, corresponding to locations of a pupil when optical axis directions of the eye are different, the user related information to the fundus of the user.
In an implementation manner, the projection module 530 comprises:
a counter-deformation processing submodule 534, configured to perform, on the user related information, counter-deformation processing corresponding to locations of a pupil at the time when the optical axis directions of the eye are different, to cause the fundus to receive the user related information that needs to be presented.
In an implementation manner, the projection module 530 comprises:
an alignment and adjustment submodule 535, configured to align, at the fundus of the user, the projected user related information with an image seen by the user.
In an implementation manner, the apparatus further comprises:
a location detection module 540, configured to detect a location, of a gaze point of the user, relative to the user, wherein
the alignment and adjustment submodule 535 is configured to align, at the fundus of the user according to the location, of the gaze point of the user, relative to the user, the projected user related information with the image seen by the user.
For functions of the submodules of the foregoing projection module, refer to the description of corresponding steps in the foregoing method embodiment, and examples are provided in embodiments shown in FIG. 7a to FIG. 7d, FIG. 8, and FIG. 9 below.
In an embodiment of the present application, the location detection module 540 may have various implementation manners, for example, an apparatus corresponding to the methods 1) to 3) described in the method embodiment. An embodiment of the present application further describes a location detection module corresponding to method 3) by using implementation manners corresponding to FIG. 7a to FIG. 7d, FIG. 8, and FIG. 9.
As shown in FIG. 7a, in a possible implementation manner of an embodiment of the present application, the location detection module 700 comprises:
a fundus image acquisition submodule 710, configured to acquire at least one fundus image at the fundus of the eye of the user;
an adjustable imaging submodule 720, configured to adjust at least one imaging parameter of an optical path between the fundus image acquisition submodule 710 and the eye of the user until a fundus image that satisfies at least one defined second clarity criterion is acquired; and
an image processing submodule 730, configured to analyze the at least one fundus image, to obtain the imaging parameter of the optical path between the fundus image acquisition submodule and the eye of the user and at least one optical parameter of the eye corresponding to the fundus image that satisfies the at least one defined second clarity criterion, and calculating a location of a current gaze point of the user relative to the user.
The location detection module 700 analyzes fundus images, to obtain optical parameters of the eye at the time when the fundus image acquisition submodule obtains the fundus image that satisfies the at least one defined second clarity criterion, and therefore, the location of the current gaze point of the eye can be obtained through calculation.
The image presented at “the fundus” herein mainly is an image presented on a retina, which may be an image of the fundus itself, or an image of another object projected onto the fundus. The eye herein may be a human eye, or may be an eye of another animal.
As shown in FIG. 7b, in a possible implementation manner of an embodiment of the present application, the fundus image acquisition submodule 710 is a micro camera, and in another possible implementation manner of an embodiment of the present application, the fundus image acquisition submodule 710 may further use a light sensitive imaging device directly, such as a CCD, or a CMOS.
In a possible implementation manner of an embodiment of the present application, the adjustable imaging submodule 720 comprises: an adjustable lens device 721, located at an optical path between the eye and the fundus image acquisition submodule 710, wherein a focal length of the adjustable lens device 721 is adjustable and/or a location on the optical path is adjustable. The adjustable lens device 721 causes a system equivalent focal length from the eye to the fundus image acquisition submodule 710 to be adjustable, and adjustment of the adjustable lens device 721 causes the fundus image acquisition submodule 710 to obtain, in a certain location or state of the adjustable lens device 721, a fundus image that satisfies at least one defined second clarity criterion at the fundus. In this implementation manner, the adjustable lens device 721 is adjusted continuously in real time during detection.
In a possible implementation manner of an embodiment of the present application, the adjustable lens device 721 is a focal length adjustable lens, configured to adjust a refractive index and/or a shape of the adjustable lens device 721, to complete adjustment of the focal length of the adjustable lens device 721. Specifically: 1) Adjust the focal length by adjusting curvature of at least one surface of the focal length adjustable lens, for example, adjust the curvature of the focal length adjustable lens by increasing or decreasing liquid media in a cavity formed by two transparent layers; 2) Adjust the focal length by changing the refractive index of the focal length adjustable lens, for example, a specific liquid crystal medium is filled in the focal-length adjustable lens, and arrangement of the liquid crystal medium is adjusted by adjusting a voltage of a corresponding electrode of the liquid crystal medium, and therefore, change the refractive index of the focal length adjustable lens.
In another possible implementation manner of an embodiment of the present application, the adjustable lens device 721 comprises: a group of lenses, formed by multiple pieces of lenses, and configured to adjust relative locations between the lenses in the group of lenses to perform adjustment of a focal length of the group of lenses. The group of lenses may also comprise a lens with an imaging parameter, such as a focal length, of the lens being adjustable.
In addition to the foregoing two manners for changing optical path parameters of the system by adjusting features of the adjustable lens device 721, the optical path parameters of the system may also be changed by adjusting the location of the adjustable lens device 721 on the optical path.
In a possible implementation manner of an embodiment of the present application, in order not to affect the experience of the user for viewing an observed object, and in order to cause the system to be applied to the wearable device in a portable manner, the adjustable imaging submodule 720 further comprises: a beam splitting unit 722, configured to form a light transfer path between the eye and the observed object, and between the eye and the fundus image acquisition submodule 710. This may fold the optical path, decrease a size of the system, and affect other visual experience of the user as little as possible.
In this implementation manner, the beam splitting unit comprises a first beam splitting unit, located between the eye and the observed object, and configured to transmit light from the observed object to the eye, and transfer light from the eye to the fundus image acquisition submodule.
The first beam splitting unit may be a beam splitter, a beam splitting optical waveguide (comprising an optical fiber), or another suitable beam splitting device.
In a possible implementation manner of an embodiment of the present application, the image processing submodule 730 comprises an optical path calibration unit, configured to calibrate the optical path of the system, for example, perform alignment and calibration on an optical axis of the optical path, to ensure precision of measurement.
In a possible implementation manner of an embodiment of the present application, the image processing submodule 730 comprises:
an image analysis unit 731, configured to analyze the at least one image, to find a fundus image that satisfies at least one defined second clarity criterion; and
a parameter calculation unit 732, configured to calculate optical parameters of the eye according to the fundus image that satisfies the at least one defined second clarity criterion and known imaging parameters of the system when the fundus image that satisfies the at least one defined second clarity criterion is obtained.
In this implementation manner, the adjustable imaging submodule 720 causes the fundus image acquisition submodule 710 to obtain a fundus image that satisfies at least one defined second clarity criterion. However, the fundus image that satisfies the at least one defined second clarity criterion needs to be found by using the image analysis unit 731. In this way, the optical parameters of the eye can be obtained through calculation according to the fundus image that satisfies the at least one defined second clarity criterion and the known imaging parameters of the location detection module 700. Herein, the optical parameters of the eye may comprise an optical axis direction of the eye.
In a possible implementation manner of an embodiment of the present application, the system further comprises: a projection submodule 740, configured to project a light spot to the fundus. In a possible implementation manner, a micro projector may be used to implement the function of the projection submodule.
The projected light spot herein may have no specific pattern but only be used to illuminate the fundus.
In an implementation manner of an embodiment of the present application, the projected light spot may comprise a pattern with abundant features. The abundant features of the pattern may be for easy detection and improve detection precision. FIG. 4a is a schematic diagram of a light spot pattern P. The pattern may be formed by a light spot pattern generator, such as frosted glass. FIG. 4b shows an image shot at the fundus when the light spot pattern P is projected.
In order not to affect normal viewing of the eye, the light spot can be an eye-invisible infrared light spot.
At this time, in order to decrease interference from other spectrums:
an eye-invisible light transmission lens may be disposed on an exit surface of the projection submodule 740; and
an eye-invisible light transmission lens is disposed on an incident surface of the fundus image acquisition submodule 710.
In a possible implementation manner of an embodiment of the present application, the image processing submodule 730 further comprises:
a projection control unit 734, configured to control, according to a result obtained by the image analysis unit 731, luminance of the light spot projected by the projection submodule 740.
For example, the projection control unit 734 may adjust the luminance self-adaptively according to a feature of the at least one image obtained by the fundus image acquisition submodule 710. Herein, the features of the at least one image include a contrast of image features, a texture feature, and the like.
Herein, a special case of controlling the luminance of the light spot projected by the projection submodule 740 is turning on or off the projection submodule 740. For example, when a user keeps gazing at a point, the projection submodule may be turned off periodically; or when a fundus of the user is bright enough, the light source may be turned off, and a distance from a gaze point of a current sight line of an eye to the eye can be detected by only using information at the fundus.
In addition, the luminance of the light spot projected by the projection submodule 740 may further be controlled by the projection control unit 734 according to ambient light.
In a possible implementation manner of an embodiment of the present application, the image processing submodule 730 further comprises: an image calibration unit 733, configured to calibrate the image at the fundus, to obtain at least one reference image corresponding to the image presented at the fundus.
The image analysis unit 731 performs comparative calculation on the at least one image obtained by the fundus image acquisition submodule 730 and the reference image, to obtain the fundus image that satisfies the at least one defined second clarity criterion. Herein, the fundus image that satisfies the at least one defined second clarity criterion may be an obtained image that is the least different from the reference image. In this implementation manner, a difference between the currently obtained image and the reference image is calculated by using an existing image processing algorithm, for example, by using a classic automatic phase difference focusing algorithm.
In a possible implementation manner of an embodiment of the present application, the parameter calculation unit 732 comprises:
an eye-optical-axis-direction determining subunit 7321, configured to obtain an optical axis direction of an eye according to a feature of the eye at the time when the fundus image that satisfies the at least one defined second clarity criterion is obtained.
The feature of the eye herein may be acquired from the fundus image that satisfies the at least one defined second clarity criterion, or may be acquired in another manner. A direction of a sight line at which an eye of the user gazes may be obtained according to the optical axis direction of the eye.
In a possible implementation manner of an embodiment of the present application, the eye-optical-axis-direction determining subunit 7321 comprises: a first determining subunit, configured to obtain the optical axis direction of the eye according to a feature of the fundus at the time when the fundus image that satisfies the at least one defined second clarity criterion is obtained. Compared with obtaining the optical axis direction of the eye by using features of a pupil and an eyeball, determining the optical axis direction of the eye by using the feature of the fundus has high precision.
When a light spot pattern is projected onto the fundus, a size of the light spot pattern may be bigger than a fundus visible region or may be smaller than the fundus visible region.
When an area of the light spot pattern is smaller than or equal to the fundus visible region, a classic feature points matching algorithm (for example, the SIFT algorithm) may be used to determine the optical axis direction of the eye by detecting a location of the light spot pattern in the image, relative to the fundus.
When the area of the light spot pattern is bigger than or equal to the fundus visible region, a location, of the light spot pattern in the obtained image, relative to an original light spot pattern (obtained by using the image calibration unit) may be used to determine the optical axis direction or to determine a direction of a sight line of the user.
In another possible implementation manner of an embodiment of the present application, the eye-optical-axis-direction determining subunit 7321 comprises: a second determining subunit, configured to obtain the optical axis direction of the eye according to a feature of the pupil at the time when the fundus image that satisfies the at least one defined second clarity criterion is obtained. The feature of the pupil herein may be acquired from the fundus image that satisfies the at least one defined second clarity criterion, or may be acquired in another manner. The obtaining the optical axis direction of the eye by using the feature of the eye pupil belongs to the prior art, and is not described herein again.
In a possible implementation manner of an embodiment of the present application, the image processing submodule 730 further comprises: an eye-optical-axis-direction calibration unit 735, configured to calibrate the optical axis direction of the eye, so as to more precisely determine the foregoing optical axis direction.
In this implementation manner, the known imaging parameters of the =system comprises at least one fixed imaging parameter and at least one real-time imaging parameter, wherein the real-time imaging parameter is parameter information of the adjustable lens device at the time when the fundus image that satisfies the at least one defined second clarity criterion is acquired, and the parameter information may be obtained in a manner of real-time recording at the time when the fundus image that satisfies the at least one defined second clarity criterion is acquired.
The distance from the gaze point of the eye to the eye is calculated below, specifically:
FIG. 7c is a schematic diagram of eye imaging, and with reference to a lens imaging formula in a classic optical theory, formula (1) may be obtained from FIG. 7c:




  
    
      
        
          
            1
            
              d
              o
            
          
          +
          
            1
            
              d
              e
            
          
        
        =
        
          1
          
            f
            e
          
        
      
    
    
      
        (
        1
        )
      
    
  




do and de are a distance from a currently observed object 7010 of an eye to an eye equivalent lens 7030 and a distance from a real image 7020 on the retina to the eye equivalent lens 7030, respectively, fe is an equivalent focal length of the eye equivalent lens 7030, and X is a direction of the sight line of the eye (which may be obtained by using the optical axis direction of the eye).
FIG. 7d is a schematic diagram of a distance from a gaze point of an eye to the eye that is obtained according to the known image of the location detection module 700 and optical parameters of the eye. In FIG. 7d, a light spot 7040 forms a virtual image (not shown in FIG. 7d) through an adjustable lens device 721. Assuming that a distance from the virtual image to the lens is (not shown in FIG. 7d), the following equation set may be obtained with reference to the formula (1):




  
    
      
        {
        
          
            
              
                
                  
                    1
                    
                      d
                      p
                    
                  
                  -
                  
                    1
                    x
                  
                
                =
                
                  1
                  
                    f
                    p
                  
                
              
            
          
          
            
              
                
                  
                    1
                    
                      
                        d
                        i
                      
                      +
                      x
                    
                  
                  +
                  
                    1
                    
                      d
                      e
                    
                  
                
                =
                
                  1
                  
                    f
                    e
                  
                
              
            
          
        
      
    
    
      
        (
        2
        )
      
    
  




dp is an optical equivalent distance from the light spot 7040 to the adjustable lens device 721, di is an optical equivalent distance from the adjustable lens device 721 to the eye equivalent lens 7030, fp is a focal length value of the adjustable lens device 721, and de is a distance from the eye equivalent lens 7030 to the adjustable lens device 721.
As shown in formula (3), a distance do from the currently observed object 7010 (the gaze point of the eye) to the eye equivalent lens 7030 may be obtained from (1) and (2):




  
    
      
        
          d
          o
        
        =
        
          
            d
            i
          
          +
          
            
              
                d
                p
              
              ·
              
                f
                p
              
            
            
              
                f
                p
              
              -
              
                d
                p
              
            
          
        
      
    
    
      
        (
        3
        )
      
    
  




The optical axis direction of the eye may be obtained due to previous records and according to the foregoing distance from the observed object 7010 to the eye that is obtained through calculation, and therefore, the location of gaze point of the eye can be easily obtained, which provides a basis for subsequent interaction related to the eye.
FIG. 8 is an embodiment of a location detection module 800 applied to a pair of glasses G according to a possible implementation manner of an embodiment of the present application, which comprises content recorded in the implementation manner shown in FIG. 7b. Specifically: as can be seen from FIG. 8, in this implementation manner, a module 800 of this implementation manner is integrated at the right side of the pair of glasses G (which is not limited thereto), and comprises:
a micro camera 810, having a same function as the fundus image acquisition submodule recorded in the implementation manner of FIG. 7b, and in order not to affect a sight line of a user for normally viewing an object, the micro camera 810 is disposed at the outer right side of the pair of glasses G;
a first beam splitter 820, having a same function as the first beam splitting unit recorded in the implementation manner of FIG. 7b, disposed with a certain tilt angle at an intersection point of a gaze direction of an eye A and an incident direction of the camera 810, and configured to transmit light entering the eye A from an observed object and reflect light from the eye to the camera 810; and
a focal length adjustable lens 830, having a same function as the focal length adjustable lens recorded in the implementation manner of FIG. 7b, located between the first beam splitter 820 and the camera 810, configured to adjust a focal length value in real time, to cause the camera 810 to shoot, at a certain focal length value, a fundus image that satisfies at least one defined second clarity criterion at a fundus.
In this implementation manner, the image processing submodule is not shown in FIG. 8, and functions of the image processing submodule is the same as that of the image processing submodule shown in FIG. 7b. 
Generally, the fundus is not bright enough, and therefore, it is better to illuminate the fundus, and in this implementation manner, the fundus is illuminated by using a light source 840. In order not to affect user experience, the light source 840 herein is an eye-invisible light source, preferably, is a near-infrared light source which does not impose too much effect on the eye A and to which the camera 810 is relatively sensitive.
In this implementation manner, the light source 840 is located at the outer side of the right side of a spectacle frame, and therefore, a second beam splitter 850 and the first beam splitter 820 are required to jointly complete transferring, to the fundus, light emitted by the light source 840. In this implementation manner, the second beam splitter 850 is located in front of an incident surface of the camera 810, and therefore, light from the fundus to the second splitter 850 also needs to be transmitted.
As can be seen in this implementation manner, in order to improve user experience and the acquisition clarity of the camera 810, the first beam splitter 820 may have the characteristics of high reflectivity to infrared ray and high transmissivity to visible light. For example, an infrared reflective film may be disposed at one side, of the first beam splitter 820, facing the eye A, to achieve the characteristics described above.
As can be seen from FIG. 8, in this implementation manner, the location detection module 800 is located at one side, of a lens of the pair of glasses G, away from the eye A, and therefore, the lens may be considered as a part of the eye A during calculation of an optical parameter of the eye, and at this time, there is no need to know optical characteristics of the lens.
In another implementation manner of an embodiment of the present application, the location detection module 800 may be located at one side, of the lens of the pair of glasses G, close to the eye A, and at this time, an optical characteristic parameter of the lens needs to be obtained in advance, and an influence factor of the lens needs to be considered when the distance from the gaze point to an eye of a user is calculated.
In this embodiment, the light emitted by the light source 840 is reflected by the second beam splitter 850, transmitted by the focal length adjustable lens 830, and reflected by the first beam splitter 820, and then passes through the lens of the pair of glasses G to enter the eye of the user, and finally arrives at the retina of the fundus. The camera 810 shoots an fundus image at the fundus through a pupil of the eye A and an optical path formed by using the first beam splitter 820, the focal length adjustable lens 830, and the second beam splitter 850.
In a possible implementation manner, other parts of the apparatus according to an embodiment of the present application are implemented in the pair of glasses G, and both the location detection module and the projection module may comprise: a device having a projection function (such as an information projection submodule of the foregoing projection module, and a projection submodule of the location detection module), an imaging device with an imaging parameter being adjustable (such as a parameter adjustment submodule of the foregoing projection module, and an adjustable imaging submodule of the location detection module), and the like, and therefore, in a possible implementation manner of an embodiment of the present application, functions of the location detection module and the projection module are implemented by a same device.
As shown in FIG. 8, in a possible implementation manner of an embodiment of the present application, in addition to being configured to illuminate the location detection module, the light source 840 may further be configured to assist in projecting the user related information as a light source of the information projection submodule of the projection module. In a possible implementation manner, the light source 840 may separately project invisible light to illuminate the location detection module, and visible light to assist in projecting the user related information. In another possible implementation manner, the light source 840 may further switch between the invisible light and the visible light in a time division manner. In still another possible implementation manner, the location detection module may use the user related information to complete the function of illuminating the fundus.
In a possible implementation manner of an embodiment of the present application, in addition to functioning as parameter adjustment submodules of the projection module, the first beam splitter 820, the second beam splitter 850, and the focal length adjustable lens 830 may further function as adjustable imaging submodules of the location detection module. Herein, in a possible implementation manner, a focal length of the focal length adjustable lens 830 may be adjusted according to regions, wherein different regions respectively correspond to the location detection module and the projection module, and focal lengths may be different. Alternatively, a focal length of the focal length adjustable lens 830 is adjusted as a whole. However, a front end of a light sensitive unit (such as CCD) of the micro camera 810 of the location detection module is further provided with other optical devices, configured to assist in adjustment of the imaging parameters of the location detection module. In addition, in another possible implementation manner, it may be configured to cause an optical length from a light emitting surface of the light source 840 (that is, a projection location of the user related information) to an eye to be the same as an optical length from the eye to the micro camera 810, the focal length adjustable lens 830 is adjusted until the micro camera 810 receives the clearest image at the fundus, and the user related information projected by the light source 840 precisely forms a clear image at the fundus.
As can be seen from the above, in an embodiment of the present application, functions of the location detection module and the projection module of the user information acquisition apparatus may be implemented by using a same device, to cause the whole system to have a simple structure and small size, and be carried conveniently.
FIG. 9 is a schematic structural diagram of a location detection module 900 of another implementation manner of an embodiment of the present application. As can be seen from FIG. 9, this implementation manner is similar to the implementation manner shown in FIG. 8, comprising a micro camera 910, a second beam splitter 920, and a focal length adjustable lens 930. Differences lie in that in this implementation manner, a projection submodule 940 is configured to project a light spot pattern, and the first beam splitter in the implementation manner of FIG. 8 is replaced with a curved beam splitter 950 as a curved beam splitting device.
The curved beam splitter 950 is used herein to transfer, separately corresponding to locations of a pupil at the time when optical axis directions of an eye are different, an image presented at the fundus to a fundus image acquisition submodule. In this way, the camera can shoot a mixed and superimposed image formed from various angles of an eyeball. However, only an image of the part at the fundus passing through a pupil can be clearly formed on the camera, and other parts are out of focus and fail to form an image clearly, and therefore, the imaging of the part at the fundus are not interfered severely, and the features of the part at the fundus may still be detected. Therefore, compared with the implementation manner shown in FIG. 8, this implementation manner can well obtain an image at the fundus when the eye gazes at different directions, to cause the location detection module of this implementation manner to be more widely applied with higher detection precision.
In a possible implementation manner of an embodiment of the present application, other parts of the user information extraction apparatus according to an embodiment of the present application are implemented in the pair of glasses G. In this implementation manner, the location detection module and the projection module may also be multiplexed. Similar to the embodiment shown in FIG. 8, at this time, the projection submodule 940 may project a light spot pattern and the user related information simultaneously or by switching in a time division manner; or the location detection module detects the projected user related information as the light spot pattern. Similar to the embodiment shown in FIG. 8, in a possible implementation manner of an embodiment of the present application, in addition to functioning as parameter adjustment submodules of the projection module, the first beam splitter 920, the second beam splitter 950, and the focal length adjustable lens 930 may further function as adjustable imaging submodules of the location detection module.
At this time, the second beam splitter 950 is further configured to perform optical path transferring, separately corresponding to locations of a pupil at the time when optical axis directions of an eye are different, between the projection module and the fundus. After passing through the curved second beam splitter 950, the user related information projected by the projection submodule 940 is deformed, and therefore, in this implementation manner, the projection module comprises:
a counter-deformation processing module (not shown in FIG. 9), configured to perform, on the user related information, counter-deformation processing corresponding to the curved beam splitting device, to cause the fundus to receive the user related information that needs to be presented.
In an implementation manner, the projection module is configured to project the user related information to a fundus of the user three-dimensionally.
The user related information comprises three-dimensional information separately corresponding to two eyes of the user, and the projection module separately projects corresponding user related information to the two eyes of the user.
As shown in FIG. 10, in a case in which three-dimensional display is required, the user information extraction apparatus 1000 needs to dispose two sets of projection modules separately corresponding to two eyes of a user, comprising:
a first projection module corresponding to the left eye of the user; and
a second projection module corresponding to the right eye of the user.
A structure of the second projection module is similar to a structure combined with the function of the location detection module and recorded in the embodiment of FIG. 10, and is also a structure that can implement both the function of the location detection module and the function of the projection module, wherein the structure comprises a micro camera 1021, a second beam splitter 1022, a second focal length adjustable lens 1023, and a first beam splitter 1024 (wherein an image processing submodule of the location detection module is not shown in FIG. 10) that have same functions as those in the embodiment shown in FIG. 10. A difference lies in that in this implementation manner, the projection submodule is a second projection submodule 1025 that can project user related information corresponding to the right eye. The projection submodule may also be configured to detect a location of a gaze point of an eye of the user, and clearly project, to the fundus of the right eye, the user related information corresponding to the right eye.
A structure of the first projection module is similar to a structure of the second projection module 1020, but the first projection module does not have a micro camera, and is not combined with the function of the location detection module. As shown in FIG. 10, the first projection module comprises:
a first projection submodule 1011, configured to project, to the fundus of the left eye, user related information corresponding to the left eye;
a focal length adjustable lens 1013, configured to adjust an imaging parameter between the first projection submodule 1011 and the fundus, to cause corresponding user related information to be presented at the fundus of the left eye clearly, and to cause the user to see the user related information presented in the image;
a third beam splitter 1012, configured to perform optical path transferring between the first projection submodule 1011 and the first focal length adjustable lens 1013; and
a fourth beam splitter 1014, configured to perform optical path transferring between the first focal length adjustable lens 1013 and the fundus of the left eye.
This embodiment causes the user related information seen by the user to be displayed with a proper three-dimensional effect, thereby bringing better user experience. In addition, when the user related information input by the user comprises three-dimensional space information, the foregoing three-dimensional projection causes the user to see the three-dimensional space information. For example, when a user needs to make a specific hand gesture at a specific location in the three-dimensional space to correctly input the user related information, the foregoing method according to an embodiment of the present application causes the user to see three-dimensional user related information, and know the specific location and the specific hand gesture, and further causes the user to make a hand gesture, at the specific location, as prompted by the user related information. At this time, even if another person sees the gesture action made by the user, the person cannot know the space information, which causes the user related information to have a better confidentiality effect.
In addition, the present application further provides a computer readable medium, comprising a computer readable instruction which, when executed, executes the following operation: executing the operation of steps S120, S140, and S160 in the method embodiment shown in FIG. 1.
FIG. 11 is a schematic structural diagram of yet another user information extraction apparatus 1100 according to an embodiment of the present application. A specific embodiment of the present application does not limit specific implementation of the user information extraction apparatus 1100. As shown in FIG. 11, the user information extraction apparatus 1100 may comprise:
a processor 1110, a communications interface 1120, a memory 1130, and a communications bus 1140, wherein:
the processor 1110, the communications interface 1120, and the memory 1130 communicate with each other by using the communications bus 1140.
The communications interface 1120 is configured to communicate with a network element, such as a client.
The processor 1110 is configured to execute a program 1132, and specifically, may execute related steps in the foregoing method embodiment.
Specifically, the program 1132 may comprise program code, wherein the program code comprises computer operating instructions.
The processor 1110 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
The memory 1130 is configured to store the program 1132. The memory 1130 may comprise a high-speed RAM, or may comprise a non-volatile memory, for example, at least one magnetic disk memory. The program 1132 may specifically be configured to cause the user information extraction apparatus 1100 to perform the following steps:
acquiring an image comprising at least one digital watermark;
acquiring user related information corresponding to a user and comprised in the at least one digital watermark in the image; and
projecting the user related information to a fundus of the user.
For specific implementation of the steps in the program 1132, reference may be made to corresponding description of corresponding steps and units in the foregoing embodiment, which is not described herein again. A person skilled in the art may clearly understand that for convenience and ease of description, for a specific working process of the devices and modules described above, reference may be made to corresponding process description in the preceding method embodiment, which is not described herein again.
As shown in FIG. 12, an embodiment of the present application provides a user information embedding method, comprising:
S1200: Embed at least one digital watermark in an image, wherein the digital watermark comprises at least one piece of user related information corresponding to at least one user.
Herein, the digital watermark may be classified into two types, namely, a symmetrical watermark and an asymmetrical watermark, according to symmetry. Conventionally, a symmetrical watermark is embedded and detected by using a same key. In this case, once a method and a key for detection are disclosed, the watermark is removed from a digital carrier very easily. However, an asymmetrical watermark technology embeds a watermark by using a private key, and extracts and verifies the watermark by using a public key. In this way, an attacker can hardly destroy or remove, by using the public key, the watermark that is embedded by using the private key. Therefore, in an embodiment of the present application, the asymmetrical digital watermark is used.
In a possible implementation manner of an embodiment of the present application, the user related information comprises user authentication information corresponding to the image.
In a possible implementation manner of an embodiment of the present application, the image corresponds to a graphical user interface displayed by a device, wherein the digital watermark comprises user related information corresponding to the graphical user interface.
In a possible implementation manner of an embodiment of the present application, the graphical user interface comprises an input interface of user related information.
In a possible implementation manner of an embodiment of the present application, the graphical user interface is a lock screen interface of the device.
For implementation of the foregoing steps, refer to corresponding description in the method embodiments shown in FIG. 1, FIG. 2a to FIG. 2c, FIG. 3a, and FIG. 3b, which is not described herein again.
It should be understood that in the embodiments of the present application, the sequence numbers of the foregoing steps do not imply an execution sequence, and the execution sequence of the steps should be determined according to the functions and inherent logic, which is not intended to limit the implementation process of the embodiments of the present application.
As shown in FIG. 13, an embodiment of the present application provides a user information embedding apparatus 1300, comprising:
a watermark embedding module 1310, configured to embed at least one digital watermark in an image, wherein the digital watermark comprises at least one piece of user related information corresponding to at least one user.
In a possible implementation manner of an embodiment of the present application, the user information embedding apparatus 1300 is an electronic device terminal, such as a mobile phone, a tablet computer, a notebook, a desktop, or another user terminal.
The apparatus 1300 further comprises:
a display module 1320, configured to display a graphical user interface, wherein the image corresponds to the graphical user interface (as shown in FIG. 2a and FIG. 3a); and
the digital watermark comprises at least one piece of user related information corresponding to the graphical user interface.
In a possible implementation manner of an embodiment of the present application, the graphical user interface comprises an input interface of at least one piece of user related information.
For implementation of the functions of the modules of the foregoing user information embedding apparatus 1300, refer to corresponding description in the embodiment described above, which is not described herein again.
A person of ordinary skill in the art may be aware that the various exemplary units and steps of the method described with reference to the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether the functions are executed by hardware or software depends on particular applications and design constraint conditions of the technical solutions. A person skilled in the art can use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of the present application.
When implemented in the form of a software function unit and sold or used as a stand-alone product, the functions may be stored in a computer-readable storage medium. Based on such understanding, the essence of the technical solutions of the present application, or a part contributing to the prior art, or a part of the technical solution may be embodied in the form of a software product. The computer software product may be stored in a storage medium, and comprises several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to execute all or a part of the steps of the method in any embodiment of the present application. The storage medium may be any medium that is capable of storing program code, such as a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc.
The foregoing implementation manners are merely used to describe the present application, and are not intended to limit the present application. A person of ordinary skill in related technical field can make various changes and variations without departing from the spirit and scope of the present application. Therefore, all equivalent technical solutions fall within the scope of the present application, and the patent protection scope of the present application shall be subject to the claims.

## Claims

1. A user information extraction method, comprising:
acquiring an image comprising at least one digital watermark;
acquiring user related information corresponding to a user and comprised in the at least one digital watermark in the image;
projecting the user related information to a fundus of the user; and
adjusting at least one projection imaging parameter of an optical path between a projection location of the user related information and an eye of the user until an image of the user related information formed at the fundus of the user satisfies at least one defined first clarity criterion.

2. The method according to claim 1, wherein the user related information comprises user authentication information corresponding to the image.

3. The method according to claim 1, wherein the image corresponds to a graphical user interface displayed by a device.

4. The method according to claim 3, wherein the graphical user interface comprises an input interface of the user related information.

5. The method according to claim 1, wherein the acquiring an image comprising at least one digital watermark comprises:
acquiring the image by means of shooting.

6. The method according to claim 1, wherein the acquiring an image comprising at least one digital watermark comprises:
acquiring the image by means of receiving from an external device.

7. The method according to claim 1, wherein the acquiring user related information corresponding to a user and comprised in the at least one digital watermark in the image comprises:
extracting the user related information from the image.

8. The method according to claim 1, wherein the acquiring user related information corresponding to a user and comprised in the at least one digital watermark in the image comprises:
sending the image to an external device; and
receiving the user related information in the image from the external device.

9. The method according to claim 1, wherein the adjusting at least one projection imaging parameter of an optical path between a projection location and an eye of the user comprises:
adjusting at least one imaging parameter of at least one optical device on the optical path and/or a location of the at least one optical device on the optical path.

10. The method according to claim 1, wherein the projecting the user related information to a fundus of the user further comprises:
transferring, corresponding to locations of a pupil when optical axis directions of the eye are different, the user related information to the fundus of the user.

11. The method according to claim 10, wherein the projecting the user related information to a fundus of the user comprises:
performing, on the user related information, counter-deformation processing corresponding to locations of a pupil at the time when the optical axis directions of the eye are different, to cause the fundus to receive the user related information that needs to be presented.

12. The method according to claim 1, wherein the projecting the user related information to a fundus of the user further comprises:
aligning, at the fundus of the user, the projected user related information with an image seen by the user.

13. The method according to claim 12, wherein the method further comprises:
detecting a location, of a gaze point of the user, relative to the user, wherein
the aligning, at the fundus of the user, the projected user related information with an image seen by the user comprises:
aligning, at the fundus of the user according to the location of the gaze point of the user, relative to the user, the projected user related information with the image seen by the user.

14. The method according to claim 13, wherein the detecting a location, of a gaze point of the user, relative to the user comprises:
acquiring at least one fundus image at the fundus of an eye of the user;
adjusting at least one imaging parameter of an optical path between an image acquisition location of the at least one fundus image and the eye of the user until a fundus image that satisfies at least one defined second clarity criterion is acquired; and
analyzing the at least one fundus image, to obtain the imaging parameter of the optical path and at least one optical parameter of the eye corresponding to the fundus image, and calculating a location, of a current gaze point of the user, relative to the user according to the imaging parameters and the optical parameters of the eye.

15. The method according to claim 14, wherein the adjusting at least one projection imaging parameter of an optical path between a projection location and an eye of the user comprises:
adjusting a focal length of at least one optical device on the optical path and/or a location of the at least one optical device on the optical path.

16. The method according to claim 14, wherein the detecting a location, of a gaze point of the user, relative to the user further comprises:
transferring, corresponding to locations of a pupil when optical axis directions of the eye are different, the image at the fundus of the user to the image acquisition location at the fundus.

17. The method according to claim 14, wherein the detecting a location, of a gaze point of the user, relative to the user further comprises: projecting a light spot pattern to the fundus.

18. The method according to claim 1, wherein the projecting the user related information to a fundus of the user comprises:
projecting the user related information to the fundus of the user three-dimensionally.

19. The method according to claim 18, wherein the user related information comprises three-dimensional information separately corresponding to two eyes of the user; and
the projecting the user related information to a fundus of the user comprises:
separately projecting corresponding user related information to the two eyes of the user.

20. A user information extraction apparatus, comprising:
an image acquisition module, configured to acquire an image comprising at least one digital watermark;
an information acquisition module, configured to acquire user related information corresponding to a user and comprised in the at least one digital watermark in the image; and
a projection module, configured to project the user related information to a fundus of the user, wherein the projection module comprises:
an information projection submodule, configured to project the user related information; and
a parameter adjustment submodule, configured to adjust at least one projection imaging parameter of an optical path between the information projection submodule and an eye of the user until an image of the user related information formed at the fundus of the user satisfies at least one defined first clarity criterion.

21. The apparatus according to claim 20, wherein the image corresponds to a graphical user interface displayed by a device.

22. The apparatus according to claim 21, wherein the graphical user interface comprises an input interface of the user related information.

23. The apparatus according to claim 20, wherein the image acquisition module comprises:
a shooting submodule, configured to shoot the image.

24. The apparatus according to claim 20, wherein the image acquisition module comprises:
a first communications submodule, configured to receive the image from an external device.

25. The apparatus according to claim 20, wherein the information acquisition module comprises:
an information extraction submodule, configured to extract the user related information from the image.

26. The apparatus according to claim 20, wherein the information acquisition module comprises: a second communications submodule, configured to:
send the image to an external device; and
receive the user related information in the image from the external device.

27. The apparatus according to claim 20, wherein the parameter adjustment submodule comprises:
at least one adjustable lens device, a focal length of the at least one adjustable lens device being adjustable and/or a location of the at least one adjustable lens device on the optical path being adjustable.

28. The apparatus according to claim 20, wherein the projection module further comprises:
a curved beam splitting device, configured to transfer, corresponding to locations of a pupil when optical axis directions of the eye are different, the user related information to the fundus of the user.

29. The apparatus according to claim 28, wherein the projection module further comprises:
a counter-deformation processing submodule, configured to perform, on the user related information, counter-deformation processing corresponding to locations of a pupil at the time when the optical axis directions of the eye are different.

30. The apparatus according to claim 20, wherein the projection module further comprises:
an alignment and adjustment submodule, configured to align, at the fundus of the user, the projected user related information with an image seen by the user.

31. The apparatus according to claim 30, wherein the apparatus further comprises:
a location detection module, configured to detect a location, of a gaze point of the user, relative to the user, wherein
the alignment and adjustment submodule is configured to align, at the fundus of the user according to the location, of the gaze point of the user, relative to the user, the projected user related information with the image seen by the user.

32. The apparatus according to claim 31, wherein the location detection module comprises:
a fundus image acquisition submodule, configured to acquire at least one fundus image at the fundus of an eye of the user;
an adjustable imaging submodule, configured to adjust at least one imaging parameter of an optical path between the fundus image acquisition submodule and the eye of the user until a fundus image that satisfies at least one defined second clarity criterion is acquired; and
an image processing submodule, configured to analyze the at least one fundus image, to obtain the imaging parameter of the optical path and at least one optical parameter of the eye corresponding to the fundus image, and calculating a location, of a current gaze point of the user, relative to the user according to the imaging parameters and the optical parameters of the eye.

33. The apparatus according to claim 32, wherein the adjustable imaging submodule comprises:
an adjustable lens device, a focal length of the adjustable lens device being adjustable and/or a location of the adjustable lens device on the optical path between the image acquisition location at the fundus and the eye being adjustable.

34. The apparatus according to claim 32, wherein the adjustable imaging submodule comprises:
a curved beam splitting device, configured to transfer, corresponding to locations of a pupil when optical axis directions of the eye are different, the image at the fundus of the user to the image acquisition location at the fundus.

35. The apparatus according to claim 32, wherein the location detection module further comprises:
a projection submodule, configured to project a light spot pattern to the fundus.

36. The apparatus according to claim 32, wherein a function of the location detection module and a function of the projection module are implemented by a same device.

37. The apparatus according to claim 20, wherein the projection module is configured to:
project the user related information to the fundus of the user three-dimensionally.

38. The apparatus according to claim 37, wherein
the user related information comprises three-dimensional information separately corresponding to two eyes of the user; and
the projection module is configured to separately project corresponding user related information to the two eyes of the user.

39. The apparatus according to claim 20, wherein the apparatus is a pair of glasses.

40. A non-transitory computer readable storage medium, wherein the computer readable storage medium comprises an executable instruction, and when a central processing unit (CPU) of a wearable device executes the executable instruction, the executable instruction is used to cause the wearable device to perform the following method:
acquiring an image comprising at least one digital watermark;
acquiring user related information corresponding to a user and comprised in the at least one digital watermark in the image; and
projecting the user related information to a fundus of the user; and
adjusting at least one projection imaging parameter of an optical path between a projection location of the user related information and an eye of the user until an image of the user related information formed at the fundus of the user satisfies at least one defined first clarity criterion.

41. A user information extraction apparatus, comprising a CPU and a memory, wherein the memory stores a computer executing instruction, the CPU is connected to the memory by using a communications bus, and when the user information extraction apparatus runs, the CPU executes the computer executing instruction stored in the memory, to cause the user information extraction apparatus to perform the following method:
acquiring an image comprising at least one digital watermark;
acquiring user related information corresponding to a user and comprised in the at least one digital watermark in the image;
projecting the user related information to a fundus of the user; and
adjusting at least one projection imaging parameter of an optical path between a projection location of the user related information and an eye of the user until an image of the user related information formed at the fundus of the user satisfies at least one defined first clarity criterion.