Movatterモバイル変換


[0]ホーム

URL:


CN114862344A - DAO-based blockchain smart community problem solving method and system - Google Patents

DAO-based blockchain smart community problem solving method and system
Download PDF

Info

Publication number
CN114862344A
CN114862344ACN202210438075.2ACN202210438075ACN114862344ACN 114862344 ACN114862344 ACN 114862344ACN 202210438075 ACN202210438075 ACN 202210438075ACN 114862344 ACN114862344 ACN 114862344A
Authority
CN
China
Prior art keywords
project
user
blockchain
users
department
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210438075.2A
Other languages
Chinese (zh)
Inventor
王鹏鹏
刘红
贾胜中
荣超
华清波
孙革
熊晓芸
王金龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao E Link Information Technology Co ltd
Qingdao University of Technology
Original Assignee
Qingdao E Link Information Technology Co ltd
Qingdao University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao E Link Information Technology Co ltd, Qingdao University of TechnologyfiledCriticalQingdao E Link Information Technology Co ltd
Priority to CN202210438075.2ApriorityCriticalpatent/CN114862344A/en
Publication of CN114862344ApublicationCriticalpatent/CN114862344A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种基于DAO的区块链智慧社区问题解决方法及系统,上述方法包括:网格长用户通过居民系统对居民提交的问题信息进行项目立项确认,建立项目后将项目基础信息发送至消息队列;通过区块链Web系统监听消息队列,实时获取项目基础信息,网格长用户通过将项目基础信息整合,并添加处理项目使用的Cred it证明,得到项目认领信息并发布在区块链Web系统中;工作部门用户根据项目认领信息认领该项目,并与网格长用户达成协定,在工作部门用户将认领的项目处理完成后,将项目处理过程中的可公开的项目信息在区块链Web系统中进行公布;未参与项目的用户对区块链Web系统中公布的项目信息进行合理度投票;项目结束后按照达成的协定进行Cred it证明的发放。

Figure 202210438075

The invention discloses a DAO-based block chain smart community problem solving method and system. The method includes: a grid long user confirms the project establishment of the problem information submitted by the residents through the resident system, and sends the basic information of the project after the project is established. Go to the message queue; monitor the message queue through the blockchain web system, and obtain the basic information of the project in real time. The long grid user integrates the basic information of the project and adds the Cred it certificate for processing the project to obtain the project claim information and publish it in the block. In the chain web system; the users of the work department claim the project according to the project claim information, and reach an agreement with the grid long user. Announcement in the blockchain web system; users who did not participate in the project vote on the reasonableness of the project information published in the blockchain web system; after the project ends, the Cred it certificate is issued according to the agreement reached.

Figure 202210438075

Description

Translated fromChinese
基于DAO的区块链智慧社区问题解决方法及系统DAO-based blockchain smart community problem solving method and system

技术领域technical field

本发明涉及区块链技术领域,尤其涉及一种基于DAO的区块链智慧社区问题解决方法及系统。The present invention relates to the technical field of blockchain, and in particular, to a method and system for solving the problem of a blockchain smart community based on DAO.

背景技术Background technique

随着社会经济的高速发展,社区的规模和智能化程度在不断提升,社区中出现的环境、安全、生活等方面的民生问题也在增多。社区民生问题关乎人民生活水平的提高,针对社区中的民生问题,政府设立了各种负责的管理部门。民生问题往往需要多个部门协同处理。多部门合作不易监督,容易出现各部门推脱责任、互不关心、无作为等情况,导致民生问题解决进程缓慢。除此之外,监管机制也不完善,没有保存各部门完整的工作记录,无法追溯各部门的工作进度以及工作责任。同时,社区居民用户在社区问题的解决过程中参与度不高。With the rapid development of the social economy, the scale and intelligence of the community are constantly improving, and the people's livelihood problems in the environment, safety, and life are also increasing. Community livelihood issues are related to the improvement of people's living standards. For the livelihood issues in the community, the government has established various responsible management departments. People's livelihood issues often need to be dealt with by multiple departments. Multi-departmental cooperation is not easy to supervise, and it is easy for various departments to shirk their responsibilities, ignore each other, and do nothing, which leads to a slow process of solving people's livelihood problems. In addition, the supervision mechanism is not perfect, the complete work records of each department are not kept, and the work progress and work responsibilities of each department cannot be traced. At the same time, community resident users are not highly involved in the process of solving community problems.

针对上述问题,申请公布号为CN111311410B的专利公布了一种基于区块链的社区问题多部门协作处理系统及方法,提出“自上而下”的处理社区问题方法,使用区块链存储社区问题的完整部门认领处理流程,实现了相关部门之间的有效监督,提升了社区问题的处理效率。申请公布号为CN112785168A的专利公开了一种基于区块链的社区问题多部门认领处理系统及方法,提出“自下而上”的处理社区问题,使用区块链记录社区问题的完整处理流程,保证了问题处理记录的安全性和可追溯。In response to the above problems, the patent application publication number CN111311410B discloses a blockchain-based multi-departmental collaborative processing system and method for community problems, and proposes a "top-down" method for dealing with community problems, using blockchain to store community problems. The complete departmental claim processing process has achieved effective supervision between relevant departments and improved the processing efficiency of community issues. The patent application publication number CN112785168A discloses a blockchain-based multi-department claim processing system and method for community issues, proposes a "bottom-up" approach to community issues, and uses blockchain to record the complete processing flow of community issues. The security and traceability of problem handling records are guaranteed.

上述专利虽然使用区块链保证了数据的安全和可追溯,但是上述现有技术未完全解决流转分配不精确的问题;以及未设置激励措施和奖惩制度,各用户缺乏动力且难以达成处理问题的一致,社区居民用户参与度不高;并且对区块链存储性能缺乏评估,业务系统无法高效的与区块链进行交互,缺乏灵活性和外部可交互性,问题记录内容无法灵活扩展。Although the above-mentioned patent uses blockchain to ensure the security and traceability of data, the above-mentioned existing technologies do not completely solve the problem of inaccurate distribution of circulation; and there is no incentive measure and reward and punishment system, each user lacks motivation and is difficult to achieve. Consistent, community resident user participation is not high; and there is a lack of evaluation of blockchain storage performance, business systems cannot efficiently interact with blockchain, lack of flexibility and external interactivity, and the content of problem records cannot be flexibly expanded.

发明内容SUMMARY OF THE INVENTION

本发明针对上述的现有技术中存在的技术问题,提出一种基于DAO的区块链智慧社区问题解决方法及系统。Aiming at the above-mentioned technical problems in the prior art, the present invention proposes a method and system for solving the problem of a blockchain smart community based on DAO.

第一方面,本申请实施例提供了一种基于DAO的区块链智慧社区问题解决方法,包括:In the first aspect, the embodiments of this application provide a DAO-based solution to the problem of a blockchain smart community, including:

项目立项步骤:网格长用户通过居民系统对居民提交的问题信息进行项目立项确认,建立项目后将项目基础信息发送至消息队列;Steps of project establishment: The long grid user confirms the project establishment of the problem information submitted by the residents through the resident system, and sends the basic information of the project to the message queue after the project is established;

项目发布步骤:通过区块链Web系统监听所述消息队列,实时获取所述项目基础信息,所述网格长用户通过将所述项目基础信息整合,并添加处理所述项目使用的Credit证明,得到项目认领信息并发布在所述区块链Web系统中;Project release step: monitor the message queue through the blockchain web system, and obtain the basic information of the project in real time. Obtain the project claim information and publish it in the blockchain web system;

项目处理步骤:至少一个工作部门用户根据所述项目认领信息部分认领或完全认领所述项目,并分别与所述网格长用户达成协定,如果多个工作部门用户认领了所述项目相同的部分或完全认领了所述项目,则所述网格长用户在达成协定的工作部门用户中选择一个工作部门用户处理所述项目;Project processing step: at least one work department user partially or completely claims the project according to the project claim information, and reaches an agreement with the grid long user respectively, if multiple work department users claim the same part of the project Or fully claim the project, the grid long user selects a work department user among the agreed work department users to process the project;

信息公布步骤:在所述工作部门用户将认领的所述项目处理完成后,将项目处理过程中的可公开的项目信息在所述区块链Web系统中进行公布;The step of information publishing: after the project to be claimed by the user of the work department is processed, the project information that can be disclosed in the project processing process is published in the blockchain web system;

项目投票步骤:所述区块链Web系统中未参与所述项目的用户对所述区块链Web系统中公布的所述项目信息进行合理度投票;Project voting step: users in the blockchain web system who did not participate in the project vote on the reasonableness of the project information published in the blockchain web system;

Credit证明发放步骤:所述项目结束后按照达成的所述协定进行Credit证明的发放。Credit certificate issuance steps: After the project ends, the Credit certificate is issued according to the agreement reached.

上述区块链智慧社区问题解决方法,其中,所述Credit证明包括CTN、CS与CTD,所述CS包括C-CS与F-CS,所述CTN、C-CS与CTD之间可进行转换。In the above method for solving the problem of smart community in blockchain, the Credit certificate includes CTN, CS and CTD, the CS includes C-CS and F-CS, and conversion between CTN, C-CS and CTD is possible.

上述区块链智慧社区问题解决方法,其中,所述项目处理步骤包括:In the above-mentioned method for solving the problem of smart community in blockchain, the project processing steps include:

协商步骤:所述工作部门用户确认认领所述项目后与所述网格长用户建立协商通道,通过所述协商通道互相提交认领的项目内容和使用的CTN数量,重复提交至达成协定;Negotiation step: the user of the work department establishes a negotiation channel with the long grid user after confirming the claim of the project, and submits the contents of the claimed project and the number of CTNs used to each other through the negotiation channel, and submits them repeatedly until an agreement is reached;

部门选择步骤:所述网格长用户在达成协定的工作部门用户中选定一个最优的工作部门用户,冻结所述网格长用户和被选定的所述工作部门用户的达成的协定中所需的CTN,被选定的所述工作部门用户处理认领的所述项目。Department selection step: the grid long user selects an optimal work department user among the agreed work department users, and freezes the agreement reached between the grid long user and the selected work department user. The desired CTN, the selected user of the job sector handles the item claimed.

上述区块链智慧社区问题解决方法,其中,所述项目投票步骤包括:In the above method for solving the problem of smart community in blockchain, the project voting steps include:

投票结果比对步骤:根据参与投票的用户所拥有的CS总量计算投票结果,将所述投票结果与合理标准进行比对;Voting result comparison step: Calculate the voting result according to the total amount of CS owned by the users participating in the voting, and compare the voting result with a reasonable standard;

投票结果质疑步骤:若比对结果为合理,则结束所述项目;若比对结果为不合理,则核查部门对所述投票结果进行审查后结束所述项目。The voting result questioning step: if the comparison result is reasonable, the project will be ended; if the comparison result is unreasonable, the verification department will review the voting result and end the project.

上述区块链智慧社区问题解决方法,其中,所述投票结果质疑步骤包括:若比对结果为不合理,则所述核查部门对所述项目进行审查,若审查结果为合理,则将所述比对结果修正为合理,若审查结果为不合理,则扣除所述工作部门用户和所述网格长用户被冻结的部分CTN作为投票奖励。The above-mentioned method for solving the problem of the smart community of blockchain, wherein, the questioning step of the voting result includes: if the comparison result is unreasonable, the verification department will examine the project, and if the examination result is reasonable, the The comparison result is corrected to be reasonable. If the review result is unreasonable, the frozen part of the CTN of the user of the work department and the user of the grid length will be deducted as a voting reward.

上述区块链智慧社区问题解决方法,其中,所述项目处理步骤还包括:In the above-mentioned method for solving the problem of smart community in blockchain, the project processing steps further include:

若所述工作部门用户处理所述项目失败,经所述核查部门裁定后,所述网格长用户重新发布所述项目认领信息,重新与其他工作部门用户建立并达成协定;若失败的所述工作部门用户是所述网格长用户在多个工作部门用户中选定的,则将网格长用户的被冻结的部分CTN加入所述投票奖励中。If the user of the work department fails to process the project, after being adjudicated by the verification department, the long grid user reissues the project claim information, and re-establishes and reaches an agreement with other users of the work department; If the work department user is selected by the grid long user among multiple work department users, the frozen part of the CTN of the grid long user is added to the voting reward.

上述区块链智慧社区问题解决方法,其中,所述Credit证明发放步骤包括:In the above-mentioned method for solving the problem of smart community in blockchain, wherein, the steps of issuing the Credit certificate include:

投票奖励发放步骤:按照用户拥有的CS总量将所述投票奖励发放给投票选择与审查结果一致的参与投票的用户;Voting reward distribution steps: according to the total amount of CS owned by the user, the voting reward will be distributed to the voting users who voted in accordance with the review results;

CTN发放步骤:所述网格长用户按照最新达成的所述协定将冻结的CTN发放至所述工作部门用户;CTN distribution step: the long grid user distributes the frozen CTN to the user of the work department according to the latest agreement;

F-CS发放步骤:根据所述项目使用的CTN数量向所述工作部门用户与所述网格长用户发放F-CS。The step of issuing F-CS: according to the number of CTNs used by the project, F-CS is issued to the user of the work department and the long user of the grid.

上述区块链智慧社区问题解决方法,其中,所述F-CS发放步骤包括:In the above-mentioned method for solving the problem of smart community of blockchain, wherein, the step of issuing F-CS includes:

若协定的CTN数量全部用完,则为所述工作部门用户发放与协定的CTN数量等额的F-CS;If the agreed number of CTNs is used up, F-CS equal to the agreed number of CTNs will be issued to the users of the work sector;

若协定的CTN数量未全部使用,则在为所述工作部门用户发放与协定的CTN数量等额的F-CS的基础上,根据未使用的CTN数量增加部分F-CS发放给所述工作部门用户。If the agreed number of CTNs is not fully used, on the basis of issuing F-CS equal to the agreed number of CTNs to the users of the work department, an additional part of the F-CS is issued to the users of the work department according to the number of unused CTNs .

上述区块链智慧社区问题解决方法,其中,所述CTN发放步骤还包括:In the above method for solving the problem of smart community in blockchain, wherein, the step of issuing CTN further includes:

CTN数量质疑步骤:若所述网格长用户未按达成的所述协定发放CTN给所述工作部门用户,则所述工作部门用户向所述核查部门提交质疑申请与质疑的CTN数量;Step of questioning the number of CTNs: if the long grid user fails to issue CTNs to the users of the work department according to the agreement reached, the users of the work department submit a challenge application and the number of CTNs questioned to the verification department;

质疑结果获得步骤:所述核查部门接受所述质疑申请后,冻结所述网格长用户和所述工作部门用户的质疑数量的CTN,所述核查部门根据所述网格长用户和所述工作部门用户达成的所述协定、所述投票结果与CTN发放记录进行验证,得到最终质疑结果;The step of obtaining the challenge result: after the verification department accepts the challenge application, it freezes the CTNs of the number of challenged users of the grid long user and the work department user, and the verification department determines the number of questions asked by the grid long user and the work department user. The agreement reached by the users of the department, the voting result and the CTN issuance record are verified, and the final questioning result is obtained;

过错方惩罚步骤:将最终质疑结果的过错方被冻结的质疑数量的CTN发放给最终质疑结果的正确方。Penalty step for the faulty party: The CTN of the number of questions frozen by the faulty party of the final challenged result is issued to the correct party of the final challenged result.

第二方面,本申请实施例提供了一种基于DAO的区块链智慧社区问题解决系统,包括:In the second aspect, the embodiments of this application provide a DAO-based blockchain smart community problem solving system, including:

居民系统,用于接收居民提交的问题信息并进行项目立项确认;Resident system, used to receive the problem information submitted by the residents and confirm the project establishment;

消息队列,用于接收所述项目立项后的项目基础信息;A message queue for receiving the basic project information after the project is approved;

区块链Web系统,用于监听所述消息队列,实时接收所述项目基础信息;以及;执行项目公开、项目认领、Credit证明发放和转化操作,并将操作执行结果和执行过程产生的数据分别存储在所述区块链Web系统的主链和侧链中;The blockchain web system is used to monitor the message queue and receive the basic information of the project in real time; and; perform project disclosure, project claim, credit certificate issuance and conversion operations, and separate the operation execution result and the data generated during the execution process. stored in the main chain and side chain of the blockchain web system;

IPFS,用于存储所述项目基础信息中的大文件数据,并将存储反馈信息与所述项目基础信息中的文本信息绑定后存储至所述区块链Web系统的主链中。IPFS is used to store the large file data in the basic information of the project, and store the feedback information in the main chain of the blockchain web system after binding the storage feedback information with the text information in the basic information of the project.

与现有技术相比,本发明的优点和积极效果在于:Compared with the prior art, the advantages and positive effects of the present invention are:

本发明提出一种基于DAO的区块链智慧社区问题解决方法,网格长用户、工作部门用户、居民用户与其他部门协同处理问题,提高了居民的参与度与问题处理结果的共识度;设置激励措施与奖惩制度,若项目成功完成的同时且节省了CTN,则对相关负责人进行奖励,若用户参与投票且投票合理,同样进行投票奖励;反之,对项目处理中的过错方则进行惩罚,如此增加了用户解决问题的动力与效率,有助于更好的解决问题,也提高了居民的参与度;设置IPFS存储与项目有关的大文件数据,缓解了区块链的存储压力;本发明在实现社区问题协同处理,可靠记录的同时,消除了流转分配不精确的问题,且具有完善的激励措施和奖惩制度,提升了各方用户提出问题、解决问题的积极性与效率,也提高了居民用户的参与度。The present invention proposes a DAO-based method for solving the problem of a blockchain smart community, in which long grid users, work department users, resident users and other departments deal with problems collaboratively, thereby improving residents' participation and consensus on problem handling results; setting Incentive measures and reward and punishment system. If the project is successfully completed and CTN is saved, the relevant person in charge will be rewarded. If the user participates in the voting and the voting is reasonable, the same voting reward will be given; otherwise, the wrong party in the project processing will be punished. , which increases the motivation and efficiency of users to solve problems, helps to solve problems better, and improves the participation of residents; setting IPFS to store large file data related to the project relieves the storage pressure of the blockchain; The invention eliminates the problem of inaccurate circulation and distribution while realizing the collaborative processing of community problems and reliable records, and has a complete incentive measure and reward and punishment system, which improves the enthusiasm and efficiency of all users in raising and solving problems. Resident user engagement.

附图说明Description of drawings

图1为本发明提供的基于DAO的区块链智慧社区问题解决方法的步骤示意图;1 is a schematic diagram of the steps of a DAO-based solution to the problem of a blockchain smart community provided by the present invention;

图2为本发明提供的基于DAO的区块链智慧社区问题解决方法的时序图;Fig. 2 is the sequence diagram of the solution method for the DAO-based blockchain smart community problem provided by the present invention;

图3为本发明提供的基于DAO的区块链智慧社区问题解决系统的组成图;3 is a composition diagram of a DAO-based blockchain smart community problem solving system provided by the present invention;

图4为本发明提供的基于DAO的区块链智慧社区问题处理方法一实施例流程示意图;4 is a schematic flowchart of an embodiment of a method for processing a DAO-based blockchain smart community problem provided by the present invention;

图5为本发明提供的链下数据库的设计简图;5 is a schematic diagram of the design of the off-chain database provided by the present invention;

图6为本发明提供的Credit证明转换关系示意图;FIG. 6 is a schematic diagram of a Credit proof conversion relationship provided by the present invention;

图7为本发明提供的区块链Web系统界面概念图;7 is a conceptual diagram of a blockchain Web system interface provided by the present invention;

图8为本发明提供的密钥权限设置示意图;8 is a schematic diagram of key authority setting provided by the present invention;

图9为本发明提供的数据查询流程图;9 is a data query flowchart provided by the present invention;

图10为本发明提供的数据查询流程的时序图;10 is a sequence diagram of a data query process provided by the present invention;

图11为本发明提供的基于DAO的区块链智慧社区问题处理系统的第一社区环境治理处理步骤;11 is the first community environment governance processing steps of the DAO-based blockchain smart community problem processing system provided by the present invention;

图12为本发明提供的基于DAO的区块链智慧社区问题处理系统架构图。FIG. 12 is an architecture diagram of a DAO-based blockchain smart community problem processing system provided by the present invention.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行描述和说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。基于本申请提供的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

显而易见地,下面描述中的附图仅仅是本申请的一些示例或实施例,对于本领域的普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图将本申请应用于其他类似情景。此外,还可以理解的是,虽然这种开发过程中所作出的努力可能是复杂并且冗长的,然而对于与本申请公开的内容相关的本领域的普通技术人员而言,在本申请揭露的技术内容的基础上进行的一些设计,制造或者生产等变更只是常规的技术手段,不应当理解为本申请公开的内容不充分。Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application. For those of ordinary skill in the art, the present application can also be applied to the present application according to these drawings without any creative effort. other similar situations. In addition, it will also be appreciated that while such development efforts may be complex and lengthy, for those of ordinary skill in the art to which the present disclosure pertains, the techniques disclosed in this application Some changes in design, manufacture or production based on the content are only conventional technical means, and it should not be understood that the content disclosed in this application is not sufficient.

在本申请中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域普通技术人员显式地和隐式地理解的是,本申请所描述的实施例在不冲突的情况下,可以与其它实施例相结合。Reference in this application to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.

除非另作定义,本申请所涉及的技术术语或者科学术语应当为本申请所属技术领域内具有一般技能的人士所理解的通常意义。本申请所涉及的“一”、“一个”、“一种”、“该”等类似词语并不表示数量限制,可表示单数或复数。本申请所涉及的术语“包括”、“包含”、“具有”以及它们任何变形,意图在于覆盖不排他的包含;例如包含了一系列步骤或模块(单元)的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可以还包括没有列出的步骤或单元,或可以还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。本申请所涉及的“连接”、“相连”、“耦接”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电气的连接,不管是直接的还是间接的。本申请所涉及的“多个”是指两个或两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。本申请所涉及的术语“第一”、“第二”、“第三”等仅仅是区别类似的对象,不代表针对对象的特定排序。Unless otherwise defined, the technical or scientific terms involved in this application shall have the usual meanings understood by those with ordinary skill in the technical field to which this application belongs. Words such as "a", "an", "an", "the" and the like mentioned in this application do not denote a quantitative limitation, and may denote the singular or the plural. The terms "comprising", "comprising", "having" and any of their variants referred to in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product or process comprising a series of steps or modules (units) The apparatus is not limited to the steps or units listed, but may further include steps or units not listed, or may further include other steps or units inherent to the process, method, product or apparatus. Words like "connected," "connected," "coupled," and the like referred to in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "plurality" referred to in this application refers to two or more. "And/or" describes the association relationship between associated objects, indicating that there can be three kinds of relationships. For example, "A and/or B" can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only to distinguish similar objects, and do not represent a specific order for the objects.

下面结合附图所示的各实施方式对本发明进行详细说明,但应当说明的是,这些实施方式并非对本发明的限制,本领域普通技术人员根据这些实施方式所作的功能、方法、或者结构上的等效变换或替代,均属于本发明的保护范围之内。The present invention will be described in detail below with reference to the various embodiments shown in the accompanying drawings, but it should be noted that these embodiments do not limit the present invention. Equivalent transformations or substitutions all fall within the protection scope of the present invention.

实施例一:Example 1:

图1为本发明提供的一种基于DAO的区块链智慧社区问题解决方法的步骤示意图。如图1所示,本实施例揭示了一种基于DAO的区块链智慧社区问题解决方法(以下简称“方法”)的具体实施方式。FIG. 1 is a schematic diagram of steps of a DAO-based solution to the problem of a blockchain smart community provided by the present invention. As shown in FIG. 1 , this embodiment discloses a specific implementation of a DAO-based solution to the problem of a blockchain smart community (hereinafter referred to as the “method”).

区块链智慧社区是社区管理的一种新理念,是新形势下社会管理创新的一种新模式。区块链智慧社区是指充分利用区块链、物联网、云计算、移动互联网等新一代信息技术的集成应用,为社区居民提供一个安全、舒适、便利的现代化、智慧化生活环境,从而形成基于信息化、智能化社会管理与服务的一种新的管理形态的社区。Blockchain smart community is a new concept of community management and a new model of social management innovation under the new situation. Blockchain smart community refers to the integrated application of a new generation of information technologies such as blockchain, Internet of Things, cloud computing, and mobile Internet to provide community residents with a safe, comfortable and convenient modern and intelligent living environment, thereby forming a A community of a new management form based on informatization and intelligent social management and services.

具体而言,本实施例所揭示的方法主要包括以下步骤:Specifically, the method disclosed in this embodiment mainly includes the following steps:

步骤S1:网格长用户通过居民系统对居民提交的问题信息进行项目立项确认,建立项目后将项目基础信息发送至消息队列;Step S1: The long grid user confirms the project establishment of the problem information submitted by the residents through the resident system, and sends the basic information of the project to the message queue after the project is established;

步骤S2:通过区块链Web系统监听所述消息队列,实时获取所述项目基础信息,所述网格长用户通过将所述项目基础信息整合,并添加处理所述项目使用的Credit证明,得到项目认领信息并发布在所述区块链Web系统中;Step S2: Monitor the message queue through the blockchain Web system, and obtain the basic information of the project in real time. The project claim information is published in the blockchain web system;

其中,所述Credit证明包括CTN、CS与CTD,所述CS包括C-CS与F-CS,所述CTN、C-CS与CTD之间可进行转换。Wherein, the Credit certificate includes CTN, CS and CTD, the CS includes C-CS and F-CS, and conversion can be performed between CTN, C-CS and CTD.

步骤S3:至少一个工作部门用户根据所述项目认领信息部分认领或完全认领所述项目,并分别与所述网格长用户达成协定,如果多个工作部门用户认领了所述项目相同的部分或完全认领了所述项目,则所述网格长用户在达成协定的工作部门用户中选择一个工作部门用户处理所述项目;Step S3: At least one work department user partially or completely claims the project according to the project claim information, and reaches an agreement with the grid long user respectively, if multiple work department users claim the same part of the project or If the project is fully claimed, the grid long user selects a work department user among the agreed work department users to process the project;

其中,步骤S3包括以下内容:Wherein, step S3 includes the following content:

步骤S31:所述工作部门用户确认认领所述项目后与所述网格长用户建立协商通道,通过所述协商通道互相提交认领的项目内容和使用的CTN数量,重复提交至达成协定;Step S31: After the user of the work department confirms the claim of the project, a negotiation channel is established with the long grid user, and the contents of the claimed project and the number of CTNs used are submitted to each other through the negotiation channel, and the submission is repeated until an agreement is reached;

步骤S32:所述网格长用户在达成协定的工作部门用户中选定一个最优的工作部门用户,冻结所述网格长用户和被选定的所述工作部门用户的达成的协定中所需的CTN,被选定的所述工作部门用户处理认领的所述项目。Step S32: The grid long user selects an optimal work department user among the agreed work department users, and freezes all the work department users in the agreement reached between the grid long user and the selected work department user. The required CTN, the selected user of the work department processes the claimed item.

步骤S3还包括:Step S3 also includes:

若所述工作部门用户处理所述项目失败,经所述核查部门裁定后,所述网格长用户重新发布所述项目认领信息,重新与其他工作部门用户建立并达成协定;若失败的所述工作部门用户是所述网格长用户在多个工作部门用户中选定的,则将网格长用户的被冻结的部分CTN加入所述投票奖励中。If the user of the work department fails to process the project, after being adjudicated by the verification department, the long grid user reissues the project claim information, and re-establishes and reaches an agreement with other users of the work department; If the work department user is selected by the grid long user among multiple work department users, the frozen part of the CTN of the grid long user is added to the voting reward.

步骤S4:在所述工作部门用户将认领的所述项目处理完成后,将项目处理过程中的可公开的项目信息在所述区块链Web系统中进行公布;Step S4: After the project processing to be claimed by the user of the work department is completed, the publicly available project information in the project processing process is published in the blockchain web system;

步骤S5:所述区块链Web系统中未参与所述项目的用户对所述区块链Web系统中公布的所述项目信息进行合理度投票;Step S5: users in the blockchain web system who did not participate in the project vote on the reasonableness of the project information published in the blockchain web system;

其中,步骤S5包括以下内容:Wherein, step S5 includes the following content:

步骤S51:根据参与投票的用户所拥有的CS总量计算投票结果,将所述投票结果与合理标准进行比对;Step S51: Calculate the voting result according to the total amount of CS owned by the users participating in the voting, and compare the voting result with a reasonable standard;

步骤S52:若比对结果为合理,则结束所述项目;若比对结果为不合理,则核查部门对所述投票结果进行审查后结束所述项目。Step S52 : if the comparison result is reasonable, the project is ended; if the comparison result is unreasonable, the verification department checks the voting result and ends the project.

具体而言,步骤S52包括以下内容:若比对结果为不合理,则所述核查部门对所述项目进行审查,若审查结果为合理,则将所述比对结果修正为合理,若审查结果为不合理,则扣除所述工作部门用户和所述网格长用户被冻结的部分CTN作为投票奖励。Specifically, step S52 includes the following content: if the comparison result is unreasonable, the verification department will review the item; if the review result is reasonable, the comparison result will be revised to be reasonable; If it is unreasonable, the frozen part of the CTN of the working department user and the grid long user will be deducted as a voting reward.

步骤S6:所述项目结束后按照达成的所述协定进行Credit证明的发放。Step S6: After the project ends, issue the Credit certificate according to the agreement reached.

其中,步骤S6包括以下内容:Wherein, step S6 includes the following content:

步骤S61:按照用户拥有的CS总量将所述投票奖励发放给投票选择与审查结果一致的参与投票的用户;Step S61: according to the total amount of CS owned by the user, the voting reward is distributed to the voting users who have voted and selected consistent with the review result;

步骤S62:所述网格长用户按照达成的所述协定将冻结的CTN发放至所述工作部门用户;Step S62: the long grid user distributes the frozen CTN to the user of the work department according to the agreement reached;

具体而言,步骤S62还包括:Specifically, step S62 further includes:

步骤S621:若所述网格长用户未按达成的所述协定发放CTN给所述工作部门用户,则所述工作部门用户向所述核查部门提交质疑申请与质疑的CTN数量;Step S621: If the long grid user fails to issue the CTN to the user in the work department according to the agreement reached, the user in the work department submits a challenge application and the number of CTNs challenged to the verification department;

步骤S622:所述核查部门接受所述质疑申请后,冻结所述网格长用户和所述工作部门用户的质疑数量的CTN,所述核查部门根据所述网格长用户和所述工作部门用户达成的所述协定、所述投票结果与CTN发放记录进行验证,得到最终质疑结果;Step S622: After accepting the challenge application, the verification department freezes the CTNs of the number of queries of the grid long user and the work department user. The agreement reached, the voting result and the CTN issuance record are verified to obtain the final challenge result;

步骤S623:将最终质疑结果的过错方被冻结的质疑数量的CTN发放给最终质疑结果的正确方。Step S623: Issue the CTN of the number of challenges that the wrong party of the final challenge result is frozen to the correct party of the final challenge result.

步骤S63:根据所述项目使用的CTN数量向所述工作部门用户与所述网格长用户发放F-CS。Step S63: Issue F-CS to the user of the work department and the long grid user according to the number of CTNs used by the project.

具体而言,步骤S63包括:Specifically, step S63 includes:

若协定的CTN数量全部用完,则为所述工作部门用户发放与协定的CTN数量等额的F-CS;If the agreed number of CTNs is used up, F-CS equal to the agreed number of CTNs will be issued to the users of the work sector;

若协定的CTN数量未全部使用,则在为所述工作部门用户发放与协定的CTN数量等额的F-CS的基础上,根据未使用的CTN数量增加部分F-CS发放给所述工作部门用户。If the agreed number of CTNs is not fully used, on the basis of issuing F-CS equal to the agreed number of CTNs to the users of the work department, an additional part of the F-CS is issued to the users of the work department according to the number of unused CTNs .

以下,请参照图2,图2为本发明提供的一种基于DAO的区块链智慧社区问题解决方法的时序图,结合图2,具体说明本方法的应用流程如下:Below, please refer to FIG. 2, which is a sequence diagram of a DAO-based solution to the problem of a blockchain smart community provided by the present invention. In conjunction with FIG. 2, the application process of the method is specifically described as follows:

如图3所示,基于DAO的区块链智慧社区问题处理系统由S101-S110用户模块、S200区块链Web系统界面模块、S300区块链Web系统模块、S400消息队列模块、S500居民系统模块组成,S110用户将S101问题信息,S102评价信息利用S500居民系统模块通过S400消息队列模块发送到S300区块链Web系统模块;S110用户将S103问题处理操作执行结果和执行过程产生的数据通过S200区块链Web系统界面模块分类后存储至S300区块链Web系统模块;S110用户可以通过S200区块链Web系统界面模块访问S300区块链Web系统模块查询数据:As shown in Figure 3, the DAO-based blockchain smart community problem processing system consists of S101-S110 user modules, S200 blockchain web system interface modules, S300 blockchain web system modules, S400 message queue modules, and S500 resident system modules The S110 user sends the S101 problem information and S102 evaluation information to the S300 blockchain web system module through the S500 resident system module through the S400 message queue module; the S110 user sends the S103 problem processing operation execution result and the data generated by the execution process through the S200 area The block chain web system interface module is classified and stored in the S300 block chain web system module; S110 users can access the S300 block chain web system module through the S200 block chain web system interface module to query data:

本方法具体实现步骤如图4所示:The specific implementation steps of this method are shown in Figure 4:

S1:终端连接S500居民系统,通过登录接口验证(首次登录进行用户注册)用户身份信息,验证通过后填写问题基础信息,由网格长用户通过S500居民系统对新创建的问题信息进行立项确认,确认立项后将项目基础信息(Project)发送至消息队列。S1: The terminal is connected to the S500 resident system, and the user identity information is verified through the login interface (user registration is performed for the first time). After the verification is passed, the basic problem information is filled in. The long grid user will confirm the newly created problem information through the S500 resident system. After the project is confirmed, the project basic information (Project) is sent to the message queue.

具体地,在步骤S1中:Specifically, in step S1:

所述终端设备包括手机、平板、PC端、笔记本等,连接S500居民系统的方式有支付宝小程序、微信小程序、APP、网页等。The terminal devices include mobile phones, tablets, PC terminals, notebooks, etc., and the ways to connect to the S500 resident system include Alipay applet, WeChat applet, APP, web page, and the like.

所述登录接口由用户通过居民系统“账号-密码”验证后调用,从链下数据库查询登录账号,若查询为空,则调用用户注册智能合约对本次登录输入的“账号-密码”进行注册,若查询存在,则从区块链上查询本次登录输入账号的所对应的密码,并与本次登录输入的密码进行对比,若一致则返回登录成功。The login interface is called by the user after verifying the "account-password" of the resident system, and the login account number is queried from the off-chain database. If the query is empty, the user registration smart contract is called to register the "account-password" input for this login. , if the query exists, query the password corresponding to the account entered in this login from the blockchain, and compare it with the password entered in this login. If it is consistent, the login is successful.

上述调用用户注册智能合约对本次登录输入的“账号-密码”进行注册是将本次登录所输入的“账号-密码”加密上链,并将本次登录输入账号写入链下数据库的User表中,并加密上链存储,User表设计如图5中的链下注册用户数据库以及表1所示:The above-mentioned invoking the user registration smart contract to register the "account-password" entered in this login is to encrypt the "account-password" entered in this login on the chain, and write the account entered for this login into the User of the off-chain database. In the table, and encrypted and stored on the chain, the User table is designed as shown in the off-chain registered user database in Figure 5 and Table 1:

Figure BDA0003613681540000071
Figure BDA0003613681540000071

表1Table 1

所述项目基础信息(Project)是用于记录项目各项基础信息的对象,Project预定义的主要字段及其记录内容如表2所示:The project basic information (Project) is an object for recording the basic information of the project, and the main fields predefined by the Project and the record content thereof are shown in Table 2:

字段名称Field NameprojectIdprojectIdstatusstatuscloseStatuscloseStatuscreatedTimecreatedTimecreatedBycreatedBy记录内容record content项目IDProject ID项目状态project status结案状态Case closed创建时间creation time创建者IDCreator ID

表2Table 2

S2:终端连接S500居民系统将生成的登录信息(LoginBC)、项目基础信息(Project)写入S400消息队列rocketMQ,并定义不同的tags值对应登录操作和发送项目基础信息操作。S2: The terminal is connected to the S500 resident system, and the generated login information (LoginBC) and the basic project information (Project) are written into the S400 message queue rocketMQ, and different tags values are defined to correspond to the login operation and the operation of sending basic project information.

具体地,在步骤S2中:Specifically, in step S2:

所述登录信息为居民系统用户id(userid)和登录状态(status)。The login information is a resident system user id (userid) and a login status (status).

所述rocketMQ是一种开源的分布式消息中间件,支持事务消息、顺序消息、定时消息、批量消息、消息回溯等。具体地,消息发送者(Producer)向队列(Topic)轮流发送消息,消息接收者(Consumer)严格按消息顺序接收消费Topic内消息。The rocketMQ is an open source distributed message middleware, which supports transaction messages, sequential messages, timing messages, batch messages, message backtracking, etc. Specifically, the message sender (Producer) sends messages to the queue (Topic) in turn, and the message receiver (Consumer) receives and consumes messages in the topic strictly in the order of the messages.

所述不同tags值与其对应的区块链操作包括:“send_login”:区块链进行登录操作;“send_project”:区块链进行创建Project信息操作。The different tag values and their corresponding blockchain operations include: "send_login": the blockchain performs the login operation; "send_project": the blockchain performs the operation of creating Project information.

S3:S300区块链Web系统监听S400消息队列,实时获取消息,系统自动验证登录信息;项目信息由网格长用户通过S200区块链Web系统界面模块发布在S300区块链Web系统中,项目发布后区块链Web系统中其他各工作部门用户对项目信息进行分析,选择部分或完全认领此项目问题。进行认领的各工作部门用户分别与网格长用户建立协定联系。网格长用户在达成协定的工作部门中选择最优部门进行工作。S3: The S300 blockchain web system monitors the S400 message queue, obtains messages in real time, and the system automatically verifies the login information; the project information is published in the S300 blockchain web system by the grid long user through the S200 blockchain web system interface module. After the release, users of other work departments in the blockchain web system analyze the project information, and choose to partially or fully claim the project issues. The users of each work department who make the claim establish a contractual relationship with the long grid user respectively. The grid long user selects the optimal department to work in the agreed work department.

具体地,在步骤S3中:Specifically, in step S3:

所述网格长用户在S300区块链Web系统中发布项目信息是指网格长用户登录S300区块链Web系统将来自S500居民系统的项目信息进行整合,添加处理本项目使用的CTN数量,发布在S300区块链Web系统中。The long grid user publishing project information in the S300 blockchain web system means that the grid long user logs in the S300 blockchain web system to integrate the project information from the S500 resident system, and adds the number of CTNs used for processing this project. Published in the S300 blockchain web system.

