CN110263025A - Data liquidation method, electronic equipment and computer storage medium based on alliance's chain - Google Patents

Data liquidation method, electronic equipment and computer storage medium based on alliance's chain Download PDF

Info

Publication number
CN110263025A
CN110263025A CN201910426566.3A CN201910426566A CN110263025A CN 110263025 A CN110263025 A CN 110263025A CN 201910426566 A CN201910426566 A CN 201910426566A CN 110263025 A CN110263025 A CN 110263025A
Authority
CN
China
Prior art keywords
data
clearance
node
target data
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.)
Pending
Application number
CN201910426566.3A
Other languages
Chinese (zh)
Inventor
陈子豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910426566.3A priority Critical patent/CN110263025A/en
Publication of CN110263025A publication Critical patent/CN110263025A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the present application discloses a kind of data liquidation method, electronic equipment and computer storage medium based on alliance's chain, it is related to block storage system and block data structures technology, wherein method includes: first node when receiving the clearance for carrying Data Identification instruction, obtains the corresponding target account informative abstract of the Data Identification;The first node determines that the source Nodes of target data, Xiang Suoshu source Nodes send data sharing request according to the target account informative abstract in alliance's chain;The first node receives the target data from the source Nodes, obtain the clearance rule of the target data, the target data is cleared according to the clearance rule, obtain the clearance result of the target data, the shared and data clearance of data to be cleared can be realized based on the form of alliance's chain and informative abstract, clearance processing cost is reduced, clearance accuracy and safety are improved.

Description

