Provident fund transfer processing method and device based on blockchain
By using blockchain to store information in the provident fund transfer process, the problem of inconsistent provident fund transfer information in different places is solved, the consistency and traceability of provident fund transfer information is achieved, and the accuracy and traceability of the provident fund transfer process are ensured. Inquiry.
Patent Information
- Application Number
- CN202010604452.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-29
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-06-29
AI Technical Summary
In the existing technology, during the transfer process of provident fund in different places, the information between the transfer center, the transfer center and the transfer connection platform is inconsistent, resulting in the inability to accurately determine the provident fund transfer information, and thus the subsequent query and tracking cannot be carried out.
A blockchain-based provident fund transfer processing method is adopted to store the provident fund transfer information processed between the transfer-in center and the transfer-out center through the blockchain to ensure the consistency of the information and prevent data tampering. Specific steps include receiving the transfer request, verifying the contact letter, storing the contact letter and contact letter identification, updating the contact letter and storing it in the blockchain to ensure the integrity and traceability of the information.
Storage of provident fund transfer information through the blockchain solves the problem of information inconsistency, ensures the information consistency and traceability of the provident fund transfer process, and avoids query and tracking difficulties caused by information inconsistency.
Smart Images

Figure CN111833014B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and device for processing provident fund transfer based on blockchain. Background Art
[0002] Users often need to transfer provident funds due to job changes and other reasons, especially inter-regional provident fund transfers. At present, inter-regional provident fund transfers are usually completed through information exchange between the provident fund center at the transfer-in location (transfer-in center) and the provident fund center at the transfer-out location (transfer-out center) through the transfer and continuation platform. During the process of provident fund transfers, the information on provident fund transfers exchanged between the transfer-in center, the transfer and continuation platform and the transfer-out center can be stored for subsequent tracking and inquiry.
[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:
[0004] Since the transfer-out center and the transfer-in center belong to different regions, the business processing rules for provident fund transfer may be different, or there may be abnormalities in the transfer-out center, the transfer-in center and the transfer and continuation platform. It is easy for the information on the provident fund transfer process stored in the transfer-out center, the transfer-in center and the transfer and continuation platform to be inconsistent, resulting in the inability to accurately determine the provident fund transfer information, and further resulting in the inability to conduct subsequent inquiries and tracking of the provident fund transfer process. Summary of the invention
[0005] In view of this, the embodiments of the present invention provide a provident fund transfer processing method and device based on blockchain, which can solve the problem of inconsistent information of the provident fund transfer process stored in the transfer-out center, the transfer-in center and the transfer and continuation platform, resulting in the inability to perform subsequent query and tracking of the provident fund transfer process.
[0006] To achieve the above objectives, according to one aspect of an embodiment of the present invention, a provident fund transfer processing method based on blockchain is provided.
[0007] A method for processing provident fund transfer based on blockchain according to an embodiment of the present invention is used for a transfer and continuation platform, wherein the transfer and continuation platform includes a blockchain, and comprises: receiving a transfer-in request sent by a transfer-in center, wherein the transfer-in request includes a contact letter identifier and a contact letter, wherein the contact letter includes user information of the provident fund to be transferred; storing the contact letter and the contact letter identifier in the blockchain, and sending the contact letter to a transfer-out center corresponding to the provident fund to be transferred; receiving an updated contact letter, wherein the updated contact letter is sent by the transfer-out center after adding the account information of the provident fund to be transferred to the contact letter; storing the updated contact letter and the contact letter identifier in the blockchain; and sending the updated contact letter to the transfer-in center.
[0008] In one embodiment, storing the contact letter and the contact letter identifier in the blockchain includes:
[0009] Sending the contact letter and the contact letter identifier to the blockchain;
[0010] Receiving a transaction identifier sent by the blockchain, where the transaction identifier is generated by the blockchain;
[0011] The correspondence between the contact letter identifier and the transaction identifier is stored.
[0012] In yet another embodiment, the blockchain includes template information of the contact letter;
[0013] Before storing the contact letter and the contact letter identifier in the blockchain, the process further includes:
[0014] Verify the contact letter according to the template information of the contact letter, the user information of the provident fund user to be transferred and the contact letter identifier to obtain a first verification result;
[0015] If the first verification result is a verification failure, sending a first error message to the transfer center, wherein the first error message includes the contact letter identifier;
[0016] If the first verification result is successful verification, determining the corresponding status of the contact letter as passed contact letter review, and storing the contact letter and the contact letter identifier in the blockchain, including:
[0017] The contact letter, the corresponding status of the contact letter and the contact letter identifier are stored in the blockchain.
[0018] In yet another embodiment, the step of verifying the contact letter according to the template information of the contact letter, the user information of the provident fund user to be transferred, and the contact letter identifier to obtain a first verification result includes:
[0019] If the blockchain does not include the contact letter identifier and the attribute of the user information is consistent with the template information, determining that the first verification result is successful verification;
[0020] If the blockchain includes the contact letter identifier, or the attributes of the user information are inconsistent with the template information, it is determined that the first verification result is a verification failure.
[0021] In yet another embodiment, before storing the updated contact letter and the contact letter identifier in the blockchain, the method further includes:
[0022] Verifying the updated contact letter according to the template information of the contact letter and the provident fund account information of the user to obtain a second verification result;
[0023] If the second verification result is a verification failure, sending a second error message to the transfer-out center, wherein the second error message includes the contact letter identifier;
[0024] If the second verification result is successful, determining that the corresponding status of the updated contact letter is account information review passed, and storing the updated contact letter and the contact letter identifier in the blockchain, including:
[0025] The updated contact letter, the corresponding status of the updated contact letter, and the contact letter identifier are stored in the blockchain.
[0026] In another embodiment, the updated contact letter is verified based on the template information of the contact letter and the provident fund account information of the user to obtain a second verification result, including: if the attributes of the account information are consistent with the template information, determining that the second verification result is a successful verification; if the attributes of the account information are inconsistent with the template information, determining that the second verification result is a failed verification.
[0027] In yet another embodiment, after receiving the transfer request sent by the transfer center, the method further includes:
[0028] receiving a cancellation request from the transfer-in center, the cancellation request including a contact letter identifier of the contact letter to be cancelled;
[0029] According to the contact letter identifier of the contact letter to be revoked, query the status of the contact letter to be revoked;
[0030] According to the status of the contact letter to be revoked, determining whether the contact letter to be revoked is allowed to be revoked;
[0031] If not, an irrevocable message is sent to the transfer-in center;
[0032] If so, the status of the contact letter to be revoked is updated to cancellation completed, and the contact letter identifier of the contact letter to be revoked and the updated status of the contact letter to be revoked are stored in the blockchain.
[0033] In another embodiment, it also includes: receiving a query request, the query request including the contact letter identifier, the query request being sent by the transfer-in center or the transfer-out center; acquiring provident fund transfer information corresponding to the contact letter identifier from the blockchain according to the contact letter identifier; and sending the provident fund transfer information.
[0034] In yet another embodiment, the blockchain includes template information of the contact letter;
[0035] Before receiving the transfer request sent by the transfer center, the method further includes:
[0036] receiving a call request from the access center, wherein the call request is used to call the template information of the contact letter;
[0037] The template information is sent to the access center.
[0038] In yet another embodiment, after sending the updated contact letter to the transfer-in center, the method further includes:
[0039] receiving normal completion information, wherein the normal completion information is sent after the transfer-in center completes the transfer of the provident fund to be transferred;
[0040] The contact letter status is updated to normal completion, and the contact letter identifier and the updated status of the contact letter are stored in the blockchain.
[0041] To achieve the above-mentioned purpose, according to another aspect of an embodiment of the present invention, a provident fund transfer processing device based on blockchain is provided.
[0042] A provident fund transfer processing device based on blockchain according to an embodiment of the present invention is arranged on a transfer and continuation platform, wherein the transfer and continuation platform includes a blockchain, and includes: a receiving unit, used to receive a transfer-in request sent by a transfer-in center, wherein the transfer-in request includes a contact letter identifier and a contact letter, wherein the contact letter includes user information of the provident fund to be transferred; a storage unit, used to store the contact letter and the contact letter identifier in the blockchain; a sending unit, used to send the contact letter to a transfer-out center; the receiving unit, also used to receive an updated contact letter, wherein the updated contact letter is sent by the transfer-out center after adding the account information of the provident fund to be transferred to the contact letter; the storage unit, also used to store the updated contact letter and the contact letter identifier in the blockchain; the sending unit, also used to send the updated contact letter to the transfer-in center.
[0043] In one embodiment, the storage unit is specifically used for:
[0044] Sending the contact letter and the contact letter identifier to the blockchain;
[0045] Receiving a transaction identifier sent by the blockchain, where the transaction identifier is generated by the blockchain;
[0046] The correspondence between the contact letter identifier and the transaction identifier is stored.
[0047] In yet another embodiment, the blockchain includes template information of the contact letter;
[0048] The device also includes:
[0049] A verification unit, configured to verify the contact letter according to the template information of the contact letter, the user information of the provident fund user to be transferred and the contact letter identifier, and obtain a first verification result;
[0050] The sending unit is further configured to send first error information to the transfer center if the first verification result is a verification failure, wherein the first error information includes the contact letter identifier;
[0051] The storage unit is further used to determine, if the first verification result is successful verification, the corresponding status of the contact letter as passed contact letter review, and store the contact letter, the corresponding status of the contact letter and the contact letter identifier in the blockchain.
[0052] In yet another embodiment, the verification unit is specifically used to:
[0053] If the blockchain does not include the contact letter identifier and the attribute of the user information is consistent with the template information, determining that the first verification result is successful verification;
[0054] If the blockchain includes the contact letter identifier, or the attributes of the user information are inconsistent with the template information, it is determined that the first verification result is a verification failure.
[0055] In yet another embodiment, the verification unit is further used to verify the updated contact letter according to the template information of the contact letter and the provident fund account information of the user, and obtain a second verification result;
[0056] The sending unit is further configured to send second error information to the transfer-out center if the second verification result is a verification failure, wherein the second error information includes the contact letter identifier;
[0057] The storage unit is further configured to, if the second verification result is successful verification, determine that the corresponding status of the updated contact letter is that the account information has been reviewed and passed, and store the updated contact letter, the corresponding status of the updated contact letter, and the contact letter identifier in the blockchain.
[0058] In yet another embodiment, the verification unit is specifically used to:
[0059] If the attribute of the account information is consistent with the template information, determining that the second verification result is successful verification;
[0060] If the attribute of the account information is inconsistent with the template information, the second verification result is determined to be a verification failure.
[0061] In yet another embodiment, the receiving unit is further used to receive a cancellation request from the transfer-in center, the cancellation request including a contact letter identifier of the contact letter to be cancelled;
[0062] The device also includes:
[0063] A query unit, configured to query the status of the contact letter to be revoked according to the contact letter identifier of the contact letter to be revoked;
[0064] A judgment unit, used for judging whether the contact letter to be revoked is allowed to be revoked according to the status of the contact letter to be revoked;
[0065] The sending unit is further used to send irrevocable information to the transfer-in center if no;
[0066] The storage unit is further used to update the status of the contact letter to be revoked to cancellation completion if so, and store the contact letter identifier of the contact letter to be revoked and the updated status of the contact letter to be revoked in the blockchain.
[0067] In yet another embodiment, the receiving unit is further configured to receive a query request, the query request includes the contact letter identifier, and the query request is sent by the transfer-in center or the transfer-out center; the device further comprises:
[0068] An acquisition unit, configured to acquire, from the blockchain according to the contact letter identifier, provident fund transfer information corresponding to the contact letter identifier;
[0069] The sending unit is further used to send the provident fund transfer information.
[0070] In yet another embodiment, the blockchain includes template information of the contact letter;
[0071] The receiving unit is further used to receive a call request from the access center, where the call request is used to call the template information of the contact letter;
[0072] The sending unit is further used to send the template information to the access center.
[0073] In yet another embodiment,
[0074] The receiving unit is further used to receive normal completion information, wherein the normal completion information is sent by the transfer-in center after completing the transfer of the provident fund to be transferred;
[0075] The storage unit is also used to update the status of the contact letter to normal completion, and store the contact letter identifier and the updated status of the contact letter in the blockchain.
[0076] To achieve the above objective, according to another aspect of an embodiment of the present invention, an electronic device is provided.
[0077] An electronic device according to an embodiment of the present invention comprises: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the blockchain-based provident fund transfer processing method provided by the embodiment of the present invention.
[0078] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer readable medium is provided.
[0079] A computer-readable medium according to an embodiment of the present invention stores a computer program thereon, and when the program is executed by a processor, the provident fund transfer processing method based on blockchain provided by an embodiment of the present invention is implemented.
[0080] One embodiment of the above invention has the following advantages or beneficial effects: In the embodiment of the present invention, a blockchain is set in the transfer and continuation platform. After receiving the contact letter sent by the transfer-in center and the updated contact letter sent by the transfer-out center, the transfer and continuation platform can store them in the blockchain, that is, the information transmitted between the transfer-in center and the transfer-out center through the transfer and continuation platform can be stored in the blockchain. In this way, in the embodiment of the present invention, the information on the interaction of the provident fund transfer between the transfer-in center and the transfer-out center is stored in the blockchain, thereby ensuring the consistency of the processing information of the provident fund transfer, and the data stored in the blockchain can be prevented from being tampered with. Therefore, in the embodiment of the present invention, the information on the interaction of the provident fund transfer is stored in the blockchain, which can avoid the problem that the information of the provident fund transfer process stored in the transfer-out center, the transfer-in center and the transfer and continuation platform is inconsistent, resulting in the inability to accurately determine the information of the provident fund transfer, and then the inability to conduct subsequent inquiries and tracking of the provident fund transfer process.
[0081] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0083] Figure 1 is a schematic diagram of the principle of a smart contract according to an embodiment of the present invention;
[0084] Figure 2is a schematic diagram of a processing flow of evidence information according to an embodiment of the present invention;
[0085] Figure 3 It is a schematic diagram of data transmission in the blockchain through provident fund transfer according to an embodiment of the present invention;
[0086] Figure 4 It is a schematic diagram of a main process of a method for processing provident fund transfer based on blockchain according to an embodiment of the present invention;
[0087] Figure 5 It is a schematic diagram of another main process of the provident fund transfer processing method based on blockchain according to an embodiment of the present invention;
[0088] Figure 6 is a schematic diagram of the main units of the provident fund transfer processing device based on blockchain according to an embodiment of the present invention;
[0089] Figure 7 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0090] Figure 8 It is a schematic diagram of the structure of a computer system suitable for implementing the embodiment of the present invention. DETAILED DESCRIPTION
[0091] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0092] It should be pointed out that the embodiments of the present invention and the features in the embodiments may be combined with each other if there is no conflict.
[0093] Provident funds are divided into housing provident funds and company provident funds. The provident funds described in the embodiments of the present invention generally refer to housing provident funds, which can be long-term savings paid by state organs, state-owned enterprises, urban collective enterprises, foreign-invested enterprises, urban private enterprises, and other urban enterprises, institutions and their employees. The National Housing Provident Fund Inter-regional Transfer and Continuation Platform (i.e., Transfer and Continuation Platform) handles the business of transferring housing provident funds to the outgoing provident fund center for users who have established housing provident fund accounts and paid housing provident funds in the incoming provident fund center.
[0094] Blockchain is a distributed infrastructure and computing method that uses a block chain data structure to verify and store data. It can use a distributed node consensus algorithm to generate and update data; use cryptography to ensure the security of data transmission and access; and use smart contracts composed of automated script codes to program and operate data. Its essence can be a decentralized database. Smart contracts are computer protocols designed to disseminate, verify and automatically execute contract terms in an information-based manner. Smart contracts allow trusted transactions without a third party, which are traceable and irreversible.
[0095] Smart contracts are set up in blockchain-based programming languages, so when the conditions of smart contracts are met, smart contracts will be automatically executed, realizing automatic responses to transaction requests and automatic push of overdue information. Figure 1 The following is a schematic diagram of the principle of smart contracts. Smart contracts are pre-deployed, which is equivalent to being established.
[0096] A smart contract is an executable program that can be run directly on the blockchain. Its main function is to trigger the execution of contract events according to business rules, verify the validity of data, and generate evidence, that is, store the information on the blockchain. In the embodiment of the present invention, the smart contract is a contact letter, and the blockchain can generate evidence based on the contact letter information on the chain, that is, store it in the blockchain.
[0097] The embodiment of the present invention provides a system for provident fund transfer based on blockchain, which can be used to process the transfer and continuation business of provident funds across the country, especially the transfer and continuation of provident funds in different places. The system for provident fund transfer can include a transfer and continuation platform and multiple provident fund centers. Provident fund centers are usually set up according to regions and are responsible for the provident fund business in the corresponding regions. Each provident fund center is connected to the transfer and continuation platform, and data can be exchanged through the transfer and continuation platform. The transfer and continuation platform is set up with a blockchain, and the information in the business processing can be stored in the blockchain.
[0098] The transfer and continuation of provident fund usually means that the user transfers the provident fund from the area where the provident fund was originally paid to the area where the provident fund is currently being paid. Therefore, the provident fund of the user needs to be transferred from the provident fund center corresponding to the area where the provident fund was originally paid to the provident fund center corresponding to the area where the provident fund is being paid continuously. Therefore, in the embodiment of the present invention, the transfer-in center refers to the provident fund center corresponding to the area where the user is currently paying the provident fund, and the transfer-out center refers to the provident fund center corresponding to the area where the user originally paid the provident fund. The transfer-in center and the transfer-out center can perform the business processing of the provident fund transfer and continuation through the transfer and continuation platform.
[0099] In the embodiment of the present invention, the smart contract is the contact letter. The blockchain can generate a certificate based on the contact letter information on the chain, that is, it is stored in the blockchain. The transfer and continuation platform can sequentially chain the information (contact letter) exchanged during the provident fund transfer process and store it in the blockchain. When the transfer and continuation platform needs it, the blockchain can push the certificate information downlink to the transfer and continuation platform, and the transfer and continuation platform receives the certificate information. The specific process can be as follows: Figure 2 As shown. In the embodiment of the present invention, during the provident fund transfer process, the required information is transmitted between the transfer-in center and the transfer-out center through a contact letter. The transfer and continuation platform can mark the status of the contact letter after each operation on the contact letter to indicate the processing status of the provident fund transfer process. At the same time, each time the transfer and continuation platform operates the contact letter, the status of the operated contact letter will be uploaded to the chain to facilitate the storage of the completed provident fund transfer information in the blockchain. In the embodiment of the present invention, the blockchain generates evidence based on contact letters in different states and the account information of the provident fund user. Contact letters in different states can be stored in chronological order, which can facilitate the query and tracking of the subsequent provident fund transfer and continuation progress.
[0100] The transfer and continuation platform will upload the contact letter and other information to the chain. After the chain is successfully uploaded, the blockchain will generate the transaction identifier (txHash) corresponding to this chain upload through Hash operation, and send the transaction identifier to the transfer and continuation platform as a certificate for the transfer and continuation platform to download from the blockchain. The transfer and continuation platform can store the correspondence between the contact letter identifier and the transaction identifier, so as to query the stored contact letter from the blockchain through the transaction identifier. The smart contract can also be stored in the form of a contact letter identifier as a key and a transaction identifier as a contract storage value to realize the operation of downloading and querying according to the transaction identifier.
[0101] like Figure 3 The figure shows the data transmission process of provident fund transfer in the blockchain. Among them, the transfer-in application, transfer-out reception, and transfer completion are the various process nodes of provident fund transfer, which means that the smart contract can be triggered at each process node of provident fund transfer to upload data to the blockchain, that is, the information in the provident fund transfer is stored in the blockchain, and the data can also be downloaded from the blockchain when performing data verification and query.
[0102] The embodiment of the present invention provides a method for processing provident fund transfer based on blockchain, which can be executed by a transfer and continuation platform, such as Figure 4 As shown, the method includes the following steps.
[0103] S401: receiving a transfer request sent by a transfer center.
[0104] The transfer request includes a contact letter identifier and a contact letter, and the contact letter includes user information of the provident fund to be transferred.
[0105] When a user whose provident fund is to be transferred applies for the transfer of the provident fund, the transfer-in center can generate a contact letter and a contact letter identifier corresponding to the contact letter based on the user information of the provident fund to be transferred, and then send a transfer-in request to the transfer and continuation platform to request the transfer and continuation platform to forward the contact letter to the corresponding transfer-out center.
[0106] The transfer center can generate a contact letter by calling the transfer and continuation platform to obtain the template information of the contact letter, and then generate the contact letter according to the template information. Therefore, before this step, it can also include: receiving a call request from the access center, the call request is used to call the template information of the contact letter; and then sending the template information to the access center so that the access center can generate a contact letter according to the template information.
[0107] S402: Store the contact letter and the contact letter identifier in the blockchain, and send the contact letter to the transfer center corresponding to the provident fund to be transferred.
[0108] Among them, after receiving the contact letter, the transfer and succession platform can upload the contact letter and the contact letter identifier to the chain, store them in the blockchain, and send the contact letter to the transfer center corresponding to the provident fund to be transferred, so that the transfer center can process the provident fund to be transferred based on the contact letter.
[0109] After the transfer and succession platform uploads the contact letter and other information to the chain, the blockchain will generate the transaction identifier (txHash) corresponding to this chain through Hash operation after the chain is successfully uploaded, and send the transaction identifier to the transfer and succession platform as a certificate for the transfer and succession platform to download from the blockchain. The transfer and succession platform can store the correspondence between the contact letter identifier and the transaction identifier, so as to query the stored contact letter from the blockchain through the transaction identifier. Therefore, the process of storing the contact letter and the contact letter identifier to the blockchain in this step can be executed as follows: sending the contact letter and the contact letter identifier to the blockchain; receiving the transaction identifier sent by the blockchain, the transaction identifier is generated by the blockchain; storing the correspondence between the contact letter identifier and the transaction identifier.
[0110] The template information of the contact letter is set in the blockchain through the smart contract, that is, the information included in the contact letter and the attributes of each information, such as length, type, etc., so after the transfer and continuation platform receives the contact letter, it needs to verify the contact letter. At the same time, in order to avoid repeated generation of the contact letter, the transfer and continuation platform can also verify the contact letter logo. In the process of provident fund transfer, the transfer-in center and the transfer-out center transmit the required information through the contact letter, so the transfer and continuation platform can mark the status of the contact letter for each contact letter operation to indicate the processing status of the provident fund transfer process. At the same time, the transfer and continuation platform can also upload the status of the contact letter to the blockchain together with the contact letter to facilitate the storage of the completed provident fund transfer information.
[0111] Therefore, before executing this step, the transfer and continuation platform may also execute: verifying the contact letter according to the template information of the contact letter, the user information of the provident fund user to be transferred and the contact letter identifier, and obtaining a first verification result; if the first verification result is a verification failure, sending a first error message to the transfer center, and the first error message includes the contact letter identifier; if the first verification result is a verification success, determining that the corresponding status of the contact letter is passed, and storing the contact letter and the contact letter identifier in the blockchain in this step is specifically executed as follows: storing the contact letter, the corresponding status of the contact letter and the contact letter identifier in the blockchain.
[0112] After receiving the transfer request, the transfer continuation platform first verifies the contact letter. The specific verification includes determining whether the contact letter identifier is already included in the blockchain and determining whether the user information in the contact letter meets the requirements of the contact letter template information in the blockchain. If the contact letter identifier is already included in the blockchain, it means that the contact letter corresponding to the contact letter identifier already exists. In order to avoid confusion in the blockchain storage of contact letters due to duplication of the contact letter identifier, the first verification result is verification failure at this time; if the blockchain does not include the contact letter identifier, it means that the contact letter corresponding to the contact letter identifier does not exist, and this contact letter identifier can be used. The transfer continuation platform determines whether the contact letter generated by the transfer-in center meets the requirements of the template information by comparing the attributes of the user information included in the contact letter with the corresponding attributes set in the template information. If the attributes of the user information are inconsistent with the template information, it means that the contact letter does not meet the requirements of the template information; if the attributes of the user information are consistent with the template information, it means that the contact letter can meet the requirements of the template information. Therefore, the verification of the contact letter is specifically as follows: if the blockchain does not include the contact letter identifier and the attributes of the user information are consistent with the template information, the first verification result is determined to be a successful verification; if the blockchain includes the contact letter identifier, or the attributes of the user information are inconsistent with the template information, the first verification result is determined to be a failed verification.
[0113] It should be noted that, in the embodiment of the present invention, the contact letter may be verified by other means, and the specific verification method is not limited in the embodiment of the present invention. For example, it may be verified based on the user information in the contact letter whether the user can perform the provident fund transfer.
[0114] When the first verification result is a verification failure, the transfer and continuation platform can send a first error message to the transfer-in center, and the first error message includes a contact letter identifier to prompt the transfer-in center that the contact letter generated is incorrect. When the first verification result is a verification success, the transfer and continuation platform can determine that the corresponding status of the contact letter is passed in the contact letter review, which means that the transfer and continuation platform has successfully received the contact letter. At this time, the contact letter, the corresponding status of the contact letter, and the contact letter identifier can be uploaded to the chain and stored in the blockchain to generate evidence information.
[0115] After receiving the contact letter, the transfer and continuation platform can determine the transfer center based on the user information in the contact letter, and then send the contact letter to the transfer center so that the transfer center can process the provident fund transfer business.
[0116] S403: receiving an updated contact letter, wherein the updated contact letter is sent by the transfer-out center after adding the account information of the provident fund to be transferred in the contact letter.
[0117] Among them, after receiving the contact letter, the transfer-out center can enter the account information corresponding to the provident fund to be transferred in the contact letter, that is, update the contact letter, and then send the contact letter with the account information corresponding to the provident fund to be transferred to the transfer and continuation platform, so that the transfer and continuation platform can send the updated contact letter to the transfer-in center, so that the transfer-in center can transfer the provident fund based on these account information.
[0118] S404: Storing the updated contact letter and contact letter identifier in the blockchain.
[0119] After the transfer and succession platform receives the updated contact letter, it can upload the updated contact letter and contact letter identifier to the chain and store them in the blockchain.
[0120] The template information of the contact letter is set in the blockchain through the smart contract, that is, the information included in the contact letter and the attributes of each information, such as length, type, etc., are set. Therefore, after the transfer continuation platform receives the contact letter, it needs to verify the contact letter.
[0121] Therefore, before executing this step, the transfer and continuation platform may also execute: verifying the updated contact letter according to the template information of the contact letter and the user's provident fund account information to obtain a second verification result; if the second verification result is a verification failure, sending a second error message to the transfer center, the second error message including the contact letter identifier; if the second verification result is a verification success, determining that the corresponding status of the updated contact letter is passed in the account information review, and the step of storing the updated contact letter and the contact letter identifier in the blockchain is specifically executed as follows: storing the updated contact letter, the corresponding status of the updated contact letter and the contact letter identifier in the blockchain.
[0122] After receiving the updated contact letter, the transfer continuation platform first verifies the updated contact letter. The specific verification includes determining whether the account information in the updated contact letter meets the requirements of the template information of the contact letter in the blockchain. The transfer continuation platform determines whether the updated contact letter meets the requirements of the template information in the smart contract by comparing the attributes of the account information with the corresponding attributes set in the template information. If the attributes of the account information are inconsistent with the template information, it means that the updated contact letter does not meet the requirements of the template information; if the attributes of the account information are consistent with the template information, it means that the contact letter can meet the requirements of the template information. Therefore, the verification of the updated contact letter is specifically: if the attributes of the account information are consistent with the template information, the second verification result is determined to be successful; if the attributes of the account information are inconsistent with the template information, the second verification result is determined to be a failed verification.
[0123] It should be noted that, in the embodiment of the present invention, the updated contact letter may also be verified by other methods, and the specific verification method is not limited in the embodiment of the present invention.
[0124] When the second verification result is a verification failure, the transfer and continuation platform can send a second error message to the transfer-out center, and the second error message includes a contact letter identifier to prompt the transfer-out center that the contact letter updated is incorrect. When the second verification result is a verification success, the transfer and continuation platform can update the corresponding status of the contact letter to account information review passed, which means that the transfer and continuation platform has successfully received the updated contact letter. At this time, the updated contact letter, the corresponding status of the contact letter and the contact letter identifier can be uploaded to the chain and stored in the blockchain to generate evidence information.
[0125] S405: Send the updated contact letter to the transfer center.
[0126] The transfer and continuation platform will send the updated contact letter to the transfer-in center so that the transfer-in center can transfer the provident fund based on the account information, thereby realizing the provident fund transfer.
[0127] After the transfer and continuation platform sends the updated contact letter to the transfer-in center, the transfer-in center can review the account information. If the review is passed, the transfer of the provident fund to be transferred will be completed; if the review is not passed, it can negotiate with the transfer-out center.
[0128] After the transfer center has reviewed and approved the account information and completed the transfer of the provident fund to be transferred, it can send a normal completion message to the transfer and continuation platform, notifying the transfer and continuation platform that the transfer of the provident fund to be transferred has been completed normally. At this time, the transfer and continuation platform can update the status of the contact letter to normal completion, and store the contact letter identifier and the updated status of the contact letter on the blockchain.
[0129] When the transfer-in center fails to approve the account information, it can send negotiation information to the transfer and continuation platform to notify the transfer and continuation platform that the current provident fund business to be transferred needs to be negotiated with the transfer-out center. At this time, the transfer and continuation platform can update the contact letter status to under negotiation, and store the contact letter identifier and the updated status of the contact letter on the blockchain. After the negotiation with the transfer-out center is completed, the transfer-in center can execute the transfer of the provident fund to be transferred, and after completing the transfer of the provident fund to be transferred, it can send normal completion information to the transfer and continuation platform, notifying the transfer and continuation platform that the provident fund transfer to be transferred has been completed normally. At this time, the transfer and continuation platform can update the contact letter status to normal completion, and store the contact letter identifier and the updated status of the contact letter on the blockchain.
[0130] In the embodiment of the present invention, the transfer-in center and the transfer-out center can send a query request to the transfer and continuation platform during or after the execution of the provident fund transfer to query the information of the provident fund transfer process. The specific process is: the transfer and continuation platform receives the query request, and the query request includes the contact letter identifier; according to the contact letter identifier, the provident fund transfer information corresponding to the contact letter identifier is obtained from the blockchain; and the provident fund transfer information is sent.
[0131] Among them, the transfer and continuation platform stores the transaction identifiers corresponding to each contact letter identifier, so after receiving the query request, the corresponding transaction identifier can be queried based on the contact letter identifier, and then the provident fund transfer information corresponding to the contact letter identifier can be downloaded from the blockchain through the transaction identifier, and then the provident fund transfer information can be sent.
[0132] It should be noted that, in the embodiment of the present invention, each different status of the contact letter can also be set with a corresponding status code, and the transfer and continuation platform stores the correspondence between the contact letter identifier, status code, and transaction identifier. At this time, the query request can include the contact letter identifier and the status code, and the transfer and continuation platform can query the corresponding transaction identifier based on the contact letter identifier and the status code, and then download the contact letter information in the state corresponding to the status code from the blockchain according to the transaction identifier, thereby realizing accurate query of the contact letter information.
[0133] In the embodiment of the present invention, the transfer-in center can also cancel the transfer-in request after sending the transfer-in request, that is, the transfer-in center sends a cancellation request to the transfer and continuation platform. However, the transfer-in request will only be allowed to be revoked when the status of the contact letter is reviewed and passed, so the cancellation of the transfer-in request can be executed as follows: receiving the cancellation request of the transfer-in center, the cancellation request includes the contact letter identifier of the contact letter to be revoked; querying the status of the contact letter to be revoked according to the contact letter identifier of the contact letter to be revoked; judging whether the contact letter to be revoked is allowed to be revoked according to the status of the contact letter to be revoked; if not, sending irrevocable information to the transfer-in center; if so, updating the status of the contact letter to be revoked to cancellation completion, and storing the contact letter identifier of the contact letter to be revoked and the updated status of the contact letter to be revoked to the blockchain.
[0134] After receiving the revocation request, the transfer and continuation platform can query the status of the contact letter to be revoked from the blockchain according to the contact letter identifier of the contact letter to be revoked, and then determine whether the status of the contact letter to be revoked has been reviewed and passed. If the status of the contact letter to be revoked is reviewed and passed, it means that the contact letter to be revoked is allowed to be revoked, then the status of the contact letter to be revoked is updated to revocation completion, and the contact letter identifier of the contact letter to be revoked and the updated status of the contact letter to be revoked are stored in the blockchain; if the status of the contact letter to be revoked is not reviewed and passed, it means that the contact letter to be revoked is not allowed to be revoked, and an irrevocable message is sent to the transfer center.
[0135] In the embodiment of the present invention, the information on the interaction of provident fund transfers processed between the transfer-in center and the transfer-out center is stored in the blockchain, thereby ensuring the consistency of the processing information of the provident fund transfers, and the data stored in the blockchain can be prevented from being tampered with. Therefore, in the embodiment of the present invention, the information on the interaction of provident fund transfers processed is stored in the blockchain, which can avoid the problem that the information on the provident fund transfer process stored in the transfer-out center, the transfer-in center and the transfer and continuation platform is inconsistent, resulting in the inability to accurately determine the information on the provident fund transfer, and further resulting in the inability to perform subsequent inquiries and tracking of the provident fund transfer process.
[0136] In the embodiment of the present invention, the transfer of provident fund usually refers to the national housing provident fund inter-regional transfer and continuation platform to realize the transfer-in application, transfer-out reception and transfer-in completion services. In the existing process of providing provident fund transfer-in, transfer-out and withdrawal application, the security of data cannot be guaranteed. The embodiment of the present invention solves the problem of process status data security in the transfer and continuation process. Based on the decentralized, programmable and tamper-proof characteristics of smart contracts, it automatically executes pre-defined contact letter processing rules to achieve efficient and safe information exchange, reduce the risks caused by manual intervention and inconsistent business rules, and realize tracking and query. In addition, the present invention mainly triggers contract events by directly calling interfaces through the combination of blockchain technology and smart contracts to reduce the impact on external systems.
[0137] In the existing technology, the transfer-in center, the transfer-out center and the transfer and continuation platform are connected to the network through TCP access and other communication technologies to transmit data, and the transferred and continuation message data is processed. In this process, there is a lack of data verification and there is a risk of data loss. There are also business rule risks and data inconsistencies between the transfer-in center and the transfer-out center, as well as the lack of transfer and continuation expected information and push message processing. In the embodiment of the present invention, the smart contract on the blockchain is used to trigger the execution according to the agreed rules and terms, and the transfer-in application is verified according to the smart contract. Whether the execution is controlled by external conditions reduces the risk of data loss. The entire process status of the contact letter in the transfer and continuation can be tracked and processed through the blockchain, and the contract rules and terms are pre-specified, thereby strengthening business supervision, unifying business rules, and solving the problem of inconsistent data between the transfer-in center, the transfer-out center and the transfer and continuation platform due to system abnormalities. The blockchain smart contract technology is used to verify whether the transfer-in application is valid and whether the feedback data of the transfer-out center is valid, reducing risks; the progress query tracking of the provident fund transfer and the mutual trust of each center are solved by generating a contact letter for evidence.
[0138] In the embodiment of the present invention, the smart contract and the provident fund transfer and continuation business are combined to achieve the purpose of resisting risks and reducing errors caused by human intervention.
[0139] An alternative solution is a transfer and continuation process solution consisting of a transfer-in center, a provident fund transfer and continuation platform, a data platform, and a transfer-out center. In this solution, the transfer-in center accepts the transfer-in application, generates a contact letter, and uploads it to the National Housing Provident Fund Inter-regional Transfer and Continuation Platform, which then transmits it to the transfer-out center. After receiving the contact letter, the transfer-out center can feedback confirmation information through the transfer and continuation platform. The transfer and continuation platform determines the status of the contact letter to implement the transfer and continuation process.
[0140] Combine the following Figure 4 The embodiment shown in the figure specifically describes the housing fund transfer method in the embodiment of the present invention. Figure 5 As shown, the method includes the following steps.
[0141] S501: The transfer center generates a contact letter and a contact letter identifier.
[0142] The transfer-in center can generate a contact letter and a contact letter identifier corresponding to the contact letter according to the user information of the provident fund to be transferred. The user information in the contact letter may include the user's personal information and the user's request statement. The user's personal information may include name, valid identity document information, contact information, current personal housing provident fund account information, current unit information, transfer-out center name, original personal housing provident fund account, etc. The user's request statement may include authorizing the transfer-in center to handle the provident fund transfer-in, authorizing the transfer-out center to handle the provident fund transfer-out, and the settlement method of the actual amount of the provident fund transfer, etc. The transfer-in center can generate a unique contact letter identifier according to preset rules. The contact letter identifier generation rules may include multiple types. For example, in an embodiment of the present invention, the contact letter identifier generation rules may be regional code + time code + unique number, so as to ensure that the generated contact letter identifier is unique. The transfer-in center may generate a contact letter by calling the transfer and continuation platform to obtain the template information of the contact letter, and then generate the contact letter according to the template information.
[0143] S502: The transfer-in center sends a transfer-in request, which includes contact letter information.
[0144] The contact letter information includes a contact letter and a contact letter identification, and the contact letter includes the user information of the provident fund to be transferred.
[0145] S503: The transfer and continuation platform verifies the contact letter and obtains a first verification result.
[0146] After receiving the transfer request, the transfer continuation platform first verifies the contact letter. The specific verification includes determining whether the contact letter identifier is already included in the blockchain and determining whether the user information in the contact letter meets the requirements of the template information of the contact letter in the blockchain. If the contact letter identifier is already included in the blockchain, it means that the contact letter corresponding to the contact letter identifier already exists. In order to avoid confusion in the blockchain storage of contact letters due to duplication of the contact letter identifier, the first verification result is verification failure at this time; if the blockchain does not include the contact letter identifier, it means that the contact letter corresponding to the contact letter identifier does not exist, and this contact letter identifier can be used. The transfer continuation platform can also determine whether the contact letter generated by the transfer-in center meets the requirements of the template information by comparing the attributes of the user information included in the contact letter with the corresponding attributes set in the template information. If the attributes of the user information are inconsistent with the template information, it means that the contact letter does not meet the requirements of the template information; if the attributes of the user information are consistent with the template information, it means that the contact letter can meet the requirements of the template information. Therefore, the verification of the contact letter is specifically as follows: if the blockchain does not include the contact letter identifier and the attributes of the user information are consistent with the template information, then the first verification result can be determined to be a successful verification; if the blockchain includes the contact letter identifier, or the attributes of the user information are inconsistent with the template information, then the first verification result is determined to be a failed verification.
[0147] It should be noted that, in the embodiment of the present invention, the contact letter can also be verified by other methods. The specific verification method is not limited in the embodiment of the present invention. For example, it can be verified based on the user information in the contact letter and the information stored in the blockchain (such as evidence, etc.) whether the user can transfer the provident fund.
[0148] S504: If the first verification result is successful, an error message is sent to the transfer center.
[0149] When the first verification result is a verification failure, the transfer and continuation platform may send a first error message to the transfer-in center, wherein the first error message includes a contact letter identifier to prompt the transfer-in center that the contact letter generated is incorrect.
[0150] After executing this step, the subsequent processes can be skipped.
[0151] S505: If the first verification result is successful, determine the status code of the contact letter, and upload the contact letter, the status code and the contact letter identifier to the blockchain.
[0152] When the first verification result is successful, the transfer and succession platform can determine that the corresponding status of the contact letter is passed, which means that the transfer and succession platform has successfully received the contact letter. At this time, the contact letter, the corresponding status of the contact letter and the contact letter identifier can be uploaded to the chain and stored in the blockchain to generate evidence information.
[0153] S506: The transfer and continuation platform sends a contact letter to the transfer-out center.
[0154] After receiving the contact letter, the transfer and continuation platform can determine the transfer center based on the user information in the contact letter, and then send the contact letter to the transfer center so that the transfer center can process the provident fund transfer business.
[0155] It should be noted that after confirming receipt of the contact letter, the transfer-out center can provide feedback to the transfer and succession platform on the confirmation of receipt of the contact letter. After receiving the confirmation of receipt of the contact letter sent by the residence center, the transfer and succession platform can update the status of the contact letter to confirmed receipt, and upload the updated status of the contact letter to the chain and store it in the blockchain.
[0156] S507: The transfer center reviews the contact letter information and obtains the review results.
[0157] After receiving the contact letter, the transfer-out center may also review the contact letter to determine the accuracy of the user information included in the contact letter.
[0158] S508: If the audit result is failure, a rejection message is sent to the transfer and continuation platform. The transfer and continuation platform updates the status code of the contact letter to transfer failure business completion and stores it in the blockchain, and sends a rejection message to the transfer-in center at the same time.
[0159] If the transfer-out center fails to pass the review of the contact letter, it can return the review failure information to the transfer and succession platform to reject the request of the transfer-in center. At this time, after receiving the review failure information, the transfer and succession platform can update the status of the contact letter and upload the updated contact letter status to the chain, and at the same time send the review failure information to the transfer-in center. If the transfer-in center receives the review failure information and returns the confirmation information to the transfer and succession platform, the transfer and succession platform will update the status of the contact letter to the transfer failure business completion and store it on the blockchain chain.
[0160] After executing this step, the subsequent processes can be skipped.
[0161] S509: If the audit result is passed, the account information corresponding to the provident fund to be transferred is entered and the contact letter is updated.
[0162] After the transfer-out center has reviewed and approved the contact letter, it can enter the account information corresponding to the provident fund to be transferred in the contact letter, that is, update the contact letter, and then send the contact letter with the account information corresponding to the provident fund to be transferred to the transfer and continuation platform, so that the transfer and continuation platform can send the updated contact letter to the transfer-in center, so that the transfer-in center can transfer the provident fund based on these account information. Specific account information may include the transfer amount of the provident fund, the principal amount, the interest amount, the account opening date, the payment year and month, whether the payment was made continuously for 6 months before the payment month, the number of times the housing provident fund loan was used in the transfer-out place, whether there are any outstanding provident fund loans, whether there are any fraudulent withdrawals or loan frauds, etc., and fund transfers (transfers of funds from provident fund accounts), etc.
[0163] S510: The transfer-out center sends an updated contact letter to the transfer and continuation platform.
[0164] S511: The transfer and continuation platform verifies the updated contact letter and obtains a second verification result.
[0165] After receiving the updated contact letter, the transfer continuation platform can verify the updated contact letter. The specific verification includes determining whether the account information in the updated contact letter meets the requirements of the template information of the contact letter in the blockchain. The transfer continuation platform determines whether the updated contact letter meets the requirements of the template information in the smart contract by comparing whether the attributes of the account information are consistent with the corresponding attributes set in the template information. If the attributes of the account information are inconsistent with the template information, it means that the updated contact letter does not meet the requirements of the template information; if the attributes of the account information are consistent with the template information, it means that the contact letter can meet the requirements of the template information. Therefore, the verification of the updated contact letter is specifically: if the attributes of the account information are consistent with the template information, the second verification result is determined to be successful; if the attributes of the account information are inconsistent with the template information, the second verification result is determined to be a failed verification.
[0166] S512: If the second verification result is verification failure, an error message is sent to the transfer-out center.
[0167] When the second verification result is a verification failure, the transfer and continuation platform may send a second error message to the transfer-out center, wherein the second error message includes a contact letter identifier to prompt the transfer-out center that the contact letter updated is incorrect.
[0168] After executing this step, the subsequent processes can be skipped.
[0169] S513: If the second verification result is successful, the status code of the contact letter is updated to account information review passed, and the contact letter, status code and contact letter identifier are uploaded to the chain and stored in the blockchain.
[0170] When the second verification result is successful, the transfer and succession platform can update the corresponding status of the contact letter to account information review passed, which means that the transfer and succession platform has successfully received the updated contact letter. At this time, the updated contact letter, the corresponding status of the contact letter and the contact letter identifier can be uploaded to the chain and stored in the blockchain to generate evidence information.
[0171] S514: The transfer and continuation platform sends an updated contact letter to the transfer-in center.
[0172] The transfer and continuation platform will send the updated contact letter to the transfer-in center so that the transfer-in center can transfer the provident fund based on the account information, thereby realizing the provident fund transfer.
[0173] S515: The transfer-in center executes the transfer of the provident fund to be transferred according to the updated contact letter.
[0174] After the transfer and continuation platform sends the updated contact letter to the transfer-in center, the transfer-in center can review the account information. If the review is passed, the transfer of the provident fund to be transferred will be completed. If the review is not passed, it can negotiate with the transfer-out center.
[0175] S516: The transfer-in center sends normal completion information to the transfer and continuation platform.
[0176] After completing the transfer of the provident fund to be transferred to the transfer and continuation platform, the transfer center can send normal completion information to the transfer and continuation platform.
[0177] S517: The transfer and succession platform updates the status of the contact letter to normal completion, and stores the contact letter identifier and the updated status of the contact letter on the blockchain.
[0178] In the embodiment of the present invention, the information on the interaction of provident fund transfers processed between the transfer-in center and the transfer-out center is stored in the blockchain, thereby ensuring the consistency of the processing information of the provident fund transfers, and the data stored in the blockchain can be prevented from being tampered with. Therefore, in the embodiment of the present invention, the information on the interaction of provident fund transfers processed is stored in the blockchain, which can avoid the problem that the information on the provident fund transfer process stored in the transfer-out center, the transfer-in center and the transfer and continuation platform is inconsistent, resulting in the inability to accurately determine the information on the provident fund transfer, and further resulting in the inability to perform subsequent inquiries and tracking of the provident fund transfer process.
[0179] It should be noted that in the embodiment of the present invention, the blockchain can also be set up in each provident fund center, and in the process of generating, processing and verifying the contact letter in the provident fund processing center, the contact letters in various states can be uploaded to the chain for storage in the blockchain, thereby simplifying the processing process.
[0180] In order to solve the problems existing in the prior art, the embodiment of the present invention provides a provident fund transfer processing device 600 based on blockchain, which is arranged on a transfer and continuation platform, and the transfer and continuation platform includes a blockchain, such as Figure 6 As shown, the device 600 includes:
[0181] The receiving unit 601 is used to receive a transfer request sent by the transfer center, wherein the transfer request includes a contact letter identifier and a contact letter, and the contact letter includes user information of the provident fund to be transferred;
[0182] A storage unit 602, used to store the contact letter and the contact letter identifier in the blockchain;
[0183] The sending unit 603 is used to send the contact letter to the transfer-out center;
[0184] The receiving unit 601 is further configured to receive an updated contact letter, wherein the updated contact letter is sent by the transfer-out center after adding the account information of the provident fund to be transferred to the contact letter;
[0185] The storage unit 602 is further used to store the updated contact letter and the contact letter identifier in the blockchain;
[0186] The sending unit 603 is further configured to send the updated contact letter to the transfer-in center.
[0187] It should be understood that the manner of implementing the embodiments of the present invention is different from the Figure 4 The method of the illustrated embodiment is the same and will not be repeated here.
[0188] In an implementation of the embodiment of the present invention, the storage unit 602 is specifically used for:
[0189] Sending the contact letter and the contact letter identifier to the blockchain;
[0190] Receiving a transaction identifier sent by the blockchain, where the transaction identifier is generated by the blockchain;
[0191] The correspondence between the contact letter identifier and the transaction identifier is stored.
[0192] In another implementation of the embodiment of the present invention, the blockchain includes template information of the contact letter;
[0193] The device 600 further includes:
[0194] A verification unit, configured to verify the contact letter according to the template information of the contact letter, the user information of the provident fund user to be transferred and the contact letter identifier, and obtain a first verification result;
[0195] The sending unit 603 is further configured to send first error information to the transfer center if the first verification result is a verification failure, wherein the first error information includes the contact letter identifier;
[0196] The storage unit 602 is further used to determine, if the first verification result is successful verification, the corresponding status of the contact letter as passed contact letter review, and store the contact letter, the corresponding status of the contact letter and the contact letter identifier in the blockchain.
[0197] In yet another embodiment, the verification unit is specifically used to:
[0198] If the blockchain does not include the contact letter identifier and the attribute of the user information is consistent with the template information, determining that the first verification result is successful verification;
[0199] If the blockchain includes the contact letter identifier, or the attributes of the user information are inconsistent with the template information, it is determined that the first verification result is a verification failure.
[0200] In yet another embodiment, the verification unit is further used to verify the updated contact letter according to the template information of the contact letter and the provident fund account information of the user, and obtain a second verification result;
[0201] The sending unit 603 is further configured to send second error information to the transfer-out center if the second verification result is a verification failure, wherein the second error information includes the contact letter identifier;
[0202] The storage unit 602 is further used to determine that the corresponding status of the updated contact letter is that the account information review has passed if the second verification result is successful, and store the updated contact letter, the corresponding status of the updated contact letter and the contact letter identifier in the blockchain.
[0203] In yet another embodiment, the verification unit is specifically used to:
[0204] If the attribute of the account information is consistent with the template information, determining that the second verification result is successful verification;
[0205] If the attribute of the account information is inconsistent with the template information, the second verification result is determined to be a verification failure.
[0206] In yet another embodiment, the receiving unit 601 is further configured to receive a cancellation request from the transfer-in center, wherein the cancellation request includes a contact letter identifier of the contact letter to be cancelled;
[0207] The device 600 further includes:
[0208] A query unit, configured to query the status of the contact letter to be revoked according to the contact letter identifier of the contact letter to be revoked;
[0209] A judgment unit, used for judging whether the contact letter to be revoked is allowed to be revoked according to the status of the contact letter to be revoked;
[0210] The sending unit 603 is further configured to send irrevocable information to the transfer-in center if no;
[0211] The storage unit 602 is further used to update the status of the contact letter to be revoked to cancellation completion if so, and store the contact letter identifier of the contact letter to be revoked and the updated status of the contact letter to be revoked in the blockchain.
[0212] It should be understood that the manner of implementing the embodiments of the present invention is different from the Figure 4 or Figure 5 The method of the illustrated embodiment is the same and will not be repeated here.
[0213] In the embodiment of the present invention, the information on the interaction of provident fund transfers processed between the transfer-in center and the transfer-out center is stored in the blockchain, thereby ensuring the consistency of the processing information of the provident fund transfers, and the data stored in the blockchain can be prevented from being tampered with. Therefore, in the embodiment of the present invention, the information on the interaction of provident fund transfers processed is stored in the blockchain, which can avoid the problem that the information on the provident fund transfer process stored in the transfer-out center, the transfer-in center and the transfer and continuation platform is inconsistent, resulting in the inability to accurately determine the information on the provident fund transfer, and further resulting in the inability to perform subsequent inquiries and tracking of the provident fund transfer process.
[0214] According to an embodiment of the present invention, the present invention also provides an electronic device and a readable storage medium.
[0215] The electronic device of the present invention comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the provident fund transfer processing method based on blockchain provided in an embodiment of the present invention.
[0216] Figure 7 An exemplary system architecture 700 is shown to which a blockchain-based provident fund transfer processing method or a blockchain-based provident fund transfer processing device according to an embodiment of the present invention can be applied.
[0217] like Figure 7 As shown, the system architecture 700 may include provident fund centers 701, 702, 703, a network 704, and a transfer and connection platform 705. The network 704 is used to provide a medium for communication links between the provident fund centers 701, 702, 703 and the transfer and connection platform 705. The network 704 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0218] The user can use the provident fund center 701, 702, 703 to interact with the server 705 through the network 704 to receive or send messages, etc. The provident fund center 701, 702, 703 can be installed with various client applications.
[0219] The transfer and connection platform 705 may be a server that provides various services, and may analyze and process received data such as product information query requests, and feed back processing results (such as product information - just an example) to the terminal device.
[0220] It should be noted that the provident fund transfer processing method based on blockchain provided in the embodiment of the present invention is generally executed by the transfer and continuation platform 705. Accordingly, the provident fund transfer processing device based on blockchain is generally arranged in the transfer and continuation platform 705.
[0221] It should be understood that Figure 7 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0222] Reference below Figure 8 , which shows a schematic diagram of the structure of a computer system 800 suitable for implementing an embodiment of the present invention. Figure 8 The computer system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0223] like Figure 8 As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0224] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage section 808 as needed.
[0225] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or installed from the removable medium 811. When the computer program is executed by the central processing unit (CPU) 801, the above-mentioned functions defined in the system of the present invention are executed.
[0226] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0227] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a unit, a program segment, or a part of a code, and the above-mentioned unit, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0228] The units involved in the embodiments of the present invention may be implemented by software or hardware. The units described may also be arranged in a processor, for example, it may be described as: a processor includes a receiving unit, a storage unit and a sending unit. The names of these units do not constitute a limitation on the units themselves in some cases, for example, the receiving unit may also be described as a "unit of the function of the receiving unit".
[0229] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device executes the platform transfer and connection method provided by the present invention.
[0230] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for providing provident fund transfer based on blockchain, characterized in that: For transferring and connecting a platform, the transfer and connecting platform includes a blockchain, and the method includes: Receiving a transfer request sent by a transfer center, the transfer request including a contact letter identifier and a contact letter, the contact letter including user information of the provident fund to be transferred; The contact letter and the contact letter identifier are stored in the blockchain, and the contact letter is sent to the transfer-out center corresponding to the provident fund to be transferred; receiving an updated contact letter, wherein the updated contact letter is sent by the transfer-out center after adding the account information of the provident fund to be transferred to the contact letter; Storing the updated contact letter and the contact letter identifier in the blockchain; sending the updated contact letter to the transfer-in center; The transfer and continuation platform may mark the status of the contact letter after each operation on the contact letter, so as to indicate the processing status of the provident fund transfer process through different status codes, generate evidence based on the contact letters of different statuses and the account information of the provident fund user, store the contact letters of different statuses in chronological order, and store the corresponding relationship between the contact letter identifier, the status code, and the transaction identifier, wherein the transaction identifier is generated based on the contact letter; The blockchain includes template information of the contact letter; Before receiving the transfer request sent by the transfer center, the method further includes: A calling request from an access center is received, where the calling request is used to call the template information of the contact letter; and the template information is sent to the access center.
2. The method according to claim 1, characterized in that The storing the contact letter and the contact letter identifier in the blockchain includes: Sending the contact letter and the contact letter identifier to the blockchain; Receiving a transaction identifier sent by the blockchain, where the transaction identifier is generated by the blockchain; The correspondence between the contact letter identifier and the transaction identifier is stored.
3. The method according to claim 1, characterized in that The blockchain includes template information of the contact letter; Before storing the contact letter and the contact letter identifier in the blockchain, the process further includes: Verify the contact letter according to the template information of the contact letter, the user information of the provident fund user to be transferred and the contact letter identifier to obtain a first verification result; If the first verification result is a verification failure, sending a first error message to the transfer center, wherein the first error message includes the contact letter identifier; If the first verification result is successful verification, determining the corresponding status of the contact letter as passed contact letter review, and storing the contact letter and the contact letter identifier in the blockchain, including: The contact letter, the corresponding status of the contact letter and the contact letter identifier are stored in the blockchain.
4. The method according to claim 3, characterized in that The step of verifying the contact letter according to the template information of the contact letter, the user information of the provident fund user to be transferred and the contact letter identifier to obtain a first verification result includes: If the blockchain does not include the contact letter identifier and the attribute of the user information is consistent with the template information, determining that the first verification result is successful verification; If the blockchain includes the contact letter identifier, or the attributes of the user information are inconsistent with the template information, it is determined that the first verification result is a verification failure.
5. The method according to claim 3, characterized in that: Before storing the updated contact letter and the contact letter identifier in the blockchain, the method further includes: Verifying the updated contact letter according to the template information of the contact letter and the provident fund account information of the user to obtain a second verification result; If the second verification result is a verification failure, sending a second error message to the transfer-out center, wherein the second error message includes the contact letter identifier; If the second verification result is successful, determining that the corresponding status of the updated contact letter is account information review passed, and storing the updated contact letter and the contact letter identifier in the blockchain, including: The updated contact letter, the corresponding status of the updated contact letter, and the contact letter identifier are stored in the blockchain.
6. The method according to claim 5, characterized in that The step of verifying the updated contact letter according to the template information of the contact letter and the provident fund account information of the user to obtain a second verification result includes: If the attribute of the account information is consistent with the template information, determining that the second verification result is successful verification; If the attribute of the account information is inconsistent with the template information, the second verification result is determined to be a verification failure.
7. The method according to claim 3, characterized in that After receiving the transfer request sent by the transfer center, the method further includes: receiving a cancellation request from the transfer-in center, the cancellation request including a contact letter identifier of the contact letter to be cancelled; According to the contact letter identifier of the contact letter to be revoked, query the status of the contact letter to be revoked; According to the status of the contact letter to be revoked, determining whether the contact letter to be revoked is allowed to be revoked; If not, an irrevocable message is sent to the transfer-in center; If so, the status of the contact letter to be revoked is updated to cancellation completed, and the contact letter identifier of the contact letter to be revoked and the updated status of the contact letter to be revoked are stored in the blockchain.
8. The method according to claim 1, characterized in that Also includes: A received query request, wherein the query request includes the contact letter identifier, and the query request is sent by the transfer-in center or the transfer-out center; Acquire provident fund transfer information corresponding to the contact letter identifier from the blockchain according to the contact letter identifier; Send the provident fund transfer information.
9. The method according to claim 1, characterized in that: After sending the updated contact letter to the transfer center, the method further includes: receiving normal completion information, wherein the normal completion information is sent after the transfer-in center completes the transfer of the provident fund to be transferred; The contact letter status is updated to normal completion, and the contact letter identifier and the updated status of the contact letter are stored in the blockchain.
10. A provident fund transfer processing device based on blockchain, characterized in that: The device is provided on a transfer and continuation platform, wherein the transfer and continuation platform includes a blockchain, and the device includes: A receiving unit, configured to receive a transfer request sent by a transfer center, wherein the transfer request includes a contact letter identifier and a contact letter, and the contact letter includes user information of the provident fund to be transferred; A storage unit, used to store the contact letter and the contact letter identifier in the blockchain; A sending unit, used for sending the contact letter to a transfer-out center; The receiving unit is further used to receive an updated contact letter, wherein the updated contact letter is sent by the transfer-out center after adding the account information of the provident fund to be transferred to the contact letter; The storage unit is further used to store the updated contact letter and the contact letter identifier in the blockchain; The sending unit is further used to send the updated contact letter to the transfer-in center; The transfer and continuation platform may mark the status of the contact letter after each operation on the contact letter, so as to indicate the processing status of the provident fund transfer process through different status codes, generate evidence based on the contact letters of different statuses and the account information of the provident fund user, store the contact letters of different statuses in chronological order, and store the corresponding relationship between the contact letter identifier, the status code, and the transaction identifier, wherein the transaction identifier is generated based on the contact letter; The blockchain includes template information of the contact letter; The receiving unit is further used to receive a call request from an access center, wherein the call request is used to call the template information of the contact letter; The sending unit is further used to send the template information to the access center.
11. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 9.
12. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
