CN108446976A - 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
- CN108446976A CN108446976A CN201810121435.XA CN201810121435A CN108446976A CN 108446976 A CN108446976 A CN 108446976A CN 201810121435 A CN201810121435 A CN 201810121435A CN 108446976 A CN108446976 A CN 108446976A
- Authority
- CN
- China
- Prior art keywords
- node
- block
- reserve fund
- common reserve
- account
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- 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 OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
- H04L9/3239—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3297—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q2220/00—Business processing using cryptography
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention belongs to a kind of block chain technical field more particularly to common reserve fund transfer method, computer readable storage medium and terminal devices.The method receives the common reserve fund that the first node that execution common reserve fund produces is sent and produces request;It is produced according to the common reserve fund and requests to generate first object block;The first object block is broadcasted in the public relation education block chain;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 the common reserve fund request;If the feedback message is confirmation message, 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 and the third target block are broadcasted in the public relation education block chain.Through the invention, request, response, the execution in entire common reserve fund transfer process are realized to the processing of automation, reliability higher, and substantially increase overall security.
Description
Technical field
The invention belongs to block chain technical field more particularly to a kind of common reserve fund transfer method, computer-readable storage mediums
Matter and terminal device.
Background technology
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 generates mistake, and lacks safety guarantee.
Invention content
In view of this, an embodiment of the present 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 to generate mistake, and lack 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 arbitrary in addition to the first node
One node;
It is produced according to the common reserve fund and requests to generate 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 recorded according to the public relation education that is locally stored of first object block update;
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 the common reserve fund request;
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, the computer-readable instruction to realize 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 arbitrary in addition to the first node
One node;
It is produced according to the common reserve fund and requests to generate 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 recorded according to the public relation education that is locally stored of first object block update;
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 the common reserve fund request;
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 it is stored in the computer-readable instruction that can be run in the memory and on the processor, 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 arbitrary in addition to the first node
One node;
It is produced according to the common reserve fund and requests to generate 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 recorded according to the public relation education that is locally stored of first object block update;
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 the common reserve fund request;
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 advantageous 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;It is produced according to the common reserve fund and requests to generate 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 is recorded according to the public relation education that first object block update is locally stored;Common reserve fund is sent to the second node to turn
Enter request;Receive the feedback message that the second node is transferred to the common reserve fund request;If the feedback message is to confirm to disappear
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, response, the execution in entire common reserve fund transfer process
Realize the processing of automation, reliability 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.
Description of the drawings
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 be only the present invention some
Embodiment for those of ordinary skill in the art without having to pay 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 implementation mode
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
All other embodiment that those of ordinary skill is 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, if for example, the public relation education block chain is applied to four altogether
Area, respectively A area, the areas B, the areas C and the areas D, then can be using 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
Common reserve fund of storage 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 executive agent of the embodiment of the present invention, the transfer process for managing 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 allow 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 correspond to update,
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.
Usually, it when user needs common reserve fund being transferred to other areas, needs to arrive first the current position where common reserve fund
The relevant departments in area file an application, alternatively, being taken to the node (namely described first node) of current locale by its terminal device
Business device is filed a request, and first node sends common reserve fund after verifying request, to public relation education center and produces request.
It should be noted that in order to facilitate follow-up 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, to for public affairs product
Golden administrative center verifies the node.
Step S102, it is produced according to the common reserve fund and requests to generate 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 for requesting to generate the first object block is produced according to the common reserve fund, to
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, which is linked in sequence by block one by one, to be 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 for new block in local server
Go out corresponding memory space, each occupied space of block is divided into two parts, and a part is block head, is stored 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 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, is then added and is fixed
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, the pointer of a upper block is directed toward to the memory space of new 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 that will be stored in the block main body of 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
Go out request event information and corresponding surplus account information storage to new block block main body, to generate new block,
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 any information 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 is recorded according to the public relation education that first object block update is locally stored.
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, it sends common reserve fund to the second node and is transferred to request.
Step S105, the feedback message that the second node is transferred to the common reserve fund request 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 transfer
Part then sends common reserve fund to public relation education center and is transferred to confirmation message, if condition needed for common reserve fund transfer is not met, to public affairs
Ji Jin administrative centers send common reserve fund and are 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, illustrates that the information 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 to block chain by public relation education center, for subsequently taking
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, the refuse information is forwarded to the first node, and the 4th mesh is generated 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 is recorded according to the public relation education that the 4th target block update is locally stored.
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, each sublist correspond to a node, the account information for storing the node.
Specifically, obtain first the common reserve fund produce request in target account, 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 the node involved in the common reserve fund transfer process,
The node credit is used to store the account information of this node.
Specifically, obtain the common reserve fund produce request in target account, then to the first node send first
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 sends the second account more new command 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 first node that reception execution common reserve fund of the embodiment of the present invention produces is sent is produced and is asked
It asks;It is produced according to the common reserve fund and requests to generate 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 is deposited according to first object block update is local
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 according to second target block and third target block update.By this hair
It is bright, by entire common reserve fund transfer process request, response, execute and realize the processing of automation, reliability 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.
Corresponding to a kind of common reserve fund transfer method described in foregoing embodiments, Fig. 3 shows provided in an embodiment of the present invention
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 being carried 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 requests to generate first object block for being produced 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, and request is transferred to for sending common reserve fund to the second node;
Feedback message receiving module 305, the feedback for being transferred to request to the common reserve fund for receiving the second node disappear
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 to produce the block that process is recorded 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
The public relation education record that block and third target block update are locally stored.
Further, the first object block generation module may include:
Last-of-chain block acquiring unit, the last-of-chain block for obtaining 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
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 for requesting to generate the first object block is produced according to the common reserve fund.
Further, the common reserve fund transfer device can also include:
Target account acquisition module, for obtain the common reserve fund produce request in target account;
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 records.
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, illustrates only and the relevant part of the embodiment of the present invention.
In the present embodiment, the common reserve fund transfer terminal device 4 is the public relation education center, can be table
The computing devices such as laptop computer, notebook, palm PC, local server and cloud server.The common reserve fund shifts terminal
Equipment 4 may include:It processor 40, memory 41 and is 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 institutes 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, for example, module 301 to 307 shown in Fig. 3 function.
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 executed by the processor 40, to complete the present invention.Institute
It can be the series of computation machine readable instruction section that can complete specific function, the instruction segment to state one or more module/units
For describing implementation procedure of the computer-readable instruction 42 in the common reserve fund shifts 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), application-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 can also be 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 turn
Move the hard disk or memory of terminal device 4.The memory 41 can also be 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 storing other instructions needed for 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.
Each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also be each
Unit physically exists alone, can also be during two or more units are integrated in one unit.Above-mentioned integrated unit both may be used
It realizes, can also be realized in the form of SFU software functional unit in the form of using hardware.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme 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 step 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 disc or CD 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 with reference to aforementioned reality
Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each
Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed
Or it replaces, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of common reserve fund transfer method, which is characterized in that including:
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 to be carried in request
It is in preset public relation education block chain to have the node identification for executing the second node that common reserve fund is transferred to, the first node
Any one node, the second node are any one in addition to the first node in the public relation education block chain
Node;
It is produced according to the common reserve fund and requests to generate first object block;
The first object block is broadcasted in the public relation education block chain, so that in the public relation education block chain
Each node is recorded according to the public relation education that first object block update is locally stored;
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 the common reserve fund request;
If the feedback message is confirmation message, controls the first node and the second node carries out common reserve fund transfer,
And the second target block and third target block are generated, second target block is to be produced to the common reserve fund of the first node
The block that process is recorded, the third target block are to be transferred to what process was recorded to the common reserve fund of the second node
Block;
Second target block and the third target block are broadcasted in the public relation education block chain, so that the public affairs
Each node in product gold management block chain is locally stored according to second target block and third target block update
The public relation education record.
2. common reserve fund transfer method according to claim 1, which is characterized in that described to produce request according to the common reserve fund
Generating first object block includes:
The last-of-chain block for the public relation education block chain being locally stored is obtained, the last-of-chain block is added into the public product to be newest
Each block of block in gold management block chain, the public relation education block chain includes 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;
Request is produced to the common reserve fund and carries out characteristic operation, obtains Second Eigenvalue;
The block head of the first object block is generated according to the First Eigenvalue and the Second Eigenvalue, and according to described
Common reserve fund produces the block main body for requesting to generate the first object block.
3. common reserve fund transfer method according to claim 1, which is characterized in that controlling the first node and described the
After two nodes carry out common reserve fund transfer, further include:
Obtain the common reserve fund produce request in target account;
Search corresponding with the first node the first account sublist in preset central account table, and by the target account
It is deleted from the first account sublist;
The second account sublist corresponding with the second node is searched in the central account table, and the target account is added
It is added in the second account sublist.
4. common reserve fund transfer method according to claim 1, which is characterized in that controlling the first node and described the
After two nodes carry out common reserve fund transfer, further include:
Obtain the common reserve fund produce request in target account;
Send the first account more new command to the first node so that the first node by the target account from described the
It is deleted in the node credit that one node is locally stored;
The second account more new command is sent to the second node, so that the target account is added into institute by the second node
It states in the node credit that second node is locally stored.
5. common reserve fund transfer method according to any one of claim 1 to 4, which is characterized in that further include:
If the feedback message is refuse information, the refuse information is forwarded to the first node, and according to the refusal
Message generates the 4th target block;
The 4th target block is broadcasted in the public relation education block chain, so that in the public relation education block chain
Each node is recorded according to the public relation education that the 4th target block update is locally stored.
6. a kind of computer readable storage medium, the computer-readable recording medium storage has computer-readable instruction, special
Sign is, the common reserve fund as described in any one of claim 1 to 5 is realized when the computer-readable instruction is executed by processor
The step of transfer method.
7. a kind of common reserve fund shifts terminal device, including memory, processor and it is stored in the memory and can be in institute
State the computer-readable instruction run on processor, which is characterized in that when the processor executes the computer-readable instruction
Realize following steps:
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 to be carried in request
It is in preset public relation education block chain to have the node identification for executing the second node that common reserve fund is transferred to, the first node
Any one node, the second node are any one in addition to the first node in the public relation education block chain
Node;
It is produced according to the common reserve fund and requests to generate first object block;
The first object block is broadcasted in the public relation education block chain, so that in the public relation education block chain
Each node is recorded according to the public relation education that first object block update is locally stored;
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 the common reserve fund request;
If the feedback message is confirmation message, controls the first node and the second node carries out common reserve fund transfer,
And the second target block and third target block are generated, second target block is to be produced to the common reserve fund of the first node
The block that process is recorded, the third target block are to be transferred to what process was recorded to the common reserve fund of the second node
Block;
Second target block and the third target block are broadcasted in the public relation education block chain, so that the public affairs
Each node in product gold management block chain is locally stored according to second target block and third target block update
The public relation education record.
8. common reserve fund according to claim 7 shifts terminal device, which is characterized in that described to be produced according to the common reserve fund
Requesting to generate first object block includes:
The last-of-chain block for the public relation education block chain being locally stored is obtained, the last-of-chain block is added into the public product to be newest
Each block of block in gold management block chain, the public relation education block chain includes 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;
Request is produced to the common reserve fund and carries out characteristic operation, obtains Second Eigenvalue;
The block head of the first object block is generated according to the First Eigenvalue and the Second Eigenvalue, and according to described
Common reserve fund produces the block main body for requesting to generate the first object block.
9. common reserve fund according to claim 7 shifts terminal device, which is characterized in that controlling the first node and institute
After stating second node progress common reserve fund transfer, further include:
Obtain the common reserve fund produce request in target account;
Search corresponding with the first node the first account sublist in preset central account table, and by the target account
It is deleted from the first account sublist;
The second account sublist corresponding with the second node is searched in the central account table, and the target account is added
It is added in the second account sublist.
10. common reserve fund according to claim 7 shifts terminal device, which is characterized in that control the first node and
After the second node carries out common reserve fund transfer, further include:
Obtain the common reserve fund produce request in target account;
Send the first account more new command to the first node so that the first node by the target account from described the
It is deleted in the node credit that one node is locally stored;
The second account more new command is sent to the second node, so that the target account is added into institute by the second node
It states in the node credit that second node is locally stored.
Priority Applications (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 |
Applications Claiming Priority (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 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108446976A true CN108446976A (en) | 2018-08-24 |
CN108446976B CN108446976B (en) | 2019-05-24 |
Family
ID=63192020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810121435.XA Active 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) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110889771A (en) * | 2019-10-30 | 2020-03-17 | 泰康保险集团股份有限公司 | Account processing method and device, electronic equipment and computer readable medium |
CN111179098A (en) * | 2019-11-28 | 2020-05-19 | 泰康保险集团股份有限公司 | Method, system, equipment and medium for processing service transfer-out report |
CN111402069A (en) * | 2020-02-27 | 2020-07-10 | 数字广东网络建设有限公司 | Accumulation fund data acquisition method and device, computer equipment and storage medium |
CN111833014A (en) * | 2020-06-29 | 2020-10-27 | 中国建设银行股份有限公司 | Public accumulation fund transfer processing method and device based on block chain |
CN112435027A (en) * | 2020-11-30 | 2021-03-02 | 中国建设银行股份有限公司 | Method and device for transferring service data |
CN113781028A (en) * | 2021-08-18 | 2021-12-10 | 中国银行股份有限公司 | Block chain-based accumulation fund extraction method and device |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110928677B (en) * | 2019-09-30 | 2022-09-06 | 咪咕文化科技有限公司 | Virtual resource calculation method and device based on block chain, electronic equipment and storage medium |
CN110955523B (en) * | 2019-11-22 | 2022-03-08 | 中国银联股份有限公司 | Service processing method and device |
Citations (3)
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 |
US20170061398A1 (en) * | 2014-06-19 | 2017-03-02 | Jim Austin Joseph | Cryptographic currency block chain based voting system |
CN107464106A (en) * | 2017-07-25 | 2017-12-12 | 北京果仁宝科技有限公司 | The method and system merchandised between block chain main chain and side chain |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 Active
- 2018-04-17 WO PCT/CN2018/083293 patent/WO2019153506A1/en active Application Filing
Patent Citations (3)
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 |
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 |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110889771A (en) * | 2019-10-30 | 2020-03-17 | 泰康保险集团股份有限公司 | Account processing method and device, electronic equipment and computer readable medium |
CN111179098A (en) * | 2019-11-28 | 2020-05-19 | 泰康保险集团股份有限公司 | Method, system, equipment and medium for processing service transfer-out report |
CN111402069A (en) * | 2020-02-27 | 2020-07-10 | 数字广东网络建设有限公司 | Accumulation fund data acquisition method and device, computer equipment and storage medium |
CN111402069B (en) * | 2020-02-27 | 2023-04-07 | 数字广东网络建设有限公司 | Accumulation fund data acquisition method and device, computer equipment and storage medium |
CN111833014A (en) * | 2020-06-29 | 2020-10-27 | 中国建设银行股份有限公司 | Public accumulation fund transfer processing method and device based on block chain |
CN112435027A (en) * | 2020-11-30 | 2021-03-02 | 中国建设银行股份有限公司 | Method and device for transferring service data |
CN113781028A (en) * | 2021-08-18 | 2021-12-10 | 中国银行股份有限公司 | Block chain-based accumulation fund extraction method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108446976B (en) | 2019-05-24 |
WO2019153506A1 (en) | 2019-08-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108446976B (en) | A kind of common reserve fund transfer method, computer readable storage medium and terminal device | |
US11036771B2 (en) | Data processing systems for generating and populating a data inventory | |
US10437860B2 (en) | Data processing systems for generating and populating a data inventory | |
US10949565B2 (en) | Data processing systems for generating and populating a data inventory | |
US10997318B2 (en) | Data processing systems for generating and populating a data inventory for processing data access requests | |
US10438016B2 (en) | Data processing systems for generating and populating a data inventory | |
EP3639465B1 (en) | Improved hardware security module management | |
EP3639466B1 (en) | Expendable cryptographic key access | |
CN103959264B (en) | Used in storage cloud, deduplication is managing immutable redundant file | |
CN109785136A (en) | A kind of transaction processing method of block chain, client and block chain network | |
CN110442652A (en) | A kind of across chain data processing method and device based on block chain | |
CN109863521A (en) | Data isolation in block chain network | |
CN108520307A (en) | Data processing method and relevant apparatus | |
US20200082349A1 (en) | Blockchain Timeclock System | |
CN110032598A (en) | Method for updating field and device, electronic equipment | |
US20210157821A1 (en) | Blockchain-based data processing methods and apparatuses and computer devices | |
CN109906597A (en) | To with data set that restricted data set and untethered system are stored and fetched from cloud network | |
CN107832448A (en) | Database operation method, device and equipment | |
CN104699790B (en) | A kind of bank data relation establishing method and device | |
Lu et al. | Why model-driven engineering fits the needs for blockchain application development | |
US20230421567A1 (en) | Systems for Securely Tracking Incident Data and Automatically Generating Data Incident Reports Using Collaboration Rooms with Dynamic Tenancy | |
WO2021041880A1 (en) | Document, drive and process management for contract of things and document of things | |
WO2004072865A1 (en) | Managing different representations of information | |
US20220035946A1 (en) | Data processing systems for identifying and modifying processes that are subject to data subject access requests | |
KR20230132878A (en) | Reduce transaction cancellations in execute-order-verify blockchain models |
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 |