A blockchain-based collaborative writing method, device and electronic equipment

By building a collaborative writing platform using blockchain technology, the problems of high barriers to entry, fairness, and reliability of existing writing platforms are solved, and a collaborative writing environment with zero barriers to entry, fair transactions, and copyright protection is achieved.

CN115705377BActive Publication Date: 2025-12-05HISENSE GRP HLDG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110891688.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-04
Publication Date
2025-12-05
Estimated Expiration
2041-08-04

AI Technical Summary

Technical Problem

In existing technologies, writing platforms face issues such as entry barriers for novice users, fairness, and reliability.

Method used

By combining blockchain technology to build a collaborative writing platform, leveraging the openness, permissionless nature, anonymity, autonomy, traceability, and immutability of blockchain, collaborative writing among multiple people can be achieved, solving the problems of high barriers to entry, fairness, and reliability.

Benefits of technology

It achieves zero-barrier entry, fairness and reliability, allowing all users to participate anonymously in collaborative writing, ensuring that copyrights are not infringed, and guaranteeing fair trading and evaluation of works.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115705377B_ABST
    Figure CN115705377B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a blockchain-based collaborative writing method, device and electronic equipment, which effectively solves the problems of high threshold, fairness and reliability faced by large-scale multi-person collaborative writing. The method comprises: in response to a user joining a collaborative writing platform instruction, adding a block corresponding to the user on the main chain, and recording the basic information of the user by using the block; taking the added block as a first genesis block, and extending a new side chain; in response to an initial creation instruction initiated by an initial creation user, determining the side chain of the initial creation user, adding a second genesis block on the determined side chain, extending a work block chain, and recording the related information of the initial work by using the second genesis block; in response to a continuation creation instruction, determining the second genesis block of the initial work for continuation creation, adding a work block on the work block chain extended by the second genesis block, and recording the related information of the continuation creation of the continuation work by using the added work block.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of collaborative writing, in particular to a collaborative writing method and device based on a blockchain and an electronic device. BACKGROUND

[0002] With the development of the Internet and the improvement of people's living standards, people's demand for network works is increasing. Therefore, the writing of network works is becoming more and more popular. The writing platform at the present stage has the following three problems:

[0003] The first problem is that the writing platform of the works at the present stage often has a high access threshold and is not friendly to beginners. Because the traditional work writing is often completed by a single author independently, which forms a star effect, a few top authors occupy most of the reader traffic, and beginners have no way out.

[0004] The second problem is that most writing platforms only support a single author to write an article, and a network work is as long as millions of words, which requires the author to have good literary accomplishment and high self-discipline to ensure the completion of a work. Most non-professional authors give up halfway or cannot continuously provide excellent creative content.

[0005] The third problem is that a small number of writing platforms support multiple people to complete a work, but in the scene of thousands of people, it cannot well solve the problems of high threshold, fairness and reliability in the process of multi-person collaboration.

[0006] Therefore, the existing writing platform needs to be further improved to support collaborative writing. SUMMARY

[0007] The present disclosure provides a collaborative writing method, device and electronic device based on a blockchain, which effectively solves the problems of high threshold, fairness and reliability in large-scale multi-person collaborative writing by combining the blockchain technology to build a collaborative writing platform.

[0008] According to a first aspect of an embodiment of the present disclosure, a collaborative writing method based on a blockchain is provided, the method comprising:

[0009] In response to a user joining a collaborative writing platform instruction, a block corresponding to the user is added on the main chain, and the user's basic information is recorded by using the block;

[0010] The added block is used as a first genesis block, and a new side chain is extended;

[0011] In response to an initial creation instruction initiated by an initial creation user, a side chain of the initial creation user is determined, a second genesis block is added on the determined side chain, a work blockchain is extended, and the related information of the initial work is recorded by using the second genesis block.

[0012] in response to the continuation creation instruction, determining a second genesis block in which the initial creation work of the continuation creation is located, adding a work block to a work blockchain extended by the second genesis block, and recording related information of the continuation creation work of the continuation creation in the added work block.

[0013] In a possible implementation, the method further includes:

[0014] in response to the work completion instruction generated according to the initial creation user indication, performing validity detection on the work completion instruction by using a validity detection mechanism;

[0015] after confirming that the work completion instruction is valid, prohibiting adding a work block to a work blockchain in which the completed work is located.

[0016] In a possible implementation, in response to the continuation creation instruction, the method further includes:

[0017] performing validity detection on the continuation creation work of the continuation creation by using the validity detection mechanism;

[0018] adding a work block to a work blockchain extended by the second genesis block, and recording related information of the continuation creation work of the continuation creation in the added work block, including:

[0019] if the continuation creation work of the continuation creation is valid, adding a work block to a work blockchain extended by the second genesis block, and recording related information of the continuation creation work of the continuation creation in the added work block;

[0020] if the continuation creation work of the continuation creation is invalid, adding the invalid continuation creation work to the second genesis block in the side chain of the continuation creation user.

[0021] In a possible implementation, the validity detection on the work completion instruction / continuation creation work of the continuation creation by using the validity detection mechanism includes:

[0022] obtaining a validity vote on the work completion instruction / continuation creation work of the continuation creation fed back by a user on the collaborative writing platform;

[0023] determining whether the work completion instruction / continuation creation work of the continuation creation is valid according to a number of the validity votes.

[0024] In a possible implementation, the work completion instruction generated according to the initial creation user indication includes:

[0025] determining, according to the initial creation user indication, that the work completion instruction is generated when a work completion time indicated by the initial creation user indication is reached; or

[0026] According to the initial creation user indication, when it is determined that a chapter of the continuation work reaches a set chapter, a work completion instruction is generated.

[0027] In a possible implementation, the method further includes:

[0028] When it is monitored that the collaboration writing platform user successfully trades the initial work in the second genesis block, corresponding transaction information is recorded, and the transaction information includes publishing the initial work, writing a continuation of the initial work, and work appraisal of the initial work or the continuation work.

[0029] In a possible implementation, in response to the continuation creation instruction, the method further includes:

[0030] When a repeated continuation creation instruction is received, it is determined that the continuation work of the continuation creation is invalid, and the invalid continuation work is added to the second genesis block in the side chain of the continuation writing user.

[0031] After the continuation creation instruction for the same second genesis block / work block is confirmed to be valid, the received continuation creation instruction is a repeated continuation creation instruction.

[0032] According to a second aspect of the embodiments of the present disclosure, a collaboration writing device based on a block chain is provided, and the device includes:

[0033] The user adding module is configured to, in response to a user joining the collaboration writing platform instruction, add a block corresponding to the user on the main chain, and record basic information of the user by using the block.

[0034] The side chain extending module is configured to extend a new side chain by taking the added block as a first genesis block.

[0035] The initial work creation module is configured to, in response to an initial creation instruction initiated by an initial creation user, determine a side chain of the initial creation user, add a second genesis block on the determined side chain, extend a work block chain, and record related information of an initial work by using the second genesis block.

[0036] The continuation work creation module is configured to, in response to a continuation creation instruction, determine a second genesis block in which an initial work of the continuation creation is located, add a work block on the work block chain extended by the second genesis block, and record related information of a continuation work of the continuation creation by using the added work block.

[0037] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, including a processor, and a memory for storing processor-executable instructions, wherein the processor implements the steps of the above-mentioned collaboration writing method based on a block chain by running the executable instructions.

[0038] According to a fourth aspect of the embodiments of the present disclosure, a computer readable storage medium is provided, and the computer readable storage medium stores computer instructions. The computer instructions are executed by a processor to implement the steps of the above-mentioned blockchain-based collaborative writing method.

[0039] In addition, the technical effects brought by any one of the implementation manners of the second aspect to the fourth aspect can refer to the technical effects brought by the different implementation manners of the first aspect, which will not be described here again.

[0040] The blockchain-based collaborative writing method, device and electronic equipment provided by the present disclosure have the following beneficial effects:

[0041] First, zero threshold access. The blockchain has the characteristics of openness and non-permission, and all users can participate in the collaborative writing process of the work, submit their own works, evaluate the works of others, and obtain benefits accordingly.

[0042] Second, fairness. The blockchain has the characteristics of anonymity and autonomy, which ensures that users focus on the writing process during the creation and reading process, rather than the author's fame and traffic.

[0043] Third, reliability. The blockchain has the characteristics of traceability and non-tamperability, which ensures that the user's copyright is not infringed. BRIEF DESCRIPTION OF DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

[0045] Figure 1 The application scenario schematic diagram provided for the embodiments of the present disclosure;

[0046] Figure 2 The flowchart of the blockchain-based collaborative writing method provided for the embodiments of the present disclosure;

[0047] Figure 3 The schematic diagram of the collaborative writing platform scheme provided for the embodiments of the present disclosure;

[0048] Figure 4 The schematic diagram of the user management system of the collaborative writing platform provided for the embodiments of the present disclosure;

[0049] Figure 5 The flowchart of the collaborative writing platform provided for the embodiments of the present disclosure to realize collaborative writing;

[0050] Figure 6A schematic diagram of a collaborative writing system of a collaborative writing platform provided by an embodiment of the present disclosure;

[0051] Figure 7 A flowchart of validity detection using a validity detection mechanism provided by an embodiment of the present disclosure;

[0052] Figure 8 A flowchart of a validity detection mechanism method provided by an embodiment of the present disclosure;

[0053] Figure 9 A module structure schematic diagram of a collaborative writing device based on a blockchain provided by an embodiment of the present disclosure;

[0054] Figure 10 An electronic device schematic diagram of a collaborative writing method based on a blockchain provided by an embodiment of the present disclosure;

[0055] Figure 11 A program product schematic diagram of a collaborative writing method based on a blockchain provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0056] In order to make the purposes, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below with reference to the drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present disclosure.

[0057] Some words appearing in the text will be explained below:

[0058] 1. In the embodiments of the present disclosure, the term "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can mean that there are three cases of A alone, A and B together, and B alone. The character " / " generally represents an "or" relationship between the associated objects before and after it.

