IP Library Granted Patent US 10,944,587
Granted Patent B2
US 10,944,587 · App. 16/215,155 · Granted Mar 9, 2021

Event processing associated with a smart device

Inventors: Jiangbo Yang (Beijing, CN); Chunhui Zhang (Hangzhou, CN); Yanming Cai (Hangzhou, CN); Ji Zhao (Beijing, CN); Wenchao Wang (Beijing, CN); Nan Zhang (Beijing, CN); Hujia Liu (Hangzhou, CN)
Assignee: BANMA ZHIXING NETWORK (HONGKONG) CO., LIMITED
H04L12/282G10L15/26H04L12/281H04L12/2827H04L29/08G06F3/167H04L2012/285H04L2012/2849
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 10,944,587
App. No.
16/215,155
Granted
Mar 9, 2021
Kind
B2
Abstract

Event processing associated with a smart device is disclosed, including: receiving an indication of an event detected by a function module associated with a smart device; determining, based at least in part on event registration information, that an event message is to be sent to a cloud device; and sending the event message to the cloud device. Event processing associated with a smart device also includes: receiving an indication of an event detected by a first function module associated with a smart device; determining, based at least in part on event registration information, that a control message is to be sent to a second function module associated with the smart device; and sending the control message to the second function module associated with the smart device.

Claims (60)

1. A system, comprising:

a processor configured to:

receive a function module registration file, wherein the function module registration file includes a corresponding first set of event names of events to be detected by a first function module at the system and a corresponding second set of event names of events to be detected by a second function module at the system;

execute corresponding initialization processes for the first function module and the second function module based at least in part on the function module registration file;

store event registration information using the function module registration file by storing the corresponding first set of event names of events to be detected by the first function module at the system and storing the corresponding second set of event names of events to be detected by the second function module at the system;

receive an indication of an event detected by the first function module at the system;

determine, based at least in part on the event registration information, that an event message is to be sent to a cloud device, wherein the event message includes an event name associated with the event detected by the first function module; and

send the event message to the cloud device; and

a memory coupled to the processor and configured to provide instructions to the processor.

2. The system of claim 1 , wherein the processor is further configured to:

receive a device profile from a development device; and

store the event registration information based at least in part on the device profile.

3. The system of claim 1 , wherein the event message includes the event name associated with the event, one or more event arguments associated with the event, or both.

4. The system of claim 1 , wherein the processor is further configured to:

determine at least a set period of time has passed since the event message has been sent to the cloud device;

determine that a response has not been received from the cloud device during the set period of time; and

in response to the determination that the response has not been received from the cloud device during the set period of time, resend the event message to the cloud device.

5. The system of claim 1 , wherein the processor is further configured to:

receive an action message from the cloud device, wherein the action message comprises an action identifier, one or more control arguments, or both;

determine a control instruction corresponding to the action identifier; and

execute the control instruction.

6. The system of claim 5 , wherein the processor is further configured to send an action response message to the cloud device, wherein the action response message comprises the action identifier and an action status.

7. The system of claim 6 , wherein the action status comprises one or more of the following: data indicating that the action message has been received at the system, data indicating that preparatory work of an action associated with the action identifier according to the one or more control arguments has been completed at the system, data indicating that the action associated with the action identifier according to the one or more control arguments has been completed at the system and data indicating that an exception has occurred in relation to the action executed according to the one or more control arguments at the system.

8. A method, comprising:

receiving a function module registration file, wherein the function module registration file includes a corresponding first set of event names of events to be detected by a first function module at a system and a corresponding second set of event names of events to be detected by a second function module at the system;

executing corresponding initialization processes for the first function module and the second function module based at least in part on the function module registration file;

storing event registration information using the function module registration file by storing the corresponding first set of event names of events to be detected by the first function module at the system and storing the corresponding second set of event names of events to be detected by the second function module at the system;

receiving an indication of an event detected by the first function module at the system;

