A people's livelihood archive management system based on blockchain

Through the blockchain-based people's livelihood archive management system, the trustworthy sharing and storage optimization of archives are achieved, and the problems of high archive management costs and inconvenient sharing in the existing technology are solved, reducing the demand for paper-based files storage and improving security.

CN114610686BActive Publication Date: 2025-05-06ZHEJIANG DIGITAL QIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210147230.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-17
Publication Date
2025-05-06
Estimated Expiration
2042-02-17

AI Technical Summary

Technical Problem

The prior art lacks archive management solutions that can achieve trusted sharing and reduce archive preservation costs.

Method used

The blockchain-based people's livelihood archive management system is adopted to realize trusted sharing and storage optimization of archives through the reception, proof storage, storage and sharing modules. The specific steps include receiving scanned copies and description information of people's livelihood files, extracting hash values ​​for blockchain storage, establishing an index of scanned copies, and adding a watermark for matters when sharing between departments.

Benefits of technology

Through blockchain evidence storage, it provides legal effect for scanned copies, reduces the need to preserve paper documents, reduces the cost of archive preservation, and realizes trustworthy sharing among departments. The matter watermark ensures the security of shared scanned copies, and the improved storage solution further reduces storage space requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114610686B_ABST
    Figure CN114610686B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of information technology, and specifically to a people's livelihood archive management system based on blockchain, including a receiving module, a storage module, a storage module and a sharing module, wherein the receiving module receives scanned copies and description information of people's livelihood archives, the description information includes archive type and query key value, the storage module extracts the hash value of the scanned copy, and uploads the hash value to the blockchain for storage, the storage module establishes an index of the scanned copy, and the index records the file storage address, archive type, query key value, hash value and storage block height, the sharing module receives read requests from other departments, the read request includes department information and matter information, and after the sharing module verifies that the department has the authority to handle the corresponding matter, it reads the scanned copy, adds a watermark containing the matter information to the scanned copy, and sends it to the requesting department. The substantial effect of the present invention is: reducing the need for preserving paper documents, reducing the cost of archive preservation, and realizing trusted sharing between departments at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to a people's livelihood archive management system based on blockchain. Background Art

[0002] Although electronic office has been promoted in recent years, a large number of application forms and qualification certificates are still processed in paper form. The new paper documents added each year need to be stored in a special area, and the paper documents need to be kept for a preset period of time, which becomes an administrative burden. In addition, the existing archive management cannot be shared reliably between departments, and the public needs to repeatedly provide the same qualification certificate documents. Therefore, it is necessary to study the improved management technology of people's livelihood archives. Summary of the invention

[0003] The technical problem to be solved by the present invention is that there is currently a lack of archive management solutions that can achieve trusted sharing and reduce the cost of archive preservation. A people's livelihood archive management system based on blockchain is proposed, which can achieve trusted sharing with the help of blockchain, reduce the number of paper documents that need to be preserved, and reduce the cost of archive preservation.

