A people's livelihood archive supermarket system based on blockchain

Through the blockchain-based people's livelihood archive supermarket system, the technical problems of custody and sharing of people's livelihood archives have been solved, and the electronic evidence storage and privacy protection and sharing of files have been realized, which reduces management costs and improves the efficiency of reference.

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

Patent Information

Application Number
CN202210147217.X
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

At present, there is a lack of technical solutions suitable for the custody and sharing of people's livelihood archives, and it is difficult to effectively manage and use people's livelihood archives.

Method used

The blockchain-based people's livelihood archive supermarket system is adopted to realize electronic storage of archives and privacy protection sharing through archive reception, evidence storage, storage and export modules.

Benefits of technology

Provide credible proof through blockchain evidence storage, reducing dependence on paper archives and saving administrative funds; achieving convenient access to archives and privacy protection, supporting reasonable sharing of archives, and reducing archive management costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114610713B_ABST
    Figure CN114610713B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of information technology, and in particular to a blockchain-based livelihood archive supermarket system, including an archive receiving module, an archive evidence module, an archive storage module, an archive index module, and an archive export module. The archive receiving module receives archive scans and archive description information provided by multiple livelihood departments, and the archive evidence module extracts the hash value of the archive scans and uploads it to the blockchain to obtain the block height. The archive storage module stores the archive scans in association with the hash value and the block height. The archive index module establishes an archive index. An institution or the public sends an archive query request. If the authority verification passes and there is an archive scan that matches the query key value, the archive name and archive creation time are fed back. The archive export module exports the archive scans after adding a watermark of the target item. The substantial effect of the present invention is to provide credible proof for archive scans, and it is no longer necessary to keep the original paper copy for a long time, saving administrative expenses.
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 supermarket system based on blockchain. Background Art

[0002] Livelihood archives include all aspects of people's life from birth to death, including birth, education, employment, residence migration, production and life, property, health, retirement, death, etc. Therefore, it is necessary to study technical solutions for more appropriate storage and use of 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 technical solutions for the storage and sharing of livelihood archives. A livelihood archive supermarket system based on blockchain is proposed, which can provide an electronic storage solution for livelihood archives with the help of blockchain, and realize archive sharing with privacy protection by covering the privacy field, so as to facilitate the management and use of archives.

[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 supermarket system, including an archive receiving module, an archive evidence module, an archive storage module, an archive index module and an archive export module, the archive receiving module receives archive scans and archive description information provided by multiple people's livelihood departments, the archive description information records the archive type, retrieval key value, upload department and archive creation time, the archive evidence module extracts the hash value of the archive scan and uploads it to the blockchain storage to obtain the corresponding block height, the archive storage module associates the archive scan with the hash value and the block height for storage, and the archive index module creates an archive. File index, the file index records the file name, type, search key value, file creation time and hash value. The organization sends a file query request to the file index module, and the file query request includes several query key values ​​and identity information. The file index module verifies the requester's authority according to the authority level granted to the organization in advance. If the authority verification is passed and there is a file scan with a search key value that matches the query key value, the file name and file creation time will be fed back. If the query requester chooses to export the file, the target item is filled in. The file export module adds a watermark of the target item to the file scan, and then provides the file scan and hash value to the requester.

[0005] Preferably, field information is manually established for each archive type, the field information records the field name and position of each field area that needs to be filled in the archive, the archive evidence module obtains the corresponding field information according to the archive type of the archive scan, the archive evidence module extracts the hash value of each field area as the field hash value, extracts the hash value of the archive scan as the archive hash value, extracts the hash value of all field hash values ​​and the archive hash value together as the evidence hash value, uploads the evidence hash value to the blockchain storage, and when the archive export module exports the archive scan, it provides it to the requester together with the field hash value, the archive hash value and the evidence hash value.

[0006] Preferably, the field information also records the viewing permission level. When the requester meets the archive viewing permission but does not meet the field viewing permission, the archive export module covers the field area of ​​the archive scan that does not meet the permission level, and provides it to the requester together with the field hash value, archive hash value and evidence hash value.

[0007] Preferably, it also includes a self-service file entry device, which includes a shooting device, an input device and a communication device. After the paper file is photographed using the shooting device, the file description information is input through the input device. After submission, the communication device submits the file scan and the file description information to the file receiving module.

[0008] Preferably, the archive storage module periodically checks the number of archive scans under each archive type. When the number of archive scans of the same type reaches a preset threshold, the percentage of repeated content in the archive scans is determined. If the percentage of repeated content exceeds the preset threshold, a common template is established, and the archive scan is represented as a superposition of the common template and unique content. The unique content of the archive is associated with the common template identifier and the archive identifier for storage. When retrieving the archive scan, the unique content of the archive scan is read, the common template is read according to the common template identifier, the unique content and the common template are superimposed to restore the archive scan, and after verifying the stored hash value of the archive scan, it is provided to the archive export module.

[0009] Preferably, when establishing a common template for archive scans, the archive storage module performs the following steps: reading a preset number of archive scans to form a sample set; counting the mean of each pixel of the archive scans in the sample set; obtaining a common pixel set, at the pixels in the common pixel set, the difference between the pixel value of the archive scans in the sample set and the pixel mean is lower than a preset threshold; establishing a blank archive scan, setting the pixels recorded in the common pixel set as the pixel mean to form a common template; dividing the archive scan area into a number of rectangular areas and numbering each rectangular area; calculating the difference between the pixel values ​​at the same position of 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.

[0010] Preferably, when the archive receiving module receives the same type of archive scans, it fine-tunes the pixel value of the archive scans within a preset range so that the archive scans have the largest number of pixels that are identical to the common template. After confirmation by the scanner, the archive receiving module receives the adjusted archive scans.

[0011] The substantial effects of the present invention are as follows: by storing archive scans through blockchain, credible proof is provided for the archive scans, thereby eliminating the need to preserve the original paper copies for a long time and saving administrative expenses; establishing archive indexes facilitates archive retrieval, and through authority management and privacy field masking, archive sharing that takes privacy protection into account is achieved, making it convenient to handle affairs and providing a solution for handling affairs without proof; by compressing and storing archive scans, the cost of storage devices is reduced, further reducing archive management expenses. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0013] Figure 2 This is a schematic diagram of the area location of Example 1.

[0014] Figure 3 A schematic diagram of a common template for establishing archive scans for Example 2.

[0015] Among them: 10. Archive receiving module, 20. Self-service archive entry device, 30. Archive evidence module, 40. Blockchain, 50. Archive storage module, 60. Archive index module, 70. Archive export module, 81. Field area, 82. Rectangular area. DETAILED DESCRIPTION

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

[0017] Embodiment 1:

[0018] A blockchain-based people's livelihood archive supermarket system, please refer to the attached Figure 1 , including an archive receiving module 10, an archive evidence module 30, an archive storage module 50, an archive index module 60, an archive export module 70 and a self-service archive entry device 20, the archive receiving module 10 receives archive scans and archive description information provided by multiple livelihood departments, the archive description information records the archive type, search key value, upload department and archive creation time, the archive evidence module 30 extracts the hash value of the archive scan and uploads it to the blockchain 40 for storage, obtains the corresponding block height, the archive storage module 50 associates the archive scan with the hash value and the block height for storage, the archive index module 60 establishes an archive index, and the archive The index records the archive name, type, search key value, archive creation time and hash value. The organization sends an archive query request to the archive index module 60. The archive query request contains several query key values ​​and identity information. The archive index module 60 verifies the requester's authority according to the authority level previously granted to the organization. If the authority verification is passed and there is an archive scan with a search key value that matches the query key value, the archive name and archive creation time will be fed back. If the query requester chooses to export the archive, the target item will be filled in. The archive export module 70 will add a watermark of the target item to the archive scan, and then provide the archive scan and hash value to the requester. The self-service archive entry device 20 includes a shooting device, an input device and a communication device. After the paper archive is photographed by the shooting device, the archive description information is input through the input device. After submission, the communication device submits the archive scan and the archive description information to the archive receiving module 10. When the archive index module 60 verifies that the requester is the person corresponding to the archive, it is determined to be a high authority, so the entire content of the archive scan is provided.

[0019] Manually create field information for each file type. The field information records the field name and location of each field area 81 that needs to be filled in the file. Please refer to the attached Figure 2 The archive evidence module 30 obtains the corresponding field information according to the archive type of the archive scan, extracts the hash value of each field area 81 as the field hash value, extracts the hash value of the archive scan as the archive hash value, extracts the hash value of all field hash values ​​and archive hash values ​​together as the evidence hash value, uploads the evidence hash value to the blockchain 40 for storage, and when the archive export module 70 exports the archive scan, it provides it to the requester together with the field hash value, the archive hash value and the evidence hash value. Figure 2 As shown, the signature area and the date filling area are field area 81, and the field area 81 records the filled content. In the archive scan, the field area 81 contains handwritten content, and the archive description information should provide the name information of the signatory as a search key value.

[0020] The field information also records the viewing permission level. When the requester meets the file viewing permission but does not meet the field viewing permission, the file export module 70 covers the field area 81 of the file scan that does not meet the permission level, and provides it to the requester together with the field hash value, file hash value and evidence hash value.

[0021] The beneficial technical effects of this embodiment are: by storing archive scans through blockchain 40, reliable proof is provided for the archive scans, so that there is no need to keep the original paper copies for a long time, saving administrative expenses; establishing archive indexes facilitates archive retrieval, and through permission management and privacy field masking, archive sharing that takes privacy protection into consideration is achieved, making it convenient to handle affairs, and providing a solution for handling affairs without proof.

[0022] Embodiment 2:

[0023] A blockchain-based people's livelihood archive supermarket system. Based on the first embodiment, this embodiment makes specific improvements to the archive storage module 50 to reduce the storage space required for archive storage and reduce the expenditure on storage hardware. In this embodiment, the archive storage module 50 periodically checks the number of archive scans under each archive type. When the number of archive scans of the same type reaches a preset threshold, the percentage of repeated content in the archive scans is determined. If the percentage of repeated content exceeds the preset threshold, a common template is established, and the archive scans are represented as a superposition of the common template and unique content. The unique content of the archive is associated with the common template identifier and the archive identifier for storage. When retrieving the archive scans, the unique content of the archive scans is read, and the common template is read according to the common template identifier. The unique content and the common template are superimposed to restore the archive scans. After verifying the stored hash value of the archive scans, it is provided to the archive export module 70.

[0024] Please refer to the attached Figure 3 When establishing a common template for the archive scans, the archive storage module 50 performs the following steps: Step A01) reads a preset number of archive scans to form a sample set; Step A02) counts the mean of the archive scans in each pixel in the sample set; Step A03) obtains a common pixel set, and at the pixels in the common pixel set, the difference between the pixel value of the archive scans in the sample set and the pixel mean is lower than a preset threshold; Step A04) establishes a blank archive scan, sets the pixels recorded in the common pixel set as the pixel mean, and forms a common template; Step A05) divides the archive scan area into a number of rectangular areas 82, and numbers each rectangular area 82; Step A06) calculates the difference between the pixel values ​​at the same position of the scan and the common template in each rectangular area 82, and if there is a non-zero difference in the rectangular area 82, the difference is associated with the number of the rectangular area 82 and stored; Step A07) the difference of all rectangular areas 82 and the associated rectangular area 82 numbers constitute unique content.

[0025] Given a large number of paper application forms or qualification certificates received by a window, the content is formatted and only requires basic information to be filled in and signed in a few designated locations. Therefore, most of the pixel values ​​in such scanned documents are the same, without considering differences in scanning equipment and light.

[0026] In this embodiment, the signed informed consent form is scanned, and the hash value is extracted after scanning. The hash value is uploaded to the blockchain 40 for storage, and then the paper copy can be destroyed. The scanned copy stored in the blockchain 40 is legally binding, thereby reducing the number of files that need to be stored in paper form. However, when there are a large number of such scanned copies, storing them in the file storage module 50 requires a lot of storage space. In this embodiment, by establishing a common template, only the signature area of ​​the informed consent form is stored separately as unique content, and the remaining part is stored as a common template. When reading, the separately stored signature area and the common template are spliced ​​together, and the hash value is extracted after splicing. The hash value extracted from the correctly spliced ​​file will be consistent with the hash value stored in the blockchain 40, proving the authenticity of the file, thereby saving a lot of storage space.

[0027] When scanning a paper file to obtain a scanned copy, the pixel values ​​of the same content area are not completely the same due to changes in the scanning device or light conditions. A specific solution is proposed. In this embodiment, when the file receiving module 10 receives the same type of file scanned copy, it fine-tunes the pixel value of the file 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 file receiving module 10 receives the adjusted file scanned copy.

[0028] The method for fine-tuning the pixel value of a scanned copy within a preset range includes: calculating the difference between each pixel value of the scanned copy and the 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 scanned copy before adjustment and the boundary of the scanned copy after adjustment, the boundary being a set of pixels whose pixel value and the difference between the adjacent pixel values ​​is greater than a preset threshold; if the boundary has not changed, the adjustment is completed, and if the boundary has changed, the pixels near the changed boundary are restored to the pixel value before adjustment, and the adjustment is completed. When the pixel adjustment value is not large, but the adjustment is clever, a boundary can still be formed, thereby forming an observable line or ink mark, which affects the authenticity of the document. Therefore, this embodiment limits the occurrence of boundaries exceeding the preset threshold during the adjustment process. Compared with the first embodiment, this embodiment reduces the equipment expenses required for storing archives by compressing the space occupied by archive storage.

