Pet care teacher WeChat applet---opening report sharing

Author Homepage: Programming Compass

About the author: High-quality creator in the Java field, CSDN blog expert, invited author of Nuggets, many years of architect design experience, resident lecturer in Tencent Classroom

Main content: Java project, graduation design, resume template, learning materials, interview question bank, technical mutual assistance

Favorites, likes, don't get lost, it's good to follow the author

Get the source code at the end of the article 

Item Number: None

1. Graduation project (thesis) overview (topic background, research significance and related research at home and abroad)

1.1 Topic background


Due to the improvement of people's material living standards and spiritual needs, the number of pets purchased and kept is increasing day by day. However, with the continuous increase of pets, the daily management of pets has become more and more prominent. Especially during festivals, people visit friends, or travel, and don't have time to take care of their pets. This is the reason why the "pet care teacher" industry emerged. With the rapid development of network technology, the system architecture of the pet foster care system is gradually formed. A pet custody applet with a good interface and easy operation can provide people with more satisfactory pet management services. And it is relying on the simplified structure of the WeChat applet that makes the pet custody system light and convenient. WeChat Mini Program is a product of the new Internet era launched by Tencent. Compared with traditional APPs, the implementation of WeChat Mini Programs can greatly reduce the difficulty and cost of development, which is an epoch-making improvement on the characteristics of traditional APPs.


1.2 Research Significance


    With the development of modern society and the fast pace of people's life, for those who own pets, the importance of pet custody is gradually recognized and accepted by everyone. However, due to the lack of relevant and convenient applets, people's understanding of how to obtain pet care services still needs to be improved. This study is based on the WeChat applet, by analyzing people's needs for pet custody, using survey statistics and system-level architecture development methods to analyze the lack of pet custody lightweight programs and people's low level of understanding of the pet custody service system, etc. Problems and relevant solutions are proposed, which will help the further maturity of the pet care industry, promote the solution of the career planning of pet caregivers, and have important practical significance for maintaining the normal work and life of pet breeders.


1.3 Research status at home and abroad


