Image display method and device, equipment, medium and product

By obtaining dynamic parameters and spatial parameters of the device and user's eyes, and reasonably controlling the image rendering process, the problem of excessive energy consumption in image display is solved, and more efficient energy management and user experience is achieved.

CN119861986APending Publication Date: 2025-04-22HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311333463.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-13
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

During image display, the prior art results in excessive energy consumption, especially when it does not attract user attention.

Method used

By obtaining dynamic parameters and spatial parameters of the eyes of the device and the user, determining the relative positional relationship between the device and the eyes, generating rendering parameters for image rendering, reasonably controlling the image rendering process, and avoiding non-essential energy consumption.

Benefits of technology

It effectively reduces unnecessary power consumption and waste during image rendering, improves the battery life of the device, and ensures users' high-quality image rendering experience when needed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119861986A_ABST
    Figure CN119861986A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an image display method and device, equipment, a medium and a product. According to the embodiment of the invention, the method comprises the steps: obtaining a device dynamic parameter and a device space parameter of a device; obtaining eye dynamic parameters and eye space parameters of the user; based on the equipment space parameters and the eye space parameters, determining a relative position relationship between the equipment and the eyes; and generating rendering parameters for rendering the image based on the device dynamic parameters, the eye dynamic parameters and the relative position relationship. The relevant parameters of the eyes of the user and the equipment are comprehensively analyzed to judge whether the eyes of the user watch an equipment screen or not, and if yes, the position of the equipment watched by the user is further determined, so that the rendering parameters can meet the requirement of the user for watching image rendering, unnecessary rendering or excessive rendering is avoided, and the user experience is improved. And the energy consumption loss caused in the rendering process is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to an image display method, device, equipment, medium and product. Background Art

[0002] On an electronic device with a display function, when the display screen is in standby mode or has just been turned on, an image such as wallpaper is usually displayed on the display screen.

[0003] In order to provide users with a better visual experience, when displaying images such as wallpapers, high frequency and high rendering effects are usually used to render the wallpapers. This means that when displaying high-performance rendered images, more energy consumption will be generated. Especially when it does not attract the attention of users, excessive energy consumption is meaningless. In order to meet the requirements of high-performance image rendering, multiple sensors are also required to sample at high frequencies to meet the image rendering requirements, which will also cause the sensors to generate more energy consumption. Summary of the invention

[0004] Multiple aspects of the present application provide an image display method, device, equipment, medium and product to solve the problem of excessive energy consumption during image display.

[0005] In a first aspect, an embodiment of the present application provides an image display method, comprising:

[0006] Get the device dynamic parameters and device space parameters of the device;

[0007] Obtaining the user's eye dynamic parameters and eye space parameters;

[0008] Determine a relative position relationship between a device and an eye based on the device space parameter and the eye space parameter;

[0009] Based on the device dynamic parameters, the eye dynamic parameters and the relative position relationship, rendering parameters for rendering an image are generated.

[0010] The built-in sensors of the electronic device are used to collect the dynamic parameters of the device, such as the device speed parameters. The sensor mentioned here can be an IMU. However, the collected dynamic parameters of the device can only reflect the working status of the device, and it is necessary to further judge the user's attention and use of the device. Specifically, the user's eye dynamic parameters can be detected by the sensor, because the eyes can directly and accurately reflect whether the user is paying attention to the image on the screen. At the same time, the device space parameters and the eye space parameters are obtained to accurately determine the relative position relationship between the eye and the device, so as to accurately know the rotation angle of the image and the content that the image needs to display based on the relative position relationship. Then, the rendering parameters for rendering the image are determined by comprehensively utilizing the device dynamic parameters, the eye dynamic parameters and the relative position relationship. In the above manner, the image rendering process is reasonably controlled by comprehensively considering the parameters related to the device and the user's eyes, so as to avoid the power consumption and waste caused by unnecessary rendering process.

[0011] Optionally, determining the relative position relationship between the device and the eye based on the device space parameter and the eye space parameter includes:

[0012] Establish the local coordinate system of the device and the global coordinate system of the user's eyes;

[0013] The local coordinate system of the device is converted into the global coordinate system of the user's eye, so as to determine the relative position relationship between the user's eye and the device.

[0014] Since the device and the user's eyes are located in different coordinate systems, in order to accurately determine the user's focus position and focus state on the electronic device, a coordinate system conversion is required, that is, the local coordinate system of the device is converted to the global coordinate system of the user's eyes, so that the coordinates of the point on the screen that the user focuses on in the global coordinate system of the eyes can be determined. According to the coordinates, the relative distance, relative angle and other information representing the relative position relationship are accurately calculated. In order to use the relative position relationship to more accurately judge the user's focus state on the image in the electronic device, thereby generating reasonable rendering parameters and reducing the energy loss caused by unnecessary rendering.

[0015] Optionally, generating rendering parameters for rendering an image based on the device dynamic parameters, the eye dynamic parameters and the relative position relationship includes:

[0016] generating a frequency parameter for rendering an image based on the device dynamic parameter and the eye dynamic parameter;

[0017] Based on the relative position relationship, a direction parameter for rendering the image is generated.

[0018] Specifically, the frequency parameters of the device when rendering the image are determined based on the acquired device dynamic parameters and eye dynamic parameters. That is, when the result of the comprehensive analysis of the device dynamic parameters and eye dynamic parameters is that the user is paying attention to the image, the conventional or high-frequency frequency parameters will be used for rendering; on the contrary, if the result of the comprehensive analysis based on the device dynamic parameters and eye dynamic parameters is that the user is not paying attention to the image, the low-frequency frequency parameters will be used for rendering.

[0019] In addition, direction parameters are determined according to the relative position relationship, so as to accurately determine the image rotation angle and image display content based on the direction parameters, so that users can obtain a better image viewing angle effect.

[0020] Optionally, the device dynamic parameters include: device speed parameters; the eye dynamic parameters include: relative distance and relative speed of the eye relative to the device;

[0021] The step of generating a frequency parameter for rendering an image based on the device dynamic parameter and the eye dynamic parameter comprises:

[0022] If the device speed parameter is greater than a first speed threshold, and / or if the relative distance of the eye relative to the device is less than a distance threshold, and / or if the relative speed of the eye relative to the device is greater than a second speed threshold, generating a high-frequency frequency parameter for rendering the image;

