Control method and device based on eye movement tracking, equipment and storage medium

By adjusting the working frequency synchronization of the light source, camera and display in the eye-tracking device, the problem of reduced imaging quality caused by inconsistency in the existing technology is solved, and the accuracy of eye-tracking analysis is improved.

CN118842991APending Publication Date: 2024-10-25GRAVITYXR ELECTRONICS & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310461843.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-25
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

In the existing video perspective technology, the working frequencies of the light source, camera and display of the eye tracking equipment are inconsistent, resulting in a reduction in the quality of reflected eye images and affecting the quality of eye tracking analysis.

Method used

By obtaining the initial working frequencies of the display, light source and camera, control information is generated to adjust their working status, so that the working frequencies of the light source and camera are synchronized with the display and reduce mutual interference.

Benefits of technology

It improves the imaging quality of eye reflection images, reduces the interference of light sources and cameras on collected information, and improves the accuracy of eye tracking analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118842991A_ABST
    Figure CN118842991A_ABST
Patent Text Reader

Abstract

The invention provides a control method and device based on eye movement tracking, equipment and a storage medium. The method comprises the following steps: acquiring initial working frequencies of a display, a light source and a camera; generating corresponding control information based on the initial working frequency: acquiring a ratio of the initial working frequency of the camera to the initial working frequency of the display, and judging the ratio; if the ratio is a positive integer, first control information is generated, and the first control information comprises time sequence adjustment information; if the ratio is not the positive integer, determining adjustment information or data processing information of the camera, and generating second control information based on the adjustment information or the data processing information; and adjusting the light source and the camera to a target working state based on the first control information or the second control information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display, and more specifically, to a control method, device, equipment and storage medium based on eye tracking. Background Art

[0002] With the continuous advancement of electronic technology, video see-through technology, as a high-tech technology, has been increasingly used in gaming, entertainment, teaching, advertising, medical treatment, industry, etc. Video see-through is a display method based on video synthesis technology. This method requires the use of a camera to obtain image information in the real scene, and then after information processing, the text, image, video, 3D model and other virtual information are synthesized into the image of the real scene, and finally the synthesized image is displayed to the user through the display screen. Commonly used video see-through technologies include virtual reality (VR), augmented reality (AR), mixed reality (MR) and extended reality (XR).

[0003] At present, video perspective is increasingly combined with eye tracking technology. Common electronic devices using eye tracking technology mainly use infrared light sources to illuminate the eyes, causing reflections, and use infrared cameras to capture and display these reflected eye images. Then, by processing the reflected eye images, the three-dimensional position and gaze direction of the eyes are obtained. Taking head-mounted display devices based on eye tracking as an example, there is a problem of asynchrony between the operating frequencies of the light source, the infrared camera, and the display. The three will interfere with each other, resulting in reduced imaging quality of the captured reflected eye images, further affecting the quality of eye tracking analysis. Summary of the invention

[0004] Some embodiments of the present application provide eye-tracking-based control methods, devices, equipment, and storage media that can at least partially solve the above-mentioned problems existing in the prior art.

[0005] According to one aspect of the present application, a control method based on eye tracking is provided, and the method may include: obtaining the initial operating frequencies of a display, a light source and a camera; generating corresponding control information based on the initial operating frequencies, including: obtaining the ratio of the initial operating frequency of the camera to the initial operating frequency of the display, and judging the ratio; if the ratio is a positive integer, generating first control information, the first control information including timing adjustment information; if the ratio is not a positive integer, determining the adjustment information or data processing information of the camera, and generating second control information based on the adjustment information or the data processing information; adjusting the light source and the camera to a target operating state based on the first control information or the second control information.

[0006] In one embodiment of the present application, the second control information may include at least one of frame data processing information, frequency adjustment information, working state adjustment information and the timing adjustment information.

[0007] In one embodiment of the present application, determining adjustment information of the camera and generating second control information based on the adjustment information may include: determining a target operating frequency set of the camera, wherein the target operating frequency set of the camera includes at least one target operating frequency, and the ratio of the target operating frequency to the initial frequency of the display is a positive integer; obtaining a threshold range of the target operating frequency of the camera; filtering the target operating frequency based on the threshold range to obtain a filtering result; determining the adjustment information based on the filtering result, and generating the second control information.

[0008] In one embodiment of the present application, determining the adjustment information of the camera based on the filtering result and generating the second control information may include: in response to the number of the target operating frequencies contained in the filtering result being greater than or equal to 1, the second control information is the frequency adjustment information and the timing adjustment information of the camera; in response to the number of the target operating frequencies contained in the filtering result being 0, the second control information is frame data processing information.

[0009] In one embodiment of the present application, adjusting the light source and the camera to a target working state based on the first control information or the second control information may include: adjusting the working states of the light source and the camera based on the frequency adjustment information and the timing adjustment information so that when the display is in a working state, the light source and the camera are in a non-working state.

[0010] In one embodiment of the present application, adjusting the light source and the camera to a target working state based on the first control information or the second control information may include: determining to skip a frame based on the frame data processing information; in the skipped frame, the camera does not perform an exposure operation or the illuminance of the light source is greater than an illuminance threshold.

[0011] In one embodiment of the present application, the method may further include: determining supplementary frame information based on the frame data processing information.

[0012] On the other hand, the present application provides a control device based on eye tracking, which may include: an information acquisition module, used to acquire the initial operating frequencies of a display, a light source and a camera; a control module, which generates corresponding control information based on the initial operating frequencies, including: acquiring the ratio of the initial operating frequency of the camera to the initial operating frequency of the display, and judging the ratio; if the ratio is a positive integer, generating first control information, the first control information including timing adjustment information; if the ratio is not a positive integer, determining the adjustment information or data processing information of the camera, and generating second control information based on the adjustment information or the data processing information; a working state adjustment module, used to adjust the light source and the camera to a target working state based on the first control information or the second control information.

[0013] In one embodiment of the present application, the second control information includes at least one of frame data processing information, frequency adjustment information, working state adjustment information and the timing adjustment information.

[0014] In one embodiment of the present application, the control module can also be used to: determine a target operating frequency set for the camera, wherein the target operating frequency set for the camera includes at least one target operating frequency, and the ratio of the target operating frequency to the initial frequency of the display is a positive integer; obtain a threshold range for the target operating frequency of the camera; filter the target operating frequency based on the threshold range to obtain a filtering result; determine the adjustment information based on the filtering result, and generate the second control information.

[0015] In one embodiment of the present application, the control module can also be used for: in response to the number of target operating frequencies contained in the filtering results being greater than or equal to 1, the second control information is the frequency adjustment information and the timing adjustment information of the camera; in response to the number of target operating frequencies contained in the filtering results being 0, the second control information is frame data processing information.

[0016] In one embodiment of the present application, the working status adjustment module can also be used to: adjust the working status of the light source and the camera based on the frequency adjustment information and the timing adjustment information, so that when the display is in a working state, the light source and the camera are in a non-working state.

[0017] In one embodiment of the present application, the working status adjustment module can also be used to: determine a skip frame based on the frame data processing information; in the skip frame, the camera does not perform an exposure operation or the illumination of the light source is greater than an illumination threshold.

[0018] In one embodiment of the present application, the working status adjustment module may also be used to: determine supplementary frame information based on the frame data processing information.

[0019] On the other hand, the present application provides an electronic device, which may include: a processor, suitable for executing a computer program; and a computer-readable storage medium, in which the computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, it implements the eye tracking-based control method as described above.

[0020] On the other hand, the present application provides a computer-readable storage medium, which can be used to store a computer program, wherein the computer program enables a computer to execute the above-mentioned eye-tracking-based control method.

[0021] According to an exemplary embodiment of the present application, control information is generated by the initial operating frequency of the display, light source and camera, and the light source and camera are adjusted to the target operating state based on the control information. To a certain extent, the interference of the operating state of the light source and camera on the collected information is reduced, resulting in a reduction in the imaging quality of the image reflected by the captured eyes, further affecting the quality of eye tracking analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings, in which:

[0023] Figure 1 is a schematic diagram of a head mounted device 10 according to a related embodiment;

[0024] Figure 2 It is a schematic diagram of the working state of the relevant implementation method;

[0025] Figure 3 is a flow chart of a control method 1000 based on eye tracking according to an embodiment of the present application;

[0026] Figure 4 is a flow chart of generating second control information according to an exemplary embodiment of the present application;

[0027] Figure 5 is a schematic diagram of a frame synchronization signal according to an exemplary embodiment of the present application;

[0028] Figure 6 is a schematic diagram of a control device 2000 based on eye tracking according to an exemplary embodiment of the present application;

[0029] Figure 7 Schematic diagram of the structure of an electronic device 700 according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0030] In order to better understand the present application, a more detailed description will be made of various aspects of the present application with reference to the accompanying drawings. It should be understood that these detailed descriptions are only descriptions of exemplary embodiments of the present application, and are not intended to limit the scope of the present application in any way. Throughout the specification, the same reference numerals refer to the same elements. The expression "and / or" includes any and all combinations of one or more of the associated listed items.

[0031] In the accompanying drawings, the size, dimensions and shapes of the elements have been slightly adjusted for ease of illustration. The drawings are for illustration only and are not strictly drawn to scale. As used herein, the terms "substantially", "approximately" and similar terms are used as terms of approximation, not as terms of degree, and are intended to illustrate the inherent deviations in measurements or calculations that will be recognized by those of ordinary skill in the art. In addition, in this application, the order in which the steps are described does not necessarily represent the order in which these processes occur in actual operation, unless otherwise specified or can be derived from the context.

[0032] It should also be understood that expressions such as "include", "including", "have", "contain" and / or "comprising" are open rather than closed expressions in this specification, which indicate the presence of the stated features, elements and / or components, but do not exclude the presence of one or more other features, elements, components and / or combinations thereof. In addition, when expressions such as "at least one of..." appear after a list of listed features, they modify the entire list of features rather than just the individual elements in the list. In addition, when describing embodiments of the present application, "may" is used to mean "one or more embodiments of the present application". And, the term "exemplary" is intended to refer to an example or illustration.

[0033] Unless otherwise specified, all words (including engineering terms and scientific and technological terms) used in this article have the same meaning as those commonly understood by ordinary technicians in the field to which this application belongs. It should also be understood that, unless clearly stated in this application, words defined in common dictionaries should be interpreted as having the same meaning as their meaning in the context of the relevant technology, and should not be interpreted in an idealized or overly formal sense.

[0034] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0035] Figure 1 FIG. 1 is a schematic diagram of a head mounted device 10 according to a related embodiment. Figure 1 As shown, the head-mounted device 10 may include a light source 11, a camera 12 and a display 13. The light source 11 may be a single light emitting diode (LED) or an array of light emitting diodes, such as an LED array, a micro LED array, an OLED array or a combination thereof. Exemplarily, during eye tracking, the light source may periodically emit infrared light to provide the required lighting for the head-mounted device 10. The camera 12 may be an infrared camera, which is used to determine the position and gaze direction of the user's eye pupil to achieve the eye tracking function. Exemplarily, the light from the light source 11 passes through the cornea, pupil, and lens and finally hits the retina. The retina reflects the incident light. The camera 12 determines the direction of eye movement by detecting the intensity of the reflected light from the retina, and finally uses the display 13 to display the eye gaze direction or selects the content displayed in the display based on the eye gaze direction.

[0036] Figure 2 Schematic diagram of the working state of the relevant implementation method. Figure 2 As shown, the operating frequencies of the light source, the camera, and the display are not synchronized. That is, when the light source and the camera are turned on, the display may be turned on or off. For example, at time T1, the light source and the camera are turned on, and the display is turned on; at time T2, the light source and the camera are turned on, and the display is turned off. The asynchronous operating frequencies of the light source, the camera, and the display will not only affect the sampling, but also cause the problem of mutual crosstalk, affecting the quality of imaging.

[0037] In order to solve the above-mentioned problems, the present application proposes a control method based on eye tracking. Figure 3 FIG. 1 is a flow chart of a control method 1000 based on eye tracking according to an embodiment of the present application. Figure 3As shown, the control method 1000 based on eye tracking may include:

[0038] Step S100: obtaining the initial operating frequencies of the display, light source and camera;

[0039] Step S200: Generate corresponding control information based on the initial operating frequency, including:

[0040] Obtaining a ratio of the initial operating frequency of the camera to the initial operating frequency of the display, and making a judgment based on the ratio;

[0041] If the ratio is a positive integer, generating first control information, the first control information including timing adjustment information;

[0042] If the ratio is not a positive integer, determining adjustment information or data processing information of the camera, and generating second control information based on the adjustment information or the data processing information;

[0043] Step S300: adjusting the light source and the camera to a target working state based on the first control information or the second control information.

[0044] The specific contents of each step of the above-mentioned control method 1000 based on eye tracking will be described in detail below.

[0045] In an exemplary embodiment of the present application, the initial operating frequencies of the display, light source, and camera are first obtained. Exemplarily, during the eye tracking process, the light source, camera, and display generally perform periodic operations, for example, periodically turning on and off, and the initial operating frequency is the number of times the light source, camera, and display complete periodic turning on and off within a certain period of time. Among them, the initial operating frequency of the light source, the initial operating frequency of the display, and the initial operating frequency of the camera can be determined by the initial settings of the application processor (Application Processor) or by the default settings in the sensor and display driver.

[0046] In an exemplary embodiment of the present application, after obtaining the initial operating frequencies of the display, light source, and camera, corresponding control information can be generated based on the initial operating frequencies. Exemplarily, the ratio of the initial operating frequency of the camera to the initial operating frequency of the display is obtained, and the ratio is judged. If the ratio is a positive integer, the first control information is generated, and the first control information includes timing adjustment information; if the ratio is not a positive integer, the adjustment information or data processing information of the camera is determined, and the second control information is generated based on the adjustment information or the data processing information. Among them, the second control information may include at least one of frame data processing information, frequency adjustment information, working state adjustment information, and timing adjustment information.

[0047] In an exemplary embodiment of the present application, the initial operating frequency of the display is 120 Hz, and the initial operating frequency of the camera is 240 Hz. At this time, the ratio of the initial operating frequency of the camera to the initial operating frequency of the display is 2, which is a positive integer. Then, first control information is generated. The first control information is timing adjustment information. In the subsequent process, the start time of the camera and the light source is controlled based on the first control information, so that the camera, the light source and the display can be synchronized.

[0048] In another exemplary embodiment of the present application, the initial operating frequency of the display is 120 Hz, and the initial operating frequency of the camera is 180 Hz. At this time, the ratio of the initial operating frequency of the camera to the initial operating frequency of the display is 1.5, which is not a positive integer, and the second control information is generated.

[0049] Figure 4 FIG. 1 is a flow chart of generating second control information according to an exemplary embodiment of the present application. Figure 4 As shown, generating the second control information may include the following steps:

[0050] Step S210: determining a target operating frequency set of the camera, wherein the target operating frequency set of the camera includes at least one target operating frequency, and a ratio of the target operating frequency to the initial frequency of the display is a positive integer;

[0051] Step S220: obtaining a threshold range of a target operating frequency of the camera;

[0052] Step S230: screening the target operating frequency based on the threshold range to obtain a screening result;

[0053] Step S240: determining adjustment information based on the screening result, and generating second control information.

[0054] In an exemplary embodiment of the present application, the target operating frequency set of the camera can be determined based on the initial operating frequency of the display and the ratio of the target operating frequency of the camera to the initial frequency of the display being a positive integer, wherein the target operating frequency set of the camera can include the target operating frequencies of multiple cameras. Exemplarily, the initial operating frequency of the display is 120 Hz, and the target operating frequency set of the camera can be {120 Hz, 240 Hz, 360 Hz...}. Then, the threshold range of the target operating frequency of the camera can be obtained, and the target operating frequency set of the camera can be screened based on the threshold range of the target operating frequency of the camera.

