Abstract

Wireless cooperative routing algorithm transmits the data collected in the target area to users, so that users can obtain monitoring information timely and accurately. In the traditional low-power adaptive clustering hierarchical routing protocol, the process of building clusters is random, the resources of nodes are not fully utilized, the node death speed is fast, the network life cycle is short, and the performance is not stable enough. In addition, the route maintenance process is cumbersome and will occupy a lot of bandwidth. In order to solve the problems of real-time transmission of digital media art communication data and network lifetime optimization, a wireless cooperative routing algorithm based on minimum energy consumption is proposed. The facts of transmission strength consumption, node residual strength, and minimal information transmission extension are analyzed, a new weight feature is proposed, and a multipath statistics routing scheme is developed by using the usage of the minimal strength consumption. All digital media art propagation sensor nodes transmit data to sink nodes along multiple transmission paths. Simulation results show that the algorithm can prolong the network lifetime, reduce and balance the node energy consumption, reduce the data transmission delay, reduce the energy consumption of wireless cooperative routing based on the minimum energy consumption by 64.5%, and increase the number of compressed images by 182%.

1. Introduction

In recent years, with the improvement of people’s requirements for the diversity and accuracy of information acquisition, the simple data obtained by the original traditional wireless sensor networks cannot meet the requirements of network application, and there is an urgent need to introduce digital media services such as image, audio, and video into wireless cooperative routing [1]. Therefore, wireless cooperative routing has attracted more and more attention from academia and media. With the introduction of digital media services, wireless sensor nodes will consume more energy to ensure the quality of service of transmitted digital media services, such as greater traffic and lower communication delay. For sensor nodes with limited resources and energy, energy consumption has become one of the main bottlenecks restricting the application and popularization of wireless cooperative routing [2]. Digital media art communication based on wireless cooperative routing is a new sensing method to collect and process digital media data such as image, video, and audio. The digital media sensor node of wireless cooperative routing is equipped with cameras, microphones, and other sensors, with computing, storage, and communication capabilities. It can self-organize to form a wireless sensor network, cooperate to collect and process the digital media data in the surrounding environment, and finally transmit the data to the monitoring centre through multihop routing [3]. The monitoring centre records, analyzes, and displays various data obtained, so as to realize comprehensive and effective digital media data monitoring.

Wireless cooperative routing provides a new means for the traditional digital media monitoring system. It can effectively overcome the shortcomings of traditional monitoring system, such as high deployment cost, inflexible networking, and troublesome maintenance [4]. Wireless cooperative routing also inherits the advantages of wireless sensor network, can sense the diversified data in the network coverage area, and has flexible and rich functional scalability. Therefore, wireless cooperative routing has a very broad application prospect in many application fields, such as battlefield monitoring, traffic monitoring, security sensitive area monitoring, smart home, target tracking, and public security monitoring [5]. However, there are still some difficulties in the industrialization of WMSN, including high bandwidth demand, high node energy consumption, and real-time requirements of digital media data transmission. Due to the complex environmental conditions of wireless cooperative routing applications, the energy consumption of digital media sensor nodes has not decreased significantly; how to develop wireless cooperative routing algorithms with low energy consumption and high network lifetime puts forward new requirements for digital media art communication [6].

In order to reduce the energy consumption of digital media art communication nodes and prolong the life cycle of the network, a wireless cooperative routing algorithm based on minimum energy consumption is proposed to solve the problems of real-time transmission of digital media art communication data and network lifetime optimization. The information transmission power consumption, node residual power, and minimal information transmission length are analyzed, a new weight feature is proposed, and a multipath fact routing scheme is built by means of the usage of the minimal strength consumption. All digital media art propagation sensor nodes transmit data to sink nodes along multiple transmission paths. Simulation results show that the algorithm can prolong the network lifetime, reduce and balance node energy consumption, reduce data transmission delay, and realize the digital media art dissemination of wireless cooperative routing based on minimum energy consumption.

The specific contents of this paper are arranged as follows: Section 1 introduces the relevant background and significance of wireless cooperative routing and analyzes the existing problems of digital media art communication. Related work is discussed in Section 2. Section 3 analyzes the algorithm and energy consumption of wireless cooperative routing based on minimum energy consumption. In Section 4, simulation experiments are carried out. Section 5 summarizes the full text.

With the development of new wireless communication technology and the increasing popularity of low-cost communication equipment, wireless cooperative routing plays an important role in digital media communication because of its strong scalability and distributed self-organization. As the most critical subject in wireless networks, wireless cooperative routing technology has important research significance. According to the fading characteristics of wireless links and the limited energy of low-cost communication equipment, how to design an end-to-end routing mechanism for various potential application scenarios of wireless cooperative routing, so that data packets can be transmitted to the destination node in time reliably and efficiently, is the current research focus and difficulty. In recent years, there have been many advances in the algorithm and application research of wireless cooperative routing, some of which are as follows:

Relevant scholars study the wireless cooperative routing algorithm from the aspect of optimization, consider the data processing power, propose the constraints such as error distortion inequality constraints, traffic constraints, and energy constraints, and establish the network optimization model [7]. The subgradient algorithm is used to solve the model and obtain the optimal solution. The delay constraint and traffic constraint are analyzed, and an optimization model is established to balance lifetime, utility, and delay. The optimization model is analyzed, and the delay minimization problem, lifetime maximization problem, and utility and power allocation balance problem are derived, which are solved by the optimization method [8]. An image transmission scheme based on a two-hop cluster structure is studied to maximize the lifetime of wireless digital media sensors. In this scheme, multiple relay nodes are used to compress and forward images, so as to reduce the energy consumption of camera nodes and cluster head nodes. The network lifetime optimization model is established, and the adaptive method of camera node sending radius and the image compression task allocation method based on the residual energy of ordinary sensor nodes are proposed to balance the node energy consumption [9]. However, the implementation of these algorithms is complex, the convergence speed is slow, and the calculation workload of the optimal scheme is large, which needs to consume a certain amount of node energy.

Many scholars have made some achievements in traditional wireless routing algorithms. For example, a proportional weight routing algorithm is proposed. The algorithm considers the link energy consumption and node residual energy, constructs the link weight function, finds the minimum weight path from each node to sink node according to the algorithm, and constructs the shortest path tree [10]. Finally, all nodes transmit data along the shortest path tree. For wireless sensor networks with nodes, a clustering routing algorithm with maximum lifetime is proposed. In this algorithm, the nodes that can replace cluster heads and charge are introduced to calculate the optimal location of nodes [11]. According to the cluster head energy consumption and node to cluster head energy consumption, multiple cluster head selection and clustering methods that can maximize the network lifetime are proposed. All sensor nodes gather the data to the cluster head node, and the cluster head node relays the data to the sink node through the node [12]. The node has limited transmission rate and a large number of digital media data. Only transmitting data along one path will cause high data transmission delay, cause high energy consumption and premature failure of hub nodes, and shorten the network lifetime.

Therefore, aiming at the above problems, based on the summary of relevant references, a wireless cooperative routing algorithm based on minimum energy consumption is proposed. In this algorithm, multiple paths that weigh the network lifetime and data transmission delay are found to reduce the node energy consumption and data transmission delay and improve the network lifetime.

3. Wireless Cooperative Routing Algorithm Based on Minimum Energy Consumption

3.1. Energy Consumption Model of Wireless Cooperative Routing

Nodes can be divided into scalar sensor nodes, digital media sensor nodes, and sink nodes. The scalar sensor node is responsible for performing simple tasks, such as forwarding data from other nodes and collecting scalar data. The data processing requirements are not high. Therefore, the energy consumption of the scalar sensor node to send and receive bit data through distance is defined as , respectively. where represents the circuit energy consumption per bit, represents the distance between the wireless transmitting node and the receiving node , and represents the amplifier energy consumption per bit depending on the amplifier model. Considering the error conditions such as timeout retransmission and packet loss in the data transmission process, the total energy consumption of the scalar sensor node is as follows: where represents the set of all possible receiving nodes within the single-hop maximum communication range of the transmitting node .

In addition to considering the energy consumption of wireless communication, digital media sensor nodes still need to collect and process digital media data such as image, video, and audio with a large amount of data, so the energy consumption of data processing needs to be considered. According to the power, speed, and distortion model, the energy consumption of data processing is as follows: where represents the processing distortion of digital media data, represents the perceived rate of digital media data, represents the average input variance of digital media data, and represents the data processing efficiency coefficient. The total energy consumption of digital media sensor node is as follows:

3.2. Wireless Cooperative Routing Algorithm Based on Minimum Energy Consumption

Network flow theory is a common theory in graph theory. It mainly aims at many systems including flow, such as wireless sensor network system with data flow, highway system with vehicle flow, control system with information flow, water supply system with water flow, and financial system with cash flow [13].