在本实施例中,Credit证明为本方法中衡量各用户参与度的凭证,Credit证明设有三种,如表3所示,分别为:CTN、CS、CTD;三种Credit证明预期转换关系如图6所示,In this embodiment, the credit certificate is the credential for measuring the participation of each user in this method. There are three types of credit certificates, as shown in Table 3, namely: CTN, CS, and CTD; the expected conversion relationships of the three types of credit certificates are shown in the figure 6 as shown,

Figure BDA0003613681540000081
Figure BDA0003613681540000081

表3table 3

上述CTN用于本方法流程中协定制定、协定达成,可以在区块链Web系统用户之间直接交换,本方法中的投票奖励以CTN的形式发放,CTN可实时转换为C-CS和CTD,区块链Web系统用户初始的CTN数量在注册时按政府对各部门的实际拨款发放。The above CTN is used for agreement formulation and agreement in the process of this method, and can be directly exchanged between users of the blockchain web system. The voting reward in this method is issued in the form of CTN, and CTN can be converted into C-CS and CTD in real time. The initial number of CTNs for users of the blockchain web system is issued according to the actual government allocation to various departments at the time of registration.

上述CS作为区块链Web系统各用户在本方法中的权限证明,本方法按用户持有的CS总量实时更新用户的权限等级,C-CS可以由CTN和CTD转化获得,F-CS只能由用户参与问题处理活动获取。用户初始的CS数量为0。The above CS is used as the proof of authority of each user of the blockchain web system in this method. This method updates the user's authority level in real time according to the total amount of CS held by the user. C-CS can be converted from CTN and CTD, and F-CS is only Can be obtained by users participating in problem-handling activities. The user's initial CS number is 0.

上述CTD用于用户处理问题时申请政府经费使用,CTD可由CTN转化获得,用户初始的CTD为0。The above CTD is used by users to apply for government funds when dealing with problems. CTD can be obtained by transforming CTN, and the user's initial CTD is 0.

上述网格长用户登录S300区块链Web系统需要验证登录密钥。The above-mentioned long grid users need to verify the login key when logging in to the S300 blockchain web system.

上述登录S300区块链Web系统通过S200区块链Web系统界面进行操作,概念图如图7所示,S202-S206为用户对界面状态的概览,S210-S226为系统操作菜单,S240-S246为系统操作反馈数据。The above login to the S300 blockchain web system is operated through the S200 blockchain web system interface. The conceptual diagram is shown in Figure 7. S202-S206 is the user's overview of the interface status, S210-S226 is the system operation menu, and S240-S246 is the System operation feedback data.

上述S202为界面状态更新模块,在系统数据反馈异常时使用;S204为用户、简要数据展示模块,实时展示出当前登录用户信息与当前查询浏览操作数据简略信息,S206为用户登录/登出模块,也可用于用户切换其他用户身份。The above-mentioned S202 is an interface state update module, which is used when the system data feedback is abnormal; S204 is a user and brief data display module, which displays the current login user information and the current query browsing operation data brief information in real time, and S206 is a user login/logout module, It can also be used for users to switch other user identities.

上述S210-S226为用户登陆系统后进行项目公布、惩罚、协定建立、Credit发放、Credit转换、质疑发起、投票、密码重置、经费兑现等活动模块。各项活动的详细展示数据如S240-S246所示。The above S210-S226 are activity modules such as project announcement, punishment, agreement establishment, Credit distribution, Credit conversion, challenge initiation, voting, password reset, and fund cashing after users log in to the system. The detailed display data of each activity is shown in S240-S246.

上述登录密钥为用于登录操作的密码,本方法中不同的操作活动需要用不同的密码来进行验证,每个用户拥有5个密钥密码,密码及密码权限设置如图8所示,密码名称及含义如The above login key is the password used for the login operation. Different operation activities in this method need to be verified with different passwords. Each user has 5 key passwords. The password and password permission settings are shown in Figure 8. The password name and meaning

表4所示,分别为:As shown in Table 4, they are:

密码名称password nameMaster PasswordMaster PasswordSignin KeySignin KeyRemark KeyRemark KeyActive KeyActive KeyOwner KeyOwner Key密码含义Password meaning主密码master password登录密码login password备注密码Note password活动密码Active password个人密码personal password

表4Table 4

上述主密码(Master Password)可用于用户更新重置主密码,也可用于一次性更新全部其他密码,也可进行用户登录活动(不建议作为经常登录密码使用)。The above-mentioned master password can be used to update and reset the master password of the user, and can also be used to update all other passwords at one time, and can also be used for user login activities (it is not recommended to use it as a frequent login password).

上述登录密码(Signin Key)可以用于登录S300区块链Web系统使用,登录后用户可以进行基本操作,如:项目查询、项目投票、发布项目、建立协定等。The above login password (Signin Key) can be used to log in to the S300 blockchain web system. After login, the user can perform basic operations, such as: project inquiry, project voting, project publishing, and agreement establishment.

上述备注密码(Remark Key)用于在冻结、更新用户Credit证明使生成临时的备注验证信息。The above remark password (Remark Key) is used to generate temporary remark verification information when freezing and updating the user's Credit certificate.

上述活动密码(Active Key)用于在冻结、更新用户Credit证明使验证用户身份,用户对已拥有的Credit证明进行转换使需要使用Active Key进行验证,Active Key也可进行用户登录活动(不建议作为经常登录密码使用)。The above active password (Active Key) is used to freeze and update the user's credit certificate to verify the user's identity. The user needs to use the Active Key to verify the existing Credit certificate. Active Key can also be used for user login activities (not recommended as a Often login passwords are used).

上述个人密码(Owner Key)用于单独修改除主密码外的其他密码和发起质疑活动,Owner Key也可进行用户登录活动(不建议作为经常登录密码使用)。The above personal password (Owner Key) is used to independently modify other passwords except the master password and initiate challenge activities. The Owner Key can also be used for user login activities (it is not recommended to be used as a frequent login password).

上述密码权限高度为Master Password>Owner Key>Active Key>Signin Key、Remark Key。The above password permissions are Master Password>Owner Key>Active Key>Signin Key, Remark Key.

上述本项目使用的CTN,绝大部分作为工作部门认领任务后工作经费,少部分作为此次处理任务的手续费用。Most of the CTNs used in the above project are used as work expenses after the work department claims the task, and a small part is used as the handling fee for this task.

上述手续费用的设置为满足两部分的需求,分别为居民用户奖励和投票用户奖励。The above fees are set to meet the needs of two parts, namely, resident user rewards and voting user rewards.

上述发布项目基础信息(Project)为网格长用户将项目描述等信息中的大文件数据(例如:图片、文档)存储在IPFS中,将在IPFS中存储项目文件反馈的文本信息与Project的文本信息绑定序列化,存储发布到区块链Web系统的主链中;其中,上述IPFS是一种全新的超媒体文本传输协议,基于分布式存储技术,可提供较大的数据存储能力,本方法的大型文件数据全部利用IPFS进行存储。The above-mentioned basic project information (Project) is for grid long users to store the large file data (such as pictures, documents) in the project description and other information in IPFS, and the text information of the project file feedback and the text of the Project will be stored in IPFS. The information is bound and serialized, stored and published in the main chain of the blockchain web system; among them, the above IPFS is a new hypermedia text transmission protocol, based on distributed storage technology, which can provide greater data storage capacity. The large file data of the method is all stored using IPFS.

上述各用户认领发布的问题是指S300区块链Web系统中各个用户分析发布的项目信息与本部门的职能是否匹配,分析完成后与发布本项目的网格长建立协定对本项目部分或全部认领。由网格长用户进行最优工作部门的选择。The above-mentioned problem of user's claim and release refers to whether the project information analyzed and released by each user in the S300 blockchain web system matches the function of the department. After the analysis is completed, an agreement is established with the grid leader who released the project to claim part or all of the project. . The selection of the optimal work sector is made by the grid-length user.

上述建立协定是指工作部门确认认领任务后与任务发布者(即网格长)建立协商通道,互相提交认领的部分或全部任务内容和使用的CTN数量,重复提交至达成一致,将协商的过程以及结果存储在区块链Web系统的侧链中,最终在区块链主链中进行结算。若网格长与不同的工作部门就相同的认领任务达成一致,由网格长进行最优部门选择(若选择失败,网格长用户会受到一定的惩罚),选定后,系统自动冻结网格长用户和被选定工作部门用户的CTN,被选择部门开始处理认领的任务。The above establishment agreement means that the work department establishes a negotiation channel with the task issuer (that is, the grid leader) after confirming the claimed task, and submits part or all of the claimed task content and the number of CTNs used to each other, and submits it repeatedly until an agreement is reached, and the negotiation process is completed. And the results are stored in the side chain of the blockchain web system, and finally settled in the blockchain main chain. If the grid length and different work departments reach an agreement on the same claim task, the grid length will select the optimal department (if the selection fails, the grid length user will be punished to a certain extent). After the selection, the system will automatically freeze the network. The CTN of the user in the cell length and the user of the selected work department, and the selected department starts to process the claimed task.

上述系统自动冻结的CTN数量为网格长用户和被选定工作部门用户达成的最终协定中的任务所需CTN数量,若任务未正常完成,则将被选定工作部门用户的被冻结的CTN加入到重新发布任务的CTN中。The number of CTNs automatically frozen by the above system is the number of CTNs required for the task in the final agreement reached between the grid long user and the user in the selected work department. If the task is not completed normally, the frozen CTN of the user in the selected work department will be used. Added to the CTN of the repost task.

上述问题处理工作执行Credit证明转化、冻结、发放和问题认领等步骤的过程中产生的数据由区块链Web系统侧链进行存储。The data generated in the process of performing the steps of credit proof conversion, freezing, issuance, and problem claiming in the above problem handling work are stored by the side chain of the blockchain web system.

S4:工作进行中若调用了外部资源,费用由调用工作部门用户在系统中发起支付请求,通过系统支付。工作部门用户处理认领的工作时若实际进度与达成协定中的预期有误或未按时完成工作,网格长用户可以发起任务重新发布裁定申请,核查部门裁定后,对工作失误部门进行惩罚并重新发布认领的任务信息。S4: If an external resource is called during the work, the user of the calling department initiates a payment request in the system and pays through the system. If the actual progress is wrong with the expectations in the agreement or the work is not completed on time when the user of the work department is processing the claimed work, the grid leader user can initiate a task to re-issue the application for ruling. Publish the claimed task information.

具体地,在步骤S4中:Specifically, in step S4:

上述外部资源为属非政府资源的社会机构,如:家政公司、建筑公司等。The above-mentioned external resources are social institutions that are non-governmental resources, such as: housekeeping companies, construction companies, etc.

上述调用外部资源的费用通过系统支付为工作部门向S300区块链Web系统提交支付请求,通过S300区块链Web系统进行费用支付,根据工作部门与外部资源协定规则选择支付方式。The above-mentioned fees for calling external resources are paid by the system for the work department to submit a payment request to the S300 blockchain web system, and the fee is paid through the S300 blockchain web system, and the payment method is selected according to the agreement rules between the work department and external resources.

上述通过S300区块链Web系统进行费用支付为工作部门向系统发送付款请求,需要填写外部资源收款账户、收款金额和详细的支付方式。工作部门还需将在工作中与外部资源签订的合同文件等材料上传至IPFS存储后利用区块链进行存证;The above-mentioned fee payment through the S300 blockchain web system means that the work department sends a payment request to the system, and needs to fill in the external resource collection account, the payment amount and the detailed payment method. The work department also needs to upload the contract documents and other materials signed with external resources at work to IPFS for storage and then use the blockchain for storage;

上述选择支付方式是综合外部资源的质保期、信誉度等因素,在支付费用时,选择一次性结清或分阶段支付等不同方式。The choice of payment method above is based on factors such as the warranty period and creditworthiness of external resources. When paying fees, different methods such as one-time settlement or staged payment are selected.

所述网格长发起任务重新发布裁定申请是在工作部门处理认领任务失败时,网格长经过裁定后重新发布任务,重新与其他部门进行建立并达成协定,进行任务处理。若此次失败的工作部门是由网格长用户在不同部门中进行选定的部门,则网格长用户会因选择失败受到惩罚。The grid leader initiates a task re-issuing adjudication application. When the work department fails to process the claim task, the grid leader re-issues the task after adjudication, and re-establishes and reaches an agreement with other departments to process the task. If the job department that fails this time is a department selected by the grid long user among different departments, the grid long user will be punished for failing to select.

上述网格长用户受到惩罚是未正确选择处理任务的最优部门。会将网格长被冻结的部分CTN加入到此次项目处理的投票奖励中。The above grid-long users are penalized for not correctly choosing the optimal sector to handle the task. Some CTNs whose grid lengths are frozen will be added to the voting rewards for this project.

