CN109587752B - Wireless sensor network topology construction method based on multiple linear regression model - Google Patents

Wireless sensor network topology construction method based on multiple linear regression model Download PDF

Info

Publication number
CN109587752B
CN109587752B CN201910012525.XA CN201910012525A CN109587752B CN 109587752 B CN109587752 B CN 109587752B CN 201910012525 A CN201910012525 A CN 201910012525A CN 109587752 B CN109587752 B CN 109587752B
Authority
CN
China
Prior art keywords
cluster head
node
cluster
nodes
management area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910012525.XA
Other languages
Chinese (zh)
Other versions
CN109587752A (en
Inventor
赵培
尚韬
高妍
刘元皓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xidian University
Original Assignee
Xidian University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xidian University filed Critical Xidian University
Priority to CN201910012525.XA priority Critical patent/CN109587752B/en
Publication of CN109587752A publication Critical patent/CN109587752A/en
Application granted granted Critical
Publication of CN109587752B publication Critical patent/CN109587752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/04Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/04Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources
    • H04W40/10Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources based on available power or energy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/32Connectivity information management, e.g. connectivity discovery or connectivity update for defining a routing cluster membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The invention provides a wireless sensor network topology construction method based on a multiple linear regression model, aiming at improving the connectivity and stability of a network by eliminating the limitation on the node degree in the network, and comprising the following steps: initializing a wireless sensor network; acquiring a training data set of a multiple linear regression model through an initialization network, and constructing the multiple linear regression model of the number of non-cluster head nodes in a management area according to the training data set; the cluster head calculates the number of non-cluster head nodes and the average node degree of a management area of the cluster head according to a multiple linear regression model, the cluster head establishes a communication link with the non-cluster head nodes in the management area in a multi-hop mode with the maximum hop count as the average node degree, and finally wireless sensor network topology is formed. The invention calculates the number of non-cluster-head nodes in a cluster head management area through a multiple linear regression model to determine the node degree in the cluster head, and aims to solve the problem of limitation on the node degree and improve the connectivity and stability of a network.

Description

Wireless sensor network topology construction method based on multiple linear regression model
Technical Field
The invention belongs to the technical field of optical communication, relates to a networking technology of a communication network, and particularly relates to a wireless sensor network topology construction method based on a multiple linear regression model, which can be used for a wireless sensor network with limited node degree.
Background
The Wireless Sensor Network (WSN) is a distributed Sensor network, the end of the WSN is a Sensor capable of sensing and checking the outside world, and the sensors in the WSN communicate in a Wireless mode, including Wireless communication technologies such as Wireless laser communication, microwave communication and visible light communication, and the WSN has the advantages of flexible networking, low cost and the like. However, as the nodes in the WSN are not stationary but continuously move, the access degrees of the nodes in the WSN are continuously changed, which inevitably causes the problem of high node degree limitation in the WSN network, and causes the problem of unbalanced isolated nodes and energy in the network, thereby having important influence on the connectivity and stability of the WSN network. In addition, the WSN is easily influenced by the atmospheric channel environment, the connectivity and the stability of the WSN are further influenced, the defects caused by the single link characteristics of the WSN can be made up to the maximum extent by reasonable and effective network topology construction, and the connectivity and the stability of the WSN are improved.
Aiming at the problems of limited WSN communication node degree and the like, the existing solutions mainly comprise the following three types: (1) a physical layer modification method based on a multi-transceiver system; (2) a hybrid network method based on microwave and wireless laser combination; (3) a topology construction and routing method based on hierarchy. Aiming at the method (1), an FSO multi-transceiving system is adopted, the communication coverage of each node is expanded, the node degree is improved, and the influence of an FSO unidirectional link on the networking quality is reduced on a physical layer; according to the method (2), FSO and RF are combined to form a mixed network, the RF is adopted in a small-scale network through hierarchical control, and the FSO is adopted in a network relay.
However, the modification method for the physical layer has high cost and great technical difficulty, and for the hybrid network, the problem is not solved fundamentally because the hybrid network is only the hybrid network, and the problem of node degree limitation still exists. At present, the problem of node degree limitation is mainly solved by adopting a topology construction method. The topology construction and routing method mainly adopts a specific hierarchical network topology structure, the functions of the nodes are determined before the network is established, hierarchical communication is realized by distinguishing common nodes and cluster head nodes, and on the basis, a specific routing algorithm is adopted to discover neighbor nodes and a base station and establish a link. For example, a patent application with publication number CN 106162792 a, entitled "many-to-one data routing method with limited node degree in wireless sensor network" discloses a many-to-one data routing method with limited node degree in wireless sensor network. The nodes in the wireless sensor network are converted into corresponding super virtual nodes, the virtual nodes corresponding to the same wireless sensor node are combined, and the optimal data routing path of each wireless sensor node under the condition of degree limitation is selected. Aiming at the problem of node degree limitation in the wireless sensor network, the invention can select an optimized data routing path under the condition of a potential link. However, the invention considers the optimal routing selection under the condition of potential links to solve the problem of node degree limitation, and does not fundamentally solve the problem of node degree limitation, and if no potential links exist, the invention still has the problem of node degree limitation, further influences the energy balance and link stability of the network, and has negative influence on the connectivity and stability of the network.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a wireless sensor network topology construction method based on a multiple linear regression model, aiming at improving the connectivity and stability of a network by eliminating the limitation on the node degree in the network.
In order to achieve the purpose, the technical scheme adopted by the invention comprises the following steps:
(1) initializing the wireless sensor network:
(1.1) the wireless sensor network node determines the information of the wireless sensor network node:
each node DiDetermining location coordinates L including itselfiResidual energy EiCommunication distance RiAnd node degree dei,Di∈{D1,D2,…,DmM represents the number of the wireless sensor network nodes, and m is more than or equal to 2;
(1.2) the wireless sensor network node acquires a neighbor node information set:
each node DiCommunication distance R through APT systemiInner neighbor node { D1,D2,…,DzScanning, and combining the scanned information of all neighbor nodes into a neighbor node information set Vi,Vi={I1,I2,…Ia,…,Iz},Ia={La,Ea,Ra,deaZ represents the number of neighbor nodes; z is more than or equal to 1, and a is more than or equal to 1;
(1.3) the wireless sensor network node determines cluster head and non-cluster head nodes:
each node DiCalculating the energy ED required by the node to establish links with all the neighbor nodesiAnd ED is combinediWith all its neighbor nodes { ED1,ED2…EDzThe node corresponding to the maximum value in the data is used as a cluster head CDjOther nodes as non-cluster-head nodes { ND1,ND2,…,NDq},CDj∈{CD1,CD2,…,CDkK represents the number of cluster head nodes, q represents the number of non-cluster head nodes, k is more than or equal to 1, and q is equal to z;
Figure BDA0001937867490000031
wherein E isiRepresenting the residual energy of node i, EjRepresenting the residual energy of node j, dijRepresenting the euclidean distance between node i and node j,
Figure BDA0001937867490000032
xirepresents LiAbscissa of (a), xjRepresents LjAbscissa of (a), yiRepresents LiOrdinate of (a), yjRepresents LjThe ordinate of (a);
(1.4) the wireless sensor network node determines the management area where the wireless sensor network node is located:
each cluster head CDjAt a communication distance RjThe area determined for the radius is the management area A of the cluster headjEach non-cluster head node NDiDetermine its position coordinate LiBelong to { A1,A2,…,Aj,AkWhich management area in (L), if Li∈AjThen NDiIs contained in the management area AjInternal;
(2) the cluster head determines the number of non-cluster head nodes in the cluster head:
each cluster head CDjStatistics management area AjAt 0 to TlNumber of non-cluster-head nodes in time set Nj,Nj={n1,n2,…nc,nl},ncIs shown at TgThe number of non-cluster-head nodes, l represents each cluster-head CDjThe number of times of statistics, l is more than or equal to 30, TgRepresents 0 to TlCD per cluster head in timejThe counting frequency is the time corresponding to c, 0 to TlA period of time representing the completion of initialization, 0 ≦ Tg≤Tl,Tl≥0;
(3) Constructing a multiple linear regression model Y:
with each cluster head CDjManagement area AjInner non-cluster head node number set NjAs a training data set for a multiple linear regression model and from the training data set NjDetermining a management area AjMultiple linear regression model parameters { b) of number of middle non-cluster head nodes0,b1,…,bpAnd constructing a multiple linear regression model Y:
Y=b0+b1n1+b2n2+…+bpnp
wherein p represents the number of non-cluster head nodes related to Y, and p is more than or equal to 1;
(4) the cluster head calculates the number of non-cluster head nodes in the management area:
each cluster head CDjCalculating a management area A according to the multiple linear regression model YjAt 0 to TlThen TdNumber of non-cluster-head nodes at time Yj,Td>Tl
(5) The cluster head acquires the wireless sensor network topology:
(5.1) CD per cluster headjAccording to the management area AjNumber of inner non-cluster head nodes YjAnd node degree dejCalculating CDjAt TdMean nodosity λ of timej
Figure BDA0001937867490000041
(5.2) CD per cluster headjCluster head with its neighbors { CD1,CD2,…CDuEstablishing a communication link to form an upper-layer mesh structure containing k cluster heads; and the maximum hop count is lambdajMultiple hop method and CDjManagement area AjInner non-cluster head node [ ND ]1,ND2,…,NDhAnd (6) establishing a communication link to form k lower-layer star structures which take the cluster head as the center and contain h non-cluster-head nodes, wherein the upper-layer star structure and the lower-layer star structure jointly form a wireless sensor network topology.
Compared with the prior art, the invention has the following advantages:
1. according to the method, the number of non-cluster-head nodes in the cluster head management area is predicted by adopting a multiple linear regression model, and the average degree of the nodes in the cluster head is calculated, so that the access degree of the non-cluster-head nodes in the cluster head is smaller than the average node degree, a potential link is not required to be selected, the problem of node degree limitation is solved, and compared with the prior art, the connectivity and the stability of a wireless sensor network are improved.
2. According to the invention, the problems of energy imbalance, limited communication distance and unstable link are solved by eliminating the problem of node degree limitation and adopting a multi-hop method to establish the communication link, and compared with the prior art, the connectivity and stability of the wireless sensor network are further improved.
Drawings
FIG. 1 is a block diagram of an implementation process of the present invention.
FIG. 2 is a block diagram of an implementation process of constructing a multiple linear regression model according to the present invention.
Detailed Description
The invention is described in further detail below with reference to the following figures and examples:
the wireless sensor network includes a wireless optical network and a microwave network, and the embodiment adopts the wireless optical network for description.
Referring to fig. 1, the present invention includes the steps of:
step 1) initializing a wireless optical network;
before the wireless optical network is not initialized, each node is an isolated node, and each node does not know information of other nodes in the network, so that the wireless optical network needs to be initialized so as to acquire the information of other nodes in the network, and then cluster heads and non-cluster-head nodes are determined so as to determine each management area in the wireless optical network.
Step 1.1) the wireless optical network node determines the information of itself:
each node DiDetermining location coordinates L including itselfiResidual energy EiCommunication distance RiAnd node degree dei,Di∈{D1,D2,…,DmM represents the number of wireless optical network nodes, and m is more than or equal to 2;
the position coordinates, residual energy, communication distance and node degree in the wireless optical network node information influence the establishment of the wireless optical network communication link, thereby influencing the topology establishment of the wireless optical network. The radio optical network node needs to determine its own information. The wireless optical network node information of the invention is as follows: the number of the wireless optical network nodes is 100, the position coordinates of each node are positioned in a 10 km-10 km interval, the initial value of the residual energy is 0.5J, the communication distance is 2km, and the node degree is 8;
step 1.2) the wireless optical network node acquires a neighbor node information set:
each node DiCommunication distance R through APT systemiInner neighbor node { D1,D2,…,DzScanning and combining the scanned information of all neighbor nodes into a neighbor nodeInformation set Vi,Vi={I1,I2,…Ia,…,Iz},Ia={La,Ea,Ra,deaZ represents the number of neighbor nodes; z is more than or equal to 1, and a is more than or equal to 1;
in the initialization stage of the wireless optical network, each node is an isolated node, so that the wireless optical network node can only acquire the information of neighbor nodes in the communication distance of the wireless optical network node, including position coordinates, residual energy, the communication distance and node degree.
Step 1.3) the wireless optical network node determines a cluster head node and a non-cluster head node:
each node DiCalculating the energy ED required by the node to establish links with all the neighbor nodesiAnd ED is combinediWith all its neighbor nodes { ED1,ED2…EDzThe node corresponding to the maximum value in the data is used as a cluster head CDjOther nodes as non-cluster-head nodes { ND1,ND2,…,NDq},CDj∈{CD1,CD2,…,CDkK represents the number of cluster head nodes, and q represents the number of non-cluster head nodes; k is more than or equal to 1, and q is equal to z;
Figure BDA0001937867490000051
wherein E isiRepresenting the residual energy of node i, EjRepresenting the residual energy of node j, dijRepresenting the euclidean distance between node i and node j,
Figure BDA0001937867490000052
xirepresents LiAbscissa of (a), xjRepresents LjAbscissa of (a), yiRepresents LiOrdinate of (a), yjRepresents LjThe ordinate of (a);
due to the problems of limited node degree, unbalanced energy, unstable link and the like of the wireless optical network, the problems can be effectively solved by adopting a layered topology. The upper layer is composed of cluster heads, and the lower layer is composed of non-cluster-head nodes with the cluster heads as centers, so that a layered wireless optical network topology is constructed. Therefore, there is a need to determine cluster and non-cluster nodes in a wireless optical network.
Step 1.4) the wireless optical network node determines the management area where the wireless optical network node is located:
each cluster head CDjAt a communication distance RjThe area determined for the radius is the management area A of the cluster headjEach non-cluster head node NDiDetermine its position coordinate LiBelong to { A1,A2,…,Aj,AkWhich management area in (L), if Li∈AjThen NDiIs contained in the management area AjInternal;
each cluster head needs to determine its management area in order to determine the non-cluster head nodes with which a communication link needs to be established, forming a cluster head-centered infrastructure.
Step 2) determining the number of non-cluster-head nodes in the cluster head
Each cluster head CDjStatistics management area AjAt 0 to TlNumber of non-cluster-head nodes in time set Nj,Nj={n1,n2,…nc,…nl},ncIs shown at TgThe number of non-cluster-head nodes, l represents each cluster-head CDjThe number of times of statistics, l is more than or equal to 30, TgRepresents 0 to TlCD per cluster head in timejThe time 0 corresponding to the counting frequency c is more than or equal to Tg≤Tl,Tl≥0;
Since a training data set is required for constructing the multiple linear regression model, the training data set needs to be collected for the initialized wireless optical network. And taking the non-cluster-head node number set of the management area in a period of time after initialization is completed as a training data set of the multiple linear regression model to construct the multiple linear regression model.
Step 3), constructing a multiple linear regression model Y:
the number of non-cluster head nodes is related to the number of non-cluster head nodes several times before. The formalization is represented as: number of non-cluster head nodes Y and first pNumber of non-cluster-head nodes of time n1,n2,…,npThe correlation is set as the correlation weight coefficients { b }0,b1,…,bpThen the model of the number of non-cluster-head nodes Y is:
Y=b0+b1n1+b2n2+…+bpnp
determining a correlation weight coefficient b from a training data set0,b1,…,bpAnd (4) constructing a multivariate linear regression model of the number Y of the non-cluster-head nodes. Therefore, the core of constructing the multiple linear regression model Y is to determine the related weight coefficients { b }0,b1,…,bp}. Referring to fig. 2, constructing the multiple linear regression model includes the steps of:
step 3.1) based on the training data set NjBuilding a management area AjInner non-cluster head node number matrix Y' and feature matrix X, Nj={n1,n2,…nc,…nl}:
Figure BDA0001937867490000071
Figure BDA0001937867490000072
Wherein n iscIs shown at TgNumber of non-cluster-head nodes, TgRepresents 0 to TlCD per cluster head in timejThe counting frequency is the time corresponding to c, and T is more than or equal to 0g≤Tl,0~TlIndicates a period of time after initialization is completed, Tl≧ 0, e ═ l-p +1, l denotes per cluster head CDjThe number of statistics, l ≧ 30, p denotes and manages the region AjThe number of non-cluster head nodes related to the non-cluster head node number matrix Y' in the cluster is p is more than or equal to 1, and r is equal to c-1;
by training the data set NjBuilding a management area AjThe non-cluster head node number matrix Y' and the feature matrix X in the cluster can be usedAnd estimating a non-cluster head node quantity matrix Y' by using the characteristic matrix X.
Step 3.2) multiple linear regression model parameters b0,b1,…,bpRespectively initializing random numbers from 0 to 1;
step 3.3) to the multiple linear regression model parameters { b0,b1,…,bpTranspose to get transpose matrix bTAnd the feature matrices X and bTThe product of (a) is used as a predicted non-cluster head node number matrix Z:
Z=X×bT
and 3.4) calculating the residual square sum Q (b) of the multiple linear regression model Y through Z by adopting a least square method, judging whether the residual square sum Q (b) is smaller than a preset threshold epsilon or not, and if yes, { b0,b1,…,bpIs the management area AjAnd (3) performing multiple linear regression model parameters of the number of middle non-cluster head nodes, otherwise, executing the step (3.5), wherein the calculation formula of Q (b) is as follows:
Figure BDA0001937867490000081
wherein, Yi'line i, Z of the matrix Y' representing the number of non-cluster-head nodesiAn ith row representing a predicted non-cluster head node number matrix Z;
the common methods adopting the least square method include methods of solving a sum of squares of residual errors, solving a square difference of squares, solving a variance and the like, and the method adopts the method of solving the sum of squares of residual errors to judge whether a preset threshold value is met, determines parameters of the multiple linear regression model and constructs the multiple linear regression model.
Step 3.5) determining b by gradient descent method0,b1,…,bpUpdate function b of }i', by bi' Pair { b0,b1,…,bpUpdate and replace the update result with b0,b1,…,bpExecution of step (3.3), wherein biThe expression of' is:
Figure BDA0001937867490000082
wherein b isi∈{b0,b1,…,bp},ni∈NiAnd α represents the learning rate of gradient descent.
Due to b0,b1,…,bpThe initialization is random, so the residual sum of squares Q (b) of the multiple linear regression model Y does not necessarily satisfy the preset threshold epsilon, therefore, the pair { b }is needed0,b1,…,bpUpdate so that it meets a preset threshold epsilon.
Step 3.6) according to the management area AjMultiple linear regression model parameters { b) of number of middle non-cluster head nodes0,b1,…,bpConstructing a multiple linear regression model Y;
Y=b0+b1n1+b2n2+…+bpnp
wherein p represents the number of non-cluster head nodes related to Y, and p is more than or equal to 1;
the number of non-cluster-head nodes in the management area can be determined through the construction of the multiple linear regression model, and therefore energy can be distributed reasonably and the topological structure can be optimized.
Step 4), the cluster head calculates the number of non-cluster-head nodes in the management area:
each cluster head CDjCalculating a management area A according to the multiple linear regression model YjAt 0 to TlThen TdNumber of non-cluster-head nodes at time Yj,Td>Tl
The cluster head can determine the average node degree of the cluster head through the number of non-cluster head nodes in the management area, the average node degree in the cluster head is determined, and when a communication link is established between the non-cluster head nodes and the cluster head, the problem of limited node degree can be solved as long as the actual access degree of the cluster head is not more than the average node degree, so that the topology construction is more reasonable.
Step 5), the cluster head acquires the wireless optical network topology;
first, the cluster head calculates an average node degree by the number of non-cluster-head nodes in its management area. Then, a communication link is established between the cluster head and the neighbor cluster head to form a mesh-type upper layer structure containing the cluster head, and a communication link is established with the non-cluster head nodes in the management area of the cluster head in a multi-hop mode with the maximum hop count as the average node degree to form a star-type lower layer structure containing the non-cluster head nodes with the cluster head as the center, and the upper layer mesh structure and the lower layer star structure jointly form a wireless optical network topological structure.
Step 5.1) per cluster head CDjAccording to the management area AjNumber of inner non-cluster head nodes YjAnd node degree dejCalculating CDjAt TdMean nodosity λ of timej
Figure BDA0001937867490000091
The average node degree of the cluster head represents the average number of communication links which can be established by each non-cluster head node in the cluster head management area, and the number of the communication links which can be established maximally by the non-cluster head nodes in the cluster head is determined according to the average node degree of the cluster head, so that the problem that the actual number of the access links is larger than the node degree is solved.
Step 5.2) per cluster head CDjCluster head with its neighbors { CD1,CD2,…CDuEstablishing a communication link to form an upper-layer mesh structure containing k cluster heads; and the maximum hop count is lambdajMultiple hop method and CDjManagement area AjInner non-cluster head node [ ND ]1,ND2,…,NDhAnd establishing a communication link to form k lower-layer star structures which take the cluster head as the center and contain h non-cluster-head nodes, wherein the upper-layer star structure and the lower-layer star structure jointly form a wireless optical network topology.

Claims (1)

1. A wireless sensor network topology construction method based on a multiple linear regression model is characterized by comprising the following steps:
(1) initializing the wireless sensor network:
(1.1) the wireless sensor network node determines the information of the wireless sensor network node:
each node DiDetermining location coordinates L including itselfiResidual energy EiCommunication distance RiAnd node degree dei,Di∈{D1,D2,…,DmM represents the number of the wireless sensor network nodes, and m is more than or equal to 2;
(1.2) the wireless sensor network node acquires a neighbor node information set:
each node DiCommunication distance R through APT systemiInner neighbor node { D1,D2,…,DzScanning, and combining the scanned information of all neighbor nodes into a neighbor node information set Vi,Vi={I1,I2,…Ia,…,Iz},Ia={La,Ea,Ra,deaZ represents the number of neighbor nodes; z is more than or equal to 1, and a is more than or equal to 1;
(1.3) the wireless sensor network node determines cluster head and non-cluster head nodes:
each node DiCalculating the energy ED required by the node to establish links with all the neighbor nodesiAnd ED is combinediWith all its neighbor nodes { ED1,ED2…EDzThe node corresponding to the maximum value in the data is used as a cluster head CDjOther nodes as non-cluster-head nodes { ND1,ND2,…,NDq},CDj∈{CD1,CD2,…,CDkK represents the number of cluster head nodes, q represents the number of non-cluster head nodes, k is more than or equal to 1, and q is equal to z;
Figure FDA0002987835380000011
wherein E isiRepresenting the residual energy of node i, EjTo representResidual energy of node j, dijRepresenting the euclidean distance between node i and node j,
Figure FDA0002987835380000012
xirepresents LiAbscissa of (a), xjRepresents LjAbscissa of (a), yiRepresents LiOrdinate of (a), yjRepresents LjThe ordinate of (a);
(1.4) the wireless sensor network node determines the management area where the wireless sensor network node is located:
each cluster head CDjAt a communication distance RjThe area determined for the radius is the management area A of the cluster headjEach non-cluster head node NDiDetermine its position coordinate LiBelong to { A1,A2,…,Aj,AkWhich management area in (L), if Li∈AjThen NDiIs contained in the management area AjInternal;
(2) the cluster head determines the number of non-cluster head nodes in the cluster head:
each cluster head CDjStatistics management area AjAt 0 to TlNumber of non-cluster-head nodes in time set Nj,Nj={n1,n2,…nc,…nl},ncIs shown at TgThe number of non-cluster-head nodes, l represents each cluster-head CDjThe number of times of statistics, l is more than or equal to 30, TgRepresents 0 to TlCD per cluster head in timejThe counting frequency is the time corresponding to c, 0 to TlA period of time representing the completion of initialization, 0 ≦ Tg≤Tl,Tl≥0;
(3) Constructing a multiple linear regression model Y:
with each cluster head CDjManagement area AjInner non-cluster head node number set NjAs a training data set for a multiple linear regression model and from the training data set NjDetermining a management area AjMultiple linear regression model parameters { b) of number of middle non-cluster head nodes0,b1,…,bpAnd constructing a multiple linear regression modelType Y:
Y=b0+b1n1+b2n2+…+bpnp
wherein p represents the number of non-cluster head nodes related to Y, and p is more than or equal to 1; determining a management area AjMultiple linear regression model parameters { b) of number of middle non-cluster head nodes0,b1,…,bpThe implementation steps are as follows:
(3.1) based on the training data set NjBuilding a management area AjInner non-cluster head node number matrix Y' and feature matrix X, Nj={n1,n2,…nc,…nl}:
Figure FDA0002987835380000021
Figure FDA0002987835380000031
Wherein n iscIs shown at TgNumber of non-cluster-head nodes, TgRepresents 0 to TlCD per cluster head in timejThe counting frequency is the time corresponding to c, and T is more than or equal to 0g≤Tl,0~TlIndicates a period of time after initialization is completed, Tl≧ 0, e ═ l-p +1, l denotes per cluster head CDjThe number of statistics, l ≧ 30, p denotes and manages the region AjThe number of non-cluster head nodes related to the non-cluster head node number matrix Y' in the cluster is p is more than or equal to 1, and r is equal to c-1;
(3.2) multiple Linear regression model parameters { b }0,b1,…,bpRespectively initializing random numbers from 0 to 1;
(3.3) parameters of the multivariate Linear regression model { b }0,b1,…,bpTranspose to get transpose matrix bTAnd the feature matrices X and bTThe product of (a) is used as a predicted non-cluster head node number matrix Z:
Z=X×bT
(3.4) calculating the residual square sum Q (b) of the multiple linear regression model Y through Z by adopting a least square method, judging whether the residual square sum Q (b) is smaller than a preset threshold epsilon or not, and if yes, { b0,b1,…,bpIs the management area AjAnd (3) performing multiple linear regression model parameters of the number of middle non-cluster head nodes, otherwise, executing the step (3.5), wherein the calculation formula of Q (b) is as follows:
Figure FDA0002987835380000032
wherein, Y'iRow i, Z of a matrix Y' representing the number of non-cluster head nodesiAn ith row representing a predicted non-cluster head node number matrix Z;
(3.5) determination of { b ] by gradient descent method0,b1,…,bpUpdate function b'iThrough b'iTo { b0,b1,…,bpUpdate and replace the update result with b0,b1,…,bp}, performing step (3.3), wherein b'iThe expression of (a) is:
Figure FDA0002987835380000041
wherein b isi∈{b0,b1,…,bp},ni∈Niα represents a learning rate of gradient descent;
(4) the cluster head calculates the number of non-cluster head nodes in the management area:
each cluster head CDjCalculating a management area A according to the multiple linear regression model YjAt 0 to TlThen TdNumber of non-cluster-head nodes at time Yj,Td>Tl
(5) The cluster head acquires the wireless sensor network topology:
(5.1) CD per cluster headjAccording to the management area AjNumber of inner non-cluster head nodesYjAnd node degree dejCalculating CDjAt TdMean nodosity λ of timej
Figure FDA0002987835380000042
(5.2) CD per cluster headjCluster head with its neighbors { CD1,CD2,…CDuEstablishing a communication link to form an upper-layer mesh structure containing k cluster heads; and the maximum hop count is lambdajMultiple hop method and CDjManagement area AjInner non-cluster head node [ ND ]1,ND2,…,NDhAnd (6) establishing a communication link to form k lower-layer star structures which take the cluster head as the center and contain h non-cluster-head nodes, wherein the upper-layer star structure and the lower-layer star structure jointly form a wireless sensor network topology.
CN201910012525.XA 2019-01-07 2019-01-07 Wireless sensor network topology construction method based on multiple linear regression model Active CN109587752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910012525.XA CN109587752B (en) 2019-01-07 2019-01-07 Wireless sensor network topology construction method based on multiple linear regression model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910012525.XA CN109587752B (en) 2019-01-07 2019-01-07 Wireless sensor network topology construction method based on multiple linear regression model

Publications (2)

Publication Number Publication Date
CN109587752A CN109587752A (en) 2019-04-05
CN109587752B true CN109587752B (en) 2021-06-01

Family

ID=65916159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910012525.XA Active CN109587752B (en) 2019-01-07 2019-01-07 Wireless sensor network topology construction method based on multiple linear regression model

Country Status (1)

Country Link
CN (1) CN109587752B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112636998B (en) * 2020-11-24 2022-03-08 鹏城实验室 Intra-domain fault detection method based on machine learning, terminal and storage medium
CN115051758B (en) * 2022-06-08 2023-12-22 大连理工大学 Reliable data transmission method for underwater wireless optical sensor network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108112048A (en) * 2017-12-28 2018-06-01 重庆邮电大学 Recognize a kind of efficiency route protocol based on stability in sensor network
CN108966239A (en) * 2018-01-18 2018-12-07 北京交通大学 A method of relay node is disposed based on Energy volution degree

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10379873B2 (en) * 2014-02-28 2019-08-13 Tyco Fire & Security Gmbh Distributed processing system
US10432500B2 (en) * 2015-11-09 2019-10-01 Atmel Corporation Debugger for wireless sensor networks
US10009783B2 (en) * 2016-09-27 2018-06-26 King Fahd University Of Petroleum And Minerals Energy efficient data collection routing protocol for wireless rechargeable sensor networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108112048A (en) * 2017-12-28 2018-06-01 重庆邮电大学 Recognize a kind of efficiency route protocol based on stability in sensor network
CN108966239A (en) * 2018-01-18 2018-12-07 北京交通大学 A method of relay node is disposed based on Energy volution degree

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"Convolutional neural networks for class attendance";zhao pei;《IEEE》;20170621;全文 *
"一种基于CSMA/CA的VLC系统多用户接入方法研究";尚韬;《中兴通讯技术》;20141012;全文 *
"基于局部能量和距离的无线光传感器网络分簇算法研究";索婷婷;《信息科技辑》;20170315;全文 *
《Topology control algorithm and dynamic management scheme for mobile FSO networks》;Tao Shang;《IEEE》;20150910;全文 *

Also Published As

Publication number Publication date
CN109587752A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN106054875B (en) A kind of distributed robots dynamic network connectivity control method
Hu et al. An endocrine cooperative particle swarm optimization algorithm for routing recovery problem of wireless sensor networks with multiple mobile sinks
Khan et al. Survey and taxonomy of clustering algorithms in 5G
CN109587752B (en) Wireless sensor network topology construction method based on multiple linear regression model
CN111163477B (en) Automatic deployment method of integrated intelligent base station in wide-area three-dimensional environment
Khan et al. Intelligent cluster routing scheme for flying ad hoc networks
CN113411213B (en) Ad hoc network topology control method and cooperative monitoring method based on Internet of things
CN108366093A (en) One kind being based on the distributed wireless ad hoc network of " virtual center " and " mobile agent "
CN107318142B (en) Distributed routing method between a kind of wireless sense network cluster
WO2012171362A1 (en) Method and device for establishing coordinated multi-point transmission cell coordination set
Qiu et al. A 3-D topology evolution scheme with self-adaption for industrial Internet of Things
CN113411766B (en) Intelligent Internet of things comprehensive sensing system and method
CN109560972B (en) Non-cooperative inference method for Ad Hoc network physical topology
CN108540989B (en) Simple complex simplification method and equipment for wireless sensor network
CN111356039B (en) Topology forming method for wireless optical communication network
WO2021036055A1 (en) Routing method applied to unmanned aerial vehicle swarm communication
CN116647890A (en) Multi-attribute multi-metric routing decision method suitable for mobile AdHoc network
CN110493843A (en) 3D-GPSR method for routing based on circular ring shape omnidirectional antenna model
CN107948315B (en) Method and system for controlling coverage of area of Internet of things
CN114867081A (en) Mobile ad hoc network multi-source transmission routing method based on relay unmanned aerial vehicle node
Raei et al. Optimal distributed algorithm for minimum connected dominating sets in wireless sensor networks
CN108282742A (en) Wireless light communication network dynamic topology control method based on sub-clustering
CN109890038A (en) A kind of unmanned plane cluster self-organization of network method based on SoftAP
CN114915975A (en) WSN (Wireless sensor network) topology control method based on dynamic density and cooperative sensing
CN114928850B (en) Step-by-step directional neighbor discovery method based on depth information division in underwater acoustic sensor network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant