hottub.patents
US 12,229,858 B2#3608671 Most CitedActiveUnited States (USPTO)Utility

Display method and electronic device

0Forward Citations (#3608671 Global)
0.0/yrCitation Velocity (#3608671 Global)
0.00Citation PageRank (#3608671 Global)
23Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
54Drawings / Sheets

Abstract

This application provides a display method and an electronic device. When the electronic device switches from a screen-off mode to a lock-screen mode, the electronic device may perform gradual expansion from a last image frame displayed in a screen-off interface, and in a gradual expansion process, successively play a transition animation during switching from the screen-off interface to a lock-screen interface.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    An electronic device, comprising: a memory and at least one processor, wherein the at least one processor is coupled to the memory; and the memory stores program instructions, and when the program instructions are executed by the at least one processor, the electronic device is enabled to perform the following steps: when a first interface is displayed on a display of the electronic device, playing each image frame of a first transition animation in a first display box of the first interface, and freezing at a last image frame of the first transition animation, wherein a center of the first display box deviates from a screen center of the display of the electronic device; switching from the first interface on the display of the electronic device to a second interface in response to a received first user operation, wherein the second interface comprises a second display box, a size of the second display box is the same as a size of the first display box, and a position of the second display box on the display is the same as a position of the first display box on the display; and enlarging the second display box gradually, and moving the second display box toward the screen center of the display of the electronic device, wherein each image frame of a second transition animation is played in the second display box in a process in which the second display box is gradually enlarged and moved toward the screen center of the display of the electronic device, and a first image frame of the second transition animation is the same as the last image frame of the first transition animation.

  2. Claim 2Depends on #1

    The electronic device according to claim 1, wherein the first transition animation comprises N image frames, N is an integer greater than 1, and when the program instructions are executed by the at least one processor, the electronic device is enabled to perform the following steps: cropping each of the N image frames based on a specified first size; adjusting a size of each cropped image frame based on a specified second size; and successively playing, in the first display box, each image frame obtained after the cropping and size adjustment, and freezing at a last image frame that is in the first transition animation and that is obtained after the cropping and size adjustment, wherein the size of the first display box is the same as the second size.

  3. Claim 3Depends on #2

    The electronic device according to claim 2, wherein the second transition animation comprises M image frames, M is an integer greater than 1, and when the program instructions are executed by the at least one processor, the electronic device is enabled to perform the following steps: adjusting a first image frame in the M image frames based on the second size; and superimposing an adjusted first image frame under the second display box, wherein an image in an overlapping part between the second display box and the adjusted first image frame is the same as an image of the last image frame obtained after the cropping and size adjustment.

  4. Claim 4Depends on #3

    The electronic device according to claim 3, wherein when the program instructions are executed by the at least one processor, the electronic device is enabled to perform the following steps: enlarging the adjusted first image frame gradually and moving the adjusted first image frame toward the center of the display in a process in which the second display box is gradually enlarged and moved toward the screen center of the display of the electronic device, wherein an image displayed in the second display box changes with the overlapping part between the second display box and the adjusted first image frame.

  5. Claim 5Depends on #4

    The electronic device according to claim 4, wherein when the program instructions are executed by the at least one processor, the electronic device is enabled to perform the following steps: when playing of the adjusted first image frame is completed, enlarging the adjusted first image frame to a third size, and moving the adjusted first image frame to a first position on the display; switching from the adjusted first image frame superimposed with the second display box to a next image frame based on a sequence of the M image frames, wherein a size of the next image frame is the third size, and the next image frame is in the first position on the display; and enlarging the next image frame gradually, and moving the next image frame toward the screen center of the display, wherein the image displayed in the second display box changes with an overlapping part between the second display box and the next image frame.

  6. Claim 6Depends on #1

    The electronic device according to claim 1, wherein when the program instructions are executed by the processor, the electronic device is enabled to perform the following steps: when a center of the second display box overlaps the center of the display, and at least one border of the second display box falls inside a border of the display, stopping moving the second display box, and continuing to enlarge the second display box, until all borders of the second display box overlap or fall outside borders of the display.

  7. Claim 7Depends on #1

    The electronic device according to claim 1, wherein a shape of the first display box is a rectangle, a circle, a triangle, an oval, or an irregular shape.

  8. Claim 8Depends on #1

    The electronic device according to claim 1, wherein a shape of the second display box is a rectangle, a circle, a triangle, an oval, or an irregular shape.

  9. Claim 9Depends on #1

    The electronic device according to claim 1, wherein the first interface is a screen-off interface, and the second interface is a lock-screen interface.

  10. Claim 10Depends on #1

    The electronic device according to claim 1, wherein the first interface is a screen-off interface, and the second interface is a home screen.

  11. Claim 11Independent Claim

    A display method, comprising: when a first interface is displayed on a display of an electronic device, playing each image frame of a first transition animation in a first display box of the first interface, and freezing at a last image frame of the first transition animation, wherein a center of the first display box deviates from a screen center of the display of the electronic device; switching, by the electronic device, from the first interface on the display of the electronic device to a second interface in response to a received first user operation, wherein the second interface comprises a second display box, a size of the second display box is the same as a size of the first display box, and a position of the second display box on the display is the same as a position of the first display box on the display; and enlarging, by the electronic device, the second display box gradually, and moving the second display box toward the screen center of the display of the electronic device, wherein each image frame of a second transition animation is played in the second display box in a process in which the second display box is gradually enlarged and moved toward the screen center of the display of the electronic device, and a first image frame of the second transition animation is the same as the last image frame of the first transition animation.

  12. Claim 12Depends on #11

    The method according to claim 11, wherein the first transition animation comprises N image frames, N is an integer greater than 1, and the playing each image frame of a first transition animation in a first display box of the first interface comprises: cropping each of the N image frames based on a specified first size; adjusting a size of each cropped image frame based on a specified second size; and successively playing, in the first display box, each image frame obtained after the cropping and size adjustment, and freezing at a last image frame that is in the first transition animation and that is obtained after the cropping and size adjustment, wherein the size of the first display box is the same as the second size.

  13. Claim 13Depends on #12

    The method according to claim 12, wherein the second transition animation comprises M image frames, M is an integer greater than 1, and the playing each image frame of a first transition animation in a first display box of the first interface comprises: adjusting a first image frame in the M image frames based on the second size; and superimposing an adjusted first image frame under the second display box, wherein an image in an overlapping part between the second display box and the adjusted first image frame is the same as an image of the last image frame obtained after the cropping and size adjustment.

  14. Claim 14Depends on #13

    The method according to claim 13, wherein the enlarging, by the electronic device, the second display box gradually, and moving the second display box toward the screen center of the display of the electronic device comprises: enlarging the adjusted first image frame gradually and moving the adjusted first image frame toward the center of the display in a process in which the second display box is gradually enlarged and moved toward the screen center of the display of the electronic device, wherein an image displayed in the second display box changes with the overlapping part between the second display box and the adjusted first image frame.

  15. Claim 15Depends on #14

    The method according to claim 14, wherein the enlarging, by the electronic device, the second display box gradually, and moving the second display box toward the screen center of the display of the electronic device comprises: when playing of the adjusted first image frame is completed, enlarging the adjusted first image frame to a third size, and moving the adjusted first image frame to a first position on the display; switching from the adjusted first image frame superimposed with the second display box to a next image frame based on a sequence of the M image frames, wherein a size of the next image frame is the third size, and the next image frame is in the first position on the display; and enlarging the next image frame gradually, and moving the next image frame toward the screen center of the display, wherein the image displayed in the second display box changes with an overlapping part between the second display box and the next image frame.

  16. Claim 16Depends on #11

    The method according to claim 11, wherein the enlarging, by the electronic device, the second display box gradually, and moving the second display box toward the screen center of the display of the electronic device comprises: when a center of the second display box overlaps the center of the display, and at least one border of the second display box falls inside a border of the display, stopping moving the second display box, and continuing to enlarge the second display box, until all borders of the second display box overlap or fall outside borders of the display.

  17. Claim 17Depends on #11

    The method according to claim 11, wherein a shape of the first display box is a rectangle, a circle, a triangle, an oval, or an irregular shape; and a shape of the second display box is a rectangle, a circle, a triangle, an oval, or an irregular shape.

  18. Claim 18Depends on #11

    The method according to claim 11, wherein the first interface is a screen-off interface, and the second interface is a lock-screen interface.

  19. Claim 19Depends on #11

    The method according to claim 11, wherein the first interface is a screen-off interface, and the second interface is a home screen.

  20. Claim 20Independent Claim

    A non-transitory computer-readable storage medium, comprising a computer program, wherein when the computer program is run on an electronic device, the electronic device is enabled to perform operations comprising: when a first interface is displayed on a display of the electronic device, playing each image frame of a first transition animation in a first display box of the first interface, and freezing at a last image frame of the first transition animation, wherein a center of the first display box deviates from a screen center of the display of the electronic device; switching from the first interface on the display of the electronic device to a second interface in response to a received first user operation, wherein the second interface comprises a second display box, a size of the second display box is the same as a size of the first display box, and a position of the second display box on the display is the same as a position of the first display box on the display; and enlarging the second display box gradually, and moving the second display box toward the screen center of the display of the electronic device, wherein each image frame of a second transition animation is played in the second display box in a process in which the second display box is gradually enlarged and moved toward the screen center of the display of the electronic device, and a first image frame of the second transition animation is the same as the last image frame of the first transition animation.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a national stage of International Application No. PCT/CN2022/081451 filed on Mar. 17, 2022, which claims priority to Chinese Patent Application No. 202110519367.4, filed with China National Intellectual Property Administration on May 12, 2021. The disclosures of the aforementioned application is hereby incorporated by reference in its entirety. TECHNICAL FIELD This application relates to the field of terminal devices, and in particular, to a display method and an electronic device. BACKGROUND A one-shot transition dynamic effect may also be referred to as a transition animation, and may be understood as an animation effect displayed during switching between different modes of a terminal. Because of such an effect, visual experience of a user using a mobile phone is improved. However, a use scenario of the transition animation is limited currently. SUMMARY To resolve the foregoing technical problem, this application provides a display method and an electronic device. In the method, an electronic device may provide a display manner of a transition animation during switching from a screen-off interface to a lock-screen interface, to enrich application scenarios of the transition animation of the electronic device and improve user experience. According to a first aspect, this application provides an electronic device. The electronic device includes a memory and a processor. The processor is coupled to the memory. The memory stores program instructions. When the program instructions are executed by the processor, the electronic device is enabled to perform the following steps: when a first interface is displayed on a display of the electronic device, playing each image frame of a first transition animation in a first display box of the first interface, and freezing at a last image frame of the first transition animation, where a center of the first display box deviates from a screen center of the display of the

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (23)

PatentTitleYearCitations
US 6,002,401 AUser definable pictorial interface for accessing information in an electronic file system1999149
US 6,600,491 B1Video-based rendering with user-controlled movement200386
US 10,788,978 B2Method and apparatus for displaying interface and storage medium20201
KR 20100045879 AApparatus for disposing food waste—2
KR 20110052154 ADynamic frequency selection system and method based on genetic algorithm for cognitive radio system—6
KR 20130055119 AApparatus for touching a projection of 3d images on an infrared screen using single-infrared camera—5
KR 20130071095 AManufacturing method of an array substrate for liquid crystal display—11
KR 20170046024 AAutomatic device, automatic system based on internet of things and method thereof—2
KR 20180034879 AMethod for manufacturing semiconductor device for making epitaxial lift-off process faster by using hydrophilic layer—1
KR 20200059675 APneumatic printing system and printing method of using the same—3
CN 105,373,291 AInterface switching method and device—23
CN 108,319,414 Ainterface display method and device—23
CN 111,145,321 AMethod and system for realizing scene rotation and conversion by using sequence frame—4
CN 111,857,911 AMulti-level page dynamic display method and device, electronic equipment and storage medium—5
CN 114,461,120 ADisplay method and electronic equipment—7
EP 3,200,145 A1Electronic device and information processing method of electronic device—12
EP 3,380,918 A2Devices, methods, and graphical user interfaces for navigating between user interfaces and interacting with control objects—5
WO 2017/097143 A1Method and device for setting interface switch animation—8

Non-Patent Literature (7)

  • Yu Cancan;
  • “
  • The Function and Design Strategy of Functional Animation for the Aged Smart Watch: Taking OW80 Smart Watch as an Example
  • ”
  • ; Art
  • &
  • Design; Dec. 21, 2018;2pages(with English abstract).