[0055] In response to the number of target operating frequencies included in the screening result being greater than or equal to 1, the second control information is the frequency adjustment information and timing adjustment information of the camera. That is, if at least one target operating frequency can be screened out, in the subsequent process, the operating states of the light source and the camera are adjusted based on the frequency adjustment information and the timing adjustment information, so that when the display is in the working state, the light source and the camera are in the non-working state, that is, the operating frequency and timing of the camera and the light source are adjusted based on the second control information, so that the camera, the light source and the display can be synchronized.

[0056] In response to the number of target operating frequencies included in the screening result being 0, the second control information is frame data processing information. Exemplarily, if none of the target operating frequencies in the target operating frequency set of the camera is within the threshold range of the target operating frequency of the camera, the target operating frequency cannot be screened out, that is, the operating frequency of the camera cannot be adjusted subsequently. The frame data processing information may be a frame synchronization signal, and the frame synchronization signal may be a digital signal or an analog signal, which is not limited in this application.

[0057] In an exemplary embodiment of the present application, the frame synchronization signal may be generated by a dedicated hardware unit, a display module or a processor, wherein the frequency, duty cycle and timing parameters of the frame synchronization signal may be determined based on the working state of the display, wherein the frequency of the frame synchronization signal may be an integer multiple of the working frequency of the display, and the duty cycle of the frame synchronization signal may be less than the duty cycle of the display signal, wherein the duty cycle is the proportion of the time of controlling the acquisition based on the frame synchronization signal relative to the total time of the entire cycle within the same cycle. Then the working state of the camera and the working state of the light source may be controlled based on the frame synchronization signal.

[0058] Figure 5 FIG. 1 is a schematic diagram of a frame synchronization signal according to an exemplary embodiment of the present application. Taking the frequency of the frame synchronization signal being the same as the operating frequency of the display as an example, Figure 5As shown, the skipped frame can be determined based on the frame synchronization signal. For example, at time T3, when the display is in the on state, the light source and the camera are also in the on state. At this time, the frame synchronization signal can judge this frame as a skipped frame. In the skipped frame, the camera does not perform an exposure operation or the illumination of the light source is greater than the illumination threshold, and then the supplementary frame information is determined based on the frame data processing information. Exemplarily, the camera does not perform an exposure operation, that is, when skipping a frame, no information is collected. The information of the skipped frame can be obtained by calculating the information of the previous frame or directly obtained from the information of the previous frame. For example, the skipped frame is the Nth frame, and the information of the skipped frame can be calculated from the previous frame data of the N-1 frame and the N-2 frame or more, or the information of the N-1 frame can be directly used as the information of this frame. In an exemplary embodiment of the present application, the illumination of the light source can also be adjusted when skipping a frame, that is, the illumination of the light source is increased, and the illumination of the light source is adjusted to be greater than the illumination threshold, which can reduce the interference of the collected information to a certain extent.

[0059] In an exemplary embodiment of the present application, the light source and the camera can also be adjusted to a target working state based on the first control information or the second control information, wherein the target working state is when the display is in the working state, the light source and the camera are in the non-working state, or only the camera is in the non-working state.

[0060] According to an exemplary embodiment of the present application, control information is generated by the initial operating frequency of the display, light source and camera, and the light source and camera are adjusted to the target operating state based on the control information. To a certain extent, the interference of the operating state of the light source and camera on the collected information is reduced, resulting in a reduction in the imaging quality of the image reflected by the captured eyes, further affecting the quality of eye tracking analysis.

[0061] On the other hand, the present application also provides a control device based on eye tracking. Figure 6 FIG. 2 is a schematic diagram of a control device 2000 based on eye tracking according to an exemplary embodiment of the present application. Figure 6 As shown, the control device 2000 based on eye tracking includes an information acquisition module 2100 , a control module 2200 and a working state adjustment module 2300 .

