CN110706045A - Transaction data storage method, system, service platform and storage medium - Google Patents

Transaction data storage method, system, service platform and storage medium Download PDF

Info

Publication number
CN110706045A
CN110706045A CN201810747730.6A CN201810747730A CN110706045A CN 110706045 A CN110706045 A CN 110706045A CN 201810747730 A CN201810747730 A CN 201810747730A CN 110706045 A CN110706045 A CN 110706045A
Authority
CN
China
Prior art keywords
service platform
user
block
distribution
leasing
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.)
Pending
Application number
CN201810747730.6A
Other languages
Chinese (zh)
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810747730.6A priority Critical patent/CN110706045A/en
Publication of CN110706045A publication Critical patent/CN110706045A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention discloses a transaction data storage method, a system, a service platform and a storage medium, and relates to the technical field of block chains. The transaction data storage method comprises the following steps: the service platform generates a transaction record comprising lease information between a leasing user and a lessee so that the block chain nodes generate blocks comprising the transaction record and the blocks are linked; the service platform collects the certificate generated by responding to the block generation of the block chain node and the certificate paid by the lessee; the service platform distributes the collected certificate to the renting user and the block chain node; and the service platform records the certificate distribution result into the block chain. Therefore, the transaction process can be credible, public and transparent, the safety of lease transaction is improved, and the transaction activity of the service platform is also improved.

Description

Transaction data storage method, system, service platform and storage medium
Technical Field
The invention relates to the technical field of block chains, in particular to a transaction data storage method, a transaction data storage system, a transaction data storage service platform and a transaction data storage medium.
Background
At present, the purchasing power of people is gradually increased, along with the gradual increase of idle articles, and some leasing websites are produced at the same time. The user can rent idle items or rent needed items on the website.
However, the current rental information is stored by the platform and the service platform collects and issues rental funds to the user during the transaction. The transaction process is not transparent to the whole network, and the transaction data is easy to be tampered, so that the potential safety hazard is large.
Disclosure of Invention
The embodiment of the invention aims to solve the technical problem that: how to improve the security of the rental transaction.
According to a first aspect of some embodiments of the present invention there is provided a transaction data storage method comprising: the service platform generates a transaction record comprising lease information between a leasing user and a lessee so that the block chain nodes generate blocks comprising the transaction record and the blocks are linked; the service platform collects the certificate generated by responding to the block generation of the block chain node and the certificate paid by the lessee; the service platform distributes the collected certificate to the renting user and the block chain node; and the service platform records the certificate distribution result into the block chain.
In some embodiments, in response to the triggering of the timed task, the service platform runs an intelligent contract module for distributing the collected credentials to the leasing users and blockchain nodes.
In some embodiments, the service platform assigning the collected credentials to block link points comprises: the service platform determines a first allocation proportion according to a weighted calculation result of at least one of the bandwidth of the block chain node, the number of generated blocks in unit time and the storage space; the service platform determines a first distribution quantity according to the first distribution proportion and the quantity of the certificates collected in unit time; the service platform allocates a first allocated number of credentials to the blockchain node.
In some embodiments, the distributing of the collected credentials to the lending user by the service platform comprises: the service platform determines a second distribution proportion according to the lease information read from the block chain; the service platform determines a second distribution quantity according to the second distribution proportion and the quantity of the certificates collected in unit time; and the service platform distributes the second distributed amount of the certificate to the leasing user.
In some embodiments, the transaction data storage method further comprises: the service platform determines a third distribution quantity according to a preset third distribution proportion and the quantity of the vouchers collected in unit time; and the service platform distributes the third distribution amount of the voucher to the service platform.
In some embodiments, the number of vouchers generated in response to block link points generating a block including a transaction record is determined from a block number and a preset total number of vouchers.
In some embodiments, the transaction data storage method further comprises: the service platform acquires renting object information uploaded by a renting user through a decentralized application program; the service platform stores the renting object information in a distributed file system; and responding to a request for viewing the rented object initiated by the rented user, and sending the rented object information to the rented user by the service platform through the decentralized application program.
In some embodiments, in response to a rental user agreeing to a rental application for a rental object initiated by a rental user, the intelligent contract module of the service platform performs an operation of generating a transaction record including rental information between the rental user and the rental user.
According to a second aspect of some embodiments of the present invention, there is provided a service platform, comprising: a transaction record generating module configured to generate a transaction record including lease information between a leasing user and a lessee user so that the block chain node generates a block including the transaction record and chains the block; a credential collection module configured to collect credentials generated in response to the block link point generating block and credentials paid by the tenant; a credential distribution module configured to distribute collected credentials to leasing users and blockchain nodes; and the distribution result recording module is configured to record the certificate distribution result into the block chain.
In some embodiments, the credential distribution module is further configured to run an intelligent contract module for distributing the collected credentials to the leasing user and the blockchain node in response to triggering of the timing task.
In some embodiments, the credential allocation module is further configured to determine a first allocation ratio based on a weighted calculation of at least one of a bandwidth of the blockchain node, a number of generated blocks per unit time, and storage space; determining a first distribution quantity according to the first distribution proportion and the quantity of the collected certificates in unit time; a first allocated number of credentials is allocated to the blockchain node.
In some embodiments, the credential allocation module is further configured to determine a second allocation proportion according to the lease information read from the blockchain; determining a second distribution quantity according to the second distribution proportion and the quantity of the collected certificates in the unit time; the second allocated amount of credentials is allocated to the leasing user.
In some embodiments, the voucher distribution module is further configured to determine a third distribution amount according to a preset third distribution proportion and the number of vouchers collected in the unit time; and distributing the third distributed amount of the voucher to the service platform.
In some embodiments, the number of vouchers generated in response to block link points generating a block including a transaction record is determined from a block number and a preset total number of vouchers.
In some embodiments, the service platform further comprises: the system comprises a leasing object information management module, a leasing application program management module and a leasing object information management module, wherein the leasing object information management module is configured to acquire leasing object information uploaded by a leasing user through a decentralized application program; storing the leasing object information in a distributed file system; and sending the rented object information to the rented user through the decentralized application program in response to the rented user initiating a viewing request for the rented object.
In some embodiments, the transaction record generation module is further configured to perform, by the smart contract module, an operation of generating the transaction record including lease information between the leasing user and the leasing user in response to the leasing user agreeing to a lease application for the leasing object initiated by the leasing user.
According to a third aspect of some embodiments of the present invention, there is provided a rental data storage system, comprising: any of the foregoing service platforms; and a blockchain node.
In some embodiments, the rental data storage system further comprises: a distributed file system configured to store rental object information.
According to a fourth aspect of some embodiments of the present invention, there is provided a service platform, comprising: a memory; and a processor coupled to the memory, the processor configured to perform any of the foregoing transactional data storage methods based on instructions stored in the memory.
According to a fifth aspect of some embodiments of the present invention, there is provided a computer readable storage medium having a computer program stored thereon, wherein the program when executed by a processor implements any one of the transaction data storage methods described above.
Some embodiments of the above invention have the following advantages or benefits: the embodiment of the invention can store the leasing information between the leasing user and the lessee through the block chain on one hand, and can store the voucher distribution information of the service platform to the block chain nodes and the leasing user through the block chain on the other hand, thereby ensuring that the transaction process is credible, public and transparent, improving the safety of the leasing transaction and improving the transaction activity of the service platform.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
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, and 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 these drawings without creative efforts.
FIG. 1 is an exemplary flow chart of a transaction data storage method according to some embodiments of the invention.
FIG. 2 is an exemplary flow diagram of a credential issuance method according to some embodiments of the present invention.
Fig. 3A is an exemplary flow chart of a method of assigning credentials to block link points according to some embodiments of the present invention.
Fig. 3B is an exemplary flow diagram of a method of assigning credentials to a rental user according to some embodiments of the invention.
Fig. 3C is an exemplary flow diagram of a method of assigning credentials to a rental user according to some embodiments of the invention.
Fig. 4 is an exemplary flow diagram of a rental transaction fulfillment method, according to some embodiments of the invention.
FIG. 5 is an exemplary block diagram of a rental data storage system, according to some embodiments of the invention.
FIG. 6 is an exemplary block diagram of a service platform according to some embodiments of the invention.
FIG. 7 is an exemplary block diagram of a service platform according to further embodiments of the present invention.
FIG. 8 is an exemplary block diagram of a service platform in accordance with further embodiments of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
FIG. 1 is an exemplary flow chart of a transaction data storage method according to some embodiments of the invention. As shown in fig. 1, the transaction data storage method of this embodiment includes steps S102 to S108.
In step S102, the service platform generates a transaction record including lease information between the renter and the lessee so that the block chain node generates a block including the transaction record and chains the block. The service platform can be a leasing platform or other platforms.
The service platform is developed based on the block chain technology, and users can upload free articles to the service platform, receive the certificates as rent according to the rent objects, and rent the articles of the self-mind apparatus by the rent, so that free circulation of the articles and the certificates is completed.
The renter and the lessee are only names used for distinguishing two transaction parties in one transaction, and both are actually users of the service platform. The user of the service platform can only rent and rent services, and can also be used as a block chain link point in a block chain system where the service platform is located.
In some embodiments, after the service platform generates the transaction record, the transaction record is in a pending (pending) state and stored in a transaction record pool (e.g., txpool of etherhouse). And then, the block chain nodes pack, block and enter the chain the transaction records in the transaction record pool. When one block link point packages one or more transaction records into a block, it is broadcast to the block link points in the system, and when other block link points verify the block, the block is added to the block chain.
In some embodiments, the block nodes need to calculate the hash value satisfying the predetermined condition to be able to pack the transaction information that has not been blocked into the block.
When a block is generated by a block link point, the system generates a credential. The number of generated certificates can be determined according to the block number and the preset total amount of the certificates. In some embodiments, consecutive block numbers may be divided into different intervals in order, the number of credential generations corresponding to blocks within the same number interval is the same, the number of credential generations corresponding to blocks within different number intervals is different, and the number of credential generations decreases as the block number within an interval increases. For example, 12 certificates are generated every time a block with the number of 0-100 ten thousand is generated, 6 certificates are generated every time a block with the number of 100-200 ten thousand is generated, and so on until a preset M certificates are generated, no new certificates are generated.
In step S104, the service platform collects the credentials generated in response to the block link node generating the block and the credentials paid by the tenant. The number of the certificates paid by the lessee users can be determined according to the negotiation results of the lessee and the lessee in the lease information.
In step S106, the service platform distributes the collected credentials to the leasing user and the blockchain node. In some embodiments, the service platform may determine the number of credentials allocated to the renter according to the lease information, and determine the number of credentials allocated to the blockchain node according to the computing resources contributed by the blockchain node.
In step S108, the service platform records the credential assignment result into the blockchain. For example, the business platform may also generate a transaction record that includes the credential distribution results. The process of chaining the credential assignment result is similar to the process of chaining the lease information, and is not described herein again.
Through the method of the embodiment, on one hand, the leasing information between the leasing user and the lessee user can be stored through the block chain, and on the other hand, the voucher distribution information of the service platform to the block chain nodes and the leasing user can also be stored through the block chain, so that the transaction process can be credible, public and transparent, the safety of the leasing transaction is improved, and the transaction activity of the service platform is also improved.
In some embodiments, a timed task may be set for credential distribution for a business platform. For example, the business platform may issue credentials at a fixed point in time each day. An embodiment of the credential issuance method of the present invention is described below with reference to fig. 2.
FIG. 2 is an exemplary flow diagram of a credential issuance method according to some embodiments of the present invention. As shown in fig. 2, the credential issuing method of this embodiment includes steps S202 to S204.
In step S202, the service platform collects the credentials generated in response to the block link node generating the block and the credentials paid by the tenant.
In step S204, in response to the triggering of the timing task, the service platform runs an intelligent contract module for distributing the collected credentials to the renter and the blockchain node.
By the method of the embodiment, the service platform can uniformly issue the certificates in a fixed time after collecting the certificates in a period of time, so that the dynamic distribution of the certificates can be realized according to the quantity of the collected certificates.
The method for distributing the credentials to different objects by the service platform is described below with reference to fig. 3A to 3C.
Fig. 3A is an exemplary flow chart of a method of assigning credentials to block link points according to some embodiments of the present invention. As shown in fig. 3A, the method for assigning a certificate to a block link point of this embodiment includes steps S302 to S306.
In step S302, the service platform determines a first allocation ratio according to a weighted calculation result of at least one of a bandwidth of the block chain node, a number of generated blocks in a unit time, and a storage space.
In step S304, the service platform determines a first distribution amount according to the first distribution ratio and the collected voucher amount in the unit time. For example, the product of the first allocation proportion and the number of the collected vouchers of the service platform in the unit time may be used as the first allocation number, and the length of the unit time may be equal to the time interval between the current allocation and the last allocation of the service platform, for example.
In step S306, the service platform assigns a first assigned number of credentials to the blockchain node.
The block chain nodes of the generated blocks provide bandwidth, storage and calculation power, and the block chain nodes pack transaction records by calculating hash values meeting preset conditions, so that the whole platform operates. In some embodiments, one or more of bandwidth, number of generated blocks per unit time, and storage space may be hierarchically processed. For example, the bandwidth within the range of 1 to 200M may be divided into a plurality of levels, the bandwidth above 200M may be regarded as 200M, each level corresponds to a different contribution value, and a bandwidth factor n is set; accordingly, the storage factor s may be set for the storage space, and the calculation factor c may be set for the calculation power, which is the number of generated blocks per unit time. One exemplary method of determining the first allocation ratio may refer to equation (1).
R1=A*n+B*s+C*c (1)
In formula (1), a represents bandwidth information, B represents storage space information, and C represents computational power information.
Fig. 3B is an exemplary flow diagram of a method of assigning credentials to a rental user according to some embodiments of the invention. As shown in fig. 3B, the method for assigning a certificate to a block link point of this embodiment includes steps S312 to S316.
In step S312, the service platform determines a second allocation ratio according to the lease information read from the block chain. For example, the rental user may set the estimated value when renting the item, and the second allocation ratio may be determined according to a product of the estimated value and the rental factor.
In step S314, the service platform determines a second distribution amount according to the second distribution ratio and the collected voucher amount in the unit time.
In step S316, the service platform assigns the second assigned amount of credentials to the rental user.
In addition, because a large amount of starting funds are invested for system construction at the early stage of the service platform, and the operation cost and the research and development cost are continuously invested for the user experience at the later stage, the service platform can also extract a certain proportion from the certificates collected every day. Fig. 3C is an exemplary flow diagram of a method of assigning credentials to a rental user according to some embodiments of the invention. As shown in fig. 3C, the method for assigning a certificate to a block link point of this embodiment includes steps S322 to S324.
In step S322, the service platform determines a third distribution amount according to a preset third distribution ratio and the number of collected vouchers in unit time.
In step S324, the service platform assigns a third assigned number of credentials to the service platform.
An embodiment of the rental transaction fulfillment method of the present invention is described below with reference to fig. 4.
Fig. 4 is an exemplary flow diagram of a rental transaction fulfillment method, according to some embodiments of the invention. As shown in fig. 4, the rental data of this embodiment includes steps S402 to S406.
In step S402, the service platform acquires rental object information uploaded by the rental user through a decentralized application (DApp). The rental object information may include, for example, an item identification, an item estimate value, and an item description. For example, for a book, an International Standard Book Number (ISBN) may be used as the unique identifier for the item.
DApp is ecologically derived on the bottom zone blockchain platform. Unlike smart contracts, DApp need not be financial only, but blockchain technology can be used for whatever purpose is conceivable.
In step S404, the service platform stores the rental object information in the distributed file system.
In some embodiments, the rental object information may be stored in an interplanetary file System (IPFS). IPFS is essentially a content addressable, versioned, point-to-point hypermedia distributed storage and transport Protocol, aiming to supplement or even replace the Hyper Text Transfer Protocol (HTTP) used in the last 20 years, and hopefully to build a faster, safer and more free Internet era.
The service platform or the DApp borne by the service platform can verify the uploaded information and store the information after verification.
In step S406, in response to the renter initiating a request for viewing the rented object, the service platform sends the rented object information to the renter through the decentralized application.
For example, a lessee may pull a list of items that may be leased from DApp, select according to preferences, and initiate a lease application.
This embodiment may further include step S408. In step S408, in response to the rental user agreeing to the rental application for the rental object initiated by the rental user, the intelligent contract module of the service platform performs an operation of generating a transaction record including rental information between the rental user and the rental user.
Thus, the security and credibility of the rental target information storage can be further improved.
An embodiment of the rental data storage system of the present invention is described below with reference to FIG. 5.
FIG. 5 is an exemplary block diagram of a rental data storage system, according to some embodiments of the invention. As shown in fig. 5, rental data storage system 50 of this embodiment includes: a service platform 510 and a blockchain node 520. There may be one or more blockchain nodes 520, only one of which is shown in fig. 5 by way of example.
In some embodiments, rental data storage system 50 may further include: a distributed file system 530 configured to store rental object information.
An embodiment of the service platform of the present invention is described below with reference to fig. 6.
FIG. 6 is an exemplary block diagram of a service platform according to some embodiments of the invention. As shown in fig. 6, the service platform 600 of this embodiment includes: a transaction record generation module 6100 configured to generate a transaction record including lease information between the lending user and the lessee user so that the block link points generate blocks including the transaction record and link the blocks; a credential collection module 6200 configured to collect credentials generated in response to the tile link point generating the tile and credentials paid by the tenant; a credential assignment module 6300 configured to assign the collected credentials to the rental user and the blockchain node; an assignment result recording module 6400 configured to record the credential assignment result into the blockchain.
In some embodiments, the credential distribution module 6300 is further configured to run an intelligent contract module for distributing collected credentials to leasing users and blockchain nodes in response to triggering of a timed task.
In some embodiments, the credential allocation module 6300 is further configured to determine the first allocation ratio according to a weighted calculation result of at least one of a bandwidth of the blockchain node, a number of generated blocks per unit time, and a storage space; determining a first distribution quantity according to the first distribution proportion and the quantity of the collected certificates in unit time; a first allocated number of credentials is allocated to the blockchain node.
In some embodiments, the credential assignment module 6300 is further configured to determine the second assignment proportion according to the lease information read from the blockchain; determining a second distribution quantity according to the second distribution proportion and the quantity of the collected certificates in the unit time; the second allocated amount of credentials is allocated to the leasing user.
In some embodiments, the credential assignment module 6300 is further configured to determine a third assignment number according to a preset third assignment proportion and the number of credentials collected per unit time; and distributing the third distributed amount of the voucher to the service platform.
In some embodiments, the number of vouchers generated in response to block link points generating a block including a transaction record is determined from a block number and a preset total number of vouchers.
In some embodiments, the service platform 600 further comprises: a rental object information management module 6500 configured to acquire rental object information uploaded by a rental user through a decentralized application; storing the leasing object information in a distributed file system; and sending the rented object information to the rented user through the decentralized application program in response to the rented user initiating a viewing request for the rented object.
In some embodiments, the transaction record generation module 6100 is further configured to perform, by the smart contract module, an operation of generating a transaction record including lease information between the leasing user and the leasing user in response to the leasing user agreeing to a lease application for the leasing object initiated by the leasing user.
FIG. 7 is an exemplary block diagram of a service platform according to further embodiments of the present invention. As shown in fig. 7, the service platform 700 of this embodiment includes: a memory 710 and a processor 720 coupled to the memory 710, the processor 720 being configured to execute the transaction data storage method of any of the preceding embodiments based on instructions stored in the memory 710.
Memory 710 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), and other programs.
FIG. 8 is an exemplary block diagram of a service platform in accordance with further embodiments of the invention. As shown in fig. 8, the service platform 800 of this embodiment includes: the memory 810 and the processor 820 may further include an input/output interface 830, a network interface 840, a storage interface 850, and the like. These interfaces 830, 840, 850 and the memory 810 and the processor 820 may be connected, for example, by a bus 860. The input/output interface 830 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 840 provides a connection interface for various networking devices. The storage interface 850 provides a connection interface for external storage devices such as an SD card and a usb disk.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, wherein the program is implemented to implement any one of the aforementioned transaction data storage methods when executed by a processor.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (20)

