Block chain-based digital book transaction method, storage medium and equipment
By issuing digital book vouchers and recording transaction information on the blockchain, the problems of infringement of publishers' interests, protection of consumer rights and infringement in digital book transactions are solved, and the commercialization and assetization of digital books are realized, and the transparency and security of transactions are enhanced.
Patent Information
- Application Number
- CN202510068331.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-01-16
AI Technical Summary
During the existing digital book transaction process, it is difficult to trade digital books in commodity terms, resulting in infringement of the interests of publishers and difficulty in protecting consumer rights. The diverse transaction subjects and massive transaction information make it difficult to hold accountable for infringement.
The digital book transaction method based on blockchain is adopted, and through the steps of publishing houses to issue and list books on the chain, purchase digital book vouchers on the consumer chain, consumer identity authentication and reading use, and retention and tracking of digital book transaction information chain, the uniqueness, commercialization and assetization of digital books are realized, and transaction information is recorded for traceability.
It has realized the transfer of ownership of digital books, protected consumer rights, reduced the risk of piracy, and provided an effective evidence accountability mechanism for infringement.
Smart Images

Figure CN119991106A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology and digital product transactions, and mainly constructs a method for digital book transactions based on blockchain to realize the "commoditization" transaction of digital books by book. Background Art
[0002] Digital books are digital products that mainly contain text. The main feature of digital books is digital storage, and their content is reproducible and easy to copy, which leads to the marginal production cost of digital books approaching zero. At the same time, digital books are a digital form of books, which contain knowledge. This knowledge makes digital books often have high use value and collection value, resulting in the rental model that simply provides online reading services often unable to meet consumer needs.
[0003] At present, both buyers and sellers face huge difficulties in the online sales of digital books. On the one hand, sellers represented by authors and publishers bear great risks of infringement and piracy. The marginal cost of digital books stored digitally is close to zero. Once pirated books are produced, they can be quickly disseminated at zero cost. In addition, the infringing subjects are massive and multi-source and highly concealed. The volatility of network evidence has further increased the difficulty of proof. On the other hand, buyers represented by consumers do not have the ownership of digital books in their hands because what they purchase during the transaction is not the digital book itself. The digital book has not become the personal asset of the consumer. The sense of gain is low and they are also facing infringement risks such as book removal at any time. At the same time, the lack of ownership also limits consumers' disposal of digital books after the transaction, including collection and secondary transactions. In view of this, the present invention is proposed. Summary of the invention
[0004] The purpose of the present invention is to provide a digital book transaction method, storage medium and device based on blockchain, so as to solve the problem that it is difficult to commercialize digital books "by book" in the existing digital book transaction process, resulting in infringement of publishers' interests and difficulty in protecting consumers' rights. At the same time, the method also solves the problem of difficulty in holding accountable for infringements caused by multiple transaction subjects and massive transaction information.
[0005] The present invention adopts the technical solution:
[0006] A digital book transaction method based on blockchain, the steps are as follows:
[0007] Step 1: Publishing houses publish and put books on the chain
[0008] The publisher calls the issuance smart contract on the chain to mint digital book vouchers, calls the listing smart contract to put digital books on the shelves, and displays digital book information to consumers;
[0009] Step 2: Consumers purchase digital book vouchers on the chain
[0010] First, the consumer calls the transaction smart contract on the chain to purchase the digital book, and then the digital book certificate is transferred on the chain. The publisher's back-end system monitors the transaction event and records the consumer's wallet address public key;
[0011] Step 3: Consumer identity authentication and reading and use
[0012] First, the consumer calls the smart contract on the chain and provides the digital book certificate. Then the publisher's back-end system verifies the source of the information. After the verification, the publisher's back-end system automatically calls the corresponding smart contract to record the relevant information in the blockchain. Finally, the publisher's back-end system authenticates the consumer. After the verification, the corresponding consumer is allowed to enter the secure reading environment to read and use digital books.
[0013] Step 4: Preservation and tracing of digital book transaction information on the chain
[0014] During the transaction process, smart contracts are used to retain digital book transaction information on the chain, and the International Standard Book Number (ISBN) is used to trace the digital book voucher information and transaction information afterwards.
[0015] A storage medium storing at least one instruction, at least one program, a code set or an instruction set, wherein the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the above-mentioned blockchain-based digital book transaction method.
[0016] A server comprises a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the above-mentioned blockchain-based digital book transaction method.
[0017] Beneficial effects of the present invention: Compared with the prior art, the present invention utilizes the verifiability and programmability of the blockchain, and by issuing a unique certificate for digital books on the chain, makes each digital book unique and commercialized, and realizes assetization after the transaction, thereby realizing the transfer of ownership of digital books. At the same time, the specific content of the digital book is stored in the off-chain database of the publishing system, and by submitting the on-chain digital certificate and identifying and verifying the source and identity of the message, consumers can access the digital book content privately, ensuring that the book content is visible only to specific users after the transaction. In addition, the transaction method also realizes the traceability of information generated during the digital book transaction and reading process based on the call of the smart contract by each participant, providing effective evidence for the proof and accountability after the book piracy infringement. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a schematic diagram of a blockchain-based digital book transaction method provided by an embodiment of the present invention;
[0019] In the figure: 1. The publisher's method of issuing and putting books on the chain; 2. The consumer's method of purchasing digital book certificates on the chain; 3. The consumer's identity authentication and reading method.
[0020] Figure 2 It is a schematic diagram of the method of obtaining digital book metadata and voucher images;
[0021] Figure 3 A schematic diagram of information recording of a wallet address public key in a transaction in a blockchain-based digital book transaction method provided by an example of the present invention;
[0022] Figure 4 It is a schematic diagram of digital book voucher verification and off-chain recording based on smart contracts after the transaction in the blockchain-based digital book transaction method provided by an example of the present invention;
[0023] Figure 5 It is a schematic diagram of visitor identity authentication based on digital signature in a blockchain-based digital book transaction method provided by an example of the present invention;
[0024] Figure 6 It is a schematic diagram of a method for retaining and tracing digital book transaction information on a blockchain in a digital book transaction method based on blockchain provided by an example of the present invention; DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein should be the common meanings understood by people with ordinary skills in the field to which the present invention belongs.
[0026] A reference for digital book trading method based on blockchain Figure 1 , including the publisher's on-chain distribution and book listing methods, the consumer's on-chain purchase of digital book vouchers, and the consumer's identity authentication and reading methods;
[0027] Step 1: The publisher issues and puts digital books on the blockchain. This step is performed on the blockchain, as follows:
[0028] S1.1: Before a digital book is released and put on the shelves, the original content file of the digital book and the digital book metadata file are stored in the publisher's off-chain system database;
[0029] The original content files of digital books are stored in the form of pdf files; the metadata files of digital books are stored in the form of json files, which include information such as the name of the digital book, author, publisher, publication time, ISBN, classification, and pricing.
[0030] S1.2: When a digital book is issued on the chain, the on-chain issuance smart contract triggers the Chainlink trusted oracle to send a request for the digital book metadata to the publisher's off-chain system database, which then sends the digital book metadata to the on-chain issuance smart contract through the Chainlink trusted oracle. For details, refer to Figure 2 ;
[0031] S1.3: When the digital book is issued on the chain, the chain issues a smart contract to cast the digital book voucher, and stores the image of the digital book voucher in the IPFS interstellar file system. For details, refer to Figure 2 ;
[0032] The digital book voucher data includes the digital book ISBN, voucher number, proof of ownership, address of the current voucher holder, release time, digital book metadata, voucher image, selling price, and copyright proof information.
[0033] S1.4: After the digital book voucher is issued on the chain, the publisher calls the smart contract for listing, and after passing the condition verification, modifies the relevant custom mapping to realize the listing of the digital book.
[0034] Step 2: The consumer purchases the digital book voucher on the blockchain. This step is performed on the blockchain as follows: Figure 3 :
[0035] S2.1: The consumer calls the transaction smart contract on the chain, inputs the parameters required for purchase, and triggers the transaction event;
[0036] The parameters required for purchase include digital book information and transaction information.
[0037] S2.2: The transaction smart contract performs conditional verification on the purchase parameters. If the verification passes, it proceeds to the next step, otherwise it stops;
[0038] S2.3: The transaction smart contract modifies the address of the corresponding digital book voucher holder to the consumer wallet address, and at the same time transfers the equivalent currency of the digital book sales price from the consumer wallet address to the publisher wallet address;
[0039] S2.4: After the digital book voucher holder’s address is transferred, the transaction event triggered by the transaction smart contract is monitored by the publisher’s backend system;
[0040] S2.5: The publisher’s backend system stores the consumer’s wallet address public key contained in the transaction event in the publisher’s off-chain system database.
[0041] Step 3: Consumer identity authentication and reading use, this step is carried out on the blockchain and off-chain publisher system;
[0042] After consumers purchase digital books on the blockchain, they need to read and use the content. Consumer identity authentication and reading methods include: digital book certificate verification and off-chain records based on smart contracts, and visitor identity authentication based on digital signatures;
[0043] In order to prove whether the wallet address has the corresponding digital book certificate on the chain, and record the verified relevant information in the off-chain database, and make further preparations for the subsequent verification steps, it is necessary to conduct post-transaction digital book certificate verification based on smart contracts and off-chain record reference Figure 4 , the specific operations are as follows:
[0044] S3.1.1: The consumer calls the verification smart contract, which obtains his wallet address and digital book voucher ID and compares it with the status information of the wallet address in the blockchain to determine whether the address has the corresponding digital book voucher. If the comparison is consistent, the next step is carried out, otherwise the comparison is inconsistent;
[0045] S3.1.2: Verify that the smart contract obtains the access ID from the world state and increments it once, and records the access ID and transaction information as events;
[0046] S3.1.3: The publisher’s backend system obtains the access ID, wallet address, and digital book ID in the event through monitoring, and stores the above information, i.e., the access ID, wallet address, and digital book ID, in the off-chain database;
[0047] S3.1.4: The publisher’s backend system modifies the value corresponding to the wallet address ID in the permission table to allow access.
[0048] In order to verify whether the source of the off-chain access request corresponds to the verified on-chain user and to achieve access to the content, a visitor identity authentication reference based on digital signature is required. Figure 5 , the specific operations are as follows:
[0049] S3.2.1: Consumers encrypt specific information with private keys and pass the encrypted ciphertext obtained by public and private keys to the publisher's backend system through a specific API interface;
[0050] S3.2.2: The publisher’s backend system queries the off-chain database to see whether the public key exists. If so, it obtains the public key and decrypts the ciphertext. If the decryption succeeds, it proceeds to the next step. If the public key does not exist or the decryption fails, it stops.
[0051] S3.2.3: Consumers can enter the corresponding reading environment through the on-chain wallet address public key.
[0052] Step 4: Preserve and trace digital book transaction information on the chain, refer to Figure 6 In order to effectively solve the current problem of difficulty in proving and holding accountable for digital book piracy, it is necessary to record digital book transaction information during the transaction process and trace the transaction information after the transaction is completed. This step is carried out on the blockchain, and the specific operations are as follows:
[0053] S4.1: During the distribution, listing and trading of digital books, the distribution and trading smart contracts call the storage function in the traceability smart contract and store the information in the state variable of the traceability smart contract;
[0054] S4.2: Enter the digital book ISBN in the traceability smart contract;
[0055] S4.3: The traceability smart contract queries the contract state variable based on the ISBN to obtain all the digital book voucher information and transaction information under the ISBN;
[0056] S4.4: The traceability smart contract returns the query results to be displayed as direct evidence or as indirect evidence for subsequent analysis.
Claims
1. A digital book transaction method based on blockchain, characterized in that: Here are the steps: Step 1: Publishing houses publish and put books on the chain The publisher calls the issuance smart contract on the chain to mint digital book certificates, calls the listing smart contract to put digital books on the shelves, and displays digital book information to consumers; Step 2: Consumers purchase digital book vouchers on the chain First, the consumer calls the transaction smart contract on the chain to purchase the digital book, and then the digital book certificate is transferred on the chain. The publisher's back-end system monitors the transaction event and records the consumer's wallet address public key; Step 3: Consumer identity authentication and reading and use First, the consumer calls the smart contract on the chain and provides the digital book certificate. After that, the publisher's back-end system verifies the source of the information. After the verification is passed, the publisher's back-end system automatically calls the corresponding smart contract to record the relevant information in the blockchain. Finally, the publisher's back-end system authenticates the consumer. After the verification is passed, the corresponding consumer is allowed to enter the secure reading environment to read and use digital books. Step 4: Preservation and tracing of digital book transaction information on the chain During the transaction process, smart contracts are used to retain digital book transaction information on the chain, and the International Standard Book Number (ISBN) is used to trace the digital book voucher information and transaction information afterwards.
2. A blockchain-based digital book transaction method according to claim 1, characterized in that: Step 1 is performed on the blockchain as follows: S1.1: Before a digital book is released and put on the shelves, the original content file of the digital book and the digital book metadata file are stored in the publisher's off-chain system database; S1.2: When a digital book is issued on-chain, the on-chain issuance smart contract triggers the Chainlink trusted oracle to send a request for the digital book metadata to the publisher's off-chain system database, which then sends the digital book metadata to the on-chain issuance smart contract via the Chainlink trusted oracle. S1.3: When the digital book is issued on the chain, the chain issues a smart contract to cast the digital book voucher, and stores the image of the digital book voucher in the IPFS interstellar file system; S1.4: After the digital book voucher is issued on the chain, the publisher calls the smart contract for listing, and after passing the condition verification, modifies the relevant custom mapping to realize the listing of the digital book.
3. A blockchain-based digital book transaction method according to claim 2, characterized in that: In S1.3, the digital book voucher data includes the digital book ISBN, voucher number, ownership certificate, address of the current voucher holder, release time, digital book metadata, voucher image, selling price, and copyright certification information.
4. A blockchain-based digital book transaction method according to claim 1, characterized in that: Step 2 is carried out on the blockchain, as follows: S2.1: The consumer calls the transaction smart contract on the chain, inputs the parameters required for purchase, and triggers the transaction event; S2.2: The transaction smart contract performs conditional verification on the purchase parameters. If the verification passes, it proceeds to the next step, otherwise it stops; S2.3: The transaction smart contract modifies the address of the corresponding digital book voucher holder to the consumer wallet address, and at the same time transfers the equivalent currency of the digital book sales price from the consumer wallet address to the publisher wallet address; S2.4: After the digital book voucher holder’s address is transferred, the transaction event triggered by the transaction smart contract is monitored by the publisher’s backend system; S2.5: The publisher’s backend system stores the consumer’s wallet address public key contained in the transaction event in the publisher’s off-chain system database.
5. A blockchain-based digital book transaction method according to claim 4, characterized in that: In S2.1, the parameters required for purchase include digital book information and transaction information.
6. A blockchain-based digital book transaction method according to claim 1, characterized in that: Step 3 is carried out on the blockchain and off-chain publishing system, as follows: After consumers purchase digital books on the blockchain, they need to read and use the content. The consumer identity authentication and reading and use methods include: digital book certificate verification and off-chain records based on smart contracts, and visitor identity authentication based on digital signatures; The specific operations of digital book voucher verification and off-chain recording based on smart contracts after the transaction are as follows: S3.1.1: The consumer calls the verification smart contract, which obtains his wallet address and digital book voucher ID and compares it with the status information of the wallet address in the blockchain to determine whether the address has the corresponding digital book voucher. If the comparison is consistent, the next step is carried out, otherwise the comparison is inconsistent; S3.1.2: Verify that the smart contract obtains the access ID from the world state and increments it once, and records the access ID and transaction information as events; S3.1.3: The publisher’s backend system obtains the access ID, wallet address, and digital book ID in the event through monitoring, and stores them in the off-chain database; S3.1.4: The publisher’s backend system modifies the value corresponding to the wallet address ID in the permission table to allow access; The specific operations of visitor identity authentication based on digital signature are as follows: S3.2.1: Consumers encrypt specific information with private keys and pass the encrypted ciphertext obtained by public and private keys to the publisher's backend system through a specific API interface; S3.2.2: The publisher’s backend system queries the off-chain database to see whether the public key exists. If so, it obtains the public key and decrypts the ciphertext. If the decryption succeeds, it proceeds to the next step. If the public key does not exist or the decryption fails, it stops. S3.2.3: Consumers can enter the corresponding reading environment through the on-chain wallet address public key.
7. A blockchain-based digital book transaction method according to claim 1, characterized in that: Step 4 is carried out on the blockchain, and the specific operations are as follows: S4.1: During the distribution, listing and trading of digital books, the distribution and trading smart contracts call the storage function in the traceability smart contract and store the information in the state variable of the traceability smart contract; S4.2: Enter the digital book ISBN in the traceability smart contract; S4.3: The traceability smart contract queries the contract state variable based on the ISBN to obtain all the digital book voucher information and transaction information under the ISBN; S4.4: The traceability smart contract returns the query results to be displayed as direct evidence or as indirect evidence for subsequent analysis.
8. A storage medium, wherein at least one instruction, at least one program, a code set or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the blockchain-based digital book transaction method described in any one of claims 1-7.
9. A server, comprising a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the blockchain-based digital book transaction method described in any one of claims 1-7.
Citation Information
Patent Citations
Block chain technology-based book sharing method and device
CN108830684A
Book copyright protection platform and device based on block chain and medium
CN111046346A
Book borrowing method and device based on block chain, equipment and readable storage medium
CN112559988A