analysis2 Code
Brought to you by:
c-jiazheng
File | Date | Author | Commit |
---|---|---|---|
Common | 2013-07-07 | c-jiazheng | [r1] |
Conf | 2013-09-17 | c-jiazheng | [r57] |
Lang | 2013-07-07 | c-jiazheng | [r1] |
Lib | 2013-09-17 | c-jiazheng | [r58] |
Public | 2013-09-05 | c-jiazheng | [r56] |
Runtime | 2013-07-14 | c-jiazheng | [r13] |
ThinkPHP | 2013-07-07 | c-jiazheng | [r1] |
Tpl | 2013-09-04 | c-jiazheng | [r55] |
.buildpath | 2013-07-07 | c-jiazheng | [r1] |
.htaccess | 2013-07-07 | c-jiazheng | [r1] |
.project | 2013-07-07 | c-jiazheng | [r1] |
index.php | 2013-07-07 | c-jiazheng | [r1] |
procedure.sql | 2013-08-03 | c-jiazheng | [r38] |
readme.txt | 2013-08-25 | c-jiazheng | [r41] |
wandata.sql | 2013-09-04 | c-jiazheng | [r55] |
============================表说明======================= video_base_info: 视频信息表 --------------------------------------------- VideoCatelog: 视频类别:电影,电视,综艺 对应common表中Type= VideoCatalog的Id Class: 视频分类 : 剧情, 喜剧, 爱情... 对应common表中Type= VideoClass 的Id Upcoming: 视频状态(0:正在热映,1:即将上映) ============================================= drop table if EXISTS video_news; create table video_news ( VideoId bigint , -- 视频编号 NewsDate varchar(50), -- 时间 NewsContent text, -- 新闻标题 Provenance varchar(50), -- 来源 -- PRIMARY KEY (VideoId,NewsDate) ); ============================================= -- 万象指数表 drop table if EXISTS video_index; create table video_index ( VideoId bigint , -- 视频编号 IndexDate Date, -- 时间 Plays int, -- 播放 Search int, -- 搜索 Hot int, -- 社媒热度 `Index` int, -- 万象指数 Seq int, -- 排名 PRIMARY KEY (VideoId,IndexDate) ); -- 微博话题表 drop table if EXISTS weibo_videos; create table weibo_videos ( WeiBoId tinyint , -- 微博编号 对应common表中Type=Weibo的Id TopicType tinyint, -- 话题类型 1:电影(正在热映) 2:电视剧 3:综艺 4:动漫 5:艺人 6:影视 7:电影(即将上映) TopicId bigint, -- 话题编号 SearchCount int, -- 搜索数 CommentCount int, -- 评论数 ReferCount int, -- 引用数(提及数) Date date, Rank int, primary key(WeiBoId,TopicType,Date,TopicId) ); -- video_index 最新内容 create table video_index_top LIKE video_index; -- 网站video create table site_rank_top like site_rank;