Specific embodiment
Currently, information product can spread through the internet, for example, video file, other users can be issued in a network
The video file can be downloaded, and the video file can be shared to other users.But after information product is published for, quotient
Family can not monitor the route of transmission of the information product, it is even more impossible to determine which user recommends the information product to other users,
Cause businessman that can not make return to the user for having shared information product.
Fig. 1 is the information propagation path figure shown in one exemplary embodiment of the present embodiment.
As shown in Figure 1, information propagation path, which can be user A, shares certain information product to user B, for example, can pass through
The lobby page of information product is sent to user B, the available webpage information of the terminal of user A and user's A information by wechat, and
It is generated according to webpage information, user's A information and shares instruction, then will shared and instruct the terminal for being sent to user B, carried in the instruction
User A information, webpage information, webpage information may include the chained address of webpage.After user B receives instruction, it can open
This buyer's guide page.But the communication process of above-mentioned webpage can not be directly acquired, so that user A can not be determined to user B points
The information product is enjoyed.
Fig. 2 is the flow chart of the recording method of the information shown in an exemplary embodiment of the invention.
Method provided in this embodiment, the information source data that can be issued based on block chain technical notes businessman, and energy
The data that user propagates the information source are recorded, enough so as to the communication process of tracing information commodity.
As shown in Fig. 2, the recording method of information provided in this embodiment includes:
Step 201, it receives information server to be recorded according to the information that information source generates, and generates first according to information record
Block.
Method provided in this embodiment can be executed by the server node in block chain network.Block chain is distributed number
According to the new application mode of the computer technologies such as storage, point-to-point transmission, common recognition mechanism, Encryption Algorithm.Common recognition mechanism therein
It is that the mathematical algorithm established between different nodes and trust, obtain equity is realized in block catenary system.
Wherein, information server can be connect by network with block chain network, and information server is used to store information source,
And information record is generated according to information source.It can be businessman and information source be uploaded to information server.For example, information server can
With the server of the iqiyi.com network platform, TV play resource can be uploaded to the server of the iqiyi.com network platform by businessman, from
And this information source is sold in a network.
Specifically, information server can send information record to block chain network after receiving new information source, with
It records the server node in block chain network according to information and generates the first block.Server node is generating the first block
Afterwards, it can also be written into block chain, so that recording this information by block records the information for including.
Further, since information source data volume itself is huge, such as a TV play resource may have tens GB, if
The first block is directly generated according to information source itself, then speed can be relatively slow.Therefore, it can be generated according to the description information of information source
First block, such as brief introduction, Hash codes, the access interface of information source etc..
When practical application, information server can determine brief introduction, Hash codes, access interface according to information source.Businessman is believing
When ceasing upload information source in server, the brief introduction of the information source can be set, information server can directly acquire corresponding letter
Jie's information.In addition, information server can also carry out Hash calculation to information source, Hash codes are obtained.Businessman uploads information source
To information server, information server can distribute access interface for the information source, so that so that other users is based on should
Access interface accesses the information source.If information server sends the request for generating block to block chain network, can in the request
To carry the corresponding brief introduction of information source, Hash codes, access interface.
Wherein, each server node in block chain network can obtain book keeping operation power according to common recognition mechanism, obtain book keeping operation
The server node of power can record according to information and generate the first block, can specifically remember the received information for not being packaged processing
Record is packaged, and the first block is generated, and the first block of generation is broadcasted to block chain network, so that in block chain network
Each server node can charge to first block in block chain.Herein, the process for generating block is recorded by information, it can
With in reference bits coin by trade (Transaction) generate block process.Based on this step, block chain technology can be based on
Store the release information of the information source of businessman's publication.
Step 202, the corresponding attribute information of information source is obtained, and the corresponding information page of information source is generated according to attribute information
Face.
Specifically, the server node in block chain network can also obtain the corresponding attribute information of information source.The attribute
Information may include description information of information source, such as brief introduction, Hash codes, the access interface of information source etc..It can also include letter
The pricing information in breath source, such as total price, sharing reward parameter.
Server node in block chain network can obtain description information by information server.
In one case, the server node in block chain network can obtain pricing information by information server.
Businessman release news in information server source when, the pricing information of the information source can be set simultaneously, such as total price, share reward
Parameter etc., information server can store these information.At this point, the server node in block chain network can be from information service
Device obtains these information, and information server can also broadcast these information to block chain network, to enable server node
Obtain the pricing information of information source.
In another case, businessman can register the block chain account of block chain network.It is issued in information server
When information source, block chain account information can be carried, specifically can be account of the businessman in information server and block chain
Account association, so that information server be enable to get block chain account information, or is directly arranged pass at the source of release information
The block chain account information of connection.After having issued information source, businessman can operate merchant terminal, issue the information to block chain network
The pricing information in source, such as total price, sharing reward parameter, so that the node in block chain network be made to determine that the price of information source is believed
Breath.For example, server account, which can be used, in user A issues a TV play resource, server account association in information server
There is the block chain account of the user A, then information server can determine corresponding block chain account according to server account.Information
The information of information source can also be recorded and be sent to block chain network by server, and block chain network can be recorded according to the information and be given birth to
At the first block.User A can issue the pricing information of the TV play resource to block chain network by block chain browser,
Block chain network can obtain the block chain account for issuing the resource, and the account ratio with publication pricing information from information server
It is right, if unanimously, information page can be generated according to the pricing information.
Further, when the pricing information that merchant terminal is issued to block chain network, signing messages can also be issued, specifically
Private key can be used pricing information is signed to obtain signing messages.Node in block chain network can store the public key of businessman,
And pricing information is verified using public key.Public key (Public Key) and private key (Private Key) are by a kind of calculation
The key pair (i.e. a public key and a private key) that method obtains, public key is part disclosed in cipher key pair, and private key is then non-public
Part.Public key is commonly used in encrypted session key, verifying digital signature, or the number that encryption can be decrypted with corresponding private key
According to.Can guarantee it is worldwide unique by the key pair that this algorithm obtains.When using this key pair, such as
Fruit encrypts one piece of data with one of key, it is necessary to be decrypted with another key.For example it must just be used with public key encryption data
Private key decryption, if with the data of private key signature, it is also necessary to which, with public key solution label, otherwise decryption will not succeed.
When practical application, information page can be webpage, such as the webpage of mobile terminal.Information source can be carried in the page
Description information and pricing information such as brief introduction, Hash codes, access interface, total price, share reward parameter.
Step 203, information page is sent to first terminal, so that information page is shared with user terminal by first terminal.
Wherein, businessman can operate merchant terminal, obtain information page from block chain network.It specifically can be to block chain
Network sends the request for obtaining information page, so that the server node in block chain network is sent to it information page, businessman
Merchant terminal can be operated and share the information page, to achieve the purpose that popularization.
Further, the server node in block chain network can also send information page to other terminals, for example, one
The server of a little Extension Software Platforms, to promote the page info in Extension Software Platform.It can also be some user terminals, for example, area
Subscription function can be set in block chain network, if user's operation user terminal has subscribed some information sources, block link network in advance
After network generates the corresponding information page of the information source, information page can be sent to the user terminal for having subscribed information source, to use
Family obtains the relevant information of information source in first time.
If first terminal is merchant terminal, which can be to the user terminal sharing information page.If the
One terminal is user terminal, then the user terminal can be to the other users terminals share information page, so that other users are whole
It holds to block chain network broadcast radiated and records.In another application scenarios, if first terminal is user terminal, the user terminal
Both it can also be recorded to other users terminals share page info to block chain network broadcast radiated.
Step 204, the propagation record for the information page that user terminal is sent is received, and generates the secondth area according to propagating to record
Block.
When practical application, user can operate the corresponding information page of user terminal browsing information page, for example, seeing it
His user can open the information page after the information page that social networks is shared;For another example when user terminal receives block
After the information page of chain network active transmission, the information page can also be opened.
Wherein, user terminal can obtain after receiving user to the operational order of information page according to operational order
The propagation information of the default page.It propagates information and refers to the path that the default page is propagated, if user A shares, user B opens user A
The content of sharing, i.e., by A to B, as propagation information of the default page.The propagation information that user terminal obtains may include letter
Cease the corresponding linking sources of the page, the user account in the user terminal, the sharing user account for sharing the information page.User is whole
After termination receives corresponding instruction unpack information page, participator's account of available information page, if sharing has not been obtained
User account can will share user account and be set as NULL it may be considered that being the information page obtained from source.
For example, the information page that block chain network is sent directly to user, then it is assumed that the information page obtained from source.
Specifically, user terminal obtains after propagating information, private key can be used and sign to information is propagated, and will include propagating information
And the record of signature is sent to block chain network together.To make the node in block chain network receive including propagating information
And the propagation record of signature.Splice for example, can will directly propagate information and sign, obtains propagating record, such as < <
Linking sources, user account, order number >, signature >.Server node can also use public key to verify to record is propagated.If school
It tests and passes through, then according to record the second block of generation is propagated, block chain can also be written in the second block, to remember based on block chain
Information is propagated in record.
Specifically, the first block, which can be identical block from the second block, is also possible to different blocks, if receiving letter
Breath record and the time gap for propagating record are closer, and less than the period for generating block, then have can for the first block and the second block
It can be the same block.
It should be noted that the first block, the second block indicate the block for being stored with record, first, second is only used for
It is distinguished.As described above, the first block and the second block, which can be same block, is also possible to different blocks.In addition,
If information server broadcasts multiple information record to block chain network, may exist multiple first blocks, each firstth area
Block is stored with a plurality of record, may include one or more information record in these records.It is similar, if similar and different user
When terminal broadcasts a plurality of propagation record to block chain, then may exist multiple second blocks, each second block is stored with a plurality of
It records, includes one or more propagation record in these records.
Based on step 204, method provided in this embodiment is able to record the propagation information of information page, so as to trace
The propagation condition of information page.
Method provided in this embodiment is for recording information, equipment of this method by being equipped with method provided in this embodiment
It executes, which realizes usually in a manner of hardware and/or software.
The recording method of information provided in this embodiment includes receiving information server to be remembered according to the information that information source generates
Record, and information is recorded into the first block of deposit;The corresponding attribute information of information source is obtained, and information source is generated according to attribute information
Corresponding information page;Information page is sent, so that the terminal for receiving information page being capable of the sharing information page;It is whole to receive user
The propagation record of the information page sent is held, and generates the second block according to propagating to record.In method provided in this embodiment, energy
It enough records the publication situation of information source and therefore the propagation condition of the corresponding information page of information source is mentioned based on the present embodiment
The method of confession is capable of the propagation condition of tracing information commodity.
Fig. 3 is the flow chart of the recording method of the information shown in another exemplary embodiment of the present invention.
As shown in figure 3, the recording method of information provided in this embodiment includes:
Step 301, it receives information server to be recorded according to the information that information source generates, and generates first according to information record
Block.
Wherein, the description information of information source is comprised at least one of the following in information record:
Brief introduction, Hash codes, access interface.
Step 301 is similar with the concrete principle of step 201 and implementation, and details are not described herein again.
Specifically, brief introduction refers to the brief introduction of information source, it can be what businessman was arranged at the source of release information, it can be with
It is that information server is generated according to information source.Information server can also carry out Hash calculation to information source, obtain Hash codes.
After information source is uploaded to information server by businessman, information server can distribute access interface for the information source, to make it
His user can access the information source based on the access interface.
Further, description information can be what information server was broadcasted to block chain network, to make server node
These description informations can be got.
Step 302, the corresponding attribute information of information source is obtained, and the corresponding information page of information source is generated according to attribute information
Face.
Step 303, information page is sent to first terminal, so that information page is shared with user terminal by first terminal.
Step 302-303 is similar with the concrete principle of step 202-203 and implementation, and details are not described herein again.
Step 304, the propagation record for the information page that user terminal is sent is received;Propagating record includes: to propagate information, the
One signing messages.
When practical application, user terminal can be connect by network with block chain network, and broadcasted and passed to block chain network
Broadcast record.
Wherein, user terminal can obtain after receiving user to the operational order of information page according to operational order
The propagation information of the default page.It propagates information and refers to the path that the default page is propagated, if user A shares, user B opens user A
The content of sharing, i.e., by A to B, as propagation information of the default page.The propagation information that user terminal obtains may include letter
It ceases the linking sources of the page, participator's account, send the user account for propagating information.Wherein, the user account for propagating information is sent
As send the user account in the user terminal for propagating information.
After user terminal gets propagation information, private key can be used to Information Signature is propagated, obtain the first signing messages.
User terminal can also will propagate information and the first signing messages is broadcasted together to block chain network.
Step 305, obtain the corresponding public key of user terminal, and using public key to propagate information and the first signing messages into
Row verification.
Further, the available user account information for sending propagation data of server node, and obtain and user's account
The corresponding public key of family information.
In method provided in this embodiment, the server node in block chain network, which can store, obtains client public key
Method or block chain network require the public key in every signing messages including user, that is, above-mentioned signing messages includes two portions
Point, first part is the ciphertext obtained using private key to informative abstract encryption, and second part is public key, and server node can be from
The public key of user is obtained in signing messages.In addition, the account of user may be client public key, at this point, server node can be with
Public key is determined according to the account of broadcast radiated data;User account and public key can also have mapping relations, at this point, server section
Can store the mapping relations in point, and after receiving propagation data, can determine broadcast the data account, and obtain with
The account corresponding public key.
When practical application, the server node in block chain network can be signed with public key to user terminal be broadcasted first
Information carries out solution label and obtains a cryptographic Hash, then carries out Hash operation to received propagation information and obtain another cryptographic Hash, and
Judge whether two cryptographic Hash are identical, if they are the same, then verification passes through.
Step 306, if verification passes through, the second block is generated according to propagating to record.
If verification passes through, each server node can generate the second block according to record is propagated based on common recognition mechanism.
Server node can strive for book keeping operation power based on common recognition mechanism, and the node for obtaining book keeping operation power can carry out at packing to record is propagated
Reason generates the second block.It may include a plurality of record in second block, propagating record can be a record therein.Herein,
By information record generate block process, can in reference bits coin by trade (Transaction) generate block process.
It wherein, can also be wide to block chain network after the node for obtaining book keeping operation power based on common recognition mechanism generates the second block
The second block is broadcast, so that also block chain is written in the second block by other server nodes.
Information product is promoted in addition, being also based on network in the prior art, such as passes through creation book review and shadow
It comments to recommend e-book and film, by creating article promotional data information etc..But book review in the prior art, film review etc.
Circulation way is all on the centralization platform as bean cotyledon, microblogging, wechat circle of friends, and platform can be obtained by flow and advertisement
Income is obtained, and user rarely has direct yield.Underexcitation reduces user and is carried out by way of creating again to information product
It promotes, so that information, which is difficult to propagate, reaches real demander, causes information asymmetry.The present embodiment also provides another
The recording method of information, can be based on the propagation condition of block chain technical notes information page, additionally it is possible to record going out for information source
Information is sold, to reward according to the sale information, propagation condition the user effectively shared is made.
Fig. 4 is the flow chart of the recording method of the information shown in another exemplary embodiment of the present invention.
As shown in figure 4, the recording method of information provided in this embodiment includes:
Step 401, it receives information server to be recorded according to the information that information source generates, and information is recorded into the firstth area of deposit
Block.
Step 401 is similar with the concrete principle of step 201 and implementation, and details are not described herein again.
Step 402, contract corresponding with the information source record that merchant terminal is sent is received, and generates the according to contract record
Three blocks.
Wherein, businessman can operate merchant terminal, send contract record to block chain network, may include in contract record
Contract information and the second signing messages.Price, sharing reward parameter in contract information including information source etc..
Specifically, businessman can operate merchant terminal, price is set and shares reward parameter, then is raw by merchant terminal
At the contract information including these information.Merchant terminal can acquisition businessman's private key actively or passively, and use businessman's private key
Signature is carried out to contract information to handle to obtain the second signing messages, then spells contract information and the second signing messages
It connects, generates contract record, then contract record is sent to block chain network.
Further, businessman can operate merchant terminal after terminal generates contract information, select signature function, from
And merchant terminal is set to obtain businessman's private key of storage, and carry out signature to contract information and generate the second signing messages.Businessman may be used also
To operate the function of merchant terminal selection publication contract information, merchant terminal can to contract information and the second signing messages into
Row splicing generates contract record, then sends contract record in block chain network.
It is available to issue what the contract recorded after each server node in block chain network receives contract record
The public key of businessman, and using public key in contract record contract information and the second signing messages verify, if verification is logical
It crosses, is then recorded according to contract and generate third block.Client public key is obtained in embodiment described in the mode and Fig. 2 of acquisition businessman's public key
Mode it is similar, repeat no more.
Each node in block chain network can obtain book keeping operation power based on common recognition mechanism, and the node for obtaining book keeping operation power generates
After block, the block can also be broadcasted to block chain network, so that also block chain is written in the block by other server nodes.This
Place, by information record generate block process, can in reference bits coin by trade (Transaction) generate block mistake
Journey.
Step 403, the description information in the corresponding information record of information source is obtained, the corresponding contract letter of information source is obtained
Breath.
It wherein, may include the description information of information source in information record.It can be information server and get information source
Description information, then splicing is carried out to it, obtains information record, and information record is distributed to block chain network.
Specifically, description information may include brief introduction, Hash codes, access interface.Brief introduction refers to the brief introduction of information source,
It can be what businessman was arranged at the source of release information, can also be what information server was generated according to information source.Information server
Hash calculation can also be carried out to information source, obtain Hash codes.After information source is uploaded to information server by businessman, information service
Device can distribute access interface for the information source, so that so that other users is based on the access interface accesses the information source.
Further, merchant terminal may include contract information, server node into the contract record that block chain is broadcasted
It directly can therefrom get the contract information.
When practical application, server node can verify received record, i.e., record to information record and contract
It is verified, if the corresponding information record of information source and all verifications of contract record pass through, step 403 can be executed.
Step 404, the information for sale of information source is generated according to contract information, description information, and is generated according to information for sale
The corresponding information page of information source.
Wherein, server node can generate the information for sale of information source according to contract information, description information, information source
Information for sale can be SKU for sale.SKU (Stock Keeping Unit) original meaning is keeper unit.I.e. inventory passes in and out metering
Basic unit, can be with part, box, pallet etc. is unit.The present abbreviation for being extended to product Unified number, every kind
Product is corresponding with unique No. SKU.
Specifically, the corresponding SKU of information source is associated with the corresponding contract information of the information source and description information, it is specific to wrap
Include price, share reward parameter, brief introduction, Hash codes, access interface etc..
Further, its corresponding information page can also be generated for each information source.Its specific available correspondence
Information for sale, and according to the detailed price of acquisition of information for sale, share reward parameter, brief introduction, Hash codes, the letter such as access interface
Breath, and information page is generated, which may include above- mentioned information, to can obtain letter after so that user is seen information page
The specific sales situation in breath source.
Step 405, information page is sent to first terminal, so that information page is shared with user terminal by first terminal.
Step 406, the propagation record for the information page that user terminal is sent is received, and generates the secondth area according to propagating to record
Block.
Step 405-406 is similar with the concrete principle of step 203-204 and implementation, and details are not described herein again.
Step 407, the payment record corresponding with information page that user terminal is sent is received.
User may browse through information page in the user terminal, and will be seen that the feelings of the corresponding information source of information page
Condition, such as brief introduction, price can operate user terminal and buy the information source if interested in the information source.
Wherein, purchase option can be set in information page, user can click purchase button, operate user terminal to area
Block chain network sends payment record corresponding with information page, to buy the corresponding information source of information page.
Specifically, user terminal specifically includes payment information and signing messages in the payment record sent to block chain.
User terminal can obtain the pricing information of information source from information page, and generate payment information, reuse private key to payment
Information is signed to obtain signing messages, so that server node can carry out school to payment information and signing messages
It tests, to ensure what the really corresponding user of the payment record issued.
Further, payment record can be<<linking sources, P, and user account>, signing messages>.Wherein, linking sources refer to
Url (Uniform Resource Locator, uniform resource locator) address of information page, P is the price of information source, is used
Family account is then the account for initiating payment record.It wherein, can also include consumption mark in payment record, for example, consumption information
Can be " consumption ", then corresponding consumer record be<<linking sources, " consumption ", P, user account>, signing messages>form,
" consumption " mark is wherein added, the node for receiving payment record can be made to determine the purpose consumption of the record, as payment note
Record.
Step 408, contract information corresponding with payment record is obtained in block chain according to payment record.
Specifically, the corresponding contract record of each information source is stored in block chain in the form of block, in contract record
Including contract information.Server node can determine corresponding information page according to the linking sources in payment record, further according to letter
The breath page determines corresponding information source, determines that contract corresponding with information source records in block chain further according to the information source, from
And obtain contract information therein.
Further, in method provided in this embodiment, it is stored with price in contract information, shares reward parameter, service
Device node can determine whether the user of purchase information source has purchasing power according to contract information, can also be based on contract information
Realize entire payment process.
Step 409, it according to the account of user terminal and information page, is obtained in block chain and propagates information.
Step 408,409 timing with no restrictions.
In method provided in this embodiment, propagation record is stored in block chain data, propagating includes propagating letter in record
Breath.
Wherein, propagating information may include the corresponding linking sources of information page, sends and propagate the user account of record, share
The sharing user account of information page.The available user terminal account for sending payment record of server node, can also obtain
The corresponding information page of payment record is taken, the propagation note including the user account and information page is obtained in block chain data
Record, then obtain propagation information therein.
Step 410, transaction record is determined according to contract information, propagation information, and the 4th block is generated according to transaction record.
Specifically, may include price in contract information, sharing reward parameter.Price refers to the total price of information source, for example,
The corresponding price of one TV play can be 20 yuan.Share reward parameter to be directed to share the setting parameter that user provides reward.
For example, reward parameter can be 0.1, then it represents that be used as amount of money award for the 10 of price, be issued to and share user.
Further, propagating may include sharing user account in information, therefore, can be provided based on information determination is propagated
The sharing user account of body.Where it is possible to which there are multiple sharing user accounts.
Fig. 4 A is the display diagram of the propagation path shown in an exemplary embodiment of the invention.
For example, in block chain data it is relevant to information page linking sources L1 record include<<L1, NULL, A>, A signature>,
<<L1, NULL, B>, B signature>,<<L1, A, C>, C signature>,<<L1, A, D>, D signature>,<<L1, B, D>, D signature>,<<L1,
" consumption ", 1.5, D >, D signature >, then display diagram is as shown in Figure 4 A.Wherein, D is consumption node, and L1, A, D and L1, B, D are to need
The propagation information wanted.
Wherein it is possible to which intelligent contract is arranged in block chain, and provide after detecting payment record, it can be according to payment
Whether the payment information detection account balance in record is sufficient, if sufficient, freezes the corresponding amount of money, otherwise, payment failure.Example
Such as, the amount of money in Frozen Account D is 1.5.In method provided in this embodiment, the prize of reward can be digital token, lead to
Demonstrate,prove (Token) etc..
When practical application, each sharing user account can be determined according to price, the sharing reward parameter in contract information
Corresponding amount of money award.
Wherein, can also preset share reward parameter setting rule, for example, can specify that reward parameter be less than
1 coefficient uses the product for sharing reward parameter and price as total amount of money award, then based on total amount of money award to each
Share user account to be allocated.Assuming that the price being arranged in contract is 1.5, the sharing reward parameter of setting is 0.1, then it represents that
Distribute to sharing user account for the 10 of 1.5, i.e., reward total amount is 0.15, if sharing user account there are two altogether,
Then each amount of money award for sharing user account is 0.075.
Specifically, can also include service charge in the setting rule of reward parameter, but for example, regulation shares reward parameter
In altogether include three parameters of x, y, z, these three parameter sums be 1, wherein x indicate businessman's collection ratio, y identify formality
Take ratio, that is, distribute to the reward of miner, z is the ratio that reward score enjoys family.
Transaction record is determined according to the corresponding amount of money award of sharing user account, price.Wherein, if not needing to distribute to mine
Expenses of labour is used, then can be directly according to the corresponding amount of money award of user is shared and total price determine the deserved expense of businessman, therefore, can be with
The amount of money of each account is accordingly increased according to the expense being calculated, and deducts the corresponding amount of money of buyer account.Then it generates
Corresponding transaction record.If desired expense is paid to miner, if then expense can be distributed to reserve miner, then generates transaction note
Expense after generating the corresponding block of transaction record, then is given the miner for generating block by record.
Step 411, pay mark is generated according to payment record, and sends pay mark to user terminal, so that user is whole
End signs pay mark using private key for user to obtain signing messages, and is taken according to pay mark, signing messages in information
Access information source in business device.
Wherein, after block chain network receives payment record, corresponding contract can be obtained according to step 408,409 and recorded
And information is propagated, and determine whether the user account remaining sum of purchase information source is sufficient according to contract record, propagation information, if filling
Foot then can generate pay mark according to payment record.Pay mark can be two dimensional code, bar code, character string etc..
Specifically, user terminal can according to pay mark in information server access information source.User can operate
User terminal, for example, reading the two dimensional code or bar code or character string that block chain is fed back using user terminal.The pay mark can
To carry the access information of information source, after user terminal identifies pay mark, the page where information source can be jumped to, in turn
Access information source.
Further, pay mark can also be the identifying code for access information source, and user can operate user terminal
Into the portal page where information source, and corresponding identifying code is inputted in the page, so that user terminal can read information
The particular content in source.
When practical application, generate pay mark and generate transaction record and generate the 4th block step timing without
Limitation.User terminal can also use<<user account, pay mark>, user's signature>mode, user can operate user
Terminal is made user terminal obtain private key for user, and is signed to obtain signing messages, then root to pay mark using private key for user
According to<<user account, pay mark>, the access information source of user's signature>in information source server.User's signature therein is
Obtained signing messages.Information server can synchronize block chain data, to reduce information server and block interchain
Interaction.After receiving access request, information server can be verified the identity of the request, specific available user
The corresponding public key of account, reuses public key and verifies to access request, and after being verified, then information server can store
Block chain data in validation of payment identify whether corresponding payment record successfully pays, if so, allowing user terminal access
Information source.
Step 412, the evaluation record that user terminal is sent is received, is recorded according to evaluation and generates the 5th block.
Wherein, after payment, block chain network can also feed back pay mark to user terminal, and user terminal can root
The information source of purchase is accessed in information server according to pay mark.
Specifically, user can browse the information source in the user terminal, and operates user terminal and send evaluation record.Example
Such as, user can input the evaluation information of " data are more complete ".User terminal can be used private key and carry out to this evaluation information
Signature handles to obtain signing messages, and evaluation information and signing messages are spliced, and obtains evaluation record, retransmits to area
Block chain network.
Node in block chain network can record received evaluation and verify, can be according to commenting if verification passes through
Valence record generates the 5th block, and is written in block chain.
Correspondingly, evaluation record corresponding with information source can also be obtained in the corresponding attribute information of acquisition information source
In evaluation information, thus make generate information page in include information source evaluation information.
It does not include evaluation information in attribute information when information source is issued for the first time when practical application, when there is user terminal
After evaluating it, its attribute information can be reacquired, to generate the information page for having evaluation information.
Fig. 5 is the structure chart of the recording device of the information shown in an exemplary embodiment of the invention.
As shown in figure 5, the recording device of information provided in this embodiment, comprising:
First receiving module 51 is recorded for receiving information server according to the information that information source generates, and according to described
Information record generates the first block;
Module 52 is obtained, generates institute for obtaining the corresponding attribute information of the information source, and according to the attribute information
State the corresponding information page of information source;
Sending module 53, for sending the information page to first terminal, so that the first terminal is by the information
The page is shared with user terminal;
Second receiving module 54, for receiving the propagation record for the information page that the user terminal is sent, and root
It is recorded according to the propagation and generates the second block.
The recording device of information provided in this embodiment, comprising: the first receiving module, for receive information server according to
The information record that information source generates, and recorded according to information and generate the first block;Module is obtained, it is corresponding for obtaining information source
Attribute information, and the corresponding information page of information source is generated according to attribute information;Sending module, for sending information page, with
Enable the terminal sharing information page for receiving information page;Second receiving module, for receiving the information of user terminal transmission
The propagation of the page records, and generates the second block according to propagating to record.In recording device provided in this embodiment, it is able to record letter
Therefore the propagation condition of the corresponding information page of publication situation and information source in breath source is based on device provided in this embodiment,
It is capable of the propagation condition of tracing information commodity.
The concrete principle and implementation of the recording device of information provided in this embodiment with embodiment class shown in Fig. 2
Seemingly, details are not described herein again.
Fig. 6 is the structure chart of the recording device of the information shown in another exemplary embodiment of the present invention.
As shown in fig. 6, on the basis of the above embodiments, the recording device of information provided in this embodiment, the information
Record, comprises at least one of the following the description information of the information source:
Brief introduction, Hash codes, access interface.
Optionally, the propagation record includes: to propagate information, the first signing messages;
Second receiving module 54, comprising:
Public key acquisition unit 541, for obtaining the corresponding public key of the user terminal, and using the public key to the biography
It broadcasts information and the first signing messages is verified;
Second block generation unit 542 executes if passing through for verifying and generates described second according to propagation record
The step of block.
Optionally, described to propagate the linking sources, sharing user account, the transmission biography that information includes: the information page
Broadcast the user account of information.
Optionally, device provided in this embodiment, further includes:
Third receiving module 55, for receiving contract corresponding with the information source record of merchant terminal transmission, and root
It is recorded according to the contract and generates third block.
Optionally, the contract record includes contract information, the second signing messages;
The acquisition module 52, comprising:
Information acquisition unit 521 is obtained for obtaining the description information in the corresponding information record of the information source
The corresponding contract information of the information source;
Page generating unit 522, for generating for sale of the information source according to the contract information, the description information
Information, and the corresponding information page of the information source is generated according to the information for sale.
Optionally, device provided in this embodiment further includes payment module 56, is used for:
Receive the payment record corresponding with the information page that the user terminal is sent;
Contract information corresponding with the payment record is obtained in block chain according to the payment record;
According to the account of the user terminal and the information page, is obtained in block chain and propagate information;
Transaction record is determined according to the contract information, the propagation information, and generates the 4th according to the transaction record
Block.
Optionally, the contract information includes price, shares reward parameter;
The payment module 56, comprising:
Account determination unit 561 shares user account for determining according to the propagation information;
Amount of money determination unit 562, for rewarding parameter according to the price in the contract information, the sharing, really
Determine the corresponding amount of money award of each sharing user account;
Transaction determination unit 563, for determining institute according to the corresponding amount of money award of the sharing user account, the price
State transaction record.
Optionally, device provided in this embodiment further includes feedback module 57, for generating payment mark according to payment record
Know, and send pay mark to user terminal, is signed so that user terminal signs to pay mark using private key for user
Name information, and according to pay mark, signing messages in information server access information source
Optionally, second receiving module 54 is also used to receive the evaluation record of user terminal transmission, according to institute's commentary
Valence record generates the 5th block;
The acquisition module 52 is specifically used for
Obtain the evaluation information in evaluation record corresponding with the information source.
The concrete principle and implementation of the recording device of information provided in this embodiment with embodiment shown in Fig. 3-4
Similar, details are not described herein again.
Fig. 7 is the structure chart of the recording equipment of the information shown in an exemplary embodiment of the invention.
As shown in fig. 7, the recording equipment of information provided in this embodiment includes:
Memory 71;
Processor 72;And
Computer program;
Wherein, the computer program is stored in the memory 71, and be configured to by the processor 72 execute with
Realize the recording method of any information as described above.
The present embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program,
The computer program is executed by processor the recording method to realize any information as described above.
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.