Blockchain-based money fund redemption method and system, and electronic device
By realizing the rapid arrival of monetary fund redemptions on the blockchain network, the blockchain consensus mechanism is used to solve the problem of delayed monetary fund redemptions, achieving rapid arrival of funds and the credibility of transactions.
Patent Information
- Application Number
- CN201811554455.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-12-18
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2038-12-18
AI Technical Summary
When the money fund is redeemed, the funds are delayed due to untimely confirmation of shares.
Adopting a blockchain-based monetary fund redemption method, the redemption request is broadcast to the blockchain network through the redemption system. The share registration system and capital system perform deductions and transfers after node verification, and the blockchain consensus mechanism is used to ensure transactions. reliability and fast execution.
It achieves the rapid arrival of monetary fund redemption funds, avoids delays in waiting for confirmation from central institutions, and improves the efficiency and reliability of the redemption process.
Smart Images

Figure CN109785142B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a money fund redemption method and system, and electronic equipment based on blockchain. Background Art
[0002] With the continuous development of network technology, online transactions are becoming more and more popular. In particular, money market fund transactions, as one of the investment and financial management channels, have been accepted by more and more people. People can open a fund account through a fund management company or a fund sales agency and apply to purchase a money market fund in accordance with the prescribed procedures, which is called money market fund subscription. They can also sell the money market funds they hold at the published price and recover the cash through a fund management company or a fund sales agency, which is called money market fund redemption.
[0003] At present, there are two ways to redeem money funds in the market: one is the quick redemption method, which is achieved through advance payment. Generally, the funds can be received within a few minutes, but the amount cannot exceed 10,000 yuan per day; the other is the ordinary redemption method, which does not require advance payment and has no amount limit, but the funds can only be received after the shares are confirmed the next day. When people redeem an amount exceeding 10,000 yuan, since the confirmation of the shares takes time, the redemption amount will not be received until the next day, which will cause delays in money fund redemption. Summary of the invention
[0004] In order to solve the problem of delayed money fund redemption due to untimely share confirmation, the present invention provides a money fund redemption method and system, and electronic device based on blockchain.
[0005] The first aspect of the embodiment of the present invention discloses a money fund redemption method based on blockchain, the method comprising:
[0006] The redemption system broadcasts a redemption request to all nodes in the blockchain network, wherein the redemption request includes the identifier of the fund to be redeemed and the fund shares to be redeemed;
[0007] After receiving the redemption request, if the share registration system finds that any node in the blockchain network verifies that the redemption request is a legitimate request, the share registration system deducts the fund shares according to the redemption request to obtain a deduction result, and broadcasts the deduction result to all nodes in the blockchain network;
[0008] After receiving the deduction result, if the fund system finds that any node in the blockchain network verifies that the deduction result is correct, the fund system transfers the funds corresponding to the fund shares to the redemption system;
[0009] Among them, the redemption system, the share registration system and the funding system are all nodes in the blockchain network.
[0010] A second aspect of an embodiment of the present invention discloses a money fund redemption system based on blockchain, the system comprising:
[0011] A redemption system, used to broadcast a redemption request to all nodes in the blockchain network, wherein the redemption request includes an identifier of the fund to be redeemed and the fund shares to be redeemed;
[0012] A share registration system, configured to, after receiving the redemption request, if any node in the blockchain network verifies that the redemption request is a legitimate request, deduct the fund shares according to the redemption request to obtain a deduction result, and broadcast the deduction result to all nodes in the blockchain network;
[0013] A fund system, configured to, after receiving the deduction result, if any node in the blockchain network verifies that the deduction result is correct, transfer the funds corresponding to the fund shares to the redemption system;
[0014] Among them, the redemption system, the share registration system and the funding system are all nodes in the blockchain network.
[0015] A third aspect of an embodiment of the present invention discloses an electronic device, the electronic device comprising:
[0016] processor;
[0017] A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, a money fund redemption method based on blockchain disclosed in the first aspect of an embodiment of the present invention is implemented.
[0018] The fourth aspect of an embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute a blockchain-based money fund redemption method disclosed in the first aspect of an embodiment of the present invention.
[0019] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0020] In the blockchain-based money fund redemption method provided by the present invention: through the consensus mechanism of the blockchain, after any node in the blockchain network determines that the redemption request and the fund share deduction result are credible, the funds corresponding to the fund shares can be directly transferred to the redemption system, without waiting for a central institution to confirm the fund shares before transferring the funds corresponding to the fund shares to the redemption system. Therefore, when the user performs ordinary redemption of the money fund, the redemption funds can be quickly received.
[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0023] Figure 1 is a schematic diagram of the structure of a device disclosed in an embodiment of the present invention;
[0024] Figure 2 It is a flow chart of a money fund redemption method based on blockchain disclosed in an embodiment of the present invention;
[0025] Figure 3 It is a flow chart of another blockchain-based money fund redemption method disclosed in an embodiment of the present invention;
[0026] Figure 4 It is a flowchart of another blockchain-based money fund redemption method disclosed in an embodiment of the present invention;
[0027] Figure 5 It is a structural diagram of a money fund redemption system based on blockchain disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0028] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0029] Embodiment 1
[0030] The implementation environment of the present invention may be an electronic device, such as a smart phone, a tablet computer, or a desktop computer.
[0031] Figure 11 is a schematic diagram of a structure of a device disclosed in an embodiment of the present invention. The device 100 may be the electronic device mentioned above. Figure 1 As shown, the apparatus 100 may include one or more of the following components: a processing component 102 , a memory 104 , a power component 106 , a multimedia component 108 , an audio component 110 , a sensor component 114 , and a communication component 116 .
[0032] The processing component 102 generally controls the overall operation of the device 100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 102 may include one or more processors 118 to execute instructions to perform all or part of the steps of the method described below. In addition, the processing component 102 may include one or more modules to facilitate the interaction between the processing component 102 and other components. For example, the processing component 102 may include a multimedia module to facilitate the interaction between the multimedia component 108 and the processing component 102.
[0033] The memory 104 is configured to store various types of data to support operations on the device 100. Examples of such data include instructions for any application or method operating on the device 100. The memory 104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The memory 104 also stores one or more modules, which are configured to be executed by the one or more processors 118 to complete all or part of the steps in the method shown below.
[0034] The power supply component 106 provides power to the various components of the device 100. The power supply component 106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 100.
[0035] The multimedia component 108 includes a screen that provides an output interface between the device 100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel. If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. The screen may also include an organic light emitting display (OLED).
[0036] The audio component 110 is configured to output and / or input audio signals. For example, the audio component 110 includes a microphone (MIC), which is configured to receive external audio signals when the device 100 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signal can be further stored in the memory 104 or sent via the communication component 116. In some embodiments, the audio component 110 also includes a speaker for outputting audio signals.
[0037] The sensor assembly 114 includes one or more sensors for providing various aspects of status evaluation for the device 100. For example, the sensor assembly 114 can detect the open / closed state of the device 100, the relative positioning of the components, and the sensor assembly 114 can also detect the position change of the device 100 or a component of the device 100 and the temperature change of the device 100. In some embodiments, the sensor assembly 114 can also include a magnetic sensor, a pressure sensor or a temperature sensor.
[0038] The communication component 116 is configured to facilitate wired or wireless communication between the device 100 and other devices. The device 100 can access a wireless network based on a communication standard, such as WiFi (Wireless-Fidelity). In an embodiment of the present invention, the communication component 116 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an embodiment of the present invention, the communication component 116 also includes a near field communication (NFC) module for facilitating short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth technology and other technologies.
[0039] In an exemplary embodiment, the device 100 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors, digital signal processing devices, programmable logic devices, field programmable gate arrays, controllers, microcontrollers, microprocessors or other electronic components to perform the following method.
[0040] Embodiment 2
[0041] See also Figure 2 , Figure 2 This is a flowchart of a method for redeeming a money fund based on blockchain disclosed in an embodiment of the present invention. Figure 2 As shown, the method may include the following steps:
[0042] 201. The redemption system broadcasts the redemption request to all nodes in the blockchain network.
[0043] In the embodiment of the present invention, the redemption request includes the identifier of the fund to be redeemed and the fund shares to be redeemed.
[0044] It is understandable that blockchain is a decentralized distributed database, which reflects the characteristics of being collectively maintained by multiple fund transaction participants who have joined the blockchain. The application of blockchain can ensure the immutability, non-forgeability and verifiability of data, and use the consensus algorithm to enable all nodes in the entire network (theoretically all nodes) to complete the recognition of blocks, and different nodes can exchange data through a peer-to-peer network (Peer to Peer, P2P), which can improve information security.
[0045] It is understandable that broadcasting to all nodes in the blockchain network can ensure the transparency of transactions, and any link can be made public through broadcasting, which improves the credibility of transactions.
[0046] 202. After receiving the redemption request, if the share registration system finds that any node in the blockchain network verifies that the redemption request is a legal request, the share registration system deducts the fund shares according to the redemption request to obtain the deduction result, and broadcasts the deduction result to all nodes in the blockchain network.
[0047] 203. After receiving the deduction result, if any node in the blockchain network verifies that the deduction result is correct, the fund system transfers the funds corresponding to the fund shares to the redemption system.
[0048] In the embodiment of the present invention, the redemption system, the share registration system and the funding system are all nodes in the blockchain network, and the embodiment of the present invention is not limited thereto.
[0049] As an optional implementation, after executing step 203, the following steps may also be performed:
[0050] The redemption system records the fund identifier of this fund, matches from the fund library according to the fund identifier and preset requirements, and recommends the matched fund to the user; wherein the preset requirements may be funds of the same type or funds with the same yield and benefits, which is not limited in the embodiment of the present invention.
[0051] Furthermore, as another optional implementation, the redemption system can automatically broadcast fund subscription requests to all nodes in the blockchain network with the user's consent, and transfer the funds corresponding to the fund shares to the fund system for purchasing the funds recommended by the redemption system.
[0052] It can be seen that by implementing this optional implementation method, the redemption funds proposed by the user can be automatically used to purchase new funds, thereby improving the fund conversion efficiency.
[0053] It can be seen that the implementation Figure 2 The described method, through the consensus mechanism of blockchain, can directly transfer the funds corresponding to the fund shares to the redemption system after any node in the blockchain network determines that the redemption request and the fund share deduction result are credible, without waiting for a central agency to confirm the fund shares before transferring the funds corresponding to the fund shares to the redemption system. This can achieve rapid arrival of redemption funds when users make ordinary redemptions of money market funds.
[0054] Embodiment 3
[0055] See also Figure 3 , Figure 3FIG. 1 is a flow chart of another method for redeeming a money fund based on blockchain disclosed in an embodiment of the present invention. Figure 3 As shown, the method may include the following steps:
[0056] 301. The redemption system broadcasts the redemption request to all nodes in the blockchain network.
[0057] In the embodiment of the present invention, the redemption request includes the identifier of the fund to be redeemed and the fund shares to be redeemed.
[0058] 302. After receiving the redemption request, if the share registration system finds that any node in the blockchain network verifies that the redemption request is a legal request, the share registration system deducts the fund shares according to the redemption request to obtain the deduction result, and broadcasts the deduction result to all nodes in the blockchain network.
[0059] 303. After receiving the deduction result, if the fund system detects through the smart contract that the deduction result is verified as a correct result by any node in the blockchain network, the fund system determines through the smart contract whether the current balance of the custodian of the fund system is greater than or equal to the funds corresponding to the fund shares; if so, execute step 304; if not, execute steps 305-307.
[0060] It can be understood that a smart contract is a computer protocol designed to disseminate, verify or execute contracts in an information-based manner. Smart contracts allow trusted transactions without a third party. These transactions are traceable and irreversible, which can ensure the fairness and justice of transactions and improve credibility.
[0061] In the embodiment of the present invention, the fund system can automatically transfer the funds corresponding to the fund shares to the redemption system through a smart contract, which can improve the immediacy of fund redemption and speed up the rapid arrival of redemption funds.
[0062] 304. The fund system transfers the funds corresponding to the fund shares from the custodian to the redemption system.
[0063] 305. The fund system transfers the funds corresponding to the fund shares from the advance payment account to the redemption system.
[0064] In the embodiment of the present invention, the fund system includes a custodian account and a funding account, which is not limited in the embodiment of the present invention.
[0065] Generally speaking, for the convenience of supervision, different fund accounts are used for quick redemption and ordinary redemption when transferring funds. Quick redemption uses a funding account, while ordinary redemption uses a custodian account. Quick redemption is equivalent to transferring the funds corresponding to the fund shares to the user account bound to the redemption system through the funding account when the fund shares have been determined but the redemption payment has not been received. Ordinary redemption is to wait until the custodian account receives the redemption payment, and then transfer the funds corresponding to the fund shares to the user account bound to the redemption system through the custodian account. In an embodiment of the present invention, when the current balance of the custodian account is insufficient, the real-time nature of the funds arrival can be given priority, and the funds corresponding to the fund shares can be transferred from the funding account to the user account bound to the redemption system.
[0066] 306. The funding system broadcasts to all nodes in the blockchain network the operation of transferring the funds corresponding to the fund shares from the advance payment account to the redemption system.
[0067] 307. When the fund system detects through the smart contract that the fund has completed the selling operation and the custodian has received the redemption funds, the fund system transfers the redemption funds from the custodian to the advance payment account through the smart contract.
[0068] Among them, redemption funds refer to the funds received by the custodian after the fund completes the selling operation.
[0069] In an embodiment of the present invention, the advance payment account transfers the funds corresponding to the fund shares to the user account bound to the redemption system instead of the custodian account, which will also be broadcast to all nodes in the blockchain network, and when the custodian account receives the redemption money through the smart contract, the redemption money will be automatically transferred from the custodian account to the advance payment account to ensure the normal flow of funds.
[0070] It can be seen that the implementation Figure 3 The described method, through the consensus mechanism of blockchain, can directly transfer the funds corresponding to the fund shares to the redemption system after any node in the blockchain network determines that the redemption request and the fund share deduction result are credible, without waiting for a central institution to confirm the fund shares before transferring the funds corresponding to the fund shares to the redemption system, which can realize the rapid arrival of redemption funds when users make ordinary redemptions of money funds. In addition, when the smart contract detects that the deduction result is verified to be a correct result, the fund system transfers the funds corresponding to the fund shares to the redemption system, which can further improve the rapid arrival of redemption funds. In addition, when the current balance of the custodian is insufficient, the funds corresponding to the fund shares are transferred from the advance payment account to the redemption system, which can further improve the real-time arrival of redemption funds.
[0071] Embodiment 4
[0072] See also Figure 4 , Figure 4 This is a flowchart of another method for redeeming a money fund based on blockchain disclosed in an embodiment of the present invention. Figure 4 As shown, the method may include the following steps:
[0073] 401. The redemption system broadcasts the redemption request to all nodes in the blockchain network.
[0074] In the embodiment of the present invention, the redemption request includes the identifier of the fund to be redeemed and the fund shares to be redeemed.
[0075] 402. After receiving the redemption request, if the share registration system finds that any node in the blockchain network verifies that the redemption request is a legal request, the share registration system deducts the fund shares according to the redemption request to obtain the deduction result, and broadcasts the deduction result to all nodes in the blockchain network.
[0076] 403. After receiving the deduction result, if any node in the blockchain network verifies that the deduction result is correct, the fund system transfers the funds corresponding to the fund shares to the redemption system.
[0077] In the embodiment of the present invention, the redemption system, the share registration system and the funding system are all nodes in the blockchain network, and the embodiment of the present invention is not limited thereto.
[0078] 404. The redemption system broadcasts the first asset status and the second asset status to all nodes in the blockchain network.
[0079] In the embodiment of the present invention, the first asset situation refers to the asset situation of the redemption system before the fund system transfers the funds corresponding to the fund shares to the redemption system; the second asset situation refers to the asset situation of the redemption system after the fund system transfers the funds corresponding to the fund shares to the redemption system.
[0080] In the embodiment of the present invention, the asset situation includes fund shares, fund net value and existing funds.
[0081] 405. The share registration system broadcasts the third asset status and the fourth asset status to all nodes in the blockchain network.
[0082] In an embodiment of the present invention, the third asset situation refers to the asset situation of the share registration system before the fund system transfers the funds corresponding to the fund shares to the redemption system; the fourth asset situation refers to the asset situation of the share registration system after the fund system transfers the funds corresponding to the fund shares to the redemption system.
[0083] 406. The funding system broadcasts the fifth asset status and the sixth asset status to all nodes in the blockchain network.
[0084] In the embodiment of the present invention, the fifth asset situation refers to the asset situation of the fund system before the fund system transfers the funds corresponding to the fund shares to the redemption system; the sixth asset situation refers to the asset situation of the fund system after the fund system transfers the funds corresponding to the fund shares to the redemption system.
[0085] 407. The capital system determines through a smart contract whether the sum of the first asset situation, the third asset situation and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation and the sixth asset situation.
[0086] 408. If the funding system determines through the smart contract that the sum of the first asset situation, the third asset situation and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation and the sixth asset situation, the funding system broadcasts the redemption operation to all nodes in the blockchain network normally.
[0087] As an optional implementation, in step 404, the redemption system broadcasts the first asset status and the second asset status to all nodes in the blockchain network in the following manner:
[0088] According to the homomorphic encryption algorithm, the redemption system encrypts the first asset status and the second asset status and broadcasts the encrypted first asset status and the encrypted second asset status to all nodes in the blockchain network;
[0089] Step 405: The share registration system broadcasts the third asset status and the fourth asset status to all nodes in the blockchain network in the following manner:
[0090] According to the homomorphic encryption algorithm, the share registration system checks the third asset status and the fourth asset status and broadcasts the encrypted third asset status and the encrypted fourth asset status to all nodes in the blockchain network;
[0091] Step 406: The funding system broadcasts the fifth asset status and the sixth asset status to all nodes in the blockchain network in the following manner:
[0092] According to the homomorphic encryption algorithm, the fund system encrypts the fifth asset status and the sixth asset status and broadcasts the encrypted fifth asset status and the encrypted sixth asset status to all nodes in the blockchain network;
[0093] Step 407 The funding system determines through the smart contract whether the sum of the first asset situation, the third asset situation and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation and the sixth asset situation in the following manner:
[0094] The fund system adds the encrypted first asset situation, the encrypted third asset situation, and the encrypted fifth asset situation to obtain a first total asset situation, and decrypts the first total asset situation to obtain a decrypted first total asset situation;
[0095] The fund system adds the encrypted second asset situation, the encrypted fourth asset situation and the encrypted sixth asset situation to obtain the second total asset situation, and decrypts the second total asset situation to obtain the decrypted second total asset situation;
[0096] The fund system uses a smart contract to determine whether the first total asset situation after decryption is equal to the second total asset situation after decryption;
[0097] Step 408 If the fund system determines through the smart contract that the sum of the first asset situation, the third asset situation and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation and the sixth asset situation, the fund system broadcasts the redemption operation to all nodes in the blockchain network in a normal manner as follows:
[0098] If the funding system determines through the smart contract that the first total asset situation after decryption is equal to the second total asset situation after decryption, the funding system broadcasts the redemption operation to all nodes in the blockchain network.
[0099] It can be understood that the homomorphic encryption algorithm refers to processing the original data that has been homomorphically encrypted to obtain result one, decrypting result one to obtain result two, and result two is consistent with result three obtained by processing the unencrypted original data using the same method.
[0100] As another optional implementation, if the funding system determines through a smart contract that the first total asset situation after decryption is not equal to the second total asset situation after decryption, the funding system broadcasts the judgment result to all nodes in the blockchain network, and the judgment result is used to inform all nodes in the blockchain network that the redemption operation is abnormal.
[0101] It can be seen that by implementing the above two implementation methods, whether the redemption operation is normal is determined by judging whether the sum of the asset conditions of all nodes before the redemption operation is equal to the sum of the asset conditions of all nodes after the redemption operation based on the homomorphic encryption algorithm. If they are equal, it indicates that the redemption operation is normal; otherwise, it indicates that the redemption operation is abnormal; it can prevent data leakage and improve information security and reliability.
[0102] As another optional implementation, any node in the blockchain (such as a redemption system, a share registration system, and a funding system, etc.) can pre-store pairs of public keys and secret keys. The secret keys are used to encrypt the original data from plain text to cipher text, and the public keys are used to decrypt the cipher text to plain text, thereby obtaining the original data.
[0103] Therefore, in step 404, the redemption system may broadcast the first asset status and the second asset status to all nodes in the blockchain network in the following manner:
[0104] The redemption system encrypts the first asset status and the second asset status using the stored key to obtain the encrypted first asset status and the encrypted second asset status;
[0105] The redemption system broadcasts the encrypted first asset status and the encrypted second asset status to all nodes in the blockchain network.
[0106] Step 405: The share registration system may broadcast the third asset status and the fourth asset status to all nodes in the blockchain network in the following manner:
[0107] The share registration system encrypts the third asset status and the fourth asset status using the stored key to obtain the encrypted third asset status and the encrypted fourth asset status;
[0108] The share registration system broadcasts the encrypted third asset status and the encrypted fourth asset status to all nodes in the blockchain network.
[0109] Step 406: The funding system broadcasts the fifth asset status and the sixth asset status to all nodes in the blockchain network in the following manner:
[0110] The fund system uses the stored key to encrypt the fifth asset status and the sixth asset status to obtain the encrypted fifth asset status and the encrypted sixth asset status;
[0111] The funding system broadcasts the encrypted fifth asset status and the encrypted sixth asset status to all nodes in the blockchain network.
[0112] Step 407 The funding system may determine through the smart contract whether the sum of the first asset situation, the third asset situation and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation and the sixth asset situation in the following manner:
[0113] The fund system receives the first total asset situation and the second total asset situation; wherein the first total asset situation includes the sum of the encrypted first asset situation, the encrypted third asset situation and the encrypted fifth asset situation; the second total asset situation includes the sum of the encrypted second asset situation, the encrypted fourth asset situation and the encrypted sixth total asset situation;
[0114] The fund system uses the stored public key to decrypt the first total asset situation and the second total asset situation;
[0115] The funding system uses a smart contract to determine whether the first total asset situation after decryption is equal to the second total asset situation after decryption.
[0116] It can be seen that implementing this optional implementation method can prevent data information from being maliciously tampered with, thereby ensuring the integrity of the data information.
[0117] It can be seen that the implementation Figure 4 The described method, through the consensus mechanism of blockchain, can directly transfer the funds corresponding to the fund shares to the redemption system after any node in the blockchain network determines that the redemption request and the fund share deduction result are credible, without waiting for a central institution to confirm the fund shares before transferring the funds corresponding to the fund shares to the redemption system, and can realize the rapid arrival of redemption funds when the user performs ordinary redemption of money funds. In addition, by determining whether the sum of the asset conditions of all nodes before the redemption operation is equal to the sum of the asset conditions of all nodes after the redemption operation based on the homomorphic encryption algorithm to determine whether the redemption operation is normal, it can prevent data leakage and improve information security and reliability.
[0118] Embodiment 5
[0119] See also Figure 5 , Figure 5 This is a schematic diagram of the structure of a money fund redemption system based on blockchain disclosed in an embodiment of the present invention. Figure 5 As shown, the blockchain-based money fund redemption system may include multiple nodes in the blockchain network, specifically, may include: a redemption system, a share registration system and a funding system, wherein:
[0120] The redemption system 501 is used to broadcast the redemption request to all nodes in the blockchain network.
[0121] In the embodiment of the present invention, the redemption request includes the identifier of the fund to be redeemed and the fund shares to be redeemed.
[0122] The share registration system 502 is used to, after receiving the redemption request broadcast by the redemption system 501, if it is found that any node in the blockchain network verifies that the redemption request is a legal request, deduct the fund shares according to the redemption request broadcast by the redemption system 501 to obtain the deduction result, and broadcast the deduction result to all nodes in the blockchain network.
[0123] The fund system 503 is used to transfer the funds corresponding to the fund shares to the redemption system 501 after receiving the deduction result obtained by the share registration system 502, if it is found that any node in the blockchain network verifies that the deduction result is correct.
[0124] In the embodiment of the present invention, the redemption system, the share registration system and the funding system are all nodes in the blockchain network, and the embodiment of the present invention is not limited thereto.
[0125] As an optional implementation, after the fund system 503 transfers the funds corresponding to the fund shares to the redemption system 501, the following steps may also be performed:
[0126] The redemption system 501 records the fund identifier of this fund, matches from the fund library according to the fund identifier and preset requirements, and recommends the matched funds to the user; wherein the preset requirements may be funds of the same type or funds with the same return and benefits, which is not limited in the embodiment of the present invention.
[0127] Furthermore, as another optional implementation, the redemption system can automatically broadcast fund subscription requests to all nodes in the blockchain network with the user's consent, and transfer the funds corresponding to the fund shares to the fund system for purchasing the funds recommended by the redemption system.
[0128] It can be seen that by implementing this optional implementation method, the redemption funds proposed by the user can be automatically used to purchase new funds, thereby improving the fund conversion efficiency.
[0129] It can be seen that the implementation Figure 5 The described blockchain-based money fund redemption system, through the consensus mechanism of the blockchain, after any node in the blockchain network determines that the redemption request and the fund share deduction result are credible, the fund system 503 can directly transfer the funds corresponding to the fund shares to the redemption system 501, without waiting for a central agency to confirm the fund shares and then transfer the funds corresponding to the fund shares to the redemption system, which can realize the rapid arrival of redemption funds when the user makes a normal redemption of the money fund.
[0130] Embodiment 6
[0131] See also Figure 5 , Figure 5 Schematic diagram of a blockchain-based money fund redemption system disclosed in an embodiment of the present invention. The blockchain-based money fund redemption system shown in the sixth embodiment is obtained by optimizing the blockchain-based money fund redemption system shown in the fifth embodiment. Figure 5 As shown, the fund system 503 is also used to transfer the funds corresponding to the fund shares to the redemption system after receiving the deduction result obtained by the share registration system 502, if it is found that the fund system 503 detects through the smart contract that the deduction result is verified as a correct result by any node in the blockchain network.
[0132] The fund system 503 is also used to determine whether the current balance of the custodian is greater than or equal to the funds corresponding to the fund shares through the smart contract after the fund system 503 detects through the smart contract that the deduction result obtained by the share registration system 502 is verified as a correct result by any node in the blockchain network.
[0133] In the embodiment of the present invention, the fund account of the fund system includes a trustee account and a funding account, which is not limited in the present invention.
[0134] The fund system 503 is used to transfer the funds corresponding to the fund shares to the redemption system 501, including:
[0135] If the current balance of the custodian is greater than or equal to the funds corresponding to the fund shares, the funds corresponding to the fund shares are transferred from the custodian to the redemption system 501;
[0136] If the current balance of the custodian is less than the funds corresponding to the fund shares, the funds corresponding to the fund shares are transferred from the advance payment account to the redemption system 501.
[0137] The funding system 503 is also used to broadcast the operation of transferring the funds corresponding to the fund shares from the advance payment account to the redemption system 501 to all nodes in the blockchain network after the funding system 503 transfers the funds corresponding to the fund shares from the advance payment account to the redemption system 501.
[0138] The fund system 503 is also used to transfer the redemption funds from the custodian to the advance payment account through the smart contract when the fund system 503 detects through the smart contract that the fund has completed the selling operation and the custodian has received the redemption funds.
[0139] In the embodiment of the present invention, the redemption funds refer to the funds received by the custodian after the fund completes the selling operation.
[0140] In an embodiment of the present invention, the advance payment account transfers the funds corresponding to the fund shares to the user account bound to the redemption system instead of the custodian account, which will also be broadcast to all nodes in the blockchain network, and when the custodian account receives the redemption money through the smart contract, the redemption money will be automatically transferred from the custodian account to the advance payment account to ensure the normal flow of funds.
[0141] It can be seen that the implementation Figure 5The described blockchain-based money fund redemption system, through the consensus mechanism of the blockchain, after the redemption request and the fund share deduction result determined by any node of the blockchain network are credible, the fund system 503 can directly transfer the funds corresponding to the fund shares to the redemption system 501, without waiting for a central institution to confirm the fund shares before transferring the funds corresponding to the fund shares to the redemption system, which can realize the rapid arrival of redemption funds when the user performs ordinary redemption of the money fund. In addition, when the deduction result is verified to be a correct result through the smart contract, the fund system 503 transfers the funds corresponding to the fund shares to the redemption system 501, which can further improve the rapid arrival of redemption funds. In addition, when the current balance of the custodian is insufficient, the fund system 503 transfers the funds corresponding to the fund shares from the advance payment account to the redemption system 501, which can further improve the real-time arrival of redemption funds.
[0142] Embodiment 7
[0143] See also Figure 5 , Figure 5 1 is a schematic diagram of the structure of another blockchain-based money fund redemption system disclosed in an embodiment of the present invention. The blockchain-based money fund redemption system shown in Example 7 is optimized by the blockchain-based money fund redemption system shown in Example 5. Figure 5 As shown,
[0144] The redemption system 501 is also used to broadcast the first asset status and the second asset status to all nodes in the blockchain network after the fund system 503 transfers the funds corresponding to the fund shares to the redemption system 501.
[0145] In the embodiment of the present invention, the first asset situation refers to the asset situation of the redemption system before the fund system transfers the funds corresponding to the fund shares to the redemption system; the second asset situation refers to the asset situation of the redemption system after the fund system transfers the funds corresponding to the fund shares to the redemption system.
[0146] In the embodiment of the present invention, the asset situation includes fund shares, fund net value and existing funds.
[0147] The share registration system 502 is also used to broadcast the third asset status and the fourth asset status to all nodes in the blockchain network after the capital system 503 transfers the funds corresponding to the fund shares to the redemption system 501.
[0148] In an embodiment of the present invention, the third asset situation refers to the asset situation of the share registration system before the fund system transfers the funds corresponding to the fund shares to the redemption system; the fourth asset situation refers to the asset situation of the share registration system after the fund system transfers the funds corresponding to the fund shares to the redemption system.
[0149] The fund system 503 is also used to broadcast the fifth asset status and the sixth asset status to all nodes in the blockchain network after the fund system 503 transfers the funds corresponding to the fund shares to the redemption system 501.
[0150] In the embodiment of the present invention, the fifth asset situation refers to the asset situation of the fund system before the fund system transfers the funds corresponding to the fund shares to the redemption system; the sixth asset situation refers to the asset situation of the fund system after the fund system transfers the funds corresponding to the fund shares to the redemption system.
[0151] The funding system 503 is also used to determine through a smart contract whether the sum of the first asset situation, the third asset situation, and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation, and the sixth asset situation.
[0152] The funding system 503 is also used to broadcast the redemption operation to all nodes in the blockchain network as normal if the funding system determines through a smart contract that the sum of the first asset situation, the third asset situation and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation and the sixth asset situation.
[0153] As an optional implementation, the redemption system 501 is used to broadcast the first asset situation and the second asset situation to all nodes in the blockchain network in the following specific manners:
[0154] According to the homomorphic encryption algorithm, the first asset situation and the second asset situation are encrypted and broadcasted to all nodes in the blockchain network.
[0155] The method in which the share registration system 502 is used to broadcast the third asset situation and the fourth asset situation to all nodes in the blockchain network is specifically as follows:
[0156] According to the homomorphic encryption algorithm, the third asset situation and the fourth asset situation are encrypted and broadcasted to all nodes in the blockchain network.
[0157] The method in which the fund system 503 broadcasts the fifth asset situation and the sixth asset situation to all nodes in the blockchain network is specifically:
[0158] According to the homomorphic encryption algorithm, the fifth asset situation and the sixth asset situation are encrypted and broadcasted to all nodes in the blockchain network.
[0159] The method in which the fund system 503 is used to determine whether the sum of the first asset situation, the third asset situation and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation and the sixth asset situation through the smart contract is specifically:
[0160] Adding the encrypted first asset situation, the encrypted third asset situation, and the encrypted fifth asset situation to obtain a first total asset situation, and decrypting the first total asset situation to obtain a decrypted first total asset situation;
[0161] Adding the encrypted second asset situation, the encrypted fourth asset situation, and the encrypted sixth asset situation to obtain a second total asset situation, and decrypting the second total asset situation to obtain a decrypted second total asset situation;
[0162] Determine through smart contracts whether the first total assets after decryption are equal to the second total assets after decryption;
[0163] The funding system 503 is used to determine through a smart contract that the sum of the first asset situation, the third asset situation, and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation, and the sixth asset situation. The funding system 503 broadcasts the normal redemption operation to all nodes in the blockchain network as follows:
[0164] If the fund system 503 determines through the smart contract that the first total asset situation after decryption is equal to the second total asset situation after decryption, the redemption operation is broadcasted to all nodes in the blockchain network normally.
[0165] As another optional implementation, if the funding system 503 determines through a smart contract that the first total asset situation after decryption is not equal to the second total asset situation after decryption, the funding system 503 can broadcast the judgment result to all nodes in the blockchain network, and the judgment result is used to inform all nodes in the blockchain network that the redemption operation is abnormal.
[0166] It can be seen that by implementing the above two implementation methods, whether the redemption operation is normal is determined by judging whether the sum of the asset conditions of all nodes before the redemption operation is equal to the sum of the asset conditions of all nodes after the redemption operation based on the homomorphic encryption algorithm. If they are equal, it indicates that the redemption operation is normal; otherwise, it indicates that the redemption operation is abnormal; it can prevent data leakage and improve information security and reliability.
[0167] As another optional implementation, any node in the blockchain (such as the redemption system 501, the share registration system 502, and the funding system 503, etc.) can pre-store pairs of public keys and secret keys. The secret keys are used to encrypt the original data from plain text to cipher text, and the public keys are used to decrypt the cipher text to plain text, thereby obtaining the original data.
[0168] Therefore, the redemption system 501 may also broadcast the first asset status and the second asset status to all nodes in the blockchain network in the following manner:
[0169] The redemption system 501 encrypts the first asset status and the second asset status using the stored key to obtain the encrypted first asset status and the encrypted second asset status;
[0170] The redemption system 501 broadcasts the encrypted first asset status and the encrypted second asset status to all nodes in the blockchain network.
[0171] The share registration system 502 may also broadcast the third asset situation and the fourth asset situation to all nodes in the blockchain network in the following manner:
[0172] The share registration system 502 encrypts the third asset status and the fourth asset status using the stored key to obtain the encrypted third asset status and the encrypted fourth asset status;
[0173] The share registration system 502 broadcasts the encrypted third asset status and the encrypted fourth asset status to all nodes in the blockchain network.
[0174] The funding system 503 may also broadcast the fifth asset status and the sixth asset status to all nodes in the blockchain network in the following manner:
[0175] The fund system 503 encrypts the fifth asset status and the sixth asset status using the stored key to obtain the encrypted fifth asset status and the encrypted sixth asset status;
[0176] The funding system 503 broadcasts the encrypted fifth asset status and the encrypted sixth asset status to all nodes in the blockchain network.
[0177] The funding system 503 may also determine through a smart contract whether the sum of the first asset situation, the third asset situation, and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation, and the sixth asset situation in the following manner:
[0178] The fund system 503 receives the first total asset situation and the second total asset situation; wherein the first total asset situation includes the sum of the encrypted first asset situation, the encrypted third asset situation and the encrypted fifth asset situation; the second total asset situation includes the sum of the encrypted second asset situation, the encrypted fourth asset situation and the encrypted sixth total asset situation;
[0179] The fund system 503 uses the stored public key to decrypt the first total asset situation and the second total asset situation;
[0180] The fund system 503 determines through a smart contract whether the first total asset situation after decryption is equal to the second total asset situation after decryption.
[0181] It can be seen that implementing this optional implementation method can prevent data information from being maliciously tampered with, thereby ensuring the integrity of the data information.
[0182] It can be seen that the implementation Figure 5 The described blockchain-based money fund redemption system, through the consensus mechanism of the blockchain, after any node in the blockchain network determines that the redemption request and the fund share deduction result are credible, the fund system 503 can directly transfer the funds corresponding to the fund shares to the redemption system 501, without waiting for a central agency to confirm the fund shares before transferring the funds corresponding to the fund shares to the redemption system, and can realize the rapid arrival of redemption funds when the user performs ordinary redemption of the money fund. In addition, by determining whether the sum of the asset conditions of all nodes before the redemption operation is equal to the sum of the asset conditions of all nodes after the redemption operation based on the homomorphic encryption algorithm to determine whether the redemption operation is normal, it can prevent data leakage and improve information security and reliability.
[0183] The present invention also provides an electronic device, the electronic device comprising:
[0184] processor;
[0185] A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by a processor, a money fund redemption method based on blockchain as shown above is implemented.
[0186] The electronic device may be Figure 1 The device 100 is shown.
[0187] In an exemplary embodiment, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a blockchain-based money fund redemption method as shown above.
[0188] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be performed without departing from its scope. The scope of the present invention is limited only by the appended claims.
Claims
1. A money fund redemption method based on blockchain, characterized in that: The method comprises: The redemption system broadcasts the redemption request to all nodes in the blockchain network. The redemption request includes the fund identifier and the fund shares to be redeemed. The redemption system broadcasts the redemption request to all nodes in the blockchain network. Any link can be made public through the broadcast. After receiving the redemption request, if the share registration system finds that any node in the blockchain network verifies that the redemption request is a legitimate request, the share registration system deducts the fund shares according to the redemption request to obtain a deduction result, and broadcasts the deduction result to all nodes in the blockchain network; After receiving the deduction result, if the fund system finds that any node in the blockchain network verifies that the deduction result is correct, the fund system transfers the funds corresponding to the fund shares to the redemption system; The redemption system, the share registration system and the funding system are all nodes in the blockchain network; After receiving the deduction result, if the fund system finds that any node in the blockchain network verifies that the deduction result is a correct result, the fund system transfers the funds corresponding to the fund shares to the redemption system, including: after receiving the deduction result, if the fund system detects through a smart contract that the deduction result is verified as a correct result by any node in the blockchain network, the fund system transfers the funds corresponding to the fund shares to the redemption system; The smart contracts allow trusted transactions to be conducted without a third party.
2. The method according to claim 1, characterized in that The fund account of the fund system includes a custodian and a funding account; after the fund system detects through a smart contract that the deduction result is verified as a correct result by any node in the blockchain network, the method further includes: The fund system determines through a smart contract whether the current balance of the custodian is greater than or equal to the funds corresponding to the fund shares; The fund system transfers the funds corresponding to the fund shares to the redemption system, including: If the current balance of the custodian is greater than or equal to the funds corresponding to the fund shares, the fund system transfers the funds corresponding to the fund shares from the custodian to the redemption system; If the current balance of the custodian account is less than the funds corresponding to the fund shares, the fund system transfers the funds corresponding to the fund shares from the advance payment account to the redemption system.
3. The method according to claim 2, characterized in that After the fund system transfers the funds corresponding to the fund shares from the advance payment account to the redemption system, the method further includes: The fund system broadcasts to all nodes in the blockchain network the operation of transferring the funds corresponding to the fund shares from the advance payment account to the redemption system; When the fund system detects through the smart contract that the fund has completed the selling operation and the custodian has received the redemption money, the fund system transfers the redemption money from the custodian to the advance payment account through the smart contract. The redemption money refers to the funds received by the custodian after the fund has completed the selling operation.
4. The method according to claim 1, characterized in that: After the fund system transfers the funds corresponding to the fund shares to the redemption system, the method further includes: The redemption system broadcasts the first asset status and the second asset status to all nodes in the blockchain network; the first asset status is the asset status of the redemption system before the capital system transfers the funds corresponding to the fund shares to the redemption system; the second asset status is the asset status of the redemption system after the capital system transfers the funds corresponding to the fund shares to the redemption system; The share registration system broadcasts the third asset status and the fourth asset status to all nodes in the blockchain network; the third asset status is the asset status of the share registration system before the fund system transfers the funds corresponding to the fund shares to the redemption system; the fourth asset status is the asset status of the share registration system after the fund system transfers the funds corresponding to the fund shares to the redemption system; The fund system broadcasts the fifth asset status and the sixth asset status to all nodes in the blockchain network; the fifth asset status is the asset status of the fund system before the fund system transfers the funds corresponding to the fund shares to the redemption system; the sixth asset status is the asset status of the fund system after the fund system transfers the funds corresponding to the fund shares to the redemption system; The asset situation includes fund shares, fund net value and existing funds; The fund system determines through the smart contract whether the sum of the first asset situation, the third asset situation and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation and the sixth asset situation; If the funding system determines through the smart contract that the sum of the first asset situation, the third asset situation and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation and the sixth asset situation, the funding system broadcasts the redemption operation to all nodes in the blockchain network as normal.
5. The method according to claim 4, characterized in that The redemption system broadcasts the first asset status and the second asset status to all nodes in the blockchain network, including: According to the homomorphic encryption algorithm, the redemption system encrypts the first asset situation and the second asset situation and broadcasts the encrypted first asset situation and the encrypted second asset situation to all nodes in the blockchain network; The share registration system broadcasts the third asset situation and the fourth asset situation to all nodes in the blockchain network, including: According to the homomorphic encryption algorithm, the share registration system broadcasts the encrypted third asset situation and the encrypted fourth asset situation to all nodes in the blockchain network; The fund system broadcasts the fifth asset status and the sixth asset status to all nodes in the blockchain network, including: According to the homomorphic encryption algorithm, the fund system encrypts the fifth asset situation and the sixth asset situation and broadcasts the encrypted fifth asset situation and the encrypted sixth asset situation to all nodes in the blockchain network; The fund system determines through the smart contract whether the sum of the first asset situation, the third asset situation and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation and the sixth asset situation, including: The fund system adds the encrypted first asset situation, the encrypted third asset situation and the encrypted fifth asset situation to obtain a first total asset situation, and decrypts the first total asset situation to obtain a decrypted first total asset situation; The fund system adds the encrypted second asset situation, the encrypted fourth asset situation and the encrypted sixth asset situation to obtain a second total asset situation, and decrypts the second total asset situation to obtain a decrypted second total asset situation; The fund system determines through the smart contract whether the first total asset situation after decryption is equal to the second total asset situation after decryption; If the fund system determines through the smart contract that the sum of the first asset situation, the third asset situation and the fifth asset situation is equal to the sum of the second asset situation, the fourth asset situation and the sixth asset situation, the fund system broadcasts to all nodes in the blockchain network that the redemption operation is normal, including: If the funding system determines through the smart contract that the decrypted first total asset situation is equal to the decrypted second total asset situation, the funding system broadcasts to all nodes in the blockchain network that the redemption operation is normal.
6. The method according to claim 5, characterized in that The method further comprises: If the fund system determines through the smart contract that the first total asset situation after decryption is not equal to the second total asset situation after decryption, the fund system broadcasts the judgment result to all nodes in the blockchain network, and the judgment result is used to inform all nodes in the blockchain network that the redemption operation is abnormal.
7. A money fund redemption system based on blockchain, characterized in that: The system comprises: The redemption system is used to broadcast a redemption request to all nodes in the blockchain network, wherein the redemption request includes the identifier of the fund to be redeemed and the fund shares to be redeemed; the redemption request is broadcast to all nodes in the blockchain network, and any link can be made public through broadcasting; A share registration system, configured to, after receiving the redemption request, if any node in the blockchain network verifies that the redemption request is a legitimate request, deduct the fund shares according to the redemption request to obtain a deduction result, and broadcast the deduction result to all nodes in the blockchain network; A fund system, configured to, after receiving the deduction result, if any node in the blockchain network verifies that the deduction result is correct, transfer the funds corresponding to the fund shares to the redemption system; The redemption system, the share registration system and the funding system are all nodes in the blockchain network; After receiving the deduction result, if the fund system finds that any node in the blockchain network verifies that the deduction result is a correct result, the fund system transfers the funds corresponding to the fund shares to the redemption system, including: after receiving the deduction result, if the fund system detects through a smart contract that the deduction result is verified as a correct result by any node in the blockchain network, the fund system transfers the funds corresponding to the fund shares to the redemption system; The smart contracts allow trusted transactions to be conducted without a third party.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium, characterized in that: It stores a computer program, which enables a computer to execute a blockchain-based money fund redemption method as described in any one of claims 1 to 6.