[0023] If the device speed parameter is less than a first speed threshold, the relative distance of the eye relative to the device is greater than the distance threshold, and the relative speed of the eye relative to the device is less than a second speed threshold, a low-frequency frequency parameter is generated for rendering the image.

[0024] In the process of determining the frequency parameters, an OR operation is used for comprehensive calculation. Specifically, when the device speed parameter is greater than the first speed threshold, the corresponding OR operation value is determined to be 1; when the relative distance of the eye to the device is less than the distance threshold, the corresponding OR operation value is determined to be 1; when the relative speed of the eye to the device is greater than the second speed threshold, the corresponding OR operation value is determined to be 1. Since the OR operation method is used, as long as one of the OR operation values ​​is 1, the corresponding OR operation calculation result is 1, which means that the frequency parameter is a high-frequency frequency parameter.

[0025] Similarly, when the device speed parameter is less than the first speed threshold, the corresponding OR value is determined to be 0; when the relative distance of the eye to the device is greater than the distance threshold, the corresponding OR value is determined to be 0; when the relative speed of the eye to the device is less than the second speed threshold, the corresponding OR value is determined to be 0. Since the OR operation method is adopted, all OR operation values ​​need to be 0 to obtain a calculation result of 0, indicating that the frequency parameter is a low-frequency frequency parameter. Through the above operation method, the image rendering frequency meets the rendering requirements while accurately determining the situation where low-frequency rendering can be used, thereby reducing the frequency parameter and reducing energy waste.

[0026] Optionally, generating a direction parameter for rendering an image based on the relative position relationship includes:

[0027] Determine the relative angle between the eye and the device;

[0028] Determine the image rotation angle and the content of the rotated image based on the relative angle;

[0029] The image is rendered based on the rotation angle and the image content.

[0030] It should be noted that in the process of determining the relative position relationship and further obtaining the direction parameters, the visual sensor can be used to detect and calculate, or the relative position relationship can be further calculated after the coordinate system is converted. After determining the relative angle between the eye and the device, the image rotation angle and the image content after rotation can be further determined, and the image can be rendered according to the rotation angle and the image content, so that the user can view different display contents at different angles.

[0031] Optionally, it also includes: acquiring an image display scene; if the image display scene is a scene invisible to the user, stopping rendering of the image; if the image display scene is a scene visible to the user and valid eye dynamic parameters are detected, executing rendering of the image.

[0032] In practical applications, the image display scene can be classified. When the image display scene is invisible to the user, the image rendering is stopped. Because the user cannot see the image at this time, or the user is not paying attention to the image, there is no need to render the image at this time. If the image display scene is visible to the user, that is, the user is currently paying attention to the image, the image needs to be rendered normally.

[0033] When judging whether the image display scene is visible to the user, a comprehensive judgment may be made based on information such as the activation status of each application or the interaction status between the user and the electronic device, or the judgment may be made using collected user eye dynamic parameters.

[0034] Through the above-mentioned method, when the image display scene is invisible, rendering is stopped, which can effectively avoid energy waste caused by unnecessary rendering.

[0035] Optionally, it also includes: if the eye dynamic parameters of the user and / or the device dynamic parameters of the device are not detected within a preset time period, stopping the rendering of the image.

[0036] If no eye dynamic parameters or device dynamic parameters are detected within a certain preset time, it means that the current user is not using the device, and it is necessary to stop meaningless rendering work, thereby effectively avoiding the waste of energy caused by unnecessary rendering work.

[0037] Optionally, it also includes: when the device speed parameter is greater than or equal to a first speed threshold, increasing the device sensor sampling frequency and rendering in real time; when the device speed parameter is less than the first speed threshold, reducing the device sensor sampling frequency and stopping rendering.

[0038] In practical applications, in addition to effectively controlling image rendering parameters to reduce unnecessary energy loss, the frequency of device sensors can be further controlled. When it is not necessary, the sampling frequency can be appropriately reduced or stopped, thereby reducing the energy loss caused by the device sensors.

[0039] Optionally, the method further includes: resetting the image when the device speed parameter is zero and / or the eye dynamic parameter is not detected.

[0040] In actual applications, cumulative errors may occur during the continuous rendering control of image display. Therefore, the image can be reset when the user is not using the device or not paying attention to the image, solving the problem of inaccurate image display content caused by cumulative errors.

[0041] In a second aspect, an embodiment of the present application further provides an image display device, including:

[0042] A first acquisition module, used to acquire device dynamic parameters and device space parameters of a device;

[0043] A second acquisition module is used to acquire eye dynamic parameters and eye space parameters of the user;

[0044] A determination module, configured to determine a relative position relationship between a device and an eye based on the device space parameter and the eye space parameter;

[0045] A generating module is used to generate rendering parameters for rendering an image based on the device dynamic parameters, the eye dynamic parameters and the relative position relationship.

[0046] In a third aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory. The memory is used to store computer executable program code, and the program code includes instructions; when the processor executes the instructions, the instructions cause the electronic device to execute the method in the first aspect.

[0047] In a fourth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method in the first aspect.

[0048] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes the method in the first aspect above.

[0049] In some embodiments of the present application, the device dynamic parameters and device space parameters of the user terminal electronic device itself are obtained by sensors, as well as the user's eye dynamic parameters and eye space parameters. Furthermore, based on the detected and calculated user space parameters and eye space parameters, the relative position relationship between the user's eyes and the device is accurately determined, and based on the relative position relationship, it is possible to accurately know where the user's eyes are looking at the device. Thus, the device dynamic parameters, eye dynamic parameters and relative position relationship are comprehensively utilized to generate rendering parameters for image rendering. Through the above scheme, the user's eyes and the relevant parameters of the device are comprehensively analyzed to determine whether the user's eyes are looking at the device screen. If the user is looking at the device, the device position where the user is looking is further determined, so that the rendering parameters can meet the user's image rendering needs while avoiding unnecessary rendering or excessive rendering, and reducing the energy loss caused by the rendering process. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0051] Figure 1 A schematic structural diagram of an electronic device 100 is shown;

[0052] Figure 2 is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention;

[0053] Figure 3 A schematic diagram of a flow chart of an image display method provided by an exemplary embodiment of the present application;

[0054] Figure 4 An image schematic diagram provided for an exemplary embodiment of the present application;

[0055] Figure 5aA schematic diagram of coordinate system conversion relationship provided for an exemplary embodiment of the present application;

