# US 2021/0286590 A1 · Context aware service provision method and apparatus of user device

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

- Number: US 2021/0286590 A1
- Document ID: US20210286590A1
- Status: Published application
- Kind: A1
- Application number: 17/335,671
- Filed: 2021-06-01
- Published: 2021-09-16
- Earliest claimed: 2012-09-20
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Jooyoon BAE; Minjeong KO; Sungsoo KIM; Jinsung KIM; Hwakyung KIM; Jinha JUN
- Web page: https://patentgrep.com/patent/US20210286590A1

## CPC

- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- G06F 3/016: {Input arrangements with force or tactile feedback as computer generated output to the user}
- G06F 3/038: Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- H04M 1/72454: according to context-related or environment-related conditions
- G06F 2203/0381: Multimodal input, i.e. interface arrangements enabling the user to issue commands by simultaneous use of input devices of different nature, e.g. voice plus gesture on digitizer
- H04M 2250/22: including a touch pad, a touch sensor or a touch detector
- H04M 2250/74: with voice recognition means
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

A context aware service provision method and apparatus for recognizing the user context and executing an action corresponding to the user context according to a rule defined by the user and feeding back the execution result to the user interactively are provided. The method for providing a context-aware service includes receiving a user input, the user input being at least one of a text input and a speech input, identifying a rule including a condition and an action corresponding to the condition based on the received user input, activating the rule to detect a context which corresponds to the condition of the rule, and executing, when the context is detected, the action corresponding to the condition.

## Claims

### Claim 1

A method for providing a context-aware service using an electronic device, the method comprising at least:
providing, for display on a touchscreen of the electronic device, a screen of a context-aware service application being executed, the screen of the context-aware service application including a user selectable visual element for adding a rule;
based on receiving a first user input to the user selectable visual element for adding the rule, providing, for display on the touchscreen of the electronic device, an interactive user interface for interacting with a user of the electronic device for adding the rule, the first user input being a touch input to the user selectable visual element for adding the rule;
providing, for display on the touchscreen of the electronic device, a first guidance by the interactive user interface for adding a condition for the rule, the first guidance guiding the user of the electronic device to enter text for the condition for the rule that is meetable based on receiving speech that corresponds to the entered text;
based on receiving at least one second user input, the at least one second user input being a text input, identifying a condition of a first rule, the condition being meetable based on receiving speech that corresponds to the text input of the at least one second user input;
providing, for display on the touchscreen of the electronic device, a second guidance by the interactive user interface for adding an action for the rule;
based on receiving a third user input, identifying an action of the first rule based on the third user input, the action of the first rule corresponding to a performable first operation;
receiving a fourth user input for storing the first rule including the condition of the first rule and the action of the first rule;
based on a first determination that a condition of a second rule is met, initiating performance of a second operation corresponding to an action of the second rule, the second rule having been stored and including the condition of the second rule and the action of the second rule;
based on receiving a fifth user input prior to the second operation corresponding to the action of the second rule being completed, the fifth user input being a speech input for meeting the condition, determining whether the condition of the first rule is met based on whether the speech input of the fifth user input corresponds to the text input of the at least one second user input; and
based on a second determination that the condition of the first rule is met, performing the first operation corresponding to the action of the first rule.

### Claim 2 (depends on 1)

The method of claim 1, wherein the determining of whether the condition of the first rule is met based on whether the speech input of the fifth user input corresponds to the text input of the at least one second user input comprises at least:
determining whether the speech input of the fifth user input corresponds to the text input of the at least one second user input based on results of a speech recognition performed on the speech input of the fifth user input.

### Claim 3 (depends on 1)

The method of claim 1, wherein at least one of the first guidance or the second guidance comprises textual guidance.

### Claim 4 (depends on 1)

The method of claim 1, wherein the action of the first rule comprises:
sending a message,
changing a device setting,
music playback,
providing weather information,
providing information from an external server,
providing information to the external server, or
providing control of an external device.

### Claim 5 (depends on 1)

The method of claim 1, further comprising at least:
based on receiving a user selection of a button for inputting the fifth user input, entering a mode for receiving the speech input of the fifth user input.

### Claim 6 (depends on 1)

The method of claim 1, wherein the screen of the context-aware service application including the user selectable visual element for adding the rule includes one or more delineated areas that each correspond to a saved rule.

