| Literature DB >> 36172315 |
Yunting Jiang1,2, Yalin Lei1,2.
Abstract
To better track the source of goods and maintain the quality of goods, the present work uses blockchain technology to establish a system for trusted traceability queries and information management. Primarily, the analysis is made on the shortcomings of the traceability system in the field of agricultural products at the present stage; the study is conducted on the application of the traceability system to blockchain technology, and a new model of agricultural product traceability system is established based on the blockchain technology. Then, a study is carried out on the task scheduling problem of resource clusters in cloud computing resource management. The present work expands the task model and uses the deep Q network algorithm in deep reinforcement learning to solve various optimization objectives preset in the task scheduling problem. Next, a resource management algorithm based on a deep Q network is proposed. Finally, the performance of the algorithm is analyzed from the aspects of parameters, structure, and task load. Experiments show that the algorithm is better than Shortest Job First (SJF), Tetris ∗ , Packer, and other classic task scheduling algorithms in different optimization objectives. In the traceability system test, the traceability accuracy is 99% for the constructed system in the first group of samples. In the second group, the traceability accuracy reaches 98% for the constructed system. In general, the traceability accuracy of the system proposed here is above 98% in 8 groups of experimental samples, and the traceability accuracy is close for each experimental group. The resource management approach of the traceability system constructed here provides some ideas for the application of reinforcement learning technology in the construction of traceability systems.Entities:
Mesh:
Year: 2022 PMID: 36172315 PMCID: PMC9512612 DOI: 10.1155/2022/6559517
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1The technical framework.
Acronym.
| Acronym | Explication | Abbreviation | Explication |
|---|---|---|---|
| NFC | Near field communication | PROV | Provenance |
| GSM | Global system for mobile communications | ALL | Reinforcement learning |
| DES | Data encryption standard |
| Amplitude of update |
| RSA | Rivest–Shamir–Adleman |
| Discount factor (attenuation value) |
| QOS | Quality of service | DQN | Q learning-CNN |
| Device to device | D2D | Deep neural networks | DNNs |
| OPM | Open origin model |
Literature review.
| Classification of proposed approaches | Year | Authors | Strengths | Gaps | Objectives | Field of application | Constraints |
|---|---|---|---|---|---|---|---|
| Trusted traceability query of blockchain | 2021 | Vikaliana et al. [ | It can quickly summarize and sort out the literature | High complexity | Helps the system to carry out the literature review | Traceability of agricultural enterprise commodities | The limited scope of use |
| 2019 | Chen et al. [ | Three main areas of enterprise management, user query, and government supervision are designed to track information flow and system | High cost | The application value hypothesis of NFC technology in the agricultural product supply chain is proposed and verified | Improvement of the agricultural product supply chain | The dataset used is small | |
| 2019 | George et al. [ | In addition to enhancing the traceability of food (products), the prototype can grade the quality of food consumed by human beings | There are few actual use scenarios | A restaurant prototype using blockchain and product identification to achieve more reliable food traceability is proposed | Restaurants | The system construction is complex | |
| 2021 | Yang et al. [ | Traceability of product information in product supply chain | It needs to be used with the database | It improves the transparency and credibility of traceability information | Agriculture products | The limited scope of use | |
| 2021 | Liu et al. [ | Exact distance query | Logistics, transportation, and product traceability | It solves the problems of data leakage and query leakage in data outsourcing | Products | The performance requirements of computing equipment are high | |
|
| |||||||
| RM | 2021 | Munaye et al. [ | The scheme has good results. In the evaluation task, the evaluation results converge quickly, which is suitable for heterogeneous IoT (IoT) networks with low complexity | The experimental object is relatively single | The resource use of IoT networks is optimized | Wireless networks | The performance requirements of computing equipment are high |
| 2020 | Chen et al. [ | Each scheduling slot makes decentralized optimal band allocation and packet scheduling decisions. The performance of the previous algorithm is greatly improved | The experiment is carried out only under ideal conditions | Radio RM | Wireless networks | High performance requirements for computing equipment | |
| 2020 | Yang et al. [ | The priority experience replay and coordinated learning mechanism are adopted to enable distributed communication links, which improve the network performance and access success probability | The algorithm is tested only under ideal conditions | The radio block joint allocation and transmission power control strategy are optimized | Wireless networks | High requirements for the hardware equipment | |
Figure 2Scheme of a blockchain model.
Figure 3Scheme of OPM.
Figure 4System architecture diagram.
Figure 5Design of the application layer.
Figure 6Flow chart of blockchain construction.
Figure 7Transaction process between nodes.
Figure 8Transaction process between transaction roles.
Figure 9The implementation process of trade.
Figure 10PBFT algorithm transfer diagram.
Figure 11Scheme of RL.
Figure 12State diagram.
Figure 13Structure diagram of RL network using DNN.
Figure 14Neural network output.
Environment configuration.
| Type | Name | Parameter |
|---|---|---|
| Hardware | Tencent Cloud | System: Centos 7.0; RAM: 2G; CPU: 1H; network card: 1M |
|
| ||
| Software | cURL | Version: 7.61.0 |
| Golang | Version: 1.11 | |
| Docker | Version: 18.03.1-ce | |
| Docker-compose | Version: 1.14.2 | |
| Fabric | Version: release-1.2 | |
| Apache Tomcat | Version: 7.0.0 | |
Figure 15Results of the traceability test. (a) The first test; (b) the second test.
Figure 16Comparison of average task slowdown of different algorithms under different load levels under single-stage task.
Figure 17The average task slowdown under different load levels in the mixed phase task set.
Figure 18Comparison of iterations between two task sets at different task arrival rates.
Figure 19Average task slowdown for top m tasks.
Figure 20Average task slowdown under different learning rates.
Figure 21Average task slowdown under different short task proportions.
Average task slowdown and average task completion time of single-stage task set.
| Algorithm | DQRM | Tetris | SJF | Packer |
|---|---|---|---|---|
| Average task slowdown | 6.1 | 7.2 | 8.8 | 32.5 |
| Average task completion time | 18.2 | 19.1 | 20.1 | 48.6 |
Average task slowdown and average task completion time of mixed-phase task set.
| Algorithm | DQRM | Tetris | SJF | Packer |
|---|---|---|---|---|
| Average task slowdown | 5.1 | 5.8 | 6 | 26.1 |
| Average task completion time | 16.2 | 18.1 | 19.1 | 38.6 |
Figure 22Learning curve.
Figure 23Reward curve.
Figure 24Traceability QR code generation interface.
Figure 25Information release interface for the agricultural products.
Figure 26Traceability code query interface.