CN109992993A - Assets information processing method, device, equipment and storage medium based on block chain - Google Patents

Assets information processing method, device, equipment and storage medium based on block chain Download PDF

Info

Publication number
CN109992993A
CN109992993A CN201910145921.XA CN201910145921A CN109992993A CN 109992993 A CN109992993 A CN 109992993A CN 201910145921 A CN201910145921 A CN 201910145921A CN 109992993 A CN109992993 A CN 109992993A
Authority
CN
China
Prior art keywords
information
assets
block chain
borrow
chain node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910145921.XA
Other languages
Chinese (zh)
Inventor
朱坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910145921.XA priority Critical patent/CN109992993A/en
Publication of CN109992993A publication Critical patent/CN109992993A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6272Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database by registering files or documents with a third party

Abstract

This application involves data processing fields, and block chain has been used to realize data query.A kind of assets information processing method, device, equipment and storage medium based on block chain is specifically disclosed, this method comprises: receiving the assets essential information that first terminal is sent;The assets intrinsic information and the borrow information are stored into the corresponding database of current block chain node;The assets intrinsic information and the borrow information are sent to other block chain nodes;The asset search request that second terminal is sent is received, the asset search request includes the index information of asset search condition and assets to be checked;According to the asset search condition and the index information, the block chain is traversed to obtain query result;The query result is sent to the second terminal.It can preferably guarantee that employee's assets borrow the accuracy of information.

Description