Data liquidation method, electronic equipment and computer storage medium based on alliance's chain
Technical field
It a kind of is set this application involves alliance's chain technical field more particularly to based on the data liquidation method of alliance's chain, electronics Standby and computer storage medium.
Background technique
Nowadays data sharing has been done step-by-step in each enterprise and mechanism, often needs to carry out at clearance by the data that transmission obtains Reason, since each type of financial transaction process all be unable to do without clearance, but there are a large amount of manual operation, data are easy to be lost, are tampered, And clearance process is complex, and when relevant government agencies' intervention supervision sometimes, and there are a large amount of data fabrication phenomenon, data Authenticity and safety are lower.
Summary of the invention
The embodiment of the present application provides a kind of data liquidation method based on alliance's chain, electronic equipment and computer storage and is situated between Matter is related to block storage system and block data structures technology, can be realized based on the form of alliance's chain and informative abstract to clear Shared, the reduction clearance processing cost for the evidence that counts, raising clearance accuracy and safety.
In a first aspect, the embodiment of the present application provides a kind of data liquidation method based on alliance's chain, which comprises
First node obtains the corresponding target account of the Data Identification when receiving the clearance for carrying Data Identification instruction Family informative abstract, the Data Identification is for determining target data to be cleared;
The first node determines the source of the target data according to the target account informative abstract in alliance's chain Node, Xiang Suoshu source Nodes send data sharing request, and the data sharing request carries the data mark of the target data Know;
The first node receives the target data from the source Nodes, obtains the clearance of the target data Rule clears the target data according to the clearance rule, obtains the clearance result of the target data.
As a kind of possible embodiment, the method also includes:
The first node receives the account data shared information from second node, the account data shared information packet Second node address and account identification are included, the account identification is the mark for the account data that the second node is shared;
The first node generates the account information abstract comprising the second node address and the account identification, storage The account information abstract.
As a kind of possible embodiment, the data sharing request also carries clearance information, the clearance packet Clearance time and the liquidation organization of the target data are included, the clearance information is used for the source Nodes of the target data to institute The clearance processing for stating target data is recorded.
As a kind of possible embodiment, described that the target data is cleared according to the clearance rule, it obtains After the clearance result for obtaining the target data, the method also includes:
The first node generates the clearance informative abstract of the clearance result of the target data, the clearance informative abstract Data Identification and first node address including the target data;
The first node obtains the shared node information of the source Nodes with the shared section of the determination source Nodes Point;
The first node sends the clearance informative abstract to the shared node of the source Nodes.
As a kind of possible embodiment, the clearance instruction further includes the account identification;It is described according to described clear Rule is calculated to clear the target data, before the clearance result for obtaining the target data, the method also includes:
Obtain the corresponding transaction history data of the account identification;
The transaction history data and the target data are integrated according to Data Integration rule, number after being integrated According to;
It is described that the target data is cleared according to the clearance rule, obtain the clearance result of the target data Include:
Data after the integration are cleared according to the clearance rule, obtain the clearance knot of data after the integration Fruit.
As a kind of possible embodiment, described to obtain the corresponding target account informative abstract packet of the Data Identification It includes:
The target account informative abstract is obtained from the main chain of alliance's chain, alternatively, from the sheet of the first node The target account informative abstract is obtained in ground database.
As a kind of possible embodiment, the method also includes:
The first node broadcasts the account information abstract in the main chain of alliance's chain.
Second aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: obtain module, determining module, transmission mould Block and clearance module, in which:
The acquisition module, for obtaining the Data Identification pair when receiving the clearance for carrying Data Identification instruction The target account informative abstract answered, the Data Identification is for determining target data to be cleared;
The determining module, for determining the target data in alliance's chain according to the target account informative abstract Source Nodes;The transmission module, for sending data sharing request to the source Nodes, the data sharing request is carried The Data Identification of the target data;
The transmission module is also used to, and receives the target data from the source Nodes;The clearance module is used In the clearance rule for obtaining the target data, the target data is cleared according to the clearance rule, described in acquisition The clearance result of target data.
The third aspect, the embodiment of the present application also provides a kind of electronic equipment, including processor, input equipment, output are set Standby and memory, the processor, input equipment, output equipment and memory are connected with each other, wherein the memory is for depositing Computer program is stored up, the computer program includes program instruction, and the processor is configured for calling described program instruction, Execute the method as described in first aspect and its any possible embodiment.
Fourth aspect, the embodiment of the present application provide a kind of computer storage medium, the computer storage medium storage There is computer program, the computer program includes program instruction, and described program instruction makes the place when being executed by a processor The method that reason device executes above-mentioned first aspect and its any possible embodiment.
The embodiment of the present application, when receiving the clearance for carrying Data Identification instruction, obtains above-mentioned data by first node Corresponding target account informative abstract is identified, above-mentioned Data Identification is for determining target data to be cleared, further according to above-mentioned mesh The source Nodes that account information abstract determines above-mentioned target data in alliance's chain are marked, and then send data to above-mentioned source Nodes Sharing request, above-mentioned data sharing request carry the Data Identification of above-mentioned target data, are can receive later from above-mentioned source The above-mentioned target data of node obtains the clearance rule of above-mentioned target data, further according to above-mentioned clearance rule to above-mentioned number of targets According to being cleared, to obtain the clearance of above-mentioned target data as a result, can realize based on the form of alliance's chain and informative abstract The shared and data clearance of data to be cleared, saves a large amount of manual operation, reduces clearance processing cost, while in alliance's chain Clearance data can trace to the source, and convenient monitoring mechanism intervention, supervision improves clearance accuracy and safety.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in embodiment description Attached drawing is briefly described.
Fig. 1 is a kind of flow diagram of data liquidation method based on alliance's chain provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram for data liquidation method based on alliance's chain that another embodiment of the application provides;
Fig. 3 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of another electronic equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Herein " embodiment " is referred to it is meant that a particular feature, structure, or characteristic described may be embodied in the application at least in conjunction with the embodiments In one embodiment.The phrase, which occurs, in each position in the description might not each mean identical embodiment, nor With the independent or alternative embodiment of other embodiments mutual exclusion.Those skilled in the art explicitly and implicitly understand, Embodiment described herein can be combined with other embodiments.
Based on the embodiment in the application, those of ordinary skill in the art are obtained without making creative work The every other embodiment obtained, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to more fully understand the embodiment of the present application, will be situated between below to the method for application the embodiment of the present application It continues.
The electronic equipment mentioned in the embodiment of the present application can be terminal device, be setting of being communicated with server Standby, above-mentioned server is also referred to as servomechanism, is to provide the equipment of the service of calculating, can permit multiple terminal devices and access.On Stating terminal device can be various forms of desktop computers or mobile terminal, including the various hands with wireless communication function Holding equipment, wearable device calculate equipment or are connected to other processing equipments of radio modem and various forms of User equipment (User Equipment, UE), mobile station (Mobile Station, MS) etc..
It referring to Figure 1, is a kind of exemplary flow of data liquidation method based on alliance's chain provided by the embodiments of the present application Figure, this method as shown in Figure 1 can include:
101, first node obtains the corresponding mesh of above-mentioned Data Identification when receiving the clearance for carrying Data Identification instruction Account information abstract is marked, above-mentioned Data Identification is for determining target data to be cleared.
Executing subject first node in the embodiment of the present application can be the node on the main chain of alliance's chain, referred to as master link Point is specifically as follows above-mentioned electronic equipment.
Alliance's chain, member and limited third party just for some special group, inside specify multiple preselected nodes For the people that keeps accounts, each piece of generation is codetermined by all preselected nodes.
Generally according to the difference of alliance's chain network centralization degree, alliance's chain under 3 kinds of different application scenes is differentiated:
(1) the whole network discloses, the block chain of no user licensing scheme, referred to as publicly-owned chain;
(2) network is added in the node for allowing to authorize, and information can be checked according to permission, is often used for inter-agency block Chain, referred to as alliance's chain or industry chain;
(3) node in all-network all rests in a mechanism hand, referred to as privately owned chain.
Alliance's chain and privately owned chain also referred to collectively as permit chain, publicly-owned chain to be known as unlicensed chain.
Alliance's chain in the embodiment of the present application can be understood as above-mentioned second situation, for data-sharing systems, the connection Different node types can be set in node in alliance's chain, for example above-mentioned first node can be in alliance's chain and execute transaction data Clear the clearance node of function.There can also be main chain server in alliance's chain, it is understood that be data sharing platform, realize it The data sharing of his node.
It can be deployed with intelligent contract (Smart contract) on alliance's chain, be that one kind is intended to pass in a manner of information-based Broadcast, verify or execute the computer protocol of contract.Intelligent contract permission carries out credible transaction in no third-party situation, this It trades traceable.Each node in above-mentioned alliance's chain can have the database of oneself, data sharing chain node and corresponding Side chain node.
Specifically, can store multiple account information abstracts in the database of the first node.
Informative abstract in the embodiment of the present application can be understood as the corresponding relationship of data and data source, i.e., a kind of data The catalogue of acquisition modes.
Above-mentioned account information abstract may include the Data Identification and data origin information of shared data, above-mentioned Data Identification It is determined for target data, above-mentioned data origin information includes the provider i.e. data source node of the target data, can Think the data source node identification or data source node address of the target data.Wherein, above-mentioned source Nodes can be Other nodes in alliance's chain in addition to the first node.
Above-mentioned account information abstract can be generated by above-mentioned source Nodes, and be broadcasted in the main chain of alliance's chain, Node in alliance's chain is available and stores above-mentioned account information abstract, to obtain target data.Above-mentioned target data can With include each node perhaps debit between account, the behavior of credit or transaction billing data and corresponding trade gold Volume etc..
Broadcast (Broadcasting) is the most common form of multicast, it delivers one point to each point of destination The copy of group.It can be completed by the delivery that multiple singles are grouped, the copy that can also be grouped by individually connecting transmitting, Until each recipient receives a copy.It by way of broadcast, obtain the node in alliance's chain can Take the mode of the target data, but it is different establish a capital to have permission obtain the target data, can also be according to other verification modes It could be obtained after being verified, to improve safety.
It is not data each time to be changed to direct broadcast encryption, but generate one and be similar in the embodiment of the present application The encryption string of informative abstract is broadcasted, data can be made even be decrypted (this is also almost impossible certainly) will not reveal it is any Private data.
First node can receive the data clearance from other nodes and refer to as the node with data clearance function It enables.The corresponding relationship that can store Data Identification and account information abstract in first node, i.e., can look into according to Data Identification Corresponding account information abstract is found, then when receiving the clearance for carrying above-mentioned Data Identification instruction, first node can be obtained The corresponding target account informative abstract of the Data Identification is taken, then executes step 102.
Wherein, the corresponding target account informative abstract of the above-mentioned Data Identification of above-mentioned acquisition can include:
Above-mentioned target account informative abstract is obtained from the main chain of above-mentioned alliance's chain, alternatively, from the sheet of above-mentioned first node Above-mentioned target account informative abstract is obtained in ground database.
102, above-mentioned first node determines above-mentioned target data according to above-mentioned target account informative abstract in alliance's chain Source Nodes, Xiang Shangshu source Nodes send data sharing request, and above-mentioned data sharing request carries the number of above-mentioned target data According to mark.
Specifically, due to comprising the source Nodes of target data to be cleared, that is, being mentioned in above-mentioned target account informative abstract For the node of the target data, address or the mark of the source Nodes is described, and node is all when coalizing chain Can be by audit and registration, then by above-mentioned target account informative abstract, first node can determine the source Nodes, get The source Nodes address, so that above-mentioned data acquisition request is sent to the source Nodes, including the number of above-mentioned target data According to mark, target data to be cleared is determined for the source Nodes, then executes step 103.
Above-mentioned source Nodes, can be according to above-mentioned data mark after the data acquisition request for receiving above-mentioned first node Know and determine above-mentioned target data, then send above-mentioned target data to first node, compressed target data can be transmitted, it can also To share above-mentioned target data from other forms to first node.
103, above-mentioned first node receives the above-mentioned target data from above-mentioned source Nodes, obtains above-mentioned target data Clearance rule, clears above-mentioned target data according to above-mentioned clearance rule, obtains the clearance result of above-mentioned target data.
Optionally, above-mentioned source Nodes can be advised after receiving above-mentioned data acquisition request based on the judgement of itself Then determine whether to provide above-mentioned target data.The judgment rule of above-mentioned source Nodes can be based on pre-set intelligent contract It realizes, is also possible to pass through user's operation manually identifying in source Nodes.Source Nodes confirmation provide above-mentioned target data it Afterwards, above-mentioned target data can be sent to the first node.
After the first node receives above-mentioned target data, above-mentioned target data can be integrated, be restored again into The local data base of one node voluntarily can be obtained and be checked later.
Specifically, first node can store at least one clearance rule, the data for treating clearance are cleared Processing, and convenient for generating new informative abstract after clearance.First node can be with the clearance rule of above-mentioned target data, specifically , according to the corresponding relationship of the Data Identification and clearance rule that prestore, target can be determined in multiple clearances rule of storage The corresponding clearance rule of the Data Identification of data, and the clearance rule of the determination is obtained, according to clearance rule to above-mentioned number of targets According to being cleared, the clearance result of above-mentioned target data is obtained.Above-mentioned clearance rule can be related to the reconciliation content of transaction data, For example the bill record in target data is ranked up, then is compared one by one with the record in the reconciliation file after wherein sequence It is right, until reconciliation terminates.
The embodiment of the present application, when receiving the clearance for carrying Data Identification instruction, obtains above-mentioned data by first node Corresponding target account informative abstract is identified, above-mentioned Data Identification is for determining target data to be cleared, further according to above-mentioned mesh The source Nodes that account information abstract determines above-mentioned target data in alliance's chain are marked, and then send data to above-mentioned source Nodes Sharing request, above-mentioned data sharing request carry the Data Identification of above-mentioned target data, are can receive later from above-mentioned source The above-mentioned target data of node obtains the clearance rule of above-mentioned target data, further according to above-mentioned clearance rule to above-mentioned number of targets According to being cleared, to obtain the clearance of above-mentioned target data as a result, can realize based on the form of alliance's chain and informative abstract The shared and data clearance of data to be cleared, saves a large amount of manual operation, reduces clearance processing cost, while in alliance's chain Clearance data can trace to the source, and convenient monitoring mechanism intervention, supervision improves clearance accuracy and safety.
It referring to fig. 2, is the exemplary flow of another data liquidation method based on alliance's chain provided by the embodiments of the present application Figure, embodiment shown in Fig. 2, which can be, to be obtained on the basis of embodiment shown in Fig. 1, and this method as shown in Figure 2 can wrap It includes:
201, first node obtains above-mentioned data mark when receiving the clearance for carrying Data Identification and account identification instruction Know corresponding target account informative abstract, above-mentioned Data Identification is for determining target data to be cleared.
Above-mentioned account identification is the mark of the shared account data of the second node in alliance's chain, similar with Data Identification , account mark can determine that the transaction data of the account is specifically as follows to be cleared from the angle of the account of user Coding of accounts.
In a kind of optional embodiment, this method further include:
Above-mentioned first node receives the account data shared information from second node, above-mentioned account data shared information packet Include second node address and account identification;
Above-mentioned first node generates the account information abstract comprising above-mentioned second node address and above-mentioned account identification, storage Above-mentioned account information abstract.
Above-mentioned second node can be understood as providing the node of shared data, the second section to the first node in alliance's chain Point can request to carry out data clearance to first node by alliance's chain.It generally requires and first registers account information to first node, It is convenient for the data clearance of the account, therefore second node can send above-mentioned account data shared information to first node, May include second node address and account identification, above-mentioned first node after receiving above-mentioned account data shared information, The account information abstract comprising above-mentioned second node address and above-mentioned account identification can be generated, and store above-mentioned account information and pluck Want, that is, obtain the account mark and account data source Nodes (second node), need to carry out data acquisition and Data acquisition request can be initiated to second node by the account informative abstract when clearance.
Optionally, which can also provide above-mentioned account information abstract to other nodes, to realize in alliance's chain The data sharing of node.
202, above-mentioned first node first node is obtained when receiving the clearance for carrying Data Identification and account identification instruction The corresponding target account informative abstract of above-mentioned Data Identification is taken, above-mentioned Data Identification is for determining target data to be cleared.
In a kind of optional embodiment, above-mentioned data sharing request also carries clearance information, above-mentioned clearance packet Include clearance time and the liquidation organization of above-mentioned target data, above-mentioned clearance information for above-mentioned target data source Nodes to The clearance processing for stating target data is recorded.
Wherein, above-mentioned clearance information may indicate that this target data obtained of first node is used to clear, and, this is clear It calculates and may include the content relevant to clearance such as the first node address and clearance time, liquidation organization in information, it can be upward It states source Nodes and clearance record in detail is provided, be also convenient for source Nodes and judge first node identity and whether provide target data It is cleared.
203, above-mentioned first node receives the above-mentioned target data from above-mentioned source Nodes, obtains above-mentioned account identification pair The transaction history data answered.
Wherein, above-mentioned steps 201- step 203 can be respectively with reference to step 101- step 103 in embodiment illustrated in fig. 1 It specifically describes, details are not described herein again.
204, above-mentioned first node carries out above-mentioned transaction history data and above-mentioned target data according to Data Integration rule Integration, data after being integrated.
It can store at least one Data Integration rule in above-mentioned first node, be mainly used for realizing data scrubbing.One As for, data scrubbing be database is simplified with except deduplication record, and make remainder be converted into standard can receive format Process.Above-mentioned Data Integration rule may include that transcoded data, consistency check (consistency check), data are de- The rules such as quick can be configured and adjust according to demand.Above-mentioned consistency check is the reasonable value range according to each variable And correlation, check data whether meet the requirement, discovery beyond normal range (NR), unreasonable or conflicting number in logic According to.Above-mentioned data desensitization refers to the deformation that certain sensitive informations are carried out with data by desensitization rule, realizes privacy-sensitive data Reliably protecting.In the case where being related to client secure data or some commercial sensitive datas, system convention is not being violated Under the conditions of, test use, such as the personal letter of identification card number, cell-phone number, card number, customer ID are transformed and provided to truthful data Breath requires to carry out data desensitization.
Optionally, above-mentioned transaction history data and above-mentioned target data are integrated according to Data Integration rule, it can be with Various types of data is integrated into different types of liquidation report template, can be selected by node demand.It can also be by this Side chain (node) where first node carries out Data Integration, and selection is flexible.
After obtaining above-mentioned integration after data, step 205 can be executed.
205, above-mentioned first node obtains the clearance rule of above-mentioned target data, according to above-mentioned clearance rule to above-mentioned target Data are cleared, and the clearance result of above-mentioned target data is obtained.
Wherein, above-mentioned steps 205 can be no longer superfluous herein with reference to the specific descriptions of step 103 in embodiment illustrated in fig. 1 It states.
206, above-mentioned first node generates the clearance informative abstract of the clearance result of above-mentioned target data, above-mentioned clearance information Abstract includes Data Identification and the first node address of above-mentioned target data.
After completing above-mentioned clearance processing, the clearance informative abstract of the clearance result of above-mentioned target data can be generated, It makes a summary with aforementioned information similar, clearance informative abstract may include Data Identification and the first node address of above-mentioned target data, There can also be clearance to identify, clearance mark can be distributed by first node, convenient for management and inquiry.In short, above-mentioned clearance Informative abstract includes the corresponding relationship of above-mentioned clearance result and its source Nodes, is targetedly obtained convenient for the node in alliance's chain Take the clearance of the target data as a result, the node for such as having monitoring function can be with real time inspection to manage movement of capital.
Step 207 can be executed after generating the clearance informative abstract of clearance result of above-mentioned target data.
207, above-mentioned first node sends above-mentioned clearance informative abstract to the shared node of above-mentioned source Nodes.
Can store the shared node of different nodes, it can the shape of shared node cluster is set in first node Formula realizes data sharing.Specifically, can store the shared node information of the source Nodes in first node, may include The shared node address of at least one source Nodes, then after generating above-mentioned clearance informative abstract, can not in alliance's chain into Row broadcast, and above-mentioned clearance informative abstract, the shared node of above-mentioned source Nodes are sent to the shared node of above-mentioned source Nodes Receiving above-mentioned clearance informative abstract can be stored later, and the clearance result can also be obtained by the clearance informative abstract Acquiring way, when needed to first node obtain.
Mode based on above-mentioned shared node carries out the shared of informative abstract, and small cluster internal can be realized in alliance's chain Data sharing, improve clearance data safety.
The main chain of alliance's chain of the embodiment of the present application can ((Hyperledger) Project Technical be realized based on super account book. Super account book is the open source projects for being intended to push the inter-trade application of block chain.It provides a modular framework, frame The execution (being known as " chaincode " in Fabric project) of node, intelligent contract in structure and configurable common recognition and member Service.One Fabric network includes that companion's node (" Peer nodes ") executes chaincode contract, accesses account book data, The interface of endorsement transaction and referred to as application program.Mandator node (" Orderer nodes ") is responsible for ensuring the one of this block chain Cause property simultaneously conveys the transaction endorsed to the companions in network;And MSP service, mainly as certificate authority X.509 certificate is used to verify member identities and role for (Certificate Authority) management.It, can based on super account book There are at least four class special joints: endorsement node, confirmation node, ordering joint, certificate node.
Alliance's chain in the embodiment of the present application can carry out intelligent contract exploitation based on Go or Java, and the above method can be with Intelligent contract is written to realize, all kinds of nodes is set, message is broadcasted, sort, know together, is confirmed and is write on chain.Wherein trade Management node, management node etc. may be implemented certain nodes and form a small-sized cluster, carry out communication friendship using encrypted tunnel, and Other lack of competence nodes can not then participate in interacting, and increase safety, the flexibility of data transmission.
In the embodiment of the present application, the clearance for carrying Data Identification and account identification instruction is being received by first node When, the corresponding target account informative abstract of above-mentioned Data Identification is obtained, above-mentioned Data Identification is for determining number of targets to be cleared According to it is corresponding to obtain above-mentioned Data Identification when receiving the clearance for carrying Data Identification and account identification instruction for first node Target account informative abstract, above-mentioned Data Identification are received for determining target data to be cleared from above-mentioned source Nodes Above-mentioned target data obtains the corresponding transaction history data of above-mentioned account identification, and above-mentioned first node is according to Data Integration rule Above-mentioned transaction history data and above-mentioned target data are integrated, data after being integrated obtain the clear of above-mentioned target data Rule is calculated, above-mentioned target data is cleared according to above-mentioned clearance rule, obtains the clearance of above-mentioned target data as a result, generating The clearance informative abstract of the clearance result of above-mentioned target data, above-mentioned clearance informative abstract include the data mark of above-mentioned target data Know and first node address, the shared node of Xiang Shangshu source Nodes send above-mentioned clearance informative abstract, can be based on alliance's chain The shared and data clearance that data to be cleared are realized with the form of informative abstract, saves a large amount of manual operation, reduces clearance Processing cost, while clearance data can trace to the source in alliance's chain, convenient monitoring mechanism intervention, supervision improves clearance accuracy and safety Property.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic equipment Block.Those skilled in the art should be readily appreciated that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, the present invention can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can be to specifically realizing described function using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
The embodiment of the present application can carry out the division of functional module according to above method example to electronic equipment, for example, can With each functional module of each function division of correspondence, two or more functions can also be integrated in a processing module In.Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module.It needs It is noted that be schematical, only a kind of logical function partition to the division of module in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Fig. 3 is referred to, Fig. 3 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application, the electronic equipment 300 include obtaining module 310, determining module 320, transmission module 330 and clearance module 340, in which:
The acquisition module 310, for obtaining the Data Identification when receiving the clearance for carrying Data Identification instruction Corresponding target account informative abstract, the Data Identification is for determining target data to be cleared;
The determining module 320, for determining the number of targets in alliance's chain according to the target account informative abstract According to source Nodes;The transmission module 330, for sending data sharing request, the data sharing to the source Nodes Request carries the Data Identification of the target data;
The transmission module 330 is also used to, and receives the target data from the source Nodes;The clearance module 340, for obtaining the clearance rule of the target data, the target data is cleared according to the clearance rule, is obtained Obtain the clearance result of the target data.
Optionally, optionally, above-mentioned electronic equipment 300 further includes generation module 350;
The transmission module 330 is also used to, and receives the account data shared information from second node, the account data Shared information includes second node address and account identification, and the account identification is the account data that the second node is shared Mark;
The generation module 350, for generating the account information comprising the second node address and the account identification Abstract stores the account information abstract.
Optionally, the data sharing request also carries clearance information, and the clearance information includes the target data Time and liquidation organization are cleared, the clearance information is used for clearance of the source Nodes to the target data of the target data Processing is recorded.
Optionally, the generation module 350 is also used to, in the clearance module 340 according to the clearance rule to described Target data is cleared, and after the clearance result for obtaining the target data, generates the clearance result of the target data Informative abstract is cleared, the clearance informative abstract includes Data Identification and the first node address of the target data;
The determining module 320 is also used to, and obtains the shared node information of the source Nodes with the determination source section The shared node of point;
The transmission module 330 is also used to, and the shared node of Xiang Suoshu source Nodes sends the clearance informative abstract.
Optionally, the clearance instruction further includes the account identification;
Above-mentioned acquisition module 310 is also used to, and obtains the corresponding transaction history data of the account identification;
The clearance module 340 is also used to, according to Data Integration rule to the transaction history data and the number of targets According to being integrated, data after being integrated;
The clearance module 340 is specifically also used to, and is cleared, is obtained to data after the integration according to the clearance rule The clearance result of data after the integration.
Optionally, the acquisition module 310 is specifically used for, and the target account letter is obtained from the main chain of alliance's chain Breath abstract, alternatively, obtaining the target account informative abstract from the local data base of the first node.
Optionally, the generation module 350 is also used to, and is broadcasted the account information in the main chain of alliance's chain and is plucked It wants.
According to the specific embodiment of the embodiment of the present application, Fig. 1 and the data liquidation method shown in Fig. 2 based on alliance's chain The step 101 being related to~103,201~207 modules that can be in electronic equipment 300 as shown in Figure 3 are performed.
By the electronic equipment 300 of the embodiment of the present application, electronic equipment 300 can carry the clear of Data Identification receiving When calculating instruction, the corresponding target account informative abstract of above-mentioned Data Identification is obtained, above-mentioned Data Identification is to be cleared for determination Target data determines the source Nodes of above-mentioned target data further according to above-mentioned target account informative abstract, in turn in alliance's chain Data sharing request is sent to above-mentioned source Nodes, above-mentioned data sharing request carries the Data Identification of above-mentioned target data, it It can receive the above-mentioned target data from above-mentioned source Nodes afterwards, the clearance rule of above-mentioned target data obtained, further according to upper It states clearance rule to clear above-mentioned target data, to obtain the clearance of above-mentioned target data as a result, alliance can be based on The form of chain and informative abstract realizes the shared and data clearance of data to be cleared, and saves a large amount of manual operation, reduces clear Processing cost is calculated, while clearing data in alliance's chain to trace to the source, convenient monitoring mechanism intervention, supervision improves clearance accuracy and peace Quan Xing.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of another kind electronic equipment disclosed in the embodiment of the present application.Such as Fig. 4 institute Show, which includes processor 401 and memory 402, wherein electronic equipment 400 can also include bus 403, place Reason device 401 and memory 402 can be connected with each other by bus 403, and bus 403 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..Bus 403 can be divided into address bus, data/address bus, Control bus etc..Only to be indicated with a thick line in Fig. 4, it is not intended that an only bus or a seed type convenient for indicating Bus.Wherein, electronic equipment 400 can also include input-output equipment 404, and input-output equipment 404 may include display Screen, such as liquid crystal display.Memory 402 is used to store one or more programs comprising instruction;Processor 401 is for calling Method and step some or all of is mentioned in the above-mentioned Fig. 1 and Fig. 2 embodiment of the instruction execution being stored in memory 402.
It should be appreciated that in the embodiment of the present application, alleged processor 401 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 402 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone etc., output equipment 403 may include display (LCD etc.), loudspeaker etc..
The memory 404 may include read-only memory and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
By the electronic equipment 400 of the embodiment of the present application, electronic equipment 400 can carry the clear of Data Identification receiving When calculating instruction, the corresponding target account informative abstract of above-mentioned Data Identification is obtained, above-mentioned Data Identification is to be cleared for determination Target data determines the source Nodes of above-mentioned target data further according to above-mentioned target account informative abstract, in turn in alliance's chain Data sharing request is sent to above-mentioned source Nodes, above-mentioned data sharing request carries the Data Identification of above-mentioned target data, it It can receive the above-mentioned target data from above-mentioned source Nodes afterwards, the clearance rule of above-mentioned target data obtained, further according to upper It states clearance rule to clear above-mentioned target data, to obtain the clearance of above-mentioned target data as a result, alliance can be based on The form of chain and informative abstract realizes the shared and data clearance of data to be cleared, and saves a large amount of manual operation, reduces clear Processing cost is calculated, while clearing data in alliance's chain to trace to the source, convenient monitoring mechanism intervention, supervision improves clearance accuracy and peace Quan Xing.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, it is as any in recorded in above method embodiment which execute computer A kind of some or all of the data liquidation method based on alliance's chain step.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the module, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or module, It can be electrical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple On network module.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
If the integrated module is realized in the form of software function module and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention Step.And memory above-mentioned includes: USB flash disk, read-only memory (Read-Only Memory, ROM), random access memory The various media that can store program code such as (Random Access Memory, RAM), mobile hard disk, magnetic or disk.

Claims (10)

1. a kind of data liquidation method based on alliance's chain, which is characterized in that the described method includes:
First node obtains the corresponding target account letter of the Data Identification when receiving the clearance for carrying Data Identification instruction Breath abstract, the Data Identification is for determining target data to be cleared;
The first node determines the source Nodes of the target data according to the target account informative abstract in alliance's chain, Data sharing request is sent to the source Nodes, the data sharing request carries the Data Identification of the target data;
The first node receives the target data from the source Nodes, obtains the clearance rule of the target data Then, the target data is cleared according to the clearance rule, obtains the clearance result of the target data.
2. the method according to claim 1, wherein the method also includes:
The first node receives the account data shared information from second node, and the account data shared information includes the Two node address and account identification, the account identification are the mark for the account data that the second node is shared;
The first node generates the account information comprising the second node address and the account identification and makes a summary, described in storage Account information abstract.
3. according to the method described in claim 2, it is characterized in that, data sharing request also carrying clearance information, described Clearance information includes clearance time and the liquidation organization of the target data, and the clearance information is come for the target data Source node records the clearance processing of the target data.
4. method according to claim 1-3, which is characterized in that described regular to the mesh according to the clearance Mark data are cleared, after the clearance result for obtaining the target data, the method also includes:
The first node generates the clearance informative abstract of the clearance result of the target data, and the clearance informative abstract includes The Data Identification of the target data and first node address;
The first node obtains the shared node information of the source Nodes with the shared node of the determination source Nodes;
The first node sends the clearance informative abstract to the shared node of the source Nodes.
5. according to the method in claim 2 or 3, which is characterized in that the clearance instruction further includes the account identification;Institute It states and the target data is cleared according to the clearance rule, it is described before the clearance result for obtaining the target data Method further include:
Obtain the corresponding transaction history data of the account identification;
The transaction history data and the target data are integrated according to Data Integration rule, data after being integrated;
It is described that the target data is cleared according to the clearance rule, obtain the clearance result packet of the target data It includes:
Data after the integration are cleared according to the clearance rule, obtain the clearance result of data after the integration.
6. according to the method described in claim 5, it is characterized in that, described obtain the corresponding target account letter of the Data Identification Breath is made a summary
The target account informative abstract is obtained from the main chain of alliance's chain, alternatively, from the local number of the first node According to obtaining the target account informative abstract in library.
7. according to the method described in claim 5, it is characterized in that, the method also includes:
The first node broadcasts the account information abstract in the main chain of alliance's chain.
8. a kind of electronic equipment characterized by comprising obtain module, determining module, transmission module and clearance module, in which:
The acquisition module, for it is corresponding to obtain the Data Identification when receiving the clearance for carrying Data Identification instruction Target account informative abstract, the Data Identification is for determining target data to be cleared;
The determining module, for determining the source of the target data in alliance's chain according to the target account informative abstract Node;The transmission module, for sending data sharing request to the source Nodes, the data sharing is requested described in carrying The Data Identification of target data;
The transmission module is also used to, and receives the target data from the source Nodes;The clearance module, for obtaining The clearance rule for taking the target data clears the target data according to the clearance rule, obtains the target The clearance result of data.
9. a kind of electronic equipment, which is characterized in that including processor, input equipment, output equipment and memory, the processing Device, input equipment, output equipment and memory are connected with each other, wherein the memory is for storing computer program, the meter Calculation machine program includes program instruction, and the processor is configured for calling described program instruction, executes claim 1-7 such as and appoints Method described in one.
10. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with computer program, described Computer program includes program instruction, and described program instruction makes the processor execute such as claim when being executed by a processor The described in any item methods of 1-7.
CN201910426566.3A 2019-05-21 2019-05-21 Data liquidation method, electronic equipment and computer storage medium based on alliance's chain Pending CN110263025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910426566.3A CN110263025A (en) 2019-05-21 2019-05-21 Data liquidation method, electronic equipment and computer storage medium based on alliance's chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910426566.3A CN110263025A (en) 2019-05-21 2019-05-21 Data liquidation method, electronic equipment and computer storage medium based on alliance's chain

Publications (1)

Publication Number Publication Date
CN110263025A true CN110263025A (en) 2019-09-20

Family

ID=67914985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910426566.3A Pending CN110263025A (en) 2019-05-21 2019-05-21 Data liquidation method, electronic equipment and computer storage medium based on alliance's chain

Country Status (1)

Country Link
CN (1) CN110263025A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110910236A (en) * 2019-11-15 2020-03-24 中钞信用卡产业发展有限公司 Financial data processing method and system based on permission chain
CN111415252A (en) * 2020-01-23 2020-07-14 众安信息技术服务有限公司 Privacy transaction processing method and device based on block chain
CN111784510A (en) * 2020-07-07 2020-10-16 北京开科唯识技术有限公司 Account checking method and device
CN112651819A (en) * 2019-10-11 2021-04-13 浙江金融资产交易中心股份有限公司 Bank account checking system for realizing financial alliance chain
WO2022134473A1 (en) * 2020-12-22 2022-06-30 平安科技(深圳)有限公司 Authorization processing method and apparatus for block node data, and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180060836A1 (en) * 2016-08-29 2018-03-01 Bank Of America Corporation Application life-cycle transition record recreation system
WO2018149385A1 (en) * 2017-02-17 2018-08-23 阿里巴巴集团控股有限公司 Blockchain system and data storage method and apparatus
CN108647962A (en) * 2018-04-27 2018-10-12 腾讯科技(深圳)有限公司 Credit investigation system, the storage method of collage-credit data, device, equipment and medium
CN109086325A (en) * 2018-06-29 2018-12-25 阿里巴巴集团控股有限公司 Data processing method and device based on block chain
CN109377319A (en) * 2018-10-30 2019-02-22 平安科技(深圳)有限公司 Purchase vehicle information processing method, device, equipment and storage medium based on alliance's chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180060836A1 (en) * 2016-08-29 2018-03-01 Bank Of America Corporation Application life-cycle transition record recreation system
WO2018149385A1 (en) * 2017-02-17 2018-08-23 阿里巴巴集团控股有限公司 Blockchain system and data storage method and apparatus
CN108647962A (en) * 2018-04-27 2018-10-12 腾讯科技(深圳)有限公司 Credit investigation system, the storage method of collage-credit data, device, equipment and medium
CN109086325A (en) * 2018-06-29 2018-12-25 阿里巴巴集团控股有限公司 Data processing method and device based on block chain
CN109377319A (en) * 2018-10-30 2019-02-22 平安科技(深圳)有限公司 Purchase vehicle information processing method, device, equipment and storage medium based on alliance's chain

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112651819A (en) * 2019-10-11 2021-04-13 浙江金融资产交易中心股份有限公司 Bank account checking system for realizing financial alliance chain
CN110910236A (en) * 2019-11-15 2020-03-24 中钞信用卡产业发展有限公司 Financial data processing method and system based on permission chain
CN111415252A (en) * 2020-01-23 2020-07-14 众安信息技术服务有限公司 Privacy transaction processing method and device based on block chain
CN111784510A (en) * 2020-07-07 2020-10-16 北京开科唯识技术有限公司 Account checking method and device
CN111784510B (en) * 2020-07-07 2021-03-19 北京开科唯识技术股份有限公司 Account checking method and device
WO2022134473A1 (en) * 2020-12-22 2022-06-30 平安科技(深圳)有限公司 Authorization processing method and apparatus for block node data, and device and storage medium

Similar Documents

Publication Publication Date Title
CN110263025A (en) Data liquidation method, electronic equipment and computer storage medium based on alliance's chain
CN110210961A (en) Data capture method, server and computer storage medium based on alliance's chain
CN110222529A (en) Assets management method, electronic equipment and computer storage medium based on alliance's chain
CN110246017A (en) Data capture method, terminal device and computer storage medium based on alliance's chain
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
CN111309745B (en) Virtual resource processing method and device, electronic equipment and storage medium
CN110223157A (en) Data capture method, electronic equipment and computer storage medium based on alliance's chain
CN110246040A (en) Trade management method, electronic equipment and computer storage medium based on alliance's chain
CN110163634B (en) Refund method and device based on blockchain and electronic equipment
CN112801658B (en) Cross-border resource transfer authenticity auditing method and device and electronic equipment
CN110245185A (en) Data processing method, terminal device and computer storage medium based on alliance's chain
CN110210977A (en) A kind of data trade method and its equipment
CN110046900A (en) Invoice based on block chain cancels method and apparatus, electronic equipment
CN110365479A (en) Random digit generation method and device based on block chain
CN112700251B (en) Identity confirmation method, device and system in financial scene
CN110163691A (en) Invoice creation method and device, electronic equipment based on block chain
CN111612452A (en) Intellectual property management system and method based on block chain
CN111475778A (en) Music data processing method and device based on block chain
CN111507815A (en) Block chain based information acquisition method, device, equipment and storage medium
CN108073699B (en) Big data aggregation analysis method and device
EP3852332B1 (en) Processing request for personal data with data owner's permission
CN112788555B (en) Cross-operator telephone charge transfer settlement method, device and computing equipment
CN108416588A (en) Data processing method and device for electronic transaction verification
CN110163606B (en) Refund method and device based on blockchain and electronic equipment
CN112039893B (en) Private transaction processing method and device, electronic equipment and readable storage medium

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190920