Project

General

Profile

Feature #2117

广州现场网关的规约修改

Added by pengfei xu over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
05/18/2022
Due date:
05/20/2022
% Done:

100%

Estimated time:
Defect version:

Description

修改广州现场网关的se104s,sefeps规约;

问题:
1:现场发现:se104s规约收到错误的报文(报文中的长度错误),导致规约不再处理接收报文而导致网关的连接切换;
2.现场出现网关崩溃现象,由于sefeps规约处理变长帧时(收到错误变长帧)导致网关崩溃;

104s规约修改:
电度处理:当没有配置电度时,收到电度总召时返回0(处理导致崩溃,之前是让工程部注意配置是否电度总召);
报文处理:收到长度大于256报文或长时间没有收到完整报文(大于3秒)就删除报文;
(变长处理帧修改,会删除错误的变长处理帧,对比sefeps一起新增的)

sefeps修改:
报文处理:长时间没有收到完整报文(大于3秒)就删除报文;
变长处理帧处理修改:现场抓包测试出现报文收到只有七字节长度的变长处理帧但recvdata.ContLen是unsigned型(赋值负数有问题,导致网关崩溃),使用int型承接计算式;

History

#1

Updated by pengfei xu over 2 years ago

  • Status changed from New to In Progress
#2

Updated by pengfei xu over 2 years ago

  • Description updated (diff)
#3

Updated by xiangyang li over 2 years ago

  • Target version set to FEP_HA_V3.1.2
#4

Updated by pengfei xu over 2 years ago

  • Due date set to 05/20/2022
  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF