Abstract

The communication capacity control of the computer wireless network is the basis for realizing the efficient communication of massive data. In order to study the communication capacity control technology of the computer wireless network, improve the control effect of a large amount of data communication, and calculate the capacity of the wireless network in real time, this paper uses the fuzzy wavelet neural network to predict the wireless network channel. After the interference-free channel is obtained, the load balancing strategy of the ant colony optimization algorithm is used to filter the channel, and the channel allocation sequence with the most balanced load distribution is obtained, and a priority selection list is generated. After discretizing the channels in the largest discretization selection list, the channel sequence is allocated to the pair of nodes with communication requests according to the greedy coloring algorithm, so as to realize the communication capacity control of the computer wireless network. The test results show that the technology can guarantee good communication performance in both static and dynamic networks and can effectively complete network communication of massive data, and the communication capacity control effect is good.

1. Introduction

Wireless network communication capacity refers to the maximum amount of information that can be transmitted in a unit time, which is the embodiment of the advantages and disadvantages of wireless network communication ability, and it is greatly related to communication lines, work efficiency, and information passing time. At present, the Internet has covered people’s daily life. With the continuous integration of wireless communication technology and computer network technology, computer network technology has also developed rapidly. It has developed from simple data transmission in the past to multimedia data transmission such as voice, image, and video [1]. With the rapid development of computer technology, network technology, and communication technology, wireless network communication performs the functions of traditional network communication, such as file transmission, peripheral sharing, Web browsing, e-mail, and database access. Its main characteristics are high data transmission rate, relatively low price, and fast network construction speed [2]. Because the wireless communication link has the characteristics of high burst error rate, signal attenuation and background noise, interference conflict, and so on and because of the distributed random access characteristics of DCF, it will be greatly affected by network congestion, resulting in communication bottlenecks and other problems [3]. Because the communication line is the main reason that affects the wireless network communication, the communication line is also called the channel, and the capacity of the channel determines the capacity of the network communication [4]. Channel capacity is a parameter of the channel, which can reflect the maximum amount of information that can be transmitted by the channel. At present, the single-channel protocol is the main protocol in the practical application of wireless network, which simplifies the implementation of the protocol, reduces the difficulty of mutual discovery between nodes, and makes the networking more rapid and convenient [5]. However, when the amount of data is very large, many nodes will apply for communication on this channel at the same time, resulting in increased communication competition. Therefore, it is studied in this paper, and the communication capacity control technology of computer wireless network is proposed, which is used to solve the problem of communication capacity control and ensure the efficient transmission of data communication [6].

The key contributions of this work are as follows:(1)This paper uses fuzzy wavelet neural network to predict wireless network channels(2)This paper uses the load balancing strategy of the ant colony optimization algorithm to filter the channels, obtain the channel allocation sequence with the most balanced load distribution, and generate a priority selection list(3)The channel sequence is allocated to the pair of nodes with communication requests according to the greedy coloring algorithm to realize the communication capacity control of the computer wireless network

The rest of this paper is organized as follows: Section 2 discusses communication capacity control technology of computer wireless network, followed by the experimental test which is discussed in Section 3. Section 4 concludes the paper with summary and future research directions.

2. Communication Capacity Control Technology of Computer Wireless Network

In this paper, a multichannel MAC protocol is used, which can make many nodes in wireless sensor network and use multiple channels for parallel communication, so as to greatly improve the utilization of network bandwidth resources, reduce communication competition, and improve the network communication capacity [7].

The communication capacity control of computer wireless network is divided into three steps: channel prediction, screening, and allocation. In the communication process of computer wireless network, the prediction model of fuzzy wavelet neural network is used to get the channel without interference in the next stage [8]. Then, the load balancing strategy based on ant colony algorithm is applied to filter the channels, and the channel sequences without interference and with low load are recorded in the priority choice lists (PCL). Then, the maximum discretization algorithm is applied to select the channel from the PCL for channel discretization [9]. After the maximum discretization of the channel is completed, the channel sequence is assigned to the node pair with communication request to realize the communication capacity control of computer wireless network [10].

2.1. Channel Prediction Based on Fuzzy Wavelet Neural Network

