The web application building environment of this
system is divided into front-end and back-end. The
front-end VUE.js tool is used for development, and
the front-end development language is a
combination of HTML+CSS+JS. Back-end
development is to use Apache tomcat to build a
server, the development tool is
struct2+spring+hibernate, and the development
language is Java. The database server chooses the
relational database MySQL to complete the
construction of dynamic web pages. Through the
introduction of the above key technical theories, the
overall environment of the system development, the
configuration of related software and tools are
determined, and the technical feasibility of the
overall project of the art network training platform
based on streaming media technology is also
clarified.
3 REQUIREMENT ANALYSIS
3.1 Function Requirement
According to the research on the target groups of art
teaching, this paper sets up two user ports: teacher's
client and student's client, according to the different
needs of different groups. The main functional
modules of the system include four key modules:
online live teaching, extracurricular supplement,
homework and teacher-student communication. In
this system, students can learn the prescribed tasks
in class, complete the homework reserved by
teachers, and submit the homework by uploading
scanned pictures. Teachers need to record the live
course content through the system combined with
external microphones, cameras and other hardware,
select appropriate multi-category art teaching video
courses such as Chinese painting, sketch and oil
painting and upload them to the extracurricular
supplementary modules of the system to help
students improve their art literacy and aesthetics.
Combined with the students' homework completion,
after-class Q&A and live classroom barrage,
teachers can judge students' learning efficiency and
situation, further adjust and optimize teaching
methods. (Lu, 2018)
3.2 Overall Design
The design of art network training platform based on
streaming media technology adopts B/S architecture
and Java network programming technology to
realize the control function of the system. The main
function of this system is the live teaching function,
which is designed in three aspects: coding end,
streaming media server end and player end. The
coding end mainly realizes the collection of audio
and video resources, encodes, compresses and
encapsulates the resources, and finally pushes the
packaged packets to the server to realize the coding
degree and the data interaction of the streaming
media server. At the coding end, the data is sent out
by using the related methods of FFMpeg
encapsulation, and the data packets are transmitted
in the form of RTP real-time data stream. The main
function of streaming media is to receive data
packets and distribute them to other clients, and to
complete the real-time transcoding in this process.
The player finishes streaming, decapsulating video,
decoding and completing audio-video
synchronization, so as to realize real-time playback,
which is displayed on the user's webpage. The
playback method uses the data stream playback
method in SDL library. The real-time transmission
and reception of streaming media data between
teachers and students is mainly realized by RTP
protocol and FFmpeg technology. The operation
instruction transmission between clients is realized
by the related methods of socket class. (Dai, 2018)
4 FUNCTION REALIZATION
The main functional modules of the art network
training platform system based on streaming media
technology include four key modules: online live
teaching, extracurricular supplement, after-class
homework and teacher-student communication. The
core function of the system is the live course
module. After students log in to the system through
their account numbers and passwords, they can see
the art teaching courses displayed by teachers in real
time when they enter the live class of the system
within the specified time. During the teaching
demonstration of teachers' art skills, students can
send barrage to express their views and questions in
real time, and teachers can directly answer questions
in live class. The workflow of the live broadcast
module of the system is shown in Figure 3. The RTP
protocol dialogue is established in the audio playing
interface and the video playing interface
respectively, and RTP is used to monitor the audio
and video data streams so as to receive them in time.
After receiving the audio and video data stream, the
player can obtain RTP audio and RTP video. The
client player needs to integrate audio and video
into audio and video data source, then clone this data