Each digital media sensor node collects a large number of digital media data. In order to send the digital media data to sink node in the shortest possible time, it is necessary to calculate the data routing scheme according to the network maximum flow method [14]. However, the network maximum flow method only considers the traffic maximization of data transmission, its transmission scheme is not unique, and does not consider the energy consumption and data transmission delay of nodes [15]. Therefore, in order to reduce node energy consumption and data transmission delay, in addition to considering the transmission capacity of the link, the cost is introduced on each link. On the premise of ensuring the maximum flow, find a minimum cost and maximum flow that can reduce node energy consumption and data transmission delay. Architecture and propagation of wireless cooperative routing based on minimum energy consumption are shown in Figure 1.

The algorithm can find all possible paths from the digital media sensor node to the sink node, but some paths consume a lot of energy. Choosing this route will enlarge the power consumption of the node. If there are a couple of digital media sensor nodes in the network, there may additionally be more than one replica paths between the statistics transmission paths of every digital media sensor node; that is, some links in the duplicate path appear in the transmission paths of multiple digital media sensor nodes at the same time [16]. Due to the limited data transmission rate of scalar sensor nodes, the hub node in the repeated path cannot relay the data of all digital media sensor nodes. Therefore, count the number of repetitions of each repeated path, allocate the bandwidth resources of the repeated path to multiple digital media sensor nodes, and modify the traffic of all links of each digital media sensor node on the repeated path; finally, the data routing scheme of wireless digital media sensor network is obtained [17].

3.3. Implementation of Wireless Cooperative Routing Algorithm Based on Minimum Energy Consumption

Cycle through the following steps until the first sensor node runs out of energy: (1)Sink node obtains the position coordinates, self-address, residual energy, and other information of all sensor nodes by flooding(2)Calculate the weight of all links. , . Initialize the feasible stream of all digital media sensing nodes. Start to calculate the minimum cost and maximum flow of digital media sensing node (3)If the minimum cost flow calculated in iteration is , the structure changes with the network (4)Find the shortest path from the digital media sensing node to the sink node in . If there is no shortest path, skip to step (6). If there is a shortest path, skip to step (5)(5)Obtain the corresponding minimum cost widening path and calculate the improvement amount(6) is the minimum cost stream of digital media sensor node . When the minimum cost and maximum flow calculation of all digital media sensing nodes is completed, skip to step (7). Otherwise, , skip to step (3) and start a new node calculation [18](7)Judge whether there is a duplicate path in the data transmission path of each digital media sensing node. If it exists, depend the wide variety of repetitions of every repeated path, divide the site visitors of all hyperlinks of every digital media sensing node on the repeated direction through the wide variety of repetitions, and gain the statistics routing scheme of the wireless digital media sensing node [19]. The sink node notifies other nodes of the data routing scheme. All nodes transmit data according to the data routing scheme(8)After the sink node collects data for a period of time, skip to step (1) again. The time complexity is mainly composed of the time complexity of minimum cost and maximum flow calculation of digital media sensing nodes and the time complexity of link weight calculation [20]

3.4. Energy Consumption Analysis of Digital Media Art Image Transmission

Traditional digital media art communication has the following two ways: mode 1 does not compress the image and directly transmits the collected original image; mode 2 first compresses the collected image and then transmits the compressed image. Suppose that sending an image from the source node to sink requires -hop transmission, the distance between hops is drop, and the image pixels are to be transmitted, the total energy consumed in mode 1 is as follows:

If the same image is transmitted in mode 2, JPEG2000 is used to compress the image, and the image compression rate is , the energy required is as follows:

The relationship between the energy consumptions in the above two image transmission modes is compared as follows; assuming that the distance of each jump is equal, replace Equations (4) to (5) into Equation (6) and obtain the following:

It can be seen that in the multihop wireless digital media sensor network environment, in order to save the energy consumption of image transmission, we should comprehensively consider the influence of hops and interhop distance to judge whether image compression is needed. When JPEG2000 standard is adopted, the compression size is -bit image; it can be seen from Equation (3) that the energy required is 0.65 J. Therefore, if centralized image compression is adopted, image nodes will bear great energy pressure. When the number of compressed images is large, their power will be exhausted quickly [21].

4. Simulation Implementation and Analysis

Compared with the digital media sensor node, the scalar sensor node has a small amount of sensing data [22]. Although it consumes a certain communication energy consumption, it does not affect the network lifetime, node energy consumption, and data transmission delay of each algorithm [23]. Therefore, in the simulation, the energy consumption of sensing data processing and communication of scalar sensor nodes, data fusion, information query, packet transceiver, and other energy consumption are not considered, and only the energy consumption of wireless communication and processing of digital media data are considered.

