Consensus mechanism is the core of blockchain technology, and consensus algorithms are the specific technical means to achieve this mechanism. Consensus mechanism ensures consistency and correctness of blockchain database, and is crucial to system performance of the blockchain such as security, scalability and throughput. Therefore, firstly, from perspective of underlying storage of blockchain technology, consensus algorithms were divided into two categories: chain and graph, and working principles, optimization strategies and typical representative algorithms of different types of different categories of consensus algorithms were classified and reviewed. Then, in view of complex application background of blockchain, the mainstream improved algorithms of chain structure and graph structure consensus algorithms were sorted out respectively and comprehensively, and main line of consensus algorithm development was given, especially in terms of security, the algorithms were compared deeply, and advantages, disadvantages and possible security risks of them were pointed out. Finally, from multiple dimensions such as security, scalability, fairness and incentive strategy, challenges faced by the current blockchain consensus algorithms were discussed in depth, and their development trends were prospected, so as to provide theoretical reference for researchers.
Formal concept analysis is an important tool for knowledge representation and mining, and formal context is one of the basic concepts in formal concept analysis. A new attribute reduction — inner product reduction was proposed to solve the problem of whether the object set in the formal context has the same attribute in a given attribute set, and also to solve the problem of how to eliminate irrelevant attributes in the calculation. Firstly, the concept of inner product was given in formal context. Then, the reduction theory and method in relation system were used to define the inner product reduction, and the inner product reduction algorithm based on discernibility matrix was proposed to obtain all the reduction results in the formal context, and the reduction core was obtained through the intersection operation based on the results. In addition, when attributes increased, an incremental inner product reduction algorithm was designed. Finally, the application of inner product reduction was explored in infectious disease network. In the simulated case, 6 attributes were reduced to 2 attributes. Simulation outcomes demonstrate that the inner product reduction method is feasible, interpretable, and successful in achieving the knowledge reduction goal.
In Internet Protocol Television (IPTV) applications, a television terminal is usually shared by several family members. The exiting recommendation algorithms are difficult to analyze the different interests and preferences of family members from the historical data of terminal. In order to meet the video-on-demand requirements of multiple members under the same terminal, a capsule network-based IPTV video-on-demand recommendation model, namely CapIPTV, was proposed. Firstly, a user interest generation layer was designed on the basis of the capsule network routing mechanism, which took the historical behavior data of the terminal as the input, and the interest expressions of different family members were obtained through the clustering characteristic of the capsule network. Then, the attention mechanism was adopted to dynamically assign different attention weights to different interest expressions. Finally, the interest vector of different family members and the expression vector of video-on-demand were extracted, and the inner product of them was calculated to obtain the Top-N preference recommendation. Experimental results based on both the public dataset MovieLens and real radio and television dataset IPTV show that, the proposed CapIPTV outperforms the other 5 similar recommendation models in terms of Hit Rate (HR), Recall and Normalized Discounted Cumulative Gain (NDCG).