This invention provides a
blockchain-based method and
system for
software copyright trading and protection, specifically relating to the field of
blockchain application technology. The
system allows
software vendors to submit different versions of
software information and stores this information in the
distributed file system IPFS. By indexing the hash values of this information in the
blockchain, the immutable storage of copyright information is achieved. Furthermore, the
system uses an
abstract syntax tree to extract the
syntactic structure of the software code, further enhancing copyright protection. The
digital signature generated from the copyright information is recorded along with the copyright information in the blockchain node, ensuring the
traceability of the copyright information. When a copyright transaction occurs, the system generates a
digital signature containing the copyright information and writes it along with the transaction information into the blockchain node, recording every copyright transaction and achieving transparent
traceability of copyright history. In addition, the system also provides a method for comparing suspected software plagiarism, allowing software authors to upload suspected infringing software and identify and warn of potential plagiarism by comparing the
abstract syntax tree structure stored on the blockchain. The method and system of this invention not only improve the efficiency and security of software copyright protection but also provide a reliable and transparent platform for software copyright trading, helping to promote the rational circulation and utilization of copyright.