4.1. Analysis of Network Lifetime and Data Transmission Delay

With as an example, the simulation results are shown in Figure 2. When is certain, tends to 1, When it tends to 3, the network lifetime reaches the maximum and the data transmission delay reaches the minimum. This is because when and are certain, when , the link energy consumption accounts for the main part in the weight function, so the larger the , the network lifetime and data transmission delay basically do not change. When and are certain, when , the smaller the , the weaker the role of link energy consumption, the smaller the network lifetime, and the larger the data transmission delay. Similarly, when and are certain, , with larger , smaller network lifetime, and larger data transmission delay. When and are certain, , the smaller the is, the lower the impact of the residual energy of the node on the weight function, resulting in the more unbalanced distribution of node energy consumption, therefore the smaller the network lifetime and the greater the data transmission delay.

With as an example, the simulation results are shown in Figure 3. When is certain, tends to 3, . When it tends to 0.4, the network lifetime reaches the maximum and the data transmission delay reaches the minimum. This is because when and are certain, , the minimum data transmission delay of the node accounts for the main part in the weight function , and the influence of the network minimum data transmission delay on the weight function is insufficient; only ; multiple paths that can improve the network lifetime and reduce the data transmission delay will be selected as much as possible, so as to improve the network lifetime and reduce the data transmission delay.

4.2. Energy Consumption Analysis of Different Sampling Rates

Figure 4 shows the total energy consumption and transceiver energy consumption required by the sensor node to transmit and receive a symbol at three different distances when the sampling rate is 0.1 and 1, respectively. As can be seen from Figure 4, both increase with the increase of encoder dimension, and the proportion of transceiver energy consumption in the total energy consumption is very small, especially when the sampling rate is 0.1. This shows that the encoding and decoding energy consumption accounts for the vast majority of the total energy consumption. Therefore, it can be viewed from the discernment that the whole electricity consumption of sensor nodes is no longer affected by using the alternate of the spacing between transceiver nodes. How to reduce the energy consumption of codec is one of the most important links and ways to solve the energy-saving problem of sensor nodes.

It can also be seen from Figure 4 that under two different sampling rates, when the encoder dimensions are 4 and 1, respectively, the ratio of total energy consumption to transceiver energy consumption is minimized; that is, the proportion of encoding and decoding energy consumption is the smallest. Therefore, in the actual network application, the reasonable encoder dimension should be set according to the network state and application requirements.

As can be seen from Figure 5, when is 0.1 and 0.2, under six different transceiver node spacing, the maximum value of TRECT is 16%, and in most cases, the value of TRECT is less than 2%. This shows that the energy consumption of sensor nodes for video compression coding and decoding accounts for the vast majority of the total energy consumption of sensor nodes. As the SNR threshold of the received signal at the receiving node increases, TRECT increases accordingly. This is because, in order to make the received signal meet a larger signal-to-noise ratio threshold, the transmitting node must increase the transmission energy consumption of each UWB pulse signal without sudden change of wireless channel conditions. Furthermore, the proportion of transceiver energy consumption in the total energy consumption of sensor nodes is improved. In addition, when increased from 0.1 to 0.2, TRECT decreased under different conditions [24]. This is because the increase of directly reduces the target coding rate per bit per pixel. Although the reduction of the target coding rate per bit per pixel further leads to a sharp decrease in the number of calculations of video coding and decoding per frame, this decrease is far less than the reduction of transceiver energy consumption.

4.3. Influence of Next Hop Distance

The energy consumption is divided into network energy consumption and node energy consumption. The former refers to the original size of , the total energy consumed in the whole process from the source node to the sink node, which is the energy consumed by an image node transmitting an image of the same size. The network lifetime is characterized by the number of images that an image node can transmit in an energy acquisition cycle. It is assumed that the energy that a node can collect in a cycle is 10 J. The performance comparison of three different image transmission mechanisms is shown in Figure 6.

