IP Library Granted Patent US 12,124,676
Granted Patent B2
US 12,124,676 · App. 17/869,770 · Granted Oct 22, 2024

Icon displaying method and electronic device

Inventors: Yonghang Xiang (Dongguan, CN); Jiawen Geng (Dongguan, CN)
Assignee: VIVO MOBILE COMMUNICATION CO., LTD.
G06F3/04817G06F1/1607G06F3/03545G06F3/046G06F3/0481G06T11/60G06F2200/1632G06T2200/24
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,124,676
App. No.
17/869,770
Granted
Oct 22, 2024
Kind
B2
Abstract

An icon displaying method and an electronic device are provided. The method is performed by the electronic device. The electronic device includes a device body and a stylus detachably connected to the device body. The method includes: obtaining a first working state of the stylus, where the first working state includes at least one of remaining power, a font color, or a font size of the stylus; and displaying an icon corresponding to the stylus based on the first working state.

Claims (49)

1. An icon displaying method, performed by an electronic device, wherein the electronic device comprises a device body and a stylus, wherein a battery is disposed in the stylus, the icon displaying method comprising:

obtaining a first working state of the stylus, wherein the first working state comprises at least one of remaining power, a font color, or a font size of the stylus; and

displaying an icon corresponding to the stylus based on the first working state when it is monitored that the stylus is not disposed in the device body, wherein the icon illustrates the stylus for indicating the first working state of the stylus, wherein the icon comprises a tip displaying portion corresponding to a tip of the stylus, a pen cap displaying portion displayed at a position away from the tip displaying portion by a preset distance, and a body displaying portion connected to the tip displaying portion, the body displaying portion corresponding to a body of the stylus; and

displaying the pen cap displaying portion covering the tip displaying portion to instruct that the stylus is disposed in the device body.

2. The icon displaying method according to claim 1 , wherein a first displaying parameter of the tip displaying portion or a second displaying parameter of the body displaying portion is used to represent the first working state.

3. The icon displaying method according to claim 1 , wherein the first working state comprises at least one of the font color or the font size of the stylus, and the method further comprises:

receiving a first input for a target displaying portion of the icon corresponding to the stylus;

displaying a target selection interface in response to the first input;

switching the stylus from the first working state to a second working state according to a selection operation of a user on the target selection interface; and

updating the icon corresponding to the stylus according to the second working state.

4. The icon displaying method according to claim 1 , wherein the first working state comprises the font size of the stylus, and the method further comprises:

controlling magnetic force of an electromagnetic element disposed in a stylus groove to be target magnetic force, wherein the stylus groove is disposed in the electronic device and is used to accommodate the stylus,

wherein the magnetic force of the electromagnetic element is positively correlated with the font size of the stylus.

5. The icon displaying method according to claim 1 , wherein the icon corresponding to the stylus is pen-shaped, and the method further comprises:

receiving a second input for a button that is used for switching an object input type and that is in a text editing interface; and

in response to the second input, adjusting a pen-shaped type of the icon corresponding to the stylus to a first pen-shaped type, and displaying the first pen-shaped type, wherein the pen-shaped type of the icon corresponding to the stylus corresponds to the object input type in the text editing interface.

6. An electronic device, comprising:

a device body; and

a stylus, wherein a battery is disposed in the stylus, wherein the electronic device is configured to: obtain a first working state of the stylus, wherein the first working state comprises at least one of remaining power, a font color, or a font size of the stylus; and

display an icon corresponding to the stylus based on the first working state when it is monitored that the stylus is not disposed in the device body, wherein the icon illustrates the stylus for indicating the first working state of the stylus, wherein the icon comprises a tip displaying portion corresponding to a tip of the stylus, a pen cap displaying portion displayed at a position away from the tip displaying portion by a preset distance, and a body displaying portion connected to the tip displaying portion, the body displaying portion corresponding to a body of the stylus; and

displaying the pen cap displaying portion covering the tip displaying portion to instruct that the stylus is disposed in the device body.

7. The electronic device according to claim 6 , wherein a first displaying parameter of the tip displaying portion or a second displaying parameter of the body displaying portion is used to represent the first working state.

