Internet of Things Based Systems for Food Safety Management

The paper is highlighting the advantages of integrating technologies and digital standards in public politics for protecting consumer rights. Today’s globalization of food production chains, their extensive complexity and limitations arising from manual insertion and data processing of products information make it impossible for consumers the task of being informed in real-time. This obstacle can be overcome, and the current level of technology and low implementation costs allow full automation of this process. We propose a sensors network architecture based on Internet of Things (IoT) components, which is using autonomous embedded modules and radio identification tags (RFID) that will automatically collect data, covering the entire life cycle of the food product and all the factors that influence its chemical composition. This architecture offers consumers complete data about their food products and how their components were obtained.


Introduction
For the moment it is evident that the new trend is to use to the right value the openness of data.The big volumes, complexity, openness of data determine a new mode of management and new technological safeguards for privacy.environment.The quality of fresh fruits and vegetables are influenced by the treatments made by the farmer but also by the surrounded environment.The proximity of a large industrial complex may contaminate the products. The animal growing farms must provide information in how the animals are reproduced and also information on the food supply chain used to deliver nutrients used to grow the livestock. The food additives producers must provide the scientific and chemical name of the additive.These can be correlated with Open Data libraries that provide further information on long term effect on human health if they are consumed;  The food processing industry  The goods transporter must provide required light and temperature conditions all the time and through the entire journey. The local food warehouses must provide proper storage facilities and must deliver food products before they reach their validity term;  The local markets, supermarkets and other food resellers  Public or governmental organizations that provide access to knowledge (A2K) and Open Data repositories Once all this data for all these sources is recorded and publicly available in Open Data repositories there is a matter of seconds and customer culture and responsibility to access it and query it in the store.Then the consumer will have all the data needed to take a fully aware decision on buying or not that product.This is also in concordance with Europa 2020 strategy [19].

IoT based food management system
Food management systems are useful tools that helps analyze food related activities in order to optimize costs.A quickly search on Google Trends of the term food management reveals an almost constant trend from 2005 (figure no. 2) till now with regards to management procedures in food related activities.In the open data context, food management systems have greatly improved because of the easiness in which data is gathered by means of Internet of Things [1], [5] infrastructures.Big data is a concept now with great potential in providing trustful and reliable results for the entire community.

Results and Discussions
By using a deployed Internet of Things infrastructure with two main types of sensors RFID/NFC tags [9] and smart-objects embedded in the transportation vehicles and on the containers, data can be obtained from gateways within food production companies, supermarkets, smart refrigerators and other food processors parties, in order to dynamically track food ingredients, optimize the route from production till final consumer or stop the delivery of the goods if the transportation conditions, like temperature, are not provided all the time.The main data-flows of a food management system consist from:  Collecting necessary info from the sensors, such as: cans and containers emptiness percentage (IoT Sensor) and identity (RFID tags); information from public smart recycling bins; retailers/markets dynamic requests regarding new deliveries or available stocks; info about the garbage/waste selection pre-processing (glass, plastic, paper, etc.); weather conditions (humidity, pollution, etc.) needed for environmental monitoring; proteins, calories and other food levels ingredients; data is collected from the IoT sensors and WSNs (Wireless Sensors Networks) using IoT gateways deployed in food processing and temporary warehouses areas;  Dynamically re-routing the provisioning vehicles in real time traffic to reach the closest client based on the IoT collected data regarding the freshness of delivered goods.The re-routing is based on optimized critical paths obtained according with mathematical models, which will take as input data collected from IoT sensors and it will integrate a telematics fleet-vehicles management system;  An instant payment service can be implemented, taking into account secure payment solutions (mobile, Internet, micro-payments, bank credit/debit cards via payment gateways) available in the market, in order to dismiss cashiers and track faster the levels of goods that are being bought faster than others; an analyze can be made on not so much sold products to benefit of special offers that will increase selling levels;  All the data collected from the sensors, it will ensure the pre-requisites for an enhanced and optimized food labeling process and management, for providing environmental protection mechanisms, as well as obtaining an environmental monitoring system (CO2 emissions, pollution indicators, etc.), to reduce the production, distribution and wasting costs.The overview of the Eco-SMART project is DOI: 10.12948/issn14531305/19.1.2015.08 depicted in figure 4.

Fig. 4. Eco-SMART Project Overview Architecture
The proposed system architecture is based on the Internet of Things (IoT) infrastructure with cybernetic feed-back loop approach in design, that gets sensor-data processed it in real time and generates system behavior changes.Of course, the system architecture may be modified after the research, analysis and design task and activities from workpackages according with best-practice in the field, state of the art and the focus groups necessities.Also, as stated in [12], the software embedded in such systems has to be tested thoroughly before going in production.

