Abstract
Plagiarism in software code and hardware design threatens the open-source movement and the software and hardware industries. It is essential to differentiate between the unethical act of plagiarism and the legitimate use of open-source resources. Existing copyright protection measures, such as license design, inadequately address copyright ownership and protection issues. Furthermore, they fail to detect plagiarism methods for opensource hardware projects, such as circuit location modification. To address these challenges, this paper proposes a blockchain-based copyright management scheme, which introduces a general originality detection model based on community detection, extracting adjustable granularity digests from code and design files. These digests are stored on a peer-to-peer blockchain, enabling nodes to verify the originality via smart contracts. Additionally, the scheme improves the storage structure, protecting the rights of authors and contributors. Experimental results demonstrate the effectiveness and runtime efficiency of the proposed model in extracting digests for blockchain storage while maintaining verification accuracy. The scheme offers enhanced generality, practical performance, and suitability for distributed development and maintenance, with considerable implications for evidence gathering, fostering innovation and integrity.