# US 2022/0035995 A1 · Comment Addition Method and Electronic Device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0035995 A1
- Document ID: US20220035995A1
- Status: Published application
- Kind: A1
- Application number: 17/504,000
- Filed: 2021-10-18
- Published: 2022-02-03
- Earliest claimed: 2019-04-17
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Wendi Cai
- Web page: https://patentgrep.com/patent/US20220035995A1

## CPC

- G06F 3/03545: {Pens or stylus}
- G06F 40/169: Annotation, e.g. comment data or footnotes
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F 16/532: Query formulation, e.g. graphical querying
- G06F 16/5866: {using information manually generated, e.g. tags, keywords, comments, manually generated location and time information}
- G06F 40/171: by use of digital ink
- G06F 2203/04804: Transparency, e.g. transparent or translucent windows
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A comment addition method includes displaying, by an electronic device, a first interface of a first application, entering, by the electronic device, a comment mode in the first interface in response to a preset trigger operation, displaying, by the electronic device in the first interface and in the comment mode, a first comment added by a user, displaying, by the electronic device, a second interface of a second application, entering, by the electronic device, a comment mode in the second interface in response to the trigger operation, and in the comment mode, displaying, by the electronic device in the second interface, a second comment added by the user.

## Claims

### Claim 1

A comment addition method implemented by an electronic device, wherein the comment addition method comprises:
displaying a first interface of a first application on a display;
receiving a preset trigger operation;
entering, in response to the preset trigger operation, a comment mode in the first interface;
receiving a first input event on the display while in the comment mode;
determining whether the first input event is from a stylus or a finger of a user;
displaying, in the first interface, a first comment in response to the first input event when the first input event is from the stylus;
displaying a second interface of the first application in response to the first input event when the first input event is from the finger;
receiving, from the finger, a second input event on the first interface in the comment mode; and
editing or updating, in response to the second input event, content in the first interface.

### Claim 2 (depends on 1)

The comment addition method of claim 1, wherein the second input event is a touch and hold operation, and wherein the comment addition method further comprises displaying, in response to the touch and hold operation, an editing menu comprising copying a text.

### Claim 3 (depends on 1)

The comment addition method of claim 1, wherein the second interface comprises a play button corresponding to a video file or an audio file, wherein the second input event is a tap operation on the play button, and wherein the comment addition method further comprises playing, in response to the tap operation, the video file or the audio file in the first interface.

### Claim 4 (depends on 1)

The comment addition method of claim 1, further comprising:
superimposing, on the first interface, a comment layer comprising a first transparent region corresponding to the first interface;
receiving, from the user, the first comment on the first transparent region; and
displaying the first comment in the first transparent region.

### Claim 5 (depends on 4)

The comment addition method of claim 4, wherein the comment layer further comprises a toolbar that comprises one or more of an exit option, a save option, an eraser option, a line thickness option, or a line color option.

### Claim 6 (depends on 4)

The comment addition method of claim 4, further comprising superimposing a second transparent region in the comment layer on the second interface.

### Claim 7 (depends on 6)

The comment addition method of claim 6, wherein after displaying the second interface, the comment addition method further comprises:
receiving, from the user, a second comment on the second transparent region; and
displaying the second comment in the second interface.

### Claim 8 (depends on 7)

The comment addition method of claim 7, wherein after displaying the second comment, the comment addition method further comprises:
receiving a saving operation from the user;
performing, in response to the saving operation, a screenshot operation on the first interface and the second interface together with the first comment and the second comment to obtain a picture; and
saving the picture.

### Claim 9 (depends on 8)

The comment addition method of claim 8, further comprising displaying, responsive to performing the screenshot operation, first information prompting the user that the first comment and the second comment are being saved.

### Claim 10 (depends on 8)

The comment addition method of claim 8, further comprising further saving the picture in a memo application or a gallery application.

### Claim 11 (depends on 10)

The comment addition method of claim 10, further comprising further saving the picture in a preset folder of the memo application.

### Claim 12 (depends on 10)

The comment addition method of claim 10, wherein the memo application comprises a search bar, and wherein the comment addition method further comprises:
receiving a keyword from the user in the search bar, wherein the keyword is a text in the picture;
receiving, from the user, a search operation input to perform a search operation according to the keyword;
performing a search operation in response to the search operation input; and
displaying the picture in response to the search operation.

### Claim 13 (depends on 10)

The comment addition method of claim 10, wherein after saving the picture, the comment addition method further comprises:
saving a correspondence between the picture and the first interface; and
either:
detecting that the user selects the picture in the memo application or in the gallery application and opening, in response to detecting that the user selects the picture in the memo application or in the gallery application, the first application to display the first interface; or
detecting that the electronic device opens the first application to display the first interface and displaying, in response to detecting that the electronic device opens the first application to display the first interface, second information prompting the user that a third comment associated with the first interface is found.

### Claim 14 (depends on 13)

The comment addition method of claim 13, further comprising saving a uniform resource locator (URL) address of the first interface with the picture while saving the picture.

### Claim 15

An electronic device comprising:
a touchscreen comprising a display and a touch sensor;
a processor coupled to the touchscreen and configured to cause the electronic device to:
display a first interface of a first application on the display;
receive, via the touch sensor, a preset trigger operation;
enter a comment mode in response to the preset trigger operation;
receive, via the touch sensor, a first input event in the comment mode;
display, using the display, a first comment in response to the first input event when the first input event is from a stylus on the display;
receive, via the touch sensor, a second input event in the comment mode;
display a second interface in response to the first input event when the second input event is from a finger of a user on the display;
receive, via the touch sensor, a saving operation from the user;
saving, in response to the saving operation, a picture and an address of the first application, wherein the picture comprises a first content of the first interface, a second content of the second interface, and the first comment.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein the processor is further configured to cause the electronic device to further save the picture in a memo application or in a gallery application.

### Claim 17 (depends on 15)

The electronic device of claim 15, wherein the processor is further configured to cause the electronic device to open the first application to display the first interface from the picture saved in the memo application or in the gallery application.

### Claim 18 (depends on 15)

The electronic device of claim 15, wherein the processor is further configured to cause the electronic device to:
superimpose a comment layer on the first content, wherein the comment layer comprises a first transparent region; and
further display the first comment in the first transparent region.

### Claim 19 (depends on 18)

The electronic device of claim 18, wherein the comment layer further comprises a toolbar, wherein the toolbar comprises one or more of an exit option, a save option, an eraser option, a line thickness option, or a line color option, and wherein the first application is a browser application.

### Claim 20

A computer program product comprising computer-executable instructions that are stored on a non-transitory computer-readable medium and that, when executed by a processor, cause an electronic device to:
display a first interface of a first application on a display;
receive a preset trigger operation;
enter, in response to the preset trigger operation, a comment mode in the first interface;
receive a first input event on the display and in the comment mode;
determine whether the first input event is from a stylus or a finger of a user;
display, in the first interface, a first comment in response to the first input event when the first input event is from the stylus;
display a second interface of the first application in response to the first input event when the first input event is from the finger;
receive, from the finger, a second input event on the first interface in the comment mode; and
edit or update, in response to the second input event, content in the first interface.
