# US 2020/0264907 A1 · Method for providing routine and electronic device supporting same

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

- Number: US 2020/0264907 A1
- Document ID: US20200264907A1
- Status: Published application
- Kind: A1
- Application number: 16/793,604
- Filed: 2020-02-18
- Published: 2020-08-20
- Earliest claimed: 2019-02-18
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Songgeun KIM; Sangheon KIM; Kyuchul KONG; Yongkwon KIM; Donggil SON; Yunjeong CHOI; Jongwu BAEK
- Web page: https://patentgrep.com/patent/US20200264907A1

## CPC

- G06F 9/451: Execution arrangements for user interfaces
- G06F 16/3344: {using natural language analysis}
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06N 5/04: Inference or reasoning models
- H04B 1/3827: Portable transceivers
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04B: TRANSMISSION

## Abstract

An electronic device includes a user interface; at least one processor operably coupled to the user interface; and a memory operably coupled to the at least one processor, wherein memory is configured to store instructions that, when executed, cause the at least one processor to determine, when the electronic device is in a first state, whether or not a first condition is satisfied; perform a first action of changing a state of the electronic device from the first state to a second state if the first condition is satisfied; receive, through the user interface, a user input of changing the state of the electronic device from the second state to a third state; change the state of the electronic device from the second state to the third state at least partially based on the received user input; and maintain the third state even if the first condition is not satisfied in the third state.

## Claims

### Claim 1

An electronic device, comprising:
a user interface;
at least one processor operably coupled to the user interface; and
a memory operably coupled to the at least one processor,
wherein the memory is configured to store instructions that, when executed, cause the at least one processor to:
determine, when the electronic device is in a first state, whether or not a first condition is satisfied;
perform a first action of changing a state of the electronic device from the first state to a second state if the first condition is satisfied;
receive, through the user interface, a user input of changing the state of the electronic device from the second state to a third state;
change the state of the electronic device from the second state to the third state at least partially based on the received user input; and
maintain the third state even if the first condition is not satisfied in the third state.

### Claim 2 (depends on 1)

The electronic device of claim 1, further comprising at least one of a communication interface or a sensor module,
wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to determine whether or not the first condition is satisfied, at least partially based on data acquired by at least one of the communication interface or the sensor module.

### Claim 3 (depends on 2)

The electronic device of claim 2, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to generate a first routine comprising the first condition and the first action.

### Claim 4 (depends on 3)

The electronic device of claim 3, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to display information indicating that the first routine is being executed, if the first condition is satisfied, through the user interface, in a lock state of the electronic device.

### Claim 5 (depends on 4)

The electronic device of claim 4, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to display detailed information regarding the first routine, at least partially based on a user input regarding the information indicating that the first routine is being executed.

### Claim 6 (depends on 4)

The electronic device of claim 4, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to generate the first routine that is executable, in the lock state of the electronic device.

### Claim 7 (depends on 3)

The electronic device of claim 3, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to:
acquire a log related to a state changed in the electronic device if the first condition is satisfied, for a designated period of time;
determine a second action related to the state changed in the electronic device, at least partially based on the log; and
recommend the second action.

### Claim 8 (depends on 3)

The electronic device of claim 3, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to:
acquire information regarding a pattern of a user of the electronic device for a designated period of time;
generate a second routine at least partially based on the information regarding the pattern of the user;
recommend the second routine if a second condition included in the second routine is different from the first condition; and
output a notification through the user interface such that, if the second condition is identical to the first condition, and if a second action included in the second routine is different from the first action, the first routine further comprises the second action.

### Claim 9 (depends on 3)

The electronic device of claim 3, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to display information related to the first routine through the user interface.

### Claim 10

An electronic device, comprising:
a user interface;
at least one processor operably coupled to the user interface; and
a memory operably coupled to the at least one processor,
wherein the memory is configured to store instructions that, when executed, cause the at least one processor to:
determine, when the electronic device is in a first state, whether or not a first condition is satisfied;
perform a first action of changing a state of the electronic device from the first state to a second state if the first condition is satisfied;
determine whether or not a second condition is satisfied when the electronic device is in the second state;
perform a second action of changing the state of the electronic device from the second state to a third state if the second condition is satisfied;
maintain the state of the electronic device in the third state if the second condition is satisfied but the first condition is no longer satisfied, when the electronic device is in the third state; and
restore the state of the electronic device from the third state to the first state if the first condition and the second condition are no longer satisfied, when the electronic device is in the third state.

### Claim 11 (depends on 10)

The electronic device of claim 10, further comprising at least one of a communication interface or a sensor module,
wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to determine whether or not the first condition and the second condition are satisfied, at least partially based on data acquired by at least one of the communication interface or the sensor module.

### Claim 12 (depends on 10)

The electronic device of claim 10, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to restore the state of the electronic device from the third state to the first state, which is immediately before the first condition is satisfied, if the second condition is not satisfied while the electronic device maintains the third state since the second condition is satisfied but the first condition is no longer satisfied.

### Claim 13 (depends on 10)

The electronic device of claim 10, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to restore the state of the electronic device from the third state to the second state if the first condition is satisfied but the second condition is no longer satisfied when the electronic device is in the third state.

### Claim 14

An electronic device, comprising:
a communication interface configured to perform wireless communication;
at least one processor operably coupled to the communication interface; and
a memory operably coupled to the at least one processor,
wherein the memory is configured to store instructions that, when executed, cause the at least one processor to:
receive information related to a first routine comprising a first action that is executed if a first condition is satisfied, by using the communication interface, from an external electronic device;
determine whether or not the first action is capable of being performed if the first condition is satisfied when the electronic device is in a first state, at least partially based on the received information related to the first routine;
store the first routine and the first state in the memory if the first action is capable of being performed;
perform the first action to change the first state to a second state, after storing the first routine and the first state; and
return the electronic device to the first state after the first action is performed.

### Claim 15 (depends on 14)

The electronic device of claim 14, wherein the memory is further configured to store information related to the first routine, wherein the information related to the first routine comprises at least one of package information related to determining whether or not the first condition is satisfied, tag information comprising a key value designated to distinguish the first condition, or parameter information comprising a detailed configuration value regarding the tag information.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein the first action is configured to use the at least one of package information related to the first action, tag information comprising a key value designated to distinguish the first action, or parameter information comprising a detailed configuration value regarding the tag information comprising the key value designated to distinguish the first action.

### Claim 17 (depends on 16)

The electronic device of claim 16, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to receive information necessary to perform the first action from a different electronic device through the communication interface, if the first action is not capable of being performed.

### Claim 18 (depends on 14)

The electronic device of claim 14, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to:
change a part of the information related to the first routine at least partially based on information related to a user of the electronic device; and
generate a second routine at least partially based on the changed part of the information related to the first routine.

### Claim 19 (depends on 14)

The electronic device of claim 14, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to:
acquire information regarding a first place inputted from a user, while performing an operation for configuring the first routine; and
receive information recommending a routine related to the first place, through the communication interface, from the external electronic device.

### Claim 20 (depends on 14)

The electronic device of claim 14, wherein the memory is further configured to store instructions that, when executed, cause the at least one processor to:
determine a second place as a point of interest of a user of the electronic device, at least partially based on log information of the electronic device; and
receive a routine related to the second place, through the communication interface, from the external electronic device related to the second place, when the electronic device is positioned at the second place.