[0029] 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 blockchain-based people's livelihood archive supermarket system, characterized by: It includes an archive receiving module, an archive evidence module, an archive storage module, an archive index module and an archive export module. The archive receiving module receives archive scans and archive description information provided by multiple livelihood departments. The archive description information records the archive type, search key value, uploading department and archive creation time. The archive evidence module extracts the hash value of the archive scan and uploads it to the blockchain storage to obtain the corresponding block height. The archive storage module associates the archive scan with the hash value and the block height for storage. The archive index module establishes an archive index, which records the archive name, type, search key value, archive creation time and hash value. The institution sends an archive query request to the archive index module, and the archive query request includes several query key values ​​and identity information. The archive index module verifies the requester's authority according to the authority level given to the institution in advance. If the authority verification passes and there is an archive scan with a search key value that matches the query key value, the archive name and archive creation time are fed back. If the query requester chooses to export the archive, the target item is filled in. After the archive export module adds a watermark of the target item to the archive scan, the archive scan and the hash value are provided to the requester. The archive storage module periodically checks the number of archive scans under each archive type. When the number of archive scans of the same type reaches a preset threshold, the percentage of repeated content in the archive scans is determined. If the percentage of repeated content exceeds the preset threshold, a common template is established, and the archive scan is represented as a superposition of the common template and the unique content. The unique content of the archive is associated with the common template identifier and the archive identifier for storage. When retrieving the archive scan, the unique content of the archive scan is read, and the common template is read according to the common template identifier. The unique content and the common template are superimposed to restore the archive scan, and after verifying the stored hash value of the archive scan, it is provided to the archive export module; When the file receiving module receives a file scan of the same type, it fine-tunes the pixel value of the file scan within a preset range so that the number of pixels that are identical between the file scan and the common template is maximized. After confirmation by the scanner, the file receiving module receives the adjusted file scan; The method of fine-tuning the pixel value of the scanned piece within a preset range includes: calculating the difference between each pixel value of the scanned piece and the 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; The boundaries of the scanned image before adjustment and the boundaries of the scanned image after adjustment are extracted, where the boundary is a set of pixels whose pixel values ​​differ from those of adjacent pixels by a value 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 adjustment.

2. According to the blockchain-based people's livelihood archive supermarket system of claim 1, it is characterized in that: Manually create field information for each file type, the field information records the field name and position of each field area that needs to be filled in the file, the file evidence module obtains the corresponding field information according to the file type of the file scan, the file evidence module extracts the hash value of each field area as the field hash value, extracts the hash value of the file scan as the file hash value, extracts the hash value of all field hash values ​​and the file hash value together as the evidence hash value, and uploads the evidence hash value to the blockchain for storage. When the file export module exports the file scan, it provides it to the requester together with the field hash value, the file hash value and the evidence hash value.

3. According to the blockchain-based people's livelihood archive supermarket system of claim 2, it is characterized in that: The field information also records the viewing permission level. When the requester meets the file viewing permission but does not meet the field viewing permission, the file export module covers the field area of ​​the file scan that does not meet the permission level, and provides it to the requester together with the field hash value, file hash value and evidence hash value.

4. A blockchain-based people's livelihood archive supermarket system according to any one of claims 1 to 3, characterized in that: It also includes a self-service file entry device, which includes a shooting device, an input device and a communication device. After the paper file is photographed using the shooting device, the file description information is input through the input device. After submission, the communication device submits the file scan and the file description information to the file receiving module.

5. According to the blockchain-based people's livelihood archive supermarket system of claim 1, it is characterized in that: When establishing a common template for archive scans, the archive storage module performs the following steps: Read a preset number of archive scans to form a sample set; Calculate the mean value of each pixel in the archive scans in the statistical sample set; Obtaining a common pixel set, where the difference between the pixel value of the archive scans in the sample set and the pixel mean value is lower than a preset threshold value at the pixels in the common pixel set; Create a blank file scan, set the pixels recorded in the common pixel set as the pixel mean, and form a common template; Divide the archive scan 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 unique content.

Citation Information

Patent Citations

  • Archive digital management system

    CN108491495A

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

    CN112163241A