[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is: a blockchain-based people's livelihood archive management system, including a receiving module, a storage module, a storage module and a sharing module, the receiving module receives scanned copies and description information of people's livelihood archives, the description information includes the archive type and the query key value, the storage module extracts the hash value of the scanned copy, uploads the hash value to the blockchain storage, and obtains the corresponding block height, the storage module stores the scanned copy, the storage module establishes an index of the scanned copy, the index records the file storage address, archive type, query key value, hash value and storage block height, the sharing module receives read requests from other departments, the read request includes department information and matter information, the sharing module verifies that the department has the authority to handle the corresponding matter, reads the scanned copy, adds a watermark containing the matter information to the scanned copy, and sends it to the requesting department.

[0005] Preferably, the shared module stores a table of fields required for the matter, and the description information also records the field type and location information recorded on the scanned copy. The shared module receives a read request from other departments, and after verifying that the department has the authority to handle the corresponding matter, reads the scanned copy, adds a watermark containing the matter information to the scanned copy, and then determines whether the field types recorded on the scanned copy all belong to the fields required for the corresponding matter. If there are field types that do not belong to the fields required for the corresponding matter, an occlusion watermark is generated based on the location information of the field, and the occlusion watermark has a lower transparency to obscure the content of the corresponding field.

[0006] Preferably, the evidence storage module divides the scan into several areas, each area corresponds to a field, extracts the hash value of each area, extracts the hash value again together with the hash value of the entire scan and uploads it to the blockchain for storage, and stores the hash value of each area, the area location information and the hash value of the scan in association with the scan. After the department requesting the scan receives the scan with the occlusion watermark, it reads the hash value and the area location information of the area, extracts the hash value of the area not covered by the occlusion watermark, and verifies whether it corresponds to the stored area hash value. If so, it extracts the hash value of all areas and the hash value of the scan, and determines whether the extracted hash value is consistent with the storage on the blockchain. If they are consistent, it proves that the hash value of the area not covered by the occlusion watermark has not been changed.

[0007] Preferably, the storage module counts the number of scans stored for each type of archive, and when the number of scans reaches a preset threshold, a common template is established, the scan is represented as a superposition of the common template and the unique area, the unique area of ​​the archive is associated with the common template identifier and the scan identifier and then stored, and when reading the scan, the unique area and the common template are read, and superimposed to obtain a complete scan.

[0008] Preferably, the method for establishing a common template includes: reading a preset number of scans to form a sample set; counting the mean of each pixel in the sample set scans; obtaining a common pixel set, at the pixels in the common pixel set, the difference between the pixel value of the scans in the sample set and the pixel mean is lower than a preset threshold; establishing a blank scan, setting the pixel value recorded in the common pixel set corresponding to the blank scan to the pixel mean to form a common template; dividing the scan area into a number of rectangular areas and numbering each rectangular area; calculating the difference in the pixel value at the same position between the scan and the common template in each rectangular area, and if there is a non-zero difference in the rectangular area, storing the difference associated with the rectangular area number; the difference of all rectangular areas and the associated rectangular area numbers constitute unique content.

[0009] Preferably, when the receiving module receives a scan of the same type, it fine-tunes the pixel value of the scan within a preset range so that the scan has the largest number of pixels that are identical to the common template. After confirmation by the scanner, the receiving module receives the adjusted scan. If the scanner does not confirm, the receiving module receives the scan before adjustment.

[0010] Preferably, the method for fine-tuning the pixel value of a scan within a preset range includes: calculating the difference between each pixel value of the scan and a common template, and if the absolute value of the difference is less than a preset threshold, setting the corresponding pixel value to be the same as the common template; extracting the boundary of the scan before adjustment, and the boundary of the scan after adjustment, wherein the boundary is a set of pixels whose pixel value has a difference with an adjacent pixel value greater than a preset threshold; if the boundary has not changed, the adjustment is completed; if the boundary has changed, the pixels near the changed boundary are restored to the pixel values ​​before adjustment, and the adjustment is completed.

[0011] The substantial effects of the present invention are as follows: blockchain evidence is formed through the evidence storage module, which provides legal effect for scanned copies, reduces the need for paper storage, reduces the cost of archive storage, and realizes trusted sharing among departments; the security of shared scanned copies is ensured through matter watermarks; with the help of improved storage solutions, scanned copy storage occupies less space, further reducing the cost of archive storage. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 This is a schematic diagram of the people's livelihood archive management system according to Example 1.

[0013] Figure 2 This is a schematic diagram of the scan area and evidence storage in Example 1.

[0014] Figure 3 A schematic diagram of a common template is established for Example 1.

[0015] Figure 4 This is a schematic diagram of fine-tuning the pixel value of a scanned document in Example 2.

[0016] Among them: 10, receiving module, 20, evidence storage module, 30, blockchain, 40, storage module, 50, sharing module, 61, area, 62, rectangular area. DETAILED DESCRIPTION

[0017] The specific implementation of the present invention will be further described below through specific examples in conjunction with the accompanying drawings.

[0018] Embodiment 1:

[0019] A people's livelihood archive management system based on blockchain30, please see the attached Figure 1, including a receiving module 10, a storage module 20, a storage module 40 and a sharing module 50. The receiving module 10 receives the scanned copy and description information of the people's livelihood archives, and the description information includes the archive type and the query key value. The storage module 20 extracts the hash value of the scanned copy, uploads the hash value to the blockchain 30 for storage, and obtains the corresponding block height. The storage module 40 stores the scanned copy, and the storage module 40 establishes an index of the scanned copy. The index records the file storage address, the archive type, the query key value, the hash value and the storage block height. The sharing module 50 receives the read request from other departments, and the read request includes department information and matter information. After the sharing module 50 verifies that the department has the authority to handle the corresponding matter, it reads the scanned copy, adds a watermark containing the matter information to the scanned copy, and sends it to the requesting department. In the department that handles specific administrative matters for the masses, it is necessary to receive a large number of paper application forms and qualification certificates of the same type and with formatted content.

[0020] After the application is completed, this type of paper application form cannot be destroyed immediately, but needs to be transported to the archives for archiving and stored electronically. For some important certification documents, the originals need to be kept for a preset period of time before they can be destroyed. With the promotion of electronic office in recent years, some forms and qualification certification documents are in electronic format and can be stored directly. However, the storage space required by a large number of forms and qualification certification documents is very large.

[0021] This embodiment uses the scanned copy of the paper document to store evidence through the blockchain 30, so that the electronic scanned copy has the same legal effect, so there is no need to save the paper document, which effectively reduces the need for paper document preservation, reduces the workload of archive preservation and management, and reduces site and labor costs. With the help of the scanned copy index, the scanned copy information can be easily and quickly queried through electronic means, which facilitates the sharing of archives between departments.

[0022] The sharing module 50 stores a table of fields required for the items, and the description information also records the field type and location information recorded on the scanned copy. After receiving the read request from other departments and verifying that the department has the authority to handle the corresponding items, the sharing module 50 reads the scanned copy, adds a watermark containing the item information to the scanned copy, and then determines whether the field types recorded on the scanned copy all belong to the fields required for the corresponding items. If there are field types that do not belong to the fields required for the corresponding items, a blocking watermark is generated according to the location information of the field. The blocking watermark has a lower transparency to block the content of the corresponding field. Adding an item watermark can prevent the scanned copy from being used for other purposes and protect the interests of the masses. At the same time, the blocking watermark can avoid unnecessary information leakage and protect the privacy of the masses' archive data.

[0023] Please see attached Figure 2, the evidence storage module 20 divides the scan into several areas 61, each area 61 corresponds to a field, extracts the hash value of each area 61, and extracts the hash value again together with the hash value of the entire scan and uploads it to the blockchain 30 for storage. The hash value of each area 61, the location information of area 61 and the hash value of the scan are associated with the scan and stored. After the department requesting the scan receives the scan with the occlusion watermark, it reads the hash value of area 61 and the location information of area 61, extracts the hash value of area 61 not covered by the occlusion watermark, and verifies whether it corresponds to the stored hash value of area 61. If it corresponds, it extracts the hash value of all areas 61 and the hash value of the scan, and determines whether the extracted hash value is consistent with the storage on the blockchain 30. If it is consistent, it proves that the hash value of area 61 not covered by the occlusion watermark has not been changed. By dividing the area 61, extracting the hash value of each area 61, and then extracting the hash value as a whole, and uploading it to the blockchain 30 for storage, the authenticity of the scan can be verified in the case of an occlusion watermark. It should be noted that there should be no item watermark in area 61, otherwise it will affect the extraction of the hash value in area 61. The best way to add item watermark is not to cover the entire visible area 61 of the scanned copy, but to add the item watermark in the place where authenticity verification is not required, such as the applicant's name field, and make the item watermark overlap with the handwriting of the name field. Because the applicant's name does not have a signature at the end, only the applicant's name information is recorded, which does not need to be verified like a signature, but it is essential.

[0024] The storage module 40 counts the number of scans stored for each file type. When the number of scans reaches a preset threshold, a common template is established, and the scan is represented as a superposition of the common template and the unique area 61. The unique area 61 of the file is associated with the common template identifier and the scan identifier and then stored. When reading the scan, the unique area 61 and the common template are read and superimposed to obtain a complete scan.

[0025] Please see attached Figure 3, the method for establishing a common template includes: step A01) reading a preset number of scans to form a sample set; step A02) counting the mean value of each pixel of the sample set scans; step A03) obtaining a common pixel set, at the pixels in the common pixel set, the difference between the pixel value of the scans in the sample set and the pixel mean is lower than a preset threshold; step A04) establishing a blank scan, setting the pixel value of the blank scan corresponding to the common pixel set record to the pixel mean, to form a common template; step A05) dividing the scan area 61 into a plurality of rectangular areas 62, and numbering each rectangular area 62; step A06) calculating the difference between the pixel values ​​at the same position of the scan and the common template in each rectangular area 62, if there is a non-zero difference in the rectangular area 62, then the difference is associated with the rectangular area 62 number and stored; step A07) the difference of all rectangular areas 62 and the associated rectangular area 62 numbers constitute a unique area 61. Given a large number of paper application forms or qualification certification documents received by the window, the content is formatted and only requires basic information to be filled in a few designated locations and signed, such as the application form shown in Table 2. Therefore, most of the pixel values ​​in this type of scanned documents are the same. That is, without considering the differences in scanning equipment and light, Figure 2 The pixel values ​​in the two rectangular areas 62 shown should be the same. In this embodiment, a common template is established to store the parts with the same pixels. The remaining part is used as a unique area 61. Each scan stores the pixel values ​​of the unique area 61 and shares the pixel values ​​corresponding to the common template. This greatly reduces the pixel values ​​that need to be stored, reduces the storage space requirements of the scans, and reduces the file management costs.

