Font Size: a A A

Design And Implementation Of Food Safety Information System

Posted on:2022-02-06Degree:MasterType:Thesis
Country:ChinaCandidate:F S ZhuFull Text:PDF
GTID:2481306494473344Subject:Master of Engineering - Field of Control Engineering
Abstract/Summary:PDF Full Text Request
In recent years,with the continuous occurrence of food safety issues,more and more people are eager to learn all kinds of information about food.Faced with the endless variety of food information that is difficult to distinguish between authenticity and falsehood on the Internet,it is difficult for users to obtain effective food safety information in the existing environment.In order to meet people's needs,this article builds an application based on food safety information system on the basis of existing technology.Traditional methods(native,hybrid and H5)to develop such mobile applications have high costs,long development cycles,and low flexibility.These problems are addressed.This article first builds a food information resource database on the basis of the existing framework,selects the Scrapy-redis framework to crawl the website in a distributed manner,uses Bloom filters to de-duplicate the crawled URLs,and the Simhash algorithm performs the crawling of the crawled resources.Similarity discrimination,filtering out the resources with high similarity,improving the quality of the resource library,and then designing the system architecture of the food safety search engine combined with the search mechanism of Elasticsearch.The front-end and backend separation mode is used for APP development.The front-end is based on the Uniapp framework to build client pages,and makes full use of the flexibility of Java Script,HTML5 and CSS3 to realize the launch of various platforms to reduce development cycles and costs.The back-end uses the Django framework to write data interaction logic,and uses a RESTful API style interface for front-end and back-end data interaction.The main tasks of this article are as follows:(1)Establish a food information management system for the needs of different roles,and each role performs its own duties to maintain the operation of the APP;(2)Establish a food-related database of food news and cases;(3)Provide general consumers with more comprehensive food information(including food news,cases,laws,food traceability,etc.).In addition,the developed APP supports multi-end online.The APP adds the function of a forum.Users can post information about food,and can comment on other posts,favorites or likes,etc.,which greatly increases the food-related exchanges between users,which is useful for increasing users' food safety.Awareness has a positive effect.
Keywords/Search Tags:Food Safety Information System, Food Information Resource Library, Scrapy-redis, Elasticsearch, Uni-app, Django
PDF Full Text Request
Related items