<figure><img src="image_1.png" /></figure>

HAL
open science

# The Development of Remote Labor Training System for Rural Small Towns Based on MVC Model

Lihua Zheng, Dongmei Zhao, Nan Zhou, Xiaobing Qiu, Li Xu, Shicong Wang, Zhong Qiao

► To cite this version:

Lihua Zheng, Dongmei Zhao, Nan Zhou, Xiaobing Qiu, Li Xu, et al.. The Development of Remote Labor Training System for Rural Small Towns Based on MVC Model. 4th Conference on Computer and Computing Technologies in Agriculture (CCTA), Oct 2010, Nanchang, China. pp.473-482, 10.1007/978-3-642-18354-6_56 . hal-01563442

HAL Id: hal-01563442

https://inria.hal.science/hal-01563442

Submitted on 17 Jul 2017

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_2.png" /></figure>

Distributed under a Creative Commons Attribution 4.0 International License
# The Development of Remote Labor Training System for Rural Small Towns Based on MVC Model

Lihua Zheng¹, Dongmei Zhao¹,*, Nan Zhou¹, Xiaobing Qiu¹, Li Xu1, Shicong Wang¹ and Zhong Qiao¹

¹ The College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China

**Abstract.** In view of the characteristics of the rural labor force in China, a remote training system for small towns is developed based on B/S architecture and MVC model by using object-oriented and JSP technology on the Java J2EE platform. The system is designed to be used by administrator, training enterprise and individuals. The administrator can manage the website, permission assignment and maintain database. Training enterprise can use the system as their working operation platform. They can release their business information, manage their training materials and maintain their own data in the database. A registered individual user can access the information within his respective authorities, take study online, take part in the test online, question online, etc. By means of UML, the system is analyzed and both the database and class structure are built. By using Filter, Struts and Hibernate technologies, the system is developed with the characteristics of crossing-platform, better expansibility and maintainability.

**Keywords:** Remote rural labor training system, MVC, JSP, B/S, UML

## 1 Introduction

With China economic and cultural development, 3-issues concerning Chinese agriculture, rural areas and farmers are increasingly becoming the critical factors which restrict the development of overall national strength. It is the key to solve the issue of farmers by reasonable transferring the rural surplus labors to urban. An investigation showed that china mobile population had reached 21.1 billion in 2009, the average age at about 27.3 and 78.7% of them come from rural and they mainly engaged in low wages or dangerous industries [1]. This condition made serious challenge to national strategic planning, social management and public services, and in the meantime, it is becoming a social instability problem. Hence it is the essence way to address the problem of migrant workers' employment by increasing their professional skills, enhancing their operational qualities and improving their knowledge structure and quality.

* Corresponding author; E-mail: zhaodongm@vip.163.com
Y. J. He et al [2], W. C. Qin [3], W. L. Wang et al [4], Z. H. Tian [5] and W. Huang [6] analyzed the forming reasons and status quo of china rural labor resources quality, and brought forward many constructive views. Since the rural labor force in China has a number of large, strong mobility and relatively unenlightened knowledge structure, D. R. Zhong et al [7], Z. H. Han et al [8], D. X. Fu [9], X. Liu et al [10], Z. H. Han et al [11], S. Y. Wang et al [12], A. H. Xi et al [13] and J. X. Guan [14] have taken great effort to do large-scale research and in-depth investigation. Then they drew the same conclusion that it is the only right way to solve the problem of farmers by taking a road of orderly and stable training transfer.

However, it is impossible to organize the farmers to learn together because they are scattering in various places and various fields. C. H. Pan et al [15], Y. C. Wu et al [16], Y. Chen et al [17], H. W. Luo et al [18], X. J. Huang et al [19] made out a solution for the vocational education status quo, that is, remote training by means of internet platform.

With the spread of the computer and internet, it is becoming possible to delivery tele-educational materials through internet. A practical remote training platform for both training organizations and rural surplus labors should be very much helpful and widely needed. It can help the training organizations mapping out their training plan according to the labor force supply and market demand, and changing timely. And on the other hand, it can help the rural surplus labors finding a right and convenient way to learn knowledge and skills and lead them to apply a suitable urban job. And on a long view, it might help the government to adjust the industry positioning, to transfer rural surplus labor force reasonably and orderly, to maintain social stability and healthy development, so as to solve the facing three rural issues finally.

# 2 System Design

In response to the knowledge level and features of the rural surplus labor force, the remote labor training system was designed as B/S structure, and developed on J2EE platform by using object-oriented technology based on MVC model. The software developing environment included IE6.0, Tomcat 6, JDK 1.4.2, SQL Server 2000, Eclipse Galileo with struts 2 and hibernate.

## 2.1 System Function Analysis

The system was designed as multi-user system, which included system administrator, enterprise user, personal user and its son-class of register personal user. Fig. 1 shows the use case diagram of the system.

For administrator, the completed background management function was provided by the system. It comprised user management, item bank management, materials management, common training information management, common data maintenance, etc.

For enterprise user, a multi-user platform was built by the system. The registered training company could achieve its training business management by means of this platform, which consisted of training and interview information releasing, new
trainees enrolling, training materials delivering and its maintaining, item bank
maintaining and online training.

<figure><img src="image_3.png" /><figcaption>Fig. 1. Use case diagram of the remote labor training system for rural small town.</figcaption></figure>

For registered individual user, a plenty of powerful and convenient functions were
provided by the system. If the individual user chose a training institution to register as
its trainee, the services of that company would become available to him. Trainees
could choose a suitable training project for his professional study. Then he could
inquiry the relevant information, download training materials, join in the online
training, question and get answers online, take online test, submit the examination
paper and retrieve the answer sheet and check the test point and item analysis. On
addition, trainees could collect the favorite information to their bench which provided
by the system, advertise his job application form, etc.

And an ordinary user was allowed to browse the common information of the site.

## 2.2 System Module Design

According to the function analysis of the system, ten modules as well as their sub-modules contained by the system were drawn out. The whole module structure of the system is shown as Fig. 2.

<figure><img src="image_4.png" /><figcaption>**Fig. 2.** The module structure diagram of the remote labor training system for rural small town</figcaption></figure>
They were user management, material management, item bank management, favorite folder management, online answer management, training news management, interview information management, training trends management, training information management and message board management. Each module included its sub modules, such as, the module of material management comprised material upload, material download, material query, material delete, material scan evaluate and material online play.

Various sub modules were developed tally with high cohesion and would be called
by the relevant invoker with their corresponding rights. For the above example
module, the sub-modules of material upload and material delete were assigned for the
administrator and registered enterprise user. Thereinto the administrator could upload
and delete the common materials, and the registered enterprise user could upload and
delete his own training materials; The sub-module of material download was assigned
for the registered individual user, who could download the common materials from
administrator as well as the materials from the belonged training institution; The
sub-module of material query was designed for all of users but with different query
conditions respectively, i.e. the administrator could retrieve the materials uploaded by
himself and any other enterprise users, the registered enterprise user could only access
the materials uploaded by itself, and the registered individual user could only query
the common materials or the materials from the training company which he belonged
to; The sub modules of the material scan evaluate and material online play were
assigned for the registered individual user who could release his comments about the
materials; And at the mean time, the materials such as *.doc, *.xls, *.ppt, *.swf, *.avi,
*.wmv, *.mpg, etc. could be played or opened online.

## 2.3 System Database Design

To a B/S web application system, designing and building a correct and proper
database is the key to success. Bolstered by the powerful functions of MS SQL
Server2000, a relational database which meets the third normal form for the remote
labor training system is designed and established based on object-oriented data
analyzing.

### 2.3.1 Logical Design of the Database

By investigating the entities and the relationship between them elaborately, the E-R
diagram of the system was obtained. And it is shown in Fig. 3.

### 2.3.2 Physical Design of The Database

According to the logical design of the database, fifteen base tables are established
in terms of the third normal form. Table 1 shows the main information of all the tables.
<figure><img src="image_5.png" /><figcaption>Fig. 3. The E-R diagram of the remote labor training system for rural small town</figcaption></figure>

<table><caption>**Table 1.** The information of the base tables</caption><thead><tr><td>table</td><td>Primary key</td><td>Foreign key</td><td>Field number</td></tr></thead><tbody><tr><td>tb_user</td><td>ID/username</td><td>Usertype</td><td>12</td></tr><tr><td>tb_usertype</td><td>ID</td><td></td><td>2</td></tr><tr><td>tb_docs</td><td>ID</td><td>username/usertype</td><td>8</td></tr><tr><td>tb_test</td><td>ID</td><td>username/usertype</td><td>17</td></tr><tr><td>tb_comment</td><td>ID</td><td>Username/usertype/Book_ID</td><td>7</td></tr><tr><td>tb_book</td><td>Book_ID</td><td>Username/usertype</td><td>8</td></tr><tr><td>tb_favoriter</td><td>ID</td><td>Username/usertype</td><td>6</td></tr><tr><td>tb_news</td><td>ID</td><td>Username/usertype</td><td>6</td></tr><tr><td>tb_leaveword</td><td>ID</td><td>Username/usertype</td><td>6</td></tr><tr><td>tb_traininginfo</td><td>ID</td><td>Username/usertype</td><td>9</td></tr><tr><td>tb_exampaper</td><td>ID</td><td>Username/usertype</td><td>16</td></tr><tr><td>tb_seeker</td><td>ID</td><td>Username/usertype</td><td>10</td></tr><tr><td>tbvideo</td><td>ID</td><td>Username/usertype</td><td>7</td></tr><tr><td>tb_job</td><td>ID</td><td>Username/usertype</td><td>10</td></tr></tbody></table>
## 2.4 System Class Design

According to the E-R diagram and data analysis, seventeen entity classes were built. Fig. 4 shows the classes and their relationship.

By using Struts framework, fourteen action classes were established to acquire the data from forms and transmit them to the business logic layer. And then the JavaBeans were called to fulfill the main performances or to forward HTTP requests to JSPs. In addition, seventeen DAO classes inherited from Hibernate SessionFactory were built to implement the persistent layer; Two classes implementing Filter interface were used to filtrate character set encoding and login request; Three Servlet classes were used to control online questioning and answering; Several other classes were built to implement the common functions or to assist to implement some function.

<figure><img src="image_6.png" /><figcaption>Fig. 4. The class diagram of the remote labor training system for rural small town</figcaption></figure>

## 3 System Implementation

By using Tomcat as the J2EE application server, adopting Struts, Hibernate and Filter as the developing technologies, the data logic layer and business logic layer were established, in which the entity beans were used to implement the system data tier, and action beans were used to implement logical tier. The architecture diagram is shown as Fig. 5.
<figure><img src="image_7.png" /><figcaption>Fig. 5. The architecture based on Hibernate and Struts</figcaption></figure>

The remote labor training system mainly consisted of ten modules. Among them, the subscriber management module included user registration, user login/query/delete and user information edition. Question bank management module consisted of add/delete/edit/query question. Training examination management module included random test paper auto-formation, online testing and automatic scoring. Materials management module included upload training materials, query/edit/delete training materials, download general materials, video online play and materials evaluation message. Online Q&A module was tailor-made for rural training participants, and it consisted of online question, online answer and online exchange. A hundred and seventy five web pages were made in the system. Fig. 6 is the homepage of the registered individual user.

<figure><img src="image_8.png" /><figcaption>Fig. 6. The homepage of the registered individual user</figcaption></figure>
# 4 Conclusions

With the step of new socialist countryside building, Chinese government is improving rural communication infrastructure construction gradually. Therefore, remote vocational education is becoming realistic. A suitable and practical teletraining system for small cities and towns can provide convenient service for those rural surplus labors and help them to solve their facing employment problem.

Based on the object-oriented methodology, by means of java developing platform, by using Struts, Filter and Hibernate technologies, the remote labor training system for small rural towns was built with a good man-machine interface, rich applications and easy to operate. It is highly cohesive, loosely coupled, highly credible, easy to maintain and extend.

The system's commissioning showed that it could meet the needs of rural labor remote training service. It is time-saving, low cost, efficient and practical. And it will be helpful for the government to transfer rural surplus labor force to urban cities in an orderly management, so as to untie the facing three rural issues finally.

**Acknowledgments.** This research was financially supported by the National High Technology Research and Development Program of China (2006BAJ07B02).

# References

1. China mobile population more than 20 Billion, most engage in low wages or dangerous industries, http://news.163.com/10/0627/01/6A584ULD00014AEE.html. In Chinese

2. Y. J. He, J. H. Zhang: Discussion on Agricultural Information and Building of the well-off society in an All-round Way in Countryside. Journal of Anhui Agri.sci, 33(10), pp. 1991--1993 (2005). In Chinese

3. W. C. Qin: The study and reflection of rural labor force transfer in Suining county. China New Technologies and Products, 4, p. 122 (2009). In Chinese

4. W. L. Wang, Y. J. Li, J. D. Wang: The Forming Reasons of China County Remained Labor and Its Transferring Fashion. Journal of Shandong Normal University (Natural Science), 19(2), pp. 62--65 (2004). In Chinese

5. Z. H. Tian: The Thought and Countermeasures of Rural Labor Force Transferring — The Reflection of Todaro Model. Business Economics, 11, pp. 24--25 (2006). In Chinese

6. W. Huang: Analyzing And Thinking About Employment Difficulty of Shanghai Farmers Leaving Land. Social Watching, 12, pp. 5--7 (2005). In Chinese

7. D. R. Zhong, L. Q. Yu: Strengthen The Training of Farmers and Stimulate The Construction of Small Towns. China Adult Education, 12, p. 60 (2000). In Chinese

8. Z. H. Han, Y. J. Qi, L. Qin: The Development of Vocational Education During The Construction of Small Towns. Journal of Heibei Normal University of Science & Technology (Society Science), 5(3), pp. 18--21 (2006). In Chinese

9. D. X. Fu: The Research of Rural Labor Employment Capacity Training System Building. Special Zone Economy, 2, pp. 168--169 (2008). In Chinese

10. X. Liu, J. Y. Sun: The Training System and Safeguard Mechanism of The Transformation of Rural Labor Force. Vocational And Technical Education, 25(16), pp. 59--62 (2004). In Chinese
11. Z. H. Han, J. Y. Sun, X. B. Yun, G. R. Zhang, W. Y. Liu: Discussion on Interaction Between Small Town Construction and Vocational Education Development. Vocational and Technical Education, 27(7), pp. 12--14 (2007). In Chinese

12. S. Y. Wang, B. F. Chen, A. H. Xi, X. L. Zhang: The Government Participating in The Vocational Education Development of Small Town. Vocational Education Research, 7, pp. 12--13 (2006). In Chinese

13. A. H. Xi, B. F. Chen, X. Q. Qu, Y. Ma: Study on Vocational Education Mode of Wide Places in The Road. Vocational And Technical Education, 26(28), pp. 14--16 (2005). In Chinese

14. J. X. Guan: Taking a Road of Development Through Orderly & Stable Training Transferring. Work Newsletter in Rural Areas, 18, p. 32 (2009). In Chinese

15. C. H. Pan, T. L. Zhu, H. X. Fu: Research on Rural Distance Education And Training System Based on Network. Agriculture Network Information, 1, pp. 12--15 (2009). In Chinese

16. Y. C. Wu, C. L. Zhang: Design of Agricultural Science Training System Based on MVC Model. Journal of Agricultural Mechanization Research, 5, pp. 246--247 (2004). In Chinese

17. Y. Chen, Q. Weng: By Countryside Science And Technology Information Strut System Constructing. Agriculture Network Information, 7, pp. 26--28 (2006). In Chinese

18. H. W. Luo, L. Huang, K. Liu, B. T. Li, X. Yan: Research And Application of The Model of Long-Distance Training of Agriculture sci-tech Based on Internet. Agriculture Network Information, 8, pp. 83--86 (2006). In Chinese

19. X. J. Huang, J. X. Cui, H. W. Luo, Z. H. Su: The Explore of Remote Educational Standardization in Guangdong. Guangdong Agricultural Sciences, 8, pp. 258--259 (2009). In Chinese