A book and newspaper supply chain information system

The book and periodical supply chain information system driven by blockchain and smart contracts solves the problems of information loss and trust in the supply chain, realizes the credible storage of supply information and the automation of resource transfer, and ensures the transparency and traceability of the supply process.

CN115630885BActive Publication Date: 2026-03-20HLJ POST YITONG INFO-NET CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-19
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

The existing book and periodical supply chain information system suffers from information loss at the book and periodical manufacturer stage, making it impossible to accurately track supply information. Furthermore, there are trust issues among manufacturers, providers, users, and delivery personnel.

Method used

By employing a blockchain-based information system, the supply process of books, newspapers, and periodicals is driven by smart contracts, including the accounts of subscribers, providers, manufacturers, and delivery personnel, thereby achieving trusted storage and traceability of resource transfers and task execution.

Benefits of technology

It enables accurate and reliable tracking of book and periodical supply information, solves the trust issues between manufacturers and providers, users and providers, and delivery personnel and providers, and ensures the automation and traceability of resource transfer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115630885B_ABST
    Figure CN115630885B_ABST
Patent Text Reader

Abstract

The application provides a book and newspaper supply chain information system. The system can drive the whole supply process of resource transfer, production, delivery, etc. of books and newspapers by using a first smart contract, and can break through the four parties of users, providers, producers and delivery personnel, and realize credible notarization of book and newspaper supply information.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to computer technology, in particular to a book and newspaper supply chain information system. BACKGROUND

[0002] In the book and newspaper supply chain, book and newspaper subscription users (referred to as users) subscribe to book and newspaper providers (referred to as providers), the providers arrange book and newspaper manufacturers (manufacturers) to produce book and newspapers, and then book and newspaper delivery personnel (referred to as delivery personnel) deliver them to the users.

[0003] The current supply chain information system only connects the subscription users, the providers and the delivery personnel, and there is a gap in the book and newspaper manufacturers, which may cause the following problems:

[0004] First, the book and newspaper supply information cannot be accurately tracked, especially in the manufacturer link, the book and newspaper supply chain information is lost;

[0005] Second, there is a trust problem between the manufacturer and the provider, such as the provider believing that the manufacturer does not deliver the book and newspaper on time, and the manufacturer refusing to pay or delaying payment to the provider;

[0006] Third, there is a trust problem between the user and the provider, such as the user worrying about not receiving the book and newspaper in time after payment, and the provider worrying about not being paid by the user;

[0007] Fourth, there is a trust problem between the provider and the delivery personnel, such as the provider worrying about the delivery personnel not completing the delivery, and the delivery personnel worrying about the provider not paying. SUMMARY

[0008] In view of the above, the present application discloses a book and newspaper supply chain information system. The system is a system based on a blockchain, which includes a first account corresponding to a book and newspaper subscription user, a second account corresponding to a book and newspaper service provider, a third account corresponding to a book and newspaper producer, and a fourth account corresponding to a book and newspaper delivery personnel. The blockchain publishes a first smart contract that has reached a consensus for completing the book and newspaper supply. The system initiates a contract call transaction by a timing task to call the first smart contract. The system runs the remaining virtual resource query logic in the first smart contract to query whether the remaining virtual resources in the first account reach a preset threshold. In the case where the remaining virtual resources reach the preset threshold, the system runs the first resource transfer logic in the first smart contract to transfer a first preset number of virtual resources from the first account to the second account, and runs the production task logic in the first smart contract to initiate a book and newspaper production task for the subscription user to the producer. In response to the producer triggering a production completion operation for the production task, the system runs the second resource transfer logic in the first smart contract to transfer a second preset number of virtual resources from the second account to the third account, and runs the delivery task logic in the first smart contract to initiate a book and newspaper delivery task for the subscription user to the delivery personnel. In response to the delivery personnel triggering a delivery completion operation for the delivery task, the system runs the third resource transfer logic in the first smart contract to transfer a third preset number of virtual resources from the second account to the fourth account, and runs the storage logic in the first smart contract to store the book and newspaper supply record for the subscription user in the blockchain.

[0009] In some embodiments, the system runs the first smart contract in the first resource transfer logic to transfer a first preset number of virtual resources from the first account to the second account, and runs the production task logic in the first smart contract to initiate a book and newspaper production task for the subscription user to the producer.

[0010] In some embodiments, the system is a blockchain and service Baas system.

[0011] In some embodiments, the system further receives the production completion operation and a first proof file for the production task initiated by the producer through the corresponding producer client, publishes a call transaction for the first smart contract in response to the production completion operation, runs the second resource transfer logic in the first smart contract to transfer a second preset number of virtual resources from the second account to the third account, and runs the delivery task logic in the first smart contract to initiate a book and newspaper delivery task for the subscription user to the delivery personnel, and runs the storage logic in the first smart contract to store the first proof file and the production completion operation record in the blockchain.

[0012] In some embodiments, the system further receives a delivery completion operation initiated by the delivery personnel through a corresponding delivery personnel client and a second proof file for the delivery task; in response to the delivery completion operation, publishes a calling transaction for the first smart contract; runs third resource transfer logic in the first smart contract to transfer a third preset amount of virtual resources from the second account to the fourth account, and runs notarization logic in the first smart contract to notarize the second proof file and a delivery completion operation record on the blockchain.

[0013] In some embodiments, the second proof file includes location coordinates at the time of initiating the delivery completion operation; the system further acquires a delivery address pre-filled by the subscription user in response to the delivery completion operation; queries map information to obtain delivery coordinates corresponding to the delivery address; and publishes a calling transaction for the first smart contract when the offset between the location coordinates and the delivery coordinates is below a preset threshold.

[0014] In some embodiments, a second smart contract for online signing of a smart contract that has reached consensus is published in the blockchain; the system further initiates a contract calling transaction for the second smart contract in response to the online signing request of the first smart contract; runs first sending logic in the second smart contract to send the first smart contract to the subscription user, so that the subscription user adds a user signature after confirming the first smart contract; in response to receiving the first smart contract with the user signature, runs second sending logic in the second smart contract to send the first smart contract to the book and newspaper publisher, so that the book and newspaper publisher adds a publisher signature after confirming the first smart contract; in response to receiving the first smart contract with the user signature and the publisher signature, runs third sending logic in the second smart contract to send the first smart contract to the book and newspaper delivery personnel, so that the book and newspaper delivery personnel adds a delivery personnel signature after confirming the first smart contract; and in response to receiving the first smart contract with the user signature, the publisher signature and the delivery personnel signature, runs fourth sending logic in the second smart contract to send the first smart contract to the book and newspaper service provider, so that the book and newspaper service provider adds a provider signature after confirming the first smart contract.

[0015] In some embodiments, the system further: in response to receiving the first smart contract returned by the book and newspaper service provider, running signature verification logic in the second smart contract to determine signature information contained in the first smart contract; and in a case where it is determined that the first smart contract contains the user signature, the producer signature, the delivery personnel signature, and the provider signature, completing publication of the first smart contract.

[0016] In the foregoing solution, all information about resource transfer and task execution in the four links of subscription, production, delivery, and distribution of books and newspapers among the four parties can make the book and newspaper supply traceable, and the use of the traceable and trustworthy features of the blockchain can achieve accurate and trustworthy tracking of book and newspaper supply information.

[0017] Second, by running second resource transfer logic in the first smart contract to transfer a second preset number of virtual resources from the second account to the third account in response to the producer triggering a production completion operation for the production task, the first smart contract can be used to automatically implement resource transfer when the producer completes the delivery task, thereby solving the trust problem between the producer and the provider.

[0018] Third, by running first resource transfer logic in the first smart contract to transfer a first preset number of virtual resources from the first account to the second account in a case where the remaining virtual resources reach the preset threshold, the first smart contract can be used to deliver books and newspapers to the user in a case where there is enough balance in the user account and resource transfer is completed, thereby solving the trust problem between the user and the provider.

[0019] Fourth, by running third resource transfer logic in the first smart contract to transfer a third preset number of virtual resources from the second account to the fourth account in response to the delivery personnel triggering a delivery completion operation for the delivery task, the first smart contract can be used to transfer resources to the delivery personnel in a case where the delivery personnel completes the delivery, thereby solving the trust problem between the delivery personnel and the provider. BRIEF DESCRIPTION OF DRAWINGS

[0020] The drawings needed for use in the embodiments or related technical descriptions will be briefly introduced below.

[0021] Figure 1 An interaction schematic diagram of a book and newspaper supply chain information system according to an embodiment of the present application;

[0022] Figure 2 A method flowchart for online signing of a contract using smart contract technology;

[0023] Figure 3A flowchart of a contract publishing method shown in the present application;

[0024] Figure 4 A flowchart of a book and newspaper supply method shown in the present application. DETAILED DESCRIPTION

[0025] The exemplary embodiments will be described in detail below with reference to the attached drawings. The following description is made with reference to the accompanying drawings, in which like reference numerals refer to like elements, and wherein the illustrated embodiment is by way of illustration only and thus are not intended to limit the scope of the application. The following exemplary embodiments described in this detailed description are not meant to be limiting in terms of the scope of the application as described in the claims. Rather, they are provided only to illustrate some aspects of the application that are in keeping with the scope of the application as detailed in the appended claims.

[0026] The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the present application and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and / or," as used herein, refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0027] Blockchain technology, also known as distributed ledger technology, is a new technology in which a plurality of computing devices jointly participate in "accounting" and jointly maintain a complete distributed database. Due to the characteristics of decentralization, openness and transparency, each computing device can participate in database recording, and data can be quickly synchronized between computing devices, so that blockchain technology has been widely applied in many fields.

[0028] Blockchain is generally divided into three types: public chain (Public Blockchain), private chain (Private Blockchain) and consortium chain (Consortium Blockchain). In addition, there are various combinations, such as private chain + consortium chain, consortium chain + public chain, and different combination forms.

[0029] The blockchain provides a first smart contract function. The first smart contract can be defined in the form of code.

[0030] A first smart contract can be deployed in the blockchain by creating a transaction. After the contract is created, a contract account corresponding to the first smart contract appears on the blockchain and has a specific address. The contract code and account storage will be saved in the contract account. The behavior of the first smart contract is controlled by the contract code, and the account storage of the first smart contract saves the state of the contract. In other words, the first smart contract causes a virtual account containing the contract code and the account storage to appear on the blockchain.

[0031] The execution logic inside the first smart contract can be invoked by a first smart contract call transaction to complete the corresponding steps.

[0032] The present application provides a book and newspaper supply chain information system. The system is based on a blockchain and includes a first account corresponding to a book and newspaper subscription user, a second account corresponding to a book and newspaper service provider, a third account corresponding to a book and newspaper producer, and a fourth account corresponding to a book and newspaper delivery personnel. A first smart contract for completing the book and newspaper supply that has reached a consensus is published in the blockchain. The system initiates a contract call transaction to call the first smart contract through a timing task. The system runs the remaining virtual resource query logic in the first smart contract to query whether the remaining virtual resources in the first account reach a preset threshold. In the case where the remaining virtual resources reach the preset threshold, the system runs the first resource transfer logic in the first smart contract to transfer a first preset number of virtual resources from the first account to the second account. The system also runs the production task logic in the first smart contract to initiate a book and newspaper production task for the subscription user to the producer. In response to the producer triggering a production completion operation for the production task, the system runs the second resource transfer logic in the first smart contract to transfer a second preset number of virtual resources from the second account to the third account. The system also runs the delivery task logic in the first smart contract to initiate a book and newspaper delivery task for the subscription user to the delivery personnel. In response to the delivery personnel triggering a delivery completion operation for the delivery task, the system runs the third resource transfer logic in the first smart contract to transfer a third preset number of virtual resources from the second account to the fourth account. The system also runs the evidence storage logic in the first smart contract to store the book and newspaper supply record for the subscription user in the blockchain.

[0033] In the foregoing system, the first smart contract can be used to drive the entire book and newspaper supply process, connecting the user, the provider, the producer, and the delivery personnel, and realizing the trusted storage of book and newspaper supply information.

[0034] Thus, first, by storing the information of the resource transfer and task execution of the four links of the subscription, production, delivery and distribution of the books and newspapers between the four parties in the blockchain, the book and newspaper supply record can be tracked, and the book and newspaper supply information can be accurately and credibly tracked by using the traceable and credible characteristics of the blockchain.

[0035] Second, by running the second resource transfer logic in the first smart contract to transfer a second preset number of virtual resources from the second account to the third account in response to the completion of the production operation triggered by the producer for the production task, the first smart contract can be used to automatically realize resource transfer when the producer completes the delivery task, thereby solving the trust problem between the producer and the provider.

[0036] Third, by running the first resource transfer logic in the first smart contract to transfer a first preset number of virtual resources from the first account to the second account when the remaining virtual resources reach the preset threshold, the first smart contract can be used to deliver books and newspapers to users when there is enough balance in the user account and the resource transfer is completed, thereby solving the trust problem between the user and the provider.

[0037] Fourth, by running the third resource transfer logic in the first smart contract to transfer a third preset number of virtual resources from the second account to the fourth account in response to the completion of the delivery operation triggered by the delivery personnel for the delivery task, the first smart contract can be used to transfer resources to the delivery personnel when the delivery personnel completes the delivery, thereby solving the trust problem between the delivery personnel and the provider.