Assets information processing method, device, equipment and storage medium based on block chain
Technical field
This application involves Internet technical field more particularly to a kind of assets information processing methods based on block chain, dress It sets, equipment and storage medium.
Background technique
Currently, assets borrow letter when enterprise staff borrow enterprise assets such as computer, display, phone etc. are handled official business Breath is generally stored inside in traditional database, and assets borrow information by single centre management.Since manager's permission is excessive, thus go through History assets borrow information and are easy to be tampered, and without being found, there are assets to borrow what information was faked, it is difficult to guarantee that employee's assets are borrowed The problem of with the accuracy of information.Therefore, it is necessary to provide a kind of assets information processing method of block chain to solve above-mentioned ask Topic.
Summary of the invention
The embodiment of the present application provides a kind of assets information processing method, device, equipment and storage medium based on block chain, It can preferably guarantee that employee's assets borrow the accuracy of information.
In a first aspect, this application provides a kind of assets information processing methods based on block chain, which comprises
The assets essential information that first terminal is sent is received, the assets essential information includes assets intrinsic information and borrow Information;
The assets intrinsic information and the borrow information are stored into the corresponding database of current block chain node;
The assets intrinsic information and the borrow information are sent to other block chain nodes, so that each block chain node will The assets intrinsic information and the borrow information are stored into the corresponding database of each block chain node;
Receive the asset search request that second terminal is sent, asset search request includes asset search condition and to be checked Ask the index information of assets;
According to the asset search condition and the index information, the block chain is traversed to obtain query result;
The query result is sent to the second terminal.
Second aspect, this application provides a kind of assets information processing unit based on block chain, described device includes:
Information receiving unit, for receiving the assets essential information of first terminal equipment transmission, the assets essential information Including assets intrinsic information and borrow information;
Information memory cell, for storing the assets intrinsic information and the borrow information to current block chain node pair In the database answered;
Information transmitting unit, for sending the assets intrinsic information and the borrow information to other block chain nodes, So that each block chain node stores the assets intrinsic information and the borrow information into corresponding database;
Request reception unit, for receiving the asset search request of second terminal equipment transmission, the asset search request Index information including asset search condition and assets to be checked;
Traversal Unit, for traversing the block chain to obtain according to the asset search condition and the index information Query result;
As a result transmission unit, for the query result to be sent to the second terminal.
The third aspect, this application provides a kind of computer equipment, the computer equipment includes memory and processor; The memory is for storing computer program;The processor, by executing the computer program and based on execution is described The above-mentioned assets information processing method based on block chain is realized when calculation machine program.
Fourth aspect, this application provides a kind of computer readable storage medium, the computer readable storage medium is deposited Computer program is contained, if the computer program is executed by processor, is realized at the above-mentioned assets information based on block chain Reason method.
This application discloses a kind of assets information processing method, device, equipment and storage medium based on block chain, the party The assets essential information that method is sent by receiving first terminal, the assets essential information include assets intrinsic information and borrow letter Breath;The assets intrinsic information and the borrow information are stored into the corresponding database of current block chain node;Described in transmission Assets intrinsic information and the borrow information are to other block chain nodes, so that each block chain node is by the assets intrinsic information It stores with the borrow information into corresponding database;Receive the asset search request that second terminal is sent, the money Produce the index information that inquiry request includes asset search condition and assets to be checked;According to the asset search condition and the rope Fuse breath, traverses the block chain to obtain query result;The query result is sent to the second terminal, so that enterprise The assets essential information of employee can be faithfully recorded in the practical shape for reflecting the borrow assets of enterprise staff in block chain State can guarantee the accuracy and unalterable feature of the assets essential information of enterprise staff, in turn in storage and query process Guarantee that the assets of enterprise staff are accurate, safety, can not be tampered.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to required use in embodiment description Attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, for this field For those of ordinary skill, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the application scenarios signal for the assets information processing method based on block chain that embodiments herein provides Figure;
Fig. 2 is a kind of process signal for assets information processing method based on block chain that embodiments herein one provides Figure;
Fig. 3 is a kind of sub-step for assets information processing method based on block chain that the embodiment of the application provides Flow diagram;
Fig. 4 is a kind of sub-step for assets information processing method based on block chain that another embodiment of the application provides Flow diagram;
Fig. 5 is a kind of process signal for assets information processing method based on block chain that embodiments herein two provides Figure;
Fig. 6 is a kind of schematic frame for assets information processing unit based on block chain that one embodiment of the application provides Figure;
Fig. 7 is a kind of showing for the subelement for assets information processing unit based on block chain that one embodiment of the application provides Meaning property block diagram;
Fig. 8 is a kind of subelement for assets information processing unit based on block chain that another embodiment of the application provides Schematic block diagram;
Fig. 9 is a kind of schematic frame for assets information processing unit based on block chain that the another embodiment of the application provides Figure;
Figure 10 is a kind of structural schematic diagram for computer equipment that one embodiment of the application provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
Flow chart shown in the drawings only illustrates, it is not necessary to including all content and operation/step, also not It is that must be executed by described sequence.For example, some operation/steps can also decompose, combine or partially merge, therefore practical The sequence of execution is possible to change according to the actual situation.
Embodiments herein provides a kind of assets information processing method, device, computer equipment based on block chain And storage medium.The assets information processing method based on block chain can be used for handling the assets essential information of enterprise staff, energy It is enough preferably to guarantee that employee's assets borrow the accuracy of information.
Wherein, block chain includes at least two block chain nodes, and block chain node can be computer equipment or server. The assets information processing method based on block chain of the embodiment, executing subject are known as current block chain node, certainly may be used Think any one block chain node in block chain.It should be understood that the quantity of current block chain node can be one, it can also Think multiple, the application is without being limited thereto.
With reference to the accompanying drawing, it elaborates to some embodiments of the application.In the absence of conflict, following Feature in embodiment and embodiment can be combined with each other.
Referring to Fig. 1, Fig. 1 is the schematic block diagram for the block chain that embodiments herein provides.In the present embodiment, institute Stating current block chain node can be server, deploy block chain node serve in the server, the first user can lead to It crosses first terminal to interact with server, second user can be interacted by second terminal and server.
It should be noted that first terminal and second terminal can be same terminal device, or different terminals Equipment.But in order to make it easy to understand, following embodiment describes in detail using first terminal and second terminal as different terminal equipment.
Referring to Fig. 2, Fig. 2 is a kind of assets information processing method based on block chain that embodiments herein one provides Flow diagram.
As shown in Fig. 2, it is somebody's turn to do the assets information processing method based on block chain, specifically includes the following steps:
S110, the assets essential information that first terminal is sent is received.
Wherein, the assets essential information includes assets intrinsic information and borrow information.Specifically, assets intrinsic information packet Include at least one of asset number, asset name, Asset Type etc..Borrowing information includes borrower's identity information.Borrower Identity information includes at least one of borrower's employee number, borrower's name, contact method, affiliated function etc..Borrower Identity information is the identity information for borrowing the employee of the assets, and borrower's identity information is that enterprise corresponding to block chain is current The identity information of included employee.Certainly, borrowing information can also further include borrowing time, give back the time, the project, borrow With purposes etc..
When the first user needs to store assets essential information, assets are sent to current block chain node by first terminal Essential information, current block chain node receive the assets essential information.
S120, the assets intrinsic information and the borrow information are stored to the corresponding database of current block chain node In.
Specifically, after current block chain node receives the assets intrinsic information of first terminal transmission and borrows information, it will Assets intrinsic information is stored with information is borrowed into the corresponding database of current block chain node.
In one embodiment, in order to enable the assets essential information of enterprise staff can be more truly stored in block In chain, the storage assets intrinsic information and the borrow information into the corresponding database of current block chain node it Before, further includes:
Default verification information is obtained from the corresponding database of the current block chain node;Believed according to the default verifying Breath verifies the assets essential information.
Optionally, the default verification information includes real estate intrinsic information and true borrower's identity information, described Borrowing information includes borrower's identity information.Default verification information can be stored in advance in the database of current block chain node.
It is wherein, described that the assets essential information is verified according to the default verification information, comprising:
Judge whether the assets intrinsic information and the real estate intrinsic information are consistent, and judges the borrower Whether identity information and true borrower's identity information are consistent;If the assets intrinsic information and the real estate are intrinsic Information is consistent and borrower's identity information is consistent with true borrower's identity information, then determines the assets base This information passes through verifying.
If the assets intrinsic information and the real estate intrinsic information be inconsistent or borrower's identity information with True borrower's identity information is inconsistent, then unverified, the current block chain node that determines that speed searches assets essential information The prompt information for indicating assets essential information mistake is sent to first terminal.What the prompt information was used to that enterprise staff to be prompted to submit Assets essential information mistake.The prompt information is shown in the display interface of second terminal, and enterprise staff can be believed according to prompt Breath is further modified.It, will be by after current block chain node receives the assets essential information after enterprise staff modification It is verified again according to scheme described in above-mentioned steps.
S130, the assets intrinsic information and the borrow information are sent to other block chain nodes.
Specifically, current block chain node sends the assets intrinsic information and the borrow information to other block chain links Point, so that each block chain node stores the assets intrinsic information and the borrow information into corresponding database. After other block chain nodes receive the assets intrinsic information and the borrow information of the transmission of current block chain node, by institute The assets intrinsic information and the borrow information received is stored into the corresponding database of each block chain node.
It is described to send the assets intrinsic information in order to improve the safety of information transmission in an optional embodiment Before the borrow information to other block chain nodes, further includes: generate the public key and private key of current block chain node;It is based on The private key and the assets essential information generate digital signature.
The transmission assets intrinsic information and the borrow information are to other block chain nodes, comprising:
The assets essential information, the corresponding digital signature of the assets essential information and the public key are sent to it His block chain node, so that each block chain node is based on assets essential information described in the digital signature and the public key verifications, And it will be stored by the assets essential information verified into the corresponding database of each block chain node.
S140, the asset search request that second terminal is sent is received.
Wherein, the asset search request includes the index information of asset search condition and assets to be checked.
Specifically, asset search condition includes: inquiry destiny account assets essential information;Or, the money of inquiry specified time Produce essential information;Or, the assets essential information of inquiry destiny account at the appointed time.When need to inquire some destiny account or certain When all assets essential informations of specified requirements such as section specified time, it is basic can quickly to find required all underlying assets Information.
The index information of the assets to be checked can be the mark or the borrow with queries asset of the assets to be checked People's mark.For example, the asset number of the assets to be checked, asset name, borrower's name, borrower's name, borrower employee Number etc..
When employee needs to carry out the inquiry of assets essential information, can be sent by second terminal to current block chain node Asset search request.The second terminal can be mobile phone, computer, the electronic equipment with operating system etc..It can in second terminal Storage one includes the list of the address information of block chain node, can select one or more block chain nodes from list as a result, According to its IP address, asset search request is sent to one or more block chain nodes, at this point, the one or more block chain Node is current block chain node.
S150, according to the asset search condition and the index information, traverse the block chain to obtain query result.
Specifically, index information of the current block chain node according to asset search condition and assets to be checked, traverses block Chain is to obtain query result.
It should be understood that each block chain node in block chain be all based on already present newest block generate it is next Block.Each block includes block head and block main body.
As an optional embodiment, the asset search request further includes basic with the assets of the assets to be checked Corresponding first cryptographic Hash of information.Wherein, as shown in figure 3, it is described according to the asset search condition and the index information, time The block chain is gone through to obtain query result, specifically includes following sub-step S151a, S151b, S151c and S151d.
S151a, according to first cryptographic Hash, determine the target area where the assets essential information of the assets to be checked Block.
Specifically, the block head of each block of current block chain node includes a cryptographic Hash, which is upper one The cryptographic Hash of a block is defined as the first cryptographic Hash.Current block chain node can determine money to be checked according to the first cryptographic Hash Target block where the assets essential information of production.
S151b, according to first cryptographic Hash generate Merkel tree tree root, if the tree root of the Merkel tree with it is described The first preset threshold is consistent in the block head of target block, then the assets essential information to be checked generates money by verifying Produce verification result.
Wherein, Merkel tree is also known as Merkle Tree.Current block chain node generates Merck according to first cryptographic Hash The tree root of your tree.The assets verification result includes: whether the assets essential information to be checked has been recorded in the area In the block of block chain, and obtained confirmation block counts.
It is previously provided with the first preset threshold in the block head of the target block, which can be according to practical need It asks and is configured.If the tree root of the Merkel tree is consistent with the first preset threshold in the block head of the target block, institute Assets essential information to be checked is stated by verifying, that is, determines the assets essential information necessary being to be checked, and It is recorded in the target block of the block chain, and the position according to target block in block chain, determines the target area Block has obtained how many confirmation.
Judge whether the assets essential information to be checked is recorded in some block, and according to block in block Position in chain, determines the block has obtained how many confirmation.
S151c, according to the asset search condition and the index information from the block main body of the target block Middle acquisition target information.
In one embodiment, when the assets essential information to be checked by verifying after, current block chain node according to The asset search condition and the index information obtain target information from the block main body of the target block.
It should be noted that the execution sequence of step S151b and S151c can be configured according to the actual situation, such as It first carries out S151c, execute S151b again;It is also possible to S151b and S151b to be performed simultaneously, the application is without being limited thereto.
S151d, using the assets verification result and the target information as query result.
The assets are verified and are tied after obtaining the assets verification result and the target information by current block chain node The query result is sent to second terminal as query result by fruit and the target information.
As another optional embodiment, the asset search request further includes the assets base with the assets to be checked Corresponding second cryptographic Hash of this information.It is wherein, as shown in figure 4, described according to the asset search condition and the index information, The block chain is traversed to obtain query result, specifically includes following sub-step S152a and S152b.
S152a, according to second cryptographic Hash, determine the target area where the assets essential information of the assets to be checked Block.
Specifically, the block head of each block of current block chain node includes a cryptographic Hash, which is upper one The cryptographic Hash of a block is defined as the second cryptographic Hash.Current block chain node can determine money to be checked according to the second cryptographic Hash Target block where the assets essential information of production.
S152b, target information is obtained from the target block according to the asset search condition and the index information, Using the target information as query result.
In this embodiment, current block chain node is according to the asset search condition and the index information from institute It states and obtains target information in target block, and using the target information as query result.
S160, the query result is sent to the second terminal.
Specifically, query result is sent to second terminal after current block chain node obtains query result.
In an alternative embodiment, asset search request may include the address information of second terminal.Current block chain link Point can be according to second after traversing the block chain acquisition query result according to the asset search condition and the index information Query result is sent to second terminal by the address information of terminal.
The assets information processing method based on block chain of above-described embodiment, the assets base sent by receiving first terminal This information, the assets essential information include assets intrinsic information and borrow information;Store the assets intrinsic information and described Information is borrowed into the corresponding database of current block chain node;Send the assets intrinsic information and the borrow information to its His block chain node, so that each block chain node stores the assets intrinsic information and the borrow information to corresponding In database;Receive the asset search request that second terminal is sent, asset search request include asset search condition and to The index information of queries asset;According to the asset search condition and the index information, traverses the block chain and looked into obtaining Ask result;The query result is sent to the second terminal, enables the assets essential information of enterprise staff strictly according to the facts Ground is recorded in the virtual condition for reflecting the borrow assets of enterprise staff in block chain, can guarantee in storage and query process The accuracy and unalterable feature of the assets essential information of enterprise staff, and then guarantee the accurate safety of assets, the nothing of enterprise staff Method is tampered.
As shown in figure 5, Fig. 5 is a kind of assets information processing method based on block chain that embodiments herein two provides Flow diagram.
As shown in figure 5, it is somebody's turn to do the assets information processing method based on block chain, specifically includes the following steps:
S210, the assets essential information that first terminal is sent is received.
When the first user needs to store assets essential information, it can be sent and be provided to current block chain node by first terminal Essential information is produced, current block chain node receives the assets essential information.
S220, coefficient formulas, computing node performance coefficient are based on.
Specifically, joint behavior coefficient is used to consider from many factors, current block chain link point is evaluated, so that area Block chain is relatively reliable.
In one embodiment, the coefficient formulas are as follows:
Wherein, W is the joint behavior coefficient, and M is the computing capability of current block chain node;α is current block chain link The decline factor of point computing capability;N is the memory space of current block chain node;β is current block chain node storage space Expansion variable;Y is the frequent operation degree of current block chain node;Q is the operation confidence level of current block chain node;δ is current The trust-factor of block chain nodal operation.
Specifically, above-mentioned formula (1) can be based on, the joint behavior coefficient of current block chain node is calculated.
If S230, the joint behavior coefficient be greater than or equal to the second preset threshold, store the assets intrinsic information and The borrow information is into the corresponding database of current block chain node.
In one embodiment, if the joint behavior coefficient is greater than or equal to the second preset threshold, it is solid that the assets are stored Have information and the borrow information into the corresponding database of current block chain node before, further includes:
Current block chain node judges whether the joint behavior coefficient is greater than the second preset threshold;If the joint behavior Coefficient is greater than or equal to the second preset threshold, and current block chain node stores the assets intrinsic information and the borrow information extremely In the corresponding database of current block chain node;If the joint behavior coefficient is less than the second preset threshold, current block chain link Point refusal stores the assets intrinsic information and the borrow information into the corresponding database of current block chain node.
Wherein, the second preset threshold can be configured according to actual needs, it is not limited here.
S240, the assets intrinsic information and the borrow information are sent to other block chain nodes.
Specifically, current block chain node sends the assets intrinsic information and the borrow information to other block chain links Point, so that each block chain node stores the assets intrinsic information and the borrow information into corresponding database. After other block chain nodes receive the assets intrinsic information and the borrow information of the transmission of current block chain node, by institute The assets intrinsic information and the borrow information received is stored into the corresponding database of each block chain node.
S250, the asset search request that second terminal is sent is received.
Wherein, the asset search request includes the index information of asset search condition and assets to be checked.
Specifically, asset search condition includes: inquiry destiny account assets essential information;Or, the money of inquiry specified time Produce essential information;Or, the assets essential information of inquiry destiny account at the appointed time.When need to inquire some destiny account or certain When all assets essential informations of specified requirements such as section specified time, it is basic can quickly to find required all underlying assets Information.
The index information of the assets to be checked can be the mark or the borrow with queries asset of the assets to be checked People's mark.For example, the asset number of the assets to be checked, asset name, borrower's name, borrower's name, borrower employee Number etc..
The list that an address information including block chain node can be stored in second terminal, can select from list as a result, Asset search request is sent to one or more block chain nodes according to its IP address by one or more block chain nodes, this When, which is current block chain node.
S260, according to the asset search condition and the index information, traverse the block chain to obtain query result.
Specifically, index information of the current block chain node according to asset search condition and assets to be checked, traverses block Chain is to obtain query result.
S270, the query result is sent to the second terminal.
Specifically, query result is sent to second terminal after current block chain node obtains query result.
In an alternative embodiment, asset search request may include the address information of second terminal.Current block chain link Point can be according to second after traversing the block chain acquisition query result according to the asset search condition and the index information Query result is sent to second terminal by the address information of terminal.
The assets information processing method based on block chain of above-described embodiment, the assets base sent by receiving first terminal This information;Based on coefficient formulas, computing node performance coefficient;If it is default that the joint behavior coefficient is greater than or equal to second Threshold values stores the assets intrinsic information and the borrow information into the corresponding database of current block chain node;Send institute Assets intrinsic information and the borrow information are stated to other block chain nodes;The asset search request that second terminal is sent is received, The asset search request includes the index information of asset search condition and assets to be checked;According to the asset search condition and The index information traverses the block chain to obtain query result;The query result is sent to the second terminal, is led to Design ratio calculation formula is crossed, comprehensive considering various effects are evaluated current block chain link point, so that block chain more may be used It leans on.Meanwhile this method is it is also possible that the assets essential information of enterprise staff can be faithfully recorded in block chain with anti- The virtual condition for reflecting the borrow assets of enterprise staff can guarantee that the assets of enterprise staff are believed substantially in storage and query process The accuracy and unalterable feature of breath, and then guarantee the accurate safety of the assets of enterprise staff, can not be tampered.
Referring to Fig. 6, Fig. 6 is a kind of assets information processing unit based on block chain that one embodiment of the application provides Schematic block diagram, being somebody's turn to do the assets information processing unit based on block chain can be configured in server or terminal, before executing The assets information processing method based on block chain stated.
Wherein, server can be independent server, or server cluster.The terminal can be mobile phone, put down The electronic equipments such as plate computer, laptop, desktop computer, personal digital assistant and wearable device.
As shown in fig. 6, being somebody's turn to do the assets information processing unit 300 based on block chain, comprising: information receiving unit 310, information Storage unit 320, information transmitting unit 330, request reception unit 340, Traversal Unit 350, result transmission unit 360.
Information receiving unit 310, for receiving the assets essential information of first terminal equipment transmission, the assets are believed substantially Breath includes assets intrinsic information and borrow information.
Information memory cell 320, for storing the assets intrinsic information and the borrow information to current block chain link In the corresponding database of point.
Information transmitting unit 330, for sending the assets intrinsic information and the borrow information to other block chain links Point, so that each block chain node stores the assets intrinsic information and the borrow information into corresponding database.
Request reception unit 340, for receiving the asset search request of second terminal equipment transmission, the asset search is asked Seek the index information including asset search condition and assets to be checked.
Traversal Unit 350, for traversing the block chain to obtain according to the asset search condition and the index information Take query result.
As a result transmission unit 360, for the query result to be sent to the second terminal.
In one embodiment, each block in the block chain includes block head and block main body;The asset search Request further includes first cryptographic Hash corresponding with the assets essential information of the assets to be checked.
As shown in fig. 7, in some embodiments, Traversal Unit 350 includes the first block determination unit 351a, the first letter Cease authentication unit 351b, first information acquiring unit 351c, result generation unit 351d.
First block determination unit 351a, for determining the assets of the assets to be checked according to first cryptographic Hash Target block where essential information.
First information authentication unit 351b, for generating the tree root of Merkel tree according to first cryptographic Hash, if described The tree root of Merkel tree is consistent with the first preset threshold in the block head of the target block, then the assets to be checked Essential information passes through verifying, the assets verification result and the target information.
First information acquiring unit 351c, for according to the asset search condition and the index information from the target Target information is obtained in the block main body of block.
As a result generation unit 351d is used for and using the assets verification result and the target information as query result.
As shown in figure 8, in some embodiments, the asset search request further includes the money with the assets to be checked Produce corresponding second cryptographic Hash of essential information.Traversal Unit 350 includes the second block determination unit 352a and the second acquisition of information Unit 352b.
Second block determination unit 352a, for determining the assets of the assets to be checked according to second cryptographic Hash Target block where essential information.
Second information acquisition unit 352b, for according to the asset search condition and the index information from the target Target information is obtained in block, using the target information as query result.
It further include that coefficient calculates as shown in figure 9, in one embodiment, being somebody's turn to do the assets information processing unit based on block chain Unit 370.
Coefficient calculation unit 370, for being based on coefficient formulas, computing node performance coefficient, the coefficient calculates public Formula are as follows:
Wherein, W is the joint behavior coefficient, and M is the computing capability of current block chain node;α is current block chain link The decline factor of point computing capability;N is the memory space of current block chain node;β is current block chain node storage space Expansion variable;Y is the frequent operation degree of current block chain node;Q is the operation confidence level of current block chain node;δ is current The trust-factor of block chain nodal operation.
In this embodiment, information memory cell 320, if it is default to be greater than or equal to second for the joint behavior coefficient Threshold values stores the assets intrinsic information and the borrow information into the corresponding database of current block chain node.
In one embodiment, the assets information processing unit based on block chain further includes the second Information Authentication list Member is used for:
Default verification information is obtained from the corresponding database of the current block chain node;Believed according to the default verifying Breath verifies the assets essential information.
In some embodiments, the default verification information includes real estate intrinsic information and true borrower's identity Information, the borrow information includes borrower's identity information.Second Information Authentication unit, is used for:
Default verification information is obtained from the corresponding database of the current block chain node;Judge that the assets are inherently believed Whether breath is consistent with the real estate intrinsic information, and judges borrower's identity information and the true borrow person Whether part information is consistent;If the assets intrinsic information borrow person consistent and described with the real estate intrinsic information Part information is consistent with true borrower's identity information, then determines that the assets essential information passes through verifying.
In one embodiment, the assets information processing unit based on block chain, further includes digital signature unit, is used In: at the public key and private key of current block chain node;Based on the private key and the assets essential information, digital signature is generated.
Information transmitting unit 330 is used for the assets essential information, the corresponding digital signature of the assets essential information And the public key is sent to other block chain nodes, so that each block chain node is based on the digital signature and the public key is tested It demonstrate,proves the assets essential information, and data corresponding to each block chain node will be stored by the assets essential information verified In library.
It should be noted that it is apparent to those skilled in the art that, for convenience of description and succinctly, The device of foregoing description and each module, the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, Details are not described herein.
The present processes, device can be used in numerous general or special purpose computing system environments or configuration.Such as: it is personal Computer, server computer, handheld device or portable device, multicomputer system, are based on microprocessor at laptop device System, set-top box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer including any of the above Distributed computing environment of system or equipment etc..
Illustratively, above-mentioned method, apparatus can be implemented as a kind of form of computer program, which can To be run in computer equipment as shown in Figure 10.
Referring to Fig. 10, Figure 10 is a kind of structural schematic diagram of computer equipment provided by the embodiments of the present application.The calculating Machine equipment can be server or terminal.
Refering to fig. 10, which includes processor, memory and the network interface connected by system bus, In, memory may include non-volatile memory medium and built-in storage.
Non-volatile memory medium can storage program area and computer program.The computer program includes program instruction, The program instruction is performed, and may make the processor assets information processing method based on block chain that executes any one.
Processor supports the operation of entire computer equipment for providing calculating and control ability.
Built-in storage provides environment for the operation of the computer program in non-volatile memory medium, the computer program quilt When processor executes, the processor assets information processing method based on block chain that executes any one may make.
The network interface such as sends the task dispatching of distribution for carrying out network communication.It will be understood by those skilled in the art that The structure of the computer equipment, only the block diagram of part-structure relevant to application scheme, is not constituted to the application side The restriction for the computer equipment that case is applied thereon, specific computer equipment may include more more or less than as shown in the figure Component, perhaps combine certain components or with different component layouts.
It should be understood that processor can be central processing unit (Central Processing Unit, CPU), it should Processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specially With integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor are patrolled Collect device, discrete hardware components etc..Wherein, general processor can be microprocessor or the processor be also possible to it is any often The processor etc. of rule.
Wherein, in one embodiment, the processor is for running computer program stored in memory, with reality Existing following steps:
The assets essential information that first terminal is sent is received, the assets essential information includes assets intrinsic information and borrow Information;The assets intrinsic information and the borrow information are stored into the corresponding database of current block chain node;Send institute Assets intrinsic information and the borrow information are stated to other block chain nodes, so that each block chain node inherently believes the assets Breath and the borrow information are stored into the corresponding database of each block chain node;The assets that second terminal is sent are received to look into Request is ask, the asset search request includes the index information of asset search condition and assets to be checked;It is looked into according to the assets Inquiry condition and the index information traverse the block chain to obtain query result;The query result is sent to described Two terminals.
In one embodiment, each block in the block chain includes block head and block main body;The asset search Request further includes first cryptographic Hash corresponding with the assets essential information of the assets to be checked;
The processor is described according to the asset search condition and the index information in realization, traverses the block chain When obtaining query result, for realizing:
According to first cryptographic Hash, the target block where the assets essential information of the assets to be checked is determined;Root The tree root that Merkel tree is generated according to first cryptographic Hash, if the area of the tree root of the Merkel tree and the target block The first preset threshold is consistent in build, then the assets essential information to be checked by verifying, the assets verification result and The target information;According to the asset search condition and the index information from the block main body of the target block Obtain target information;Using the assets verification result and the target information as query result.
In one embodiment, the asset search request further includes the assets essential information pair with the assets to be checked The second cryptographic Hash answered;The processor is described according to the asset search condition and the index information in realization, traverses institute When stating block chain to obtain query result, for realizing:
According to second cryptographic Hash, the target block where the assets essential information of the assets to be checked is determined;Root Target information is obtained from the target block according to the asset search condition and the index information, the target information is made For query result.
In one embodiment, the processor is realizing the storage assets intrinsic information and the borrow information Before into the corresponding database of current block chain node, it is also used to:
Based on coefficient formulas, computing node performance coefficient, the coefficient formulas are as follows:
Wherein, W is the joint behavior coefficient, and M is the computing capability of current block chain node;α is current block chain link The decline factor of point computing capability;N is the memory space of current block chain node;β is current block chain node storage space Expansion variable;Y is the frequent operation degree of current block chain node;Q is the operation confidence level of current block chain node;δ is current The trust-factor of block chain nodal operation.
In this embodiment, the processor is realizing the storage assets intrinsic information and the borrow information extremely When in the corresponding database of current block chain node, it is used for:
If the joint behavior coefficient is greater than or equal to the second preset threshold, stores the assets intrinsic information and described borrow With information into the corresponding database of current block chain node.
In one embodiment, the processor is realizing the storage assets intrinsic information and the borrow information Before into the corresponding database of current block chain node, it is also used to:
Default verification information is obtained from the corresponding database of the current block chain node;Believed according to the default verifying Breath verifies the assets essential information.
In one embodiment, the default verification information includes real estate intrinsic information and true borrower's identity letter Breath, the borrow information includes borrower's identity information;The processor is described according to the default verification information pair in realization When the assets essential information is verified, it is used for:
Judge whether the assets intrinsic information and the real estate intrinsic information are consistent, and judges the borrower Whether identity information and true borrower's identity information are consistent;If the assets intrinsic information and the real estate are intrinsic Information is consistent and borrower's identity information is consistent with true borrower's identity information, then determines the assets base This information passes through verifying.
In one embodiment, the processor is realizing the transmission assets intrinsic information and the borrow information To before other block chain nodes, it is also used to:
Generate the public key and private key of current block chain node;Based on the private key and the assets essential information, number is generated Word signature;The transmission assets intrinsic information and the borrow information are to other block chain nodes, comprising: by the assets Essential information, the corresponding digital signature of the assets essential information and the public key are sent to other block chain nodes, so that Each block chain node is based on assets essential information described in the digital signature and the public key verifications, and will pass through the assets of verifying Essential information is stored into the corresponding database of each block chain node.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can It realizes by means of software and necessary general hardware platform.Based on this understanding, the technical solution essence of the application On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes the certain of each embodiment of the application or embodiment Method described in part, such as:
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter It include program instruction in calculation machine program, the processor executes described program instruction, realizes provided by the embodiments of the present application any Assets information processing method of the item based on block chain.
Wherein, the computer readable storage medium can be the storage inside of computer equipment described in previous embodiment Unit, such as the hard disk or memory of the computer equipment.The computer readable storage medium is also possible to the computer The plug-in type hard disk being equipped on the External memory equipment of equipment, such as the computer equipment, intelligent memory card Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should all cover within the scope of protection of this application.Therefore, the protection scope of the application should be with right It is required that protection scope subject to.

