CN102752785B - Interference model measurement method and device for wireless sensor network - Google Patents
Interference model measurement method and device for wireless sensor network Download PDFInfo
- Publication number
- CN102752785B CN102752785B CN201210234558.7A CN201210234558A CN102752785B CN 102752785 B CN102752785 B CN 102752785B CN 201210234558 A CN201210234558 A CN 201210234558A CN 102752785 B CN102752785 B CN 102752785B
- Authority
- CN
- China
- Prior art keywords
- sinr
- node
- nodes
- node set
- prr
- 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.)
- Expired - Fee Related
Links
- 238000000691 measurement method Methods 0.000 title description 14
- 238000000034 method Methods 0.000 claims abstract description 25
- 238000001514 detection method Methods 0.000 claims abstract description 15
- 230000002452 interceptive effect Effects 0.000 claims description 4
- 230000003068 static effect Effects 0.000 abstract description 8
- 238000005259 measurement Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 5
- 238000004422 calculation algorithm Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提供了一种无线传感网中干扰模型测量方法及装置,通过对无线传感网进行系统初始化,然后选取无线传感网中部分结点形成第一个结点集,通过获取结点发送的数据计算SINR值和对应的数据包接受率PRR,接着依据结点测得SINR区间内的SINR区间的个数进行选择和更新,最终依据判断规则进行循环检测,直到完成对结点集的选择,本方案适用于任意一个静态的无线传感网,既能保证精度又能减少网络开销。
The invention provides a method and device for measuring an interference model in a wireless sensor network. By performing system initialization on the wireless sensor network, and then selecting some nodes in the wireless sensor network to form the first node set, by obtaining the node The sent data calculates the SINR value and the corresponding data packet acceptance rate PRR, then selects and updates the number of SINR intervals in the SINR interval measured by the node, and finally performs loop detection according to the judgment rule until the completion of the node set Select, this scheme is suitable for any static wireless sensor network, which can not only guarantee the accuracy but also reduce the network overhead.
Description
技术领域 technical field
本发明涉及信息控制技术领域,特别涉及一种无线传感网中干扰模型测量方法及装置。The invention relates to the technical field of information control, in particular to a method and device for measuring an interference model in a wireless sensor network.
背景技术 Background technique
随着科学技术的不断发展,无线传感网的应用愈加广泛。无线传感网最早出现在二十世纪70年代的美越战争中,近几年,随着传感器结点计算能力的提高和体积的减小,已有不少的无线传感网投入商业应用,如环境监测、医疗护理等领域。无线传感网是由大量的传感器结点组成,传感器结点之间通过多跳的无线信号进行通信,当空间中有多个通信同时进行时,相互之间可能会产生干扰,导致传输的数据包的丢失。干扰模型刻画了无线传感网中干扰的存在情况。精确的干扰模型有利于一些上层网络协议的设计,如路由算法和信道调度。研究表明,以往经常被使用的干扰模型如基于跳数和基于距离的干扰模型与实际之间存在较大的误差,而PRR-SINR干扰模型则具有很高的精度。PRR(Packet Reception Ratio)即数据包接收率,SINR(Signal toInterference plus Noise Ratio)即信号与干扰加噪音比,PRR-SINR模型用SINR刻画了干扰的强度,从而刻画了干扰对数据包接收的影响。PRR-SINR模型具有以下几个特点:(1)PRR与SINR之间的关系与发送结点、干扰结点是哪些节点以及它们的发射功率、传输信道无关。(2)PRR-SINR模型存在一个转换区间,当SINR值在这个区间内变化时,PRR的值由0逐渐变化为1。(3)不同传感器结点在不同的时间或不同的地点测得的PRR-SINR模型是不同的。With the continuous development of science and technology, the application of wireless sensor network is more and more extensive. Wireless sensor networks first appeared in the US-Vietnam War in the 1970s. In recent years, with the improvement of sensor node computing capabilities and the reduction of volume, many wireless sensor networks have been put into commercial applications. Such as environmental monitoring, medical care and other fields. The wireless sensor network is composed of a large number of sensor nodes. The sensor nodes communicate through multi-hop wireless signals. When there are multiple communications in space at the same time, they may interfere with each other, resulting in the transmission of data Packet loss. The interference model describes the existence of interference in wireless sensor networks. Accurate interference models are beneficial to the design of some upper-layer network protocols, such as routing algorithms and channel scheduling. The research shows that there is a large error between the interference models that are often used in the past, such as those based on hop count and distance, and the actual situation, while the PRR-SINR interference model has high accuracy. PRR (Packet Reception Ratio) is the data packet reception rate, and SINR (Signal to Interference plus Noise Ratio) is the signal to interference plus noise ratio. The PRR-SINR model uses SINR to describe the intensity of interference, thereby describing the impact of interference on data packet reception. . The PRR-SINR model has the following characteristics: (1) The relationship between PRR and SINR has nothing to do with the sending nodes, which nodes are the interfering nodes, their transmitting power, and the transmission channel. (2) There is a conversion interval in the PRR-SINR model. When the SINR value changes within this interval, the value of PRR gradually changes from 0 to 1. (3) The PRR-SINR models measured by different sensor nodes at different times or in different locations are different.
由以上PRR-SINR模型的几个特征可知,无线传感网中的每个结点需要通过实施地测量建立起自己的干扰模型。目前存在的PRR-SINR模型的测量方法有两中类型:一种是主动的测量方法,当网络中的结点需要测量得到PRR-SINR模型时,暂停网络中的数据传输,选择一些结点同时传输一定数目的数据包,其他结点通过接收这些数据包测得对应的SINR和PRR值,重复上述过程,使得每个结点都能通过测得的SINR和PRR值建立其自己的干扰模型,主动测量的一种方法是每次随机选取一定数目的结点同时发送数据包;另一种是被动的测量方法,当网络是树形的拓扑结构时,要测量PRR-SINR模型的结点和会对其产生干扰的结点将它们在日常的数据传输中接收和发送数据包的时间戳发送给它们共同的父亲结点,由父亲结点计算出该结点的干扰模型。第一种方法的优点是随时可以为每个结点测量出其PRR-SINR模型,缺点是网络的开销较大;第二种方法的优点是网络的开销小,缺点是不能确保在一定时间内测得任意一个传感器结点的PRR-SINR模型。It can be seen from the above characteristics of the PRR-SINR model that each node in the wireless sensor network needs to establish its own interference model through the implementation of local measurements. There are currently two types of measurement methods for the PRR-SINR model: one is the active measurement method, when the nodes in the network need to measure the PRR-SINR model, the data transmission in the network is suspended, and some nodes are selected to simultaneously A certain number of data packets are transmitted, and other nodes measure the corresponding SINR and PRR values by receiving these data packets, and repeat the above process, so that each node can establish its own interference model through the measured SINR and PRR values, One method of active measurement is to randomly select a certain number of nodes to send data packets at the same time; the other is a passive measurement method. When the network is a tree topology, it is necessary to measure the nodes of the PRR-SINR model and The nodes that will interfere with it send the time stamps of receiving and sending data packets in their daily data transmission to their common parent node, and the parent node calculates the interference model of the node. The advantage of the first method is that its PRR-SINR model can be measured for each node at any time, but the disadvantage is that the network overhead is large; the advantage of the second method is that the network overhead is small, and the disadvantage is that it cannot be guaranteed within a certain period of time Measure the PRR-SINR model of any sensor node.
针对现有技术中主动的测量方法存在的问题,如何提供一种快速低开销的主动的测量方法构成为了无线传感网设计的重点,本方案提出一种无线传感网中干扰模型测量方法及装置是信息控制技术领域目前急待解决的问题之一。In view of the problems existing in the active measurement method in the prior art, how to provide a fast and low-cost active measurement method constitutes the focus of wireless sensor network design. This scheme proposes an interference model measurement method in wireless sensor network and The device is one of the urgent problems to be solved in the field of information control technology.
发明内容 Contents of the invention
有鉴于此,本发明实施例提出了一种无线传感网中干扰模型测量方法及装置,通过对无线传感网进行系统初始化,然后选取无线传感网中部分结点形成第一个结点集,通过获取结点发送的数据计算SINR值和对应的数据包接受率PRR,接着依据结点测得SINR区间内的SINR区间的个数进行选择和更新,最终依据判断规则进行循环检测,直到完成对结点集的选择,本方案适用于任意一个静态的无线传感网,既能保证精度又能减少网络开销。In view of this, the embodiment of the present invention proposes a method and device for measuring interference models in a wireless sensor network, by performing system initialization on the wireless sensor network, and then selecting some nodes in the wireless sensor network to form the first node Set, calculate the SINR value and the corresponding packet acceptance rate PRR by obtaining the data sent by the node, then select and update the number of SINR intervals in the SINR interval measured by the node, and finally perform loop detection according to the judgment rule until After completing the selection of the node set, this scheme is applicable to any static wireless sensor network, which can not only ensure the accuracy but also reduce the network overhead.
为解决上述技术问题,本发明实施例的目的是通过以下技术方案实现的:In order to solve the above technical problems, the purpose of the embodiments of the present invention is achieved through the following technical solutions:
一种无线传感网中干扰模型测量方法,包括:A method for measuring an interference model in a wireless sensor network, comprising:
步骤一、对无线传感网进行系统初始化;Step 1, system initialization of the wireless sensor network;
步骤二、选取无线传感网中部分结点形成第一个结点集,通过获取结点发送的数据计算SINR值和对应的数据包接受率PRR;Step 2. Select some nodes in the wireless sensor network to form the first node set, and calculate the SINR value and the corresponding packet acceptance rate PRR by obtaining the data sent by the nodes;
步骤三、依据结点测得SINR区间内的SINR区间的个数进行选择和更新;Step 3, select and update according to the number of SINR intervals in the SINR interval measured by the node;
步骤四、依据判断规则进行循环检测,直到完成对结点集的选择。Step 4: Carry out loop detection according to the judgment rules until the selection of the node set is completed.
优选的,上述步骤一中,系统初始化即网络中所有结点都没有测得任何(SINR,PRR)点,PRR即数据包接收率,SINR即信号与干扰加噪音比。Preferably, in the above step 1, the system initialization means that all nodes in the network do not measure any (SINR, PRR) points, PRR means packet reception rate, and SINR means signal-to-interference-plus-noise ratio.
优选的,上述步骤二中,进一步包括将选取若干个有网络中的部分结点组成第一个结点集。Preferably, in the above step 2, it further includes selecting some partial nodes in the network to form the first node set.
优选的,上述进一步包括任选一个结点加入到此结点集中,当网络中只有一个结点发送数据包时,由于只有发送结点而没有干扰结点,其他结点不能测得SINR值,所以所有结点能测得(SINR,PRR)点落在某个SINR区间内的SINR区间的个数M1=0。Preferably, the above further includes optional one node to join the node set, when there is only one node in the network to send data packets, since there are only sending nodes and no interfering nodes, other nodes cannot measure the SINR value, Therefore, all nodes can measure the number of SINR intervals where (SINR, PRR) points fall within a certain SINR interval M1=0.
优选的,上述步骤三中,进一步包括将遍历网络中所有结点集以外的结点,计算如果将某个结点加入到这个结点集中后,所有结点能测得(SINR,PRR)点落在某个SINR区间内的SINR区间的个数M2。Preferably, in the above step three, it further includes traversing all nodes other than the node set in the network, and calculating if a certain node is added to this node set, all nodes can measure (SINR, PRR) points The number M2 of SINR intervals falling within a certain SINR interval.
优选的,上述步骤三中,进一步包括将选择M2值最大的那个结点,若有多个这样的结点,则任选一个,当其M2值大于M1值时,将这个结点加入到结点集中,得到新的结点集,同时更新M1的值,即M1=M2。Preferably, in the above step 3, it further includes selecting the node with the largest M2 value, if there are multiple such nodes, choose one, and when its M2 value is greater than the M1 value, add this node to the node Point set, get a new node set, and update the value of M1 at the same time, that is, M1=M2.
优选的,上述步骤四进一步包括重复步骤三,直到当最大的M2值小于等于M1值,说明将任意一个结点加入到当前的结点集,都不能使结点集满足的SINR区间的个数增加,则结点集中结点的选择结束,即一个结点集被选出来了。Preferably, the above step four further includes repeating step three until the maximum M2 value is less than or equal to the M1 value, indicating that adding any node to the current node set cannot make the node set satisfy the number of SINR intervals increases, the selection of nodes in the node set ends, that is, a node set is selected.
优选的,上述步骤四中,进一步包括如果网络中所有结点都能在每个SINR区间内测得至少一个(SINR,PRR)点,则对结点集的选择结束,否则重复步骤三和步骤四,选取下一个结点集。Preferably, in the above step four, it further includes that if all nodes in the network can measure at least one (SINR, PRR) point in each SINR interval, then the selection of the node set ends, otherwise repeat step three and step Fourth, select the next node set.
一种无线传感网中干扰模型测量装置,包括初始化单元、计算单元、选择单元及循环检测单元,通过对无线传感网进行系统初始化,然后选取无线传感网中部分结点形成第一个结点集,通过获取结点发送的数据计算SINR值和对应的数据包接受率PRR,接着依据结点测得SINR区间内的SINR区间的个数进行选择和更新,最终依据判断规则进行循环检测,直到完成对结点集的选择。An interference model measurement device in a wireless sensor network, including an initialization unit, a calculation unit, a selection unit and a cycle detection unit, through system initialization of the wireless sensor network, and then selecting some nodes in the wireless sensor network to form the first The node set calculates the SINR value and the corresponding packet acceptance rate PRR by obtaining the data sent by the node, then selects and updates the number of SINR intervals in the SINR interval measured by the node, and finally performs loop detection according to the judgment rule , until the selection of the node set is completed.
优选的,上述初始化单元用于对无线传感网进行系统初始化。Preferably, the above initialization unit is used for system initialization of the wireless sensor network.
优选的,上述计算单元用于选取无线传感网中部分结点形成第一个结点集,通过获取结点发送的数据计算SINR值和对应的数据包接受率PRR。Preferably, the calculation unit is used to select some nodes in the wireless sensor network to form the first node set, and calculate the SINR value and the corresponding data packet acceptance rate PRR by acquiring the data sent by the nodes.
优选的,上述选择单元用于依据结点测得SINR区间内的SINR区间的个数进行选择和更新。Preferably, the selection unit is configured to select and update according to the number of SINR intervals in the SINR interval measured by the node.
优选的,上述循环检测单元用于依据判断规则进行循环检测,直到完成对结点集的选择。Preferably, the loop detection unit is configured to perform loop detection according to the judgment rule until the selection of the node set is completed.
综上所述,本发明提供了一种无线传感网中干扰模型测量方法及装置,通过对无线传感网进行系统初始化,然后选取无线传感网中部分结点形成第一个结点集,通过获取结点发送的数据计算SINR值和对应的数据包接受率PRR,接着依据结点测得SINR区间内的SINR区间的个数进行选择和更新,最终依据判断规则进行循环检测,直到完成对结点集的选择,本方案适用于任意一个静态的无线传感网,既能保证精度又能减少网络开销。In summary, the present invention provides a method and device for measuring an interference model in a wireless sensor network, by performing system initialization on the wireless sensor network, and then selecting some nodes in the wireless sensor network to form the first node set , by obtaining the data sent by the node to calculate the SINR value and the corresponding packet acceptance rate PRR, then select and update the number of SINR intervals in the SINR interval measured by the node, and finally perform loop detection according to the judgment rule until the completion For the selection of node set, this scheme is applicable to any static wireless sensor network, which can not only guarantee the accuracy but also reduce the network overhead.
附图说明 Description of drawings
图1为本方案为本方案PRR-SINR模型;Figure 1 shows the PRR-SINR model of this scheme;
图2为本发明一种无线传感网中干扰模型测量方法示意图;Fig. 2 is a schematic diagram of an interference model measurement method in a wireless sensor network of the present invention;
图3为本方案主动测量方法的框图;Fig. 3 is the block diagram of the active measurement method of this scheme;
图4为本发明一具体实施例方法流程图;Fig. 4 is a method flowchart of a specific embodiment of the present invention;
图5为本发明一种无线传感网中干扰模型测量装置示意图。FIG. 5 is a schematic diagram of an interference model measuring device in a wireless sensor network according to the present invention.
具体实施方式 Detailed ways
本发明实施例提供的一种无线传感网中干扰模型测量方法及装置,通过对无线传感网进行系统初始化,然后选取无线传感网中部分结点形成第一个结点集,通过获取结点发送的数据计算SINR值和对应的数据包接受率PRR,接着依据结点测得SINR区间内的SINR区间的个数进行选择和更新,最终依据判断规则进行循环检测,直到完成对结点集的选择,本方案适用于任意一个静态的无线传感网,既能保证精度又能减少网络开销。A method and device for measuring an interference model in a wireless sensor network provided by an embodiment of the present invention performs system initialization on the wireless sensor network, and then selects some nodes in the wireless sensor network to form the first node set, and obtains The data sent by the node calculates the SINR value and the corresponding data packet acceptance rate PRR, then selects and updates the number of SINR intervals in the SINR interval measured by the node, and finally performs loop detection according to the judgment rule until the completion of the node Set selection, this scheme is suitable for any static wireless sensor network, which can not only guarantee the accuracy but also reduce the network overhead.
为使本发明的目的、技术方案及优点更加清楚明白,下面参照附图并举实施例,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.
PRR(Packet Reception Ratio)即数据包接收率,SINR(Signal toInterference plus Noise Ratio)即信号与干扰加噪音比,PRR-SINR模型用SINR刻画了干扰的强度,从而刻画了干扰对数据包接收的影响。PRR (Packet Reception Ratio) is the data packet reception rate, and SINR (Signal to Interference plus Noise Ratio) is the signal to interference plus noise ratio. The PRR-SINR model uses SINR to describe the intensity of interference, thereby describing the impact of interference on data packet reception. .
本发明的主要思路为:设计一种主动测量的方法,选取若干个有网络中的部分结点组成的结点集。在每一轮中,一个结点集中的所有结点同时发送数据包,网络中的其他结点通过监听这些数据报测得其SINR值和对应的数据包接受率,当一个结点测得的(SINR,PRR)点在PRR-SINR模型中的转换区间分布足够多时,它可以建立起自己的干扰模型。选取的几个结点集依次发送数据包后,网络中的每个结点都可以测得其PRR-SINR模型。The main idea of the present invention is: to design an active measurement method and select several node sets composed of some nodes in the network. In each round, all nodes in a node set send data packets at the same time, and other nodes in the network measure their SINR values and corresponding data packet acceptance rates by monitoring these datagrams. When a node measures When the (SINR, PRR) points are distributed in enough transition intervals in the PRR-SINR model, it can build its own interference model. After several selected node sets send data packets in sequence, each node in the network can measure its PRR-SINR model.
此外,为了确保每个结点可以快速高效地测得高精度的PRR-SINR模型,本方案将PRR-SINR模型的转换区间划分为几等分,测量时保证在每个划分后的SINR区间内都能测到至少一个(SINR,PRR)点。当结点测得的(SINR,PRR)点分布在转换区间外或者聚集在小范围内时,一是不利于PRR-SINR模型的建立,二是会造成网络开销的浪费。如图1所示,为本方案PRR-SINR模型。In addition, in order to ensure that each node can quickly and efficiently measure the high-precision PRR-SINR model, this scheme divides the conversion interval of the PRR-SINR model into several equal parts, and the measurement is guaranteed to be within each divided SINR interval Can measure at least one (SINR, PRR) point. When the (SINR, PRR) points measured by the nodes are distributed outside the conversion interval or gathered in a small range, it is not conducive to the establishment of the PRR-SINR model, and it will cause waste of network overhead. As shown in Figure 1, it is the PRR-SINR model of this scheme.
本发明实施例提供一种无线传感网中干扰模型测量方法,如图2所示,具体步骤包括:An embodiment of the present invention provides a method for measuring an interference model in a wireless sensor network, as shown in FIG. 2 , and the specific steps include:
步骤一、对无线传感网进行系统初始化;Step 1, system initialization of the wireless sensor network;
具体而言,在本发明实施例中,本方案提供一种既能保证精度又能减少网络开销的集中式的测量方法,该方法适用于任意一个静态的无线传感网,在本方案中假设已知网络中所有结点的位置信息和发射功率Specifically, in the embodiment of the present invention, this solution provides a centralized measurement method that can ensure accuracy and reduce network overhead. This method is applicable to any static wireless sensor network. In this solution, it is assumed that Know the location information and transmit power of all nodes in the network
其中,本方案中,系统初始化即网络中所有结点都没有测得任何(SINR,PRR)点,并准备计算选取第一个结点集。PRR(Packet Reception Ratio)即数据包接收率,SINR(Signal to Interference plus Noise Ratio)即信号与干扰加噪音比。Among them, in this scheme, the system initialization means that all nodes in the network have not measured any (SINR, PRR) points, and are ready to calculate and select the first node set. PRR (Packet Reception Ratio) is the packet reception rate, and SINR (Signal to Interference plus Noise Ratio) is the signal to interference plus noise ratio.
步骤二、选取无线传感网中部分结点形成第一个结点集,通过获取结点发送的数据计算SINR值和对应的数据包接受率PRR;Step 2. Select some nodes in the wireless sensor network to form the first node set, and calculate the SINR value and the corresponding packet acceptance rate PRR by obtaining the data sent by the nodes;
具体而言,在本发明实施例中,将选取若干个有网络中的部分结点组成第一个结点集。在每一轮中,一个结点集中的所有结点同时发送数据包,网络中的其他结点通过监听这些数据报测得其SINR值和对应的数据包接受率PRR。Specifically, in the embodiment of the present invention, several partial nodes in the network are selected to form the first node set. In each round, all nodes in a node set send data packets at the same time, and other nodes in the network measure the SINR value and the corresponding data packet acceptance rate PRR by monitoring these datagrams.
进一步的,在本方案中会将结点集初始化为空集,然后任选一个结点加入到此结点集中,当网络中只有一个结点发送数据包时,由于只有发送结点而没有干扰结点,其他结点不能测得SINR值,所以所有结点能测得(SINR,PRR)点落在某个SINR区间内的SINR区间的个数M1=0。Further, in this scheme, the node set is initialized as an empty set, and then a node is selected to be added to the node set. When only one node in the network sends data packets, there is no interference because there is only the sending node Nodes, other nodes cannot measure the SINR value, so all nodes can measure the number of SINR intervals where (SINR, PRR) points fall within a certain SINR interval M1=0.
步骤三、依据结点测得SINR区间内的SINR区间的个数进行选择和更新;Step 3, select and update according to the number of SINR intervals in the SINR interval measured by the node;
具体而言,在本发明实施例中,将遍历网络中所有结点集以外的结点,计算如果将某个结点加入到这个结点集中后,所有结点能测得(SINR,PRR)点落在某个SINR区间内的SINR区间的个数M2。Specifically, in the embodiment of the present invention, all nodes other than the node set in the network will be traversed, and if a certain node is added to the node set, all nodes can measure (SINR, PRR) The number M2 of SINR intervals where points fall within a certain SINR interval.
进一步的,将选择M2值最大的那个结点,若有多个这样的结点,则任选一个,当其M2值大于M1值时,将这个结点加入到结点集中,得到新的结点集,同时更新M1的值,即M1=M2。Further, the node with the largest M2 value will be selected. If there are multiple such nodes, choose one. When its M2 value is greater than the M1 value, add this node to the node set to obtain a new node point set, and update the value of M1 at the same time, that is, M1=M2.
步骤四、依据判断规则进行循环检测,直到完成对结点集的选择。Step 4: Carry out loop detection according to the judgment rules until the selection of the node set is completed.
具体而言,在本发明实施例中,将重复上述步骤三,直到当最大的M2值小于等于M1值,说明将任意一个结点加入到当前的结点集,都不能使结点集满足的SINR区间的个数增加,则结点集中结点的选择结束,即一个结点集被选出来了。Specifically, in the embodiment of the present invention, the above step three will be repeated until the maximum M2 value is less than or equal to the M1 value, indicating that adding any node to the current node set cannot satisfy the node set When the number of SINR intervals increases, the selection of nodes in the node set ends, that is, a node set is selected.
进一步的,如果网络中所有结点都能在每个SINR区间内测得至少一个(SINR,PRR)点,则对结点集的选择结束,否则重复步骤三和步骤四,选取下一个结点集。Further, if all nodes in the network can measure at least one (SINR, PRR) point in each SINR interval, the selection of the node set ends, otherwise, repeat steps 3 and 4 to select the next node set.
此外,本发明一具体实施例如下:In addition, a specific embodiment of the present invention is as follows:
首先,结合附图3讲解一下主动测量的方法。首先,系统需要已知一些外部信息,包括:无线传感网中所有结点的位置信息和发射动率以及根据需要测得的PRR-SINR模型的精度确定好将转换区间等分的份数。然后,根据这些信息计算出同时发送数据包的结点集。当网络中的结点需要测量得到PRR-SINR模型时,暂停网络中的数据传输,按照计算出的结点集依次发送一轮数据包,所有结点根据接收数据包测得的(SINR,PRR)点建立起PRR-SINR模型。否则,网络进行日常的数据传输。First of all, the method of active measurement is explained in conjunction with Figure 3. First of all, the system needs to know some external information, including: the location information and transmission rate of all nodes in the wireless sensor network, and determine the equal parts of the conversion interval according to the accuracy of the measured PRR-SINR model. Then, according to these information, calculate the set of nodes that send data packets at the same time. When the nodes in the network need to measure the PRR-SINR model, the data transmission in the network is suspended, and a round of data packets are sent in turn according to the calculated node set, and all nodes are measured according to the received data packets (SINR, PRR ) points to establish the PRR-SINR model. Otherwise, the network performs routine data transfers.
附图4为本发明一具体实施例方法流程图,附图对本发明设计的计算结点集的算法进行详细说明,包括以下步骤:Accompanying drawing 4 is a flow chart of the method of a specific embodiment of the present invention, and the accompanying drawing describes in detail the algorithm of the calculation node set designed by the present invention, including the following steps:
(1)系统初始化,网络中所有结点都没有测得任何(SINR,PRR)点,即能被满足的SINR区间的个数M1=0,下面计算选取的第一个结点集S;(1) System initialization, all nodes in the network have not measured any (SINR, PRR) points, that is, the number of SINR intervals that can be satisfied M1=0, the first node set S selected is calculated below;
(2)结点集S初始化为空集,然后任选一个结点加入到S中,当网络中只有一个结点发送数据包时,由于只有发送结点而没有干扰结点,其他结点不能测得SINR值,所以所有结点能测得(SINR,PRR)点落在某个SINR区间内的SINR区间的个数M1=0;(2) The node set S is initialized as an empty set, and then a node is selected to be added to S. When only one node in the network sends data packets, since there are only sending nodes and no interfering nodes, other nodes cannot The SINR value is measured, so all nodes can measure the number of SINR intervals where (SINR, PRR) points fall within a certain SINR interval M1=0;
(3)遍历网络中所有结点集S以外的结点,计算如果将某个结点k加入到这个结点集中后,所有结点能测得(SINR,PRR)点落在某个SINR区间内的SINR区间的个数M2(k);(3) Traverse all nodes other than the node set S in the network, and calculate that if a certain node k is added to this node set, all nodes can measure (SINR, PRR) points fall in a certain SINR interval The number M2(k) of the SINR intervals within;
(4)另M2(k)的最大值为M2,当其M2>M1值时,选择一个M2(k)值等于M2的结点加入到结点集中,得到新的结点集S,同时更新M1的值,即M1=M2;(4) In addition, the maximum value of M2(k) is M2. When its M2>M1 value, select a node whose M2(k) value is equal to M2 and add it to the node set to obtain a new node set S, and update it at the same time The value of M1, that is, M1=M2;
(5)重复步骤(3)和(4),直到当M2值小于等于M1值,说明将任意一个结点加入到当前的结点集,都不能使结点集满足的SINR区间的个数增加,则结点集中结点的选择结束,即一个结点集被选出来了;(5) Repeat steps (3) and (4) until the value of M2 is less than or equal to the value of M1, indicating that adding any node to the current node set cannot increase the number of SINR intervals that the node set satisfies , the selection of nodes in the node set ends, that is, a node set is selected;
(6)若PRR-SINR模型的测量要求满足,则算法结束,否则重复步骤(2)(3)(4)(5),选取下一个结点集。(6) If the measurement requirements of the PRR-SINR model are met, the algorithm ends, otherwise, repeat steps (2) (3) (4) (5) to select the next node set.
PRR-SINR模型的测量要求即每个结点在将转换区间等分后的每个SINR区间内都能测得至少一个(SINR,PRR)点。The measurement requirement of the PRR-SINR model is that each node can measure at least one (SINR, PRR) point in each SINR interval after the conversion interval is equally divided.
另外,本发明实施例还提供了一种无线传感网中干扰模型测量装置。如图5所示,为本发明实施例提供的一种无线传感网中干扰模型测量装置示意图。In addition, the embodiment of the present invention also provides a device for measuring interference models in a wireless sensor network. As shown in FIG. 5 , it is a schematic diagram of an interference model measurement device in a wireless sensor network provided by an embodiment of the present invention.
一种无线传感网中干扰模型测量装置,包括初始化单元11、计算单元22、选择单元33及循环检测单元44。An interference model measurement device in a wireless sensor network, comprising an initialization unit 11 , a calculation unit 22 , a selection unit 33 and a cycle detection unit 44 .
初始化单元11,用于对无线传感网进行系统初始化;The initialization unit 11 is used for system initialization of the wireless sensor network;
具体而言,在本发明实施例中,本方案提供一种既能保证精度又能减少网络开销的集中式的测量方法,该方法适用于任意一个静态的无线传感网,在本方案中假设已知网络中所有结点的位置信息和发射功率Specifically, in the embodiment of the present invention, this solution provides a centralized measurement method that can ensure accuracy and reduce network overhead. This method is applicable to any static wireless sensor network. In this solution, it is assumed that Know the location information and transmit power of all nodes in the network
其中,本方案中,系统初始化即网络中所有结点都没有测得任何(SINR,PRR)点,并准备计算选取第一个结点集。PRR(Packet Reception Ratio)即数据包接收率,SINR(Signal to Interference plus Noise Ratio)即信号与干扰加噪音比。Among them, in this scheme, the system initialization means that all nodes in the network have not measured any (SINR, PRR) points, and are ready to calculate and select the first node set. PRR (Packet Reception Ratio) is the packet reception rate, and SINR (Signal to Interference plus Noise Ratio) is the signal to interference plus noise ratio.
计算单元22,用于选取无线传感网中部分结点形成第一个结点集,通过获取结点发送的数据计算SINR值和对应的数据包接受率PRR;The calculation unit 22 is used to select some nodes in the wireless sensor network to form the first node set, and calculate the SINR value and the corresponding data packet acceptance rate PRR by obtaining the data sent by the nodes;
具体而言,在本发明实施例中,将选取若干个有网络中的部分结点组成第一个结点集。在每一轮中,一个结点集中的所有结点同时发送数据包,网络中的其他结点通过监听这些数据报测得其SINR值和对应的数据包接受率PRR。Specifically, in the embodiment of the present invention, several partial nodes in the network are selected to form the first node set. In each round, all nodes in a node set send data packets at the same time, and other nodes in the network measure the SINR value and the corresponding data packet acceptance rate PRR by monitoring these datagrams.
进一步的,在本方案中会将结点集初始化为空集,然后任选一个结点加入到这个结点集中,当网络中只有一个结点发送数据包时,由于只有发送结点而没有干扰结点,其他结点不能测得SINR值,所以所有结点能测得(SINR,PRR)点落在某个SINR区间内的SINR区间的个数M1=0。Further, in this scheme, the node set is initialized as an empty set, and then a node is selected to be added to the node set. When only one node in the network sends data packets, there is no interference because only the sending node Nodes, other nodes cannot measure the SINR value, so all nodes can measure the number of SINR intervals where (SINR, PRR) points fall within a certain SINR interval M1=0.
选择单元33,用于依据结点测得SINR区间内的SINR区间的个数进行选择和更新;The selection unit 33 is used to select and update according to the number of SINR intervals in the SINR interval measured by the node;
具体而言,在本发明实施例中,将遍历网络中所有结点集以外的结点,计算如果将某个结点加入到这个结点集中后,所有结点能测得(SINR,PRR)点落在某个SINR区间内的SINR区间的个数M2。Specifically, in the embodiment of the present invention, all nodes other than the node set in the network will be traversed, and if a certain node is added to the node set, all nodes can measure (SINR, PRR) The number M2 of SINR intervals where points fall within a certain SINR interval.
进一步的,将选择M2值最大的那个结点,若有多个这样的结点,则任选一个,当其M2值大于M1值时,将这个结点加入到结点集中,得到新的结点集,同时更新M1的值,即M1=M2。Further, the node with the largest M2 value will be selected. If there are multiple such nodes, choose one. When its M2 value is greater than the M1 value, add this node to the node set to obtain a new node point set, and update the value of M1 at the same time, that is, M1=M2.
循环检测单元44,用于依据判断规则进行循环检测,直到完成对结点集的选择。The cycle detection unit 44 is configured to perform cycle detection according to the judgment rule until the selection of the node set is completed.
具体而言,在本发明实施例中,将重复上述步骤三,直到当最大的M2值小于等于M1值,说明将任意一个结点加入到当前的结点集,都不能使结点集满足的SINR区间的个数增加,则结点集中结点的选择结束,即一个结点集被选出来了。Specifically, in the embodiment of the present invention, the above step three will be repeated until the maximum M2 value is less than or equal to the M1 value, indicating that adding any node to the current node set cannot satisfy the node set When the number of SINR intervals increases, the selection of nodes in the node set ends, that is, a node set is selected.
进一步的,如果网络中所有结点都能在每个SINR区间内测得至少一个(SINR,PRR)点,则对结点集的选择结束,否则重复步骤三和步骤四,选取下一个结点集。Further, if all nodes in the network can measure at least one (SINR, PRR) point in each SINR interval, the selection of the node set ends, otherwise, repeat steps 3 and 4 to select the next node set.
本发明实施例的计算选择哪些结点集发送数据包的算法的时间复杂度是多项式时间的,说明本测量方法适用于规模大、结点数目多的无线传感网。本发明设计的是主动测量的测量方法,可以在任何时间实施这个方法,从而在需要时测得PRR-SINR模型。本发明通过合理安排同时发送数据包的结点集,在保证测得的PRR-SINR模型具有一定精度的前提下,可以快速低耗的为网络中的每个结点建立起干扰模型。本发明适用于任意一个静态的无线传感网,通过仿真实验的实验结果证明了本发明的可靠性和优越性。The time complexity of the algorithm for calculating and selecting which node sets to send data packets in the embodiment of the present invention is polynomial time, which shows that this measurement method is suitable for wireless sensor networks with large scale and large number of nodes. The present invention designs a measurement method of active measurement, which can be implemented at any time, so that the PRR-SINR model can be measured when needed. By rationally arranging the node sets that send data packets at the same time, the invention can establish an interference model for each node in the network quickly and with low consumption on the premise of ensuring that the measured PRR-SINR model has a certain accuracy. The present invention is applicable to any static wireless sensor network, and the experimental results of simulation experiments prove the reliability and superiority of the present invention.
本领域普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be executed when executed , including one or a combination of the steps of the method embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
综上所述,本文提供了一种无线传感网中干扰模型测量方法及装置,通过对无线传感网进行系统初始化,然后选取无线传感网中部分结点形成第一个结点集,通过获取结点发送的数据计算SINR值和对应的数据包接受率PRR,接着依据结点测得SINR区间内的SINR区间的个数进行选择和更新,最终依据判断规则进行循环检测,直到完成对结点集的选择,本方案适用于任意一个静态的无线传感网,既能保证精度又能减少网络开销。In summary, this paper provides a method and device for measuring interference models in wireless sensor networks. By initializing the system of the wireless sensor network, and then selecting some nodes in the wireless sensor network to form the first node set, Calculate the SINR value and the corresponding data packet acceptance rate PRR by obtaining the data sent by the node, then select and update the number of SINR intervals in the SINR interval measured by the node, and finally perform loop detection according to the judgment rule until the completion of the SINR interval The choice of node set, this scheme is suitable for any static wireless sensor network, which can not only guarantee the accuracy but also reduce the network overhead.
以上对本发明所提供的一种无线传感网中干扰模型测量方法及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方案;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method and device for measuring interference models in a wireless sensor network provided by the present invention have been described in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for To help understand the solution of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be understood as Limitations on the Invention.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210234558.7A CN102752785B (en) | 2012-07-06 | 2012-07-06 | Interference model measurement method and device for wireless sensor network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210234558.7A CN102752785B (en) | 2012-07-06 | 2012-07-06 | Interference model measurement method and device for wireless sensor network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102752785A CN102752785A (en) | 2012-10-24 |
CN102752785B true CN102752785B (en) | 2015-05-27 |
Family
ID=47032635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210234558.7A Expired - Fee Related CN102752785B (en) | 2012-07-06 | 2012-07-06 | Interference model measurement method and device for wireless sensor network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102752785B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104581769B (en) * | 2015-01-22 | 2017-12-15 | 清华大学 | A kind of main passive measurement method of isomorphism air interference |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101315361A (en) * | 2008-06-20 | 2008-12-03 | 江苏大学 | Detection system and method based on wireless network salinity and temperature |
CN101631395A (en) * | 2009-08-19 | 2010-01-20 | 中国矿业大学 | Method for removing interference noise from moving object locating in wireless sensor network |
CN102480751A (en) * | 2010-11-29 | 2012-05-30 | 罗斯蒙德公司 | Wireless sensor network access point and device RF spectrum analysis system and method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8514789B2 (en) * | 2008-10-10 | 2013-08-20 | Microsoft Corporation | Cognitive channel adaptation in wireless sensor networks |
-
2012
- 2012-07-06 CN CN201210234558.7A patent/CN102752785B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101315361A (en) * | 2008-06-20 | 2008-12-03 | 江苏大学 | Detection system and method based on wireless network salinity and temperature |
CN101631395A (en) * | 2009-08-19 | 2010-01-20 | 中国矿业大学 | Method for removing interference noise from moving object locating in wireless sensor network |
CN102480751A (en) * | 2010-11-29 | 2012-05-30 | 罗斯蒙德公司 | Wireless sensor network access point and device RF spectrum analysis system and method |
Also Published As
Publication number | Publication date |
---|---|
CN102752785A (en) | 2012-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Li et al. | Enhancing real-time delivery in wireless sensor networks with two-hop information | |
CN102685255B (en) | Distributed opportunistic network community division method | |
CN103298009B (en) | The modeling of complicated wireless network control system and fault propagation method | |
CN103581974B (en) | Link-quality-evaluating method and system thereof | |
JP2013065957A (en) | Method for controlling path of multi-hop wireless network | |
JP2009111976A5 (en) | ||
Mikhaylov | Simulation of network-level performance for Bluetooth Low Energy | |
JP2014075813A5 (en) | ||
CN110730486A (en) | A method for obtaining the optimal path of wireless body area network based on Q-Learning algorithm | |
CN108601047A (en) | The measurement method of opportunistic network key node | |
CN106569176A (en) | Wireless sensor network stereo positioning method | |
JP2019140497A (en) | Route selection device, route selection method, and program | |
CN102752785B (en) | Interference model measurement method and device for wireless sensor network | |
US11510128B2 (en) | Path selection apparatus, path selection method and program | |
CN103179631B (en) | A kind of choose the method that optimal angle carries out sub-clustering | |
Sun et al. | Performance analysis of wireless sensor network based on OPNET | |
CN107241778B (en) | WSN weighted transmission topology discovery method and system based on data tracing | |
JP2017038148A (en) | Tree route determination device and tree route determination method | |
Nayaka et al. | QoS analysis of WSN based cluster tree data fusion for integrated public utility management | |
Al Essa et al. | ZigBee network using low power techniques and modified LEACH protocol | |
Chen et al. | An intersection-based coverage algorithm for PEGASIS architecture in wireless sensor networks | |
CN107645425A (en) | The passive combining adaptive flow-measuring method of master and device based on SDN | |
CN106998579B (en) | WSN weighted transmission topology discovery method and system based on orthogonal traceability | |
Kovalova et al. | Optimization of lifetime in wireless monitoring networks | |
CN105916185B (en) | A kind of uplink dispatch method and device based on double tree routings |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150527 |
|
CF01 | Termination of patent right due to non-payment of annual fee |