Summary of the invention
The embodiment of the present invention provides storage method, device, equipment and the system of a kind of asset data, can be realized assets number
It is shared according between subparticipation side, improves the transparency and confidence level of asset data, while carrying out to remaining participant
Isolation, plays the role of secret protection.
In a first aspect, the embodiment of the present invention provides a kind of storage method of asset data, applied in block chain network
Sort service node, and the block chain network includes the sequence service node, at least one peer node and the sequence
Corresponding at least two channel of service node, each peer node respectively correspond at least one at least two channel
It is a, which comprises
The mark of at least one transaction and the corresponding channel of each transaction is obtained, includes the money endorsed in the transaction
Produce data;
At least one block is generated according to the mark of each transaction and the corresponding channel of each transaction, wherein every
The mark in a corresponding channel of the block;
The mark of the block and the corresponding channel of the block is sent to the peer of the mark in the corresponding channel
Node, so that the peer node stores the block into the corresponding block chain account book of mark in the channel.
Optionally, described that at least one area is generated according to each transaction and the corresponding gap marker of each transaction
Block, comprising:
Obtain the corresponding transaction of mark in each channel;
The corresponding transaction of the mark in each channel is ranked up packing, the mark for generating each channel is corresponding
Block.
Optionally, each peer node has respectively corresponded a role;It is described obtain at least one transaction and it is each described
Before the mark in corresponding channel of trading, further includes:
Configuration of transaction is obtained, the configuration of transaction is used to indicate the mark in channel to be created, the channel to be created
Mark each role between corresponding relationship and each role and Peer node corresponding relationship;
According to the mark in the channel to be created, each channel is created;
According to the corresponding relationship and each role and Peer between the mark in the channel to be created and each role
The corresponding relationship of node creates the corresponding relationship between the mark in each channel and each peer node.
Optionally, each peer node respectively corresponds any in following roles: planning management people, assets server
Structure, trustship row, investor.
Optionally, the block chain network specifically includes first passage and second channel;
The corresponding peer node of the planning management people and the assets service organization corresponds to the first passage
With the second channel;The corresponding peer node of the trustship row corresponds to the first passage, the corresponding peer of the investor
Node corresponds to the second channel.
Optionally, the asset data is used to indicate assets managing detailed catalogue or asset statistical information;
When the asset data is used to indicate assets managing detailed catalogue, the corresponding channel of the asset data is first logical
Road;When the asset data is used to indicate asset statistical information, the corresponding channel of the asset data is second channel.
Second aspect, the embodiment of the present invention provide a kind of storage method of asset data, applied in block chain network
Peer node, the block chain network include sequence service node, at least one described peer node and sequence service
Corresponding at least two channel of node, each peer node respectively correspond at least one of described at least two channel, institute
The method of stating includes:
Receive the mark of block and the corresponding channel of the block that sequence service node is sent;
By block storage into the corresponding block chain account book of mark in the channel.
Optionally, the peer node corresponds to any in following roles: planning management people, assets service organization, trustship
Row, investor.
The third aspect, the embodiment of the present invention provide a kind of storage device of asset data, applied in block chain network
Sort service node, and the block chain network includes the sequence service node, at least one peer node and the sequence
Corresponding at least two channel of service node, each peer node respectively correspond at least one at least two channel
A, described device includes:
Module is obtained, for obtaining the mark of at least one transaction and the corresponding channel of each transaction, the transaction packet
Include the asset data endorsed;
Generation module, for generating at least one according to the mark of each transaction and the corresponding channel of each transaction
Block, wherein the mark in each corresponding channel of the block;
Sending module, for the mark of the block and the corresponding channel of the block to be sent to the corresponding channel
Mark peer node so that the block is stored the corresponding block chain account of mark to the channel by the peer node
In this.
Optionally, the generation module is specifically used for:
Obtain the corresponding transaction of mark in each channel;
The corresponding transaction of the mark in each channel is ranked up packing, the mark for generating each channel is corresponding
Block.
Optionally, each peer node has respectively corresponded a role;Described device further include: creation module;
The acquisition module, is also used to obtain configuration of transaction, and the configuration of transaction is used to indicate the mark in channel to be created
Know, pair for identifying corresponding relationship and each role and Peer node between each role in the channel to be created
It should be related to;
The creation module is used for: according to the mark in the channel to be created, creating each channel;According to it is described to
The corresponding relationship of corresponding relationship and each role and Peer node between the mark in the channel of creation and each role, creation
Corresponding relationship between the mark in each channel and each peer node.
Optionally, each peer node respectively corresponds any in following roles: planning management people, assets server
Structure, trustship row, investor.
Optionally, the block chain network specifically includes first passage and second channel;
The corresponding peer node of the planning management people and the assets service organization corresponds to the first passage
With the second channel;The corresponding peer node of the trustship row corresponds to the first passage, the corresponding peer of the investor
Node corresponds to the second channel.
Optionally, the asset data is used to indicate assets managing detailed catalogue or asset statistical information;
When the asset data is used to indicate assets managing detailed catalogue, the corresponding channel of the asset data is first logical
Road;When the asset data is used to indicate asset statistical information, the corresponding channel of the asset data is second channel.
Fourth aspect, the embodiment of the present invention provide a kind of storage device of asset data, applied in block chain network
Peer node, the block chain network include sequence service node, at least one described peer node and sequence service
Corresponding at least two channel of node, each peer node respectively correspond at least one of described at least two channel, institute
Stating device includes:
Receiving module, for receiving the mark of block and the corresponding channel of the block that sequence service node is sent;
Memory module, for storing the block into the corresponding block chain account book of mark in the channel.
Optionally, the peer node corresponds to any in following roles: planning management people, assets service organization, trustship
Row, investor.
5th aspect, the embodiment of the present invention provides a kind of storage equipment of asset data, comprising: at least one processor and
Memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of memory storage so that it is described at least one
Processor executes the storage method such as the described in any item asset datas of first aspect.
6th aspect, the embodiment of the present invention provides a kind of storage equipment of asset data, comprising: at least one processor and
Memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of memory storage so that it is described at least one
Processor executes the storage method such as the described in any item asset datas of second aspect.
7th aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium
It is stored with computer executed instructions in matter, when processor executes the computer executed instructions, realizes as first aspect is any
The storage method of asset data described in, alternatively, such as the storage method of the described in any item asset datas of second aspect.
Eighth aspect, the embodiment of the present invention provide a kind of storage system of asset data, comprising: client, such as the 5th side
The storage equipment of the storage equipment of asset data described in face and at least one asset data as described in terms of the 6th.
Storage method, device, equipment and the system of asset data provided in an embodiment of the present invention are drawn in block chain network
Divide at least two channels, each peer node corresponds to one or more at least two channel;When sequence service node
The mark of at least one transaction and the corresponding channel of each transaction is obtained, the transaction includes the asset data endorsed, root
At least one block is generated according to the mark of each transaction and the corresponding channel of each transaction, wherein each block
The mark of the block and the corresponding channel of the block is sent to the corresponding channel by the mark in a corresponding channel
The peer node of mark, so that the block is stored the corresponding block chain account book of mark to the channel by the peer node
In;So as to realize that asset data is shared between the participant in same channel, the transparency of asset data is improved
And confidence level, while the participant in other channels is isolated, play the role of secret protection.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove
Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any
Deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, production
Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this
A little process, methods, the other step or units of product or equipment inherently.
Term involved in the embodiment of the present invention is explained first:
Assets service organization: being the manager of securitisation underlying assets, and underlying assets generation is collected in groundwork
Principal and interest cash flow, be responsible for it is corresponding establish, keeping, these assets collected principal and interest that expires is given to trustee, to mistake
Phase bills due carries out collection, it is ensured that fund in time, it is full-amount in place, provide statement to trustee and investor.
Planning management people: the main agencies of asset securitization project are responsible for trustship underlying assets and associated all kinds of
Equity carries out implementation supervision and management to assets.
Trustship row: referring to and be responsible for keeping, hold the fund that the investment institution such as fund management company raise from customers' place, and
Supervision is carried out using the funds to fund manager and externally discloses the mechanism of information, is usually taken on by business bank.
Investor: investor refers to that cash input buys certain assets it is expected the natural person and Fa of acquisition interests or profit
People.
Channel (Channel): the privately owned subnet communicated between nodes two or more in block chain network, for needing
Carry out the transaction of data confidentiality.
Endorsement node (Endorser): the node endorsed to transaction motion, endorsement node connect from sequence service node
Midwifery at block, safeguard and update local account book.
It sorts service node (Orderer): being responsible for receiving the endorsement transaction that client is submitted, endorsement transaction is ranked up
And generate block.
It executes node (Committer): receiving the block generated from sequence service node, safeguard and update local account book,
But it is not involved in the endorsement of transaction motion.
As previously mentioned, the asset data of ABS business exists only in the database of assets service organization in the prior art,
His participant can only be by the interface indirect gain asset data that assets service organization provides, so that the transparency of asset data is not
There is the risk being tampered in height.
The embodiment of the present invention provides storage method, device, equipment and the system of a kind of asset data, can be realized assets number
It is shared according between subparticipation side, improves the transparency and confidence level of asset data, while carrying out to remaining participant
Isolation, plays the role of secret protection.
Fig. 1 is the structural schematic diagram of the storage system of asset data provided in an embodiment of the present invention, as shown in Figure 1, this reality
The storage system for applying the asset data of example uses block chain network, including: sequence service node and at least one peer are saved
Point.
Wherein, peer node is the fundamental node in block chain network, is mainly responsible for execution chain code, realizes the reading to account book
Write operation.Peer node is according to whether being provided with endorsement strategy, being divided into endorsement node and executing node.Wherein, endorsement section
Point can carry out signature endorsement to transaction motion according to the setting of endorsement strategy, and endorsement node is dynamic role, only in visitor
The peer node is only endorsement node when endorsement request is initiated to peer node in family end, and otherwise it is exactly common execution section
Point.
Sequence service node is used to receive the endorsement transaction comprising endorsement signature, and is ranked up packing to endorsement transaction,
Block is generated, and block is sent to each peer node, then each peer node stores block to local after receiving block
In account book.That is, each transaction has storage in the local account book of each peer node in block chain network.One
In a block chain website, only one sequence service node, the sequence service node can be specifically made of multiple ordering joints,
The embodiment of the present invention is not especially limited the quantity of ordering joint.
In the embodiment of the present invention, each participant of ABS business can correspond to one or more peer node.ABS business
Participant can be by being connected to one of peer node or the service node that sorts realizes read-write to asset data.
Specifically, peer node can be connected to by client when the participant of ABS business needs to update asset data
(the peer node is endorsement node at this time), sends transaction motion to the peer node, wherein including to be updated in transaction motion
Asset data, by peer node to transaction motion endorse, after the completion of endorsement, peer node will endorsement transaction returns to visitor
Endorsement transaction is sent to sequence service node by family end, client.Since sequence service node may receive multiple clients simultaneously
The endorsement transaction that end is sent, sequence service node are ranked up packing to the multiple endorsements transaction received, generate block, and will
Block is sent to each peer node (peer node is execution node at this time), and each peer node is verified to block is received
Afterwards, by block storage into the local account book of oneself.By the above process as it can be seen that for the transaction motion that participant is submitted, most
It can be stored in the local account book of each peer node eventually, realize the distributed storage to asset data.
When the participant of ABS business needs to inquire account book, it can be connected to peer node by client, pass through execution
Chain code realizes the inquiry to account book.
In the embodiment of the present invention, asset data is stored using block chain technology distribution formula, each participant may be implemented to money
The shared of data is produced, the transparency and confidence level of asset data are improved.The embodiment of the present invention is arranged multiple in block chain network
Channel may be implemented for part asset data, only shares between subparticipation side, plays data isolation to other participants
With the effect of secret protection, the confidence level of asset data can be further improved.
Technical solution of the present invention is described in detail with specifically embodiment below.These specific implementations below
Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
Fig. 2 is the flow chart one of the storage method of asset data provided in an embodiment of the present invention, and Fig. 3 is the embodiment of the present invention
The interaction diagrams of the storage method of the asset data of offer.The block chain network of the present embodiment includes sequence service node, extremely
A few peer node and corresponding at least two channel of sequence service node, each peer node respectively correspond it is described extremely
At least one of few two channels.
Wherein, peer node and sequence service node can correspond to computer equipment or server, also, each peer
The physical location of node and sequence service node can be located at cloud, may be located on local.User can by client with
Peer node or sequence service node are communicatively coupled.
In the present embodiment, channel is understood that as by client, peer node and the block chain that forms of sequence service node
Sub-network is specially designed to protect the data-privacy of participant.The transaction data in each channel forms a block chain,
It is only visible to channel interior member.It should be understood that multiple channels can be added in a peer node simultaneously, to it is different
Participant carries out different business.
It should be understood that each peer node can be connected to sequence service node by one or more channel, from
And it can receive the block data transmitted on one or more channel, and safeguard the corresponding account book in one or more channel.
Fig. 4 is the structural schematic diagram that the block chain network in channel is provided in the embodiment of the present invention, as shown in figure 4, the area
It include 4 peer nodes, respectively E0, E1, E2 and E3 in block chain network, sequence service node is corresponding, and there are two channels, respectively
For channel 1 and channel 2.Wherein, peer node (E0, E1, E2 and E3) is in together in channel 1, therefore, 4 peer nodes
With the data in read/write channel 1;In addition, E0 and E2 constitute channel 2 again, then E0 and E2 can be with the data in read/write channel 2.
That is, E0 and E2 can with the data of read/write channel 1 and channel 2, E1 and E3 can only read/write channel 1 data.
It should be noted that the embodiment of the present invention does not limit the quantity in channel and the quantity of peer node specifically
It is fixed, it can be reasonably selected according to the actual situation, it is shown in Fig. 4 merely illustrative.
The storage method of asset data provided in this embodiment, executing subject can be the sequence service in Fig. 1 and Fig. 4
Node.
As shown in Figures 2 and 3, the method for the present embodiment may include:
S201: the mark of at least one transaction and the corresponding channel of each transaction is obtained, includes having carried on the back in the transaction
The asset data of book.
It should be noted that the storage method of the asset data of the present embodiment is applicable to the asset data in ABS business
Storage, but it is not limited to this.The present embodiment and subsequent embodiment by taking the storage of the asset data in ABS business as an example into
Row description.
Wherein, asset data should be understood as that generated any type of assets or fund are relevant in ABS business
Data, including but not limited to: first purchase fund detail, circular buying and displacement fund detail, are set circular buying capital investment
Change capital investment etc..
When the participant of ABS business needs to upload to asset data into block chain, participant can be according to the asset data
Property, determine gap marker corresponding to the asset data, that is, determine the asset data to the member in which channel as it can be seen that example
Such as, for the asset data of the first kind, only to the member in channel 1 as it can be seen that then the corresponding channel of such asset data is logical
Road 1, for the asset data of the second class, only to the member in channel 2 as it can be seen that then the corresponding channel of such asset data is logical
Road 2.
Then asset data can be sent to the corresponding endorsement node of the participant, endorsement section by client by participant
After point carries out signature endorsement to asset data, the asset data after being endorsed returns to client, then will include by client
The mark in the transaction for the asset data endorsed and the corresponding channel of the transaction is sent to sequence service node.
It should be understood that due in block chain network include multiple participants, each participant can correspond to one or
Multiple peer nodes, therefore, sequence service node may receive a plurality of asset data endorsed.
S202: generating at least one block according to the mark of each transaction and the corresponding channel of each transaction,
In, the mark in each corresponding channel of the block.
Specifically, after sequence service node obtains a plurality of transaction, it is corresponding according to each transaction and each transaction
The mark in channel generates at least one block.It should be understood that service node is sorted during generating block, it can basis
The corresponding each transaction of identical gap marker generates block, to realize the isolation to different types of asset data.Namely
It says, for each block of generation, what is stored in the block is all the corresponding transaction of mark in identical channel.
It is described raw according to each transaction and the corresponding gap marker of each transaction in a kind of optional embodiment
At at least one block, comprising: obtain the corresponding transaction of mark in each channel;The mark in each channel is corresponding
Transaction is ranked up packing, generates the corresponding block of mark in each channel.
For example, sequence service node may get the transaction of N item, include the assets number endorsed in every transaction
According to M item therein trades corresponding channel as channel 1, and remaining corresponding channel of trading is channel 2, and therefore, sequence service saves
Point is ranked up packing when generating block, by the M item transaction that corresponding channel is channel 1, generates block 1, is by corresponding channel
The transaction in channel 2 is ranked up packing, generates block 2.In this way, block 1 is the block in channel 1, block 2 is in channel 2
Block.
Wherein, when being packaged to each asset data, the transaction of preset quantity can be packaged and generates a block,
Transaction can be packaged according to the preset time interval and generate a block, the embodiment of the present invention is simultaneously not especially limited.
S203: the mark of the block and the corresponding channel of the block is sent to the mark in the corresponding channel
Peer node, so that the peer node stores the block into the corresponding block chain account book of mark in the channel.
After the service node that sorts generates block, the mark of block and the corresponding channel of the block is sent to corresponding this and is led to
The peer node of the mark in road.Each peer node receives the mark of block and the corresponding channel of block that sequence service node is sent
After knowledge, by block storage into the corresponding block chain account book of mark in the channel.
For example, the block 1 of above-mentioned generation is sent to the corresponding peer node in channel 1, i.e. E0, E1, E2 and E3 node;On
It states after 4 nodes receive block 1, by the block 1 storage into the corresponding block chain account book in respective channel 1.By above-mentioned life
At block 2 be sent to the corresponding peer node in channel 2, i.e. E0 and E2 node;After above-mentioned 2 nodes receive block 2, by this
Block 2 is stored into the corresponding block chain account book in respective channel 2.
By the example above as it can be seen that node E0 and E2 can be saved with the corresponding block chain account book of read/write channel 1 and channel 2
Point E1 and E3 only can be with the corresponding block chain account book of read/write channel 1.It therefore, can when ABS business participant stores asset data
The mark in channel corresponding to the asset data is set with the type according to asset data, it will be different types of so as to realize
Asset data is stored into the corresponding account book in different channels, for example, by first kind asset data storage to the corresponding account book in channel 1
In, then node E0, E1, E2 and E3 can share first kind asset data;The storage of second class asset data is corresponding to channel 2
Account book in, then the second class asset data only to node E0 and E2 as it can be seen that and it is invisible to node E1 and E3, to realize pair
Asset data is shared and is isolated.
The storage method of asset data provided in an embodiment of the present invention divides at least two channels in block chain network,
Each peer node corresponds to one or more at least two channel;When sequence service node obtains at least one transaction
Include the asset data endorsed in the transaction with the mark in the corresponding channel of each transaction, according to each transaction with
And each mark for trading corresponding channel generates at least one block, wherein each corresponding channel of the block
Mark saves the peer that the mark of the block and the corresponding channel of the block is sent to the mark in the corresponding channel
Point, so that the peer node stores the block into the corresponding block chain account book of mark in the channel;So as to
It realizes that asset data is shared between the participant in same channel, improves the transparency and confidence level of asset data, together
When the participant in other channels is isolated, play the role of secret protection.
Below with reference to a specific embodiment, illustrate the creation process in channel in block chain network.
Fig. 5 is the flowchart 2 of the storage method of asset data provided in an embodiment of the present invention, in the base of above-described embodiment
On plinth, each peer node has respectively corresponded a role.As shown in figure 5, the method for the present embodiment, can also include:
S501: obtaining configuration of transaction, and the configuration of transaction is used to indicate the mark, described to be created in channel to be created
The corresponding relationship of corresponding relationship and each role and Peer node between the mark in channel and each role.
Wherein, in ABS business, the role of each participant includes but is not limited to: planning management people, assets service organization,
Trustship row, investor, therefore, each peer node respectively correspond any in following roles: planning management people, assets service
Mechanism, trustship row, investor.
Specifically, configuration of transaction can be sent to sequence service node by client when needing to create channel, thus
The service node that sorts completes the creation to channel according to configuration of transaction.
In a kind of optional embodiment, after each participant of ABS business is reached common understanding, a configuration text can be generated
Part, configuration file can indicate corresponding relationship and each angle between the mark in the channel to be created and each role
The corresponding relationship of color and Peer node indicates the corresponding channel of which role.Then, which is passed through into client
Corresponding configuration of transaction is generated, and is sent to sequence service node.
S502: according to the mark in the channel to be created, each channel is created.
S503: according to the channel to be created mark each role between corresponding relationship and each role with
The corresponding relationship of Peer node creates the corresponding relationship between the mark in each channel and each peer node.
Service node sort according to the mark in channel to be created, after creating each channel, can also create each described
Corresponding relationship between the mark in channel and each peer node.It optionally, can also be by the mark in each channel and each
Corresponding relationship between the peer node is sent to each peer node.
After the creation of channel, the peer node for belonging to the same channel will synchronize the block data in the channel, and take from sequence
Business node receives the subsequent newly-generated block data in the channel.
Below with reference to specific embodiment, illustrate the storage scheme of asset data in ABS business.
In ABS business, asset data can be divided into two classes, and one type is assets managing detailed catalogue, another kind of to unite for assets
Count information.
Wherein, assets managing detailed catalogue includes but is not limited to: the managing detailed catalogue of first purchase assets, the detail of assets returned money are believed
Breath, the managing detailed catalogue of circular buying, the managing detailed catalogue for replacing assets etc..
Asset statistical information can be divided into fund summary information and assets summary information again, wherein fund summary information packet
Include but be not limited to: repayment amount, which summarizes, the circular buying amount of money summarizes, replaces the amount of money daily summarizes;Assets summary information includes
But it is not limited to: it is overdue enters pond principal amount distribution statistics, principal outstanding amount of money distribution statistics, contract term distribution statistics, assets
Distribution statistics etc..
Fig. 6 is channel in the embodiment of the present invention, asset data, the correspondence diagram between ABS business participant, such as
Shown in Fig. 6, in the present embodiment, first passage and second channel are set in block chain network.When the asset data is for referring to
When showing assets managing detailed catalogue, the corresponding channel of the asset data is first passage;When the asset data is used to indicate assets
When statistical information, the corresponding channel of the asset data is second channel.
Each participant of ABS business generally includes: planning management people, assets service organization, trustship row and investor.It is described
The corresponding peer node of planning management people and the assets service organization corresponds to the first passage and described second and leads to
Road;The corresponding peer node of the trustship row corresponds to the first passage, described in the corresponding peer node of the investor is corresponding
Second channel.
That is, assets managing detailed catalogue is only put into first passage, thus only assets service organization, planning management people
Possess the access limit of assets managing detailed catalogue with trustship row;Asset statistical information is only put into second channel, thus only assets
Service organization, planning management people and investor possess the access limit of asset statistical information.
Illustrate the storing process of asset data for assets managing detailed catalogue and asset statistical information separately below.
When assets service organization needs new assets managing detailed catalogue, endorsement can be sent to endorsement node by client and asked
It asks, and receives the assets managing detailed catalogue after endorsement node signature endorsement, then will include the friendship for the assets managing detailed catalogue endorsed
Easily it is sent to sequence service node.The service node that sorts stores the transaction into the corresponding block of first passage, and is sent to
The corresponding peer node of first passage (assets service organization, planning management people and the corresponding peer node of trustship row), each peer
Node stores block data into the corresponding account book of first passage of oneself.Pass through the storage of above-mentioned assets managing detailed catalogue
Journey realizes assets managing detailed catalogue sharing between planning management people, assets service organization and trustship row, it is bright to improve assets
The transparency and confidence level of thin information.In addition, assets managing detailed catalogue is not to investor since first passage is not added by investor
It is visible, realize isolation of the assets managing detailed catalogue to investor.
Client can be passed through after assets service organization generates asset statistical information based on above-mentioned assets managing detailed catalogue
Endorsement request is sent to endorsement node, and receives the asset statistical information after endorsement node signature endorsement, then will include having carried on the back
The transaction of the asset statistical information of book is sent to sequence service node.The service node that sorts stores the transaction to second channel pair
In the block answered, and it is sent to the corresponding peer node of second channel (assets service organization, planning management people and investor's correspondence
Peer node), each peer node by block data store into the corresponding account book of second channel of oneself.Pass through above-mentioned money
The storing process for producing statistical information, realizes asset statistical information between planning management people, assets service organization and investor
It is shared, improve the transparency and confidence level of asset statistical information.In addition, since first passage, assets are not added for trustship row
Statistical information be to trustship row it is sightless, realize isolation of the asset statistical information to trustship row.
It should be noted that the example above is to be with assets service organization more new assets managing detailed catalogue and asset statistical information
Example is illustrated, but the embodiment of the present invention is not limited thereto, it is possible to understand that, the corresponding any ABS business ginseng of first passage
It can realize the storage of assets managing detailed catalogue by the above process with side (planning management people, assets service organization, trustship row),
The corresponding any ABS business participant (planning management people, assets service organization, investor) of second channel can be by above-mentioned
The storage of process realization asset statistical information.
It optionally, can also be by being set in planning management people, assets service organization and the corresponding endorsement node of investor
Intelligent contract is set, realizes to the statistics of asset statistical information, effectively increases the confidence level of asset statistical information.
In the present embodiment, by dividing first passage and second channel, planning management people and assets in block chain network
The corresponding peer node of service organization corresponds to first passage and second channel, the corresponding peer node of trustship row corresponding the
One channel, the corresponding peer node of investor corresponds to second channel, and when storing asset data, assets managing detailed catalogue is put into
Asset statistical information is put into second channel, effectively controls the access authority of asset data, realize assets detail by one channel
Information is shared between planning management people, assets service organization and trustship row;Also, assets managing detailed catalogue to investor not
In visible situation, investor can obtain asset statistical information by intelligent contract, effectively increase asset statistical information
Confidence level.
Fig. 7 is the structural schematic diagram one of the storage device of asset data provided in an embodiment of the present invention, the dress of the present embodiment
The sequence service node being applied in block chain network is set, the block chain network includes the sequence service node, at least one
A peer node and corresponding at least two channel of the sequence service node, each peer node respectively correspond it is described extremely
At least one of few two channels.
As shown in fig. 7, the storage device 700 of asset data provided in this embodiment, comprising: obtain module 701, generate mould
Block 702 and sending module 703.
Wherein, module 701 is obtained, for obtaining the mark of at least one transaction and the corresponding channel of each transaction, institute
Stating includes the asset data endorsed in transaction.
Generation module 702, for being generated at least according to the mark of each transaction and the corresponding channel of each transaction
One block, wherein the mark in each corresponding channel of the block.
Sending module 703, for the mark of the block and the corresponding channel of the block to be sent to described in correspondence
The peer node of the mark in channel, so that the block is stored the corresponding block of mark to the channel by the peer node
In chain account book.
The device of the present embodiment can be used for executing the side of sequence service node side in above-mentioned embodiment of the method as indicated with 2
Case, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Fig. 8 is the structural schematic diagram two of the storage device of asset data provided in an embodiment of the present invention.As shown in figure 8,
On the basis of embodiment illustrated in fig. 7, the storage device 700 of asset data provided in this embodiment can also include creation module
704。
Optionally, the generation module 702 is specifically used for: obtaining the corresponding transaction of mark in each channel;It will be each
The corresponding transaction of the mark in the channel is ranked up packing, generates the corresponding block of mark in each channel.
Optionally, each peer node has respectively corresponded a role;The acquisition module 701 is also used to obtain and match
Transaction is set, the configuration of transaction is used to indicate the mark in channel to be created, the mark in the channel to be created and each role
Between corresponding relationship and each role and Peer node corresponding relationship.
The creation module 704 is used for: according to the mark in the channel to be created, creating each channel;According to institute
The corresponding relationship between the mark in channel to be created and each role and the corresponding relationship of each role and Peer node are stated,
Create the corresponding relationship between the mark in each channel and each peer node.
Optionally, each peer node respectively corresponds any in following roles: planning management people, assets server
Structure, trustship row, investor.
Optionally, the block chain network specifically includes first passage and second channel;The planning management people and described
The corresponding peer node of assets service organization corresponds to the first passage and the second channel;The trustship row is corresponding
Peer node correspond to the first passage, the corresponding peer node of the investor corresponds to the second channel.
Optionally, the asset data is used to indicate assets managing detailed catalogue or asset statistical information;When the assets number
When according to being used to indicate assets managing detailed catalogue, the corresponding channel of the asset data is first passage;When the asset data is used for
When indicating asset statistical information, the corresponding channel of the asset data is second channel.
The device of the present embodiment can be used for executing the technical side of sequence service node side in any of the above-described embodiment of the method
Case, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Fig. 9 is the structural schematic diagram three of the storage device of asset data provided in an embodiment of the present invention, the dress of the present embodiment
Set the peer node that can be applied in block chain network, the block chain network includes sequence service node, described at least one
Peer node and corresponding at least two channel of the sequence service node, each peer node respectively correspond it is described at least
At least one of two channels.
As shown in figure 9, the storage device 900 of asset data provided in this embodiment, including receiving module 901 and storage mould
Block 902.
Wherein, receiving module 901, for receiving the block and the block corresponding channel that sequence service node is sent
Mark.
Memory module 902, for storing the block into the corresponding block chain account book of mark in the channel.
Optionally, the peer node corresponds to any in following roles: planning management people, assets service organization, trustship
Row, investor.
The device of the present embodiment can be used for executing the technical solution of peer node side in any of the above-described embodiment of the method,
The realization principle and technical effect are similar, and details are not described herein again.
Figure 10 is the structural schematic diagram one of the storage equipment of asset data provided in an embodiment of the present invention, and the present embodiment is set
The standby sequence service node that can be used as in block chain network.As shown in Figure 10, the storage of asset data provided in this embodiment
Equipment 1000, comprising: at least one processor 1001 and memory 1002.The storage equipment 1000 of the asset data further includes leading to
Believe component 1003.Wherein, processor 1001, memory 1002 and communication component 1003 are connected by bus 1004.
During specific implementation, at least one processor 1001 executes the computer that the memory 1002 stores and executes
Instruction, so that at least one processor 1001 executes the assets number performed by service node that sorts in any of the above-described embodiment of the method
According to storage method.
The communication component 1003 can be used for being communicated with client and peer node.
The specific implementation process of processor 1001 can be found in above method embodiment, implementing principle and technical effect class
Seemingly, details are not described herein again for the present embodiment.
Figure 11 is the structural schematic diagram two of the storage equipment of asset data provided in an embodiment of the present invention, and the present embodiment is set
The standby peer node that can be used as in block chain network.As shown in figure 11, the storage equipment of asset data provided in this embodiment
1100, comprising: at least one processor 1101 and memory 1102.The storage equipment 1100 of the asset data further includes communication unit
Part 1103.Wherein, processor 1101, memory 1102 and communication component 1103 are connected by bus 1104.
During specific implementation, at least one processor 1101 executes the computer that the memory 1102 stores and executes
Instruction, so that at least one processor 1101 executes asset data performed by peer node in any of the above-described embodiment of the method
Storage method.
The communication component 1103 can be used for being communicated with client and sequence service node.
The specific implementation process of processor 1101 can be found in above method embodiment, implementing principle and technical effect class
Seemingly, details are not described herein again for the present embodiment.
In the embodiment shown in above-mentioned Figure 10 and Figure 11, it should be appreciated that processor can be central processing unit (English
Text: Central Processing Unit, referred to as: CPU), it can also be other general processors, digital signal processor (English
Text: Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific
Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to
Any conventional processor etc..Hardware processor can be embodied directly in conjunction with the step of invention disclosed method to have executed
At, or in processor hardware and software module combination execute completion.
Memory may include high speed RAM memory, it is also possible to and it further include non-volatile memories NVM, for example, at least one
Magnetic disk storage.
Bus can be industry standard architecture (Industry Standard Architecture, ISA) bus, outer
Portion's apparatus interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended
Industry Standard Architecture, EISA) bus etc..Bus can be divided into address bus, data/address bus, control
Bus etc..For convenient for indicating, the bus in illustrations does not limit only a bus or a type of bus.
The application also provides a kind of computer readable storage medium, and calculating is stored in the computer readable storage medium
Machine executes instruction, and when processor executes the computer executed instructions, realizes the service node that sorts in above method embodiment
The storage method of performed asset data.
The application also provides a kind of computer readable storage medium, and calculating is stored in the computer readable storage medium
Machine executes instruction, and when processor executes the computer executed instructions, realizes that peer node is held in above method embodiment
The storage method of capable asset data.
Above-mentioned computer readable storage medium, above-mentioned readable storage medium storing program for executing can be by any kind of volatibility or non-
Volatile storage devices or their combination realize that, such as static random access memory (SRAM), electrically erasable is only
It reads memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM) is read-only to deposit
Reservoir (ROM), magnetic memory, flash memory, disk or CD.Readable storage medium storing program for executing can be general or specialized computer capacity
Any usable medium enough accessed.
A kind of illustrative readable storage medium storing program for executing is coupled to processor, to enable a processor to from the readable storage medium storing program for executing
Information is read, and information can be written to the readable storage medium storing program for executing.Certainly, readable storage medium storing program for executing is also possible to the composition portion of processor
Point.Processor and readable storage medium storing program for executing can be located at specific integrated circuit (Application Specific Integrated
Circuits, referred to as: ASIC) in.Certainly, processor and readable storage medium storing program for executing can also be used as discrete assembly and be present in equipment
In.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.