1.Adx_request_process_mod模块:
(1)将adx的请求传给ui模块
(2)做一些解析和修改工作
(3)设置实验环境
2.FlowJudgementMod模块:处理流量分析。
3.Style_select_mod模块:针对不同流量做不同的样式选择,主要是将p_variable_req 变为p_style_context(LuStyleContext), show_tpl、style_id_ex。
4.接下来是一些特殊样式的处理。
5.get_luas_data_mod模块:ui和as之间的接口模块
(1)build_luas_request函数:adx_req;variablerequestdata(req_data);LuStyleContext(cs_info)的获取。
(2)set luas service hashkey
(3)insert_content_words:一跳加入内容词实验。
6.linkunit_click_url_mod模块:构造点击后的url。
7.template_expand_mod模块:
(1)获取模板名:show_tpl
(2)在模板管理器中找到相应那么配置:conf
(3)获取模板的路径
(4)生成该模板的模板变量词典
(5)将inlcude的模板添加到dict中
(6)构造模板变量的词典
(7)渲染模板,结果在_html_snippet.
8.adx_response_mod模块:adx与lu-ui的接口服务,lu-ui处理完请求后返回给adx。
总的流程图如下: