Summary of the invention
The case where in order to allow above-mentioned shareholder, grasp itself relevant assets information, in particular, for example factoring quotient is veryTo being the flow direction for needing complete monitoring to make loans, information is prevented to be tampered, this application provides a kind of Assets Reorganization Takings based on block chainReason system registers cochain method, assets transfer method and asset search side using user's account-opening method of the system, assetsMethod.
A kind of asset management system based on block chain is provided in the first aspect of the present invention, including
Service sub-system, including user open an account unit, user operation unit and assets information query unit;
Block chain service subsystem, including open an account setting unit and assets information recording unit, wherein
User opens an account unit for collecting the company information of user to be opened an account;
Setting unit of opening an account is used to generate and the secret key pair of the user-association and the secret key pair is arranged is directed to the userThe operating right of account, so that account information is submitted to affiliated block chain, with generating the corresponding account block chain of the userLocation and all nodes by the account block chain address in block chain are broadcasted;
User operation unit is used to submit the account to the assets information recording unit in response to user's operationAssets information change request;
Assets information recording unit by the assets information of user change request, account block chain address, secret key pair withAnd assets change corresponding association user account block chain address and are committed to the block chain, so that block chain is to the assetsInformation recording unit returns to change mark so that assets information described in assets information recording unit records changes;
Assets information query unit is used for the input in response to change mark and inquires the assets information and change.
Optionally, the block chain sends the change mark to the association user account.
Optionally, for the setting unit of opening an account for the multiple secret key pairs of same account setup, the multiple secret key pair is correspondingDifferent account operation permissions.
Optionally, the secret key pair is stored in the database of the system.
Another aspect of the present invention provides a kind of method opened an account using the progress user of system described in first aspect, including
User's unit of opening an account collects the company information of user to be opened an account;
Setting unit of opening an account generates the secret key pair with the user-association and the account that the secret key pair is directed to the user is arrangedOperating right, thus to affiliated block chain submit account information;
The block chain generates the corresponding account block chain address of the user and by the account block chain address in areaAll nodes of block chain are broadcasted.
Another aspect of the present invention provides a kind of method for carrying out assets registration cochain using system described in first aspect, packetIt includes
User's unit of opening an account collects the assets information of user registration in account in response to user's logon account;
Assets information recording unit searches account block chain address and secret key pair according to the company information of login user, willAssets information, account block chain address and the secret key pair of user registration submit request to block chain;
Block chain returns to assets registration mark so that assets information recording unit records to assets information recording unitAssets register information.
Optionally,
User passes through short message verification code logon account;
Assets information recording unit extracts the public key for needing the user for the assets information being written, and the assets for needing to be written are believedBreath is encrypted by public key;
Each node verifies the legitimacy for submitting request, after verification, new number by common recognition mechanism in block chainIt is added to according to block on the data memory node of the user;
Another aspect of the present invention provides a kind of assets transfer method using system described in first aspect, including
User's unit of opening an account collects the assets information of user registration in account in response to user's logon account;
Assets information recording unit searches account block chain address and secret key pair according to the company information of login user, willAssets information, account block chain address and the secret key pair of user registration submit request to block chain;
Assets information recording unit carries out the request of the transfer to interlock account in response to user to the assets information of registrationThe assets information of user registration, account block chain address, secret key pair, interlock account block chain address are committed to block chain;
Block chain returns to assets transfer mark so that assets information recording unit records to assets information recording unitThe transinformation.
Another aspect of the present invention provides a kind of method for carrying out asset search using system described in first aspect, including
Assets information query unit identifies to assets information recording unit according to the change and sends inquiry request.
Optionally, the method, including
Inquiry user logs in itself account by short message verification code, and the assets modification information of association user is read in request;
The request is submitted to block chain by assets information recording unit;
Each node verifies the legitimacy for submitting request, after verification, the pass by common recognition mechanism in block chainThe data being combined in the data block connected on the data storage node at family are sent to the inquiry user node;
The inquiry user is decrypted the data in data block using own private key, obtains corresponding data.
Beneficial effects of the present invention are as follows:
System and method of the invention enable each side that block chain is added to supervise oneself relevant assets information, and shouldThe registration of assets information, transfer trace are all not modifiable.
Specific embodiment
In order to illustrate more clearly of the present invention, the present invention is done further below with reference to preferred embodiments and drawingsIt is bright.Similar component is indicated in attached drawing with identical appended drawing reference.It will be appreciated by those skilled in the art that institute is specific belowThe content of description is illustrative and be not restrictive, and should not be limited the scope of the invention with this.
As shown in Figure 1, still by taking situation described in background technology as an example, enterprise A10, supplier B12, supplier C14 are protectedBlock chain is added by the asset management system being installed on 16 server of factoring quotient in reason quotient 16.
As shown in Fig. 2, the block chain asset management system 20 includes:
Service sub-system 201, including user open an account unit, user operation unit and assets information query unit;
Block chain service subsystem 203, including open an account setting unit and assets information recording unit, wherein
User opens an account unit for collecting the company information of user to be opened an account, with supplier in the example of Fig. 1 and 2For C14;
Setting unit of opening an account is used to generate and the secret key pair of the user-association and the secret key pair is arranged is directed to the userThe operating right of account, so that account information is submitted to affiliated block chain, with generating the corresponding account block chain of the userLocation and all nodes by the account block chain address in block chain are broadcasted;
User operation unit is used to submit the account to the assets information recording unit in response to user's operationAssets information change request;
Assets information recording unit by the assets information of user change request, account block chain address, secret key pair withAnd assets change corresponding association user account block chain address and are committed to the block chain, so that block chain is to the assetsInformation recording unit returns to change mark so that assets information described in assets information recording unit records changes;
Assets information query unit is used for the input in response to change mark and inquires the assets information and change.
Wherein assets change includes assets registration, assets transfer etc., that is, corresponds to creation, additions and deletions, the change of assets informationEtc. operation.Such as since the assets that procurement business generates change between supplier 12 and supplier 14.
Preferably, secret key pair is generated by rsa encryption process.
Fast using RSA cryptographic algorithms speed, the characteristic that hardly possible cracks will after carrying out scrambled to complete verification processThe coding is added in block chain, not only ensure that the publicity of whole process but also has been ensured the privacy of user, has avoided simultaneouslyThe problem of denial.
Further, the RSA cryptographic algorithms are that the plaintext generated using the public key of user to verification process is encrypted,And it can only be decrypted with the private key of user and obtain entire verification process information.
By using block chain technology, it can guarantee that assets information is not tampered, and user 14 can become by assetsIdentify such as transaction id more to monitor the change of assets.Other association users such as factoring quotient 16, supplier 12 are when neededAssets modification information can be provided by the system.
In a preferred embodiment, the change mark is sent to the block chain property of can choose to association user accountKnow, as long as the account that the association user logs in itself can be identified by the change is inquired the assets modification information, simultaneously becauseUsing block chain technology, which is that authentic and valid can not distort.
In a preferred embodiment, the setting unit of opening an account is described more for the multiple secret key pairs of same account setupA secret key pair corresponds to different account operation permissions.
This mainly considers that an enterprise creates an account, modifies company information, modification assets information, these operations generally requireIt is handled by different people, different people has different permissions, such as creates an account permission, and in the present system, threshold value is set as10, only threshold value is more than 10 could have the permission created an account.
In general, being taken care of for the secret key pair that user generates by user itself, in an embodiment of the present invention, due to as puttingThe factoring quotient of credit side, needs especially to pay close attention to the service condition made loans, and therefore, in a preferred embodiment of the invention, which depositsStorage is in the database of the system, to facilitate unified management.
Next, still by taking supplier 14 as an example, introduce respectively open an account, assets cochain, assets transfer and asset search mistakeJourney.
It opens an account
Another aspect of the present invention provides a kind of method opened an account using above system progress user, as shown in figure 3, including
User's unit of opening an account collects the company information of user 14 to be opened an account, such as unified business standing code, enterprise's nameClaim, enterprise's description, mechanism number;
Simultaneously the account that the secret key pair is directed to the user is arranged in setting unit of opening an account generation and the associated secret key pair of the user 14The operating right at family, to submit account information to affiliated block chain;
The block chain generates the corresponding account block chain address of the user and by the account block chain address in areaAll nodes of block chain are broadcasted.
Opening an account in systems is completed by above step user 14.User 14 can also invite the affiliated enterprise to be at thisIt respectively completes to open an account in system.
Assets register cochain
Another aspect of the present invention provides a kind of method for carrying out assets registration cochain using above system, as shown in figure 4, packetIt includes
User's unit of opening an account logs in its account in response to user 14 and collects the assets information of user registration in account;
Assets information recording unit is (such as transaction record, receivable/should to pay a bill according to the company information of login userMoney), account block chain address and secret key pair are searched, the assets information of user registration, account block chain address and secret key pair are mentionedHand over request to block chain;
Block chain returns to assets registration mark so that assets information recording unit records to assets information recording unitAssets register information.
Wherein, it searches secret key pair and depends on secret key pair storage wherein, if user itself stores, user uploads secret key pairTo service sub-system until block chain;If being stored in the database of the foregoing description, searched from the database.
In a preferred embodiment,
User passes through short message verification code logon account;
Assets information recording unit extracts the public key for needing the user for the assets information being written, and the assets for needing to be written are believedBreath is encrypted by public key;
Each node verifies the legitimacy for submitting request, after verification, new number by common recognition mechanism in block chainIt is added to according to block on the data memory node of the user.
Assets transfer
Another aspect of the present invention provides a kind of assets transfer method using above system, as shown in figure 5, including
User's unit of opening an account collects the assets information of user registration in account in response to user's logon account;
Assets information recording unit searches account block chain address and secret key pair according to the company information of login user, willAssets information, account block chain address and the secret key pair of user registration submit request to block chain;
Assets information recording unit carries out the request of the transfer to interlock account in response to user to the assets information of registrationThe assets information of user registration, account block chain address, secret key pair, interlock account block chain address are committed to block chain;
Block chain returns to assets transfer mark so that assets information recording unit records to assets information recording unitThe transinformation.
Asset search
Another aspect of the present invention provides a kind of method for carrying out asset search using above system, including
Assets information query unit identifies to assets information recording unit according to the change and sends inquiry request.
Optionally, the method, including
Inquiry user logs in itself account by short message verification code, and the assets modification information of association user is read in request;
The request is submitted to block chain by assets information recording unit;
Each node verifies the legitimacy for submitting request, after verification, the pass by common recognition mechanism in block chainThe data being combined in the data block connected on the data storage node at family are sent to the inquiry user node;
The inquiry user is decrypted the data in data block using own private key, obtains corresponding data.
Obviously, the above embodiment of the present invention be only to clearly illustrate example of the present invention, and not be pairThe restriction of embodiments of the present invention may be used also on the basis of the above description for those of ordinary skill in the artTo make other variations or changes in different ways, all embodiments can not be exhaustive here, it is all to belong to this hairThe obvious changes or variations that bright technical solution is extended out are still in the scope of protection of the present invention.