“MA切流反馈修复”的版本间的差异

来自qingwei personal wiki
跳转至: 导航搜索
员工管理增加指标汇总
 
(未显示同一用户的14个中间版本)
第15行: 第15行:
  
 
== 增加产品列表增加数据统计及分段功能 ==
 
== 增加产品列表增加数据统计及分段功能 ==
=== 描述 ===
+
[[增加产品列 增加 数据 统计及 分段功能]]
https://aone.alibaba-inc.com/req/18338586
 
===  ===
 
* 老版: dwp_en_dm_prod_terminal_eff_d
 
* 新版: dwp_en_dm_vip_prod_eff_d
 
=== 分段功能字段 ===
 
{| class="wikitable"
 
|-
 
! 字段 !! 前端key !!  数据 库key (天表) !! 数据库key (周表) !!  数据库key (月表) !!类型
 
|-
 
| 曝光 || minViews: 20 maxViews: 100 || imps_cnt_1d_027 || imps_cnt_1w_027 || imps_cnt_cm_027 || BIGINT(20)
 
|-
 
| 点击 || minClicks: 2  maxClicks: 100 || clk_cnt_1d_092 || clk_cnt_1w_092 || clk_cnt_cm_092 || BIGINT(20)
 
|-
 
| 点击率 || minClkRate: 22  maxClkRate: 33 || clk_rate_1d_068 || clk_rate_1w_068 || clk_rate_cm_068 ||  DECIMAL(20,4)
 
|-
 
| 反馈 || minInquiries: 12 maxInquiries: 24 || fb_cnt_1d_013 || fb_cnt_1w_013 || fb_cnt_cm_013 || BIGINT(20)
 
|}
 
 
 
===  分段功能 需要做的事 ===
 
# 修改sql    [vip.product.getEffectiveProductsTotal]
 
# 修改业务流: vip/product/getEffectiveProductsTotal, 增加4*2个参数    http://oneness2.alibaba-inc.com/businessFlow?moduleId=114&interfaceId=1943&group=alidata
 
# 修改业务流: vip/product/getEffectiveProducts
 
 
 
=== 数据统计需要做的事 ===
 
vip/product/getEffectiveProductsTotal<br />
 
 
 
<source lang="json">
 
statistics: {total: 5, clkRate: "0.00", inquiries: 13, crtOrd: 1, views: 0, clicks: 0}
 
</source>
 
 
 
=== 备份 ===
 
==== vip.product.getEffectiveProductsTotal ====
 
<source lang="sql">
 
select
 
    ${returnFields}
 
from
 
    <if test='statisticsType == "day"'>
 
        dwp_en_dm_vip_prod_eff_d
 
    </if> 
 
    <if test='statisticsType == "week"'>
 
        dwp_en_dm_vip_prod_eff_w
 
    </if>
 
    <if test='statisticsType == "month"'>
 
        dwp_en_dm_vip_prod_eff_m
 
    </if>
 
where
 
    stat_date = #{statDate} and
 
    admin_mbr_seq = #{adminMemberSeq}
 
    <if test="name != null">
 
      and  ( prod_name like #{name} or  prod_model like #{name}  )
 
    </if>
 
    <if test="AD != null">
 
      and  is_kw_prod = 'Y'
 
    </if>
 
    <if test="PS != null">
 
      and  is_show_win = 'Y' 
 
    </if>
 
    <if test="TR != null">
 
      and  is_intlbw = 'Y'
 
    </if>
 
    <if test="P4P != null">
 
      and  is_p4p_prod = 'Y'
 
    </if>
 
    <if test="isStdProd != null">
 
        and is_std_prod = 'Y'
 
    </if>
 
    <if test="owner != null">
 
      and  owner_mbr_seq = #{owner}
 
    </if>
 
    <if test="groupLevel1 != null">
 
        and prod_group_id = #{groupLevel1}
 
    </if>
 
    <if test="groupLevel2 != null">
 
      and  group_id2 = #{groupLevel2} 
 
    </if>
 
    <if test="groupLevel3 != null">
 
      and  group_id3 = #{groupLevel3} 
 
    </if>
 
    <if test="model != null">
 
      and  prod_model like #{model} 
 
    </if>
 
    <if test="beginUpdatedDate != null">
 
        and mdf_time >= #{beginUpdatedDate} 
 
    </if>
 
    <if test="endUpdatedDate!= null">
 
        and #{endUpdatedDate}  >= mdf_time
 
    </if>
 
    <if test="hasEffect!= null">
 
        and  is_effer_prod = 'Y'
 
    </if>
 
    <if test="region!= null">
 
        and  statistic_type = #{region} 
 
    </if>
 
    <if test="level3CateId != null">
 
        and cate_lv3_id  = #{level3CateId} 
 
    </if>
 
</source>
 
=== sql过长,参照 ===
 
http://oneness2.alibaba-inc.com/businessFlow?moduleId=157&interfaceId=2877&group=alidata
 
=== hsf测试 ===
 
<source lang="json">
 
</source>
 
 
 
== 我的词行业TOP10点击与曝光口径调整 ==
 
=== 描述 ===
 
[https://aone.alibaba-inc.com/req/18465143 aone]<br />
 
https://hz-mydata.alibaba.com/self/keyword.htm?spm=a271v.8028089.0.0.30803e5fXm3PST  自定义列
 
=== 前端 ===
 
Top10平均曝光:avgSumClickCnt: 3<br />
 
Top10平均点击:avgSumShowCnt: 169
 
=== 表 ===
 
{| class="wikitable"
 
|-
 
!  !! 周表 !! 月表
 
|-
 
| 新版数据管家 || dwp_en_dm_vip_comp_term_kw_myself_eff_w || dwp_en_dm_vip_comp_term_kw_myself_eff_m
 
|-
 
| 老版数据管家 || dwp_en_dm_comp_term_kw_myself_eff_w || dwp_en_dm_comp_term_kw_myself_eff_m
 
|}
 
  
 
== (高优先级)新版数据管家热门搜索词逻辑优化 ==
 
== (高优先级)新版数据管家热门搜索词逻辑优化 ==
第159行: 第40行:
 
===灰度id===
 
===灰度id===
 
com.alibaba.intl.mydata.maopt
 
com.alibaba.intl.mydata.maopt
 +
=== 业务背景 ===
 +
新版热门词 发现 lady 显示为ladi   所以关键词搜lady xx 关键词很少,其它有些词也一样 还有e结尾的会被吃掉  比如 wholesale 搜很少  wholesal 词超多,purse同理  purse少,purs很多
 +
 
== 员工管理增加指标汇总 ==
 
== 员工管理增加指标汇总 ==
 
=== 描述 ===
 
=== 描述 ===
第174行: 第58行:
 
]
 
]
 
</source>
 
</source>
 +
=== 员工名为null的case ===
 +
<source lang="json">
 +
[
 +
  "vip/home/getAccountsAndTotal",
 +
  {
 +
    "queryRaw": "mp3",
 +
    "statDate": "2019-02-12",
 +
    "adminMemberSeq": "227144200",
 +
    "countryId": "TOTAL",
 +
    "terminalType": "TOTAL",
 +
    "statisticsType": "day"
 +
  }
 +
]
 +
</source>
 +
 +
== 新版热门搜索词中增加“卖家竞争度” ==
 +
=== 描述 ===
 +
https://aone.alibaba-inc.com/req/18557644
 +
=== 新增字段 ===
 +
mbr_cnt_std_052
 +
=== diamond id ===
 +
data.alibaba.keywordhot.switcher
 
[[category: 阿里]]
 
[[category: 阿里]]
 
[[category: 数据管家]]
 
[[category: 数据管家]]

2019年2月14日 (四) 10:50的最新版本

首页经营效果中,增加按发布产品拆分指标选项

首页经营效果中,增加按发布产品拆分指标选项

新版产品>产品分析缺失 顶级展位、P4P (前端)

aone

  • 前端问题;增加两个参数: TR, P4P
" 如果没有,不传递参数 "
{
"TR": "TR",
"P4P": "P4P"
}

增加产品列表增加数据统计及分段功能

增加产品列表增加数据统计及分段功能

(高优先级)新版数据管家热门搜索词逻辑优化

描述

aone
https://data.alibaba.com/industry/keyword/hot?spm=a2793.12386102.0.0.19a83e5fqqUPjy

openSearch应用(表)

https://opensearch-cn-shanghai-in.console.aliyun.com/?spm=5176.7946605.209387.09080706050409.42babc75D46zHL#/apps?page=1&name=sc_mydata_hot_keyword

- openSearch应用 odps表
老版使用 -- 将被废弃 sc_mydata_hot_keyword dwp_en_dm_kw_hot_eff_m
周表 sc_mydata_hot_keyword_w dwp_en_dm_vip_kw_hot_eff_w
y月表 sc_mydata_hot_keyword_m dwp_en_dm_vip_kw_hot_eff_m
  • 加一个词: orig_kw (别名:orig_keywords)
- DA会增加新的一列 买家搜索原词
- 后端加灰度控制,灰度里的使用 买家搜索原词(orig_kw) 代替原来的 归一化词(keywords)

灰度id

com.alibaba.intl.mydata.maopt

业务背景

新版热门词 发现 lady 显示为ladi 所以关键词搜lady xx 关键词很少,其它有些词也一样 还有e结尾的会被吃掉 比如 wholesale 搜很少 wholesal 词超多,purse同理 purse少,purs很多

员工管理增加指标汇总

描述

https://aone.alibaba-inc.com/req/18341488

测试

[
  "vip/home/getAccountsAndTotal",
  {
    "statDate": "2018-12-01",
    "adminMemberSeq": "200042360",
    "statisticsType": "month",
    "region": "os"
  }
]

员工名为null的case

[
  "vip/home/getAccountsAndTotal",
  {
    "queryRaw": "mp3",
    "statDate": "2019-02-12",
    "adminMemberSeq": "227144200",
    "countryId": "TOTAL",
    "terminalType": "TOTAL",
    "statisticsType": "day"
  }
]

新版热门搜索词中增加“卖家竞争度”

描述

https://aone.alibaba-inc.com/req/18557644

新增字段

mbr_cnt_std_052

diamond id

data.alibaba.keywordhot.switcher