WO2019153490A1 - Method and device for real estate transaction, computer-readable storage medium, and terminal device - Google Patents

Method and device for real estate transaction, computer-readable storage medium, and terminal device Download PDF

Info

Publication number
WO2019153490A1
WO2019153490A1 PCT/CN2018/082842 CN2018082842W WO2019153490A1 WO 2019153490 A1 WO2019153490 A1 WO 2019153490A1 CN 2018082842 W CN2018082842 W CN 2018082842W WO 2019153490 A1 WO2019153490 A1 WO 2019153490A1
Authority
WO
WIPO (PCT)
Prior art keywords
real estate
estate transaction
node
blockchain
transaction
Prior art date
Application number
PCT/CN2018/082842
Other languages
French (fr)
Chinese (zh)
Inventor
李毅
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019153490A1 publication Critical patent/WO2019153490A1/en

Links

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/0601Electronic shopping [e-shopping]
    • 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
    • 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/16Real estate

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Development Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present application relates to the technical field of blockchain and specifically relates to a method and device for a real estate transaction, a computer-readable storage medium, and a terminal device. The method: a first node generates a real estate transaction request and broadcasts the real estate transaction request in a real estate transaction blockchain; when second nodes receive the real estate transaction request, same generate real estate transaction responses and broadcast the real estate transaction responses in the real estate transaction blockchain; the first node selects one second node from the second nodes as a third node on the basis of the real estate transaction responses; the first node and the third node perform a real estate transaction according to a preset real estate transaction smart contract, generate a real estate transaction record, and synchronize the real estate transaction record to real estate transaction nodes in the real estate transaction blockchain. That is, a centralized transaction platform is obviated throughout the entire transaction process, thus greatly increasing the security of records in the entire real estate transaction blockchain.

Description

房产交易方法、装置、计算机可读存储介质及终端设备Real estate transaction method, device, computer readable storage medium and terminal device
本申请要求于2018年2月7日提交中国专利局、申请号为CN201810121442.X、发明名称为“一种房产交易方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on February 7, 2018, the Chinese Patent Office, the application number is CN201810121442.X, and the invention is entitled "A Real Estate Transaction Method and Apparatus", the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本申请属于区块链技术领域,尤其涉及一种房产交易方法、装置、计算机可读存储介质及终端设备。The present application belongs to the field of blockchain technology, and in particular, to a real estate transaction method, device, computer readable storage medium and terminal device.
背景技术Background technique
在房产交易过程中,最重要的是安全性的问题,但目前的房产交易一般需要依托第三方的交易平台,该交易平台会对整个房产交易过程进行全程管理并保存房产交易记录,由于整个交易过程完全由该交易平台完成,对于用户而言,其交易逻辑不具有透明度,难于对其进行监管,而且在这种中心化的处理模式下,一旦交易平台遭到恶意攻击,则其保存的房产交易记录易被破坏或篡改,给用户带来极大的经济损失。In the real estate transaction process, the most important issue is the security issue, but the current real estate transaction generally needs to rely on the third-party trading platform, which will manage the entire real estate transaction process and save the real estate transaction record, due to the entire transaction. The process is completely completed by the trading platform. For the user, the trading logic is not transparent, it is difficult to supervise it, and in this centralized processing mode, once the trading platform is maliciously attacked, the saved property Transaction records are easily destroyed or tampered with, causing great economic losses to users.
技术问题technical problem
有鉴于此,本申请实施例提供了一种房产交易方法、装置、计算机可读存储介质及终端设备,以解决现有的依托第三方的交易平台进行房产交易所产生的交易逻辑不具有透明度,难于对其进行监管,且房产交易记录易被破坏或篡改的问题。In view of this, the embodiment of the present application provides a real estate transaction method, device, computer readable storage medium, and terminal device, so as to solve the transaction logic generated by the existing third-party transaction platform for real estate transactions, the transaction logic is not transparent. It is difficult to supervise it, and the transaction record of the property is easily destroyed or tampered with.
技术解决方案Technical solution
本申请实施例的第一方面提供了一种房产交易方法,应用于包含多个房产交易节点的房产交易区块链中,所述方法包括:A first aspect of the embodiments of the present application provides a real estate transaction method for use in a real estate transaction blockchain including a plurality of real estate transaction nodes, the method comprising:
第一节点生成房产交易请求,并在所述房产交易区块链中广播所述房产交易请求,所述第一节点为所述多个房产交易节点中的任意一个房产交易节点;The first node generates a real estate transaction request, and broadcasts the real estate transaction request in the real estate transaction blockchain, the first node is any one of the plurality of real estate transaction nodes;
各个第二节点在接收到所述房产交易请求后,生成房产交易响应,并在所述房产交易区块链中广播所述房产交易响应,所述第二节点为所述多个房产交易节点中除所述第一节点之外的任意一个房产交易节点;After receiving the real estate transaction request, each second node generates a real estate transaction response, and broadcasts the real estate transaction response in the real estate transaction blockchain, where the second node is in the plurality of real estate transaction nodes Any one of the real estate transaction nodes except the first node;
所述第一节点根据所述房产交易响应从所述各个第二节点中选取一个第二节点作为第三节点;The first node selects a second node from the second nodes as a third node according to the real estate transaction response;
所述第一节点与所述第三节点按照预设的房产交易智能合约进行房产交易,生成房产交易记录,并将所述房产交易记录同步到所述房产交易区块链中的各个房产交易节点。The first node and the third node perform real estate transactions according to a preset real estate transaction smart contract, generate a real estate transaction record, and synchronize the real estate transaction record to each real estate transaction node in the real estate transaction blockchain .
本申请实施例的第二方面提供了一种房产交易装置,可以包括用于实现上述房产交易方法的步骤的模块。A second aspect of an embodiment of the present application provides a real estate transaction apparatus that can include means for implementing the steps of the above described real estate transaction method.
本申请实施例的第三方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现上述房产交易方法的步骤。A third aspect of embodiments of the present application provides a computer readable storage medium storing computer readable instructions, the steps of implementing the foregoing property transaction method when the computer readable instructions are executed by a processor .
本申请实施例的第四方面提供了一种房产交易终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现上述房产交易方法的步骤。A fourth aspect of an embodiment of the present application provides a real estate transaction terminal device including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing the The steps of the above described real estate transaction method are implemented when the computer readable instructions are described.
有益效果Beneficial effect
本申请实施例与现有技术相比存在的有益效果是:本申请实施例由第一节点生成房产交易请求,并在所述房产交易区块链中广播所述房产交易请求;各个第二节点在接收到所述房产交易请求后,生成房产交易响应,并在所述房产交易区块链中广播所述房产交易响应;所述第一节点根据所述房产交易响应从所述各个第二节点中选取一个第二节点作为第三节点;所述第一节点与所述第三节点按照预设的房产交易智能合约进行房产交易,生成房产交易记录,并将所述房产交易记录同步到所述房产交易区块链中的各个房产交易节点。即在整个交易过程中去除了中心化的交易平台,代之以分布式的区块链节点系统,整个的交易请求、交易响应以及房产交易过程均通过节点间的交互来完成,房产交易按照预设的房产交易智能合约进行,交易逻辑对所有用户均是透明的,便于用户对其进行监管,而且最后的房产交易记录是分布式存储在各个节点中的,即使其中的部分节点中的记录被人恶意篡改,但相对于其它的记录并未被篡改的节点而言,其数量是微不足道的,整个房产交易区块链中的记录仍是可靠的,大大提高了记录的安全性。Compared with the prior art, the embodiment of the present application has the beneficial effects that: the embodiment of the present application generates a real estate transaction request by the first node, and broadcasts the real estate transaction request in the real estate transaction blockchain; each second node After receiving the real estate transaction request, generating a real estate transaction response, and broadcasting the real estate transaction response in the real estate transaction blockchain; the first node is responsive to the real estate transaction response from the respective second node Selecting a second node as the third node; the first node and the third node performing real estate transactions according to a preset real estate transaction smart contract, generating a real estate transaction record, and synchronizing the real estate transaction record to the Various real estate trading nodes in the real estate trading blockchain. That is to say, the centralized trading platform is removed during the whole transaction process, and the distributed blockchain node system is replaced by the transaction, the transaction response and the real estate transaction process are completed through the interaction between the nodes. The real estate transaction intelligent contract is carried out, the transaction logic is transparent to all users, which is convenient for users to supervise, and the final real estate transaction record is distributed and stored in each node, even if the records in some of the nodes are People maliciously tamper with, but compared to other nodes whose records have not been tampered with, the number is negligible, and the records in the entire real estate transaction blockchain are still reliable, greatly improving the security of records.
附图说明DRAWINGS
图1为本申请实施例中一种房产交易方法的一个实施例流程图;1 is a flow chart of an embodiment of a real estate transaction method according to an embodiment of the present application;
图2为在房产交易区块链中进行房产交易请求广播的示意图;Figure 2 is a schematic diagram of a real estate transaction request broadcast in a real estate transaction blockchain;
图3为本申请实施例中一种房产交易装置的一个实施例结构图;3 is a structural diagram of an embodiment of a real estate transaction apparatus according to an embodiment of the present application;
图4为本申请实施例中一种房产交易终端设备的示意框图。FIG. 4 is a schematic block diagram of a real estate transaction terminal device according to an embodiment of the present application.
本发明的实施方式Embodiments of the invention
本申请实施例中的房产交易方法应用于包含多个房产交易节点的房产交易区块链中。The real estate transaction method in the embodiment of the present application is applied to a real estate transaction blockchain including a plurality of real estate transaction nodes.
请参阅图1,本申请实施例中一种房产交易方法的一个实施例可以包括:Referring to FIG. 1 , an embodiment of a real estate transaction method in an embodiment of the present application may include:
步骤S101、第一节点生成房产交易请求,并在所述房产交易区块链中广播所述房产交易请求。Step S101: The first node generates a real estate transaction request, and broadcasts the real estate transaction request in the real estate transaction blockchain.
所述第一节点为所述多个房产交易节点中的任意一个房产交易节点。The first node is any one of the plurality of real estate transaction nodes.
在所述房产交易区块链的任意一个房产交易节点上都可以触发房产交易的过程,为了方便描述,将触发交易的过程的节点称为第一节点。第一节点的交易人员可以在第一节点上设置交易,且第一节点将生成房产交易请求,并在所述房产交易区块链中广播所述房产交易请求。The process of real estate transaction can be triggered on any real estate transaction node of the real estate transaction blockchain. For convenience of description, the node that triggers the transaction process is called the first node. The trader of the first node can set the transaction on the first node, and the first node will generate a real estate transaction request and broadcast the real estate transaction request in the real estate transaction blockchain.
所述房产交易请求中包括当前待交易房产的详细信息,例如,地址、价格、建造时间、持有人、价格等等,并携带有所述第一节点的数字签名,使得接收到所述房产交易请求的其它房产交易节点可以获知其来源。The real estate transaction request includes detailed information of the current property to be traded, for example, address, price, construction time, holder, price, etc., and carries the digital signature of the first node, so that the property is received Other real estate transaction nodes that request a transaction can know their source.
所述第一节点将所述房产交易请求发送至第1级广播节点,所述第1级广播节点为与所述第一节点连接的房产交易节点;所述第1级广播节点在接收到所述房产交易请求后,将所述房产交易请求发送至第2级广播节点,所述第2级广播节点为与所述第1级广播节点连接的房产交易节点;所述第2级广播节点在接收到所述房产交易请求后,将所述房产交易请求发送至第3级广播节点,所述第3级广播节点为与所述第2级广播节点连接的房产交易节点;......;以此类推,第m级广播节点在接收到所述房产交易请求后,将所述房产交易请求发送至第m+1级广播节点,直至所述房产交易区块链中的各个房产交易节点均接收到所述房产交易请求为止,所述第m+1级广播节点为与所述第m级广播节点连接的房产交易节点,m为大于或等于1的整数。The first node sends the real estate transaction request to a level 1 broadcast node, the first level broadcast node is a real estate transaction node connected to the first node; the first level broadcast node receives the location After the real estate transaction request, the real estate transaction request is sent to a level 2 broadcast node, the second level broadcast node is a real estate transaction node connected to the first level broadcast node; the second level broadcast node is After receiving the real estate transaction request, the real estate transaction request is sent to a level 3 broadcast node, and the third level broadcast node is a real estate transaction node connected to the second level broadcast node; And so on, after receiving the real estate transaction request, the mth broadcast node sends the real estate transaction request to the m+1th broadcast node until each real estate transaction in the real estate transaction blockchain Before the node receives the real estate transaction request, the m+1th broadcast node is a real estate transaction node connected to the mth level broadcast node, and m is an integer greater than or equal to 1.
例如,如图2所示,若所述房产交易区块链中包含节点1至6,第一节点为节点1,与其连接的节点包含节点2、3、4,在节点2、3、4中,节点3还与节点5和6连接,因此,第一节点在区块链中广播房产交易请求时,节点1先将房产交易请求发送给节点2、3、4,由于节点2和4由于不再连接其他节点,因此,节点2和4将保存该房产交易请求且不进行转发,由于节点3连接节点5和节点6,因此,节点3将保存该房产交易请求并将该房产交易请求转发给节点5和节点6。由于节点5和节点6不再连接其他节点,因此,节点5和节点6将保存该房产交易请求,且不进行转发,通过上述方式,能够有效实现房产交易请求在区块链中的广播。可以理解的是,为了确保所有节点中的数据相同,第一节点,也即节点1也将保存该房产交易请求。For example, as shown in FIG. 2, if the real estate transaction blockchain includes nodes 1 to 6, the first node is node 1, and the node connected thereto includes nodes 2, 3, and 4, and nodes 2, 3, and 4 Node 3 is also connected to nodes 5 and 6. Therefore, when the first node broadcasts a real estate transaction request in the blockchain, node 1 first sends a real estate transaction request to nodes 2, 3, 4, since nodes 2 and 4 are not Reconnecting other nodes, therefore, nodes 2 and 4 will save the real estate transaction request and not forward, since node 3 connects node 5 and node 6, node 3 will save the real estate transaction request and forward the real estate transaction request to Node 5 and Node 6. Since node 5 and node 6 are no longer connected to other nodes, node 5 and node 6 will save the real estate transaction request and do not forward it. In the above manner, the real estate transaction request can be effectively broadcasted in the blockchain. It can be understood that in order to ensure that the data in all nodes is the same, the first node, ie node 1, will also save the real estate transaction request.
步骤S102、各个第二节点在接收到所述房产交易请求后,生成房产交易响应,并在所述房产交易区块链中广播所述房产交易响应。Step S102: After receiving the real estate transaction request, each second node generates a real estate transaction response, and broadcasts the real estate transaction response in the real estate transaction blockchain.
所述第二节点为所述多个房产交易节点中除所述第一节点之外的任意一个房产交易节点。The second node is any one of the plurality of real estate transaction nodes except the first node.
在所述第一节点广播所述房产交易请求后,任意一个接收到所述房产交易请求的房产交易节点都可以对其进行相应,为了方便描述,将响应交易的节点称为第二节点。第二节点的交易人员可以在第二节点上设置响应,且第二节点将生成房产交易响应,并在所述房产交易区块链中广播所述房产交易响应。After the first node broadcasts the real estate transaction request, any real estate transaction node that receives the real estate transaction request may respond to it. For convenience of description, the node that responds to the transaction is referred to as a second node. The trader of the second node can set a response on the second node, and the second node will generate a real estate transaction response and broadcast the real estate transaction response in the real estate transaction blockchain.
所述房产交易响应中携带有所述第二节点的数字签名,使得接收到所述房产交易响应的其它房产交易节点可以获知其来源。The real estate transaction response carries a digital signature of the second node, such that other real estate transaction nodes that receive the real estate transaction response can know the source.
所述房产交易响应具体的广播过程与步骤S101中所述房产交易请求的广播过程类似,具体可参照步骤S101中的详细说明,本实施例在此不再赘述。The specific broadcast process of the real estate transaction response is similar to the broadcast process of the real estate transaction request in step S101. For details, refer to the detailed description in step S101.
步骤S103、所述第一节点根据所述房产交易响应从所述各个第二节点中选取一个第二节点作为第三节点。Step S103: The first node selects a second node from the second nodes as the third node according to the real estate transaction response.
所述第三节点为与所述第一节点进行房产交易的节点。The third node is a node that conducts a real estate transaction with the first node.
具体地,所述第一节点将最先接收到的所述房产交易响应确定为优选响应,将生成所述优选响应的第二节点确定为候选节点,并生成候选节点确定消息,然后在所述房产交易区块链中广播所述候选节点确定消息,接收其它房产交易节点生成的所述候选节点确定消息,并将在所述候选节点确定消息中出现频率最高的候选节点确定为所述第三节点。Specifically, the first node determines the first received real estate transaction response as a preferred response, determines a second node that generates the preferred response as a candidate node, and generates a candidate node determination message, and then in the The candidate node determining message is broadcasted in the real estate transaction blockchain, and the candidate node determining message generated by the other real estate transaction node is received, and the candidate node having the highest frequency of occurrence in the candidate node determining message is determined as the third node.
其中,其它房产交易节点生成所述候选节点确定消息的过程具体为:The process of generating the candidate node determination message by other real estate transaction nodes is specifically:
所述房产交易区块链中的第n个房产交易节点将最先接收到的所述房产交易响应确定为优选响应,其中,1≤n≤N,N为所述房产交易区块链中房产交易节点的总数;所述第n个房产交易节点将生成所述优选响应对应的房产交易响应节点确定为候选节点,并生成候选节点确定消息;所述第n个房产交易节点在所述房产交易区块链中广播所述候选节点确定消息。The nth real estate transaction node in the real estate transaction blockchain determines the first real estate transaction response received as a preferred response, wherein 1≤n≤N, N is the real estate transaction blockchain property a total number of transaction nodes; the nth real estate transaction node determines that the real estate transaction response node corresponding to the preferred response is determined as a candidate node, and generates a candidate node determination message; the nth real estate transaction node is in the real estate transaction The candidate node determination message is broadcast in the blockchain.
对于任意一个第二节点而言,其开始广播房产交易响应的时间越早,则会让越多的节点早于其它房产交易响应接收到该第二节点的房产交易响应,那么将其确定为候选节点的频率也会越高,最终将会被确认为与所述第一节点进行房产交易的节点,也即所述第三节点。For any second node, the earlier it starts to broadcast the real estate transaction response, the more nodes will receive the second node's real estate transaction response earlier than other real estate transaction responses, then determine it as a candidate. The frequency of the node will also be higher, and will eventually be confirmed as the node that conducts the real estate transaction with the first node, that is, the third node.
步骤S104、所述第一节点与所述第三节点按照预设的房产交易智能合约进行房产交易,生成房产交易记录,并将所述房产交易记录同步到所述房产交易区块链中的各个房产交易节点。Step S104: The first node and the third node perform real estate transactions according to a preset real estate transaction smart contract, generate a real estate transaction record, and synchronize the real estate transaction record to each of the real estate transaction blockchains. Real estate transaction node.
所述房产交易智能合约是一套以数字形式定义和实现的契约,是可在所述房产交易区块链上运行的计算机代码,这些代码能够实现房产的交易过程,例如房产的抵押、转让、拍卖等等。The real estate transaction smart contract is a set of contracts defined and implemented in digital form, which is a computer code that can be run on the real estate transaction blockchain, which can realize the transaction process of the real estate, such as mortgage, transfer, and Auctions and more.
所述房产交易智能合约的预设过程可以包括:The preset process of the real estate transaction smart contract may include:
第五节点生成智能合约部署请求,并在所述房产交易区块链中广播所述智能合约部署请求,所述智能合约部署请求中包括所述房产交易智能合约的代码,所述第五节点为所述房产交易区块链中的任意一个房产交易节点;所述房产交易区块链中的各个房产交易节点在接收到广播的所述智能合约部署请求后,将所述房产交易智能合约的代码在本地进行保存。The fifth node generates a smart contract deployment request, and broadcasts the smart contract deployment request in the real estate transaction blockchain, where the smart contract deployment request includes a code of the real estate transaction smart contract, and the fifth node is Any one of the real estate transaction blockchains; the real estate transaction node in the real estate transaction blockchain, after receiving the broadcast smart contract deployment request, the code of the real estate transaction smart contract Save locally.
在本实施例中,部署人员可以将所述房产交易智能合约部署到区块链的所有节点上,先由开发人员编写所述房产交易智能合约的代码,并进行编译和测试,在完成编译和测试之后,由部署人员在区块链中的任意一个节点(为了方便描述,将该节点称为第五节点)上调用智能合约的安装接口,且该第五节点接收到该调用指令之后,将生成智能合约部署请求,并在所述房产交易区块链中广播所述智能合约部署请求,使得区块链中的所有节点都将获取到该智能合约部署请求,并将其在本地进行保存和部署。In this embodiment, the deployer can deploy the real estate transaction smart contract to all nodes of the blockchain, and the developer first writes the code of the real estate transaction smart contract, compiles and tests, and compiles and completes. After the test, the deployer invokes the installation interface of the smart contract on any node in the blockchain (referred to as the fifth node for convenience of description), and after receiving the call instruction, the fifth node will Generating a smart contract deployment request and broadcasting the smart contract deployment request in the real estate transaction blockchain such that all nodes in the blockchain will obtain the smart contract deployment request and save it locally deploy.
所述房产交易记录需要以区块的形式进行保存。具体地,第四节点获取本地存储的房产交易区块链的链尾区块,所述链尾区块为最新添加入所述房产交易区块链中的区块;所述第四节点对所述链尾区块进行特征运算,得到链尾区块特征值;所述第四节点根据所述链尾区块特征值和所述房产交易记录生成目标区块;所述第四节点在所述房产交易区块链中广播所述目标区块;所述房产交易区块链中的各个房产交易节点在接收到广播的所述目标区块后,将所述目标区块添加入本地存储的房产交易区块链中。The property transaction record needs to be saved in the form of a block. Specifically, the fourth node acquires a chain tail block of the locally stored real estate transaction blockchain, and the chain tail block is the latest added block in the real estate transaction blockchain; the fourth node is opposite Performing a feature operation on the chain tail block to obtain a chain tail block feature value; the fourth node generates a target block according to the chain tail block feature value and the real estate transaction record; the fourth node is in the Broadcasting the target block in a real estate transaction blockchain; after receiving the broadcasted target block, each real estate transaction node in the real estate transaction blockchain adds the target block to a locally stored property In the trading blockchain.
其中,所述第四节点即为生成新区块的房产交易节点,在本实施例中,所述第四节点可以是所述第一节点,也可以是所述第三节点,当然,也可以根据实际情况,选择其它的房产交易节点作为所述第四节点。The fourth node is a real estate transaction node that generates a new block. In this embodiment, the fourth node may be the first node or the third node. In actual situations, other real estate transaction nodes are selected as the fourth node.
所述目标区块具体的广播过程与步骤S101中所述房产交易请求的广播过程类似,具体可参照步骤S101中的详细说明,本实施例在此不再赘述。The specific broadcast process of the target block is similar to the broadcast process of the real estate transaction request in step S101. For details, refer to the detailed description in step S101, and details are not described herein again.
综上所述,本申请实施例由第一节点生成房产交易请求,并在所述房产交易区块链中广播所述房产交易请求;各个第二节点在接收到所述房产交易请求后,生成房产交易响应,并在所述房产交易区块链中广播所述房产交易响应;所述第一节点根据所述房产交易响应从所述各个第二节点中选取一个第二节点作为第三节点;所述第一节点与所述第三节点按照预设的房产交易智能合约进行房产交易,生成房产交易记录,并将所述房产交易记录同步到所述房产交易区块链中的各个房产交易节点。即在整个交易过程中去除了中心化的交易平台,代之以分布式的区块链节点系统,整个的交易请求、交易响应以及房产交易过程均通过节点间的交互来完成,房产交易按照预设的房产交易智能合约进行,交易逻辑对所有用户均是透明的,便于用户对其进行监管,而且最后的房产交易记录是分布式存储在各个节点中的,即使其中的部分节点中的记录被人恶意篡改,但相对于其它的记录并未被篡改的节点而言,其数量是微不足道的,整个房产交易区块链中的记录仍是可靠的,大大提高了记录的安全性。In summary, the embodiment of the present application generates a real estate transaction request by the first node, and broadcasts the real estate transaction request in the real estate transaction blockchain; each second node generates the real estate transaction request after receiving the real estate transaction request. Responding to the real estate transaction, and broadcasting the real estate transaction response in the real estate transaction blockchain; the first node selecting a second node from the second nodes as the third node according to the real estate transaction response; The first node and the third node perform real estate transactions according to a preset real estate transaction smart contract, generate a real estate transaction record, and synchronize the real estate transaction record to each real estate transaction node in the real estate transaction blockchain . That is to say, the centralized trading platform is removed during the whole transaction process, and the distributed blockchain node system is replaced by the transaction, the transaction response and the real estate transaction process are completed through the interaction between the nodes. The real estate transaction intelligent contract is carried out, the transaction logic is transparent to all users, which is convenient for users to supervise, and the final real estate transaction record is distributed and stored in each node, even if the records in some of the nodes are People maliciously tamper with, but compared to other nodes whose records have not been tampered with, the number is negligible, and the records in the entire real estate transaction blockchain are still reliable, greatly improving the security of records.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence of the steps in the above embodiments does not mean that the order of execution is performed. The order of execution of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present application.
对应于上文实施例所述的一种房产交易方法,图3示出了本申请实施例提供的一种房产交易装置的一个实施例结构图。Corresponding to a real estate transaction method described in the above embodiments, FIG. 3 is a structural diagram of an embodiment of a real estate transaction apparatus provided by an embodiment of the present application.
所述房产交易装置应用于房产交易区块链中的目标节点中,所述目标节点为房产交易区块链中的任意一个房产交易节点。The real estate transaction device is applied to a target node in a real estate transaction blockchain, and the target node is any one of the real estate transaction blockchains.
本实施例中,一种房产交易装置可以包括:In this embodiment, a real estate transaction device may include:
房产交易请求模块301,用于生成房产交易请求,并在所述房产交易区块链中广播所述房产交易请求;The real estate transaction request module 301 is configured to generate a real estate transaction request, and broadcast the real estate transaction request in the real estate transaction blockchain;
房产交易响应模块302,用于在接收到非目标节点生成的房产交易请求后,生成房产交易响应,并在所述房产交易区块链中广播所述房产交易响应,所述非目标节点为除所述目标节点之外的其它房产交易节点;The real estate transaction response module 302 is configured to generate a real estate transaction response after receiving the real estate transaction request generated by the non-target node, and broadcast the real estate transaction response in the real estate transaction blockchain, where the non-target node is Other real estate transaction nodes other than the target node;
交易对象选取模块303,用于根据所述非目标节点生成的房产交易响应从所述非目标节点中选取一个节点作为交易对象节点;The transaction object selection module 303 is configured to select one node from the non-target node as a transaction object node according to the real estate transaction response generated by the non-target node;
房产交易模块304,用于与所述交易对象节点按照预设的房产交易智能合约进行房产交易,生成房产交易记录,并将所述房产交易记录同步到所述房产交易区块链中的各个房产交易节点。a real estate transaction module 304, configured to perform real estate transactions with the transaction object node according to a preset real estate transaction smart contract, generate a real estate transaction record, and synchronize the real estate transaction record to each property in the real estate transaction blockchain Trading node.
进一步地,所述房产交易装置还可以包括:Further, the real estate transaction device may further include:
链尾区块获取模块,用于获取本地存储的房产交易区块链的链尾区块,所述链尾区块为最新添加入所述房产交易区块链中的区块;a chain tail block obtaining module, configured to obtain a chain tail block of a locally stored real estate transaction blockchain, wherein the chain tail block is a block newly added into the real estate transaction blockchain;
特征运算模块,用于对所述链尾区块进行特征运算,得到链尾区块特征值;a feature operation module, configured to perform a feature operation on the chain tail block to obtain a chain tail block feature value;
目标区块生成模块,用于根据所述链尾区块特征值和所述房产交易记录生成目标区块;a target block generating module, configured to generate a target block according to the chain tail block feature value and the real estate transaction record;
目标区块广播模块,用于在所述房产交易区块链中广播所述目标区块;a target block broadcast module, configured to broadcast the target block in the real estate transaction blockchain;
目标区块添加模块,用于在接收到广播的所述目标区块后,将所述目标区块添加入本地存储的房产交易区块链中。The target block adding module is configured to add the target block to the locally stored real estate transaction blockchain after receiving the broadcasted target block.
进一步地,所述房产交易装置还可以包括:Further, the real estate transaction device may further include:
广播接收模块,用于接收与所述目标节点连接的房产交易节点发送的所述房产交易请求;a broadcast receiving module, configured to receive the real estate transaction request sent by a real estate transaction node connected to the target node;
广播发送模块,用于将所述房产交易请求发送至与所述目标节点连接的房产交易节点。And a broadcast sending module, configured to send the real estate transaction request to a real estate transaction node connected to the target node.
进一步地,所述交易对象选取模块可以包括:Further, the transaction object selection module may include:
优选响应确定单元,用于将最先接收到的所述房产交易响应确定为优选响应;a preferred response determining unit, configured to determine the first received real estate transaction response as a preferred response;
候选节点确定单元,用于将生成所述优选响应的所述非目标节点确定为候选节点,并生成候选节点确定消息;a candidate node determining unit, configured to determine the non-target node that generates the preferred response as a candidate node, and generate a candidate node determining message;
候选节点确定消息广播单元,用于在所述房产交易区块链中广播所述候选节点确定消息;a candidate node determining message broadcast unit, configured to broadcast the candidate node determination message in the real estate transaction blockchain;
交易对象节点确定单元,用于接收其它房产交易节点生成的所述候选节点确定消息,并将在所述候选节点确定消息中出现频率最高的候选节点确定为所述交易对象节点。The transaction object node determining unit is configured to receive the candidate node determination message generated by the other real estate transaction node, and determine the candidate node with the highest frequency of occurrence in the candidate node determination message as the transaction object node.
进一步地,所述房产交易装置还可以包括:Further, the real estate transaction device may further include:
智能合约部署请求模块,用于生成智能合约部署请求,并在所述房产交易区块链中广播所述智能合约部署请求,所述智能合约部署请求中包括所述房产交易智能合约的代码;a smart contract deployment request module, configured to generate a smart contract deployment request, and broadcast the smart contract deployment request in the real estate transaction blockchain, where the smart contract deployment request includes a code of the real estate transaction smart contract;
智能合约部署模块,用于在接收到所述非目标节点广播的所述智能合约部署请求后,将所述房产交易智能合约的代码在本地进行保存。The smart contract deployment module is configured to save the code of the real estate transaction smart contract locally after receiving the smart contract deployment request broadcast by the non-target node.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置、模块、的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the foregoing device, module, and the working process can be referred to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not detailed or described in a certain embodiment can be referred to the related descriptions of other embodiments.
图4示出了本申请实施例提供的一种房产交易终端设备的示意框图,为了便于说明,仅示出了与本申请实施例相关的部分。FIG. 4 is a schematic block diagram of a real estate transaction terminal device provided by an embodiment of the present application. For convenience of description, only parts related to the embodiment of the present application are shown.
在本实施例中,所述房产交易终端设备4可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。该房产交易终端设备4可包括:处理器40、存储器41以及存储在所述存储器41中并可在所述处理器40上运行的计算机可读指令42。所述处理器40执行所述计算机可读指令42时实现上述各装置实施例中各模块的功能,例如图3所示模块301至304的功能。In this embodiment, the real estate transaction terminal device 4 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The real estate transaction terminal device 4 can include a processor 40, a memory 41, and computer readable instructions 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer readable instructions 42, the functions of the modules in the foregoing device embodiments are implemented, such as the functions of the modules 301 to 304 shown in FIG.
示例性的,所述计算机可读指令42可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器41中,并由所述处理器40执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述计算机可读指令42在所述房产交易终端设备4中的执行过程。Illustratively, the computer readable instructions 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40, To complete this application. The one or more modules/units may be a series of computer readable instruction segments capable of performing a particular function, the instruction segments being used to describe the execution of the computer readable instructions 42 in the real estate transaction terminal device 4.
所述处理器40可以是中央处理单元(Central Processing Unit,CPU),还可以是其它通用处理器、数字信号处理器 (Digital Signal Processor,DSP)、专用集成电路 (Application Specific Integrated Circuit,ASIC)、现场可编程门阵列 (Field-Programmable Gate Array,FPGA) 或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 40 can be a central processing unit (Central Processing Unit, CPU), can also be other general-purpose processors, digital signal processors (DSP), ASICs (Application) Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
所述存储器41可以是所述房产交易终端设备4的内部存储单元,例如房产交易终端设备4的硬盘或内存。所述存储器41也可以是所述房产交易终端设备4的外部存储设备,例如所述房产交易终端设备4上配备的插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器41还可以既包括所述房产交易终端设备4的内部存储单元也包括外部存储设备。所述存储器41用于存储所述计算机可读指令以及所述房产交易终端设备4所需的其它指令和数据。所述存储器41还可以用于暂时地存储已经输出或者将要输出的数据。The memory 41 may be an internal storage unit of the real estate transaction terminal device 4, such as a hard disk or a memory of the real estate transaction terminal device 4. The memory 41 may also be an external storage device of the real estate transaction terminal device 4, such as a plug-in hard disk equipped with the real estate transaction terminal device 4, a smart memory card (SMC), and a secure digital number (Secure). Digital, SD) card, flash card (Flash Card) and so on. Further, the memory 41 may also include both an internal storage unit of the real estate transaction terminal device 4 and an external storage device. The memory 41 is used to store the computer readable instructions and other instructions and data required by the real estate transaction terminal device 4. The memory 41 can also be used to temporarily store data that has been output or is about to be output.
在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。The functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干计算机可读指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储计算机可读指令的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of computer readable instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), and a random access memory (RAM, Random Access). A variety of media that can store computer readable instructions, such as a Memory, a disk, or an optical disk.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。The above-mentioned embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still implement the foregoing embodiments. The technical solutions described in the examples are modified, or equivalent to some of the technical features, and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种房产交易信息处理的方法,其特征在于,所述方法应用于包含多个房产交易节点的房产交易区块链中,所述方法包括:A method for processing real estate transaction information, characterized in that the method is applied to a real estate transaction blockchain comprising a plurality of real estate transaction nodes, the method comprising:
    第一节点生成房产交易请求,并在所述房产交易区块链中广播所述房产交易请求,所述第一节点为所述多个房产交易节点中的任意一个房产交易节点;The first node generates a real estate transaction request, and broadcasts the real estate transaction request in the real estate transaction blockchain, the first node is any one of the plurality of real estate transaction nodes;
    各个第二节点在接收到所述房产交易请求后,生成房产交易响应,并在所述房产交易区块链中广播所述房产交易响应,所述第二节点为所述多个房产交易节点中除所述第一节点之外的任意一个房产交易节点;After receiving the real estate transaction request, each second node generates a real estate transaction response, and broadcasts the real estate transaction response in the real estate transaction blockchain, where the second node is in the plurality of real estate transaction nodes Any one of the real estate transaction nodes except the first node;
    所述第一节点根据所述房产交易响应从所述各个第二节点中选取一个第二节点作为第三节点;The first node selects a second node from the second nodes as a third node according to the real estate transaction response;
    所述第一节点与所述第三节点按照预设的房产交易智能合约进行房产交易,生成房产交易记录,并将所述房产交易记录同步到所述房产交易区块链中的各个房产交易节点。The first node and the third node perform real estate transactions according to a preset real estate transaction smart contract, generate a real estate transaction record, and synchronize the real estate transaction record to each real estate transaction node in the real estate transaction blockchain .
  2. 根据权利要求1所述的房产交易方法,其特征在于,所述将所述房产交易记录同步到所述房产交易区块链中的各个房产交易节点包括:The method of real estate transaction according to claim 1, wherein said synchronizing said real estate transaction record to each real estate transaction node in said real estate transaction blockchain comprises:
    第四节点获取本地存储的房产交易区块链的链尾区块,所述链尾区块为最新添加入所述房产交易区块链中的区块,所述第四节点为所述第一节点或所述第三节点;The fourth node obtains a chain tail block of the locally stored real estate transaction blockchain, the chain tail block is the latest added to the block in the real estate transaction blockchain, and the fourth node is the first a node or the third node;
    所述第四节点对所述链尾区块进行特征运算,得到链尾区块特征值;Performing a feature operation on the chain tail block by the fourth node to obtain a chain tail block feature value;
    所述第四节点根据所述链尾区块特征值和所述房产交易记录生成目标区块;The fourth node generates a target block according to the chain tail block feature value and the real estate transaction record;
    所述第四节点在所述房产交易区块链中广播所述目标区块;The fourth node broadcasts the target block in the real estate transaction blockchain;
    所述房产交易区块链中的各个房产交易节点在接收到广播的所述目标区块后,将所述目标区块添加入本地存储的房产交易区块链中。After receiving the broadcasted target block, each real estate transaction node in the real estate transaction blockchain adds the target block to the locally stored real estate transaction blockchain.
  3. 根据权利要求1所述的房产交易方法,其特征在于,所述在所述房产交易区块链中广播所述房产交易请求包括:The method of real estate transaction according to claim 1, wherein said broadcasting said real estate transaction request in said real estate transaction blockchain comprises:
    所述第一节点将所述房产交易请求发送至第1级广播节点,所述第1级广播节点为与所述第一节点连接的房产交易节点;The first node sends the real estate transaction request to a first level broadcast node, and the first level broadcast node is a real estate transaction node connected to the first node;
    第m级广播节点在接收到所述房产交易请求后,将所述房产交易请求发送至第m+1级广播节点,直至所述房产交易区块链中的各个房产交易节点均接收到所述房产交易请求为止,所述第m+1级广播节点为与所述第m级广播节点连接的房产交易节点,m为大于或等于1的整数。After receiving the real estate transaction request, the mth broadcast node sends the real estate transaction request to the m+1th broadcast node until each real estate transaction node in the real estate transaction blockchain receives the The property of the m+1 level broadcast node is a real estate transaction node connected to the mth level broadcast node, and m is an integer greater than or equal to 1.
  4. 根据权利要求1所述的房产交易方法,其特征在于,所述第一节点根据所述房产交易响应从所述各个第二节点中选取一个第二节点作为第三节点包括:The real estate transaction method according to claim 1, wherein the first node selects a second node from the second nodes as the third node according to the real estate transaction response, including:
    所述第一节点将最先接收到的所述房产交易响应确定为优选响应;Determining, by the first node, the first real estate transaction response received as a preferred response;
    所述第一节点将生成所述优选响应的第二节点确定为候选节点,并生成候选节点确定消息;Determining, by the first node, a second node that generates the preferred response as a candidate node, and generating a candidate node determination message;
    所述第一节点在所述房产交易区块链中广播所述候选节点确定消息;The first node broadcasts the candidate node determination message in the real estate transaction blockchain;
    所述第一节点接收其它房产交易节点生成的所述候选节点确定消息,并将在所述候选节点确定消息中出现频率最高的候选节点确定为所述第三节点。The first node receives the candidate node determination message generated by another real estate transaction node, and determines a candidate node with the highest frequency of occurrence in the candidate node determination message as the third node.
  5. 根据权利要求1至4中任一项所述的房产交易方法,其特征在于,所述房产交易智能合约的预设过程包括:The real estate transaction method according to any one of claims 1 to 4, wherein the preset process of the real estate transaction smart contract comprises:
    第五节点生成智能合约部署请求,并在所述房产交易区块链中广播所述智能合约部署请求,所述智能合约部署请求中包括所述房产交易智能合约的代码,所述第五节点为所述房产交易区块链中的任意一个房产交易节点;The fifth node generates a smart contract deployment request, and broadcasts the smart contract deployment request in the real estate transaction blockchain, where the smart contract deployment request includes a code of the real estate transaction smart contract, and the fifth node is Any one of the real estate transaction nodes in the real estate transaction blockchain;
    所述房产交易区块链中的各个房产交易节点在接收到广播的所述智能合约部署请求后,将所述房产交易智能合约的代码在本地进行保存。After receiving the broadcasted smart contract deployment request, each real estate transaction node in the real estate transaction blockchain saves the code of the real estate transaction smart contract locally.
  6. 一种房产交易装置,其特征在于,所述房产交易装置应用于房产交易区块链中的目标节点中,所述目标节点为房产交易区块链中的任意一个房产交易节点,所述装置包括:A real estate transaction device, wherein the real estate transaction device is applied to a target node in a real estate transaction blockchain, the target node being any one of the real estate transaction blockchains, the device comprising :
    房产交易请求模块,用于生成房产交易请求,并在所述房产交易区块链中广播所述房产交易请求;a real estate transaction request module, configured to generate a real estate transaction request, and broadcast the real estate transaction request in the real estate transaction blockchain;
    房产交易响应模块,用于在接收到非目标节点生成的房产交易请求后,生成房产交易响应,并在所述房产交易区块链中广播所述房产交易响应,所述非目标节点为除所述目标节点之外的其它房产交易节点;a real estate transaction response module, configured to generate a real estate transaction response after receiving a real estate transaction request generated by the non-target node, and broadcast the real estate transaction response in the real estate transaction blockchain, where the non-target node is a Other property transaction nodes other than the target node;
    交易对象选取模块,用于根据所述非目标节点生成的房产交易响应从所述非目标节点中选取一个节点作为交易对象节点;a transaction object selection module, configured to select a node from the non-target node as a transaction object node according to the real estate transaction response generated by the non-target node;
    房产交易模块,用于与所述交易对象节点按照预设的房产交易智能合约进行房产交易,生成房产交易记录,并将所述房产交易记录同步到所述房产交易区块链中的各个房产交易节点。a real estate transaction module, configured to perform real estate transactions with the transaction object node according to a preset real estate transaction smart contract, generate a real estate transaction record, and synchronize the real estate transaction record to each real estate transaction in the real estate transaction blockchain node.
  7. 根据权利要求6所述的房产交易装置,其特征在于,还包括:The real estate transaction apparatus according to claim 6, further comprising:
    链尾区块获取模块,用于获取本地存储的房产交易区块链的链尾区块,所述链尾区块为最新添加入所述房产交易区块链中的区块;a chain tail block obtaining module, configured to obtain a chain tail block of a locally stored real estate transaction blockchain, wherein the chain tail block is a block newly added into the real estate transaction blockchain;
    特征运算模块,用于对所述链尾区块进行特征运算,得到链尾区块特征值;a feature operation module, configured to perform a feature operation on the chain tail block to obtain a chain tail block feature value;
    目标区块生成模块,用于根据所述链尾区块特征值和所述房产交易记录生成目标区块;a target block generating module, configured to generate a target block according to the chain tail block feature value and the real estate transaction record;
    目标区块广播模块,用于在所述房产交易区块链中广播所述目标区块;a target block broadcast module, configured to broadcast the target block in the real estate transaction blockchain;
    目标区块添加模块,用于在接收到广播的所述目标区块后,将所述目标区块添加入本地存储的房产交易区块链中。The target block adding module is configured to add the target block to the locally stored real estate transaction blockchain after receiving the broadcasted target block.
  8. 根据权利要求6所述的房产交易装置,其特征在于,还包括:The real estate transaction apparatus according to claim 6, further comprising:
    广播接收模块,用于接收与所述目标节点连接的房产交易节点发送的所述房产交易请求;a broadcast receiving module, configured to receive the real estate transaction request sent by a real estate transaction node connected to the target node;
    广播发送模块,用于将所述房产交易请求发送至与所述目标节点连接的房产交易节点。And a broadcast sending module, configured to send the real estate transaction request to a real estate transaction node connected to the target node.
  9. 根据权利要求6所述的房产交易装置,其特征在于,所述交易对象选取模块包括:The real estate transaction apparatus according to claim 6, wherein the transaction object selection module comprises:
    优选响应确定单元,用于将最先接收到的所述房产交易响应确定为优选响应;a preferred response determining unit, configured to determine the first received real estate transaction response as a preferred response;
    候选节点确定单元,用于将生成所述优选响应的所述非目标节点确定为候选节点,并生成候选节点确定消息;a candidate node determining unit, configured to determine the non-target node that generates the preferred response as a candidate node, and generate a candidate node determining message;
    候选节点确定消息广播单元,用于在所述房产交易区块链中广播所述候选节点确定消息;a candidate node determining message broadcast unit, configured to broadcast the candidate node determination message in the real estate transaction blockchain;
    交易对象节点确定单元,用于接收其它房产交易节点生成的所述候选节点确定消息,并将在所述候选节点确定消息中出现频率最高的候选节点确定为所述交易对象节点。The transaction object node determining unit is configured to receive the candidate node determination message generated by the other real estate transaction node, and determine the candidate node with the highest frequency of occurrence in the candidate node determination message as the transaction object node.
  10. 根据权利要求6至9中任一项所述的房产交易装置,其特征在于,还包括:The real estate transaction apparatus according to any one of claims 6 to 9, further comprising:
    智能合约部署请求模块,用于生成智能合约部署请求,并在所述房产交易区块链中广播所述智能合约部署请求,所述智能合约部署请求中包括所述房产交易智能合约的代码;a smart contract deployment request module, configured to generate a smart contract deployment request, and broadcast the smart contract deployment request in the real estate transaction blockchain, where the smart contract deployment request includes a code of the real estate transaction smart contract;
    智能合约部署模块,用于在接收到所述非目标节点广播的所述智能合约部署请求后,将所述房产交易智能合约的代码在本地进行保存。The smart contract deployment module is configured to save the code of the real estate transaction smart contract locally after receiving the smart contract deployment request broadcast by the non-target node.
  11. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:A computer readable storage medium storing computer readable instructions, wherein the computer readable instructions, when executed by a processor, implement the following steps:
    生成房产交易请求,并在所述房产交易区块链中广播所述房产交易请求;Generating a real estate transaction request and broadcasting the real estate transaction request in the real estate transaction blockchain;
    在接收到非目标节点生成的房产交易请求后,生成房产交易响应,并在所述房产交易区块链中广播所述房产交易响应,所述非目标节点为除所述目标节点之外的其它房产交易节点;After receiving the real estate transaction request generated by the non-target node, generating a real estate transaction response, and broadcasting the real estate transaction response in the real estate transaction blockchain, the non-target node being other than the target node Real estate transaction node;
    根据所述非目标节点生成的房产交易响应从所述非目标节点中选取一个节点作为交易对象节点;Selecting a node from the non-target node as a transaction object node according to the real estate transaction response generated by the non-target node;
    与所述交易对象节点按照预设的房产交易智能合约进行房产交易,生成房产交易记录,并将所述房产交易记录同步到所述房产交易区块链中的各个房产交易节点。Performing a real estate transaction with the transaction object node according to a preset real estate transaction smart contract, generating a real estate transaction record, and synchronizing the real estate transaction record to each real estate transaction node in the real estate transaction blockchain.
  12. 根据权利要求11所述的计算机可读存储介质,其特征在于,还包括:The computer readable storage medium of claim 11, further comprising:
    获取本地存储的房产交易区块链的链尾区块,所述链尾区块为最新添加入所述房产交易区块链中的区块;Obtaining a chain tail block of a locally stored real estate transaction blockchain, the chain tail block being the latest block added to the real estate transaction blockchain;
    对所述链尾区块进行特征运算,得到链尾区块特征值;Performing a feature operation on the chain tail block to obtain a chain tail block feature value;
    根据所述链尾区块特征值和所述房产交易记录生成目标区块;Generating a target block according to the chain tail block feature value and the real estate transaction record;
    在所述房产交易区块链中广播所述目标区块;Broadcasting the target block in the real estate transaction blockchain;
    在接收到广播的所述目标区块后,将所述目标区块添加入本地存储的房产交易区块链中。After receiving the target block of the broadcast, the target block is added to the locally stored real estate transaction blockchain.
  13. 根据权利要求11所述的计算机可读存储介质,其特征在于,还包括:The computer readable storage medium of claim 11, further comprising:
    接收与所述目标节点连接的房产交易节点发送的所述房产交易请求;Receiving, by the real estate transaction node connected to the target node, the real estate transaction request;
    将所述房产交易请求发送至与所述目标节点连接的房产交易节点。Transmitting the real estate transaction request to a real estate transaction node connected to the target node.
  14. 根据权利要求11所述的计算机可读存储介质,其特征在于,所述根据所述非目标节点生成的房产交易响应从所述非目标节点中选取一个节点作为交易对象节点包括:The computer readable storage medium according to claim 11, wherein the selecting a node from the non-target node as a transaction object node according to the real estate transaction response generated by the non-target node comprises:
    将最先接收到的所述房产交易响应确定为优选响应;Determining the first real estate transaction response received as a preferred response;
    将生成所述优选响应的所述非目标节点确定为候选节点,并生成候选节点确定消息;Determining the non-target node that generates the preferred response as a candidate node, and generating a candidate node determination message;
    在所述房产交易区块链中广播所述候选节点确定消息;Broadcasting the candidate node determination message in the real estate transaction blockchain;
    接收其它房产交易节点生成的所述候选节点确定消息,并将在所述候选节点确定消息中出现频率最高的候选节点确定为所述交易对象节点。And receiving the candidate node determination message generated by the other real estate transaction node, and determining, as the transaction object node, the candidate node with the highest frequency of occurrence in the candidate node determination message.
  15. 根据权利要求11至14中任一项所述的计算机可读存储介质,其特征在于,还包括:The computer readable storage medium according to any one of claims 11 to 14, further comprising:
    生成智能合约部署请求,并在所述房产交易区块链中广播所述智能合约部署请求,所述智能合约部署请求中包括所述房产交易智能合约的代码;Generating a smart contract deployment request and broadcasting the smart contract deployment request in the real estate transaction blockchain, the smart contract deployment request including a code of the real estate transaction smart contract;
    在接收到所述非目标节点广播的所述智能合约部署请求后,将所述房产交易智能合约的代码在本地进行保存。After receiving the smart contract deployment request broadcast by the non-target node, the code of the real estate transaction smart contract is saved locally.
  16. 一种房产交易终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:A real estate transaction terminal device comprising a memory, a processor, and computer readable instructions stored in the memory and operative on the processor, wherein when the processor executes the computer readable instructions Implement the following steps:
    生成房产交易请求,并在所述房产交易区块链中广播所述房产交易请求;Generating a real estate transaction request and broadcasting the real estate transaction request in the real estate transaction blockchain;
    在接收到非目标节点生成的房产交易请求后,生成房产交易响应,并在所述房产交易区块链中广播所述房产交易响应,所述非目标节点为除所述目标节点之外的其它房产交易节点;After receiving the real estate transaction request generated by the non-target node, generating a real estate transaction response, and broadcasting the real estate transaction response in the real estate transaction blockchain, the non-target node being other than the target node Real estate transaction node;
    根据所述非目标节点生成的房产交易响应从所述非目标节点中选取一个节点作为交易对象节点;Selecting a node from the non-target node as a transaction object node according to the real estate transaction response generated by the non-target node;
    与所述交易对象节点按照预设的房产交易智能合约进行房产交易,生成房产交易记录,并将所述房产交易记录同步到所述房产交易区块链中的各个房产交易节点。Performing a real estate transaction with the transaction object node according to a preset real estate transaction smart contract, generating a real estate transaction record, and synchronizing the real estate transaction record to each real estate transaction node in the real estate transaction blockchain.
  17. 根据权利要求16所述的房产交易终端设备,其特征在于,还包括:The real estate transaction terminal device according to claim 16, further comprising:
    获取本地存储的房产交易区块链的链尾区块,所述链尾区块为最新添加入所述房产交易区块链中的区块;Obtaining a chain tail block of a locally stored real estate transaction blockchain, the chain tail block being the latest block added to the real estate transaction blockchain;
    对所述链尾区块进行特征运算,得到链尾区块特征值;Performing a feature operation on the chain tail block to obtain a chain tail block feature value;
    根据所述链尾区块特征值和所述房产交易记录生成目标区块;Generating a target block according to the chain tail block feature value and the real estate transaction record;
    在所述房产交易区块链中广播所述目标区块;Broadcasting the target block in the real estate transaction blockchain;
    在接收到广播的所述目标区块后,将所述目标区块添加入本地存储的房产交易区块链中。After receiving the target block of the broadcast, the target block is added to the locally stored real estate transaction blockchain.
  18. 根据权利要求16所述的房产交易终端设备,其特征在于,还包括:The real estate transaction terminal device according to claim 16, further comprising:
    接收与所述目标节点连接的房产交易节点发送的所述房产交易请求;Receiving, by the real estate transaction node connected to the target node, the real estate transaction request;
    将所述房产交易请求发送至与所述目标节点连接的房产交易节点。Transmitting the real estate transaction request to a real estate transaction node connected to the target node.
  19. 根据权利要求16所述的房产交易终端设备,其特征在于,所述根据所述非目标节点生成的房产交易响应从所述非目标节点中选取一个节点作为交易对象节点包括:The real estate transaction terminal device according to claim 16, wherein the selecting a node from the non-target node as the transaction object node according to the real estate transaction response generated by the non-target node comprises:
    将最先接收到的所述房产交易响应确定为优选响应;Determining the first real estate transaction response received as a preferred response;
    将生成所述优选响应的所述非目标节点确定为候选节点,并生成候选节点确定消息;Determining the non-target node that generates the preferred response as a candidate node, and generating a candidate node determination message;
    在所述房产交易区块链中广播所述候选节点确定消息;Broadcasting the candidate node determination message in the real estate transaction blockchain;
    接收其它房产交易节点生成的所述候选节点确定消息,并将在所述候选节点确定消息中出现频率最高的候选节点确定为所述交易对象节点。And receiving the candidate node determination message generated by the other real estate transaction node, and determining, as the transaction object node, the candidate node with the highest frequency of occurrence in the candidate node determination message.
  20. 根据权利要求16至19中任一项所述的房产交易终端设备,其特征在于,还包括:The real estate transaction terminal device according to any one of claims 16 to 19, further comprising:
    生成智能合约部署请求,并在所述房产交易区块链中广播所述智能合约部署请求,所述智能合约部署请求中包括所述房产交易智能合约的代码;Generating a smart contract deployment request and broadcasting the smart contract deployment request in the real estate transaction blockchain, the smart contract deployment request including a code of the real estate transaction smart contract;
    在接收到所述非目标节点广播的所述智能合约部署请求后,将所述房产交易智能合约的代码在本地进行保存。After receiving the smart contract deployment request broadcast by the non-target node, the code of the real estate transaction smart contract is saved locally.