my country's pet custody industry developed relatively late. From the 1990s to the present, my country's pet custody related industries have entered into accelerated development. With the development of my country's population structure and economy, the aging of my country's population has intensified, and the only child once became the main force of consumption. The increasing number of elderly people in my country and the new generation of young people are more advocating the free life of living alone, and the demand for companionship of pets has increased, and the role of pets has gradually changed from "housekeeping and nursing homes" to "emotional companionship". At present, the homogeneity of pet apps in China [11] is serious, the main functions are too similar, and there is no interoperability between each app. If pet lovers want to enjoy comprehensive services, they can only use all apps by downloading them. According to the "2019 White Paper on China's Pet Industry", the scale of my country's pet market in 2019 is about 202.4 billion yuan, a year-on-year increase of 18.5%, and the compound annual growth rate from 2010 to 2019 is about 34.55%. Since 2015, the size of China's pet market has continued to expand. From 2015 to 2019, the size of the pet market has doubled, and the market size will reach 295.3 billion yuan in 2020. The scale of China's pet market continues to expand, and the demand for pet consumer products is growing and becoming more diverse. With the improvement of my country's economic level, the rise of per capita disposable income, the aging population, the continuous increase of celibacy groups, and the advancement of the concept of family pets, e-commerce giants have "sinking channels". In March 2019, the "2018 Pet Industry White Paper" released by CBNData and Tmall showed that in 2018, the number of pet owners in China's cities and towns reached 73.55 million (including aquariums). The annual consumption amount is calculated at 5,016 yuan, an increase of 15%/11 compared with 2017. In 2020, online pet consumption accounted for 38%, of which the pet industry sales on the Taobao Tmall platform reached 12.1 billion yuan, a year-on-year increase of 71%. Tmall International pet consumption increased by nearly 1. 5 times [9]. Since my country's accession to the World Trade Organization, technical exchanges with foreign organizations such as the American Feed Control Association and the European Pet Food Industry Association have become increasingly frequent. The trade volume and product categories of pet products have continued to expand. The establishment and improvement of standards is of great significance for promoting the development of pet products [8]. With the in-depth development of the concept of Internet +, the concept of sharing in various industries continues to deepen, and the platform model is also being practiced in various industries. The use of third-party platforms to solve the needs of custodians and pet trusteeships has been practiced abroad. New platforms such as Pettopia are relatively mature. Therefore, industries such as pet divisions have become popular. At present, the market potential of my country's pet economy has reached at least 15 billion yuan. Among the second batch of new occupations recently announced by the Ministry of Labor and Social Security, the "pet health care worker" has attracted quite a lot of attention. In the selection of the top ten most popular occupations in a certain list, pet groomers are among the best. According to experts, the number of pet industry employees in my country has reached one million, of which about 10% are engaged in pet medical care and care, and the number of pet health care workers can reach 90,000. In contrast to foreign countries, in the United States, the operating model of pet foster care has also undergone considerable changes. A person in charge of the American Boarding Kennels Association said that one result of this development for consumers is that with the With the emergence of additional services, the cost of pet foster care will increase by 15%-20% in the next two years. According to data provided by the organization, Americans spent $32.4 billion on pets last year, an increase of nearly 10% over the previous year[1]. Generally speaking, the pet foster care service in the United States has gone through a series of development processes. At present, they provide comprehensive services and high service quality, which is accompanied by a rapid increase in foster care prices. Including the emerging pet hotels that have recently emerged, providing 5-star services and providing temporary residences for pets, the charges are also quite expensive. One consequence of this development for consumers is that the cost of pet boarding will increase by 15% to 20% over the next two years as additional services emerge. According to data provided by the organization, Americans spent $32.4 billion on pets last year, an increase of nearly 10% over the previous year[1]. Generally speaking, the pet foster care service in the United States has gone through a series of development processes. At present, they provide comprehensive services and high service quality, which is accompanied by a rapid increase in foster care prices. Including the emerging pet hotels that have recently emerged, providing 5-star services and providing temporary residences for pets, the charges are also quite expensive. One consequence of this development for consumers is that the cost of pet boarding will increase by 15% to 20% over the next two years as additional services emerge. According to data provided by the organization, Americans spent $32.4 billion on pets last year, an increase of nearly 10% over the previous year[1]. Generally speaking, the pet foster care service in the United States has gone through a series of development processes. At present, they provide comprehensive services and high service quality, which is accompanied by a rapid increase in foster care prices. Including the emerging pet hotels that have recently emerged, providing 5-star services and providing temporary residences for pets, the charges are also quite expensive. One consequence of this development for consumers is that the cost of pet boarding will increase by 15% to 20% over the next two years as additional services emerge. According to data provided by the organization, Americans spent $32.4 billion on pets last year, an increase of nearly 10% over the previous year[1]. Generally speaking, the pet foster care service in the United States has gone through a series of development processes. At present, they provide comprehensive services and high service quality, which is accompanied by a rapid increase in foster care prices. Including the emerging pet hotels that have recently emerged, providing 5-star services and providing temporary residences for pets, the charges are also quite expensive. One consequence of this development for consumers is that the cost of pet boarding will increase by 15% to 20% over the next two years as additional services emerge. According to data provided by the organization, Americans spent $32.4 billion on pets last year, an increase of nearly 10% over the previous year[1]. Generally speaking, the pet foster care service in the United States has gone through a series of development processes. At present, they provide comprehensive services and high service quality, which is accompanied by a rapid increase in foster care prices. Including the emerging pet hotels that have recently emerged, providing 5-star services and providing temporary residences for pets, the charges are also quite expensive.

2. The main content of this topic research and the research plan, research methods or measures to be adopted

2.1 Main content and proposed research program

The content of this subject research is to develop a "pet caretaker" service management system, the system is divided into 3 modules: 1, pet caretaker module: mainly complete the record, ranking and scoring functions of pet caretakers. 2. Order module: It mainly completes functions such as selecting pet caregivers, making appointments, placing orders, and pet caregiver scoring feedback. 3. Customer module: functions such as recording and classification of main customer information (basic information, pet information, order information, etc.). At the same time, the system is stable in operation, easy to operate, clear in logic, and clear in authority division.
As far as the whole system is concerned, two different user roles need to be divided: customers and administrators. The system provides different functional modules for different user roles, and provides the designed view layer description languages ​​WXML and WXSS through the WeChat program layer, and JavaScript-based language The logic layer framework, the view layer WXML and WXSS use the Webview thread to render, the logic layer JS uses JSCore(ios)/X5(android)/nwjsx to render and analyze [6], plus the data designed between the view layer and the logic layer Transport and event system. The page design will use multiple functions of the framework, the first is the API interface, which can easily call the functions of WeChat itself without accessing the source code, such as: authorization to obtain information, WeChat payment, and initiate network requests. The third is to provide basic components. Including form components, page links, maps and so on. In terms of perfect function, data interaction, page layout and so on. Each function plays a pivotal role, making the development of small programs easier [7].
The whole can be divided into two modules: "WeChat mini-program front-end" and "administrator background management". Among them, "WeChat mini-program front-end" belongs to front-end management. Customers can register and log in to the platform, and administrators can enter the background management interface.

Figure 1 System function module diagram

In the front-end page of the WeChat applet, the employee module mainly completes the record, ranking, and scoring functions of pet caregivers. Order module: It mainly completes functions such as selecting pet caregivers, making appointments, placing orders, and giving feedback on pet caregivers. Customer module: the main customer information (basic information, order information, etc.) recording and classification functions. The database realizes the storage and management of employees, orders and customers.
The whole system is based on the view layer description languages ​​WXML and WXSS designed by Tencent itself and the logic layer architecture based on JavaScript language, using JAVA language to develop background applications, and using MySQL database to store system data.


2.2 Research methods and measures


The main purpose of this project is to build a "pet care teacher" service management platform based on the WeChat applet, and provide a good interactive platform for customers and managers. The main part of a WeChat applet consists of three files: app.js, app.json, and app.wxss [3]. The app.js file defines the script code of the applet, declares the global variables of the applet, monitors and processes the lifecycle functions. You can do some unified processing on the whole program; the app.json file configures the applet globally, setting the page access path, interface performance, network timeout, bottom tab, etc. of the current applet. It is used to configure the applet as a whole. The configuration in this file can be overwritten by the same *.json configuration on other pages; app.wxss is the public style sheet of the entire applet. It is the overall control of the style of the applet [4]. When the WeChat applet project development is required, a file system corresponding to the product can be established according to the requirements. By referring to the development experience of related service platforms and the development process of e-commerce, the functional structure and overall structure of pet custody service management platform are analyzed and designed. This system uses a modular approach to design the platform. The main functional modules of the system include employee module, order module, customer module and so on.
The platform is mainly designed from three aspects: underlying design, business logic design and interface design. The core part of the framework is the reactive data binding system. This system consists of two parts, the view layer (View) part and the logic layer (App Service) part. It is very simple to use the framework to keep the data and view in sync. When the page data needs to be modified, the data needs to be modified in the logical management layer, and the corresponding part of the view layer will also be updated.


3 The key points and difficulties of this subject research have been carried out in the early stage


3.1 Key points and difficulties of this topic:


The key points and difficulties of this subject research are as follows:
1) Conceptual understanding of the management system and demand analysis and generalization;
2) Master the development tools of the management system: learning and using WeChat developer tools, etc.;
3) Design a relatively friendly and simple front-end Interface;
4) Familiar with relationship matching and function usage of relational databases such as MySQL;


3.2 Previous work has been carried out


In order to complete this subject, I have read a large number of research reports, papers and reviews related to the subject content. Compared with the response events in the development of the web page, the WeChat Mini Program splits the response events that were originally controlled and triggered by JavaScript, based on WeChat's MINA (Network Communication Application) framework and uses a set of independent scripting languages ​​WXS for WeChat Mini Programs (WeiXin Script), to combine WXML to build the structure of the page and respond to events. The MINA framework is a data binding system [2] that can respond in a timely manner. The system is divided into a logic layer (App Service) and a view layer (View), as shown in Figure 2. The MINA framework is widely used and is the basic framework for developing high-availability and high-performance network applications. By using the MINA framework, developers can save complex tasks such as dealing with thread concurrency and underlying IO, with the purpose of devoting more energy to business design and development [5]. The logic layer is implemented based on JavaScript, and the view layer is described by WXML and WXSS. Developers only need to focus on data and logic, and the interaction between view layer and logic layer is realized through data transmission and event system. The MINA framework not only provides basic components and a rich WeChat native API (Application Programming Interface), but also manages the page routing of the entire Mini Program. Therefore, when developers use the MINA framework, they do not need to deal with relatively complex tasks such as thread concurrency and underlying IO, and can focus more on business design and development [12]. When users use the product, the most direct perception is the visual design. The quality of the visual design directly affects the user experience, so this element is taken as one of the user experience elements of the Mini Program. A clear, logical and concise interface design can help achieve a better user experience. According to the description of the WeChat applet document, the framework manages the page routing jump of the entire applet, can achieve direct switching between pages, and has a complete life cycle for page configuration. Developers only need to register the data, methods, and life cycle functions required by the page in the framework, and then other complex operations can be processed through the framework. By reading and learning related small program development videos, lay a theoretical foundation; through systematic research, understand the actual situation, and make full preparations for the smooth progress of the project.


    Figure 2 MINA frame diagram