[0026] The substantial effects of this embodiment are as follows: by forming blockchain 30 evidence through the evidence storage module 20, legal effect is provided for the scanned copies, the need for preserving paper copies is reduced, the cost of archive preservation is reduced, and trusted sharing between departments is realized; the security of shared scanned copies is ensured through the matter watermark; with the help of the improved storage solution, the storage space occupied by the scanned copies is reduced, further reducing the cost of archive preservation.

[0027] Embodiment 2:

[0028] A people's livelihood archive management system based on blockchain 30, based on the first embodiment, proposes a specific solution to the problem that when scanning paper archives to obtain scanned copies, the pixel values ​​of the same content area 61 are not completely the same due to changes in scanning equipment or light conditions. In this embodiment, when the receiving module 10 receives the same type of scanned copies, it fine-tunes the pixel value of the scanned copy within a preset range so that the number of pixels that are the same as the common template is the largest. After confirmation by the scanner, the receiving module 10 receives the adjusted scanned copy. If the scanner does not confirm, the receiving module 10 receives the scanned copy before adjustment.

[0029] Please see attached Figure 4 The method for fine-tuning the pixel value of a scanned image within a preset range includes: step B01) calculating the difference between each pixel value of the scanned image and a common template, and if the absolute value of the difference is less than a preset threshold, setting the corresponding pixel value to be the same as the common template; step B02) extracting the boundary of the scanned image before adjustment and the boundary of the scanned image after adjustment, wherein the boundary is a set of pixels whose pixel value and adjacent pixel value difference is greater than a preset threshold; step B03) if the boundary has not changed, the adjustment is completed; if the boundary has changed, the pixels near the changed boundary are restored to the pixel values ​​before adjustment, and the adjustment is completed.