PCT/CN2018/082842 2018-02-07 2018-04-12 Method and device for real estate transaction, computer-readable storage medium, and terminal device WO2019153490A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810121442.XA CN108446947B (en) 2018-02-07 2018-02-07 Real estate transaction method and device
CN201810121442.X 2018-02-07

Publications (1)

Publication Number Publication Date
WO2019153490A1 true WO2019153490A1 (en) 2019-08-15

Family

ID=63192017

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/082842 WO2019153490A1 (en) 2018-02-07 2018-04-12 Method and device for real estate transaction, computer-readable storage medium, and terminal device

Country Status (2)

Country Link
CN (1) CN108446947B (en)
WO (1) WO2019153490A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111445265A (en) * 2020-02-28 2020-07-24 北京瑞卓喜创科技发展有限公司 House purchasing method and device based on block chain
ES2808411A1 (en) * 2020-02-05 2021-02-26 Rodriguez Abril Ruben Publicity procedure of real estate rights using blockchain technology (Machine-translation by Google Translate, not legally binding)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109224450B (en) * 2018-08-29 2021-08-31 杭州复杂美科技有限公司 Virtual house property game method, equipment and storage medium
CN109409134B (en) * 2018-09-29 2021-08-31 浙江口碑网络技术有限公司 Transaction data monitoring method and device, storage medium and electronic equipment
CN109582641B (en) * 2018-10-17 2020-10-23 北京瑞卓喜投科技发展有限公司 Screening method and screening system for input works based on block chain
CN109410060A (en) * 2018-10-31 2019-03-01 巴马平方米区块链有限公司 Praedial processing method, device, system, storage medium and computer equipment
CN109670951B (en) * 2018-11-19 2021-03-26 南京苏宁软件技术有限公司 Block chain intelligent contract debugging and publishing method and system
CN109472611A (en) * 2018-11-22 2019-03-15 北京八分量信息科技有限公司 A kind of staple commodities method of commerce and device
CN109859040A (en) * 2018-12-30 2019-06-07 贝壳技术有限公司 A kind of method and device carrying out house prosperity transaction based on block chain
CN109903193A (en) * 2019-01-17 2019-06-18 平安城市建设科技(深圳)有限公司 The distribution method of commission, device, equipment and storage medium in house prosperity transaction
CN109872042A (en) * 2019-01-17 2019-06-11 平安城市建设科技(深圳)有限公司 House prosperity transaction monitoring and managing method, device, equipment and storage medium based on block chain
CN109559255A (en) * 2019-02-18 2019-04-02 广东金赋科技股份有限公司 A kind of real estate business political affairs platform chain based on block chain technology
CN110264303A (en) * 2019-05-13 2019-09-20 特斯联(北京)科技有限公司 A kind of house transaction method and system based on distributed data base
EP3816915A1 (en) * 2019-11-04 2021-05-05 Mastercard International Incorporated Monitoring in distributed computing system
CN111695902A (en) * 2020-06-16 2020-09-22 深圳点链科技有限公司 Block chain-based interconnection method and device and computer storage medium
CN112529651A (en) * 2020-12-02 2021-03-19 北方民族大学 Real estate transaction method based on block chain
CN112231414B (en) * 2020-12-14 2022-02-25 腾讯科技(深圳)有限公司 Data synchronization method and device of block chain system, readable medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956923A (en) * 2016-04-20 2016-09-21 上海如鸽投资有限公司 Asset transaction platform and digital certification and transaction method for assets
CN105976231A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset management method based on intelligent block chain contracts and nodes
US20170295023A1 (en) * 2016-04-08 2017-10-12 Chicago Mercantile Exchange Inc. Bilateral assertion model and ledger implementation thereof
CN107464117A (en) * 2017-08-04 2017-12-12 平安科技(深圳)有限公司 Data managing method and block catenary system based on block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130332373A1 (en) * 2012-06-08 2013-12-12 Ryan Slifer Marshall Real estate systems and methods for providing tract data
CN107124443B (en) * 2017-03-28 2020-04-28 丽水北斗区块链科技有限责任公司 Data analysis method and device based on block chain
CN107454114B (en) * 2017-09-29 2021-07-06 深圳市轱辘车联数据技术有限公司 Auction method, server and readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170295023A1 (en) * 2016-04-08 2017-10-12 Chicago Mercantile Exchange Inc. Bilateral assertion model and ledger implementation thereof
CN105956923A (en) * 2016-04-20 2016-09-21 上海如鸽投资有限公司 Asset transaction platform and digital certification and transaction method for assets
CN105976231A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset management method based on intelligent block chain contracts and nodes
CN107464117A (en) * 2017-08-04 2017-12-12 平安科技(深圳)有限公司 Data managing method and block catenary system based on block chain

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2808411A1 (en) * 2020-02-05 2021-02-26 Rodriguez Abril Ruben Publicity procedure of real estate rights using blockchain technology (Machine-translation by Google Translate, not legally binding)
CN111445265A (en) * 2020-02-28 2020-07-24 北京瑞卓喜创科技发展有限公司 House purchasing method and device based on block chain

