CN109784918A - Information measure of supervision, device, equipment and storage medium based on block chain - Google Patents
Information measure of supervision, device, equipment and storage medium based on block chain Download PDFInfo
- Publication number
- CN109784918A CN109784918A CN201811535835.1A CN201811535835A CN109784918A CN 109784918 A CN109784918 A CN 109784918A CN 201811535835 A CN201811535835 A CN 201811535835A CN 109784918 A CN109784918 A CN 109784918A
- Authority
- CN
- China
- Prior art keywords
- newly
- node
- transaction
- chain
- increased
- 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
- 239000000284 extract Substances 0.000 claims abstract description 12
- 238000012550 audit Methods 0.000 claims abstract description 11
- 230000004044 response Effects 0.000 claims description 7
- 230000002123 temporal effect Effects 0.000 claims description 7
- 238000012544 monitoring process Methods 0.000 claims description 4
- 238000012163 sequencing technique Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Abstract
This application involves block chain technical field more particularly to a kind of information measure of supervision, device, computer equipment and storage mediums based on block chain.The node cryptographic Hash and ID mark for obtaining the newly-increased node of initial chain, audit the cryptographic Hash and ID mark, will form new block after newly-increased node described in the initial chain typing if if auditing, and otherwise increase node described in not typing newly;The position for obtaining the newly-increased node in the initial chain extracts the feature code of the newly-increased node from the information of the newly-increased node location, and the Chain of Custody for increasing node and supervisory node described in connection newly is established according to the feature code;Introducing problem Transaction Information broadcasts described problem Transaction Information to the Chain of Custody, obtains the Chain of Custody to the recognition result of described problem Transaction Information in the newly-increased node.The application effectively supervises the Transaction Information of original block chain by adding Chain of Custody on the basis of original block chain.
Description
Technical field
This application involves block chain technical field more particularly to it is a kind of by the information measure of supervision of block chain, device, based on
Calculate machine equipment and storage medium.
Background technique
The mode for obtaining the outer data of chain is usually actively to send transaction request to block chain from data providing outside chain, by chain
The data that outer data providing provides are written in the data source of block catenary system, other are needed using data on block catenary system
Participant, obtain corresponding data from specified data source.In the block chain network of uncontrolled environment, the outer data source of chain and
Data providing is freely accessible in block chain network.
In existing block chain network, the block chain that original transaction carries out is commonly known as initial chain, and initial
Transaction may be led to the problem of because of factors such as the block chain networks of uncontrolled environment in chain, for example mistake occurs in the number traded
Deng;Especially when increasing the newly-increased node for carrying out transmission of transaction data on initial chain newly, due to lacking in initial chain to problem
Transaction Information carries out the supervisory node of problem information supervision, and leading to not trade to problem is effectively identified.
Summary of the invention
In view of this, it is necessary to which for block chain, there is can not supervise to each section transaction in chain in use
The problem of pipe, provides a kind of information measure of supervision, device, computer equipment and storage medium based on block chain.
A kind of information measure of supervision based on block chain, includes the following steps:
The node cryptographic Hash and ID mark for obtaining the newly-increased node of initial chain, carry out the cryptographic Hash and ID mark
Audit will form new block after newly-increased node described in the initial chain typing if if auditing, otherwise new described in not typing
Increase node;
The position for obtaining the newly-increased node in the initial chain extracts described from the information of the newly-increased node location
The feature code of newly-increased node establishes the Chain of Custody for increasing node and supervisory node described in connection newly according to the feature code;
Introducing problem Transaction Information is broadcasted described problem Transaction Information to the Chain of Custody, is obtained in the newly-increased node
Recognition result of the Chain of Custody to described problem Transaction Information.
The node cryptographic Hash of the newly-increased node for obtaining initial chain and ID mark in one of the embodiments, to institute
It states cryptographic Hash and ID mark is audited, formation is new after increasing node described in the initial chain typing newly if audit passes through
Block, otherwise described in not typing increase newly node, comprising:
The position institute of the newly-increased node is extracted in the transaction for obtaining the newly-increased node from the transaction of the newly-increased node
Corresponding node cryptographic Hash and ID mark;
Splice the node cryptographic Hash and ID mark, obtains the feature string of the newly-increased node;
The corresponding transaction of the feature string is obtained, by the transaction as verifying transaction;
Obtain transaction results of the verifying transaction at the newly-increased node;
If the transaction results are consistent with notional result, the audit of the newly-increased node passes through, and otherwise destroys described new
Increase node, the notional result is calculated according to the cryptographic Hash of the verifying transaction and obtained.
The position for obtaining the newly-increased node in the initial chain in one of the embodiments, from the newly-increased section
The feature code that the newly-increased node is extracted in the information of point position, establishes according to the feature code and increases section described in connection newly
The Chain of Custody of point and supervisory node, comprising:
The ID of the newly-increased node is identified after the IP address in table corresponding with IP address is compared and obtains described increase newly
The IP address of node, the IP address correspond to table storage in the server;
It sends to the newly-increased node with tagged Transaction Information, it is tagged to the band according to the newly-increased node
The feedback result of Transaction Information generates the feature code of the newly-increased node;
Obtain the corresponding public key of the feature code perhaps private key according to the public key or the private key and supervisory node
Corresponding relationship, broadcast the feature code to corresponding supervisory node;
The characteristic character in the feature code is obtained, by the characteristic character and the supervisory node in the feature code
Characteristic character be compared, if comparison result both be it is consistent, built between the supervisory node and the newly-increased node
Otherwise vertical Chain of Custody broadcasts the feature code to other supervisory nodes.
The introducing problem Transaction Information is broadcasted described problem and is handed in the newly-increased node in one of the embodiments,
Easy information obtains the Chain of Custody to the recognition result of described problem Transaction Information to the Chain of Custody, comprising:
It is added beyond the data of transaction threshold into arm's length dealing, obtains problem transaction corresponding to the arm's length dealing, it will
Described problem transaction is introduced into the newly-increased node, and the transaction threshold is obtained by historical data;
The corresponding Chain of Custody ID of the newly-increased node is obtained, is broadcasted described problem transaction to institute according to the Chain of Custody ID
State corresponding supervisory node on Chain of Custody;
The idempotent value of described problem transaction is obtained, whether the idempotent value is for identifying described problem transaction other described
Carried out in Chain of Custody it is authenticated, if the idempotent value be 1, indicate described problem transaction is not verified in other Chain of Custody
It crosses, then obtains the transaction code of described problem transaction, otherwise, indicate not authenticated in other Chain of Custody, then stop testing
Card;
The transaction code is decomposed, the part more than the transaction threshold is obtained, obtains the identification traded to described problem
As a result.
The transaction for obtaining the newly-increased node in one of the embodiments, from the transaction of the newly-increased node
Extract node cryptographic Hash corresponding to the position of the newly-increased node and ID mark, comprising:
The transaction occurred at newly-increased node is obtained, the transaction contract between the newly-increased node and original node is called, is known
The sender and recipient of the not described transaction, the transaction contract storage is in the server;
From the cryptographic Hash that extracts the sender in the transaction data of the sender and the recipient and described connect
The cryptographic Hash of debit;
The cryptographic Hash of the sender and the cryptographic Hash of the recipient are made the difference, the cryptographic Hash of the transaction, institute are obtained
State node cryptographic Hash of the cryptographic Hash of transaction as the newly-increased node;
Original node of the transaction into the initial chain is broadcasted, after acquisition original node receives the transaction
The changing value of cryptographic Hash;
Extracted from the changing value with the immediate cryptographic Hash of the cryptographic Hash of the transaction, with this cryptographic Hash work
It is identified for the ID of the newly-increased node.
It is described in one of the embodiments, to send to the newly-increased node with tagged Transaction Information, according to described
Newly-increased node generates the feature code of the newly-increased node to the feedback result of the tagged Transaction Information of the band, comprising:
It sends to the newly-increased node with tagged Transaction Information;
Obtain response time and mode of doing business of the newly-increased node to the tagged Transaction Information of the band;
Temporal characteristics code is obtained according to the response time, transaction feature code is obtained according to the mode of doing business;
The feature code of the Transaction Information is obtained after splicing the temporal characteristics code and the transaction feature code.
It is described in one of the embodiments, to obtain the corresponding Chain of Custody ID of the newly-increased node, according to the Chain of Custody
ID broadcasts described problem transaction to corresponding supervisory node on the Chain of Custody, comprising:
According to the time sequencing of the generation of the Chain of Custody, the Chain of Custody is assigned with Chain of Custody ID;
The generation time for obtaining the newly-increased node obtains the prison generated in the same time according to the generation time
Pipe chain ID;
Described problem transaction is broadcasted in the supervisory node of the corresponding Chain of Custody ID.
A kind of information monitoring apparatus based on block chain, including following module:
Newly-increased node module is generated, is set as obtaining the node cryptographic Hash of the newly-increased node of initial chain and ID mark, to institute
It states cryptographic Hash and ID mark is audited, formation is new after increasing node described in the initial chain typing newly if audit passes through
Block, otherwise described in not typing increase newly node;
Chain of Custody module is connected, is set as obtaining the position of the newly-increased node in the initial chain, from the newly-increased node
The feature code that the newly-increased node is extracted in the information of position is established according to the feature code and increases node described in connection newly
With the Chain of Custody of supervisory node;
It identifies problem information module, is set as introducing problem Transaction Information in the newly-increased node, broadcasts described problem and hand over
Easy information obtains the Chain of Custody to the recognition result of described problem Transaction Information to the Chain of Custody.
A kind of computer equipment, including memory and processor are stored with computer-readable instruction in the memory, institute
When stating computer-readable instruction and being executed by the processor, so that the processor executes the above-mentioned information supervision based on block chain
The step of method.
A kind of storage medium being stored with computer-readable instruction, the computer-readable instruction are handled by one or more
When device executes, so that the step of one or more processors execute the above-mentioned information measure of supervision based on block chain.
Above-mentioned information measure of supervision, device, computer equipment and storage medium based on block chain, including obtain initial chain
Newly-increased node node cryptographic Hash and ID mark, to the cryptographic Hash and the ID mark audit, if audit pass through if
New block is formed after node being increased newly described in the initial chain typing, otherwise increases node described in not typing newly;It obtains described first
The position of newly-increased node in beginning chain extracts the feature generation of the newly-increased node from the information of the newly-increased node location
Code establishes the Chain of Custody for increasing node and supervisory node described in connection newly according to the feature code;Introducing problem Transaction Information in
The newly-increased node, broadcast described problem Transaction Information to the Chain of Custody obtain the Chain of Custody and trade to described problem and believe
The recognition result of breath.The technical program is aiming at the problem that block chain information can not supervise, by the basis of original block chain
Chain of Custody is added effectively to supervise the Transaction Information of original block chain.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the application
Limitation.
Fig. 1 is a kind of overall flow figure of the information measure of supervision based on block chain of the application in one embodiment;
Fig. 2 is the newly-increased section of generation in a kind of information measure of supervision based on block chain of the application in one embodiment
Point process schematic diagram;
Fig. 3 is the connection Chain of Custody in a kind of information measure of supervision based on block chain of the application in one embodiment
Process schematic;
Fig. 4 is a kind of structure chart of the information monitoring apparatus based on block chain of the application in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and
It is not used in restriction the application.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in the description of the present application
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.
Fig. 1 is a kind of overall flow figure of the information measure of supervision based on block chain of the application in one embodiment,
As shown in Figure 1, a kind of information measure of supervision based on block chain, comprising the following steps:
S1 obtains the node cryptographic Hash and ID mark of the newly-increased node of initial chain, identifies to the cryptographic Hash and the ID
It is audited, new block will be formed after newly-increased node described in the initial chain typing if if auditing, otherwise not typing institute
State newly-increased node;
Specifically, cryptographic Hash is a kind of method for creating small number " fingerprint " from any kind of data.Calculate Hash
The hash function of value is also known as hash function, message or data compression at abstract, so that data volume becomes smaller, by the lattice of data
Formula is fixed up.Data are upset mixing by the function, re-create the fingerprint for being called hashed value.Hashed value usually uses one
Short random letters are represented with the digital character string formed.Seldom there is hash collision in input domain in good hash function.
In hash table and Data processing, does not inhibit conflict to carry out distinguishes data, data-base recording can be made to be more difficult to find.
S2 obtains the position of the newly-increased node in the initial chain, extracts from the information of the newly-increased node location
The feature code of the newly-increased node establishes the supervision for increasing node and supervisory node described in connection newly according to the feature code
Chain;
Specifically, can carry out dns resolution when determining the position of newly-increased node to the IP address of newly-increased node, obtain
Dns resolution code, the then positional relationship according to dns resolution code in preset DNS code table, to determine newly-increased node
IP address, and then obtain the position of the newly-increased node in initial chain.The available newly-increased node of feature code of newly-increased node
Cryptographic Hash obtains feature code after then carrying out binary conversion treatment according to cryptographic Hash.
S3 introduces problem Transaction Information in the newly-increased node, broadcasts described problem Transaction Information to the Chain of Custody, obtain
Take the Chain of Custody to the recognition result of described problem Transaction Information.
Wherein, problem Transaction Information can be unfinished transaction or error in data occurs during transaction,
Cause the data of transaction initiator can not be corresponding with the data of transaction acceptance side.
The present embodiment can effectively supervise the Transaction Information on initial chain by the way that Chain of Custody is arranged on initial chain
Pipe, to prevent the transaction in initial chain from mistake occurs.
Fig. 2 is the newly-increased section of generation in a kind of information measure of supervision based on block chain of the application in one embodiment
Point process schematic diagram, as shown, the node cryptographic Hash of the newly-increased node for obtaining initial chain and ID mark, to the Hash
Value and ID mark are audited, and will form new area after newly-increased node described in the initial chain typing if if auditing
Otherwise block increases node newly described in not typing, comprising:
S101, the transaction for obtaining the newly-increased node, extract the newly-increased node from the transaction of the newly-increased node
Node cryptographic Hash corresponding to position and ID mark;
Specifically, the timing node of several information collections can be set, at that time segmentum intercalaris when obtaining the transaction of newly-increased node
When point arrives, transaction data is crawled from newly-increased node using tools such as web crawlers, ID is then inquired from transaction data
Mark.
S102, the splicing node cryptographic Hash and ID mark, obtain the feature string of the newly-increased node;
Specifically, cryptographic Hash can be placed on front end when carrying out node cryptographic Hash and ID mark splicing, it can also be by ID
Mark is placed on front end, ID mark is usually placed on primary identifier of the front end as feature string, in order to which subsequent step is to spy
Levy the identification of character string.
S103, the corresponding transaction of the feature string is obtained, by the transaction as verifying transaction;
Specifically, including in feature string in ID mark or cryptographic Hash in the corresponding transaction of feature string
At least one.
S104, transaction results of the verifying transaction at the newly-increased node are obtained;
If the transaction results are consistent with notional result, the audit of the newly-increased node passes through, and otherwise destroys described new
Increase node, the notional result is calculated according to the cryptographic Hash of the verifying transaction and obtained.
The present embodiment, by can preferably determine and increase section in initial chain newly to verifying transaction is introduced at newly-increased node
The qualification of point is authorized.
Fig. 3 is the connection Chain of Custody in a kind of information measure of supervision based on block chain of the application in one embodiment
Process schematic, as shown, the position for obtaining the newly-increased node in the initial chain, from the newly-increased node location
The feature code that the newly-increased node is extracted in information is established according to the feature code and increases node and supervision described in connection newly
The Chain of Custody of node, comprising:
S201, the ID of the newly-increased node identified obtained after the IP address in table corresponding with IP address is compared described in
The IP address of newly-increased node, the IP address correspond to table storage in the server;
Specifically, when the ID to newly-increased node identifies the IP address in table corresponding with IP address and is compared, Ke Yiying
IP address is inquired with structured query language SQL, table then is corresponded to IP address and is first inquired, then carries out column and looks into
It askes.
S202, it sends to the newly-increased node with tagged Transaction Information, is had according to the newly-increased node to described
The feedback result of the Transaction Information of mark generates the feature code of the newly-increased node;
Wherein, feedback result is parsed after the feedback result for receiving Transaction Information, extracts in feedback result and hands over
Easy initial time and termination time, then using initial time and termination time as the feature code of newly-increased node.
Perhaps private key according to the public key or the private key and is supervised for S203, the corresponding public key of the acquisition feature code
The corresponding relationship of pipe node broadcasts the feature code to corresponding supervisory node;
Wherein, public key and private key are the key pairs obtained by a kind of algorithm, and public key is portion disclosed in cipher key pair
Point, private key is then private part.Public key can use phase commonly used in encrypted session key, verifying digital signature, or encryption
The data for the private key decryption answered.Can guarantee it is worldwide unique by the key pair that this algorithm obtains.Use this
When a key pair, if encrypting one piece of data with one of key, it is necessary to be decrypted with another key.
Characteristic character in S204, the acquisition feature code, by the characteristic character and the prison in the feature code
The characteristic character of pipe node is compared, if comparison result is that the two is consistent, in the supervisory node and the newly-increased node
Between establish Chain of Custody, otherwise, broadcast the feature code to other supervisory nodes.
The present embodiment is determined the setting of the supervisory node of Chain of Custody by public key or private key, can be effective
Transaction for newly-increased node is supervised.
In one embodiment, the introducing problem Transaction Information broadcasts described problem transaction letter in the newly-increased node
Breath obtains the Chain of Custody to the recognition result of described problem Transaction Information to the Chain of Custody, comprising:
It is added beyond the data of transaction threshold into arm's length dealing, obtains problem transaction corresponding to the arm's length dealing, it will
Described problem transaction is introduced into the newly-increased node, and the transaction threshold is obtained by historical data;
Specifically, transaction threshold can be the amount of transaction, it is also possible to the number etc. of transaction, such as transaction threshold setting
It is 10000 yuan for the amount of money, becomes problem if the amount of money in transaction is greater than 10000 yuan and trade.
The corresponding Chain of Custody ID of the newly-increased node is obtained, is broadcasted described problem transaction to institute according to the Chain of Custody ID
State corresponding supervisory node on Chain of Custody;
The idempotent value of described problem transaction is obtained, whether the idempotent value is for identifying described problem transaction other described
Carried out in Chain of Custody it is authenticated, if the idempotent value be 1, indicate described problem transaction is not verified in other Chain of Custody
It crosses, then obtains the transaction code of described problem transaction, otherwise, indicate not authenticated in other Chain of Custody, then stop testing
Card;
Wherein, idempotent value is to be solved to obtain by idempotent function, and idempotent function refers to that identical parameters, which can be used, to be repeated,
And the function of identical result can be obtained.These functions will not influence system mode, can make to system without worrying to repeat
At change.
The transaction code is decomposed, the part more than the transaction threshold is obtained, obtains the identification traded to described problem
As a result.
The present embodiment has carried out effective identification to problem transaction results by idempotent method.
In one embodiment, the transaction for obtaining the newly-increased node, is extracted from the transaction of the newly-increased node
Node cryptographic Hash corresponding to the position of the newly-increased node and ID mark, comprising:
The transaction occurred at newly-increased node is obtained, the transaction contract between the newly-increased node and original node is called, is known
The sender and recipient of the not described transaction, the transaction contract storage is in the server;
Specifically, transaction contract is cannot distorting of making an appointment of both parties, at the new line of transaction contract
It would generally show the title of the both sides of transaction, the location information etc. of both parties is then gone out according to the name query of both parties.
From the cryptographic Hash that extracts the sender in the transaction data of the sender and the recipient and described connect
The cryptographic Hash of debit;
The cryptographic Hash of the sender and the cryptographic Hash of the recipient are made the difference, the cryptographic Hash of the transaction, institute are obtained
State node cryptographic Hash of the cryptographic Hash of transaction as the newly-increased node;
Original node of the transaction into the initial chain is broadcasted, after acquisition original node receives the transaction
The changing value of cryptographic Hash;
Specifically, corresponding cryptographic Hash can also generate accordingly since data change after original node receives transaction
Variation, and change have uniqueness.
Extracted from the changing value with the immediate cryptographic Hash of the cryptographic Hash of the transaction, with this cryptographic Hash work
It is identified for the ID of the newly-increased node.
The present embodiment promotes the accuracy for determining the position of newly-increased node by the variation to cryptographic Hash in process of exchange.
In one embodiment, described to send to the newly-increased node with tagged Transaction Information, according to described newly-increased
Node generates the feature code of the newly-increased node to the feedback result of the tagged Transaction Information of the band, comprising:
It sends to the newly-increased node with tagged Transaction Information;
Obtain response time and mode of doing business of the newly-increased node to the tagged Transaction Information of the band;
Specifically, the response time is the difference of the receiving time from the sending time of sending counterparty to reception counterparty,
Mode of doing business is primarily referred to as payment method, is being paid the bill after the completion of first paying the bill or waiting transaction.
Temporal characteristics code is obtained according to the response time, transaction feature code is obtained according to the mode of doing business;
The feature code of the Transaction Information is obtained after splicing the temporal characteristics code and the transaction feature code.
Specifically, temporal characteristics code is usually placed on front end in splicing, Transaction Information feature code is placed on rear end.
The present embodiment is analyzed by the generation to feature code, so that Transaction Information is more easier to identify.
In one embodiment, described to obtain the corresponding Chain of Custody ID of the newly-increased node, it will according to the Chain of Custody ID
Described problem transaction is broadcasted to corresponding supervisory node on the Chain of Custody, comprising:
According to the time sequencing of the generation of the Chain of Custody, the Chain of Custody is assigned with Chain of Custody ID;
Specifically, the ID of this Chain of Custody is 10 if being 10:15 if the generation time of a certain Chain of Custody.
The generation time for obtaining the newly-increased node obtains the prison generated in the same time according to the generation time
Pipe chain ID;
Wherein, the same time in this step refers to the generation time of newly-increased node within the Chain of Custody ID corresponding period
The as same time.
Described problem transaction is broadcasted in the supervisory node of the corresponding Chain of Custody ID.
The present embodiment is improved by the way that newly-increased node and Chain of Custody to be effectively matched for newly-increased node transaction letter
The supervision of breath.
In one embodiment it is proposed that information monitoring apparatus based on block chain, as shown in figure 4, including following module:
Newly-increased node module is generated, is set as obtaining the node cryptographic Hash of the newly-increased node of initial chain and ID mark, to institute
It states cryptographic Hash and ID mark is audited, formation is new after increasing node described in the initial chain typing newly if audit passes through
Block, otherwise described in not typing increase newly node;
Chain of Custody module is connected, is set as obtaining the position of the newly-increased node in the initial chain, from the newly-increased node
The feature code that the newly-increased node is extracted in the information of position is established according to the feature code and increases node described in connection newly
With the Chain of Custody of supervisory node;
It identifies problem information module, is set as introducing problem Transaction Information in the newly-increased node, broadcasts described problem and hand over
Easy information obtains the Chain of Custody to the recognition result of described problem Transaction Information to the Chain of Custody.
A kind of computer equipment, including memory and processor are stored with computer-readable instruction in the memory, institute
When stating computer-readable instruction and being executed by the processor, so that the processor, which executes, is based on area described in the various embodiments described above
The step of information measure of supervision of block chain.
A kind of storage medium being stored with computer-readable instruction, the computer-readable instruction are handled by one or more
When device executes, so that one or more processors execute the information measure of supervision based on block chain described in the various embodiments described above
Step.The storage medium can be non-volatile memory medium.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of the technical characteristic in example to be all described, as long as however, lance is not present in the combination of these technical characteristics
Shield all should be considered as described in this specification.
The some exemplary embodiments of the application above described embodiment only expresses, wherein describe it is more specific and detailed,
But it cannot be understood as the limitations to the application the scope of the patents.It should be pointed out that for the ordinary skill of this field
For personnel, without departing from the concept of this application, various modifications and improvements can be made, these belong to the application
Protection scope.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of information measure of supervision based on block chain characterized by comprising
The node cryptographic Hash and ID mark for obtaining the newly-increased node of initial chain, examine the cryptographic Hash and ID mark
Core will form new block after newly-increased node described in the initial chain typing if if auditing, otherwise increase newly described in not typing
Node;
The position for obtaining the newly-increased node in the initial chain extracts described newly-increased from the information of the newly-increased node location
The feature code of node establishes the Chain of Custody for increasing node and supervisory node described in connection newly according to the feature code;
Introducing problem Transaction Information broadcasts described problem Transaction Information to the Chain of Custody, described in acquisition in the newly-increased node
Recognition result of the Chain of Custody to described problem Transaction Information.
2. the information measure of supervision according to claim 1 based on block chain, which is characterized in that the initial chain of acquisition
The node cryptographic Hash and ID mark of newly-increased node, audit the cryptographic Hash and ID mark, will if if auditing
New block is formed after increasing node newly described in the initial chain typing, otherwise increases node described in not typing newly, comprising:
The transaction for obtaining the newly-increased node, corresponding to the position that the newly-increased node is extracted from the transaction of the newly-increased node
Node cryptographic Hash and ID mark;
Splice the node cryptographic Hash and ID mark, obtains the feature string of the newly-increased node;
The corresponding transaction of the feature string is obtained, by the transaction as verifying transaction;
Obtain transaction results of the verifying transaction at the newly-increased node;
If the transaction results are consistent with notional result, the audit of the newly-increased node passes through, and otherwise destroys the newly-increased section
Point, the notional result are calculated according to the cryptographic Hash of the verifying transaction and are obtained.
3. the information measure of supervision according to claim 1 based on block chain, which is characterized in that the acquisition is described initial
The position of newly-increased node in chain extracts the feature code of the newly-increased node from the information of the newly-increased node location,
The Chain of Custody for increasing node and supervisory node described in connection newly is established according to the feature code, comprising:
The ID of the newly-increased node is identified after the IP address in table corresponding with IP address is compared and obtains the newly-increased node
IP address, the IP address correspond to table storage in the server;
It sends to the newly-increased node with tagged Transaction Information, according to the newly-increased node to the tagged transaction of the band
The feedback result of information generates the feature code of the newly-increased node;
Obtain the corresponding public key of the feature code perhaps private key according to the public key or pair of the private key and supervisory node
It should be related to, broadcast the feature code to corresponding supervisory node;
The characteristic character in the feature code is obtained, by the spy of characteristic character and the supervisory node in the feature code
Sign character is compared, if comparison result is that the two is consistent, prison is established between the supervisory node and the newly-increased node
Otherwise pipe chain broadcasts the feature code to other supervisory nodes.
4. the information measure of supervision according to claim 1 based on block chain, which is characterized in that the introducing problem transaction
Information broadcasts described problem Transaction Information to the Chain of Custody, obtains the Chain of Custody to described problem in the newly-increased node
The recognition result of Transaction Information, comprising:
It is added beyond the data of transaction threshold into arm's length dealing, obtains problem transaction corresponding to the arm's length dealing, it will be described
Problem transaction is introduced into the newly-increased node, and the transaction threshold is obtained by historical data;
The corresponding Chain of Custody ID of the newly-increased node is obtained, is broadcasted described problem transaction to the prison according to the Chain of Custody ID
Corresponding supervisory node on pipe chain;
The idempotent value of described problem transaction is obtained, whether the idempotent value is for identifying described problem transaction in other supervision
Carried out in chain it is authenticated, if the idempotent value be 1, indicate described problem transaction it is not authenticated in other Chain of Custody, then
The transaction code of described problem transaction is obtained, otherwise, indicates not authenticated in other Chain of Custody, then stops verifying;
The transaction code is decomposed, the part more than the transaction threshold is obtained, obtains the recognition result traded to described problem.
5. the information measure of supervision according to claim 1 based on block chain, which is characterized in that described to obtain described increase newly
Node cryptographic Hash and ID corresponding to the position of the newly-increased node are extracted in the transaction of node from the transaction of the newly-increased node
Mark, comprising:
The transaction occurred at newly-increased node is obtained, the transaction contract between the newly-increased node and original node is called, identifies institute
The sender and recipient of transaction are stated, the transaction contract storage is in the server;
From the cryptographic Hash and the recipient for extracting the sender in the transaction data of the sender and the recipient
Cryptographic Hash;
The cryptographic Hash of the sender and the cryptographic Hash of the recipient are made the difference, the cryptographic Hash of the transaction, the friendship are obtained
Node cryptographic Hash of the easy cryptographic Hash as the newly-increased node;
Original node of the transaction into the initial chain is broadcasted, original node is obtained and receives the Hash after the transaction
The changing value of value;
Extracted from the changing value with the immediate cryptographic Hash of the cryptographic Hash of the transaction, using this cryptographic Hash as institute
State the ID mark of newly-increased node.
6. the information measure of supervision according to claim 1 based on block chain, which is characterized in that described to the newly-increased section
Point is sent with tagged Transaction Information, according to the newly-increased node to the feedback result of the tagged Transaction Information of the band,
Generate the feature code of the newly-increased node, comprising:
It sends to the newly-increased node with tagged Transaction Information;
Obtain response time and mode of doing business of the newly-increased node to the tagged Transaction Information of the band;
Temporal characteristics code is obtained according to the response time, transaction feature code is obtained according to the mode of doing business;
The feature code of the Transaction Information is obtained after splicing the temporal characteristics code and the transaction feature code.
7. the information measure of supervision according to claim 1 based on block chain, which is characterized in that described to obtain described increase newly
The corresponding Chain of Custody ID of node broadcasts described problem transaction to corresponding supervision on the Chain of Custody according to the Chain of Custody ID
Node, comprising:
According to the time sequencing of the generation of the Chain of Custody, the Chain of Custody is assigned with Chain of Custody ID;
The generation time for obtaining the newly-increased node obtains the Chain of Custody generated in the same time according to the generation time
ID;
Described problem transaction is broadcasted in the supervisory node of the corresponding Chain of Custody ID.
8. a kind of information monitoring apparatus based on block chain characterized by comprising
Newly-increased node module is generated, is set as obtaining the node cryptographic Hash of the newly-increased node of initial chain and ID mark, to the Kazakhstan
Uncommon value and ID mark are audited, and will form new area after newly-increased node described in the initial chain typing if if auditing
Otherwise block increases node newly described in not typing;
Chain of Custody module is connected, is set as obtaining the position of the newly-increased node in the initial chain, from the newly-increased node location
Information in extract the feature code of the newly-increased node, established according to the feature code and increase node and prison described in connection newly
The Chain of Custody of pipe node;
It identifies problem information module, is set as introducing problem Transaction Information in the newly-increased node, broadcasts described problem transaction letter
Breath obtains the Chain of Custody to the recognition result of described problem Transaction Information to the Chain of Custody.
9. a kind of computer equipment, including memory and processor, it is stored with computer-readable instruction in the memory, it is described
When computer-readable instruction is executed by the processor, so that the processor executes such as any one of claims 1 to 7 right
It is required that the step of information measure of supervision based on block chain.
10. a kind of storage medium for being stored with computer-readable instruction, the computer-readable instruction is handled by one or more
When device executes, so that one or more processors are executed is based on block chain as described in any one of claims 1 to 7 claim
Information measure of supervision the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811535835.1A CN109784918A (en) | 2018-12-15 | 2018-12-15 | Information measure of supervision, device, equipment and storage medium based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811535835.1A CN109784918A (en) | 2018-12-15 | 2018-12-15 | Information measure of supervision, device, equipment and storage medium based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109784918A true CN109784918A (en) | 2019-05-21 |
Family
ID=66497022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811535835.1A Pending CN109784918A (en) | 2018-12-15 | 2018-12-15 | Information measure of supervision, device, equipment and storage medium based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109784918A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110309196A (en) * | 2019-05-22 | 2019-10-08 | 深圳壹账通智能科技有限公司 | Block chain data storage and query method, apparatus, equipment and storage medium |
CN110737668A (en) * | 2019-12-17 | 2020-01-31 | 腾讯科技(深圳)有限公司 | Data storage method, data reading method, related device and medium |
CN112235278A (en) * | 2020-10-10 | 2021-01-15 | 杭州溪塔科技有限公司 | Method and device for monitoring address information of trader and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170017954A1 (en) * | 2015-07-14 | 2017-01-19 | Fmr Llc | Point-to-Point Transaction Guidance Apparatuses, Methods and Systems |
CN107077674A (en) * | 2016-12-29 | 2017-08-18 | 深圳前海达闼云端智能科技有限公司 | Transaction verification processing method and device and node equipment |
CN107257341A (en) * | 2017-06-21 | 2017-10-17 | 济南浪潮高新科技投资发展有限公司 | A kind of student status based on block chain reviews authentication method |
CN107483198A (en) * | 2017-09-25 | 2017-12-15 | 中国科学院信息工程研究所 | A kind of block catenary system supervised and method |
WO2018076762A1 (en) * | 2016-10-27 | 2018-05-03 | 上海亿账通区块链科技有限公司 | Block chain-based transaction verification method and system, electronic device, and medium |
CN108632381A (en) * | 2018-05-14 | 2018-10-09 | 济南浪潮高新科技投资发展有限公司 | A kind of environment measure of supervision and system based on block chain |
CN108647968A (en) * | 2018-05-10 | 2018-10-12 | 阿里巴巴集团控股有限公司 | A kind of block chain data processing method, device, processing equipment and system |
CN108681966A (en) * | 2018-05-11 | 2018-10-19 | 阿里巴巴集团控股有限公司 | A kind of information monitoring method and device based on block chain |
-
2018
- 2018-12-15 CN CN201811535835.1A patent/CN109784918A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170017954A1 (en) * | 2015-07-14 | 2017-01-19 | Fmr Llc | Point-to-Point Transaction Guidance Apparatuses, Methods and Systems |
WO2018076762A1 (en) * | 2016-10-27 | 2018-05-03 | 上海亿账通区块链科技有限公司 | Block chain-based transaction verification method and system, electronic device, and medium |
CN107077674A (en) * | 2016-12-29 | 2017-08-18 | 深圳前海达闼云端智能科技有限公司 | Transaction verification processing method and device and node equipment |
CN107257341A (en) * | 2017-06-21 | 2017-10-17 | 济南浪潮高新科技投资发展有限公司 | A kind of student status based on block chain reviews authentication method |
CN107483198A (en) * | 2017-09-25 | 2017-12-15 | 中国科学院信息工程研究所 | A kind of block catenary system supervised and method |
CN108647968A (en) * | 2018-05-10 | 2018-10-12 | 阿里巴巴集团控股有限公司 | A kind of block chain data processing method, device, processing equipment and system |
CN108681966A (en) * | 2018-05-11 | 2018-10-19 | 阿里巴巴集团控股有限公司 | A kind of information monitoring method and device based on block chain |
CN108632381A (en) * | 2018-05-14 | 2018-10-09 | 济南浪潮高新科技投资发展有限公司 | A kind of environment measure of supervision and system based on block chain |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110309196A (en) * | 2019-05-22 | 2019-10-08 | 深圳壹账通智能科技有限公司 | Block chain data storage and query method, apparatus, equipment and storage medium |
CN110737668A (en) * | 2019-12-17 | 2020-01-31 | 腾讯科技(深圳)有限公司 | Data storage method, data reading method, related device and medium |
CN112235278A (en) * | 2020-10-10 | 2021-01-15 | 杭州溪塔科技有限公司 | Method and device for monitoring address information of trader and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Torroledo et al. | Hunting malicious TLS certificates with deep neural networks | |
US11082420B2 (en) | Certificate issuing system based on block chain | |
US20200068394A1 (en) | Authentication of phone caller identity | |
CN104767613B (en) | Signature verification method, apparatus and system | |
CN108921696B (en) | Intelligent contract calling and contract transaction verification method based on block chain | |
JP2002259605A (en) | Device and method for information processing and storage medium | |
CN108153858A (en) | Information-pushing method, device, storage medium and computer equipment | |
EP3933624A1 (en) | Blockchain-based identity verification method and related hardware | |
CN111753014B (en) | Identity authentication method and device based on block chain | |
US10693643B2 (en) | Methods and systems for distributed cryptographically secured data validation | |
CN109784918A (en) | Information measure of supervision, device, equipment and storage medium based on block chain | |
CN110264207A (en) | Block chain separation processing method and system | |
CN108805574B (en) | Transaction method and system based on privacy protection | |
CN109242666A (en) | Personal reference method, apparatus and computer equipment are obtained based on block chain | |
CN109447809A (en) | A kind of video active identification method of combination block chain | |
CN109948370A (en) | A kind of method for processing business based on block chain, device and electronic equipment | |
CN115694932A (en) | Method and equipment for realizing community sensitive data protection based on block chain technology | |
Zhao | Graph-based forensic investigation of bitcoin transactions | |
CN114219480A (en) | Multi-channel fee-control quick payment method and system | |
CN112347516A (en) | Asset certification method and device based on block chain | |
CN111817859A (en) | Data sharing method, device, equipment and storage medium based on zero knowledge proof | |
EP3907968A1 (en) | Method and system for blockchain intrusion prevention | |
CN114418769A (en) | Block chain transaction charging method and device and readable storage medium | |
CN111191273B (en) | Method and device for processing document, electronic equipment and readable storage medium | |
CN114547684A (en) | Method and device for protecting multi-party joint training tree model of private data |
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 |