IP Library Granted Patent US 12701149
Granted Patent B2
US 12701149 · App. 17/916,631 · Granted Aug 4, 2026

Device, method, and medium for recommending service, electronic device, and system

Inventors: Yanan Zhang (Shenzhen, CN); Whan Woong Kim Stransom (Shenzhen, CN); Yuzhuo Peng (Shenzhen, CN); Xuan Zhou (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04L65/1069G06F21/31G06Q20/0855G06Q30/0631G06Q30/0643
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 12701149
App. No.
17/916,631
Granted
Aug 4, 2026
Kind
B2
Abstract

A first electronic device determines a second electronic device within a preset distance when the first electronic device determines, based on a mapping relationship, that a first task that is being executed is not a task that is suitable for being executed by a device type of the first electronic device. The first electronic device receives first information, from the second electronic device, that includes information about a device identifier and a device type of the second electronic device. The first electronic device determines, based on the device identifier and the device type, that the second electronic device is suitable for executing the first task. The first electronic device sends a recommended service corresponding to the first task to the second electronic device. The second electronic device displays prompt information corresponding to the recommended service on a display.

Claims (52)

1 . A first electronic device comprising:

a memory configured to store instructions; and

one or more processors coupled to the memory and configured to execute the instructions to cause the first electronic device to:

log in a first user identifier (ID), wherein the first electronic device stores a first mapping relationship between device types and task types that are suitable for being executed by each of the device types, wherein the device types comprise a first device type of the first electronic device and a second device type of a second electronic device, wherein the first electronic device stores a second mapping relationship between the task types and private task settings, and wherein each of the private task settings indicate whether a corresponding task type is suitable for being executed by either a third electronic device to which any user ID is logged in or a fourth electronic device to which an authorized user ID is logged in;

measure a first distance between the first electronic device and the second electronic device when a first task being executed is not suitable for being executed by the first device type based on the first mapping relationship;

receive, from the second electronic device, first information comprising a first device identifier of the second electronic device and comprising the second device type when the first distance between the first electronic device and the second electronic device is less than a preset distance;

determine, based on the first device identifier, that a second user ID logged in to the second electronic device is authorized by the first user ID, wherein the first electronic device stores a second device identifier of an electronic device associated with the second user ID and comprising the second electronic device, and wherein the first task is suitable for being executed by the second electronic device based on the second mapping relationship and based on the second user ID being authorized by the first user ID; and

output, on a display and based on the second electronic device being suitable for executing the first task according to the second device type and the first mapping relationship, an interface that includes a first selectable option configured to send, to the second electronic device, a recommended service corresponding to the first task, wherein the recommended service comprises a first task type corresponding to the first task and service content.

2 . The first electronic device of claim 1 , wherein the second user ID is authorized by the first user ID based on the first user ID and the second user ID being in a same family group.

3 . The first electronic device of claim 1 , wherein the device types comprise a third device type of a fifth electronic device, and wherein the one or more processors are further configured to execute the instructions to cause the first electronic device to:

measure a second distance between the first electronic device and the fifth electronic device when the first task being executed is not suitable for being executed by the first device type based on the first mapping relationship;

compare the second distance between the first electronic device and the fifth electronic device to the preset distance;

receive, from the fifth electronic device and based on the second distance between the first electronic device and the fifth electronic device being less than the preset distance, second information comprising a third device identifier of the fifth electronic device and comprising the third device type; and

store the third device identifier of the fifth electronic device, wherein a third user ID is logged into the fifth electronic device and is associated with the first user ID,

wherein the interface includes, based on the third electronic device being suitable for executing the first task according to the third device type and the first mapping relationship, a second selectable option configured to send, to the fifth computing device, the recommended service corresponding to the first task.

4 . The first electronic device of claim 1 , wherein the interface includes a graphic configured to initiate, on an interacting device, the recommended service corresponding to the first task.

5 . The first electronic device of claim 4 , wherein the graphic is configured to disappear after a particular period of time elapses without a user interacting with the graphic.

6 . The first electronic device of claim 1 , wherein measuring the first distance comprises measure the first distance using an infrared-based or laser-based technique.

7 . The first electronic device of claim 1 , wherein the first electronic device is a television and the second electronic device is a watch.

8 . A method for recommending a service implemented by a first electronic device, wherein the method comprises:

logging in a first user identifier (ID), wherein the first electronic device stores a mapping relationship between device types and task types that are suitable for being executed by each of the device types, wherein the device types comprise a first device type of the first electronic device and a second device type of a second electronic device, wherein the first electronic device stores a second mapping relationship between the task types and private task settings, and wherein each of the private task settings indicate whether a corresponding task type is suitable for being executed by either a third electronic device to which any user ID is logged in or a fourth electronic device to which an authorized user ID is logged in;

measuring a first distance between the first electronic device and the second electronic device when a first task being executed is not suitable for being executed by the first device type based on the first mapping relationship;

receiving, from the second electronic device, first information comprising a first device identifier of the second electronic device and the second device type when the first distance between the first electronic device and the second electronic device is less than a preset distance;

determining, based on the first device identifier, that a second user ID logged in to the second electronic device is authorized by the first user ID, wherein the first electronic device stores a second device identifier of an electronic device associated with the second user ID and comprising the second electronic device, and wherein the first task is suitable for being executed by the second electronic device based on the second mapping relationship and based on the second user ID being authorized by the first user ID; and

outputting, on a display and based on the second electronic device being suitable for executing the first task according to the second device type and the first mapping relationship, an interface that includes a first selectable option configured to send, to the second electronic device, the service corresponding to the first task.

9 . The method of claim 8 , wherein the second user ID is authorized by the first user ID based on the first user ID and the second user ID are in a same family group.

10 . The method of claim 8 , wherein the device types comprise a third device type of a fifth electronic device, and wherein the method further comprises:

measuring a second distance between the first electronic device and the fifth electronic device when the first task being executed is not suitable for being executed by the first device type based on the first mapping relationship;

comparing the second distance between the first electronic device and the fifth electronic device to the preset distance;

receiving, from the fifth electronic device and based on the second distance between the first electronic device and the fifth electronic device being less than the preset distance, second information comprising a third device identifier of the fifth electronic device and comprising the third device type; and

storing the third device identifier of the fifth electronic device, wherein a third user ID is logged into the fifth electronic device and is associated with the first user ID,

wherein the interface includes, based on the third electronic device being suitable for executing the first task according to the third device type and the first mapping relationship, a second selectable option configured to send, to the fifth computing device, the service corresponding to the first task.

11 . The method of claim 8 , wherein the interface includes a graphic configured to initiate, on an interacting device, the service corresponding to the first task.

12 . The method of claim 11 , wherein the graphic is configured to disappear after a particular period of time elapses without a user interacting with the graphic.

13 . The method of claim 8 , wherein measuring the first distance comprises measuring the first distance using an infrared-based or laser-based technique.

14 . The method of claim 8 , wherein the first electronic device is a television and the second electronic device is a watch.

15 . A computer program product comprising instructions that are stored on a non-transitory computer-readable storage medium and that, when executed by one or more processors, cause a first electronic device to:

log in a first user identifier (ID), wherein the first electronic device stores a first mapping relationship between device types and task types that are suitable for being executed by each of the device types, wherein the device types comprise a first device type of the first electronic device and a second device type of a second electronic device, wherein the first electronic device stores a second mapping relationship between the task types and private task settings, and wherein each of the private task settings indicate whether a corresponding task type is suitable for being executed by either a third electronic device to which any user ID is logged in or a fourth electronic device to which an authorized user ID is logged in;

measure a first distance between the first electronic device and the second electronic device when a first task being executed is not suitable for being executed by the first device type based on the first mapping relationship;

receive, from the second electronic device, first information comprising a first device identifier of the second electronic device and comprising the second device type when the first distance between the first electronic device and the second electronic device is less than a preset distance;

determine, based on the first device identifier, that a second user ID logged in to the second electronic device is authorized by the first user ID, wherein the first electronic device stores a second device identifier of an electronic device associated with the second user ID and comprising the second electronic device, and wherein the first task is suitable for being executed by the second electronic device based on the second mapping relationship and based on the second user ID being authorized by the first user ID; and

output, on a display and based on the second electronic device being suitable for executing the first task according to the second device type and the first mapping relationship, an interface that includes a first selectable option configured to send, to the second electronic device, a recommended service corresponding to the first task, wherein the recommended service comprises a first task type corresponding to the first task and service content.

16 . The computer program product of claim 15 , wherein the second user ID is authorized by the first user ID based on the first user ID and the second user ID being in a same family group.

17 . The computer program product of claim 15 , wherein the device types comprise a third device type of a fifth electronic device, and wherein the one or more processors are further configured to cause the first electronic device to:

measure a second distance between the first electronic device and the fifth electronic device when the first task being executed is not suitable for being executed by the first device type based on the first mapping relationship;

compare the second distance between the first electronic device and the fifth electronic device to the preset distance;

receive, from the fifth electronic device and based on the second distance between the first electronic device and the fifth electronic device being less than the preset distance, second information comprising a third device identifier of the fifth electronic device and comprising the third device type; and

store the third device identifier of the fifth electronic device, wherein a third user ID is logged into the fifth electronic device and is associated with the first user ID,

wherein the interface includes, based on the third electronic device being suitable for executing the first task according to the third device type and the first mapping relationship, a second selectable option configured to send, to the fifth computing device, the recommended service corresponding to the first task.

18 . The computer program product of claim 15 , wherein the interface includes a graphic configured to initiate, on an interacting device, the recommended service corresponding to the first task.

19 . The computer program product of claim 15 , wherein measuring the first distance comprises measure the first distance using an infrared-based or laser-based technique.

20 . The computer program product of claim 15 , wherein the first electronic device is a television and the second electronic device is a watch.