Claims (10)

1. a kind of assets information processing method based on block chain characterized by comprising
The assets essential information that first terminal is sent is received, the assets essential information includes assets intrinsic information and borrow letter Breath;
The assets intrinsic information and the borrow information are stored into the corresponding database of current block chain node;
The assets intrinsic information and the borrow information are sent to other block chain nodes, so that each block chain node will be described Assets intrinsic information and the borrow information are stored into the corresponding database of each block chain node;
The asset search request that second terminal is sent is received, the asset search request includes asset search condition and money to be checked The index information of production;
According to the asset search condition and the index information, the block chain is traversed to obtain query result;
The query result is sent to the second terminal.
2. as described in claim 1 based on the assets information processing method of block chain, which is characterized in that in the block chain Each block includes block head and block main body;The asset search request further includes basic with the assets of the assets to be checked Corresponding first cryptographic Hash of information;
It is described according to the asset search condition and the index information, traverse the block chain to obtain query result, comprising:
According to first cryptographic Hash, the target block where the assets essential information of the assets to be checked is determined;
The tree root of Merkel tree is generated according to first cryptographic Hash, if the tree root of the Merkel tree and the target block The first preset threshold is consistent in block head, then the assets essential information to be checked generates assets verification result by verifying;
After the assets essential information to be checked is by verifying, according to the asset search condition and the index information from Target information is obtained in the block main body of the target block;
Using the assets verification result and the target information as query result.
3. as described in claim 1 based on the assets information processing method of block chain, which is characterized in that the asset search is asked Asking further includes second cryptographic Hash corresponding with the assets essential information of the assets to be checked;
It is described according to the asset search condition and the index information, traverse the block chain to obtain query result, comprising:
According to second cryptographic Hash, the target block where the assets essential information of the assets to be checked is determined;
Target information is obtained from the target block according to the asset search condition and the index information, by the target Information is as query result.
4. the assets information processing method as described in any one of claims 1-3 based on block chain, which is characterized in that described to deposit Before the assets intrinsic information and the borrow information are stored up into the corresponding database of current block chain node, further includes:
Based on coefficient formulas, computing node performance coefficient, the coefficient formulas are as follows:
Wherein, W is the joint behavior coefficient, and M is the computing capability of current block chain node;α is current block chain node meter The decline factor of calculation ability;N is the memory space of current block chain node;β is the extension of current block chain node storage space Variable;Y is the frequent operation degree of current block chain node;Q is the operation confidence level of current block chain node;δ is current block The trust-factor of chain nodal operation;
The storage assets intrinsic information and the borrow information are into the corresponding database of current block chain node, packet It includes:
If the joint behavior coefficient is greater than or equal to the second preset threshold, the assets intrinsic information and borrow letter are stored Breath is into the corresponding database of current block chain node.
5. as claimed in claim 4 based on the assets information processing method of block chain, which is characterized in that the storage money Before intrinsic information and the borrow information are produced into the corresponding database of current block chain node, further includes:
Default verification information is obtained from the corresponding database of the current block chain node;
The assets essential information is verified according to the default verification information.
6. as claimed in claim 5 based on the assets information processing method of block chain, which is characterized in that the default verifying letter Breath includes real estate intrinsic information and true borrower's identity information, and the borrow information includes borrower's identity information;
It is described that the assets essential information is verified according to the default verification information, comprising:
Judge whether the assets intrinsic information and the real estate intrinsic information are consistent, and judges borrower's identity Whether information and true borrower's identity information are consistent;
If assets intrinsic information borrower's identity information consistent and described with the real estate intrinsic information with it is described True borrower's identity information is consistent, then determines that the assets essential information passes through verifying.
7. as claimed in claim 5 based on the assets information processing method of block chain, which is characterized in that described to send the money Before production intrinsic information and the borrow information to other block chain nodes, further includes:
Generate the public key and private key of current block chain node;
Based on the private key and the assets essential information, digital signature is generated;
The transmission assets intrinsic information and the borrow information are to other block chain nodes, comprising:
The assets essential information, the corresponding digital signature of the assets essential information and the public key are sent to other areas Block chain node, so that each block chain node is based on assets essential information described in the digital signature and the public key verifications, and will It is stored by the assets essential information of verifying into the corresponding database of each block chain node.
8. a kind of assets information processing unit based on block chain characterized by comprising
Information receiving unit, for receiving the assets essential information of first terminal equipment transmission, the assets essential information includes Assets intrinsic information and borrow information;
Information memory cell, it is corresponding to current block chain node for storing the assets intrinsic information and the borrow information In database;
Information transmitting unit, for sending the assets intrinsic information and the borrow information to other block chain nodes, so that Each block chain node stores the assets intrinsic information and the borrow information into corresponding database;
Request reception unit, for receiving the asset search request of second terminal equipment transmission, the asset search request includes The index information of asset search condition and assets to be checked;
Traversal Unit, for traversing the block chain according to the asset search condition and the index information to obtain inquiry As a result;
As a result transmission unit, for the query result to be sent to the second terminal.
9. a kind of computer equipment, which is characterized in that the computer equipment includes memory and processor;
The memory is for storing computer program;
The processor, for executing the computer program and realization such as claim 1- when executing the computer program Based on the assets information processing method of block chain described in any one of 7.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In, if the computer program is executed by processor, realization such as the money of any of claims 1-7 based on block chain Produce information processing method.
CN201910145921.XA 2019-02-27 2019-02-27 Assets information processing method, device, equipment and storage medium based on block chain Pending CN109992993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910145921.XA CN109992993A (en) 2019-02-27 2019-02-27 Assets information processing method, device, equipment and storage medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910145921.XA CN109992993A (en) 2019-02-27 2019-02-27 Assets information processing method, device, equipment and storage medium based on block chain