[0062] In an exemplary embodiment of the present application, the acquisition module 2100 is used to acquire the initial operating frequency of the display, the light source, and the camera. Exemplarily, during the eye tracking process, the light source, the camera, and the display generally perform periodic operations, for example, periodically turning on and off, and the initial operating frequency is the number of times the light source, the camera, and the display complete periodic turning on and off within a certain period of time. Among them, the initial operating frequency of the light source, the initial operating frequency of the display, and the initial operating frequency of the camera can be determined by the initial settings of the application processor (Application Processor) or by the default settings in the sensor and display driver.

[0063] In an exemplary embodiment of the present application, the control module 2200 is used to generate corresponding control information based on the initial operating frequency. Exemplarily, the ratio of the initial operating frequency of the camera to the initial operating frequency of the display is obtained, and the ratio is judged. If the ratio is a positive integer, the first control information is generated, and the first control information includes timing adjustment information; if the ratio is not a positive integer, the adjustment information or data processing information of the camera is determined, and the second control information is generated based on the adjustment information or the data processing information. Among them, the second control information may include at least one of frame data processing information, frequency adjustment information, working state adjustment information, and timing adjustment information.

[0064] In an exemplary embodiment of the present application, the initial operating frequency of the display is 120 Hz, and the initial operating frequency of the camera is 240 Hz. At this time, the ratio of the initial operating frequency of the camera to the initial operating frequency of the display is 2, which is a positive integer. Then, first control information is generated. The first control information is timing adjustment information. In the subsequent process, the start time of the camera and the light source is controlled based on the first control information, so that the camera, the light source and the display can be synchronized.

[0065] In another exemplary embodiment of the present application, the initial operating frequency of the display is 120 Hz, and the initial operating frequency of the camera is 180 Hz. At this time, the ratio of the initial operating frequency of the camera to the initial operating frequency of the display is 1.5, which is not a positive integer, and the second control information is generated.

[0066] In an exemplary embodiment of the present application, generating the second control information may include: determining a target operating frequency set of the camera, wherein the target operating frequency set of the camera includes at least one target operating frequency, and the ratio of the target operating frequency to the initial frequency of the display is a positive integer; obtaining a threshold range of the target operating frequency of the camera; filtering the target operating frequency based on the threshold range to obtain a filtering result; determining adjustment information based on the filtering result, and generating the second control information.

[0067] In an exemplary embodiment of the present application, the target operating frequency set of the camera can be determined based on the initial operating frequency of the display and the ratio of the target operating frequency of the camera to the initial frequency of the display being a positive integer, wherein the target operating frequency set of the camera can include the target operating frequencies of multiple cameras. Exemplarily, the initial operating frequency of the display is 120 Hz, and the target operating frequency set of the camera can be {120 Hz, 240 Hz, 360 Hz...}. Then, the threshold range of the target operating frequency of the camera can be obtained, and the target operating frequency set of the camera can be screened based on the threshold range of the target operating frequency of the camera.

[0068] In response to the number of target operating frequencies included in the screening result being greater than or equal to 1, the second control information is the frequency adjustment information and timing adjustment information of the camera. That is, if at least one target operating frequency can be screened out, in the subsequent process, the operating states of the light source and the camera are adjusted based on the frequency adjustment information and the timing adjustment information, so that when the display is in the working state, the light source and the camera are in the non-working state, that is, the operating frequency and timing of the camera and the light source are adjusted based on the second control information, so that the camera, the light source and the display can be synchronized.

[0069] In response to the number of target operating frequencies included in the screening result being 0, the second control information is frame data processing information. Exemplarily, if none of the target operating frequencies in the target operating frequency set of the camera is within the threshold range of the target operating frequency of the camera, the target operating frequency cannot be screened out, that is, the operating frequency of the camera cannot be adjusted subsequently. The frame data processing information may be a frame synchronization signal, and the frame synchronization signal may be a digital signal or an analog signal, which is not limited in this application.

[0070] In an exemplary embodiment of the present application, the frame synchronization signal may be generated by a dedicated hardware unit, a display module or a processor, wherein the frequency, duty cycle and timing parameters of the frame synchronization signal may be determined based on the working state of the display, wherein the frequency of the frame synchronization signal may be an integer multiple of the working frequency of the display, and the duty cycle of the frame synchronization signal may be less than the duty cycle of the display signal, wherein the duty cycle is the proportion of the time of controlling the acquisition based on the frame synchronization signal relative to the total time of the entire cycle within the same cycle. Then the working state of the camera and the working state of the light source may be controlled based on the frame synchronization signal.

[0071] In the exemplary implementation of the present application, taking the frequency of the frame synchronization signal being the same as the operating frequency of the display as an example, Figure 5, the skipped frames can be determined based on the frame synchronization signal. For example, at time T3, when the display is in the on state, the light source and the camera are also in the on state. At this time, the frame synchronization signal can judge this frame as a skipped frame. In the skipped frame, the camera does not perform an exposure operation or the illumination of the light source is greater than the illumination threshold, and then the supplementary frame information is determined based on the frame data processing information. Exemplarily, the camera does not perform an exposure operation, that is, no information is collected when the frame is skipped. The information of the skipped frame can be obtained by inferring the information of the previous frame or directly obtained from the information of the previous frame. For example, the skipped frame is the Nth frame, and the information of the skipped frame can be inferred from the previous frame data of the N-1 frame and the N-2 frame or more, or the information of the N-1 frame can be directly used as the information of this frame. In an exemplary embodiment of the present application, the illumination of the light source can also be adjusted when the frame is skipped, that is, the illumination of the light source is increased, and the illumination of the light source is adjusted to be greater than the illumination threshold, which can reduce the interference of the collected information to a certain extent.

[0072] In an exemplary embodiment of the present application, the working state adjustment module 2300 is used to adjust the light source and the camera to a target working state based on the first control information or the second control information. The target working state is when the display is in the working state, the light source and the camera are in the non-working state or only the camera is in the non-working state.

[0073] According to an exemplary embodiment of the present application, control information is generated by the initial operating frequency of the display, light source and camera, and the light source and camera are adjusted to the target operating state based on the control information. To a certain extent, the interference of the operating state of the light source and camera on the collected information is reduced, resulting in a reduction in the imaging quality of the image reflected by the captured eyes, further affecting the quality of eye tracking analysis.

[0074] The present application also provides an electronic device and a computer-readable storage medium. Figure 7 FIG. 7 is a schematic diagram of the structure of an electronic device 700 according to an exemplary embodiment of the present application. Figure 7 , which shows a schematic diagram of the structure of an electronic device 700 suitable for implementing the embodiments of the present disclosure. The terminal devices in the embodiments of the present disclosure may include but are not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals, etc.) and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The terminal device / server shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0075] like Figure 7As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0076] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 7 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0077] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0078] It should be noted that the computer-readable medium described in the embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0079] The computer-readable medium may be included in the electronic device, or may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device can realize: obtaining the initial operating frequency of the display, the light source and the camera; generating corresponding control information based on the initial operating frequency, including: obtaining the ratio of the initial operating frequency of the camera to the initial operating frequency of the display, and judging the ratio; if the ratio is a positive integer, generating first control information, the first control information includes timing adjustment information; if the ratio is not a positive integer, determining the adjustment information or data processing information of the camera, and generating second control information based on the adjustment information or data processing information; adjusting the light source and the camera to the target working state based on the first control information or the second control information.

[0080] Computer program code for performing the operations of embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as a separate software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0081] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0082] The specific implementation modes as described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation mode of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A control method based on eye tracking, characterized in that: The method comprises: Get the initial operating frequency of the display, light source and camera; Generating corresponding control information based on the initial operating frequency includes: Obtaining a ratio of an initial operating frequency of the camera to an initial operating frequency of the display, and determining the ratio; If the ratio is a positive integer, generating first control information, wherein the first control information includes timing adjustment information; If the ratio is not a positive integer, determining adjustment information or data processing information of the camera, and generating second control information based on the adjustment information or the data processing information; The light source and the camera are adjusted to a target working state based on the first control information or the second control information.

2. The eye tracking-based control method according to claim 1, characterized in that: The second control information includes at least one of frame data processing information, frequency adjustment information, working state adjustment information and the timing adjustment information.

3. The eye tracking-based control method according to claim 2, characterized in that: Determining adjustment information of the camera, and generating second control information based on the adjustment information, including: Determine a target operating frequency set of the camera, wherein the target operating frequency set of the camera includes at least one target operating frequency, and a ratio of the target operating frequency to an initial frequency of the display is a positive integer; Obtaining a threshold range of a target operating frequency of the camera; Screening the target operating frequency based on the threshold range to obtain a screening result; The adjustment information is determined based on the screening result, and the second control information is generated.

4. The eye tracking-based control method according to claim 3, characterized in that: Determining adjustment information of the camera based on the screening result and generating the second control information includes: In response to the number of the target operating frequencies included in the screening result being greater than or equal to 1, the second control information is the frequency adjustment information and the timing adjustment information of the camera; In response to the number of the target operating frequencies included in the screening result being 0, the second control information is frame data processing information.

5. The eye tracking-based control method according to claim 4, characterized in that: Adjusting the light source and the camera to a target working state based on the first control information or the second control information includes: The working states of the light source and the camera are adjusted based on the frequency adjustment information and the timing adjustment information, so that when the display is in the working state, the light source and the camera are in the non-working state.

6. The eye tracking-based control method according to claim 4, characterized in that: Adjusting the light source and the camera to a target working state based on the first control information or the second control information includes: Determining a skip frame based on the frame data processing information; In the skipped frame, the camera does not perform an exposure operation or the illumination of the light source is greater than an illumination threshold.

7. The eye tracking-based control method according to claim 6, characterized in that: The method further comprises: Supplemental frame information is determined based on the frame data processing information.

8. A control device based on eye tracking, characterized in that: The device comprises: An information acquisition module, used to obtain the initial operating frequency of the display, light source and camera; A control module generates corresponding control information based on the initial operating frequency, including: Obtaining a ratio of an initial operating frequency of the camera to an initial operating frequency of the display, and determining the ratio; If the ratio is a positive integer, generating first control information, wherein the first control information includes timing adjustment information; If the ratio is not a positive integer, determining adjustment information or data processing information of the camera, and generating second control information based on the adjustment information or the data processing information; A working state adjustment module is used to adjust the light source and the camera to a target working state based on the first control information or the second control information.

9. The eye tracking-based control device according to claim 8, characterized in that: The second control information includes at least one of frame data processing information, frequency adjustment information, working state adjustment information and the timing adjustment information.

10. The eye tracking-based control device according to claim 9, characterized in that: The control module is also used for: Determine a target operating frequency set of the camera, wherein the target operating frequency set of the camera includes at least one target operating frequency, and a ratio of the target operating frequency to an initial frequency of the display is a positive integer; Obtaining a threshold range of a target operating frequency of the camera; Screening the target operating frequency based on the threshold range to obtain a screening result; The adjustment information is determined based on the screening result, and the second control information is generated.

11. The eye-tracking-based control device according to claim 10, characterized in that: The control module is also used for: In response to the number of the target operating frequencies included in the screening result being greater than or equal to 1, the second control information is the frequency adjustment information and the timing adjustment information of the camera; In response to the number of the target operating frequencies included in the screening result being 0, the second control information is frame data processing information.

12. The eye-tracking-based control device according to claim 11, characterized in that: The working state adjustment module is also used for: The working states of the light source and the camera are adjusted based on the frequency adjustment information and the timing adjustment information, so that when the display is in the working state, the light source and the camera are in the non-working state.

13. The eye-tracking-based control device according to claim 11, characterized in that: The working state adjustment module is also used for: Determining a skip frame based on the frame data processing information; In the skipped frame, the camera does not perform an exposure operation or the illumination of the light source is greater than an illumination threshold.

14. The eye-tracking-based control device according to claim 13, characterized in that: The working state adjustment module is also used for: Supplemental frame information is determined based on the frame data processing information.

15. An electronic device, characterized in that: include: a processor adapted to execute a computer program; as well as A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the eye-tracking-based control method according to any one of claims 1 to 7 is implemented.

16. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program enables a computer to execute the eye tracking-based control method according to any one of claims 1 to 7.