Pawan Whig1*, Arun Velu2 and Rahul Reddy Nadikattu3
1 Vivekananda Institute of Professional Studies, New Delhi, India
2 Department of CSE, Equifax, Atlanta, United States
3 University of the Cumberlands, Williamsburg, KY, United States
Abstract
Increased agricultural activity is supposed to be of crucial importance as intelligent agriculture or precision agriculture. Increased agricultural activity is supposed to be of crucial importance as intelligent agriculture or precision agriculture. The bandwidth and the information repository are too much for an old cloud-based system that largely employs IoT devices. Reduced latency, better battery life for IoT systems, a lot more efficient cash knowledge acquisition, accessibility to intellectual capital, and AI, ML IoT-EDGE style platform are suggested or may be used. When opposed to using the cloud to process and store information, the edge for the IoT provides prospective edges for various IoT installations, as well as the elimination of interval in combination with geometrical communication potency. Several IoT procedures, for example, will also have a high level of technology at the sting, resulting in minimal latency and quick processing. The current cloud-based systems, which are built on traditional cloud concepts, cannot handle the large quantities and different data produced by linked IoT devices. To facilitate real-time decision-making based on the data collected, it is critical to move data processing closer to the roots of their production. This will be solved by using fog-based models, which will be addressed in this chapter.
Keywords: IoT, cloud computing, artificial intelligence, machine learning, latency, communication, edge computing, networking
Fog computing is a decentralized computing architecture in which data, computers, stores, and applications are located everywhere inside the data foundation and fog [1]. Fog computing (FG), like edge computing, conveys the benefits of the control of the fog closer to where data is created and used. Fog and edge computing are frequently used in the place of each other since they both include delivery intelligence and meting out earlier to anywhere data is generated. It is frequently done to increase efficiency, but it may also be performed for safety or a specific condition [2].
Fog computing brings the cloud’s power closer to the point where data is created and consumed. In other words, more individuals may be online [3]. It suggests the identical interacting and cloud facilities as before, nonetheless by increased safety and obedience.
IDC estimates that by 2025, 45 percent of all data will be produced at the network edge, with 10 percent of that data coming from edge devices such as phones, smart watches, connected automobiles, and other connected gadgets [4]. Fog computing is the solitary skill that will opinion the exam of the period, and it will level outperform AI, IoT Apps, and 5G in the succeeding ten years.
The situation delivers highly virtualized storing, calculating, and interacting facilities to cloud end devices from traditional data centers. Fog computing has little dormancy, site consciousness, edge location, change of site, actual data connectivity, and capability for connected mist interaction [5].
Instead of batch processing, fog applications rely on real-time interactions and often connect to mobile devices [6]. Fog nodes have also been used in diverse contexts with different form factors. The basics of fog computing are shown in Figure 8.1.
Although a lot has been published and investigated on fog-computing, how various fog actors will align in the future is not simple to say. Based on the nature of major services and applications, it is nonetheless clear to conclude: subscriber models will have an extensive role in fog computing (smart grid, clever cities, linked cars, etc.) [7].
Suppliers of worldwide services are expected to collaborate. New holders, including transport providers, vehicle manufacturers, government authorities, etc., will enter the fog domain. Some recognized fog players are cloud-based providers like Apache CloudStack7, OpenStack6, and OpenNebula8 [8].
The cloud enables users to access computer, networking, and storage choices quickly and conveniently [9]. It might lead to reduced productivity or latency for devices that are not linked to the internet.
Leading-edge calculation aims to reduce processing time and distance by bringing data sources and equipment closer together. In principle, this enhances both applications’ and smartphones’ efficiency and performance [10].
Fog computing (FC), to use a Cisco tenure, also brings the computer to the net’s control. It mentions the requirements aimed at this procedure’s optimal performance. Figure 8.2 depicts a pyramidal model of fog, cloud, and edge computing.
Process delay is eliminated or considerably reduced by locating storage and computing systems as close to the programs, parts, and systems that make them as feasible. That’s also especially crucial for IoT devices, which create large volumes of data. Because they are nearer to the source of data, these gadgets have a significantly lower delay in fog computing [11, 12].
The difference between cloud, fog, and edge computing is shown in Table 8.1.
To distinguish between edge devices and fog nodes, fog is the model that enables consistent, well-structured, scaled execution inside the editing environment. Information is compiled, analyzed, and saved close together and in edge computing, it’s a kind of cloud computing. Edge processing, and also the network and application connections required for data transit, are all part of sensor networks [13].
That’s because, with both fog and portable edge calculation, the goal is to decrease inactivity and boost efficiency while processing data in diverse locations. Cutting edges are most common when sensors are linked to equipment and data is collected—there is a bodily link between the information basis and the dispensation place. Fog computation reduces the remoteness between the dispensation site and the information basis by performing edge computing on or within the LAN processors connected to an IoT or fog node [14]. This causes a physically longer processing distance between the sensors and no additional delay [15].
Some merits/advantages of fog computing is described below.
System breakdowns, line shutdowns, and other significant challenges can be avoided by keeping analysis closer to the data source, especially in vertical systems that count every second. Faster warnings imply less danger to users and less time lost, allowing for real-time data processing.
Table 8.1 Difference between cloud fog and edge computing.
Cloud computing | Fog computing | Edge computing | |
---|---|---|---|
Architecture |
|
|
|
Pros |
|
|
|
Cons |
|
|
|
Misc. |
|
|
Maintain adequate bandwidth in the network. Many information analysis responsibilities, smooth the most serious ones, organize not necessitate the use of fog-based storing and handing out. Connected devices continually create more data for analysis. To free up bandwidth for other important tasks, the majority of this massive amount of data is delivered via fog computers [16].
Costs of operation are lowered. Operational costs are lowered as a result of local processing and network bandwidth retention. Increase the level of safety. It is critical to protect IoT data throughout transmission and storage [17]. Users may monitor, protect, and enable fog nodes throughout the whole IT system using the same controls, policies, and processes. The merits of fog computing is shown in Figure 8.3.
Conditions may be harsh since IoT devices are typically employed in extreme environmental and emergencies. Fog computing can increase reliability and minimize the data transfer burden in certain situations. Deepen your understanding without jeopardizing your privacy [18]. In its place of risking a data opening by uploading searching data to the fog for study, This may study it in the vicinity on the plans that gather, examine, and supply the statistics. In terms of statistics safety and secrecy, fog computation is a better option for highly sensitive data.
Improve the business’s agility. Companies can only respond quickly to customer demand if they recognize the resources consumers require, where these resources are needed, and where assistance is required. Developers may easily construct and deploy fog apps using fog computing [19]. Fog computation skill also permits operators to provide additional specialized facilities and explanations to their clients depending on existing capabilities and infrastructure, as well as identify data and data tools in which they are best handled.
Fog computing issues are caused by a high dependence on information transit. Although the deployment of the 5G system has addressed this subject, there are still limitations in terms of availability, speeds, and high- frequency congestion. Near fog nodes, extra caution is required for speed and safety [20].
Because fog computing is related to a physical location, some of cloud computing’s advantages are harmed.
In the right circumstances, fog computing may be exposed to security threats such as IP spoofing or middle man attacks (MitM).
Fog computing is a system that makes use of edge and cloud resources, hence the hardware is costly.
While there is a significant misunderstanding in the idea of fog computing across various organizations, even though fog computing has been around for a while there are suppliers that describe it differently.
IoT and end-users are becoming more powerful. The cloud now handles a large amount of data in real-time. IoT devices using fog computing [21] are shown in Figure 8.4. Furthermore, fog computing provides several benefits to the IoT app development process:
With the right tools, you can design and deploy fog apps. In the hands of the user, the device can function similarly to these programs.
Fog computing performances are a substitution for strategies that limit their resources and keep their security software and credentials up to date. It uses fog nodes in various parts of the IT infrastructure, all of which follow the same policies, processes, and controls. Data processing is a complex distributed system that uses a large number of nodes to assess the security condition of almost connected devices.
Have you noticed how quickly Alexa asks? This is because fog computing has low latency. Also because fog is closer to all users (and gadgets), it responds quickly. This device is ideal for any operation that requires a quick response.
Fog control allows speedy and effective information dispensation founded on available applications, computer capitals, and schmoozing. Instead of being sent through a single path, information is blended at numerous points. This decreases the quantity of information that must be moved to the fog, preserving net capacity which helps in lowering costs.
Even if the network connection to the cloud is limited, fog computing can operate independently and deliver uninterrupted services. Furthermore, due to a large number of connected channels, connection loss is almost impossible.
Stronger protocols, such as Zigbee, Z-Wave, or Bluetooth, are used by edge nodes. Edge computing offers immediate connectivity between mobile and home consumers, independently of the network, improving user experience.
The agriculture industry has gained and been changed as a result of fog computing. The SWAMP project, which stands for Smart Water Management Platform, is an excellent example in this regard [22]. Water, which accounts for 70% of freshwater use, is a critical component of the agricultural industry, making it the most significant consumer. Leaks in distribution and irrigation systems in-field application methods frequently result in resource waste.
Surface irrigation waste has high-water content since it only watered areas where plants are not favorable. Local irrigation here provides for more effective and efficient use of water, which eliminates the need for irrigation or irrigation. The fundamental issue is that farmers provide enough water to avoid under-irrigation. It not only reduces output but also increases the waste of a critical resource [23]. As a result, farmers required a technique to deal with these events and provide an effective response. And it is at this point that the SWAMP project identifies and addresses IoT, data analysis, stand-alone devices, and so on.
SWAMP develops a smart water system idea for agriculture with the help of fog computing, ensuring that water wastes are reduced to a minimum [24]. Fog computing also allows the system to collect and analyze sensor data from the field to improve water distribution. An example of fog computing in agriculture is shown in Figure 8.5.
The SWAMP project has published an essay about the concept of a smart agricultural environment, in which data is collected and stored in real-time for analysis. The technique [25] discusses two different approaches to using fog to filter data. The experiment filters the methodologies and employs a real-time data package that includes temperature and moisture readings. Another use of fog computing in agriculture is Agrifog, or smart agriculture or precision agriculture, which has enabled IoT-based agricultural systems [26]. iFogSim was used to construct the program.
Through data processing, it aims to reduce latency in real-time decision- making. IoT-Fog is a low-cost, comparative study of data gathered from the cloud and fog-based technologies. As a platform, fog computing has transformed the agriculture and agricultural sectors, allowing farmers to reduce waste and interpret and analyze processed data to find methods to profit from it. Fog computing in healthcare.
New technologies are frequently employed in the medical field to improve services and solutions. In addition, similar to earlier technological breakthroughs [27], fog computing was leveraged to its advantage. One of the most important uses of fog computing in healthcare is eHealth an example shown in Figure 8.6. eHealth is an online and print platform that gracefully guides health workers across the healthcare continuum, which is characterized by frequent and exciting changes as a result of escalating technical and other structural changes [28].
They employ a network mix that connects medical devices to cloud platforms. The application organizes, transmits, stores, and records data relevant to the treatment, payment, and recording processes. Because professionals have access to electro-medical records (EMR), which comprise documents such as X-rays, ultrasounds, CT scans, and MRIs, fog computing makes diagnosis and evaluation procedures easier. It also keeps data safe on a private cloud [29].
Instead of keeping a physical duplicate, the application may preserve confidential data on many networks and monitor it via fog computing. The recorded information enables a physician to quickly access and diagnose the patient’s condition, as well as get the patient’s medical records. Fog computing also allows eHealth to provide quick responses to critical medical requirements [30]. Similarly, wall, a separate health solution, creates a smart home environment with a fog computer by creating a customized sensor-based context-conscious application.
Intelligent cities are urban areas that gather data from residents who are able or unable to live there utilizing technological gadgets. The data then adds to the town’s overall quality of life. People opt to stay and make such smart cities their home since they have more job opportunities and better living circumstances. Fog computing develops cost-effective, real-time, and latency-sensitive surveillance technologies to protect residents’ and visitors’ privacy as shown in Figure 8.7 [31]. Fog computing has already worked wonders in several locations, reducing traffic congestion. People are tracked down, and GPS technology predicts traffic and suggests other routes and arrival times.
Another fascinating use of fog computing is driverless vehicles, which require the processing of large amounts of data. Fog computing is critical for linking low-level sensors and enabling high bandwidth real-time processing.
Intelligent waste management solutions must be addressed in smart cities that are safe and considerate of their residents’ demands. Sensor data and improvised garbage control strategies can be used by the local council here. Waste management solutions that are intelligent are employed. Smart cities are advancing at a faster rate every day, thanks to the availability of new technological solutions. The amount of data that can be captured and analyzed is unlimited with a fog computing platform.
The education business has evolved as a result of technological advancements, particularly in light of COVID-19 [32]. The whole industry was heavily reliant on electronic gadgets, and many professionals who wished to further their careers used online programs to do it. The fog computing Platform facilitates communication while also ensuring network data storage and administration. It improves scalability, flexibility, and redundancy for education systems to safeguard privacy and safety as shown in Figure 8.8.
In recent decades, the entertainment business has gone a long way. Both customers and producers have reported high demand. Consider sports, where all live broadcasts of events covering wide fields, such as ESPN, NBA TV, NBC Sports Network, and others, are expected to provide high-quality and accurate coverage of every game minute [34].
With 10% of all data created and processed outside of the cloud or cen-tralized data centers, edge computing is steadily gaining traction in several industries [33]. However, considering that the ratio will reach 75% by 2025, we may expect rapid growth in the use of edge computing. Figure 8.9 depicts the smart agriculture model. For good reason, edge computing in agriculture has already become a major IoT trend. In terms of speed and efficiency, edge computing is gaining ground on cloud infrastructure [35, 36].
While the benefits of IoT applications in agriculture cannot be overstated, smart farming technologies, particularly those that rely on the cloud, might present some challenges. There are a few major roadblocks to IoT cloud computing. Agriculture is both clever and intelligent [37].
Security issue: When data is sent from a field device to the cloud, the chances of a data breach are relatively significant. Furthermore, every device or sensor in the IoT network might be a potential vulnerability point [38].
Possible answer: Continuous computing reduces the risk of data infringement or theft when data is being captured – on the device itself.
Speed Concern: Data gathering, transmission, and analysis are all time- consuming tasks. As a result, some businesses may face the dilemma of deciding between the depth and speed with which to absorb information- derived insight. This is especially true in the case of distant agricultural tools in the field [39, 40].
Simple solution: Edge computing solves this problem by improving network and data processing efficiency. The acquired data and input may be processed in each network device, resulting in faster processing rates and more insight [41].
Cost difficulty: The expenses of cloud computing are generally based on the volume of data generated by the objects and transferred across the network. Given the number of devices used by a single smart farming system and the amount of data it produces, cloud computing costs might quickly rise. Using cutting-edge computers in agriculture eliminates the need to overcrowd or shift your warehouse with unneeded and worthless data. Solution: As a result, both storage and bandwidth expenses in your cloud may be decreased [42, 43].
There are many instances of intelligent farming, from monitoring climate change and the monitoring of crop/cattle conditions to automatic greenhouse processing and even end-to-end agricultural management solutions that are IoT-enabled. The application of edge calculations for smart agriculture is a key opportunity within the so-called “precision agriculture.” Farmers that use this technique rely on data to better manage their businesses, improve their operational efficiency, and lower their operating costs [44].
This chapter discusses how fog computing is linked to IoT and how it benefits many industries, notably the agricultural sector. The Internet of Things (IoT) is changing the world by offering a range of approaches and technologies, such as cloud, fog, and edge computing. The cloud has existed in our universe for a long time, and the fog and the edge are fresh modernizations. Both of these are comparable, with the exception that the edge is quicker and has a larger latent value than just the fog and cloud. Computing has been used in the cattle industry and others. Agriculture has not been updated and continues to use antiquated practices. If done properly, edge computing has the potential to transform things and give the agriculture industry a huge boost. For researchers in the same subject, this chapter is quite beneficial. With the progress of technology, we will soon see a new revolution in agriculture called agriculture 4.