[0059] 2. In the embodiments of the present disclosure, the term "blockchain" is a new application mode of distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm and other computer technologies, which has the characteristics of decentralization, openness, independence, security, anonymity, etc. The blockchain is essentially a decentralized database composed of multiple blocks. The block is like a database record, and each time data is written, a block is created.

[0060] 3、In the embodiments of the present disclosure, the term "block" refers to a chain storage structure, and the block is a data element in the chain storage structure. The blocks are connected to each other to form a unidirectional chain structure, and the first block is called a genesis block. The block includes a block header and a block body. The block header can record the meta information of the current block, including the current version number, the hash value corresponding to the previous block, the timestamp, the hash value of the Merkle root, and the like. The block body can record the transaction information of the current block, including the number of transactions and the transaction records.

[0061] The application scenarios described in the embodiments of the present disclosure are used to more clearly illustrate the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. Those skilled in the art can know that, with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems. In the description of the present disclosure, unless otherwise specified, the meaning of "multiple" is two or more.

[0062] The writing platform at the present stage has the following three problems:

[0063] The first point is that the works writing platform at the present stage often has a very high access threshold and is not friendly to beginners. Because the traditional work writing is often completed by a single author independently, which forms a star effect, a small number of top authors occupy most of the reader traffic, and it is difficult for beginners to rise.

[0064] The second point is that most writing platforms only support a single author to write an article, and a network work is as high as millions of words, which requires the author to have good literary accomplishment and high self-discipline to ensure the smooth completion of a work. Most non-professional authors give up halfway or cannot continuously provide excellent creative content.

[0065] The third point is that a small number of writing platforms support multiple people to complete a work, but in the scene of thousands of people, it is also difficult to solve the problems of high threshold, fairness and reliability in the process of multi-person collaboration.

[0066] In order to solve the above problems, the present disclosure provides a collaborative writing method and device based on a block chain and an electronic device. The present disclosure uses a block chain technology to build a collaborative writing platform, and effectively solves the problems of high threshold, fairness and reliability in large-scale multi-person collaborative writing by means of the openness, non-permission, anonymity, autonomy, traceability and non-tamperability of the block chain.

[0067] Figure 1 The application scenario of the embodiments of the present disclosure is shown in the following figure. Figure 1As shown, the server 11 receives instructions sent by the client 10, such as user joining the collaborative writing platform instruction, initial creation user initiating initial creation instruction, continuation creation instruction, work completion instruction, and the like, and performs addition, deletion, modification and the like on the related data in the database 12. In the embodiment of the present disclosure, there is at least one client, which can be a web page browser or an application client installed in a mobile user device such as a mobile phone, a tablet computer and the like. The server is a collaborative writing platform, and the database is a blockchain in the collaborative writing platform.

[0068] In the embodiment of the present disclosure, the collaborative writing platform uses a blockchain to store user information, user published works and the like. The server 11 uses blockchain technology to realize reliable, fair and simple multi-person collaborative writing. By utilizing the openness, permissionless, anonymity, autonomy, traceability and non-tamperability of the blockchain, all users are anonymous to each other, so that they can participate in the collaborative writing process of the work without worrying about copyright infringement, author traffic and the like, submit their own works, evaluate the works of others, and obtain benefits accordingly.

[0069] In the embodiment of the present disclosure, a collaborative writing method based on a blockchain is provided by using blockchain technology. Based on the same concept, the present disclosure also provides a collaborative writing device based on a blockchain, an electronic device and a computer readable storage medium.

[0070] The collaborative writing method based on a blockchain provided by the present disclosure will be described below through specific embodiments, such as Figure 2 As shown, comprising:

[0071] Step 201, in response to a user joining the collaborative writing platform instruction, adding a block corresponding to the user on the main chain, and recording the user basic information by using the block;

[0072] Specifically, a user who newly joins the collaborative writing platform needs to register an account. After registration is completed, a block corresponding to the user is added on the main chain, and the user basic information is recorded by using the block. The user basic information includes the user's account, password and the like. If a registered account user enters the collaborative writing platform and completes correct login, the collaborative writing platform only needs to find the block corresponding to the user on the main chain to obtain the basic information of the registered account user.

[0073] Step 202, taking the added block as a first genesis block to extend a new side chain;

[0074] Specifically, each block on the main chain can extend a side chain as a first genesis block, and each block in the side chain records the initial creation work created by the user as a second genesis block.

[0075] In step 203, in response to the initial creation instruction initiated by the initial creation user, a side chain of the initial creation user is determined, a second genesis block is added to the determined side chain, an original work blockchain is extended, and the related information of the original work is recorded by using the second genesis block.

[0076] Specifically, the related information of the original work includes the creation time of the corresponding second genesis block, the related information of the initial creation user, the original work information published by the initial creation user, the position of the next work block, and the like. When the collaborative writing platform monitors that the collaborative writing platform user successfully trades the original work in the second genesis block, the corresponding transaction information is recorded, which includes publishing the original work, continuing writing the original work, and work appraisal of the original work or the continued work.