### Claim 7 (depends on 6)

The method of claim 6,
wherein each delineated area of the one or more delineated areas includes at least one of an icon, a textual description, and another user selectable visual element, and
wherein the other user selectable visual element is for providing, for display on a touchscreen of the electronic device, information regarding a corresponding rule based on the other user selectable visual element being selected.

### Claim 8 (depends on 1)

The method of claim 1, further comprising at least:
based on receiving the text input of the at least one second user input, providing, for display on a touchscreen of the electronic device, the text input of the at least one second user input.

### Claim 9 (depends on 1)

The method of claim 1, further comprising at least:
based on a user selection of another user selectable visual element, the other user selectable visual element being for confirming the first rule, confirming the first rule including the condition of the first rule and the action of the first rule.

### Claim 10 (depends on 1)

The method of claim 1, wherein data for the context-aware service is communicated with an external server.

### Claim 11

A non-transitory computer readable storage medium with instructions stored thereon to provide a context-aware service using an electronic device, the instructions executable by a processor of the electronic device to cause the processor to at least:
control to provide, for display on a touchscreen of the electronic device, a screen of a context-aware service application being executed, the screen of the context-aware service application including a user selectable visual element for adding a rule;
based on receiving a first user input to the user selectable visual element for adding the rule, control to provide, for display on the touchscreen of the electronic device, an interactive user interface for interacting with a user of the electronic device for adding the rule, the first user input being a touch input to the user selectable visual element for adding the rule;
control to provide, for display on the touchscreen of the electronic device, a first guidance by the interactive user interface for adding a condition for the rule, the first guidance guiding the user of the electronic device to enter text for the condition for the rule that is meetable based on receiving speech that corresponds to the entered text;
based on receiving at least one second user input, the at least one second user input being a text input, control to identify a condition of a first rule, the condition being meetable based on receiving speech that corresponds to the text input of the at least one second user input;
control to provide, for display on the touchscreen of the electronic device, a second guidance by the interactive user interface for adding an action for the rule;
based on receiving a third user input, control to identify an action of the first rule based on the third user input, the action of the first rule corresponding to a performable first operation;
control to receive a fourth user input for storing the first rule including the condition of the first rule and the action of the first rule;
based on a first determination that a condition of a second rule is met, control to initiate performance of a second operation corresponding to an action of the second rule, the second rule having been stored and including the condition of the second rule and the action of the second rule;
based on receiving a fifth user input prior to the second operation corresponding to the action of the second rule being completed, the fifth user input being a speech input for meeting the condition, control to determine whether the condition of the first rule is met based on whether the speech input of the fifth user input corresponds to the text input of the at least one second user input; and
based on a second determination that the condition of the first rule is met, control to perform the first operation corresponding to the action of the first rule.

### Claim 12 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the control to determine whether the condition of the first rule is met based on whether the speech input of the fifth user input corresponds to the text input of the at least one second user input comprises at least:
control to determine whether the speech input of the fifth user input corresponds to the text input of the at least one second user input based on results of a speech recognition performed on the speech input of the fifth user input.

### Claim 13 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein at least one of the first guidance or the second guidance comprises textual guidance.

### Claim 14 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the action of the first rule comprises:
sending a message,
changing a device setting,
music playback,
providing weather information,
providing information from an external server,
providing information to the external server, or
providing control of an external device.

### Claim 15 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the instructions cause the processor further to at least:
based on receiving a user selection of a button for inputting the fifth user input, control to enter a mode for receiving the speech input of the fifth user input.

### Claim 16 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the screen of the context-aware service application including the user selectable visual element for adding the rule includes one or more delineated areas that each correspond to a saved rule.

### Claim 17 (depends on 16)

The non-transitory computer readable storage medium of claim 16,
wherein each delineated area of the one or more delineated areas includes at least one of an icon, a textual description, and another user selectable visual element, and
wherein the other user selectable visual element is for providing, for display on a touchscreen of the electronic device, information regarding a corresponding rule based on the other user selectable visual element being selected.

### Claim 18 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the instructions cause the processor further to at least:
based on receiving the text input of the at least one second user input, control to provide, for display on a touchscreen of the electronic device, the text input of the at least one second user input.

### Claim 19 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the instructions cause the processor further to at least:
based on a user selection of another user selectable visual element, the other user selectable visual element being for confirming the first rule, controlling to confirm the first rule including the condition of the first rule and the action of the first rule.

### Claim 20 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein data for the context-aware service is communicated with an external server.

### Claim 21

An electronic device used to provide a context-aware service, the electronic device comprising:
a memory storing instructions; and
a processor configured to execute the stored instructions to at least:
control to provide, for display on a touchscreen of the electronic device, a screen of a context-aware service application being executed, the screen of the context-aware service application including a user selectable visual element for adding a rule;
based on receiving a first user input to the user selectable visual element for adding the rule, control to provide, for display on the touchscreen of the electronic device, an interactive user interface for interacting with a user of the electronic device for adding the rule, the first user input being a touch input to the user selectable visual element for adding the rule;
control to provide, for display on the touchscreen of the electronic device, a first guidance by the interactive user interface for adding a condition for the rule, the first guidance guiding the user of the electronic device to enter text for the condition for the rule that is meetable based on receiving speech that corresponds to the entered text;
based on receiving at least one second user input, the at least one second user input being a text input, control to identify a condition of a first rule, the condition being meetable based on receiving speech that corresponds to the text input of the at least one second user input;
control to provide, for display on the touchscreen of the electronic device, a second guidance by the interactive user interface for adding an action for the rule;
based on receiving a third user input, control to identify an action of the first rule based on the third user input, the action of the first rule corresponding to a performable first operation;
control to receive a fourth user input for storing the first rule including the condition of the first rule and the action of the first rule;
based on a first determination that a condition of a second rule is met, control to initiate performance of a second operation corresponding to an action of the second rule, the second rule having been stored and including the condition of the second rule and the action of the second rule;
based on receiving a fifth user input prior to the second operation corresponding to the action of the second rule being completed, the fifth user input being a speech input for meeting the condition, control to determine whether the condition of the first rule is met based on whether the speech input of the fifth user input corresponds to the text input of the at least one second user input; and
based on a second determination that the condition of the first rule is met, control to perform the first operation corresponding to the action of the first rule.

### Claim 22 (depends on 21)

The electronic device of claim 21, wherein the control to determine whether the condition of the first rule is met based on whether the speech input of the fifth user input corresponds to the text input of the at least one second user input comprises at least:
control to determine whether the speech input of the fifth user input corresponds to the text input of the at least one second user input based on results of a speech recognition performed on the speech input of the fifth user input.

### Claim 23 (depends on 21)

The electronic device of claim 21, wherein at least one of the first guidance or the second guidance comprises textual guidance.

### Claim 24 (depends on 21)

The electronic device of claim 21, wherein the action of the first rule comprises:
sending a message,
changing a device setting,
music playback,
providing weather information,
providing information from an external server,
providing information to the external server, or
providing control of an external device.

### Claim 25 (depends on 21)

The electronic device of claim 21, wherein the processor is configured to execute the stored instructions further to at least:
based on receiving a user selection of a button for inputting the fifth user input, control to enter a mode for receiving the speech input of the fifth user input.

### Claim 26 (depends on 21)

The electronic device of claim 21, wherein the screen of the context-aware service application including the user selectable visual element for adding the rule includes one or more delineated areas that each correspond to a saved rule.

### Claim 27 (depends on 26)

The electronic device of claim 26,
wherein each delineated area of the one or more delineated areas includes at least one of an icon, a textual description, and another user selectable visual element, and
wherein the other user selectable visual element is for providing, for display on a touchscreen of the electronic device, information regarding a corresponding rule based on the other user selectable visual element being selected.

### Claim 28 (depends on 21)

The electronic device of claim 21, wherein the processor is configured to execute the stored instructions further to at least:
based on receiving the text input of the at least one second user input, control to provide, for display on a touchscreen of the electronic device, the text input of the at least one second user input.

### Claim 29 (depends on 21)

The electronic device of claim 21, wherein the processor is configured to execute the stored instructions further to at least:
based on a user selection of another user selectable visual element, the other user selectable visual element being for confirming the first rule, controlling to confirm the first rule including the condition of the first rule and the action of the first rule.

### Claim 30 (depends on 21)

The electronic device of claim 21, wherein data for the context-aware service is communicated with an external server.