determining, based at least in part on the event registration information, that an event message is to be sent to a cloud device, wherein the event message includes an event name associated with the event detected by the first function module; and

sending the event message to the cloud device.

9. The method of claim 8 , further comprising:

receiving a device profile from a development device; and

storing the event registration information based at least in part on the device profile.

10. The method of claim 8 , further comprising:

receiving an action message from the cloud device, wherein the action message comprises an action identifier, one or more control arguments, or both;

determining a control instruction corresponding to the action identifier; and

executing the control instruction.

11. The method of claim 10 , further comprising sending an action response message to the cloud device, wherein the action response message comprises the action identifier and an action status.

12. A system, comprising:

a processor configured to:

receive a function module registration file, wherein the function module registration file includes a corresponding first set of event names of events to be detected by a first function module at the system and a corresponding second set of event names of events to be detected by a second function module at the system, wherein the first function module has an interactive relationship with the second function module;

execute corresponding initialization processes for the first function module and the second function module based at least in part on the function module registration file;

store event registration information using the function module registration file by storing the corresponding first set of event names of events to be detected by the first function module at the system and storing the corresponding second set of event names of events to be detected by the second function module at the system;

receive an indication of an event detected by the first function module at the system;

determine, based at least in part on the event registration information, that a control message is to be sent to the second function module, wherein the control message is determined based at least in part on an event name associated with the event detected by the first function module; and

send the control message to the second function module at the system; and

a memory coupled to the processor and configured to provide instructions to the processor.

13. The system of claim 12 , wherein the processor is further configured to:

receive an action instruction from the first function module; and

use the event registration information to determine that the second function module supports an action associated with the action instruction, wherein the control message comprises a control instruction associated with the action.

14. The system of claim 12 , wherein the processor is further configured to use the event registration information to determine that the second function module is linked to the event and to determine a control instruction to be sent to the second function module, wherein the control instruction is identified in the control message.

15. A method, comprising:

receiving a function module registration file, wherein the function module registration file includes a corresponding first set of event names of events to be detected by a first function module at a system and a corresponding second set of event names of events to be detected by a second function module at the system, wherein the first function module has an interactive relationship with the second function module;

executing corresponding initialization processes for the first function module and the second function module based at least in part on the function module registration file;

storing event registration information using the function module registration file by storing the corresponding first set of event names of events to be detected by the first function module at the system and storing the corresponding second set of event names of events to be detected by the second function module at the system;

receiving an indication of an event detected by the first function module at the system;

determining, based at least in part on the event registration information, that a control message is to be sent to the second function module, wherein the control message is determined based at least in part on an event name associated with the event detected by the first function module; and

sending the control message to the second function module at the system.

16. The method of claim 15 , further comprising using the event registration information to determine that the second function module is linked to the event and to determine a control instruction to be sent to the second function module, wherein the control instruction is identified in the control message.

17. The method of claim 11 , wherein the action status comprises one or more of the following: data indicating that the action message has been received at the system, data indicating that preparatory work of an action associated with the action identifier according to the one or more control arguments has been completed at the system, data indicating that the action associated with the action identifier according to the one or more control arguments has been completed at the system, and data indicating that an exception has occurred in relation to the action executed according to the one or more control arguments at the system.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 11, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: BANMA ZHIXING NETWORK (HONGKONG) CO., LIMITED
Reel/Frame 054384/0014 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 1, 2019
From: YANG, JIANGBO; ZHANG, CHUNHUI; CAI, YANMING; ZHAO, JI; WANG, WENCHAO; ZHANG, NAN; LIU, HUJIA
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 048484/0994 →
Priority Claims (1)
CN 201610435323.2 · Jun 17, 2016 · national
Continuity (2)
Continuation In Part PCTCN2017087136 · Jun 5, 2017
Related Publication 20190182070A1 · Jun 13, 2019
Cited By (1)
US 12,468,645