Fuzzy wavelet neural network is composed of fuzzy neural network and wavelet network. The first half realizes a TSK fuzzy model, and the second half is wavelet network. The outputs of the two network models are the outputs of the model [11]. The network structure is shown in Figure 1.

It can be seen from Figure 1 that the neural network has a three-layer structure including an input layer, a calculation layer, and an output layer. There is a close connection between each level. In the structure of fuzzy wavelet neural network, the number of nodes in fuzzy rules is the same as the number of input signals [12]. In the second layer, each node has its corresponding language rules [13]. The membership value of each input signal to the network belongs to a part of the fuzzy system set. The membership function is expressed by Gauss function asin which the input signal variables of the fuzzy wavelet neural network, the number of nodes of the second layer network, and the center and width of the membership function of the th term of the th input are represented by ; ; ; and , respectively [14].

The output of the third layer of the fuzzy network can be expressed as follows:in which the output of the fuzzy network is , which is also the input signal of the final network. Therefore, the common output of the wavelet network and fuzzy network can be expressed asin which the output of the upper wavelet network and the final output of the network are ; ; and , respectively [15].

When using the fuzzy wavelet neural network to predict a channel, the spectrum state of binary sequence with length in the channel is decomposed into vector with length as an input vector of the fuzzy wavelet network, the output is , and its equation isEach column of is sent to the input layer neuron as the input sequence of the fuzzy wavelet neural network. Because the determination of the fuzzy rules of the sample set affects the network structure and the initial parameters of the network, it can reduce the complexity and improve the generalization performance [16]. Therefore, we first extract the rules from the sample set and use the fuzzy -means clustering algorithm to complete the rule extraction; that is, for samples , the number of clusters is set; then, the problem is transformed into an optimization problem that meets the constraint conditions [17].The constraint conditions are as follows:in which the fuzzy index of clustering is expressed by , and ; the membership degree of sample belonging to cluster is expressed by ; the Euclidean distance and diagonal matrix between the sample point and cluster center are and , respectively [18].

Let the partition matrix and center matrix of clustering be , and , and the number of cycles and the ending error be and , respectively. The process of fuzzy clustering is as follows:(1)Calculate the fuzzy clustering model:in which is sample set(2)Calculate the covariance matrix:(3)Calculate the distance to the cluster:(4)Update partition matrix:(5)Using orthogonal least square method, according to the principle of maximum error change rate, important clusters are found and saved [19]. ; ; and is regularized(6)If ends, otherwise , return (1) to continue running

For the generated fuzzy rule, if is and is , then , where is the th fuzzy rule and is the output corresponding to the th fuzzy rule . Gaussian membership function is

In this case, the output rule can be expressed as

The output of the wavelet network is calculated as follows:in which the scale factor and displacement factor are and , respectively.

The prediction output of the whole network is :

and use the least square difference of gradient descent.in which is the error and is the expected output.

The gradient descent method is used to adjust the parameters , , , and weight in equations (10) and (14). The first two parameters depend on the fuzzy membership function, the last two parameters come from the wavelet network model, and is the learning rate [20].

If node is connected to rule node , then

2.2. Load Balancing Based on Ant Colony Algorithm

Load balancing problem for wireless sensor network channel allocation is to make the data traffic balanced allocation to each channel. Load balancing is very important for the performance of communication capacity and average delay of wireless sensor networks [21]. The reason is that if the network load cannot be evenly distributed, the channel with large load will lead to the backlog of data services, while the channel with small load will produce the phenomenon that the channel is idle after the transmission of data services, thus affecting the communication capacity of wireless sensor networks [22]. In this paper, low overhead MAC protocol and ant colony optimization algorithm are used to integrate and exchange information between data links and networks, establish certain connections, work cooperatively, remove redundant operations, and allocate network resources more effectively [23].

