CN111522790A - IPFS data transaction method, device and equipment based on BigBang Core block chain e-commerce template - Google Patents

IPFS data transaction method, device and equipment based on BigBang Core block chain e-commerce template Download PDF

Info

Publication number
CN111522790A
CN111522790A CN202010315622.9A CN202010315622A CN111522790A CN 111522790 A CN111522790 A CN 111522790A CN 202010315622 A CN202010315622 A CN 202010315622A CN 111522790 A CN111522790 A CN 111522790A
Authority
CN
China
Prior art keywords
space
storage
ipfs
challenge
supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010315622.9A
Other languages
Chinese (zh)
Other versions
CN111522790B (en
Inventor
文格彬
尚庆东
钟锦
刘智慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunming Dagangke Technology Co ltd
Original Assignee
Kunming Dagangke Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kunming Dagangke Technology Co ltd filed Critical Kunming Dagangke Technology Co ltd
Priority to CN202010315622.9A priority Critical patent/CN111522790B/en
Publication of CN111522790A publication Critical patent/CN111522790A/en
Application granted granted Critical
Publication of CN111522790B publication Critical patent/CN111522790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1834Distributed file systems implemented based on peer-to-peer networks, e.g. gnutella
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0208Trade or exchange of goods or services in exchange for incentives or rewards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3271Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using challenge-response

Abstract

The invention relates to an IPFS (internet protocol file system) data transaction method, device and equipment based on a BigBang Core block chain E-commerce template, which can acquire supply and demand information of an IPFS storage space of an interplanetary file system, receive and establish transaction information when space supply and demand parties determine that storage space transaction is required, generate a transaction link, send storage data to a space supplier by a space demand party, and store the storage data by the space supplier. In the process of storage, a space supplier may receive a challenge initiated by a space demander or a blockchain platform, and if the storage address fed back by the space supplier for responding to the storage challenge is accessible on the storage address, the challenge is successful. The technical scheme of the invention does not limit the type of the storage content, has wide application range and clear supply and demand relation, can prove the storage benefit of the IPFS on the premise of not using complicated space-time certification and replication certification, does not need to occupy time and space to construct a basic library, and has simple and rapid proving process.

Description

IPFS data transaction method, device and equipment based on BigBang Core block chain e-commerce template
Technical Field
The invention relates to the technical field of computers, in particular to an IPFS (Internet protocol file system) data transaction method, device and equipment based on a BigBang Core block chain e-commerce template.
Background
The interplanetary File System (IPFS) is a peer-to-peer distributed File System, and is intended to connect all computer devices running IPFS software. IPFS combines DHT technology, block exchange with incentive mechanism, and Merckel tree-based file storage technology to create an Internet file storage system without a single point of failure.
Currently, IPFS storage space is traded mainly based on FileCoin. FileCoin is a decentralized storage network that allows cloud storage to become an algorithmic market that runs on the FileCoin public chain. Miners in the blockchain may obtain rewards by providing storage for customers, and instead customers may employ miners to store or distribute data for themselves by spending rewards.
However, the IPFS storage gain of FileCoin is realized through space-time certification and replication certification, the space-time certification and replication certification functions are not perfect, and in order to realize the space-time certification and the replication certification, a large amount of time and space are consumed to construct a basic library, so that the IPFS storage gain certification is complex in process and causes waste of storage space.
Disclosure of Invention
In view of this, the present invention aims to provide a method, an apparatus, and a device for trading IPFS data based on a BigBang Core block chaining e-commerce template, so as to overcome the problems that the existing IPFS storage profit proving process is not only complicated, but also causes waste of storage space.
In order to achieve the purpose, the invention adopts the following technical scheme:
a BigBang Core blockchain e-commerce template-based IPFS data transaction method is applied to a blockchain platform and comprises the following steps:
acquiring supply and demand information of an IPFS storage space;
after a transaction instruction based on target supply and demand information is received, establishing a transaction link between a space demand party and a space supply party so that the space demand party sends storage data to the space supply party for storage;
performing a storage challenge to the space supplier;
accessing the space supplier to a storage address corresponding to the storage challenge feedback, and verifying whether the storage data can be accessed on the storage address;
if so, transferring the corresponding installment reward money in the account of the space demand party to the account of the space supply party according to a preset service rule.
Further, the above IPFS data transaction method based on the BigBang Core block chaining e-commerce template further includes:
and if the storage data cannot be accessed on the storage address, punishing the space supplier according to the service rule.
Further, the above IPFS data transaction method based on BigBang Core block chaining e-commerce template, the storage challenge to the space supplier, comprising:
acquiring a challenge instruction sent by the space demander, or generating the challenge instruction according to a preset rule;
and performing the storage challenge to the space supplier according to the challenge instruction.
Further, the above IPFS data transaction method based on BigBang Core block chaining e-commerce template, which establishes a transaction link between a space demand party and a space supply party, includes:
acquiring the transaction instruction initiating address, and tracing a response address in the target supply and demand information on the block chain platform;
establishing the transaction link based on the origination address and the response address.
Further, the above IPFS data transaction method based on BigBang Core block chaining e-commerce template, wherein the supply and demand information includes demand information of the IPFS storage space and supply information of the IPFS storage space;
the obtaining of the supply and demand information of the storage space of the interplanetary file system IPFS comprises:
and acquiring the demand information of the IPFS storage space issued by the space demand side and the supply information of the IPFS storage space issued by the space supply side.
The invention also provides an IPFS data transaction device based on the BigBang Core block chain e-commerce template, which is applied to a block chain platform and comprises: the system comprises an acquisition module, a link establishment module, a challenge module, a verification module and a transfer module;
the acquisition module is used for acquiring supply and demand information of an IPFS storage space;
the link establishing module is used for establishing a transaction link related to a space demand party and a space supply party after receiving a transaction instruction based on target supply and demand information so as to enable the space demand party to send storage data to the space supply party for storage;
the challenge module is used for carrying out storage challenge to the space supplier;
the verification module is used for accessing the storage address fed back by the space supplier in response to the storage challenge and verifying whether the storage data can be accessed on the storage address;
and the transfer module is used for transferring the corresponding installment reward money in the account of the space demand party to the account of the space supplier according to a preset service rule if the space demand party is in the working state.
Further, the IPFS data transaction device based on the BigBang Core block chaining E-commerce template further comprises a penalty module;
and the punishment module is used for punishing the space supplier according to the service rule if the storage data cannot be accessed on the storage address.
Further, the above IPFS data transaction apparatus based on the BigBang Core block chaining e-commerce template, the challenge module, is specifically configured to obtain a challenge instruction sent by the space demander, or generate the challenge instruction according to a preset rule;
and performing the storage challenge to the space supplier according to the challenge instruction.
Further, in the above IPFS data transaction apparatus based on the BigBang Core block chain e-commerce template, the link establishment module is specifically configured to acquire the transaction instruction initiation address, and trace back the response address in the target supply and demand information on the block chain;
the basic invention also provides IPFS data transaction equipment based on the BigBang Core block chaining E-commerce template, which comprises a processor and a memory, wherein the processor is connected with the memory:
the processor is used for calling and executing the program stored in the memory;
the memory is used for storing the program, and the program is at least used for executing the IPFS data transaction method based on the BigBang Core block chain E-commerce template.
The invention discloses an IPFS (Internet protocol file system) data transaction method, device and equipment based on a BigBang Core block chain E-commerce template, which are applied to a decentralized block chain platform and can acquire supply and demand information of an IPFS storage space of an interplanetary file system. In the process of storage, a challenge is initiated to the space supplier, and the space supplier is accessed to a storage address responding to the storage challenge, and if the storage data can be accessed to the storage address, the challenge is successful. The technical scheme of the invention does not limit the type of the storage content, has wide application range and clear supply and demand relation, can prove the storage benefit of the IPFS on the premise of not using complicated space-time certification and replication certification, does not need to occupy time and space to construct a basic library, and has simple and rapid proving process.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart provided by one embodiment of the present invention of a BigBang Core blockchain eCommerce template based IPFS data transaction method;
FIG. 2 is a schematic diagram of an embodiment of the IPFS data transaction device based on the BigBang Core block chain E-commerce template according to the present invention;
fig. 3 is a schematic structural diagram of an IPFS data transaction apparatus based on the BigBang Core block chain e-commerce template according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
The BigBang Core is a block chain application system which divides the main chain data and the application data and stores the system block data by a tree-shaped block structure of 'safe main chain + multiple application branched chains'. The EDPoS + CPoW form is used as a consensus mechanism generated by system blocks, the system is safe and stable, the transaction processing speed is high, and the requirements of all application scenes of the Internet of things can be almost met. The BigBang Core decentralized e-commerce template is suitable for decentralized point-to-point e-commerce transactions. The method can drive both sides of the transaction to finish the transaction in good faith without a third party arbitration mechanism by a mortgage transaction mode. In this embodiment, a decentralized blockchain transaction platform of interplanetary file System (IPFS) data is created through the BigBang Core decentralized blockchain e-commerce template, and a buyer and a seller can perform point-to-point transaction on the blockchain platform.
FIG. 1 is a flow chart of an embodiment of the IPFS data transaction method based on the BigBang Core block chaining E-commerce template. Referring to fig. 1, the application of the present embodiment to a decentralized block chain platform may include the following steps:
s101, obtaining supply and demand information of an IPFS storage space;
in this embodiment, supply and demand information of the IPFS storage space may be acquired. The supply and demand information includes demand information of the IPFS storage space and supply information of the IPFS storage space, specifically, bandwidth, unit price, capacity, and the like of the demanded or supplied storage space.
In this embodiment, the demand information of the IPFS storage space issued by the space demand party and the supply information of the IPFS storage space issued by the space supply party are acquired, so that the space supply and demand party determines whether to establish a transaction by browsing the demand information of the IPFS storage space and the supply information of the IPFS storage space.
S102, after receiving a transaction instruction based on the target supply and demand information, establishing a transaction link related to a space demand party and a space supply party so that the space demand party sends storage data to the space supply party for storage;
if the space demand party or the space supplier determines the target supply and demand information meeting the requirement of the space demand party or the space supplier by browsing the supply and demand information of the IPFS, a transaction instruction based on the target supply and demand information can be established.
In this embodiment, after receiving the transaction instruction based on the target supply and demand information, a transaction link between the space demanding party and the space supplying party may be established.
The transaction link may be established as follows: acquiring a transaction instruction initiating address, tracing a response address in the target supply and demand information on a block chain platform, and establishing a transaction link based on the initiating address and the response address.
Specifically, if a transaction instruction based on target supply and demand information is initiated by a space demander, the initiation address of the space demander can be acquired, information tracing is performed on a block chain platform, and a response address corresponding to the space demander in the target supply and demand information is determined, then a transaction link can be established according to the initiation address and the response address, so that the space demander sends storage data to the space demander for storage through the transaction link. If the transaction instruction based on the target supply and demand information is initiated by the space supplier, the initiating address of the space supplier is obtained, and the response address of the space demand supplier is traced on the block chain platform to establish the transaction link.
S103, carrying out storage challenge to a space supplier;
in this embodiment, in order to verify whether the space supplier stores the storage data, the storage challenge may be periodically or aperiodically issued to the space supplier.
Specifically, in this embodiment, a challenge instruction sent by the space demander periodically or aperiodically may be acquired, or a challenge instruction may be automatically generated periodically or aperiodically, and then a storage challenge may be performed to the space supplier according to the challenge instruction.
S104, verifying whether the storage data can be accessed on the storage address for the storage address responding to the storage challenge feedback by the access space supplier;
the space supplier feeds back the storage certification after receiving the challenge, if the challenge instruction is initiated by the space demander, the space supplier can feed back the storage certification to the space demander, and the space demander sends the storage certification to the block chain platform, and if the challenge instruction is initiated by the block chain platform, the space supplier can feed back the storage certification to the block chain platform.
Generally, common forms of proof are storage proof and space-time proof, however, the implementation of the copy proof and space-time proof is complicated, and in order to implement the space-time proof and the copy proof, a very large base library needs to be implemented, so that the IPFS storage profit proof is not only complicated in process, but also causes waste of storage space.
In this embodiment, the storage certification is a storage address for storing data, and the access space provider verifies whether the storage data can be accessed at the storage address for responding to the storage challenge feedback, and if the storage data can be accessed at the storage address, it indicates that the space provider has indeed performed storage according to an agreement, and does not track how the storage data is specifically stored, and does not need to occupy time and space to construct a basic library, so that the certification process is simple and fast.
S105, if yes, transferring the corresponding installment reward money in the account of the space demand party to the account of the space supply party according to a preset service rule;
if the storage data can be accessed on the storage address, the space supplier really stores the data according to the agreement, and the corresponding installment reward money in the account of the space supplier is transferred to the account of the space supplier according to the preset service rule.
Specifically, the service rule may be negotiated with the space supplier or the space demander before initiating the transaction instruction, or may be a service rule established in the blockchain platform, which is not limited in this embodiment. For example, the service rules may be set up in the following mode: the space supplier can take the installment reward money once every time the challenge succeeds, and the space supplier can take the reward money completely after reaching a certain height (for example, the space supplier completes ten challenges). The transaction parties can set the height to be high, and only if the space provider provides services truthfully, the reward money can be finally sent to the service provider. In addition, when both trading parties contract trading rules, the mode of 'quota x loyalty service coefficient' and the like is used for the installment reward amount, the longer the service time is, the higher the installment reward amount is, and otherwise, if the challenge fails, the higher the loss of the space supplier is.
Further, after the transaction of the space supplier and the space demander is expired, the space supplier or the space demander can initiate the transaction again, so that the space supplier can continue to store the storage data of the space demander and can obtain the corresponding reward.
The IPFS data transaction method based on the BigBang Core block chain E-commerce template is applied to a decentralized block chain platform, can obtain supply and demand information of an IPFS storage space of an interplanetary file system, receives and establishes transaction information when space supply and demand parties determine that storage space transaction needs to be carried out, generates a transaction link, and sends storage data to a space supplier through the transaction link by a space demander, and the space supplier stores the storage data. In the process of storage, a challenge is initiated to the space supplier, and the space supplier is accessed to a storage address responding to the storage challenge, and if the storage data can be accessed to the storage address, the challenge is successful. The technical scheme of the invention does not limit the type of the storage content, has wide application range and clear supply and demand relation, can prove the storage benefit of the IPFS on the premise of not using complicated space-time certification and replication certification, does not need to occupy time and space to construct a basic library, and has simple and rapid proving process.
Further, the present embodiment may further include the following steps: if the storage data is not accessible at the storage address, the space provider is penalized according to the service rule.
Specifically, if the storage data is not accessed on the storage address, which indicates that the space supplier does not faithfully store the storage data, the space supplier may be punished in such a way that the space supplier and the space demander can make a contract in advance, for example, the space supplier cannot take the remaining regular bonus or replace other space suppliers.
The invention also provides an IPFS data transaction device based on the BigBang Core block chain e-commerce template, which is used for realizing the embodiment of the method. Fig. 2 is a schematic structural diagram of an IPFS data transaction apparatus based on a BigBang Core block chain e-commerce template according to an embodiment of the present invention, referring to fig. 2, the embodiment may include: the system comprises an acquisition module 11, a link establishment module 12, a challenge module 13, a verification module 14 and a transfer module 15;
the acquisition module 11 is used for acquiring supply and demand information of an IPFS storage space;
the link establishing module 12 is configured to establish a transaction link between the space demanding party and the space supplying party after receiving a transaction instruction based on the target supply and demand information, so that the space demanding party sends the storage data to the space supplying party for storage;
a challenge module 13 for storing challenges to the space supplier;
a verification module 14, configured to verify, by the access space supplier, whether the storage data can be accessed at the storage address for responding to the storage challenge feedback;
and the transfer module 15 is used for transferring the corresponding installment reward money in the account of the space demand party to the account of the space supply party according to a preset service rule if the storage data can not be accessed on the storage address.
Further, the system also comprises a penalty module;
and the punishment module is used for punishing the space supplier according to the service rule if the storage data cannot be accessed on the storage address.
Further, the challenge module is specifically configured to acquire a challenge instruction sent by a space demander, or generate the challenge instruction according to a preset rule;
and storing the challenge to the space supplier according to the challenge instruction.
Further, the link establishing module is specifically configured to obtain a transaction instruction initiating address, and trace back a response address in the target supply and demand information on the block chain;
based on the origination address and the response address, a transaction link is established.
Further, the supply and demand information comprises demand information of the IPFS storage space and supply information of the IPFS storage space;
the obtaining module is specifically configured to obtain demand information of the IPFS storage space issued by the space demand side and supply information of the IPFS storage space issued by the space supply side.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The invention also provides a group of IPFS data transaction equipment based on the BigBang Core block chain electronic commerce template, which is used for realizing the embodiment of the method. Fig. 3 is a schematic structural diagram of an embodiment of the IPFS data transaction apparatus based on the BigBang Core block chaining e-commerce template according to the present invention, referring to fig. 3, the IPFS data transaction apparatus based on the BigBang Core block chaining e-commerce template according to the present embodiment includes a processor 21 and a memory 22, where the processor 21 is connected to the memory 22:
wherein, the processor 21 is configured to call and execute a program stored in the memory 22;
the memory 22 is used for storing the program, and the program is at least used for executing the IPFS data transaction method based on the BigBang Core block chain e-commerce template described in the above embodiment.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A BigBang Core block chain e-commerce template-based IPFS data transaction method is applied to a block chain platform and comprises the following steps:
acquiring supply and demand information of an IPFS storage space;
after a transaction instruction based on target supply and demand information is received, establishing a transaction link between a space demand party and a space supply party so that the space demand party sends storage data to the space supply party for storage;
performing a storage challenge to the space supplier;
accessing the space supplier to a storage address corresponding to the storage challenge feedback, and verifying whether the storage data can be accessed on the storage address;
if so, transferring the corresponding installment reward money in the account of the space demand party to the account of the space supply party according to a preset service rule.
2. The BigBang Core block chaining e-commerce template based IPFS data transaction method of claim 1, further comprising:
and if the storage data cannot be accessed on the storage address, punishing the space supplier according to the service rule.
3. The BigBang Core block chaining e-commerce template based IPFS data transaction method of claim 1, wherein said storage challenge to the space supplier comprises:
acquiring a challenge instruction sent by the space demander, or generating the challenge instruction according to a preset rule;
and performing the storage challenge to the space supplier according to the challenge instruction.
4. The BigBang Core block chaining e-commerce template based IPFS data transaction method of claim 1, wherein said establishing a transaction link with respect to space demanding parties and space supplying parties comprises:
acquiring the transaction instruction initiating address, and tracing a response address in the target supply and demand information on the block chain platform;
establishing the transaction link based on the origination address and the response address.
5. The BigBang Core block chaining e-commerce template based IPFS data transaction method of claim 1, wherein the supply and demand information includes demand information of the IPFS storage space and supply information of the IPFS storage space;
the obtaining of the supply and demand information of the storage space of the interplanetary file system IPFS comprises:
and acquiring the demand information of the IPFS storage space issued by the space demand side and the supply information of the IPFS storage space issued by the space supply side.
6. An IPFS data transaction device based on a BigBang Core block chain e-commerce template is applied to a block chain platform and comprises: the system comprises an acquisition module, a link establishment module, a challenge module, a verification module and a transfer module;
the acquisition module is used for acquiring supply and demand information of an IPFS storage space;
the link establishing module is used for establishing a transaction link related to a space demand party and a space supply party after receiving a transaction instruction based on target supply and demand information so as to enable the space demand party to send storage data to the space supply party for storage;
the challenge module is used for carrying out storage challenge to the space supplier;
the verification module is used for accessing the storage address fed back by the space supplier in response to the storage challenge and verifying whether the storage data can be accessed on the storage address;
and the transfer module is used for transferring the corresponding installment reward money in the account of the space demand party to the account of the space supplier according to a preset service rule if the space demand party is in the working state.
7. The BigBang Core block chaining e-commerce template based IPFS data transaction apparatus of claim 6, further comprising a penalty module;
and the punishment module is used for punishing the space supplier according to the service rule if the storage data cannot be accessed on the storage address.
8. The IPFS data transaction device based on the BigBang Core block chaining E-commerce template as claimed in claim 6, wherein the challenge module is specifically configured to obtain a challenge instruction sent by the space demander, or generate the challenge instruction according to a preset rule;
and performing the storage challenge to the space supplier according to the challenge instruction.
9. The IPFS data transaction device based on the BigBang Core block chain E-commerce template as claimed in claim 6, wherein the link establishment module is specifically configured to obtain the transaction instruction initiation address, and trace back the response address in the target supply and demand information on the block chain;
establishing the transaction link based on the origination address and the response address.
10. An IPFS data transaction device based on a BigBang Core blockchain e-commerce template, characterized by comprising a processor and a memory, wherein the processor is connected with the memory:
the processor is used for calling and executing the program stored in the memory;
the memory for storing the program for performing at least the BigBang Core block chaining IPFS data trading method based on the template of any one of claims 1-5.
CN202010315622.9A 2020-04-21 2020-04-21 IPFS data transaction method, device and equipment based on BigBang Core block chain electronic commerce template Active CN111522790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010315622.9A CN111522790B (en) 2020-04-21 2020-04-21 IPFS data transaction method, device and equipment based on BigBang Core block chain electronic commerce template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010315622.9A CN111522790B (en) 2020-04-21 2020-04-21 IPFS data transaction method, device and equipment based on BigBang Core block chain electronic commerce template

Publications (2)

Publication Number Publication Date
CN111522790A true CN111522790A (en) 2020-08-11
CN111522790B CN111522790B (en) 2023-11-14

Family

ID=71901945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010315622.9A Active CN111522790B (en) 2020-04-21 2020-04-21 IPFS data transaction method, device and equipment based on BigBang Core block chain electronic commerce template

Country Status (1)

Country Link
CN (1) CN111522790B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395652A (en) * 2017-09-08 2017-11-24 郑州云海信息技术有限公司 A kind of integrity of data stored inspection method, apparatus and system
EP3249599A1 (en) * 2016-05-27 2017-11-29 Sony Corporation Blockchain-based system, and electronic apparatus and method in the system
CN108664221A (en) * 2018-05-11 2018-10-16 北京奇虎科技有限公司 A kind of data proof of possession method, apparatus and readable storage medium storing program for executing
US20190123892A1 (en) * 2017-10-24 2019-04-25 0Chain, LLC Systems and methods of self-forking blockchain protocol
CN110321074A (en) * 2019-05-20 2019-10-11 西安电子科技大学 The common recognition method proved based on the secure storage of block chain and distributed memory system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3249599A1 (en) * 2016-05-27 2017-11-29 Sony Corporation Blockchain-based system, and electronic apparatus and method in the system
CN107395652A (en) * 2017-09-08 2017-11-24 郑州云海信息技术有限公司 A kind of integrity of data stored inspection method, apparatus and system
US20190123892A1 (en) * 2017-10-24 2019-04-25 0Chain, LLC Systems and methods of self-forking blockchain protocol
CN108664221A (en) * 2018-05-11 2018-10-16 北京奇虎科技有限公司 A kind of data proof of possession method, apparatus and readable storage medium storing program for executing
CN110321074A (en) * 2019-05-20 2019-10-11 西安电子科技大学 The common recognition method proved based on the secure storage of block chain and distributed memory system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
知乎: "PoST_PoRep在BigBang主链中的应用场景和激励实现", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/75940731》 *

Also Published As

Publication number Publication date
CN111522790B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
US10554407B1 (en) Protocols for decentralized networks
TW202038173A (en) Blockchain-based data processing system and method, computing device and storage medium
EP3878161B1 (en) Intelligent, decentralized and autonomous marketplace for distributed computing and storage
CN112907082B (en) Block chain consensus algorithm evaluation optimization method
US11379866B2 (en) Retrieving values of digital tickets using smart contracts in blockchain networks
CN110866753B (en) Third party settlement control method and device, electronic equipment and storage medium
CN109447605A (en) A kind of chain currency conversion method, apparatus, equipment and medium based on block chain
CN112488725B (en) Private authorized transfer method, device and storage medium
CN113672637A (en) Block chain-based product supply chain green electricity consumption accounting method, device and platform
CN112714198B (en) File transmission method and system of ESB system
CN112565370B (en) Method and system for verifying calculation result based on wireless communication and block chain scene
CN110544143B (en) Contract establishing method and device for grouping credit project
CN111522790A (en) IPFS data transaction method, device and equipment based on BigBang Core block chain e-commerce template
WO2021238516A1 (en) Method and device for generating resource allocation data
Li et al. Resource allocation for mobile blockchain: A hierarchical combinatorial auction approach
CN113298574A (en) Block chain-based point management method and device and storage medium
US10991045B2 (en) Blockchain-based settlement method, apparatus, and electronic device
CN112598411A (en) Retrievable privacy authorization transfer method, apparatus and storage medium
CN112036850A (en) Digital asset data access method and device and digital asset transaction system
CN113298508B (en) Digital currency transaction method and system
US11650960B2 (en) Distributed ledger technology platform
NL2024395B1 (en) Public chain-based token exchange method and blockchain system
CN116562929A (en) Point exchange method based on blockchain and related equipment
CN117499047A (en) Node information updating method based on block chain under multi-virtual power plant interaction scene
CN117544661A (en) Self-adaptive digital twin deployment and transfer method for view networking calculation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant