writing  tool  of  Node.js  uses  Visual  Studio 
Code2019.    Nginx  load  balancer  can  be  used  to 
ensure  the  rapid  response  of  the  server.  The  server 
adopts  the  relational  database  MySQL  version 
8.0.28.  On  the  choice  of  the  server,  the  mixed 
database  of  mysql  and  mongodb  is adopted. Mysql 
can  store  relational  data,  such  as  the  relationship 
data  between  students  and  teachers,  and  the  user 
information  and  permission  level  that  the  system 
needs  to  set.  (Wang,  2018)  The  non-relational 
database  mongodb  is  used  to  store  some  more 
substantial  large  files,  pictures,  videos  and  other 
types of resources. When building a database server, 
after the driver package of each database is installed, 
it  is  necessary to  use the  normalization of  tables as 
much as possible to achieve the purpose of reducing 
data redundancy and various abnormal situations of 
data  operation.  Of  course,  there  will  be  cases  of 
choosing  the  anti-normal  table, such  as  some  cases 
where  the  query  efficiency  needs  to  be  specially 
optimized.  In  this  system,  the  anti-normal  table  is 
used to realize the structured data operation function 
between  teachers  and  students.  However,  when 
deploying  mongodb  database  server,  when  setting 
keywords, it is necessary to avoid using _id keyword 
to  accurately  query the required  content  in order  to 
make the query result error due to the same 
attributes  of  name,  title  and  day.  Through  the 
introduction of the above key technologies, we have 
determined  the  overall  environment  for  the 
development  of  the  knowledge  learning  system  of 
criminal procedure law, the configuration of related 
software  and  tools,  and  the  technical  feasibility  of 
the overall project. 
3  PROCESSREQUIREMENT 
ANALYSIS 
3.1  Functional Requirements 
Considering  the  different  needs  of  different  user 
groups,  the  knowledge  learning  system  of  criminal 
procedure  law  develops  two  types  of  user  ports: 
teacher's  port  and  user's  port.  Students'  clients  are 
required to record students' learning situation at all 
stages,  and  they  also  need  to  have  the  function  of 
academic  communication  and  interaction  with 
teachers.  The most  important thing  is that  they can 
supplement  their  knowledge  of  criminal  procedure 
law through online video courses. The characteristic 
function  of  the  system  is  to  simulate  the  trial 
function, and different student users  can  participate 
in online interaction at the same time to deepen their 
knowledge  and  understanding  of  criminal 
proceedings. (Chang, 2021) 
The main  function  of teachers' users is  to  select 
resources  or  make  teaching  resources,  and  submit 
teaching documents in the form of external links or 
uploading  documents.  Secondly,  according  to  the 
completion of homework and the types of academic 
problems  submitted  by  students,  teachers  give 
corresponding  guidance  and  suggestions,  so  check 
the effect of online teaching and the overall learning 
situation.  In  setting  the  teaching  content  of  the 
course  of  Criminal  Procedure  Law,  teachers should 
highlight the foundation  that is  easy  for students to 
accept, the practicality that is conducive to students' 
follow-up  application,  and  the  frontier  of  future 
discipline  development.  It  is  necessary  to 
systematically  ensure  that  during  online  classroom 
teaching  by  teachers,  students  can  grasp  the 
principles,  systems  and  procedures  of  criminal 
procedure in time, and at the same time, they should 
keep  up  with  the  pace  of  the  times  and  accurately 
grasp the latest situation of procedural law. Teachers 
can update the course content at any time, so that 
case  teaching  can  keep  up  with  current  events  and 
maximize practicality. 
3.2  Overall Design 
This  system  is  designed  based  on  B/S  architecture, 
and  adopts  MVC  mode,  which  divides  the  system 
into control layer, template layer and view layer for 
separate design. The system consists of three layers: 
display  layer,  business  logic  layer  and  data  access 
layer.  The  display  layer  is  the  interface  between 
teachers and students, users and application systems. 
It  can  achieve  man-machine  interaction  between 
users  and  computers,  show  teaching  courses,  and 
display pages  of various functional  operations.  The 
business logic layer is responsible for processing the 
data of teachers and students and the logic operation 
of  business  functions,  including  course  resource 
management,  user  information  management  and 
statistical  analysis  of  students'  learning  situation. 
The  data  access  layer  is  used  to  realize  the  related 
functions  of  querying,  adding,  modifying  and 
deleting data information of the system. 
The  model  layer  uses  Modelproxy,  the  control 
layer  uses  Express,  and  the  view  layer  depends  on 
Handlebars. After the overall preliminary structure is 
established,  you can  start to  configure package.json 
to  unify  the  data  language,  and  then  execute  npm 
install, and  the  system will automatically  install  the 
corresponding  dependency  packages.  When  all  the