CN112766900A - Credible electronic material sharing method and device based on block chain - Google Patents

Credible electronic material sharing method and device based on block chain Download PDF

Info

Publication number
CN112766900A
CN112766900A CN202110052976.3A CN202110052976A CN112766900A CN 112766900 A CN112766900 A CN 112766900A CN 202110052976 A CN202110052976 A CN 202110052976A CN 112766900 A CN112766900 A CN 112766900A
Authority
CN
China
Prior art keywords
electronic material
server
trusted
user
block chain
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
CN202110052976.3A
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.)
Hengruitong Fujian Information Technology Co ltd
Original Assignee
Hengruitong Fujian Information Technology Co ltd
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 Hengruitong Fujian Information Technology Co ltd filed Critical Hengruitong Fujian Information Technology Co ltd
Priority to CN202110052976.3A priority Critical patent/CN112766900A/en
Publication of CN112766900A publication Critical patent/CN112766900A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/101Collaborative creation, e.g. joint development of products or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Computer Hardware Design (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Technology Law (AREA)
  • Operations Research (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Storage Device Security (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

According to the credible electronic material sharing method and device based on the block chain, firstly, according to the signature information and the electronic material of the first user, a CA of a second user carries out digital signature to form a credible electronic material, so that the credibility of the source of the electronic material is ensured, and then the credible electronic material is stored to a first server; and sending the credible electronic materials to a second server so that the second server calculates the hash value of the credible electronic materials, stores the hash value into the block chain link points, and stores the corresponding relation between each credible electronic material in the first server and the hash value in the block chain link points in a relational server, so that when a subsequent first user submits again, the same electronic materials can be reused without repeated preparation of the submitting materials, and the user experience and window service handling efficiency are improved.

Description

Credible electronic material sharing method and device based on block chain
Technical Field
The invention relates to the field of digital certificates, in particular to a credible electronic material sharing method and device based on a block chain.
Background
The technical architecture of the Internet + government affair service platform is composed of five layers, namely an infrastructure layer, a data resource layer, an application supporting layer, a business application layer, a user and a service layer, wherein the data resource layer is used for gathering government affair service affair information bases such as a government affair service affair base, a government affair information base, a supervision information sharing base and a credit information base on the basis of government affair service resource catalog and data exchange, and sharing and utilizing basic information resource bases such as population, legal person, geographic spatial information, electronic certificate and the like to realize co-construction and sharing of data resources, so that a government affair service data sharing platform is formed together, and uniform data support is provided for government affair service.
The electronic certificate belongs to the electronic material class, belongs to the electronic material with the highest reusability, and the coverage range is an electronic certificate catalog. The part not covered in the electronic license catalog is submitted by a user in the transaction process, the possibility of multiplexing part of materials in the part of electronic materials exists, the part of materials is required to be repeatedly submitted by the user in the current business transaction process and is stored in a file server in a file form, and the multiplexing and the tracing are not facilitated.
Disadvantage 1: during the work of the user, the similar files are repeatedly submitted during multiple times of work or work in different windows, so that the burden of the user is increased.
And (2) disadvantage: the materials collected in the user transaction process are paper materials, which is not beneficial to the reuse and management of the materials. Other non-license electronic materials have no unified standard, and are not subjected to credible authentication and storage, so that the electronic materials cannot be effectively reused.
Disadvantage 3: the uploaded electronic materials may have a risk of being modified manually, and cannot be traced, so that the reuse rate of the electronic materials is greatly reduced.
Disclosure of Invention
Technical problem to be solved
In order to solve the above problems in the prior art, the invention provides a block chain-based trusted electronic material sharing method and device, which can improve the user experience and business handling efficiency.
(II) technical scheme
In order to achieve the purpose, the invention adopts a technical scheme that:
a credible electronic material sharing method based on a block chain comprises the following steps:
s1, according to the signature information and the electronic material of the first user, after the digital signature is carried out by the CA of the second user, a credible electronic material is formed;
s2, storing the credible electronic material to a first server;
s3, sending the trusted electronic materials to a second server, so that the second server calculates hash values of the trusted electronic materials, stores the hash values into block chain nodes, and stores corresponding relations between the trusted electronic materials in the first server and the hash values in the block chain nodes in a relational server.
In order to achieve the purpose, the invention adopts another technical scheme as follows:
a block chain based trusted electronic material sharing apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing the steps of:
s1, according to the signature information and the electronic material of the first user, after the digital signature is carried out by the CA of the second user, a credible electronic material is formed;
s2, storing the credible electronic material to a first server;
s3, sending the trusted electronic materials to a second server, so that the second server calculates hash values of the trusted electronic materials, stores the hash values into block chain nodes, and stores corresponding relations between the trusted electronic materials in the first server and the hash values in the block chain nodes in a relational server.
(III) advantageous effects
The invention has the beneficial effects that: according to the signature information and the electronic material of the first user, after the digital signature is carried out by the CA of the second user, the credible electronic material is formed, the credibility of the source of the electronic material is ensured, and then the credible electronic material is stored to the first server; and sending the credible electronic materials to a second server so that the second server calculates the hash value of the credible electronic materials, stores the hash value into the block chain link points, and stores the corresponding relation between each credible electronic material in the first server and the hash value in the block chain link points in a relational server, so that when a subsequent first user submits again, the same electronic materials can be reused without repeated preparation of the submitting materials, and the user experience and window service handling efficiency are improved.
Drawings
FIG. 1 is a flow chart of a block chain-based trusted electronic material sharing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an overall structure of a block chain-based trusted electronic material sharing device according to an embodiment of the present invention.
[ description of reference ]
1: a trusted electronic material sharing device based on a blockchain;
2: a memory;
3: a processor.
Detailed Description
For the purpose of better explaining the present invention and to facilitate understanding, the present invention will be described in detail by way of specific embodiments with reference to the accompanying drawings.
Example one
Referring to fig. 1, a trusted electronic material sharing method based on a block chain includes the steps of:
s1, according to the signature information and the electronic material of the first user, after the digital signature is carried out by the CA of the second user, a credible electronic material is formed;
the trusted electronic material includes signature information of the first user, the electronic material, an expiration date, a list of usage ranges of the electronic material, and a CA of the second user.
S2, storing the credible electronic material to a first server;
s3, sending the trusted electronic materials to a second server, so that the second server calculates hash values of the trusted electronic materials, stores the hash values into block chain nodes, and stores corresponding relations between the trusted electronic materials in the first server and the hash values in the block chain nodes in a relational server.
The calculating, by the second server, the hash value of the trusted electronic material specifically includes:
the second server calculates a hash value of the trusted electronic material by a SM3 cryptographic hash algorithm.
Further comprising the steps of:
s4, obtaining the trusted electronic material of the current user from the first server, and sending the trusted electronic material to the second server, so that the second server calculates a first hash value of the trusted electronic material of the current user;
the method for acquiring the trusted electronic material of the current user from the first server specifically comprises the following steps:
and obtaining the credible electronic material of the current user from the first server through Elasticissearch full-text retrieval.
S5, obtaining a second hash value of the current user from the block chain node, and judging whether the first hash value and the second hash value are the same, if so, judging that the credible electronic material of the current user is not tampered and can be multiplexed.
Example two
The difference between this embodiment and the first embodiment is that this embodiment further illustrates how the above trusted electronic material sharing method based on the block chain according to the present invention is implemented in combination with a specific application scenario:
1. building block chain nodes
The method mainly adopts an account book engine of a super account book to deploy account book nodes and contract nodes, the arrangement of the account book nodes and the contract nodes mainly comprises sequencing nodes, common nodes and contract nodes, the nodes are all deployed in a machine room of a department in charge of government service, and the number of the nodes is distributed according to the conditions of departments in which service halls in different regions are located.
2. Material conversion
After a user submits an application of a service item, a high-speed shooting instrument is adopted by window personnel to shoot a paper material, the paper material is converted into an electronic material, and the electronic material is temporarily stored in a file storage server in the form of a common file.
3. Electronic material signing license
According to the signature information and the electronic material of the first user, after the digital signature is carried out by the CA of the second user, a credible electronic material is formed;
the trusted electronic material includes signature information of the first user, the electronic material, an expiration date, a list of usage ranges of the electronic material, and a CA of the second user.
4. Storing the trusted electronic material to a first server;
5. and sending the trusted electronic materials to a second server so that the second server calculates the hash value of the trusted electronic materials, stores the hash value into the block link point, and stores the corresponding relation between each trusted electronic material in the first server and the hash value in the block link point in a relational server.
The calculating, by the second server, the hash value of the trusted electronic material specifically includes:
the second server calculates a hash value of the trusted electronic material by a SM3 cryptographic hash algorithm.
Further comprising the steps of:
6. obtaining the credible electronic material of the current user from the first server, and sending the credible electronic material to the second server so that the second server calculates a first hash value of the credible electronic material of the current user;
the method for acquiring the trusted electronic material of the current user from the first server specifically comprises the following steps:
obtaining the credible electronic materials of the current user from the first server through the Elasticissearch full-text retrieval, sequencing the correlation degrees of the related credible electronic materials from high to low according to the matching condition of the full-text retrieval, and confirming and selecting the credible electronic materials needing to be reused by window personnel.
7. And acquiring a second hash value of the current user from the block chain node, and judging whether the first hash value and the second hash value are the same, if so, judging that the credible electronic material of the current user is not tampered, and multiplexing the electronic material.
8. And establishing a click relationship bipartite graph of the government affair service affair material list and the credible electronic material according to the credible electronic material selection event of the window personnel, and storing the click relationship bipartite graph in a relational server. The storage content mainly comprises government affair service affair codes and names, material names, selected credible electronic material Hash, event occurrence time and the like.
9. And optimizing a full-text retrieval algorithm according to the established relational bipartite graph, adding a bipartite graph matching result on the basis of the elastic search full-text retrieval, and combining the results for sequencing and outputting. The correlation of the relationship bipartite graph positively correlates with the number of times of multiplexing the matter material and the electronic material, and approaches 1 when the number of times of multiplexing reaches a certain number of times. In consideration of the above characteristics, the correlation with the number of multiplexing times may be expressed by a hyperbolic tangent function, where n is the number of multiplexing times, and when n is 0, y is 0; when n is 1, y is 0.76; when n is 2, y is 0.96; when n is 3, y is 0.995, which is substantially close to 1, in this case n is not less than 0:
EXAMPLE III
Referring to fig. 2, a trusted electronic material sharing device 1 based on a block chain includes a memory 2, a processor 3, and a computer program stored in the memory 2 and executable on the processor 3, wherein the processor 3 implements the steps of the first embodiment when executing the program.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (10)

1. A credible electronic material sharing method based on a block chain is characterized by comprising the following steps:
s1, according to the signature information and the electronic material of the first user, after the digital signature is carried out by the CA of the second user, a credible electronic material is formed;
s2, storing the credible electronic material to a first server;
s3, sending the trusted electronic materials to a second server, so that the second server calculates hash values of the trusted electronic materials, stores the hash values into block chain nodes, and stores corresponding relations between the trusted electronic materials in the first server and the hash values in the block chain nodes in a relational server.
2. The blockchain-based trusted electronic material sharing method according to claim 1, wherein the trusted electronic material includes signature information of a first user, electronic material, expiration date, usage scope manifest of electronic material, and CA of a second user.
3. The method according to claim 1, wherein the calculating the hash value of the trusted electronic material by the second server specifically comprises:
the second server calculates a hash value of the trusted electronic material by a SM3 cryptographic hash algorithm.
4. The method for the block chain-based trusted electronic material sharing according to claim 1, further comprising the steps of:
s4, obtaining the trusted electronic material of the current user from the first server, and sending the trusted electronic material to the second server, so that the second server calculates a first hash value of the trusted electronic material of the current user;
s5, obtaining a second hash value of the current user from the block chain node, and judging whether the first hash value and the second hash value are the same, if so, judging that the credible electronic material of the current user is not tampered and can be multiplexed.
5. The method according to claim 4, wherein the obtaining of the trusted electronic material of the current user from the first server specifically comprises:
and obtaining the credible electronic material of the current user from the first server through Elasticissearch full-text retrieval.
6. A block chain based trusted electronic material sharing apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of:
s1, according to the signature information and the electronic material of the first user, after the digital signature is carried out by the CA of the second user, a credible electronic material is formed;
s2, storing the credible electronic material to a first server;
s3, sending the trusted electronic materials to a second server, so that the second server calculates hash values of the trusted electronic materials, stores the hash values into block chain nodes, and stores corresponding relations between the trusted electronic materials in the first server and the hash values in the block chain nodes in a relational server.
7. The blockchain-based trusted electronic material sharing apparatus according to claim 6, wherein the trusted electronic material includes signature information of a first user, electronic material, expiration date, usage scope list of the electronic material, and CA of a second user.
8. The device for sharing trusted electronic material based on blockchain according to claim 6, wherein the second server calculates the hash value of the trusted electronic material by specifically:
the second server calculates a hash value of the trusted electronic material by a SM3 cryptographic hash algorithm.
9. The device for the block chain-based trusted electronic material sharing according to claim 6, further comprising the steps of:
s4, obtaining the trusted electronic material of the current user from the first server, and sending the trusted electronic material to the second server, so that the second server calculates a first hash value of the trusted electronic material of the current user;
s5, obtaining a second hash value of the current user from the block chain node, and judging whether the first hash value and the second hash value are the same, if so, judging that the credible electronic material of the current user is not tampered and can be multiplexed.
10. The device for sharing trusted electronic materials based on blockchain according to claim 9, wherein the obtaining of the trusted electronic materials of the current user from the first server specifically comprises:
and obtaining the credible electronic material of the current user from the first server through Elasticissearch full-text retrieval.
CN202110052976.3A 2021-01-15 2021-01-15 Credible electronic material sharing method and device based on block chain Pending CN112766900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110052976.3A CN112766900A (en) 2021-01-15 2021-01-15 Credible electronic material sharing method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110052976.3A CN112766900A (en) 2021-01-15 2021-01-15 Credible electronic material sharing method and device based on block chain

Publications (1)

Publication Number Publication Date
CN112766900A true CN112766900A (en) 2021-05-07

Family

ID=75700832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110052976.3A Pending CN112766900A (en) 2021-01-15 2021-01-15 Credible electronic material sharing method and device based on block chain

Country Status (1)

Country Link
CN (1) CN112766900A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783447A (en) * 2019-01-23 2019-05-21 北京邮电大学 Electronics license deposits card method, acquisition methods, device, system and electronic equipment
CN110110552A (en) * 2019-04-30 2019-08-09 佛山科学技术学院 A kind of electronics license data sharing method and system based on block chain
CN111126950A (en) * 2019-12-10 2020-05-08 支付宝(杭州)信息技术有限公司 Service processing method, device and equipment based on block chain
CN111368324A (en) * 2018-12-25 2020-07-03 北京思源政通科技集团有限公司 Credible electronic license platform system based on block chain and authentication method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111368324A (en) * 2018-12-25 2020-07-03 北京思源政通科技集团有限公司 Credible electronic license platform system based on block chain and authentication method thereof
CN109783447A (en) * 2019-01-23 2019-05-21 北京邮电大学 Electronics license deposits card method, acquisition methods, device, system and electronic equipment
CN110110552A (en) * 2019-04-30 2019-08-09 佛山科学技术学院 A kind of electronics license data sharing method and system based on block chain
CN111126950A (en) * 2019-12-10 2020-05-08 支付宝(杭州)信息技术有限公司 Service processing method, device and equipment based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姚前: "《数字货币初探》", 31 May 2018, 中国金融出版社 *

Similar Documents

Publication Publication Date Title
US20230410215A1 (en) Cryptographic method and system for secure extraction of data from a blockchain
CN109981750B (en) Business process system, business data processing method and device
JP2023089207A (en) Consolidated blockchain-based data transfer control method and system
Anagnostopoulos et al. Persistent authenticated dictionaries and their applications
CN109933629B (en) Data synchronization method and device, computer equipment and readable storage medium
CN110321735B (en) Business handling method, system and storage medium based on zero knowledge certification
CN110135194B (en) Block chain-based industrial internet digital object management method
EP3709568A1 (en) Deleting user data from a blockchain
Daneshgar et al. Blockchain: a research framework for data security and privacy
US8214646B2 (en) Bundle verification
CN110197346A (en) Logistic track and the method traced to the source, application server, block chain node and medium
CN110109874A (en) A kind of non-stop layer distributed document retrieval method based on block chain
CN103067363A (en) Index conversion method for public data integrity checking
CN109634959A (en) A kind of block index method and block index device
CN112417517A (en) Data standard management method based on block chain
CN103235918B (en) The collection method of trusted file and system
CN104394166B (en) The certificate false proof Verification System and method of facing moving terminal under a kind of cloud environment
Tapas et al. Blockchain-based publicly verifiable cloud storage
Xu et al. Trusted and flexible electronic certificate catalog sharing system based on consortium blockchain
CN115114372A (en) Data processing method, device and equipment based on block chain and readable storage medium
CN111949634A (en) Method for synchronously migrating block chain data
CN112766900A (en) Credible electronic material sharing method and device based on block chain
CN112541727A (en) Government affair data co-construction sharing method based on multi-block chain association technology
CN116596551A (en) Supply chain product tracing method based on block chain, storage medium and electronic equipment
CN113643032B (en) Information processing method, device and data management system based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210507

RJ01 Rejection of invention patent application after publication