Publications (1)

Publication Number Publication Date
CN109992993A true CN109992993A (en) 2019-07-09

Family

ID=67130239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910145921.XA Pending CN109992993A (en) 2019-02-27 2019-02-27 Assets information processing method, device, equipment and storage medium based on block chain

Country Status (1)

Country Link
CN (1) CN109992993A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765318A (en) * 2019-09-28 2020-02-07 北京瑞卓喜投科技发展有限公司 Method and device for inquiring block chain data
CN110879835A (en) * 2019-11-29 2020-03-13 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium
CN111033491A (en) * 2019-08-01 2020-04-17 阿里巴巴集团控股有限公司 Storing shared blockchain data based on error correction coding
CN111190950A (en) * 2019-10-31 2020-05-22 腾讯科技(深圳)有限公司 Asset retrieval method and device
US10824601B1 (en) 2019-08-01 2020-11-03 Alibaba Group Holding Limited Shared blockchain data storage based on error correction code
US11728976B1 (en) * 2022-12-22 2023-08-15 Alchemy Insights, Inc. Systems and methods for efficiently serving blockchain requests using an optimized cache
US11750711B1 (en) 2022-12-22 2023-09-05 Alchemy Insights, Inc. Systems and methods for adaptively rate limiting client service requests at a blockchain service provider platform
US11769143B1 (en) 2022-12-22 2023-09-26 Alchemy Insights, Inc. System and method for high performance providing fresh NFT metadata
US11811955B1 (en) 2022-12-23 2023-11-07 Alchemy Insights, Inc. Systems and methods for improving reliability in blockchain networks using sharding
US11816021B1 (en) 2022-12-22 2023-11-14 Alchemy Insights, Inc. System and method for intelligent testing of blockchain applications using a shadow system
US11914616B1 (en) 2022-12-16 2024-02-27 Alchemy Insights, Inc. Systems and methods for creating a consistent blockchain including block commitment determinations

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170278012A1 (en) * 2016-03-23 2017-09-28 International Business Machines Corporation System, method, and recording medium for performance management of a service for a database as a service
CN108154048A (en) * 2016-12-02 2018-06-12 北京金股链科技有限公司 Assets information treating method and apparatus
CN109101572A (en) * 2018-07-17 2018-12-28 何晓行 Card method, apparatus and server, storage medium are deposited based on block chain
CN109241762A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 Assets information acquisition methods, device and computer equipment based on block chain technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170278012A1 (en) * 2016-03-23 2017-09-28 International Business Machines Corporation System, method, and recording medium for performance management of a service for a database as a service
CN108154048A (en) * 2016-12-02 2018-06-12 北京金股链科技有限公司 Assets information treating method and apparatus
CN109241762A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 Assets information acquisition methods, device and computer equipment based on block chain technology
CN109101572A (en) * 2018-07-17 2018-12-28 何晓行 Card method, apparatus and server, storage medium are deposited based on block chain

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11188418B2 (en) 2019-08-01 2021-11-30 Advanced New Technologies Co., Ltd. Shared blockchain data storage based on error correction code
CN111033491A (en) * 2019-08-01 2020-04-17 阿里巴巴集团控股有限公司 Storing shared blockchain data based on error correction coding
CN111033491B (en) * 2019-08-01 2023-06-30 创新先进技术有限公司 Storing shared blockchain data based on error correction coding
US11175987B2 (en) 2019-08-01 2021-11-16 Advanced New Technologies Co., Ltd. Shared blockchain data storage based on error correction code
US10824601B1 (en) 2019-08-01 2020-11-03 Alibaba Group Holding Limited Shared blockchain data storage based on error correction code
WO2021017008A1 (en) * 2019-08-01 2021-02-04 Advanced New Technologies Co., Ltd. Shared blockchain data storage based on error correction code
US11119987B2 (en) 2019-08-01 2021-09-14 Advanced New Technologies Co., Ltd. Shared blockchain data storage based on error correction code
CN110765318A (en) * 2019-09-28 2020-02-07 北京瑞卓喜投科技发展有限公司 Method and device for inquiring block chain data
CN111190950A (en) * 2019-10-31 2020-05-22 腾讯科技(深圳)有限公司 Asset retrieval method and device
CN110879835A (en) * 2019-11-29 2020-03-13 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium
CN110879835B (en) * 2019-11-29 2024-02-09 腾讯科技(深圳)有限公司 Block chain-based data processing method, device, equipment and readable storage medium
US11914616B1 (en) 2022-12-16 2024-02-27 Alchemy Insights, Inc. Systems and methods for creating a consistent blockchain including block commitment determinations
US11728976B1 (en) * 2022-12-22 2023-08-15 Alchemy Insights, Inc. Systems and methods for efficiently serving blockchain requests using an optimized cache
US11750711B1 (en) 2022-12-22 2023-09-05 Alchemy Insights, Inc. Systems and methods for adaptively rate limiting client service requests at a blockchain service provider platform
US11769143B1 (en) 2022-12-22 2023-09-26 Alchemy Insights, Inc. System and method for high performance providing fresh NFT metadata
US11816021B1 (en) 2022-12-22 2023-11-14 Alchemy Insights, Inc. System and method for intelligent testing of blockchain applications using a shadow system
US11823088B1 (en) 2022-12-22 2023-11-21 Alchemy Insights, Inc. System and method for retrieval and verification of NFT ownership
US11811955B1 (en) 2022-12-23 2023-11-07 Alchemy Insights, Inc. Systems and methods for improving reliability in blockchain networks using sharding

Similar Documents

Publication Publication Date Title
CN109992993A (en) Assets information processing method, device, equipment and storage medium based on block chain
CN113711536B (en) Extracting data from a blockchain network
CN109067541B (en) Data verification method and device based on block chain and electronic equipment
US10965673B2 (en) User ID codes for online verification
US10708042B1 (en) Computer-based systems including blockchains with differential permissioning and vaulting of tokens and token exchanges and methods of use thereof
TWI703853B (en) User identity authentication method and device in network
CN110493007A (en) A kind of Information Authentication method, apparatus, equipment and storage medium based on block chain
CN109614823A (en) Data processing method, device and equipment
US20210049715A1 (en) Blockchain-based data procesing method, apparatus, and electronic device
CN109359973A (en) Data based on block chain deposit card method and apparatus
CN109146490A (en) block generation method, device and system
CN109074265A (en) The preformed instruction of mobile cloud service
CN110046156A (en) Content Management System and method, apparatus, electronic equipment based on block chain
CN109359237A (en) It is a kind of for search for boarding program method and apparatus
CN105488366A (en) Data permission control method and system
WO2022206454A1 (en) Method and apparatus for providing cross-chain messages
CN111046237A (en) User behavior data processing method and device, electronic equipment and readable medium
JP2023542681A (en) Integrating device identity into blockchain permission frameworks
CN110201400A (en) Game item method of commerce, transaction terminal and storage medium based on block chain
CN109710832A (en) It is a kind of for search for boarding program method and apparatus
JP2023513848A (en) Computing services for blockchain-related service platforms
CN103309973B (en) Can verify that the method and system of outsourcing data query
CN107193980A (en) Multi-User Dimension inquiry is lower to be realized and uses MRS data tree structures
WO2020108056A1 (en) Service execution method and apparatus
US20220210657A1 (en) Identity network representation of communications device subscriber in a digital domain

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