As can be seen from Figure 6(a), when the next hop distance is 120 m, the network lifetime of mechanisms transmit original image and compressed image is 14, while that of mechanism, wireless cooperative routing method is 63, which is 4.5 times that of the first two. With the increasing distance, the proportion of energy consumption of sending images is increasing, and the network lifetime also decreases. When the next hop distance reaches 200 m, the network lifetime of the three mechanisms is 2, 10, and 25 in turn. As can be seen from Figure 6(b), when the next hop distance is small, the energy consumptions of image nodes of transmit original image mechanism and wireless cooperative routing method mechanisms are almost the same, which is less than that of compressed image mechanism; however, with the increase of distance, the energy consumption of mechanism increases sharply, while the energy consumption mechanisms of transmit original image and compressed image increase slowly. It is worth noting that the energy consumption difference between systems transmit original image and compressed image remains unchanged when the distance is large. In fact, the energy consumption of compressing an image using the method in this paper is reduced by 0.4237 J compared with that directly compressed by the cluster head; that is, the compression energy consumption of image nodes is reduced by 64.5%, and the number of compressed images is 2.82 times that of the latter. In conclusion, regardless of the distance of the next hop, the method proposed in this paper performs best in terms of network lifetime and node energy consumption. It shows that the multihop image transmission mechanism based on image node neighbourhood cooperative compression can effectively reduce the energy consumption of image nodes, balance the network energy consumption, and prolong the network lifetime.

4.4. Influence of Hops and Distance

In simultaneous interpreting, the relationship between the energy consumption of the three transmission mechanisms and the number of hops and distances is shown in Figure 7. In Figure 7(a), and increase from 20 m to 160 m with step 10 m. In Figure 5(b), , , and increase from 20 m to 160 m in steps of 10 m. It can be seen that when the transmission hops and distance are small, the network energy consumption of wireless cooperative routing based on minimum energy consumption is less than that of traditional method 1, but when the transmission hops and distance are large, the network energy consumption of traditional method 1 is slightly higher than that of traditional method 2. The reason is that the image node needs to consume additional energy when distributing the image compression task, and the increased energy consumption is about 0.2328 J. The node energy consumption of wireless cooperative routing based on minimum energy consumption is always less than that of traditional method 1. It can be seen that when the number of hops is large and the distance is long, the traditional method 1 is to increase a small amount of network energy consumption, so as to balance the energy consumption of image clusters and obtain a larger network lifetime.

4.5. Performance Comparison of Different Methods

It can be seen from Figure 8(a) that when the number of hops is -hop, the network energy consumption of the two mechanisms is almost the same, but when the distance is long, the energy consumption of the method in this paper is slightly higher than that of the latter. This is because in order to be suitable for multihop transmission, the wireless cooperative route based on minimum energy consumption sends the image back to the image cluster head after the image compression is completed by the ordinary node, and then, the compressed image is transmitted by the image cluster head. It is not difficult to see from Figures 8(b)8(d) that when the number of hops is greater than 1 hop, the network energy consumption of wireless cooperative routing based on minimum energy consumption is lower than the latter, and the more hops and longer transmission distance, the more obvious the energy-saving effect. This is because the wireless cooperative routing based on minimum energy consumption adopts the multihop transmission mechanism based on hops and distance, and the influence of distance and hops from the image node to the BS is fully considered in the image transmission. Therefore, with the increase of distance, the energy consumption will increase sharply. It can be seen that the methods in the literature are only suitable for WMSN with small network coverage, and the wireless cooperative routing based on minimum energy consumption is especially suitable for multihop image transmission in large-scale wireless digital media sensor networks.

5. Conclusion

In this paper, the energy consumption of digital media art communication is analyzed and studied, and a wireless cooperative routing digital media art communication based on minimum energy consumption is proposed. The energy-saving transmission mode is selected according to the transmission distance and hops. Through the neighbourhood cooperative compression scheme, the network energy consumption is balanced and the energy consumption of image nodes is reduced. The experimental results show that the image node adopts the wireless cooperative routing method based on minimum energy consumption to compress the image, which reduces the energy consumption by 64.5% and increases the number of compressed images by 182%. Compared with the existing two-hop image transmission mechanism, when the number of hops is 1 hop, the energy consumption is almost the same, but when transmitting images are over a long distance, the network energy consumption of digital media art transmission is significantly lower than the latter. Obviously, combining the multihop image transmission mechanism proposed in this paper with the image compression algorithm with lower energy consumption can undoubtedly further improve the energy efficiency of image nodes, so as to prolong the network lifetime more effectively. In addition, when determining the image transmission path, selecting a highly reliable link can effectively reduce the number of image retransmissions and improve the performance of digital media art transmission. Therefore, the next research work is to design a low-energy image compression algorithm suitable for digital media art communication and a routing protocol based on transmission success rate.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

No potential conflict of interest was reported by the author.