WO2020140413A1 - 一种智慧城市评估指标数据管理方法及系统 - Google Patents

一种智慧城市评估指标数据管理方法及系统 Download PDF

Info

Publication number
WO2020140413A1
WO2020140413A1 PCT/CN2019/094705 CN2019094705W WO2020140413A1 WO 2020140413 A1 WO2020140413 A1 WO 2020140413A1 CN 2019094705 W CN2019094705 W CN 2019094705W WO 2020140413 A1 WO2020140413 A1 WO 2020140413A1
Authority
WO
WIPO (PCT)
Prior art keywords
city
data
blockchain
sampling point
index
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.)
Ceased
Application number
PCT/CN2019/094705
Other languages
English (en)
French (fr)
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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Publication of WO2020140413A1 publication Critical patent/WO2020140413A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof

Definitions

  • the present invention relates to the field of smart cities, and in particular to a smart city assessment index data management method and system.
  • Smart city refers to the support of information and communication technology, through the perception, transmission and utilization of information, to achieve information sharing and business collaboration among city systems, improve the living standard and quality of citizens, and improve the efficiency of city operation management and public service. Enhance the quality of economic development and industrial competitiveness, and realize the scientific and sustainable development of cities.
  • the smart city assessment system uses a set of indicators to improve the information and communication system of the smart city and improve the living standards of the city’s citizens, the efficiency of the city’s operation and management and the level of public services, the promotion of economic development and industrial competitiveness, and the city’s A reasonable assessment of sustainable development.
  • the assessment of smart cities translates into the following steps:
  • I k is the basis for comprehensive evaluation of cities.
  • ITU-T Y.9603/L.1603 has a clear definition for each smart city index I k .
  • Ensuring the uniformity and formatting of I k , as well as being not tampered with during the transmission process, and being able to perform retrieval and backtracking are the foundations for the comprehensive analysis of urban indicators.
  • the collected D k,1 , D k,2 ,..., D k,n data are in various forms, which may be electronic documents, or may be directly derived from the collection equipment
  • the original data may be a paper form collected manually, so that the formation of I k does not have a normalized unified form.
  • the object of the present invention is to provide a smart city evaluation index data management method and system, which encapsulates and stores city index data through a unified data structure, facilitates the electronic evaluation of the city, and adopts asymmetric encryption And blockchain technology guarantees data security and traceability.
  • a smart city assessment index data management method including the steps of:
  • Collect city index data at each city sampling point normalize the city index assignment data according to a unified data structure, and bind with the identity information of each city sampling point;
  • Hash calculation of the city index assignment data to form a data summary using asymmetric encryption to encrypt the data summary and city index assignment data separately, and form an encrypted data package to upload to the blockchain;
  • the smart city platform After the smart city platform extracts the encrypted data package and decrypts it, plus the information of the blockchain where it is located and the backtracking verification information, the package is stored in a unified format.
  • the unified data structure is defined according to the city index classification, and the content includes: country and area number, city number, block division code, IPv4/IPv6 address, time, city index type number, city index number, city index value , Assigned unit, extended section length and extended section data; where the city number follows the national standard.
  • the process of collecting the city index data includes: collecting the city index data by accessing the original database of the city sampling point and/or inputting, discarding the city index data that does not comply with the relevant ITU-T standards or national standards, and will meet the standards The city index data is stored.
  • the use of asymmetric encryption includes: each city sampling point generates a pair of public and private keys, the smart city platform generates a pair of public and private keys, the city sampling point generates a public key and the smart city platform generates a public key
  • the keys are broadcast to all nodes on the blockchain, and the private keys are kept separately; and each city sampling point and smart city platform use the same key generation mechanism to generate the public key pair and the private key pair.
  • each city sampling point uses the public key generated by the smart city platform to encrypt the city index assignment data, uses the private key generated by itself to complete the data digest encryption, and packages the encrypted data to the blockchain.
  • the process of packaging and uploading encrypted data to the blockchain includes: each city sampling point initiates an access request to the blockchain and the blockchain completes the legality verification, sends the encrypted data packet to the blockchain node, and It is routed to the consensus accounting node corresponding to the blockchain, and according to the consensus mechanism of the blockchain, the data packets in each time period are formed into blocks and added to the blockchain, and the update of the blockchain database is completed.
  • a smart city assessment indicator data management system including:
  • Sampling point processing module which is set at each city sampling point, is used to collect city index data, form city index assignment data according to a unified data structure, and the city index assignment data is bound to the identity information of the sampling point processing module where it is located;
  • the sampling point processing module is also used to hash the city index assignment data to form a data summary, and use asymmetric encryption to encrypt the data summary and the city index assignment data separately, and form an encrypted data package to upload to the blockchain ;
  • the city platform processing module which is set on the smart city platform, is used to extract and decrypt the encrypted data package from the blockchain to complete the credibility and consistency verification, and is also used to add the encrypted data package on the blockchain Information and backtracking verification information are packaged and stored in a unified format.
  • the urban platform processing module is used to generate a pair of public and private keys, and broadcast the public key to each node on the blockchain;
  • the sampling point processing module is used to generate a pair of public and private keys,
  • the public key is broadcast to each node on the blockchain;
  • the public key generated by the city platform processing module is used to complete the encryption of the city index assignment data, and the private key generated by itself is used to complete the data digest encryption.
  • the sampling point processing module includes:
  • a collection unit which is used to extract and/or receive input city index data from a database of city sampling points
  • Sampling point calculation unit which is used to filter the city index data according to the range set by the relevant ITU-T standards or national standards, form the city index assignment data according to the set normalization algorithm, and form the encrypted data package and upload To the blockchain;
  • a sampling point storage unit which is used to temporarily store various data generated by the collection unit and the calculation unit;
  • the sampling point blockchain unit is used to complete data encryption, complete local public key upload and private key storage, and identity authentication and link management for accessing the blockchain.
  • the urban platform processing module includes:
  • Platform blockchain unit which is used to complete the public key and key management of the urban platform processing module, extract and decrypt encrypted data packets from the blockchain, complete the decryption of the data, and implement the traceback and verification of the data;
  • Platform calculation unit which is used to complete the calculation of data according to the strategy and instructions of the platform blockchain unit;
  • the platform storage unit is used to complete the temporary storage of various intermediate results.
  • the unified data structure is defined according to the city index classification, and the content includes: country and area number, city number, block division code, IPv4/IPv6 address, time, city index type number, city index number, city index value , Assigned unit, extended section length and extended section data; where the city number follows the national standard.
  • Standardization facilitates the electronic evaluation of cities and facilitates the comprehensive analysis of various data of city indicators by means of information.
  • FIG. 1 is a schematic structural diagram of a city index data storage frame in an embodiment of the present invention
  • FIG. 2 is a schematic diagram of application of a smart city assessment indicator data management system according to an embodiment of the present invention.
  • the first embodiment of the present invention provides a smart city assessment index data management method, including the steps of:
  • V k Collect the city index data (D k,1 , D k,2 ,..., D k,n ) at each city sampling point to calculate I k , and then normalize it according to the unified data structure to form the city index assignment Data V k , which binds the city index assignment data V k to the identity information of each city sampling point; where k is the serial number of the city index, I k represents the kth city index, and V k represents the kth city index assignment data And n is an integer.
  • the city index assignment data is hashed to form a data summary, and the data summary and city index assignment data are encrypted using asymmetric encryption, and the encrypted data is packaged to form an encrypted data package, which is then uploaded to the blockchain .
  • the smart city platform After extracting and decrypting the encrypted data package, the smart city platform adds the information of the blockchain where it is located and the backtracking verification information, and uses a unified format to package and store.
  • the hash algorithm may be MD5, SHA1 or HMAC.
  • the asymmetric algorithm may be RSA or ECC.
  • the second embodiment provides a method for collecting city index data.
  • the city index data can be collected by accessing the original database of the city sampling point, the city index data can also be obtained by manual input, or both methods can be used in combination.
  • the qualified city indicator data is defined according to the definition of ITU-T Y.9603/L.1603 city indicator classification, and the city indicator assignment data is obtained.
  • the third embodiment provides a data structure that can use a binary code to normalize the format of a city index to form city index assignment data.
  • the data structure of the city index assignment data is shown at the bottom of Figure 1, and the specific content includes:
  • County/region 2 bytes according to internationally accepted country and region numbers
  • City City number according to the national standard, 2 bytes;
  • IPv4/IPv6 address 16 bytes
  • Time time (using Greenwich Mean Time), 8 bytes;
  • Topic city index type number according to the code specified in ITU-T 1603, 1 byte;
  • Indicator the city indicator number according to the code specified in ITU-T 1603, 1 byte;
  • Unit Unit of assignment, 1 byte
  • Length the length of the extended section, 1 byte
  • Value2 Extended sector data, variable-length bytes.
  • the fourth embodiment of the present invention provides an asymmetric encryption method, which specifically includes:
  • Each city sampling point generates a pair of public and private keys, and the public key and private key generated by each city sampling point are unique.
  • the public key of each city sampling point must be broadcast to each node on the blockchain.
  • the smart city platform taking a city sampling point to generate a pair of public key c and private key c as an example, the smart city platform generates a pair of public key p and private key p, both public key c and public key p are broadcast to the blockchain At each node, the private key c and the private key p are kept separately.
  • the city sampling point and the smart city platform use the same key generation mechanism to generate public key pairs and private key pairs.
  • Each city sampling point uses the public key p generated by the smart city platform to complete the city index assignment number encryption, and uses the private key c generated by itself to complete the data digest encryption, and packages the encrypted data into an encrypted data package and uploads it to the blockchain.
  • the data structure of the encrypted data packet is shown in the middle of Figure 1.
  • Encrypted indicator city index assignment data encrypted by the city platform public key p, variable length bytes
  • Encrypted Digest encrypted by the city sampling point private key c Data summary, 32 bytes.
  • the fifth embodiment of the present invention provides encrypted data packets uploaded to the blockchain and subsequent processes.
  • each city sampling point After finding any available blockchain node in the blockchain, each city sampling point uploads the pre-stored authentication information to the blockchain node, and the blockchain node pre-stores the uploaded authentication information with the blockchain. Compare the authentication information, and coordinate and confirm the legality of the urban processing module according to the preset consensus mechanism of the selected blockchain.
  • the blockchain node receives the encrypted data packet from the city sampling point, and the data packet is routed to the corresponding consensus accounting node of the blockchain, and the data is stored according to the blockchain consensus mechanism.
  • the above authentication information may be hardware bound to any unmodifiable information.
  • the blockchain will package the encrypted data packets received within a certain period of time to form a new block and join the blockchain, and complete the update of the blockchain database.
  • Each block contains information recognized within a certain period of time, that is, each block is formed by time stamp proof and information binding.
  • the above consensus mechanism includes but is not limited to the following methods: PoW (Proof of Work, Proof of Work), PoS (Proof of Stake, Proof of Stake), DPos (Delegated Proof of Stake, Proof of Stake), Ripple Consensus (Ripple Consensus algorithm), PBFT (Practical Byzantine Fault Tolerance, practical Byzantine fault tolerance algorithm), DAG (Directed Acyclic Graph, directed acyclic graph), Hashgraph (hash graph), etc.
  • the smart city platform searches for the required block according to the agreed requirements (for example, according to the time requirements), and compares the data summary in the block with the hash operation result generated by the blockchain itself. Only if they are consistent, the area The data in it is considered valid.
  • the smart city platform takes out the encrypted data package uploaded by the city sampling point, decrypts the data summary using the public key c of the city sampling point to obtain the original data summary, and then decrypts the city index assignment data using its own private key p to obtain the original The city index assignment data, and then hash the original city index assignment data, compare the result of the operation with the original data summary, if it is consistent, send it to the relevant analysis system of the smart city platform, if it is inconsistent, discard it, and request
  • the city sampling point re-uploads the encrypted data package to the blockchain according to the previous steps.
  • the smart city platform decrypts the encrypted data package, adds the location information of the blockchain described above, uses the key of the data record in the blockchain as the backtracking code, and the hash value of the platform private key signature as the check code, according to ç ⁇
  • the top format in Figure 1 is stored in the database to which the smart city platform belongs for future retrieval and verification.
  • the specific content includes:
  • Block Recorder The length and offset value of the block in the blockchain; 4 bytes.
  • City Data used to encapsulate encrypted city index data; variable length.
  • Chain ID used to identify the blockchain URL address, 1-1024 bytes.
  • TracingCode Backtracking code, used to find and backtrack data, using keywords of data records in the blockchain; 32 bytes.
  • Check Code Check code, used to check the consistency of the block, using the platform private key signature hash value; 32 bytes.
  • the sixth embodiment of the present invention provides a smart city evaluation index data management system, including a sampling point processing module and an urban platform processing module.
  • the sampling point processing module is set at each city sampling point, used to collect city index data, and form the city index assignment data according to a unified data structure, and the city index assignment data is bound to the identity information of the sampling point processing module where it is located.
  • the sampling point processing module is also used to hash the city index assignment data to form data requirements.
  • Asymmetric encryption is used to encrypt the data summary and city index data respectively, and the encrypted data is packaged and uploaded to the blockchain.
  • the city platform processing module is set on the smart city platform to extract and decrypt the packaged data from the blockchain to complete the credibility and consistency verification. It is also used to add the information and backtracking of the blockchain where the packaged data is located.
  • the verification information is packaged and stored in a unified format.
  • the urban platform processing module is also used to generate a pair of public key p and private é ⁇ p, broadcast public key p to the blockchain; sampling point processing module is used to generate a pair of public key c and private key c, broadcast public key c To the blockchain.
  • Use the city platform processing module to complete the encryption of the city index data through the generated public key, and use the private key generated by itself to complete the data digest encryption.
  • the sampling point processing module includes an acquisition unit, a sampling point calculation unit, a sampling point storage unit, and a sampling point blockchain unit.
  • the collection unit is used for extracting and/or receiving input city index data from a database of city sampling points.
  • Sampling point calculation unit used to screen the city index data according to the ITU-T related standards or the range set by the national standard, form the city index assignment data according to the set normalization algorithm, and package the encrypted data Upload to the blockchain.
  • the sampling point storage unit is used to temporarily store various data generated by the above-mentioned collection unit and calculation unit.
  • the sampling point blockchain unit is used to complete data encryption, complete storage of local public and private keys, and identity authentication and link management for accessing the blockchain.
  • the above urban platform processing module includes a platform blockchain unit, a platform computing unit and a platform storage unit.
  • the platform blockchain unit is used to complete the management of the public and private keys of the urban platform processing module, extract and decrypt encrypted data packets from the blockchain, complete the decryption of the data, and implement the traceback and verification of the data.
  • the platform calculation unit is used to complete the data combination and calculation according to the strategy and instructions of the platform blockchain unit.
  • the platform storage unit is used to complete the temporary storage of various intermediate results.
  • the above platform blockchain unit has the function of encryption, and the sampling point blockchain unit also has the function of decryption.
  • the city platform processing module can also send encrypted data packets to the blockchain, and the sampling point processing module also You can get encrypted data packets from the blockchain and decrypt them.
  • the city sampling point needs to upload city indicators, and the device is authenticated by the blockchain platform, without the authentication capability provided by a third party; in the data transmission process, the blockchain platform is used to ensure the data transmission and storage. Security and privacy protection; in the post-processing of data, the blockchain platform is used to ensure the traceability and verification of data information. At the same time, the decentralization of the blockchain platform can ensure that there is no bottleneck in device verification and data delivery, and the data is not forged and traceable.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Storage Device Security (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种智慧城市评估指标数据管理方法及系统,涉及智慧城市领域,包括步骤:在各城市采样点采集城市指标数据,按照统一的数据结构归一化形成城市指标赋值数据,并与各城市采样点的身份信息绑定;将城市指标赋值数据经过哈希运算形成数据摘要,使用非对称加密的方式,分别对数据摘要和城市指标赋值数据加密,并形成加密数据包上传到区块链;智慧城市平台提取加密数据包并解密后,加上其所在区块链的信息和回溯校验信息,采用统一格式封装存储。所述方法及系统便于城市评估的电子化,通过非对称加密和区块链技术保证数据的安全性和可回溯性。

Description

一种智慧城市评估指标数据管理方法及系统 技术领域
本发明涉及智慧城市领域,具体来讲涉及一种智慧城市评估指标数据管理方法及系统。
背景技术
智慧城市是指以信息通信技术为支撑,通过对信息的感知、传递和利用,实现城市各系统间的信息共享和业务协同,提高市民生活水平和质量,提升城市运行管理效率和公共服务水平,增强经济发展质量和产业竞争能力,实现城市的科学发展与可持续发展。
智慧城市评估体系利用一套指标对智慧城市的信息通信系统及其对城市市民生活水平的提升、对城市运行管理效率和公共服务水平的提高、对经济发展和产业竞争能力的促进,以及城市的可持续发展进行合理评估。
智慧城市评估指标体系I SC是一个多指标的集合,I SC={I 1,I 2,...,I m},其中m为整数,I k表示第k个指标。智慧城市的评估转化为以下步骤:
(1)确定每个指标I k
(2)确定每个指标I k的计量方法;
(3)收集与每个指标I k相关的数据D k,1,D k,2,...,D k,n
(4)得到每个指标I k的赋值V k
(5)根据评价函数,得到整个指标体系的综合结果。
作为城市指标的I k是城市综合评价的基础,ITU-T Y.9603/L.1603 对每个智慧城市指标I k都有很明确的定义。保证I k的统一性和格式化,以及在传递过程中的不被篡改,并且能够进行检索和回溯是保证城市指标综合分析的基础。由于在形成I k指标过程中,采集的D k,1,D k,2,...,D k,n数据的形式各种各样,可能是电子文档,可能是直接来源于采集设备的原始数据,可能是人工采集的纸张表格,使得I k的形成没有一个归一化的统一形式。如果没有一个统一的数据结构来归一化这些数据,将使得城市的评估无法电子化,也不便于采用信息化的手段来综合分析这些指标数据。同时,提供指标数据的设备通常所处的网络环境并不安全,数据在传递在此过程中会受到各种因数的影响,导致数据质量不可靠,包括网络质量问题导致的数据丢失,或者节点被侵入造成的恶意篡改等,这将直接影响对城市评估的错误判断,给国民经济带来重大损失。
发明内容
针对现有技术中存在的缺陷,本发明的目的在于提供一种智慧城市评估指标数据管理方法及系统,通过统一的数据结构封装及存储城市指标数据,便于城市评估的电子化,通过非对称加密和区块链技术保证数据的安全性和可回溯性。
为达到以上目的,一方面,采取一种智慧城市评估指标数据管理方法,包括步骤:
在各城市采样点采集城市指标数据,按照统一的数据结构归一化形成城市指标赋值数据,并与各城市采样点的身份信息绑定;
将城市指标赋值数据经过哈希运算形成数据摘要,使用非对称加密的方式,分别对数据摘要和城市指标赋值数据加密,并形成加密数据包上传到区块链;
智慧城市平台提取加密数据包并解密后,加上其所在区块链的信 息和回溯校验信息,采用统一格式封装存储。
优选的,所述统一的数据结构按照城市指标分类定义,内容包括:国家和地区编号、城市编号、区块划分代码、IPv4/IPv6地址、时间、城市指标类型编号、城市指标编号、城市指标值、赋值的单位、扩展区段长度和扩展区段数据;其中城市编号遵循所属国家标准。
优选的,采集城市指标数据过程包括:通过接入城市采样点原有数据库和/或输入的方式采集城市指标数据,丢弃不符合ITU-T相关标准或者国家制定标准的城市指标数据,将符合标准的城市指标数据进行存储。
优选的,使用非对称加密方式包括:各城市采样点分别生成一对公钥和私钥,智慧城市平台生成一对公钥和私钥,城市采样点生成的公钥和智慧城市平台生成的公钥均广播到区块链上各节点,私钥各自保留;且各城市采样点和智慧城市平台采用相同的密钥生成机制生成公钥对和私钥对。
优选的,各城市采样点采用智慧城市平台生成的公钥完成城市指标赋值数据加密,采用自身生成的私钥完成数据摘要加密,并将加密后的数据打包上传到区块链。
优选的,加密后的数据打包上传到区块链的过程包括:各城市采样点对区块链发起接入请求并由区块链完成合法性验证,发送加密数据包给区块链节点,并路由至区块链对应的共识记账节点,根据区块链的共识机制将每个时间段内的数据包形成区块加入区块链,并完成区块链数据库的更新。
另一方面,提供一种智慧城市评估指标数据管理系统,包括:
采样点处理模块,其设置于各城市采样点,用于采集城市指标数据,按照统一的数据结构形成城市指标赋值数据,且城市指标赋值数 据与所在采样点处理模块的身份信息绑定;
所述采样点处理模块还用于将城市指标赋值数据经过哈希运算形成数据摘要,使用非对称加密的方式,分别对数据摘要和城市指标赋值数据加密,并形成加密数据包上传到区块链;
城市平台处理模块,其设置于智慧城市平台,用于从区块链中提取、解密所述加密数据包,完成可信性和一致性验证,还用于加上加密数据包所在区块链的信息和回溯校验信息,采用统一格式封装存储。
优选的,城市平台处理模块,用于生成一对公钥和私钥,将公钥均广播到区块链上各节点;所述采样点处理模块用于生成一对公钥和私钥,将公钥广播到区块链上各节点;采用城市平台处理模块生成的公钥完成城市指标赋值数据加密,采用自身生成的私钥完成数据摘要加密。
优选的,所述采样点处理模块包括:
采集单元,其用于从城市采样点的数据库中提取和/或接收输入的城市指标数据;
采样点计算单元,其用于根据ITU-T相关标准或者国家制定标准设定的范围对城市指标数据进行筛选、按照设定的归一化算法形成城市指标赋值数据、以及形成加密数据包并上传到区块链;
采样点存储单元,其用于临时存储所述采集单元和计算单元产生的各种数据;
采样点区块链单元,其用于完成数据的加密、完成本地公钥的上传和私钥的存储、以及接入区块链的身份认证和链路管理。
优选的,所述城市平台处理模块包括:
平台区块链单元,其用于完成城市平台处理模块的公钥和私钥管理,从区块链中提取和解密加密数据包,完成数据的解密,实现对数 据的回溯和校验;
平台计算单元,其用于根据平台区块链单元的策略和指令完成数据的计算;
平台存储单元,其用于完成各种中间结果的临时存储。
优选的,所述统一的数据结构按照城市指标分类定义,内容包括:国家和地区编号、城市编号、区块划分代码、IPv4/IPv6地址、时间、城市指标类型编号、城市指标编号、城市指标值、赋值的单位、扩展区段长度和扩展区段数据;其中城市编号遵循所属国家标准。
上述技术方案中的一个具有如下有益效果:
1、按照统一的数据结构归一化形成城市指标赋值数据,使得目前在城市指标参数不同的采集形式下,为城市指标的处理提供了一种统一的底层数据格式,有利于后期指标采集方式的标准化,便于城市评估的电子化,便于采用信息化的手段来综合分析城市指标的各种数据。
2、按照统一的数据结构归一化形成城市指标赋值数据,还便于通过非对称加密的方式保证数据的保密性,并以一种标准化的数据记录形式在区块链中进行传递。通过非对称加密和区块链技术,保证了数据的可信、可检索和可回溯性。
附图说明
图1为本发明实施例中城市指标数据存储帧结构示意图;
图2为本发明实施例智慧城市评估指标数据管理系统应用示意图。
具体实施方式
以下结合附图及实施例对本发明作进一步详细说明。
本发明第一实施例提供一种智慧城市评估指标数据管理方法,包括步骤:
在各个城市采样点,采集城市指标数据(D k,1,D k,2,...,D k,n)进行计算得到I k,再按照统一的数据结构归一化后形成城市指标赋值数据V k,将城市指标赋值数据V k与各城市采样点的身份信息绑定;其中,k为城市指标的序号,I k表示第k个城市指标,V k表示第k个城市指标赋值数据,且n为整数。
然后,将城市指标赋值数据经过哈希运算形成数据摘要,使用非对称加密的方式,分别对数据摘要和城市指标赋值数据加密,将加密后的数据打包形成加密数据包,再上传到区块链。
智慧城市平台提取加密数据包并解密后,加上其所在区块链的信息和回溯校验信息,并采用统一格式封装存储。
优选的,哈希算法可以是MD5、SHA1或者HMAC。
优选的,非对称算法可以是RSA或ECC。
在上述实施例的基础上,第二实施例中提供了采集城市指标数据的方式。优选的,可以通过接入城市采样点原有数据库的方式采集城市指标数据,还可以通过人工输入得到城市指标数据,也可以两种方式结合使用。
对于采集到的城市指标数据,根据ITU-T相关标准或者国家制定标准的相关取值范围进行比对,丢弃相关取值范围外的城市指标数据,将相关取值范围内的数据作为合格的城市指标数据进行存储,再对合格的城市指标数据按照ITU-T Y.9603/L.1603城市指标分类的定义,得到城市指标赋值数据。
如图1所示,在上述实施例的基础上,第三实施例提供一种数据结构,可以通过采用二进制编码对城市指标进行格式归一化,形成城 市指标赋值数据。城市指标赋值数据的数据结构如图1最下方所示,具体内容包括:
County/region:按照国际通用的国家和地区编号,2字节;
City:按照所属国家标准的城市编号,2字节;
District:按照所属城市采用需要的区块划分代码,2字节;
Site ID:IPv4/IPv6地址,16字节;
Time:时间(采用格林威治时间),8字节;
Topic:按照ITU-T 1603规定代码的城市指标类型编号,1字节;
Indicator:按照ITU-T 1603规定代码的城市指标编号,1字节;
Value1:按照ITU-T 1603规定的城市指标值,2字节;
Unit:赋值的单位,1字节;
Length:扩展区段的长度,1字节;
Value2:扩展区段数据,可变长字节。
基于上述实施例,本发明第四实施例提供一种非对称加密方式,具体包括:
各城市采样点分别生成一对公钥和私钥,并且每个城市采样点生成的公钥和私钥都是独一无二的,各城市采样点的公钥都要广播给区块链上各节点。
本实施例中,以一个城市采样点生成一对公钥c和私钥c为例,智慧城市平台生成一对公钥p和私钥p,公钥c和公钥p都广播到区块链上各节点,私钥c和私钥p各自保留。并且,城市采样点和智慧城市平台采用相同的密钥生成机制,生成公钥对和私钥对。
各城市采样点采用智慧城市平台生成的公钥p完成城市指标赋值数据加密,采用自身生成的私钥c完成数据摘要加密,并将加密后的数据打包形成加密数据包并上传到区块链。加密数据包的数据结构 如图1中部所示,其中,Encrypted indicator data:通过城市平台公钥p加密的城市指标赋值数据,可变长字节;Encrypted Digest:通过城市采样点私钥c加密的数据摘要,32字节。
基于上述实施例,本发明第五实施例中提供加密后的数据包上传到区块链以及后续过程。
各城市采样点找到区块链中任意一个可用的区块链节点后,把预先存储的认证信息上传到区块链节点中,区块链节点把上传的认证信息与区块链中预先存储的认证信息做对比,按照所选择区块链预先设定的共识机制,共同协调确认城市处理模块的合法性。认证通过后,区块链节点接收来自城市采样点的加密数据包,数据包被路由至区块链对应的共识记账节点,根据区块链的共识机制来存储数据。
优选的,上述认证信息可以硬件绑定任何不可修改的信息。
区块链根据本身的共识机制,将在一定时间内收到的加密数据包打包形成新的区块加入区块链,并完成区块链数据库的更新。每一个区块中包含有在一定时间段内被承认的信息,即,每一个区块是通过时间戳证明和信息绑定而形成的。
优选的,上述共识机制包括但不限于以下方式:PoW(Proof of Work,工作量证明)、PoS(Proof of Stake,权益证明)DPos(Delegated Proof of Stake,授权股份证明机制)、Ripple Consensus(瑞波共识算法)、PBFT(Practical Byzantine Fault Tolerance,实用拜占庭容错算法)、DAG(Directed Acyclic Graph,有向无环图)、Hashgraph(哈希图)等。
智慧城市平台按照约定的要求(例如按时间要求)查找需要的区块,将区块中的数据摘要与区块链自己生成的哈希运算结果进行比对,只有在一致的情况下,区块内的数据视为有效。
智慧城市平台取出城市采样点上传的加密数据包,使用城市采样点的公钥c对数据摘要解密,得到原始的数据摘要,然后采用自身的私钥p对城市指标赋值数据进行解密,得到原始的城市指标赋值数据,然后对原始的城市指标赋值数据进行哈希运算,把运算的结果和原始数据摘要进行比对,如果一致则发送到智慧城市平台的相关分析系统,如果不一致则丢弃,并要求城市采样点按照之前的步骤重新上传加密数据包到区块链。
智慧城市平台将加密数据包解密后,加上其所述区块链的位置信息,将区块链中数据记录的关键字作为回溯码、平台私钥签名的哈希值作为校验码,按照图1中最上方的格式存储在智慧城市平台所属的数据库中,以便于未来检索和校验。其中,具体内容包括:
Data recorder:用于指示城市指标数据块的长度和偏移值;4字节。
Block recorder:用于区块链中区块的长度和偏移值;4字节。
City Data:用于封装加密后的城市指标数据;可变长。
Chain ID:用于标识区块链URL地址,1-1024字节。
Tracing Code:回溯码,用于查找和回溯数据,采用区块链中数据记录的关键字;32字节。
Check Code:校验码,用于校验区块的一致性,采用平台私钥签名哈希值;32字节。
如图2所示,本发明第六实施例提供一种智慧城市评估指标数据管理系统,包括采样点处理模块和城市平台处理模块。
其中,采样点处理模块设置在各城市采样点,用于采集城市指标数据,按照统一的数据结构形成城市指标赋值数据,且城市指标赋值数据与所在采样点处理模块的身份信息绑定。采样点处理模块还用于将城市指标赋值数据经过哈希运算形成数据摘要,使用非对称加密的 方式,分别对数据摘要和城市指标数据加密,并将加密后的数据打包上传到区块链。
城市平台处理模块设置于智慧城市平台,用于从区块链中提取、解密打包的数据,完成可信性和一致性验证,还用于加上打包的数据所在区块链的信息和回溯校验信息,采用统一格式封装存储。
其中,城市平台处理模块还用于生成一对公钥p和私钥p,广播公钥p到区块链;采样点处理模块用于生成一对公钥c和私钥c,广播公钥c到区块链。采用城市平台处理模块通过生成的公钥完成城市指标数据加密,采用自身生成的私钥完成数据摘要加密。
优选的,采样点处理模块包括采集单元、采样点计算单元、采样点存储单元和采样点区块链单元。
采集单元,用于从城市采样点的数据库中提取和/或接收输入的城市指标数据。
采样点计算单元,用于根据ITU-T相关标准或者国家制定标准设定的范围,对城市指标数据进行筛选、按照设定的归一化算法形成城市指标赋值数据、以及对加密后的数据打包上传到区块链。
采样点存储单元,用于临时存储上述采集单元和计算单元产生的各种数据。
采样点区块链单元,用于完成数据的加密、完成本地公钥和私钥的存储、以及接入区块链的身份认证和链路管理。
优选的,上述城市平台处理模块包括平台区块链单元、平台计算单元和平台存储单元。
平台区块链单元,用于完成城市平台处理模块的公钥和私钥管理,从区块链中提取和解密加密数据包,完成数据的解密,实现对数据的回溯和校验。
平台计算单元,用于根据平台区块链单元的策略和指令其完成数据的合并和计算。
平台存储单元,用于完成各种中间结果的临时存储。
上述平台区块链单元具有加密的功能,采样点区块链单元还具有解密的功能,在其他实施例中,城市平台处理模块也可以发送加密的数据包给区块链,采样点处理模块也可以从区块链中获取加密的数据包并进行解密。
上述各实施例中,城市采样点需要上传城市指标,设备通过区块链平台来认证,而不需要第三方提供的认证能力;在数据传送程中,通过区块链平台保证数据传送与存储的安全和隐私保护;在后期处理数据时,通过区块链平台来保证数据信息的回溯和验证。同时,区块链平台的去中心化,可以保证设备的验证、数据的递送不存在瓶颈,数据不被伪造且可回溯。
本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。

Claims (11)

  1. 一种智慧城市评估指标数据管理方法,其特征在于,包括步骤:
    在各城市采样点采集城市指标数据,按照统一的数据结构归一化形成城市指标赋值数据,并与各城市采样点的身份信息绑定;
    将城市指标赋值数据经过哈希运算形成数据摘要,使用非对称加密的方式,分别对数据摘要和城市指标赋值数据加密,并形成加密数据包上传到区块链;
    智慧城市平台提取加密数据包并解密后,加上其所在区块链的信息和回溯校验信息,采用统一格式封装存储。
  2. 如权利要求1所述的智慧城市评估指标数据管理方法,其特征在于,所述统一的数据结构按照城市指标分类定义,内容包括:国家和地区编号、城市编号、区块划分代码、IPv4/IPv6地址、时间、城市指标类型编号、城市指标编号、城市指标值、赋值的单位、扩展区段长度和扩展区段数据;其中城市编号遵循所属国家标准。
  3. 如权利要求1所述的智慧城市评估指标数据管理方法,其特征在于,采集城市指标数据过程包括:
    通过接入城市采样点原有数据库和/或输入的方式采集城市指标数据,丢弃不符合ITU-T相关标准或者国家制定标准的城市指标数据,将符合标准的城市指标数据进行存储。
  4. 如权利要求1所述的智慧城市评估指标数据管理方法,其特征在于,使用非对称加密方式包括:
    各城市采样点分别生成一对公钥和私钥,智慧城市平台生成一对公钥和私钥,城市采样点生成的公钥和智慧城市平台生成的公钥均广播到区块链上各节点,私钥各自保留;且各城市采样点和智慧城市平 台采用相同的密钥生成机制生成公钥对和私钥对。
  5. 如权利要求4所述的智慧城市评估指标数据管理方法,其特征在于:各城市采样点采用智慧城市平台生成的公钥完成城市指标赋值数据加密,采用自身生成的私钥完成数据摘要加密,并将加密后的数据打包上传到区块链。
  6. 如权利要求1或5所述的智慧城市评估指标数据管理方法,其特征在于,加密后的数据打包上传到区块链的过程包括:
    各城市采样点对区块链发起接入请求并由区块链完成合法性验证,发送加密数据包给区块链节点,并路由至区块链对应的共识记账节点,根据区块链的共识机制将每个时间段内的数据包形成区块加入区块链,并完成区块链数据库的更新。
  7. 一种智慧城市评估指标数据管理系统,其特征在于,包括:
    采样点处理模块,其设置于各城市采样点,用于采集城市指标数据,按照统一的数据结构形成城市指标赋值数据,且城市指标赋值数据与所在采样点处理模块的身份信息绑定;
    所述采样点处理模块还用于将城市指标赋值数据经过哈希运算形成数据摘要,使用非对称加密的方式,分别对数据摘要和城市指标赋值数据加密,并形成加密数据包上传到区块链;
    城市平台处理模块,其设置于智慧城市平台,用于从区块链中提取、解密所述加密数据包,完成可信性和一致性验证,还用于加上加密数据包所在区块链的信息和回溯校验信息,采用统一格式封装存储。
  8. 如权利要求7所述的智慧城市评估指标数据管理系统,其特征在于:
    城市平台处理模块,用于生成一对公钥和私钥,将公钥均广播到区块链上各节点;
    所述采样点处理模块用于生成一对公钥和私钥,将公钥广播到区块链上各节点;采用城市平台处理模块生成的公钥完成城市指标赋值数据加密,采用自身生成的私钥完成数据摘要加密。
  9. 如权利要求8所述的智慧城市评估指标数据管理系统,其特征在于,所述采样点处理模块包括:
    采集单元,其用于从城市采样点的数据库中提取和/或接收输入的城市指标数据;
    采样点计算单元,其用于根据ITU-T相关标准或者国家制定标准设定的范围对城市指标数据进行筛选、按照设定的归一化算法形成城市指标赋值数据、以及形成加密数据包并上传到区块链;
    采样点存储单元,其用于临时存储所述采集单元和计算单元产生的各种数据;
    采样点区块链单元,其用于完成数据的加密、完成本地公钥的上传和私钥的存储、以及接入区块链的身份认证和链路管理。
  10. 如权利要求8所述的智慧城市评估指标数据管理系统,其特征在于,所述城市平台处理模块包括:
    平台区块链单元,其用于完成城市平台处理模块的公钥和私钥管理,从区块链中提取和解密加密数据包,完成数据的解密,实现对数据的回溯和校验;
    平台计算单元,其用于根据平台区块链单元的策略和指令完成数据的计算;
    平台存储单元,其用于完成各种中间结果的临时存储。
  11. 如权利要求7-10任一所述的智慧城市评估指标数据管理系统,其特征在于:所述统一的数据结构按照城市指标分类定义,包括国家和地区编号、城市编号、区块划分代码、IPv4/IPv6地址、时间、 城市指标类型编号、城市指标编号、城市指标值、赋值的单位、扩展区段长度和扩展区段数据;其中城市编号遵循所属国家标准。
PCT/CN2019/094705 2019-01-04 2019-07-04 一种智慧城市评估指标数据管理方法及系统 Ceased WO2020140413A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910008890.3A CN109840768A (zh) 2019-01-04 2019-01-04 一种智慧城市评估指标数据管理方法及系统
CN201910008890.3 2019-01-04

Publications (1)

Publication Number Publication Date
WO2020140413A1 true WO2020140413A1 (zh) 2020-07-09

Family

ID=66883699

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/094705 Ceased WO2020140413A1 (zh) 2019-01-04 2019-07-04 一种智慧城市评估指标数据管理方法及系统

Country Status (2)

Country Link
CN (1) CN109840768A (zh)
WO (1) WO2020140413A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116980237A (zh) * 2023-09-25 2023-10-31 北京智城联合科技发展有限公司 一种城市安全信息化数据采集方法

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109840768A (zh) * 2019-01-04 2019-06-04 烽火通信科技股份有限公司 一种智慧城市评估指标数据管理方法及系统
CN110443711B (zh) * 2019-08-09 2024-01-19 恒锋信息科技股份有限公司 一种基于区块链的城市设备管理方法
CN111105334A (zh) * 2019-12-30 2020-05-05 山东爱城市网信息技术有限公司 一种基于区块链的城市管网的管理方法、设备及介质
CN111241092B (zh) * 2019-12-31 2023-05-05 中国科学院昆明植物研究所 一种基于区块链的物种发表系统及方法
CN111259425A (zh) * 2020-01-16 2020-06-09 广东京信软件科技有限公司 一种智慧城市数据安全管理系统
CN112613278B (zh) * 2020-12-24 2024-05-17 中天众达智慧城市科技有限公司 市政设备监测信息处理系统及市政设备监测信息处理方法
CN112887144B (zh) * 2021-01-27 2023-05-23 广东轻工职业技术学院 一种基于Argon2散列函数与SDN的智慧城市混合网络系统
CN113194113B (zh) * 2021-01-27 2022-03-11 广东轻工职业技术学院 一种智慧城市物联网区块链集成互信共享方法
CN113393076B (zh) * 2021-04-16 2022-11-25 中北大学 基于ahp的新型智慧城市评价指标裁剪模型的构建方法
CN113923231A (zh) * 2021-10-13 2022-01-11 万达信息股份有限公司 一种基于区块链的城市服务数据协同方法
CN114244535B (zh) * 2022-02-24 2022-05-17 成都易达数安科技有限公司 一种基于区块链技术的城市级公示系统及公示方法
CN116029619B (zh) * 2023-03-29 2023-07-28 佛山市龙生光启科技有限公司 一种智慧城市规划用数据处理方法及系统
CN117375883A (zh) * 2023-09-14 2024-01-09 中科迈航信息技术有限公司 基于区块链的智慧城市数据共享系统及方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120134491A1 (en) * 2010-11-29 2012-05-31 Beijing Z & W Technology Consulting Co., Ltd Cloud Storage Data Encryption Method, Apparatus and System
CN103116825A (zh) * 2013-01-29 2013-05-22 江苏省邮电规划设计院有限责任公司 智慧城市管理系统
CN104933286A (zh) * 2015-03-13 2015-09-23 华南理工大学 一种基于大数据的城市空间品质评价方法
CN108830104A (zh) * 2018-06-15 2018-11-16 宁波大学 基于区块链的bim数据组织方法
CN109840768A (zh) * 2019-01-04 2019-06-04 烽火通信科技股份有限公司 一种智慧城市评估指标数据管理方法及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778528A (zh) * 2014-12-29 2015-07-15 武汉邮电科学研究院 利用大数据获取智慧城市评估指标的方法及系统
CN105426646B (zh) * 2016-01-13 2018-09-14 重庆大学 桥梁智慧度综合评估指标选取及量化方法
US20190370789A1 (en) * 2017-02-10 2019-12-05 Intermine.com.au Pty Ltd Distributed block chain cryptocurrency system for securement against unauthorised transactions
CN108600227B (zh) * 2018-04-26 2022-04-26 众安信息技术服务有限公司 一种基于区块链的医疗数据共享方法及装置
CN108830601B (zh) * 2018-06-25 2022-03-18 上海延华大数据科技有限公司 基于区块链的智慧城市信息安全使用方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120134491A1 (en) * 2010-11-29 2012-05-31 Beijing Z & W Technology Consulting Co., Ltd Cloud Storage Data Encryption Method, Apparatus and System
CN103116825A (zh) * 2013-01-29 2013-05-22 江苏省邮电规划设计院有限责任公司 智慧城市管理系统
CN104933286A (zh) * 2015-03-13 2015-09-23 华南理工大学 一种基于大数据的城市空间品质评价方法
CN108830104A (zh) * 2018-06-15 2018-11-16 宁波大学 基于区块链的bim数据组织方法
CN109840768A (zh) * 2019-01-04 2019-06-04 烽火通信科技股份有限公司 一种智慧城市评估指标数据管理方法及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG, ZEYU: "Research on Construction of Smart City Based on Big Data Platform of Blockchain", SCIENCE AND TECHNOLOGY INNOVATION HERALD, no. 24, 31 August 2018 (2018-08-31), pages 38 - 41, XP009521900, ISSN: 1673-0534 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116980237A (zh) * 2023-09-25 2023-10-31 北京智城联合科技发展有限公司 一种城市安全信息化数据采集方法
CN116980237B (zh) * 2023-09-25 2024-01-02 北京智城联合科技发展有限公司 一种城市安全信息化数据采集方法

Also Published As

Publication number Publication date
CN109840768A (zh) 2019-06-04

Similar Documents

Publication Publication Date Title
WO2020140413A1 (zh) 一种智慧城市评估指标数据管理方法及系统
Xiao et al. A novel blockchain-based digital forensics framework for preserving evidence and enabling investigation in industrial Internet of Things
CN109409122B (zh) 文件存储方法及其电子设备、存储介质
CN114499895B (zh) 一种融合可信计算与区块链的数据可信处理方法及系统
CN107508812B (zh) 一种工控网络数据存储方法、调用方法及系统
CN111368230B (zh) 一种基于区块链的工业互联网标识的处理方法及装置
CN109472164A (zh) 合同数据的验证方法及其网络和电子设备
CN109491965A (zh) 购售电合同的存储方法及其网络和电子设备
CN102195781A (zh) 一种基于电子记录关联签名的电子证据取证系统
CN116090024B (zh) 一种数据的可靠存储装置、系统及方法
CN116032464A (zh) 一种基于量子通信的物业数据加密系统
Li et al. A blockchain‐based privacy‐preserving authentication system for ensuring multimedia content integrity
CN110689348B (zh) 基于联盟链的收入验证方法、装置、终端及介质
CN120372700B (zh) 空气环境监测数据识别系统及方法
CN121009587A (zh) 一种基于区块链的电子证据全生命周期存证与溯源方法及系统
CN114785815A (zh) 一种面向区块链用户节点的数据存储方法及装置
CN117035740B (zh) 桥梁结构检测监测与维修数据溯源系统的构建方法
CN121077815B (zh) 一种跨域联合认证与多方签署系统及方法
CN121526647B (zh) 一种基于区块链的有机茶叶溯源认证方法及系统
Du et al. Poster: IRR Hygiene in the RPKI Era
CN121441568A (zh) 一种电力物联网设备可信报告验证方法、设备及系统
CN121567328A (zh) 一种脱敏数据可验证的网络抓包方法与系统
CN120750551B (zh) 一种基于区块链的药品检验信息共享方法及系统
Gomathi et al. Blockchain Technology in Secure Voting Systems: Enhancing Transparency and Trust
CN101763478A (zh) 一种数字证书操作强审计方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19906954

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19906954

Country of ref document: EP

Kind code of ref document: A1