Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for creating, retrieving and editing data based on block chain and readable storage medium

A block chain and editing technology, applied in the field of block chain, can solve the problems of unguaranteed entry quality, repeated editing of entries, and financial risks of website single point failure

Inactive Publication Date: 2018-12-07
ZHONGAN INFORMATION TECH SERVICES CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since most of the existing encyclopedia websites are non-profit websites, the operation of the website is maintained only by the donations of volunteers, and the content on the website is also completely dependent on the voluntary editing of volunteers, forming a non-profit knowledge community; therefore, there is a website Various problems and challenges that need to be solved urgently such as single point of failure and financial risk, entries being maliciously edited repeatedly, entry quality cannot be guaranteed, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for creating, retrieving and editing data based on block chain and readable storage medium
  • Method for creating, retrieving and editing data based on block chain and readable storage medium
  • Method for creating, retrieving and editing data based on block chain and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 220

[0113] In step S220, it is verified whether the created entry complies with entry rules. In this step, the specific operations are as follows Figure 2B Example 220 of:

[0114] Before step S221, the first node receives the entry. In this step, the first node may receive the entry directly or receive the entry via the second node.

[0115] In step S221, the first node verifies whether the signature, the public key, and the content of the entry are consistent. When the signature in the entry, the public key, and the content of the entry are consistent, step S221 is performed. For example, the first node can use an existing elliptic curve algorithm (such as ED25519, edcsa.SECP256k1) to verify the signature, public key, and edited content. Consistency, otherwise the entry message is discarded.

[0116] Step S222, the first node verifies whether the content of the entry complies with legal regulations and composes the entry content rules, wherein the entry content writing rule...

Embodiment 420

[0135] S420. The first node verifies whether the edited version of the entry complies with the entry rule. This step S420 can specifically be based on Figure 4B The disclosed embodiment 420 implements:

[0136] S421. The first node verifies whether the signature, public key, and edited content in the edited version of the entry are consistent. For example, the first node may use an existing elliptic curve algorithm (such as ED25519, edcsa.SECP256k1) to verify whether the signature, public key, and edited content are consistent. When the signature, public key, and entry content in the edited version of the entry are consistent, step S422 is executed; otherwise, the entry message is discarded.

[0137] S422. The first node verifies whether the edited content complies with the law and complies with entry writing rules. Among them, entry content writing rules include but are not limited to: the upper limit and lower limit of the number of words in the entry content, the keywor...

Embodiment 430

[0138] When the edited version of the entry conforms to the entry rule, step S430 is performed: storing the edited version of the entry into the block being generated. This step S430 can specifically be based on Figure 4C The disclosed embodiment 430 achieves:

[0139] S431, the first node charges editing fees from users who edit the latest version of the entry; when the first node receives the editing fees, execute step S432.

[0140] S432. The first node stores the edited version of the entry as a transaction in the block being generated.

[0141] S433. After the block being generated generates a block, the first node stores the generated block in the database of the first node, wherein the generated block also includes a hash value of the previous block.

[0142] In a specific implementation, the first node packs a reasonable number and size of entries and / or edited versions of the entries into blocks, and all first nodes on the block chain adopt a consensus mechanism (for...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Disclosed are a method for creating, retrieving and editing data based on a block chain and a readable storage medium. The disclosed method for creating data comprises: creating an entry, verifying whether the entry conforms to an entry rule, storing a current version of the entry in a block being generated when the entry rule is complied with, and recording information related to the current version of the entry in an index table. The disclosed method of retrieving data comprises: The retrieval request is received, information related to all versions of the term associated with the retrievalrequest is looked up in the index table, and information related to all versions of the term based on the found information is retrieved and returned in a block corresponding to a storage address of each version of the term. The disclosed content can effectively solve the problems of website single point failure, financial risk, malicious repeated editing of entries and the like existing in the existing network encyclopedia.

Description

technical field [0001] The disclosure belongs to the technical field of blockchain, and in particular relates to a method for creating, retrieving, and editing data based on blockchain and a corresponding computer-readable storage medium. Background technique [0002] With the increasing public participation in the Internet, many open online encyclopedias have emerged in recent years. For example, typical online encyclopedias such as "Wikipedia", "Scholarpedia" and "Baidu Baike" have greatly enriched the sources of information for the public. Most of these websites are non-profit websites, which only rely on donations from volunteers to maintain the operation of the website. The content on the website is also completely dependent on volunteers' voluntary editing, forming a non-profit knowledge community. [0003] With the rapid growth of website usage, various challenges and problems have emerged in the operation of existing online encyclopedias, such as high website opera...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/24G06F17/30G06Q20/38
CPCG06Q20/3829G06F40/166
Inventor 干泽俊吴小川
Owner ZHONGAN INFORMATION TECH SERVICES CO LTD