Fig. 5. Food management system implementing food labeling
The state of art is divided in two levels: solution level and technical level.At solution level, there are partial solutions delivered in EU or US, but without full achievements of the objectives from Eco-SMART project.There are solutions for parts from the "Smart Cities" applications in E.U. in Santander, without waste management [7], Helsinki, only City sensors data map, and different partial solutions implemented in U.S., like Boston, [10] and Cleveland, [6].For the moment the solution from U.S. are not presenting possible integration with Smart Cities IoT infrastructures.The Boston solution uses BigBellySolar smart trash bin [2] in order to collect the public waste from the streets, but they are not having a smart IoT infrastructure deployed for route collection optimization.In terms of technologies as state of the art Internet of Things (IoT) [1] is at confluence of: RFID, WSN, M2M and SCADA topics [3], [4] and [18].There are a lot of standards for IoT middleware, sensors and components/gateways.An overview for IoT boards useful as nodes or gateways is depicted Pulido [13] (2013).Typically Arduino and Intel Galileo board might be IoT nodes for sensors data collection and Raspberry Pi might be the hardware support DOI: 10.12948/issn14531305/19.1.2015.08 for IoT gateways.For micro-cloud instances in back-end a state of art approach is to use Ninja Blocks, modified BeagleBone boards.An overview of technologies from IoT is described by Toma, Ciurea and Ivan [15] and is the support base for all solutions from "Smart Cities" including "Smart Waste Management".For the state of the art of the middleware in Wireless sensor Network (WSN) and communications protocols, it is taken into account as radio transport standards the ZigBee, WiMax, WiFi, Bluetooth but not limited to them.Another important issue regarding technological approaches is security and quality of the solution.For QoS, besides the bandwidth, distances and reliability of the subsystems, there are sensitive issues regarding the security such as: tag cloning and identity theft, access rights to data, authenticity-integrity plus non-repudiation, capture of personal data, retention of personal data, IoT nodes/sensors destruction, transmission destruction using interfering signals, flooding a network with wrong alertsdenial of service attacks, etc.Based on these elements we performed a SWOT analysis (Table 1 The food management system main advantages are given by all these solutions from interdisciplinary fields that maximize the way in which food products are produced, delivered and recycled:  enhancing the people awareness regarding food management topics and issues within media events;  food provisioning track optimization with respect to food validity and conservation methods; this lowers the risks for spoilage and possible contaminations and foodborne illnesses;  increase productivity, as human workers no longer need to manually insert information in the system;  fast access to information as consumers can use in store information portals or their own smartphones to scan and read electronic labels and get the detailed information on production chain and product composition;  optimizing the food waste processes by easily classifying food ingredients and products validity.

Big data analysis
Big data instruments provides the easy way to create knowledge from the immense volume of data stored in cloud.In the context of food safety management, the entire track of each ingredient which is part of a product and even the processes that might affect its qualities like storage, transportation and manipulation can be easily accessed and used for various computation in order to give a reliable status of the final product.Scientist have tackled this field for quite a lot and now existing instruments are offering valuable insights into what big data is and how it can help to:  process optimization -optimization is vital for evolution, so in order to make better optimization one needs to have reliable information about the process subject of optimization; all these knowledge can come from big data analysis which might provide reliable data in order to approach the optimization;  take informed decisions -the concept of data-driven decision is based on an automatically process driven by data; if input data is provided from a big data analysis operation, than decisions can rely on correct and real-time variable that can positively influence the decision processes;  understand behavior -behavior always was and will be the main variable in the DOI: 10.12948/issn14531305/19.1.2015.08 equation of an economic process; is not sufficient to know which is the input of a system in order to determine its output; one may need also to understand the behavior, the black box, in order to compute, as good as possible, the outcome, the results; for this reason big data analysis can cast significant information on how a process behaves and improve the outcome;  engaging resources more efficiently -in order to engage resources into an economic process it is absolutely necessary to have as many data as possible with regards on how those resources will impact the entire process; predictive analytics can compute alternative solutions based on different configurations of input factors.Large volume of information come now from a various network of sensors that are all connected and interconnected in real time, pumping huge amounts of data that can't be exploited without the existence of this area of science which is, with no doubt, big data analysis.As mentioned also in [20] the economy will gain 5-6 percent due to decisions taken based on data-driven analysis.Overall, big data analysis means that nothing can be lost if it's properly managed.In food industry everything must be recorded and tagged in order to be able to give reliable information to consumers about the quality of the product they are interested.To benefit from this huge amounts of data, system must face another issue concerning the hardware capabilities.For responding to the question related with how much processing power is needed for big data analysis first another answer should be given to the following aspects: • how fast the results should be providedin order to have fast results a system must have huge amounts of processing resources; • how thorough the analysis should go -as the analysis advances, and more and more data is ingested for processing, the result should be more reliable.
In order to adapt the system to the growing need of processing power demanded by the large volume of data stored, hardware must be scaled, as presented in [21].In big data there are two ways to cope with the large volume of data that needs to be processed: • redundancy is a big issue in big data analysis because if redundant data isn't eliminated through data reducing algorithms those irrelevant aspects will influence the final result in a negative way; • irrelevant directions due to lack of data is also a major issue because in order to obtain a reliable result a big data analysis must have relevant data for the examined area.In food safety management the results can influence the consumer so the final product will or will not be taken out of the market.So, to give good results, a big data analysis must advance as deep as possible, and be as quickly as it can.

Conclusions
From a producer involved in a stage of the food production and delivery chain, the IoT food management system is providing a solution of a logistics problem because it generates an environment in which there are few or none unknowns about the right product in the right quantity at the right time at the right place in the right condition and at the right price [16], [17].For the consumer, the right to be informed will be backed up by the right information.There are three milestones that once achieved will open up new horizons in our society concerning consumer protection and rights.One is the technology milestone that requires the development of an autonomous sensor infrastructure that will acquire data.The second milestone is the implementation of an access to knowledge infrastructure based on public policies and Open Data repositories [7].The last milestone is building or imposing a consumer oriented culture at food producer's level that will enhance the benefits for providing public data about the entire process.
Mihai DOINEA has a PhD in the field of Economic Informatics, within Academy of Economic Studies, Bucharest, Romania.His PhD thesis tackles the field of Informatics Security, with clear objectives about finding security optimization methods in distributed applications.His research is also backed up by a master diploma in Informatics Security (2008).He is an assistant professor, teaching Data Structures and Advanced Programming Languages at the Bucharest University of Economic Studies.He published more than 30 articles in collaboration or as single author and his research interests are directed to areas such as security, distributed applications, artificial intelligence and optimization algorithms.
Cătălin BOJA is associate professor at the Economic Informatics and Cybernetics Department at the Academy of Economic Studies in Bucharest, Romania.In June 2004 he has graduated the Faculty of Cybernetics, Statistics and Economic Informatics at the Bucharest University of Economic Studies.He is a team member in various undergoing university research projects where he applied most of his project management knowledge.His work currently focuses on the analysis of mobile computing, information security and cryptography.He is currently holding a PhD degree on software optimization and on improvement of software applications performance

Fig. 1 .
Fig. 1.Open data sources for food safety Related to food safety, an open data environment is a complex architecture as it includes multiple data sources specific to various economic fields (figure no. 1).Each layer of information is added by a direct or indirect participant in the food production ecosystem:  Seeds and genetic material providers are the starting point for the entire food production chain.Using electronic labels the farms can record if the seeds or the genetic material is or not genetically modified. Fertilizers providers will provide information about the chemical composition of these products or the  The agricultural farm and its surrounding

Fig. 2 .Fig. 3 .
Fig. 2. Food management search trend Source: Google trends Most of those searches show interest in undeveloped countries such as Kenya, Nigeria and India (figure no.3), whereas the most correlated words with the food management syntagma are safety and services.The regional interest shows represent the search volume relative to the highest value of search resultswhich is always 100%.From this we can deduce that food management systems are playing a vital role in food safety and food services, helping those two areas to bring forth and improve the quality for consumers.
The applied research results are packaged into an integrated solution, which contains: Front-End, Secure Middleware, Back-End sub-systems.All of these components interact with each other providing IoT Smart System architecture based on the following n-tier design pattern:  S1: Sensors and IoT Gateways / Smart Objects Sub-system (Front-End -Context Aware Tier)  S2: Mobile and Vehicle Embedded Devices Sub-system (Front-end)  S3: IoT Silos/Micro-cloud Infrastructure Sub-system -containing modules for (Back-end): -Heterogeneous Sensors Data Acquisition Collection + M2M Proxy and Gateway + Micro-cloud IoT instances for HPC (High Performance Computer) and HTC (High Throughput Computing) green computing;  S4: IT Cloud, Data and Processing Center Sub-system -containing modules for (Back-end) -GIS (Geographical Information Systems), POI (Point of Interests) -Maps and Graph Routing + IT Cloud/P2P (Peer2Peer) for implementing the mathematical models in order to obtain dynamic minimal paths/routes calculation in HTC (High Throughput Computing) and HPC (High Performance Computing) approach, according with the received data from the sensors, vehicles and citizens; -Traffic and Fleet Management; -BI -Business Intelligence for automated decisions plus ERP -Enterprise Resource Planning for resources management plus ESB -Enterprise Service Bus and SOA -DOI: 10.12948/issn14531305/19.1.2015.08Service Oriented Architecture Modules for data flow orchestration and Payment and Billing for citizens and companies; -Mobile (SMS/Smart-Mobile-App) and Web for the project web-services, web-portal and mobile convergence access (from the end-users access);  S5: Secure Middleware Sub-system contains modules in Front-End and Back-End, which are responsible with data communications protocols implementation (REST, WS, etc.), M2M (Machine to Machine) data structures exchange, and secure messages routing.The solution integrates several key actors in the food chain management, starting from suppliers of basic ingredients to products manufacturers which are delivering goods to retailers and ending on shopper's shelves.In all of these stages RFID tags and other IoT devices can be used to read food description data, comparing food ingredients with healthy classification tables and creating strategies for optimization purposes (figure no.5).