[0077] In step 204, in response to the continuation creation instruction, the second genesis block of the original work for which the continuation creation is performed is determined, a work block is added to the original work blockchain extended by the second genesis block, and the related information of the continued work for which the continuation creation is performed is recorded by using the added work block.

[0078] Specifically, the related information of the continued work for which the continuation creation is performed includes the creation time of the work block, the related information of the continuation author, the work information published by the continuation author, the position of the next work block, and the like.

[0079] Through the continuous continuation in step 204, according to the indication of the initial creation user, when the indicated work completion time is reached or when the chapter of the continued work reaches the set chapter, a work completion instruction is generated.

[0080] As an optional implementation, the method further includes:

[0081] In response to the work completion instruction generated according to the indication of the initial creation user, the validity of the work completion instruction is detected by using a validity detection mechanism.

[0082] After confirming that the work completion instruction is valid, the addition of a work block to the work blockchain of the completed work is prohibited.

[0083] As an optional implementation, the work completion instruction generated according to the indication of the initial creation user includes:

[0084] According to the indication of the initial creation user, when the indicated work completion time is reached, a work completion instruction is generated; or

[0085] According to the indication of the initial creation user, when the chapter of the continued work reaches the set chapter, a work completion instruction is generated.

[0086] The user logged into the collaborative writing platform can view the above work completion instruction and participate in the effectiveness detection voting process of the work completion instruction, and whether the work completion instruction is effective can be determined according to the voting result.

[0087] As Figure 3 shown, the server in the present disclosure implements the collaborative writing software system based on the blockchain, and realizes the above-mentioned collaborative writing method based on the blockchain through the software system. The software system is based on the collaborative writing platform 301 and mainly consists of three parts in the software architecture: the user management system 302, the collaborative writing system 303 and the effectiveness detection mechanism 304.

[0088] The user management system 302 is mainly responsible for the related operations of user account management, including account registration, login, logout, cancellation, user permission management and recording user transaction information, etc. In the present disclosure, the user management system is constructed based on the blockchain. For a collaborative platform, the system architecture diagram, the user mainly plays two roles:

[0089] One is the author who leads or participates in the writing task. Each author can participate in the creation of others' works, publish his own works for others to participate in the creation, or create by himself.

[0090] The second is the reader who reads others' works. Because of the technology based on the blockchain, the reader can freely read all the works on the platform without being limited by various member permissions.

[0091] As Figure 4 In the collaborative writing method based on the blockchain provided by the embodiment of the present disclosure, the constructed blockchain structure, the main chain 401 of the blockchain will serve as the basis of the user management system as a user database. Starting from the first genesis block 402 in the main chain 401, for each additional user, the main chain of the blockchain will increase a block to record the basic information of the newly added user. The recorded user basic information is described above. The server obtains the user basic information according to the first genesis block on the main chain of the blockchain, and realizes the above-mentioned management of the user based on the obtained basic information.

[0092] The collaborative writing system 303 is the core of the present disclosure. The collaborative writing system 303 based on the blockchain technology connects different authors and enables them to participate in literary creation in harmony. The collaborative writing system mainly realizes the collaborative writing of works based on the initial creation instruction, the continuation creation instruction and the work completion instruction initiated by the initial creation user. As Figure 4As shown, on the basis of each user corresponding first genesis block, a side chain is delayed to record the initial creation works of the user through the second genesis block on the side chain, the number of second genesis blocks on the side chain can be multiple, representing that the user has published multiple initial creation works, which can include second genesis block 406 and second genesis block 405. For each second genesis block, a corresponding work blockchain can be extended to record the transaction information of the work through the work block on the work blockchain. The type of transaction can include but is not limited to work publishing, i.e., work continuation, and work appraisal.

[0093] Exemplarily, Figure 4 The first genesis block 402 records the basic information of user 1, and the first genesis block 403 records the basic information of user 2. Taking the initial creation work published by user 2 as an example, in response to the initial creation instruction initiated by user 2, the side chain of user 2 is determined, for example, the side chain 404. The second genesis block 406 is added on the determined side chain 404, the related information of the initial creation work is recorded by using the second genesis block 406, and a work blockchain is extended. Any user logged into the collaborative writing platform can transact the works published by himself or others, for example, can continue writing the works or can appraise the works. Taking the continuation writing of the initial creation work of user 2 by user 1 as an example, in response to the continuation creation instruction published by user 1, the second genesis block 406 of the initial creation work of the continuation creation is determined, the work block 407 is added on the work blockchain extended by the second genesis block 406, and the related information of the continuation writing work of the continuation creation is recorded by using the added work block 407.

[0094] Each block on the side chain (including the second genesis block and the work block) records the transaction information of the user, the transaction information includes publishing the work and appraising the work, the transaction information of each user is summarized based on the transaction information recorded by the blocks on the side chain, and is recorded to the first genesis block corresponding to the user.

[0095] As an optional implementation, the method further includes:

[0096] When it is monitored that the user of the collaborative writing platform successfully transacts the initial creation work in the second genesis block, the corresponding transaction information is recorded, and the transaction information includes publishing the initial creation work, continuation writing of the initial creation work, and work appraisal of the initial creation work or the continuation writing work.

[0097] For each user, the recorded transaction information of the user includes work publishing and work evaluation: the work publishing includes the information related to the work published by the user, including the time of the work, the content of the work, how many people read and recommend the work, and how many works with continuation are adopted, etc.; the work evaluation includes how many works the user has read, how many works the user has recommended, and how many recommendations are adopted, etc. The same user can create works as an author and evaluate the works of others as a reader. The two identities perform their respective functions and are not exclusive.

[0098] As an optional implementation, in response to the continuation creation instruction, further comprising:

[0099] detecting the validity of the continuation writing work by using a validity detection mechanism;

[0100] adding a work block to the work block chain extended by the second genesis block, and recording the related information of the continuation writing work by using the added work block, including:

[0101] If the continuation writing work is valid, adding a work block to the work block chain extended by the second genesis block, and recording the related information of the continuation writing work by using the added work block;

[0102] If the continuation writing work is invalid, adding the invalid continuation writing work to the second genesis block in the side chain of the continuation writing user.

[0103] As an optional implementation, in response to the continuation creation instruction, further comprising:

[0104] When receiving the repeated continuation creation instruction, if it is determined that the continuation writing work is invalid, adding the invalid continuation writing work to the second genesis block in the side chain of the continuation writing user;

[0105] Wherein, after the continuation creation instruction for the same second genesis block / work block is confirmed to be valid, the received continuation creation instruction is a repeated continuation creation instruction.

[0106] As an optional implementation, the process of realizing the continuation writing work in the embodiment of the disclosure is as shown in Figure 5 , including:

[0107] Step 501, receiving the continuation creation instruction triggered when any user requests to publish a continuation work, wherein the user logged into the collaborative writing platform continues to write based on the initial work and the continuation writing work of himself or others, uploads the continuation writing work to the collaborative writing platform after completing the continuation writing work to request to publish the continuation writing work, and triggers the continuation creation instruction;

[0108] Step 502, detecting the validity of the continuation writing work by using a validity detection mechanism;

[0109] If the continuation writing is invalid, the invalid continuation writing is added to the second genesis block in the side chain of the continuation writing user in step 503.

[0110] The second genesis block can record not only the initial writing created by the user himself / herself, but also the invalid continuation writing published by the user himself / herself.

[0111] If the continuation writing is valid, the second genesis block in which the initial writing is located is determined in step 504.

[0112] The writing block is added to the writing block chain extended by the second genesis block, and the related information of the continuation writing is recorded by the added writing block in step 505.

[0113] The detailed process of completing collaborative writing based on the above-mentioned collaborative writing system is shown in FIG. 6, and specifically includes the following steps. Figure 6

[0114] In step 601, the user 1 creates an initial writing and publishes it to the collaborative writing platform.

[0115] In step 602, the collaborative writing platform opens a second genesis block in the side chain of the user 1, and creates a writing block chain corresponding to the initial writing. The second genesis block contains the time of creation of the second genesis block, the related information of the user 1, the information of the initial writing published by the user 1, the position of the next writing block, and the like. At the same time, all users who join the platform can see the initial writing published by the user 1, so as to read or collaboratively write.

[0116] In step 603, the user 2 writes a continuation based on the initial writing published by the user 1, and publishes the continuation writing to the collaborative writing platform.

[0117] In step 604, the user 3 writes a continuation based on the initial writing published by the user 1, and publishes the continuation writing to the collaborative writing platform.

[0118] In step 605, the continuation writing is not directly uploaded to the block chain. When the continuation writings of different users are published to the collaborative writing platform, the validity detection mechanism is triggered to detect whether the continuation writing is valid.

[0119] ​Step 606, the effective continuation work will be uploaded to the work block of the work, if the continuation work of user 3 is effective, a new work block (for example, work block 1) can be opened first, and the related information of the continuation work of user 3 is recorded in work block 1, which can include the time of creating work block 1, the related information of user 3, the information of the continuation work published by user 3, the position of the next work block and other information. When user 1 or other users continue to write according to the initial work published by user 1 and publish the continuation work to the collaborative writing platform, the collaborative writing platform directly judges that the continuation work is invalid.

[0120] The invalid continuation work will be collected into the second genesis block of the side chain of the user who continues to write, if the continuation work of user 2 is invalid, the continuation work of user 2 will be collected into the second genesis block of the side chain of user 2.

[0121] Step 607, using the same way as steps 603 to 605, user N-1 continues to write according to the effective continuation work published by the last user, and publishes the continuation work to the collaborative writing platform;

[0122] Step 608, using the same way as steps 603 to 605, user N continues to write according to the effective continuation work published by the last user, and publishes the continuation work to the collaborative writing platform;

[0123] Step 609, using the same way as steps 603 to 605, the validity detection mechanism is triggered to detect whether it is valid or not;

[0124] Step 610, user 1 confirms that the continuation work has reached the completion time / chapter (cut-off block) of the work published by user 1, and detects the completion instruction;

[0125] Step 611, after the confirmation of the validity detection system, the corresponding information is written into the last work block M, and the position information of the next work block will not be included in work block M, because the work has been completed, and the next work block will not be opened, and all information will not be written into the work block chain thereafter.

[0126] The most important thing of the collaborative writing platform based on the blockchain technology is to develop a consensus mechanism symbolizing trust, that is, how to determine that the instruction (continuation work completion instruction / continuation work for continuing creation) published in the system is valid. In the present disclosure, the majority approval mechanism is used for validity detection in combination with the collaborative writing scene:

[0127] For the convenience of understanding, further, Figure 7 is the flowchart of the validity detection mechanism provided by the embodiment of the present disclosure, which will be combinedFigure 7 The effectiveness detection mechanism is specifically introduced.

[0128] Step 701, obtaining the effectiveness vote of the user feedback on the work completion instruction / continuation writing work on the collaborative writing platform;

[0129] Step 702, determining whether the work completion instruction / continuation writing work is effective according to the number of effectiveness votes.

[0130] Specifically, after the work completion instruction / continuation writing work is published, all users on the platform can see the instruction, and other users except the stakeholders involved in the instruction can vote on the effectiveness of the instruction.

[0131] The number of effectiveness votes can be counted in various ways:

[0132] The first way is to determine the work completion instruction / continuation writing work with more votes as effective according to the comparison of the number of votes obtained in a predetermined period of time, such as Figure 8 As shown in

[0133] Step 801, publishing the continuation work 1;

[0134] Step 802, publishing the continuation work 2;

[0135] The collaborative writing platform detects the effectiveness of the two continuation works, and all users on the platform can see the command after the command is published. Other users except the stakeholders involved in the command can vote on the effectiveness of the command.

[0136] Step 803, at the end of the preset time, the continuation work 1 obtains M votes;

[0137] Step 804, at the end of the preset time, the continuation work 2 obtains N votes;

[0138] Step 805, compare the number of votes obtained, if M is greater than N;

[0139] Step 806, the continuation work 1 is effective, and the second genesis block of the initial work of the continuation work 1 is determined, and the work block is added to the work block chain extended by the second genesis block, and the related information of the continuation work 1 is recorded by using the added work block;

[0140] Step 807, the continuation work 2 is invalid, and the invalid continuation work 2 is added to the second genesis block in the side chain of the continuation user.

[0141] The second way is to determine the effective of the ending instruction or the continued writing work of the continued creation when the number of votes reaches a certain proportion, for example, more than one half or two thirds of the total votes.

[0142] Based on the same disclosure concept, the second embodiment of the present disclosure also provides a collaborative writing device based on a block chain. Since the device is the device in the method in the embodiment of the present disclosure, and the principle of solving the problem of the device is similar to that of the method, the implementation of the device can be referred to the implementation of the method, and the repeated parts will not be described here.

[0143] As shown in Figure 9 The above device includes the following modules:

[0144] The user increasing module 901 is configured to, in response to a user joining a collaborative writing platform instruction, increase a block corresponding to the user on a main chain, and record basic information of the user by using the block;

[0145] The side chain extending module 902 is configured to extend a new side chain by taking the increased block as a first genesis block;

[0146] The initial work creating module 903 is configured to, in response to an initial creation instruction initiated by an initial creation user, determine a side chain of the initial creation user, increase a second genesis block on the determined side chain, and extend a work block chain by using the second genesis block to record related information of an initial work;

[0147] The continued writing work creating module 904 is configured to, in response to a continued creation instruction, determine a second genesis block of an initial work of continued creation, increase a work block on the work block chain extended by the second genesis block, and record related information of a continued writing work of continued creation by using the increased work block.

[0148] As an optional implementation manner, the device further includes:

[0149] The ending effectiveness detecting module is configured to, in response to a work ending instruction generated according to an initial creation user instruction, perform effectiveness detection on the work ending instruction by using an effectiveness detection mechanism;

[0150] The work ending module is configured to, after confirming that the work ending instruction is effective, prohibit increasing a work block on the work block chain of the ending work.

[0151] As an optional implementation manner, the continued writing work creating module, in response to the continued creation instruction, further includes:

[0152] Performing effectiveness detection on the continued writing work of continued creation by using the effectiveness detection mechanism;

[0153] If the continuation writing is valid, add a work block to the work blockchain extended by the second genesis block, and record the information of the continuation writing in the added work block;

[0154] If the continuation writing is invalid, add the invalid continuation writing to the second genesis block in the side chain of the continuation user.

[0155] As an optional implementation, the work completion validity detection module detects the validity of the work completion instruction / the continuation writing validity detection module detects the validity of the continuation writing, comprising:

[0156] Obtain the validity vote of the work completion instruction / the continuation writing of the user feedback on the collaborative writing platform;

[0157] According to the number of validity votes, determine whether the work completion instruction / the continuation writing is valid.

[0158] As an optional implementation, the work completion module is used to generate a work completion instruction according to the indication of the initial creation user, comprising:

[0159] According to the indication of the initial creation user, determine to generate a work completion instruction when the indicated work completion time is reached; or

