# US 2022/0012547 A1 · Method and apparatus for controlling smart device to perform corresponding operations

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

- Number: US 2022/0012547 A1
- Document ID: US20220012547A1
- Status: Published application
- Kind: A1
- Application number: 17/417,667
- Filed: 2019-12-24
- Published: 2022-01-13
- Earliest claimed: 2018-12-24
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Bo ZHU; Haixiao LIU; Xiaoyan LOU
- Web page: https://patentgrep.com/patent/US20220012547A1

## CPC

- G06F 18/2411: based on the proximity to a decision surface, e.g. support vector machines
- G05B 15/02: electric
- H04M 1/72415: for remote control of appliances
- G05B 2219/2642: Domotique, domestic, home control, automation, smart house
- G06F 2218/00: Aspects of pattern recognition specially adapted for signal processing
- H04M 1/72448: with means for adapting the functionality of the device according to specific conditions
- H04M 1/72454: according to context-related or environment-related conditions
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

Embodiments of the present disclosure provides a device control method, an apparatus, an electronic device, and a computer readable storage medium, the method including: acquiring a device control instruction input by a user, acquiring at least one of user information, environment information, and device information, and controlling at least one target device to perform a corresponding operation based on the acquired information and the device control instruction. The embodiments of the present disclosure implement the safe and convenient control of a smart device to perform corresponding operations.

## Claims

### Claim 1

A method performed by an electronic device, the method comprising:
acquiring a device control instruction input by a user;
acquiring at least one of the following information: user information, environment information, and device information; and
controlling at least one target device to perform a corresponding operation based on the acquired information and the device control instruction.

### Claim 2 (depends on 1)

The method of claim 1,
wherein the user information comprises user profile information or device control authority information of the user;
wherein the device information comprises working state information of the device; and
wherein the environment information comprises working environment information of the device.

### Claim 3 (depends on 1)

The method of claim 1, wherein controlling the at least one target device to perform a corresponding operation based on the acquired information and the device control instruction further comprises:
outputting an operation result of rejecting to execute the device control instruction based on the acquired information and the device control instruction.

### Claim 4 (depends on 3)

The method of claim 3, wherein outputting an operation result of rejecting to execute the device control instruction further comprises:
outputting the operation result of rejecting to execute the device control instruction, when determining that at least one of the following is satisfied according to the acquired information:
the user possessing no control authority for the at least one target device; the user possessing no control authority for a target function corresponding to the device control instruction; the at least one target device not satisfying an execution condition corresponding to the device control instruction; and a working environment of the at least one target device not satisfying an execution condition corresponding to the device control instruction.

### Claim 5 (depends on 1)

The method of claim 1, wherein controlling the at least one target device to perform a corresponding operation further comprises:
determining at least one target device corresponding to the device control instruction or a target function corresponding to the device control instruction, based on the acquired information and the device control instruction; and
controlling at least one target device to perform the corresponding operation based on the at least one target device or the target function.

### Claim 6 (depends on 5)

The method of claim 5, wherein determining the at least one target device corresponding to the device control instruction further comprises:
performing domain classification processing based on the acquired information and the device control instruction to obtain an execution probability of each device; and
outputting the operation result of rejecting to execute the device control instruction if the execution probability of each device is less than a first preset threshold, or otherwise,
wherein determining the at least one target device corresponding to the device controlling device is based on the execution probability of each device.

### Claim 7 (depends on 5)

The method of claim 5, wherein determining the target function corresponding to the device control instruction further comprises:
performing intent classification processing based on the acquired information and the device control instruction to determine an execution probability of each control function; and
outputting the operation result of rejecting to execute the device control instruction if the execution probability of each control function is less than a second preset threshold, or otherwise, determining the target function corresponding to the device control instruction based on the execution probability of each control function.

### Claim 8 (depends on 1)

The method of claim 1, wherein controlling the at least one target device to perform the corresponding operation based on the acquired information and the device control instruction further comprises:
controlling the at least one target device to perform the corresponding operation according to target parameter information based on the acquired information, wherein the target parameter information is the parameter information after the parameter information in the device control instruction is changed.

### Claim 9 (depends on 8)

The method of claim 8, wherein controlling the at least one target device to perform the corresponding operation according to the target parameter information further comprises:
controlling the at least one target device to perform the corresponding operation according to the target parameter information when satisfying at least one of the following:
the device control instruction not containing a parameter value; and
the parameter value contained in the device control instruction not belonging to the parameter value in a parameter value range determined by the acquired information.