[0056] Figure 5b A schematic diagram of a vertex coordinate transformation process provided by an exemplary embodiment of the present application;

[0057] Figure 6 A schematic diagram of rendering based on direction parameters provided by an exemplary embodiment of the present application;

[0058] Figure 7 A schematic diagram of rendering state adjustment provided by an exemplary embodiment of the present application;

[0059] Figure 8 A schematic diagram of rendering state adjustment provided by another exemplary embodiment of the present application;

[0060] Fig. 9 A schematic diagram of image resetting provided by another exemplary embodiment of the present application;

[0061] Fig.10 A schematic diagram of a structure of an image display device provided by an exemplary embodiment of the present application

[0062] Fig.11 A schematic diagram of the structure of an electronic device provided as an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0064] An inertial measurement unit (IMU) is a device that uses accelerometers and gyroscopes to measure the three-axis attitude angle (or angular rate) and acceleration of an object. In navigation, the core value of IMU is irreplaceable. In order to improve its reliability, more types of sensors are equipped for each single axis. In order to ensure measurement accuracy, the IMU is generally installed at the center of gravity of the object being measured.

[0065] Wallpapers, standby pictures, are divided into lock screen wallpapers, screen wallpapers and dynamic wallpapers. They are similar to desktop wallpapers. Users only need to download their favorite pictures, the size of which corresponds to the screen of their electronic devices (such as mobile phones, tablets, phone watches, etc.), and send them to the electronic devices. Then, they can set them as their favorite standby desktop wallpapers through the electronic devices. The main functions of wallpapers include: Show personality: electronic device wallpapers usually use pictures of various themes, such as natural scenery, cartoon characters, celebrities, works of art, personal photos, etc. These pictures can show the user's preferences and personality. Protect privacy: electronic device wallpapers can also be used to protect the user's privacy. For example, using black or blurred pictures as wallpapers can prevent others from peeking at the user's electronic device screen. Beautify the interface of electronic devices: electronic device wallpapers can beautify the mobile phone interface and make the electronic device more beautiful and personalized. Improve the operating experience: electronic device wallpapers can also improve the operating experience. For example, using dynamic wallpapers can increase the fun of the mobile phone and make users like using the mobile phone more. Among them, dynamic wallpaper is a desktop picture that can move. It replaces the original static and old-fashioned desktop wallpaper with beautiful dynamic movies, such as flowing water, beautiful blooming flowers, and swaying branches, etc., and will not affect the display of icons and the use of any application. Dynamic wallpaper can well relieve work pressure and make electronic devices interesting and more pleasing to the eye.

[0066] Wallpaper rendering refers to the process of computer image processing of wallpaper to make it present a three-dimensional effect. Rendering technology mainly includes ray tracing, shadow, reflection, refraction, global illumination, post-processing and other steps, which can make the wallpaper present a more realistic and three-dimensional effect. The more detailed the rendering effect, the better the viewing experience of users, but the more computing power and energy consumption are consumed.

[0067] Wallpaper refresh frequency. The higher the refresh frequency, the better the stability of the displayed image (picture), and the better the action continuity of the dynamic wallpaper viewed by the user. High-frequency refresh of dynamic wallpaper means more energy consumption.

[0068] In actual applications, the screen of an electronic device will be lit consciously (that is, actively by the user) or unconsciously (the user has no lighting requirement). In both active and passive lighting, the wallpaper will be displayed first. When the screen is actively lit, the user will pay attention to the screen and the displayed wallpaper; when the screen is passively lit, the user will not pay attention to the screen and the displayed wallpaper. Therefore, there is a need for a device that can reasonably display wallpaper images based on the actual user's attention to and use requirements of the electronic device to reduce energy consumption.

[0069] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0070] Figure 1 A schematic structural diagram of an electronic device 100 is shown.

[0071] The electronic device 100 may be a mobile phone, a personal computer (PC), a tablet computer, an AR device, a VR device, a car computer, a wearable device, a smart home device, etc.

[0072] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0073] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0074] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0075] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0076] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0077] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0078] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0079] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0080] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0081] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0082] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0083] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0084] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0085] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0086] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0087] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0088] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0089] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0090] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0091] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0092] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0093] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0094] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0095] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0096] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0097] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0098] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0099] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0100] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0101] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0102] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0103] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.

[0104] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0105] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0106] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0107] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0108] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0109] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0110] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0111] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0112] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0113] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

[0114] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0115] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0116] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0117] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0118] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0119] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0120] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0121] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0122] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0123] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0124] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0125] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0126] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system of the layered architecture is taken as an example to exemplify the software structure of the electronic device 100.

[0127] Figure 2 1 is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.

[0128] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0129] The application layer can include a series of application packages.

[0130] like Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0131] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0132] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0133] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0134] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0135] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0136] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0137] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0138] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0139] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0140] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0141] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0142] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0143] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0144] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0145] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0146] A 2D graphics engine is a drawing engine for 2D drawings.

[0147] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0148] The following is an illustrative description of the workflow of the software and hardware of the electronic device 100 in conjunction with capturing a photo scene.

[0149] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture static images or videos through the camera 193.

[0150] Figure 3 FIG. 1 is a flow chart of an image display method provided by an exemplary embodiment of the present application. Figure 3 As shown, the execution subject of the method may be an electronic device of a user terminal, and specifically includes the following steps:

[0151] Step 301: Obtain device dynamic parameters and device space parameters of the device.

[0152] Step 302: Obtain the user's eye dynamic parameters and eye space parameters.

[0153] Step 303: Determine the relative position relationship between the device and the eye based on the device space parameter and the eye space parameter.

[0154] Step 304: Generate rendering parameters for rendering the image based on the device dynamic parameters, the eye dynamic parameters and the relative position relationship.

[0155] In actual applications, when users are using electronic devices, the degree of attention paid by users to the device screen can be perceived through various parameters. For example, the device speed, moving direction, and device posture information of the user holding the electronic device can be perceived through the device dynamic parameters. Simply put, when the device parameters perceive that the device is stationary, it means that the user is less likely to turn on the device screen and pay attention to the wallpaper on the device display; when the device parameters perceive that the device is moving frequently or shaking quickly, it means that the user is more likely to turn on the device screen and pay attention to the wallpaper displayed on the device. Similarly, when detecting the user's eye dynamic parameters, the user's eye-related parameters (including eye dynamic parameters and eye space parameters) can be used to determine whether the user has the possibility of turning on the device screen and paying attention to the need to display wallpaper on the device screen.

