Files
2026-03-01 01:43:46 +08:00

573 lines
16 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 3.6 系统提示优化 - 信安错误提醒优化(5 天)
> [!NOTE]
> 开发环境删除 DEFAULT_FILE_HEADER 配置项和生产保持一致。(生产不存在,已备份。)
1.登录“浙江省客户经理”账号
2.进入工单管理 - 运营操作工单 - 新建工单,问题类型选择“域名配置需求”,需求类型选择“新增”,企业:江苏宝胜集团有限公司,产品:下载加速
3.已下载 信安信息模板
## 需求评审
1. 触发场景;(域名配置需求 - 新增、cache+ 域名配置工单。)
2. 返回前端的格式;(未确认。)
3. 梳理现状后还是对需求的重点存在一些疑问;(未确认。)
## 需求备注
[信安附件校验场景(域名配置需求和cache+域名配置) (kdocs.cn)](https://www.kdocs.cn/l/cp84H09h2t89)
信安附件中的必填项填写不完整,上传失败(**必填说明目前固定提示,未反馈到前端具体的字段。**)
点播业务回源类型为必填项
20240729085016.komect.com 邮编超出规定长度,请重新填写
20240729085016.komect.com 移动电话格式不合法,上传失败
回源地址填写有误,回源地址只支持一个
example..com 域名格式有误,上传失败
备站回源最多只支持 10 个地址
20240729085016.komect.com 备案号中含有空格,上传失败
上传成功!存在域名备案号与工信部备案号不一致,域名展示为不合法,请知晓!(**备案号的统一提示,非强制性校验。**)
> 只支持检测一个问题域名。
## 需求开发
企业客户(cache+
```json
/workorder/requestDomain/upload
name: 信安导入模板-2.xls
type: CACHE_DOMAIN_CONFIG
file: (binary)
{
"id": "lhsymnanio5vjnvwvtp9mf3xj",
"info": {
"domain": "20240729085016.komect.com",
"domainType": "0",
"icp": "京ICP备0500_komect.com_12号",
"loopDomain": [
{
"mainFlag": true,
"type": "domain",
"value": "so1urce1.test.com"
},
{
"mainFlag": false,
"type": "domain",
"value": "back1.test.com"
}
],
"speedList": [
{
"cpDomain": "",
"domain": "20240729085016.komect.com",
"icpNumber": "京ICP备0500_komect.com_12号"
}
],
"subdomain": [
]
},
"name": "信安导入模板-2.xls"
}
```
域名配置需求(esop
```json
/workorder/requestDomain/upload
name: 信安导入模板-2.xls
enterprise: 9nx9slcl-119v79asconu0gft
product: 下载加速
type: domain_request
file: (binary)
{
"id": "ewfkxrjl465emf0azwx4mj08u",
"info": [
{
"cpDomain": "",
"domain": "20240729085016.komect.com",
"domainType": "0",
"icp": "京ICP备0500_komect.com_12号",
"loopDomain": [
{
"mainFlag": true,
"type": "domain",
"value": "so1urce1.test.com:80"
},
{
"mainFlag": false,
"type": "domain",
"value": "back1.test.com:80"
}
],
"speedList": [
{
"cpDomain": "",
"domain": "20240729085016.komect.com",
"icpNumber": "京ICP备0500_komect.com_12号"
}
]
}
],
"name": "信安导入模板-2.xls"
}
```
system_config::SYSTEM_CONFIG_DEFAULT_FILE_HEADER
```
DEFAULT_FILE_HEADER
JPEG,FFD8FF;PNG,89504E47;GIF,47494638;TXT,75736167;PDF,255044462D312E;DOC,D0CF11E0;XML,3C3F786D6C;DOCX,504B030;XLS,D0CF11E0;XLSX,504B0304;JPG,FFD8FFE00;RAR,52617221;BMP,424D
```
# 3.8 试用到期邮件提醒优化(P1)
> [!NOTE]
> 两个邮件的密送人增加占小虹、姬高峰,即 STOP_PRE_TESTORDER_NOTIFY_ROLE_EMAIL、STOP_TESTORDER_NOTIFY_ROLE_EMAIL 两个配置项增加占小虹( zhanxiaohong@cmhi.chinamobile.com )、姬高峰( jigaofeng@cmhi.chinamobile.com )配置。这个之前就已经加过了。
加 patch
**定时任务**
每十分钟查询一次试用流量
默认一天扫描一次,每天早上 9 点触发
**数据库时间**
actual_start_time2024-05-20 09:30:3019 位,库中统一)
actual_end_time2024-05-20 09:30:3019 位,库中统一)
start_time:存在 10 位和 19 位
end_time10 位
**生产现状**
<table>
<tr>
<th><b>试用开始时间</b></th>
<th><b>预计试用结束时间</b></th>
<th><b>可试用时长(天)</b></th>
<th><b>已试用时长(天)</b></th>
</tr>
<tr>
<td>2024-07-16 00:00:00</td>
<td>2024-08-15</td>
<td>30</td>
<td>28</td>
</tr>
</table>
**邮件字段**
**企业名称**enterpriseName
**订单号**orderNumber
**商业类型**businessType
**试用总流量**trialRequested
**试用开始时间**startTime
**试用结束时间**realEndDate
**可使用时长**(天):testDuration
**已试用时长**(天):alreadyTestDays
通知日期:currentDate
**已试用流量**trialUsed
试用流量剩余:trialRemaining
试用时长剩余:timeRemaining
ECID000202310161117-ZPHA202310161117
```
1PB = 1099511627776 KB
1PB的65% = 714682558054.4 KB
1PB的85% = 934584883609.6 KB
```
7146825580544
5497558138880
7318349394477056
zhangpenghao@cmhi.chinamobile.com,2870503959@qq.com
optimize
# 4.1 政企侧用户体验优化(2 天)
## 需求评审
1. 是不是所有的异常都是固定字体返回;
## 需求备注
IAM 账号登录
原华为云账号:hid_4ss4xpxza1d1-1j
IAM 用户名:live_obs_manager
密码:hangyan123
```
<JSONObject>
<data>
<200>
<2024-09-02 11:29>0</2024-09-02 11:29>
<2024-09-02 11:29>0.0</2024-09-02 11:29>
<2024-09-02 11:30>0</2024-09-02 11:30>
<2024-09-02 11:30>0.0</2024-09-02 11:30>
<2024-09-02 11:31>0</2024-09-02 11:31>
<2024-09-02 11:31>0.0</2024-09-02 11:31>
<2024-09-02 11:32>0</2024-09-02 11:32>
<2024-09-02 11:32>0.0</2024-09-02 11:32>
<2024-09-02 11:33>0</2024-09-02 11:33>
<2024-09-02 11:33>0.0</2024-09-02 11:33>
<2024-09-02 11:34>0</2024-09-02 11:34>
<2024-09-02 11:34>0.0</2024-09-02 11:34>
<2024-09-02 11:35>0</2024-09-02 11:35>
<2024-09-02 11:35>0.0</2024-09-02 11:35>
<2024-09-02 11:36>0</2024-09-02 11:36>
<2024-09-02 11:36>0.0</2024-09-02 11:36>
<2024-09-02 11:37>0</2024-09-02 11:37>
<2024-09-02 11:37>0.0</2024-09-02 11:37>
<2024-09-02 11:38>0</2024-09-02 11:38>
<2024-09-02 11:38>0.0</2024-09-02 11:38>
<2024-09-02 11:39>0</2024-09-02 11:39>
<2024-09-02 11:39>0.0</2024-09-02 11:39>
<2024-09-02 11:40>0</2024-09-02 11:40>
<2024-09-02 11:40>0.0</2024-09-02 11:40>
<2024-09-02 11:41>0</2024-09-02 11:41>
<2024-09-02 11:41>0.0</2024-09-02 11:41>
<2024-09-02 11:42>0</2024-09-02 11:42>
<2024-09-02 11:42>0.0</2024-09-02 11:42>
<2024-09-02 11:43>0</2024-09-02 11:43>
<2024-09-02 11:43>0.0</2024-09-02 11:43>
<2024-09-02 11:44>0</2024-09-02 11:44>
<2024-09-02 11:44>0.0</2024-09-02 11:44>
<2024-09-02 11:45>0</2024-09-02 11:45>
<2024-09-02 11:45>0.0</2024-09-02 11:45>
<2024-09-02 11:46>0</2024-09-02 11:46>
<2024-09-02 11:46>0.0</2024-09-02 11:46>
<2024-09-02 11:47>0</2024-09-02 11:47>
<2024-09-02 11:47>0.0</2024-09-02 11:47>
<2024-09-02 11:48>0</2024-09-02 11:48>
<2024-09-02 11:48>0.0</2024-09-02 11:48>
<2024-09-02 11:49>0</2024-09-02 11:49>
<2024-09-02 11:49>0.0</2024-09-02 11:49>
<2024-09-02 11:50>0</2024-09-02 11:50>
<2024-09-02 11:50>0.0</2024-09-02 11:50>
<2024-09-02 11:51>0</2024-09-02 11:51>
<2024-09-02 11:51>0.0</2024-09-02 11:51>
<2024-09-02 11:52>0</2024-09-02 11:52>
<2024-09-02 11:52>0.0</2024-09-02 11:52>
<2024-09-02 11:53>0</2024-09-02 11:53>
<2024-09-02 11:53>0.0</2024-09-02 11:53>
<2024-09-02 11:54>0</2024-09-02 11:54>
<2024-09-02 11:54>0.0</2024-09-02 11:54>
<2024-09-02 11:55>0</2024-09-02 11:55>
<2024-09-02 11:55>0.0</2024-09-02 11:55>
<2024-09-02 11:56>0</2024-09-02 11:56>
<2024-09-02 11:56>0.0</2024-09-02 11:56>
<2024-09-02 11:57>0</2024-09-02 11:57>
<2024-09-02 11:57>0.0</2024-09-02 11:57>
<2024-09-02 11:58>0</2024-09-02 11:58>
<2024-09-02 11:58>0.0</2024-09-02 11:58>
<2024-09-02 11:59>0</2024-09-02 11:59>
<2024-09-02 11:59>0.0</2024-09-02 11:59>
<2024-09-02 12:00>0</2024-09-02 12:00>
<2024-09-02 12:00>0.0</2024-09-02 12:00>
<2024-09-02 12:01>0</2024-09-02 12:01>
<2024-09-02 12:01>0.0</2024-09-02 12:01>
<2024-09-02 12:02>0</2024-09-02 12:02>
<2024-09-02 12:02>0.0</2024-09-02 12:02>
<2024-09-02 12:03>0</2024-09-02 12:03>
<2024-09-02 12:03>0.0</2024-09-02 12:03>
<2024-09-02 12:04>0</2024-09-02 12:04>
<2024-09-02 12:04>0.0</2024-09-02 12:04>
<2024-09-02 12:05>0</2024-09-02 12:05>
<2024-09-02 12:05>0.0</2024-09-02 12:05>
<2024-09-02 12:06>0</2024-09-02 12:06>
<2024-09-02 12:06>0.0</2024-09-02 12:06>
<2024-09-02 12:07>0</2024-09-02 12:07>
<2024-09-02 12:07>0.0</2024-09-02 12:07>
<2024-09-02 12:08>0</2024-09-02 12:08>
<2024-09-02 12:08>0.0</2024-09-02 12:08>
<2024-09-02 12:09>0</2024-09-02 12:09>
<2024-09-02 12:09>0.0</2024-09-02 12:09>
<2024-09-02 12:10>0</2024-09-02 12:10>
<2024-09-02 12:10>0.0</2024-09-02 12:10>
<2024-09-02 12:11>0</2024-09-02 12:11>
<2024-09-02 12:11>0.0</2024-09-02 12:11>
<2024-09-02 12:12>0</2024-09-02 12:12>
<2024-09-02 12:12>0.0</2024-09-02 12:12>
<2024-09-02 12:13>1</2024-09-02 12:13>
<2024-09-02 12:13>100.0</2024-09-02 12:13>
<2024-09-02 12:14>1</2024-09-02 12:14>
<2024-09-02 12:14>100.0</2024-09-02 12:14>
<2024-09-02 12:15>1</2024-09-02 12:15>
<2024-09-02 12:15>100.0</2024-09-02 12:15>
<2024-09-02 12:16>1</2024-09-02 12:16>
<2024-09-02 12:16>100.0</2024-09-02 12:16>
<2024-09-02 12:17>1</2024-09-02 12:17>
<2024-09-02 12:17>100.0</2024-09-02 12:17>
<2024-09-02 12:18>1</2024-09-02 12:18>
<2024-09-02 12:18>100.0</2024-09-02 12:18>
<2024-09-02 12:19>1</2024-09-02 12:19>
<2024-09-02 12:19>100.0</2024-09-02 12:19>
<2024-09-02 12:20>1</2024-09-02 12:20>
<2024-09-02 12:20>100.0</2024-09-02 12:20>
<2024-09-02 12:21>1</2024-09-02 12:21>
<2024-09-02 12:21>100.0</2024-09-02 12:21>
<2024-09-02 12:22>1</2024-09-02 12:22>
<2024-09-02 12:22>100.0</2024-09-02 12:22>
<2024-09-02 12:23>1</2024-09-02 12:23>
<2024-09-02 12:23>100.0</2024-09-02 12:23>
<2024-09-02 12:24>1</2024-09-02 12:24>
<2024-09-02 12:24>100.0</2024-09-02 12:24>
<2024-09-02 12:25>1</2024-09-02 12:25>
<2024-09-02 12:25>100.0</2024-09-02 12:25>
<2024-09-02 12:26>1</2024-09-02 12:26>
<2024-09-02 12:26>100.0</2024-09-02 12:26>
<2024-09-02 12:27>1</2024-09-02 12:27>
<2024-09-02 12:27>100.0</2024-09-02 12:27>
<2024-09-02 12:28>1</2024-09-02 12:28>
<2024-09-02 12:28>100.0</2024-09-02 12:28>
</200>
</data>
<success>true</success>
</JSONObject>
```
```
ping push.komect.com.c.cdnhwc3.com
正在 Ping hcdnl.push01.gslb.c.cdnhwc2.com [111.62.30.101] 具有 32 字节的数据:
```
状态码
```
/live/statistics/statusCode
?domainNames=20231212134910.komect.com
&affectAreas=%E6%B1%9F%E8%A5%BF&isps=CMCC&statusCodes=101
&plain=1
&startTime=2024-07-29%2013:20
&endTime=2024-07-29%2014:21
&_=1722234106473
```
下行带宽/流量
```
/live/statistics/lives
?pullDomain=20231212135656.komect.com
&affectAreas=%E5%AE%89%E5%BE%BD
&isps=CUCC&appName=
&streamName=
&plain=1
&startTime=2024-07-22%2014:29
&endTime=2024-07-29%2014:30
&interval=300
&type=band
&_=1722234654985
```
上行带宽
```
/live/statistics/upLive
?affectAreas=%E5%AE%89%E5%BE%BD&isps=CUCC
&appName=
&streamName=
&plain=1
&pushDomainName=18762603049.komect.com
&startTime=2024-07-22%2014:31
&endTime=2024-07-29%2014:32
&interval=300
&_=1722234749908
```
观众数
```
/live/statistics/audience
?affectAreas=%E5%AE%89%E5%BE%BD
&isps=CUCC&appName=
&streamName=
&plain=1
&pullDomain=20231212135656.komect.com
&startTime=2024-07-22%2014:32
&endTime=2024-07-29%2014:33
&interval=60
&_=1722234825080
```
推流路数(提示问题)
```
/live/statistics/pullNumber
?plain=1
&pushDomainName=20231208103305.komect.com,18762603049.komect.com
&startTime=2024-07-22%2014:33
&endTime=2024-07-29%2014:34
&_=1722234863461
```
## 需求开发
```java
throw new PlatformException("未查询到数据");
} catch (MiguFeignErrorException e) {
log.error("咪咕查询下行流量失败, 接口异常: {}",e.getMessage(), e);
throw new PlatformException("未查询到数据");
} catch (Exception e) {
log.error("咪咕查询下行流量失败, 全局异常: {}", e.getMessage(), e);
throw new PlatformException("未查询到数据");
}
```
StringUtils
接口信息异常, 请检查
![](../../../../attachment/images-paste/image-20240731164847186.png)
# 4.3 试商用客户峰值带宽增加引入省份信息(2 天)
## 需求评审
1. 导出功能一并修改;
## 需求备注
![](../../../../attachment/images-paste/image-20240729100929288.png)
页面权限
![](../../../../attachment/images-paste/image-20240729101910164.png)
## 需求开发
查询接口
```
/statistics/report/enterprisePeekBW
?pageNum=1&pageSize=10&enterpriseId=xeakniba-aazka9cc5d2uuo5t&type=&tag=&plain=-3&startTime=2024-07-02&endTime=2024-07-31&_=1722472299718
```
```json
{
"data": [
{
"enterpriseId": "xeakniba-aazka9cc5d2uuo5t",
"enterpriseName": "测试企业1",
"peekBW": 0,
"peekTime": "2024-07-31 23:55",
"plain": "华为平面,中兴平面",
"tag": "银牌",
"type": "商用"
}
],
"message": "ok",
"pageNum": 1,
"pageSize": 10,
"retriable": false,
"statusCode": "200",
"success": true,
"total": 1
}
```
# 用例评审
# 冒烟自测
![](../../../../attachment/images-paste/image-20240819085517170.png)
填充默认值日志关键词:首先填充默认值。
![](../../../../attachment/images-paste/image-20240819090418376.png)
![](../../../../attachment/images-paste/image-20240819104334355.png)
开发设置异常场景:
将 HUAWEI_HEADER_URL 设置为 https://live.cn-east-3.myhuaweicloud.com
> 测试备份:http://mock.p.cdn.10086.cn
此接口不会触发 自研 RTMP 前端限制。
7318349394477056
# 上线自审
## 3.6 系统提示优化 - 信安错误提醒优化
无法验证,已自测正常流程。
## 3.8 试用到期邮件提醒优化
需存在即将到期或到期的业务触发。
## 4.1 政企侧用户体验优化
**状态码**
深圳华为云计算技术有限公司、hpl.edgeorgn.com、上海、移动、100、华为平面。
**直播统计**
下行带宽/流量:深圳华为云计算技术有限公司、hpl.edgeorgn.com、全部、移动、华为平面、5 分钟。(分别点击带宽、流量。)
上行带宽:深圳华为云计算技术有限公司、test-hw-push.meituan.net、全部、移动、华为平面、5 分钟。
观众数:深圳华为云计算技术有限公司、hpl.edgeorgn.com、全部、移动、华为平面、1 分钟。
推流路数:深圳华为云计算技术有限公司、test-hw-push.meituan.net、华为平面。
以上查询均提示:**未查询到数据**
```
北京字跳网络技术有限公司
pull-flv-f96-admin.douyincdn.com 上海、移动、200
```
## 4.3 试商用客户峰值带宽增加引入省份信息
登录超管子账号,点击 运营管理/月统计报表/试商用客户峰值带宽 查询、导出 存在引入省公司字段。