[0038] Please refer to Figure 1 , Figure 1 for an interactive schematic diagram of a book and newspaper supply chain information system according to an embodiment of the present application.

[0039] As Figure 1 shown, the book and newspaper supply chain information system 100 can include a blockchain, and the system can interact with user clients, provider clients, producer clients and delivery personnel clients as a server to provide services. In some embodiments, the system is a blockchain and a service BaaS system.

[0040] BaaS (Blockchain as a Service) means embedding a blockchain framework into a cloud computing platform, using the deployment and management advantages of a cloud service infrastructure to provide a convenient and high-performance blockchain ecological environment and supporting services for developers, and supporting a blockchain open platform for business expansion and operation support of developers.

[0041] The BaaS platform can be understood as a server that provides interaction services with the blockchain for the user end, thereby avoiding direct interaction between the user end and the blockchain, simplifying the deployment difficulty of the user end, and improving the security of the blockchain.

[0042] The blockchain 110 includes a plurality of blockchain nodes that have reached consensus in advance. These blockchain nodes provide decentralized distributed services. A client can interact with the system to initiate some business requests, and the system can interact with these blockchain nodes in the blockchain after receiving these business requests to complete the relevant business.

[0043] In some embodiments, the business can include contract online signing, newspaper supply information query, balance query, and the like. The system can generate corresponding transaction requests based on these business requests, so that the business request results are obtained based on the blockchain and returned to the corresponding client.

[0044] In some ways, the developer can develop the first smart contract for completing the book and newspaper supply in advance. These first smart contracts include a lot of code logic, such as remaining virtual resource query logic, first resource transfer logic, second resource transfer logic, third resource transfer logic, and evidence storage logic. Through these code logics, the entire supply process of books and newspapers can be driven, and the four parties of users, providers, producers, and delivery personnel can be connected to realize the credible evidence storage of book and newspaper supply information.

[0045] Among them, the description of each logic can be described in subsequent embodiments, which will not be described here.

[0046] In some embodiments, the developer can be a technical staff in the provider, who needs to publish the contract in the blockchain after completing the contract development.

[0047] In some ways, the provider can use the provider client to initiate a contract publishing request to the system, and the system can publish the smart contract in the blockchain.

[0048] In some ways, the contract signing process based on the smart contract technology can be completed in the blockchain, so that the contract signing process is credible and traceable, and the credibility of the first smart contract is increased.

[0049] The second smart contract for online signing of the smart contract that has reached consensus is published in the blockchain. Please refer to Figure 2 , Figure 2 The method flowchart for online signing of the contract using the smart contract technology. Figure 2 The method is the steps that the system needs to perform. As Figure 2 The method can include S202-S210.

[0050] S202, in response to the online signing request of the first smart contract, initiating a contract calling transaction for the second smart contract.

[0051] The provider can initiate an online signing request for the first smart contract through the provider client. After the system receives the request, it can initiate a contract calling transaction for the second smart contract to run the contract.

[0052] S204, running the first sending logic in the second smart contract to send the first smart contract to the subscription user, so that the subscription user adds a user signature after confirming the first smart contract.

[0053] In some ways, any node in the blockchain can run the first sending logic in the second smart contract to send the first smart contract to the user client corresponding to the subscription user through the system (BaaS platform).

[0054] The user can confirm the contract based on the user client and sign the contract with his own private key after the confirmation is passed. Then the user can operate the user client to return the first smart contract with the added signature to the system (BaaS platform). The system can return the first smart contract through the trusted interface exposed by the second smart contract.

[0055] S206, in response to receiving the first smart contract with the user signature, running the second sending logic in the second smart contract to send the first smart contract to the book and newspaper producer, so that the book and newspaper producer adds a producer signature after confirming the first smart contract.

[0056] This step can complete the online signing process with the producer by using the system (BaaS platform). The specific interaction can be referred to S204, which is not described in detail here.

[0057] S208, in response to receiving the first smart contract with the user signature and the producer signature, running the third sending logic in the second smart contract to send the first smart contract to the book and newspaper delivery personnel, so that the book and newspaper delivery personnel add a delivery personnel signature after confirming the first smart contract.

[0058] This step can complete the online signing process with the delivery personnel by using the system (BaaS platform). The specific interaction can be referred to S204, which is not described in detail here.

[0059] S210, in response to receiving the first smart contract with the user signature, the manufacturer signature and the delivery personnel signature, running fourth sending logic in the second smart contract to send the first smart contract to the book and newspaper service provider, so that the book and newspaper service provider adds a provider signature after confirming the first smart contract.

[0060] The final signing process returns to the provider. This step can use the system (BaaS platform) to complete the online signing process with the provider. The specific interaction can refer to S204, and will not be described here.

[0061] Through S202-S210, the online signing process of the first smart contract can be driven by the second smart contract, so that the signing process is credible and traceable, thereby improving the credibility of the first smart contract.

[0062] In some embodiments, the second smart contract can also automatically complete the contract publishing after completing the online signing process.

[0063] Please refer to Figure 3 , Figure 3 The flowchart of the contract publishing method shown in the present application. Figure 3 The method shown in the figure can be applied to the system. As Figure 3 shown, the method can include S302-S304.

[0064] S302, in response to receiving the first smart contract returned by the book and newspaper service provider, running signature verification logic in the second smart contract to determine the signature information contained in the first smart contract.

[0065] In some ways, after any node of the block chain receives the first smart contract returned by the provider, the signature verification logic in the second smart contract can be run to verify the signature of the provider, the delivery personnel, the manufacturer and the user respectively using the corresponding public key. If the signature verification is passed, it is determined that the first smart contract contains the user signature, the manufacturer signature, the delivery personnel signature and the provider signature. If the signature verification is not passed, it is determined that the first smart contract may be missing the signature of one party, and one party may not agree with the contract, so the contract publishing process cannot be started.

[0066] S304, in the case where it is determined that the first smart contract contains the user signature, the manufacturer signature, the delivery personnel signature and the provider signature, the publishing of the first smart contract is completed.

[0067] The signing operation can be performed by the signing logic of the second smart contract before the first smart contract is published, which on one hand ensures that the first smart contract is confirmed and signed by all parties before being published, and on the other hand, the publishing process of the first smart contract can be recorded by taking advantage of the traceable and trustworthy features of the blockchain.

[0068] In some embodiments, the first smart contract that has completed the publishing can be used to drive the book and newspaper supply. Please refer to Figure 4 , Figure 4 A flowchart of a book and newspaper supply method shown in the present application. Figure 4 The illustrated method can be applied to the system. The system is a system constructed based on a blockchain, which includes a first account corresponding to a book and newspaper subscription user, a second account corresponding to a book and newspaper service provider, a third account corresponding to a book and newspaper producer, and a fourth account corresponding to a book and newspaper delivery person; and a first smart contract for completing the book and newspaper supply is published in the blockchain. As Figure 4 shown, the method can include S402-S410.

[0069] S402, initiating a contract calling transaction by a timing task to call the first smart contract.

[0070] The timing task can be deployed in the system. The timing duration of the task can be limited according to the requirements, which is not limited here. The timing task can periodically initiate a contract calling transaction to run the first smart contract in the blockchain.

[0071] For example, a timing task that is initiated every day can be set to initiate a contract calling transaction to run the first smart contract in the blockchain every day.

[0072] S404, running the remaining virtual resource query logic in the first smart contract to query whether the remaining virtual resource in the first account reaches a preset threshold.

[0073] The virtual resource can be any agreed resource, which is not limited here.

[0074] In this step, it can be queried whether there is a remaining virtual resource in the first account corresponding to the user. If there is, it means that the balance in the user account is sufficient, and the book and newspaper supply can be started. If not, it means that the user balance is insufficient, and the book and newspaper supply is not started. This is a guarantee for the provider.

[0075] S406, in the case where the remaining virtual resources reach the preset threshold, running first resource transfer logic in the first smart contract to transfer a first preset number of virtual resources from the first account to the second account, and running production task logic in the first smart contract to initiate a book and newspaper production task for the subscription user to the producer.

[0076] The first preset number, the second preset number, and the third preset number are used to distinguish different preset numbers in the present application. The first preset number can be set according to needs. In some embodiments, the first preset number is greater than the sum of the second preset number and the third preset number. In this way, the profit of the provider can be ensured.

[0077] In this step, in the case where the remaining virtual resources reach the preset threshold, the following two steps can be executed synchronously or asynchronously. First, running first resource transfer logic in the first smart contract to transfer a first preset number of virtual resources from the first account to the second account. In this step, the blockchain can record the transfer process.

[0078] Second, running production task logic in the first smart contract to initiate a book and newspaper production task for the subscription user to the producer. In this step, the first smart contract can generate a start generation instruction and send it to the producer client through the system (BaaS platform) to make the producer generate a book and newspaper based on the governance.

[0079] S408, in response to the producer triggering a complete production operation for the production task, running second resource transfer logic in the first smart contract to transfer a second preset number of virtual resources from the second account to the third account, and running delivery task logic in the first smart contract to initiate a book and newspaper delivery task for the subscription user to the delivery personnel.

[0080] In this step, the producer can notify the first smart contract that the production task is completed after completing the production task, so that the first smart contract can execute the following steps synchronously or asynchronously:

[0081] First, running second resource transfer logic in the first smart contract to transfer a second preset number of virtual resources from the second account to the third account. This ensures that the producer can receive corresponding remuneration after completing the production task and ensures his interests.

[0082] Second, run the delivery task logic in the first smart contract to initiate a book and newspaper delivery task for the subscription user to the delivery personnel. In this step, the first smart contract can generate a delivery order and send it to the delivery personnel client through the system (BaaS platform). The delivery order can include book and newspaper information to be delivered, delivery time, delivery address, etc. The delivery personnel can complete the delivery based on the delivery order.

[0083] S410, in response to the delivery personnel triggering the completion of the delivery operation for the delivery task, running the third resource transfer logic in the first smart contract to transfer a third preset amount of virtual resources from the second account to the fourth account, and running the first smart contract storage logic to store the book and newspaper supply record for the subscription user to the blockchain.

[0084] In this step, the delivery personnel can notify the first smart contract of the completion of the delivery after completing the delivery task, so that the first smart contract can synchronously or asynchronously execute the following steps:

[0085] First, run the third resource transfer logic in the first smart contract to transfer a third preset amount of virtual resources from the second account to the fourth account. Ensure that the delivery personnel can get the corresponding remuneration after completing the delivery, and ensure their interests.

[0086] Second, run the storage logic in the first smart contract to store the book and newspaper supply record for the subscription user to the blockchain. In this step, the first smart contract can generate record information for the supply process of the book and newspaper (including resource transfer, book and newspaper production, book and newspaper delivery, etc.), and generate a storage transaction to store the supply process record information in the blockchain.

[0087] Through the technical solutions recorded in S402-S410, the first smart contract can be used to drive the entire supply process of the book and newspaper, and the four parties of the user, the provider, the producer, and the delivery personnel can be connected to realize the credible storage of the book and newspaper supply information.

[0088] First, by storing all information about resource transfer and task execution in the four links of subscription book and newspaper, production book and newspaper, delivery book and newspaper, and delivery book and newspaper between the four parties through the blockchain, the book and newspaper supply record can be traced, and the characteristics of the blockchain can be used. Credible and traceable to accurately and credibly track book and newspaper supply information.

[0089] Second, by running the second resource transfer logic in the first smart contract to transfer a second preset number of virtual resources from the second account to the third account in response to the producer triggering a complete production operation for the production task, the first smart contract can be used to automatically implement resource transfer when the producer completes the delivery task, thereby solving the trust problem between the producer and the provider.

[0090] Third, by running the first resource transfer logic in the first smart contract to transfer a first preset number of virtual resources from the first account to the second account when the remaining virtual resources reach the preset threshold, the first smart contract can be used to deliver books, newspapers and periodicals to the user when there is enough balance in the user account and the resource transfer is completed, thereby solving the trust problem between the user and the provider.

[0091] Fourth, by running the third resource transfer logic in the first smart contract to transfer a third preset number of virtual resources from the second account to the fourth account in response to the delivery personnel triggering a complete delivery operation for the delivery task, the first smart contract can be used to transfer resources to the delivery personnel when the delivery personnel completes the delivery, thereby solving the trust problem between the delivery personnel and the provider.

[0092] In some embodiments, the system can run the first smart contract to send a top-up reminder to the subscription user when the remaining virtual resources do not reach the preset threshold.

[0093] The preset threshold can be set according to demand. The preset threshold can be less than or equal to the first preset number. In this way, it can be ensured that the account balance is sufficient to complete the book and newspaper supply.

[0094] In S404, when the remaining virtual resources do not reach the preset threshold, it can be determined that the user account balance is insufficient, a top-up reminder information can be constructed, and sent to the user client through the system (BaaS platform). In some ways, the subscription user can be reminded to top up in the form of a pop-up or an in-site message. The way of user top-up is not detailed here.

[0095] In this way, it can be ensured that the user account balance is sufficient, and the book and newspaper supply is normal.

[0096] In some embodiments, the system can also store a proof file of the producer completing the production, thereby ensuring that the resource transfer is performed only after the production is completed, and certain evidence can be left.

[0097] Specifically, the system further comprises:

