The invention discloses a data transmission method for reliable power remote meter reading, which comprises the following steps: step one, the introduction of remote meter reading terminal terminal password, at the time of installation, which set the terminal password to the terminal, and at the same time in the terminal and the billing center database to preserve the terminal code; step two, the remote meter reading terminal meter data after combining the terminal password and meter data, make SHA256 operation, together with the abstract; step three, the remote meter reading terminal, data transmission, and will contain the abstract meter data packet transmission to the billing center, the terminal code transmission; step four, the billing center receives a message, with the meter reading terminal password stored in local data message and return the remote meter reading terminal in the SHA256 operation, the message will compare results and feedback in the remote meter reading terminal. The invention has the advantages of strong anti data tampering ability, ingenious design and easy implementation; it is suitable for the communication industry.
【技术实现步骤摘要】
一种电力远程抄表中数据可信传输方法
本专利技术涉及一种电力远程抄表中数据可信传输方法。
技术介绍
随着物联网技术的发展,原先电力系统需要人工上门抄表的方式,逐渐被远程抄表所替代。远程抄表系统由远程抄表终端以及传输网络组成。传输网络的出现,使得抄表数据面临数据有可能在传输过程中被篡改的风险,对用户和电力企业均产生极大的危害。所以,数据可信传输机制成为一个迫切需要解决的问题。
技术实现思路
本专利技术的目的是一种电力远程抄表中数据可信传输方法,解决现有抄表数据面临数据有可能在传输过程中被篡改的风险,对用户和电力企业均产生极大的危害的问题。本专利技术解决其技术问题所采用的技术方案是:一种电力远程抄表中数据可信传输方法,包括如下步骤:步骤一、远程抄表终端引入终端密码,在安装时,即对终端设置终端密码,并同时在终端和计费中心数据库中保存该终端密码;步骤二、远程抄表终端产生抄表数据后,结合终端密码和抄表数据,一起做SHA256运算,得到摘要;步骤三、远程抄表终端传输数据时,将包含摘要和抄表数据的报文传输回计费中心,终端密码不传输;步骤四、计费中心收到报文后,结合本地保存的终端密码和远程抄表终端回传的报文中的抄表数据,一起做SHA256运算,将结果与远程抄表终端回传的报文中的摘要比较;如果一致,则抄表数据正确;如不一致,则抄表数据已经被篡改,本次报文中的抄表数据不可信并丢弃,计费中心等待后续远程抄表终端再次传输的数据。进一步的,其中SHA256运算方法如下:定义8个32bit的常数a=0x6A09E667b=0xBB67AE85c=0x3C6EF372d=0xA54FF53A ...
【技术保护点】
一种电力远程抄表中数据可信传输方法,其特征在于:包括如下步骤:步骤一、远程抄表终端引入终端密码,在安装时,即对终端设置终端密码,并同时在终端和计费中心数据库中保存该终端密码;步骤二、远程抄表终端产生抄表数据后,结合终端密码和抄表数据,一起做SHA256运算,得到摘要;步骤三、远程抄表终端传输数据时,将包含摘要和抄表数据的报文传输回计费中心,终端密码不传输;步骤四、计费中心收到报文后,结合本地保存的终端密码和远程抄表终端回传的报文中的抄表数据,一起做SHA256运算,将结果与远程抄表终端回传的报文中的摘要比较;如果一致,则抄表数据正确;如不一致,则抄表数据已经被篡改,本次报文中的抄表数据不可信并丢弃,计费中心等待后续远程抄表终端再次传输的数据。
【技术特征摘要】
1.一种电力远程抄表中数据可信传输方法,其特征在于:包括如下步骤:步骤一、远程抄表终端引入终端密码,在安装时,即对终端设置终端密码,并同时在终端和计费中心数据库中保存该终端密码;步骤二、远程抄表终端产生抄表数据后,结合终端密码和抄表数据,一起做SHA256运算,得到摘要;步骤三、远程抄表终端传输数据时,将包含摘要和抄表数据的...
【专利技术属性】
技术研发人员:胡振斌,邵名声,卓文合,于浩,王阳,程金松,朱兵,李宏山,宋浩杰,唐波,叶水勇,郑国华,韩辉,朱笔辉,郑瑾,
申请(专利权)人:国网安徽省电力公司黄山供电公司,国家电网公司,
类型:发明
国别省市:安徽,34
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。