In the algorithm, pheromone updating is divided into iterative optimal updating and local pheromone updating. The search path selection methods of searching solution space include two kinds: according to the prior law and according to the probability [24]. The purpose of this algorithm is as follows: at a certain time, when the data traffic set in the network comes, the ant colony algorithm is used to find a channel allocation sequence which makes the load most balanced distribution. Whether the channel load distribution is balanced or not can be expressed by the standard deviation of the channel load distribution [25].in which is the total number of available channels, is the load ratio of channel , is the average load ratio of channel, and is the standard deviation of the load ratio of channel. The smaller the value of is, the smaller the fluctuation of channel load is and the more balanced the load distribution is. The algorithm first updates the channel load ratio for the channel with low load [26]. With the increase of the overall load, the update mechanism gradually releases the restriction of the load ratio update, allowing more channels with relatively high load to join the algorithm scheduling; when the system load drops, the scheduling of individual channels with relatively high load will be closed in the global update [27], so as to achieve the purpose of overall load balancing.(1)Iterate and update equationin which is the pheromone content of the channel , that is, the ratio of the load of the channel to the total load; is the increment of the ratio of the load on the channel to the total load; is the volatile factor of the iterative optimal update load ratio; and is the residual factor of the new load ratio. By changing the values of and , the growth rate of channel load is adjusted [28]. is the standard deviation of the optimal channel sequence load generated in each iteration, and the channel sequence with no interference and low load is recorded in the priority choice lists (PCL); IOP is the iterative optimal path [29, 30].(2)Local update equationin which is the volatility coefficient of the local update load ratio, is the initial value of the load ratio, and the introduction of can reduce the load ratio on the selected channel, which is conducive to the discovery of new paths [31].(3)Path transfer rule equationin which is a parameter of the algorithm, and is a random number between 0 and 1. is the heuristic factor, which is the adjustment parameter of load ratio; is the expected heuristic factor, which is the adjustment parameter of visibility. is heuristic information. When , the channel is searched according to the probability; when , the channel is selected according to the prior law [32].(4)Calculation equation of transition probabilityin which is the probability that the th ant selects channel at time , and represents the set of nodes connected with the edge of node , that is, the set of nodes that can be selected by the th ant at node . If the node is in the set, its probability is calculated according to the concentration of load ratio; otherwise, the probability is 0. The transfer probability equation indicates that the th ant of an iteration is calculated according to the proportion of the channel load to the total load. If the load of the channel accounts for the greater proportion of the total load, the probability of transfer is also greater [33].

The algorithm description of multichannel load balancing scheduling algorithm based on ant colony algorithm is as follows:

Step 1. Parameters are set to initialize the load ratio of the channel.

Step 2. The ants in the ant colony choose a channel according to the selection probability.

Step 3. If the load ratio of each channel after scheduling is less than the set threshold.

Step 4. The data service is allocated to the channel.

Step 5. The channel load ratio is updated according to the channel searched by ants in ant colony.

Step 6. If there is a channel after scheduling, the load ratio is greater than the set threshold.

Step 7. Return to Step 2, and reselect a channel.

The maximum discretization is used to process the channel in the PCL list. The equation is as follows:in which is the maximum value satisfying the inequality . Each group includes at least channels, and the equation is as follows:

In order to ensure the maximum discretization and the maximum separation of each group of channels, the channel expression equation of group is as follows:

Channel maximum discretization is completed. When there is a node pair to transmit data, the channel is selected from the channel list after the maximum discretization according to the greedy coloring algorithm to assign the channel to the node pair, so as to control the communication capacity of the computer wireless network.

3. Experimental Test

In order to test the communication capacity control effect of the wireless network, NS2 simulation platform is used to complete the simulation experiment. During the experiment, the details of wireless network node parameters are shown in Table 1.

The performance of the multichannel MAC protocol has a great impact on the result of communication capacity control. Throughput average packet delay and average handshake time are used to measure the performance of the multichannel MAC protocol. One of the main goals of multichannel MAC protocol design is to increase the throughput of the network. The parameter can directly reflect the performance of the protocol. Packet delay refers to the time from the sending node to the receiving node, which is composed of queue delay, sending delay, and backoff delay. The average packet delay is an important index to measure the quality of a MAC protocol. The calculation equations are as follows:The transmission performance of the proposed technology in static network and dynamic network is tested, and the performance of the multichannel MAC protocol and typical single transceiver multichannel protocol (MMAC protocol) is compared under different packet arrival rates. Comparison results of the two protocols in static network and dynamic network are shown in Table 2. Packet average delay results in static and dynamic networks are shown in Table 3.