[0156] After determining the likelihood of attention, the rendering parameters are generated according to actual needs. When the likelihood of attention is low, the rendering parameters required for the rendering effect are reduced, thereby effectively reducing the energy consumption generated during the rendering process. It should be noted that in order to be able to control the rendering effect more accurately, it is necessary to comprehensively utilize the dynamic parameters of the device, the dynamic parameters of the eye, and the relative position relationship to determine the appropriate rendering parameters. Specifically, the determination process of each parameter and position relationship will be described in the following embodiments, and will not be repeated here.

[0157] The rendering parameters mentioned here include: rendering direction parameters and frequency parameters.

[0158] The device dynamic parameters mentioned here can be related parameters such as device speed parameters detected by the device IMU and further calculated.

[0159] The eye dynamic parameters mentioned here can be the relative distance and relative speed of the user's eyes relative to the device detected by sensors on the device (for example, the front visual sensor on the electronic device) and further calculated.

[0160] In the above manner, the device dynamic parameters, the user's eye dynamic parameters, the device space parameters, and the user's eye space parameters are obtained respectively through the relevant sensors on the device, so as to determine the relative position relationship between the device and the eye after further calculation and analysis. Then, based on the device dynamic parameters, the eye dynamic parameters and the relative position relationship, the rendering parameters used to render the image are comprehensively determined. The user's eyes and the relevant parameters of the device are comprehensively analyzed to determine whether the user's eyes are looking at the device screen. If the user is looking at the device, the device position where the user is looking is further determined, so that the rendering parameters can meet the user's image viewing rendering needs while avoiding unnecessary rendering or excessive rendering, and reducing the energy loss caused by the rendering process.

[0161] In addition, the sampling frequency of the IMU can also be controlled based on the above judgment results. Specifically, when the refresh frequency in the rendering parameters of the image (for example, dynamic wallpaper) is set to high frequency, the corresponding IMU sampling frequency is also high frequency; when the refresh frequency in the rendering parameters of the image (for example, dynamic wallpaper) is set to low frequency, the corresponding IMU sampling frequency is also low frequency. This can effectively reduce the power consumption of the IMU and avoid the waste of power caused by unnecessary sampling.

[0162] In one or more embodiments of the present application, determining the relative position relationship between the device and the eye based on the device space parameter and the eye space parameter includes:

[0163] Establish the local coordinate system of the device and the global coordinate system of the user's eyes;

[0164] The local coordinate system of the device is converted into the global coordinate system of the user's eye, so as to determine the relative position relationship between the user's eye and the device.

[0165] In practical applications, the image displayed on the screen of the electronic device may be a dynamic image (eg, a dynamic wallpaper). In order to provide users with a better viewing experience, when users view the image from different angles, the angle and content of the image displayed to the user are not exactly the same.

[0166] For example, Figure 4 The following is a schematic diagram of an exemplary embodiment of the present application. Figure 4 As you can see, the device displays different content when the user's eyes are in different positions relative to the device. For example Figure 4 When the user looks straight at the hexahedron, the "top" and "front" of the hexahedron are displayed. When the user moves his eyes to the left side of the hexahedron, he can see that the current device displays the "left", "top" and "front" of the hexahedron. When the user moves his eyes to the right side of the hexahedron, he can see that the current device displays the "right", "top" and "front" of the hexahedron. Figure 4It can be seen that for the same "hexahedron", when the relative position of the user's eyes and the device changes, the content of the "hexahedron" displayed in the image also changes.

[0167] Specifically, different coordinate systems may be established for the device and the user's eyes, that is, a local coordinate system for the device and a global coordinate system for the user's eyes may be established.

[0168] like Figure 5a A schematic diagram of coordinate system conversion relationship provided by an exemplary embodiment of the present application. Figure 5a As can be seen in the figure, the coordinate system of the human eye is the global coordinate system composed of xyz. The coordinate of point P in the global coordinate system is [xyz1], and the coordinate of point P in the local coordinate system is [x′y′z′1]. The conversion relationship between the two coordinate systems is [xyz 1] = [x′y′z′1]*W.

[0169] Wherein, W is a transformation matrix, which represents the transformation relationship between the global coordinate system and the local coordinate system. The local matrix of the electronic device is transformed into the global coordinate system.

[0170]

[0171] Among them, v represents rotation information, and a, b, and c represent translation information.

[0172] By using the above calculation formula, we can know the conversion relationship between the two coordinate systems, and also know the position of point P in the device that the user's eyes focus on in the global coordinate system of the eye. In other words, based on the above conversion relationship, we can know the relative position relationship between the user's eyes and the device. For example, the eye is located on the left, right, or front of the device relative to the device, etc. In order to determine the display content of the image, the rendering parameters of the image and other details based on the relative position relationship.

[0173] For example, Figure 5b A schematic diagram of the vertex coordinate transformation process provided for an exemplary embodiment of the present application. Assuming there is a vertex P, during the rendering process, vertex coordinate transformation is a key step, which involves transforming the 3D model from model coordinates (or local coordinates) to world coordinates (global coordinates), and then to screen coordinates (two-dimensional plane). The following is an overview:

[0174] Local to global coordinate transformation: First, a vertex (for example, a 3D model is made up of vertices) defines a point in local coordinates, and the IMU is the origin in this local coordinate system. Each vertex is defined using a local coordinate system. In order to place these models in the global environment, the original position of the eye is used as the origin of the global coordinate system. A local-global transformation is required, that is, the transformation obtains the model transformation matrix M. This is usually achieved by multiplying a 4x4 transformation matrix W, which contains rotation, scaling, and translation information. This step transforms each vertex of the model from local coordinates to global coordinates.

[0175] World to Camera Coordinate Transformation: Then, in order to determine the direction of the vertex in the camera (or observer), a global-camera transformation is required, that is, the transformation is obtained by the observation transformation matrix V. This is usually achieved by multiplying a 4x4 transformation matrix that contains rotation, scaling, and shearing information. This step converts each vertex of the model from world coordinates to camera coordinates.

[0176] Through the above two conversions, the vertex (or the point where the IMU is located) conversion and the eye position conversion are integrated.

[0177] Camera coordinates to projection coordinates transformation: The projection transformation converts the 3D camera coordinates to the 2D projection plane. This involves removing the depth information (i.e. z-clipping) and converting the 3D coordinates to 2D coordinates. Commonly used projections include orthogonal projection and perspective projection.

