Search

EP-4738073-A1 - DISPLAY METHOD IN SCREEN-OFF MODE AND APPARATUS

EP4738073A1EP 4738073 A1EP4738073 A1EP 4738073A1EP-4738073-A1

Abstract

A display method and apparatus in a screen-off mode are provided. The method includes: An electronic device enters the screen-off mode, and displays a screen-off display object on a display in the screen-off mode; the electronic device determines an orientation of a human face or a human eye based on human face or human eye detection, where the orientation is associated with a relative position between the human face or the human eye and the electronic device; and the electronic device dynamically changes the screen-off display object based on a change of the orientation of the human face or the human eye, thereby achieving a dynamic interaction effect between the screen-off display object and a user.

Inventors

  • LIU, Xuezhi
  • LIU, Anqi

Assignees

  • Huawei Technologies Co., Ltd.

Dates

Publication Date
20260506
Application Date
20240618

Claims (18)

  1. A display method in a screen-off mode, applied to an electronic device having a display, and comprising: entering the screen-off mode, and displaying a screen-off display object on the display in the screen-off mode; determining an orientation of a human face or a human eye based on human face or human eye detection, wherein the orientation is associated with a relative position between the human face or the human eye and the electronic device; and dynamically changing the screen-off display object based on a change of the orientation of the human face or the human eye.
  2. A display method in a screen-off mode, applied to an electronic device having a display, and comprising: entering the screen-off mode; when it is detected that a human eye gazes at the display, displaying a screen-off display object on the display in the screen-off mode; determining an orientation of a human face or the human eye based on human face or human eye detection, wherein the orientation is associated with a relative position between the human face or the human eye and the electronic device; and dynamically changing the screen-off display object based on a change of the orientation of the human face or the human eye.
  3. The method according to claim 1 or 2, wherein the screen-off display object comprises a first component, and the first component represents an eye; and dynamically changing the screen-off display object based on the change of the orientation of the human face or the human eye comprises: when the orientation of the human face or the human eye changes, changing the first component based on the change, so that a display position or a line-of-sight direction of changed first component matches the orientation of the human face or the human eye.
  4. The method according to claim 3, wherein the first component comprises an eyeball in the eye; and changing the first component based on the change comprises: changing a display position of the eyeball in the eye based on the change.
  5. The method according to claim 3 or 4, wherein the screen-off display object comprises a second component, and the second component represents an emotion; and the method further comprises: determining, based on human face or human eye detection, an emotion presented by the human face or the human eye, and updating the second component, so that the emotion presented by the screen-off display object matches the emotion presented by the human face or the human eye.
  6. The method according to claim 5, wherein determining, based on human face or human eye detection, the emotion presented by the human face or the human eye comprises: performing human face or human eye detection by using an artificial intelligence AI capability, to determine the emotion presented by the human face or the human eye.
  7. The method according to any one of claims 1 to 6, wherein the change of the orientation of the human face or the human eye comprises: the human face or the human eye changes from a first orientation to a second orientation; and dynamically changing the screen-off display object based on the change of the orientation of the human face or the human eye comprises: playing a first animation, wherein the first animation comprises N frames, N is an integer greater than 1, and each of the N frames comprises the screen-off display object; and in the N frames, a display state of the screen-off display object in a first frame matches the first orientation, a display state of the screen-off display object in a last frame matches the second orientation, and a display state of the screen-off display object in a second frame to an (N-1) th frame matches a middle orientation in a transition process from the first orientation to the second orientation.
  8. The method according to any one of claims 1 to 7, wherein the screen-off display object comprises a three-dimensional object; and dynamically changing the screen-off display object based on the change of the orientation of the human face or the human eye comprises: when the orientation of the human face or the human eye changes, changing an orientation of the three-dimensional object accordingly, so that a changed orientation of the three-dimensional object matches the orientation of the human face or the human eye.
  9. The method according to claim 1 or 2, wherein the screen-off display object comprises a rotatable text object, the text object is used to display at least two texts, and when the text object is rotated, a part of the at least two texts is displayed and/or a part of the at least two texts is hidden; and dynamically changing the screen-off display object based on the change of the orientation of the human face or the human eye comprises: when the orientation of the human face or the human eye changes, rotating the text object to present a hidden text.
  10. The method according to claim 9, wherein when the orientation of the human face or the human eye changes, rotating the text object to present the hidden text comprises: when the orientation of the human face or the human eye is a first orientation, rotating the text object in a direction opposite to the first orientation to present the hidden text.
  11. The method according to claim 9 or 10, wherein the text object is a three-dimensional object, a first text is displayed on a first surface of the three-dimensional object, and a second text is displayed on a second surface of the three-dimensional object; and when the orientation of the human face or the human eye changes, rotating the text object to present the hidden text comprises: when the orientation of the human face or the human eye changes from the first orientation to a second orientation, rotating the text object from a first angle to a second angle; or when the orientation of the human face or the human eye changes from the second orientation to the first orientation, rotating the text object from the second angle to the first angle, wherein the first surface of the text object is displayed at the first angle, and the second surface of the text object is displayed at the second angle.
  12. The method according to any one of claims 9 to 11, wherein the text object is displayed in a hollow-out effect, and a part of an image of desktop wallpaper of the electronic device is exposed from a hollow-out part of the text object; and the method further comprises: in response to an unlock operation, switching from the screen-off mode to a screen-on mode by using a one-shot visual effect, and displaying a desktop and the desktop wallpaper of the electronic device.
  13. The method according to any one of claims 1 to 12, further comprising: obtaining information detected by the electronic device by using a front-facing camera or a first sensor; and performing human face or human eye detection based on the detected information.
  14. The method according to any one of claims 1 to 13, wherein the change of the orientation of the human face or the human eye is caused by a movement of a user or a movement of the electronic device.
  15. An apparatus, comprising a memory, a processor, and a display apparatus, wherein the memory is configured to store a computer program, and the processor is configured to read the computer program, to enable the apparatus to implement the method according to any one of claims 1 to 14.
  16. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the computer is enabled to implement the method according to any one of claims 1 to 14.
  17. A computer program product, comprising computer-readable instructions, wherein when the computer program product runs on a computer, the computer is enabled to perform the method according to any one of claims 1 to 14.
  18. A chip, wherein the chip comprises a processor and a data interface, and the processor reads, through the data interface, instructions stored in a memory, to perform the method according to any one of claims 1 to 14.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priorities to Chinese Patent Application No. 202311112182.7, filed with the China National Intellectual Property Administration on August 29, 2023 and entitled "INTERACTION METHOD AND ELECTRONIC DEVICE IN SCREEN-OFF STATE", and to Chinese Patent Application No. 202311167861.4, filed with the China National Intellectual Property Administration on September 8, 2023 and entitled "DISPLAY METHOD AND APPARATUS IN SCREEN-OFF MODE", both of which are incorporated herein by reference in their entireties. TECHNICAL FIELD This application relates to human-computer interaction technologies, and more specifically, to a display method and apparatus in a screen-off mode. BACKGROUND Intelligent devices are increasingly widely used due to the ability to provide diverse and intelligent services. A smartphone is a type of intelligent device. The smartphone has an independent operating system and independent running space, allowing a user to install software, games, navigation, and other applications provided by a third-party service provider, and can implement wireless network access via a mobile communication network. With popularization of the intelligent devices, users have increasingly higher requirements for human-computer interaction. Therefore, how to improve human-computer interaction to enhance user experience is a technical problem that needs to be resolved currently. SUMMARY This application provides a display method and apparatus in a screen-off mode, enabling an electronic device to generate good interaction experience with a user even in the screen-off mode. According to a first aspect, this application provides a display method in a screen-off mode, applied to an electronic device having a display. The method may include the following steps: The electronic device enters the screen-off mode, and displays a screen-off display object on the display in the screen-off mode; determines an orientation of a human face or a human eye based on human face or human eye detection, where the orientation is associated with a relative position between the human face or the human eye and the electronic device; and dynamically changes the screen-off display object based on a change of the orientation of the human face or the human eye. In the foregoing implementation, in the screen-off mode, the screen-off display object may be dynamically changed based on the change of the orientation of the human face or the human eye. Therefore, a dynamic interaction effect between the screen-off display object and a user can be achieved. In a possible implementation, the screen-off display object includes a first component, and the first component represents an eye; and dynamically changing the screen-off display object based on the change of the orientation of the human face or the human eye includes: when the orientation of the human face changes, changing the first component based on the change, so that a display position or a line-of-sight direction of changed first component matches the orientation of the human face or the human eye. In the foregoing implementation, in the screen-off mode, the screen-off display object may dynamically change with the change of the orientation of the human face/human eye, achieving an interaction effect that a line of sight of the screen-off display object follows the user. Optionally, the first component includes an eyeball in the eye; and changing the first component based on the change includes: changing a display position of the eyeball in the eye based on the change. In a possible implementation, the screen-off display object includes a second component, and the second component represents an emotion; and the method further includes: determining, based on human face or human eye detection, an emotion presented by the human face or the human eye, and updating the second component, so that the emotion presented by the screen-off display object matches the emotion presented by the human face or the human eye. In the foregoing implementation, in the screen-off mode, the screen-off display object dynamically changes with a change of the emotion presented by the human face/human eye, achieving an interaction effect that the emotion presented by the screen-off display object follows the emotion of the user. Optionally, determining, based on human face or human eye detection, the emotion presented by the human face or the human eye includes: performing human face or human eye detection by using an artificial intelligence AI capability, to determine the emotion presented by the human face or the human eye. In a possible implementation, the change of the orientation of the human face or the human eye includes: the human face or the human eye changes from a first orientation to a second orientation; and dynamically changing the screen-off display object based on the change of the orientation of the human face or the human eye includes: playing a