Real estate information storage method and device based on block chain
By adopting a blockchain-based real estate information storage method in the real estate transaction market, the problem of non-disclosure of real estate information and inconsistency of information is solved, the transparency and consistency of information are achieved, user privacy is protected, and the credibility and security of transactions are improved.
Patent Information
- Application Number
- CN202311861761.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2025-07-01
AI Technical Summary
There are problems in the real estate trading market where real estate information is not disclosed, outdated information, inconsistent with the description, and false information, which makes the demand party time-consuming and laborious when looking for house information, and cannot effectively protect its interests and rights.
The blockchain-based real estate information storage method is adopted, and the transaction management equipment is connected to multiple terminal devices. The information on the blockchain is open and transparent, and the consistency of information between the two parties to the transaction is achieved. The method includes receiving pending business requests and real estate information, reviewing the information, and publishing real estate information on the blockchain if passed, ensuring the immutability and traceability of the information.
It realizes the openness and transparency of real estate information, ensures the consistency of information between the two parties, avoids the arbitrary modification of the information by intermediaries, improves the security and credibility of the information, protects user privacy, and facilitates traceability of the real estate transaction history.
Smart Images

Figure CN120235567A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of blockchain technology, and particularly to a method and device for storing real estate information based on blockchain. Background Art
[0002] With the development of urbanization, real estate transactions have become increasingly frequent. Real estate transactions can generally be divided into house rentals and property sales. Due to the information mismatch between the buyer and the seller, real estate market activities usually take the form of individuals and intermediaries. Currently, the real estate information in the real estate transaction market is usually managed by real estate intermediaries. When individuals rent or purchase real estate, they usually obtain real estate information through intermediaries. However, since intermediaries are responsible for managing real estate information, they can modify real estate information at will. There are usually problems such as outdated house information, inconsistent house status with the description, and false information, resulting in the demand side often spending both time and effort when seeking relevant required house information, and the interests and rights of the demand side cannot be effectively protected.
[0003] Therefore, how to achieve open and transparent real estate information and prevent the random modification of real estate information has become the key point in the field of real estate transactions. Summary of the Invention
[0004] The embodiments of this application provide a method and device for storing real estate information based on blockchain, which can achieve the consistency of information of both parties in the transaction on the premise of protecting user privacy.
[0005] In a first aspect, a method for storing real estate information based on blockchain provided by the embodiments of this application is applied to a transaction management device. The transaction management device is connected to multiple terminal devices through blockchain, and different terminal devices correspond to different blockchains. The method includes:
[0006] Receiving a to-be-processed service request and real estate information from a terminal device. The to-be-processed services include real estate registration services and real estate information modification services. Determining the corresponding service type according to the to-be-processed service request, and auditing the real estate information according to the corresponding audit criteria of each service type saved. When the output result of auditing the real estate information is not passed, directly outputting an audit response containing the audit result. When the output result of auditing the real estate information is passed, sending partial information or all information of the real estate information, a time stamp, and the identifier of the terminal device to the blockchain corresponding to the terminal device, and outputting an audit response containing the audit result. Sending a service response message to the terminal device.
[0007] Through this method, since the information on the blockchain is publicly available to the members on the blockchain, the method of sending some or all of the real estate information, the timestamp, and the identifier of the terminal device to the blockchain corresponding to the terminal device can be used to make the real estate information public and ensure the consistency of the information of both parties to the transaction. Different terminal devices correspond to different blockchains. Therefore, this method can avoid disclosing the privacy data of users, thus achieving the consistency of the information of both parties to the transaction on the premise of protecting user privacy. In addition, publishing real estate information on the blockchain can achieve the traceability of real estate information. When disputes occur in real estate transactions, users can quickly obtain the historical transaction information of the real estate through the blockchain, so as to quickly locate the problems in real estate transactions.
[0008] In an implementable manner, before receiving the to-be-processed service request and the real estate information from the terminal device, the method further includes: verifying the identity information of the terminal device according to the public key and private key of the terminal device. The public key and private key of the terminal device are the public key and private key generated for registering the terminal device. The public key of the terminal device is stored in the transaction management device, and the private key of the terminal device is used to verify the identity information of the terminal device.
[0009] Through this method, the transaction management device verifies the identity information of the terminal device to ensure that the identity information of the terminal device is normal, thus ensuring the security of the data.
[0010] In an implementable manner, if the to-be-processed service is a real estate registration service, a unique identifier of the real estate information is generated according to the real estate information. The unique identifier of the real estate information is sent to the blockchain corresponding to the terminal device.
[0011] Through this method, generating the unique identifier of the real estate according to the real estate information can avoid multiple registrations of the real estate and facilitate the management of the real estate information.
[0012] In an implementable manner, the basic information of the real estate information is hashed according to the hash function to obtain the unique identifier of the real estate information.
[0013] Through this method, using the hash value of the basic information of the real estate information as the identifier of the real estate can achieve the uniqueness of the real estate identifier.
[0014] In an implementable manner, the real estate information includes real estate transaction information. The real estate transaction information is the information generated by the transaction management device for auditing the transaction request initiated by the terminal device. The real estate transaction information includes the identities of both parties to the transaction, the transaction type, and the transaction time.
[0015] Through this method, the real estate information includes the complete information of the transaction of the real estate, thus realizing the traceability of the real estate transaction information.
[0016] In a second aspect, an embodiment of the present application provides a real estate information storage device based on a blockchain, which is applied to a transaction management device. The transaction management device is connected to multiple terminal devices through the blockchain, and different terminal devices correspond to different blockchains. The device includes: a communication module and a processing module.
[0017] The communication module is configured to receive a to-be-processed service request and real estate information from a terminal device. The to-be-processed services include a real estate registration service and a real estate information modification service. The processing module is configured to determine a corresponding service type according to the to-be-processed service request, and perform an audit on the real estate information according to the corresponding audit criteria of each service type stored. Wherein, when the output result of the audit on the real estate information is not passed, a audit response containing the audit result is directly output. When the output result of the audit on the real estate information is passed, partial information or all information of the real estate information, a time stamp, and an identifier of the terminal device are sent to the blockchain corresponding to the terminal device, and an audit response containing the audit result is output. The communication module is further configured to feedback a service response message to the terminal device.
[0018] In an implementable manner, the processing module is further configured to verify the identity information of the terminal device according to the public key and private key of the terminal device. The public key and private key of the terminal device are the public key and private key generated for registering the terminal device. The public key of the terminal device is stored in the transaction management device, and the private key of the terminal device is used to verify the identity information of the terminal device.
[0019] In an implementable manner, if the to-be-processed service is a real estate registration service, the processing module is further configured to generate a unique identifier of the real estate information according to the real estate information. The communication module is further configured to send the unique identifier of the real estate information to the blockchain corresponding to the terminal device.
[0020] In an implementable manner, the processing module is further configured to perform a hash process on the basic information of the real estate information according to a hash function to obtain a unique identifier of the real estate information.
[0021] In an implementable manner, the real estate information includes real estate transaction information. The real estate transaction information is information generated by the transaction management device for auditing a transaction request initiated by the terminal device. The real estate transaction information includes the identities of the two parties to the transaction, the transaction type, and the transaction time.
[0022] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method of the first aspect and any one of its designs is implemented.
[0023] Fourthly, an embodiment of the present application further provides an electronic device, including a memory and a processor. A computer program is stored on the memory and can run on the processor. When the computer program is executed by the processor, the processor implements the method according to the first aspect and any one of its designs.
[0024] For the technical effects brought by the second aspect to the fourth aspect and any one of their designs, reference may be made to the technical effects brought by the corresponding designs in the first aspect, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] To more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0026] Figure 1 It is a schematic structural diagram of a blockchain-based house rental and sales management system provided by an embodiment of the present application;
[0027] Figure 2 It is a schematic flowchart of a blockchain-based real estate information storage method provided by an embodiment of the present application;
[0028] Figure 3 It is a schematic flowchart of a user registration method provided by an embodiment of the present application;
[0029] Figure 4 It is a schematic flowchart of another user registration method provided by an embodiment of the present application;
[0030] Figure 5 It is a schematic flowchart of a real estate registration method provided by an embodiment of the present application;
[0031] Figure 6 It is a schematic flowchart of another real estate registration method provided by an embodiment of the present application;
[0032] Figure 7 It is a schematic flowchart of a real estate information modification method provided by an embodiment of the present application;
[0033] Figure 8 It is a schematic flowchart of another real estate information modification method provided by an embodiment of the present application;
[0034] Figure 9 It is a schematic flowchart of a real estate transaction method provided by an embodiment of the present application;
[0035] Figure 10Schematic flowchart of another real estate transaction method provided by an embodiment of the present application;
[0036] Figure 11 Schematic flowchart of a real estate information query method provided by an embodiment of the present application;
[0037] Figure 12 Schematic flowchart of a real estate transaction information query method provided by an embodiment of the present application;
[0038] Figure 13 Schematic modular structure diagram of a blockchain-based real estate information storage device provided by an embodiment of the present application;
[0039] Figure 14 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0040] In order to make the purpose, technical solutions and advantages of the present application clearer and more understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application. Without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other arbitrarily. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0041] The terms "first" and "second" in the specification, claims and drawings of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the term "including" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally further include steps or units not listed, or may optionally further include other steps or units inherent to these processes, methods, products or devices. "Multiple" in the present application may represent at least two, for example, it may be two, three or more, and the embodiments of the present application do not make limitations.
[0042] In the technical solutions of the present application, the collection, dissemination, use, etc. of data all comply with the requirements of relevant national laws and regulations.
[0043] Before introducing the blockchain-based real estate information storage method provided by the embodiments of the present application, for the convenience of understanding, the technical background of the embodiments of the present application will be introduced in detail first.
[0044] Next, the real estate information storage method will be introduced in combination with the prior art.
[0045] Currently, the transaction information of house leasing and house sales is usually managed independently by real estate agents, resulting in problems such as non-disclosure of real estate information and unauthorized modification of real estate information in the real estate transaction market, which brings great troubles to the demand side. For example, in terms of house leasing, after obtaining the house from the house owner, the agent privately conducts illegal construction and transformation on the house, causing economic losses to the house owner. In order to attract tenants, the agent privately modifies the house information, and the publicized house information is seriously inconsistent with the actual house information, resulting in the tenants spending a lot of time and effort in seeking houses. In terms of real estate transactions, there are problems such as agents hiding abnormal situations of houses and obscuring house property rights, which bring economic losses to the buyers.
[0046] To solve the above defects, the present application provides a blockchain-based real estate information storage method and device to achieve the consistency of information between the two parties in the transaction on the premise of protecting user privacy.
[0047] In the blockchain-based real estate information storage method provided in the embodiment of the present application, the transaction management device can determine the corresponding business type according to the to-be-processed business request and real estate information, and review the real estate information according to the corresponding review criteria of each business type saved. When the output result of the review of the real estate information is not passed, a review response containing the review result is directly output. When the output result of the review of the real estate information is passed, part or all of the real estate information, the time stamp and the identifier of the terminal device are sent to the blockchain corresponding to the terminal device, and a review response containing the review result is output. Among them, the to-be-processed business includes real estate registration business and real estate information modification business. The transaction management device can feedback a business response message to the terminal device.
[0048] It can be understood that since the information on the blockchain is publicly available to the members on the blockchain, the method of sending part or all of the real estate information, the time stamp and the identifier of the terminal device to the blockchain corresponding to the terminal device can be used to publicly disclose the real estate information and ensure the consistency of information between the two parties in the transaction. Different terminal devices correspond to different blockchains. Therefore, this method can avoid disclosing the privacy data of users, so as to achieve the consistency of information between the two parties in the transaction on the premise of protecting user privacy.
[0049] In the present application, the terminal device can be different devices, or the same device used by different users. In the present application, different terminal devices correspond to different blockchains, and different terminal devices are connected to the transaction management device through the corresponding blockchains. Different blockchains exist independently, that is to say, the data on different blockchains are not shared.
[0050] For example,Figure 1 The structural schematic diagram of a housing rental and sales management system based on blockchain provided by an embodiment of this application. As Figure 1 shown, multiple terminal devices are connected to a transaction management device through corresponding blockchains. This system can be constructed based on the fabric blockchain network. In the fabric blockchain network, consortium members recognize each other's identities, permission configurations, and responsibility divisions. Members generate data based on the same transaction logic and recognize transactions based on the same policies. A channel is the logical entity that isolates ledger transaction data in the fabric blockchain network. One channel corresponds to one consortium and also corresponds to one ledger. The ledger data in the channel is shared among consortium members but is completely isolated from the data of another channel. That is to say, different terminal devices can correspond to different channels, thereby achieving data isolation between different terminal devices.
[0051] In addition, the transaction management device or the terminal device may be included in a computer system for executing the method shown in this application, or may be a processing device in the computer system for executing the method shown in this application, such as a processor or a processing module, etc. This application does not specifically limit.
[0052] Figure 2 The flowchart of a method for storing real estate information based on blockchain provided by an embodiment of this invention. Taking the terminal device and the transaction management device as the execution entities as an example, this process may include the following steps:
[0053] S201, the terminal device sends a business request to be processed and real estate information to the transaction management device. Correspondingly, the transaction management device receives the business request to be processed and real estate information from the terminal device.
[0054] Specifically, when a user processes a business, the user can trigger the corresponding business processing option on the front-end page of the system through the input device of the terminal device (such as a part of the mouse, keyboard, touch screen), or trigger the business processing option in the application program. When the terminal device detects the operation of triggering the business processing option, it can generate the corresponding business request to be processed.
[0055] The user can input the real estate information corresponding to the business to be processed through the input device of the terminal device. Different businesses to be processed correspond to different real estate information.
[0056] For example, the user can store partial information of the basic property information, property pictures, and other supporting documents of the property (such as the property ownership certificate) in a pre-set private network of the InterPlanetary File System (IPFS), and perform a hashing process on the file content to generate a corresponding hash value. The hash value and the basic property information can be sent to the transaction management device. Among them, the hash value can be used as a transaction parameter for property information.
[0057] After obtaining the business request to be processed and the property information, the terminal device can send the business request to be processed and the property information to the transaction management platform. Correspondingly, the transaction management device receives the business request to be processed and the property information from the terminal device.
[0058] In one or more embodiments, before receiving the business request to be processed and the property information from the terminal device, the transaction management device can verify the identity information of the terminal device based on the public key and private key of the terminal device. Among them, the public key and private key of the terminal device are the public key and private key generated for registering the terminal device. The public key of the terminal device can be stored in the transaction management device, and the private key of the terminal device can be used to verify the identity information of the terminal device.
[0059] Specifically, the present application may include a user management device, which can be used to register new users. When registering new users, the user management device can provide a public-private key pair for verifying the identity information of the users. Among them, the user management device can store the user identification and the user's public key in the transaction management device or in a storage device connected to the transaction management device. The user's private key is separately saved by the user. It can be understood that when registering users, the user management device can generate corresponding account information for the users, and the users can use the account information to log in to their accounts on the terminal device. Or, when registering users, the user management device can perform operations such as authorizing or activating a certain terminal device, so as to bind the user's information to the terminal device. That is to say, different users correspond to different terminal devices.
[0060] The transaction management device can verify the identity information of the terminal device in the following ways:
[0061] Exemplarily, the transaction management device may obtain the public key of a user based on the identification of the user, encrypt a random number using the public key, and send the encrypted information to the terminal device. Correspondingly, the terminal device receives the encrypted information from the transaction management device. The terminal device may decrypt the encrypted information according to the private key of the user to obtain the corresponding plaintext, and send the plaintext to the transaction management device. The transaction management device may verify the identity information of the terminal device based on the plaintext and the random number. Among them, if the plaintext is the same as the random number, it indicates that the identity of the terminal device is normal. If the plaintext is different from the random number, it indicates that the identity of the terminal device is abnormal.
[0062] In addition, when registering a new user, the user management device may assign different permissions according to the type of the user. For example, if the type of the user is an individual user type, the user may only register and / or modify their own property information. If the type of the user is an intermediary structure, the user may register and / or modify the property information of other individual users.
[0063] In one or more embodiments, the transaction management device may assign different permissions to different user types according to a preset user management contract. Among them, the user types may be divided into regulatory agencies, intermediary agencies, property owners, and demand parties. The user management contract may be used to record the information of the user type and the permissions of the user type.
[0064] If the type of the user is an intermediary agency, a corresponding agent channel may also be generated for the intermediary agency. The intermediary agency may deploy a property management contract and a user management contract on the corresponding agent channel. Among them, the property management contract may be used to record the detailed information of the properties managed by the intermediary agency and the status of the properties, and the user management contract may be used to record the relevant information of the users of the intermediary. It can be understood that since the agent channel is a type of blockchain, adopting this method can avoid the intermediary from randomly changing the property information and user information, and improve the security of the information.
[0065] S202. The transaction management device determines the corresponding service type according to the service request to be processed. Among them, the service to be processed includes a property registration service and a property information modification service.
[0066] Specifically, the service request to be processed may carry the identifier of the service type. For example, the first two bytes of the service request message to be processed are used to represent the identifier of the service type. The terminal device may determine the corresponding service type from the corresponding information between the service type and the identifier of the service type pre-stored according to the identifier of the service type of the service request to be processed.
[0067] For example, Table 1 is a correspondence table between business types and business type identifiers provided in an embodiment of the present application. As shown in Table 1, different business type identifiers correspond to different business types. The transaction management device can determine the corresponding business type according to the identifier of the business type by looking up the table.
[0068] Table 1
[0069] Identification of business type Business type 01 Business 1 02 Business 2 03 Business 3 04 Business 4 05 Business 5
[0070] S203. The transaction management device audits the real estate information according to the corresponding audit criteria of each business type stored.
[0071] Specifically, after obtaining the business type, the transaction management device can audit the real estate information according to the corresponding audit criteria of each business type saved by itself.
[0072] Exemplarily, the transaction management device can determine the corresponding audit criteria for the business type by looking up the table. Table 2 is a correspondence table between business types and audit criteria provided in an embodiment of the present application.
[0073] Table 2
[0074] Business type Review criteria Business 1 Review criteria 1 Business 2 Review criteria 2 Business 3 Review criteria 3 Business 4 Review criteria 4 Business 5 Review criteria 5
[0075] In addition, the transaction management device can also obtain the corresponding audit criteria for the business type in other ways, which are not specifically limited in the present application.
[0076] When the transaction management device audits the real estate information according to the audit criteria of each business type, if the output result of auditing the real estate information is not passed, it directly outputs an audit response containing the audit result. If the output result of auditing the real estate information is passed, the transaction management device can send partial information or all information, the time stamp, and the identifier of the terminal device of the real estate information to the blockchain corresponding to the terminal device, and output an audit response containing the audit result.
[0077] In one or more embodiments, if the business to be processed is a real estate registration business, the transaction management device can generate a unique identifier for the real estate information according to the real estate information. The transaction management device can also send the unique identifier of the real estate information to the blockchain corresponding to the terminal device.
[0078] Specifically, when the business to be processed is a real estate registration business, the transaction management device can query whether the real estate information has been registered. If the real estate information has not been registered, the transaction management device can generate a unique identifier for the real estate information according to the real estate information (such as the number of the real estate certificate).
[0079] Optionally, the transaction management device may perform hashing on the basic information of the property information according to a hash function to obtain a unique identifier of the property information. That is, the transaction management device may use the hash value of the basic information of the property information as the unique identifier of the property information.
[0080] After generating the unique identifier of the property information, the transaction management device may send the unique identifier of the property information to the blockchain corresponding to the terminal device. Correspondingly, the terminal device may obtain the unique identifier of the property information through the blockchain.
[0081] If the property information has been registered for the property, the transaction management device may directly send the unique identifier of the property information to the blockchain corresponding to the terminal device.
[0082] For example, different terminal devices may represent different intermediary agencies, and the house owner may entrust multiple intermediary agencies to conduct property transactions simultaneously. Since the information of multiple intermediary agencies is not shared, multiple intermediary structures will register the same property information. When registering the property information, if the property information has already been registered, the transaction management device may directly send the unique identifier of the property information to the blockchain of the terminal device. The terminal device may obtain the unique identifier of the property information through the corresponding blockchain.
[0083] Optionally, after auditing the property information, the transaction management device may store the property information in a preset property management contract. The property management contract is used to record the basic information of the property and the status of the property.
[0084] Optionally, this application may include a transaction management contract for recording the operation process of property transactions. The transaction management device may record the transaction information of the property according to the transaction management contract. The property transaction information includes the basic information of the property, the identity information of both parties to the property transaction, the timestamp of the property transaction, etc. The transaction management device may uniformly store the transaction information of the property according to the unique identifier of the property. For example, the transaction management device may store the property transaction information in chronological order according to the timestamp of the property transaction.
[0085] It can be understood that by using this method to record the transaction information of the property, the complete life cycle activities of the property transaction can be recorded, which is convenient for subsequent query of the property transaction information. When a dispute occurs in the property transaction, the user can quickly obtain the historical transaction information of the property through the transaction management contract, so as to quickly locate the problem of the property transaction.
[0086] S204. The transaction management device sends a service response message to the terminal device. Correspondingly, the terminal device receives the service response message from the transaction management device.
[0087] Specifically, after generating an audit response containing the audit result, the transaction management device can feedback a service response message to the terminal device. For example, the to-be-processed service request includes the identifier of the terminal device and the address information of the terminal device. The transaction management device can generate a service response message based on the audit response containing the audit result and the identifier of the terminal device, and send the service response message to the terminal device according to the address information of the terminal device. Correspondingly, after receiving the service approval response message from the transaction management device, the terminal device can determine the approval result of the property information through the service response message.
[0088] In one or more embodiments, in order to improve the security of data transmission, the present application can adopt the way of smart contract (chain code) for data transmission. For example, uploading the basic information of the property, uploading and / or downloading process specifications, uploading contracts, licenses and qualification certificates, etc. can all be realized through the way of smart contract.
[0089] In one or more embodiments, in the existing technical field, both the real estate market regulatory agency and each real estate agency already have management systems in use. In order to improve the compatibility and scalability of the method provided by the present application, data communication can be carried out with each management system through data interfaces and other means. For example, a relevant software development kit (SDK) can be provided, and each management system can be connected to the system provided by the present application through this SDK.
[0090] The user registration in the method provided by the present application will be introduced in detail below through Embodiment 1 and Embodiment 2. Among them, Embodiment 1 takes an individual user registering through the regulatory platform as an example, and Embodiment 2 takes a real estate agency registering as an example.
[0091] The specific content of Embodiment 1 is as follows:
[0092] Figure 3 It is a schematic flowchart of a user registration method provided by an embodiment of the present application. As Figure 3 shown, the user can apply for user registration through the regulatory platform and send the information for registration to the regulatory chain corresponding to the regulatory platform. The person in charge of manual review can obtain the information for registration through the regulatory chain of the regulatory platform and conduct offline review. If the review is successful, the user's information will be recorded in the user management contract deployed on the regulatory platform, permissions will be assigned to the user, and a key pair for verifying the user's identity will be assigned, and a key pair and a response message indicating successful review will be sent to the user. If the review is not successful, a response message indicating unsuccessful review will be sent to the user.
[0093] The specific content of Embodiment 2 is as follows:
[0094] Figure 4The flowchart of a user registration method provided by an embodiment of the present application. As Figure 4 shown, an intermediary user can apply for registration through an intermediary service platform and send the information for registration to the intermediary chain corresponding to the intermediary service platform. After receiving the information for registration, the intermediary chain can forward the information to the supervision chain. The person in charge of manual review can obtain the information for registration through the supervision chain of the supervision platform and conduct offline review. If the review is successful, the user information is recorded in the user management contract deployed on the supervision platform, permissions are assigned to the user, and a key pair for verifying the user identity is assigned, and a key pair and a review passed response message are sent to the intermediary chain. If the review is not successful, a review failed response message is sent to the intermediary chain. Correspondingly, the intermediary user can obtain the key pair and / or the response message through the intermediary chain.
[0095] The following uses Embodiment 3 and Embodiment 4 to introduce the real estate registration in the method provided by the present application in detail. Among them, Embodiment 3 takes an individual user registering real estate through the supervision platform as an example, and Embodiment 4 takes an intermediary agency registering real estate through the supervision platform as an example.
[0096] The specific content of Embodiment 3 is as follows:
[0097] Figure 5 The flowchart of a real estate registration method provided by an embodiment of the present application. As Figure 5 shown, an individual user can apply for registering a real estate through the supervision platform, and the individual user can send the information for registering the real estate to the supervision chain corresponding to the supervision platform. The supervision platform can generate a unique identifier for the real estate according to the basic real estate information in the received information and determine whether the identifier exists. If the unique identifier of the real estate does not exist, the person in charge of manual review can obtain the information for registering the real estate through the supervision chain of the supervision platform and conduct offline review. If the review is successful, the real estate information is recorded in the real estate management contract deployed on the supervision platform, and a response message is sent to the user.
[0098] The specific content of Embodiment 4 is as follows:
[0099] Figure 6 The flowchart of a real estate registration method provided by an embodiment of the present application. As Figure 6As shown, an intermediary user can apply to the intermediary platform for registering a property and send the information for registering the property to the corresponding intermediary chain of the intermediary platform. After receiving the information for registering the property, the intermediary chain can forward the information to the regulatory chain. The regulatory platform can authenticate the user based on the key of the property user. If the authentication is passed, it can generate a unique identifier for the property according to the basic property information in the received information and determine whether the identifier exists. If the unique identifier of the property does not exist, the person in charge of manual review can obtain the information for registering the property through the regulatory chain of the regulatory platform and conduct an offline review. If the review is passed, the property information can be recorded in the property management contract deployed on the regulatory platform, and a response message can be sent back to the intermediary chain. Correspondingly, the intermediary user can obtain the response message through the intermediary chain and modify the property status according to the review result in the response message.
[0100] The following details the modification of property information in the method provided in this application through Example 5 and Example 6. Among them, Example 5 takes an individual user modifying property information through the regulatory platform as an example, and Example 6 takes an intermediary institution modifying property information through the regulatory platform as an example.
[0101] The specific content of Example 5 is as follows:
[0102] Figure 7 It is a schematic flowchart of a method for modifying property information provided in an embodiment of this application. As Figure 7 shown, an individual user can apply to the regulatory platform for modifying property information and send the modified property information to the corresponding regulatory chain of the regulatory platform. The regulatory platform can determine whether the identifier exists based on the unique identifier of the property. If the identifier of the property exists, it can authenticate the identity and permissions of the user based on the user's key. If the authentication is passed, the person in charge of manual review can obtain the modified property information through the regulatory chain of the regulatory platform and conduct an offline review. If the review is passed, the modified property information can be recorded in the property management contract deployed on the regulatory platform, and a response message can be sent back to the user.
[0103] The specific content of Example 6 is as follows:
[0104] Figure 8 It is a schematic flowchart of a method for modifying property information provided in an embodiment of this application. As Figure 8As shown, an intermediary user can apply to modify real estate information through an intermediary platform and send the information of the modified real estate to the corresponding intermediary chain of the intermediary platform. After receiving the information of the modified real estate, the intermediary chain can forward the information to the supervision chain. The supervision platform can authenticate the user based on the key of the real estate user. If the authentication is passed, the supervision platform can determine whether the unique identifier of the real estate exists according to the unique identifier of the real estate. If the identifier of the real estate exists, the identity and permissions of the user are verified based on the user's key. If the verification is passed, the person in charge of manual review can obtain the information of the modified real estate through the supervision chain of the supervision platform and conduct an offline review. If the review is passed, the modified information of the real estate can be recorded in the real estate management contract deployed on the supervision platform, and a response message can be sent back to the intermediary chain. Correspondingly, the intermediary user can obtain the response message through the intermediary chain and modify the real estate status according to the review result in the response message.
[0105] The following details the real estate transactions in the methods provided by this application through Example 7 and Example 8. Among them, Example 7 takes an individual user conducting a real estate transaction through a supervision platform as an example, and Example 8 takes an intermediary agency conducting a real estate transaction through a supervision platform as an example.
[0106] The specific content of Example 7 is as follows:
[0107] Figure 9 It is a schematic flowchart of a real estate transaction method provided by an embodiment of this application. As Figure 9 shown, an individual user can apply to conduct a real estate transaction through a supervision platform and send the real estate transaction information to the corresponding supervision chain of the supervision platform. The supervision platform can determine whether the unique identifier of the real estate exists according to the unique identifier of the real estate. If the identifier of the real estate exists, the identities of both parties to the transaction are respectively verified based on the user's key. If the verification is passed, the corresponding contract template is selected from the transaction template contract according to the transaction type, filled with the transaction parameters of this time, and the real estate transaction information (such as the identifier of the real estate, the user identities of both parties to the transaction, the transaction type, the transaction time, and the identifier of the transaction management device) is recorded on the transaction management contract, and the change in the real estate status is recorded. The supervision platform can send a response message of the transaction result to both parties to the transaction. Among them, the transaction template contract can be used to record various real estate transaction contract templates, and the transaction management contract can be used to record the complete real estate operation process.
[0108] The specific content of Example 8 is as follows:
[0109] Figure 10 It is a schematic flowchart of a real estate transaction method provided by an embodiment of this application. As Figure 10As shown in the figure, an intermediary user can apply to the intermediary platform for a real estate transaction and send the real estate transaction information to the corresponding intermediary chain of the intermediary platform. After receiving the real estate transaction information, the intermediary chain can forward the information to the regulatory chain. The regulatory platform can determine whether the unique identifier of the real estate exists based on this identifier. If the identifier of the real estate exists, the regulatory platform can authenticate the users on both sides of the transaction respectively according to the user's private key. If the authentication is passed, if the verification is passed, then select the corresponding contract template from the transaction template contract according to the transaction type and fill in the transaction parameters record for this time, and record the real estate transaction information (such as the identifier of the real estate, the user identities of both sides of the transaction, the transaction type, the transaction time, and the identifier of the transaction management device) on the transaction management contract, and record the change of the real estate status. The regulatory platform can send a response message of the transaction result to the intermediary chain. Correspondingly, the intermediary user can obtain the response message through the intermediary chain and modify the real estate status according to the review result in the response message. Among them, the transaction template contract can be used to record various real estate transaction contract templates, and the transaction management contract can be used to record the complete real estate operation process.
[0110] The information query in the method provided by this application will be introduced in detail below through Example 9 and Example 10. Among them, Example 9 takes querying real estate information as an example, and Example 10 takes querying real estate transaction information as an example.
[0111] The specific content of Example 9 is as follows:
[0112] Figure 11 It is a schematic flowchart of a method for querying real estate information provided by an embodiment of this application. As Figure 11 shown, the user can apply to the regulatory platform for querying real estate information and send the real estate information to be queried to the corresponding regulatory chain of the regulatory platform. The regulatory platform authenticates the user's identity. If the authentication is successful, it calls the real estate management contract to query the real estate information to be queried and sends the query result to the user. Among them, when the regulatory platform sends the query result to the user, it can be sent in reverse order according to the information modification time. The query result sent includes real estate information, information modification time, and modifying user.
[0113] The specific content of Example 10 is as follows:
[0114] Figure 12 It is a schematic flowchart of a method for querying real estate transaction information provided by an embodiment of this application. As Figure 12As shown in the figure, the user can apply to the supervision platform to query transaction information and send the transaction information to be queried to the supervision chain corresponding to the supervision platform. The supervision platform verifies the identity of the user. If the verification is successful, it calls the transaction management contract to query the real estate information to be queried and sends the query result to the user. Among them, the transaction information to be queried may include the unique identifier of the real estate or the unique identifier of the real estate transaction. The query result includes the unique identifier of the real estate, the identities of the two parties to the transaction, the transaction type, the transaction time, and the identifier of the transaction management device.
[0115] Based on the above content and the same concept, the present application provides a real estate information storage device based on a blockchain. Figure 13 It is a schematic modular structure diagram of a real estate information storage device based on a blockchain provided by an embodiment of the present application. The device includes a processing module 1301 and a communication module 1302.
[0116] The communication module 1302 is used to receive the service request to be processed and real estate information from the terminal device. The service to be processed includes a real estate registration service and a real estate information modification service. The processing module 1301 is used to determine the corresponding service type according to the service request to be processed, and audit the real estate information according to the corresponding audit criteria of each service type. Among them, when the output result of auditing the real estate information is not passed, a review response containing the audit result is directly output. When the output result of auditing the real estate information is passed, part or all of the real estate information, the time stamp, and the identifier of the terminal device are sent to the blockchain corresponding to the terminal device, and a review response containing the audit result is output. The communication module 1302 is also used to feedback a service response message to the terminal device.
[0117] In an implementable manner, the processing module 1301 is further used to verify the identity information of the terminal device according to the public key and private key of the terminal device. The public key and private key of the terminal device are the public key and private key generated for registering the terminal device. The public key of the terminal device is stored in the transaction management device, and the private key of the terminal device is used to verify the identity information of the terminal device.
[0118] In an implementable manner, if the service to be processed is a real estate registration service, the processing module 1301 is further used to generate a unique identifier of the real estate information according to the real estate information. The communication module 1302 is also used to send the unique identifier of the real estate information to the blockchain corresponding to the terminal device.
[0119] In an implementable manner, the processing module 1301 is further used to perform a hash process on the basic information of the real estate information according to the hash function to obtain the unique identifier of the real estate information.
[0120] In an implementable manner, the real estate information includes real estate transaction information, which is information generated by the transaction management device after auditing the transaction requests initiated by the terminal devices. The real estate transaction information includes the identities of the two parties to the transaction, the transaction type, and the transaction time.
[0121] Figure 14 FIG. shows a schematic structural diagram of an electronic device provided by an embodiment of the present application.
[0122] The electronic device in the embodiment of the present application may include a processor 1401. The processor 1401 is the control center of the device and can connect various parts of the device through various interfaces and lines, and run or execute instructions stored in the memory 1403 and call data stored in the memory 1403. Optionally, the processor 1401 may include one or more processing units. The processor 1401 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 1401. In some embodiments, the processor 1401 and the memory 1403 may be implemented on the same chip, and in some embodiments, they may also be separately implemented on independent chips.
[0123] The processor 1401 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The method steps disclosed in combination with the embodiments of the present application can be directly executed by the hardware processor, or executed by a combination of hardware and software modules in the processor.
[0124] In the embodiment of the present application, the memory 1403 stores instructions executable by at least one processor 1401, and the at least one processor 1401 can be used to execute the method steps disclosed in the embodiments of the present application by executing the instructions stored in the memory 1403.
[0125] The memory 1403, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The memory 1403 can include at least one type of storage medium. For example, it can include flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic memory, magnetic disk, optical disc, etc. The memory 1403 is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1403 in the embodiments of the present application can also be a circuit or any other device capable of implementing a storage function, for storing program instructions and / or data.
[0126] In the embodiments of the present application, the device may further include a communication interface 1402, and the electronic device can transmit data through the communication interface 1402.
[0127] Optionally, it can be implemented by Figure 14 the shown processor 1401 (or the processor 1401 and the communication interface 1402) Figure 13 the shown processing module 1301 and / or communication module 1302, that is to say, the actions of the processing module 1301 and / or communication module 1302 can be executed by the processor 1401 (or the processor 1401 and the communication interface 1402).
[0128] Based on the same inventive concept, the embodiments of the present application also provide a computer-readable storage medium, in which instructions can be stored. When the instructions run on a computer, the computer is made to execute the operation steps provided in the above method embodiments. The computer-readable storage medium can be Figure 14 the shown memory 1403.
[0129] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0130] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for realizing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0131] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that realizes the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0132] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for realizing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0133] Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims
1. A method for storing real estate information based on blockchain, characterized in that, Applied to a transaction management device, the transaction management device is connected to multiple terminal devices through a blockchain, and different terminal devices correspond to different blockchains. The method includes: Receiving a to-be-processed service request and property information from the terminal device, where the to-be-processed service includes a property registration service and a property information modification service; Determining a corresponding service type according to the to-be-processed service request, and auditing the property information according to the corresponding auditing criteria of each service type saved, where When the output result of auditing the property information is not passed, directly outputting an audit response containing the audit result; when the output result of auditing the property information is passed, sending partial information or all information of the property information, a timestamp, and an identifier of the terminal device to the blockchain corresponding to the terminal device, and outputting an audit response containing the audit result; Sending a service response message to the terminal device.
2. The method according to claim 1, wherein Before receiving the to-be-processed service request and property information from the terminal device, the method further includes: Verifying the identity information of the terminal device according to the public key and private key of the terminal device. The public key and private key of the terminal device are the public key and private key generated when registering the terminal device. The public key of the terminal device is stored in the transaction management device, and the private key of the terminal device is used to verify the identity information of the terminal device.
3. The method according to claim 1, characterized in that The method further includes: If the to-be-processed service is the property registration service, generating a unique identifier for the property information according to the property information; Sending the unique identifier of the property information to the blockchain corresponding to the terminal device.
4. The method according to claim 3, wherein Generating the unique identifier for the property information according to the property information includes: Performing a hashing process on the basic information of the property information according to a hashing function to obtain the unique identifier of the property information.
5. The method according to claim 1, characterized in that, The property information includes property transaction information, which is information generated by the transaction management device auditing a transaction request initiated by the terminal device. The property transaction information includes the identities of both parties to the transaction, the transaction type, and the transaction time.
6. A blockchain-based real estate information storage device, characterized in that, Applied to a transaction management device, the transaction management device is connected to multiple terminal devices through a blockchain, and different terminal devices correspond to different blockchains. The device includes: A communication module, configured to receive a to-be-processed service request and property information from the terminal device, where the to-be-processed service includes a property registration service and a property information modification service; A processing module, configured to determine a corresponding service type according to the to-be-processed service request, and audit the property information according to the corresponding auditing criteria of each service type saved, where When the output result of auditing the property information is not passed, directly outputting an audit response containing the audit result; when the output result of auditing the property information is passed, sending partial information or all information of the property information, a timestamp, and an identifier of the terminal device to the blockchain corresponding to the terminal device, and outputting an audit response containing the audit result; The communication module is further configured to send a service response message to the terminal device.
7. The device according to claim 6, characterized in that, The processing module is further configured to: Verify the identity information of the terminal device according to the public key and private key of the terminal device. The public key and private key of the terminal device are the public key and private key generated during the registration of the terminal device. The public key of the terminal device is stored in the transaction management device, and the private key of the terminal device is used to verify the identity information of the terminal device.
8. The device according to claim 6, characterized in that, If the service to be processed is the real estate registration service, the processing module is further configured to generate a unique identifier for the real estate information according to the real estate information. The communication module is further configured to send the unique identifier of the real estate information to the blockchain corresponding to the terminal device.
9. The device according to claim 8, characterized in that Specifically, the processing module is configured to: Perform hash processing on the basic information of the real estate information according to a hash function to obtain the unique identifier of the real estate information.
10. The device according to claim 6, characterized in that, The real estate information includes real estate transaction information, which is information generated by the transaction management device after auditing the transaction request initiated by the terminal device. The real estate transaction information includes the identities of the two parties to the transaction, the transaction type, and the transaction time.
11. An electronic device, characterized in that, It includes a processor and a memory. The memory stores program code, and when the program code is executed by the processor, the processor is caused to execute the steps of any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that, It includes program code, and when the program code runs on an electronic device, the program code is used to cause the electronic device to execute the steps of any one of claims 1 to 5.