1. Introduction
Cyber–Physical–Social systems (CPSS) are essential for sustainable developments such as smart grids, autonomous vehicles and health monitoring [
1]. Mobile CrowdSensing (MCS) has untapped potential in water resources management for both data collection and raising awareness about water-related problems [
2]. Citizen science is essential for this matter, to allow harnessing the potential of mobile devices in the scope of the community [
3].
During the last few decades, modern society has evolved around the emerging technologies that have shaped the way we interact with the environment. The video game industry has created one of the leading technologies in digital entertainment. Video games have been developed since the beginning of the digital age, based on the major hardware and software advancements over the last few decades. From arcade games to home consoles and PC (Personal Computer) games, there is now a variety of platforms, genres and communities built around this cultural medium with global implications [
4].
In this technology-driven world, Serious Gaming (SG) can harness the power of video games in transforming the way we interact with the environment and raising awareness about water-related problems. Such an example is represented by collaborative applications for increasing the level of participation of citizens in the community [
5].
There are many challenges associated with achieving a sustainable development of a modern society that is both resource-efficient and ethical, of which the level of trust between the stakeholders is of primary importance. Blockchain technology was created as a solution to the problem of mistrust and has the ability to reconfigure industries by ensuring transparency and trust between network members, reducing excessive bureaucracy, reducing costs, facilitating faster transactions and improving the flow of these transfers [
6]. In this sense, efficient management of water resources can be achieved by using blockchain as a trusted storage ledger shared between stakeholders [
7].
Since considerable advancements have been made over the last few years in these emerging technologies, the scope of each piece of the puzzle must be carefully considered for the sustainable development of modern society [
8,
9].
The main objectives of this paper are: (1) to realize a scientific study of approaches related to serious games, focusing on applications for water resource planning and management; (2) to design a serious game in order to analyze and evaluate various scenarios in the context of water distribution systems; (3) to design and evaluate a secure storage layer based on blockchain technology.
1.1. The Mobile Crowdsensing Paradigm
In MCS, users share data from integrated sensors in their mobile devices, complementing the wide adoption of IoT (Internet of Things) devices. With the support of IoT infrastructure, opportunistic sensing can be integrated to take advantage of the ubiquity of personal devices, GPS and Mobile Networks [
10].
Participatory sensing is a form of MCS, requiring a strategy for motivating the users, tapping into the social aspects (social networks) and gamification (game theory). Challenges include privacy and security (GPS, disclosure of location information), quality of data (low-quality sensors, number of participants, data evaluation), trustworthiness (trust by reliability for anonymous participants, trust by decision for trusted participants, reputation systems such as collaborative scores, vote-based), energy (battery level, influenced by device model, sensors, GPS and networking usage, sampling frequency), incentives (rewards for quality of data, increasing the involvement of participants), agent-based strategies (AR/VR) [
11].
MCS frameworks assume an opportunistic assignment of sensing tasks, with reputation-aware schemes that can have a significant effect on platform utility in the context of urban water reporting. Optimal user assignment according to the reputation and sensing cost is a challenge in MCS that involves geolocation, reliability (quality of sensing data, robust and secure services, encryption, truthful participation) and incentives (gamification, game theory, auction-based models, reward-based mechanisms) [
12].
MCS requires an incentive scheme to be effective, while the amount and accuracy of sensing data should be based on the active participation of citizens. Some of the main challenges in robust MCS systems are given by the trust, reliability and security aspects (e.g., privacy protection, malicious behavior, security threats) of crowd-sensed data from anonymous sources [
13]. Solutions include reputation systems (trust, reliability) and incentives (increasing participation, compensating for privacy concerns). In this sense, an optimization problem can be formulated based on the level of trust and reward-driven mechanism, while the data exchange and storage requirements should ensure an optimal security scheme that ensures the required level of trust for service providers.
Game theory can be applied to define the incentive model where multiple players are involved and the interaction between players in the form of cooperative and non-cooperative games. Incentive mechanisms can be defined for crowdsensing in the context of a CPSS, such as the classification of users based on the level of trust [
14], while different incentive schemes for MCS can be classified in terms of platform-centric and user-centric approaches [
15].
1.2. The Evolution of Modern Gaming
The history of video games began with the precursor to the arcade game “Pong”, made on a CRT (cathode ray tube) display with analog controls. During the 1980s and 1990s, the golden age of video games was defined by timeless classics such as Pac-Man, Space Invaders, Mario Bros and Tetris, and many of the classic game genres were defined such as FPS (First Person Shooter), RTS (Real-Time Strategy) and RPG (Role-Playing Game).
Nonetheless, the core mechanics of modern games can be attributed to the rich cultural heritage of our society. Since antiquity, games have been an important cultural medium, capturing the essence of different civilizations and time frames, such as the Sumerian game called The Royal Game of Ur (4000 BC), the Chinese game Wei Qi (2200 BC), the Egyptian game Senet (1500 BC), the Scandinavian game Hnefatafl (400 AD), the Indian game Chaturanga (700 AD) and Persian game of Shatranj, the precursor of chess (600 AD) [
16].
A brief history of video games can be defined by three major eras [
17,
18]:
The pre-crash era: During the 1970s, Atari dominated the arcade game industry with titles such as Pong (1972), Space Invaders (1978), Pac Man (1982) and Donkey Kong (1982), generating more revenue than both the pop music industry and film industry. Soon, the industry was growing too quickly to maintain the momentum. The downfall happened in 1983, when a game adaptation of the box office success, E.T., was rushed to market with a nearly impossible deadline. Due to the subsequent low quality and critical reception, it is considered one of the biggest commercial failures in video game history, which led to the collapse of Atari and the crash of the entire video game industry in 1983;
The technology advancement race: With the release of Commodore 64 in 1982, the PC was becoming the new platform for gaming, as were home consoles (NES, Game Boy, Sega Mega Drive, PlayStation, Xbox), which led to a series of technological advancements that restarted the industry;
The online boom: The rise of the internet and mobile technologies transformed the industry into what was to become the multi-billion-dollar industry with the highest growth among the entertainment industries, with an estimated 2.7 billion gamers worldwide.
Nowadays, video games are interactive cultural environments, encouraging active participation and creating a new sense of collaboration in a post-industrial society, where digital entertainment and virtual interaction are becoming more and more important [
19,
20]. Video games can provide a snapshot of past and present society, allowing the player to experience certain events, which can be directed towards educating the user about the world, such as managing a city and its infrastructure (e.g., SimCity), building empires (e.g., Age of Empires) and real-time strategy (e.g., World of Warcraft).
Over the past few decades, the video game industry has been characterized by an increase in both the number of new games and the level of realism that competes with that of the movie industry [
21]. Video game magazines, websites, blogs and YouTube channels are an integral part of the video game culture, and user reviews and ratings have accelerated the development of the gaming industry, providing an interactive feedback loop. While cutting-edge graphics and realism are a defining aspect of modern video games, the user perspective is greatly influenced by past expectations, as the industry has reached a level of maturity.
As a paradox of modern gaming, video games quickly become obsolete with regards to technical advancements, while at the same time, the recent success of retro gaming is an indicator of user preference towards less sophisticated games [
22].
Mobile gaming is an example of a different approach, focusing on simple yet innovative design rather than super-realistic gameplay. Before the smartphone age, the most popular early mobile phone game was Snake (1997) which was commonly found preinstalled on most Nokia phones. Early mobile internet (WAP) allowed for downloading mobile games, but this was a rather rudimentary, slow process, while more recent phones with USB connectivity allowed installing new games downloaded from the internet. It was not until the launch of the iPhone and App Store in 2007 and 2008 as well as the Android operating system and Google Play in 2008 that mobile games began to disrupt the traditional gaming industry. The mobile gaming industry now accounts for more than 45% of the global gaming market, with a high level of integration within the mobile ecosystem and business model innovation (e.g., in-app purchases, mobile ads) [
23].
1.3. The Role of Serious Gaming
Mobile games have been at the forefront of some real-world experiments, such as location-based games, with the first attempt as early as 2001 (BotFighters, with cell location services and SMS messages). Treasure hunting and “geocaching”, urban adventure games and massively multiplayer mobile games are some of the examples of mobile game disruption both in-game and in the real world.
The role of mobile devices as an extension with sociocultural dimensions can be seen in the modern world, especially in the Asia Pacific region, where the level of integration with mobile technologies is unprecedented [
24].
On the other hand, serious games are becoming more and more pervasive, with applications in e-Health, e-Commerce and e-Learning, where gamification has become a key ingredient in increasing the level of interaction and motivation of users, providing incentives and game-like rewards [
25].
SG analysis and design include the role of players in real-world scenarios, with a broad range of possibilities and specific limitations. In [
26], a conceptual model based on Activity Theory provides a model of human behavior in their social and organizational context and the roles of different game components in achieving the high-level objectives from the perspective of educational purpose. A taxonomy of SG components is presented, where the game mechanics are extended to include the learning and instructional process involved in such games.
The SG industry is driven by analytics to support decision-making through actionable insights, e.g., learning analytics and game analytics. While gamification is an essential aspect in SG, the utility function is of primary importance. Such examples include simulation games for military training (e.g., Marine DOOM) or message broadcasting (e.g., America’s Army) [
27].
Research shows that serious games in the water sector are an essential key to discovering socio-technical-economic problems among the parties involved. The modeling, simulation and optimization tools used in water management systems are based on decision science [
28] and were born during World War II, with the help of mathematicians and engineers, in order to support military operational planning [
29,
30]. These games have a similar history, appearing during the war. The earliest use of games used to support decision making are war games [
30]. These are based on the planning of military operations.
In [
31], Clark introduced the notion of serious games, being seen as simulation games used in various areas with major impacts on the population, such as education and decision making in public policymaking. Since then, many research studies have been done on this topic, in various fields of application, including water management [
32,
33,
34]. Due to the multitude of third parties and areas involved in SG, different approaches and even conflicts arise. In [
35], Gleick presents the fact that water was involved in various conflicts, including as a military target, as an object of terrorism or as a political tool. Solving these conflicts consists in computer modeling [
29]. In this sense, the concept of shared vision planning [
36] involves all third parties in the development and simulation of models reaching a consensus.
1.4. Blockchain
To reach a consensus, the required trust level between participants must be ensured. The problems with centralized frameworks arise when considering unauthorized attempts to collect information and active misbehavior of participants and stakeholders, with all these factors contributing to a decreasing level of trust and participation, thus having a negative impact on platform utility. Blockchain overcomes these limitations, greatly reducing the risk of illegitimate transactions and unauthorized disclosure of private information. Therefore, the problem of trust in a water resource management system can be solved considering the increased transparency enabled by blockchain technology and integrated consensus algorithms [
7].
Approaches to water management vulnerabilities place more emphasis on regional or national areas, not taking into account the fact that water sources and demands are linked in the water network on a geographical scale [
37]. Therefore, the approach of a distributed network such as blockchain technology can be beneficial for dealing with vulnerabilities on multiple levels [
38,
39].
There are many definitions of blockchain technology. From a technical point of view, blockchain is a peer-to-peer distributed register that is cryptographically secure with the possibility of only adding information and immutable and that can be updated only by consensus of all nodes [
40].
According to [
41], blockchain is defined as a chain of blocks, and each block contains transactions that are recorded in a register that is distributed to all nodes in the network, as shown in
Figure 1. Transactions remain in a chain and are immutable, and because the register is distributed to all participating nodes, any node can verify the transaction and announce the verification in order to reach a consensus. Much more simply, Andreas Antonopoulos defines blockchain as “The Internet of Money” in a publication with the same name [
42].
Blockchain has become, through its security, a decentralized architecture and flexibility, one of the most important technologies of today. Researchers in almost all fields have tried to adapt this new technology and develop new solutions.
In the water industry, blockchain technology can have various implications such as: keeping records (with the help of smart contracts, companies can access data in real-time), reporting and audit (since the data and actions are registered in an immutable register, it offers the possibility of enhanced audit support), data reconciliation (allowing regulators to control and monitor the status of transactions) and digitizing water (the demand for freshwater requires effective resource management solutions) [
43].
Current blockchain systems are classified into three types: public blockchains, private blockchains and consortium blockchains. In public blockchains, all records are visible to the public, and everyone could take part in the consensus process. In contrast, only a group of pre-selected nodes can participate in the consensus process of a consortium blockchain. Regarding the private blockchain, only the nodes coming from a specific organization are able to join the consensus process. The consortium blockchain built by several organizations is partially decentralized, because only a small part of the nodes are selected to determine the consensus. Consortium blockchains are commonly used in business applications [
44].
In this sense, rules are implemented by smart contracts, which allow anonymous parties to interact, without the need for an intermediary [
45]. The origin and history of smart contracts are much older than Bitcoin and date back to the 1990s. The term “smart contract” was first used in 1993 by one of the alleged creators of Bitcoin, Nick Szabo, and is referred to as a computer program that can automatically execute the terms of any contract or agreement [
46].
The general steps by which a smart contract works in a distributed public register are represented by coding (introducing the appropriate logic in their writing, which cannot be altered), the public register (the contract is sent similarly to the creation of a new blockchain transaction), execution (a peer receives the code and executes it, then checks the execution of the code from other computers, reaching an agreement on the results).
The network will update the distributed registers to record the execution of the contract. In this type of system, manipulation by one party is not possible, because the control over the execution of the smart contract is performed in the distributed network, being validated by many participants [
47].
There are multiple benefits of smart contracts, such as reducing trading time, increasing transparency, recording all terms and conditions in explicit detail, security based on the highest level of data encryption currently available, permanent storage and backup solution, eliminating the need for a wide range of intermediaries, and real-time verification [
48].
While being a new technology, and with its implementation not entirely documented in practice, blockchain technology can prove to be useful and versatile for our world, as it can facilitate most systems in different industries.
1.5. Paper Structure
The paper is structured as follows.
Section 2 presents the related work in MCS, SG and Blockchain, with implications for water resource management.
Section 3 presents a data-driven survey of video games and mobile games, as well as related scientific papers to provide a real-world background for the proposed solution. In
Section 4, we present the theoretical background, which precedes the proposed solution in
Section 5, describing the three major components: a crowdsensing model, a blockchain model and the SG platform. In
Section 6, the materials and methods for creating the experimental framework are described, while the results are presented in
Section 7 for the crowdsensing and the blockchain models, in terms of accuracy and performance. For MCS, we aim to provide a location-independent evaluation of the proposed platform-centric and user-centric approaches, while the blockchain solution is tested for performance and scalability.
Section 8 presents some general discussions based on the proposed solution and experimental results, compared with related studies, while
Section 9 outlines the conclusions and future directions of work.
2. Related Work
In this section, related work in the domain of MCS, SG and Blockchain is presented in terms of the multiple approaches and solutions, with regards to water resource management and beyond.
2.1. Mobile Crowdsensing
Crowdsensing networks are an important part of the CPSS paradigm. In [
2], a systematic literature review reveals an overview of search terms in Web of Science related to crowdsensing.
Existing studies in MCS focus on either the global approach or specific problems, based on theoretical models (game theory, information theory), applied sciences (data science, computational intelligence) and engineering (system architectures, mobile technologies, communication systems).
In [
49], a review of technical approaches and applications in smartphone-based crowdsensing solutions precedes the proposed reference architecture that can be adapted to the various MCS architecture designs with the major components defined for client-side, server-side and the communications level.
Besides the technical complexity of MCS architectures, sustainable citizen involvement in MCS is difficult to achieve when considering sensing costs (battery, mobile data, time, effort) and long-term commitment with indirect benefits for participants.
In this sense, the Vehicle Routing Problem (VRP) is a highly studied optimization problem that can be applied for the allocation of tasks in an MCS solution that involves the optimization of sensing costs for smart urban mobility [
50]. Transportation and traffic management are some of the domains where vehicle routing is a primary objective, while MCS proves to be essential for real-world applications [
51].
While cost-efficient allocation of tasks is important for the overall system, an incentive mechanism should be considered for increasing the participation of citizens in solving large-scale problems at the community level [
5]. For this reason, there are many research papers addressing the problem of optimal incentives to achieve higher levels of participation [
52].
Game theory was proposed in 1928 by John von Neumann, while incentive schemes include reputation-based schemes that promote cooperation, such as PETrust (penalty-incentive mechanism); Peer-to-Peer (P2P) networks, where trust plays an important role; and credit-based schemes, which promote cooperation by rewarding participants for helping others [
53].
Morris and Shadmehr [
54] define an optimization model for exogenous rewards and punishments in the context of a “regime change” game, considering the overall equilibrium, optimal effort and optimal reward schemes. The reward scheme can be determined based on the level of optimism for optimal participation of citizens. While offering higher rewards would induce a higher level of participation from otherwise less involved citizens, the level of participation of otherwise highly involved citizens would decrease. The optimal reward scheme requires adapting to the level of optimism of each citizen to achieve equilibrium.
Auction-based incentives are widely used in the context of MCS, requiring an allocation rule and a payment rule for sensing tasks, such as the Vickrey–Clarke–Groves (VCG) auction model. For achieving the overall utility of the platform, trust and reputation can be used as a reward scheme, based on the number of true and false reports for each participant.
Considering a user-centric approach, task assignment in MCS relies on the reported sensing costs, while VCG-based auction is used to achieve truthful reporting. The proposed solutions are commonly evaluated in terms of sensing coverage, incentive cost and truthfulness using given scenarios [
55]. In this paper, we aim to provide a location-independent evaluation of VCG for truthful participant selection under different initial conditions in terms of geolocation.
VCG and proposed alternatives were used by Tao and Song [
56] in MCS for efficient path planning and increasing the level of truthful participation. While the experimental setup is evaluated for a single distribution of tasks, in the current paper, we propose a more comprehensive simulation to evaluate the overall performance in real-world scenarios.
The VCG mechanism is actually quite flexible and can be applied in other domains, such as electricity markets [
57,
58], public transportation/car-sharing systems [
59,
60] or auction-based network routing [
61,
62].
Endorsements are another form of social incentive that involve sharing rewards within groups. Other incentive mechanisms that are less common in MCS include bargaining games, contract theory (principal-agent) and market-driven mechanisms (supply–demand interaction) [
52].
Liu et al. [
63] propose a hybrid incentive mechanism based on reputation and rewards, with an encryption algorithm scheme for privacy protection. While there are different types of incentives for MCS, such as monetary incentives, virtual currencies, gamification and social interactions, more recent approaches propose a hybrid incentive strategy [
64].
Xu et al. [
53] define an incentive mechanism in accordance with the level of cooperation of the participants, using an evolutionary game model based on the principles of game theory in economics and demonstrated in simulation. The strategy based on game theory allows for the optimization of a cost function that achieves a balance between rewarding participants and the data collection process.
An important aspect in urban crowdsensing is given by duplicate reporting, either intentional or accidental, with negative implications on platform utility, which requires either an accurate detection scheme or a reward adjustment scheme. While duplicate detection based on physical location alone may be inaccurate, Zhang and Wang [
65] propose a detection scheme based on categorical, temporal and spatial information using an unsupervised learning algorithm.
2.2. Serious Gaming for Water Resource Management
This section presents the research done in the field of serious games, with applicability in water resource management. There are different game theory models, such as cooperative and non-cooperative (alliances/competitions), information games (decisions based on perfect/complete/incomplete information), evolutionary games (strategy updates, highly competitive), static and dynamic games (simultaneous/sequential decisions), zero-sum games (sum of the payoffs equals zero, e.g., poker, chess) [
14].
A classification of games can be defined by different characteristics such as number of players, simultaneous/sequential, perfect information (player knows all previous moves), complete information (players know the structure of the game), zero-sum games (sum of the payoffs equals zero, e.g., poker, chess), communication, and cooperative/non-cooperative. Real-world games are rarely zero-sum games [
66]. The limitations, requirements and conceptual frameworks for SG are discussed in [
67].
Talasila et al. [
68] propose a model for providing uniform sensing coverage by means of in-game incentives and geolocation, i.e., earning points for shooting alien invaders. Smartphone users are therefore encouraged to cover the entire target area, collecting data along the way. The results of the study show that mobile gaming ensures high coverage and increasing levels of player engagement. The effect of gamification on platform utility is twofold: providing uniform coverage and increasing player motivation to participate in crowdsensing activities (from 46% coverage with micro-payments to 87% coverage with gamification). Moreover, the placement and movement strategy for alien invaders was shown to have a significant effect on the platform efficiency, i.e., area coverage over time.
The literature contains an extensive analysis on this subject with regards to water resource management, trying to improve the consumption of water resources and to bring more awareness to the consumer while game design elements are used for increased participation [
5,
69,
70]. The applications presented offer examples of good practice, as well as limitations and improvements that can be made in future development.
One of these games is SimCity™, which deals with decision-making regarding city building, including urban planning. This game is characterized by the simulation and integration of complex systems using agent-based modeling [
71]. Among other functionalities, the water supply of the built city, its treatment and distribution are also taken into account.
Another serious game project is Aqua Republica [
72], in which players have the opportunity to create a river basin and to make decisions on how to operate it. The consequences of the decisions can be rewarded or sanctioned, according to the models implemented in the game. This game was developed by DHI (Danish Hydraulic Institute) [
73] and involves the achievement of three main objectives: (1) educating the player by being aware of how they make decisions; (2) developing a sustainable water management system through the exchange of knowledge; (3) providing prompt and optimal action in critical situations in order to not destabilize the proper functioning of water resources. A specific feature for this game is the combination of the game mode with the simulation mode, called MIKE Hydro Basin [
74], offering players the opportunity to act as a manager of that river basin.
Chew et al. [
75] propose a pilot solution in the Middle Oliphant region of South Africa. This game starts in the year 200, with certain input parameters such as population, funds, food and energy but also an unhealthy ecosystem. During each round, each player makes decisions about how the pool works, trying to keep the high parameters related to the sustainability of the pool.
Another serious game approach is called Shariva (Shared River) [
76]. The main purpose of creating this game was to cooperate, communicate and raise awareness among stakeholders regarding transboundary river basins.
Another example of a SG is presented in [
77] and consists in the development of ways to adapt to climate change on the rivers in the Netherlands. The aim of the game is to manage a virtual river, consisting of several players who are part of two different teams. The parties involved are either Dutch water managers or academics. Consensus also plays a key role in decision-making involving the stakeholders and several areas of activity.
Seibert and Vis [
78] present a serious multiplayer game approach targeting farmers and water issues that may arise, which allows cooperation between players to observe differences between the collaborative and the individual behavior.
Bassi et al. [
79] present the game WATERSTORY, which is based on an interactive learning environment (ILE) offering the parties involved the opportunity to raise awareness and exchange knowledge in the process of managing water demand on the island of Maui. The authors consider that this approach can achieve a consensus on how to manage water resources, with a minimum of conflicts and a maximum of objectives achieved, taking into account the rules imposed by the authorities.
The SimDelta Program is an extension of the Dutch Delta Program [
80], being an interactive online simulation model based on policy development for freshwater supply and to avoid flooding in the Rhine-Meuse delta. However, Rijcken and Christopher [
81] conclude that SimDelta is not really a serious game, although it fulfills some of the criteria, because users cannot interact with each other, but only with the experts who present the solution.
Another interesting approach to serious games is presented by Hill et al. [
82], where the authors used the game to evaluate the decisions made in case of a drought. Participants were chosen from different fields, such as students, graduates and stakeholders in the water domain.
The presented research emphasizes the fact that serious games have been and are involved in the water sector, being an important tool in the understanding by third parties of socio-technical-economic problems in terms of water resource management. Lately, the integration of games with other complex systems has become mandatory for good awareness, cooperation and optimal results, while gamification in MCS for urban water reporting, such as defined in this paper, is not commonly found in related studies.
2.3. Blockchain for Water Resource Management
According to Wu, Song and Wang [
83], several algorithms for consensus can be used depending on the blockchain type: Proof of Work, Proof of Stake, Delegate Proof of Stake, Proof of Existence, Proof of Activity, Proof of Elapsed Time and Byzantine Fault Tolerance. One of the first used consensus algorithms is Proof of Work. Originally used in Bitcoin, Proof of Work continues to ensure very high security but with a high energy cost.
Sankar, Sindhu, and Sethumadhavan [
84] performed a survey about consensus algorithms used in blockchain applications and presented the following technologies: Hyperledger Fabric, Corda and Stellar Consensus Protocol.
With the help of intelligent sensors, a large number of data can be collected. For integrating these modern technologies [
85] to provide an increased level of trust, smart contracts can be used, which are based on secure and immutable data. This helps the validation process in an efficient way and supports decision making [
86].
Bordel et al. [
87] propose such a water control system, based on blockchain networks, where community members have the opportunity to establish rules regarding the use of water quotas. These rules are implemented through a smart contract [
45]. The main challenge is to transform water control techniques into a distributed system that all members of the community can trust.
Given that in recent years, natural phenomena such as floods, droughts, tsunamis and hurricanes have increased significantly, government organizations have considered the development of smart, sustainable and safe infrastructure to monitor water consumption [
88,
89]. A particularly important problem is found in rural as well as urban areas and consists in ensuring the necessary quality and quantity of water [
90]. This approach has been successfully implemented in Australia and Singapore [
91,
92,
93]. In Australia, the South East Queensland (SEQ) water network was established for the ultimate purpose of managing and securing urban water supply [
94].
The water supply network established in Singapore is based on water collection, management, recycling and distribution [
94,
95]. Intelligent sensors were used for real-time monitoring of water quality, as well as analytical tools to support decision-making systems, while the developed system ensured a sustainable and efficient management of the water supply network using blockchain technology [
90].
In 2017, start-up Civic Ledger [
96] realized a feasibility study related to the transparency of Australian water markets, with the aim of increasing the trust, transparency and reliability of water trading. During the feasibility study, Civic Ledger developed a peer-to-peer trading platform that provided irrigators with secure and transparent trading.
Another approach is presented by Pincheira et al. [
97] aiming to streamline energy costs through good management of water resources, integrating IoT sensors and blockchain. The architecture includes IoT devices, a public blockchain and smart contracts representing the interests of different stakeholders in water management. Moreover, smart contracts have the role of regulating the distribution of incentives among farmers.
Grigoras et al. [
98] use the blockchain platform for trading, thus reducing energy costs. Another approach presented by Rottondi and Verticale [
99] proposes a solution based on gamification, through which data are taken from IoT devices, which come from the utility company. Furthermore, data are used in the gamification process, and blockchain plays an essential role in preventing dishonest behavior.
A recent study detailed in [
87] presents an intelligent system through which irrigation communities can communicate and manage water resources. Community members use blockchain to increase confidence in the data collected from IoT devices.
However, in order to achieve an optimal system from the point of view of water resources management, we must consider several aspects, including energy efficiency and low cost, in order to ensure cost-effective and long-term operations [
100]. Hyperledger Fabric was used by Wang et al. [
101] in the context of a crowdsourcing framework for energy generation and trading, using a marginal amount of energy for consensus when compared to other blockchains.
When considering the integration of blockchain in MCS, Yang et al. [
102] proposed a blockchain solution, addressing the problem of location privacy in crowdsensing frameworks by using private blockchains.
The overall effect on platform utility is evaluated by Kadadha et al. [
103] with SenseChain, a decentralized crowdsensing framework built on Ethereum blockchain, which is compared to a centralized framework, i.e., greedy selection. The simulation results show an increase in both the level of participation and the quality of the sensing data. Similar conclusions are presented by Jia et al. [
104], who propose a blockchain-based incentive mechanism with an emphasis on location privacy protection. The MCS platform was used for collecting noise data in a campus environment, while the participation rate increased from 20% to 80% by using the proposed incentive mechanism when compared to traditional MCS.
3. Survey
In this section, we describe an in-depth analysis we performed of the current state of the gaming industry and scientific papers with related topics. The main objective of this data-driven survey was to highlight the trends in the industry and to provide a real-world background for our proposed solution.
A data-driven survey of video game scores on Metacritic is presented by Predescu and Mocanu [
105], focusing on PC games and a classification by genres. The PC has always been a popular gaming platform, but a considerable number of game consoles created a rich variety of options for the increased interest in video games among the younger generations, from handheld devices (e.g., Game Boy, Nintendo DS, Sony PlayStation Portable) to home consoles (e.g., Sony PlayStation/2/3/4, Nintendo Wii, Microsoft Xbox/360/One) [
106].
Mobile games are different from the perspective of distribution, integrated user rating and overall experience. The mobile ecosystem provides a common framework for application distribution which includes mobile games, that are subject to similar policies, requirements and design patterns.
3.1. PC Games
To evaluate the trend in the PC gaming industry, the average user ratings were extracted from Metacritic for a number of 4601 titles. The evolution of PC games from the perspective of user scores is shown in
Figure 2a, while the number of new releases per year is shown in
Figure 2b.
The data were extracted from the web pages in the category “Best Games of All Time”. While older games have not been documented in terms of user reviews until the internet age, since the introduction of game-related websites, the data show decreasing interest in new games, according to the user scores, while the number of new releases has been increasing over time.
3.2. Console Games
For console games, the data were extracted from Metacritic for each console type, accounting for a number of 9569 titles. The games were extracted from the category “Best of” for each console (e.g., “Best of PS3”) and then combined to show an overview of the entire industry.
The evolution of console games from the perspective of user scores is shown in
Figure 3a, while the number of new releases per year is shown in
Figure 3b. When compared to PC games, the results are similar, considering more modern consoles in the evaluation (PlayStation 2/3/4, Wii, Xbox, Xbox 360, Xbox One, Nintendo DS), where user data are available.
In contrast to PC games, where hardware can be upgraded to achieve improved performance and visuals, the console type can play an important role in the overall gaming experience. Moreover, the game interaction is different on different consoles, depending on the physical controls and surroundings. Therefore, the results by console type are shown in
Figure 4a for the average user score and in
Figure 4b for the number of new releases by year.
In general, the scores are similar across different consoles. However, there are some games that are exclusive to a particular console (e.g., Nintendo Wii), which, linked to a higher degree of novelty, can translate into higher user scores (e.g., 2012–2014).
Another difference when compared to PC games is revealed in
Figure 4b. As the industry progresses, new consoles are released that are not usually backward compatible with older hardware, while games are rarely ported for previous generations of consoles.
3.3. Mobile Games
Extracting data about mobile games on Play Store presents a different set of challenges: (1) there is no way to list all games from the store; (2) there are multiple categories that only provide the most relevant results and suggestions; (3) to find a specific game, the application ID must be known in advance.
There is, however, an accurate, crowdsourced video game database covering a broad range of platforms, including mobile (Android, iOS). Therefore, the list of all registered Android games from 2008 to 2020 was extracted from MobyGames [
107]. However, user rating was not available on the platform, and each title was searched on Google to find the application ID and then to be able to extract the data from the store. A total of 7886 games were listed on the website, of which 6086 were found on Play Store.
The results are presented in
Figure 5a, showing the average user ratings by year, while the number of new games by year is shown in
Figure 5b. The mobile industry has seen a major development since the introduction of the smartphone, which translates into an increasing number of mobile games until 2016. As the mobile application market reached maturity and new policies were introduced, there has been a decrease in this sense. However, with the exception of 2008, where some of the first few games were developed for the platform, the average user scores have been steadily increasing, from 4.02 stars (i.e., 80.4%) in 2009 to 4.18 stars (i.e., 83.6%) in 2020, showing a high overall interest in mobile games when compared to PC and console games.
3.4. Related Papers
To provide a background of recent academic research in related fields, a keyword search was performed on Google Scholar. Research papers were extracted, with titles containing the keywords (Blockchain, Crowdsensing, Serious Gaming, Crowdsensing + Blockchain, Urban Water, Blockchain + Water, Crowdsensing + Water). Therefore, the combination of keywords related to different technologies and concepts was also analyzed from the perspective of existing works in the literature to evaluate the level of interest and novelty. The search was limited to 50 pages for each category, while the search engine returned at most 10 results for each page, showing the most relevant results first (i.e., sort by relevance).
In
Figure 6a, the number of papers by year is shown for each search term, of which Blockchain and Crowdsensing were found to be most popular in 2018, while Serious Gaming shows a rather constant trend. From the evaluated combinations, Crowdsensing + Blockchain, and Blockchain+Water revealed a number of papers since 2018, showing an interesting link.
The distribution of keywords is shown in
Figure 6b, where the term Crowdsensing is revealed as the most commonly found in publication titles, followed by Blockchain, Urban Water and Serious Gaming. While the results are based on publication titles, other associations may be revealed when comparing the abstracts, which is a subject of further research.
4. Methodology
In this Section, the algorithms and methods are described for the SG-based crowdsensing solution in
Section 4.1 and the blockchain data model in
Section 4.2, to provide a background for the solution proposed in
Section 5.
4.1. Crowdsensing Model
We considered the crowdsensing solution as a two-stage routing problem. The allocation of tasks is translated into a Vehicle Routing Problem (VRP) with capacity constraints, while the incentive mechanism is further refined using a Vickrey–Clarke–Groves (VCG) auction model for truthful reporting.
4.1.1. VRP-Based Task Allocation Model
The VRP model represents the platform-centric approach for MCS evaluated in this paper. While there are multiple variations of VRP used for solving different problems, such as those presented in
Section 2, the model was adapted to the MCS scenario proposed in
Section 5.1 by defining the context and required constraints.
The VRP-based task allocation model is defined as follows: players are represented by vehicles, with capacities according to the reputation levels, while distance constraints define, e.g., the maximum travel distance. Tasks are represented by customers, with fixed locations and demands set according to the assigned priorities. Each vehicle has a starting point, i.e., player home, which corresponds to a depot, while the other nodes are associated with customers.
To define the mathematical model in the context of the proposed solution, we consider the following notations:
The vehicle routing problem (distance-constrained multi-depot vehicle routing problem with heterogeneous fleet capacity) can be defined by a combinatorial optimization and integer programming problem [
108,
109,
110,
111], with an objective function defined in Equation (2) that consists in minimizing the total cost, subject to a set of constraints that are presented below:
Constraints in Equations (3) and (4) are imposed to ensure that each customer (task) is visited (reported/resolved) exactly once by a vehicle (player) and then the vehicle should proceed to the next customer (task).
Constraints in Equations (5) and (6) state that each vehicle (player) must start from a depot (player home) and return to the same depot after completing the tour, while it is not required to dispatch all vehicles.
Constraints in Equations (7) and (8) enforce the condition that each vehicle (player) must belong to a depot (player home).
The route continuity constraint, i.e., flow conservation equation, is defined in Equation (9).
The maximum capacity constraint (player reputation) is defined in Equation (10), while the maximum range constraint (travel distance) is defined in Equation (11) for each vehicle (player).
In Equation (12), the constraint further imposes route continuity and prohibits the formation of routes that do not include a depot (player home).
In Equation (13), the constraint requires that there is no inter-depot route, i.e., route that includes other depots (player homes).
4.1.2. VCG-Based Auction Model for Truthful Reporting
The VCG-based user-centric approach is defined in
Section 5.1 in the context of the proposed MCS platform. In VCG auction, there are multiple items and agents, with each agent placing a bid for each item without knowing the valuations of others. The auction system assigns the items according to their true valuations, while each agent pays only the marginal value when compared to the other agents, encouraging truthful bidding.
The Vickrey-Clarke-Groves mechanism [
112,
113] is defined by the following optimization problem (Equation (14)) that maximizes the total utility, based on the optimal allocation of items to agents:
where
represents the valuation (bid) of agent
with regards to each possible outcome, i.e.,
.
The payment function for agent
depends on the valuations of other agents for a given outcome, i.e.,
, with the agent
and
, without the agent
, as defined in Equation (15):
The mechanism promotes truthful bidding through incentive compatibility (truthful bidding is a dominant strategy), individual rationality (each truthful agent receives a payment) and efficiency (truthful bidding maximizes social welfare).
4.2. Blockchain Model
We considered the blockchain as a solution for storing the collected data because of its transparency, security and accessibility. To demonstrate these properties, we look deeper at how this architecture works, what the key components are and how trust between peers is guaranteed. It is known that the blockchain architecture brings multiple benefits, but it must be noted whether its integration into the proposed solution improves performance or not.
Hyperledger is one of the newest solutions in the blockchain world and came with a new vision in the way of developing blockchain solutions [
114]. Each Hyperledger project/solution respects a predefined architecture and is composed by the following components: Consensus Layer, Smart Contract Layer, Communication Layer, Data Store Abstraction, Crypto Abstraction, Identity Services, Policy Services, APIs and Interoperation [
115].
To reach consensus, Hyperledger Fabric uses the Raft algorithm [
116] as shown in
Figure 7. It resembles a voting system, in which the nodes play various roles (followers, candidates, leaders), depending on their state. Specifically, each node plays the role of the candidate and tries to convince the other members to vote for him. He becomes a leader if more than half of the voters/nodes support him. Therefore, any node in the algorithm can be a candidate and can send requests to other followers. Moreover, if more than half of the followers send an answer, then the elections are successful, and the candidate with the most votes becomes the leader.
In addition, a log containing the entire election history is copied to the followers. If the new leader goes down, a new leader will be chosen, according to the steps saved in the log.
Another feature of the nodes is the measurement of the heartbeat through a timer. Normally, leaders have priority in measuring their heartbeat. If they no longer respond properly, then the leader is considered lost because he is no longer able to provide services. Therefore, he becomes a candidate and participates in the election of a new leader for a new term.
The advantage of using the Raft algorithm is the possibility of losing nodes, including leader nodes, without affecting the system as long as there is a majority of nodes that can take command. Therefore, it can be stated that the Raft algorithm is crash-fault-tolerant (CFT). For example, if a network contains three nodes, then one node can be lost, leaving another two nodes functional; if the network has five nodes, then two nodes can be lost and the other three can function without problems. Therefore, as there are more nodes in the network, the number of lost nodes does not influence the proper functioning of the system. In other words, this feature offered by Raft ensures the availability of services and offers a high degree of security [
117].
5. Proposed Solution
The proposed solution combines the crowdsensing model and SG platform with a blockchain-enhanced data model to achieve increased platform utility for crowdsensing in urban water infrastructure.
5.1. Crowdsensing Model
For georeferenced serious games where a set of challenges are distributed on the map, the game design for achieving optimal distribution of players to complete the tasks can be defined as a dispatch optimization problem combined with a reward-based incentive mechanism. The tasks involve issue reporting in the context of urban water and can be extended for many use cases.
The dispatch optimization problem can be formulated as an application of the Vehicle Routing Problem (VRP) as shown in
Figure 8, where the players, i.e., (
) are modeled as vehicles and tasks, i.e., (
), are modeled as customers, with the objective of cost optimization (e.g., distance traveled) under specific constraints, as described in
Section 4.1.
Therefore, geolocation and other constraints can serve as a filter for dispatching tasks to players to achieve a cost-effective routing strategy for increased platform utility in terms of truthful reporting and quality of sensing data.
However, to achieve an overall platform utility, the reward-driven incentive must be counterbalanced by a regulation strategy. The reputation score is the main currency in the game and must be defined in order to achieve optimal incentives for crowdsensing tasks while reducing the risk of overreporting or false reporting.
In this sense, the VRP can be defined with the capacity constraints for each player according to the reputation. At each iteration of the optimization algorithm, the capacities are updated. In the case of truthful reporting, the capacity is increased according to the reward, which allows for routing towards the next tasks. We considered three types of players: 100% match (truthful and accurate reporting), 80% match (truthful and mostly accurate reporting) and 50% match (false/inaccurate reporting).
To evaluate the model and different types of behavior, we run the optimization problem on the entire range of distributions in terms of geographical coordinates of the players. We considered fixed coordinates for the tasks and variable starting coordinates for players to evaluate the average cost of the system (total distance traveled) for each player behavior and therefore to assess the platform utility for encouraging truthful participation. The results are presented in
Section 7.1.
To translate the problem formulation into VRP constraints, we considered the following: (1) player reputation is represented by vehicle capacity; (2) player effort is represented by vehicle fuel level; (3) task priority is represented by customer demand.
Therefore, an effective routing strategy that stimulates truthful reporting through reputation incentives accounts for the reputation of players that report the issue as well as players that validate the issue, allowing for an overall regulation of the system towards improved platform utility.
The proposed framework allows for the evaluation of reward strategies based on the estimated level of trust/reputation of players. The rewards can be defined based on the required capacities that satisfy a given distribution of issues.
To achieve the optimal solution in terms of the assignment of the most truthful players to a higher number of priority issues, a balance must be achieved between the relative priorities and the reputation of players. An optimization problem can be defined when comparing the results for each player type with the relative task priority adjusted by a reward factor to achieve an optimal allocation of tasks.
The VCG auction model can be used to provide incentives according to the player type and estimated cost. Therefore, the players submit their bids according to the expected cost for each task and their own reputation level. The algorithm provides the optimal assignments and rewards according to the auction model, which incentivizes truthful bidding.
The same methodology and conditions were used to simulate the VCG-based allocation of tasks, as described for VRP, and the results are presented in
Section 7.1.
5.2. Blockchain Framework
For the development of the proposed solution, the blockchain component is based on a Hyperledger Fabric implementation, which presents key features for an efficient implementation in the context of the proposed solution.
Some of the key advantages of this technology are given by its open-source nature, keeping the transaction history in a data structure, and not requiring the use of cryptocurrencies. The transaction proposals are sent to Endorsing Peers, i.e., the nodes that approve the verification of transactions and generate a response that contains the read-and-write set. Moreover, the output is sent to the node that initiated the transaction, which receives the output from all Endorsing Peers and sends it to the Orderer node. In the next stage, the Orderer node observes all the transactions and forms a block with them in ascending order. The newly formed block is sent to all committer nodes, which add a block to their own register.
Based on a smart contract and following the request made by the user, the data can be queried or added to the blockchain. Moreover, the data can be accessed using a REST API.
The proposed architecture, described in the
Figure 9, uses Docker to generate the containers for the Orderer node, Peer nodes and CouchDB (non-relational database) with a REST API for the different user types defined in
Section 5.3, representing different stakeholders in the proposed solution.
Each peer container has its own registry saved in CouchDB. To ensure trust between peers, certification authorities were used for each peer. Moreover, a separate certification authority was used for the Orderer.
To provide data consistency and increased security, the data register was replicated on multiple nodes. An essential feature of the integration of blockchain technology in the proposed solution is audit support, as described in previous research [
118]. Given that data in the blockchain cannot be modified or deleted, it is a useful tool by which the data from the database can be compared to the data stored in the blockchain, providing an efficient solution for the trust problem in MCS.
5.3. Serious Gaming Platform
The serious game is defined based on a set of roles assigned to players for the crowdsensing tasks as shown in
Figure 10. Issue discovery is delegated to the Blue Team, which consists of crowdsourced opportunistic sensing and event (E) reporting. The reports are published on the map (FIND) and visible to the other players.
The Yellow Team is designated for solving the reported issues (FIX) and consists of field experts that are available nearby. The reports can be either confirmed or invalidated by the Yellow Team, while the proof of validation is uploaded on the platform. Upon validation, the Blue Team member receives a reward for truthful reporting.
The Red Team represents the public authorities, with trusted experts monitor and that validate (VALID) the reports. Upon solving an issue, the reward is assigned to the Yellow Team member. If the issue is evaluated as false reporting by the Red Team, both the corresponding rewards to the Yellow Team and the Blue Team are invalidated. In this sense, for the Blue Team, the Yellow Team can assign rewards for truthful reporting, while the Red Team can invalidate them based on expert reviews.
The rewards have a direct influence on player reputation, while truthful reporting is enforced by the crowdsensing model.
The SG platform is defined by a mobile application for crowdsensing in urban water infrastructure, based on the urban exploration platform developed with Leplace Global [
119]. The players/citizens can report issues with regard to water utilities and place them on the World Map. Gamification is used to increase the level of participation and interaction with the environment, while responsive design and visual aspect provides for an attractive game environment with real-world implications. The main view is shown in
Figure 11, with the location of issues and players according to the experimental setup used in this paper.
While there are different kinds of issues that can be found in urban water infrastructure, the map view reveals nearby issues as reported by the players: flooding, water supply (e.g., leaks or service interruptions), pollution and hazards (other circumstances). The player locations are shown on the map for experimental purposes, while in real-world applications, collecting real-time location data may be prohibited by privacy laws according to the use case.
The crowdsensing model presented in
Section 4.1 and
Section 5.1 can be used to define the allocation of tasks for each player and to provide the incentive mechanism. Reported issues are registered on the blockchain as described in
Section 4.2 and
Section 5.2, for an increased level of trust for the stakeholders, through secure data storage and transparency.
The proposed components fill the existing gaps in mobile crowdsensing applications by addressing the motivation, trust and coverage issues from three different perspectives. Therefore, the overall platform utility, i.e., coverage and sensing cost, is influenced by: (1) the crowdsensing model as the base for the in-game economy; (2) an attractive game design to increase the level of participation; (3) the perceived level of trust, ensured by the decentralized storage ledger.
6. Materials and Methods
The VRP-based solution is implemented in Python using Google OR-Tools [
120], which allows for modeling the route optimization problem in a general format, with the required constraints that can be added, of which we used: capacity constraints, multiple depots and distance constraints.
While the Google Directions API [
121] can be used to compute the distance matrix for a given set of points on the map, the platform allows for a limited number of requests within a given budget. Therefore, the experimental solution includes an offline calculation module for simulating random player locations.
The VCG-based solution is implemented in Python using a VCG auction implementation [
122] and integrated into the simulator to evaluate multiple scenarios in terms of optimal task allocation with regards to a reputation-based bidding scheme.
The crowdsensing model simulator is available on GitHub [
123] and evaluates the VRP and VCG models for different configurations in terms of player distributions on the map.
The blockchain performance evaluation framework is available on GitHub as well [
124] and is based on the Hyperledger Caliper benchmark tool [
125]. The original repository contains the required configurations for evaluating multiple blockchain architectures, while we focused on the proposed scenario for validating the Hyperledger Fabric performance.
7. Results
To provide an overview of the proposed solution in terms of performance and accuracy, the crowdsensing model is evaluated in
Section 7.1, and the blockchain model is evaluated in
Section 7.2.
7.1. Crowdsensing
The crowdsensing solution is evaluated using the two proposed formulations based on the VRP model and the VCG auction model, each providing different and complementary perspectives on the player–task allocation problem, i.e., platform-centric/user-centric.
7.1.1. VRP Model
The optimization model is implemented in Python, based on Google OR-Tools framework, which provides a general formulation of the VRP with multiple layouts and constraints. To evaluate the VRP load balancing, i.e., task allocation, we considered a set of 10 locations in Bucharest, and three players that correspond to the simulated behavior: accurate reporting, mostly accurate reporting and false reporting. The routing module is initialized with the distance matrix, number of players and location of depots (starting locations).
The selection of optimal routes is based on a distance function and the defined consumer demands, while vehicle capacities (player reputation) and fuel level (travel distance) are modeled as capacity constraint dimensions. A penalty function is added, allowing to exclude nodes in order to solve the optimization problem, whereas no feasible solution could be found within the given conditions (e.g., total consumer demand exceeds the capacity of the fleet). The optimization algorithm solves for optimal cost within the provided constraints and time limit, returning the optimal path for each vehicle, which provides the initial assignment of tasks to nearby players.
To evaluate the effect on the distribution of tasks according to the player reputation, we defined the capacities in the context of VRP as follows: accurate reporting (100), mostly accurate reporting (80) and false reporting (50). Then, we proceed to evaluate how the relative importance of the issues found in the locations scattered across the city should be related to the player reputation to achieve optimal load balancing. We considered a fixed distribution of associated demands and a reward factor that is applied for each demand.
For the experiment, we evaluated the effect of this reward factor in the range of 1 to 15, where a factor of 5 results in a balanced overall distribution (total rewards vs. total reputation). As the starting location of players may affect the accuracy of the results, we considered a random initialization using a bounding circle. The VRP is evaluated for 1000 iterations, and the average load (resource allocation) is shown in
Figure 12a for each player type.
In this evaluation, the optimal reward factor should be 5 or greater, as there is an increase in standard deviation for lower values, as shown in
Figure 12b, which accounts for less predictable results. In fact, for a reward factor of 1, the optimal allocation of tasks is not satisfied, whereas a factor of 5 or greater results in more predictable distributions while the proposed objective is achieved.
According to the results, while the optimization problem is solved either way, the optimal reward factor should be defined to achieve the desired outcome for the incentive mechanism. Therefore, there should be a balance between the reputation of players and the rewards allocated for each available sensing task.
7.1.2. VCG Model
The VCG auction model is based on a Python implementation that receives the input data from a text file describing the available items and bids for each participant and returns the allocation of items according to the truthful bidding strategy. The distance matrix is translated into the input format as follows: the bids for each task are defined as a function of distance (reported cost) and normalized player reputation , with the higher reputation of players accounting for more truthful bidding. The total payoff and number of items for each player are extracted from the output to compare the results.
Using a similar method as presented in the case of VRP, the VCG model was integrated into the simulator, and the results were evaluated for random layouts in terms of starting positions for players. The same number of iterations (1000) was used to compare the results in terms of optimal load balancing across a variable distribution of player locations on the map.
For visual inspection, the results were post-processed using a moving average filter as shown in
Figure 13a for the average rewards and
Figure 13b for the average number of assignments for each player type. We considered the same types of players with normalized reputations: 1 (truthful and accurate reporting), 0.8 (truthful and mostly accurate reporting) and 0.5 (false/inaccurate reporting).
The results show that both a higher number of tasks and a higher total reward are assigned for truthful bidding over the entire range of simulated layouts, which is directly influenced by the relative reputation of players.
As the scenarios were generated based on a random distribution of players on the map, the results show a higher importance of player reputation with regards to the task allocation, while the proximity has a less pronounced influence in this sense.
Therefore, the reward scheme can include the reported cost (e.g., distance) to account for a decentralized, user-centric load balancing, in contrast to the VRP, where player locations must be processed by a centralized, i.e., platform-centric, routing service.
7.2. Blockchain
The blockchain framework is evaluated to see if the proposed data storage solution is feasible for the entire architecture. As mentioned before, Hyperledger is a new joiner in the blockchain technology stack and provides many plug and play functionalities, tools and studies about its characteristics.
According to [
126], the performance of Fabric architecture is measured based on multiple metrics. All the tests were performed using a Hyperledger benchmark tool named Caliper [
125] with the applied testing flow described in
Figure 14.
To better understand the results, the following key terms were defined: SUT (System Under Test), Read Latency (time between sending the read request and receiving the read response), Read Throughput (number of reading operations finished in a defined period), Transaction Latency (time from sending a new transaction to blockchain until the transaction is inserted and available to be retrieved) and Transaction Throughput (number of transactions added into blockchain in a defined period). The type of actions that were evaluated are the following:
Write: creating a new transaction in the database (createAsset—single putState operation);
Batch write: creating multiple batch transactions (createAssetsFromBatch—multiple putState operations);
Read: get a transaction (getAsset—single getState operation);
Batch read: get multiple transactions (getAssetsFromBatch—multiple getState operations).
The configuration parameters for Hyperledger Caliper [
127] include the number of worker nodes, workload specification and dimensions (e.g., asset size, batch size), experiment duration and rate control mechanisms (e.g., fixed rate, fixed load), of which the most relevant were selected to provide a performance evaluation in terms of read/write operations on the blockchain.
Therefore, a fixed load rate controller was used with a specified constant load between 10 and 50 backlog transactions (i.e., pending confirmation), an asset size between 100B and 64KB and a batch size between 1 and 50 to evaluate the proposed scenarios.
For the evaluation of read performance shown in
Figure 15a, the fixed load was evaluated in terms of average latency, while increasing the asset size and using 10 worker nodes with a fixed load of 50 backlog transactions. The batch read performance shown in
Figure 15b was evaluated by increasing the batch size, using a predefined asset size of 8KB and a fixed load of 20 backlog transactions. Similarly, the write performance shown in
Figure 16a was evaluated using 5 worker nodes and a fixed load of 10 backlog transactions, and the batch write scenario shown in
Figure 16b was configured with a fixed 8KB asset size and a fixed load of 5 backlog transactions.
According to the results in
Figure 15 and
Figure 16, depending on the message size and the number of simultaneously read/write requests, the average time for retrieving/adding information from blockchain increases linearly with batch size and message size.
The results show good performance and scalability with regards to the number of simultaneous requests and the message size when considering the test environment. Further small-scale experiments that were run multiple times have confirmed the accuracy of the results in terms of the overall conclusions, while the entire simulation is extremely resource-intensive and was only performed once.
8. Discussion
The simulation environment provides an evaluation of platform-centric and user-centric approaches to MCS. The task allocation and incentive mechanism represent two different problems that can be solved by either approach, while there are some specific aspects given by the geolocation component.
The player locations and distribution of tasks within a geographic area represent a key aspect in selecting the most suitable method for designing the incentive mechanism. In this sense, the VRP is a highly studied, industry-proven method that was adapted for this scenario and represents a platform-centric approach, while the VCG provides a user-centric reward mechanism based on player reputation in a reverse-auction model, where the actual sensing cost is reported by each player, instead of relying on a central dispatch system. The proposed solution offers great opportunities for further research by assessing both platform and user-oriented approaches.
Geolocation is a sensitive subject with regards to user privacy, which makes VCG a viable alternative for the reward-driven routing problem as well, demonstrated through the experimental results. While the location must be provided for georeferencing and map loading, the continuous tracking of user location not only can be resource-intensive, but may be prohibited by privacy laws. Therefore, an initial allocation of tasks is handled by the VRP model, while the dynamic reward mechanism is more accurately defined by the VCG model, where the actual sensing cost, i.e., distance traveled, is reported by each player.
A potential issue with crowdsensing is given by duplicate reporting, which can be addressed by a second reward factor based on the density of the reports within a geographic area in terms of physical location, category and timestamp. Moreover, by assigning lower rewards for clustered reports and higher rewards for outlier reports, the coverage of the proposed MCS solution can be improved.
Ambiguous reporting is another aspect that can be solved by integrating multiple validation schemes, i.e., using more accurate categories for reported issues and combined sensor data (e.g., camera, microphone) along with text-based reports. A more accurate rating system can further improve the level of interaction between the participants and encourage both truthful and accurate reporting.
While both platform-centric and user-centric models aim at increasing coverage, the integration in a real-time MCS platform based on the serious game implementation defined in this paper represents a challenge to be discussed in future research. The SG platform design is of primary importance when considering the actual involvement of citizens in solving water-related problems, with a game-driven mobile interface that is both practical and entertaining for the users. An additional aspect is increasing the environmental awareness of users, as well as an educational function.
The different stakeholders are assigned different roles, while the incentive mechanism is based on reputation and level of interaction with the real-world through gamified scenarios. The interactions are shaped by the incentive mechanisms and in-game economy for increased platform utility, i.e., optimal sensing capabilities.
The trust-based mechanism is supported by the Hyperledger Fabric architecture, which provides a scalable blockchain solution for audit-enhanced storage layer, with peer nodes represented by major stakeholders in water utility networks. The global implications for MCS, i.e., increasing the level of participation, can be found in multiple studies presented in
Section 2, while an additional improvement in terms of overall platform utility is given by the reduced energy requirements for consensus when compared to other blockchains.
9. Conclusions
The gaming industry has come a long way since the inception of the Internet and game-related websites, based on community feedback and technical advancements. A brief history of PC and console games reveals a snapshot of a fast-growing multi-billion-dollar industry with multiple implications in culture and entertainment. Video games have basically changed the way we perceive and interact with the digital world, providing a bridge between humans and technology.
With the invention of smartphones and unified software distribution channels (i.e., app stores), mobile games represent a turning point for the gaming industry in the era of mobility. A data-driven survey has revealed a general trend for the traditional gaming industry (PC and console games), accounting for a decrease in average user scores for new releases, while mobile games have seen a steady increase in terms of user rating.
The MCS paradigm is based on the integration of mobile technologies into our lives and benefits from gamification to provide incentives for increasing the motivation and participation of citizens in urban water management. Existing solutions prove that there is a great deal of interest in MCS, while there are multiple challenges in designing an effective, citizen-centric platform for increasing the level of participation in the community. The motivation of users in MCS presents at least two different challenges that we addressed in this paper, represented by the practical value, i.e., optimal sensing capabilities, and entertainment value, i.e., serious gaming.
There are multiple challenges associated with MCS, with regards to the optimal sensing capabilities (e.g., optimal allocation of sensing tasks, truthful reporting, ensuring the quality of sensing data) and human motivation (e.g., attractive game design, the role of serious gaming, incentive mechanism design), and an effective design of MCS solutions requires a combination of game theory, mobile architecture and citizen science.
The SG-based MCS solution presented in this paper is based on the active participation of citizens in solving water-related problems. The literature review did not reveal a similar study that combines all the proposed components, whereas the effect of SG and Blockchain in MCS can be found in separate studies, some of which are related to the urban water context.
The methods discussed in this paper present two sides of the incentive mechanism design for successful MCS implementations. The mathematical models of distance-constrained multi-depot vehicle routing problems with heterogeneous fleet capacity and Vickrey–Clarke–Groves auction are evaluated in the context of the proposed MCS scenario, with multiple initial conditions given by the location of players.
The mobile platform is designed as an interactive real-world game that aims to achieve a balance between platform utility and entertainment value based on the proposed crowdsensing model for solving water-related problems.
With blockchain support, the proposed solution covers some important aspects when designing secure and intelligent mobile systems, dealing with the inherent trust issues related to existing MCS solutions. The Hyperledger Fabric model was selected based on the privacy requirements in trust-based systems as well as the modularity achieved using smart contracts.
The background and integration of the proposed components in the context of CPSS is discussed in this paper, while further directions of research involve the deployment of an experimental platform and field testing with real users to evaluate the influence of different incentive strategies on the level of participation and quality of sensing data. An extensive study of the overall impact of each component on platform utility requires major investments for large-scale integration and marketing campaigns, while the proposed methodology provides a foundation for such developments.