[0160] According to the indication of the initial creation user, determine to generate a work completion instruction when the chapter of the continuation work reaches the set chapter.

[0161] As an optional implementation, the device further comprises:

[0162] The transaction monitoring module is used to monitor the successful transaction of the initial creation work in the second genesis block by the user of the collaborative writing platform, and the recording module is used to record the corresponding transaction information, the transaction information including publishing the initial creation work, writing of the initial creation work, and work review of the initial creation work or the continuation work.

[0163] As an optional implementation, the continuation writing creation module is used to respond to the continuation creation instruction, and further comprises:

[0164] When receiving repeated continuation creation instructions, determine that the continuation writing is invalid, and add the invalid continuation writing to the second genesis block in the side chain of the continuation user;

[0165] Wherein, after the continuation creation instruction for the same second genesis block / work block is confirmed to be valid, the received continuation creation instruction is a repeated continuation creation instruction.

[0166] Based on the same disclosure concept, the disclosure embodiments also provide a blockchain-based collaborative writing electronic device. Since the device is the device in the method of the disclosure embodiments, and the principle of solving the problem of the device is similar to that of the method, the implementation of the device can be referred to the implementation of the method, and the repeated parts will not be described here.

[0167] The electronic device 100 according to this implementation of the disclosure will be described below with reference to Figure 10 Figure 10 The display electronic device 100 is only an example and should not limit the functions and use range of the disclosure embodiments.

[0168] As Figure 10 shown, the electronic device 100 can be in the form of a general computing device, for example, it can be a terminal device. The components of the electronic device 100 can include but are not limited to: the above-mentioned at least one processor 101, the above-mentioned at least one memory 102, the bus 103 connecting different system components (including the memory 102 and the processor 101).

[0169] The bus 103 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor or a local bus using any of a variety of bus structures.

[0170] The memory 102 can include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1021 and / or a cache memory 1022, and can further include a read-only memory (ROM) 1023.

[0171] The memory 102 can also include a program / utility 1025 having a set of (at least one) program modules 1024, such as an operating system, one or more application programs, other program modules, and program data, each of which or a combination of which can include implementation of a network environment.

[0172] ​The electronic device 100 can also communicate with one or more external devices 104 such as a keyboard or a pointing device, by way of Input / Output (I / O) interface 105. Further, the electronic device 100 can communicate with one or more devices that enable a user to interact with the electronic device 100, by way of the I / O interface 105. Communication can be enabled by way of, for example, an RF transceiver 107 located, for example, in an antenna 108. The RF transceiver 107 can enable communication with one or more devices that can function as a server, client, or peer. The RF transceiver 107 can be part of a wireless transceiver that can include, for example, a receiver, a transmitter, or both. The RF transceiver 107 can enable communication with one or more networks, such as a local area network (LAN), a metropolitan area network (MAN), and / or a wide area network (WAN), e.g., the Internet. As depicted, the RF transceiver 107 is in communication with the bus 103 by way of the network adapter 106. As will be appreciated, other hardware and / or software modules can be used in conjunction with the electronic device 100. For example, a microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc. can be used in conjunction with the electronic device 100.

[0173] In some possible embodiments, various aspects of the present disclosure can also be implemented as a program product, including a program code, which, when run on a terminal device, causes the terminal device to perform the steps of the various modules of the electronic device for collaborative writing based on blockchain described in the above “Exemplary Methods” section of the present specification according to various exemplary embodiments of the present disclosure. For example, the terminal device can perform operations such as determining a side chain of an initial creation user in response to an initial creation instruction initiated by the initial creation user, adding a second genesis block on the determined side chain, extending a work blockchain with the second genesis block, and recording information related to the initial work with the second genesis block.

[0174] The program product can take any combination of one or more computer readable media. The computer readable media can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of the computer readable storage medium include an electrical connection having one or more wires, a portable disc, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0175] As Figure 11As shown, a program product 110 for blockchain-based collaborative writing according to embodiments of the present disclosure is described, which can take the form of a portable compact disc read-only memory (CD-ROM) and includes program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited to this, and in this document, the readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus or device.

[0176] The program code can be transmitted over any suitable medium, including, but not limited to, wireless, wired, optical fiber cable, RF, etc., or any suitable combination thereof.

[0177] The program code contained on the readable medium can be transmitted using any suitable medium, including, but not limited to, wireless, wired, optical fiber cable, RF, etc., or any suitable combination thereof.

[0178] The program code for carrying out operations of the present disclosure can be written in any combination of one or more programming languages, including an object-oriented programming language such as Java, C++, etc., and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, through the Internet by using an Internet service provider).

[0179] It should be noted that although several modules or sub-modules of the system are mentioned in the above detailed description, such division is merely exemplary and not mandatory. In fact, according to embodiments of the present disclosure, the features and functions of two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided into modules for embodiment.

[0180] Moreover, although the operations of the modules of the system of the present disclosure are described in a particular, sequential order, this order is not meant to be a limitation and