1. A transaction data storage method comprising:
the service platform generates a transaction record comprising lease information between a leasing user and a lessee so that a block chain node generates a block comprising the transaction record and links the block;
the service platform collects the certificate generated by responding to the block generation of the block chain node and the certificate paid by the lessee;
the service platform distributes the collected certificate to the renting user and the block chain node;
and the service platform records the certificate distribution result into the block chain.
2. The transaction data storage method of claim 1, wherein,
in response to the triggering of the timed task, the service platform runs an intelligent contract module for distributing the collected credentials to the renter and the blockchain node.
3. A transaction data storage method according to claim 1 or 2, wherein the service platform allocating collected credentials to the block link points comprises:
the service platform determines a first allocation proportion according to a weighted calculation result of at least one of the bandwidth of the block chain node, the number of generated blocks in unit time and the storage space;
the service platform determines a first distribution quantity according to the first distribution proportion and the quantity of the certificates collected in unit time;
the service platform allocates a first allocated amount of credentials to the blockchain node.
4. The transaction data storage method of claim 1 or 2, wherein the service platform distributing the collected credentials to the lending user comprises:
the service platform determines a second distribution proportion according to the lease information read from the block chain;
the service platform determines a second distribution quantity according to the second distribution proportion and the quantity of the certificates collected in unit time;
and the service platform distributes the second distributed amount of the certificate to the renting user.
5. The transaction data storage method of claim 1 or 2, further comprising:
the service platform determines a third distribution quantity according to a preset third distribution proportion and the quantity of the vouchers collected in unit time;
and the service platform distributes the third distribution amount of the voucher to the service platform.
6. The transaction data storage method of claim 1, wherein the number of vouchers generated in response to block link points generating a block including the transaction record is determined according to a block number and a preset total number of vouchers.
7. The transaction data storage method of claim 1, further comprising:
the service platform acquires renting object information uploaded by a renting user through a decentralized application program;
the service platform stores the renting object information in a distributed file system;
and responding to a request for viewing the rented object initiated by the rented user, and sending the rented object information to the rented user by the service platform through a decentralized application program.
8. The transaction data storage method of claim 7, wherein,
in response to the rental user agreeing to a rental application for the rental object initiated by the rental user, the intelligent contract module of the service platform performs an operation of generating a transaction record including rental information between the rental user and the rental user.
9. A service platform, comprising:
a transaction record generating module configured to generate a transaction record including lease information between a leasing user and a lessee user so that a block link point generates a block including the transaction record and chains the block;
a credential collection module configured to collect credentials generated in response to the block link point generating block and credentials paid by the tenant;
a credential distribution module configured to distribute collected credentials to the lending user and the blockchain node;
and the distribution result recording module is configured to record the certificate distribution result into the block chain.
10. The business platform of claim 9, wherein the credential distribution module is further configured to run an intelligent contract module for distributing collected credentials to leasing users and the blockchain node in response to triggering of a timed task.
11. The service platform according to claim 9 or 10, wherein the credential allocation module is further configured to determine a first allocation ratio according to a weighted calculation result of at least one of a bandwidth of the blockchain node, a number of generated blocks per unit time, and a storage space; determining a first distribution quantity according to the first distribution proportion and the quantity of the collected certificates in unit time; assigning a first assigned number of credentials to the blockchain node.
12. The service platform according to claim 9 or 10, wherein the credential allocation module is further configured to determine a second allocation proportion according to the lease information read from the blockchain; determining a second distribution quantity according to the second distribution proportion and the quantity of the collected certificates in the unit time; distributing the second distributed amount of credentials to the lending user.
13. The service platform according to claim 9 or 10, wherein the voucher distribution module is further configured to determine a third distribution number according to a preset third distribution proportion and the number of vouchers collected in a unit time; and distributing the third distributed amount of the voucher to the service platform.
14. The service platform of claim 9, wherein the number of vouchers generated in response to block chaining points generating a block including the transaction record is determined based on a block number and a preset total number of vouchers.
15. The service platform of claim 9, further comprising:
the system comprises a leasing object information management module, a leasing application program management module and a leasing object information management module, wherein the leasing object information management module is configured to acquire leasing object information uploaded by a leasing user through a decentralized application program; storing the rental object information in a distributed file system; and responding to a request for viewing the rented object initiated by the rented user, and sending the rented object information to the rented user through a decentralized application program.
16. The service platform of claim 15, wherein the transaction record generation module is further configured to perform, by the smart contract module, an operation of generating a transaction record including lease information between the leasing user and the leasing user in response to the leasing user agreeing to a lease application for the leasing object initiated by the leasing user.
17. A rental data storage system, comprising:
the service platform of any one of claims 9 to 16; and
a blockchain node.
18. The rental data storage system of claim 17, further comprising:
a distributed file system configured to store rental object information.
19. A service platform, comprising:
a memory; and
a processor coupled to the memory, the processor configured to execute the transactional data storage method of any of claims 1-8 based on instructions stored in the memory.
20. A computer-readable storage medium on which a computer program is stored which, when executed by a processor, implements the transaction data storage method of any of claims 1 to 8.
CN201810747730.6A 2018-07-10 2018-07-10 Transaction data storage method, system, service platform and storage medium Pending CN110706045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810747730.6A CN110706045A (en) 2018-07-10 2018-07-10 Transaction data storage method, system, service platform and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810747730.6A CN110706045A (en) 2018-07-10 2018-07-10 Transaction data storage method, system, service platform and storage medium

Publications (1)

Publication Number Publication Date
CN110706045A true CN110706045A (en) 2020-01-17

Family

ID=69192657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810747730.6A Pending CN110706045A (en) 2018-07-10 2018-07-10 Transaction data storage method, system, service platform and storage medium

Country Status (1)

Country Link
CN (1) CN110706045A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886930A (en) * 2015-12-15 2017-06-23 深圳市银信网银科技有限公司 A kind of processing method and processing device of information of lease
CN107180350A (en) * 2017-03-31 2017-09-19 唐晓领 A kind of method of the multi-party shared transaction metadata based on block chain, apparatus and system
CN107194778A (en) * 2017-05-25 2017-09-22 金立彦 Equipment leasing method and system based on block chain
CN107249046A (en) * 2017-08-15 2017-10-13 李俊庄 A kind of distributed cloud storage system construction method based on block chain
US20180068097A1 (en) * 2016-09-08 2018-03-08 Thomson Reuters Global Resources Unlimited Company Systems and methods for providing identity assurance for decentralized applications
CN107943833A (en) * 2017-10-25 2018-04-20 华南农业大学 A kind of storage of non-stop layer distributed document and search method based on block chain
CN108009878A (en) * 2017-11-24 2018-05-08 深圳市轱辘车联数据技术有限公司 A kind of information processing method and its device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886930A (en) * 2015-12-15 2017-06-23 深圳市银信网银科技有限公司 A kind of processing method and processing device of information of lease
US20180068097A1 (en) * 2016-09-08 2018-03-08 Thomson Reuters Global Resources Unlimited Company Systems and methods for providing identity assurance for decentralized applications
CN107180350A (en) * 2017-03-31 2017-09-19 唐晓领 A kind of method of the multi-party shared transaction metadata based on block chain, apparatus and system
CN107194778A (en) * 2017-05-25 2017-09-22 金立彦 Equipment leasing method and system based on block chain
CN107249046A (en) * 2017-08-15 2017-10-13 李俊庄 A kind of distributed cloud storage system construction method based on block chain
CN107943833A (en) * 2017-10-25 2018-04-20 华南农业大学 A kind of storage of non-stop layer distributed document and search method based on block chain
CN108009878A (en) * 2017-11-24 2018-05-08 深圳市轱辘车联数据技术有限公司 A kind of information processing method and its device

Similar Documents

Publication Publication Date Title
US20230132297A1 (en) Control method, controller, data structure, and electric power transaction system
KR102411896B1 (en) Routing payments to payment aggregators
KR102193502B1 (en) Method and device for obtaining a payment threshold
CN111815372B (en) Live broadcast processing method and device based on block chain, electronic equipment and storage medium
JP7157798B6 (en) Blockchain-based systems and methods for communicating, storing, and processing data over blockchain networks
CN108112038B (en) Method and device for controlling access flow
WO2017084245A1 (en) Method and apparatus for processing purchase request
CN110233741B (en) Service charging method, device, equipment and storage medium
Das et al. A QoS and profit aware cloud confederation model for IaaS service providers
JP7430191B2 (en) Financial product recommendation methods, devices, electronic devices and programs
TWI720519B (en) Amount settlement system and method
US20120331521A1 (en) System and method for application centric cloud management
US11533163B2 (en) Mining method and device based on blockchain, and computer readable storage medium
CN111327565B (en) Block chaining and deblocking method and system
EP2874059A1 (en) Personal cloud storage chain service system and method
US10990935B1 (en) Transferring funds between two parties
CN110210922B (en) Information display resource allocation method and device, computer equipment and storage medium
CN110602215B (en) Resource processing method based on alliance block chain and alliance block chain system
CN107679839B (en) Data processing method and system
CN110706045A (en) Transaction data storage method, system, service platform and storage medium
WO2016127854A1 (en) Information processing method and device
CN112181599B (en) Model training method, device and storage medium
CN109492847A (en) More resource platforms and more resource allocation methods based on block chain
CN110633142B (en) Block chain consensus method, management node, electronic device, and storage medium
WO2021125106A1 (en) Control method, device, and program

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