[0098] receiving a complete production operation and a first proof file for the production task initiated by the producer through a corresponding producer client;

[0099] in response to the complete production operation, publishing a calling transaction for the first smart contract;

[0100] running second resource transfer logic in the first smart contract to transfer a second preset number of virtual resources from the second account to the third account, running task delivery logic in the first smart contract to initiate a book and newspaper delivery task for the subscription user to the delivery personnel, and running notarization logic in the first smart contract to notarize the first proof file and a complete production operation record on the blockchain.

[0101] The first proof file can be set according to needs. Through the above steps, the proof file of the completed production can be notarized on the blockchain, facilitating subsequent evidence pulling and improving the credibility of book and newspaper supply.

[0102] In some embodiments, the first proof file includes printing records, book and newspaper images, etc. The system can use OCR technology to analyze the book and newspaper images and extract the book and newspaper numbers therein. The extracted book and newspaper numbers can then be compared with the numbers of the book and newspaper to be produced in the production task, and in the case of consistent comparison, it is determined that the producer completes the production task. Then the second smart contract can complete the steps of resource transfer and initiation of the delivery task. In this way, the proof file can be verified by using the text recognition technology, further improving the credibility of book and newspaper supply.

[0103] In some embodiments, the system can also notarize the proof file of the delivery personnel completing the delivery, thereby ensuring that the resource transfer is performed only after the delivery is completed, and certain evidence can be left.

[0104] Specifically, the system further comprises:

[0105] receiving a complete production operation and a first proof file for the production task initiated by the producer through a corresponding producer client;

[0106] in response to the complete production operation, publishing a calling transaction for the first smart contract;

[0107] running second resource transfer logic in the first smart contract to transfer a second preset number of virtual resources from the second account to the third account, running task delivery logic in the first smart contract to initiate a book and newspaper delivery task for the subscription user to the delivery personnel, and running notarization logic in the first smart contract to notarize the first proof file and a complete production operation record on the blockchain.

[0108] The second proof file can be set according to requirements. Through the above steps, the proof file of the delivery can be completed through the block chain storage, and the subsequent evidence can be pulled, and the credibility of the book and newspaper supply can be improved.

[0109] In some embodiments, the second proof file includes location coordinates, book and newspaper delivery images, etc. The system can further:

[0110] In response to the delivery completion operation, the delivery address pre-filled by the subscription user is obtained;

[0111] The map information is queried to obtain the delivery coordinates corresponding to the delivery address;

[0112] In the case where the offset between the location coordinates and the delivery coordinates is below a preset threshold, a calling transaction for the first smart contract is published.

[0113] Then the second smart contract can complete the resource transfer and initiate the delivery task step.

[0114] Thus, the spatial comparison technology can be used to verify the second proof file, and the credibility of the book and newspaper supply can be further improved.

[0115] In some embodiments, the system can use OCR technology to analyze the book and newspaper delivery images, and extract the book and newspaper numbers therein. Then the extracted book and newspaper numbers can be compared with the numbers of the books and newspapers to be delivered in the delivery task, and in the case of consistent comparison, the spatial position comparison result is combined to determine whether the delivery personnel complete the delivery task. Then in the case of determining the completion of the delivery, the second smart contract can complete the resource transfer and initiate the delivery task step.

[0116] Thus, the text recognition technology and spatial comparison technology can be used to verify the proof file, and the credibility of the book and newspaper supply can be further improved.

[0117] Those skilled in the art will appreciate that one or more embodiments of the application can be provided as methods, systems or computer program products. Therefore, one or more embodiments of the application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Moreover, one or more embodiments of the application can take the form of a computer program product implemented on one or more computer-usable storage media (which can include, but is not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0118] The "and / or" in the present application means at least one of the two. The various embodiments in the present application are described in a progressive manner, and the same or similar parts between various embodiments can be referred to each other, and each embodiment focuses on the difference from other embodiments. In particular, for the data processing device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiments.

[0119] While the present application contains many specific embodiments, these should not be construed as limiting the scope or range of any disclosure or any claims hereof but merely as describing detailed

[0120] Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring or implying that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing can be advantageous. Moreover, the separation of various system modules and components in the embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.

[0121] The above merely provides the preferred embodiments of one or more embodiments of the present application, and does not limit one or more embodiments of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present application shall be included in the protection scope of one or more embodiments of the present application.

Claims