Also Published As

Publication number Publication date
CN108446947B (en) 2021-05-18
CN108446947A (en) 2018-08-24

Similar Documents

Publication Publication Date Title
WO2019153490A1 (en) Method and device for real estate transaction, computer-readable storage medium, and terminal device
CN110741342B (en) Blockchain transaction commit ordering
US11626972B2 (en) Data processing method and apparatus
WO2021051761A1 (en) Method and device for synchronizing node data
RU2714098C1 (en) Data processing method and device
WO2019227336A1 (en) Blockchain-based information processing method and device, and blockchain network
WO2016127721A1 (en) Information acquiring method, intelligent terminal, and server
WO2017008426A1 (en) Speech synthesis method and device
WO2021217863A1 (en) Order identifier generation method and apparatus, server, and storage medium
US20120036345A1 (en) Embedded device and file change notification method of the embedded device
US11290256B2 (en) Blockchain-based advertisement monitoring method and apparatus, and electronic device
WO2019232926A1 (en) Method and apparatus for data consistency checking and flow control, electronic device and storage medium
CN111880967A (en) File backup method, device, medium and electronic equipment in cloud scene
US10140166B2 (en) Message oriented middleware with integrated rules engine
CN111798238A (en) Parallel chain consensus method, device and storage medium
US20200193430A1 (en) Determining generation time for blockchain data
US20210073197A1 (en) Byzantine consensus without centralized ordering
CN112866302B (en) Method, apparatus, medium and program product for integrity checking of cluster data
CN110532810B (en) Information processing method and device, electronic equipment and readable storage medium
US7529181B2 (en) Method and apparatus for adaptive monitoring and management of distributed systems
US20210303162A1 (en) Method, electronic device, and computer program product for recovering data
CN109688232B (en) Mirror image backtracking method, mirror image backtracking system and proxy server
CN105868002B (en) Method and device for processing retransmission request in distributed computing
CN108491160B (en) Data writing method and device
CN115098469A (en) Database migration method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18904811

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03/11/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18904811

Country of ref document: EP

Kind code of ref document: A1