### Claim 10 (depends on 8)

The method of claim 8, wherein controlling the at least one target device to perform a corresponding operation according to the target parameter information further comprises:
performing slot tag processing on the device control instruction to obtain the parameter information in the device control instruction;
determining whether to change the parameter information in the device control instruction based on the parameter information in the device control instruction and the acquired information; and
if changed, determining the changed target parameter information based on the parameter information in the device control instruction and the acquired information.

### Claim 11 (depends on 10)

The method of claim 10, wherein determining whether to change the parameter information in the device control instruction based on the parameter information in the device control instruction and the acquired information further comprises:
obtaining, by logistic regression processing, a logistic regression result based on the parameter information in the device control instruction and the acquired information;
determining whether to change the parameter information in the device control instruction based on the logistic regression result; and
wherein determining the changed target parameter information based on the parameter information in the device control instruction and the acquired information further comprises:
obtaining, by linear regression processing, a linear regression result based on the parameter information in the device control instruction and the acquired information; and
determining the changed parameter information based on the linear regression result.

### Claim 12 (depends on 10)

The method of claim 10, further comprising:
acquiring multiple training data; and
training, through a target loss function, a processing model for changing the parameter information in the device control instruction based on the acquired training data,
wherein any of the training data of the multiple training data comprises:
the device control information, the parameter information in the device control information, the indication information that whether to change the parameter in the device control instruction, the changed parameter information, the user information, the environment information, and the device information.

### Claim 13 (depends on 12)

The method of claim 12, wherein before training the model based on the acquired training data and through the target loss function:
determining the target loss function,
wherein determining the target loss function comprises:
determining a first loss function based on the parameter information in the device control instruction in each training data and the parameter information in the device control instruction predicted by the model;
determining a second loss function based on the information indicating whether the parameter in the device instruction in each training data has been changed and the information indicating whether changed predicted by the model;
determining a third loss function based on the changed parameter information in each training data and the changed parameter information predicted by the model; and
determining the target loss function based on the first loss function, the second loss function, and the third loss function.

### Claim 14 (depends on 1)

The method of claim 1, wherein after acquiring at least one of the user information, the environment information and the device information, the method further comprises:
converting discrete information in the acquired information into a continuous dense vector;
determining an information representation vector corresponding to the acquired information, according to the converted continuous dense vector and continuous information in the acquired information; and
controlling the at least one target device to perform the corresponding operation based on the acquired information and the device control instruction,
wherein at least one target device performs an operation based on the information representation vector corresponding to the acquired information and the device control instruction.

### Claim 15

An apparatus for controlling a device, the apparatus comprising:
a first acquiring module, configured to acquire a device control instruction input by a user and at least one of the following acquired information: user information, environment information, and device information; and
a control module, configured to control at least one target device to perform a corresponding operation based on the information acquired by the first acquiring module and the device control instruction.

### Claim 16 (depends on 15)

The apparatus of claim 15,
wherein the user information comprises user profile information or device control authority information of the user,
wherein the device information comprises working state information of the device, and
wherein the environment information comprises working environment information of the device.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the control module, in order to control the at least one target device to perform the corresponding operation based on the acquired information and the device control instruction, is further configured to:
output an operation result of rejecting to execute the device control instruction based on the acquired information and the device control instruction.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the control module, in order to output the operation result of rejecting to execute the device control instruction, is further configured to:
output the operation result of rejecting to execute the device control instruction, when determining that at least one of the following is satisfied according to the acquired information:
the user possessing no control authority for the at least one target device, the user possessing no control authority for a target function corresponding to the device control instruction, the at least one target device not satisfying an execution condition corresponding to the device control instruction, and a working environment of the at least one target device not satisfying an execution condition corresponding to the device control instruction.

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein the control module, in order to control the at least one target device to perform the corresponding operation, is further configured to:
determine at least one target device corresponding to the device control instruction or a target function corresponding to the device control instruction, based on the acquired information and the device control instruction; and
control at least one target device to perform the corresponding operation based on the at least one target device or the target function.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the control module, in order to determine the at least one target device corresponding to the device control instruction, is further configured to:
perform domain classification processing based on the acquired information and the device control instruction to obtain an execution probability of each device; and
output the operation result of rejecting to execute the device control instruction if the execution probability of each device is less than a first preset threshold, or otherwise, determining at least one target device corresponding to the device controlling device based on the execution probability of each device.
