Project

General

Profile

Feature #3475

属性下控回复消息和服务下控回复消息存redis改造

Added by yan hong 2 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Start date:
09/10/2024
Due date:
% Done:

0%

Estimated time:
Defect version:

Description

目标版本:jar-gateWayIot-V1.0.7
将属性下控回复消息以list结构存到redis中,其中list命名为prodown_reply, list中每条信息的结构为 “msgid:消息内容”,list限制总共能存10000条。在一个属性下控http请求中,jar包以mqtt格式下发属性下控后进入10s循环,这10s中每200ms向redis获取控制回复;1、若拿到控制回复,根据实际消息内容判断,控制成功http请求回复成功并携带data消息,最后删除redis中对应的消息;控制失败http请求回复失败,保留redis中对应的消息。2、若没拿到控制回复,http请求回复失败。

服务下控回复消息同理,存入redis名为invdown_reply的list中,其他同属性下控。

History

#1

Updated by yan hong 2 months ago

  • Assignee set to yan hong
#2

Updated by yan hong 2 months ago

  • Description updated (diff)
#3

Updated by xiangyang li 2 months ago

  • Target version set to jar_IoT v1.0.7

Also available in: Atom PDF