[0181] Those skilled in the art will appreciate that embodiments of the present disclosure can be devised for a method, a system, or a computer program product. Accordingly, the present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure can take the form of a computer program product on one or more computer readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage etc.) having computer usable program code embodied in the medium.

[0182] The present disclosure is described in reference to the flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing device or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams.

[0183] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams.

[0184] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams.

[0185] It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments without departing from the spirit or scope of the disclosure. Thus, it is intended that the present disclosure cover the modifications and variations of this disclosure provided they come within the scope of the appended claims and their equivalents.

Claims

1. A blockchain-based collaborative writing method, characterized in that, The method comprises: in response to a user joining a collaborative writing platform instruction, adding a block corresponding to the user on the main chain, and recording the user's basic information in the block; the added block is used as a first genesis block, and a new side chain is extended; in response to an initial creation instruction initiated by an initial creation user, determining a side chain of the initial creation user, adding a second genesis block on the determined side chain, and extending a work block chain, and recording the related information of the initial work in the second genesis block; in response to a continuation creation instruction, determining a second genesis block of the initial work of the continuation creation, and adding a work block on the work block chain extended by the second genesis block, and recording the related information of the continuation work of the continuation creation in the added work block; in response to the continuation creation instruction, further comprising: using an effectiveness detection mechanism to detect the effectiveness of the continuation work of the continuation creation; adding a work block on the work block chain extended by the second genesis block, and recording the related information of the continuation work of the continuation creation in the added work block, comprising: if the continuation work of the continuation creation is valid, adding a work block on the work block chain extended by the second genesis block, and recording the related information of the continuation work of the continuation creation in the added work block; if the continuation work of the continuation creation is invalid, adding the invalid continuation work to the second genesis block in the side chain of the continuation user.

2. The method of claim 1, wherein, Further comprising: in response to a work completion instruction generated according to an initial creation user instruction, using an effectiveness detection mechanism to detect the effectiveness of the work completion instruction; after confirming that the work completion instruction is valid, prohibiting adding a work block on the work block chain of the completed work.

3. The method according to claim 1 or 2, characterized in that, Using the effectiveness detection mechanism to detect the effectiveness of the work completion instruction / continuation work of the continuation creation, comprising: obtaining the effectiveness vote of the work completion instruction / continuation work of the continuation creation fed back by the user on the collaborative writing platform; determining whether the work completion instruction / continuation work of the continuation creation is valid according to the number of effectiveness votes.

4. The method of claim 2, wherein, The work completion instruction generated according to the initial creation user instruction comprises: determining to generate the work completion instruction when the indicated work completion time is reached according to the initial creation user instruction; or determining to generate the work completion instruction when the chapter of the continuation work reaches the set chapter according to the initial creation user instruction.

5. The method of claim 1, wherein, Further comprising: monitoring when the user of the collaborative writing platform successfully trades the initial work in the second genesis block, recording the corresponding transaction information, and the transaction information comprises publishing the initial work, writing a continuation of the initial work, and work appraisal of the initial work or the continuation work.

6. The method of claim 1, wherein, In response to the continuation creation instruction, further comprising: when receiving a repeated continuation creation instruction, determining that the continuation work of the continuation creation is invalid, and adding the invalid continuation work to the second genesis block in the side chain of the continuation user; wherein, after the continuation creation instruction for the same second genesis block / work block is confirmed to be valid, the received continuation creation instruction is a repeated continuation creation instruction. 7.A blockchain-based collaborative writing device, characterized by, The device comprises: A user adding module is configured to add a block corresponding to a user on the main chain in response to a user joining the collaborative writing platform instruction, and record basic information of the user in the block; A side chain extending module is configured to extend a new side chain with the added block as a first genesis block; An initial work creating module is configured to determine a side chain of an initial creation user in response to an initial creation instruction initiated by the initial creation user, add a second genesis block on the determined side chain, and extend a work blockchain with the second genesis block recording relevant information of an initial work; A follow-up work creating module is configured to determine a second genesis block of an initial work for follow-up creation in response to a follow-up creation instruction, add work blocks on the work blockchain extended by the second genesis block, and record relevant information of a follow-up work for follow-up creation in the added work blocks; In response to the follow-up creation instruction, the method further includes: detecting the follow-up work for follow-up creation by using an effectiveness detection mechanism; adding work blocks on the work blockchain extended by the second genesis block, and recording relevant information of the follow-up work for follow-up creation in the added work blocks, including: if the follow-up work for follow-up creation is valid, adding work blocks on the work blockchain extended by the second genesis block, and recording relevant information of the follow-up work for follow-up creation in the added work blocks; if the follow-up work for follow-up creation is invalid, adding the invalid follow-up work to the second genesis block in the side chain of the follow-up user.

8. An electronic device, comprising: The method includes: a processor; a memory for storing executable instructions of the processor; wherein the processor implements the steps of the method according to any one of claims 1 to 6 by running the executable instructions.

9. A computer readable storage medium having stored thereon computer instructions, wherein, The instructions are executed by the processor to implement the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Enterprise data storage method, device and equipment

    CN111475571A

  • Data processing method and device based on blockchain network and storage medium

    CN112104719A