[0178] Projection coordinates to screen coordinates transformation: Finally, the projection plane is mapped to screen coordinates, which is usually done by converting 2D coordinates to screen coordinates (e.g. pixel coordinates). This step also includes clipping the projection plane.

[0179] After these steps, the vertices have been converted from model coordinates to screen coordinates, so we can accurately know which pixels, relative distances, rendering contents, etc. in the image to be rendered correspond to the eye focus position, and prepare for the next rendering operation, such as rasterization (converting vertex data into pixel data), shading (applying textures and lighting calculations), etc.

[0180] In one or more embodiments of the present application, generating rendering parameters for rendering an image based on the device dynamic parameters, the eye dynamic parameters, and the relative position relationship includes:

[0181] generating a frequency parameter for rendering an image based on the device dynamic parameter and the eye dynamic parameter;

[0182] Based on the relative position relationship, a direction parameter for rendering the image is generated.

[0183] As mentioned above, the faster the device moves, or the faster the user's eyes move relative to the device, the more likely the user is paying attention to the device. In addition, the closer the user's eyes are to the device, the larger the frequency parameter the user needs.

[0184] It should be noted that when determining the frequency parameters, the high-frequency parameters are mainly used. In other words, it can be assumed that the frequency parameter is set to 1 when it is a high-frequency parameter, and is set to 0 when it is a low-frequency parameter, and then the multiple results are ORed, that is, when any one of the results is a high-frequency parameter, the overall evaluation result of the obtained frequency parameter is the high-frequency parameter. For example, assuming that the frequency parameter is set to 1 based on the dynamic parameters of the device, and the frequency parameter is set to 0 based on the dynamic parameters of the eye, then the result obtained after the OR operation is 1, so the frequency parameter is finally determined to be a high-frequency parameter. Suppose again that the frequency parameter is set to 0 based on the dynamic parameters of the device, and the frequency parameter is set to 0 based on the dynamic parameters of the eye, then the result obtained after the OR operation is 0, so the frequency parameter is finally determined to be a low-frequency parameter.

[0185] After determining the relative position relationship between the eye and the device through the scheme described above, the direction parameters of the image rendering can be known. For example, if the eye is on the left side of the device relative to the device, the content on the left side of the target object in the image is rendered and displayed; if the eye is on the right side of the device relative to the device, the content on the right side of the target object in the image is rendered and displayed.

[0186] In addition, the rendering accuracy can also be determined based on the device dynamic parameters and the eye dynamic parameters. The closer the user's eyes are to the device, the higher the rendering accuracy. It can be seen that the details the user can see are clearer and more comprehensive. Therefore, high-precision rendering is used. The farther the user's eyes are from the device, the lower the rendering accuracy. It can be seen that the details the user can see are not clear and comprehensive enough. Therefore, low-precision rendering is used.

[0187] Through the above scheme, the frequency parameters and direction parameters for image rendering are determined. By selecting different rendering frequency parameters, the frequency parameters can be reduced when the user is not paying attention to the device, effectively reducing unnecessary power consumption during the display process. At the same time, based on the relative position relationship, the direction parameters are determined so that the user can obtain the corresponding display effect at any angle of the device and achieve accurate dynamic display.

[0188] In one or more embodiments of the present application, the device dynamic parameters include: device speed parameters; the eye dynamic parameters include: relative distance and relative speed of the eye relative to the device;

[0189] The step of generating a frequency parameter for rendering an image based on the device dynamic parameter and the eye dynamic parameter comprises:

[0190] If the device speed parameter is greater than a first speed threshold, and / or if the relative distance of the eye relative to the device is less than a distance threshold, and / or if the relative speed of the eye relative to the device is greater than a second speed threshold, generating a high-frequency frequency parameter for rendering the image;

[0191] If the device speed parameter is less than a first speed threshold, the relative distance of the eye relative to the device is greater than the distance threshold, and the relative speed of the eye relative to the device is less than a second speed threshold, a low-frequency frequency parameter is generated for rendering the image.

[0192] It should be noted that the eye dynamic parameters refer to the dynamic parameters of the eye relative to the device, including: relative distance, relative speed, etc. Only the parameters that represent the relative relationship between the eye and the device are valuable to the device, while other parameters, such as the eye's own movement parameters that cannot be detected by the device, or the eye's own movement parameters that are not related to the device, have no reference significance for determining the rendering parameters. For example, when the user is watching the device and the eye moves relative to the device, the relative distance and relative speed obtained at this time are meaningful; for another example, when the user is not watching the device and the eye moves relative to the device, the relative distance and relative speed obtained at this time are meaningless.

[0193] In practical applications, when determining the frequency parameters, it is necessary to determine them according to the actual situation. According to the results of the determination, there are two cases, one is the high frequency parameter and the other is the low frequency parameter. The following will be described in combination with the embodiments.

[0194] If the device speed parameter is greater than the first speed threshold, and / or, if the relative distance of the eye relative to the device is less than the distance threshold, and / or, if the relative speed of the eye relative to the device is greater than the second speed threshold, a high-frequency frequency parameter for rendering the image is generated. For example, assuming that the device speed parameter is greater than the first speed threshold, the OR value of the device speed parameter can be set to 1, assuming that the relative distance of the eye relative to the device is not less than the distance threshold, the OR value of the relative distance can be set to 0, assuming that the relative speed of the eye relative to the device is not greater than the second speed threshold, the OR value of the relative speed can be set to 0. Further, an OR operation is performed, 1||0||0=1, which indicates that the frequency parameter finally determined is a high-frequency frequency parameter. For another example, assuming that the device speed parameter is greater than the first speed threshold, the OR value of the device speed parameter can be set to 1, assuming that the relative distance of the eye relative to the device is less than the distance threshold, the OR value of the relative distance can be set to 1, assuming that the relative speed of the eye relative to the device is not greater than the second speed threshold, the OR value of the relative speed can be set to 0. Further, an OR operation is performed, 1||1||0=1, which indicates that the frequency parameter finally determined is a high-frequency frequency parameter. In addition, there may be many other situations in which the frequency parameter is set as a high-frequency frequency parameter, and the corresponding OR operation formulas are 1||1||1=1, 0||1||0=1, 0||0||1=1, etc.

