The invention provides a
software copyright transaction and protection method and
system based on a block chain, and particularly relates to the technical field of block chain application. The
system allows a
software supplier to submit
software information of different versions, the information is stored in a
distributed file system IPFS, and non-tampering storage of copyright information is achieved by indexing hash values of the information in a block chain; in addition, the
system adopts an
abstract syntax tree to extract a grammar structure of software codes, and copyright protection is further enhanced; the
digital signature generated by the copyright information and the copyright information are recorded in a block chain node together, so that the
traceability of the copyright information is ensured; when a copyright transaction is generated, the system generates a
digital signature containing copyright information, writes the
digital signature and transaction information into a block chain node, records each transaction of the copyright, and realizes transparent tracing of the copyright history; in addition, the system further provides a comparison method for suspected software plagiarism, a software author is allowed to upload suspected infringement software, and potential plagiarism behaviors are recognized and warned by comparing
abstract syntax tree structures stored on the block chain. According to the method and the system, the efficiency and the safety of software copyright protection are improved, a reliable and transparent platform is provided for software copyright transaction, and reasonable circulation and utilization of the copyright are facilitated.