# US 12,192,956 B2 · Device cooperation method, apparatus, and system for jointly completing an event with another device

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

- Number: US 12,192,956 B2
- Document ID: US12192956B2
- Status: Granted
- Kind: B2
- Application number: 17/599,406
- Filed: 2020-03-27
- Published: 2022-06-16
- Granted: 2025-01-07
- Earliest claimed: 2019-03-29
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Chenglu Wang; Dongliang Liu; Bowen Zheng; Yilong Cao
- Web page: https://patentgrep.com/patent/US12192956B2

## CPC

- H04L 12/2803: {Home automation networks}
- H04W 68/005: {Transmission of information for alerting of incoming communication}
- H04L 12/2816: {Controlling appliance services of a home automation network by calling their functionalities (arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station; in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom H04Q9/00)}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 67/104: Peer-to-peer [P2P] networks
- H04L 67/141: Setup of application sessions (admission control or resource allocation in data switching networks H04L47/70)
- H04L 67/565: Conversion or adaptation of application format or content (adding application control or application functional data H04L67/561)
- H04W 76/10: Connection setup
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A system comprises a primary device, the primary device pre-establishes communication connections to a plurality of secondary devices. The method comprising: receiving, by the primary device, a to-be-processed event; recognizing, by the primary device, an event type and event information of the to-be-processed event; obtaining, by the primary device, device information of each of the plurality of secondary devices; obtaining, by the primary device, a device filtering condition corresponding to the event type; determining, by the primary device based on the device information of each of the plurality of secondary devices, a first secondary device that meets the device filtering condition; and sending, by the primary device, the event type and the event information to the first secondary device when the primary device determines that a data type of the event information is a data type supported by the first secondary device.

## Claims

### Claim 1

A device cooperation method, wherein the method is applied in a primary device, the primary device pre-establishes communication connections to a plurality of secondary devices, and the method comprises:
receiving, by the primary device, a to-be-processed event;
recognizing, by the primary device, an event type and event information of the to-be-processed event, the event information indicating a data type of the event information;
obtaining, by the primary device, device information of each of the plurality of secondary devices;
obtaining, by the primary device, a device filtering condition corresponding to the event type, wherein the device filtering condition is used to indicate device information of a secondary device matching the event type;
determining, by the primary device based on the device information of each of the plurality of secondary devices, a first secondary device that satisfies the device filtering condition;
determining, by the primary device based on the device information of the first secondary device and on the data type of the event information indicated in the event information, whether the data type of the event information is a data type supported by the first secondary device; and
sending, by the primary device, the event type and the event information to the first secondary device based on the primary device determining that the data type of the event information is a data type supported by the first secondary device,
wherein after the determining, by the primary device based on the device information of each of the plurality of secondary devices, the first secondary device that satisfies the device filtering condition, the method further comprises:
based on the primary device determining that the data type of the event information is a data type not supported by the first secondary device, converting, by the primary device, the event information into a data type supported by the first secondary device, to obtain target data; and
sending, by the primary device, the event type and the target data to the first secondary device.

### Claim 2 (depends on 1)

The device cooperation method according to claim 1, wherein the sending, by the primary device, the event type and the event information to the first secondary device comprises:
encrypting, by the primary device, the event type and the event information to obtain encrypted data; and
sending, by the primary device, the encrypted data to the first secondary device.

### Claim 3 (depends on 1)

The device cooperation method according to claim 1, wherein
based on the data type supported by the first secondary device being an audio type and the event type being a notification-type event, the target data is audio data;
based on the data type supported by the first secondary device being an audio type and the event type being a music playing event, the target data is audio data; or
based on the data type supported by the first secondary device being an instruction type and the event type being a notification-type event, the target data is a control instruction.

### Claim 4 (depends on 1)

The device cooperation method according to claim 1, wherein the sending, by the primary device, the event type and the target data to the first secondary device comprises:
encrypting, by the primary device, the event type and the target data to obtain encrypted data; and
sending, by the primary device, the encrypted data to the first secondary device.

### Claim 5 (depends on 1)

The device cooperation method according to claim 1, wherein
the device information comprises an operating status of the secondary device, an output capability of the secondary device, and a distance between the secondary device and a user.

### Claim 6 (depends on 5)

The device cooperation method according to claim 5, wherein
based on the event type being a notification-type event, the device filtering condition comprises: the secondary device is in a power-on state, the distance between the secondary device and the user is less than a threshold distance, and the secondary device has an output capability of displaying an image, outputting a sound, or vibration;
based on the event type being a video playing event, the device filtering condition comprises: the secondary device is in a power-on state, the distance between the secondary device and the user is less than a threshold distance, and the secondary device has an output capability of displaying an image and outputting a sound; or
based on the event type being a music playing event, the device filtering condition comprises: the secondary device is in a power-on state, the distance between the secondary device and the user is less than a threshold distance, and the secondary device has an output capability of outputting a sound.

### Claim 7 (depends on 1)

The device cooperation method according to claim 1, wherein the to-be-processed event is a notification-type event, a speech instruction, or a screen touch instruction.

### Claim 8 (depends on 1)

The device cooperation method according to claim 1, wherein the obtaining, by the primary device, the device information of each of the plurality of secondary devices comprises:
sending, by the primary device, a device information obtaining instruction to each of the plurality of secondary devices; and
receiving, by the primary device, the device information sent by each of the plurality of secondary devices.

### Claim 9

A device cooperation method, wherein the method is applied in an intermediate device, the intermediate device pre-establishes communication connections to one primary device and a plurality of secondary devices, and the method comprises:
receiving, by the intermediate device, a to-be-processed event sent by the primary device;
recognizing, by the intermediate device, an event type and event information of the to-be-processed event, the event information indicating a data type of the event information;
obtaining, by the intermediate device, device information of each of the plurality of secondary devices;
obtaining, by the intermediate device, a device filtering condition corresponding to the event type, wherein the device filtering condition is used to indicate device information of a secondary device matching the event type;
determining, by the intermediate device based on the device information of each of the plurality of secondary devices, a first secondary device that satisfies the device filtering condition;
determining, by the intermediate device based on the device information of the first secondary device and on the data type of the event information indicated in the event information, whether the data type of the event information is a data type supported by the first secondary device; and
sending, by the intermediate device, the event type and the event information to the first secondary device based on the intermediate device determining that the data type of the event information is a data type supported by the first secondary device,
wherein after the determining, by the intermediate device based on the device information of each of the plurality of secondary devices, the first secondary device that satisfies the device filtering condition, the method further comprises:
based on the intermediate device determining that the data type of the event information is a data type not supported by the first secondary device, converting, by the intermediate device, the event information into a data type supported by the first secondary device, to obtain target data; and
sending, by the intermediate device, the event type and the target data to the first secondary device.

### Claim 10

A primary device, wherein the primary device pre-establishes communication connections to a plurality of secondary devices, the primary device comprises a processor and a memory, the memory is configured to store instructions, and the processor is configured to execute the instructions stored in the memory; and
the processor is configured to:
receive a to-be-processed event;
recognize an event type and event information of the to-be-processed event, the event information indicating a data type of the event information;
obtain device information of each of the plurality of secondary devices;
obtain a device filtering condition corresponding to the event type, wherein the device filtering condition is used to indicate device information of a secondary device matching the event type;
determine, based on the device information of each of the plurality of secondary devices, a first secondary device that satisfies the device filtering condition;
determine based on the device information of the first secondary device and on the data type of the event information indicated in the event information, whether the data type of the event information is a data type supported by the first secondary device; and
send the event type and the event information to the first secondary device based on determining that the data type of the event information is a data type supported by the first secondary device, and
based on determining that the data type of the event information is a data type not supported by the first secondary device:
convert the event information into a data type supported by the first secondary device, to obtain target data; and
send the event type and the target data to the first secondary device.

### Claim 11 (depends on 10)

The primary device according to claim 10, wherein
the processor is configured to:
encrypt the event type and the event information to obtain encrypted data; and
send the encrypted data to the first secondary device.

### Claim 12 (depends on 10)

The primary device according to claim 10, wherein
based on the data type supported by the first secondary device being an audio type and the event type being a notification-type event, the target data is audio data;
based on the data type supported by the first secondary device being an audio type and the event type being a music playing event, the target data is audio data; or
based on the data type supported by the first secondary device being an instruction type and the event type being a notification-type event, the target data is a control instruction.

### Claim 13 (depends on 10)

The primary device according to claim 10, wherein
the processor is configured to:
encrypt the event type and the target data to obtain encrypted data; and
send the encrypted data to the first secondary device.

### Claim 14 (depends on 10)

The primary device according to claim 10, wherein the device information comprises an operating status of the secondary device, an output capability of the secondary device, and a distance between the secondary device and a user.

### Claim 15 (depends on 14)

The primary device according to claim 14, wherein
based on the event type being a notification-type event, the device filtering condition comprises: the secondary device is in a power-on state, the distance between the secondary device and the user is less than a threshold distance, and the secondary device has an output capability of displaying an image, outputting a sound, or vibration;
based on the event type being a video playing event, the device filtering condition comprises: the secondary device is in a power-on state, the distance between the secondary device and the user is less than a threshold distance, and the secondary device has an output capability of displaying an image and outputting a sound; or
based on the event type being a music playing event, the device filtering condition comprises: the secondary device is in a power-on state, the distance between the secondary device and the user is less than a threshold distance, and the secondary device has an output capability of outputting a sound.

### Claim 16 (depends on 10)

The primary device according to claim 10, wherein the to-be-processed event is a notification-type event, a speech instruction, or a screen touch instruction.

### Claim 17 (depends on 10)

The primary device according to claim 10, wherein
the processor is configured to:
send a device information obtaining instruction to each of the plurality of secondary devices; and
receive the device information sent by each of the plurality of secondary devices.