S5:各工作部门将认领的任务处理完成后,由居民通过S500居民系统提供此次项目处理的评价意见供网格长办结参考。网格长根据居民评价意见进行任务办结,并将处理过程的可公开的信息进行发布。S5: After each work department has completed the processing of the claimed tasks, the residents will provide the evaluation opinions of the project processing through the S500 resident system for the grid leader to complete the reference. The grid leader completes the task according to the residents' evaluation opinions, and publishes the publicly available information of the processing process.

具体地,在步骤S5中:Specifically, in step S5:

所述居民提供评价意见为在本项目全部处理结束后,结合实际处理情况,通过S500居民系统向网格长用户提交任务处理完成情况和完成度评价。The evaluation opinions provided by the residents are to submit the task processing completion status and completion degree evaluation to the grid long users through the S500 Resident System after all the processing of the project is completed and in light of the actual processing conditions.

网格长用户办结项目是指网格长用户收到居民用户的项目完成评价后,将此次项目作办结处理(办结信息的文件数据利用IPFS进行存储),网格长用户将此次项目处理的可公开信息在S300区块链Web系统中进行公布(包括项目内容认领结构、认领使用CTN等信息),并进入项目投票阶段。The long grid user to complete the project means that the long grid user will complete the project after receiving the project completion evaluation from the resident user (the file data of the settlement information is stored by IPFS). The publicly available information processed by the sub-project will be announced in the S300 blockchain web system (including the project content claim structure, claim and use of CTN and other information), and enter the project voting stage.

S6:网络中未参与问题的用户对公开的信息进行合理度投票,若投票结果为不合理,则开始质疑环节,并由核查部门进行裁决。项目结束后,网格长用户按照事先达成的协定进行Credit证明的发放。S6: Users in the network who did not participate in the question vote on the reasonableness of the public information. If the voting result is unreasonable, the questioning session will begin, and the verification department will make a ruling. After the end of the project, the long grid users will issue the Credit certificate according to the agreement reached in advance.

具体地,在步骤S6中:Specifically, in step S6:

所述项目投票阶段为S300区块链Web系统中未参与问题的用户对网格长用户发布的项目公开信息进行合理度评定并投票,在投票截止日期后的投票不计入结果,将最终结果与合理标准进行对比。若结果为不合理则触发投票质疑机制,核查部门进行裁决后结束此项目;若为合理则此项目结束。项目结束后,网格长用户按照事先达成的协定进行Credit证明的发放。In the project voting stage, users who did not participate in the issue in the S300 blockchain web system evaluate and vote on the reasonableness of the project public information released by grid long users. The votes after the voting deadline will not be included in the results, and the final results Compare with reasonable standards. If the result is unreasonable, the voting challenge mechanism will be triggered, and the verification department will end the project after making a ruling; if it is reasonable, the project will end. After the end of the project, the long grid users will issue the Credit certificate according to the agreement reached in advance.

上述最终结果计算时,按照区块链Web系统用户所拥有的CS总量为用户赋予不同的投票系数计入总结果。When calculating the final result above, according to the total amount of CS owned by the users of the blockchain web system, different voting coefficients are assigned to the users and included in the total result.

上述投票质疑机制为核查部门对投票结果为不合理的项目进行审查、裁决,若审查为合理,则投票结果修正为合理;若审查结果为不合理,则核查部门将扣除部分此项目工作部门和网格长被冻结的CTN作为此次投票奖励。The above voting challenge mechanism is for the verification department to review and adjudicate the project whose voting result is unreasonable. If the review is reasonable, the voting result will be revised to be reasonable; if the review result is unreasonable, the verification department will deduct part of the project work department and The CTN whose grid length is frozen will be rewarded for this vote.

上述投票奖励为将CTN发放给投票选择与最终合理结果一致的区块链Web系统用户,CTN发放时按照用户拥有的CS总量发放,若用户参与投票活动且投票结果经常错误,投票选择错误次数大于系统设定的阈值将会受到扣除CTN的惩罚。The above voting reward is to distribute CTN to the users of the blockchain web system who have the same final and reasonable voting results. CTN is issued according to the total amount of CS owned by the user. If the user participates in the voting activities and the voting results are often wrong, the number of wrong voting selections will be made. Anything larger than the threshold set by the system will be penalized by deducting CTN.

上述系统进行Credit证明的发放是在项目结束后,按照协定将现有工作部门用户冻结的CTN和网格长用户冻结的CTN一起重新加入到工作部门用户的CTN中,并为工作部门发放完成任务协定中CTN数量等额的F-CS。为网格长用户增加此次项目使用CTN等额的F-CS,并为网格长用户增加额外的F-CS作为奖励,奖励的F-CS数量按此项目使用的CTN数量而定。提交问题并进行评价的居民在完整参与本项目后,可获得S500居民系统内的F-CS,获取的F-CS可以用于社区生活缴费的减免。The issuance of the Credit certificate by the above system is to re-add the CTN frozen by the existing work department users and the CTN frozen by the grid long user to the CTN of the work department user according to the agreement after the project ends, and issue the completed tasks for the work department. F-CS equal to the number of CTNs in the agreement. For the long grid users, the project will use the same amount of CTN F-CS, and add additional F-CS as a reward for the long grid users. The number of F-CS rewarded is determined by the number of CTNs used in this project. Residents who submit questions and make evaluations can obtain F-CS in the S500 resident system after fully participating in the project, and the obtained F-CS can be used to reduce or exempt community living fees.

上述对居民进行社区生活缴费减免的费用由本次网格长用户立项所提供的部分手续费提供。The above-mentioned fee reduction and exemption for residents' community living payment is provided by part of the handling fee provided by this grid long user project.

上述为工作部门发放F-CS时,若协定CTN数量全部用完,则为工作部门发放等额的F-CS,若工作完成后协定CTN数量未全部使用,则将工作中使用的CTN转化为等额的F-CS,把未使用的CTN转化为等额的F-CS并根据未使用的CTN数量给与部分F-CS作为奖励。When the above-mentioned F-CS is issued for the work department, if the agreed number of CTNs is used up, the same amount of F-CS will be issued to the work department. For the F-CS, the unused CTN is converted into an equal amount of F-CS and part of the F-CS is given as a reward according to the number of unused CTNs.

上述冻结CTN加入到工作部门的CTN的过程中,工作部门用户需要自己向系统提交CTN恢复请求,网格长用户向系统提交CTN发放请求。具体而言,项目结束后,网格长用户按照协定发放CTN至工作部门用户,并且获取工作部门用户节省未使用的CTN;工作部门用户通过将CTN转化为CTD支付外部资源经费;In the process of adding the frozen CTN to the CTN of the work department, the user of the work department needs to submit a CTN recovery request to the system, and the long grid user submits a CTN issuance request to the system. Specifically, after the end of the project, the long grid users will issue CTNs to the users of the work department according to the agreement, and obtain the users of the work department to save the unused CTN; the users of the work department will pay for external resources by converting the CTNs into CTDs;

若网格长用户发放的CTN数量与先前达成协定的CTN数量不同,工作部门可以提起协定质疑。If the number of CTNs issued by the long grid users is different from the number of CTNs previously agreed upon, the working department can challenge the agreement.

上述协定质疑为在工作结束并且经投票机制后,网格长用户未按原来达成的协定进行CTN发放,工作部门向核查部门提交质疑申请和质疑的CTN数量。核查部门接受申请后,系统自动冻结网格长用户和工作部门用户的质疑数量的CTN,核查部门根据网格长用户和工作部门用户提供的最新协定记录综合投票机制结果与发放记录进行验证,并对验证结果的过错方进行惩罚。(此处协定质疑涉及的两方可提供协定记录之外的证明,文本数据可直接提供上链,文件数据利用IPFS进行存储并将存储反馈提供上链)。The question of the above agreement is that after the end of the work and the voting mechanism, the long grid users did not issue CTNs according to the original agreement, and the working department submitted the application for questioning and the number of CTNs questioned to the verification department. After the verification department accepts the application, the system automatically freezes the number of CTNs questioned by the grid long user and the work department user. Penalize the wrong party of the verification result. (The two parties involved in the agreement questioning here can provide proofs other than the agreement records, text data can be directly provided on the chain, and file data can be stored using IPFS and the storage feedback can be provided on the chain).

上述对过错方进行惩罚为将进入质疑环节冻结的过错方CTN作为奖励发放给最终质疑结果的正确方。The above-mentioned punishment for the faulty party is to issue the CTN of the faulty party who has entered the questioning link to be frozen as a reward to the correct party with the final questioning result.

具体地,在本实施例中:Specifically, in this embodiment:

向区块链中执行的写入类操作在写入数据前要对数据进行分析,将首次保存字段进行编码保存,然后执行写入类操作。Before writing data, the write operation to the blockchain needs to analyze the data, encode and save the first save field, and then perform the write operation.

上述区块链写入类操作包括:项目公布、协定建立、Credit发放、Credit更新、质疑记录、投票合约、密码重置。The above blockchain writing operations include: project announcement, agreement establishment, Credit issuance, Credit update, challenge record, voting contract, and password reset.

上述分析判断是否包含新字段,编码保存新字段是通过调用新增字段编码智能合约,遍历查询已保存的字段列表中是否有输入的字段名称,如果没有,将输入字段进行编码并保存至链下数据库的FieldCode表与区块链中。编码规则为字段类型编号(01:int;02:string;03:bool;04:float;05:double;06:time)与字段序号(“已有字段数量+1”)拼接生成。The above analysis judges whether new fields are included, and the encoding and saving of new fields is done by calling the new field encoding smart contract, traversing and querying whether there is an input field name in the saved field list, if not, encoding the input field and saving it to the off-chain The FieldCode table of the database is in the blockchain. The encoding rule is generated by concatenating the field type number (01: int; 02: string; 03: bool; 04: float; 05: double; 06: time) and the field serial number ("Number of existing fields + 1").

区块链将接收到的消息内容上链编码操作是指将收到的JSON格式的消息内容进行解析,获取到解析后每一个字段名称对应的编码,将所有的字段名称对应的编码与字段名称对应的值进行拼接得到用于上链记录数据信息的字符串。将获得的字符串进行上链存储。The operation of the blockchain to upload the received message content to the chain means to parse the received message content in JSON format, obtain the code corresponding to each field name after parsing, and combine the codes corresponding to all field names with the field names. The corresponding values are spliced to obtain a string for recording data information on the chain. Store the obtained string on the chain.

上述对上链消息建立查询索引后存储到链下数据库是指在执行过数据信息上链存储的操作后,将该数据的对象名称与每一个字段的字段键值分别拼接,并与本次操作所存储的区块链保存键一起存储到链下数据库的对象数据表中。The above-mentioned establishment of a query index for on-chain messages and storage in the off-chain database means that after performing the operation of data information on-chain storage, the object name of the data and the field key value of each field are spliced separately, and combined with this operation The stored blockchain save key is stored together into the object data table of the off-chain database.

上述FieldCode表和查询对象表设计如图5与表5所示:The design of the above FieldCode table and query object table is shown in Figure 5 and Table 5:

Figure BDA0003613681540000121
Figure BDA0003613681540000121

表5table 5

在查询项目、查询公开信息、查询工作完成信息、查询用户Credit证明数量等操作的时候需要进行区块链查询操作,所述区块链查询操作是获取符合查询条件的信息所保存的区块链保存键,利用保存键获取区块链上保存的信息后对信息进行解码验证,并返回符合查询条件的信息列表。主要流程如图9所示,主要流程时序图如图10所示,具体步骤如下:When querying projects, querying public information, querying work completion information, querying the number of user credit certificates, etc., a blockchain query operation is required. The blockchain query operation is to obtain the information that meets the query conditions and save the blockchain. Save key, use the save key to obtain the information saved on the blockchain, decode and verify the information, and return a list of information that meets the query conditions. The main process is shown in Figure 9, and the main process sequence diagram is shown in Figure 10. The specific steps are as follows:

Step1:上述获取符合查询条件的区块链保存键过程为:将查询对象与查询条件(查询字段名称、查询字段值)进行拼接获得查询关键字,通过获得的查询关键字在链下数据库中对应的查询对象表中进行检索,获取查询关键字所对应的区块链保存键。Step1: The above process of obtaining the blockchain storage key that meets the query conditions is as follows: splicing the query object and the query conditions (query field name, query field value) to obtain the query keyword, and the obtained query keyword corresponds to the off-chain database Search in the query object table of the query object table to obtain the blockchain storage key corresponding to the query keyword.

Step2:获得区块链保存键后利用数据查询智能合约读取对应区块保存的上链编码信息。Step2: After obtaining the blockchain storage key, use the data query smart contract to read the on-chain coding information stored in the corresponding block.

Step3:将获得区块信息进行解码操作,解码操作的具体步骤为:Step3: Perform decoding operation on the obtained block information. The specific steps of decoding operation are:

(1)获取区块保存的上链编码信息后对获取的信息进行切割,得到本条上链信息所包含的每一个字段的字段编码与对应字段值的键值对。(1) After obtaining the on-chain coding information stored in the block, cut the obtained information, and obtain the key-value pair of the field code and the corresponding field value of each field contained in the on-chain information.

(2)通过每个字段的字段编码获取相对应的字段名称,将字段名称与对应字段值组合成K-V键值对。(2) Obtain the corresponding field name through the field code of each field, and combine the field name and the corresponding field value into a K-V key-value pair.

(3)将验证通过的信息新组合成的所有K-V键值对拼接,并序列化为JSON格式。将从不同区块链保存键中获取的全部JSON格式的信息添加至符合查询条件的信息列表中,最后返回此信息列表。(3) Splicing all K-V key-value pairs newly assembled from the verified information, and serializing them into JSON format. Add all JSON-formatted information obtained from different blockchain storage keys to the list of information that meets the query conditions, and finally return this information list.

Step4:将查询字段名称所对应的K-V键值对的字段值与查询字段值进行对比验证,若一致则验证通过。若不一致则验证失败,返回错误。Step4: Compare and verify the field value of the K-V key-value pair corresponding to the query field name with the query field value. If they are consistent, the verification is passed. If it is inconsistent, the verification fails and an error is returned.

本发明提出的基于区块链的智慧社区问题处理方法在可以实现社区问题处理流程数据安全、可靠存储的同时,还可以提升系统的灵活性和外部可交互性。The blockchain-based smart community problem processing method proposed by the present invention can improve the flexibility and external interactivity of the system while realizing the safe and reliable storage of the community problem processing process data.

以下,结合实施例进一步详细说明本发明提出的基于DAO的区块链智慧社区问题解决方法。Hereinafter, the method for solving the DAO-based blockchain smart community problem proposed by the present invention will be further described in detail with reference to the embodiments.

下面以第一社区环境治理问题为例,介绍本系统的问题处理的流程,流程如图11所示,主要步骤如下:The following takes the first community environmental governance problem as an example to introduce the problem handling process of this system. The process is shown in Figure 11. The main steps are as follows:

Step1:第一社区居民用户登录居民系统,将社区内环境问题进行上传,供第一社区网格长用户查看。Step1: Resident users of the first community log in to the resident system, and upload the environmental problems in the community for viewing by the long-term users of the first community grid.

Step2:第一社区网格长用户登录居民系统,查看第一社区居民用户提报的环境问题,对环境问题进行分析后批准此环境问题立项处理。Step 2: The long user of the first community grid logs in to the resident system, checks the environmental problems reported by the residents of the first community, analyzes the environmental problems, and approves the project approval of this environmental problem.

Step3:第一社区网格长用户批准环境问题立项后,通过居民系统将问题信息发送至消息队列,由区块链Web系统接收。Step3: After the first community grid long user approves the environmental issue, the issue information is sent to the message queue through the resident system and received by the blockchain web system.

Step4:第一社区网格长用户利用区块链Web系统登录密码登录系统,对接收到的环境问题进行分析并给出此次治理环境问题所用的CTN数量(此处为使用20个CTN),将环境问题治理要求等信息和CTN数量进行绑定。Step4: The long user of the first community grid uses the blockchain Web system to log in to the system with a password, analyzes the environmental problems received and gives the number of CTNs used to manage environmental problems this time (here, 20 CTNs are used), Bind information such as environmental governance requirements to the number of CTNs.

Step5:问题信息中包含视频、图片、文档等描述文件,第一社区网格长用户将这些大型文件存储在IPFS中,将存储反馈信息与Step4中信息一起绑定。Step5: The question information contains description files such as videos, pictures, documents, etc. The first community grid long user stores these large files in IPFS, and binds the storage feedback information with the information in Step4.

Step6:将第一社区网格长用户上传的第一社区环境问题信息发送到S300区块链Web系统。Step6: Send the first community environmental problem information uploaded by the first community grid long user to the S300 blockchain web system.

Step7:S300区块链Web系统调用智能合约将接收到的环境问题的数据信息保存至主链。Step7: The S300 blockchain web system calls the smart contract to save the received data information of environmental issues to the main chain.

Step8:第一社区网格长用户发布的环境治理问题在S300区块链Web系统向所有工作部门公开,数据通过区块链Web系统进行展示。Step8: The environmental governance issues published by the long users of the first community grid are disclosed to all working departments in the S300 blockchain web system, and the data is displayed through the blockchain web system.

Step9:区块链Web系统中用户查询并分析认领此次发布的第一社区环境治理问题的部分或全部工作。Step9: Users in the blockchain web system query, analyze and claim part or all of the work of the first community environmental governance issue released this time.

Step10:协调部门用户决定认领协调居民协助治理的工作,与第一社区网格长用户建立协定,认领协调居民协助治理的工作和4个CTN;治理部门与治理部门X同时决定认领环境治理工作,并与第一社区网格长用户建立协定,分别需要14个和15个CTN进行工作。Step10: The user of the coordination department decides to claim the work of coordinating residents to assist in governance, establish an agreement with the long user of the first community grid, and claim the work of coordinating residents to assist in governance and 4 CTNs; the governance department and governance department X also decide to claim the environmental governance work, And establish an agreement with the first community grid long user, which requires 14 and 15 CTNs to work respectively.

Step11:第一社区网格长用户与协调部门用户就使用4个CTN协调居民协助治理的工作达成协定一致;第一社区网格长用户分别与治理部门和治理部门X进行重新协定(重新执行Step10中环境治理工作部分内容),最终以12个CTN进行第一社区环境治理工作与治理部门达成协定一致。Step11: The first community grid long user and the coordination department user reach an agreement on the use of 4 CTNs to coordinate residents to assist in governance; the first community grid long user re-agrees with the governance department and governance department X respectively (re-execute Step 10 Part of the environmental governance work in the middle), and finally reached an agreement with the governance department to carry out the environmental governance work of the first community with 12 CTNs.

Step12:Step10和Step11中建立并达成协定一致的全部过程数据由协定双方(第一社区网格长用户与协调部门、第一社区网格长用户与治理部门)进行双重签名后发送给S300区块链Web系统侧链。Step12: All process data established and agreed in Step10 and Step11 are double-signed by both parties (the first community grid long user and the coordination department, the first community grid long user and the governance department) and sent to block S300 Chain web system side chain.

Step13:S300区块链Web系统调用智能合约将接收到的数据保存至侧链。Step13: The S300 blockchain web system calls the smart contract to save the received data to the side chain.

Step14:系统冻结协调部门用户4个CTN、治理部门用户12个CTN,第一社区网格长用户两次分别冻结4个、12个CTN,协调部门用户和治理部门用户处理认领的工作。Step14: The system freezes 4 CTNs for users in the coordination department and 12 CTNs for users in the governance department. The first community gridlong user freezes 4 CTNs and 12 CTNs twice, respectively, to coordinate the work of users in the coordination department and users in the governance department to process claims.

Step15:协调部门用户和治理部门用户认领工作处理结束,将处理结果中的视频、图片、文档等描述文件存储到IPFS中,将存储反馈数据与其他处理结果文本数据绑定,上传到区块链保存,协调部门用户共使用4个CTN,治理部门共使用10个CTN,多余认领的2个CTN将返回给第一社区网格长用户。Step15: The user of the coordination department and the user of the management department have finished the process of claiming the work. Store the description files such as videos, pictures, and documents in the processing results in IPFS, and bind the stored feedback data with other text data of the processing results, and upload them to the blockchain Users in the storage and coordination departments use a total of 4 CTNs, and the governance department uses a total of 10 CTNs. The 2 CTNs claimed will be returned to the first community grid long user.

Step16:第一社区网格长用户将本次第一社区环境治理过程可公开数据在区块链Web系统中进行公布,由区块链Web系统中其他用户进行投票。Step16: The long users of the first community grid will publish the open data of the first community environmental governance process in the blockchain web system, and other users in the blockchain web system will vote.

Step17:投票结果合理度为95%以上,第一社区网格长用户将事先冻结的12个CTN发放给治理部门用户,将事先冻结的4个CTN发放给协调部门用户(此处实际情况为第一社区网格长用户进行恶意操作,只向协调部门用户发放3个CTN)。系统将事先冻结的协调部门用户和治理部门用户的CTN解冻,向第一社区网格长用户发放与20CTN等额的F-CS作为奖励,向协调部门用户发放3个CTN等额的F-CS作为奖励,向治理部门发放13个CTN等额的F-CS作为奖励(多发放的1个作为治理部门用户节省2个CTN的额外奖励)。Step17: The voting result is more than 95% reasonable. The first community grid long user distributes the 12 CTNs frozen in advance to the users of the governance department, and the 4 CTNs that are frozen in advance to the users of the coordination department (the actual situation here is the first A long-term user of the community grid conducts malicious operations andonly issues 3 CTNs to users of the coordination department). The system will unfreeze the CTNs of users in the coordination department and users in the governance department that have been frozen in advance, and distribute F-CS equal to 20 CTN to the first community grid long users as rewards, and distribute F-CS equal to 3 CTNs to users of the coordination department as rewards , 13 CTN equivalent F-CS will be issued to the governance department as a reward (the extra one will be issued as an additional reward for users of the governance department to save 2 CTNs).

Step18:协调部门用户就1个CTN提起质疑。Step18: The user of the coordination department raises a question about a CTN.

Step19:核查部门收到质疑请求,并进行质疑处理,系统分别自动冻结第一社区网格长用户和协调部门2个CTN,其中,上述2个CTN中一个为协调部门用户提出的质疑数量的CTN,另一个为质疑环节惩罚需要的CTN,第一社区网格长用户与协调部门用户分别通过S300区块链Web系统从区块链侧链读取最新版的协定并提交到核查部门。Step19: The verification department receives the challenge request and handles the challenge. The system automatically freezes the 2 CTNs of the first community grid long user and the coordination department respectively. One of the above 2 CTNs is the CTN of the number of questions raised by the users of the coordination department. , Another CTN required for the punishment of the questioning link, the first community grid long user and the coordination department user respectively read the latest version of the agreement from the blockchain side chain through the S300 blockchain web system and submit it to the verification department.

Step20:核查部门依据协定进行裁决,过错方为第一社区网格长用户,将质疑环节事先冻结的第一社区网格长用户和协调部门用户共4个CTN发放给协调部门用户并由系统向协调部门用户发放1个CTN等额的F-CS补充奖励。Step 20: The verification department makes a ruling according to the agreement. The fault is the first community grid user. The first community grid user and the coordination department user, which have been frozen in advance in the questioning process, are issued a total of 4 CTNs to the coordination department user. The users of the coordination department will issue a supplementary reward of F-CS equal to 1 CTN.

Step21:第一社区网格长用户和协调部门用户执行裁决结果。Step 21: The first community grid long user and the coordinating department user execute the adjudication result.

本次治理过程中,治理部门调用了外部资源,请求家政公司以5个CTN等额经费的价格处理部分环境问题(付费方式为分3期共6个月),工作结束后治理部门向区块链Web系统进行拨款申请,由区块链Web系统按治理部门提交方案,分期将5个CTN等额经费兑现给外部资源(家政公司)。During this governance process, the governance department called external resources and requested the housekeeping company to deal with some environmental issues at the price of 5 CTNs (the payment method is divided into 3 phases for a total of 6 months). The web system applies for grants, and the blockchain web system submits the plan according to the governance department, and cashes out 5 CTN equivalent funds to external resources (housekeeping companies) in installments.

实施例二:Embodiment 2:

结合实施例一所揭示的一种基于DAO的区块链智慧社区问题解决方法,本实施例揭示了一种基于DAO的区块链智慧社区问题解决系统(以下简称“系统”)的具体实施示例。With reference to a DAO-based blockchain smart community problem solving method disclosed in the first embodiment, this embodiment discloses a specific implementation example of a DAO-based blockchain smart community problem solving system (hereinafter referred to as the "system"). .

参照图12所示,所述系统包括:Referring to Figure 12, the system includes:

居民系统,用于接收居民提交的问题信息并进行项目立项确认;Resident system, used to receive the problem information submitted by the residents and confirm the project establishment;

消息队列,用于接收所述项目立项后的项目基础信息;A message queue for receiving the basic project information after the project is approved;

区块链Web系统,用于监听所述消息队列,实时接收所述项目基础信息;以及;执行项目公开、项目认领、Credit证明发放和转化操作,并将操作执行结果和执行过程产生的数据分别存储在所述区块链Web系统的主链和侧链中;The blockchain web system is used to monitor the message queue and receive the basic information of the project in real time; and; perform project disclosure, project claim, credit certificate issuance and conversion operations, and separate the operation execution result and the data generated during the execution process. stored in the main chain and side chain of the blockchain web system;

IPFS,用于存储所述项目基础信息中的大文件数据,并将存储反馈信息与所述项目基础信息中的文本信息绑定后存储至所述区块链Web系统的主链中。IPFS is used to store the large file data in the basic information of the project, and store the feedback information in the main chain of the blockchain web system after binding the storage feedback information with the text information in the basic information of the project.

具体而言,如图12所示,上述系统包括以下部分:Specifically, as shown in Figure 12, the above system includes the following parts:

S500居民系统包括:The S500 Residential System includes:

S500居民系统用户层:主要包括C端:代表居民用户;B端:代表运营方用户;G端:代表政府网格长用户。其中,居民用户将问题提交到居民系统给政府网格长用户查看,政府网格长用户在居民系统中接收、查看、筛选居民用户提报的信息,筛选出的问题通过居民系统发送到区块链Web系统;运营方用户负责开发、维护居民系统。S500 residential system user layer: mainly includes C side: representing residential users; B side: representing operator users; G side: representing government grid long-term users. Among them, resident users submit questions to the resident system to be viewed by the long-term government grid users. The long-term government grid users receive, view, and screen the information submitted by the residential users in the residential system, and the screened problems are sent to the block through the residential system. Chain Web system; operator users are responsible for developing and maintaining the resident system.

S500居民系统接口层:包括登录接口、项目信息提报接口,负责实现登录验证和向S300区块链Web系统发送项目信息。S500 resident system interface layer: including the login interface and the project information reporting interface, responsible for implementing login verification and sending project information to the S300 blockchain web system.

S500居民系统数据层:包括用户身份信息数据和项目基础信息数据。S500 residential system data layer: including user identity information data and project basic information data.

S300区块链Web系统包括:The S300 Blockchain Web System includes:

S300区块链Web系统用户层:主要包括C端:代表网格长用户;B端:代表运营方用户;G端:代表政府工作部门用户;I端:代表核查部门。S300 blockchain web system user layer: mainly includes C side: representing grid long users; B side: representing operator users; G side: representing government department users; I side: representing verification departments.

其中,网格长用户验证确认来自居民系统的问题,确认无误后,把问题在区块链Web系统中公开;政府工作部门用户认领网格长用户公开的问题,网格长用户与政府工作部门进行协定处理工作;工作完成后,网格长用户公开工作过程,进行奖励分发;政府工作部门用户可以对奖励分发提起质疑,未参与问题的用户,对网格长用户公开的工作过程进行投票。Among them, the long grid users verify and confirm the problems from the residential system. After the confirmation is correct, the problems are disclosed in the blockchain web system; the users of the government work department claim the problems disclosed by the long grid users, and the long grid users and the government work departments Carry out agreement processing work; after the work is completed, the long grid users will disclose the work process and distribute rewards; users in government work departments can question the reward distribution, and users who have not participated in the issue will vote on the work process disclosed by the long grid users.

运营方用户负责开发、维护区块链Web系统;核查部门负责处理政府各工作部门用户在奖励分发中提起的质疑和投票触发的质疑。The operator user is responsible for developing and maintaining the blockchain web system; the verification department is responsible for handling the questions raised by users of various government departments and the questions triggered by voting in the reward distribution.

S300区块链Web系统接口层:包括登录接口、认证接口、验证接口、数据上链接口、数据解析接口、数据查询接口、新增字段编码接口,负责S300区块链Web系统与S200区块链Web系统界面模块的数据交互,实现数据的签名、验证、上链存储和链上查询。S300 blockchain web system interface layer: including login interface, authentication interface, verification interface, data uploading interface, data parsing interface, data query interface, and new field coding interface, responsible for S300 blockchain web system and S200 blockchain The data interaction of the web system interface module realizes data signature, verification, on-chain storage and on-chain query.

S300区块链Web系统合约层:由节点登录合约、项目公布合约、惩罚合约、协定建立合约、Credit发放合约、Credit转换合约、质疑发起合约、投票合约、密码重置合约、经费兑现合约组成,为S300区块链Web系统提供数据存取服务,合约层用于发布部署、删除、调用智能合约,由网络运维人员负责管理。S300 blockchain web system contract layer: It consists of node login contract, project announcement contract, punishment contract, agreement establishment contract, credit issuance contract, credit conversion contract, question initiation contract, voting contract, password reset contract, and fund redemption contract. Provide data access services for the S300 blockchain web system. The contract layer is used to publish, deploy, delete, and invoke smart contracts, which are managed by network operation and maintenance personnel.

S300区块链Web系统区块链层:采用开源Hyperledger Fabric项目提供底层技术与机制,网络搭建、运行维护由网络运维人员负责。S300 blockchain web system blockchain layer: The open source Hyperledger Fabric project is used to provide underlying technologies and mechanisms, and network operation and maintenance personnel are responsible for network construction, operation and maintenance.

S400消息队列:实现S300区块链Web系统的安全性与相对独立性,采用S400消息队列作为与S500居民系统交互的隔离,S400消息队列设置运行在内存上。S400 message queue: To achieve the security and relative independence of the S300 blockchain web system, the S400 message queue is used as the isolation for interaction with the S500 resident system, and the S400 message queue is set to run on the memory.

IPFS:实现本系统的大文件存储,由S300区块链Web系统连接并上链IPFS的存储反馈,提高S300区块链Web系统的存储能力。IPFS: Realize the large file storage of this system, which is connected by the S300 blockchain web system and uploads the storage feedback of IPFS to improve the storage capacity of the S300 blockchain web system.

链下数据库:配置链下数据库,由S300区块链Web系统连接访问,提高S300区块链Web系统的查询效率。Off-chain database: configure the off-chain database, which can be connected and accessed by the S300 blockchain web system to improve the query efficiency of the S300 blockchain web system.

在上述实施例中,In the above embodiment,

S500居民系统接口层登录接口实现登录用户与S300区块链Web系统的密钥绑定,在用户通过S500居民系统“账号-密码”验证后调用,向S400消息队列发送登录请求消息,输入值为userid(居民系统用户唯一标识),返回值为区块链登录用户操作反馈消息。The login interface of the interface layer of the S500 residential system realizes the key binding between the login user and the S300 blockchain web system. It is called after the user passes the "account-password" verification of the S500 residential system, and sends a login request message to the S400 message queue. The input value is userid (the unique identifier of the resident system user), the return value is the operation feedback message of the blockchain login user.

S500居民系统接口层项目信息提报接口将新的数据信息发送到S300区块链Web系统,用户在S500居民系统进行发送项目信息时调用,向S400消息队列发送新增项目请求消息,输入值为dataInfo:项目数据,返回值为S300区块链Web系统项目上链反馈消息。The project information reporting interface of the interface layer of the S500 residential system sends new data information to the S300 blockchain web system. The user calls it when the S500 residential system sends project information, and sends a new project request message to the S400 message queue. The input value is dataInfo: project data, the return value is the S300 blockchain web system project on-chain feedback message.

S300区块链Web系统接口层登录接口调用区块链合约层登录智能合约,从S400消息队列获取登录请求消息的用户id,如果该用户id在链下注册用户数据库中存在,并有绑定标识,则输出登录用户结果“0”;否则,在S300区块链Web系统中创建用户,并绑定公私钥,如果操作成功,在链下注册用户数据库中进行标识,输出登录用户结果“0”,若操作失败,则在链下注册用户数据库增加用户id,不进行标识。The login interface of the S300 blockchain web system interface layer calls the blockchain contract layer to log in to the smart contract, and obtains the user id of the login request message from the S400 message queue, if the user id exists in the off-chain registered user database and has a binding identifier , output the login user result "0"; otherwise, create a user in the S300 blockchain web system, and bind the public and private keys, if the operation is successful, mark it in the off-chain registered user database, and output the login user result "0" , if the operation fails, the user id will be added to the off-chain registered user database without identification.

S300区块链Web系统接口层认证接口检查用户是否有执行数据读写的权限,S500居民系统对区块链执行读取或写入操作前,进行读写权限的检查调用本接口,查询本用户是否具有本项权限,已有授权则认证成功返回“0”,认证失败返回值<0,绝对值为出错代码。The authentication interface of the S300 blockchain web system interface layer checks whether the user has permission to read and write data. Before the S500 residential system performs read or write operations on the blockchain, it checks the read and write permissions and calls this interface to query the user. Whether it has this permission or not, if it has been authorized, it will return "0" if the authentication is successful. If the authentication fails, the return value is <0, and the absolute value is the error code.

S300区块链Web系统接口层验证接口用于对加密密文的验证,在S300区块链Web系统查询类操作获取数据后进行校验时调用本接口,将保存密文与明文加密进行对比。对比一致则校验成功返回“0”,不一致则校验失败返回值<0,绝对值为出错代码。The verification interface of the S300 blockchain web system interface layer is used to verify the encrypted ciphertext. This interface is called when verifying the data obtained by the S300 blockchain web system query operation, and the saved ciphertext is compared with the plaintext encryption. If the comparison is consistent, the verification is successful and returns "0"; if the comparison is inconsistent, the verification fails and the return value is <0, and the absolute value is the error code.

S300区块链Web系统接口层数据上链接口用于向区块链写入数据操作,分析本次上链数据是否含有未被记录的新字段,利用区块链接口层新增字段接口更新字段库,调用区块链合约层数据整合上链智能合约。上链成功,返回“0”,上链失败返回值<0,绝对值为出错代码。The data uploading interface of the S300 blockchain web system interface layer is used to write data to the blockchain, analyze whether the data uploaded this time contains new fields that have not been recorded, and use the blockchain interface layer new field interface to update fields The library calls the blockchain contract layer data to integrate smart contracts on the chain. If the chain is successful, it will return "0", if the chain fails, the return value is <0, and the absolute value is the error code.

S300区块链Web系统接口层新增字段接口用于对新增的字段进行编码,并存入字段编码数据库中,本接口对输入的字段名称进行字段编码,并将字段编码与字段名称保存到字段库与区块链中。编码保存成功则返回“0”,若编码保存失败返回值<0,绝对值为出错代码。The new field interface of the interface layer of the S300 blockchain web system is used to encode the newly added field and store it in the field encoding database. This interface encodes the input field name and saves the field code and field name to the Field library and blockchain. If the code is saved successfully, it will return "0". If the code save fails, the return value is <0, and the absolute value is the error code.

S300区块链Web系统接口层数据查询接口按照查询条件(查询字段名称和字段值)对数据进行筛查,利用区块链接口层数据解析接口对数据进行解析并与查询条件进行一致性复核,若一致则返回查询成功与查询获取内容,若不一致,则返回查询失败与空的查询内容。The S300 blockchain web system interface layer data query interface screens the data according to the query conditions (query field name and field value), and uses the blockchain interface layer data analysis interface to parse the data and check the consistency with the query conditions. If they are consistent, the query success and the query content are returned. If they are inconsistent, the query failure and empty query content are returned.

S300区块链Web系统接口层数据解析接口S300区块链Web系统将链上获取的问题信息解析为问题的相关字段名称与问题相关字段值,返回值为数据解析结果与错误状态,若解析成功,返回解析成功数据和无错误状态,若解析失败,返回空数据与错误状态。S300 blockchain web system interface layer data parsing interface S300 blockchain web system parses the problem information obtained on the chain into the relevant field names of the problem and the value of the relevant fields, and the return value is the data analysis result and error status. If the analysis is successful , returns parsing success data and no error status, if parsing fails, returns empty data and error status.

S300区块链Web系统合约层实现本系统中的节点登录、项目公布、奖励惩罚、建立/达成协定、Credit发放/转换、质疑、投票、密码重置、经费兑现等业务功能。The contract layer of the S300 blockchain web system implements business functions such as node login, project announcement, reward and punishment, establishment/agreement, credit issuance/conversion, questioning, voting, password reset, and fund cashing in this system.

本实施例所揭示的一种基于DAO的区块链智慧社区问题解决系统与实施例一所揭示的一种基于DAO的区块链智慧社区问题解决方法中其余相同部分的技术方案,请参照实施例一所述,在此不再赘述。For the technical solution of the remaining same parts in the DAO-based blockchain smart community problem solving system disclosed in this embodiment and the DAO-based blockchain smart community problem solving method disclosed in the first embodiment, please refer to the implementation Example 1 is described and will not be repeated here.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features in the above-described embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be regarded as the scope described in this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be noted that, for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (10)

Translated fromChinese
1.基于DAO的区块链智慧社区问题解决方法,其特征在于,包括:1. A method for solving the problem of smart community of blockchain based on DAO, which is characterized in that it includes:项目立项步骤:网格长用户通过居民系统对居民提交的问题信息进行项目立项确认,建立项目后将项目基础信息发送至消息队列;Steps of project establishment: The long grid user confirms the project establishment of the problem information submitted by the residents through the resident system, and sends the basic information of the project to the message queue after the project is established;项目发布步骤:通过区块链Web系统监听所述消息队列,实时获取所述项目基础信息,所述网格长用户通过将所述项目基础信息整合,并添加处理所述项目使用的Credit证明,得到项目认领信息并发布在所述区块链Web系统中;Project release step: monitor the message queue through the blockchain web system, and obtain the basic information of the project in real time. Obtain the project claim information and publish it in the blockchain web system;项目处理步骤:至少一个工作部门用户根据所述项目认领信息部分认领或完全认领所述项目,并分别与所述网格长用户达成协定,如果多个工作部门用户认领了所述项目相同的部分或完全认领了所述项目,则所述网格长用户在达成协定的工作部门用户中选择一个工作部门用户处理所述项目;Project processing step: at least one work department user partially or completely claims the project according to the project claim information, and reaches an agreement with the grid long user respectively, if multiple work department users claim the same part of the project Or completely claim the project, the grid long user selects a work department user among the agreed work department users to process the project;信息公布步骤:在所述工作部门用户将认领的所述项目处理完成后,将项目处理过程中的可公开的项目信息在所述区块链Web系统中进行公布;Information publishing step: after the project to be claimed by the user of the work department is processed, the publicly available project information in the project processing process is published in the blockchain web system;项目投票步骤:所述区块链Web系统中未参与所述项目的用户对所述区块链Web系统中公布的所述项目信息进行合理度投票;Project voting step: users in the blockchain web system who did not participate in the project vote on the reasonableness of the project information published in the blockchain web system;Credit证明发放步骤:所述项目结束后按照达成的所述协定进行Credit证明的发放。Credit certificate issuance steps: After the project ends, the Credit certificate is issued according to the agreement reached.2.根据权利要求1所述的基于DAO的区块链智慧社区问题解决方法,其特征在于,所述Credit证明包括CTN、CS与CTD,所述CS包括C-CS与F-CS,所述CTN、C-CS与CTD之间可进行转换。2. The DAO-based blockchain smart community problem solving method according to claim 1, wherein the Credit certificate includes CTN, CS and CTD, the CS includes C-CS and F-CS, and the Credit certificate includes C-CS and F-CS. Conversion between CTN, C-CS and CTD is possible.3.根据权利要求2所述的基于DAO的区块链智慧社区问题解决方法,其特征在于,所述项目处理步骤包括:3. The DAO-based blockchain smart community problem solving method according to claim 2, wherein the project processing step comprises:协商步骤:所述工作部门用户确认认领所述项目后与所述网格长用户建立协商通道,通过所述协商通道互相提交认领的项目内容和使用的CTN数量,重复提交至达成协定;Negotiation step: the user of the work department establishes a negotiation channel with the long grid user after confirming the claim of the project, and submits the contents of the claimed project and the number of CTNs used to each other through the negotiation channel, and submits them repeatedly until an agreement is reached;部门选择步骤:所述网格长用户在达成协定的工作部门用户中选定一个最优的工作部门用户,冻结所述网格长用户和被选定的所述工作部门用户的达成的协定中所需的CTN,被选定的所述工作部门用户处理认领的所述项目。Department selection step: the grid long user selects an optimal work department user among the agreed work department users, and freezes the agreement reached between the grid long user and the selected work department user. The desired CTN, the selected user of the job sector handles the item claimed.4.根据权利要求2所述的基于DAO的区块链智慧社区问题解决方法,其特征在于,所述项目投票步骤包括:4. The DAO-based blockchain smart community problem solving method according to claim 2, wherein the project voting step comprises:投票结果比对步骤:根据参与投票的用户所拥有的CS总量计算投票结果,将所述投票结果与合理标准进行比对;Voting result comparison step: Calculate the voting result according to the total amount of CS owned by the users participating in the voting, and compare the voting result with a reasonable standard;投票结果质疑步骤:若比对结果为合理,则结束所述项目;若比对结果为不合理,则核查部门对所述投票结果进行审查后结束所述项目。The voting result questioning step: if the comparison result is reasonable, the project will be ended; if the comparison result is unreasonable, the verification department will review the voting result and end the project.5.根据权利要求4所述的基于DAO的区块链智慧社区问题解决方法,其特征在于,所述投票结果质疑步骤包括:若比对结果为不合理,则所述核查部门对所述项目进行审查,若审查结果为合理,则将所述比对结果修正为合理,若审查结果为不合理,则扣除所述工作部门用户和所述网格长用户被冻结的部分CTN作为投票奖励。5. The DAO-based blockchain smart community problem solving method according to claim 4, wherein the voting result questioning step comprises: if the comparison result is unreasonable, the verification department will Carry out a review. If the review result is reasonable, the comparison result will be revised to be reasonable. If the review result is unreasonable, the frozen part of the CTN of the user of the work department and the long grid user will be deducted as a voting reward.6.根据权利要求5所述的基于DAO的区块链智慧社区问题解决方法,其特征在于,所述项目处理步骤还包括:6. The DAO-based blockchain smart community problem solving method according to claim 5, wherein the project processing step further comprises:若所述工作部门用户处理所述项目失败,经所述核查部门裁定后,所述网格长用户重新发布所述项目认领信息,重新与其他工作部门用户建立并达成协定;若失败的所述工作部门用户是所述网格长用户在多个工作部门用户中选定的,则将网格长用户的被冻结的部分CTN加入所述投票奖励中。If the user of the work department fails to process the project, after being adjudicated by the verification department, the long grid user reissues the project claim information, and re-establishes and reaches an agreement with other users of the work department; If the work department user is selected by the grid long user among multiple work department users, the frozen part of the grid long user's CTN is added to the voting reward.7.根据权利要求6所述的基于DAO的区块链智慧社区问题解决方法,其特征在于,所述Credit证明发放步骤包括:7. The DAO-based blockchain smart community problem solving method according to claim 6, wherein the credit certificate issuing step comprises:投票奖励发放步骤:按照用户拥有的CS总量将所述投票奖励发放给投票选择与审查结果一致的参与投票的用户;Voting reward distribution steps: according to the total amount of CS owned by the user, the voting reward is distributed to the users who voted and participated in the voting that is consistent with the review result;CTN发放步骤:所述网格长用户按照最新达成的所述协定将冻结的CTN发放至所述工作部门用户;CTN distribution step: the long grid user distributes the frozen CTN to the user of the work department according to the latest agreement;F-CS发放步骤:根据所述项目使用的CTN数量向所述工作部门用户与所述网格长用户发放F-CS。The step of issuing F-CS: according to the number of CTNs used by the project, F-CS is issued to the user of the work department and the long user of the grid.8.根据权利要求7所述的基于DAO的区块链智慧社区问题解决方法,其特征在于,所述F-CS发放步骤包括:8. The DAO-based blockchain smart community problem solving method according to claim 7, wherein the F-CS issuing step comprises:若协定的CTN数量全部用完,则为所述工作部门用户发放与协定的CTN数量等额的F-CS;If the agreed number of CTNs is used up, F-CS equal to the agreed number of CTNs will be issued to the users of the work sector;若协定的CTN数量未全部使用,则在为所述工作部门用户发放与协定的CTN数量等额的F-CS的基础上,根据未使用的CTN数量增加部分F-CS发放给所述工作部门用户。If the agreed number of CTNs is not fully used, on the basis of issuing F-CS equal to the agreed number of CTNs to the users of the work department, an additional part of the F-CS is issued to the users of the work department according to the number of unused CTNs .9.根据权利要求7所述的基于DAO的区块链智慧社区问题解决方法,其特征在于,所述CTN发放步骤还包括:9. The DAO-based blockchain smart community problem solving method according to claim 7, wherein the CTN issuing step further comprises:CTN数量质疑步骤:若所述网格长用户未按达成的所述协定发放CTN给所述工作部门用户,则所述工作部门用户向所述核查部门提交质疑申请与质疑的CTN数量;Step of questioning the number of CTNs: if the long grid user fails to issue CTNs to the users of the work department according to the agreement reached, the users of the work department submit a challenge application and the number of CTNs questioned to the verification department;质疑结果获得步骤:所述核查部门接受所述质疑申请后,冻结所述网格长用户和所述工作部门用户的质疑数量的CTN,所述核查部门根据所述网格长用户和所述工作部门用户达成的所述协定、所述投票结果与CTN发放记录进行验证,得到最终质疑结果;The step of obtaining the challenge result: after the verification department accepts the challenge application, it freezes the CTNs of the number of challenged users of the grid long user and the work department user, and the verification department determines the number of questions asked by the grid long user and the work department user. The agreement reached by the users of the department, the voting result and the CTN issuance record are verified, and the final questioning result is obtained;过错方惩罚步骤:将最终质疑结果的过错方被冻结的质疑数量的CTN发放给最终质疑结果的正确方。Penalty step for the faulty party: The CTN of the number of questions frozen by the faulty party of the final challenged result is issued to the correct party of the final challenged result.10.基于DAO的区块链智慧社区问题解决系统,其特征在于,包括:10. A DAO-based blockchain smart community problem solving system, characterized in that it includes:居民系统,用于接收居民提交的问题信息并进行项目立项确认;Resident system, used to receive the problem information submitted by the residents and confirm the project establishment;消息队列,用于接收所述项目立项后的项目基础信息;A message queue for receiving the basic project information after the project is approved;区块链Web系统,用于监听所述消息队列,实时接收所述项目基础信息;以及;执行项目公开、项目认领、Credit证明发放和转化操作,并将操作执行结果和执行过程产生的数据分别存储在所述区块链Web系统的主链和侧链中;The blockchain web system is used to monitor the message queue and receive the basic information of the project in real time; and; perform project disclosure, project claim, credit certificate issuance and conversion operations, and separate the operation execution result and the data generated during the execution process. stored in the main chain and side chain of the blockchain web system;IPFS,用于存储所述项目基础信息中的大文件数据,并将存储反馈信息与所述项目基础信息中的文本信息绑定后存储至所述区块链Web系统的主链中。IPFS is used to store the large file data in the basic information of the project, and store the feedback information in the main chain of the blockchain web system after binding the storage feedback information with the text information in the basic information of the project.
CN202210438075.2A2022-04-252022-04-25 DAO-based blockchain smart community problem solving method and systemPendingCN114862344A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210438075.2ACN114862344A (en)2022-04-252022-04-25 DAO-based blockchain smart community problem solving method and system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210438075.2ACN114862344A (en)2022-04-252022-04-25 DAO-based blockchain smart community problem solving method and system

Publications (1)

Publication NumberPublication Date
CN114862344Atrue CN114862344A (en)2022-08-05

Family

ID=82632757

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210438075.2APendingCN114862344A (en)2022-04-252022-04-25 DAO-based blockchain smart community problem solving method and system

Country Status (1)

CountryLink
CN (1)CN114862344A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20190238525A1 (en)*2018-01-312019-08-01Salesforce.Com, Inc.Systems, methods, and apparatuses for implementing super community and community sidechains with consent management for distributed ledger technologies in a cloud based computing environment
CN111709853A (en)*2020-06-042020-09-25江苏荣泽信息科技股份有限公司Property management system based on block chain
CN112785168A (en)*2021-01-282021-05-11青岛亿联信息科技股份有限公司Community problem multi-department claiming processing system and method based on block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20190238525A1 (en)*2018-01-312019-08-01Salesforce.Com, Inc.Systems, methods, and apparatuses for implementing super community and community sidechains with consent management for distributed ledger technologies in a cloud based computing environment
CN111709853A (en)*2020-06-042020-09-25江苏荣泽信息科技股份有限公司Property management system based on block chain
CN112785168A (en)*2021-01-282021-05-11青岛亿联信息科技股份有限公司Community problem multi-department claiming processing system and method based on block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
唐诗杭: "智慧网格建设的市域社会治理新机制——基于浙江省温岭市"岭格治理"平台的研究", 《上海法学研究》集刊, 31 December 2021 (2021-12-31), pages 255 - 261*
孙晋康主编: "《秋实集 中共石家庄市委党校优秀科研成果选编 2009-2013》", 31 March 2015, 河北人民出版社, pages: 268*

Similar Documents

PublicationPublication DateTitle
CN112214797B (en)Data processing method, device, equipment, block chain system and storage medium
US11789933B2 (en)System and method for a hybrid contract execution environment
US20210224805A1 (en)Systems, devices, and methods for dlt-based data management platforms and data products
Zeng et al.A consortium blockchain paradigm on hyperledger-based peer-to-peer lending system
ZuoTokenizing renewable energy certificates (RECs)—A blockchain approach for REC issuance and trading
HolbrookArchitecting enterprise blockchain solutions
CN110210968A (en)Intelligent Service transaction system
CN110599348B (en)Method, device, equipment and storage medium for stock right incentive
CN110232507A (en)Intelligent contract-based crowdsourcing activity overall process supervision method and system
Le Sève et al.Delivering blockchain's potential for environmental sustainability
US10810550B1 (en)System for process coordination and interoperability across different systems, platforms, and/or businesses
CN112085601A (en)Annuity data processing method, device, medium and electronic equipment
Nguyen et al.Analysis of distributed ledger technologies for industrial manufacturing
CN111127257A (en)Housing estate information management platform based on block chain
Trovò et al.Ants-review: A privacy-oriented protocol for incentivized open peer reviews on Ethereum
WO2022005453A1 (en)System for process coordination and interoperability across different systems, platforms and/or businesses
Cihan et al.Managing Clinical Research on Blockchain Using FAIR Principles
DhillonBlockchain based peer-review interfaces for digital medicine
CN114862344A (en) DAO-based blockchain smart community problem solving method and system
Meneguzzo et al.Shaping the Future of Energy Markets: Federated Systems and Blockchain Synergy
Cabugwang et al.Towards the development of a Blockchain system for Philippine government processes for enhanced transparency and verifiability
Yao et al.Evolutionary game analysis of healthcare data governance in China’s experimental data trading pilots
Nkoua Nkuika et al.Exploring the trust mechanism of digital intellectual property transactions based on smart contracts
ZumkellerUsing Smart Contracts For Digital Services: A Feasibility Study Based On Service Level Agreements
TWI897219B (en)Method for distributing rights and interests of digital works, computer device and computer-readable storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp