CN109727121A - Debt-credit matching process, signal auditing method based on block chain network - Google Patents
Debt-credit matching process, signal auditing method based on block chain network Download PDFInfo
- Publication number
- CN109727121A CN109727121A CN201811596335.9A CN201811596335A CN109727121A CN 109727121 A CN109727121 A CN 109727121A CN 201811596335 A CN201811596335 A CN 201811596335A CN 109727121 A CN109727121 A CN 109727121A
- Authority
- CN
- China
- Prior art keywords
- node
- loaning bill
- block chain
- state
- matching
- 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
Links
Abstract
A kind of debt-credit matching process, signal auditing method based on block chain network, debt-credit matching process includes: that A. reads loaning bill solicited message from block chain account book, and loaning bill solicited message includes the mark, type label and tag state of loaning bill node;B. the tag state of loaning bill node is detected, it is review state in response to tag state, triggering, which executes, matches intelligent contract, to carry out matching detection, matching detection includes the matching detection between the type label of the loaning bill node and the preset label condition of present node, wherein, the air control node in block chain network updates tag state after executing the intelligent contract of amendment for review state and block chain account book is written;C. matching result is generated, and broadcasts matching result, matching result is written by block chain account book with request.The present invention program can realize the accurate match between loaning bill side and lending side based on block chain network.
Description
Technical field
The present invention relates to block chain technical field more particularly to a kind of debt-credit matching process based on block chain network, letter
Cease checking method.
Background technique
Block chain (Blockchain) network is the intelligence equity with distributed data base identification, propagation and information-recording
Network, also referred to as value internet.Block chain technology includes guaranteeing transmission and access using cryptography with block structure storing data
Safety etc., can be realized data consistency storage, tamper-resistant, the technical system for going to center.
Intelligent contract is a kind of computer protocol for being intended to propagate, verify or execute in a manner of information-based contract, can
Show as the computer program accurately run on block chain.User terminal can be traded by using intelligent contract, be shared
Data, establish trust and by the characteristic of block chain technology ensure the storages of data, reading, execute whole process it is transparent it is traceable,
It can not distort.
In existing credit field, lending side has certain requirement to loaning bill side.How lending side and loan are completed
Matching between side is a urgent problem to be solved.
Summary of the invention
The embodiment of the invention provides a kind of based on the debt-credit matching process of block chain network, signal auditing method, calculating
Equipment, storage medium.
The embodiment of the present invention provides a kind of debt-credit matching process based on block chain network, and debt-credit matching process includes: A.
From block chain account book read loaning bill solicited message, the loaning bill solicited message include the mark of loaning bill node, type label with
And tag state;B. the tag state for detecting the loaning bill node, is review state in response to the tag state, and triggering executes
Intelligent contract is matched, to carry out matching detection, the matching detection includes the type label and present node of the loaning bill node
Matching detection between preset label condition, wherein the air control node in the block chain network, which executes, corrects intelligent contract
After to update the tag state be review state and the block chain account book to be written;C. matching result is generated, and broadcasts described
With as a result, the block chain account book is written in the matching result with request, the matching result includes the loaning bill node
Mark, the present node mark and whether successful match.
Scheme described in the present embodiment detects the tag state of loaning bill node, and when tag state is review state, passes through
Triggering, which executes, matches intelligent contract, by type label of the loaning bill node under review state and the preset label condition of present node
Between carry out matching detection, realize the matching between loaning bill node and present node.In addition, review state is that air control node executes
The tag state is updated for review state after correcting intelligent contract and the block chain account book is written, and may be implemented to loaning bill
The audit of the type label of node, the accuracy of type label when the tag state of guaranteed loan node is review state, in turn
Realize the matched accuracy between loaning bill node and present node.
The embodiment of the present invention also provides a kind of calculating equipment, including processor and memory, is stored on the memory
The computer instruction that can be run on the processor, the processor execute following step when running the computer instruction
Rapid: A. reads loaning bill solicited message from block chain account book, and the loaning bill solicited message includes the mark of loaning bill node, type mark
Label and tag state;B. the tag state for detecting the loaning bill node is review state, triggering in response to the tag state
It executes and matches intelligent contract, to carry out matching detection, the matching detection includes the type label of the loaning bill node and current
Matching detection between the preset label condition of node, wherein the air control node in the block chain network executes amendment intelligence
The tag state is updated after contract to be review state and the block chain account book is written;C. matching result is generated, and broadcasts institute
Matching result is stated, the matching result is written by the block chain account book with request, the matching result includes the loaning bill section
Point mark, the mark of the present node and whether successful match.
The embodiment of the present invention also provides a kind of signal auditing method based on block chain network, the letter based on block chain network
Ceasing checking method includes: that O. reads loaning bill solicited message from block chain account book, and the loaning bill solicited message includes loaning bill node
Mark, type label and tag state;It P. is non-review state in response to the tag state, triggering executes amendment intelligence
The tag state is updated to review state by contract;Q. the block chain account book is written into updated loaning bill solicited message.
Scheme described in the present embodiment executes amendment intelligence when the tag state of loaning bill node is non-review state, through triggering
Energy contract, can be updated the tag state of loaning bill node, so as to realize examining to the type label of loaning bill node
Core, the accuracy of type label when the tag state of guaranteed loan node is review state;And then facilitate subsequently through review
Type label under state carries out loaning bill node and lends matched accuracy between node.
The embodiment of the present invention also provides a kind of calculating equipment, including processor and memory, is stored on the memory
The computer instruction that can be run on the processor, the processor execute following step when running the computer instruction
Rapid: O. reads loaning bill solicited message from block chain account book, and the loaning bill solicited message includes the mark of loaning bill node, type mark
Label and tag state;It P. is non-review state in response to the tag state, triggering, which executes, corrects intelligent contract, by the mark
Label state is updated to review state;Q. the block chain account book is written into updated loaning bill solicited message.
The embodiment of the present invention also provides a kind of storage medium, is stored thereon with computer instruction, the computer instruction fortune
The step of debt-credit matching process based on block chain network is executed when row, alternatively, executing described based on block chain network
The step of signal auditing method.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the debt-credit matching process based on block chain network of the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the signal auditing method based on block chain network of the embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of typical case scene of the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of debt-credit matching process based on block chain network, and debt-credit matching process includes: A.
From block chain account book read loaning bill solicited message, the loaning bill solicited message include the mark of loaning bill node, type label with
And tag state;B. the tag state for detecting the loaning bill node, is review state in response to the tag state, and triggering executes
Intelligent contract is matched, to carry out matching detection, the matching detection includes the type label and present node of the loaning bill node
Matching detection between preset label condition, wherein the air control node in the block chain network, which executes, corrects intelligent contract
After to update the tag state be review state and the block chain account book to be written;C. matching result is generated, and broadcasts described
With as a result, the block chain account book is written in the matching result with request, the matching result includes the loaning bill node
Mark, the present node mark and whether successful match.
Scheme described in the present embodiment detects the tag state of loaning bill node, and when tag state is review state, passes through
Triggering, which executes, matches intelligent contract, by type label of the loaning bill node under review state and the preset label condition of present node
Between carry out matching detection, realize the matching between loaning bill node and present node.In addition, review state is that air control node executes
The tag state is updated for review state after correcting intelligent contract and the block chain account book is written, and may be implemented to loaning bill
The audit of the type label of node, the accuracy of type label when the tag state of guaranteed loan node is review state, in turn
Realize the matched accuracy between loaning bill node and present node.
Below with reference to each exemplary embodiment disclosed in attached drawing the present invention is described in detail.Flow chart and block diagram in attached drawing
Show the architecture, function and operation in the cards of the method and system of disclosed various embodiments according to the present invention.
It should be noted that each box in flowchart or block diagram can represent a part of a module, section or code, the mould
A part of block, program segment or code may include one or more logic functions for realizing defined in each embodiment
Executable instruction.It should also be noted that in some alternative implementations, function marked in the box can also be according to not
It is same as the sequence marked in attached drawing generation.For example, two boxes succeedingly indicated can actually be basically executed in parallel,
Or they can also execute in a reverse order sometimes, this depends on related function.It should also be noted that stream
The combination of each box in journey figure and/or block diagram and the box in flowchart and or block diagram, can be used and execute regulation
The dedicated hardware based systems of functions or operations realize, or the group of specialized hardware and computer instruction can be used
It closes to realize.
Term as used herein "comprising", " comprising " and similar terms are understood to open term, i.e.,
" including/including but not limited to ", expression can also include other content.In the disclosure of invention, term "based" is " extremely
It is at least partly based on ";Term " one embodiment " expression " at least one embodiment ";Expression is " at least for term " another embodiment "
One other embodiment ".
" the loaning bill node " of appearance herein refer to, the block chain node for needing to borrow money in block chain network.As one
A unrestricted example, loaning bill node specifically can be set in the user for needing to borrow money or organize used terminal device
Place.
" type label " of appearance herein refer to, the information of the type for indicating loaning bill node.The type is
Preset, same loaning bill node can have a kind of type label or multiple types label.It is unrestricted in the present invention one
In example, the type label can be single mom, educational background etc..
" tag state " of appearance herein refers to, is used to indicate the information of the state of the type label of loaning bill node.
In a unrestricted example of the invention, tag state can be original state, amendment state or review state.Wherein,
Original state can be the tag state set when the block chain account book is written in loaning bill solicited message by loaning bill node;
Amendment state, which can be, executes the tag state corrected and updated after intelligent contract into part node via in block chain network;It is multiple
Nuclear state can be the tag state for executing via the air control node in block chain network and correcting and being updated after intelligent contract.
Herein presented " loaning bill solicited message " refers to that needing for indicating to borrow money for block chain account book is written in loaning bill node
The information asked.In a unrestricted example of the invention, the loaning bill solicited message includes the mark of loaning bill node, type
Label and tag state.
Herein presented " matching intelligent contract " refers to, can be used in the intelligent contract for carrying out matching detection.In this hair
In a bright unrestricted example, the matching detection include the loaning bill node type label and present node it is preset
Matching detection between label condition.Further, the matching detection further includes the credit grade of the loaning bill node and pre-
If rating conditions between matching detection.
Herein presented " air control node " refers to, to the portion in the loaning bill solicited message of loaning bill node in block chain network
Divide or all information is audited, and to the block chain node that the tag state of loaning bill node is updated.In the present invention one
In a unrestricted example, it is non-review state that air control node, which is able to respond in tag state, and triggering executes amendment intelligence and closes
About, the tag state is updated to review state.As a unrestricted example, air control node specifically can be set in
At the used terminal device of user or tissue for carrying out credit rating.
Herein presented " correcting intelligent contract " refers to, can be used in the intelligent contract for updating tag state.In this hair
In a bright unrestricted example, by executing the intelligent contract of the amendment, non-review state will can be updated to check
State;Alternatively, original state can be updated to amendment state by executing the amendment intelligent contract.
It should be appreciated that provide these exemplary embodiments merely to make those skilled in the art can better understand that into
And realize embodiment of the disclosure, and do not in any way limit the scope of the invention.
To make the above purposes, features and advantages of the invention more obvious and understandable, with reference to the accompanying drawing to the present invention
Specific embodiment be described in detail.
Fig. 1 is a kind of debt-credit matching process based on block chain network of the embodiment of the present invention.
Wherein, the block chain network may include multiple block chain nodes that can be communicated each other, the block chain link
Point can be various calculating equipment appropriate, such as personal computer (PC), server, smart phone etc..As a non-limit
The example of property processed, in the present embodiment, each step shown in Fig. 1 can be executed by lending node, and lending node can be block chain
The block chain node for fund of offering a loan in network.It specifically can be set used in the user for the fund of offering a loan or tissue
At terminal device.
Debt-credit matching process shown in Fig. 1 may comprise steps of:
At step S101, executes step A. and read loaning bill solicited message, the loaning bill request letter from block chain account book
Breath includes mark, type label and the tag state of loaning bill node;
At step S102, the tag state that step B. detects the loaning bill node is executed, in response to the tag state
To check state, triggering, which executes, matches intelligent contract, and to carry out matching detection, the matching detection includes the loaning bill node
Matching detection between type label and the preset label condition of present node, wherein the air control section in the block chain network
Point updates the tag state after executing the intelligent contract of amendment for review state and the block chain account book is written;
At step S103, executes step C. and generate matching result, and broadcast the matching result, it will be described with request
The block chain account book is written with result, the matching result includes the mark of the mark of the loaning bill node, the present node
Know and whether successful match.
It should be pointed out that the serial number of each step does not represent the limit to the execution sequence of each step in the present embodiment
It is fixed.
In specific implementation, loaning bill solicited message can be read from the block chain account book of block chain network by lending node, be borrowed
Money solicited message includes the tag state of loaning bill node.The tag state can be review state or non-review state.
In the specific implementation of step B, the tag state in response to loaning bill node is review state, and triggering executes matching intelligence
It can contract.And then in the specific implementation of step C, matching result is generated, and broadcast the matching result.
In a non-limiting embodiment of the invention, the matching detection includes the type label of the loaning bill node
With the matching detection between the preset label condition of present node.The type label of loaning bill node and present node are default as a result,
Label condition when matching, can determine loaning bill node and present node successful match;Conversely, the type label of loaning bill node
When not matching with the preset label condition of present node, can determining loaning bill node, it fails to match with present node.
In a specific embodiment of the invention, matching result includes the mark of the loaning bill node, the present node
Mark and whether successful match.The mark of loaning bill node can be the public key Hash of loaning bill node;The mark of present node can
To be the public key Hash of present node.
In a non-limiting embodiment of the invention, after lending matching result described in node broadcasts, block chain network
In other block chain nodes matching result can be verified, specifically include and the mark of loaning bill node in matching result referred to
To the loaning bill amount of loaning bill node verified.When loaning bill amount is non-zero, block is written into the matching result being proved to be successful
Chain account book.In the case where in the presence of multiple matching results for same loaning bill node, since multiple matching results are verified completion
After time is different, therefore first matching result being proved to be successful is written into block chain account book, node of borrowing money in the matching result
The loaning bill node that is directed toward of mark receive digital token, the loaning bill amount of loaning bill node is 0;Other are directed to of the loaning bill node
With result by authentication failed, because without being written into block chain account book.
It should be noted that a series of processes verified to matching result can refer to the prior art, it is no longer superfluous herein
It states.
In a non-limiting embodiment of the invention, the label condition includes the type mark that at least one is required
The type label of label, each requirement has label score value;The matching intelligent contract executes following steps when being triggered: D. is by institute
The type label of the type label and each requirement of stating loaning bill node carries out matching detection, if the type label quilt of the requirement
Matching, then obtain the label score value of the type label of the requirement;E. the loaning bill is calculated according to whole label score values of acquisition
The matching score value of node;F. successful match is determined whether according at least to the relationship of the matching score value and preset threshold.
In the present embodiment, the quantity of the type label of loaning bill node is single, and the label condition includes single requires
Type label when, the type label for node of borrowing money and the type label of requirement directly can be subjected to matching detection.If borrowed
The type label of money node and the type label of requirement are consistent, it is determined that successful match;Otherwise determine that it fails to match.
It, can be by node of borrowing money when the label condition includes the type label that at least one is required in the present embodiment
Type label and the type label of each requirement carry out matching detection, and the mark of the type label according to the matched requirement of acquisition
Label score value calculates the matching score value of the loaning bill node.
In a unrestricted example, when the matching score value reaches preset threshold, loaning bill node and current is determined
Node matching success;When the matching score value is not up to preset threshold, determining loaning bill node, it fails to match with present node.
The embodiment of the present invention can be realized complicated multi-tag matching, meet the type mark that present node has multiple requirements
Matching demand when label expands the applicable application scenarios of method shown in the present invention.
In a non-limiting embodiment of the invention, step A shown in Fig. 1 further includes steps of A1. from institute
The credit grade that the loaning bill node is read in block chain account book is stated, the credit grade is as described in air control node execution
Intelligent contract is corrected to generate and the block chain account book is written.
Wherein, the matching detection further includes between the credit grade and preset rating conditions of the loaning bill node
With detection, the preset rating conditions include desired credit grade;
Step F further comprises: if the credit grade of the F1. loaning bill node is not less than desired credit grade, and
The matching score value is more than or equal to the preset threshold, it is determined that successful match.
In the present embodiment, the credit grade of the loaning bill node is not less than desired credit grade, and the matching divides
When value reaches preset threshold, loaning bill node and present node successful match are determined;The credit grade of the loaning bill node, which is lower than, to be wanted
When the credit grade or the matching score value asked are not up to preset threshold, determining loaning bill node, it fails to match with present node.
The matching feelings that the embodiment of the present invention passes through the type label of credit grade and loaning bill node in conjunction with loaning bill node
Condition realizes matching to loaning bill node and present node, can be in guaranteed loan node and the matched accuracy of present node
On the basis of, guarantee matched validity, thus the equity of guaranteed loan node and present node.
The embodiment of the present invention also provides a kind of calculating equipment, for implementing method described in above-mentioned embodiment illustrated in fig. 1
Technical solution.
Specifically, in the present embodiment, it includes processor and storage that the calculating equipment, which may include: the calculating equipment,
Device, the computer instruction that can be run on the processor is stored on the memory, and the processor runs the meter
Calculation machine executes following steps when instructing: A. reads loaning bill solicited message from block chain account book, and the loaning bill solicited message includes
Mark, type label and the tag state of loaning bill node;B. the tag state for detecting the loaning bill node, in response to the mark
Label state is review state, and triggering, which executes, matches intelligent contract, and to carry out matching detection, the matching detection includes the loaning bill
Matching detection between the preset label condition of the type label and present node of node, wherein in the block chain network
Air control node updates the tag state after executing the intelligent contract of amendment for review state and the block chain account book is written;C. it gives birth to
At matching result, and the matching result is broadcasted, the matching result is written by the block chain account book, the matching with request
As a result including the mark of the loaning bill node, the mark of the present node and whether successful match.
In a non-limiting embodiment of the invention, the label condition includes the type label that at least one is required,
The type label of each requirement has label score value, the matching intelligent contract processor execution following step when being triggered
Rapid: the type label of the loaning bill node and the type label of each requirement are carried out matching detection by D., if the requirement
Type label is matched, then obtains the label score value of the type label of the requirement;E. according to whole label score value meters of acquisition
Calculate the matching score value of the loaning bill node;F. determine whether to match into the relationship of preset threshold according at least to the matching score value
Function.
In a non-limiting embodiment of the invention, when processor step A, is further performed the step of: A1.
The credit grade of the loaning bill node is read from the block chain account book, the credit grade is executed by the air control node
The intelligent contract of the amendment generates and the block chain account book is written;Wherein, the matching detection further includes the loaning bill section
Matching detection between the credit grade and preset rating conditions of point, the preset rating conditions include desired credit etc.
Grade;The processor further performs the step of when executing step F: if the credit grade of the F1. loaning bill node is not low
In desired credit grade, and the matching score value is more than or equal to the preset threshold, it is determined that successful match.
About working principle, the more contents of working method for calculating equipment, the correlation being referred in above-mentioned Fig. 1
Description, which is not described herein again.
Referring to figure 2., the embodiment of the invention also discloses a kind of signal auditing methods based on block chain network.
In the present embodiment, each step shown in Fig. 2 can be executed by air control node.The air control node can be set in tool
It carries weight at the air control platform of certification.
Signal auditing method shown in Fig. 2 may comprise steps of:
At step 201, executes step O. and read loaning bill solicited message, the loaning bill solicited message from block chain account book
Mark, type label and tag state including loaning bill node;
At step 202, executing step P. in response to the tag state is non-review state, and triggering executes amendment intelligence
The tag state is updated to review state by contract;
At step 203, step Q. is executed by updated loaning bill solicited message, the block chain account book is written.
In the present embodiment, air control node can read loaning bill solicited message, loaning bill request packet from block chain account book
Include the tag state of loaning bill node.Air control node can detecte the tag state of loaning bill node, be in response to the tag state
Non- review state, triggering air control node, which executes, corrects intelligent contract.
After air control node executes the intelligent contract of amendment, tag state can be updated to review state by non-review state.
The block chain account book is written in updated loaning bill solicited message by air control node.
In a non-limiting embodiment of the invention, the loaning bill solicited message further includes customer attribute information, institute
State when the intelligent contract of amendment is triggered and execute following steps: R. is according at least to the customer attribute information to the loaning bill node
Type label is verified;S. do not pass through in response to the type label verifying of the loaning bill node, update the type label, and
The tag state is updated to review state.
In the present embodiment, the verifying of the type label of loaning bill node is not by referring to the type label of the loaning bill node and borrowing
The customer attribute information of money node is inconsistent, such as the customer attribute information of loaning bill node is university's schooling certificate, and section of borrowing money
The type label of point is postgraduate's educational background, shows that type label is inconsistent with customer attribute information.In this case, air control section
Point not only updates the type label, and the tag state is also updated to review state.The section for example, air control node updates are borrowed money
The type label of point is university's educational background, and the label-like for updating loaning bill node is newly review state.
In a non-limiting embodiment of the invention, the amendment intelligent contract also executes following step when being triggered
Rapid: T. is verified in response to the type label of the loaning bill node, and the tag state is updated to review state.
In the present embodiment, the type label of loaning bill node is verified the type label and loaning bill for referring to the loaning bill node
The customer attribute information of node is consistent.In this case, air control node only needs the tag state being updated to review state,
Air control node does not update the type label of loaning bill node.
In a non-limiting embodiment of the invention, step R further comprises: R1. is obtained from default memory space
Local attribute information associated with the loaning bill node is taken, the default memory space and the block chain account book are mutually solely
Vertical;R2. the type label of the loaning bill node is carried out according to the customer attribute information and the local attribute information
Verifying.
In the present embodiment, local attribute letter associated with the loaning bill node is stored in the default memory space
Breath.The default memory space can be local memory device or cloud server of air control node etc..
In a unrestricted example, the mark that loaning bill node is stored in memory space and its corresponding are preset
Ground attribute information.It, can when obtaining local attribute information associated with the loaning bill node in the default memory space of air control node
The local attribute information for determining loaning bill node is searched in default memory space using the mark of loaning bill node.
When air control node verifies the type label of the loaning bill node, customer attribute information and institute can be combined
It states local attribute information to be verified, it is ensured that the comprehensive and accuracy of verifying.
In a non-limiting embodiment of the invention, the non-review state is original state or amendment state, institute
It states loaning bill node and sets initial shape for the tag state when the block chain account book is written in the loaning bill solicited message
State, in the block chain network execute the intelligent contract of the amendment into part node after update the tag state for amendment state
And the block chain account book is written.
The embodiment of the present invention also provides a kind of calculating equipment, for implementing method described in above-mentioned embodiment illustrated in fig. 2
Technical solution.
Specifically, in the present embodiment, it includes processor and storage that the calculating equipment, which may include: the calculating equipment,
Device, the computer instruction that can be run on the processor is stored on the memory, and the processor runs the meter
Calculation machine executes following steps when instructing: O. reads loaning bill solicited message from block chain account book, and the loaning bill solicited message includes
Mark, type label and the tag state of loaning bill node;It P. is non-review state in response to the tag state, triggering executes
Intelligent contract is corrected, the tag state is updated to review state;Q. the area is written into updated loaning bill solicited message
Block chain account book.
In a non-limiting embodiment of the invention, the non-review state is original state or amendment state, institute
It states loaning bill node and sets initial shape for the tag state when the block chain account book is written in the loaning bill solicited message
State, in the block chain network execute the intelligent contract of the amendment into part node after update the tag state for amendment state
And the block chain account book is written.
In a non-limiting embodiment of the invention, the loaning bill solicited message further includes customer attribute information, institute
State processor when the intelligent contract of amendment is triggered and execute following steps: R. is according at least to the customer attribute information to described
The type label of loaning bill node is verified;S. do not pass through in response to the type label verifying of the loaning bill node, described in update
Type label, and the tag state is updated to review state.
In a non-limiting embodiment of the invention, the amendment intelligent contract also executes following step when being triggered
Rapid: T. is verified in response to the type label of the loaning bill node, and the tag state is updated to review state.
In a non-limiting embodiment of the invention, step R further comprises: R1. is obtained from default memory space
Local attribute information associated with the loaning bill node is taken, the default memory space and the block chain account book are mutually solely
Vertical;R2. the type label of the loaning bill node is carried out according to the customer attribute information and the local attribute information
Verifying.
About working principle, the more contents of working method for calculating equipment, the correlation being referred in above-mentioned Fig. 2
Description, which is not described herein again.
In a typical application scenarios of the invention, referring to figure 3., block chain network may include block chain node A,
Block chain node B, block chain node C and block chain node D.Wherein, block chain node A be loaning bill node, can be set in
At the used terminal device of user or tissue for needing to provide a loan.Block chain node B is that can be set into part node in into part machine
At terminal device or server used in structure.Block chain node C is air control node, be can be set used in the air control mechanism
At terminal device or server.Block chain node D is to lend node, and the user in the fund of offering a loan or tissue institute can be set
At the terminal device used.
In this scene, block chain account book is written in loaning bill solicited message by loaning bill node A, and loaning bill solicited message includes borrowing money
The customer attribute information of node A, the mark of loaning bill node A, the type label and tag state of loaning bill node A.Wherein, it borrows money
Tag state is set original state by node A.
Loaning bill solicited message is read from block chain account book into part node B, detects tag state.It is in response to tag state
Original state triggers to execute into part node B and corrects intelligent contract, believes into part node B according at least to the user property of loaning bill node A
Breath verifies the type label of loaning bill node A.If the verification passes, the tag state of loaning bill node A is updated into part node B
To correct state, and block chain account book is written., whereas if verifying does not pass through, into part node B according at least to loaning bill node A's
Customer attribute information updates the type label of loaning bill node A, is amendment state by the tag state of loaning bill node A, and will update
Block chain account book is written in loaning bill solicited message afterwards.
Air control node C reads loaning bill solicited message from block chain account book, detects tag state.It is in response to tag state
Amendment state, triggering air control node C, which is executed, corrects intelligent contract, and air control node C believes according at least to the user property of loaning bill node A
Breath verifies the type label of loaning bill node A.If the verification passes, air control node C updates the tag state of loaning bill node A
To check state, and block chain account book is written., whereas if verifying does not pass through, air control node C is according at least to loaning bill node A's
Customer attribute information updates the type label of loaning bill node A, is amendment state by the tag state of loaning bill node A, and will update
Block chain account book is written in loaning bill solicited message afterwards.
It lends node D and reads loaning bill solicited message from block chain account book, detect tag state.It is in response to tag state
Review state, triggering lends node D and executes the intelligent contract of matching, to carry out matching detection.It lends node D and generates matching result,
And the matching result is broadcasted, block chain account book is written with request.The matching result may include lending node D and borrowing money to save
Point A successful match, or lend node D it fails to match with loaning bill node A.
It should be noted that the quantity of each type of block chain node is one in this scene, it is merely illustrative.
In actual application, the quantity of each block chain node can be it is multiple, the embodiment of the present invention to this with no restriction.In addition,
According to the demand of practical application, part node can not also be deployed in block chain network, that is to say, that include in block chain network
The node of three types: loaning bill node, air control node and lending node, the embodiment of the present invention to this also with no restriction.
The embodiment of the invention also discloses a kind of storage mediums, are stored thereon with computer instruction, the computer instruction
The step of debt-credit matching process shown in Fig. 1 based on block chain network can be executed when operation or institute shown in Fig. 2
The step of stating the signal auditing method based on block chain network.The storage medium may include RAM, RAM, disk or CD
Deng.The storage medium can also include non-volatility memorizer (non-volatile) or non-transient (non-
Transitory) memory etc..
Although present disclosure is as above, present invention is not limited to this.Anyone skilled in the art are not departing from this
It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
Subject to the range of restriction.
Claims (17)
1. a kind of debt-credit matching process based on block chain network characterized by comprising
A. loaning bill solicited message is read from block chain account book, the loaning bill solicited message includes the mark of loaning bill node, type
Label and tag state;
B. the tag state for detecting the loaning bill node, is review state in response to the tag state, and triggering executes matching intelligence
Can contract, to carry out matching detection, the matching detection include the loaning bill node type label and present node it is preset
Matching detection between label condition, wherein the air control node in the block chain network updates after executing the intelligent contract of amendment
The tag state is review state and the block chain account book is written;
C. matching result is generated, and broadcasts the matching result, the matching result is written by the block chain account book with request,
The matching result include the mark of the loaning bill node, the mark of the present node and whether successful match.
2. debt-credit matching process according to claim 1, which is characterized in that the label condition includes at least one requirement
Type label, the type label of each requirement has label score value, and the matching intelligent contract executes following walk when being triggered
It is rapid:
D. the type label of the loaning bill node and the type label of each requirement are subjected to matching detection, if the requirement
Type label is matched, then obtains the label score value of the type label of the requirement;
E. the matching score value of the loaning bill node is calculated according to whole label score values of acquisition;
F. successful match is determined whether according at least to the relationship of the matching score value and preset threshold.
3. debt-credit matching process according to claim 2, which is characterized in that step A further comprises:
A1. the credit grade of the loaning bill node is read from the block chain account book, the credit grade is by the air control
Node executes the intelligent contract of the amendment and generates and the block chain account book is written;
Wherein, the matching detection further includes the matching inspection between the credit grade and preset rating conditions of the loaning bill node
It surveys, the preset rating conditions include desired credit grade;
Step F further comprises:
F1. if the credit grade of the loaning bill node is not less than desired credit grade, and the matching score value is more than or equal to
The preset threshold, it is determined that successful match.
4. a kind of signal auditing method based on block chain network characterized by comprising
O. loaning bill solicited message is read from block chain account book, the loaning bill solicited message includes the mark of loaning bill node, type
Label and tag state;
It P. is non-review state in response to the tag state, triggering, which executes, corrects intelligent contract, and the tag state is updated
To check state;
Q. the block chain account book is written into updated loaning bill solicited message.
5. signal auditing method according to claim 4, which is characterized in that the non-review state is original state or repairs
The tag state is arranged when the block chain account book is written in the loaning bill solicited message for positive status, the loaning bill node
For original state, in the block chain network execute the amendment intelligence contract into part node after update the tag state and be
Simultaneously the block chain account book is written in amendment state.
6. signal auditing method according to claim 4, which is characterized in that the loaning bill solicited message further includes that user belongs to
Property information, the amendment intelligent contract executes following steps when being triggered:
R. it is verified according at least to type label of the customer attribute information to the loaning bill node;
S. do not pass through in response to the type label verifying of the loaning bill node, update the type label, and by the label-like
State is updated to review state.
7. signal auditing method according to claim 6, which is characterized in that the amendment intelligent contract is also held when being triggered
Row following steps:
T. it is verified in response to the type label of the loaning bill node, the tag state is updated to review state.
8. signal auditing method according to claim 6 or 7, which is characterized in that step R further comprises:
R1. local attribute information associated with the loaning bill node is obtained from default memory space, the default storage is empty
Between be independent from each other with the block chain account book;
R2. the type label of the loaning bill node is tested according to the customer attribute information and the local attribute information
Card.
9. a kind of calculating equipment, which is characterized in that including processor and memory, being stored on the memory can be described
The computer instruction run on processor, the processor execute following steps when running the computer instruction:
A. loaning bill solicited message is read from block chain account book, the loaning bill solicited message includes the mark of loaning bill node, type
Label and tag state;
B. the tag state for detecting the loaning bill node, is review state in response to the tag state, and triggering executes matching intelligence
Can contract, to carry out matching detection, the matching detection include the loaning bill node type label and present node it is preset
Matching detection between label condition, wherein the air control node in the block chain network updates after executing the intelligent contract of amendment
The tag state is review state and the block chain account book is written;
C. matching result is generated, and broadcasts the matching result, the matching result is written by the block chain account book with request,
The matching result include the mark of the loaning bill node, the mark of the present node and whether successful match.
10. calculating equipment according to claim 9, which is characterized in that the label condition includes what at least one was required
Type label, the type label of each requirement have a label score value, the matching intelligence contract when being triggered the processor hold
Row following steps:
D. the type label of the loaning bill node and the type label of each requirement are subjected to matching detection, if the requirement
Type label is matched, then obtains the label score value of the type label of the requirement;
E. the matching score value of the loaning bill node is calculated according to whole label score values of acquisition;
F. successful match is determined whether according at least to the relationship of the matching score value and preset threshold.
11. calculating equipment according to claim 10, which is characterized in that further executed when the processor step A with
Lower step:
A1. the credit grade of the loaning bill node is read from the block chain account book, the credit grade is by the air control
Node executes the intelligent contract of the amendment and generates and the block chain account book is written;
Wherein, the matching detection further includes the matching inspection between the credit grade and preset rating conditions of the loaning bill node
It surveys, the preset rating conditions include desired credit grade;
The processor further performs the step of when executing step F:
F1. if the credit grade of the loaning bill node is not less than desired credit grade, and the matching score value is more than or equal to
The preset threshold, it is determined that successful match.
12. a kind of calculating equipment, which is characterized in that including processor and memory, being stored on the memory can be in institute
The computer instruction run on processor is stated, the processor executes following steps when running the computer instruction:
O. loaning bill solicited message is read from block chain account book, the loaning bill solicited message includes the mark of loaning bill node, type
Label and tag state;
It P. is non-review state in response to the tag state, triggering, which executes, corrects intelligent contract, and the tag state is updated
To check state;
Q. the block chain account book is written into updated loaning bill solicited message.
13. calculating equipment according to claim 12, which is characterized in that the non-review state is original state or amendment
State, the loaning bill node set the tag state to when the block chain account book is written in the loaning bill solicited message
Original state, in the block chain network execute the intelligent contract of the amendment into part node after update the tag state to repair
Simultaneously the block chain account book is written in positive status.
14. calculating equipment according to claim 12, which is characterized in that the loaning bill solicited message further includes user property
Information, the amendment intelligent contract processor execution following steps when being triggered:
R. it is verified according at least to type label of the customer attribute information to the loaning bill node;
S. do not pass through in response to the type label verifying of the loaning bill node, update the type label, and by the label-like
State is updated to review state.
15. calculating equipment according to claim 14, which is characterized in that the amendment intelligent contract also executes when being triggered
Following steps:
T. it is verified in response to the type label of the loaning bill node, the tag state is updated to review state.
16. calculating equipment according to claim 14 or 15, which is characterized in that step R further comprises:
R1. local attribute information associated with the loaning bill node is obtained from default memory space, the default storage is empty
Between be independent from each other with the block chain account book;
R2. the type label of the loaning bill node is tested according to the customer attribute information and the local attribute information
Card.
17. a kind of storage medium, is stored thereon with computer instruction, which is characterized in that the computer instruction executes when running
The step of debt-credit matching process described in any one of claims 1 to 3 based on block chain network, alternatively, perform claim requires 4
The step of to signal auditing method based on block chain network described in any one of 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811596335.9A CN109727121A (en) | 2018-12-25 | 2018-12-25 | Debt-credit matching process, signal auditing method based on block chain network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811596335.9A CN109727121A (en) | 2018-12-25 | 2018-12-25 | Debt-credit matching process, signal auditing method based on block chain network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109727121A true CN109727121A (en) | 2019-05-07 |
Family
ID=66296410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811596335.9A Pending CN109727121A (en) | 2018-12-25 | 2018-12-25 | Debt-credit matching process, signal auditing method based on block chain network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109727121A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110675249A (en) * | 2019-09-25 | 2020-01-10 | 深圳前海桔子信息技术有限公司 | Matching method, device, server and storage medium for network lending |
CN113240530A (en) * | 2021-04-30 | 2021-08-10 | 中通服创发科技有限责任公司 | Financing method and equipment based on block chain intelligent contract technology |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107369008A (en) * | 2017-07-17 | 2017-11-21 | 北京京东金融科技控股有限公司 | For improving management method, the apparatus and system of bill business security |
CN108229981A (en) * | 2018-01-29 | 2018-06-29 | 杭州云象网络技术有限公司 | A kind of anti-fake source tracing method of supply chain finance based on block chain |
CN109064319A (en) * | 2018-09-21 | 2018-12-21 | 重庆小雨点小额贷款有限公司 | Debt-credit method, apparatus, server and storage medium based on block chain |
CN109064321A (en) * | 2018-10-31 | 2018-12-21 | 曾文华 | A kind of automatic balance system and method |
-
2018
- 2018-12-25 CN CN201811596335.9A patent/CN109727121A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107369008A (en) * | 2017-07-17 | 2017-11-21 | 北京京东金融科技控股有限公司 | For improving management method, the apparatus and system of bill business security |
CN108229981A (en) * | 2018-01-29 | 2018-06-29 | 杭州云象网络技术有限公司 | A kind of anti-fake source tracing method of supply chain finance based on block chain |
CN109064319A (en) * | 2018-09-21 | 2018-12-21 | 重庆小雨点小额贷款有限公司 | Debt-credit method, apparatus, server and storage medium based on block chain |
CN109064321A (en) * | 2018-10-31 | 2018-12-21 | 曾文华 | A kind of automatic balance system and method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110675249A (en) * | 2019-09-25 | 2020-01-10 | 深圳前海桔子信息技术有限公司 | Matching method, device, server and storage medium for network lending |
CN113240530A (en) * | 2021-04-30 | 2021-08-10 | 中通服创发科技有限责任公司 | Financing method and equipment based on block chain intelligent contract technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11444777B2 (en) | Method and system for providing validated, auditable, and immutable inputs to a smart contract | |
US10698795B2 (en) | Virtual payments environment | |
CN109345388A (en) | Block chain intelligence contract verification method, device and storage medium | |
US20180374098A1 (en) | Modeling method and device for machine learning model | |
CN109472596A (en) | Alliance's chain common recognition method and system based on transaction assessment | |
CN108428184A (en) | Data processing method, storage medium when a kind of taking out insurances and server | |
CN110177079A (en) | The calling system and call method of intelligent contract | |
CN110798467B (en) | Target object identification method and device, computer equipment and storage medium | |
CN109033772A (en) | A kind of input method and device of verification information | |
CN112100667B (en) | Charity organization supervision and management method based on novel block chain structure | |
CN109992285A (en) | Block chain code block standalone upgrade method, apparatus and electronic equipment | |
CN108830443A (en) | A kind of contract review method and device | |
CN108255702A (en) | A kind of test case creation method, apparatus, equipment and storage medium | |
CN109543192A (en) | Natural language analytic method, device, equipment and storage medium | |
CN109636181A (en) | A kind of user credit divides calculation method and system | |
CN113468520A (en) | Data intrusion detection method applied to block chain service and big data server | |
CN111782551B (en) | Test method and device for block chain item and computer equipment | |
CN109727121A (en) | Debt-credit matching process, signal auditing method based on block chain network | |
CN109189859A (en) | Node initializing method and apparatus in block chain network | |
CN111582315A (en) | Sample data processing method and device and electronic equipment | |
CN110968511A (en) | Recommendation engine testing method, device, computing equipment and system | |
CN110460471A (en) | A kind of super node polling method, device and storage medium | |
CN110176998A (en) | A kind of common recognition method, apparatus, equipment and the storage medium of proof of work | |
CN110009012A (en) | A kind of risk specimen discerning method, apparatus and electronic equipment | |
CN112199715B (en) | Object generation method based on block chain and cloud computing and digital financial service center |
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 |
Application publication date: 20190507 |
|
WD01 | Invention patent application deemed withdrawn after publication |