EPG服务器分析
以重庆电信EPG服务器为例,EPG服务器地址为:http://epg.itv.cq.cn:8080/iptvepg/,EPG服务器采用开源的Apache Tomcat服务器。机顶盒以下列地址访问EPG服务器:http://epg.itv.cq.cn:8080/iptvepg/index.jsp,同时通过URL参数提交用户信息。
stb_id=4A100100000000400000001234567890
loginname=sza88888888
password=12345678
server_ip=http://epg.itv.cq.cn:8080/iptvepg/
user_ip=192.168.1.12
accessmethod=LAN
adslusername=
adslpassword=
cryptmode=0
cryptkey=
GET /iptvepg/index.jsp?stb_id=4A100100000000400000001234567890&loginname=sza88888888&password=12345678&server_ip=http://epg.itv.cq.cn:8080/iptvepg/&user_ip=192.168.1.12&accessmethod=LAN&adslusername=&adslpassword=&cryptmode=0&cryptkey= HTTP/1.1
Accept: */*
Accept-Encoding: identity
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; EIS iPanel 2.0 ; B600 V1.0)
Host: epg.itv.cq.cn:8080
HTTP/1.1 200 OK
Set-Cookie: JSESSIONID=EF66FAD422F65B267044C006A1B16F95.worker11; Path=/
Content-Type: text/html;charset=GBK
Content-Length: 2123
Date: Sat, 30 Aug 2008 12:31:01 GMT
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Cache-Control: max-age=0
/iptvepg/index.jsp
GET /iptvepg/frame.jsp?state=1×tatistic=1&stb_id=4A100100000000400000001234567890&loginname=sza88888888&password=12345678&server_ip=http://221.231.144.4:8080/iptvepg/&in_user_ip=192.168.1.12&accessmethod=LAN&adslusername=&adslpassword=&cryptmode=0&cryptkey=&user_ip=117.82.123.123&ztestbtype=0 HTTP/1.1
Accept: */*
Accept-Encoding: identity
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; EIS iPanel 2.0 ; B600 V1.0)
Host: epg.itv.cq.cn:8080
HTTP/1.1 200 OK
Set-Cookie: JSESSIONID=99487162907F895E46E11AA1184A548A.worker11; Path=/
Content-Type: text/html;charset=GBK
Content-Length: 191347
Connection: close
Date: Sat, 30 Aug 2008 12:31:01 GMT
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Cache-Control: max-age=0
GET /iptvepg/frame.jsp?haslogin=1×tatistic=1&logintime=2008.08.30%2020:31:02&logintype=&auto=1&stb_id=4A100100000000400000001234567890&loginfirst=&user_ip=117.82.123.123&ownerid=&loginname=sza88888888&password=12345678&cryptkey=&cryptmode=0&server_ip=58.223.247.139&adslusername=0002&SmartCardID=&Levelvalue=10&PopCode=nodeid0582113245057&Language=cn&Usertype=0&BoId=001&UserSetId=69&IsLocked=1&UserId=11001225497&accessmethod=LAN&UserLockPwd=&UserMainUrl=frame244/portal.jsp&UserModel=frame244&frameflag=0&ztestbtype=0&SvrPort=&UserGrpId=6&UserToken=XxZltcjY3cKx9/Rc02k7PMfJrPj5wx2j&UserLoginType=2&Integral=0&CrtChannelID=1&CrtURL=&CrtPlayPosition=0&needrewrite=0&Terminalid=63&LastLoginDate=2008.08.30+20%3A23%3A12&PopType=0&PopIP=&PopPort=80&AuthID=&state=1 HTTP/1.1
Accept: */*
Accept-Encoding: identity
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; EIS iPanel 2.0 ; B600 V1.0)
Host: 58.223.247.139:8080
Cookie: STBVersion=024601%202008-06-17; STBType=ZXB600V3; auto=1; loginname=sza88888888; password=12345678; stb_id=4A100100000000400000001234567890; accessmethod=LAN; adslusername=0002; SmartCardID=; ztestbtype=0; JSESSIONID=99487162907F895E46E11AA1184A548A.worker11
HTTP/1.1 200 OK
Set-Cookie: JSESSIONID=3B1860EA109DD449087F7291F023B846.worker11; Path=/
Content-Type: text/html;charset=GBK
Content-Length: 198429
Connection: close
Date: Sat, 30 Aug 2008 12:31:02 GMT
Server: Apache-Coyote/1.1
Cache-Control: no-cache
Cache-Control: max-age=0
/iptvepg/frame.jsp