IP core digital object controllable property trading system
Through blockchain and smart contract technology, a controllable property rights trading system for IP core digital objects is built, which solves the complexity and security challenges of IP core in property rights privacy and transactions, and achieves a high security and transparent property rights trading process. , ensuring the protection of property rights and transparency of transactions.
Patent Information
- Application Number
- CN202410700610.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-11-01
AI Technical Summary
IP cores have complexity and security challenges in property privacy, collaborative design and transactions, especially due to their single point of failure problems caused by their replicability and centralized data management, and the existing technology is difficult to effectively protect property rights and prevent plagiarism.
Adopt a distributed system based on blockchain, combining smart contracts and encryption algorithms to build an IP core digital object controllable property rights trading system, including a release and management subsystem, a controllable property rights storage subsystem, and a trusted transaction identity blockchain subsystem and interactively validate and design subsystems to ensure transparency and security of transactions by generating and verifying digital contracts.
It realizes the secure and controllable property rights transaction process for IP core digital objects, provides high security and high performance property rights protection, reduces the risk of cheating, ensures the transparency and traceability of transactions, and solves the problems of property rights privacy and plagiarism.
Smart Images

Figure CN118886977A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of software engineering, and in particular to an IP core digital object controllable property rights trading system. Background Art
[0002] As more and more IP cores are digitized, it is particularly necessary to establish an intellectual property protection mechanism in the digital age. IP cores face many challenges in terms of property privacy, collaborative design, and transactions. First, IP cores rely on a complex environment and EDA software, which increases the complexity of the transaction process; second, digital circuit design is reproducible, which facilitates IP core plagiarism and cannot guarantee property privacy; in addition, centralized data management of IP cores is prone to single point failures and other problems.
[0003] The distributed system of the blockchain-based network is maintained and supervised in a decentralized manner rather than being centralized on a certain node. The system also includes a check and balance mechanism to minimize the risk of node cheating. Review and supervision are also automatically performed by the corresponding algorithms in the network, so every element in the system is completely transparent. These features help to decentralize and minimize cheating, and are therefore suitable for integrated circuit protection and IP core property rights transactions.
[0004] The AES encryption algorithm is an advanced encryption standard in cryptography. AES is a block encryption method that divides plaintext into groups of equal length, encrypting one group of data at a time until the entire plaintext is encrypted. AES is fast on multiple platforms, compactly encoded, and resistant to all known attacks, so it is suitable for encrypting IP core property rights and transaction data. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides a controllable property rights trading system for IP core digital objects, characterized in that the trading system includes a publishing and management subsystem, a controllable property rights storage subsystem, a trusted transaction identity blockchain subsystem, and an interactive verification and design subsystem; the trusted transaction identity blockchain subsystem includes generating an IP core transaction digital contract, and the generation process includes the following steps:
[0006] Step S1: The trusted transaction identity blockchain subsystem receives the digital contract registration HTTP request from the publishing and management subsystem, and filters the digital object designer username, user username, IP core usage period, and IP core digital object storage path information in the HTTP request; the trusted transaction identity blockchain subsystem obtains the current timestamp and merges it with the filtered information to obtain a digital object usage pass;
[0007] Step S2: The trusted transaction identity blockchain subsystem triggers the execution of the smart contract. The smart contract first verifies the validity of the digital object usage pass. If the verification fails, the digital contract registration HTTP request is rejected. If the verification passes, the smart contract uses the SHA256 algorithm to generate a digital contract summary for it. The smart contract authorizes the use of the RSA public key to perform encryption operations on the digital contract summary, thereby generating a reversible ciphertext of the digital contract.
[0008] Step S3: The smart contract publishes the digital contract reversible ciphertext in the blockchain network. The miner nodes in the blockchain decentralized network vote on the validity of the digital contract reversible ciphertext through the RAFT consensus algorithm. If the digital contract reversible ciphertext is supported to be valid, a new block is generated and written into the blockchain account book; otherwise, the digital contract registration HTTP request is rejected;
[0009] Step S4: The trusted transaction identity blockchain subsystem uses the MD5 algorithm to calculate the reversible key of the digital contract and generate a digital fingerprint of the contract; the controllable property rights storage subsystem associates the digital fingerprint of the contract with the copy of the contract ciphertext and writes it into the transaction contract registry. Step S5: The trusted transaction identity blockchain subsystem responds to the digital fingerprint of the contract to the user end, notifying the user that the contract generation is complete;
[0010] The interactive verification and design subsystem is used to verify the digital contract of IP core transactions, and provides a safe and controllable environment for building IP cores for the publishing and management subsystem, controllable property rights storage subsystem, and trusted transaction identity blockchain subsystem.
[0011] It also has the function of automatically pulling IP core digital object data and supports interactive functional verification of IP cores. In addition, it also supports the export of IP core design results.
[0012] That is, it includes reviewing the identity of the user, selecting the interaction method, obtaining digital object data, interactive verification, designing the workspace and outputting the design results.
[0013] In one embodiment of the present invention, the controllable property rights storage subsystem stores the copyright identifier and encrypted IP core property rights data of at least one IP core project, and the property rights data of each IP core project is encrypted by a randomly generated AES key uniquely corresponding to the project; the controllable property rights storage subsystem includes a publishing and management repository, a digital object data repository, and a transaction contract registration repository.
[0014] The controllable property rights storage subsystem is used to store IP core data and metadata, and IP core transaction digital contracts in the controllable property rights transaction system of IP core digital objects, provide read and write permissions and maintenance functions for different users, and support high-security and high-performance persistence of IP core digital objects.
[0015] In one embodiment of the present invention, the publishing and management subsystem is used for entering IP core metadata information and uploading IP core file data segments, maintaining metadata and data, publishing digital objects, retrieving digital objects, applying for IP core transactions, and obtaining designer consent and triggering digital contract registration; the digital contract registration HTTP request data includes the digital object designer username, user username, IP core usage period, IP core digital object storage path, and IP core usage environment information.
[0016] In one embodiment of the present invention, the trusted transaction identity blockchain subsystem is used to register contract information, generate IP core transaction digital contracts and put contracts on the chain to ensure that the transaction digital contracts have traceability characteristics.
[0017] In one embodiment of the present invention, the interactive verification and design subsystem verifies the IP core transaction digital contract without decrypting the digital contract ciphertext, and the verification process includes:
[0018] The user initiates an HTTP request for IP core transaction digital contract verification; the interactive verification and design subsystem queries the contract ciphertext copy in the transaction contract registry based on the contract digital fingerprint; the contract ciphertext copy is a copy stored off-chain and is recorded as an untrusted contract ciphertext copy;
[0019] The trusted transaction identity blockchain subsystem authorizes the acquisition of the RSA private key and triggers the smart contract to execute the decryption process, that is, using the RSA private key to decrypt the untrusted contract ciphertext copy to obtain a digital contract summary, which is recorded as the untrusted digital contract summary;
[0020] Smart contracts publish untrusted digital contract summaries in the blockchain decentralized network;
[0021] After receiving the untrusted digital contract summary, each miner node in the network will first query the digital contract summary in the local blockchain ledger and compare the query result with the untrusted digital contract summary; the miner node will vote according to the comparison result to determine the validity of the untrusted digital contract summary; if the untrusted digital contract summary is supported to be valid, the digital contract verification is passed; otherwise, the digital contract registration HTTP request is rejected.
[0022] In one embodiment of the present invention, the interactive verification and design subsystem constructs a safe and controllable use environment for the IP core, and the construction process includes:
[0023] The user selects an interaction method, such as Docker or remote desktop. After the selection is completed, the interactive verification and design subsystem starts a coroutine to pull IP core data.
[0024] The object repository in the controllable property storage subsystem slices the IP core file data into ciphertexts and pushes the byte slices to the virtual machine in sequence; the virtual machine IP core designer provides, and the virtual machine is installed with the IP core use environment, EDA design tools, etc.; at this time, the IP core user operates without permission to export the IP core data;
[0025] The user initiates an IP core file activation request in the virtual machine. The request includes the MAC address of the virtual machine and the operating system user name. After receiving the request, the controllable property storage subsystem verifies the MAC address and the operating system user name. If the verification fails, the activation request is rejected. Otherwise, the AES key is sent to the virtual machine.
[0026] The virtual machine is authorized to use the AES key to perform decryption operations on the ciphertext of the IP core file data to obtain the object plaintext data; the virtual machine starts the IP core environment, starts the IP core running program, and provides the IP core service interaction interface to the user.
[0027] The above technical solution of the present invention has the following advantages over the prior art: the IP core digital object controllable property rights trading system described in the present invention provides a safe and controllable solution for uploading, publishing and managing IP core digital objects, provides a standardized and reliable process based on blockchain and smart contracts for IP core digital property rights trading, and also provides a feasible method for IP core transaction verification, object delivery and integrated circuit verification and design. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to make the contents of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments of the present invention in conjunction with the accompanying drawings.
[0029] Figure 1 It is a structural schematic diagram of the IP core digital object controllable property rights trading system of the present invention;
[0030] Figure 2 It is a schematic diagram of the process of generating a digital contract for IP core transactions according to the present invention;
[0031] Figure 3 It is a schematic diagram of the process of verifying the digital contract of IP core transaction according to the present invention;
[0032] Figure 4 It is a schematic diagram of the process of constructing a safe and controllable use environment of the IP core described in the present invention. DETAILED DESCRIPTION
[0033] like Figure 1 As shown, this embodiment provides an IP core digital object controllable property rights trading system including:
[0034] Publishing and management subsystem, controllable property rights storage subsystem, trusted shared identity blockchain subsystem and interactive verification and design subsystem.
[0035] Specifically, the publishing and management subsystem includes a publishing and management repository, a digital object data repository, and a transaction contract registry, where:
[0036] The publishing and management repository uses a MySQL database to store metadata information of IP cores, providing designers with the functions of adding, updating, querying and deleting metadata information. It also temporarily stores users' IP core application forms and records the execution of the application process.
[0037] The digital object data repository uses the MinIO object storage system to persist IP core file data and provide data encryption.
[0038] The transaction contract registration library uses the MySQL database to back up the ciphertext copies of the IP core transaction contracts that have been uploaded to the chain. Each ciphertext copy of the contract is associated with a contract digital fingerprint.
[0039] Optionally, use MD5 to perform a hash operation on the ciphertext copy of the transaction contract to obtain the contract digital fingerprint. The contract digital fingerprint is only used as a unique identifier for the ciphertext copy of the contract, so there is no requirement for the security of the hash algorithm.
[0040] In this embodiment, the publishing and management subsystem is used for entering IP core metadata information and uploading IP core file data segments, metadata and data maintenance, publishing digital objects, digital object retrieval, application and designer consent, and triggering digital contract registration.
[0041] Specifically, when an ordinary user logs in to the publishing and management subsystem for the first time, the subsystem generates an AES key and an RSA key pair for the user. The AES key is randomly generated, and the RSA key pair is generated once. Both the AES key and the RSA key pair are unique to the user. The RSA public key is stored on the server side and is public. It is used to encrypt the digital contract summary. The RSA private key is stored locally by the designer. The private key is unique and is not recommended to be disclosed to others. It is used to decrypt the summary data.
[0042] Specifically, the IP core metadata information entry and data upload process includes:
[0043] (1) The designer needs to fill in information on the IP core metadata entry interface. The metadata information includes the file name, file upload time, etc. The metadata will be persisted to the release and management repository.
[0044] (2) The designer needs to enter the IP core file upload interface and upload the compressed IP core source file. The uploaded IP core file is encrypted by the backend server. The encryption key uses the designer's AES key and the encrypted ciphertext is stored in the digital object data repository.
[0045] Specifically, the process of publishing a digital object includes: after the designer completes the creation of the IP core, he can choose to publish the digital object in the publishing and management subsystem. This operation changes the status of the digital object to published. The successfully published IP core will be allowed to be traded, and only the published IP core can be browsed, retrieved and applied for by other users.
[0046] Specifically, the application and designer consent process includes: the user can select any published IP core to execute the application process. The user fills in the application form and submits it. The publishing and management subsystem pushes the application form to the designer, who reviews it. If the designer approves the application, the application form status changes to "Party A has agreed"; otherwise, the application form status changes to "Application has been rejected".
[0047] Specifically, the application form agreed by both parties will trigger the digital contract registration, and the publishing and management subsystem will send a digital contract registration HTTP request to the trusted shared identity blockchain subsystem. The digital contract registration HTTP request data includes the digital object designer username, user username, IP core usage cycle, IP core digital object storage path and IP core usage environment information.
[0048] In this embodiment, the trusted transaction identity blockchain subsystem is used to register contract information, generate IP core transaction digital contracts and put contracts on the chain to ensure that the transaction digital contracts have the characteristics of traceability.
[0049] See also Figure 2 The process of generating IP core transaction digital contract by the trusted transaction identity blockchain subsystem includes:
[0050] (1) The trusted transaction identity blockchain subsystem receives the digital contract registration HTTP request from the publishing and management subsystem, and filters the digital object designer username, user username, IP core usage cycle, and IP core digital object storage path information in the HTTP request. The trusted transaction identity blockchain subsystem obtains the current timestamp and merges it with the filtered information to obtain a digital object usage pass.
[0051] (2) The trusted transaction identity blockchain subsystem triggers the execution of the smart contract. The smart contract first verifies the validity of the digital object usage pass. If the verification fails, the digital contract registration HTTP request is rejected; if the verification passes, the smart contract uses the SHA256 algorithm to generate a digital contract summary for it. The smart contract authorizes the use of the RSA public key to perform encryption operations on the digital contract summary, thereby generating a reversible ciphertext of the digital contract.
[0052] (3) The smart contract publishes the digital contract reversible ciphertext in the blockchain network. The miner nodes in the blockchain decentralized network vote on the validity of the digital contract reversible ciphertext through the RAFT consensus algorithm. If the digital contract reversible ciphertext is supported to be valid, a new block is generated and written into the blockchain ledger; otherwise, the digital contract registration HTTP request is rejected.
[0053] (4) The trusted transaction identity blockchain subsystem uses the MD5 algorithm to calculate the reversible ciphertext of the digital contract and generate a digital fingerprint of the contract. The controllable property rights storage subsystem associates the digital fingerprint of the contract with the copy of the contract ciphertext and writes it into the transaction contract registry. The trusted transaction identity blockchain subsystem responds to the digital fingerprint of the contract to the user end, notifying the user that the contract generation has been completed.
[0054] In this embodiment, the interactive verification and design subsystem is used to verify the IP core transaction digital contract and build a safe and controllable use environment for the IP core. The interactive verification and design subsystem includes reviewing the identity of the user, selecting the interaction method, obtaining digital object data, interactive verification, designing the workspace, and outputting the design results.
[0055] See also Figure 3 The interactive verification and design subsystem can verify the IP core transaction digital contract without decrypting the digital contract ciphertext. The verification process includes:
[0056] (1) The user initiates an HTTP request for IP core transaction digital contract verification. The interactive verification and design subsystem queries the contract ciphertext copy in the transaction contract registry based on the contract digital fingerprint. The contract ciphertext copy is a copy stored off-chain and is recorded as an untrusted contract ciphertext copy.
[0057] (2) The trusted transaction identity blockchain subsystem is authorized to obtain the RSA private key and trigger the smart contract to execute the decryption process, that is, to use the RSA private key to decrypt the untrusted contract ciphertext copy to obtain a digital contract summary, which is recorded as the untrusted digital contract summary.
[0058] (3) Smart contracts publish untrusted digital contract summaries in the blockchain decentralized network.
[0059] (4) After receiving the untrusted digital contract summary, each miner node in the network will first query the digital contract summary in the local blockchain ledger and compare the query result with the untrusted digital contract summary. The miner node will vote according to the comparison result to determine the validity of the untrusted digital contract summary. If the untrusted digital contract summary is valid, the digital contract verification is passed; otherwise, the digital contract registration HTTP request is rejected.
[0060] See also Figure 4 , can interactively verify and design subsystems to build a safe and controllable use environment for IP cores. The construction process includes:
[0061] (1) The user selects an interaction method, such as Docker or remote desktop. After the selection is completed, the interactive verification and design subsystem can start the coroutine to pull IP core data.
[0062] (2) The object repository in the controllable property storage subsystem shards the IP core file data ciphertext and pushes the byte slices to the virtual machine in sequence. The virtual machine IP core designer provides the IP core usage environment, EDA design tools, etc. installed in the virtual machine. At this time, the IP core user has no permission to export the IP core data.
[0063] (3) The user initiates an IP core file activation request in the virtual machine. The request includes the MAC address of the virtual machine and the operating system user name. After receiving the request, the controllable property storage subsystem verifies the MAC address and the operating system user name. If the verification fails, the activation request is rejected; otherwise, the AES key is sent to the virtual machine.
[0064] (4) The virtual machine authorizes the use of the AES key to perform decryption operations on the ciphertext of the IP core file data to obtain the object plaintext data. The virtual machine starts the IP core environment, starts the IP core running program, and provides the IP core service interaction interface to the user.
[0065] Optionally, the interactive verification and design subsystem supports the user to perform IP core design in the workspace of the virtual machine through an interactive interface and export the IP core design results.
[0066] Explanation of terms in the transaction system described in this embodiment:
[0067] Blockchain: A distributed ledger technology with a chain-like storage structure. Each block header stores the hash value of the previous block to form a blockchain, which has the characteristics of data immutability, traceability, openness and transparency. It also combines technologies such as digital signatures and encryption algorithms to establish trust for nodes in the blockchain network.
[0068] Smart contracts are programs that are automatically executed based on blockchain technology. Their execution can be triggered by the conditions specified in the agreement, and the execution process and results are not subject to interference from third parties.
[0069] This application adopts RAFT as the blockchain consensus mechanism, and consensus is reached through elected leader nodes. A server in a raft cluster is either a leader node or a follower node, and can be a candidate node in the precise case of an election, where the leader node is unavailable. The leader node is responsible for replicating logs to the follower nodes. It periodically notifies the follower nodes of its presence by sending heartbeat messages. Each follower node has a timeout, usually between 150 and 300 milliseconds, that it expects a heartbeat from the leader node. The timeout is reset when a heartbeat is received. If no heartbeat is received, the follower node changes its state to a candidate and starts a leadership election.
[0070] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.
Claims
1. An IP core digital object controllable property rights trading system, characterized in that: The transaction system includes a publishing and management subsystem, a controllable property rights storage subsystem, a trusted transaction identity blockchain subsystem, and an interactive verification and design subsystem; the trusted transaction identity blockchain subsystem includes generating an IP core transaction digital contract, and the generation process is as follows: Step S1: The trusted transaction identity blockchain subsystem receives the digital contract registration HTTP request from the publishing and management subsystem, and filters the digital object designer username, user username, IP core usage period, and IP core digital object storage path information in the HTTP request; The trusted transaction identity blockchain subsystem obtains the current timestamp and merges it with the filtered information to obtain a digital object usage pass; Step S2: The trusted transaction identity blockchain subsystem triggers the execution of the smart contract. The smart contract first verifies the validity of the digital object usage pass. If the verification fails, the digital contract registration HTTP request is rejected. If the verification passes, the smart contract uses the SHA256 algorithm to generate a digital contract summary for it. The smart contract authorizes the use of the RSA public key to perform encryption operations on the digital contract summary, thereby generating a reversible ciphertext of the digital contract. Step S3: The smart contract publishes the digital contract reversible ciphertext in the blockchain network. The miner nodes in the blockchain decentralized network vote on the validity of the digital contract reversible ciphertext through the RAFT consensus algorithm. If the digital contract reversible ciphertext is supported to be valid, a new block is generated and written into the blockchain ledger; Otherwise, the digital contract registration HTTP request is rejected; Step S4: The trusted transaction identity blockchain subsystem uses the MD5 algorithm to calculate the reversible key of the digital contract and generate a digital fingerprint of the contract; the controllable property rights storage subsystem associates the digital fingerprint of the contract with the copy of the contract ciphertext and writes it into the transaction contract registration database. Step S5: The trusted transaction identity blockchain subsystem responds to the contract digital fingerprint to the user end, notifying the user that the contract generation is complete; The interactive verification and design subsystem is used to verify the digital contract of IP core transactions, and provides a safe and controllable environment for building IP cores for the publishing and management subsystem, controllable property rights storage subsystem, and trusted transaction identity blockchain subsystem.
2. The IP core digital object controllable property rights trading system according to claim 1 is characterized by: The controllable property rights storage subsystem stores at least one IP core project's copyright identifier and encrypted IP core property rights data, and the property rights data of each IP core project is encrypted by a randomly generated AES key uniquely corresponding to the project; the controllable property rights storage subsystem includes a publishing and management repository, a digital object data repository, and a transaction contract registration repository.
3. The IP core digital object controllable property rights trading system according to claim 1 is characterized by: The publishing and management subsystem is used for IP core metadata information entry and IP core file data segment upload, metadata and data maintenance, publishing digital objects, digital object retrieval, IP core transaction application and designer consent and triggering digital contract registration; The digital contract registration HTTP request data includes the digital object designer username, user username, IP core usage period, IP core digital object storage path and IP core usage environment information.
4. The IP core digital object controllable property rights trading system according to claim 1 is characterized by: The trusted transaction identity blockchain subsystem is used to register contract information, generate IP core transaction digital contracts and put contracts on the chain, ensuring that the transaction digital contracts have traceability.
5. The IP core digital object controllable property rights trading system according to claim 1 is characterized by: The interactive verification and design subsystem verifies the IP core transaction digital contract without decrypting the digital contract ciphertext. The verification process includes: The user initiates an HTTP request for IP core transaction digital contract verification; the interactive verification and design subsystem queries the contract ciphertext copy in the transaction contract registry based on the contract digital fingerprint; the contract ciphertext copy is a copy stored off-chain and is recorded as an untrusted contract ciphertext copy; The trusted transaction identity blockchain subsystem authorizes the acquisition of the RSA private key and triggers the smart contract to execute the decryption process, that is, using the RSA private key to decrypt the untrusted contract ciphertext copy to obtain a digital contract summary, which is recorded as the untrusted digital contract summary; Smart contracts publish untrusted digital contract summaries in the blockchain decentralized network; After receiving the untrusted digital contract summary, each miner node in the network will first query the digital contract summary in the local blockchain ledger and compare the query result with the untrusted digital contract summary; the miner node will vote according to the comparison result to determine the validity of the untrusted digital contract summary; if the untrusted digital contract summary is supported to be valid, the digital contract verification is passed; otherwise, the digital contract registration HTTP request is rejected.
6. The IP core digital object controllable property rights trading system according to claim 5 is characterized by: The interactive verification and design subsystem builds a safe and controllable use environment for the IP core, and the construction process includes: The user selects an interaction method, such as Docker or remote desktop. After the selection is completed, the interactive verification and design subsystem starts a coroutine to pull IP core data. The object repository in the controllable property storage subsystem slices the IP core file data into ciphertexts and pushes the byte slices to the virtual machine in sequence; the virtual machine IP core designer provides, and the virtual machine is installed with the IP core use environment, EDA design tools, etc.; at this time, the IP core user operates without permission to export the IP core data; The user initiates an IP core file activation request in the virtual machine. The request includes the MAC address of the virtual machine and the operating system user name. After receiving the request, the controllable property storage subsystem verifies the MAC address and the operating system user name. If the verification fails, the activation request is rejected. Otherwise, the AES key is sent to the virtual machine. The virtual machine is authorized to use the AES key to perform decryption operations on the ciphertext of the IP core file data to obtain the object plaintext data; the virtual machine starts the IP core environment, starts the IP core running program, and provides the IP core service interaction interface to the user.
