ASP-based online video on demand system (source code + database + paper)

Abstract
At present, the development of networks is changing with each passing day, especially the construction of many campus networks, community broadband networks, and intranets of enterprises or government agencies can meet people's demand for bandwidth. So people are no longer satisfied with monotonous text or images, but hope to transmit video on the Internet.
The online broadband on-demand system introduced in this paper belongs to the online video watching website. Administrators can provide users with online video watching services through the system; users can watch videos online after registering an account and logging in.
Keywords: video on demand, database, modularization, information display

1.1 Design Ideas The
design method adopts module division and object-oriented design ideas. It is mainly divided into the following modules: video window module, interface design module, search/click ranking and other functional modules, database module, background management module, I mainly complete The design of the first three modules.
Development steps: ① firstly carry out demand analysis, ② carry out overall design of the system ③ carry out detailed design of the system ④ debug the function and coding of the software ⑤ software maintenance phase
function: the user can use the search engine to enter the movie name or actor after entering the homepage For movie search by name, if the user wants to obtain certain permissions, he must first register and log in. You can modify your own information (including password, emial, etc.).
On the side of the page, you can browse the latest update of the movie and click the leaderboard.
In the on-demand module, the embedded function of Mediaplay and Realplayer is mainly used to realize the playback function. Different file formats require both players to be used. The realized video not only includes playing the movie files uploaded by the background management system, but also includes connecting to some famous TV stations to realize online real-time viewing.
The back-end management includes the realization of the first connection to the database, through the asp.net programming, the page can read the content of the access database (including the movie name, the film introduction, the path to the poster picture, etc.) and display it in a certain position on the page. In addition, through the administrator account, you can upload, delete, and fill in the video profile online locally or remotely.
Database establishment: First, it is divided into 3 data tables, including administrator information table (including user name, password), user information table (including user name, password, email, etc.), movie information table (including movie path, movie introduction, Poster path, publication time).
According to the functions to be realized, a series of schemes are formulated to design and realize the logical structure, functional framework, and database structure of the system. Use ASP.NET and ACCESS to realize the connection between the video window and the database, and realize the transmission function of video data.
Insert picture description here
Insert picture description here
Insert picture description here
The method implemented by the following code is to embed the MediaPlayer object in the Web page through ActiveX control, and dynamically specify the video stream URL for the embedded object through DHTML, thereby providing a unified and friendly interface for video playback. It was introduced by Microsoft after IE4.0, and used to replace the object definition tag of the tag (IE still supports), and define the corresponding object type through the classid attribute. The tag is an object definition tag supported by the Netscape browser. The CONTROLS parameter is used to specify the appearance of the controls of the player, which can be combined with multiple controls and associated through the CONSOLE parameter.

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1" width="450" height="400">
        <param name="AudioStream" value="-1">
        <param name="AutoSize" value="0">
        <param name="AutoStart" value="-1">
        <param name="AnimationAtStart" value="-1">
        <param name="AllowScan" value="-1">
        <param name="AllowChangeDisplaySize" value="-1">
        <param name="AutoRewind" value="0">
        <param name="Balance" value="0">

Insert picture description here

Insert picture description here
Insert picture description here
This graduation project I made is a video on demand system, which is a practical software based on Browser/Web Server technology. When designing this management system, the overall effect of the relevant interface and the convenience of use were taken into account, so that users can easily master the use of the on-demand system, and enable administrators to quickly grasp how to use the background management system. It took nearly 3.5 months for the entire production from design to actual start. However, due to my limited personal ability, there will inevitably be some shortcomings in the system, so this system may have some problems. Regarding the shortcomings and deficiencies in this on-demand system and the thesis, teachers and students are urged to criticize and correct.
After determining the topic of the graduation project, I began to analyze the needs and conceive the art design, layout design, and functional design of the entire system. The next step is to carry out the overall design, which is divided into two parts according to the needs of the system, namely the front-end playback system of video on demand and the back-end management system of movies. In the overall design process, due to the relatively general layout, basically no difficulties were encountered. After the completion, detailed design is carried out. In the early stage, the design of the front desk was mainly carried out. Some difficulties were encountered in the process of designing the front desk. The main difficulty was to use the Web server control to read the database in different ways.

Guess you like

Origin blog.csdn.net/qq_43708988/article/details/108227852