Sharding is the widely used approach to the trilemma of simultaneously achieving decentralization, security, and scalability in traditional blockchain systems. However, existing schemes generally involve problems such as uneven shard arithmetic power and insecure cross-shard transaction processing. In this study, we used the Practical Byzantine Fault Tolerance (PBFT) as the intra-shard consensus and, here, we propose a new sharding consensus mechanism. Firstly, we combined a jump consistent hash algorithm with signature Anchorhash to minimize the mapping of the node assignment. Then, we improved the process of the cross-shard transaction and used the activity of nodes participating in intra-shard transactions as the criterion for the shard reconfiguration, which ensured the security of the blockchain system. Meanwhile, we analyzed the motivation mechanism from two perspectives. Finally, through theoretical analysis and related experiments, we not only verified that the algorithm can ensure the security of the entire system, but also further clarified the necessary conditions to ensure the effectiveness of the shards and the system on the original basis.
With the miniaturization of communication devices, the number of distributed electromagnetic devices is increasing. In order to achieve effective management of the electromagnetic spectrum, prediction and anomaly detection of the spectrum has become increasingly critical. This paper proposes an algorithmic framework for detecting spectrum anomalies using deep learning techniques. More specifically, the framework includes spectrum prediction and anomaly detection. We use the sliding window method to divide the time series, construct multi-timescale historical data, and train the model with normal data to have high accuracy spectrum prediction capability. We analyze and determine the discriminant function to distinguish the spectral anomalies by calculating the differences between the predicted and real data. The experimental results show that the proposed method outperforms existing baseline algorithms based on real-world spectrum measurement data and simulated anomaly data.
Electromagnetic environment situation anomaly detection is a prerequisite for electromagnetic threat level assessment, and its research is of great practical value. However, because of the complexity of the electromagnetic environment, electromagnetic environment situation anomaly detection is not efficient. Therefore, we propose a dual-branch prediction network-based electromagnetic environment situation anomaly detection method to predict the future and achieve anomaly detection by fusing different development characteristics of electromagnetic environment situations learned by other branches. We extract the electromagnetic environment situation state and trend features using the manual feature extraction module and mine the electromagnetic environment situation in-depth data distribution features using ConvLSTM, improve the dynamic time regularization model according to the physical characteristics of electromagnetic space, and then provide the anomaly detection method. We experimentally demonstrate the effectiveness of the proposed method in electromagnetic environment situation prediction and anomaly detection accuracy.
7 September 2024 in Computers and Electrical Engineering