CN109067777A - A kind of mobile terminal video on-demand system based on hadoop - Google Patents
A kind of mobile terminal video on-demand system based on hadoop Download PDFInfo
- Publication number
- CN109067777A CN109067777A CN201811071189.8A CN201811071189A CN109067777A CN 109067777 A CN109067777 A CN 109067777A CN 201811071189 A CN201811071189 A CN 201811071189A CN 109067777 A CN109067777 A CN 109067777A
- Authority
- CN
- China
- Prior art keywords
- module
- video
- hadoop
- file
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/2871—Implementation details of single intermediate entities
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention relates to technical field of video processing, and in particular to a kind of mobile terminal video on-demand system based on hadoop.The present invention includes mobile client, Servlet streaming media server, Webmanage management module, Webservice system module and Hadoop distribution memory module, and the Hadoop distribution memory module includes HSFS file module and Fuse module;A kind of mobile terminal video on-demand system based on hadoop provided by the invention, is able to solve the video file problem that current mobile terminal is unable to memory technology of the smooth playing based on hadoop.
Description
[technical field]
The present invention relates to technical field of video processing, and in particular to a kind of mobile terminal video on demand system based on hadoop
System.
[background technique]
With the continuous development of science and technology being constantly progressive with network technology, video on demand has become a kind of emerging
Multi-media network service, it is raw all to have become people either in study, in life or in daily amusement
Indispensable a part is hit, it has brought the enjoyment of great vision and the sense of hearing, meets people to video
Demand, therefore be widely used in the world.But requirement of the video on-demand system to storage is relatively high, so in general
Preferentially to set up Hadoop cluster it can store massive video file by selection Hadoop distributed file storage system.
Chinese patent authorization Publication No. CN207124647U, a kind of entitled video on demand based on hodoop and Red5
System is the system of the sharing and study of the online education video based on Hadoop cloud service platform, and which use be based on
The function of HDFS storage system and the video on demand of Red5 streaming media server exploitation.But since video render before is
Based on red5 and RTMP agreement, and mobile phone does not support the player plays Real Time Messaging of jwPlayer
Protocol (real-time messages transport protocol, abbreviation rtmp) stream, and red5 will play player current if rtmp flows only
Can arrange in pairs or groups to use with jwplayer, above-mentioned reason causes existing video and can only play on the end PC.
The demand of mobile client such as mobile phone terminal broadcasting video is bigger at present, the video software based on hadoop technological development
It at present cannot be well in mobile terminal video on demand.
[summary of the invention]
Goal of the invention of the invention is: for the problems in background technique, providing a kind of mobile terminal based on hadoop
Video on-demand system is able to solve current mobile terminal and is unable to the video file of memory technology of the smooth playing based on hadoop and asks
Topic.
To achieve the goals above, The technical solution adopted by the invention is as follows:
A kind of mobile terminal video on-demand system based on hadoop, including mobile client, Servlet streaming media service
Device, Webmanage management module, Webservice system module and Hadoop are distributed memory module, and the Hadoop distribution is deposited
Storing up module includes HSFS file module and Fuse module;
The mobile client: for sending video playing request, the query feedback that Webmanage management mould returns is received
Information receives the files in stream media of Servlet streaming media server transmission and broadcasting;
The Webmanage management module: the video playing for responding the mobile client is requested and is passed to
The query feedback information that the Webservice system module returns is passed to the mobile visitor by Webservice system module
Family end;
The Webservice system module: receive the video playing request of the Webmanage management module transmitting, visit
Query feedback information is returned to the Webmanage management module after asking the HDFS file module, carrying out authentication, it is described
Query feedback information includes following several: returning and adds when passing through in authentication and HDFS file module and there is request video
Close broadcast path, when by authentication but there is no return to mention without the video file when request video in HDFS file module
Show, lack of competence play cuing is not returned to by authentication;
The Servlet streaming media server: the encryption broadcast path of mobile client, decryption encryption broadcast path are transferred
Then access Fuse module obtains video file and is converted into files in stream media, passes after the files in stream media is cached
It is defeated by mobile client;
The Hadoop is distributed memory module: the HDFS file module is for storage media file and user information text
Part, the Fuse module is for the file in the HDFS file module to be transferred in the Servlet streaming media server
Changing into stream medium file.
Optimization, the player of mobile client is chplayer player.
It advanced optimizes, Servlet streaming media server is developed based on RESTFul api interface, including buffer slow
Area is rushed, buffered video file is used for.
Further optimize, Servlet streaming media server be based on being developed on Hadoop API, including
Controller packet module and utils module, the controller packet module add for accessing HDFS file module and decryption
Close broadcast path and by video file and it is converted into files in stream media, the utils module is for obtaining encryption broadcast path
And decoding tool is provided and is decrypted.
Further optimizing, operation data is encapsulated into client method by the Webservice system module, and
Client method is supplied to Webmanage management module, client method is packaged by the Webmanage management module
RESTFul api interface.
Further optimize, the RESTFul api interface is used to influence the video playing request of the client.
Further optimize, the mobile client is cell phone client.
In conclusion by adopting the above-described technical solution, the beneficial effects of the present invention are:
Present system used webservice system module be used as middleware be user HDFS access control and
Authentication;Hadoop the video file stored in memory module is distributed with Servlet streaming media server to be converted into flowing
Media, and carry out buffer buffering, are directly returned to mobile client in the form of streaming, mobile client can with support compared with
The plug-in unit of multi-platform video playing plays.Mobile client is to the of less demanding of player plug-in, as long as browser is supported
HTML5 and flash plug-in unit can play, and have the player plug-in unit largely increased income on the net, support the open source of HTML5 and flash
Player plug-in unit also has very much, can be selected according to personal preference, it is contemplated that the experience problem of user, such as Open
Standard Media (OSM) Player, Dailymotion HTML5Video, FryPlayer etc., what the present invention selected is
The player plug-in of chplayer.Very good solution is currently based on the video file of the memory technology of hadoop in mobile client
Cannot play or cannot smooth broadcasting the problem of.
Webservice system module of the present invention provides the client method to outer package to Webmanage management module,
Client method is packaged into RESTFul api interface by Webmanage management module, and RESTFul api interface is supplied to movement
Client, mobile client can be communicated using ajax request with Webmanage management module, efficient, information transmission
Response is fast.
[Detailed description of the invention]
Fig. 1 is the structural framing of the mobile terminal video on-demand system based on hadoop in a better embodiment of the invention
Figure.
[specific embodiment]
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Refer to attached drawing 1, a kind of mobile terminal video on-demand system based on hadoop, including mobile client 10,
Servlet streaming media server 50, Webmanage management module 20, Webservice system module 30 and Hadoop distribution are deposited
Module 40 is stored up, the Hadoop distribution memory module 40 includes HSFS file module 401 and Fuse module 402;
It is anti-to receive the inquiry that Webmanage management module 20 returns for sending video playing request for mobile client 10
Feedforward information receives the files in stream media that Servlet streaming media server 50 transmits and broadcasting;
The video playing that Webmanage management module 20 responds the mobile client requests and passes to Webservice
The query feedback information that the Webservice system module 30 returns is passed to the mobile client by system module 30
10;
Webservice system module 30 receives the video playing request that the Webmanage management module 20 is transmitted, and visits
Query feedback information is returned to the Webmanage management module 20 after asking HDFS file module 402, carrying out authentication.It returns
The query feedback information returned includes following several situations: there is request in authentication and HDFS file module 402 when passing through
Encryption broadcast path is returned when video, when by authentication but there is no return when requesting video in HDFS file module 402
It returns and is prompted without the video file, lack of competence play cuing is not returned to by authentication;
Servlet streaming media server 50 is developed based on RESTFul api interface, and the encryption for transferring mobile client 10 is broadcast
Path is put, then decryption encryption broadcast path accesses Fuse module 401 and obtains video file and be converted into files in stream media, will
The files in stream media is transferred to mobile client 10 after being cached;
Hadoop is distributed the HDFS file module 402 in memory module 40 for storage media file and user information text
Part, Fuse module 401 are used to the file in the HDFS file module 402 being transferred to the Servlet streaming media server
Files in stream media is converted into 50.
Advanced optimize, Servlet streaming media server 50 be based on being developed on Hadoop API, including
Controller packet module 501 and utils module 502, the controller packet module 501 is for accessing HDFS file module
402 and decryption encryption broadcast path and by video file and it is converted into files in stream media, the utils module 502 is for obtaining
Broadcast path must be encrypted and decoding tool is provided and be decrypted.
Operation data is encapsulated into client method by the Webservice system module 30, and client method is mentioned
Webmanage management module 20 is supplied, client method is packaged into RESTFul API and connect by the Webmanage management module
Mouthful.RESTFul api interface is used to influence the video playing request of the client 10.Servlet streaming media server 50 wraps
The buffer area buffer is included, buffered video file is used for.
In the present embodiment, the player of mobile client 10 is chplayer player.The mobile client is hand
Machine client.
The present embodiment workflow is as follows:
Mobile client 10 sends video playing request, and Webmanage management module 20 responds the mobile client
Webservice system module 30 is requested and passed to video playing, and Webservice system module 30 receives described
The video playing request that Webmanage management module 20 is transmitted, to institute after access HDFS file module 402, progress authentication
It states Webmanage management module 20 and returns to query feedback information.The reception of Webmanage management module 20 passes query feedback information
Pass the mobile client 10.The query feedback information of return includes following several situations: when by authentication and
Encryption broadcast path is returned when there is request video in HDFS file module 402, when by authentication but HDFS file mould
There is no returning to prompt without the video file when request video in block 402, lack of competence play cuing is not returned to by authentication.
If query feedback information is encryption broadcast path, Servlet streaming media server 50 transfers mobile client 10
Encryption broadcast path, decryption encryption broadcast path then access Fuse module 401 obtain video file and be converted into stream matchmaker
Body file is transferred to mobile client 10 after being cached the files in stream media;Mobile client 10 receives Servlet stream
Media server 50 transmit files in stream media and broadcasting.
Above description is the detailed description for the present invention preferably possible embodiments, but embodiment is not limited to this hair
Bright patent claim, it is all the present invention suggested by technical spirit under completed same changes or modifications change, should all belong to
In the covered the scope of the patents of the present invention.
Claims (7)
1. a kind of mobile terminal video on-demand system based on hadoop, which is characterized in that flowed including mobile client, Servlet
Media server, Webmanage management module, Webservice system module and Hadoop are distributed memory module, described
It includes HSFS file module and Fuse module that Hadoop, which is distributed memory module,;
The mobile client: for sending video playing request, the query feedback letter that Webmanage management module returns is received
Breath receives the files in stream media of Servlet streaming media server transmission and broadcasting;
The Webmanage management module: the video playing for responding the mobile client requests and passes to Webservice
The query feedback information that the Webservice system module returns is passed to the mobile client by system module;
The Webservice system module: receive the video playing request of the Webmanage management module transmitting, access institute
Query feedback information, the inquiry are returned to the Webmanage management module after stating HDFS file module, carrying out authentication
Feedback information includes following several: returning to encryption when passing through in authentication and HDFS file module and there is request video and broadcasts
Path is put, is returned when passing through authentication but request video is not present in HDFS file module without video file prompt,
Lack of competence play cuing is not returned by authentication;The Webservice system module use towards section aop technology and
ThreadLocal multithreading separates video playing business and authentication services;
The Servlet streaming media server: the encryption broadcast path of mobile client is transferred, decryption encryption broadcast path is then
Access Fuse module obtains video file and is converted into files in stream media, is transferred to after the files in stream media is cached
Mobile client;
The Hadoop is distributed memory module: the HDFS file module is used for storage media file and user information file,
The Fuse module is converted for the file in the HDFS file module to be transferred in the Servlet streaming media server
At files in stream media.
2. a kind of mobile terminal video on-demand system based on hadoop according to claim 1, which is characterized in that mobile visitor
The player at family end is chplayer player.
3. a kind of mobile terminal video on-demand system based on hadoop according to claim 1, which is characterized in that
Servlet streaming media server is developed based on RESTFul api interface, including the buffer area buffer, is used for buffered video file.
4. a kind of mobile terminal video on-demand system based on hadoop according to claim 1, which is characterized in that described
Servlet streaming media server includes controller packet module and utils module, and the controller packet module is for visiting
It asks HDFS file module and decryption encryption broadcast path and by video file and is converted into files in stream media, the utils mould
Block is decrypted for obtaining encryption broadcast path and providing decoding tool.
5. a kind of mobile terminal video on-demand system based on hadoop according to claim 1, which is characterized in that described
Operation data is encapsulated into client method by Webservice system module, and client method is supplied to Webmanage
Client method is packaged into RESTFul api interface by management module, the Webmanage management module.
6. a kind of mobile terminal video on-demand system based on hadoop according to claim 5, which is characterized in that described
RESTFul api interface is used to influence the video playing request of the client.
7. a kind of mobile terminal video on-demand system based on hadoop according to claim 1, which is characterized in that the shifting
Dynamic client is cell phone client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811071189.8A CN109067777B (en) | 2018-09-14 | 2018-09-14 | Hadoop-based mobile terminal video-on-demand system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811071189.8A CN109067777B (en) | 2018-09-14 | 2018-09-14 | Hadoop-based mobile terminal video-on-demand system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109067777A true CN109067777A (en) | 2018-12-21 |
CN109067777B CN109067777B (en) | 2021-09-03 |
Family
ID=64761576
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811071189.8A Active CN109067777B (en) | 2018-09-14 | 2018-09-14 | Hadoop-based mobile terminal video-on-demand system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109067777B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150125133A1 (en) * | 2013-11-06 | 2015-05-07 | Konkuk University Industrial Cooperation Corp. | Method for transcoding multimedia, and hadoop-based multimedia transcoding system for performing the method |
CN105187855A (en) * | 2015-07-14 | 2015-12-23 | 中国科学院信息工程研究所 | Video-on-demand system based on Hadoop and Red5 and method |
CN105979273A (en) * | 2016-05-06 | 2016-09-28 | 苏州清云网络科技有限公司 | Cloud monitor and cloud operation of intelligent commercial TVs based on big data and cloud computation |
CN107104986A (en) * | 2017-06-13 | 2017-08-29 | 柳州市盛景科技有限公司 | A kind of video on-demand system based on hadoop and Red5 |
CN107566852A (en) * | 2017-09-19 | 2018-01-09 | 苏州耀马影视制作有限公司 | A kind of Educational VOD System based on Web |
-
2018
- 2018-09-14 CN CN201811071189.8A patent/CN109067777B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150125133A1 (en) * | 2013-11-06 | 2015-05-07 | Konkuk University Industrial Cooperation Corp. | Method for transcoding multimedia, and hadoop-based multimedia transcoding system for performing the method |
CN105187855A (en) * | 2015-07-14 | 2015-12-23 | 中国科学院信息工程研究所 | Video-on-demand system based on Hadoop and Red5 and method |
CN105979273A (en) * | 2016-05-06 | 2016-09-28 | 苏州清云网络科技有限公司 | Cloud monitor and cloud operation of intelligent commercial TVs based on big data and cloud computation |
CN107104986A (en) * | 2017-06-13 | 2017-08-29 | 柳州市盛景科技有限公司 | A kind of video on-demand system based on hadoop and Red5 |
CN107566852A (en) * | 2017-09-19 | 2018-01-09 | 苏州耀马影视制作有限公司 | A kind of Educational VOD System based on Web |
Non-Patent Citations (1)
Title |
---|
黄斌杰: "基于云平台的移动端视频播放系统的设计与实现", 《中国硕士学位论文全文数据库信息科技辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109067777B (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9979771B2 (en) | Adaptive variable fidelity media distribution system and method | |
CN106060102B (en) | Media providing method and terminal | |
US9301000B2 (en) | Method for providing a content-sharing service, and a device therefor | |
CN100574199C (en) | The system and method that is used for distribution-type flow transmission of media capableof scaling | |
CN110536179A (en) | A kind of content distribution system and method | |
US9204180B2 (en) | Method, server and terminal for audio and video on demand | |
EP2493191B1 (en) | Method, device and system for realizing hierarchically requesting content in http streaming system | |
US20120259957A1 (en) | Apparatus and method for providing content using a network condition-based adaptive data streaming service | |
WO2019128800A1 (en) | Content service implementation method and device, and content delivery network node | |
CN109963171A (en) | Transmitting of Multi-media Information method, transmission device and storage medium | |
KR20110037590A (en) | P2p network system and data transmission and reception method thereof | |
CN100365619C (en) | A method for playing multimedia data and a system of enabling the method | |
US9332421B2 (en) | Method and apparatus for random access to multimedia content in wireless communication system | |
CN104661109B (en) | Method, system and the terminal being hidden to the media URI in CDN | |
CN109167790A (en) | A kind of cross-platform video on-demand system based on hadoop | |
CN208739148U (en) | A kind of mobile terminal video on-demand system based on hadoop | |
CN109067777A (en) | A kind of mobile terminal video on-demand system based on hadoop | |
KR100820350B1 (en) | Multi contaniner format integration streaming server and streaming method | |
KR20070106376A (en) | Method for streaming service of company offering vod and computer readable record medium having this method | |
KR101073667B1 (en) | Targeting Information Service System between Home Terminal and mobile Terminal | |
CN101917417A (en) | 3Tnet network-based media file play and control system | |
KR20160090521A (en) | Method for providing streaming service through device-to-device communication, server and system | |
CN106464985A (en) | Media stream transmission method and device | |
WO2010086175A2 (en) | Undelayed rendering of a streamed media object | |
KR20090001269A (en) | System and method for real-time personal broadcasting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 545000 No. 120, floor 2, building 2, No. 29, Xinliu Avenue, Liunan District, Liuzhou City, Guangxi Zhuang Autonomous Region Patentee after: Guangxi Jinyun Technology Co.,Ltd. Address before: 545000 No. 120, floor 2, building 2, No. 29, Xinliu Avenue, Liunan District, Liuzhou City, Guangxi Zhuang Autonomous Region Patentee before: GUANGXI BENYUN TECHNOLOGY Co.,Ltd. |