1. bookAHEAD OF PRINT
Dettagli della rivista
License
Formato
Rivista
eISSN
2444-8656
Prima pubblicazione
01 Jan 2016
Frequenza di pubblicazione
2 volte all'anno
Lingue
Inglese
Accesso libero

Application of matrix multiplication in signal sensor image perception

Pubblicato online: 23 Dec 2022
Volume & Edizione: AHEAD OF PRINT
Pagine: -
Ricevuto: 08 Jul 2022
Accettato: 09 Oct 2022
Dettagli della rivista
License
Formato
Rivista
eISSN
2444-8656
Prima pubblicazione
01 Jan 2016
Frequenza di pubblicazione
2 volte all'anno
Lingue
Inglese
Introduction

With the rapid development of digital media technology and the popularisation of mobile electronic devices, we have entered an era of information explosion [1]. At least 80% of the information obtained by humans is obtained through vision. A picture is worth a thousand words. Images occupy a very large proportion because of their rich content and vivid expressions. Image and video data play an important role in many fields, such as surveillance security, virtual reality, 3D film and television, ultra-high-definition video, mobile terminals, etc. [2, 3]. In the information age, image data is very easy to obtain, and everyone can become a self-media, so massive amounts of image data are generated and transmitted on the network every day [4, 5]. On 30 August, 2019, the 44th ‘Statistical Report on Internet Development in China’ released by China Internet Network Information Centre (CNNIC) pointed out that as of June 2019, the number of Internet users in China reached 854 million, and the number of online video users reached 759 million. In the first half of 2019, mobile Internet access traffic reached 55.39 billion GB [6].

The traditional signal sampling technology needs to follow the Nyquist sampling theorem, that is, the sampling frequency needs to be greater than twice the highest frequency of the signal. It can realise signal sampling and compression at the same time, reduce the signal sampling frequency, reduce the loss of hardware resources, and can realise the encryption of information, so it is very suitable for wireless sensor networks [7]. The current research mainly focuses on the sparse representation of the signal, the construction of the measurement matrix and the design of the reconstruction algorithm. Image perception is a major branch of perceptual hashing, and its feature extraction and encoding stages need to contain more visual perception information to meet its robustness requirements. However, the current research on image-aware hashing algorithms lacks the consideration of human visual characteristics and focuses on general image features such as image greyscale and feature points [8]. Literature [8] proposes that image perception technology breaks the limitation of the traditional sampling theorem and provides people with a new technology that integrates signal acquisition, which has attracted widespread attention from scholars and research institutions around the world. Literature [9, 10] proposed that the current image perception technology has been widely used in signal processing, medical imaging, wireless communication, target positioning, radar detection and other fields. Choi et al. [11] proposed a binary block diagonal matrix, which is a simple and convenient construction method. It is easy to implement in hardware, and the effect of sensor signal reconstruction is also improved. Abonyi and Honti [12] proposes a fast structured random measurement matrix. This measurement matrix adopts block processing and has the characteristics of fast calculation speed. It is suitable for large-scale information transmission and image perception application scenarios with high real-time requirements. Literature [13] proposed two sparse measurement matrix construction methods, which not only ensured the reconstruction accuracy of the sensor signal but also reduced the energy consumption of the device and the cost of hardware fabrication. The current reconstruction and recovery algorithms are mainly combined algorithms, convex optimisation algorithms and greedy algorithms. Commonly used algorithms include the matching pursuit algorithm and the orthogonal matching pursuit algorithm. Zhao et al. [14] proposes a fast sensor signal reconstruction and reconstruction algorithm. This reconstruction algorithm not only has high reconstruction accuracy of the sensor signal but also has a small amount of calculation. Mallat and Zhang [15] proposes a reconstruction algorithm based on dictionary learning, which improves the reconstruction accuracy of the sensor signal at a low sampling rate. structure effect. On the one hand, this feature information reflects the perceptual characteristics of the image, and on the other hand, the algorithms based on them also maintain operation and transformation robustness to various contents to varying degrees. However, these image-aware hashing algorithms have not done special research on the process of human perception of images and the perceptual characteristics of human vision. Although signal sampling, compression and encryption can be achieved, the encryption implemented by compressed sensing is weak and cannot effectively resist various attacks. (The first paragraph which introduces compressed sensing is a bit redundant, and the title is the application of matrix multiplication in signal sensor image perception)

Phuttharak and Loke [16] and Silva et al. [17] have made groundbreaking work on compressed sensing theory and established a theoretical framework. Literature [17, 18] established the Restricted Isometry Principle (RIP). Although this theoretical characteristic is excellent, it cannot be used to guide the design of the measurement matrix, because it is only a sufficient condition for the measurement matrix. Pal et al. [19] and Hewa et al. [20] mentioned that the sparseness of perceptual data is prevalent in personalised filtering recommendation models for cross-border e-commerce. To change the user similarity calculation based on compressed sensing and use particle distance (PD) to realise the similarity calculation of cross-item mobile users, an e-commerce personalised filtering recommendation algorithm based on the fusion of particle-level compressed sensing and e-commerce customer trust relationship is proposed. The experimental results show that, compared with other methods, the user similarity calculation method fused with granular compressed sensing can alleviate the impact of sparse sensing data on the personalised filtering algorithm of e-commerce [2123]. The advantages and disadvantages of wireless sensor networks are analysed, and the basic knowledge for the application of compressed sensing in this environment is provided. The three important parts of the theory, the sparse representation of the signal, the construction of the measurement matrix and the design of the reduction algorithm are studied, and the existing problems are summarised respectively.

Based on the theory of tensor compressed sensing, this paper introduces the concept of the auxiliary matrix to realize flexible and safe observation of information. Aiming at the high-security requirements of wireless sensor networks for image information transmission, an efficient image encryption algorithm based on DNA coding operation and a chaotic system is proposed. Furthermore, the combination of the new P-tensor compressed sensing model and the DNA encoding encryption algorithm is applied to the image transmission in wireless sensor networks, which realises the efficient utilisation of resources, low time consumption and high security of image transmission.

Sparse signal representation

It is an important prerequisite for realising compressed sensing that the signal can be sparsely represented. It is precisely the signal in nature that can be compressed, that is, it can be converted into a sparse signal in a certain transform domain. Assuming that xRn is a sparse or sparse n-dimensional signal under some standard orthogonal variation basis ΨRn×n, then x can be expressed as: x=Ψs

Among them, sRn is the x sparse signal of the signal Ψ under the standard orthogonal transform base k (that is, there are s non-zero items in k), and the effect of satisfying the sparseness of the G signal depends on the selection of the standard orthogonal transform base. Orthogonal transform basis can ensure sufficient sparseness of the original signal.

Common signal sparse representations are divided into two categories. One is to create sparse signals through sparse transform bases to achieve the effect of sparseness. Common sparse transform bases include discrete wavelet transform bases, discrete cosine transform bases, and discrete Fourier transform bases. Transformation bases, etc.; the other is to build a sparse dictionary library through dictionary learning, and then use the sparse dictionary library to represent the signal.

Compressed observations

The compressed observation process uses the measurement matrix Φ to linearly project the signal x, and the specific process is expressed as: y=Φx=ΦΨs=Θs

Among them, ΦRm×n is the measurement matrix which has no correlation with the sparse base Ψ, m is the number of rows of the measurement matrix and satisfies k<m<n, k is the sparsity; ΘRm×n is the perception matrix.

The measurement matrix plays an important role in compressive sensing to achieve accurate signal recovery, and it is an important link between data compression sampling and reconstruction recovery. For the uniqueness and accurate reconstruction of the signal, the construction of the measurement matrix usually needs to satisfy three constraints, namely the Spark property, the incoherence and the finite isometric principle.

Satisfying the Spark property is a necessary condition to ensure the success of reconstruction. The Spark property represents the minimum number of linear correlation vector groups in the column vector of the matrix, which can be expressed as: $$spark(\Theta ) = \mathop {\min }\limits_{x \ne 0} \Vert x\Vert{_0},\qquad s.t.\qquad \Theta s = 0$$ spark(Θ)=minx0x0,s.t.Θs=0

There is at most one signal sΣk for any yRm such that y=Θs holds if and only if spark(Θ)>2k.

The finite isometric principle is defined as the existence of a constant δk(0,1) such that Eq. (4) holds for all sΣk, if all k-order sparse vectors s satisfy the minimum constant δk in the following equation, then the matrix Θ satisfies the k-order finite isometric principle, Specifically: (1δk)s22Θs22(1+δk)s22

As long as the Spark property and the finite isometric principle are satisfied, the original signal can be guaranteed to be successfully reconstructed, but in practical use, the above two constraints are not easy to verify. Therefore, this paper proposes an easily verifiable constraint, the incoherence.

The coherence μ(Θ) can be expressed as the maximum absolute value of the normalised inner product of any two column vectors θi and θj in the matrix ΘRm×n, and the specific calculation equation is: $$\mu ({\rm{\Theta }}) = \mathop {\max }\limits_{1 \le 1 \ne j \le n} {{\left| {\left\langle {{\theta _i},{\theta _j}} \right\rangle } \right|} \over {\Vert{\theta _i}\Vert{_2}\Vert{\theta _j}\Vert{_2}}}$$ μ(Θ)=max11jn|θi,θj|θi2θj2

The smaller the value of μ(Θ), the lower the correlation between the matrix column vectors. For yRm obtained by compressed observation, if it satisfies μ(Θ)<1/(2k1), it is considered that the matrix Θ at this time satisfies incoherence, and there is at most one signal s such that y=Θs. Therefore, the construction of the measurement matrix can also be well guided by using the incoherence constraint.

Refactoring recovery

The reconstruction and recovery of the signal is the process of recovering the original signal x from the compressed and sampled low-dimensional signal y. The most critical of these is the reconstruction algorithm. The reconstruction process can be expressed as the following equation: $$\hat s = \arg \mathop {\min }\limits_s \parallel \Vert s\Vert {_0},\qquad s.t.y = \Phi x = \Phi {\psi _s} = {\Theta _s}$$ s^=argmins s0,  s.t.y=Φx=Φψs=Θs

This is a non-convex optimisation problem, and Eq. (6) can be transformed into a convex optimisation problem, namely: $$\hat s = \arg \mathop {\min }\limits_s \Vert s \Vert{_1},\qquad s.t.y = {\rm{\Phi }}x = {\rm{\Theta }}{\psi _s} = {{\rm{\Theta }}_s}$$ s^=argminss1,  s.t.y=Φx=Θψs=Θs

At this time, s^ is a sparse signal, and needs to be de-sparsed to obtain a reconstructed signal x^.

Common reconstruction and recovery algorithms are mainly divided into greedy algorithms and convex optimisation algorithms [24, 25]. Although the number of observations in the convex optimisation algorithm is small, the computational complexity is higher than other algorithms: the greedy algorithm is easy to operate, has a fast recovery speed, and has a wide range of applications, but The sparsity of the reconstructed signal needs to be analysed before using the greedy algorithm. Different reconstruction algorithms have different characteristics. Therefore, it is necessary to select a suitable reconstruction recovery algorithm in combination with specific application scenarios.

Model building

First, the matrix-tensor product, semi-tensor product and P-tensor product are introduced, and then the semi-tensor compressed sensing (STP-CS) theory and the P-tensor compressed sensing theory are combined.

Tensor product, semi-tensor product, and P-tensor product

The traditional matrix multiplication needs to satisfy the dimension matching, but the tensor product can realise the multiplication of two arbitrarily sized matrices. The tensor integral is the left tensor product and the right tensor product. This chapter takes the right tensor product as an example. For example, if the matrix A=[α1,α2,,αn] of m×n and the matrix of p×q are known, AB can represent the right tensor product operation. The size of the matrix obtained after the calculation is mp×nq, and the specific calculation process is as follows: $$A \otimes B = [{\alpha _1}B,{a_2}B, \cdots ,{\alpha _n}B] = [{a_{ij}}B]_{i = 1,j = 1}^{m,n} = \left[ {\matrix{ {{a_{11}}B} & {{a_{12}}B} & \cdots & {{a_{1n}}B} \cr {{a_{21}}B} & {{a_{22}}B} & \cdots & {{a_{2n}}B} \cr \vdots & \vdots & \ddots & \vdots \cr {{a_{m1}}B} & {{a_{m2}}B} & \cdots & {{a_{mn}}B} \cr } } \right]$$ AB=[α1B,a2B,,αnB]=[aijB]i=1,j=1m,n=[a11Ba12Ba1nBa21Ba22Ba2nBam1Bam2BamnB]

The tensor product has the following operational properties:

Associativity: (AB)C=A(BC)

Distributive law: A(B+C)=AB+AC

Transpose: (AB)T=ATBT

Inverse of a matrix: (AB)1=A1B1

Rank of the matrix: rank(AB)=rank(A)rank(B)

If x is a mn-dimensional row vector, is a n-dimensional column vector. First, divide x into n equal parts, denoted as x1,,xn, and each equal part is a vector of 1×m. × represents the semi-tensor product operation, then: x×y=i=1nxiyiR1×m

If the matrices ARm×n, BRp×q, r represent the least common multiple of n and p, denoted as r=lcm{n,p}, then the semi-tensor product operation of A and B is equivalent to: A×B=(AIrn)(BIrp)

Among them, I represents the identity matrix; especially when n=q, Eq. (10) becomes a traditional matrix multiplication, and the semi-tensor product has the following operational properties:

Associativity: (A×B)×C=A×(B×C)

Distributive law: (A×B+C)=(A×B)+(A×C)

If ARmnp and BRp×q, then A×B=A(BIn)

If ARm×n and BRnp×q, then C

It can be seen from the definition that the semi-tensor product operation can realize the operation of two matrices with mismatched dimensions, so the semi-tensor product has been widely used once it was proposed. It has strong practicality in nonlinear problems and multi-linear problems [26, 27]. At present, the semi-tensor product operation has been widely used in Boolean networks, graph theory, linear algebra, control and other fields.

Recovery effect analysis

Now, the restoration effect is analysed for the greyscale image, the qualitative analysis of the reconstructed image is performed from the visual point of view, and the peak signal-to-noise ratio (PSNR) of the reconstructed image is quantitatively analysed from the mathematical point of view. The PSNR can measure the restoration effect of the reconstructed image. Before calculating the PSNR, the mean square error (MSE) needs to be calculated. The MSE refers to the mean of the squared error between the reconstructed image and the original image. The specific calculation equation is as follows: MSE=1M×Ni=1Mj=1N[y(i,j)x(i,j)]2

Next, the p tensor product is described in detail, and the p tensor product was proposed by Peng Haipeng et al. Definition α=[a1,,an] is a row vector in n dimension and $$\lambda = {[{b_1}, \cdots ,{b_p}]^T}$$ λ=[b1,,bp]T is a column vector in p dimension. Assuming p=t×n, matrix PRt×t, then there are: α×Pλ=k=1n(akp)λkRi×1

Among them, α×Pλ is called the p tensor product of vectors α and $$\lambda ,{\rm{ }}\mathop \times \limits^P $$ λ, ×P represents the p tensor product operation, and λ=(λ3,,λn) λiRi×1, i=1,,n, assumes n=t×p has: λ×Pα=k=1pαk(bkP)R1×t

Similarly, λ×Pα is called the p tensor product α=(α1,,αp), αR1×t, i=1,,p of vectors λ and α.

Defining matrices ARm×n, BRp×q. r represents the least common multiple of n and p, denoted r=lcm{n,p}, then the P tensor product operation of A and B can be expressed as: A×B=(APl×rn)(BPh×rp)

Where l and h are any positive integers, and P is any invertible matrix.

P tensor product has the following operational properties:

Associativity: $$(A\mathop \times \limits^P B)\mathop \times \limits^P C = A\mathop \times \limits^P \left( {B\mathop \times \limits^P C} \right)$$ (A×PB)×PC=A×P(B×PC)

Distributive Law: A×P(B+C)=(A×PB)+(A×PC)

If PT=P, then (A×PB)T=AT×PBT

If the matrices ABP are all invertible matrices, then (A×PB)1=A1×B1

Obviously, the P tensor product operation can also break through the limitation of matrix multiplication dimension matching, but comparing the half tensor product operation and the P tensor product operation, it can be found that the half tensor product is a tensor product operation with the identity matrix, thereby expanding the dimension of the original matrix, the tensor product can perform tensor product operation with any invertible matrix, thereby expanding the dimension of the original matrix. Therefore, the P tensor product operation improves the flexibility of use. It can be said that a semi-tensor product operation is a special form of the P tensor product operation.

Half-tensor compressed sensing

The semi-tensor product operation of matrices not only breaks the limitation that the traditional matrix multiplication must satisfy the dimension matching but also retains the characteristics of the traditional matrix multiplication operation [28]. It is known that the number of columns of the left factor matrix in the semi-tensor product operation does not have to be equal to the number of rows of the right factor matrix, which greatly improves the flexibility of matrix multiplication and has been widely used in many fields. Since compressed sensing involves both one-dimensional information processing and two-dimensional information processing, compressed sensing is closely related to matrix multiplication. Based on this, the literature proposes a STP-CS model, which can be expressed as: y=A×x

Except for the first row and column, every other element is the same as its upper-left corner element. In addition, let: ai=ai+n

Then a special form of the Toeplitz matrix is obtained, a circulant matrix commonly used in coding.

The product of the Toeplitz matrix and the vector corresponds to the convolution of the signal with the impulse response of the channel parameterised by the first column of the Toeplitz matrix, and the product of the further circulant matrix and the signal vector corresponds to the channel impulse response and the signal Circular convolution. For example, a signal B of length A passes through a channel with C tap coefficients, and the impulse response of the channel is denoted, then the Toeplitz matrix representation of the convolution of the signal and the channel is: $${\bf{y}} = {\bf{x}} * {\bf{h}} = \left[ {\matrix{ {{h_1}} & 0 & \ldots & 0 & 0 \cr {{h_2}} & {{h_1}} & \ldots & \vdots & \vdots \cr {{h_3}} & {{h_2}} & \ldots & 0 & 0 \cr \vdots & {{h_3}} & \ldots & {{h_1}} & 0 \cr {{h_{m - 1}}} & \vdots & \ldots & {{h_2}} & {{h_1}} \cr {{h_m}} & {{h_{m - 1}}} & \vdots & \vdots & {{h_2}} \cr 0 & {{h_m}} & \ldots & {{h_{m - 2}}} & \vdots \cr 0 & 0 & \ldots & {{h_{m - 1}}} & {{h_{m - 2}}} \cr \vdots & \vdots & \vdots & {{h_m}} & {{h_{m - 1}}} \cr 0 & 0 & 0 & \ldots & {{h_m}} \cr } } \right]\left[ {\matrix{ {{x_1}} \cr {{x_2}} \cr {{x_3}} \cr \vdots \cr {{x_n}} \cr } } \right]$$ y=xh=[h1000h2h1h3h200h3h10hm1h2h1hmhm1h20hmhm200hm1hm2hmhm1000hm][x1x2x3xn] $${{\bf{y}}^T} = [\matrix{ {{h_1}} & {{h_2}} & {{h_3}} & \ldots & {{h_{m - 1}}} & {{h_m}} \cr } ]\left[ {\matrix{ {{x_1}} & {{x_2}} & {{x_3}} & \ldots & {{x_n}} & 0 & 0 & 0 & \ldots & 0 \cr 0 & {{x_1}} & {{x_2}} & {{x_3}} & \ldots & {{x_n}} & 0 & 0 & \ldots & 0 \cr 0 & 0 & {{x_1}} & {{x_2}} & {{x_3}} & \ldots & {{x_n}} & 0 & \ldots & 0 \cr \vdots & \vdots & \vdots & \vdots & \vdots & \ldots & \vdots & \vdots & \ldots & 0 \cr 0 & \ldots & 0 & 0 & {{x_1}} & \ldots & {{x_{n - 2}}} & {{x_{n - 1}}} & {{x_n}} & \vdots \cr 0 & \ldots & 0 & 0 & 0 & {{x_1}} & \ldots & {{x_{n - 2}}} & {{x_{n - 1}}} & {{x_n}} \cr } } \right]$$ yT=[h1h2h3hm1hm][x1x2x3xn00000x1x2x3xn00000x1x2x3xn000000x1xn2xn1xn0000x1xn2xn1xn]

RIP properties of sparse Toeplitz/circular block matrix

After completing the construction of the above sparse Toeplitz/circular block matrix, according to the general proof method proposed, it is theoretically proved that the sparse Toeplitz/circular matrix constructed in this chapter satisfies the RIP property. To facilitate the proof, the observation matrix discussed in this section is based on the Toeplitz matrix shown in the equation column unitisation, and the proof of the circulant matrix is its direct extension, so it will not be repeated.

Theorem. Let the matrix Φ be the column-unitised form of the Toeplitz block diagonal shift matrix as shown in the formula, then for any δ0(0,1), the matrix Φ satisfies the k-order constraint isometric condition RIP(k,δ0) with a probability exceeding 12Mδ0k.

Proof. Calculate the Gram matrix of the Toeplitz/Circular block matrix, let G=ΦΦ, then it is easy to obtain that the Gram matrix also has the property of block.

For the block matrix, the properties of the Gram matrix can be further obtained by discussing the properties of the Gram matrix block. Let Bi,j be the matrix block of the i row and the j column of the Gram matrix.

Bi,j=DiDj

Then the diagonal block of the Grammatic matrix can be easily calculated from the properties of the diagonal shift matrix D.

Bi,i=I $${D_i}{D_j} = \left\{ {\matrix{ {{1 \over M}{I^c}} & {\Pr = {1 \over 2}} \cr { - {1 \over M}{I^c}} & {\Pr = {1 \over 2}} \cr } } \right.$$ DiDj={1MIcPr=121MIcPr=12

Then further, off-diagonal blocks can be written as: Bi,j=(1)c11MIc1+(1)e21MIc2++(1)em1MIcm where ei is an independent and identically distributed random variable.

Going back to each element of the Gram matrix, from the previous proof, we get Gi,j=1. On the other hand, for the off-diagonal element Gi,j, we have: $$\Pr \left( {\left| {{G_{i,j}}} \right| \le {{{\delta _0}} \over k}} \right) = \Pr \left( {\left| {\mathop \sum \limits_i^m {{{{( - 1)}^{{e_1}}}} \over M}} \right| \le {{M{\delta _0}} \over k}} \right) \ge 1 - {2^{ - {{M{\delta _0}} \over k}}}$$ Pr(|Gi,j|δ0k)=Pr(|im(1)e1M|Mδ0k)12Mδ0k

Combining the probabilities of the diagonal and off-diagonal elements of the Gram matrix, we get: $$\Pr ({\rm{\Phi }}satisfy\>RIP(k,{\delta _k})) \ge 1 - {2^{ - {{M{\delta _0}} \over k}}}$$ Pr(ΦsatisfyRIP(k,δk))12Mδ0k

Among them, M represents the number of blocks of the block matrix in the column direction, that is, the matrix Φ satisfies the k-order RIP condition with a probability not lower than 2Mδ0k, and the proposition is proved.

Improved measurement matrix comparison validation

The random Gaussian matrix and two improved sparse matrices, which are commonly used in compressed sensing, are used as comparison objects for simulation comparison. The operating environment is shown in Table 1. All simulations involved in this article are in the same operating environment.

Time complexity comparison

MethodSpace complexityTime complexity
Sparse two-dimensional matrix2 D matrices990,0800.0079s
Improved sparse two-dimensional matrix32,7680.0027s
Improved sparse random matrix32,7680.0112s
The space of the random Gaussian matrices2,990,0800.0142s

The first thing to do is to verify the parameter values of the two measurement matrices. The representation in the sparse two-dimensional matrix divides the sampled values M into D groups, that is, each column of the sparse two-dimensional matrix has C non-zero values and D. Obviously, the smaller the value of DM, the greater the number of non-zero values in each column. The less, the more sparse the matrix will be. What needs to be verified here is the minimum number of values required for a column of the matrix to ensure accurate restoration, that is, to ensure both the sparsity of the measurement matrix and the accuracy of the restoration. The experimental object is the relationship between the value of D and the number of sampling values M and the root mean square error (RMSE). Assuming an original signal X with length N, the RMSE is: $$RMSE = \sqrt {{1 \over N}\mathop \sum \limits_{i = 1}^N {{({X_i} - {{\tilde X}_i})}^2}} $$ RMSE=1Ni=1N(XiX~i)2

Where Xi and ${\tilde X_i}$ X~i represent the original signal and the restored result, respectively.

The simulation experiment takes the original random data length N = 1024, M as the measured value, and K as the signal sparsity is a certain value. Figure 1 shows the simulation results. When D = 2, the ratio of M/K is the most unstable. When D = 4, D = 6, and D = 8, the ratio of M/K becomes more stable as the value of D increases, indicating that the constructed image perception model has certain stability.

Fig. 1

D Validation of the values

In the simulation process, in order to ensure the reliability of the algorithm in real-world applications, the actual data of the St. Helens volcano is used for testing. The raw data is taken from a segment when the seismic wave arrives, and the severe shaking of the image perception data can be clearly seen. Take the test data length,N = 1600 and the measurement value M=4K, first use the improved sparse two-dimensional matrix as the measurement matrix, take D = 4, and get the restoration effect as shown in Figure 2.

Fig. 2

Applies the improved algorithm to the reduction results of the actual volcano data

It can be seen from the restoration effect in Figure 3 that the information reconstruction has reached an ideal state. The improved sparse random matrix is also simulated, and the above data is also used, but to see the restoration effect more clearly, only the part with large jitter at the back end of the above number is selected. In the experiment, the data length A and the measured value M=4K are taken α=M4.

Fig. 3

Restores the results of applying the sparse random matrix to the overall algorithm

As can be seen from Figure 3, the sparse random matrix is the same as the sparse two-dimensional matrix, and finally has a very ideal effect, which does not affect the experiment of the reduction algorithm. However, since the generation period of the sparse random matrix is slightly longer than that of the sparse two-dimensional matrix, the following experiments all use the sparse two-dimensional matrix as the measurement matrix to test the reduction algorithm. For the analysis of actual completion time and storage volume, the minimum completion time for wavelet transform is 1.29 for sparse estimation for preliminary P-wave selection 0.07 for compressed sensing 0.20. The maximum completion time for wavelet transform was 1.32 for sparse estimation 0.62 for preliminary P-wave selection 0.17 for compressed sensing 0.88. It can be seen from this that the processing time of the overall operation in the sensor will not exceed 3 s, and the running time is only 0.22-0.88 s, which meets the requirements of real-time performance.

Next, to better represent the effectiveness of the overall algorithm, we selected four periods of original observation data in different periods, and only intercepted a part with obvious changes, data length N = 640, measurement value M = 4K, D = 4, and the restoration effect is shown in the Figure 4.

Fig. 4

Applies the modified algorithm to four actual data from different periods

It can be seen from Figure 4 that the overall algorithm is stable enough to be suitable for various signals. The improved restoration algorithm can basically complete accurate reconstruction, and the quality of the reconstructed signal is stable. The results of the first three experiments can fully verify that the overall algorithm guarantees high-precision reducibility.

Then proceed to simulate the specific advantages of the improved algorithm. Select several popular algorithms as comparison objects, such as orthogonal matching algorithm (OMP, compressive sampling matching pursuit (CoSaMP), model-based algorithm (Model-based), an iterative algorithm with a hard threshold (IHT), orthogonalised hard threshold Iterative algorithm (OSIHT), etc. Two indicators are mainly used to measure the properties of the algorithm: RMSE and calculation time. In the simulation, a large number of repeated experiments need to be set to obtain the average value as the result.

After comparing several restoration algorithms that are popular in the field of compressed sensing today, it can be seen that the improved algorithm converges faster than other algorithms, and the overall reconstruction time is much less than other algorithms.

Next, to more intuitively show the excellent performance of the improved algorithm, several restoration algorithms are used to restore the same signal, and the results are shown in Figure 5.

Fig. 5

Comparison between the reduction algorithms

As can be clearly seen in Figure 6, the restoration effect of the improved algorithm is far better than that of the comparison object, and a high-precision restoration is ensured. It can be concluded from Figures 5 and 6 that the improved hard-threshold iterative reconstruction algorithm based on the wavelet tree model has better performance than the existing algorithm, and can basically and accurately restore the original signal.

Fig. 6

Focuses on the magnified tip part for comparison

The next step is to compare the restoration effects of the four restoration algorithms. Different measurement values will be selected to see the reconstruction error results of the algorithms, and the RMSE will be used to uniformly represent the error. The comparison results are shown in Figure 7. It can be seen from Figure 7 that the proposed algorithm has the lowest error rate.

Fig. 7

Comparison of multiple reduction algorithms

Conclusion

This paper makes a comprehensive analysis of the theory of compressed sensing and applies the theory to the actual situation to solve the problems in the application. First, the introduction of wireless sensor network and the elaboration of compressive sensing theory, analyses the advantages and disadvantages of wireless sensor networks, and provide a basic knowledge for the application of compressed sensing in this environment; second, it studies the three important parts of the theory, which are the sparse representation of the signal, the construction of the measurement matrix and the design of the restoration algorithm, and respectively summarize the existing problems, and finally get the following conclusions through simulation experiments:

Improvement of the measurement matrix. Due to the small memory and limited energy of wireless sensor nodes, if a complete NM × measurement matrix is generated in practical applications, it will cause storage overflow and take too long to form.

Improvement of the restoration algorithm. The improved restoration algorithm is based on the wavelet tree modelling algorithm and applies the hard threshold iterative algorithm, and then adds an adaptive step size in the iterative process. The step size is also simpler and faster than the step size calculation proposed by the existing algorithm speed while ensuring the accuracy of the restoration.

Apply the improved algorithm to distributed sensor networks. By comparing the calculation time of the reduction algorithm, the convergence time CoSaMp is 0.043, the IHT is 1.92*e-3, the Model-based is 2.86*e-4, and the improved algorithm is 1.65*e-4. The total time CoSaMp is 1.984, the IHT is 0.014, the Model-based is 6.82*e-4, and the improved algorithm is 2.58*e-4. Through experiments, it is concluded that the two improved measurement matrices have great advantages in terms of time and storage space required for forming; the improved restoration algorithm has better effects than the existing algorithms in terms of time and restoration accuracy. Therefore, it can be concluded that the improved algorithm can meet the problem of small memory of general wireless sensor nodes, solve the problem of large errors after back-end restoration processing, reduce the number of observation samples required, and speed up the overall operation speed. It is suitable for wireless sensor real-time monitoring network.

Fig. 1

D Validation of the values
D Validation of the values

Fig. 2

Applies the improved algorithm to the reduction results of the actual volcano data
Applies the improved algorithm to the reduction results of the actual volcano data

Fig. 3

Restores the results of applying the sparse random matrix to the overall algorithm
Restores the results of applying the sparse random matrix to the overall algorithm

Fig. 4

Applies the modified algorithm to four actual data from different periods
Applies the modified algorithm to four actual data from different periods

Fig. 5

Comparison between the reduction algorithms
Comparison between the reduction algorithms

Fig. 6

Focuses on the magnified tip part for comparison
Focuses on the magnified tip part for comparison

Fig. 7

Comparison of multiple reduction algorithms
Comparison of multiple reduction algorithms

Time complexity comparison

Method Space complexity Time complexity
Sparse two-dimensional matrix2 D matrices 990,080 0.0079s
Improved sparse two-dimensional matrix 32,768 0.0027s
Improved sparse random matrix 32,768 0.0112s
The space of the random Gaussian matrices 2,990,080 0.0142s

Nanxuan Zhao, Ying Cao, Rynson W. H. Lau. What characterizes personalities of graphic designs?[J]. ACM Transactions on Graphics (TOG). 2018 (4) Zhao, Nanxuan Cao, Ying Lau. Rynson W. H. What characterizes personalities of graphic designs?[J]. ACM Transactions on Graphics (TOG). 2018 (4)10.1145/3197517.3201355Search in Google Scholar

Xiaoying Guo, Yuhua Qian, Liang Li, Akira Asano. Assessment model for perceived visual complexity of painting images[J]. Knowledge-Based Systems. 2018 Guo, Xiaoying Qian, Yuhua Li, Liang Asano. Akira Assessment model for perceived visual complexity of painting images[J]. Knowledge-Based Systems. 201810.1016/j.knosys.2018.06.006Search in Google Scholar

Liu Shiguang, Jiang Yaxi, Huarong. Attention-aware color theme extraction for fabric images[J]. Textile Research Journal. 2018 (5) Shiguang Liu, Yaxi Jiang, Huarong. Attention-aware color theme extraction for fabric images[J]. Textile Research Journal. 2018 (5)Search in Google Scholar

N. Kita,K. Miyata. Aesthetic Rating and Color Suggestion for Color Palettes[J]. Computer Graphics Forum. 2019 (7) Kita, N. Miyata. K. Aesthetic Rating and Color Suggestion for Color Palettes[J]. Computer Graphics Forum. 2019 (7)10.1111/cgf.13010Search in Google Scholar

Zhenyu Gu, Jian Lou. Data driven webpage color design[J]. Computer-Aided Design. 2019. Gu, Zhenyu Lou. Jian Data driven webpage color design[J]. Computer-Aided Design. 2019.Search in Google Scholar

Wang X, Hou Z, Pan S, et al. Corridor scene recognition for mobile robots based on multi-sonar-sensor information and Neu Cube[J]. Journal of Computer Applications, 2019. Wang X, Hou Z, Pan S, Corridor scene recognition for mobile robots based on multi-sonar-sensor information and Neu Cube[J]. Journal of Computer Applications, 2019.Search in Google Scholar

Geng, Hwaiyu. Internet of Things and Data Analytics Handbook || Electro-Optical Infrared Sensor Technologies for the Internet of Things[J]. 2017, 10.1002/9781119173601:167-185. Geng, Hwaiyu. Internet of Things and Data Analytics Handbook || Electro-Optical Infrared Sensor Technologies for the Internet of Things[J]. 2017, 10.1002/9781119173601:167-185.Apri DOISearch in Google Scholar

Ji P N. Optical technologies for the Internet of Things era[C]//Optical Data Storage 2017: From New Materials to New Systems. Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series, 2019. Ji P N. Optical technologies for the Internet of Things era[C]//Optical Data Storage 2017: From New Materials to New Systems. Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series, 2019.10.1117/12.2276426Search in Google Scholar

Sundareswaran V, Yuan H, Kai S, et al. Electro-optical Infrared Sensor Technologies for the Internet of Things[M]. John Wiley & Sons, Inc. 2019. Sundareswaran V, Yuan H, Kai S, Electro-optical Infrared Sensor Technologies for the Internet of Things[M]. John Wiley & Sons, Inc. 2019.Search in Google Scholar

Sundareswaran V, Yuan H, Kai S, et al. Electro-optical Infrared Sensor Technologies for the Internet of Things[M]. John Wiley & Sons, Inc. 2019. Sundareswaran V, Yuan H, Kai S, Electro-optical Infrared Sensor Technologies for the Internet of Things[M]. John Wiley & Sons, Inc. 2019.Search in Google Scholar

Choi, J.W., Shim, B., Ding, Y., et al. Compressed sensing for wireless communicaitions: Useful tips and tricks [J].IEEE Communications Surveys Tutorials, 2017, 19(3):1527-1550. Choi, J.W., Shim, B., Ding, Y., Compressed sensing for wireless communicaitions: Useful tips and tricks [J].IEEE Communications Surveys Tutorials, 2017, 19(3):1527-1550.10.1109/COMST.2017.2664421Search in Google Scholar

Abonyi J, Honti G M. A Review of Semantic Sensor Technologies in Internet of Things Architectures[J]. Complexity, 2019. Abonyi J, Honti G M. A Review of Semantic Sensor Technologies in Internet of Things Architectures[J]. Complexity, 2019.10.1155/2019/6473160Search in Google Scholar

Yang W, Aghasian E, Garg S, et al. A Survey on Blockchain-Based Internet Service Architecture: Requirements, Challenges, Trends, and Future[J]. IEEE Access, 2019, PP(99):1-1. Yang W, Aghasian E, Garg S, A Survey on Blockchain-Based Internet Service Architecture: Requirements, Challenges, Trends, and Future[J]. IEEE Access, 2019, PP(99):1-1.10.1109/ACCESS.2019.2917562Search in Google Scholar

Zhao, W., Sun, B., Wu, T., et al. On-chip neural data compression based on compressed sening with sparse sensing matrices[J].IEEE Transactions on Biomedical compressive and Systems,2018,12(1):242-254. Zhao, W., Sun, B., Wu, T., On-chip neural data compression based on compressed sening with sparse sensing matrices[J].IEEE Transactions on Biomedical compressive and Systems,2018,12(1):242-254.10.1109/TBCAS.2017.277950329377812Search in Google Scholar

Mallat, S., Zhang, Z. Matching pursuit with time-frequency dictionaries[J].IEEE Transactions on Signal Processing,2017,41(12):3397-3415. Mallat, S., Zhang, Z. Matching pursuit with time-frequency dictionaries[J].IEEE Transactions on Signal Processing,2017,41(12):3397-3415.10.1109/78.258082Search in Google Scholar

Phuttharak J, Loke S W. A Review of Mobile Crowdsourcing Architectures and Challenges: Towards Crowd-Empowered Internet-of-Things[J]. IEEE Access, 2018:1-1. Phuttharak J, Loke S W. A Review of Mobile Crowdsourcing Architectures and Challenges: Towards Crowd-Empowered Internet-of-Things[J]. IEEE Access, 2018:1-1.10.1109/ACCESS.2018.2885353Search in Google Scholar

Silva B N, Khan M, Han K. Towards sustainable smart cities: A review of trends, architectures, components, and open challenges in smart cities[J]. Sustainable Cities and Society, 2018, 38. Silva B N, Khan M, Han K. Towards sustainable smart cities: A review of trends, architectures, components, and open challenges in smart cities[J]. Sustainable Cities and Society, 2018, 38.10.1016/j.scs.2018.01.053Search in Google Scholar

Bhushan B, Khamparia A, Sagayam K M, et al. Blockchain for Smart Cities: A review of Architectures, Integration Trends and Future Research Directions[J]. Sustainable Cities and Society, 2020, 61:102360. Bhushan B, Khamparia A, Sagayam K M, Blockchain for Smart Cities: A review of Architectures, Integration Trends and Future Research Directions[J]. Sustainable Cities and Society, 2020, 61:102360.10.1016/j.scs.2020.102360Search in Google Scholar

Pal S, Dorri A, Jurdak R. Blockchain for IoT Access Control: Recent Trends and Future Research Directions[J]. 2021. Pal S, Dorri A, Jurdak R. Blockchain for IoT Access Control: Recent Trends and Future Research Directions[J]. 2021.10.1016/j.jnca.2022.103371Search in Google Scholar

Hewa T M, Hu Y, Liyanage M, et al. Survey on Blockchain based Smart Contracts: Technical Aspects and Future Research[J]. IEEE Access, 2021. Hewa T M, Hu Y, Liyanage M, Survey on Blockchain based Smart Contracts: Technical Aspects and Future Research[J]. IEEE Access, 2021.10.1109/ACCESS.2021.3068178Search in Google Scholar

Cy A, Cda A, Mlb C, et al. Survey on blockchain for future smart grids: Technical aspects, applications, integration challenges and future research[J]. Energy Reports, 2021, 7:6530-6564. Cy A, Cda A, Mlb C, Survey on blockchain for future smart grids: Technical aspects, applications, integration challenges and future research[J]. Energy Reports, 2021, 7:6530-6564.10.1016/j.egyr.2021.09.112Search in Google Scholar

Liu C, Zhang X, Chai K K, et al. A survey on blockchain-enabled smart grids: Advances, applications and challenges[J]. IET Smart Cities, 2021, 3(2). Liu C, Zhang X, Chai K K, A survey on blockchain-enabled smart grids: Advances, applications and challenges[J]. IET Smart Cities, 2021, 3(2).10.1049/smc2.12010Search in Google Scholar

Kapassa E, Themistocleous M, Christodoulou K, et al. Blockchain Application in Internet of Vehicles: Challenges, Contributions and Current Limitations. 2021. Kapassa E, Themistocleous M, Christodoulou K, Blockchain Application in Internet of Vehicles: Challenges, Contributions and Current Limitations. 2021.10.3390/fi13120313Search in Google Scholar

Yang J, Bi H, Liang Z, et al. A Survey on Blockchain: Architecture, Applications, Challenges, and Future Trends[C]//2020 International Conferences on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData) and IEEE Congress on Cybermatics (Cybermatics). IEEE, 2020. Yang J, Bi H, Liang Z, A Survey on Blockchain: Architecture, Applications, Challenges, and Future Trends[C]//2020 International Conferences on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData) and IEEE Congress on Cybermatics (Cybermatics). IEEE, 2020.10.1109/iThings-GreenCom-CPSCom-SmartData-Cybermatics50389.2020.00129Search in Google Scholar

Hinders M, Gao W, Fehlman W. 4 sonar sensor interpretation and infrared image fusion for mobile robotics[J]. 2019. Hinders M, Gao W, Fehlman W. 4 sonar sensor interpretation and infrared image fusion for mobile robotics[J]. 2019.Search in Google Scholar

Alladi T, Chamola V, Rodrigues J, et al. Blockchain in Smart Grids: A Review on Different Use Cases[J]. Sensors, 2019, 19(22):4862-. Alladi T, Chamola V, Rodrigues J, Blockchain in Smart Grids: A Review on Different Use Cases[J]. Sensors, 2019, 19(22):4862-.10.3390/s19224862689173031717262Search in Google Scholar

Pareek A, Singh P, Lather J S. Blockchain Technology in Smart Grids and Microgrids: A Critical Review of Challenges and Opportunities. 2022. Pareek A, Singh P, Lather J S. Blockchain Technology in Smart Grids and Microgrids: A Critical Review of Challenges and Opportunities. 2022.10.1007/978-981-16-7393-1_30Search in Google Scholar

Guo Y, Wan Z, Cheng X. When Blockchain Meets Smart Grids: A Comprehensive Survey[J]. 2021. Guo Y, Wan Z, Cheng X. When Blockchain Meets Smart Grids: A Comprehensive Survey[J]. 2021.10.1016/j.hcc.2022.100059Search in Google Scholar

Articoli consigliati da Trend MD

Pianifica la tua conferenza remota con Sciendo