Blockchain Message Filtering for Consensus Efficiency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Blockchain consensus networks face efficiency issues due to accumulation of attack messages from peripheral nodes, leading to delayed processing of normal messages and potential network crashes.
Innovation Solution
A blockchain-based message processing method and apparatus that filters out invalid consensus messages by determining a message processing type and checking consensus parameters against validity conditions, adding valid messages to a processing set, and managing attack messages through a blacklist.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If the consensus network receives and processes all network messages from peripheral nodes, then the network can maintain high connectivity and responsiveness, but attack messages accumulate and cause processing efficiency to deteriorate
Solution Approach 1:
The patent applies preliminary action by validating consensus parameters before message processing. The system checks whether consensus parameters meet validity conditions in advance, and only processes messages that pass validation. This prevents attack messages from entering the processing queue, thereby maintaining processing efficiency while ensuring network security.
2Reliability
If the consensus network implements strict validation of consensus parameters, then the security against attack messages is improved, but the processing time for valid messages increases
Solution Approach 1:
The patent applies partial action by implementing validation only for consensus parameters that are necessary and sufficient to ensure security. The system validates specific critical parameters (such as node identity and message format) without performing exhaustive checks on all possible message attributes. This selective validation approach maintains security while minimizing processing time overhead.
3Productivity
If the consensus network filters out invalid messages aggressively, then the processing efficiency of valid messages is improved, but the risk of rejecting valid messages decreases
Solution Approach 1:
The patent applies feedback by implementing a validation mechanism that provides clear feedback on message validity. The system determines whether consensus parameters meet validity conditions and accordingly decides whether to process or filter out messages. This feedback loop ensures that only truly invalid messages are rejected while valid messages are processed, maintaining both efficiency and reliability through consistent validation criteria.
Data Source
AI summary
A computing device receives network message data. The computing device determines a message processing type corresponding to the network message data. In accordance with a determination that the message processing type is a consensus processing type, the computing device obtains a consensus parameter corresponding to the network message data. In accordance with a determination that the consensus parameter does not meet a consensus validity condition, the computing device classifies the network processing message data as an invalid consensus message; and filters out the network message data.


