CN110069948A - Method and relevant device disclosed in series digit file is carried out on block chain - Google Patents
Method and relevant device disclosed in series digit file is carried out on block chain Download PDFInfo
- Publication number
- CN110069948A CN110069948A CN201910194893.0A CN201910194893A CN110069948A CN 110069948 A CN110069948 A CN 110069948A CN 201910194893 A CN201910194893 A CN 201910194893A CN 110069948 A CN110069948 A CN 110069948A
- Authority
- CN
- China
- Prior art keywords
- digital document
- block
- hash value
- open
- transaction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000004590 computer program Methods 0.000 claims description 2
- 238000012545 processing Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000002401 inhibitory effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 210000000352 storage cell Anatomy 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3821—Electronic credentials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2151—Time stamp
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses it is a kind of series digit file is carried out on block chain disclosed in method and relevant device, be related to data dissemination field, this method comprises: obtaining the trusted timestamp of the digital document when receiving the request of open digital document;Last open the generated exchange of digital document is obtained in the block hash value of block;Obtain the transaction hash value of last open the generated transaction of digital document;The trusted timestamp and the last open digital document are generated into the corresponding block hash value of transaction, the transaction hash value, the presumptive area of the digital document is written;The digital document is carried out to disclosure on block chain.The method increase the compactnesses of series digit file disclosed reliability and forward-backward correlation on block chain.
Description
Technical field
The present invention relates to data dissemination fields, more particularly to series digit file is carried out on block chain disclosed in side
Method and relevant device.
Background technique
By a series of digital documents when carrying out open on block chain, how maintenance while disclosing digital document
The copyright important in inhibiting of digital document.Simultaneously as open digital document all independently carries out every time, in many situations
Under, a series of digital documents of same user can't carry out disclosure simultaneously, and it is open every time to be all spaced certain time, such as:
Novel is published in instalments.In this case, when in block chain digital document disclose frequency it is higher when, it is digital disclosed in same user
The time interval of file, there is digital documents disclosed in a large amount of other users for meeting, therefore, have searched same user before
Disclosed digital document has comparable difficulty.
Summary of the invention
Based on this, for solve in the related technology how from technological layer more reliably by series digit file in block
The technical issues of faced, is disclosed on chain, and the present invention provides a kind of to carry out series digit file disclosure on block chain
Method and relevant device.
In a first aspect, provide it is a kind of series digit file is carried out on block chain disclosed in method, comprising:
When receiving the request of open digital document, the trusted timestamp of the digital document is obtained;
Last open the generated exchange of digital document is obtained in the block hash value of block;
Obtain the transaction hash value of last open the generated transaction of digital document;
The trusted timestamp and the last open digital document are generated into the corresponding block Hash of transaction
Value, the transaction hash value, are written the presumptive area of the digital document;
The digital document is carried out to disclosure on block chain.
In an exemplary embodiment of the disclosure, when receiving the request of open digital document, the number is obtained
The trusted timestamp of file, comprising:
Abstract operation is carried out to the digital document, obtains corresponding digest value;
By the digest value and timestamp certification request, it is sent to third party's trusted timestamp certification authority;
Receive the trusted timestamp that third party's timestamp certification authority generates the digital document.
In an exemplary embodiment of the disclosure, last open the generated exchange of digital document is obtained in block
Block hash value, comprising:
Determine whether this is first time open digital document;
If it is first time open digital document, then by last open the generated exchange of digital document in block
Block hash value be determined as NULL.
In an exemplary embodiment of the disclosure, the transaction Hash of last open the generated transaction of digital document is obtained
Value, comprising:
Determine whether this is first time open digital document;
If it is first time open digital document, then by the transaction of last open the generated transaction of digital document
Hash value is determined as NULL.
In an exemplary embodiment of the disclosure, encourages the digital document and carry out disclosure on block chain, comprising: by institute
State the digital document receiving node that digital document is sent on block chain.
It is described after the digital document to be carried out to disclosure on block chain in an exemplary embodiment of the disclosure
Method further include:
This open generated exchange of digital document is written in preset allocation list in the block hash value of block, institute
It states and stores every time open digital document, corresponding block hash value and transaction hash value in allocation list;
The transaction hash value of this open generated transaction of digital document is written in the preset allocation list.
In an exemplary embodiment of the disclosure, generated exchange of digital document is disclosed into the block of block for this
Hash value is written in preset allocation list, comprising:
It is if block not yet generates, block hash value corresponding in the allocation list is true after this open digital document
It is set to NULL, after block generation, the block hash value is determined as this open generated exchange of digital document and is existed
The block hash value of block.
According to the second aspect of the disclosure, provide it is a kind of series digit file is carried out on block chain disclosed in fill
It sets, comprising:
First obtains module, for obtaining the credible of the digital document when receiving the request of open digital document
Timestamp;
Second obtains module, for obtaining last open the generated exchange of digital document in the block Hash of block
Value;
Third obtains module, for obtaining the transaction hash value of last open the generated transaction of digital document;
Writing module, it is corresponding for the trusted timestamp and the last open digital document to be generated transaction
The block hash value, the transaction hash value, are written the presumptive area of the digital document;
Open module, for the digital document to be carried out to disclosure on block chain.
According to the third aspect of the disclosure, provide it is a kind of series digit file is carried out on block chain disclosed in electronics
Equipment, comprising:
Memory is configured to storage executable instruction;
Processor is configured to execute the executable instruction stored in memory, to realize the process described above.
According to the fourth aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored with
Instruction makes computer execute the process described above when the computer instruction is computer-executed.
Compared with being independently to carry out when carrying out open on block chain by digital document in traditional technology, the reality of the disclosure
Example is applied by the way that the hash value of digital document disclosed in the last time to be written in digital document of disclosure, and to disclosed every time
Digital document carries out believable timestamp certification so that disclosed digital document realize creation time it is credible while, energy
It is enough interrelated, improve the compactness of reliability disclosed in series digit file and forward-backward correlation.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure
Practice and acquistion.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
It is open.
Detailed description of the invention
Fig. 1 is shown to flow according to disclosed in the carrying out series digit file on block chain of one example embodiment of the disclosure
Cheng Tu.
Fig. 2 shows fill according to disclosed in the carrying out series digit file on block chain of one example embodiment of the disclosure
The block diagram set.
Fig. 3 is shown according to one example embodiment of the disclosure when receiving the request of open digital document, obtains institute
State the detail flowchart of the trusted timestamp of digital document.
Fig. 4, which is shown, to be disclosed the generated exchange of digital document according to the acquisition last time of one example embodiment of the disclosure and exists
The detail flowchart of the block hash value of block.
Fig. 5 shows the friendship of last open the generated transaction of digital document of acquisition according to one example embodiment of the disclosure
The detail flowchart of easy hash value.
Fig. 6 show according to one example embodiment of the disclosure the digital document is carried out on block chain it is open after
Detail flowchart.
Fig. 7 is shown is according to disclosed in the carrying out series digit file on block chain of one example embodiment of the disclosure
System architecture diagram.
Fig. 8 is shown according to electricity disclosed in the carrying out series digit file on block chain of one example embodiment of the disclosure
Sub- equipment drawing.
Fig. 9 is shown to be counted according to disclosed in the carrying out series digit file on block chain of one example embodiment of the disclosure
Calculation machine readable storage medium storing program for executing figure.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot
Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.In the following description, it provides perhaps
More details fully understand embodiment of the present disclosure to provide.It will be appreciated, however, by one skilled in the art that can
It is omitted with technical solution of the disclosure one or more in the specific detail, or others side can be used
Method, constituent element, device, step etc..In other cases, be not shown in detail or describe known solution to avoid a presumptuous guest usurps the role of the host and
So that all aspects of this disclosure thicken.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure
Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function
Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form
Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place
These functional entitys are realized in reason device device and/or microcontroller device.
The purpose of the disclosure is reliable disclosed in carrying out series digit file on block chain from technical aspect raising
Property be associated with compactness.According to method disclosed in the carrying out series digit file on block chain of an embodiment of the present disclosure,
It include: to obtain the trusted timestamp of the digital document when receiving the request of open digital document;It obtains last open
Block hash value of the generated exchange of digital document in block;Obtain the transaction of last open the generated transaction of digital document
Hash value;The trusted timestamp and the last open digital document are generated into the corresponding block Hash of transaction
Value, the transaction hash value, are written the presumptive area of the digital document;The digital document is carried out to public affairs on block chain
It opens.Compared with being independently to carry out when carrying out open on block chain by digital document in traditional technology, embodiment of the disclosure
By the way that the hash value of digital document disclosed in the last time is written in digital document of disclosure, and to disclosed number every time
File carries out believable timestamp certification, so that disclosed digital document is realizing the believable meanwhile, it is capable to phase of creation time
Mutual correlation gets up, and improves the compactness of reliability and forward-backward correlation disclosed in digital document.
Fig. 1 is shown to flow according to disclosed in the carrying out series digit file on block chain of one example embodiment of the disclosure
Cheng Tu:
Step S100: when receiving the request of open digital document, the trusted timestamp of the digital document is obtained;
Step S110: last open the generated exchange of digital document is obtained in the block hash value of block;
Step S120: the transaction hash value of last open the generated transaction of digital document is obtained;
Step S130: it is corresponding described that the trusted timestamp and the last open digital document are generated into transaction
Block hash value, the transaction hash value, are written the presumptive area of the digital document;
Step S140: the digital document is carried out to disclosure on block chain.
In the following, series digit file will be carried out to disclosure on block chain to above-mentioned in this example embodiment in conjunction with attached drawing
Each step carry out detailed explanation and explanation.
In the step s 100, when receiving the request of open digital document, the trusted time of the digital document is obtained
Stamp.
Trusted timestamp, which refers to, demonstrate,proves the timestamp that the digital document is issued by third party's trusted timestamp certification authority
It is bright.
Although block is the timestamp for having oneself in block chain, the timestamp of block demonstrates the generation of block
Time not can prove that the generation time of digital document.Therefore, by carrying out trusted timestamp certification to digital document, so that institute
The generation time for stating digital document can have legal effect.
In one embodiment, as shown in figure 3, step S100 includes:
Step S1001: abstract operation is carried out to the digital document, obtains corresponding digest value;
Step S1002: by the digest value and timestamp certification request, it is sent to third party's trusted timestamp certification machine
Structure;
Step S1003: the trusted timestamp that third party's timestamp certification authority generates the digital document is received.
In one embodiment, after carrying out Hash operation to the digital document, corresponding hash value is obtained.By the Hash
It is worth and timestamp certification request is carried out to the digital document, sends jointly to third party's trusted timestamp certification authority.It is described
Third party's trusted timestamp certification authority connects national time service center, therefore can be according to the international standard for receiving digital document
Time carries out timestamp certification to digital document, and the timestamp is returned to user.The timestamp proves third party
Trusted timestamp certification authority receives the time point of corresponding digital document, has legal effect.
In step s 110, last open the generated exchange of digital document is obtained in the block hash value of block.
Once to trade due to disclosing digital document every time all, same user during disclosing a series of digital documents,
His user is also in the disclosure for carrying out digital document.Therefore, a series of digital documents of same user will disperse in different areas
In block.
By this method, other users is enabled to generate the corresponding institute of transaction according to last time open digital document
Block hash value is stated, the block where last open digital document is found.
In one embodiment, as shown in figure 4, step S110 includes:
Step S1101: determine whether this is first time open digital document;
Step S1102: if it is first time open digital document, then the last open digital document is generated into friendship
The block hash value of block is determined as NULL where easily.
Since if this is first time open digital document, just without so-called last disclosure digital document, therefore,
Last time open the generated exchange of digital document when digital document that first time is open determines in the block hash value of block
For NULL.
In the step s 120, the transaction hash value of last open the generated transaction of digital document is obtained.
Due to what is be made of in a block multiple transaction, in this way, obtaining other users being capable of root
The corresponding digital document is found according to the transaction hash value.
In one embodiment, as shown in figure 5, step S120 includes:
Step S1201: determine whether this is first time open digital document;
Step S1202: if it is first time open digital document, then the last open digital document is generated into friendship
Easy transaction hash value is determined as NULL.
Since if this is first time open digital document, just without so-called last disclosure digital document, therefore,
The transaction hash value of last time open the generated transaction of digital document when digital document that first time is open is determined as NULL.
In step s 130, the trusted timestamp and the last open digital document are generated trade it is corresponding
The block hash value, the transaction hash value, are written the presumptive area of the digital document.
By this method, so that meeting timestamp with legal effect and each public affairs to the disclosure of digital document
It being capable of forward-backward correlation between the digital document opened.
In one embodiment, the last time that will acquire, open digital document generated the corresponding block Hash of transaction
The presumptive area of this digital document is written in value, transaction hash value, such as: in the file header of digital document.And it will be to this number
The presumptive area of digital document is also written in the trusted timestamp of word file, such as: the end of digital document.In this way, other users
When checking the digital document disclosed, the generation time of the digital document can be confirmed by trusted timestamp;Together
When, it can first be found according to the block hash value of last time open the generated transaction of digital document in the digital document
Block where last time open digital document generates friendship further according to the last time open digital document in the digital document
Easy transaction hash value finds last open digital document transaction generated.In this way, other users can be according to obtaining
The digital document taken finds digital document disclosed in the digital document corresponding last time.
Such as: a digital document discloses the chapter 5 of a novel, by the fate for checking the digital document
Domain learns that the block hash value of last open the generated transaction of digital document is " DEx3hkh4ldfG6OIK ", trade Hash
Value is " fDK9v4loMH18khaR ".Then, other users can therefrom be learnt, be in block hash value
In the block of " DEx3hkh4ldfG6OIK ", transaction hash value is that digital document disclosed in " fDK9v4loMH18khaR " is exactly
The chapter 4 content of the novel.
In one embodiment, if presumptive area, corresponding last open digital document are given birth in the digital document
It is NULL at corresponding block hash value of trading, transaction hash value, then illustrates that digital document of disclosure is series digit
Digital document disclosed first in file.
In step S140, the digital document is carried out to disclosure on block chain.
By this method, purpose disclosed in carrying out the digital document on block chain has been reached.
In one embodiment, the digital document is sent to the digital document receiving node on the block chain, so that
Form of this digital document to trade realizes digital document to all user nodes in block chain to existing on block chain
It is open.
In one embodiment, as shown in fig. 6, after step S140, further includes:
Step S150: preset match is written into the block hash value of block in this open generated exchange of digital document
It sets in table, open digital document, corresponding block hash value and transaction hash value is store every time in the allocation list;
Step S160: the preset allocation list is written into the transaction hash value of this open generated transaction of digital document
In.
By this method, allow when disclosing digital document next time from allocation list, obtain this open number
Block hash value and transaction hash value of the generated exchange of file in block.
In one embodiment, this open generated exchange of digital document is written in the block hash value of block default
Allocation list in, comprising: after this open digital document, if block not yet generates, by block corresponding in the allocation list
Hash value is determined as NULL, after block generation, the block hash value is determined as this open digital document and is generated
Block hash value of the exchange in block.
It is to cope with the generation of the fact that following in this way: the friendship generated after last time open digital document
It is easily not yet packaged into a block and carries out disclosure, after sending this digital document, transaction corresponding to this digital document,
It will be packaged in the same block with transaction corresponding to last digital document.In this case, since the last time is open
Digital document transaction generated has not determined block where it, therefore corresponding block hash value is not known yet.At this moment, it configures
The corresponding block hash value of the last time shown in table open digital document transaction generated is NULL, then this is written in NULL
Presumptive area in secondary disclosed digital document.And since last time open digital document generates transaction it has been determined that therefore
The corresponding transaction hash value of last time open digital document transaction generated shown in allocation list be it is determining, by the friendship
The presumptive area in digital document of disclosure is written in easy hash value.In this way, other users node receive it is of disclosure
After digital document, according in digital document presumptive area " block hash value be NULL, transaction hash value be xxx " can be true
Fixed: digital document disclosed in the last time and digital document of disclosure are in same block.Therefore, according only to transaction hash value
Digital document disclosed in the last time can be found.
In one embodiment, as shown in Fig. 2, provide it is a kind of series digit file is carried out on block chain disclosed in fill
It sets, specifically includes:
First obtains module 210, can for when receiving the request of open digital document, obtain the digital document
Believe timestamp;
Second obtains module 220, for obtaining last open the generated exchange of digital document in the block of block
Hash value;
Third obtains module 230, for obtaining the transaction hash value of last open the generated transaction of digital document;
Writing module 240, for the trusted timestamp and the last open digital document to be generated transaction pair
The block hash value, the transaction hash value answered, are written the presumptive area of the digital document;
Open module 250, for the digital document to be carried out to disclosure on block chain.
The function of modules and the realization process of effect, which are specifically detailed in, in above-mentioned apparatus above-mentioned exists series digit file
The realization process that step is corresponded in disclosed method is carried out on block chain, details are not described herein.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description
Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more
Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould
The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
In addition, although describing each step of method in the disclosure in the accompanying drawings with particular order, this does not really want
These steps must be executed in this particular order by asking or implying, or having to carry out step shown in whole could realize
Desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/
Or a step is decomposed into execution of multiple steps etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, mobile terminal or network equipment etc.) is executed according to disclosure embodiment
Method.
Fig. 7 is shown is according to disclosed in the carrying out series digit file on block chain of one example embodiment of the disclosure
System architecture diagram.The system architecture include: user client 310, server 320, timestamp certification authority, trusted third party 330,
File reception virtual client 340.
In one embodiment, a user client 310 sends a digital document to server 320 and discloses the number
The request of file.Server 320 is by the digital document and the digest value of the digital document, when being sent to trusted third party
Jian Chuo certification authority 330 carries out timestamp certification request, obtains the timestamp to the digital document, and the timestamp is write
Enter the presumptive area of the digital document.Meanwhile server 320 obtains 310 last time of user client from allocation list
Block hash value and transaction hash value where open digital document, the block hash value and transaction hash value are write
Enter the presumptive area of the digital document.Later, the digital document is sent to file reception virtual client by server 320
340, primary transaction is thus generated, and the corresponding block generated is broadcasted to all user clients 310, has realized digital text
The disclosure of part.
By the way that above to the description of system architecture, those skilled in the art is it can be readily appreciated that system architecture described herein
Can be realized it is shown in Fig. 2 series digit file is carried out on block chain disclosed in device modules function.
In an exemplary embodiment of the disclosure, a kind of electronic equipment that can be realized the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
The electronic equipment 400 of this embodiment according to the present invention is described referring to Fig. 8.The electronics that Fig. 8 is shown
Equipment 400 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 8, electronic equipment 400 is showed in the form of universal computing device.The component of electronic equipment 400 can wrap
It includes but is not limited to: at least one above-mentioned processing unit 410, at least one above-mentioned storage unit 420, the different system components of connection
The bus 430 of (including storage unit 420 and processing unit 410).
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 410
Row, so that various according to the present invention described in the execution of the processing unit 410 above-mentioned " illustrative methods " part of this specification
The step of illustrative embodiments.For example, the processing unit 410 can execute step S100 as shown in fig. 1: when receiving
When the request of open digital document, the trusted timestamp of the digital document is obtained;Step S110: last open number is obtained
Block hash value of the generated exchange of file in block;Step S120: it obtains last open digital document and generates transaction
Transaction hash value;Step S130: the trusted timestamp and the last open digital document are generated transaction and corresponded to
The block hash value, the transaction hash value, the presumptive area of the digital document is written;Step S140: by the number
Word file carries out disclosure on block chain.
Storage unit 420 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 4201 and/or cache memory unit 4202, it can further include read-only memory unit (ROM) 4203.
Storage unit 420 can also include program/utility with one group of (at least one) program module 4205
4204, such program module 4205 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 430 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 400 can also be with one or more external equipments 500 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 400 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 400 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 450.Also, electronic equipment 400 can be with
By network adapter 460 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.As shown, network adapter 460 is communicated by bus 430 with other modules of electronic equipment 400.
It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 400, including but not
Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and
Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to disclosure embodiment
Method.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with
Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also
In the form of being embodied as a kind of program product comprising program code, when described program product is run on the terminal device, institute
Program code is stated for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair
The step of bright various illustrative embodiments.
Refering to what is shown in Fig. 9, describing the program product for realizing the above method of embodiment according to the present invention
600, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have
Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention
It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable
Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or
Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim
It points out.
Claims (10)
1. it is a kind of series digit file is carried out on block chain disclosed in method characterized by comprising
When receiving the request of open digital document, the trusted timestamp of the digital document is obtained;
Last open the generated exchange of digital document is obtained in the block hash value of block;
Obtain the transaction hash value of last open the generated transaction of digital document;
The trusted timestamp and the last open digital document are generated into the corresponding block hash value of transaction, institute
Transaction hash value is stated, the presumptive area of the digital document is written;
The digital document is carried out to disclosure on block chain.
2. obtaining the method according to claim 1, wherein described when receiving the request of open digital document
Take the trusted timestamp of the digital document, comprising:
Abstract operation is carried out to the digital document, obtains corresponding digest value;
By the digest value and timestamp certification request, it is sent to third party's trusted timestamp certification authority;
Receive the trusted timestamp that third party's timestamp certification authority generates the digital document.
3. the method according to claim 1, wherein the last open digital document of the acquisition generates transaction
The block hash value of place block, comprising:
Determine whether this is first time open digital document;
If it is first time open digital document, then by last open the generated exchange of digital document in the area of block
Block hash value is determined as NULL.
4. the method according to claim 1, wherein the last open digital document of the acquisition generates transaction
Transaction hash value, comprising:
Determine whether this is first time open digital document;
If it is first time open digital document, then by the transaction hash value of last open the generated transaction of digital document
It is determined as NULL.
5. the method according to claim 1, wherein described carry out the digital document public affairs on block chain
It opens, comprising:
The digital document receiving node digital document being sent on block chain.
6. the method according to claim 1, wherein described carry out the digital document disclosure on block chain
Later, the method also includes:
This open generated exchange of digital document is written in preset allocation list in the block hash value of block, it is described to match
It sets and stores every time open digital document, corresponding block hash value and transaction hash value in table;
The transaction hash value of this open generated transaction of digital document is written in the preset allocation list.
7. according to the method described in claim 6, it is characterized in that, described exist this open generated exchange of digital document
The block hash value of block is written in preset allocation list, comprising:
After this open digital document, if block not yet generates, block hash value corresponding in the allocation list is determined as
The block hash value is determined as this open generated exchange of digital document in block after block generation by NULL
Block hash value.
8. it is a kind of series digit file is carried out on block chain disclosed in device characterized by comprising
First obtains module, for obtaining the trusted time of the digital document when receiving the request of open digital document
Stamp;
Second obtains module, for obtaining last open the generated exchange of digital document in the block hash value of block;
Third obtains module, for obtaining the transaction hash value of last open the generated transaction of digital document;
Writing module, it is corresponding described for the trusted timestamp and the last open digital document to be generated transaction
Block hash value, the transaction hash value, are written the presumptive area of the digital document;
Open module, for the digital document to be carried out to disclosure on block chain.
9. it is a kind of series digit file is carried out on block chain disclosed in electronic equipment characterized by comprising
Memory is configured to storage executable instruction;
Processor is configured to execute the executable instruction stored in memory, to realize any of -7 institute according to claim 1
The method stated.
10. a kind of computer readable storage medium, which is characterized in that it is stored with computer program instructions, when the computer
When instruction is computer-executed, computer is made to execute method described in any of -7 according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910194893.0A CN110069948A (en) | 2019-03-14 | 2019-03-14 | Method and relevant device disclosed in series digit file is carried out on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910194893.0A CN110069948A (en) | 2019-03-14 | 2019-03-14 | Method and relevant device disclosed in series digit file is carried out on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110069948A true CN110069948A (en) | 2019-07-30 |
Family
ID=67366229
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910194893.0A Pending CN110069948A (en) | 2019-03-14 | 2019-03-14 | Method and relevant device disclosed in series digit file is carried out on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110069948A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160283920A1 (en) * | 2015-03-28 | 2016-09-29 | Justin Fisher | Authentication and verification of digital data utilizing blockchain technology |
CN107316239A (en) * | 2017-07-14 | 2017-11-03 | 众安信息技术服务有限公司 | A kind of authentification of message and source tracing method and system based on block chain |
US20170331635A1 (en) * | 2016-05-10 | 2017-11-16 | Acronis International Gmbh | System and method for file time-stamping using a blockchain network |
CN107622385A (en) * | 2017-08-28 | 2018-01-23 | 南京邮电大学 | A kind of copyright distributing method based on block chain intelligence contract |
CN108038389A (en) * | 2017-12-08 | 2018-05-15 | 福建亿榕信息技术有限公司 | Method and device based on the storage e-file audit-trail daily record of block chain |
US20180294957A1 (en) * | 2017-04-07 | 2018-10-11 | Walmart Apollo, Llc | System for Recording Ownership of Digital Works and Providing Backup Copies |
CN108897992A (en) * | 2018-07-11 | 2018-11-27 | 深圳市网心科技有限公司 | A kind of creation guard method, device, equipment and the medium of digital content |
CN108932410A (en) * | 2018-08-17 | 2018-12-04 | 腾讯科技(深圳)有限公司 | A kind of digital resource copyright method for authenticating, device, system and storage medium |
CN109375944A (en) * | 2018-08-28 | 2019-02-22 | 苏州浪潮智能软件有限公司 | A kind of terminal software distribution verification method based on block chain data structure |
CN109376551A (en) * | 2018-02-13 | 2019-02-22 | 李茗 | Digital publishing rights block chain, digital content summary info calculation method and computer equipment |
-
2019
- 2019-03-14 CN CN201910194893.0A patent/CN110069948A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160283920A1 (en) * | 2015-03-28 | 2016-09-29 | Justin Fisher | Authentication and verification of digital data utilizing blockchain technology |
US20170331635A1 (en) * | 2016-05-10 | 2017-11-16 | Acronis International Gmbh | System and method for file time-stamping using a blockchain network |
US20180294957A1 (en) * | 2017-04-07 | 2018-10-11 | Walmart Apollo, Llc | System for Recording Ownership of Digital Works and Providing Backup Copies |
CN107316239A (en) * | 2017-07-14 | 2017-11-03 | 众安信息技术服务有限公司 | A kind of authentification of message and source tracing method and system based on block chain |
CN107622385A (en) * | 2017-08-28 | 2018-01-23 | 南京邮电大学 | A kind of copyright distributing method based on block chain intelligence contract |
CN108038389A (en) * | 2017-12-08 | 2018-05-15 | 福建亿榕信息技术有限公司 | Method and device based on the storage e-file audit-trail daily record of block chain |
CN109376551A (en) * | 2018-02-13 | 2019-02-22 | 李茗 | Digital publishing rights block chain, digital content summary info calculation method and computer equipment |
CN108897992A (en) * | 2018-07-11 | 2018-11-27 | 深圳市网心科技有限公司 | A kind of creation guard method, device, equipment and the medium of digital content |
CN108932410A (en) * | 2018-08-17 | 2018-12-04 | 腾讯科技(深圳)有限公司 | A kind of digital resource copyright method for authenticating, device, system and storage medium |
CN109375944A (en) * | 2018-08-28 | 2019-02-22 | 苏州浪潮智能软件有限公司 | A kind of terminal software distribution verification method based on block chain data structure |
Non-Patent Citations (3)
Title |
---|
张岩;梁耀丹;: "基于区块链技术的去中心化数字出版平台研究", 出版科学, no. 06, 31 December 2017 (2017-12-31) * |
李悦;黄俊钦;王瑞锦;: "基于区块链的数字作品DCI管控模型", 计算机应用, no. 11, 10 November 2017 (2017-11-10) * |
李晶晶;王志刚;: "区块链技术推动下的数字版权保护新探", 新闻知识, no. 10, 15 October 2017 (2017-10-15) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110537183B (en) | Data marking method and system | |
WO2021012574A1 (en) | Multisignature method, signature center, medium and electronic device | |
CN109450649A (en) | Gateway verification method and device based on application program interface and electronic equipment | |
CN109150499A (en) | Method, apparatus, computer equipment and the storage medium of dynamic encryption data | |
CN110460563A (en) | Data encryption, decryption method and device, system, readable medium and electronic equipment | |
CN108846753A (en) | Method and apparatus for handling data | |
CN110084044A (en) | For the horizontal method and relevant device that loophole is tested automatically of going beyond one's commission | |
CN111199037B (en) | Login method, system and device | |
CN109902022A (en) | The method and relevant device tested automatically for loophole of vertically going beyond one's commission | |
CN110020945B (en) | Data reading method and system based on multiple block chain networks | |
CN110162523A (en) | Date storage method, system, device and equipment | |
CN110147664A (en) | The method and relevant device of authentication based on centralization database | |
CN110177099A (en) | Method for interchanging data, transmission terminal and medium based on asymmetric encryption techniques | |
CN109729189A (en) | Method and apparatus for configuring domain name | |
CN115174558B (en) | Cloud network end integrated identity authentication method, device, equipment and storage medium | |
CN109543154A (en) | Method for converting types, device, storage medium and the electronic equipment of list data | |
WO2012129684A1 (en) | Transforming http requests into web services trust messages for security processing | |
CN110705985A (en) | Method and apparatus for storing information | |
CN108111374B (en) | Method, apparatus, equipment and the computer storage medium of synchronizer list | |
CN108845892A (en) | Data processing method, device, equipment and the computer storage medium of distributed data base | |
CN108876299A (en) | A kind of method and device handling electronic contract | |
CN113129008A (en) | Data processing method and device, computer readable medium and electronic equipment | |
CN108762739A (en) | The development approach and terminal device of application APP | |
CN106657135A (en) | File transfer method and equipment based on SSL (Secure Socket Layer) protocol authentication | |
CN110069948A (en) | Method and relevant device disclosed in series digit file is carried out on block chain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 201, room 518000, building A, No. 1, front Bay Road, Qianhai Shenzhen Guangdong Shenzhen Hong Kong cooperation zone (Qianhai business secretary) Applicant after: Shenzhen one ledger Intelligent Technology Co., Ltd. Address before: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A Applicant before: Shenzhen one ledger Intelligent Technology Co., Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |