IP Library › Granted Patent US 12,429,830
Granted Patent B2
US 12,429,830 · App. 17/913,071 · Granted Sep 30, 2025

Time display method and electronic device

Inventors: Liwei Huang (Shenzhen, CN); Jing Zhang (Shenzhen, CN)
Assignee: Huawei Technologies Co., Ltd.
G04G9/087G06F3/0488G06T5/50H04M1/72403H04M1/72451G06T2207/20221
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,429,830
App. No.
17/913,071
Granted
Sep 30, 2025
Kind
B2
Abstract

Embodiments of this application provide a time display method and an electronic device. The method is applied to an electronic device with a display, and the method includes: The electronic device obtains a first image, a second image, and a third image, where the first image includes a first part of a target control, the second image includes a second part of the target control, and the third image includes a digital clock. The electronic device sequentially superimposes the first image, the third image, and the second image to generate a to-be-displayed image, where the first part and the second part of the target control form the target control, and the target control overlaps at least one digit of the digital clock. The electronic device displays the to-be-displayed image when the display is in an always-on-display state.

Claims (43)

1. A time display method, applied to an electronic device with a display, wherein the method comprises:

obtaining a first image, a second image, and a third image, wherein the first image comprises a first part of a target control, the second image comprises a second part of the target control, and the third image comprises a digital clock, wherein the obtaining a first image comprises:

invoking the first image according to a file name of the first image, wherein

the file name of the first image comprises a first indicator indicating a layout type of the digital clock, a second indicator indicating a value of the digit that overlaps the target control on the digital clock, and a third indicator indicating a location relationship between the first image and the digital clock, wherein the first image is invoked according to the first indicator, the second indicator, and the third indicator;

sequentially superimposing the first image, the third image, and the second image to generate a to-be-displayed image, wherein in the to-be-displayed image, the first part and the second part of the target control form the target control, and the target control overlaps at least one digit of the digital clock; and

displaying the to-be-displayed image when the display is in an always-on-display state.

2. The method according to claim 1 , wherein the digital clock comprises digits that represent hours and digits that represent minutes, the digits that represent hours are in a different row from the digits that represent minutes, the digits that represent hours comprise a first digit in a tens place and a second digit in an ones place, and the target control comprised in the to-be-displayed image overlaps the first digit.

3. The method according to claim 1 , wherein a size of the first part of the target control is less than a size of the first image, and a size of the second part of the target control is less than a size of the second image.

4. The method according to claim 1 , wherein a layout of the digital clock is a single-clock layout or a dual-clock layout.

5. The method according to claim 1 , wherein a value of at least one digit on the digital clock corresponds to three groups of image resources, the three groups of image resources comprise one group of image resources corresponding to a single-clock layout and two groups of image resources respectively corresponding to two clocks in a dual-clock layout.

6. The method according to claim 1 , wherein image formats of the first image, the second image, and the third image are all a portable network graphics (png) format.

7. The method according to claim 1 , wherein the target control is a bird pattern.

8. The method according to claim 1 , wherein the method further comprises:

displaying first information when the display is in the always-on-display state, wherein a color of the first information is set according to a color of the digit of the digital clock.

9. The method according to claim 1 , wherein the method further comprises:

detecting a tap operation on the target control; and

playing a time on the digital clock in response to the tap operation.

10. An electronic device, comprising:

a display;

at least one processor; and

one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to cause the electronic device to perform following operations:

obtaining a first image, a second image, and a third image, wherein the first image comprises a first part of a target control, the second image comprises a second part of the target control, and the third image comprises a digital clock, wherein the obtaining a first image comprises:

invoking the first image according to a file name of the first image, wherein

the file name of the first image comprises a first indicator indicating a layout type of the digital clock, a second indicator indicating a value of the digit that overlaps the target control on the digital clock, and a third indicator indicating a location relationship between the first image and the digital clock, wherein the first image is invoked according to the first indicator, the second indicator, and the third indicator;

sequentially superimposing the first image, the third image, and the second image to generate a to-be-displayed image, wherein in the to-be-displayed image, the first part and the second part of the target control form the target control, and the target control overlaps at least one digit of the digital clock; and

displaying the to-be-displayed image when the display is in an always-on-display state.

11. The electronic device according to claim 10 , wherein the digital clock comprises digits that represent hours and digits that represent minutes, the digits that represent hours are in a different row from the digits that represent minutes, the digits that represent hours comprise a first digit in a tens place and a second digit in an ones place, and the target control comprised in the to-be-displayed image overlaps the first digit.

12. The electronic device according to claim 10 , wherein a size of the first part of the target control is less than a size of the first image, and a size of the second part of the target control is less than a size of the second image.

13. The electronic device according to claim 10 , wherein a layout of the digital clock is a single-clock layout or a dual-clock layout.

14. The electronic device according to claim 10 , wherein each digit a value of at least one digit on the digital clock corresponds to three groups of image resources, the three groups of image resources comprise one group of image resources corresponding to a single-clock layout and two groups of image resources respectively corresponding to two clocks in a dual-clock layout.

15. The electronic device according to claim 10 , wherein image formats of the first image, the second image, and the third image are all a portable network graphics (png) format.

16. The electronic device according to claim 10 , wherein the target control is a bird pattern.

17. The electronic device according to claim 10 , wherein the operations comprise:

displaying first information when the display is in the always-on-display state, wherein a color of the first information is set according to a color of the digit of the digital clock.

18. The electronic device according to claim 10 , wherein the operations comprise:

detecting a tap operation on the target control; and

playing a time on the digital clock in response to the tap operation.

19. One or more non-transitory computer-readable media storing computer instructions, that when executed by one or more processors, cause an electronic device to perform operations comprising:

obtaining a first image, a second image, and a third image, wherein the first image comprises a first part of a target control, the second image comprises a second part of the target control, and the third image comprises a digital clock, wherein the obtaining a first image comprises:

invoking the first image according to a file name of the first image, wherein

the file name of the first image comprises a first indicator indicating a layout type of the digital clock, a second indicator indicating a value of the digit that overlaps the target control on the digital clock, and a third indicator indicating a location relationship between the first image and the digital clock, wherein the first image is invoked according to the first indicator, the second indicator, and the third indicator;

sequentially superimposing the first image, the third image, and the second image to generate a to-be-displayed image, wherein in the to-be-displayed image, the first part and the second part of the target control form the target control, and the target control overlaps at least one digit of the digital clock; and

displaying the to-be-displayed image when the display is in an always-on-display state.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 14, 2025
From: HUANG, LIWEI; ZHANG, JING
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 069862/0564 →
Priority Claims (1)
CN 202010219136.7 · Mar 25, 2020 · national
Continuity (1)
Related Publication 20230143866A1 · May 11, 2023
References Cited (17)
US 10620590B1 · Guzman · 2020 [cited by examiner]
US 20050151849A1 · Fitzhugh et al. · 2005 [cited by applicant]
US 20060277469A1 · Chaudhri · 2006 [cited by examiner]
US 20120066629A1 · Lee · 2012 [cited by examiner]
US 20160057363A1 · Posa · 2016 [cited by applicant]
US 20180165002A1 · Yang · 2018 [cited by examiner]
US 20190339860A1 · Chen · 2019 [cited by examiner]
CN 103259972A · 2013 [cited by applicant]
CN 105739808A · 2016 [cited by applicant]
CN 108388467A · 2018 [cited by applicant]
CN 110149442A · 2019 [cited by applicant]
CN 110536151A · 2019 [cited by applicant]
JP 2012090019A · 2012 [cited by applicant]
Extended European Search Report in European Appln No. 21775242.7, dated Jul. 25, 2023, 10 pages. [cited by applicant]
[No Author Listed] [online], “Huawei EMUI10.1 is officially released! Compared with EMUI10, how big is the improvement this time?,” Published on Mar. 26, 2020, retrieved on Apr. 26, 2023, <URL:https://haokan.baidu.com/v… [cited by applicant]
International Search Report and Written Opinion in International AppIn. No. PCT/CN2021/082340, mailed on Jul. 1, 2021, 20 pages (with English translation). [cited by applicant]
Office Action in Indian AppIn. No. 202247056767, mailed on Mar. 20, 2024, 2 pages (with English translation). [cited by applicant]