CN108446976B - A kind of common reserve fund transfer method, computer readable storage medium and terminal device - Google Patents
A kind of common reserve fund transfer method, computer readable storage medium and terminal device Download PDFInfo
- Publication number
- CN108446976B CN108446976B CN201810121435.XA CN201810121435A CN108446976B CN 108446976 B CN108446976 B CN 108446976B CN 201810121435 A CN201810121435 A CN 201810121435A CN 108446976 B CN108446976 B CN 108446976B
- Authority
- CN
- China
- Prior art keywords
- node
- block
- reserve fund
- common reserve
- account
- Prior art date
Links
- 238000000034 methods Methods 0.000 claims abstract description 38
- 230000000875 corresponding Effects 0.000 claims description 17
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0naXNvLTg4NTktMSc/Pgo8c3ZnIHZlcnNpb249JzEuMScgYmFzZVByb2ZpbGU9J2Z1bGwnCiAgICAgICAgICAgICAgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJwogICAgICAgICAgICAgICAgICAgICAgeG1sbnM6cmRraXQ9J2h0dHA6Ly93d3cucmRraXQub3JnL3htbCcKICAgICAgICAgICAgICAgICAgICAgIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJwogICAgICAgICAgICAgICAgICB4bWw6c3BhY2U9J3ByZXNlcnZlJwp3aWR0aD0nMzAwcHgnIGhlaWdodD0nMzAwcHgnIHZpZXdCb3g9JzAgMCAzMDAgMzAwJz4KPCEtLSBFTkQgT0YgSEVBREVSIC0tPgo8cmVjdCBzdHlsZT0nb3BhY2l0eToxLjA7ZmlsbDojRkZGRkZGO3N0cm9rZTpub25lJyB3aWR0aD0nMzAwJyBoZWlnaHQ9JzMwMCcgeD0nMCcgeT0nMCc+IDwvcmVjdD4KPHRleHQgZG9taW5hbnQtYmFzZWxpbmU9ImNlbnRyYWwiIHRleHQtYW5jaG9yPSJzdGFydCIgeD0nMTI0LjYzNicgeT0nMTU2JyBzdHlsZT0nZm9udC1zaXplOjQwcHg7Zm9udC1zdHlsZTpub3JtYWw7Zm9udC13ZWlnaHQ6bm9ybWFsO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO2ZvbnQtZmFtaWx5OnNhbnMtc2VyaWY7ZmlsbDojM0I0MTQzJyA+PHRzcGFuPkF1PC90c3Bhbj48L3RleHQ+Cjwvc3ZnPgo= data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0naXNvLTg4NTktMSc/Pgo8c3ZnIHZlcnNpb249JzEuMScgYmFzZVByb2ZpbGU9J2Z1bGwnCiAgICAgICAgICAgICAgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJwogICAgICAgICAgICAgICAgICAgICAgeG1sbnM6cmRraXQ9J2h0dHA6Ly93d3cucmRraXQub3JnL3htbCcKICAgICAgICAgICAgICAgICAgICAgIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJwogICAgICAgICAgICAgICAgICB4bWw6c3BhY2U9J3ByZXNlcnZlJwp3aWR0aD0nODVweCcgaGVpZ2h0PSc4NXB4JyB2aWV3Qm94PScwIDAgODUgODUnPgo8IS0tIEVORCBPRiBIRUFERVIgLS0+CjxyZWN0IHN0eWxlPSdvcGFjaXR5OjEuMDtmaWxsOiNGRkZGRkY7c3Ryb2tlOm5vbmUnIHdpZHRoPSc4NScgaGVpZ2h0PSc4NScgeD0nMCcgeT0nMCc+IDwvcmVjdD4KPHRleHQgZG9taW5hbnQtYmFzZWxpbmU9ImNlbnRyYWwiIHRleHQtYW5jaG9yPSJzdGFydCIgeD0nMTcuNTAwOScgeT0nNDcuNzk1NScgc3R5bGU9J2ZvbnQtc2l6ZTozOHB4O2ZvbnQtc3R5bGU6bm9ybWFsO2ZvbnQtd2VpZ2h0Om5vcm1hbDtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtmb250LWZhbWlseTpzYW5zLXNlcmlmO2ZpbGw6IzNCNDE0MycgPjx0c3Bhbj5BdTwvdHNwYW4+PC90ZXh0Pgo8L3N2Zz4K [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 claims description 9
- 239000010931 gold Substances 0.000 claims description 9
- 229910052737 gold Inorganic materials 0.000 claims description 9
- 230000001276 controlling effects Effects 0.000 claims description 4
- 230000004044 response Effects 0.000 abstract description 3
- 238000010586 diagrams Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 281000000958 Government-owned, Corp. companies 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000008264 clouds Substances 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering processes Methods 0.000 description 1
- 239000000686 essences Substances 0.000 description 1
- 281999990011 institutions and organizations companies 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; COUNTING
- G06Q—DATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; COUNTING
- G06Q—DATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation, credit approval, mortgages, home banking or on-line banking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; COUNTING
- G06Q—DATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/02—Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; COUNTING
- G06Q—DATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; COUNTING
- G06Q—DATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q2220/00—Business processing using cryptography
Abstract
Description
Technical field
The invention belongs to block chain technical field more particularly to a kind of common reserve fund transfer methods, computer-readable storage medium Matter and terminal device.
Background technique
Common reserve fund, refer to government offices, state-owned enterprise, cities and towns collective-owned enterprise, foreign-investment enterprise, the cities and towns private enterprise and The long-term house savings that other cities and towns enterprises, public institution, non-governmental non-enterprise unit, public organization and its on-job worker pay. With the continuous social and economic development, the mobility of worker becomes increasing, another ground can be usually moved to from an area Area, at the same time, it is also desirable to common reserve fund is transferred to new area from original area, during transfer, typically by working Personnel's manual record transfer process, easily generation mistake, and lack safety guarantee.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of common reserve fund transfer method, computer readable storage medium and ends End equipment to solve by staff's manual record common reserve fund transfer process, easily generation mistake, and lacks asking for safety guarantee Topic.
The first aspect of the embodiment of the present invention provides a kind of common reserve fund transfer method, may include:
It receives the common reserve fund that the first node that execution common reserve fund produces is sent and produces request, the common reserve fund produces in request The node identification for executing the second node that common reserve fund is transferred to is carried, the first node is preset public relation education block chain In any one node, the second node be the public relation education block chain in it is any in addition to the first node One node;
Request, which is produced, according to the common reserve fund generates first object block;
The first object block is broadcasted in the public relation education block chain, so that the public relation education block chain In each node the public relation education that is locally stored updated according to the first object block record;
Common reserve fund, which is sent, to the second node is transferred to request;
Receive the feedback message that the second node is transferred to request to the common reserve fund;
If the feedback message is confirmation message, controls the first node and the second node carries out common reserve fund and turns It moves, and generates the second target block and third target block, second target block is the common reserve fund to the first node The block that the process of producing is recorded, the third target block are to be transferred to process to the common reserve fund of the second node to remember The block of record;
Second target block and the third target block are broadcasted in the public relation education block chain, so that institute The each node stated in public relation education block chain updates locally according to second target block and the third target block The public relation education record of storage.
The second aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer-readable instruction, and the computer-readable instruction realizes following steps when being executed by processor:
It receives the common reserve fund that the first node that execution common reserve fund produces is sent and produces request, the common reserve fund produces in request The node identification for executing the second node that common reserve fund is transferred to is carried, the first node is preset public relation education block chain In any one node, the second node be the public relation education block chain in it is any in addition to the first node One node;
Request, which is produced, according to the common reserve fund generates first object block;
The first object block is broadcasted in the public relation education block chain, so that the public relation education block chain In each node the public relation education that is locally stored updated according to the first object block record;
Common reserve fund, which is sent, to the second node is transferred to request;
Receive the feedback message that the second node is transferred to request to the common reserve fund;
If the feedback message is confirmation message, controls the first node and the second node carries out common reserve fund and turns It moves, and generates the second target block and third target block, second target block is the common reserve fund to the first node The block that the process of producing is recorded, the third target block are to be transferred to process to the common reserve fund of the second node to remember The block of record;
Second target block and the third target block are broadcasted in the public relation education block chain, so that institute The each node stated in public relation education block chain updates locally according to second target block and the third target block The public relation education record of storage.
The third aspect of the embodiment of the present invention provides a kind of common reserve fund transfer terminal device, including memory, processor And the computer-readable instruction that can be run in the memory and on the processor is stored, the processor executes institute Following steps are realized when stating computer-readable instruction:
It receives the common reserve fund that the first node that execution common reserve fund produces is sent and produces request, the common reserve fund produces in request The node identification for executing the second node that common reserve fund is transferred to is carried, the first node is preset public relation education block chain In any one node, the second node be the public relation education block chain in it is any in addition to the first node One node;
Request, which is produced, according to the common reserve fund generates first object block;
The first object block is broadcasted in the public relation education block chain, so that the public relation education block chain In each node the public relation education that is locally stored updated according to the first object block record;
Common reserve fund, which is sent, to the second node is transferred to request;
Receive the feedback message that the second node is transferred to request to the common reserve fund;
If the feedback message is confirmation message, controls the first node and the second node carries out common reserve fund and turns It moves, and generates the second target block and third target block, second target block is the common reserve fund to the first node The block that the process of producing is recorded, the third target block are to be transferred to process to the common reserve fund of the second node to remember The block of record;
Second target block and the third target block are broadcasted in the public relation education block chain, so that institute The each node stated in public relation education block chain updates locally according to second target block and the third target block The public relation education record of storage.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the embodiment of the present invention, which receives, executes common reserve fund The common reserve fund that the first node produced is sent produces request;Request, which is produced, according to the common reserve fund generates first object block;? The first object block is broadcasted in the public relation education block chain, so that each section in the public relation education block chain Point updates the public relation education being locally stored according to the first object block and records;Common reserve fund is sent to the second node to turn Enter request;Receive the feedback message that the second node is transferred to request to the common reserve fund;If the feedback message is that confirmation disappears Breath, then control the first node and the second node carries out common reserve fund transfer, and generates the second target block and third mesh Mark block;Second target block and the third target block are broadcasted in the public relation education block chain, so that institute The each node stated in public relation education block chain updates locally according to second target block and the third target block The public relation education record of storage.Through the invention, by request, the response, execution in entire common reserve fund transfer process Realize the processing of automation, reliability is higher, and the record of entire common reserve fund transfer process is all updated into public relation education area In each node in block chain, can not carry out it is one-side distort, substantially increase overall security.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of one embodiment flow chart of common reserve fund transfer method in the embodiment of the present invention;
Fig. 2 is the schematic diagram being added into new block in block chain;
Fig. 3 is a kind of one embodiment structure chart of common reserve fund transfer device in the embodiment of the present invention;
Fig. 4 is a kind of schematic block diagram of common reserve fund transfer terminal device in the embodiment of the present invention.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention Range.
The implementation environment of the embodiment of the present invention is preset public relation education block chain, the preset public relation education block Chain may include a public relation education center and multiple nodes, for example, if the public relation education block chain is applied to four altogether Area, respectively A area, the area B, the area C and the area D, then can regard the public relation education server in each area as one A node, respectively node 1, node 2, node 3 and node 4.Identical block chain number is being locally stored respectively in each node According to the block chain data are made of multiple blocks, and each block is stored with different information, for example, each block can be deposited Chu Yici common reserve fund shifts the information being related to, and the block on a block chain is stored sequentially in time.The common reserve fund pipe Reason center is the executing subject of the embodiment of the present invention, for managing the transfer process of common reserve fund, and in the transfer of common reserve fund Transinformation is stored into the public relation education block chain in journey.
Each node is used for the common reserve fund information based on block chain technical management this area, stores in common reserve fund transfer process Transinformation, and other nodes in implementation environment is allowed to share common reserve fund transinformation, so that each node Compliance check can be provided for common reserve fund transinformation, improve the safety of common reserve fund transinformation, for example, when primary public When product gold transfer process is completed, public relation education center can be long-pending by public affairs according to the node identification (such as network address) of each node Golden transinformation is shared on the block chain being locally stored to each node.
Each node can store all common reserve fund accounts in this area with memory node credit in the node credit The account information at family, such as account status, account balance etc., the process that account table can be shifted according to common reserve fund is corresponding to be updated, It is thus achieved that dynamically being updated in common reserve fund transfer process.
Referring to Fig. 1, a kind of one embodiment of common reserve fund transfer method may include: in the embodiment of the present invention
Step S101, it receives the common reserve fund that the first node that execution common reserve fund produces is sent and produces request.
The common reserve fund, which produces to carry in request, executes the node identification of second node that common reserve fund is transferred to, and described first Node is any one node in preset public relation education block chain, and the second node is the public relation education block Any one node in chain in addition to the first node.
Generally, when user needs for common reserve fund to be transferred to other areas, need to arrive first the current position where common reserve fund The relevant departments in area file an application, alternatively, being taken by its terminal device to the node (namely described first node) of current locale Business device is filed a request, and first node sends common reserve fund to public relation education center and produce request after verifying request.
It should be noted that in order to facilitate subsequent evidence obtaining common reserve fund transinformation, preventing malicious user denial or network from attacking It hits and distorts common reserve fund transinformation, the message interacted in common reserve fund transfer process can also be carried to be offseted by message sending node Cease the signing messages signed.Sending node used private key in signature is provided by public relation education center, Each node corresponds to unique a pair of secret keys, this to the public key in key by public relation education central store, thus for public affairs product Golden administrative center verifies the node.
Step S102, request is produced according to the common reserve fund and generates first object block;
Specifically, the last-of-chain block for the public relation education block chain being locally stored is obtained, the last-of-chain block is newest adds Be added the block in the public relation education block chain, each block of the public relation education block chain include block head and Block main body;Characteristic operation is carried out to the block head of the last-of-chain block, obtains the First Eigenvalue;The common reserve fund is produced and is asked Carry out characteristic operation is sought, Second Eigenvalue is obtained;Described first is generated according to the First Eigenvalue and the Second Eigenvalue The block head of target block, and the block main body that request generates the first object block is produced according to the common reserve fund, thus Generate the first object block.
As shown in Fig. 2, the public relation education block being locally stored in the public relation education center and each node Chain is linked in sequence by block one by one and is formed, and common reserve fund transinformation is recorded in each block, when producing New common reserve fund transinformation is then needed to generate a new block for it, be opened up first in local server for new block Corresponding memory space out, each occupied space of block are divided into two parts, and a part is block head, store in block head Content is fixed (including block head characteristic value, block body feature value, version number, difficulty value and timestamp etc.), then it is accounted for According to space be also it is fixed, another part is block main body, and the content stored in block main body is the common reserve fund that need to be recorded Transinformation, length are variable.Therefore the length for the common reserve fund transinformation that need to be recorded is obtained first, then plus fixation Block head length, then can determine that the memory space occupied needed for new block.In the server, storage sky is hewed out for it Between store the new block, it should be noted that the storage location of new block is not necessarily to close to a upper block, but any one piece not The memory space used, after opening new space, with being directed toward the memory space of new block by the pointer of a upper block Location.
Public relation education center can obtain the block head of previous block from the public relation education block chain being locally stored In all information, characteristic operation (such as Hash operation) is carried out to it, obtains the block head characteristic value of new block, i.e., described first Characteristic value, and request is produced to the common reserve fund in the block main body that will be stored in new block and carries out characteristic value calculating, obtain new district The block body feature value of block, i.e., the described Second Eigenvalue, in turn, by the area of the block head characteristic value of previous block, new block Block main body characteristic value (can also include version number, difficulty value and timestamp) is stored to the block head of new block;Common reserve fund is turned The event information and corresponding surplus account information requested out are stored to the block main body of new block, so that new block is generated, So that new block is related by the block head characteristic value of previous block to previous block, it is thus achieved that by the block in block chain The purpose being together in series, so that information any in block is distorted, it can be upper by being stored in the block head of block The retrospect of the block head characteristic value of one block and detect so that ensure that the safety of information.
Step S103, the first object block is broadcasted in the public relation education block chain, so that the common reserve fund Each node in management block chain updates the public relation education being locally stored according to the first object block and records.
The first object block is added by each node in the public relation education block chain to be respectively locally stored Public relation education record, namely in local public relation education block chain, to ensure that the public relation education block chain In the information of each node be all consistent.
Step S104, Xiang Suoshu second node sends common reserve fund and is transferred to request.
Step S105, the feedback message that the second node is transferred to request to the common reserve fund is received.
The second node needs to check the content that common reserve fund is transferred in request message, if meeting item needed for common reserve fund shifts Part then sends common reserve fund to public relation education center and is transferred to confirmation message, if condition needed for common reserve fund shifts is not met, to public affairs Ji Jin administrative center sends common reserve fund and is transferred to refuse information.
Specifically, the second node is transferred to the identity information that applicant is read in request message from common reserve fund first, with And the personal public accumalation fund for housing construction account that applicant being transferred to sets up, it is public that individual's house is then searched in local database Product gold account illustrates that applicant does not set up personal house being transferred to if searching less than individual's public accumalation fund for housing construction account Surplus account does not meet common reserve fund jump condition;If finding the account, further by the identity information of applicant with Identity information in the account is compared, if comparison result is consistent, illustrates that applicant being transferred to sets up personal house Surplus account meets common reserve fund jump condition, if comparison result is inconsistent, the information for illustrating that applicant provides is wrong, no Meet common reserve fund jump condition.
Common reserve fund is transferred to confirmation message and common reserve fund is transferred to refuse information and can carry the signing messages of the second node, The signing messages can be stored when this common reserve fund shifts successfully by public relation education center to block chain, to take for subsequent It is verified when demonstrate,proving Transaction Information.
Step S106, judge whether the feedback message is confirmation message.
If the feedback message is confirmation message, S107 and step S108 are thened follow the steps, if the feedback message is to refuse Exhausted message thens follow the steps S109 and step S110.
Step S107, it controls the first node and the second node carries out common reserve fund transfer, and generate the second target Block and third target block.
Second target block is to produce the block that process is recorded to the common reserve fund of the first node, described the Three target blocks are to be transferred to the block that process is recorded to the common reserve fund of the second node.Wherein, second target area The specific generating process of block and the third target block is similar with the block generating process in step S102, specifically can refer to step Explanation in rapid S102, details are not described herein.
Step S108, second target block and the third target area are broadcasted in the public relation education block chain Block, so that each node in the public relation education block chain is according to second target block and the third target block Update the public relation education record being locally stored.
Step S109, Xiang Suoshu first node forwards the refuse information, and generates the 4th mesh according to the refuse information Mark block.
Wherein, the specific generating process of the 4th target block is similar with the block generating process in step S102, tool Body can refer to the explanation in step S102, and details are not described herein.
Step S110, the 4th target block is broadcasted in the public relation education block chain, so that the common reserve fund Each node in management block chain updates the public relation education being locally stored according to the 4th target block and records.
Further, after controlling the first node and second node progress common reserve fund transfer, the public product Golden administrative center can also be updated the central account table that it is locally stored, and the central account table includes multiple account Table, the corresponding node of each sublist, for storing the account information of the node.
Specifically, the common reserve fund is obtained first and produces the target account in requesting, then in preset central account table It is middle to search the first account sublist corresponding with the first node, and the target account is deleted from the first account sublist It removes, finally searches corresponding with the second node the second account sublist in the central account table, and by the target account Family is added into the second account sublist.
Further, after controlling the first node and second node progress common reserve fund transfer, the public product Golden administrative center can also be updated the node credit being locally stored in node involved in the common reserve fund transfer process, The node credit is used to store the account information of this node.
Specifically, it obtains the common reserve fund and produces the target account in requesting, then send first to the first node Account more new command, so that the node credit that the target account is locally stored the first node from the first node Middle deletion, finally, the second account more new command is sent to the second node, so that the second node is by the target account It is added into the node credit that the second node is locally stored.
In conclusion the common reserve fund that the embodiment of the present invention receives the first node transmission that execution common reserve fund produces is produced and is asked It asks;Request, which is produced, according to the common reserve fund generates first object block;Described is broadcasted in the public relation education block chain One target block, so that each node in the public relation education block chain updates local deposit according to the first object block The public relation education of storage records;Common reserve fund, which is sent, to the second node is transferred to request;The second node is received to the public affairs Product gold is transferred to the feedback message of request;If the feedback message is confirmation message, the first node and described second are controlled Node carries out common reserve fund transfer, and generates the second target block and third target block;In the public relation education block chain Second target block and the third target block are broadcasted, so that each node root in the public relation education block chain The public relation education record being locally stored is updated according to second target block and the third target block.By this hair It is bright, request, response, the execution in entire common reserve fund transfer process are realized to the processing of automation, reliability is higher, and whole The record of a common reserve fund transfer process all updates in each node in public relation education block chain, can not carry out one-side It distorts, substantially increases overall security.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Show provided in an embodiment of the present invention corresponding to a kind of common reserve fund transfer method, Fig. 3 described in foregoing embodiments A kind of one embodiment structure chart of common reserve fund transfer device.
In the present embodiment, a kind of common reserve fund transfer device may include:
Common reserve fund produces request receiving module 301, for receiving the public affairs product for executing the first node that common reserve fund produces and sending Gold produces request, and the common reserve fund produces the node identification for carrying in request and executing the second node that common reserve fund is transferred to, described First node is any one node in preset public relation education block chain, and the second node is the public relation education Any one node in block chain in addition to the first node;
First object block generation module 302 generates first object block for producing request according to the common reserve fund;
First object block broadcast module 303, for broadcasting the first object in the public relation education block chain Block, so that each node in the public relation education block chain updates the public affairs being locally stored according to the first object block Product gold management record;
Common reserve fund is transferred to request sending module 304, is transferred to request for sending common reserve fund to the second node;
Feedback message receiving module 305 disappears for receiving the feedback that the second node is transferred to request to the common reserve fund Breath;
Common reserve fund shifts control module 306, if being confirmation message for the feedback message, controls the first node Common reserve fund transfer is carried out with the second node, and generates the second target block and third target block, second target area Block is that the block that process is recorded is produced to the common reserve fund of the first node, and the third target block is to described second The common reserve fund of node is transferred to the block that process is recorded;
Second target block broadcast module 307, for broadcasting second target in the public relation education block chain Block and the third target block, so that each node in the public relation education block chain is according to second target area Block and the third target block update the public relation education record being locally stored.
Further, the first object block generation module may include:
Last-of-chain block acquiring unit, for obtaining the last-of-chain block for the public relation education block chain being locally stored, the chain Tail region block is the newest block being added into the public relation education block chain, each block of the public relation education block chain It include block head and block main body;
Fisrt feature arithmetic element carries out characteristic operation for the block head to the last-of-chain block, obtains fisrt feature Value;
Second feature arithmetic element carries out characteristic operation for producing request to the common reserve fund, obtains Second Eigenvalue;
Block generation unit, for generating the first object area according to the First Eigenvalue and the Second Eigenvalue The block head of block, and the block main body that request generates the first object block is produced according to the common reserve fund.
Further, the common reserve fund transfer device can also include:
Target account obtains module, produces the target account in requesting for obtaining the common reserve fund;
First account sublist operation module, it is corresponding with the first node for being searched in preset central account table First account sublist, and the target account is deleted from the first account sublist;
Second account sublist operation module, for searching corresponding with the second node the in the central account table Two account sublists, and the target account is added into the second account sublist.
Further, the common reserve fund transfer device can also include:
First account updates instruction sending module, for sending the first account more new command to the first node, so that The first node deletes the target account from the node credit that the first node is locally stored;
Second account updates instruction sending module, for sending the second account more new command to the second node, so that The target account is added into the node credit that the second node is locally stored by the second node.
Further, the common reserve fund transfer device can also include:
4th target block generation module turns if being refuse information for the feedback message to the first node It sends out refuse information described, and the 4th target block is generated according to the refuse information;
4th target block broadcast module, for broadcasting the 4th target area in the public relation education block chain Block, so that described in each node in the public relation education block chain is locally stored according to the 4th target block update Public relation education record.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description, The specific work process of module and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Fig. 4 shows a kind of schematic block diagram of common reserve fund transfer terminal device provided in an embodiment of the present invention, for the ease of Illustrate, only parts related to embodiments of the present invention are shown.
In the present embodiment, the common reserve fund transfer terminal device 4 is the public relation education center, can be table Laptop computer, notebook, palm PC, local server and cloud server etc. calculate equipment.The common reserve fund shifts terminal Equipment 4 can include: processor 40, memory 41 and be stored in the memory 41 and can be run on the processor 40 Computer-readable instruction 42, such as execute the computer-readable instruction of above-mentioned common reserve fund transfer method.The processor 40 The step in above-mentioned each common reserve fund transfer method embodiment, such as Fig. 1 institute are realized when executing the computer-readable instruction 42 The step S101 to S110 shown.Alternatively, the processor 40 realizes above-mentioned each device when executing the computer-readable instruction 42 The function of each module/unit in embodiment, such as the function of module 301 to 307 shown in Fig. 3.
Illustratively, the computer-readable instruction 42 can be divided into one or more module/units, one Or multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the present invention.Institute Stating one or more module/units can be the series of computation machine readable instruction section that can complete specific function, the instruction segment For describing implementation procedure of the computer-readable instruction 42 in common reserve fund transfer terminal device 4.
The processor 40 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 41 can be the internal storage unit of the common reserve fund transfer terminal device 4, such as common reserve fund turns Move the hard disk or memory of terminal device 4.The memory 41 is also possible to the external storage of the common reserve fund transfer terminal device 4 The plug-in type hard disk being equipped in equipment, such as common reserve fund transfer terminal device 4, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, described to deposit Reservoir 41 can also both include that the common reserve fund shifts the internal storage unit of terminal device 4 or including External memory equipment.Institute Memory 41 is stated for other instructions needed for storing the computer-readable instruction and common reserve fund transfer terminal device 4 And data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
The functional units in various embodiments of the present invention may be integrated into one processing unit, is also possible to each Unit physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit both may be used To use formal implementation of hardware, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words Embody, which is stored in a storage medium, including several computer-readable instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the present invention State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with Store the medium of computer-readable instruction.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810121435.XA CN108446976B (en) | 2018-02-07 | 2018-02-07 | A kind of common reserve fund transfer method, computer readable storage medium and terminal device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810121435.XA CN108446976B (en) | 2018-02-07 | 2018-02-07 | A kind of common reserve fund transfer method, computer readable storage medium and terminal device |
PCT/CN2018/083293 WO2019153506A1 (en) | 2018-02-07 | 2018-04-17 | Provident fund transferring method, computer readable storage medium, terminal device and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108446976A CN108446976A (en) | 2018-08-24 |
CN108446976B true CN108446976B (en) | 2019-05-24 |
Family
ID=63192020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810121435.XA CN108446976B (en) | 2018-02-07 | 2018-02-07 | A kind of common reserve fund transfer method, computer readable storage medium and terminal device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108446976B (en) |
WO (1) | WO2019153506A1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357405A (en) * | 2016-09-19 | 2017-01-25 | 弗洛格(武汉)信息科技有限公司 | Method and system for managing data on basis of block chain technology consistency algorithms |
CN107464106A (en) * | 2017-07-25 | 2017-12-12 | 北京果仁宝科技有限公司 | The method and system merchandised between block chain main chain and side chain |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170061398A1 (en) * | 2014-06-19 | 2017-03-02 | Jim Austin Joseph | Cryptographic currency block chain based voting system |
CN104580253B (en) * | 2015-01-30 | 2017-08-08 | 网易(杭州)网络有限公司 | A kind of method and device of processes user data |
US10454765B2 (en) * | 2016-07-15 | 2019-10-22 | Mastercard International Incorporated | Method and system for node discovery and self-healing of blockchain networks |
CN107220820B (en) * | 2017-05-16 | 2019-10-01 | 腾讯科技(深圳)有限公司 | Resource transfers method, apparatus and storage medium |
-
2018
- 2018-02-07 CN CN201810121435.XA patent/CN108446976B/en active IP Right Grant
- 2018-04-17 WO PCT/CN2018/083293 patent/WO2019153506A1/en unknown
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357405A (en) * | 2016-09-19 | 2017-01-25 | 弗洛格(武汉)信息科技有限公司 | Method and system for managing data on basis of block chain technology consistency algorithms |
CN107464106A (en) * | 2017-07-25 | 2017-12-12 | 北京果仁宝科技有限公司 | The method and system merchandised between block chain main chain and side chain |
Also Published As
Publication number | Publication date |
---|---|
WO2019153506A1 (en) | 2019-08-15 |
CN108446976A (en) | 2018-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Li et al. | Crowdbc: A blockchain-based decentralized framework for crowdsourcing | |
Mingxiao et al. | A review on consensus algorithm of blockchain | |
CN108389129B (en) | Transaction execution method and device based on block chain and electronic equipment | |
US20200302089A1 (en) | Consent receipt management systems and related methods | |
Yu et al. | Blockchain-based solutions to security and privacy issues in the Internet of Things | |
US20190014123A1 (en) | Network-based real-time distributed data compliance broker | |
Li et al. | Toward open manufacturing | |
Sikorski et al. | Blockchain technology in the chemical industry: Machine-to-machine electricity market | |
US10491633B2 (en) | Access requests at IAM system implementing IAM data model | |
Sharma et al. | Blockchain based hybrid network architecture for the smart city | |
KR20180114939A (en) | Systems and methods for controlling asset-related activities through block chaining | |
US10438020B2 (en) | Data processing systems for generating and populating a data inventory for processing data access requests | |
US10204154B2 (en) | Data processing systems for generating and populating a data inventory | |
US20190123889A1 (en) | Document flow tracking using blockchain | |
US10438016B2 (en) | Data processing systems for generating and populating a data inventory | |
US10430740B2 (en) | Data processing systems for calculating and communicating cost of fulfilling data subject access requests and related methods | |
US10791150B2 (en) | Data processing and scanning systems for generating and populating a data inventory | |
JP2020184774A (en) | Methods and systems for the protection and verification of identities and certificates via the blockchain | |
KR101987692B1 (en) | Registry and Automation Management Methods for Smart Contracts in Blockchain Enforcement | |
US10445525B2 (en) | Data privacy management system and method | |
US20190081793A1 (en) | Parallel-chain architecture for blockchain systems | |
Angrish et al. | A case study for Blockchain in manufacturing:“FabRec”: A prototype for peer-to-peer network of manufacturing nodes | |
CN103118053B (en) | The method and system of Information Security is built in network computing environment | |
US10146792B1 (en) | Systems and methods for implementing a programming model for smart contracts within a decentralized computer network | |
US20200201888A1 (en) | Data processing systems for generating and populating a data inventory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |