CN114666328B - Block chain building method and device and equipment leasing method and device - Google Patents

Block chain building method and device and equipment leasing method and device Download PDF

Info

Publication number
CN114666328B
CN114666328B CN202011542252.9A CN202011542252A CN114666328B CN 114666328 B CN114666328 B CN 114666328B CN 202011542252 A CN202011542252 A CN 202011542252A CN 114666328 B CN114666328 B CN 114666328B
Authority
CN
China
Prior art keywords
equipment
rental
blockchain
information
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.)
Active
Application number
CN202011542252.9A
Other languages
Chinese (zh)
Other versions
CN114666328A (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.)
Jingdong Technology Holding Co Ltd
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Holding Co Ltd
Jingdong Technology 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 Jingdong Technology Holding Co Ltd, Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Priority to CN202011542252.9A priority Critical patent/CN114666328B/en
Publication of CN114666328A publication Critical patent/CN114666328A/en
Application granted granted Critical
Publication of CN114666328B publication Critical patent/CN114666328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/02Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • G07F17/0057Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present disclosure provides a method and apparatus for building a blockchain for equipment rental. The construction method comprises the following steps: acquiring lease contract information, wherein the lease contract information comprises information of a plurality of leasing devices to be leased; deploying a node corresponding to each leasing device to obtain a plurality of nodes; and constructing the blockchain based on the plurality of nodes, wherein the node corresponding to each leasing device is used for acquiring the use information of the leasing device and uploading the use information to the blockchain. The disclosure also provides a device renting method and device, a renting device, an electronic device and a computer readable storage medium.

Description

Block chain building method and device and equipment leasing method and device
Technical Field
The present disclosure relates to the field of blockchain technology, and more particularly, to a blockchain construction method and apparatus for equipment rental, a blockchain-based equipment rental method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the transition of light asset management by numerous enterprises, rental markets (e.g., engineering vehicle rentals) develop rapidly, with very wide space. During the rental period, the renter holds and can use the rental equipment, and the lender has ownership of the rental equipment, but cannot comprehensively grasp information such as the use state of the rental equipment. Therefore, there is a problem in that information between the leasing parties is asymmetric in terms of management use of the leasing equipment during the leasing.
Such information is asymmetrical such that use agreements, loss reimbursements, charging billing, etc. for rental equipment typically employ a relatively coarse management model (e.g., billing by rental time, or equipment damage is maintained by the lender load, etc.). This often results in difficulty in clearly defining the rights and responsibilities when disputes occur during the rental process, which is detrimental to the efficient allocation of resources for the rental market.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a blockchain construction method and apparatus for equipment rental, a blockchain-based equipment rental method and apparatus, an electronic device, and a computer-readable storage medium.
One aspect of an embodiment of the present disclosure provides a method of building a blockchain for equipment rental. The construction method comprises the following steps: acquiring lease contract information, wherein the lease contract information comprises information of a plurality of leasing devices to be leased; deploying a node corresponding to each leasing device to obtain a plurality of nodes; and constructing the blockchain based on the plurality of nodes, wherein the node corresponding to each leasing device is used for acquiring the use information of the leasing device and uploading the use information to the blockchain.
According to an embodiment of the disclosure, the constructing the blockchain based on the plurality of nodes further includes recording an initialization event in an created block of the blockchain, the initialization event including the rental contract information.
According to an embodiment of the present disclosure, the building method further includes, after the end of the rental, transferring data in the blockchain and disassembling the blockchain based on a user operation.
In another aspect of the embodiments of the present disclosure, a method for renting equipment based on a blockchain is provided, wherein the blockchain is built by using the above-mentioned building method. The equipment renting method comprises the following steps: acquiring state change information of the leasing equipment, wherein the state change information is used for representing information of switching between any two states of M states of the leasing equipment, and M is an integer greater than 1; transmitting the state change information to a node corresponding to the rental equipment, so as to upload the state change information to the blockchain through the node; and managing the rental equipment based on the state change information recorded in the blockchain generated during rental.
According to an embodiment of the present disclosure, the managing the rental equipment based on the state change information recorded in the blockchain generated during rental includes: calculating the time lengths of M states of the leasing equipment during leasing based on the state change information recorded in the blockchain and generated during leasing; and calculating the lease fee of the lease equipment based on the duration of each of the M states during the lease and the charging unit prices corresponding to the M states.
According to an embodiment of the present disclosure, the M states include at least a use state and an idle state.
According to an embodiment of the present disclosure, the rental device comprises a vehicle. The obtaining the status change information of the rental equipment includes: acquiring various signals of the vehicle operation acquired by an on-board automatic diagnostic system (OBD) of the vehicle; and obtaining the state change information of the vehicle based on various signals of the vehicle operation.
In another aspect of the disclosed embodiments, a blockchain building apparatus for equipment rental is provided. The building device comprises a first acquisition module, a node deployment module and a blockchain networking module. The first acquisition module is used for acquiring lease contract information, wherein the lease contract information comprises information of a plurality of leasing equipment which need to be leased. The node deployment module is used for deploying a node corresponding to each leasing device to obtain a plurality of nodes. The blockchain networking module is used for building the blockchain based on the plurality of nodes, wherein the node corresponding to each leasing equipment is used for acquiring the use information of the leasing equipment and uploading the use information to the blockchain.
According to an embodiment of the present disclosure, the blockchain networking module is further configured to record an initialization event in an creation block of the blockchain, where the initialization event includes the rental contract information.
According to an embodiment of the disclosure, the building apparatus further comprises a blockchain disassembly module. The block chain dismissal module is used for dumping data in the block chain based on user operation after lease is finished and dismissing the block chain.
In another aspect of the disclosed embodiments, a blockchain-based equipment rental device is provided. The block chain is constructed by using the above construction device. The equipment leasing device comprises a second acquisition module, a sending module and a management module. The second obtaining module is used for obtaining state change information of the leasing equipment, wherein the state change information is used for representing information of switching between any two states of M states of the leasing equipment, and M is an integer larger than 1. And the sending module is used for sending the state change information to a node corresponding to the leasing equipment so as to upload the state change information to the blockchain through the node. The management module is used for managing the leasing equipment based on the state change information recorded in the blockchain and generated during leasing.
According to an embodiment of the present disclosure, the management module is further configured to calculate a duration in which the rental devices are in M states, respectively, during the rental, based on the state change information recorded in the blockchain and generated during the rental; and calculating the lease fee of the lease equipment based on the duration of each of the M states during the lease and the charging unit prices corresponding to the M states.
According to an embodiment of the present disclosure, the rental device comprises a vehicle. The second acquisition module is used for acquiring various signals of the vehicle operation acquired by an on-board automatic diagnosis system (OBD) of the vehicle; and obtaining the state change information of the vehicle based on various signals of the vehicle operation.
In another aspect of the disclosed embodiments, a rental device is also provided. The rental device comprises the device rental apparatus as described above.
In another aspect of the disclosed embodiments, an electronic device is also provided. The electronic device includes one or more processors and one or more memories. The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the set-up method as described above, or the equipment rental method as described above.
Another aspect of the disclosed embodiments provides a computer-readable storage medium storing computer-executable instructions that, when executed, are configured to implement the method of building as described above, or the method of renting devices as described above.
Another aspect of the disclosed embodiments provides a computer program comprising computer executable instructions which, when executed, are to implement the method of building as described above, or the method of renting devices as described above.
One or more of the above embodiments have the following advantages or benefits: a temporary, private blockchain may be built for a rental contract, wherein each node in the blockchain corresponds to a rental device in the rental contract. Therefore, the use information of the leasing equipment can be recorded in the blockchain, the recorded use information of the leasing equipment is non-tamper-proof by means of the blockchain, the reliability of the use information of the leasing equipment during leasing can be ensured, and the mutual trust of the leasing parties is improved.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments thereof with reference to the accompanying drawings in which:
FIG. 1 schematically illustrates an application scenario of blockchain construction and equipment rental in accordance with an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow diagram of a method of building a blockchain for equipment rental in accordance with an embodiment of the present disclosure;
FIG. 3 schematically illustrates a flow diagram of a blockchain-based device rental method, in accordance with an embodiment of the present disclosure;
FIG. 4 schematically illustrates a blockchain-based vehicle rental flow, in accordance with an embodiment of the present disclosure;
FIG. 5 schematically illustrates a block diagram of a build apparatus for a blockchain of equipment rental in accordance with an embodiment of the present disclosure;
FIG. 6 schematically illustrates a block diagram of a blockchain-based equipment rental device, in accordance with an embodiment of the present disclosure; and
Fig. 7 schematically illustrates a block diagram of an electronic device adapted to implement a method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a convention should be interpreted in accordance with the meaning of one of skill in the art having generally understood the convention (e.g., "a system having at least one of A, B and C" would include, but not be limited to, systems having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a formulation similar to at least one of "A, B or C, etc." is used, in general such a formulation should be interpreted in accordance with the ordinary understanding of one skilled in the art (e.g. "a system with at least one of A, B or C" would include but not be limited to systems with a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the rental market, there is a series of problems caused by the asymmetry of information existing between the two parties of the rental equipment management and use during the rental period. For example, in the current manner of charging for a unit time length when a rental vehicle is charged in a vehicle rental market, how long the time is used calculates the cost by multiplying the cost per unit time length by the number of unit time lengths. For example, the express industry often needs to rent a large number of forklifts and special transportation vehicles in a busy season, and the construction industry needs engineering vehicles such as external excavators and forklift trucks due to progress problems, but the vehicles do not completely play the same role in the renting period. This may result in a reduced willingness of the renter to rent vehicles.
For another example, when daily renting an engineering vehicle, the renter may run the vehicle all-weather at full load for cost saving to maximize the use value of the vehicle. However, this may accelerate the loss of the vehicle, and the lender's all-weather construction may consume a lot of manpower.
Therefore, how to increase the information symmetry of the renter and the renter in the renting market has important significance for improving the mutual trust of the renter and improving the renting efficiency.
In view of the foregoing, an aspect of an embodiment of the present disclosure provides a method and apparatus for building a blockchain for equipment rental. Another aspect of the disclosed embodiments provides a method and apparatus for equipment rental based on blockchain. According to the embodiments of the present disclosure, information transparency of the renting parties in management and use of the renting equipment during the renting period is effectively improved, mutual trust between the renting parties and the renting parties is improved, and renting efficiency is improved.
The method for constructing the blockchain for equipment renting comprises the steps of firstly obtaining renting contract information, wherein the renting contract information comprises information of a plurality of renting equipment to be rented. And then deploying a node corresponding to each leasing equipment to obtain a plurality of nodes. And then constructing a blockchain based on a plurality of nodes, wherein the node corresponding to each leasing equipment is used for acquiring the use information of the leasing equipment and uploading the use information to the blockchain.
In the equipment renting method and device based on the blockchain according to the embodiments of the present disclosure, the blockchain is built by using the above-mentioned building method. The equipment renting method comprises the steps of firstly obtaining state change information of renting equipment, wherein the state change information is used for representing information of switching of the renting equipment between any two states of M states, and M is an integer larger than 1. The state change information is then sent to a node corresponding to the rental device, such that the state change information is uploaded to the blockchain by the node. The rental equipment is then managed based on the state change information recorded in the blockchain that is generated during rental.
According to various embodiments of the present disclosure, a temporary, private blockchain may be built for a lease contract, wherein a node is then deployed for each lease device in the lease contract and connected into the blockchain. Therefore, the use information of the leasing equipment can be recorded in the blockchain, the recorded use information of the leasing equipment is non-tamper-proof by means of the blockchain, the reliability of the use information of the leasing equipment during leasing can be ensured, and the mutual trust of the leasing parties is improved.
According to embodiments of the present disclosure, the rental device may be, for example, any of a vehicle, a display, a computer, a blower, a motor, a decelerator, or a medical device. The present disclosure is not limited in this regard.
Fig. 1 schematically illustrates an application scenario 100 of blockchain construction and equipment rental according to an embodiment of the present disclosure, wherein the application scenario 100 is illustrated as a vehicle rental scenario.
As shown in fig. 1, in an application scenario 100, for example, a rental contract specifies that 5 vehicles (illustrated as vehicles 101-105 in the figure) are rented for a certain period of time. According to embodiments of the present disclosure, a temporary, private blockchain may be built for the rental contract for recording usage information of vehicles 101-105 during the rental, and the like.
Specifically, one blockchain node may be deployed for each of the vehicles 101-105, such as node 1 deployed in each of the vehicles in FIG. 1. The node 1 is a node capable of building a blockchain, wherein the node 1 has the functions of data storage, intelligent contract deployment, data encryption and decryption, common algorithm execution and the like. The data in each node may be saved to a corresponding database. It will be appreciated that the node 1 may be integrated in the electronic system of each vehicle, so as to be deployed in each vehicle. In other embodiments, the node 1 may be deployed outside of the vehicle (e.g., cloud or server or data center), and have a correspondence with each vehicle.
According to the embodiment of the present disclosure, the nodes 1 to which the vehicles 101 to 105 respectively correspond may communicate through a network to construct a blockchain. Thus, during execution of the rental contract, the usage information of each vehicle after the rental of the vehicles 101 to 105 can be recorded by the blockchain. The recorded vehicle use information can be guaranteed to be non-tamperable by means of a cryptography algorithm in the blockchain and a transaction consensus mechanism of the blockchain, and the non-tamperable property of the blockchain and the current lease relation is guaranteed.
According to an embodiment of the present disclosure, each of the vehicles 101 to 105 may also have the equipment rental device 2 according to an embodiment of the present disclosure deployed therein. The equipment rental device 2 may be integrated in the electronic system of the vehicle, for example, together with an On-board self-diagnostic system OBD (abbreviation of On-Board Diagnostics).
The equipment renting device 2 may be configured to execute a blockchain-based equipment renting method according to an embodiment of the present disclosure, and upload a vehicle signal acquired by an on-board self-diagnosis system OBD to a corresponding node 1 after processing the vehicle signal, so as to upload the vehicle signal to a blockchain corresponding to the renting contract through the node 1. In addition, the equipment rental device 2 can manage the vehicle by the use information of the vehicle recorded in the blockchain.
For example, fine-grained billing of rental equipment can be achieved during rental. For example, the flexible charge calculation is performed according to the usage information of each vehicle recorded in the blockchain network to count the usage of each vehicle. For example, the method of mixed charging of idle time unit price and using time unit price, or the method of charging of base unit price and using time unit price. In this way, even if the renter rents redundant vehicles for use, if the vehicles (e.g., vehicle 104 and vehicle 105) are idle and unused during the rental, the remaining useful lives of vehicle 104 and vehicle 105 are not affected after the return. The lease may pay only the fees corresponding to the occupancy values of the vehicles 104 and 105 without additional payment of the loss values of the vehicles 104 and 105. Therefore, the vehicle charging mode can be more reasonable, and the resource allocation in the leasing process is more optimized.
Or, for example, according to the usage information of each vehicle recorded in the blockchain network, the responsibilities of the renter for carrying out the offending action when the vehicle is damaged, the failure responsibilities of the device for natural use, etc. are divided according to the specific situation.
According to the embodiments of the present disclosure, after the rental contract execution is completed, the data in the node 1 corresponding to each of the vehicles 101 to 105 may be exported and saved, and then the blockchain may be broken up. For example, the data stored in each node 1 may be erased after the data in the node 1 corresponding to each of the vehicles 101 to 105 is transferred. So that the respective node 1 of vehicles 101-105 may rebuild a new blockchain in accordance with the methods of embodiments of the present disclosure while fulfilling the new rental pool.
It should be noted that fig. 1 illustrates only an example of an application scenario in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments, or scenarios.
Fig. 2 schematically illustrates a flow chart of a method of building a blockchain for equipment rental in accordance with an embodiment of the present disclosure.
As shown in fig. 2, a block chain construction method for equipment rental according to an embodiment of the present disclosure may include operations S210 to S230.
In operation S210, rental contract information including information of a plurality of rental devices that need to be rented is acquired.
In operation S220, a node is deployed for each rental device, resulting in a plurality of nodes (e.g., node 1 in fig. 1).
In operation S230, a blockchain is built based on a plurality of nodes, wherein the node corresponding to each rental device is used to obtain the usage information of the rental device, and upload the usage information to the blockchain.
When the blockchain is built, for example, an initialization event may be recorded in the creation block of the blockchain, the initialization event including rental contract information. The rental contract information may include rental party information, a rental contract number, an initially determined rental period, a rental object, a billing mode, a trouble shooting mode, and the like. And the information of the lease contract is recorded in the creation block, so that the corresponding relation between the block chain and the lease contract can be ensured not to be replaced.
According to other embodiments of the present disclosure, the data in the blockchain may be restored and the blockchain may be disassembled based on user operations after rental ends.
According to embodiments of the present disclosure, a blockchain may be built for a lease contract. Wherein rental equipment rented to fulfill the rental contract is connected into the blockchain system to form nodes of the blockchain. Therefore, the use information of the leasing equipment can be recorded in the blockchain, and the recorded use information of the leasing equipment is non-tamperable by means of the blockchain, so that the reliability of the use information of the leasing equipment during leasing can be ensured to a large extent, and the mutual trust of leasing parties is improved.
Fig. 3 schematically illustrates a flow chart of a blockchain-based device rental method, in accordance with an embodiment of the present disclosure.
As shown in fig. 3, a blockchain-based device rental method according to an embodiment of the present disclosure may include operations S310 to S330. The blockchain is built by executing a lease contract by the nodes corresponding to the lease equipment respectively.
In operation S310, status change information of the rental device is obtained, where the status change information is information characterizing a switch of the rental device between any two states of M states, where M is an integer greater than 1. The duration that the rental device is in a certain state can be calculated based on the status change information of the rental device.
In some embodiments, the M states in which the rental device is in include at least a use state and an idle state. In other embodiments, the M states in which the rental device is located may include, but are not limited to, a use state, an idle state, a fail-over state, a maintenance state, or the like, for example. In some embodiments, the usage state may be further subdivided into a full load operation state, an overload state, or a normal operation state, etc.
According to one embodiment of the present disclosure, the rental equipment can be vehicles (e.g., vehicles 101-105 shown in FIG. 1). In this case, various signals of the vehicle operation acquired by the on-board automatic diagnostic system OBD of the vehicle may be acquired in operation S310, and then state change information of the vehicle may be obtained based on the various signals of the vehicle operation. The on-board automatic diagnostic system OBD can monitor the systems and components such as an engine, a catalytic converter, a particle catcher, an oxygen sensor, an emission control system, a fuel system, an EGR (Exhaust Gas recirculation) system and the like in real time, so that various signals in the running process of the vehicle can be collected. A signal in which the vehicle state change is related may be selected as the state change information in operation S310. It will be appreciated that for other types of rental equipment, various signals of equipment operation may be collected by sensors disposed in the rental equipment.
In operation S320, the state change information is transmitted to a node corresponding to the rental device to upload the state change information to the blockchain through the node.
In operation S330, rental equipment is managed based on state change information generated during rental recorded in the blockchain. Management of rental equipment can include billing management, usage monitoring, damage repair or compensation management for different situations, and the like.
In one embodiment, billing may be based on information recorded in the blockchain based on the status of rental equipment during rental. Specifically, for example, the duration that the rental equipment is in M states during the rental period may be calculated based on state change information generated during the rental period recorded in the blockchain, and the rental fee of the rental equipment may be calculated based on the duration that the rental equipment is in each of the M states during the rental period and the charging unit prices corresponding to the M states.
According to the embodiment of the disclosure, different charging unit prices can be set for different states of the rental equipment, so that finer granularity charging of the rental equipment can be realized in the period of rental, such as a mode of mixed charging of idle unit price and long unit price in use, or a mode of adding rectangular charging of basic unit price and long unit price in use, and the like.
FIG. 4 schematically illustrates a blockchain-based vehicle rental flow, in accordance with an embodiment of the present disclosure. Fig. 4 illustrates an example application of billing management of leased vehicles using a method according to an embodiment of the present disclosure.
As shown in fig. 4, referring to fig. 1, the node 1 deployed in each vehicle and the set rental device 2 in this embodiment may be implemented as an in-vehicle block module 41 and a vehicle charging module 42, respectively. The on-board block module 41 and the vehicle billing module 42 may be integrated with the OBD on-board self-diagnostic system 43 in a vehicle electronic system for billing management of rented vehicles.
The OBD onboard self-diagnostic system 43 collects various signals of vehicle operation and may then send the collected signals to the onboard billing module 42. The various signals of vehicle operation may include, for example, but are not limited to, a vehicle start signal or a vehicle flameout signal.
The on-board billing module 42 may capture the vehicle start and stop signals sent by the OBD on-board self-diagnostic system 43 and may calculate the vehicle actual use duration therefrom. While the in-vehicle billing module 42 may upload vehicle start events and vehicle stop events into the in-vehicle block module 41.
The in-vehicle blockmodule 41 may also calculate hash values for vehicle start events and vehicle stop events and upload into the blockchain in the form of transaction information. Any tampering of the data is guaranteed to be found as long as the information of the vehicle start event and the vehicle stop event is agreed upon by the transactions of the blockchain and saved to the block. In the process of initializing the blockchain assembly, the on-board blockmodule 41 of each vehicle uploads and records the information of the lease contract to the blockchain in a transaction form, wherein the lease contract information is recorded in the creation block to ensure that the whole blockchain is not replaced.
By incorporating the vehicle-mounted billing module 42 into the vehicle and recording the actual use of the vehicle in the blockchain, a more reasonable billing method, such as a mixed billing method of unit price of idle time and unit price of use time, or a rectangular billing method of adding base unit price to use time, is provided.
In one embodiment, to accommodate most vehicle integration scenarios, the in-vehicle billing module 42 and in-vehicle block module 41 may be designed in an ECU mode. For example, the in-vehicle billing module 42 and the in-vehicle block module 41 may be combined into one vehicle billing system. The vehicle charging system internally comprises a complete embedded system or an operation system of the Internet of things, an independent hardware system (memory, storage, CPU), input and output equipment and the like. Is integrated in the vehicle in an externally hung manner. The vehicle charging system may be provided with a necessary alarm device for preventing personal destruction. The vehicle billing system may define an event collection interface, defining the collected OBD signals according to different scenarios and different vehicle types, so as to adapt to diversified billing modes.
In the application example, charging data can be stored in a blockchain mode, leasing contract information is stored through an creation block, the charging data is guaranteed to be non-tamper-proof through a cryptography algorithm, and the blockchain and the current leasing relation are guaranteed to be non-tamper-proof.
Fig. 5 schematically illustrates a block diagram of a blockchain build apparatus 500 for equipment rental in accordance with an embodiment of the present disclosure.
As shown in fig. 5, the building apparatus 500 may include a first acquisition module 510, a node deployment module 520, and a blockchain networking module 530 according to embodiments of the present disclosure. According to other embodiments of the present disclosure, the building apparatus 500 may further include a blockchain disassembly module 540.
The first obtaining module 510 is configured to obtain rental contract information, where the rental contract information includes information of a plurality of rental devices that need to be rented.
The node deployment module 520 is configured to deploy one node corresponding to each rental device, so as to obtain a plurality of nodes.
The blockchain networking module 530 is configured to build a blockchain based on a plurality of nodes, where a node corresponding to each rental device is configured to obtain usage information of the rental device, and upload the usage information to the blockchain. The blockchain networking module 530 is further configured to record an initialization event in an originating block of the blockchain, the initialization event including rental contract information, according to an embodiment of the present disclosure.
The blockchain unbinding module 540 is used for unbinding the blockchain and unbinding the blockchain based on the user operation after the end of the rental.
The building apparatus 500 may be used to implement the blockchain building method for equipment rental described with reference to fig. 2. The component apparatus 500 may be disposed in a cloud, a data center, or in each rental device, which is not limited in this disclosure.
Fig. 6 schematically illustrates a block diagram of a blockchain-based device rental apparatus 600, in accordance with an embodiment of the present disclosure.
As shown in fig. 6, a blockchain-based device rental apparatus 600 can include a second acquisition module 610, a transmission module 620, and a management module 630, in accordance with embodiments of the present disclosure. The device rental apparatus 600 can be used to implement the device rental method described with reference to fig. 3, in which the blockchain is built using the building apparatus 500.
The second obtaining module 610 is configured to obtain status change information of the rental device, where the status change information is used to characterize a switching of the rental device between any two states of M states, where M is an integer greater than 1.
According to an embodiment of the present disclosure, the rental device can be a vehicle. In this case, the second acquisition module 610 is specifically configured to acquire various signals of vehicle operation acquired by the on-board automatic diagnostic system OBD of the vehicle; and obtaining state change information of the vehicle based on various signals of the vehicle operation.
The sending module 620 is configured to send the state change information to a node corresponding to the rental device, so that the state change information is uploaded to the blockchain by the node.
The management module 630 is used for managing rental equipment based on status change information recorded in the blockchain that is generated during rental.
According to an embodiment of the present disclosure, the management module 630 is further configured to calculate a duration in which the rental device is in M states during the rental, respectively, based on the state change information recorded in the blockchain and generated during the rental; and calculating rental fees of the rental equipment based on the time length of the rental equipment in each of the M states during the rental and the charging unit prices corresponding to the M states.
Any number of modules, sub-modules, units, sub-units, or at least some of the functionality of any number of the sub-units according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented as split into multiple modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in any other reasonable manner of hardware or firmware that integrates or encapsulates the circuit, or in any one of or a suitable combination of three of software, hardware, and firmware. Or one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be at least partially implemented as computer program modules, which, when executed, may perform the corresponding functions.
For example, any of the first acquisition module 510, the node deployment module 520, the blockchain networking module 530, the blockchain unbinding module 540, the second acquisition module 610, the sending module 620, and the management module 630 may be combined in one module to be implemented, or any of the modules may be split into a plurality of modules. Or at least some of the functionality of one or more of the modules may be combined with, and implemented in, at least some of the functionality of other modules. According to embodiments of the present disclosure, at least one of the first acquisition module 510, the node deployment module 520, the blockchain networking module 530, the blockchain disaggregation module 540, the second acquisition module 610, the transmission module 620, and the management module 630 may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging circuitry, or in any one of or a suitable combination of three of software, hardware, and firmware. Or at least one of the first acquisition module 510, the node deployment module 520, the blockchain networking module 530, the blockchain unbinding module 540, the second acquisition module 610, the sending module 620, and the management module 630 may be at least partially implemented as a computer program module that, when executed, performs the corresponding functions.
Fig. 7 schematically illustrates a block diagram of an electronic device 700 adapted to implement a method according to an embodiment of the disclosure. The electronic device 700 shown in fig. 7 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 7, an electronic device 700 according to an embodiment of the present disclosure includes a processor 701 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. The processor 701 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 701 may also include on-board memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of a blockchain building method procedure or a device rental method procedure in accordance with embodiments of the present disclosure.
In the RAM 703, various programs and data necessary for the operation of the electronic apparatus 700 are stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. The processor 701 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 702 and/or the RAM 703. Note that the program may be stored in one or more memories other than the ROM 702 and the RAM 703. The processor 701 may also perform various operations of the build method flow or the equipment rental method flow of the blockchain according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the electronic device 700 may further include an input/output (I/O) interface 705, the input/output (I/O) interface 705 also being connected to the bus 704. The electronic device 700 may also include one or more of the following components connected to the I/O interface 705: an input section 706 including a keyboard, a mouse, and the like; an output portion 707 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 708 including a hard disk or the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. The drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read therefrom is mounted into the storage section 708 as necessary.
The method flow according to embodiments of the present disclosure may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 709, and/or installed from the removable medium 711. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 701. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs that, when executed, implement a blockchain building method for equipment rental, or a blockchain-based equipment rental method, according to embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 702 and/or RAM 703 and/or one or more memories other than ROM 702 and RAM 703 described above.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be combined in various combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. These examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (9)

1. A blockchain-based equipment rental method performed by an equipment rental device deployed in rental equipment, wherein the equipment rental method comprises:
Acquiring state change information of the leasing equipment, wherein the state change information is used for representing information of switching between any two states of M states of the leasing equipment, and M is an integer greater than 1; wherein the M states include at least one of: full load operation state, overload state, normal operation state, idle state, fault shutdown state and maintenance state;
transmitting the state change information to a node corresponding to the leasing equipment, so as to upload the state change information to a blockchain through the node corresponding to the leasing equipment; and
Managing the rental equipment based on the state change information recorded in the blockchain generated during rental; wherein said managing the rental equipment comprises at least one of: use monitoring, damage repair or reimbursement management for different situations;
The block chain is constructed by the following construction method, which comprises the following steps:
acquiring lease contract information, wherein the lease contract information comprises information of a plurality of leasing devices to be leased;
Deploying a node corresponding to each lease equipment in the lease contract information to obtain a plurality of nodes; and
And constructing the blockchain based on the plurality of nodes, wherein the node corresponding to each leasing equipment is used for acquiring the use information of the leasing equipment and uploading the use information to the blockchain.
2. The device rental method of claim 1, wherein the managing the rental device based on the state change information recorded in the blockchain that is generated during rental further comprises:
calculating the time length of each M states of the leasing equipment during the leasing based on the state change information recorded in the blockchain and generated during the leasing; and
And calculating the lease fee of the lease equipment based on the duration of each state of the M states and the charging unit price corresponding to the M states during the lease.
3. The device rental method of claim 1, wherein the rental device comprises a vehicle, and the obtaining status change information for the rental device comprises:
acquiring various signals of the vehicle operation acquired by an on-board automatic diagnostic system (OBD) of the vehicle; and
The state change information of the vehicle is obtained based on various signals of the vehicle running.
4. The equipment renting method of claim 1, wherein the building the blockchain based on the plurality of nodes further comprises:
recording an initialization event in an creation block of the blockchain, wherein the initialization event comprises the lease contract information.
5. The equipment rental method of claim 1, further comprising:
And after the renting is finished, the data in the blockchain is transferred and the blockchain is disassembled based on user operation.
6. A blockchain-based equipment rental device, wherein the equipment rental device is deployed in rental equipment, the equipment rental device comprising:
The second acquisition module is used for acquiring state change information of the leasing equipment, wherein the state change information is used for representing information of switching of the leasing equipment between any two states of M states, and M is an integer greater than 1; wherein the M states include at least one of: full load operation state, overload state, normal operation state, idle state, fault shutdown state and maintenance state;
the sending module is used for sending the state change information to a node corresponding to the leasing equipment so as to upload the state change information to a blockchain through the node; and
A management module for managing the rental equipment based on the state change information generated during rental recorded in the blockchain; wherein said managing the rental equipment comprises at least one of: use monitoring, damage repair or reimbursement management for different situations;
wherein the blockchain is built using a building device, wherein the building device comprises:
the first acquisition module is used for acquiring lease contract information, wherein the lease contract information comprises information of a plurality of leasing equipment to be leased;
the node deployment module is used for deploying a node corresponding to each lease equipment in the lease contract information to obtain a plurality of nodes; and
And the blockchain networking module is used for building the blockchain based on the plurality of nodes, wherein the node corresponding to each leasing equipment is used for acquiring the use information of the leasing equipment and uploading the use information to the blockchain.
7. A rental device, comprising:
the equipment rental device of claim 6.
8. An electronic device, comprising:
one or more processors; and
One or more memories for storing one or more programs,
Wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement:
The equipment rental method according to any one of claims 1 to 5.
9. A computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform:
the rental method according to any one of claims 1 to 5.
CN202011542252.9A 2020-12-23 2020-12-23 Block chain building method and device and equipment leasing method and device Active CN114666328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011542252.9A CN114666328B (en) 2020-12-23 2020-12-23 Block chain building method and device and equipment leasing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011542252.9A CN114666328B (en) 2020-12-23 2020-12-23 Block chain building method and device and equipment leasing method and device

Publications (2)

Publication Number Publication Date
CN114666328A CN114666328A (en) 2022-06-24
CN114666328B true CN114666328B (en) 2024-07-16

Family

ID=82024866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011542252.9A Active CN114666328B (en) 2020-12-23 2020-12-23 Block chain building method and device and equipment leasing method and device

Country Status (1)

Country Link
CN (1) CN114666328B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949128A (en) * 2019-03-11 2019-06-28 黑龙江世纪精彩科技有限公司 Shared automobile charging method
CN110175208A (en) * 2019-04-10 2019-08-27 阿里巴巴集团控股有限公司 Rent method and device based on block chain

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10586062B1 (en) * 2015-11-23 2020-03-10 United Services Automobile Association (Usaa) Systems and methods to track, store, and manage events, rights and liabilities
CN107563846B (en) * 2017-08-10 2021-01-12 深圳市易成自动驾驶技术有限公司 Shared vehicle management method, server, system, and computer-readable storage medium
CN108335425A (en) * 2018-02-01 2018-07-27 深圳市轱辘车联数据技术有限公司 A kind of information of vehicles processing method and server based on block chain
CN108701324A (en) * 2018-05-31 2018-10-23 深圳市元征科技股份有限公司 A kind of management method and server of shared vehicle
DE112018007800T5 (en) * 2018-07-03 2021-04-15 Elaphe Propulsion Technologies Ltd. Electric Vehicle Energy Balance Credit-and-Debit System and Procedure
CN108898749B (en) * 2018-07-09 2020-09-25 上海旺链信息科技有限公司 Sharing bicycle based on block chain
AU2019301150A1 (en) * 2018-07-10 2020-12-24 Listat Ltd. Decentralized cybersecure privacy network for cloud communication and global e-commerce
CN109064291B (en) * 2018-08-08 2023-05-30 平安科技(深圳)有限公司 House property leasing method, system, computer equipment and storage medium
US11157484B2 (en) * 2018-09-19 2021-10-26 Salesforce.Com, Inc. Advanced smart contract with decentralized ledger in a multi-tenant environment
CN110009439A (en) * 2018-11-23 2019-07-12 阿里巴巴集团控股有限公司 A kind of taxi operational know-how and device based on block chain
KR102086688B1 (en) * 2018-12-06 2020-04-20 윤여표 Vehicle information using system using block chain
US20200184548A1 (en) * 2018-12-07 2020-06-11 Honeywell International Inc. Systems and methods for leasing equipment or facilities using blockchain technology
KR102285799B1 (en) * 2019-03-04 2021-08-05 어드밴스드 뉴 테크놀로지스 씨오., 엘티디. Asset management system utilizing blockchain network
KR20200117799A (en) * 2019-04-06 2020-10-14 두나무 주식회사 Device and method of managing operational records of rental vehicles
CN110263092A (en) * 2019-05-23 2019-09-20 阿里巴巴集团控股有限公司 Rent method and device based on block chain
CN110503781A (en) * 2019-09-19 2019-11-26 腾讯科技(深圳)有限公司 Vehicle leasing business data processing method and device based on block chain
CN110597883B (en) * 2019-09-19 2024-05-07 腾讯科技(深圳)有限公司 Vehicle leasing data processing method and device based on blockchain and storage medium
CN110602236B (en) * 2019-09-20 2021-12-14 腾讯科技(深圳)有限公司 Node control method, node control device, and storage medium
CN110782315B (en) * 2019-09-30 2024-03-12 马征峰 Business system and method based on jewelry social electronic commerce platform
CN110941841A (en) * 2019-11-21 2020-03-31 山东爱城市网信息技术有限公司 Block chain-based shared automobile management method, device and medium
CN111008885A (en) * 2019-11-28 2020-04-14 山东爱城市网信息技术有限公司 Method, equipment and medium for managing and sharing charge pal based on block chain
CN111507799B (en) * 2020-04-16 2023-05-23 云南大禹智慧水务科技有限公司 Heterogeneous intelligent agriculture Internet of things equipment based on blockchain and leasing method thereof
CN111415231A (en) * 2020-05-07 2020-07-14 广东中创区块链技术有限公司 House leasing implementation method based on block chain

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949128A (en) * 2019-03-11 2019-06-28 黑龙江世纪精彩科技有限公司 Shared automobile charging method
CN110175208A (en) * 2019-04-10 2019-08-27 阿里巴巴集团控股有限公司 Rent method and device based on block chain

Also Published As

Publication number Publication date
CN114666328A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
JP7481747B2 (en) Method, device, storage medium and program product for carbon trading
Durisic et al. Measuring the impact of changes to the complexity and coupling properties of automotive software systems
DE112018007724T5 (en) Blockchain based verification framework
JP7453349B2 (en) Computer-implemented methods, software programs and systems for providing vehicle services and activating payment processes for such vehicle services
US9342825B2 (en) Software license and installation process management within an organization
JP7511677B2 (en) Energy sharing based on demand
CN114666328B (en) Block chain building method and device and equipment leasing method and device
CN111429121A (en) Block chain-based electronic ticket processing method, device, equipment and storage medium
CN112269838B (en) Blockchain-based supervision method and device, electronic equipment and storage medium
CN108538082A (en) Intelligent parking space sharing parking system and method
CN115358709A (en) Muck management monitoring system and management method thereof, electronic device and storage medium
CN107368330A (en) Client patch restorative procedure, device and system
US20070028233A1 (en) Traffic control software lock and method
CN117201568B (en) Vehicle remote control method, device, system, computer equipment and storage medium
CN116128351B (en) Resource transfer method and device based on charging pile and computer equipment
TWM608000U (en) Parking lot payment system with cloud payment function
KR102293076B1 (en) Mobility data collecting system of transportation device using block chain, driving data collecting method and program using the system
CN112711468A (en) Method and system for monitoring fog computing network resources and managing tasks based on block chain
Patu et al. How to develop Security Case by combining real life security experiences (evidence) with D-Case
CN117314232A (en) Method, device, terminal equipment and medium for evaluating green low-carbon suppliers
CN112258134A (en) Intelligent bus management system
CN114862517A (en) Automobile leasing method and device based on block chain
CN111857670B (en) Application architecture determining method and device
CN114785780B (en) Lane service data processing method, device, equipment and medium
CN115865962A (en) Parking lot centralized management method, system and device and computer equipment

Legal Events

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