References
[1] Yang Ying. Design of pet custody digital service platform [D]. Central South University, 2014. [
2] Yin Fengmei, Jing Yuyu. Design and implementation of pet assistance system based on cloud development and WeChat applet [J]. Computer Knowledge and Technology, 2022, 18(14): 37-39. DOI: 10.14004/j.cnki.ckt.2022.0942.
[3] Li Zhe, Zhou Ling. Analysis on the Architecture and Development of WeChat Mini Programs [J]. Fujian Computer, 2019, 35(12): 66-69. DOI: 10.16707/j.cnki.fjpc.2019.12.024.
[4] Wang Tingting. WeChat Mini Program Development [J]. Information Technology and Informatization, 2018(12 ):62-63.
[5] Zhang Lixiang, Gan Fawang, Bo Jianguo. Realization of Achievement Query System Based on WeChat Mini Program and Cloud Development [J]. Inner Mongolia Science and Technology and Economy, 2019(13):59-60. [6
] Li Zhe, Zhou Ling. Analysis on the Architecture and Development of WeChat Mini Programs [J]. Fujian Computer, 2019, 35(12): 66-69. DOI: 10.16707/j.cnki.fjpc.2019.12.024. [7
] Chen Yanjun, Zeng Zhi, Cheng Cheng, Lai Baorong, Tang Quanling. Research on outpatient appointment system based on WeChat applet [J]. Software, 2022,43(10):21-23. [8] Huang Wangsen. Companion animals (pets) in
China Current situation and analysis of standardization of supplies [J]. Shanghai Animal Husbandry and Veterinary Communication, 2022 (06): 78-80. DOI: 10.14170/j.cnki.cn31-1278/s.2022.06.003.
[9] Hu Jie, Li Shiyu, Huang Wei, Huang Xiong, Yu Xiaoyuan, Yu Ling. Research on the Development of Pet E-commerce in the New Media Era[J]. Time-honored Brand Marketing, 2022(19):25-27.
[10] Wang Wenjie, Yu Zhijun, Zhang Cifeng, Zhu Guotao. Mini-program design of WeChat application based on user experience [J]. Internet Weekly, 2022(21): 47-49. [11] Tan Yuxin. Current status and development analysis of domestic pet apps
[ J]. Modern Communication, 2019 (09): 68+67.
[12] Li Changbao. Design and Development of Electronic Mall Based on WeChat Mini Program [J]. Journal of Lvliang Institute of Education, 2021, 38 (03): 133-136 [13] Lei Hao, Fucheng
Wan, Ning Ma, Yicheng Wang. Analysis of the Development of WeChat Mini Program[J]. Journal of Physics: Conference Series, 2018, 1087(6). [14] Ding Ye, Lu
Xiaolong ,Xie Zhencheng,Jiang Tingting,Song Chenglin,Wang Zhixu. Evaluation of a Novel WeChat Applet for Image-Based Dietary Assessment among Pregnant Women in China[J]. Nutrients,2021,13(9).
[15] Liu Xin, Li Jinglong, Li Wenxiang, Song Jijiang. Realization of garbage classification system based on WeChat mini program[P]. Lanzhou Institute of Technology (China); The Hua Sheng Jing Shi Information Technology Co., Ltd. ( China), 2022.

 

 

Guess you like

Origin blog.csdn.net/whirlwind526/article/details/130441885