Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Intelligent device state information persistence method and platform based on WebHook service

A state information and smart device technology, applied in the direction of digital data information retrieval, structured data retrieval, special data processing applications, etc., can solve the problems of low query efficiency and long waiting time for requests, so as to reduce waiting time and improve query efficiency Effect

Pending Publication Date: 2021-12-07
珠海太川云社区技术股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the problem that the platform obtains the current state value of each device from the gateway due to many nodes, the request waiting time is long and the query efficiency is low, the embodiment of the present invention provides a smart device state information persistence based on WebHook service Method and smart home business management platform

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Intelligent device state information persistence method and platform based on WebHook service
  • Intelligent device state information persistence method and platform based on WebHook service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

[0036] An embodiment of the present invention provides a method for persisting status information of smart devices based on WebHook services. The method can be applied to a smart home business management platform. The smart home business management platform includes an emqx message server, a WebHook service module, a Redis database, and at least A property consumer service process. Such as figure 1 The flow chart of the method for persisting status information of smart devices based on the WebHook service is shown, and the processing flow of the method may include the following steps:

[0037] S1. When the emqx message server receives the change instruction of the attribute status value, the emqx message server publishes the change value of the attribut...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an intelligent device state information persistence method based on WebHook service and an intelligent home service management platform, and relates to the technical field of intelligent home. The method comprises the steps that when an emqx message server receives a change instruction of an attribute state value, the emqx message server issues the change value of the attribute state value to a WebHook service module; the WebHook service module updates the attribute value to a memory queue based on the change value; the WebHook service module updates the attribute value of the equipment to the Redis database, and the Redis database returns an update result to the WebHook service module; and when the production speed of the message is greater than the speed of updating the WebHook service module to the Redis database, at least one property consumption service process is started, an attribute value is taken out from the WebHook service module by each property consumption service process, and the attribute value is updated to the Redis database. By adopting the method and the device, the device state data can be directly obtained from the redis service of the platform and returned to the mobile terminal, so that the data query waiting time of the mobile terminal is shortened, and the query efficiency is improved.

Description

technical field [0001] The present invention relates to the field of smart home technology, in particular to a method for persisting status information of smart devices based on WebHook services and a smart home business management platform. Background technique [0002] In the current smart home field, device status information is stored in the gateway device, and the platform and mobile terminal cannot receive device status change events and changed status values. When the mobile terminal displays the status of the device, it must be transferred through the platform, and the platform obtains the current status value of each device from the gateway. The request process has a long waiting time due to the large number of nodes, resulting in low query efficiency. At the same time, the network where the gateway is located fluctuates. It has a great influence on the success rate of data acquisition. Contents of the invention [0003] In order to solve the problem that the pla...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/22G06F16/23G06F16/2455
CPCG06F16/2291G06F16/2358G06F16/24552
Inventor 陈国伟郭传刚林松斌唐锋庄必宇
Owner 珠海太川云社区技术股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products