1. A book and periodical supply chain information system, characterized in that, The system is a blockchain-based system, which includes a first account corresponding to book and periodical subscribers, a second account corresponding to book and periodical service providers, a third account corresponding to book and periodical producers, and a fourth account corresponding to book and periodical delivery personnel; the blockchain publishes a first smart contract that has reached a consensus for completing the supply of books and periodicals. The system: A contract call transaction is initiated through a scheduled task, which invokes the first smart contract; Run the remaining virtual resource query logic in the first smart contract to query whether the remaining virtual resources in the first account have reached a preset threshold. When the remaining virtual resources reach the preset threshold, the first resource transfer logic in the first smart contract is executed to transfer a first preset number of virtual resources from the first account to the second account, and the production task logic in the first smart contract is executed to initiate a book and magazine production task for the subscriber to the manufacturer. In response to the manufacturer's completion of production operation triggered for the production task, the second resource transfer logic in the first smart contract is executed to transfer a second preset number of virtual resources from the second account to the third account, and the delivery task logic in the first smart contract is executed to initiate a book and magazine delivery task for the subscriber to the delivery personnel. In response to the delivery personnel's completion of the delivery task, the third resource transfer logic in the first smart contract is executed to transfer a third preset amount of virtual resources from the second account to the fourth account, and the evidence storage logic in the first smart contract is executed to store the book and periodical supply records for the subscriber in the blockchain.

2. The system according to claim 1, characterized in that, The system: If the remaining virtual resources do not reach the preset threshold, the recharge logic in the first smart contract is executed to send a recharge reminder to the subscribing user.

3. The system according to claim 2, characterized in that, The system in question is a blockchain and services BaaS system.

4. The system according to claim 3, characterized in that, The system further includes: Receive the first proof document for the production task initiated by the manufacturer through the corresponding manufacturer client, confirming the completion of the production operation; In response to the completion of the production operation, a call transaction for the first smart contract is issued; The system executes the second resource transfer logic in the first smart contract to transfer a second preset amount of virtual resources from the second account to the third account, and executes the delivery task logic in the first smart contract to initiate a book and magazine delivery task for the subscriber to the delivery personnel, and executes the evidence storage logic in the first smart contract to store the first proof document and the production operation completion record on the blockchain.

5. The system according to claim 3, characterized in that, The system further includes: Receive the delivery personnel's completion of the delivery operation and a second proof document for the delivery task initiated through the corresponding delivery personnel client; In response to the completion of the delivery operation, a call transaction for the first smart contract is published; The third resource transfer logic in the first smart contract is executed to transfer a third preset amount of virtual resources from the second account to the fourth account, and the evidence storage logic in the first smart contract is executed to store the second proof document and the completion of the delivery operation record on the blockchain.

6. The system according to claim 5, characterized in that, The second supporting document includes the location coordinates at the time the delivery operation was initiated; The system further includes: In response to the completion of the delivery operation, the delivery address pre-filled by the subscriber is obtained; Query map information to obtain the delivery coordinates corresponding to the delivery address; If the offset between the location coordinates and the delivery coordinates is less than a preset threshold, a call transaction for the first smart contract is issued.

7. The system according to claim 1, characterized in that, The blockchain publishes a second smart contract that has reached consensus for online signing of smart contracts; the system further: In response to the online signing request of the first smart contract, a contract call transaction for the second smart contract is initiated; Run the first sending logic in the second smart contract to send the first smart contract to the subscribing user, so that the subscribing user adds a user signature after confirming the first smart contract; In response to receiving a first smart contract with the user's signature, the second sending logic in the second smart contract is executed to send the first smart contract to the book and periodical manufacturer, so that the book and periodical manufacturer adds its signature after confirming the first smart contract; In response to receiving a first smart contract with the user's signature and the manufacturer's signature, the third sending logic in the second smart contract is executed to send the first smart contract to the book and newspaper delivery personnel, so that the book and newspaper delivery personnel add their signature after confirming the first smart contract. In response to receiving a first smart contract containing the user's signature, the manufacturer's signature, and the delivery person's signature, the fourth sending logic in the second smart contract is executed to send the first smart contract to the book and periodical service provider, so that the book and periodical service provider adds its signature after confirming the first smart contract.

8. The system according to claim 7, characterized in that, The system further includes: In response to receiving the first smart contract returned by the book and periodical service provider, the signature verification logic in the second smart contract is executed to determine the signature information contained in the first smart contract; If it is determined that the first smart contract contains the user's signature, the manufacturer's signature, the delivery person's signature, and the provider's signature, the first smart contract is published.

Citation Information

Patent Citations

  • Same-school book resource circulation management system based on block chain

    CN111724160A

  • Digital commodity transaction method and device based on block chain

    CN112883109A