Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with this
Attached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that described
Embodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual,
Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
It include writing in the protection scope of copyright current, writing among these refers to spoken and written languages
Form or other be equivalent to the works of the symbols author emotion of spoken and written languages, thought.In reality, with network
Development, many original phrases or short sentence can be continuously created in a short time to be come and wide-scale distribution, this originality
Phrase or short sentence on the one hand hardly result in the protection of copyright, it is difficult soon on the other hand due to the fast propagation of network
To prove that who is author.And the public often only will use the phrase, being also not relevant for author is whom, this carrys out author
It says, has had lost a part of interests.
Based on this, this specification embodiment provides a kind of guarantor for the original works except copyright based on block chain
Shield scheme is issued by user and is traded, and node carries out originality verifying to original text and cochain deposits card, is realized for original work
The originality of product deposits card.
Below in conjunction with attached drawing, the technical solution that each embodiment of this specification provides is described in detail.As shown in Figure 1, Fig. 1 is this
A kind of works based on block chain that specification embodiment provides deposit the flow diagram of card method, which specifically includes as follows
Step:
S101, client send target transaction to node, include original text and the original text in the target transaction
This relevant remark information, the original text are the phrase or short sentence no more than preset length, are wrapped in the remark information
Semantic information containing user identifier and the original text.
Transaction (transaction) described in this specification refers to that user is created by the client of block chain,
An and data for needing finally to be distributed in the distributed data base of block chain.That is, the transaction in block chain, exists
Point of the transaction of the transaction and broad sense of narrow sense.The transaction of narrow sense refers to the value Transfer that user issues to block chain;Example
Such as, in traditional bit coin block chain network, transaction can be one that user initiates in block chain and transfer accounts.And broad sense
Transaction refers to the business datum being intended to business that user issues to block chain;For example, operator can be based on practical
Business demand build alliance's chain, rely on alliance's chain and dispose some other types of online industry unrelated with value Transfer
It is engaged in (for example, business of renting a house, vehicle scheduling business, settlement of insurance claim business, credit services, medical services etc.), and in this kind of alliance
In chain, transaction can be the service message or service request with business intention that user issues in alliance's chain.
A kind of enforceable mode is to provide the interface for user's input in the client, include in interface there are two
Dialog box, a frame inputs original text, such as issues new Chinese idiom, another frame can input some about the original this paper's
Remark information, such as author, creation background, interesting plot, semantic information.It is generated by client and is believed comprising original text and remarks
The transaction of breath is distributed to node.Original text can be phrase or short sentence.
In this specification embodiment, phrase can be various forms of character strings.For example, it may be only including one kind certainly
The phrase that the word of right language is constituted, the natural language includes Chinese, English, Japanese, Korean etc., for example, " happiness is big general
To ".It is also possible to the phrase that the word of a variety of natural languages is constituted, for example, " beating call ".It can also be and invented by authorship
New a vocabulary or character string, for example, " skr ", etc..
In other words, phrase itself be include certain semantic information, but this semantic information usually compressed or
Person hides, and is shown with obvious way.Therefore, it is necessary to be illustrated in remark information, containing for the phrase is explained
Justice.If a phrase cannot include any semanteme, it is clear that the value that it is not also just propagated, therefore in remark information
Semantic interpretation is carried out to above-mentioned phrase to be necessary.It, can be with other than the semantic interpretation for phrase in remark information
Including user identifier.In this specification embodiment, the user identifier may include address name, code name, the pet name etc..This
Outside, it in remark information can also include for phrase background explanation, for example, motives in writing, creation background, production process etc.
Deng.
Short sentence in general, there is exact semanteme in itself.For example, for a short sentence " I goes to have hair made " itself
For, meaning is apparent.It is clear that for one has had the short sentence of obvious definite name, be
It is well used under certain scenes.Therefore, the short sentence must also with other semantic informations, just enable the short sentence by
Using under the other scenes unrelated with aforementioned common scene, the short sentence is just provided with originality at this time.In other words, with it is above-mentioned
Short sentence is similar, also carries out semantic interpretation to phrase in remark information and is also necessary.Likewise, for the signature of protection author
Right should also include user identifier in remark information.In addition, can also include that some other is explanatory in remark information
Information.
In this specification embodiment, for phrase or short sentence, preset length is not to be exceeded.For example, institute
The preset length stated is " 20 bytes ".Too long original text may have become novel, poem etc. literary works, and
Enter the protection scope of copyright, in that case, too long text be not suitable for by this specification embodiment scheme into
The verifying of row originality, is also not suitable for carrying out depositing card by mode provided by this specification embodiment.
In addition, can also obtain user when client constructs target transaction by user equipment and be obtained by time module
Take current timestamp.And when constructing target transaction, above-mentioned timestamp is added, further functions as the effect that auxiliary deposits card.
S103, the node receive the target transaction, carry out originality verifying to the original text.
Originality verifying includes two aspects, i.e., formal originality verifying and originality verifying semantically.If
One original text is formally original and it has exact semanteme.It is possible to think that the original text is tool
There is originality.For example, before a time point, phase is simultaneously not present in itself for a phrase " happiness is general greatly to run quickly "
With the word of form, and the exact semantic for " loved by all, affording general satisfaction, general day of itself is provided in remark information simultaneously
It celebrates together, run around spreading the news ".So at this point, node can consider that phrase " happiness is general greatly to run quickly " at this time has originality.
On the other hand, if an original text is not formally original, but already existing.So, this
When just need to the original text semanteme further verified, if be semantically it is original, with conventional language before
Justice is not identical, it may be considered that the original text is original.
S105, if being verified, the node broadcasts the target transaction to block chain network, so that the block chain
Each node in network is based on common recognition mechanism and carries out common recognition processing to the target transaction, and by the target after common recognition passes through
Transaction is distributed to block chain.
The block chain that carried out that remark information due to original text and comprising user identifier is tied formula deposits card, it is difficult to quilt
It distorts, so as to the evidence as the user authorship.Each node in block chain network is based on common recognition mechanism to described
Target transaction carries out common recognition processing, and after common recognition passes through by the target transaction be distributed to really power block chain after, at this time may be used
Card Hash is deposited to user to return to one, and user can inquire block chain by depositing card Hash, to carry out original identity
Confirmation.
Scheme provided by this specification embodiment issues the transaction including original text and remark information by user,
And after block chain carries out originality verifying for above-mentioned original text, if the verification passes, it is determined that the original text
Originality, and then the transaction comprising the original text is subjected to the common recognition of block chain and deposits card, realization for those copyrights without
The original works of method protection deposits card, protects the interests of authorship.
Under a kind of specific embodiment, for step S103, originality verifying is carried out to the original text, is being saved
When in point having included more transaction content, originality verifying can be carried out based on the content for having deposited card in block chain.
For node each in block chain, itself can be after common recognition be completed in transaction (i.e., it has been determined that cochain is wanted in transaction), just
Each transaction content (including original text and remark information) is stored.It therefore, can be based on the transaction of above-mentioned cochain
Original text in content, and, some conventional dictionaries (for example, Chinese dictionary at all times) buildings for originality verifying can
With the database of update, for being verified to original text, if meet in original textual form it is original (i.e. in database not
There are identical texts), and there is exact semanteme, then originality is verified.
It, can also be to original since original text often comes from network creation under a kind of specific embodiment
Wound text carries out open search, specifically includes: searching for the original text from wide area network, obtains related to the original text
Open search content;The original text and the open search content are subjected to continuous coupling, determine the open search
The continuous coupling degree of character string and the original text in content;If the continuous coupling degree is less than matching degree threshold value,
Then it is verified.
Specifically, can be searched for accordingly from wide area network to original text.For example, using search engine pair
Original text scans for, and obtains and original text a plurality of contents fragment accordingly.Since the original text can be considered as one
A character string, search engine are also to be searched for accordingly with character string corresponding to original text.It is obtained in open search content
When less than identical characters string, i.e., when no continuous coupling degree reaches 100% character string, it is verified.
It is scanning for being that can also be scanned for according to timestamp entrained in transaction using open search engine.
When entrained timestamp is time point A in transaction, then the disclosure searched for should all before time point A, without
It should include the related content after time point A.For example, content mistake can be carried out by time option provided by search engine
Filter carries out content search by cut off of time point A.
In this specification embodiment, since the length of original text is shorter, search engine cannot get identical character
When string, available similar character string is also tended to.Similar character string also tends to be to have certain phase with identical character string
Closing property.Judged at this point, certain threshold condition can also be set, calculates the character string of similar character string and original text
Continuous coupling degree be then verified less than certain preset threshold.Continuous coupling degree characterizes two characters
The similarity degree of string, this similarity degree contains the similarity degree of character similarity degree and character sequence, for phrase,
When the two height is close, it is considered that the two is exactly to characterize identical meaning, when continuous coupling degree is less than matching degree threshold
Value, it may be considered that the two semanteme has a marked difference, is verified at this time.
In the case of including with original text similar character string in the contents fragment that search engine obtains, at this point, also
Semantic analysis further can be carried out to similar character string.Similar character string is contained specifically, can determine first
Open search content, it is however generally that, open content of searching for as contains a text of same or similar character string, or
One Duan Wenben.Open search content can be the obtained full text text of link by search, be also possible to what search obtained
Part text fragments can also be some snapshot texts etc..As shown in Fig. 2, Fig. 2 is to disclose search content in current techniques
Accompanying drawings.In the schematic diagram, original text is substituted with from character string " XXXX ", the identical characters string searched for
As " XXXX ", similar character string are " XXXY ", " XXYX " etc., and the result directly given in a search engine is generally wrapped
Part text fragments containing same or similar character string, the link in schematic diagram are substituted with ellipsis.
In turn, semantic analysis can be carried out to similar character string according to open search content and context.In general,
For the range of context without too wide, granularity is consistent with open search content.That is, when open search content is a text
When, context is each text in front and back, and when open search content is one section of word, context is each Duan Wen in front and back
This.Second to obtain similar character string is semantic.It is semantic for the first of original text, it can be analyzed from remark information
It arrives.And then the second semantic and the first semantic progress similarity can be compared, it is clear that when the two form is much like
Both in the case of, it is apparently not original if the semanteme of the two is also much like, in this case, generally may require that
Semantic similarity is lower, and a lesser similarity threshold is arranged, when the semantic similarity of the two is less than semantic similarity threshold
It is worth (for example, 5%), then is verified.
Further, semantic similarity threshold value can be and the continuous coupling degree negative correlation of the two.In similar character
When the continuous coupling degree of string and original text is bigger, semantic similarity threshold value then should be smaller.For example, semantic similarity threshold value
=1- continuous coupling degree.When the two form is identical, then needs the semanteme of the character string in original text and openly search
The semanteme of the character string is entirely different in rope content, could pass through verifying.
Further, each node in block chain network is based on common recognition mechanism and carries out common recognition processing to the target transaction
Later, each node can also store content included in the transaction of target one.Specific storage mode can be each section
For point using the original text as major key, the remark information is value, establishes the key assignments corresponding relationship of original text and remark information,
And the key assignments corresponding relationship is stored to the local database safeguarded in advance.In this manner, on the one hand, can be according to above-mentioned
Database verifies subsequent original text, goes to obtain transaction content again from block chain when avoiding the need for verifying;It is another
Aspect can be conducive to third party and be inquired accordingly, so as to easily know the creation background of an original text
And authorship etc. information.
In the second aspect of this specification embodiment, the works based on block chain in terms of a kind of node are also provided and deposit card side
Method, as shown in figure 3, Fig. 3 deposits card method for the works based on block chain in terms of node provided by this specification embodiment
Flow diagram, comprising:
S301 receives target transaction, wherein relevant comprising original text and the original text in the target transaction
Remark information, the original text are the phrase or short sentence no more than preset length, include user in the remark information
The semantic information of mark and the original text;
S303 carries out originality verifying to the original text;
S305, if being verified, the node broadcasts the target transaction to block chain network, so that the block chain
Each node in network is based on common recognition mechanism and carries out common recognition processing to the target transaction, and by the target after common recognition passes through
Transaction is distributed to block chain.
Further, for carrying out originality verifying to the original text, comprising: from the area in step S303
The transaction content for having been deposited card is obtained in block chain, and the original text is created according to the transaction content for having deposited card
Property verifying.
Further, for carrying out originality verifying to the original text, comprising: from wide area network in step S303
The middle search original text obtains open search content relevant to the original text;By the original text with it is described
Open search content carries out continuous coupling, determines continuous of the character string and the original text in the open search content
With degree;If the continuous coupling degree is less than matching degree threshold value, it is verified.
Further, in step S303, originality verifying is carried out to the original text, comprising: from described
In remark information, determine that the first of the original text is semantic;Determine that continuous coupling degree is more than the similar character of matching degree threshold value
Symbol string;From the open search content comprising the similar character string, determine that the second of the similar character string is semantic;If first
It is semantic to be less than semantic similarity threshold value with the second semantic similarity, then it is verified.
Further, after carrying out common recognition processing to the target transaction based on common recognition mechanism, the method also includes:
Using the original text as major key, the remark information is value, establishes the key assignments corresponding relationship of original text and remark information, and
Store the key assignments corresponding relationship.
Corresponding with first aspect, this specification embodiment also provides a kind of works deposit system based on block chain, packet
It includes:
Client sends target transaction to node, related to the original text comprising original text in the target transaction
Remark information, the original text is the phrase or short sentence no more than preset length, comprising useful in the remark information
The semantic information of family mark and the original text;
The node receives the target transaction, carries out originality verifying to the original text;
If being verified, the node broadcasts the target transaction to block chain network, so that the block chain network
In each node be based on common recognition mechanism common recognition processing carried out to the target transaction, and by the target transaction after common recognition passes through
It is distributed to block chain.
Corresponding with second aspect, this specification embodiment also provides a kind of works based on block chain and deposits card device, such as
Shown in Fig. 4, Fig. 4 is the structural schematic diagram that a kind of works based on block chain that this specification embodiment provides deposit card device, packet
It includes:
Receiving module 401 receives target transaction, wherein includes original text and the original text in the target transaction
This relevant remark information, the original text are the phrase or short sentence no more than preset length, are wrapped in the remark information
Semantic information containing user identifier and the original text;
Authentication module 403 carries out originality verifying to the original text;
Broadcast module 405, if being verified, the node broadcasts the target transaction to block chain network, so that institute
Each node stated in block chain network carries out common recognition processing to the target transaction based on common recognition mechanism, and will after common recognition passes through
The target transaction is distributed to block chain.
Further, the authentication module 403 obtains the transaction content for being deposited card from the block chain, according to
The transaction content for having deposited card carries out originality verifying to the original text.
Further, the authentication module 403 searches for the original text from wide area network, obtains and the original text
This relevant open search content;The original text and the open search content are subjected to continuous coupling, determine the public affairs
Open the continuous coupling degree of the character string and the original text in search content;If the continuous coupling degree is less than matching degree
Threshold value is then verified.
Further, the authentication module 403 determines the first language of the original text from the remark information
Justice;Determine that continuous coupling degree is more than the similar character string of matching degree threshold value;From the open search comprising the similar character string
In content, determine that the second of the similar character string is semantic;If first is semantic similar less than semantic to the second semantic similarity
Threshold value is spent, then is verified.
Further, described device further includes memory module 407, using the original text as major key, the remark information
For value, the key assignments corresponding relationship of original text and remark information is established, and store the key assignments corresponding relationship.
This specification embodiment also provides a kind of computer equipment, includes at least memory, processor and is stored in
On reservoir and the computer program that can run on a processor, wherein processor realizes base shown in Fig. 3 when executing described program
Card method is deposited in the works of block chain.
Fig. 5 shows one kind provided by this specification embodiment and more specifically calculates device hardware structural schematic diagram,
The equipment may include: processor 1010, memory 1020, input/output interface 1030, communication interface 1040 and bus
1050.Wherein processor 1010, memory 1020, input/output interface 1030 and communication interface 1040 are real by bus 1050
The now communication connection inside equipment each other.
Processor 1010 can use general CPU (Central Processing Unit, central processing unit), micro- place
Reason device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one
Or the modes such as multiple integrated circuits are realized, for executing relative program, to realize technical side provided by this specification embodiment
Case.
Memory 1020 can use ROM (Read Only Memory, read-only memory), RAM (Random Access
Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 1020 can store
Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware
When, relevant program code is stored in memory 1020, and execution is called by processor 1010.
Input/output interface 1030 is for connecting input/output module, to realize information input and output.Input and output/
Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein
Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display,
Loudspeaker, vibrator, indicator light etc..
Communication interface 1040 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment
Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly
(such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 1050 include an access, equipment various components (such as processor 1010, memory 1020, input/it is defeated
Outgoing interface 1030 and communication interface 1040) between transmit information.
It should be noted that although above equipment illustrates only processor 1010, memory 1020, input/output interface
1030, communication interface 1040 and bus 1050, but in the specific implementation process, which can also include realizing normal fortune
Other assemblies necessary to row.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising real in above equipment
Component necessary to existing this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
Realize that the works shown in Fig. 3 based on block chain deposit card method when sequence is executed by processor.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
Embodiment can be realized by means of software and necessary general hardware platform.Based on this understanding, this specification is implemented
Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words,
The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make
It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment
Method described in certain parts of a embodiment or embodiment.
System, method, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for method reality
For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method
Part explanation.Embodiment of the method described above is only schematical, wherein described be used as separate part description
Module may or may not be physically separated, can be each module when implementing this specification example scheme
Function realize in the same or multiple software and or hardware.Can also select according to the actual needs part therein or
Person's whole module achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not the case where making the creative labor
Under, it can it understands and implements.
The above is only the specific embodiment of this specification embodiment, it is noted that for the general of the art
For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this
A little improvements and modifications also should be regarded as the protection scope of this specification embodiment.