# Resource Management and Secure Data Exchange for Mobile Sensors Using Ethereum Blockchain
## 4 Methodology  
The proposed system introduces a novel computational model for cost-effective resource management to support secure communication among mobile sensors in the Ethereum blockchain. The core idea of this model is to resist various illegitimate accesses to sensitive data in large-scale sensory applications. The proposed model also aims to achieve a higher degree of symmetry from the perspective of network dynamics to retain sufficient equilibrium of fairness, equality, and balance in sensory applications. Owing to the inclusion of an innovative scheme for securing mobile sensors and their associated operations within the network model, the proposed system also encourages an efficient decentralized environment resilient against undue actions adopted by a small group or single entity. The concept of the proposed scheme is illustrated in Figure 1.  
As shown in Figure 1, the proposed system involves four discrete operational blocks related to modeling the operations of mobile sensors, performing validation, a discrete network model, and a cost model. All four operational tasks are jointly aligned for secure communication using the Ethereum blockchain. The modeling of the proposed scheme considers direct communication within mobile sensors and communication between the mobile sensor and network structures in the form of access points and gateway nodes. The scheme authenticates the data based on resource-based constraints and trust scores by utilizing the optimal resources of the communication channels. The first module of the mobile sensor operation introduces density-based computation, and the second module validates the operation. Validation involves the sensors' identity enrollment process, where public and private keys are used to safeguard the secure exchange of keys. The gateway node enrolls mobile sensors and access points and provides communication authorization. The validation model also introduces a simplified consensus method in which an access point is set with multiple roles. Additional validation was performed on the identity of the sensors where digital signatures were used, followed by a computation of the trust score. The proposed model introduces a novel trust score computation for node-to-node and node-to-structure communications, considering the possibilities of failed and successful communication. Finally, a network model was introduced to facilitate communication on the computed path with higher signal quality. The proposed scheme also presents a cost model incorporating sustainable resource management. The contributions of the proposed conceptual model are discussed as follows: (i) unlike the existing usage of blockchain-based communication systems between two nodes, the architecture presents a dual mode of communication of nodes, i.e., N2N and N2S, to facilitate broader communication in an extensive distributed system in IoT; (ii) the architecture also introduces a dual validation scheme for mobile sensors using less-complex and yet innovative public key encryption, as well as a novel consensus method; (iii) a newly introduced role of nodes is introduced in the proposed consensus method that not only offers better node selection but also contributes towards reliable trust computation; and (iv) the proposed architecture presents a novel cost modeling scheme with the inclusion of multiple practical schemes, which is seemingly not witnessed in existing methods of blockchain-based resource management in IoT. A closer look at the proposed methodology shown in Figure 1 shows the inclusion of some novel traits associated with the operational framing of mobile sensors, the confirmation process of sensor identity, simplified modeling of communication, and novel cost modeling. It should also be noted that this model includes computational power or stake in the network structure of Ethereum, which acts as a criterion for node participation in the  
Figure 1: Proposed conceptual model of securing communication in sensory applications. network in the form of a miner or validator.