CN110995442A - 一种基于区块链加密的工程验评数据处理方法 - Google Patents

一种基于区块链加密的工程验评数据处理方法 Download PDF

Info

Publication number
CN110995442A
CN110995442A CN201911171113.7A CN201911171113A CN110995442A CN 110995442 A CN110995442 A CN 110995442A CN 201911171113 A CN201911171113 A CN 201911171113A CN 110995442 A CN110995442 A CN 110995442A
Authority
CN
China
Prior art keywords
encryption
evaluation data
block chain
block
information
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
CN201911171113.7A
Other languages
English (en)
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.)
State Grid Shandong Electric Power Co Construction Co
Original Assignee
State Grid Shandong Electric Power Co Construction Co
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 State Grid Shandong Electric Power Co Construction Co filed Critical State Grid Shandong Electric Power Co Construction Co
Priority to CN201911171113.7A priority Critical patent/CN110995442A/zh
Publication of CN110995442A publication Critical patent/CN110995442A/zh
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • H04L9/3066Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy involving algebraic varieties, e.g. elliptic or hyper-elliptic curves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Algebra (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Storage Device Security (AREA)

Abstract

本发明涉及电力部门工程管理和计算机技术应用领域,具体涉及一种基于区块链加密的验评数据处理方法,包括:以区块为单位在服务器中获得区块链中的验评项目;将上述区块进行分割并一一标记;每组验评数据均与标记后的区块一一对应且加密验证后写入,得到新的区块;将新的区块再次存储于终端内,形成新的区块链。该方法能够提高数据安全性、一致性,同时能方便数据的交互、查阅。

Description

一种基于区块链加密的工程验评数据处理方法
技术领域
本发明涉及电力部门工程管理和计算机技术应用领域,具体涉及一种基于区块链加密的工程验评数据处理方法。
背景技术
电力部门涉及很多工程管理项目,都需要验评人员在不同的阶段进行检验、评价,录入数据,所形成的新的数据都需要存储、查询。当前验评数据仅仅通过PC端文档存储,存在以下问题:
(1)经手多个不同人员的逐次使用和录入信息,数据很容易被篡改,导致数据不安全、前后不一致;
(2)在各个部门之间依次传输后才能得到最终的数据,流程繁杂,数据的交互性能差,一线人员无法了解数据整体情况,从而无法对工程项目的问题及时反应;
(4)数据处理方式单一,一旦损坏数据无法找回,十分危险。
发明内容
为了解决上述问题,本发明提供了一种基于区块链加密的工程验评数据处理方法,提高数据安全性、一致性,同时能方便数据的交互、查阅。本发明采用的技术方案如下:
一种基于区块链加密的验评数据处理方法,包括:
以区块为单位在服务器中获得区块链中的验评项目;
将上述区块进行分割并一一标记;
每组验评数据均与标记后的区块一一对应且加密验证后写入,得到新的区块;
将新的区块再次存储于终端内,形成新的区块链。
所述加密验证的过程包括:
设置加密参数:定义椭圆曲线E(F q )方程的两个元素a,b及基点和阶数,将有限域F q 作为加密参数,对该参数采用SM3算法进行HASH运算,得到比特串Z A
数字签名的加密生成:通过对比特串Z A 的运算,实现对验评数据的加密并得到加密信息;
数字签名的认证:将加密信息与终端内待验证的信息进行对比认证,若认证成立则终端接受加密信息。
所述加密信息的获得方法为:定义验评数据为M,进行以下运算
Figure 100002_DEST_PATH_IMAGE002
其中k为随机数;
r和s转化为字节串后得到加密信息(r,s)。
所述对比认证的方法为:定义待验证的信息M为M`、加密信息(r,s)为(r`,s`),进行以下运算
Figure 100002_DEST_PATH_IMAGE004
若R=r`成立,则认证通过;其中PA为算法公钥。
本发明的有益效果是: 通过对上传数据的加密,提高了数据的唯一性和安全性,避免数据篡改;同时将不同组的数据整合在一起形成链接,能够实现多个节点任意时间的录入,缩减数据形成的周期,便于查阅。
附图说明
图1为本发明的区块链结构示意图。
具体实施方式
下面结合附图对本发明进一步解释说明。
一种基于区块链加密的验评数据处理方法,包括:
以区块为单位在服务器中获得区块链中的验评项目;
将上述区块进行分割并一一标记;
每组验评数据均与标记后的区块一一对应且加密验证后写入,得到新的区块;
将新的区块再次存储于终端内,形成新的区块链。
所述加密验证的过程包括:
设置加密参数:定义椭圆曲线E(F q )方程的两个元素a,b及基点和阶数,将有限域F q 作为加密参数,对该参数采用SM3算法进行HASH运算,得到比特串Z A
数字签名的加密生成:通过对比特串Z A 的运算,实现对验评数据的加密并得到加密信息;
数字签名的认证:将加密信息与终端内待验证的信息进行对比认证,若认证成立则终端接受加密信息。
所述加密信息的获得方法为:定义验评数据为M,进行以下运算
Figure 820324DEST_PATH_IMAGE002
其中k为随机数;
r和s转化为字节串后得到加密信息(r,s)。
所述对比认证的方法为:定义待验证的信息M为M`、加密信息(r,s)为(r`,s`),进行以下运算
Figure DEST_PATH_IMAGE005
若R=r`成立,则认证通过;其中PA为算法公钥。
该方法能够保证验评数据始终唯一,防止验评数据后期篡改,提升验评过程监察监管力度。

Claims (4)

1.一种基于区块链加密的验评数据处理方法,其特征在于,包括:
以区块为单位在服务器中获得区块链中的验评项目;
将上述区块进行分割并一一标记;
每组验评数据均与标记后的区块一一对应且加密验证后写入,得到新的区块;
将新的区块再次存储于终端内,形成新的区块链。
2.根据权利要求1所述的验评数据处理方法,其特征在于,所述加密验证的过程包括:
设置加密参数:定义椭圆曲线E(F q )方程的两个元素a,b及基点和阶数,将有限域F q 作为加密参数,对该参数采用SM3算法进行HASH运算,得到比特串Z A
数字签名的加密生成:通过对比特串Z A 的运算,实现对验评数据的加密并得到加密信息;
数字签名的认证:将加密信息与终端内待验证的信息进行对比认证,若认证成立则终端接受加密信息。
3.根据权利要求2所述的验评数据处理方法,其特征在于,所述加密信息的获得方法为:定义验评数据为M,进行以下运算
Figure DEST_PATH_IMAGE002
其中k为随机数;
r和s转化为字节串后得到加密信息(r,s)。
4.根据权利要求3所述的验评数据处理方法,其特征在于,所述对比认证的方法为:定义待验证的信息M为M`、加密信息(r,s)为(r`,s`),进行以下运算
Figure DEST_PATH_IMAGE004
若R=r`成立,则认证通过;其中PA为算法公钥。
CN201911171113.7A 2019-11-26 2019-11-26 一种基于区块链加密的工程验评数据处理方法 Pending CN110995442A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911171113.7A CN110995442A (zh) 2019-11-26 2019-11-26 一种基于区块链加密的工程验评数据处理方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911171113.7A CN110995442A (zh) 2019-11-26 2019-11-26 一种基于区块链加密的工程验评数据处理方法

Publications (1)

Publication Number Publication Date
CN110995442A true CN110995442A (zh) 2020-04-10

Family

ID=70086945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911171113.7A Pending CN110995442A (zh) 2019-11-26 2019-11-26 一种基于区块链加密的工程验评数据处理方法

Country Status (1)

Country Link
CN (1) CN110995442A (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108765058A (zh) * 2018-04-28 2018-11-06 中国科学院信息工程研究所 一种基于区块链的制造环节多实体安全协同方法
CN109064031A (zh) * 2018-08-03 2018-12-21 四川民工加网络科技有限公司 基于区块链的项目干系人信用评价方法、区块链及存储介质
CN109636219A (zh) * 2018-12-20 2019-04-16 众安信息技术服务有限公司 基于区块链的评分方法及装置
US20190205873A1 (en) * 2017-12-29 2019-07-04 Ebay, Inc. Secure control of transactions using blockchain
CN110457396A (zh) * 2019-08-15 2019-11-15 北京北科融智云计算科技有限公司 一种基于区块链科研数据处理方法、装置、设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190205873A1 (en) * 2017-12-29 2019-07-04 Ebay, Inc. Secure control of transactions using blockchain
CN108765058A (zh) * 2018-04-28 2018-11-06 中国科学院信息工程研究所 一种基于区块链的制造环节多实体安全协同方法
CN109064031A (zh) * 2018-08-03 2018-12-21 四川民工加网络科技有限公司 基于区块链的项目干系人信用评价方法、区块链及存储介质
CN109636219A (zh) * 2018-12-20 2019-04-16 众安信息技术服务有限公司 基于区块链的评分方法及装置
CN110457396A (zh) * 2019-08-15 2019-11-15 北京北科融智云计算科技有限公司 一种基于区块链科研数据处理方法、装置、设备和存储介质

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
姚前: "《数字货币研究前沿 第1辑》", 30 June 2018 *
彭可竹: "基于区块链技术的输变电工程评审管理方案", 《湖南电力》 *

Similar Documents

Publication Publication Date Title
US11356280B2 (en) Personal device security using cryptocurrency wallets
US11936774B2 (en) Determining a common secret for the secure exchange of information and hierarchical, deterministic cryptographic keys
CN110535662B (zh) 基于区块链数据存证服务实现用户操作记录的方法及系统
CN100536393C (zh) 一种基于秘密共享密码机制的用户管理方法
CN108540291B (zh) 基于身份的云存储中数据完整性验证方法
CN107395368A (zh) 无介质环境中的数字签名方法及解密封方法与解密方法
CN110830235B (zh) 一种基于区块链的智能车联网可信数据加密方法和系统
CN103413109A (zh) 一种无线射频识别系统的双向认证方法
CN106850190A (zh) 一种对基于区块链数字凭证的销毁方法
CN113067702B (zh) 支持密文等值测试功能的身份基加密方法
CN112732695B (zh) 一种基于区块链的云存储数据安全去重方法
CN107566127B (zh) 一种iki可信数字标识的生成方法及使用方法
CN113313488A (zh) 一种基于区块链与同态加密的数据隐私保护方法
CN104601563A (zh) 基于mle的可公开验证云存储数据持有性的方法
CN109978543B (zh) 一种合同签署的方法、装置、电子设备及存储介质
CN108847933B (zh) 基于sm9密码算法的标识签发方法
CN111597521B (zh) 一种变电站移动终端数据安全处理方法及系统
CN107733634A (zh) 一种基于置换耦合的轻量化混沌认证加密方法
CN117640150A (zh) 终端认证方法、碳排放监管一体化平台和终端认证装置
CN110995442A (zh) 一种基于区块链加密的工程验评数据处理方法
CN104363089B (zh) 一种基于地理位置信息实现模糊金库的方法
CN116069856A (zh) 一种基于区块链的数据完整性验证方法及系统
CN114244635B (zh) 通信设备的加密型数据编码方法
Kebede et al. Reshaping IOT Through Blockchain
CN110336678B (zh) 一种针对车联网中大批量数据防篡改的签名算法

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: 20200410

RJ01 Rejection of invention patent application after publication