[0030] When the pixel adjustment value is not large but the adjustment is clever, a boundary can still be formed, thereby forming observable lines or ink marks, affecting the authenticity of the document. Therefore, this embodiment limits the occurrence of boundaries exceeding a preset threshold during the adjustment process.

[0031] The above-described embodiment is only a preferred solution of the present invention and does not limit the present invention in any form. There are other variations and modifications without exceeding the technical solution described in the claims.

Claims

1. A people's livelihood archive management system based on blockchain, characterized in that: It includes a receiving module, a proof module, a storage module and a sharing module. The receiving module receives the scanned copy and description information of the people's livelihood archives, and the description information includes the archive type and the query key value. The proof module extracts the hash value of the scanned copy, uploads the hash value to the blockchain storage, and obtains the corresponding block height. The storage module stores the scanned copy, and the storage module establishes an index of the scanned copy. The index records the file storage address, the archive type, the query key value, the hash value and the proof block height. The sharing module receives the read request from other departments, and the read request includes the department information and the matter information. After the sharing module verifies that the department has the authority to handle the corresponding matter, it reads the scanned copy, adds a watermark containing the matter information to the scanned copy, and sends it to the requesting department. The storage module counts the number of scans stored for each file type. When the number of scans reaches a preset threshold, a common template is established to represent the scan as a superposition of the common template and the unique region. The unique region of the file is associated with the common template identifier and the scan identifier and then stored. When reading the scan, the unique region and the common template are read and superimposed to obtain a complete scan. When the receiving module receives a scan of the same type, it fine-tunes the pixel value of the scan within a preset range so that the number of pixels that are identical to the common template is maximized. After confirmation by the scanner, the receiving module receives the adjusted scan. If the scanner does not confirm, the receiving module receives the scan before adjustment. Methods for fine-tuning the pixel values ​​of scanned images within a preset range include: Calculate the difference between each pixel value of the scanned image and the common template. If the absolute value of the difference is less than a preset threshold, set the corresponding pixel value to be the same as the common template. Extracting the boundary of the scanned copy before adjustment and the boundary of the scanned copy after adjustment, wherein the boundary is a set of pixels whose difference between the pixel value and the adjacent pixel value is greater than a preset threshold; If the boundary has not changed, the adjustment is completed. If the boundary has changed, the adjustment is completed after the pixels near the changed boundary are restored to the pixel values ​​before the adjustment.