8. The electronic device according to claim 6 , wherein the first working state comprises at least one of the font color or the font size of the stylus, and the electronic device is further configured to:

receive a first input for a target displaying portion of the icon corresponding to the stylus;

display a target selection interface in response to the first input;

switch the stylus from the first working state to a second working state according to a selection operation of a user on the target selection interface; and

update the icon corresponding to the stylus according to the second working state.

9. The electronic device according to claim 6 , wherein the first working state comprises the font size of the stylus, and the electronic device is further configured to:

control magnetic force of an electromagnetic element disposed in a stylus groove to be target magnetic force, wherein the stylus groove is disposed in the electronic device and is used to accommodate the stylus,

wherein the magnetic force of the electromagnetic element is positively correlated with the font size of the stylus.

10. The electronic device according to claim 6 , wherein the icon corresponding to the stylus is pen-shaped, and the electronic device is further configured to:

receive a second input for a button that is used for switching an object input type and that is in a text editing interface; and

in response to the second input, adjust a pen-shaped type of the icon corresponding to the stylus to a first pen-shaped type, and display the first pen-shaped type, wherein the pen-shaped type of the icon corresponding to the stylus corresponds to the object input type in the text editing interface.

11. A non-transitory computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor of an electronic device comprising a device body and a stylus having a battery disposed therein, performs operations comprising:

obtaining a first working state of the stylus, wherein the first working state comprises at least one of remaining power, a font color, or a font size of the stylus; and

displaying an icon corresponding to the stylus based on the first working state when it is monitored that the stylus is not disposed in the device body, wherein the icon illustrates the stylus for indicating the first working state of the stylus, wherein the icon comprises a tip displaying portion corresponding to a tip of the stylus, a pen cap displaying portion displayed at a position away from the tip displaying portion by a preset distance, and a body displaying portion connected to the tip displaying portion, the body displaying portion corresponding to a body of the stylus; and

displaying the pen cap displaying portion covering the tip displaying portion to instruct that the stylus is disposed in the device body.

12. The non-transitory computer-readable storage medium according to claim 11 , wherein a first displaying parameter of the tip displaying portion or a second displaying parameter of the body displaying portion is used to represent the first working state.

13. The non-transitory computer-readable storage medium according to claim 11 , wherein the first working state comprises at least one of the font color or the font size of the stylus, and the operations further comprise:

receiving a first input for a target displaying portion of the icon corresponding to the stylus;

displaying a target selection interface in response to the first input;

switching the stylus from the first working state to a second working state according to a selection operation of a user on the target selection interface; and

updating the icon corresponding to the stylus according to the second working state.

14. The non-transitory computer-readable storage medium according to claim 11 , wherein the first working state comprises the font size of the stylus, and the operations further comprise:

controlling magnetic force of an electromagnetic element disposed in a stylus groove to be target magnetic force, wherein the stylus groove is disposed in the electronic device and is used to accommodate the stylus,

wherein the magnetic force of the electromagnetic element is positively correlated with the font size of the stylus.

15. The non-transitory computer-readable storage medium according to claim 11 , wherein the icon corresponding to the stylus is pen-shaped, and the operations further comprise:

receiving a second input for a button that is used for switching an object input type and that is in a text editing interface; and

in response to the second input, adjusting a pen-shaped type of the icon corresponding to the stylus to a first pen-shaped type, and displaying the first pen-shaped type, wherein the pen-shaped type of the icon corresponding to the stylus corresponds to the object input type in the text editing interface.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 30, 2025
From: VIVO MOBILE COMMUNICATION CO., LTD.
To: NOKIA TECHNOLOGIES OY
Reel/Frame 073133/0098 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 21, 2022
From: XIANG, YONGHANG; GENG, JIAWEN
To: VIVO MOBILE COMMUNICATION CO., LTD.
Reel/Frame 060586/0389 →
Priority Claims (1)
CN 202010070517.3 · Jan 21, 2020 · national
Continuity (2)
Continuation PCTCN2021071733 · Jan 14, 2021
Related Publication 20220357837A1 · Nov 10, 2022