| With the rapid development of the informatization level of political and legal departments and the wide application of computer technology,the case handling mode of public,procuratorate,law and departments in many places across the country has changed from offline to online.Staff of various departments cooperate in handling cases through online cross-department case handling platforms,and the efficiency and quality of handling cases are greatly improved.However,the case data of such cross-departmental case handling platforms is usually stored in a centralized database or file system,facing multiple risks such as private tampering by internal personnel of political and legal departments,malicious attacks on external networks and database downtime.In view of the above problems,this thesis carries out the following work:(1)First of all,the traditional cross-department case handling platform is investigated and analyzed to grasp the pain point of the current platform data insecurity.Secondly,it is proposed to apply the blockchain technology to the cross-departmental case handling platform,so that its data is multi-party,reliable,traceable and difficult to tamper with.Finally,the object-oriented method and the unified modeling language UML are used to lay the foundation for the design and implementation of the subsequent system.(2)According to the demand analysis,we first design the system logic architecture from the macro perspective and draw the core class diagram.Secondly,the main functions such as user service,case management,statistical visualization,case inquiry,tamper-proof verification,and cross-department case handling are designed and elaborated in detail.Then,the smart contracts and databases designed in this thesis are presented through the list case.Finally,a file size-aware storage method is proposed to realize secure and efficient data storage.(3)Based on the above demand analysis and design,the cross-department case handling platform based on blockchain has been realized.First,the FISCO BCOS and IPFS are deployed and built.Second,use the Vue framework to develop a simple,easy to operate front-end page.Finally,the function and performance of the platform were tested to ensure the smooth and safe operation of the platform in the later stage.The innovations of this article are:(1)This thesis introduces the blockchain technology into the cross-department case handling platform of political and legal affairs,making the platform have the advantages of high security,strong tamper-proof,strong stability and low cost.Its appearance ensures the data security of the case handling platform,makes the information flow more convenient,and is a bold attempt to change the case handling mode in the field of politics and law.(2)In view of the current widespread problem of inefficient storage files in the blockchain field,this thesis proposes a storage method of file granularity perception combining IPFS and blockchain.By analyzing the experimental results,the method improves the file storage efficiency of the platform in many scenarios of small files. |