Patent ID: 11934766
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 0:
1. An always on display method, wherein the method is applied to an electronic device, and the method comprises:
obtaining text content;
performing word segmentation processing on the text content to obtain a plurality of word segments;
determining at least one layout format of the text content based on a quantity of words of the text content, a quantity of the plurality of word segments, and a preset mapping relationship, wherein the preset mapping relationship is a mapping relationship between a quantity of words, a quantity of word segments, and a layout format, and the at least one layout format comprises a first layout format;
detecting a screen lock operation;
in response to the screen lock operation, displaying the text content on a first always on display interface based on the first layout format; and
when entering anon-always on display interface from the first always on display interface, and entering a second always on display interface from the non-always on display interface, displaying the text content on the second always on display interface based on a second layout format, wherein
the second layout format belongs to the at least one layout format, and the second layout format is different from the first layout format.