= 汽车网车问答SEO = == 项目人员 == * 协调:符晶谊, 陈影淇 * 开发:陈泰年,黄冠传 == 版本 == 主干: * 1.0 * svn:http://svn.demo.pc.com.cn/svn/pcauto_semonitor/trunk 分支: * 1.1 * svn:http://svn.demo.pc.com.cn/svn/pcauto_semonitor/branches/sem_1.1 == 相关问题 == 1, 页面更新问题 从第三方数据与相关的关键词属性开始流入seo系统,到审核,批量发帖,批量生成与更新seo页面,中间充斥着不少java web任务调用,耗开发人员时间。 2, java web任务更换技术栈 Web任务使用频率越来越高,估计会对resin服务器产生压力,考虑逐渐用脚本重写这些任务来做相关工作。 3, 公共变量与方法问题 汽车网seo从开发到运行也有两年时间,对抽象公共类与方法始终没有很重视,导致新加入的相关开发人员代码参差不齐,没有一个很好的可读性和可维护性。相信这个问题不单在这里存在,在各其他应用也会有很直观的体现。 4, 挪动百度排名任务 每日定时百度排名任务不在应用相关物理机上,造成维护困难极其不便,择日挪过应用物理机,并考虑用脚本重构该任务。 5,表结构优化 经过一年多的业务开发时间,或多或少在表结构设计上存在不合理的情况,待研究和整改。包括分表机制,现阶段汽车网seo部分暂时没有做分表,往后数据量越来越大,必须整理一套从单表到分表的流程。 6,权限问题 权限粒度需求越来越细,估计迟早会出现不可忽视的漏洞,需要尽快整理权限相关问题并修正。 == 外部页面 == ps:wap版规则与pc版类似,"seo"命名转为"wap",nginx转向后www域名改为m域名,例如: 车系聚合页 (TagController) wap页面:http://autosem.pc.com.cm/wap/tag/tag.do?firstLetters=$1&wordsId=$2 -> http://m.pcauto.com.cn/jinxuan/([a-zA-Z0-9]*)_(\d*)\.html 1 车系聚合页 (TagController) Pc页面:http://autosem.pc.com.cn/seo/tag/tag.do?firstLetters=$1&wordsId=$2 -> http://www.pcauto.com.cn/jinxuan/([a-zA-Z0-9]*)_(\d*)\.html http://autosem.pc.com.cn/seo/tag/selectedTagList.do?serialId=$1&majorWordId=$2 -> http://www.pcauto.com.cn/jinxuan/jinxuan/sg(\d*)-(\d*)\.html 2 车系专题页 (SpecialController) Pc页面:http://autosem.pc.com.cn/seo/special/special.do?id=$1 -> http://www.pcauto.com.cn/jinxuan/index(\d*)\.html http://autosem.pc.com.cn/seo/special/specialList.do?forumId=$1 -> http://www.pcauto.com.cn/jinxuan/forum-(\d*)\.html 3 车系通用页 (GeneralController) Pc页面:http://autosem.pc.com.cn/seo/general/general.do?id=$1 -> http://www.pcauto.com.cn/tongyong/tongyong_(\d*)\.html http://autosem.pc.com.cn/seo/general/generalList.do?id=$1 -> http://www.pcauto.com.cn/tongyong/tongyong_list_(\d*)\.html 4 车系对比页 (CompareController) Pc页面:http://autosem.pc.com.cn/seo/compare/compare.do?id=$1&major=0 -> http://www.pcauto.com.cn/xuxin/pk(\d*)\.html 5 非车系聚合页 (NotserialController) Pc页面:http://autosem.pc.com.cn/seo/notSerial/notSerial.do?id=$1&type=1 -> http://www.pcauto.com.cn/xiaofen/ht(\d*)\.html http://autosem.pc.com.cn/seo/notSerial/notSerial.do?id=$1&type=2 -> http://www.pcauto.com.cn/weichuang/ht(\d*)\.html http://autosem.pc.com.cn/seo/notSerial/notSerial.do?id=$1&type=3 -> http://www.pcauto.com.cn/jingyi/ht(\d*)\.html http://autosem.pc.com.cn/seo/notSerial/notSerial.do?id=$1&type=4 -> http://www.pcauto.com.cn/liurong/ht(\d*)\.html http://autosem.pc.com.cn/seo/notSerial/notSerial.do?id=$1&type=5 -> http://www.pcauto.com.cn/xiaojing/ht(\d*)\.html 6 非车系专业词页 (MajorWordController) Pc页面:http://autosem.pc.com.cn/seo/majorWord/majorWord.do?id=$1 -> http://www.pcauto.com.cn/tainian/major_(\d*)\.html 7 林东聚合页 (SpecialTagController) Pc页面:http://autosem.pc.com.cn/seo/specialTag/specialTag.do?id=$1 -> http://www.pcauto.com.cn/lindong/jingxuan-(\d*)\.html http://autosem.pc.com.cn/seo/specialTag/specialSerialTagList.do?serialId=$1 -> http://www.pcauto.com.cn/autokeyword/list-1-(\d*)\.html http://autosem.pc.com.cn/seo/specialTag/specialMajorTagList.do?majorWord=$1 -> http://www.pcauto.com.cn/autokeyword/list-2-(\d*)\.html 8 宝玲聚合页 (KeywordTagController) Pc页面:http://autosem.pc.com.cn/seo/keyWordsTag/keyWordsTag.do?id=$1 -> http://www.pcauto.com.cn/baoling/index-(\d*)\.html http://autosem.pc.com.cn/seo/keyWordsTag/keyWordsTagList.do?majorWord=$1 -> http://www.pcauto.com.cn/keywords/list-(\d*)\.html 9 专业词聚合页 (MajorTagController) Pc页面:http://autosem.pc.com.cn//seo/majorTag/majorTag.do?id=$1 -> http://www.pcauto.com.cn/keywords/major-(\d*)\.html == 外部接口 == http://rdtrac.pc.com.cn/autoseo/wiki/api == 定时任务 == 1 0 0 * * 5 /bin/bash /data/sh/groovy_CreateXml.sh > /dev/null 2>&1 每周五生成所有baiduXML文件 2 * * * * * /data/sh/groovy_GetQuestion.sh >> /data/sh/GetQuestion_log.txt 2>&1 每分钟获取360数据储存进库 3 */15 * * * * /data/sh/groovy.sh >> /data/sh/log.txt 2>&1 每15分钟发送帖子多回复到论坛 4 0 1 15 * * curl -s http://192.168.249.195:8080/admin/seo/flow/updateKeyValueForNew.do>/dev/null 2>&1 0 0 15 * * curl -s http://192.168.249.195:8080/admin/seo/flow/updateArchiveCount.do>/dev/null 2>&1 每15天更新流量页数据 5 0 0 * * * curl -s http://192.168.249.195:8080/admin/seo/tag/updateBaiduTop.do >/dev/null 2>&1 每天更新聚合页百度排名 == 日常需求线 == [[TicketQuery(version ~= hotfix,max=20,order=id,desc=1,format=table,col=summary|status|resolution|version|owner|reporter|type|changetime)]] == 大版本 == [[TicketQuery(version !~= hotfix,max=100,order=id,desc=1,format=table,col=summary|status|resolution|version|owner|reporter|type|changetime)]]