IP Library Granted Patent US 11,822,935
Granted Patent B2
US 11,822,935 · App. 17/433,666 · Granted Nov 21, 2023

Processing method and apparatus of device status change and non-transitory computer-readable storage medium

Inventors: Zhe Zhang (Beijing, CN); Yingjie Li (Beijing, CN); Naifu Wu (Beijing, CN)
Assignee: BOE Technology Group Co., Ltd.
G06F9/44505G06F9/451
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 11,822,935
App. No.
17/433,666
Granted
Nov 21, 2023
Kind
B2
Abstract

The present disclosure provides a processing apparatus of device status change, including processor configured to: in response to detecting one or more status changes of at least one device, judging whether each status change would cause an update conflict of status information corresponding to the each status change, in a management user interface of the at least one device; store a management user interface update task corresponding to a status change that would not cause the update conflict into a current execution queue, and store a management user interface update task corresponding to a status change that would cause the update conflict into a delayed execution queue; and in the case where the update conflict corresponding to the management user interface update task in the delayed execution queue has ended, execute the management user interface update task corresponding to the update conflict in the delayed execution queue.

Claims (66)

1. A processing method of device status change, which is executed by a processor, comprising:

in response to detecting one or more status changes of at least one device, judging whether each status change would cause an update conflict of status information corresponding to the each status change in a management user interface of the at least one device;

storing a management user interface update task corresponding to a status change that would not cause the update conflict into a current execution queue, and storing a management user interface update task corresponding to a status change that would cause the update conflict into a delayed execution queue; and

in the case where the update conflict corresponding to the management user interface update task in the delayed execution queue has ended, executing the management user interface update task corresponding to the update conflict in the delayed execution queue.

2. The processing method according to claim 1 , wherein the executing the management user interface update task corresponding to the update conflict in the delayed execution queue comprises:

executing the management user interface update task in the delayed execution queue, after the management user interface update task in the current execution queue has been executed.

3. The processing method according to claim 1 , wherein the judging whether each status change would cause an update conflict of status information corresponding to the each status change, in a management user interface of the at least one device comprises:

determining the status change would cause the update conflict in the case where at least one of following conditions is met:

an update of status information caused by a status change conflicting with an update of status information caused by an interaction operation received by the management user interface; or

the number of devices with status change being greater than a threshold.

4. The processing method according to claim 1 , wherein the executing the management user interface update task corresponding to the update conflict in the delayed execution queue comprises:

retrieving a management user interface update task corresponding to a latest status change in the delayed execution queue, and executing it as a target task;

judging whether device and status type corresponding to other management user interface update task in the delayed execution queue are the same as device and status type corresponding to the target task;

removing a management user interface update task with the same device and status type as the target task from the delayed execution queue; and

repeatedly executing above steps until no management user interface update task remains in the delayed execution queue.

5. The processing method according to claim 1 , further comprising:

storing a status change corresponding to the management user interface update tasks in the current execution queue and the delayed execution queue as historical status change information of a device corresponding to the status change, for status information recalling.

6. The processing method according to claim 5 , wherein the storing a status change corresponding to the management user interface update tasks in the current execution queue and the delayed execution queue as historical status change information of device corresponding to the status change comprises:

creating a status aggregation class containing at least one device status class corresponding to the at least one device, the device status class containing a status list for storing the each status change and device operation corresponding to the each status change; and

storing status change corresponding to each management user interface update task in the current execution queue and the delayed execution queue, as the historical status change information of the device corresponding to the status change, in the status list corresponding to the device.

7. The processing method according to claim 1 , wherein the executing the management user interface update task corresponding to the update conflict in the delayed execution queue comprises:

after a certain management user interface update task in the delayed execution queue has been retrieved and executed, in response to a status change that would cause the update conflict during the execution of the management user interface update task, storing the management user interface update task corresponding to the status change into the delayed execution queue; and

preferentially executing the management user interface update task corresponding to the new status change.

8. The processing method according to claim 1 , wherein

the status change is detected by at least one of the following:

detecting the status change in response to a control apparatus sending a control command to the device;

detecting the status change in response to at least one of a monitoring environment or monitoring condition of the device changing, the device being a sensor; or

detecting the status change in response to the control apparatus synchronizing the status information of the device.

9. The processing method according to claim 1 , wherein the storing a management user interface update task corresponding to a status change that would not cause the update conflict into a current execution queue, and storing a management user interface update task corresponding to a status change that would cause the update conflict into a delayed execution queue comprises:

storing the management user interface update task corresponding to the status change that would not cause the update conflict into the current execution queue of a buffer pool; and

storing the management user interface update task corresponding to the status change that would cause the update conflict into the delayed execution queue of the buffer pool.

10. The processing method according to claim 1 , wherein the executing the management user interface update task corresponding to the update conflict in the delayed execution queue comprises:

in the case where the update conflict corresponding to the management user interface update task in the delayed execution queue has ended, adding a data update identifier to the management user interface update task corresponding to the update conflict in the delayed execution queue; and

sending a data update request according to the data update identifier, to update status of the device corresponding to the management user interface update task corresponding to the update conflict, and executing the management user interface update task corresponding to the update conflict.

11. A processing apparatus of device status change, comprising one or more processors configured to:

in response to detecting one or more status changes of at least one device, judge whether each status change would cause an update conflict of status information corresponding to the each status change, in a management user interface of the at least one device;

store a management user interface update task corresponding to a status change that would not cause the update conflict into a current execution queue, and store a management user interface update task corresponding to a status change that would cause the update conflict into a delayed execution queue; and

in the case where the update conflict corresponding to the management user interface update task in the delayed execution queue has ended, execute the management user interface update task corresponding to the update conflict in the delayed execution queue.

12. The processing apparatus according to claim 11 , wherein the executing the management user interface update task in the delayed execution queue comprises:

executing the management user interface update task in the delayed execution queue after the management user interface update task in the current execution queue has been executed.

13. The processing apparatus according to claim 11 , wherein the judge whether each status change would cause an update conflict of status information corresponding to the each status change, in a management user interface of the at least one device comprises:

determining the status change would cause the update conflict in the case where at least one of following conditions is met:

an update of status information caused by a status change conflicting with an update of status information caused by an interaction operation received by the management user interface; or

the number of devices with status change being greater than a threshold.

14. The processing apparatus according to claim 11 , wherein the executing the management user interface update task in the delayed execution queue comprises:

retrieving a management user interface update task corresponding to a latest status change in the delayed execution queue, and executing it as a target task;

judging whether device and status type corresponding to other management user interface update task in the delayed execution queue are the same as device and status type corresponding to the target task;

removing a management user interface update task with the same device and status type as the target task from the delayed execution queue; and

repeatedly executing above steps until no management user interface update task remains in the delayed execution queue.

15. The processing apparatus according to claim 11 , wherein the processor is further configured to:

store a status change corresponding to the management user interface update tasks in the current execution queue and the delayed execution queue as historical status change information of a device corresponding to the status change, for status information recalling.

16. The processing apparatus according to claim 15 , wherein the storing a status change corresponding to the management user interface update tasks in the current execution queue and the delayed execution queue as historical status change information of device corresponding to the status change comprises:

creating a status aggregation class containing at least one device status class corresponding to the at least one device, the device status class containing a status list for storing the each status change and device operation corresponding to the each status change; and

storing status change corresponding to each management user interface update task in the current execution queue and the delayed execution queue, as the historical status change information of the device corresponding to the status change, in the status list corresponding to the device.

17. The processing apparatus according to claim 11 , wherein the executing the management user interface update task in the delayed execution queue comprises:

after a certain management user interface update task in the delayed execution queue has been retrieved and executed, in response to a status change that would cause the update conflict during the execution of the management user interface update task, storing a management user interface update task corresponding to the status change into the delayed execution queue; and

preferentially executing the management user interface update task corresponding to the new status change.

18. The processing apparatus according to claim 11 , wherein the status change is detected by at least one of the following:

detecting the status change in response to a control apparatus sending a control command to the device;

detecting the status change in response to at least one of a monitoring environment or monitoring condition of the device changing, the device being a sensor; or

detecting the status change in response to the control apparatus synchronizing the status information of the device.

19. A non-transitory computer-readable storage medium having computer program instructions stored thereon that, when executed by at least one processor, cause the at least one processor to:

detect one or more status changes of at least one device;

in response to detecting one or more status changes of at least one device, judge whether each status change would cause an update conflict of status information corresponding to the each status change in a management user interface of the at least one device;

store a management user interface update task corresponding to a status change that would not cause the update conflict into a current execution queue, and storing a management user interface update task corresponding to a status change that would cause the update conflict into a delayed execution queue; and

execute the management user interface update task corresponding to the update conflict in the delayed execution queue in the case where the update conflict corresponding to the management user interface update task in the delayed execution queue has ended.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 25, 2021
From: ZHANG, ZHE; LI, YINGJIE; WU, NAIFU
To: BOE TECHNOLOGY GROUP CO., LTD.
Reel/Frame 057281/0506 →
Priority Claims (1)
CN 202010443798.2 · May 22, 2020 · national
Continuity (1)
Related Publication 20220342677A1 · Oct 27, 2022
Cited By (1)
US 12,625,751