Aiming at the problems of low data calculation efficiency and high energy consumption of sensing nodes in the existing two-layer wireless sensor network range query, a two-layer wireless sensor network range query calculation method based on the optimized Paillier algorithm is proposed. First of all, the verifiable optimized Paillier method is used to encrypt the sensing data, and the data operation under the ciphertext is realized under the premise of ensuring data security and privacy, and the computing platform is transferred from the query node to the storage node to improve the efficiency of data operation. Secondly, a low-power numerical comparison method based on left-most 0-1 encoding and HMAC data digest algorithm is proposed, which can reduce the energy consumption of sensing nodes under the premise of ensuring the stability of data comparison. Finally, the specific design and implementation of the method is given, and the sensing node is constructed by using the Raspberry Pi, temperature, humidity and light intensity sensors, and the storage node is constructed by using the NVIDIA TX2 edge computing platform, so as to build an experimental platform, and the range query calculation method implemented in the platform is transplanted and implemented. Compared with the existing methods in terms of energy consumption of sensing nodes and data computing efficiency, the results show that the method in this paper can improve the efficiency of data computing on the basis of reducing the energy consumption of sensing nodes.
针对两层无线传感器网络范围查询,Chen等[8]首次提出一种基于前缀编码的秘密比较机制范围查询方法SafeQ (secure and efficient query)。SafeQ方法使用对称加密算法对感知数据进行加密,采用前缀编码方案保证范围查询过程中的隐私保护。为了确保数据安全,该方法引入邻居链机制实现数据可验证性。虽然SafeQ方法能够有效地保证网络查询隐私安全性和数据一致性,但是由于采用了前缀编码,在查询过程中需要上传较多的编码信息和邻居链信息,因此感知节点会产生较高的通讯能耗。Dai等[9]提出一种具有隐私安全性的低功耗范围查询方法CSRQ (communication-efficient secure range queries)。CSRQ方法使用AES对称加密算法对感知数据加密,使用0-1编码和HMAC算法生成数值比较链。在此基础上,将经过算法摘要的数值比较链进一步使用Hash算法进行映射,减少了数据比较链密文的长度,降低了感知节点的通讯能耗。但是该方法依然存在感知节点通讯能耗高、数值比较计算量大等问题。胡等[10]在CSRQ方法的基础上提出一种基于压缩HMAC方法的传感器网络范围查询方法,该方法采用反向0-1编码和压缩HMAC方法构建数据比较链,有效地提高范围查询中的数值比较效率,并且降低了感知节点通讯能耗。Deng等[11]针对存储节点和查询节点中产生的数据隐私安全问题,提出一种基于HMAC、base64编码和优化0-1编码的两层无线传感器网络范围查询方案,该方法在降低感知节点通信能耗的同时也降低了感知节点的计算能耗。该方法考虑到了多维感知数据下的范围查询,将范围查询方法从一维推广到多维。
HEMALATHAT, RAMESHM V, RANGANV P. Effective and accelerated forewarning of landslides using wireless sensor networks and machine learning[J]. IEEE Sensors Journal, 2019, 19(21): 9964-9975. DOI: 10.1109/JSEN.2019.2928358 .
[2]
LLORETJ, SENDRAS, GARCIAL, et al. A wireless sensor network deployment for soil moisture monitoring in precision agriculture[J]. Sensors (Basel, Switzerland), 2021, 21(21): 7243. DOI: 10.3390/s21217243 .
[3]
TSOUY T, LUC S, KUOS Y. SER: Secure and efficient retrieval for anonymous range query in wireless sensor networks[J]. Computer Communications, 2017, 108: 1-16. DOI: 10.1016/j.comcom.2017.04.007 .
[4]
WANGL, ZHAOM, CHENJ, et al. A novel privacy- and integrity-preserving approach for multidimensional data range queries in two-tiered wireless sensor networks[J]. International Journal of Distributed Sensor Networks, 2019, 15(6): 155014771985589. DOI: 10.1177/1550147719855893 .
[5]
WANS, ZHAOY, WANGT, et al. Multi-dimensional data indexing and range query processing via Voronoi diagram for Internet of things[J]. Future Generation Computer Systems, 2018, 91:382-391. DOI: 10.1016/j.future.2018.08.007 .
[6]
WENY P, LIUJ X, DOUW C, et al. Scheduling workflows with privacy protection constraints for big data applications on cloud[J]. Future Generations Computer Systems (FGCS), 2020: 1084-1091. DOI: 10.1016/j.future.2018.03.028 .
QIANH J, WANGY H, PENGT, et al. Efficient and verifiable encryption scheme in lightweight narrowband Internet of Things applications[J]. Journal of Computer Research and Development, 2019, 56(5): 1112-1122. DOI: 10.7544/issn1000-1239.2019.20180217(Ch ).
[9]
CHENF, LIUA X. Privacy- and integrity-preserving range queries in sensor networks[J]. IEEE/ACM Transactions on Networking, 2012, 20(6): 1774-1787. DOI: 10.1109/TNET.2012.2188540 .
[10]
DAIH, YEQ Q, YANGG, et al. CSRQ: Communication-efficient secure range queries in two-tiered sensor networks[J]. Sensors (Basel, Switzerland), 2016, 16(2): 259. DOI: 10.3390/s16020259 .
HUQ M, DENGY. Range query method based on compressed HMAC algorithm for sensor networks[J]. Computer Engineering, 2021, 47(12): 200-208. DOI: 10.19678/j.issn.1000-3428.0062221(Ch ).
[13]
DENGY, CHENJ, WANGY, et al. A security multi-dimensional range query protocol based on left 0-1 encoding in two-tiered wireless sensor networks[J]. Journal of Circuits, Systems and Computers, 2022, 31(9): 250157:1-2250157:32 (2022). DOI: 10.1142/s0218126622501572 .
[14]
PAILLIERP. Public-key cryptosystems based on composite degree residuosity classes[M]//Advances in Cryptology — EUROCRYPT’99. Berlin: Springer, 2007: 223-238. DOI: 10.1007/3-540-48910-x_16 .
ZHANGY P, LINGJ. Improved algorithm for privacy-preserving association rules mining on horizontally distributed databases[J]. Computer Science, 2017, 44(8): 157-161. DOI: 10.11896/j.issn.1002-137X.2017.08.028(Ch ).
[19]
LINH Y, TZENGW G. An efficient solution to the millionaires’ problem based on homomorphic encryption[M]//Applied Cryptography and Network Security. Berlin: Springer, 2005: 456-466. DOI: 10.1007/11496137_31 .
LIUM J, LIUS B, DINGY G. 0-1 code based privacy-preserving data value matching in participatory sensing[J]. Computer Science, 2018, 45(3): 133-139. DOI: 10.11896/j.issn.1002-137X.2018.03.021(Ch ).