Intelligent contract automatic execution method and system for culture big data transaction platform, and medium
By building a smart contract and supervision system, the problems of complex transaction processes, high costs and insufficient security in cultural data transactions are solved, and efficient, safe management and circulation of cultural data transactions are achieved.
Patent Information
- Application Number
- CN202510887853.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-07-29
AI Technical Summary
Existing blockchain trading platforms are mostly concentrated in the financial field, and lack the customized contract structure for the asset characteristics of cultural data, resulting in problems such as complicated transaction processes, long cycles, high costs, easy disputes, and insufficient security and credibility in cultural data transactions.
Build a smart contract and supervision system, generate data hash values and rights confirmation certificates by obtaining characteristic information of cultural asset data, generate parameterized contracts and code translation, generate digital contracts and sign them, establish a data key and transaction funds custody agreement, detect the contract execution status, trigger the contract execution mechanism, and issue a warning in abnormal situations and terminate the contract for arbitration.
It realizes the confirmation, negotiation, execution and detection of cultural data transactions, supports cultural data transactions with complex copyright structures, guarantees the effectiveness and trust of transactions, reduces transaction costs and management costs, and promotes the circulation of cultural data assets.
Smart Images

Figure CN120387893A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of cultural big data transactions. Specifically, it relates to an intelligent contract automatic execution method, system, and medium for a cultural big data trading platform. Background Art
[0002] With the development of the systematic construction of national cultural big data, the trading demand for cultural data assets has been increasing day by day. Traditional trading methods have problems such as complex trading processes, long cycles, high costs, and easy disputes, and there are certain risks in data rights confirmation, trading negotiation, security, and credibility. The computer protocol based on blockchain technology with the help of intelligent contracts is an effective way to solve the safe trading of cultural assets. However, existing blockchain trading platforms mostly focus on the financial field, and currently, there is a lack of technology for customizing contract architectures for the asset characteristics of cultural data to execute contracts for cultural assets.
[0003] In view of the above problems, effective technical solutions are urgently needed. Summary of the Invention
[0004] The purpose of this application is to provide an intelligent contract automatic execution method, system, and medium for a cultural big data trading platform, which can realize the methods of confirmation, negotiation, execution, and detection of cultural data transactions by constructing intelligent contracts and a supervision system, support the trading of cultural data with complex copyright structures, and at the same time realize the auditable transaction traceability of the whole process, ensure the effectiveness and trust of cultural data asset transactions, and realize the full-chain closed-loop intelligent management of transactions.
[0005] This application also provides an intelligent contract automatic execution method for a cultural big data trading platform, including the following steps: Obtain the characteristic information of the cultural asset data of the cultural asset rights and interests user, and generate data biological information, data hash value, and a rights confirmation certificate structure body; Generate a corresponding parameterized contract according to the cultural asset trading request information, then perform contract code translation to obtain the contract code and generate a digital contract with an electronic signature; Generate a data key and a trading fund escrow agreement according to the digital contract, detect the execution status of the digital contract, and if it passes, trigger the contract execution mechanism to generate a cultural asset interaction response; Monitor and record the cultural asset interaction response in real time. If an abnormality occurs, issue a warning, terminate the contract, and mark it for sending to the chain, and activate a preset contract arbitration terminal for on-chain verification and adjudication.
[0006] Optionally, in the intelligent contract automatic execution method for the cultural big data trading platform described in this application, the step of obtaining the characteristic information of the cultural asset data of the cultural asset rights and interests user, and generating data biological information, data hash value, and a rights confirmation certificate structure body includes: Obtain the characteristic information of the cultural asset data of the users with cultural asset rights and interests, including cultural characteristic information and copyright information; The copyright information includes the creation time and the copyright content; Generate data biological information according to the cultural characteristic information and the copyright information; Calculate the data hash value according to the cultural characteristic information, the creation time and the copyright content through the hash algorithm; Generate a confirmation certificate structure according to the data hash value and the data biological information, including the certificate timestamp.
[0007] Optionally, in the method for automatically executing the smart contract of the cultural big data trading platform described in this application, the generating of the corresponding parameterized contract according to the cultural asset trading request information, and then performing contract code translation to obtain the contract code and generating a digital contract through electronic signature includes: Obtain a parameterized contract template library, including a pricing model, a delivery standard and a default module; Establish a cultural asset trading request between the cultural asset purchasing user and the cultural asset rights and interests user and extract the trading request information; Obtain the corresponding parameterized contract according to the trading request information through the parameterized contract template library, including pricing agreement information, delivery information and default information; Perform contract code translation on the parameterized contract through a preset contract code translation engine to obtain the contract code; Perform multi-party electronic signature on the contract code to generate a digital contract, and upload the electronic signature to the electronic signature verification end.
[0008] Optionally, in the method for automatically executing the smart contract of the cultural big data trading platform described in this application, the generating of the data key and the trading fund escrow agreement according to the digital contract, and detecting the execution status of the digital contract, if passed, triggering the contract execution mechanism to generate a cultural asset interaction response includes: Establish the cultural asset data access right according to the digital contract and generate the data key; Generate a trading fund escrow agreement according to the data key in combination with the pricing agreement information and deploy it; Detect the execution status of the digital contract; If the detection is passed, trigger the contract execution mechanism to generate a cultural asset interaction response, including an access link, data key transmission and transaction appropriation.
[0009] Optionally, in the method for automatically executing a smart contract of the cultural big data trading platform described in this application, the real-time monitoring and recording of the cultural asset interaction response, and if an abnormality occurs, issuing a warning, terminating the contract, marking and sending it to the chain, and activating a preset contract arbitration end for on-chain verification and adjudication, includes: Real-time monitoring and recording of the cultural asset interaction response according to a preset trusted prediction model of the evidence storage system; If an abnormal interaction is detected, issue a warning and terminate the contract execution; Abnormal interactions include link interruption, key matching failure, or data leakage; Mark the terminated contract and send it to the chain, and activate a preset contract arbitration end for on-chain; Perform on-chain verification on the marked contract according to the preset contract arbitration end, and make an adjudication response according to the verification result, including termination and refund, forced delivery, or compensation.
[0010] Optionally, in the method for automatically executing a smart contract of the cultural big data trading platform described in this application, the generation of a trading fund escrow agreement according to the data key and the pricing protocol information includes: Detect the trading fund escrow using a preset TEE trusted execution environment detection model; If the escrow execution is trusted, obtain the pricing protocol information corresponding to the digital contract; Generate a trading fund escrow agreement according to the pricing protocol information and the data key.
[0011] In a second aspect, this application provides a system for automatically executing a smart contract of a cultural big data trading platform. The system includes: a memory and a processor. The memory includes a program for the method for automatically executing a smart contract of the cultural big data trading platform. When the program for the method for automatically executing a smart contract of the cultural big data trading platform is executed by the processor, the following steps are implemented: Obtain the characteristic information of the cultural asset data of the cultural asset rights and interests user, and generate data biometric information, a data hash value, and a confirmation of rights certificate structure; Generate a corresponding parameterized contract according to the cultural asset trading request information, then perform contract code translation to obtain the contract code and generate a digital contract with an electronic signature; Generate a data key and a trading fund escrow agreement according to the digital contract, detect the execution status of the digital contract, and if it passes, trigger a contract execution mechanism to generate a cultural asset interaction response; Perform real-time monitoring and recording of the cultural asset interaction response. If an abnormality occurs, issue a warning, terminate the contract, mark and send it to the chain, and activate a preset contract arbitration end for on-chain verification and adjudication.
[0012] Optionally, in the smart contract automatic execution system of the cultural big data trading platform described in this application, obtaining the characteristic information of the cultural asset data of the cultural asset rights user, generating data biological information and data hash value, and the confirmation certificate structure body includes: Obtaining the characteristic information of the cultural asset data of the cultural asset rights user, including cultural characteristic information and copyright information; The copyright information includes the creation time and copyright content; Generating data biological information according to the cultural characteristic information and copyright information; Calculating the data hash value according to the cultural characteristic information, creation time and copyright content through the hash algorithm; Generating a confirmation certificate structure body according to the data hash value and data biological information, including the certificate timestamp.
[0013] Optionally, in the smart contract automatic execution system of the cultural big data trading platform described in this application, generating a corresponding parameterized contract according to the cultural asset trading request information, then performing contract code translation to obtain the contract code and generating a digital contract with an electronic signature, including: Obtaining a parameterized contract template library, including a pricing model, delivery standard and default module; Establishing a cultural asset trading request between the cultural asset purchasing user and the cultural asset rights user and extracting the trading request information; Obtaining a corresponding parameterized contract according to the trading request information through the parameterized contract template library, including pricing agreement information, delivery information and default information; Performing contract code translation on the parameterized contract through a preset contract code translation engine to obtain the contract code; Performing multi-party electronic signature on the contract code to generate a digital contract, and uploading the electronic signature to the electronic signature verification end.
[0014] In a third aspect, this application also provides a computer-readable storage medium, in which a program for the smart contract automatic execution method of the cultural big data trading platform is stored. When the program for the smart contract automatic execution method of the cultural big data trading platform is executed by a processor, the steps of the smart contract automatic execution method of the cultural big data trading platform described in any one of the above are implemented.
[0015] As can be seen from the above, the method, system and medium for automatically executing smart contracts of the cultural big data trading platform provided by this application generate the biometric information and data hash value of the data owner by obtaining the characteristic information of the cultural asset data, generate the structure body of the confirmation of rights certificate, generate a parameterized contract according to the cultural asset trading request information, translate the code to obtain the contract code and sign it to obtain a digital contract, generate the data key of the digital contract and the trading fund custody agreement, perform execution detection on the digital contract, if it passes, trigger the contract execution mechanism to generate an interactive response, supervise the response process, if an abnormality occurs, issue a warning and terminate, and arbitrate the contract; thus, by constructing a smart contract and a supervision system, a method for confirming rights, negotiating, executing and detecting cultural data transactions is realized, supporting cultural data transactions with complex copyright structures, and at the same time realizing a transaction traceability that can be supervised and audited throughout the process, ensuring the effectiveness and trust of cultural data asset transactions, and realizing the full-chain closed-loop intelligent management of transactions.
[0016] Other features and advantages of this application will be described in the subsequent specification, and, in part, will become apparent from the specification, or will be understood by implementing the embodiments of this application. The objectives and other advantages of this application can be achieved and obtained through the structures specifically pointed out in the written specification and the drawings. Brief Description of the Drawings
[0017] In order to more clearly illustrate the technical solutions of the embodiments of this application, the drawings required to be used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application, and therefore should not be regarded as a limitation of the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0018] Figure 1 It is a flowchart of the method for automatically executing smart contracts of the cultural big data trading platform provided by the embodiments of this application; Figure 2 It is a flowchart of generating data biometric information, data hash value and the structure body of the confirmation of rights certificate of the method for automatically executing smart contracts of the cultural big data trading platform provided by the embodiments of this application; Figure 3 It is a flowchart of generating a digital contract of the method for automatically executing smart contracts of the cultural big data trading platform provided by the embodiments of this application; Figure 4 It is a flowchart of generating an interactive response of cultural assets of the method for automatically executing smart contracts of the cultural big data trading platform provided by the embodiments of this application. Detailed Embodiments
[0019] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and illustrated herein can be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application claimed, but merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts belong to the scope of protection of the present application.
[0020] It should be noted that similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of the present application, the terms "first", "second", etc. are only used for descriptive distinction and cannot be understood as indicating or implying relative importance.
[0021] Please refer to Figure 1 , Figure 1 which is a flowchart of the method for automatically executing smart contracts of the cultural big data trading platform in some embodiments of the present application. The method for automatically executing smart contracts of the cultural big data trading platform is used in terminal devices such as computers and mobile phone terminals. The method for automatically executing smart contracts of the cultural big data trading platform includes the following steps: S11. Obtain the characteristic information of the cultural asset data of the cultural asset rights user, generate data biometric information, a data hash value, and a confirmation certificate structure; S12. Generate a corresponding parameterized contract according to the cultural asset transaction request information, then perform contract code translation to obtain the contract code and generate a digital contract with an electronic signature; S13. Generate a data key and a transaction fund custody agreement according to the digital contract, detect the execution status of the digital contract, and if it passes, trigger the contract execution mechanism to generate a cultural asset interaction response; S14. Monitor and record the cultural asset interaction response in real time. If an abnormality occurs, issue a warning, terminate the contract, mark it for sending to the blockchain, and activate a preset contract arbitration terminal for blockchain verification and adjudication.
[0022] Among them, by generating the structure body of the confirmation of rights certificate, digital contract, cultural asset interaction of contract execution, and anomaly detection and arbitration on the chain, the intelligent contract based on blockchain technology is used to realize the whole-chain closed-loop management process of confirmation of rights - protocol contract - execution - supervision for cultural data asset transactions, making the contract transactions of cultural data efficient and secure. At the same time, it also reduces the transaction cost and management cost, promotes the asset circulation of cultural data, and promotes the healthy development of the cultural big data industry.
[0023] Please refer to Figure 2 , Figure 2 is a flowchart of generating data biometric information, data hash value and the structure body of the confirmation of rights certificate for the automatic execution method of the intelligent contract of the cultural big data trading platform in some embodiments of the present application. According to the embodiments of the present invention, the method for obtaining the characteristic information of the cultural asset data of the cultural asset rights user and generating the data biometric information, data hash value, and the structure body of the confirmation of rights certificate includes: S21. Obtain the characteristic information of the cultural asset data of the cultural asset rights user, including cultural characteristic information and copyright information; S22. The copyright information includes the creation time and copyright content; S23. Generate data biometric information according to the cultural characteristic information and copyright information; S24. Calculate the data hash value through the hash algorithm according to the cultural characteristic information, creation time, and copyright content; S25. Generate the structure body of the confirmation of rights certificate according to the data hash value and data biometric information, including the certificate timestamp.
[0024] Among them, the cultural data rights user, that is, the owner of the cultural data asset, first confirms the rights of the data asset. Through the collected cultural characteristic information, including the content and category of the cultural data, and the copyright information, generate the data biometric information containing the biometric characteristics of the rights holder. For example, use the data fingerprint generator to integrate IPFS storage and multi-hash algorithm to obtain the biometric characteristics. At the same time, calculate the data hash value through the hash algorithm for the cultural characteristic information, creation time, and copyright content. Among them, according to the embodiments of the present invention, preprocess a certain cultural data to obtain the cultural characteristic information: a description of traditional historical culture, including the content of history, customs, and art; creation time: 2020 / 1 / 10 12:00:00; copyright content: the copyright owner 2018 cultural institution A reserves all rights; further select the hash algorithm, such as SHA-256 (the generated hash value length is 64 hexadecimal characters); then perform hash calculation on the preprocessed data according to the SHA-256 algorithm. Example code: Python import hashlib # Cultural characteristic information, creation time, copyright content cultural_info = "A description of traditional historical culture, including content on history, customs, and art" creation_time = "2020 / 1 / 10 12:00:00" copyright_info = "Copyright 2018 Cultural Institution A. All rights reserved." # Merge data data = f"Culture information: {cultural_info}\nCreation time: {creation_time}\nCopyright content: {copyright_info}" # Calculate SHA-256 hash value sha256 = hashlib.sha256() sha256.update(data.encode('utf-8')) hash_value = sha256.hexdigest() print("Hash value:", hash_value) After running the above code, the calculated hash value is output as follows: PlainText Hash value 5d41402abc4b2a76b9719d911017c592 Finally, the data hash value and data biometric information are recorded on the blockchain to generate a confirmation certificate structure, which includes the timestamp information of the certificate generated on the chain. Finally, a digital certificate of cultural data assets is generated to realize the on-chain and confirmation of data assets. The digital confirmation certificate structure can generate an NFT ownership certificate that conforms to the ERC-721 standard through a digital certificate minting tool.
[0025] Please refer to Figure 3 , Figure 3 which is the flowchart of generating a digital contract for the automatic execution method of the smart contract of the cultural big data trading platform in some embodiments of this application. According to the embodiments of the present invention, generating a corresponding parameterized contract according to the cultural asset trading request information, and then translating the contract code and generating a digital contract with an electronic signature includes: S31. Obtain a parameterized contract template library, including a pricing model, delivery standards, and a default module; S32. Establish a cultural asset trading request between the cultural asset purchasing user and the cultural asset rights and interests user and extract the trading request information; S33. Obtaining a corresponding parameterized contract from the parameterized contract template library according to the transaction request information, including pricing agreement information, delivery information, and default information; S34. Translate the parameterized contract into a contract code using a preset contract code translation engine to obtain a contract code. S35. The contract code is electronically signed by multiple parties to generate a digital contract, and the electronic signature is uploaded to the electronic signature verification terminal.
[0026] Among them, after the right confirmation, the buyer and seller of cultural data assets will negotiate and formulate a digital contract. First, a parameterized contract template library is obtained, including the pricing models, delivery standards and default modules corresponding to various modules. Then, the transaction request information of the buyer and seller is adapted to the template library to obtain the corresponding parameterized contract, which includes pricing agreement, delivery and default information. The transaction request information contains relevant information of cultural data assets, including data hash value, metadata, etc., as well as the identity, transaction time, transaction amount and other information of the two parties. These transaction request information will be uploaded and stored in the distributed ledger of the blockchain. The parameterized contract is then transferred through a preset contract code translation engine such as the legal terms coding converter Truffle Suite to obtain the contract code, and then the contract code is electronically signed by multiple parties to generate a digital contract, thereby realizing the means of helping buyers and sellers to write smart contracts in a standardized manner through templates and tools.
[0027] Please refer to Figure 4 , Figure 4 This is a flow chart of a method for automatically executing a smart contract on a cultural big data trading platform in some embodiments of the present application, for generating a cultural asset interaction response. According to embodiments of the present invention, generating a data key and a transaction fund escrow agreement based on the digital contract, detecting the execution status of the digital contract, and triggering a contract execution mechanism if successful, to generate a cultural asset interaction response, includes: S41. Establishing access rights to cultural asset data according to the digital contract and generating a data key; S42. Generate a transaction funds escrow agreement based on the data key and the pricing agreement information, and deploy the agreement. S43. Detecting the execution status of the digital contract; S44. If the detection passes and triggers the contract execution mechanism, a cultural asset interaction response is generated, including access links, data key transmission, and transaction allocation.
[0028] Among them, a joint account of the two trading parties is established through a digital contract, and the public keys of the participants are accumulated by signature to generate a data key. Then, according to the data key and the pricing protocol, a cross-chain atomic swap protocol for transaction fund escrow is obtained by means of a hash time-locked contract. After the smart contract is deployed on the blockchain, the execution status of the contract is detected. If it is detected that the payment and signature are completed, the execution mechanism of the smart contract is triggered to generate an interaction response. That is, when the execution condition is met and a response is obtained, the access rights to the cultural data assets, including data download links, decryption keys, etc., are sent to the buyer, and at the same time, the transaction amount is transferred to the seller's account, thus completing the transaction.
[0029] According to an embodiment of the present invention, the real-time monitoring and recording of the cultural asset interaction response is performed. If an abnormality occurs, a warning is issued, the contract is terminated, and it is marked and sent to the chain, and a preset contract arbitration end is activated for on-chain verification and adjudication, including: Performing real-time monitoring and recording of the cultural asset interaction response according to a preset trusted prediction model of the evidence storage system; If an abnormal interaction is detected, a warning is issued and the contract execution is terminated; The abnormal interaction includes link interruption, key matching failure or data leakage; Marking the terminated contract and sending it to the chain, and activating a preset contract arbitration end for on-chain; Performing on-chain verification on the marked contract according to the preset contract arbitration end, and making an adjudication response according to the verification result, including termination and refund, forced delivery or compensation.
[0030] Among them, through the preset trusted prediction model of the evidence storage system, through event log supervision, transaction status identification, data verification aggregation and abnormal warning, the status during the transaction process after the response is monitored in real time to ensure the legality and compliance of the transaction. If an abnormality is found, the execution is terminated with a warning, the terminated contract is marked and sent to the chain, and a preset contract arbitration end is activated for on-chain arbitration. The arbitration end starts a dispute handling process according to the dispute resolution clause. The arbitration end can operate through an arbitration result parser that supports the Kleros decentralized arbitration protocol. When starting the response of termination and refund, forced delivery, etc., automatic refund support, data destruction and other operations can be performed through an enforcement trigger.
[0031] According to an embodiment of the present invention, the generation of the transaction fund escrow protocol according to the data key and the pricing protocol information includes: Using a preset TEE trusted execution environment detection model to detect the transaction fund escrow; If the escrow execution is trusted, obtain the pricing protocol information corresponding to the digital contract; Generating a transaction fund escrow protocol according to the pricing protocol information and the data key.
[0032] Among them, to ensure the low risk of generating a transaction escrow agreement, first, a preset TEE trusted execution environment detection model is used to detect the transaction fund escrow execution link. When it is ensured that it can be executed, the cross-chain atomic swap protocol for transaction fund escrow is obtained according to the pricing agreement and the method of locking the contract according to the hash time with the data key.
[0033] It is worth mentioning that the execution status of the digital contract is detected. If the detection passes, the contract execution mechanism is triggered, including: The payment status of the cultural asset purchase user is detected and confirmed according to the blockchain, and the payment amount is extracted; If the payment amount is greater than or equal to the pricing in the pricing agreement information, the electronic signatures of the cultural asset right user and the cultural asset purchase user are extracted; The electronic signature is authenticated for signature matching degree through an electronic signature verification end; If the signature matching degree meets the preset threshold requirements, the digital contract transaction execution passes, and the contract execution mechanism is activated.
[0034] Among them, the electronic signature verification end can use a multi-layer hash structure verification for signature matching degree authentication, including a triple verification method of content hash SHA3-256, metadata hash Keccak-256, and ownership relationship hash Blake2b. According to this embodiment, if the signature matching degree ≥ 99%, the verification passes and the transaction can be executed.
[0035] In a second aspect, the present invention also discloses an intelligent contract automatic execution system for a cultural big data trading platform, including a memory and a processor. The memory includes an intelligent contract automatic execution method program for the cultural big data trading platform. When the intelligent contract automatic execution method program for the cultural big data trading platform is executed by the processor, the following steps are implemented: Obtain the characteristic information of the cultural asset data of the cultural asset right user, and generate data biometric information, data hash value, and a confirmation certificate structure; Generate a corresponding parameterized contract according to the cultural asset transaction request information, then perform contract code translation to obtain the contract code and generate a digital contract through electronic signature; Generate a data key and a transaction fund escrow agreement according to the digital contract, detect the execution status of the digital contract, and if it passes, trigger the contract execution mechanism to generate a cultural asset interaction response; Monitor and record the cultural asset interaction response in real time. If an abnormality occurs, an early warning is issued, the contract is terminated, and it is marked and sent to the chain, and a preset contract arbitration end is activated for on-chain verification and adjudication.
[0036] Among them, by generating a confirmation of rights certificate structure, a digital contract, cultural asset interaction during contract execution, and anomaly detection and arbitration on the chain, the intelligent contract based on blockchain technology is used to realize the full-chain closed-loop management process of confirmation of rights - protocol contract - execution - supervision for cultural data asset transactions, making the contract transactions of cultural data efficient and secure. At the same time, it also reduces transaction costs and management costs, promotes the asset circulation of cultural data, and promotes the healthy development of the cultural big data industry.
[0037] According to an embodiment of the present invention, obtaining the characteristic information of the cultural asset data of the cultural asset rights user, generating data biometric information and a data hash value, and a confirmation of rights certificate structure includes: Obtaining the characteristic information of the cultural asset data of the cultural asset rights user, including cultural characteristic information and copyright information; The copyright information includes the creation time and the copyright content; Generating data biometric information according to the cultural characteristic information and the copyright information; Calculating the data hash value according to the cultural characteristic information, the creation time and the copyright content through a hashing algorithm; Generating a confirmation of rights certificate structure according to the data hash value and the data biometric information, including a certificate timestamp.
[0038] Among them, the cultural data rights user, that is, the owner of the cultural data asset, first confirms the rights of the data asset. Through the collected cultural characteristic information, including the content and category of the cultural data, and the copyright information, data biometric information containing the biometric characteristics of the rights holder is generated. For example, a data fingerprint generator is used to integrate IPFS storage and multi-hashing algorithms to obtain biometric characteristics. At the same time, the cultural characteristic information, the creation time and the copyright content are calculated through a hashing algorithm to obtain a data hash value. Among them, according to an embodiment of the present invention, the cultural characteristic information obtained by preprocessing a certain cultural data is: a description of traditional historical culture, including historical, customs and artistic content; creation time: 2020 / 1 / 10 12:00:00; copyright content: The copyright owner 2018 Cultural Institution A reserves all rights; further select a hashing algorithm, such as SHA-256 (the length of the generated hash value is 64 hexadecimal characters); then perform hash calculation on the preprocessed data according to the SHA-256 algorithm, example code: Python import hashlib # Cultural characteristic information, creation time, copyright content cultural_info = "A description of traditional historical culture, including historical, customs and artistic content" creation_time = "2020 / 1 / 10 12:00:00" copyright_info = "All rights reserved by Cultural Institution A, the copyright owner in 2018" # Merge data data = f"Culture information: {cultural_info}\nCreation time: {creation_time}\nCopyright content: {copyright_info}" # Calculate SHA-256 hash value sha256 = hashlib.sha256() sha256.update(data.encode('utf-8')) hash_value = sha256.hexdigest() print("Hash value:", hash_value) After running the above code, the calculated hash value is output as follows: PlainText Hash value 5d41402abc4b2a76b9719d911017c592 Finally, the data hash value and data biological information are recorded on the blockchain to generate a confirmation certificate structure, which includes the timestamp information of generating the certificate on the chain. Finally, a digital certificate of cultural data assets is generated to realize the on-chain and confirmation of data assets. The digital confirmation certificate structure can generate an NFT ownership certificate that conforms to the ERC-721 standard through a digital certificate forger.
[0039] According to the embodiments of the present invention, generating a corresponding parameterized contract according to the cultural asset trading request information, and then performing contract code translation to obtain contract code and generating a digital contract by electronic signature, includes: Obtain a parameterized contract template library, including a pricing model, delivery standards, and a default module; Establish a cultural asset trading request between a cultural asset purchasing user and a cultural asset rights and interests user and extract the trading request information; Obtain a corresponding parameterized contract according to the trading request information through the parameterized contract template library, including pricing agreement information, delivery information, and default information; Perform contract code translation on the parameterized contract through a preset contract code translation engine to obtain contract code; Perform multi-party electronic signature on the contract code to generate a digital contract, and upload the electronic signature to an electronic signature verification end.
[0040] Among them, after the right confirmation, the buyer and seller of cultural data assets will negotiate and formulate a digital contract. First, a parameterized contract template library is obtained, including the pricing models, delivery standards and default modules corresponding to various modules. Then, the transaction request information of the buyer and seller is adapted to the template library to obtain the corresponding parameterized contract, which includes pricing agreement, delivery and default information. The transaction request information contains relevant information of cultural data assets, including data hash value, metadata, etc., as well as the identity, transaction time, transaction amount and other information of the two parties. These transaction request information will be uploaded and stored in the distributed ledger of the blockchain. The parameterized contract is then transferred through a preset contract code translation engine such as the legal terms coding converter Truffle Suite to obtain the contract code, and then the contract code is electronically signed by multiple parties to generate a digital contract, thereby realizing the means of helping buyers and sellers to write smart contracts in a standardized manner through templates and tools.
[0041] According to an embodiment of the present invention, the data key and transaction fund escrow agreement are generated according to the digital contract, the execution status of the digital contract is detected, and if it passes, the contract execution mechanism is triggered to generate a cultural asset interaction response, including: Establishing access rights to cultural asset data based on the digital contract and generating a data key; Generate a transaction funds escrow agreement based on the data key and the pricing agreement information, and deploy it; Detecting the execution status of the digital contract; If the detection passes, the contract execution mechanism is triggered, generating a cultural asset interaction response, including access links, data key transmission and transaction allocation.
[0042] Among them, a joint account of the two parties to the transaction is established through a digital contract, and the public keys of the participants are accumulated through signatures to generate a data key. Then, based on the data key and the pricing agreement, a cross-chain atomic exchange protocol for transaction funds custody is obtained according to the hash time lock contract method. After the smart contract is deployed on the blockchain, the execution status of the contract is tested. If it is detected that the payment and signature are completed, the execution mechanism of the smart contract is triggered and an interactive response is generated. That is, when the execution conditions are met and a response is obtained, the access rights to the cultural data assets, including data download links, decryption keys, etc., are sent to the buyer, and the transaction amount is transferred to the seller's account to complete the transaction.
[0043] According to an embodiment of the present invention, the interactive response to the cultural assets is monitored and recorded in real time. If an anomaly occurs, an early warning is issued, the contract is terminated, and a mark is sent to the chain, and a preset contract arbitration terminal is activated for chain verification and arbitration, including: Real-time monitoring and recording of the interactive responses to the cultural assets according to the preset trusted prediction model of the evidence storage system; If abnormal interaction is detected during monitoring, a warning is issued and the execution of the contract is terminated. Abnormal interactions include link interruption, key matching failure, or data leakage. Mark the terminated contract and send it to the blockchain, and activate the preset contract arbitration terminal to go on the chain. Conduct on-chain verification of the marked contract according to the preset contract arbitration terminal, and make a ruling response according to the verification result, including termination and refund, forced delivery, or compensation.
[0044] Among them, through the preset trusted oracle model of the evidence storage system, real-time monitoring of the status during the transaction process after the response is carried out through event log supervision, transaction status identification, data verification aggregation, and abnormal warning to ensure the legality and compliance of the transaction. If an abnormality is found, the execution is terminated with a warning, the terminated contract is marked and sent to the blockchain, and the preset contract arbitration terminal is activated for on-chain arbitration. The arbitration terminal starts the dispute handling process according to the dispute resolution clause. The arbitration terminal can operate through the arbitration result parser that supports the Kleros decentralized arbitration protocol. When starting the response of termination and refund or forced delivery, operations such as automatic refund support and data destruction can be carried out through the enforcement trigger.
[0045] According to an embodiment of the present invention, the generation of the transaction fund escrow protocol based on the data key and the pricing protocol information includes: Use a preset TEE trusted execution environment detection model to detect the transaction fund escrow. If the escrow execution is trusted, obtain the pricing protocol information corresponding to the digital contract. Generate a transaction fund escrow protocol based on the pricing protocol information and the data key.
[0046] Among them, to ensure the low risk of generating the transaction escrow protocol, first use a preset TEE trusted execution environment detection model to detect the transaction fund escrow execution link. When it is ensured that it can be executed, the cross-chain atomic swap protocol of the transaction fund escrow is obtained according to the pricing protocol and the data key by the method of the hash time-locked contract.
[0047] It is worth mentioning that the detection of the execution status of the digital contract, if the detection is passed, triggers the contract execution mechanism, including: Detect and confirm the payment status of the cultural asset purchase user according to the blockchain and extract the payment amount. If the payment amount is greater than or equal to the pricing of the pricing protocol information, extract the electronic signatures of the cultural asset equity user and the cultural asset purchase user. Verify the signature matching degree of the electronic signature through the electronic signature verification terminal. If the signature matching degree meets the preset threshold requirement, the digital contract transaction execution passes and the contract execution mechanism is activated.
[0048] Among them, the electronic signature verification end can use a multi-layer hash structure verification for signature matching degree authentication, including a triple verification method of content hash SHA3-256, metadata hash Keccak-256, and ownership relationship hash Blake2b. According to this embodiment, if the signature matching degree ≥ 99%, the verification is passed and the transaction can be executed.
[0049] The third aspect of the present invention provides a readable storage medium, in which a program for the automatic execution method of the smart contract of the cultural big data trading platform is stored. When the program for the automatic execution method of the smart contract of the cultural big data trading platform is executed by a processor, the steps of the automatic execution method of the smart contract of the cultural big data trading platform as described in any one of the above are realized.
[0050] The automatic execution method, system and medium of the smart contract of the cultural big data trading platform disclosed by the present invention generate the biometric information and data hash value of the data owner by obtaining the characteristic information of the cultural asset data, generate a confirmation certificate structure body, generate a parameterized contract according to the cultural asset transaction request information, obtain the contract code through code translation, sign to obtain a digital contract, generate the data key of the digital contract and a transaction fund escrow agreement, perform execution detection on the digital contract, if passed, trigger a contract execution mechanism to generate an interaction response, supervise the response process, if an abnormality occurs, issue a warning and terminate, and arbitrate the contract; thereby, by constructing a smart contract and a supervision system, a method for the confirmation, negotiation, execution and detection of cultural data transactions is realized, the cultural data transactions with complex copyright structures are supported, and at the same time, the full-process auditable transaction traceability is realized, the effectiveness and trust of the cultural data asset transactions are guaranteed, and the full-chain closed-loop intelligent management of the transactions is realized.
[0051] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed with each other can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical, or other forms.
[0052] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units; they can be located in one place or distributed to multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0053] In addition, each functional unit in the embodiments of the present invention may all be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.
[0054] Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a readable storage medium. When the program is executed, it performs the steps including those of the above method embodiments; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs and other various media that can store program codes.
[0055] Alternatively, if the above-mentioned integrated units of the present invention are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the various embodiments of the present invention. And the foregoing storage medium includes: removable storage devices, ROM, RAM, magnetic disks, or optical discs and other various media that can store program codes.
Claims
1. An automatic execution method of smart contracts for a cultural big data trading platform, characterized in that Including the following steps: Obtain the characteristic information of the cultural asset data of the cultural asset rights user, generate data biometric information, data hash value, and the structure body of the confirmation of rights certificate; Generate a corresponding parameterized contract according to the cultural asset transaction request information, then perform contract code translation to obtain the contract code and generate a digital contract through electronic signature; Generate a data key and a transaction fund escrow agreement according to the digital contract, detect the execution status of the digital contract, and if it passes, trigger the contract execution mechanism to generate a cultural asset interaction response; Monitor and record the cultural asset interaction response in real time. If an abnormality occurs, issue a warning, terminate the contract, mark and send it to the chain, and activate the preset contract arbitration terminal for on-chain verification and adjudication.
2. The automatic execution method of the smart contract of the cultural big data trading platform according to claim 1, characterized in that, The obtaining the characteristic information of the cultural asset data of the cultural asset rights user, generating data biometric information, data hash value, and the structure body of the confirmation of rights certificate includes: Obtain the characteristic information of the cultural asset data of the cultural asset rights user, including cultural characteristic information and copyright information; The copyright information includes the creation time and the copyright content; Generate data biometric information according to the cultural characteristic information and the copyright information; Calculate the data hash value according to the cultural characteristic information, the creation time, and the copyright content through the hash algorithm; Generate the structure body of the confirmation of rights certificate according to the data hash value and the data biometric information, including the certificate timestamp.
3. The automatic execution method of the smart contract of the cultural big data trading platform according to claim 2, characterized in that, The generating a corresponding parameterized contract according to the cultural asset transaction request information, then performing contract code translation to obtain the contract code and generating a digital contract through electronic signature includes: Obtain the parameterized contract template library, including the pricing model, delivery standard, and default module; Establish a cultural asset transaction request between the cultural asset purchase user and the cultural asset rights user and extract the transaction request information; Obtain the corresponding parameterized contract according to the transaction request information through the parameterized contract template library, including pricing agreement information, delivery information, and default information; Perform contract code translation on the parameterized contract through a preset contract code translation engine to obtain the contract code; Generate a digital contract through multi-party electronic signature of the contract code and upload the electronic signature to the electronic signature verification terminal.
4. The automatic execution method of the smart contract of the cultural big data trading platform according to claim 3, wherein, The generating a data key and a transaction fund escrow agreement according to the digital contract, detecting the execution status of the digital contract, and if it passes, triggering the contract execution mechanism to generate a cultural asset interaction response includes: Establish the cultural asset data access right according to the digital contract and generate a data key; Generate a transaction fund escrow agreement according to the data key combined with the pricing agreement information and deploy it; Detect the execution status of the digital contract; If the detection passes, trigger the contract execution mechanism to generate a cultural asset interaction response, including access link, data key transmission, and transaction transfer.
5. The automatic execution method of the smart contract of the cultural big data trading platform according to claim 4, wherein, The monitoring and recording the cultural asset interaction response in real time. If an abnormality occurs, issuing a warning, terminating the contract, marking and sending it to the chain, and activating the preset contract arbitration terminal for on-chain verification and adjudication includes: Monitor and record the cultural asset interaction response in real time according to the preset trusted prediction model of the evidence storage system; If abnormal interaction is detected during monitoring, a warning is issued and the execution of the contract is terminated; Abnormal interactions include link interruption, key matching failure, or data leakage; Mark the terminated contract and send it to the blockchain, and activate the preset contract arbitration end for blockchain uploading; Conduct blockchain verification on the marked contract according to the preset contract arbitration end, and make a ruling response based on the verification result, including termination and refund, forced delivery, or compensation.
6. The automatic execution method of the smart contract of the cultural big data trading platform according to claim 4, characterized in that The generation of the transaction fund escrow agreement based on the data key and the pricing protocol information includes: Using a preset TEE trusted execution environment detection model to detect the transaction fund escrow; If the escrow execution is trusted, obtain the pricing protocol information corresponding to the digital contract; Generate a transaction fund escrow agreement based on the pricing protocol information and the data key.
7. The intelligent contract automatic execution system of the cultural big data trading platform, characterized in that, The system includes: a memory and a processor. The memory includes a program for the intelligent contract automatic execution method of the cultural big data trading platform. When the program for the intelligent contract automatic execution method of the cultural big data trading platform is executed by the processor, the following steps are implemented: Obtain the characteristic information of the cultural asset data of the cultural asset rights and interests user, and generate data biometric information, data hash value, and a rights confirmation certificate structure; Generate a corresponding parameterized contract according to the cultural asset trading request information, then perform contract code translation to obtain the contract code and generate a digital contract through electronic signature; Generate a data key and a transaction fund escrow agreement based on the digital contract, detect the execution status of the digital contract, and if it passes, trigger the contract execution mechanism to generate a cultural asset interaction response; Monitor and record the cultural asset interaction response in real time. If an abnormality occurs, a warning is issued, the contract is terminated, marked, and sent to the blockchain, and the preset contract arbitration end is activated for blockchain verification and ruling.
8. The intelligent contract automatic execution system of the cultural big data trading platform according to claim 7, characterized in that, The obtaining of the characteristic information of the cultural asset data of the cultural asset rights and interests user, and the generation of data biometric information, data hash value, and a rights confirmation certificate structure include: Obtain the characteristic information of the cultural asset data of the cultural asset rights and interests user, including cultural characteristic information and copyright information; The copyright information includes the creation time and the copyright content; Generate data biometric information based on the cultural characteristic information and the copyright information; Calculate the data hash value through a hash algorithm based on the cultural characteristic information, creation time, and copyright content; Generate a rights confirmation certificate structure based on the data hash value and the data biometric information, including a certificate timestamp.
9. The intelligent contract automatic execution system of the cultural big data trading platform according to claim 8, characterized in that, The generation of a corresponding parameterized contract according to the cultural asset trading request information, then performing contract code translation to obtain the contract code and generating a digital contract through electronic signature includes: Obtain a parameterized contract template library, including a pricing model, delivery standards, and a default module; Establish a cultural asset transaction request between the cultural asset purchase user and the cultural asset rights and interests user and extract the transaction request information; Obtain a corresponding parameterized contract according to the transaction request information through the parameterized contract template library, including pricing protocol information, delivery information, and default information; Perform contract code translation on the parameterized contract through a preset contract code translation engine to obtain the contract code; Generate a digital contract by performing multi-party electronic signature on the contract code, and upload the electronic signature to the electronic signature verification end.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a program for the automatic execution method of the smart contract of the cultural big data trading platform. When the program for the automatic execution method of the smart contract of the cultural big data trading platform is executed by a processor, the steps of the automatic execution method of the smart contract of the cultural big data trading platform according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Automatic contract deployment method and system
CN112967011A
Financial transaction supervision model, system and equipment based on intelligent contract data lake
CN113011973A
Digital asset generation method based on block chain
CN119205123A
Asset supervision method, system and device and storage medium
CN119722322A
Systems and methods for generating smart contracts to manage escrow transactions
US20200402031A1