[0195] If the device speed parameter is less than the first speed threshold, and the relative distance of the eye to the device is greater than the distance threshold, and the relative speed of the eye to the device is less than the second speed threshold, a low-frequency frequency parameter is generated for rendering the image. For example, assuming that the device speed parameter is less than the first speed threshold, the OR value of the device speed parameter can be set to 0, assuming that the relative distance of the eye to the device is not less than the distance threshold, the OR value of the relative distance can be set to 0, assuming that the relative speed of the eye to the device is not greater than the second speed threshold, the OR value of the relative speed can be set to 0. Further, an OR operation is performed, 0||0||0=1, which indicates that the frequency parameter finally determined is a low-frequency frequency parameter. Since in the present application scheme, an OR operation is performed using each parameter, a low-frequency frequency parameter will only be obtained when all OR values ​​are 0.

[0196] Through the above scheme, when the OR value corresponding to any parameter that can reflect the user's attention level is 1, the frequency parameter is set to a high-frequency parameter, so that the user's viewing needs can be effectively met. Only when it is determined that the user has no viewing needs, for example, the user accidentally triggers the display screen and lights up the wallpaper, the refresh frequency at this time can be set to a low-frequency refresh frequency. In this way, the image can effectively avoid the power loss caused by unnecessary high-frequency refresh during the display process while meeting the user's viewing needs.

[0197] In one or more embodiments of the present application, generating a direction parameter for rendering an image based on the relative position relationship includes:

[0198] Determine the relative angle between the eye and the device;

[0199] Determine the image rotation angle and the content of the rotated image based on the relative angle;

[0200] The image is rendered based on the rotation angle and the image content.

[0201] like Figure 6 This is a schematic diagram of rendering based on direction parameters provided by an exemplary embodiment of the present application. Figure 6 As shown, since the display interface of the electronic device is a plane, when displaying image content, only the content within a range of about 180 degrees can be displayed at a time. When the eye is offset relative to the device, for example, from the front to the left front, the electronic device needs to control the image content to rotate and display the rotated image content.

[0202] For example, when the eye is deflected 30 degrees to the left relative to the front direction of the electronic device, the user controls the image content to rotate, and the image rotation angle is 30 degrees, so that the user can see the image content at different angles through the current only display plane.

[0203] It should be noted here that the direction parameter and the frequency parameter are independent of each other. In other words, the size of the frequency parameter has nothing to do with the direction parameter.

[0204] The relative angle between the eye and the device mentioned here can be understood as the angle of the eye relative to the front of the device, with the normal of the center point of the plane where the electronic device display screen is located as the reference datum. The relative angle includes left and right deflection angles and up and down deflection angles. After determining the relative angle, the relative angle can be further used as the image rotation angle. For example, assuming that the left and bottom of the two-dimensional coordinates are negative angle values, and the right and top are positive angle values, the relative angle is 30 degrees to the left of the eye relative to the image, that is, -30°, and 10 degrees below, that is, -10°; then the image rotation angle is 30 degrees to the right, that is, 30°, and 10 degrees above, that is, 10°. As the image rotates, the corresponding content displayed in the plane will also change accordingly.

[0205] Through the above solution, the relative position relationship between the user's eyes and the device is captured in real time to determine the direction parameters, so that when the image content is displayed, the corresponding image content is accurately displayed according to the user's actual position, so that the user can obtain a more accurate visual experience, which is different from the traditional solution that only adjusts the dynamic wallpaper according to the face or device rotation angle. Therefore, the user can obtain a more realistic viewing experience and visual effect.

[0206] In one or more embodiments of the present application, it also includes:

[0207] Get the image display scene;

[0208] If the image display scene is a scene that is invisible to the user, stopping rendering of the image;

[0209] If the image display scene is a scene visible to the user and valid eye dynamic parameters are detected, rendering of the image is performed.

[0210] like Figure 7 A schematic diagram of rendering state adjustment provided by an exemplary embodiment of the present application. Figure 7 It can be seen that when the user just turns on the electronic device and lights up the screen, the dynamic wallpaper will be displayed. Since there are no other applications on the screen at this time, it means that no more advanced applications are displayed on the screen, and the user's attention is on the wallpaper. Therefore, when the image (that is, the wallpaper) is displayed in a scene visible to the user, such as the moment when the desktop wakes up, the moment when the wallpaper is normally displayed on the desktop, the lock screen state, etc. The viewing angle sensor of the electronic device is further used to further detect whether there are eye dynamic parameters. If eye dynamic parameters are detected, it can be known that the current user is paying attention to the screen and the wallpaper displayed on the screen. If no eye dynamic parameters are detected, it can be known that the current user is not paying attention to the screen and the wallpaper displayed on the screen.

[0211] Furthermore, the user will click on the screen to start the application, or search for the application in the plane, swipe the application, drag the application, click the application, adjust the application on the desktop, etc. During these operations, the application is displayed on the upper layer of the desktop wallpaper. At this time, the user's focus is on the application itself, and the rendering of the image can be stopped, thereby effectively reducing the energy loss caused by invalid image rendering.

[0212] Through the above scheme, it is possible to determine whether the user's focus is on the application or the desktop based on the startup state of the application and the interaction state between the user and the application. If the user's focus is on the application, the rendering of the image is decisively stopped, thereby effectively avoiding the loss of power caused by meaningless rendering and improving the battery life of electronic devices.

[0213] In one or more embodiments of the present application, it also includes: if the user's eye dynamic parameters and / or the device dynamic parameters of the device are not detected within a preset time period, stopping the rendering of the image.

[0214] like Figure 8 A schematic diagram of rendering state adjustment provided by another exemplary embodiment of the present application. Figure 8 As can be seen in the figure, assuming the preset duration is 5 minutes, when no eye dynamic parameters are detected and no device dynamic parameters are detected, the timing starts immediately. When the timing reaches the preset duration, the rendering frequency will be adjusted to stop rendering. Of course, the sampling frequency of the IMU can also be adjusted at the same time, the sampling frequency of the IMU can be reduced or the IMU sampling can be stopped. This can effectively reduce the power loss caused by invalid image rendering and improve the battery life of electronic equipment.

[0215] In one or more embodiments of the present application, the present invention further includes: when the device speed parameter is greater than or equal to a first speed threshold, increasing the sampling frequency of the device sensor and performing real-time rendering;

[0216] When the device speed parameter is less than a first speed threshold, the device sensor sampling frequency is reduced and rendering is stopped.

[0217] In actual applications, the refreshing and rendering of images displayed on the display screen consumes a lot of power. At the same time, the sampling of device sensors also consumes a lot of power. Therefore, when it is detected that the device speed parameter is less than the first speed threshold, it is considered that the user does not need to move the electronic device frequently or violently, and the sampling frequency of the device sensor can be reduced or sampling and rendering can be stopped; when the device speed parameter is detected to be greater than, the device sensor can be sampled and rendered normally to meet the user's usage needs.

[0218] Through the above scheme, the user's device usage status is judged according to the device's dynamic parameters. When the user's usage frequency is low, the sensor sampling frequency can be reduced, thereby better avoiding the power loss caused by unnecessary sampling, thereby improving the device's battery life.

[0219] In one or more embodiments of the present application, it also includes: when the device speed parameter is zero, and / or the eye dynamic parameter is not detected, resetting the image.

[0220] In actual applications, the display state of the image follows the movement of the eyes. When the user continues to focus on the wallpaper, it will track dynamically. During the tracking process, the IMU continues to collect data, and cumulative errors will occur, resulting in the actual rotation angle of the image being inconsistent with the theoretical rotation angle during the subsequent image display process, which will also make the image content seen by the user inconsistent with the actual content that should be displayed. In order to avoid the influence of IMU cumulative errors, it is necessary to reset it at the appropriate time. This can avoid the cumulative error causing the displayed image results to not meet expectations (not in line with the actual rotation angle)

[0221] like Fig. 9 A schematic diagram of image resetting provided by another exemplary embodiment of the present application. Fig. 9 As can be seen in the figure, the IMU working status is detected. When it is detected that the IMU is in a stationary state (that is, the device speed parameter is zero), it can be understood that the current user is not paying attention to the image, and the displayed image is reset.

[0222] When the user is detected to be paying attention to the image (for example, the device speed parameter is detected to be not zero or the eye dynamic parameter is detected, etc.) again, the rotation angle will be re-determined, and the image will be controlled to rotate according to the rotation angle and display the rotated image content.

[0223] In addition to zeroing the image when the IMU is stationary, it can also be zeroed when the screen is off. It is also possible to eliminate the accumulated error of the IMU by performing zero-speed correction, zero-angle correction or motion constraint on the IMU.

[0224] In some of the processes described in the above embodiments and the accompanying drawings, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel, and the sequence numbers of the operations, such as 301, 302, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.

[0225] Fig.10 FIG. 1 is a schematic diagram of a structure of an image display device provided by an exemplary embodiment of the present application. Fig.10 As shown, the device comprises:

[0226] The first acquisition module 1001 is used to acquire device dynamic parameters and device space parameters of a device.

[0227] The second acquisition module 1002 is used to acquire the user's eye dynamic parameters and eye space parameters.

[0228] The determination module 1003 is used to determine the relative position relationship between the device and the eye based on the device space parameter and the eye space parameter.

[0229] The generating module 1004 is used to generate rendering parameters for rendering an image based on the device dynamic parameters, the eye dynamic parameters and the relative position relationship.

[0230] Optionally, the determination module 1003 is used to establish a local coordinate system of the device and a global coordinate system of the user's eyes;

[0231] The local coordinate system of the device is converted into the global coordinate system of the user's eye, so as to determine the relative position relationship between the user's eye and the device.

[0232] Optionally, the determination module 1003 is used to generate a frequency parameter for rendering an image based on the device dynamic parameter and the eye dynamic parameter;

[0233] Based on the relative position relationship, a direction parameter for rendering the image is generated.

[0234] The device dynamic parameters include: device speed parameters; the eye dynamic parameters include: the relative distance and relative speed of the eye relative to the device;

[0235] Optionally, the determination module 1003 is configured to generate a high-frequency frequency parameter for rendering the image if the device speed parameter is greater than a first speed threshold, and / or if the relative distance of the eye relative to the device is less than a distance threshold, and / or if the relative speed of the eye relative to the device is greater than a second speed threshold;

[0236] If the device speed parameter is less than a first speed threshold, the relative distance of the eye relative to the device is greater than the distance threshold, and the relative speed of the eye relative to the device is less than a second speed threshold, a low-frequency frequency parameter is generated for rendering the image.

[0237] Optionally, the determination module 1003 is used to determine the relative angle between the eye and the device;

[0238] Determine the image rotation angle and the content of the rotated image based on the relative angle;

[0239] The image is rendered based on the rotation angle and the image content.

[0240] Optionally, a third acquisition module 1005 is further included, for acquiring an image display scene;

[0241] If the image display scene is a scene that is invisible to the user, stopping rendering of the image;

[0242] If the image display scene is a scene visible to the user and valid eye dynamic parameters are detected, rendering of the image is performed.

[0243] Optionally, a rendering module 1006 is further included for stopping rendering the image if the eye dynamic parameters of the user and / or the device dynamic parameters of the device are not detected within a preset time period.

[0244] Optionally, a sensor module is further included, which is used to increase the sampling frequency of the device sensor and render in real time when the device speed parameter is greater than or equal to the first speed threshold;

[0245] When the device speed parameter is less than a first speed threshold, the device sensor sampling frequency is reduced and rendering is stopped.

[0246] Optionally, a reset module 1007 is also included, which is used to reset the image when the device speed parameter is zero and / or the eye dynamic parameter is not detected.

[0247] The above describes the internal functions and structures of the image display device. Fig.11 This is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present application. In practice, the image display device can be implemented as an electronic device, including: a memory 111, a processor 112 and a communication component 113.

[0248] The memory 111 is used to store computer programs and can be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc.

[0249] The memory 111 may be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0250] The processor 112 is coupled to the memory 111 and is used to execute the computer program in the memory 111, so as to be applied to the user terminal, and the method includes:

[0251] Get the device dynamic parameters and device space parameters of the device;

[0252] Obtaining the user's eye dynamic parameters and eye space parameters;

[0253] Determine a relative position relationship between a device and an eye based on the device space parameter and the eye space parameter;

[0254] Based on the device dynamic parameters, the eye dynamic parameters and the relative position relationship, rendering parameters for rendering an image are generated.

[0255] The processor 112 is used to establish a local coordinate system of the device and a global coordinate system of the user's eyes;

[0256] The local coordinate system of the device is converted into the global coordinate system of the user's eye, so as to determine the relative position relationship between the user's eye and the device.

[0257] The processor 112 is used to generate a frequency parameter for rendering an image based on the device dynamic parameter and the eye dynamic parameter;

[0258] Based on the relative position relationship, a direction parameter for rendering the image is generated.

[0259] The device dynamic parameters include: device speed parameters; the eye dynamic parameters include: the relative distance and relative speed of the eye relative to the device;

[0260] The processor 112 is configured to generate a high-frequency frequency parameter for rendering the image if the device speed parameter is greater than a first speed threshold, and / or if the relative distance of the eye relative to the device is less than a distance threshold, and / or if the relative speed of the eye relative to the device is greater than a second speed threshold;

[0261] If the device speed parameter is less than a first speed threshold, the relative distance of the eye relative to the device is greater than the distance threshold, and the relative speed of the eye relative to the device is less than a second speed threshold, a low-frequency frequency parameter is generated for rendering the image.

[0262] The processor 112 is used to determine the relative angle between the eye and the device;

[0263] Determine the image rotation angle and the content of the rotated image based on the relative angle;

[0264] The image is rendered based on the rotation angle and the image content.

[0265] The processor 112 is used to obtain an image display scene;

[0266] If the image display scene is a scene that is invisible to the user, stopping rendering of the image;

[0267] If the image display scene is a scene visible to the user and valid eye dynamic parameters are detected, rendering of the image is performed.

[0268] The processor 112 is configured to stop rendering the image if the eye dynamic parameters of the user and / or the device dynamic parameters of the device are not detected within a preset time period.

[0269] The processor 112 is used for increasing the sampling frequency of the device sensor and performing real-time rendering when the device speed parameter is greater than or equal to the first speed threshold;

[0270] When the device speed parameter is less than a first speed threshold, the device sensor sampling frequency is reduced and rendering is stopped.

[0271] The processor 112 is configured to reset the image when the device speed parameter is zero and / or the eye dynamic parameter is not detected.

[0272] Further, if Fig.11 As shown, the electronic device also includes: a communication component 113, a display 114, a power component 115, an audio component 116 and other components. Fig.11 Only some components are shown schematically, which does not mean that the electronic device only includes Fig.11 Components shown.

[0273] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed, can implement each step that can be performed by an electronic device in the above method embodiment.

[0274] Above Fig.11 The communication component in is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0275] Above Fig.11 The display in the embodiment includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0276] Above Fig.11 The power supply component in the device provides power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.

[0277] Above Fig.11 The audio component in can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.

[0278] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0279] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0280] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0281] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0282] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0283] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0284] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0285] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0286] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. An image display method, characterized in that: Applied to a user terminal, the method comprises: Get the device dynamic parameters and device space parameters of the device; Obtaining the user's eye dynamic parameters and eye space parameters; Determine a relative position relationship between a device and an eye based on the device space parameter and the eye space parameter; Based on the device dynamic parameters, the eye dynamic parameters and the relative position relationship, rendering parameters for rendering an image are generated.

2. The method according to claim 1, characterized in that The determining the relative position relationship between the device and the eye based on the device space parameter and the eye space parameter includes: Establish the local coordinate system of the device and the global coordinate system of the user's eyes; The local coordinate system of the device is converted into the global coordinate system of the user's eye, so as to determine the relative position relationship between the user's eye and the device.

3. The method according to claim 1, characterized in that: The generating, based on the device dynamic parameter, the eye dynamic parameter and the relative position relationship, rendering parameters for rendering the image comprises: generating a frequency parameter for rendering an image based on the device dynamic parameter and the eye dynamic parameter; Based on the relative position relationship, a direction parameter for rendering the image is generated.

4. The method according to claim 3, characterized in that The device dynamic parameters include: device speed parameters; the eye dynamic parameters include: the relative distance and relative speed of the eye relative to the device; The step of generating a frequency parameter for rendering an image based on the device dynamic parameter and the eye dynamic parameter comprises: If the device speed parameter is greater than a first speed threshold, and / or if the relative distance of the eye relative to the device is less than a distance threshold, and / or if the relative speed of the eye relative to the device is greater than a second speed threshold, generating a high-frequency frequency parameter for rendering the image; If the device speed parameter is less than a first speed threshold, the relative distance of the eye relative to the device is greater than the distance threshold, and the relative speed of the eye relative to the device is less than a second speed threshold, a low-frequency frequency parameter is generated for rendering the image.

5. The method according to claim 3, characterized in that: The step of generating a direction parameter for rendering an image based on the relative position relationship includes: Determine the relative angle between the eye and the device; Determine the image rotation angle and the content of the rotated image based on the relative angle; The image is rendered based on the rotation angle and the image content.

6. The method according to claim 1, characterized in that Also includes: Get the image display scene; If the image display scene is a scene that is invisible to the user, stopping rendering of the image; If the image display scene is a scene visible to the user and valid eye dynamic parameters are detected, rendering of the image is performed.

7. The method according to claim 1 or 6, characterized in that: Also includes: If the eye dynamic parameters of the user and / or the device dynamic parameters of the device are not detected within a preset time period, rendering of the image is stopped.

8. The method according to claim 1, characterized in that Also includes: When the device speed parameter is greater than or equal to a first speed threshold, increasing the sampling frequency of the device sensor and performing real-time rendering; When the device speed parameter is less than a first speed threshold, the device sensor sampling frequency is reduced and rendering is stopped.

9. The method according to claim 1, characterized in that: Also includes: When the device speed parameter is zero and / or the eye dynamic parameter is not detected, the image is reset.

10. An image display device, characterized in that: The device comprises: A first acquisition module, used to acquire device dynamic parameters and device space parameters of a device; A second acquisition module is used to acquire eye dynamic parameters and eye space parameters of the user; A determination module, configured to determine a relative position relationship between a device and an eye based on the device space parameter and the eye space parameter; A generating module is used to generate rendering parameters for rendering an image based on the device dynamic parameters, the eye dynamic parameters and the relative position relationship.

11. An electronic device, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is executed, the method according to any one of claims 1 to 9 is implemented.

13. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the method according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Rendering method, device and system based on fixation point information and display equipment

    CN110378914A

  • Image display method and device, terminal and storage medium

    CN111163303A

  • Image rendering method and device and electronic equipment

    CN114549683A

  • Standby state control method and mobile terminal

    WO2017143716A1