According to the test results in Table 2, in the static network and dynamic network, when the packet arrival rate is lower than 40 Kbps, the throughput difference between the multichannel MAC protocol and the typical single transceiver multichannel protocol (MMAC protocol) is small; this phenomenon is because the network load is small, the multichannel can meet the transmission needs of the network, and there will be no more serious data conflict; when the packet arrival rate is lower than 40 Kbps, the throughput difference between the multichannel MAC protocol and the typical single transceiver multichannel protocol (MMAC protocol) is small; when the packet rate is higher than 60 Kbps, the throughput of the multichannel MAC protocol is significantly higher than that of the typical single transceiver multichannel protocol (MMAC protocol), and with the gradual increase of the packet arrival rate, the difference between the throughput of the two protocols becomes larger and larger. This is because the multichannel MAC protocol is based on the maximum discrete channel allocation, which can effectively avoid the mutual interference between adjacent channels and alternate channels and greatly improve the utilization of wireless network channel resources, so it can effectively increase the throughput of wireless network communication. Packet average delay results in static and dynamic networks are shown in Table 3.

According to the test results in Table 3, in a static network, when the packet arrival rate is lower than 80 Kbps, the average delay of the multichannel MAC protocol and the typical single transceiver multichannel protocol (MMAC protocol) is equal; with the increase of the packet arrival rate, the load of the wireless network also increases; at this time, the average delay of the multichannel MAC protocol begins to be lower than the typical single transceiver multichannel protocol (MMAC protocol), and the average delay of the network is reduced greatly. In the dynamic network, the average delay of the two protocols increases slowly when the packet arrival rate is 20 Kbps, but the average delay of the multichannel MAC protocol is lower than that of the typical single transceiver multichannel protocol (MMAC protocol). It shows that the transmission performance of the proposed technology is better.

In order to test the communication capacity control effect of the proposed method, the wireless network communication capacity before and after the control is counted. Wireless network communication capacity before control is shown in Figure 2. Wireless network communication capacity after control is shown in Figure 3.

According to the test results of Figures 3 and 4, before the control, there is a large amount of spare capacity in the network, which does not make full use of the channel to complete the effective allocation of capacity; after using the technology in this paper, the use and allocation of spare capacity can be completed by using the channel reasonably. It shows that this technology has good control effect on the communication capacity of computer wireless network and can make full use of the channel to achieve capacity allocation.

In the case of different numbers of channels, the time required for data transmission of different sizes before and after control is tested. Data transmission time before control is shown in Figure 4. Data transmission time after control is shown in Figure 5.

According to the test results of Figures 4 and 5, when the data volume is 2 GB, 5GB, and 10GB, the larger the data volume is before the communication capacity control, the more time-consuming the transmission is, because the larger the data volume is, many nodes will send communication applications to the channel at the same time, resulting in communication competition, and there will be interference between nodes, resulting in the increase of transmission time-consuming; after the communication capacity control, it can realize multi-channel parallel communication, and improve the utilization of network broadband and transmission efficiency.

4. Conclusion

The communication capacity control of computer wireless network is the main means to meet the current communication needs of computer wireless network, so this paper studies the communication capacity control technology of wireless network based on fuzzy wavelet neural network and ant colony algorithm. In order to ensure good network connectivity as the premise, according to the channel load to carry out channel allocation, the reasonable use of the channel can be realized, to reduce the cost of nodes, so as to ensure the effective control of communication transmission capacity. The test results show that the technology is effective for the communication capacity control of computer wireless network, and the network communication performance is good. In the future research, how to calculate the capacity of wireless network communication in real time has become a main research direction. This link should be added to the research of this article.

Data Availability

The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.

Conflicts of Interest

The authors declare that they have no conflict of interest.

Acknowledgments

This study was funded by Beichuang teaching assistant Fund-University industry research innovation fund of Science and Technology Development Center, Ministry of Education (Grant No. 2018A05031).