Khóa luận Hệ thống cung cấp dịch vụ giải trí trên thiết bị OTT
BO GIAO DIX VA DAO TAO TRUONG D31 HQC THANG LONG --46-4•11:14-a-- THANO LONG VIIIVE ■ SII• KHOA LUAN TOT NGHIEP D tai: HE THONG CUNG CAP NCH VV Gal Till TREN THIET M OTT Gicio via hiding diin: Nguyen Dor Din Sinh viers thus hien: Phum Minh Tun - A13573 Hi nOi - 2014 LEI Nen DAU Trong then dai hien nay, ding vai stir pith trien ctia internet, cac djch vµ giai tri tren Internet cling kh8ng ngimg gia tang. MQi ngueri co the xem phim, nghe nhg, dqc bao, Ch
Tóm tắt tài liệu Khóa luận Hệ thống cung cấp dịch vụ giải trí trên thiết bị OTT, để xem tài liệu hoàn chỉnh bạn click vào nút DOWNLOAD ở trên
hoi fro chaff tren chik may tinh cth minh. Tuy nhien mOt chiec may tinh
chi di the phvc vu cho nhu cau giai tri ca nhin, khong the dap ling nhu cau giai tri
cho ca gia dish. De giai guy& yen di tat, cac nha san xuet tivi di cho ra dai cac the
he smartTV. Nhung cac loai smartTV hien Uri gia thanh can kha cao, khOng phu hqp
veri mOt luqng lan ngutri sir dung. Chink vi the, cac the he OTT Box ra &A de dip
img nhu cAu tren, koo then d6 la cac dich vv giai tri cal ten cac thief bi OTT cling
ngay cling phat trien.
Xuit phat fir nhu cau do, dirge sir gqi 9 va hutng den cita they Nguyen Dire Din,
em di chqn de tai: He thong rung clip djch vg gisli tri tan thiet bi OTT.
De tai mang Unit img dung thvc te, th8ng qua vies tham Ichao cac trang web cling
nhu phen mem xem phim, nghe nhec di c6 tren internet va et OTT Box. Tuy that,
voi kinh nghiem thvc to cling nhu kien dam chtra nhieu nen kh6 tranh khoi the sai
sot trong qua trinh phat trien, em mong nhin dirge nhieu y kien dOng g6p cita the
they cO, ban be de de tai dug hoiln thin ham
Em xin chin thanh cam an they Nguyen Dim Din di ter' firth gall) der de em co the
hoan thanh bai !rhea luen nay.
Sinh vien thyt hign
Pham Minh Tulin
2
M1JC LVC
CHUONG 1. GI % THIeU Ve He THONG 6
1.L OTT IA gi 6
1.LL ling dyng, d/ch vy OTT 6
1.1.2. Lich sir plat trim 6
1.2. Thitt bi OTT 7
1.2.1. mpt sd thiit bi OTT tan titi true rng hien nay 7
1.3. He timing cung cip dick vy giii tri tren thitt bi OTT 11
CHUONG 2. PHAN TECH YEU CAU 12
2.1. M6 ti bii tofu 12
2.2. Sa a Wong cong viec 13
2.3. Yeu au nghiep vy 14
2.4. Sa 66 tang quan cic chic ning cost he thong 15
2.4.1. Cdc the nhdn than gia he thing: 16
2.4.2. Cdc cluk ming chink ale ite thing: 16
2.5. Anh xy yeu au nghifp vy vi sa d6 chic fling 17
2.6. Kt ho3ch phit trim dy in 18
2.7. Dic ti chile ning 20
CHUONG 3. THIET Id He THONG 37
3.1. Kiin true he thong 37
3.2. Thitt key chic ming 38
3.3. That kt giao dien 39
3.3.1. Phin tick sr kkdc &tau glow kiln thi thing tin trin tivi Ws miry fink 39
3.3.2. Ph& tick dull quen nproi sir ding 39
3.3.3. Ciao din chink thsit 39
CHUONG 4. CAI HAT VA TRIEN KHAI II; THONG 41
4.1. Cii at 41
4.1.1. Lira chpn moi tritong 41
4.L2. Yeu du au kink cdi 41 he thing 41
4.2. MA nguAn cii Alt 41
4.2.1. So dl he thing file boo gint 1 folder chink va 3 folder cow 41
4.2.2. Scr ltrpt clic Idp 42
3
4.3. Trait khai 46
, 4.3.1. Dilu Men triin kkai 46
4.3.2. MO kink Min kkai 46
CHVONG 5. ICET QUA 14T BMX 49
5.1. Chuang trInh ling dyng 49
5.2. Dinh hinting Oat thin 49
4
DANH MVC BANG BLEU
Hinh 1: mot so thief bj OTT tren till truimg 9
Hinh 2:HDM1 Stick ghip cho ngu&i dimg "ding cep" clic TV dai cii 9
Hinh 3: Sin phAm Z-TV choy hie (lieu lulnh android 10
Hinh 4: So dO Usecase dm phAn mam 16
Hinh 5: }Clan true he thOng 37
Hinh 6: Sa tIO chile nang 38
H'mh 7: giao diOn chuang trinh 40
Hinh 8: Hinh inh thiet bj DUNE HD TV-102 41
Hinh 9: So a he thong file 42
Hinh 10: Kat not usb voi thiat bj 47
Hinh 11: Cid dot chucmg trinh 47
1Tmh 12: Cai dAt the/1h cling 48
Bang 1: So d6 1u6ng Gong viec 14
Bing 2: Anh xa you au nghiep vo vi so d6 chirc nAng 18
Bang 3: Ke hooch phat trier dtr an 20
Bang 4: Bing me to cac the chinh 43
5
GIOI THI$U VE H$ THONG
CHUVNG 1. GIOI TH1$U VE 11$ THONG
1.1. OTT II gi
1.1.1. dyng, dick vg OTT
OTT' — viit tit cia cum tir Over-The-Top — la mOt thuat ng>7r dimg de chi cac ling
dung hay djch vu ten Internet ma kiting phai do cac !the cung cep dich At Internet
(ISP) trvc flip Qua din.
1.1.2. Lick sit phdt
NIveng nem 2008 va 2009, thuat net "ling dung/dich vti 011' chit yeu duqc ap
dung cho cac djch At video nhu Netflix hay Hulu.
Sau d6, OTT duqc ap dung cho mOt loot cac img dung nhin tin, thay the cho cac
dich vli nhin tin SMS ten phi truyen thong do cac cong ty vien th8ng cung cap.
WhatsApp, Apple iMessage, BlackBerry Messenger (BBM), TU Me...
OTT cling duqc tip dung cho cac ling dung VoIP nhu Skype, FaceTime cia
Apple, Viber, Voxer, Tango...
Gan day, Sr nghia cia thuat net OT1' de duqc mo rOng han, ap dung cho bit kS,
tat ca dieu nay la cac ling dung/dich nha cung cap nOi dung nao. Diem mau chiSt cia
At OTT khang den tir cac cong ty vien thong truyen th6ng hoec cac nha cung cap
djch vu Internet. Cic Gong ty viZn thong va ISP chi don thuan la cac nha cung cap
ket not IP me cac ling dung OTT host dOng tren do.
Veri nhftng tien ich duqc de cap dtrei day, cong nghe 011' duqc tin ttrong 11 se
mang lrti cho ngubi clang sv tien lqi, thoiti mai ten da:
OTT chew truyE'n tai Erin nin »King khdc nhau
C8ng nghe OT1' sit dung giao thin Internet de chuyen tai cac nOi dung so tai
ngubi sir dung du cued. VI voy, ngtrai ding c6 the sir dung djch vui cia Mit cung
cap mang bit kj/ de truy cap nOi dung giai tri, cac ling dung phong phi me khong bj
phv thuOc vao nha cung cap djch vur mang.
ciiOi THItU VE lit THONG
OTT có co. chi truy cop link hoot
Dac biet Gong nghe OTT hrong thich yeti tit ca cic loai thiet bj co !chi nang truy
cop Internet hien nay fling: Dien thojti thong minh (Smartphones), May tinh
bang(Tablets), May tinh xach tay va de ban (Laptops va Desktops), Internet TV
(Smart TV) hoac Tivi thuang vOi b0 gill ma tin hieu di kern (Set-top Box).v.v.
07T khong chju gioti hgn vi kW:mg gian va dja /5)
Nher str ra diti dm Internet, the giai da tret nen phang hon va gib day vOi c8ng
nghe OTT tien lien chi can 1 thiet bj c6 ket not Internet, ngueri dung c6 the truy cap
de sir dung djch At cua cac nha cung cap 6 bit ky not dau tren the giOi ma khong bj
gbh hart ve mat kh6ng gian hay khozing citch ve dja I.
T6m lai, khi not ve cic img dung hojic djch At OTT, ngubi to thuong di cap den
cac img dung va djch vg hog dOng tren cac ket not Internet nhung khong c6 bit ky
m6i quan he No veri cac nhl cung cap nherng ket not Internet d6.
1.2. Thiet bj OTT
Ngay nay intemet ugly cang phat trien, nhu au gill tri thong qua intemet la tat
yeu. Tuy nhien vitt sir Mpg may tinh de gill tri la kha bat lien vi man hinh nh6, hai
mat, khong thuan tien cho cl gia dinh cling xem...
Cac thiet N OTT ra deri di dip img ac nhu clu cling nhu gill quyet cac bit fien
tren.
This& bj OTT hay con dtrqc gqi v6i mOt se ten khac nhu OTT box, TV box, set-
top-box... la cac tin& bj gill tri da phuong tien chay tren n'en tang Android hoac
Linux. Thiel bj duce Vet not intemet qua wifi hoc LAN va ket nei vol tivi thong
qua cOng HDMI hoc AV. Chi an sir dung mOt dau thu tin hieu nho be 11 c6 the kat
n6i Internet de luert web, xem truyen hinh — xem phim HD true tuyen.
Mkt se thiit bj OTT trin thj triton hien nay
- The he IPbox
GIO1 THItU Ve He THONG
FPT Play HD la sin pham c6 dinh huang Mu dii trong linh Arc gill tri true tuyen.
Khach hang ci the sir dung sin phim nay de xem phim HD, thuang afire the kenh
truyen hinh true tiep (LiveTV)... Do duqc ket n6i yeti kho dff lieu F-share nen FPT
Play HD ce the xem dtrqc the be phim do cOng deg chia se tren mang. Chi can
chon phim can xem va chi dubng link F-share (din tai kho dit lieu F-share) de xem
phim We tiep. NO:a thing cling ce the tai phim ye thiet bi de danh xem sau (nhu
xem tren din HD). Ngoai ra, FPT Play HD can hO trq xem phim tir met si website
chia se dit lieu tree Internet khic. Ngtrai dimg 06 the sir dung tinh nang Movie
Finder de tim the b0 phim yeu thich tren mang. San phim nay cung hi trq rthem
kenh Bang phat tren OneTV (ngoai trir gii kenh dic biet K+) de xem cic kenh
truyen hinh trim flip.
Trong !chi do, HDM3 - sin phim IPbox cim C8ng ty CO phan Truyen thong Son
Ca Media lai huing den viec cung cap the firth nang xem phim — hit karaoke true
tuyen, xem video theo you ciu (VOD: video-on-demand). Di kern sin phim nay la
img dung Cloud Karaoke cim Son Ca Media; timg 'cat hien tren cie mau Smart TV
va du HD player Android.
Cong ty Phin mem va Truyen th8ng VASC cling ho tic vii hang Sigma Design
de tung ra thi twang met set-top-box cung cap en gill tri Online. Sin phim
MyTVnet box cua VASC bao gam the tinh nang xem truyen hinh true tuyen, xem
phim HD...
Tren MyTVnet box dtrqc cid dit sin met so (mg dung at bin dimg de xem filly&
hinh, xem phim HD, nghe nhac s6... Ngoii ra, con co cie img dung phi; bien nhu
YouTube, Picasa, Tvshow (phit Ili cie chtrcmg trinh truyen hinh gilt trI)...
8
COI THItU vt He THONG
m
Hirsh I: Mot sd their bi 07T wen thi noting
- TV — HDMI Stick
Khong chi dimg lai b the box c6 djnh, mOt s6 don vi con cung cap the thiet bj
gill tri truc tuyen ket not qua c6ng HDMI cila TV. Chi can dun thiet bj vao cing
HDMI vi kit not mang Wi-Fi, to c6 the thir?mg thirc phim HD trvc tuy4n, dnc tin
tire tren Internet... Cac thiet bj nay co ten pi la TV - HDMI Stick.
Rink 2:HDAII Stick giap cho via ding "ring cip" aic TV did a
Cie duet bj nay et-mg cho phep tut bien giao die n de cal d ilt them de *lig dung
giii tit giao due, mua stun... MOt s6 thiet bj sir dung hg dieu halt Android ne'n mac
nhien se c6 cac ling dung ph6 bien nhu YouTube, Picasa, Facebook...
- Xu huOng Android
GIOI THU VE He THONG
ZTV 11 met san phim tich hop gifts met set-top-box cung cep On dung truyen
hinh Internet vi dau thu tin bleu ye tinh DVB-S dung de bit song cac kenh truyen
hinh ye tinh. Day cling la met HD player sir dung he dieu Minh Android dimg
phat phim HD.
Sau khi kat not dau thu ZTV yeti aing-ten thu sting ye tinh thOng qua cap, ngutri
dimg c6 the thirong thirc khoang 60 kenh truyen hinh ve tinh mien phi. Day lit 'them
kenh quang ba - kh8ng bj khoa ma nhu them kenh thuang moi. Nhom kenh nay chit
yeu la cac kenh truyen hinh trong nirac nhu VTV, HTV, VTC...
Xuit phat tir nen tang Android, cac nha cung cap djch vg se a ding clip nhat cac
(mg citing rieng, deng thtti van cho phep ngirtri dimg cai d#t them cac ling dung phi)
Bien tren kho img dung Google Play.
Trung tam Phat trien truyen hinh IPTV cua FPT Telecom ding c6 ke hooch cung
cap met set-top-box c6 the sir dung cac djch vo ADSL kh6ng phai do FPT Telecom
cung cap.
Hinh 3: Stan pham Z-TV clagy h f theist Snit android
Veri lqi the gia r8 curt Android TV Box, gioi chuyen mon do bac) n6 se "thay the"
nhemg ding Smart TV va "lam mua, lam gi6" ten 04 tieing truyen hinh trong
10
GIOI THIEU Vt M THONG
nhang nam tat Den 2016, ce the 60% ngutin thu tren Internet den tir the djch try
IPTV ten OTT, khi de se bimg no thi truting Android TV Box.
UM the so 1 la gia cim Android TV Box re han 10 lin so yea Smart TV. MOt chi&
Smart TV cal giti thanh !thong clued chuc trieu, trong khi chi yea mOt chiec Android
TV Box ca gia dao dOng tir 1,6 trieu (tang den teen 3 trieu clang. Hien nay, gia re
nhat la sin phim MINDC cim BTO phan phari yen gia 1,69 trieu ding, dung sin
pham ZTV cis VTC dao dOng tir 2,29 trieu den 3,29 trieu ding. Ben can't de, tren
thi truemg con co sin phim Android TV Box dm FPT Telecom, VNPT cung cap.
Android TV Box ra deri khien thi tru?mg chimg kien mOt sir thay dai eve Ian trong
clang nghe truyen hinh, do la cuOc dua cis cac nha cung cap djch vu vien thong vi
truyen hinh trong viec tung ra djch tit truyen hinh phuong thirc mei - truyen hinh
IPTV giao thirc OTT vi Iqi the se thuOc ve cac nha cung cap djch vii vian thong.
1.3.11f thong cung cap Bich vy glib trf tren thiit hi OTT
Nhu da neu a tren, hien nay tren thi truerng co rat nhieu loai OTT box dtrqc phan
ph6i b?ri cac nhit cung cap khac nhau. Mai loci GO the sir dung cac nen tang khac
nhau nhu Android hoac Linux.
He thiing cung cap dich vu giai tri duqc ra dtri de cung cap cac djch vu filar xem
phim, nghe nhac, doc bio, vi ce the tuang thich yen cac lo3i OTT box tren thi
truong hien nay.
Trong pham vi ctla khaa luart nay, em xin trinh bay mOt phial cim hg thong la dich
vu xem phim.
11
PHAN TICH YEU CAU
CHVONG 2. PHAN TICH YEU CAU
2.1. Mo tii bii toan
Sau khi sit dung img dung xem phim tren mot so OTT Box co tat thi totting, em
dA nhAn thAy mot so uu diem cling nhu nhuqc diem caa cac Ong dung do nhu:
- MOt so Cling dung sip xep plum theo thir ttr to men den ca, diEu nay &up nguiri
sir dung co the nhAn biEt va xem cac phim m6i duce cAp that. Tuy nhien danh sich
phim se kh8ng tuan theo mot thir tu nio din den viec kho khAn cho ngutri sir dung
khi mutn tim kiem met phim mutn xem.
- MOt s6 ling dung lai kha phirc tap trong viec diEu khien, hoAc cac phim tat
diEu khiin hog dOng kh8ng an nh$p von giao dien khien ngubi sir dung cam that),
rac roi, kW, sir dung.
- HAu ha cac ling dung hien nay kh8ng co chin nAng giup nguni sir dung km lai
danh sach cac phim hg muen xem nhung 'thong co thtri gian hay diEu kien a xem
ngay tai thai diEm do. Sau mot thtri gian, co the ngutri sir dung se quen hoc nett
nha thi cling se kh6 khan trong viec Urn lai phim mutn xem do.
lat hop cac uu, nhuqc dram tren veri viec phin tich thei quen ngutri sir dung nhu:
khong mu& thao tac qui nhieu tren diau khien, mutn luqng th8ng tin tren man hinh
can r6 rang, dAy du. Tir de em da xay dung nen phAn mem xem phim tren OTT Box
yogi giao dien than thien va a sir dung nhu:
- Sir dung chit yeu nAm phim chinh la btin phim diEu hueng: len, xuting, sang
trai, sang phai va phim chqn (enter).
- Giao dien duqc thiet Ice sao cho luqng thong tin ten man hinh cang nhiEu cang
tot nhung yin phai bao dim tinh re rang, kh8ng rei met, giim ngtred sir dung giiim
thieu se thao tac barn phim tren dieu khien la it nhit co the.
Chuang trinh duqc su phei licop silt glop 0 tir he thong cung cap not dung dm
Viettel vi sir dung cac API doViettel cung cep de ley ding nhu chinh sfra not dung
tir he thong.
12
PHAN TICH YEU CAU
2.2. Su do hiOng ding viec
So db lubng cans ink
Naverl thing 017 Box CMS Server
m danh sac Lay cID lieu
e the ioal ter database
lb.'
(Thong baci loi) (HIS thi kit qui Y TM kit qui
, Lgy d&