CN109934662B - Shared resource leasing method and device based on block chain and computer equipment - Google Patents

Shared resource leasing method and device based on block chain and computer equipment Download PDF

Info

Publication number
CN109934662B
CN109934662B CN201811451335.XA CN201811451335A CN109934662B CN 109934662 B CN109934662 B CN 109934662B CN 201811451335 A CN201811451335 A CN 201811451335A CN 109934662 B CN109934662 B CN 109934662B
Authority
CN
China
Prior art keywords
initiator
car
shared
car sharing
participant
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.)
Active
Application number
CN201811451335.XA
Other languages
Chinese (zh)
Other versions
CN109934662A (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN202011378119.4A priority Critical patent/CN112488787A/en
Priority to CN201811451335.XA priority patent/CN109934662B/en
Publication of CN109934662A publication Critical patent/CN109934662A/en
Priority to TW108132984A priority patent/TW202022640A/en
Priority to PCT/CN2019/111562 priority patent/WO2020108147A1/en
Application granted granted Critical
Publication of CN109934662B publication Critical patent/CN109934662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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

Abstract

One or more embodiments of the present specification provide a shared resource leasing method and apparatus based on a block chain, which are applied to a shared leasing system including a shared leasing initiator, a shared leasing participant, and a shared leasing service side terminal; the shared leasing initiator, the shared leasing participant and the shared leasing service side terminal are all node equipment of a block chain; the method comprises the following steps: the method comprises the steps that node equipment of a shared leasing service party acquires a first transaction sent by the node equipment of a shared leasing initiator; the first transaction includes information of a target shared resource and identity information of the shared lease initiator; pushing an invited reply of the other user to the shared rental originator node device to cause the shared rental originator to send a second transaction to the blockchain.

Description

Shared resource leasing method and device based on block chain and computer equipment
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to a method and an apparatus for leasing shared resources based on blockchains, and a computer device.
Background
The block chain technology, also called distributed ledger technology, is an emerging technology in which several computing devices participate in "accounting" together, and a complete distributed database is maintained together. The blockchain technology has been widely used in many fields due to its characteristics of decentralization, transparency, participation of each computing device in database records, and rapid data synchronization between computing devices.
Disclosure of Invention
In view of this, one or more embodiments of the present specification provide a block chain based shared resource leasing method, apparatus and computer device.
To achieve the above object, one or more embodiments of the present disclosure provide the following technical solutions:
according to a first aspect of one or more embodiments of the present specification, a shared resource leasing method based on a block chain is provided, which is applied to a shared leasing system including a shared leasing initiator, a shared leasing participant, and a shared leasing service side terminal; the shared leasing initiator, the shared leasing participant and the shared leasing service party terminal are all node equipment of a block chain network; the method comprises the following steps:
the method comprises the steps that node equipment of a shared leasing service party acquires a first transaction sent by the node equipment of a shared leasing initiator; the first transaction includes information of a target shared resource and identity information of the shared lease initiator;
pushing invitee replies of other users to the shared rental originator node device to cause the shared rental originator to send a second transaction to the blockchain; the invited reply includes information of at least a portion of the target shared resource that the other user desires to participate in the shared lease; the second transaction includes identity information of the shared rental participant and information of at least a portion of the target shared resource that the shared rental participant participated in the rental as confirmed by the shared rental initiator node device based on the invited reply.
According to a second aspect of one or more embodiments of the present specification, a shared resource leasing method based on a block chain is provided, which is applied to a shared leasing system including a shared leasing initiator, a shared leasing participant, and a shared leasing service side terminal; the shared leasing initiator, the shared leasing participant and the shared leasing service party terminal are all node equipment of a block chain network; the method comprises the following steps:
the node equipment of the shared leasing initiator sends a first transaction to the blockchain; the first transaction includes information of a target shared resource and identity information of the shared lease initiator;
receiving an invited reply of the other user pushed by the shared rental server node equipment, wherein the invited reply comprises information of at least part of target shared resources which the other user desires to participate in shared rental;
sending a second transaction to the blockchain, the second transaction including identity information of the shared rental participant confirmed by the shared rental initiator node device based on the invited reply and information that the shared rental participant is participating in at least a portion of the target shared resource for rental.
According to a third aspect of one or more embodiments of the present specification, a block chain-based car pooling method is provided, which is applied to a car pooling system including a car pooling initiator, car pooling participants, and a car pooling server terminal; the car sharing initiator, the car sharing participator and the car sharing server terminal are all node equipment of a block chain network; the method comprises the following steps:
the method comprises the steps that node equipment of a car sharing service party obtains a first transaction sent by the node equipment of a car sharing initiator; the first transaction comprises first travel information for car sharing and identity information of the car sharing initiator;
pushing an invite response of the other user to the ride share initiator node device to cause the ride share initiator to send a second transaction to the blockchain; the invitation reply comprises information of a second trip that the other user desires to participate in the ride share; the second transaction comprises identity information of the ride share participant and second journey information of the ride share participant participating in ride share confirmed by the ride share initiator node device based on the invited reply; the first stroke includes the second stroke.
According to a fourth aspect of one or more embodiments of the present specification, a block chain-based car pooling method is proposed, which is applied to a shared rental system including a car pooling initiator, car pooling participants, and a car pooling server terminal; the car sharing initiator, the car sharing participator and the car sharing server terminal are all node equipment of a block chain network; the method comprises the following steps:
the node equipment of the carpooling initiator sends a first transaction to the blockchain; the first transaction comprises first travel information for car sharing and identity information of the car sharing initiator;
receiving an invited reply of the other user pushed by the node equipment of the carpooling service party, wherein the invited reply comprises second journey information which the other user desires to participate in carpooling;
sending a second transaction to the blockchain, the second transaction including the identity information of the ride share participants confirmed by the ride share initiator node device based on the invited reply and second trip information of the ride share participants participating in ride share.
According to a fifth aspect of one or more embodiments of the present specification, there is provided a shared resource leasing apparatus based on a block chain, applied to a shared leasing system including a shared leasing initiator, a shared leasing participant, and a shared leasing service side terminal; the shared leasing initiator, the shared leasing participant and the shared leasing service party terminal are all node equipment of a block chain network; the device comprises:
the acquisition unit is used for acquiring a first transaction sent by the node equipment of the shared leasing initiator by the node equipment of the shared leasing service party; the first transaction includes information of a target shared resource and identity information of the shared lease initiator;
the pushing unit is used for pushing invited replies of other users to the node equipment of the shared leasing initiator so that the shared leasing initiator sends a second transaction to the blockchain; the invited reply includes information of at least a portion of the target shared resource that the other user desires to participate in the shared lease; the second transaction includes identity information of the shared rental participant and information of at least a portion of the target shared resource that the shared rental participant participated in the rental as confirmed by the shared rental initiator node device based on the invited reply.
According to a sixth aspect of one or more embodiments of the present specification, there is provided a shared resource leasing apparatus based on a block chain, applied to a shared leasing system including a shared leasing initiator, a shared leasing participant, and a shared leasing service side terminal; the shared leasing initiator, the shared leasing participant and the shared leasing service party terminal are all node equipment of a block chain network; the device comprises:
the sending unit is used for sending a first transaction to the block chain by the node equipment of the shared leasing initiator; the first transaction includes information of a target shared resource and identity information of the shared lease initiator;
the shared renting server node equipment is used for sending a request to other users to share the target shared resource, and the request comprises information of the target shared resource;
the sending unit sends a second transaction to the blockchain, where the second transaction includes identity information of the shared rental participant and information of at least part of the target shared resources that the shared rental participant participates in the rental, which are confirmed by the shared rental initiator node device based on the invited reply.
According to a seventh aspect of one or more embodiments of the present specification, there is provided a computer device, comprising: a memory and a processor; the memory having stored thereon a computer program executable by the processor; and when the processor runs the computer program, executing the steps of the shared resource leasing method based on the block chain executed by the shared leasing server node equipment.
According to an eighth aspect of one or more embodiments of the present specification, there is provided a computer apparatus comprising: a memory and a processor; the memory having stored thereon a computer program executable by the processor; and when the processor runs the computer program, executing the steps of the shared resource leasing method based on the block chain, which is executed by the shared leasing initiator node equipment.
According to the technical scheme, the method and the device for leasing the shared resources based on the block chain have the advantages that the information of the target shared resources and the information of leasing parties sharing and leasing the target shared resources are backed up in the distributed database of the block chain; based on the tamper-proof mechanism of the block chain, the backup information is maintained by all nodes of the block chain, so that the authenticity and the safety of the information are ensured, and the information is conveniently checked and applied.
Drawings
FIG. 1 is a flowchart of a method for leasing a shared resource based on a block chain performed by a shared lease server node device according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a block chain-based carpooling method performed by a carpooling server node device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a block chain-based shared resource leasing apparatus applied to a shared leasing server node device side according to an embodiment provided in the present specification;
fig. 4 is a schematic diagram of a block chain-based shared resource leasing apparatus applied to a shared lease initiator node device side according to an embodiment provided in the present specification;
fig. 5 is a hardware structure diagram for implementing an embodiment of the device for leasing shared resources based on block chains provided in the present specification.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of one or more embodiments of the specification, as detailed in the claims which follow.
It should be noted that: in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described herein. In some other embodiments, the method may include more or fewer steps than those described herein. Moreover, a single step described in this specification may be broken down into multiple steps for description in other embodiments; multiple steps described in this specification may be combined into a single step in other embodiments.
With the expansion of the concept of shared resources, social importance has been increasingly paid to the implementation of multi-party leasing of shared resources by economic and safe methods. The present specification first provides an embodiment of a shared resource leasing method based on a block chain, as shown in fig. 1, applied to a shared leasing system including a shared leasing initiator, a shared leasing participant, and a shared leasing service side terminal; the shared leasing system is constructed based on a block chain, and the shared leasing initiator, the shared leasing participant and the shared leasing server side terminal are all node equipment of the block chain.
The shared resource renting described in this embodiment may include shared renting of resources by multiple parties, such as shared vehicle renting (generally referred to as "car sharing"), shared house renting (generally referred to as "co-renting"), and the like, or shared use, for example, shared renting of vehicles by car sharing users, shared renting of a whole set of houses by co-renting users; the society has now derived emerging concepts of shared resource usage such as "rice spellings". The present embodiment does not limit the specific types of the shared resources, and as the content of the shared resources is gradually enriched, the concept of leasing or using the shared resources described in the present embodiment is gradually extended.
In this embodiment, a shared rental system including a shared rental initiator, shared rental participants, and shared rental server terminals is constructed based on a blockchain network, where the shared rental server terminals may be servers (servers) of the shared rental system, and provide flow service support included in a shared resource rental method, and the shared rental initiator and the shared rental participants are users of the shared rental system: the shared leasing initiator is a user initiating leasing the target shared resource, and the shared leasing participator is a user participating in leasing the target shared resource. The shared leasing initiator, the shared leasing participant and the shared leasing service party terminal are all node equipment of a block chain network.
It should be noted that, the present specification does not limit whether the shared lease initiator participates in the lease on the target shared resource, that is, the shared lease initiator may participate in the lease on the target shared resource, or may only initiate the lease on the target shared resource, but does not participate in the lease on the target shared resource.
The block chain described in this embodiment may specifically refer to a P2P network system having a distributed data storage structure, where each node device achieves data full backup of all or part of nodes according to different specific consensus mechanisms (e.g., POW, POS, DPOS, PBFT, etc.), and data in the block chain is distributed in temporally consecutive blocks. It is well known to those skilled in the art that, since the blockchain system operates under a corresponding consensus mechanism, data that has been included in the blockchain database is difficult to be tampered with by any node, for example, a blockchain with Pow consensus is adopted, and it is possible to tamper with existing data only by an attack that requires at least 51% of effort on the whole network, so that the blockchain system has the characteristics of guaranteeing data security and anti-attack tampering that are compared with other centralized database systems. Therefore, in the embodiment provided in the present specification, the data included in the distributed database of the blockchain cannot be attacked or tampered, so that the trueness and the fairness of the related data in the shared resource leasing process are ensured.
The node devices of the shared lease initiator, the shared lease participant, and the shared lease server described in this embodiment may all be added as the blockchain by following the installation of the corresponding node protocol and running the node protocol program, and serve as the node devices of the blockchain. It should be noted that the node device described in this specification may include a full node that backs up all data of the distributed database having the blockchain, or may include a light node or a client that backs up part of data of the distributed database having the blockchain, which is not limited in this specification.
As shown in fig. 1, the method includes:
step 102, the node equipment of the shared leasing service party acquires a first transaction sent by the node equipment of the shared leasing initiator; the first transaction includes information of the target shared resource and identity information of the shared lease initiator.
The transaction (transfer) described in this specification refers to a piece of data that a user creates through a node device (e.g., a client) of a blockchain and needs to be finally published to a distributed database of the blockchain. The transactions in the blockchain are classified into narrow transactions and broad transactions. A narrowly defined transaction refers to a transfer of value issued by a user to a blockchain; for example, in a conventional bitcoin blockchain network, the transaction may be a transfer initiated by the user in the blockchain. The broad transaction refers to a piece of business data with business intention, which is issued to the blockchain by a user; for example, the content, which is issued by the shared rental initiator to the block chain and includes the information of the target shared resource and the identity information of the shared rental initiator, in the above embodiments of the present specification may be a transaction; or the content is arranged according to a preset transaction data format, so that the first transaction is generated.
In this embodiment, the first transaction may be regarded as a shared lease invitation from the shared lease initiator to the target shared resource, or as a proof of identity information of the shared lease initiator and information of the target shared resource. The identity information of the shared lease initiator may include a name (nickname) of the shared lease initiator, or an identity code, or a public key, and the like, which may be real name or anonymous information that may map the identity of the shared lease initiator; the information of the target shared resource may include information that can point to the target shared resource, such as a name, an address, a code, or a profile of the target shared resource. Based on the tamper-proof mechanism of the blockchain, the information contained in the first transaction cannot be tampered after being recorded by the distributed database of the blockchain.
The detailed process of uploading the first transaction initiated by the shared lease initiator to the distributed database of the blockchain may be specifically set according to the consensus mechanism and the transaction verification rule of the blockchain. In an illustrative embodiment, the shared lease initiator issuing a first transaction to a distributed database of the blockchain includes:
adding the first transaction to a candidate block by a node with accounting authority in the block chain;
determining consensus accounting nodes satisfying the block chain consensus mechanism from the nodes with accounting authority;
the consensus accounting node broadcasts the candidate blocks to nodes of the block chain;
and after the candidate block passes verification approval of the nodes with the preset number of the block chains, the candidate block is regarded as the latest block and added into a distributed database of the block chains.
In the above embodiments, the node with the accounting authority refers to a node with an authority to generate candidate blocks, and may include, for example, a node device of the shared rental service party described in this specification. According to the consensus mechanism of the block chain, a consensus accounting node can be determined from the nodes having accounting authority for the candidate block, and the consensus mechanism can include a workload attestation mechanism (PoW), a rights attestation mechanism (PoS), a stock authorization attestation mechanism (DPoS), and the like.
The PoS or DPoS consensus mechanism is similar to PoW, and both belong to consensus algorithms commonly selected by confirmed consensus accounting nodes in a public block chain. To reduce transaction or data validation time, improve transaction throughput, and meet security and performance requirements, embodiments provided herein may also choose a federation chain architecture to construct the blockchain. The service institution of the shared lease, the related supervision institution of the shared lease, the shared fee settlement institution and other institutions with higher credit can be used as preselected nodes of the alliance chain to participate in the accounting of the block. The consensus process of the federation chain is also controlled by the preselected node, and when more than a predetermined percentage (e.g., 2/3) of nodes on the network identify a block, the transaction or data recorded for that block will be identified globally.
The federation chain usually adopts rights and interests certification or consensus algorithms such as PBFT and RAFT. The PBFT algorithm is a preferred implementation of the consensus algorithm of the federation chain provided in this specification, because the consensus using this algorithm is efficient, and can meet the requirement of high-frequency transaction amount, for example, the first transaction frequently generated by each user terminal in this embodiment is used to initiate a shared lease offer; the consensus time delay is very low, the requirement of real-time processing is basically met, and the first transaction can be rapidly recorded in a new block of the block chain in real time; moreover, the credible nodes in the alliance chain network are used as preselected accounting nodes, so that safety and stability are considered; in addition, the PBFT algorithm does not consume excessive computer power resources, does not need token circulation, and has good usability.
Step 104, pushing the invitation answers of other users to the node equipment of the shared rental initiator so that the shared rental initiator sends a second transaction to the blockchain; the invited reply includes information of at least a portion of the target shared resource that the other user desires to participate in the shared lease; the second transaction includes identity information of the shared rental participant and information of at least a portion of the target shared resource that the shared rental participant participated in the rental as confirmed by the shared rental initiator node device based on the invited reply.
In this embodiment, the other users of the shared rental system may obtain the first transaction from the distributed database of the block chain, or may obtain all or part of information of the first transaction from the node device of the shared rental service party in the communication connection with the shared rental service party. And the other users of the shared leasing system make an invited reply whether to participate in the shared leasing of the target shared resource or not based on the first transaction initiated by the shared leasing initiator.
Because the target shared resource belongs to the shared resource, each user participating in the shared lease at least participates in the lease of part of the target shared resource, for example, in the process of car sharing, the car sharing distance participated by each car sharing participant is likely to be a part of the car sharing distance initiated by the car sharing initiator; for another example, in shared rented houses, each rented house participant participates in renting a bedroom of a set of houses; thus, the aforementioned answer that is invited should also include information about at least a portion of the target shared resource that the other user desires to participate in the shared lease.
The invitation response may be sent to the distributed database of the blockchain for evidence storage as described above for the first transaction; however, since the invitation-to-answer is not yet confirmed by the shared rental originator, for the sake of saving the usage space of the block chain, the invitation-to-answer may be sent to the shared rental service provider only by the node device of the shared rental service provider without being stored in the distributed database of the block chain.
The specification does not limit the specific way for the shared rental service to push the invited reply, and the shared rental service may sort the invited reply according to the preference of the shared rental sponsor or other factors or parameters, and push the sorted result to the carpooling sponsor.
And the shared lease initiator confirms based on the received invitation response and sends the confirmed identity information of the shared lease participants participating in the shared lease of the target shared resource to the block chain for evidence storage so as to conveniently use the information in applications such as evidence storage or expense settlement. The specific process of the second transaction being included in the distributed database of the blockchain is similar to the specific process of the first transaction being included, and is not described herein again.
According to the shared resource leasing method based on the block chain, the shared leasing initiator sends the first transaction including the shared leasing initiator and the target shared resource information and the confirmed second transaction including the shared leasing participant information to the distributed database of the block chain for evidence storage, based on a tamper-proof mechanism of the block chain, the data information which is proved to be stored in the block chain cannot be tampered, and the data is commonly maintained by all node equipment of the block chain, so that the behavior security of a user participating in shared resource leasing is improved, and the security of the data information generated in the process of shared resource leasing is also improved.
In the above embodiment, the shared resource lease method provided in this specification is described from the shared lease service node device side, and accordingly, to complete shared resource lease, the shared resource lease method executed by the node device of the shared lease initiator includes:
sending a first transaction to the blockchain; the first transaction includes information of a target shared resource and identity information of the shared lease initiator;
receiving an invited reply of the other user pushed by the shared rental server node equipment, wherein the invited reply comprises information of at least part of target shared resources which the other user desires to participate in shared rental;
sending a second transaction to the blockchain, the second transaction including identity information of the shared rental participant confirmed by the shared rental initiator node device based on the invited reply and information that the shared rental participant is participating in at least a portion of the target shared resource for rental.
Optionally, the node device of the shared lease initiator further receives a second shared lease charge paid by the node device of the shared lease participant based on at least part of the target shared resources participating in lease by the node device of the shared lease participant; and paying a first total shared rental fee based on the target shared resource.
The description of the specific embodiment of the shared resource leasing method executed by the node device of the shared leasing initiator has been described in detail in each embodiment of the shared resource leasing method executed by the node device of the shared leasing service side, and is not repeated herein.
Hereinafter, a method for sharing a vehicle rental (commonly referred to as car pooling) by a user is taken as an example to explain the method for sharing a resource provided by the present specification in detail. The shared leasing initiator, the shared leasing participator and the shared leasing service side terminal are respectively a car sharing initiator, a car sharing participator and a car sharing service side terminal; the car sharing server terminal, the car sharing initiator terminal and the car sharing participant terminal are all node devices of a block chain. In the application scenario of multi-user car sharing, the information of the target shared resource includes not only target vehicle information (such as a license plate of a vehicle, or a model of the vehicle, or a number of passengers) for car sharing, but also first journey information initiated by the car sharing initiator for car sharing.
The existing car pooling products are matched only based on lines, the quality levels of car owners are not uniform, and certain insecurity and discomfort exist. The car sharing cost is usually agreed in advance, but the difference of settlement amount is caused by actual road conditions, so that the behavior of a car sharing initiator has certain profit risk, and the personal intention of the car sharing initiator is reduced; meanwhile, in the conventional technology, the total car sharing cost and the cost of the car sharing participation individuals are usually known only by car owners/car sharing sponsors, and the centralized information processing mode easily causes unfairness.
Based on the problems in the prior art, as shown in fig. 2, an exemplary embodiment of the present specification provides a car pooling method based on a block chain, which is applied to a car pooling system including a car pooling server terminal, a car pooling initiator terminal and a car pooling participant terminal; the car sharing server terminal, the car sharing initiator terminal and the car sharing participant terminal are all node devices of a block chain.
The car pooling service party can be regarded as a server for bearing the role of car pooling matching service in a car pooling system constructed based on a block chain network, and the car pooling system consists of the car pooling service party and terminal equipment corresponding to car pooling users; the terminal device (generally called as a server) corresponding to the car sharing service party and the terminal device corresponding to the user (including the car sharing initiator, the car sharing participator and the like) of the car sharing service party are both used as node devices of the block chain and added into the block chain network.
As will be appreciated by those skilled in the art, as a preferred embodiment, the node device of the car pool service side, which is a server (server) of the car pool service side, generally has a higher hardware configuration and network configuration, and can be configured as a full node device of a block chain because it can provide a comprehensive data providing and evidence storing service for the car pool service. A user of the car sharing system may generally serve as both a car sharing initiator and a car sharing participant, and in order to facilitate a terminal device (such as a mobile phone client) of the user to quickly process a car sharing process, the car sharing initiator or the car sharing participant node device described in this embodiment may be set as a light node or a client, and back up part of data of the distributed database of the block chain.
As shown in fig. 2, the car pooling method provided by the embodiment includes:
step 202, the node device of the car sharing service side obtains a first transaction issued by the car sharing initiator from the distributed database of the block chain, wherein the first transaction comprises first travel information used for car sharing by the car sharing initiator and identity information of the car sharing initiator.
The first trip information described in this embodiment may include the start position and the end position information for car sharing selected by the car sharing initiator; as mentioned above, the identity information of the car pool initiator may be real-name identity information or anonymous identity information of the car pool initiator, such as a name or a nickname, an identity code or a public key.
In a further illustrated embodiment, in order to avoid insecurity or discomfort that all users participating in car sharing are strangers to cause car sharing behaviors, member information of a user organization corresponding to the car sharing initiator is backed up on a distributed database of the block chain; the user organization corresponding to the car sharing initiator can be the user organization to which the car sharing initiator belongs, or the user organization to which the car sharing initiator has the selection authority, and the corresponding rule of the car sharing initiator and the user organization corresponding to the car sharing initiator can be specifically set based on the risk control strategy and the service strategy of the car sharing system.
In this embodiment, the user member in the user organization corresponding to the car pool initiator may obtain the first transaction from the distributed database of the block chain, or may obtain all or part of information of the first transaction from the node device of the car pool server in the communication connection with the car pool server. And the user members in the user organization corresponding to the car sharing initiator make a response of whether to participate in car sharing and invite based on the first transaction initiated by the car sharing initiator. The invite response may be sent to the blockchain for evidence deposit as described above for the first transaction; because the answer to be invited is not confirmed by the car pooling initiator, the answer to be invited can be pushed to the car pooling initiator by the node equipment of the car pooling service party without storing a certificate on a block chain.
Step 204, pushing an invitation reply of other users to the car sharing initiator so that the car sharing initiator sends a second transaction to the blockchain; the invitation reply comprises second journey information of other users desiring to participate in the carpool; the second transaction includes identity information of the ride share participant and second trip information of the ride share participant engaged in ride sharing confirmed by the ride share initiator node device based on the invite-required reply.
And after acquiring an invitation response to the carpooling behavior in the first journey initiated by the carpooling initiator, the node equipment of the carpooling service party pushes the invitation response to the node equipment of the carpooling initiator. Similarly, the car pool service side may obtain the invitation response sent by the other user from the distributed database of the blockchain, or may obtain the invitation response in peer-to-peer communication of the other user terminal making the invitation response. The invite response should include information on a second trip that the other user desires to participate in the ride share, the second trip belonging at least in part to the first trip.
It should be noted that, when the shared rental method provided by the present invention is applied to car pooling, the specific travel route of the first trip during car pooling may be changed according to the travel route of the second trip of the car pooling participant, and therefore, the start position and the end position included in the second trip information described in this specification belong to at least a part of the first trip as long as the start position and the end position included in the first trip information issued by the car pooling participant are on the travel route.
The specification does not limit the specific manner in which the car pooling service party pushes the invited response, and the car pooling service party may rank the invited responses according to factors such as the preference of the car pooling party, the overlapping degree of the first trip and the second trip, or the amount of expenses to be paid by the car pooling parties when different car pooling parties are selected, and push the ranked result to the car pooling party.
The car sharing initiator can select one or more car sharing participants to participate in car sharing based on the matching degree of the first travel information and the second travel information or other factors. After determining the carpooling participants capable of participating in carpooling, in order to verify the identity information of the carpooling participants participating in carpooling and the second journey information of the carpooling participants participating in carpooling, and use the information for applications such as archiving and expense settlement, the carpooling initiator should issue a second transaction to the block chain, wherein the second transaction comprises at least one actual carpooling participant determined by the carpooling initiator based on the invited reply and the corresponding second journey information. The specific process of the second transaction being included in the distributed database of the blockchain is similar to the specific process of the first transaction being included, and is not described herein again.
According to the car pooling method based on the block chain, the car pooling initiator sends a first transaction for organizing the car pooling and a second transaction for determining the information of the car pooling participants to the distributed database of the block chain for storing the certificates, and stores the user information and the trip information of the car pooling based on the car pooling. Based on the block chain tamper-proof mechanism, the data information stored in the block chain cannot be tampered, and the data is maintained by all node devices of the block chain together, so that the behavior security of the user participating in the carpooling is improved, and the security of the data information generated in the carpooling process is improved.
In yet another illustrated embodiment, the ride share system may implement user organizational management for ride share users, which may be a collection of users of multiple types, e.g., the user organization may be a collection of employees in the same or different departments within the same enterprise, or a collection of users sharing the same or similar interests, etc. The carpooling service side can set corresponding mapping identification for the user organization, so that management is facilitated. When the car pooling initiator initiates car pooling, the corresponding user organization can be selected to initiate car pooling; the user organization corresponding to the car sharing initiator can be the user organization to which the car sharing initiator belongs, or the user organization with the selection authority of the car sharing initiator; the specific corresponding rule can be flexibly set according to the business rule of the car pooling service party, and is not limited herein.
In order to ensure the safety of the carpooling business behavior, the identity information of the carpooling initiator and the confirmed carpooling participants is stored, the member information of the user organization corresponding to the carpooling initiator can be backed up in the distributed database of the block chain, and the carpooling initiator selects the carpooling participants belonging to the corresponding user organization members to confirm the carpooling. Based on a tamper-proof mechanism of a block chain, the information of user organization corresponding to a car-sharing initiator backed up in a distributed database of the block chain is commonly maintained by nodes of the block chain, and any change of the information of the user organization can be completed by a consensus verifier of the nodes of the block chain; the car sharing sponsor carries out car sharing with the member users in the user organization corresponding to the car sharing sponsor, and the safety of the car sharing users during car sharing is effectively protected.
The information of the user organization used by the car sharing system can be sent to the block chain for storing the certificate by the node equipment of the car sharing service party, and can also be sent to the block chain for storing the certificate by other node equipment, such as the node equipment corresponding to the management of the user member. The node device of the car pooling service party or other node devices may obtain the information organized by the user through self-establishment or by using a third-party interface, which is not limited in this specification.
In another embodiment, the car pool initiator as described herein can be used as a shared resource lease initiator, and can assume responsibility for paying a first shared lease total fee corresponding to a target shared resource to a lessor of the target shared resource, that is, the car pool initiator needs to pay the first shared lease total fee to a vehicle operator or a driver for a first trip actually completed; the carpooling participant pays a corresponding second carpooling fee to the carpooling initiator based on the second journey of the actual carpooling participation of the carpooling participant; the difference value between the total first carpooling fee paid by the carpooling initiator and all the second carpooling fees is the carpooling fee which the carpooling initiator should pay to the vehicle driver or the operator. The first carpooling total cost can be the cost calculated by the carpooling service side node equipment according to the operation cost calculation logic rule of the carpooling system based on the mileage number of the first journey in the current time or the time for completing the first journey and other factors.
It should be noted that when the car pool initiator is a vehicle driver or a vehicle operator, the car pool initiator does not actually need to pay the car pool fee to the vehicle driver or the vehicle operator, and the total first car pool fee paid by the car pool initiator based on the first trip can be understood as the sum of the fees charged by the car pool initiator based on the vehicle to complete the first trip.
In this embodiment, the total first car pooling cost and the second car pooling cost paid by the car pooling party initiator in the car pooling participation direction are both backed up in the distributed database of the block chain, and both the car pooling party initiator node device and the car pooling party node device can obtain the cost paid by each user participating in car pooling in the current car pooling from the block chain, so that accounts are open and data fairness cannot be tampered with, and the defect of poor user experience caused by the fact that accounts are not open for each car pooling party in the existing car pooling system is overcome. The present specification does not limit a transaction initiator initiating the total first carpool fee and the second carpool fee paid on the block chain, and the transaction initiator may be a carpool initiator node device or a carpool participant node device that pays the fees, or a carpool server node device that can obtain the payment fee information; the first car pool total fee and the at least one second car pool fee may be issued in the same transaction or in a plurality of transactions.
In the present embodiment, the fees paid by the parties of the carpool may be unfair due to some special situations. For example, when a certain car pool participant does not pay the second car pool fee due to the car pool initiator (in the actual process, the car pool system can set a specific time threshold for the car pool participant and the car pool initiator to pay fees, and if the fees exceed the corresponding time threshold, the fees are not paid, the fees are regarded as being not paid), so that when the car pool initiator pays the first car pool total fee to the vehicle driver based on the first trip, a person bears higher fees, and the benefit of the car pool initiator is damaged. Or, when the carpooling initiator pays the first carpooling total fee to the vehicle driver based on the first trip, the actually paid first carpooling total fee is lower than the first carpooling total fee corresponding to the first trip due to various reasons (such as using an operator discount or a coupon), so that the carpooling initiator obtains more benefits.
In order to ensure the smooth ride sharing and improve the user experience of each user in using the ride sharing method provided by the present specification, the ride sharing method further includes: the carpooling service side node equipment judges whether a cost reconfiguration logic needs to be executed or not based on the first shared lease total cost and the second shared lease cost which are obtained from a distributed database of the block chain; if so, the fee reallocation logic is executed.
Specifically, the determining and executing process may include: calculating a ratio of a sum of second car pooling fees paid by the car pooling participants to a first total car pooling fee paid or corresponding (when the car pooling initiator is a vehicle driver or operator) by the car pooling initiator; when the ratio exceeds a preset first threshold value, the car sharing initiator enjoys more benefits based on the car sharing process, and the profit reconfiguration logic of the car sharing initiator can be executed: if the carpooling initiator is informed to pay a difference fee to the carpooling participant, the difference fee can comprise currency, tokens circulated by the block chain or characteristic values circulated by the carpooling system; or directly increasing the characteristic value of the car sharing participant in the car sharing system, wherein the characteristic value is used for representing the contribution of the car sharing participant to the car sharing system and can be expressed as numerical values such as an integral value and community activeness.
When the ratio is lower than a preset second threshold value, at least one carpool participant enjoys more benefits (such as being unsettled), and then the profit reallocation logic of at least one carpool participant is executed: if the at least one carpool participant is notified to pay a difference fee to the carpool initiator, the difference fee can comprise money, tokens circulated by the block chain, or characteristic values circulated by the carpool system; or directly increasing the characteristic value of the car sharing initiator in the car sharing system, wherein the characteristic value is used for representing the contribution of the car sharing initiator to the car sharing system and can be expressed as numerical values such as integral value and community activeness.
By executing the fee reallocation logic described in this embodiment, all participating users (including the car pool initiator and the car pool participants) in the car pool process can obtain fair expenditure or profit in the car pool system, and the user experience of the car pool system is improved.
In yet another illustrative embodiment, the determining whether the fee reallocation logic needs to be executed based on the first total car pool fee and the second car pool fee, and if so, the executing the fee reallocation logic may be performed by an intelligent contract deployed on a blockchain, and any node device on the blockchain may execute the fee reallocation determining logic and the executing logic of the intelligent declaration contract by obtaining a transaction including a first total car pool fee paid by the car pool initiator based on a first trip and a transaction including a second car pool fee paid by the car pool participants to the car pool initiator based on a second trip thereof (as described above, the first total car pool fee paid by the car pool initiator and the second car pool fee paid by each car pool participant may be placed in one transaction or different transactions, but are not limited in this specification), and judging whether a charge reconfiguration logic needs to be executed or not based on the first carpool total cost and the second carpool cost, and if so, executing the charge reconfiguration logic.
Compared with the cost reallocation logic deployed in the node equipment of the car sharing service side, the implementation mode of the intelligent contract for executing the cost reallocation logic is fairer and more publicly disclosed. As will be appreciated by those skilled in the art, the intelligent contract is invoked at any time in response to a corresponding transaction, thereby greatly improving the efficiency of revenue reconfiguration execution after car pooling payment; and the intelligent contract execution has the advantages of lower human intervention and decentralization authority, and the fairness of the profit reconfiguration behavior is further increased.
Correspondingly, the present specification also provides a car pooling method executed by a car pooling initiator node device end in the car pooling system, which may include:
the node equipment of the carpooling initiator sends a first transaction to the blockchain; the first transaction comprises first travel information for car sharing and identity information of the car sharing initiator;
receiving an invited reply of the other user pushed by the node equipment of the carpooling service party, wherein the invited reply comprises second journey information which the other user desires to participate in carpooling;
sending a second transaction to the blockchain, the second transaction including the identity information of the ride share participants confirmed by the ride share initiator node device based on the invited reply and second trip information of the ride share participants participating in ride share.
Preferably, the distributed database of the block chain is backed up with user organization member information corresponding to the car sharing initiator; and the carpooling participant belongs to a user organization member corresponding to the carpooling initiator.
Preferably, the method further comprises: receiving a second shared lease fee paid by the shared lease participant node device based on at least a portion of the target shared resources it participates in leases; a first total shared rental fee is paid based on the target shared resource.
The explanation and explanation of the specific embodiment of the car sharing method performed by the node device of the car sharing initiator are already described in detail in each embodiment of the car sharing method performed by the node device of the car sharing service party, and are not repeated herein.
Corresponding to the above flow implementation, embodiments of the present specification further provide a shared resource leasing apparatus based on a block chain. The apparatus may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, the logical device is formed by reading a corresponding computer program instruction into a memory for running through a Central Processing Unit (CPU) of the device. In terms of hardware, in addition to the CPU, the memory, and the storage shown in fig. 5, the device in which the apparatus for implementing the cyber risk service is located generally includes other hardware such as a chip for transmitting and receiving wireless signals and/or other hardware such as a board card for implementing a network communication function.
FIG. 3 is a block chain-based shared resource leasing apparatus applied to a shared leasing system including a shared leasing initiator, a shared leasing participant, and a shared leasing server terminal; the shared leasing initiator, the shared leasing participant and the shared leasing service party terminal are all node equipment of a block chain network; the device is applied to the shared lease server node equipment and comprises the following components:
an obtaining unit 302, configured to obtain a first transaction sent by a node device of the shared lease initiator; the first transaction includes information of a target shared resource and identity information of the shared lease initiator;
a pushing unit 304, which pushes the invitation replies of other users to the node device of the shared rental initiator so that the shared rental initiator sends a second transaction to the blockchain; the invited reply includes information of at least a portion of the target shared resource that the other user desires to participate in the shared lease; the second transaction includes identity information of the shared rental participant and information of at least a portion of the target shared resource that the shared rental participant participated in the rental as confirmed by the shared rental initiator node device based on the invited reply.
In another illustrated embodiment, the user organization member information corresponding to the shared rental originator is backed up on a distributed database of the blockchain; and the shared leasing participant belongs to a user organization member corresponding to the shared leasing initiator.
In a further illustrated embodiment, the apparatus 30 further comprises a determining and executing unit 306:
the obtaining unit 304 is configured to obtain, from the distributed database of the blockchain, first shared rental total cost information paid by the shared rental initiator based on the target shared resource, and second shared rental cost information paid by the shared rental participants to the shared rental initiator based on at least part of the target shared resource rented by the shared rental participants;
the determining and executing unit 306 determines whether to execute the fee reconfiguration logic based on the first shared rental total fee and the second shared rental fee; if so, the fee reallocation logic is executed.
In yet another illustrated embodiment, the determining and performing unit 306:
calling an intelligent contract corresponding to the expense reconfiguration logic, executing the expense reconfiguration judgment logic and the execution logic declared by the intelligent contract, judging whether the expense reconfiguration logic needs to be executed or not based on the first shared lease total expense and the second shared lease expense, and if so, executing the expense reconfiguration logic.
In yet another illustrated embodiment, the determining and performing unit 306:
calculating a ratio of a sum of second shared rental fees paid by the shared rental participants to the total first shared rental fee;
executing revenue reconfiguration logic for the shared lease initiator when the ratio exceeds a preset first threshold;
executing revenue reallocation logic for at least one of the shared rental participants when the ratio is below a preset second threshold.
In yet another illustrated embodiment, the performing revenue reallocation logic for the shared rental initiator includes:
notifying the shared rental sponsor to pay the shared rental participant a spread fee, or adding a characteristic value of the at least one shared rental participant on the shared rental system, the characteristic value being used to characterize the contribution of the at least one shared rental participant to the shared rental system;
the execution of revenue reallocation logic for at least one of the shared rental participants, comprising:
and informing at least one shared lease participant to pay a balance fee to the shared lease initiator, or increasing a characteristic value of the shared lease initiator in the shared lease system, wherein the characteristic value is used for representing the contribution of the shared lease initiator to the shared lease system.
In yet another illustrated embodiment, the differential charge includes one or more of currency, tokens circulated by the blockchain, and the characteristic value circulated by the shared rental system.
In a further illustrated embodiment, the shared resource renting apparatus is applied to a user car sharing system, and the shared renting initiator, the shared renting participant and the shared renting server terminal are a car sharing initiator, a car sharing participant and a car sharing server terminal respectively; the car sharing server terminal, the car sharing initiator terminal and the car sharing participant terminal are all node equipment of a block chain; the information of the target shared resource comprises target vehicle information used for car sharing and first travel information used for car sharing initiated by the car sharing initiator.
Correspondingly, fig. 4 provides a shared resource leasing apparatus 40 based on a block chain, which is applied to a shared leasing system including a shared leasing initiator, a shared leasing participant, and a shared leasing service terminal; the shared leasing initiator, the shared leasing participant and the shared leasing service party terminal are all node equipment of a block chain network; the device is applied to the shared lease initiator node equipment and comprises the following components:
a sending unit 402, sending a first transaction to the blockchain; the first transaction includes information of a target shared resource and identity information of the shared lease initiator;
a receiving unit 404, configured to receive an invited reply of the other user pushed by the shared rental server node device, where the invited reply includes information of at least part of the target shared resource that the other user desires to participate in shared rental;
the sending unit 402 sends a second transaction to the blockchain, where the second transaction includes the identity information of the shared rental participant confirmed by the shared rental initiator node device based on the invited reply and information of at least part of the target shared resource that the shared rental participant participates in the rental.
In yet another illustrated embodiment, the apparatus 40 further comprises:
a fee receiving unit 406 that receives a second shared lease fee that the shared lease participant node device pays based on at least a part of the target shared resource that it participates in the lease;
a fee payment unit 408 that pays a first total shared rental fee based on the target shared resource.
The implementation processes of the functions and actions of each unit in the device are specifically described in the implementation processes of the corresponding steps in the method, and related parts are described in the partial description of the method embodiment, which is not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the units or modules can be selected according to actual needs to achieve the purpose of the solution in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
The apparatuses, units and modules illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
Corresponding to the method embodiment, the embodiment of the present specification further provides a computer device, which includes a memory and a processor. Wherein the memory has stored thereon a computer program executable by the processor; the processor, when executing the stored computer program, performs the steps of the block chain based shared resource lease method performed by the shared lease server node devices in the embodiments of the present specification. For a detailed description of the steps of the above block chain-based shared resource leasing method, please refer to the previous contents, which are not repeated.
Corresponding to the method embodiment, the embodiment of the present specification further provides a computer device, which includes a memory and a processor. Wherein the memory has stored thereon a computer program executable by the processor; the processor, when executing the stored computer program, performs the steps of the block chain based shared resource lease method performed by the shared lease sender node device in the embodiments of the present specification. For a detailed description of the steps of the above block chain-based shared resource leasing method, please refer to the previous contents, which are not repeated.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data.
Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.

Claims (9)

1. A car pooling method based on a block chain is applied to a car pooling system comprising a car pooling initiator, car pooling participants and a car pooling server terminal; the car sharing initiator, the car sharing participator and the car sharing server terminal are all node equipment of a block chain network; the distributed database of the block chain is backed up with the member information of the user organization corresponding to the car sharing initiator; the car sharing participant belongs to a user organization member corresponding to the car sharing initiator; the method comprises the following steps:
the method comprises the steps that node equipment of a car sharing service party obtains a first transaction sent by the node equipment of a car sharing initiator; the first transaction comprises first travel information for car sharing and identity information of the car sharing initiator;
pushing an invite response of the other user to the ride share initiator node device to cause the ride share initiator to send a second transaction to the blockchain; the invitation reply comprises information of a second trip that the other user desires to participate in the ride share; the second transaction comprises identity information of the ride share participant and second journey information of the ride share participant participating in ride share confirmed by the ride share initiator node device based on the invited reply; the first stroke comprises the second stroke;
obtaining, from a distributed database of the blockchain, first total car-sharing fee information paid by the car-sharing initiator based on the first trip, and second car-sharing fee information paid by the car-sharing participants to the car-sharing initiator based on their second trip;
and calling an intelligent contract corresponding to the expense reconfiguration logic, executing the expense reconfiguration judgment logic and the execution logic declared by the intelligent contract, judging whether the expense reconfiguration logic needs to be executed or not based on the first carpool total expense and the second carpool expense, and if so, executing the expense reconfiguration logic.
2. The method of claim 1, determining whether fee reallocation logic needs to be performed based on the first total ride share cost and the second total ride share cost, comprising:
calculating the ratio of the sum of second car sharing fees paid by the car sharing participants to the total first car sharing fee;
executing profit reconfiguration logic for the car pool initiator when the ratio exceeds a preset first threshold value;
and executing profit reallocation logic for at least one of the carpool participants when the ratio is lower than a preset second threshold.
3. The method of claim 2, the executing revenue reconfiguration logic for the ride share initiator comprising:
informing the carpooling initiator to pay a difference fee to the carpooling participant or adding a characteristic value of the at least one carpooling participant in the carpooling system, wherein the characteristic value is used for representing the contribution of the at least one carpooling participant to the carpooling system;
the executing revenue reallocation logic for at least one of the ride share participants includes:
and informing at least one car sharing participation direction that the car sharing initiator pays the difference fee, or increasing the characteristic value of the car sharing initiator in the car sharing system, wherein the characteristic value is used for representing the contribution of the car sharing initiator to the car sharing system.
4. The method of claim 3, the differential fee comprising one or more of currency, tokens circulated by the blockchain, the characteristic values circulated by the ride share system.
5. A car pooling device based on a block chain is applied to a car pooling system comprising a car pooling initiator, car pooling participants and a car pooling server terminal; the car sharing initiator, the car sharing participator and the car sharing server terminal are all node equipment of a block chain network; the distributed database of the block chain is backed up with the member information of the user organization corresponding to the car sharing initiator; the car sharing participant belongs to a user organization member corresponding to the car sharing initiator; the device is applied to the carpooling service side terminal and comprises:
the obtaining unit is used for obtaining a first transaction sent by the node equipment of the carpooling initiator; the first transaction comprises first travel information for car sharing and identity information of the car sharing initiator;
the pushing unit is used for pushing invitation answers of other users to the node equipment of the carpooling initiator so that the carpooling initiator sends a second transaction to the blockchain; the invitation reply comprises information of a second trip that the other user desires to participate in the ride share; the second transaction comprises identity information of the ride share participant and second journey information of the ride share participant participating in ride share confirmed by the ride share initiator node device based on the invited reply; the first stroke comprises the second stroke;
the obtaining unit is further used for obtaining first carpool total expense information paid by the carpool initiator based on the first journey and second carpool expense information paid by the carpool participant to the carpool initiator based on the second journey from a distributed database of the block chain;
and the judging and executing unit is used for calling an intelligent contract corresponding to the expense reconfiguration logic, executing the expense reconfiguration judging logic and the executing logic declared by the intelligent contract, judging whether the expense reconfiguration logic needs to be executed or not based on the first carpool total expense and the second carpool expense, and if so, executing the expense reconfiguration logic.
6. The apparatus of claim 5, the determination and execution unit further to:
calculating the ratio of the sum of second car sharing fees paid by the car sharing participants to the total first car sharing fee;
executing profit reconfiguration logic for the car pool initiator when the ratio exceeds a preset first threshold value;
and executing profit reallocation logic for at least one of the carpool participants when the ratio is lower than a preset second threshold.
7. The apparatus of claim 6, the determination and execution unit further to:
informing the carpooling initiator to pay a difference fee to the carpooling participant or adding a characteristic value of the at least one carpooling participant in the carpooling system, wherein the characteristic value is used for representing the contribution of the at least one carpooling participant to the carpooling system;
the executing revenue reallocation logic for at least one of the ride share participants includes:
and informing at least one car sharing participation direction that the car sharing initiator pays the difference fee, or increasing the characteristic value of the car sharing initiator in the car sharing system, wherein the characteristic value is used for representing the contribution of the car sharing initiator to the car sharing system.
8. The apparatus of claim 7, the differential fee comprising one or more of currency, tokens circulated by the blockchain, the characteristic value circulated by the ride share system.
9. A computer device, comprising: a memory and a processor; the memory having stored thereon a computer program executable by the processor; the processor, when executing the computer program, performs the method of any of claims 1 to 4.
CN201811451335.XA 2018-11-30 2018-11-30 Shared resource leasing method and device based on block chain and computer equipment Active CN109934662B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN202011378119.4A CN112488787A (en) 2018-11-30 2018-11-30 Shared resource leasing method and device based on block chain and computer equipment
CN201811451335.XA CN109934662B (en) 2018-11-30 2018-11-30 Shared resource leasing method and device based on block chain and computer equipment
TW108132984A TW202022640A (en) 2018-11-30 2019-09-12 Blockchain-based shared resource rental method and apparatus, and computer device
PCT/CN2019/111562 WO2020108147A1 (en) 2018-11-30 2019-10-17 Blockchain-based shared resource rental method and apparatus, and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811451335.XA CN109934662B (en) 2018-11-30 2018-11-30 Shared resource leasing method and device based on block chain and computer equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202011378119.4A Division CN112488787A (en) 2018-11-30 2018-11-30 Shared resource leasing method and device based on block chain and computer equipment

Publications (2)

Publication Number Publication Date
CN109934662A CN109934662A (en) 2019-06-25
CN109934662B true CN109934662B (en) 2020-10-30

Family

ID=66984677

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202011378119.4A Pending CN112488787A (en) 2018-11-30 2018-11-30 Shared resource leasing method and device based on block chain and computer equipment
CN201811451335.XA Active CN109934662B (en) 2018-11-30 2018-11-30 Shared resource leasing method and device based on block chain and computer equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202011378119.4A Pending CN112488787A (en) 2018-11-30 2018-11-30 Shared resource leasing method and device based on block chain and computer equipment

Country Status (3)

Country Link
CN (2) CN112488787A (en)
TW (1) TW202022640A (en)
WO (1) WO2020108147A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112488787A (en) * 2018-11-30 2021-03-12 创新先进技术有限公司 Shared resource leasing method and device based on block chain and computer equipment
CN113672988B (en) * 2020-05-14 2023-11-10 腾讯科技(深圳)有限公司 Information management method, system, medium and electronic equipment based on block chain
CN111612553A (en) * 2020-06-16 2020-09-01 珠海麦宁科技有限公司 Cloud service providing method, device and system, storage medium and service node
CN112232799B (en) * 2020-10-26 2022-09-13 浪潮软件科技有限公司 Customs intelligent lock lease settlement system and method based on block chain
CN112511619B (en) * 2020-11-26 2022-11-18 北京工业大学 Method for matching transactions among resource nodes in wireless edge block chain scene
CN113469748A (en) * 2021-07-12 2021-10-01 支付宝(杭州)信息技术有限公司 Block chain-based information delivery income determination method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104732470A (en) * 2015-03-18 2015-06-24 罗莉莎 Charge calculation and payment method and system in taxi sharing process
CN105006026A (en) * 2015-08-12 2015-10-28 福州大学 Talmud method for allocating taxi-sharing fees
CN105809484A (en) * 2016-03-11 2016-07-27 浙江工业大学 Dynamic car sharing charging processing method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103489309B (en) * 2013-08-20 2015-09-16 深圳市幸运草科技有限公司 Risk and hire a car, share private car, the method hitched and system thereof
CN106339763A (en) * 2016-08-12 2017-01-18 北京东方车云信息技术有限公司 Carpooling method, passenger side and server side
CN107045650B (en) * 2016-10-25 2021-06-11 罗轶 Network car booking system based on block chain
CN107122838B (en) * 2017-04-21 2021-06-25 杭州趣链科技有限公司 Intelligent network car booking system and method based on block chain technology
US10783600B2 (en) * 2017-05-25 2020-09-22 GM Global Technology Operations LLC Method and system using a blockchain database for data exchange between vehicles and entities
US10135835B1 (en) * 2018-03-19 2018-11-20 Cyberark Software Ltd. Passwordless and decentralized identity verification
CN108805650A (en) * 2018-04-27 2018-11-13 深圳市元征科技股份有限公司 A kind of order matching process and server
US20200286162A1 (en) * 2018-05-31 2020-09-10 Launch Tech Co., Ltd. Method and server for managing shared vehicles
CN112488787A (en) * 2018-11-30 2021-03-12 创新先进技术有限公司 Shared resource leasing method and device based on block chain and computer equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104732470A (en) * 2015-03-18 2015-06-24 罗莉莎 Charge calculation and payment method and system in taxi sharing process
CN105006026A (en) * 2015-08-12 2015-10-28 福州大学 Talmud method for allocating taxi-sharing fees
CN105809484A (en) * 2016-03-11 2016-07-27 浙江工业大学 Dynamic car sharing charging processing method

Also Published As

Publication number Publication date
TW202022640A (en) 2020-06-16
CN112488787A (en) 2021-03-12
CN109934662A (en) 2019-06-25
WO2020108147A1 (en) 2020-06-04

Similar Documents

Publication Publication Date Title
CN109934662B (en) Shared resource leasing method and device based on block chain and computer equipment
CN108885761B (en) Method for secure point-to-point communication on a blockchain
Al Kawasmi et al. Bitcoin‐based decentralized carbon emissions trading infrastructure model
CN109886677B (en) Commodity purchasing method and device based on block chain
TWI771618B (en) Method and device for distribution of copyright of works based on blockchain
CN106934611B (en) Data processing method and device
WO2020248603A1 (en) Blockchain-based virtual resource allocation method and device
CN110896659B (en) Data processing method, node, blockchain network and virtual data carrier
EP4318362A1 (en) Blockchain-based data processing method, apparatus and device, and storage medium
CN110851531B (en) Cooperative edge computing method, block chain and cooperative edge computing system
US11616649B2 (en) Computer-implemented systems and methods relating to a binary blockchain comprising a pair of coupled blockchains
US20120226587A1 (en) System and method for electronically-facilitated collective purchasing
CN110221919A (en) Virtual resource allocation method and apparatus based on block chain
WO2020103565A1 (en) Block chain-based method and device for taxi operation
CN108648081B (en) Transaction processing method and device based on block chain and electronic equipment
CN110263092A (en) Rent method and device based on block chain
Killeen The confluence of bitcoin and the global sharing economy
CN113987080A (en) Block chain excitation method and device based on reputation consensus and related products
CN112597240B (en) Federal learning data processing method and system based on alliance chain
CN112765656A (en) Electric car sharing charging credible system and method based on block chain
CN114900536A (en) Block chain-based point acceptance consensus storage method and system
Lazareva et al. The Innovative Blockchain Technology in the Sharing Economy Subject Decision Making
CN109543868A (en) A kind of about vehicle approaches to IM and relevant apparatus
CN112712408A (en) Block chain technology-based idle article sharing method, equipment and medium
CN112184460A (en) House maintenance fund management method, equipment and storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant