| Titre : | Blockchain for the driver’s license management |
| Auteurs : | DOUAA LEHRAKI, Auteur |
| Type de document : | Mémoire magistere |
| Editeur : | Biskra [Algérie] : Faculté des Sciences Exactes et des Sciences de la Nature et de la Vie, Université Mohamed Khider, 2021 |
| Format : | 1 vol. (57p.) / ill. / 29 cm |
| Langues: | Anglais |
| Mots-clés: | Blockchain, Driver’s license , Smart contract, blockchain based license management. |
| Résumé : | Blockchain is a new technology that allows transactions to be carried out securely and transparently and without interference from third parties.Its structure is decentralized, which means that the data is distributed among the users of the network, so that the information can never be erased. These features make blockchain technology suitable for managing driving licenses and combating the presence of unlicensed drivers.In order to ensure that only qualified people who have received proper driver training and have a genuine driver’s license are allowed to drive vehicles, we will introduce a decentralized system based on blockchain technology to solve this issue. |
| Sommaire : |
General Introduction 1
1 Blockchain Technology 3 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 History of Blockchain . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Definition of Blockchain Technology . . . . . . . . . . . . . . . . . . . 4 1.4 Components of blockchain . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.4.1 Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.4.2 Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.3 Chaining Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.4 Consensus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.5 Functioning of Blockchain . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.6 Cryptography in Blockchain . . . . . . . . . . . . . . . . . . . . . . . . 8 1.6.1 Type of Cryptography . . . . . . . . . . . . . . . . . . . . . . . 9 1.6.1.1 Symmetric-Key Cryptography . . . . . . . . . . . . . 9 1.6.1.2 Asymmetric-Key Cryptography . . . . . . . . . . . . 9 1.6.1.3 Hash Functions . . . . . . . . . . . . . . . . . . . . . 10 1.7 Features of blockchain . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.7.1 disintermediation . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.7.2 Immutability . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.7.3 Transparency . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.7.4 Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.8 Types of blockchain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.8.1 Public Blockchain . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.8.2 Private Blockchain . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.8.3 Semiprivate blockchain (Hybrid) . . . . . . . . . . . . . . . . . 12 1.9 Uses of blockchain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.9.1 Electronic Voting . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.9.2 Supply Chain Management . . . . . . . . . . . . . . . . . . . . 13 1.9.3 Healthcare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.9.4 Automobiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.9.5 Insurance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.9.6 Identity Management . . . . . . . . . . . . . . . . . . . . . . . 14 1.10 Smart Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.10.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.10.2 Programming language . . . . . . . . . . . . . . . . . . . . . . 15 1.10.2.1 solidity . . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.10.2.2 Contract Implementation . . . . . . . . . . . . . . . . 16 1.11 Advantages and Disadvantages of Blockchain . . . . . . . . . . . . . 16 1.11.1 Advantages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.11.1.1 Decentralized system . . . . . . . . . . . . . . . . . . 16 1.11.1.2 Trusty . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.11.1.3 Security . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.11.1.4 High availability . . . . . . . . . . . . . . . . . . . . . 17 1.11.1.5 Faster dealings . . . . . . . . . . . . . . . . . . . . . . 17 1.11.2 Disadvantages . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.11.2.1 The high energy consumption . . . . . . . . . . . . . 17 1.11.2.2 The high costs . . . . . . . . . . . . . . . . . . . . . . 17 1.11.2.3 Scalability . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.12 Blockchain today . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.12.1 Cryptocurrencies . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.12.1.1 Bitcoin . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.12.1.2 Ethereum . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.13 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2 Driver’s license 20 2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2 Definition of driver’s license . . . . . . . . . . . . . . . . . . . . . . . . 20 2.3 Type of driver’s license . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.3.1 Category A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.3.2 Category B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.3.3 Category C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.3.4 Category D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.3.5 Category E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.3.6 Category F . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.4 The process of obtaining a driver’s license . . . . . . . . . . . . . . . . 22 2.5 Driver’s license problems . . . . . . . . . . . . . . . . . . . . . . . . . 24 2.6 Traffic rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2.7 Traffic offense penalties . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.8 Related works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.8.1 Implementation of the Blockchain in the Optimization of the Security of Transport Documents (Driver’s License and Vehicules Registration Cards): . . . . . . . . . . . . . . . . . . . . 26 2.8.2 A Novel Framework for Blockchain Based Driving License Management and Driver’s Reputation System for Bangladesh: 26 2.9 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3 Design and Implementation 28 3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.2 Global Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.2.1 Interaction of user sing in . . . . . . . . . . . . . . . . . . . . . 28 3.2.2 Interaction to obtain driver’s license . . . . . . . . . . . . . . . 29 3.2.3 Interaction of police officers with system . . . . . . . . . . . . 30 3.2.4 Use case diagram for system . . . . . . . . . . . . . . . . . . . 30 3.3 Detailed architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.3.1 User Sequence Diagram . . . . . . . . . . . . . . . . . . . . . . 31 3.3.2 Sequence diagrams of admin . . . . . . . . . . . . . . . . . . . 32 3.3.3 Sequence diagrams of police . . . . . . . . . . . . . . . . . . . 33 3.3.4 Sequence diagrams of approver . . . . . . . . . . . . . . . . . 34 3.4 Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.4.1 Development Tools . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.4.1.1 System Configuration and Operating System . . . . 35 3.4.1.2 Node.js . . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.4.1.3 Ganache . . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.4.1.4 Metamask . . . . . . . . . . . . . . . . . . . . . . . . . 36 3.4.1.5 Remix IDE . . . . . . . . . . . . . . . . . . . . . . . . 36 3.4.1.6 Truffle . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 3.4.1.7 web3.js . . . . . . . . . . . . . . . . . . . . . . . . . . 37 3.4.1.8 React.js . . . . . . . . . . . . . . . . . . . . . . . . . . 37 3.4.1.9 Visual Studio Code . . . . . . . . . . . . . . . . . . . 38 3.4.1.10 JavaScript . . . . . . . . . . . . . . . . . . . . . . . . . 38 3.4.1.11 Solidity . . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.4.2 Environment Configuration . . . . . . . . . . . . . . . . . . . . 39 3.4.3 Writing Smart Contract . . . . . . . . . . . . . . . . . . . . . . 40 3.4.4 Compiling Smart Contract . . . . . . . . . . . . . . . . . . . . . 44 3.4.5 Deploying Smart Contract . . . . . . . . . . . . . . . . . . . . . 44 3.4.6 Testing Smart Contract . . . . . . . . . . . . . . . . . . . . . . . 45 3.4.7 Front End . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.4.8 Presentation of the system interfaces . . . . . . . . . . . . . . . 46 3.5 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 General Conclusion 55 Bibliographie 56 |
| Type de document : | Mémoire master |
Disponibilité (1)
| Cote | Support | Localisation | Statut |
|---|---|---|---|
| MINF/612 | Mémoire master | bibliothèque sciences exactes | Consultable |