2. According to the blockchain-based people's livelihood archive management system according to claim 1, it is characterized in that: The shared module stores a table of fields required for the matter, and the description information also records the field type and location information recorded on the scanned copy. The shared module receives a read request from other departments, and after verifying that the department has the authority to handle the corresponding matter, reads the scanned copy, adds a watermark containing the matter information to the scanned copy, and then determines whether the field types recorded on the scanned copy all belong to the fields required for the corresponding matter. If there are field types that do not belong to the fields required for the corresponding matter, an occlusion watermark is generated based on the location information of the field, and the occlusion watermark has a lower transparency to obscure the content of the corresponding field.

3. According to a blockchain-based people's livelihood archive management system according to claim 2, it is characterized in that: The evidence storage module divides the scan into several areas, each area corresponds to a field, extracts the hash value of each area, extracts the hash value again together with the hash value of the entire scan, and uploads it to the blockchain for storage, and stores the hash value of each area, the area location information and the scanned hash value in association with the scanned document. After the department requesting the scanned document receives the scanned document with the occlusion watermark, it reads the hash value and area location information of the area, extracts the hash value of the area not covered by the occlusion watermark, and verifies whether it corresponds to the stored area hash value. If so, it extracts the hash value of all areas and the hash value of the scanned document, and determines whether the extracted hash value is consistent with the storage on the blockchain. If they are consistent, it proves that the hash value of the area not covered by the occlusion watermark has not been changed.

4. According to a blockchain-based people's livelihood archive management system according to claim 1, it is characterized in that: Methods for establishing common templates include: Read a preset number of scans to form a sample set; Calculate the mean value of each pixel in the statistical sample set scans; Obtaining a common pixel set, where the differences between the pixel values ​​of the scans in the sample set and the pixel mean are all lower than a preset threshold value at the pixels in the common pixel set; Create a blank scan, set the pixel values ​​of the common pixel set records of the blank scan as pixel averages, and form a common template; Divide the scanned area into several rectangular areas and number each rectangular area; Calculate the difference between the pixel values ​​of the same position of the scanned image and the common template in each rectangular area. If there is a non-zero difference in the rectangular area, store the difference in association with the rectangular area number. The difference of all rectangular areas and the associated rectangular area numbers constitute a unique area.

Citation Information

Patent Citations

  • Archive digital management system

    CN108491495A

  • Notarization file information processing method, system and platform, equipment and storage medium

    CN112163241A