WO2011157087A1 - Quick switch method and system in wireless sensor network - Google Patents

Quick switch method and system in wireless sensor network Download PDF

Info

Publication number
WO2011157087A1
WO2011157087A1 PCT/CN2011/073823 CN2011073823W WO2011157087A1 WO 2011157087 A1 WO2011157087 A1 WO 2011157087A1 CN 2011073823 W CN2011073823 W CN 2011073823W WO 2011157087 A1 WO2011157087 A1 WO 2011157087A1
Authority
WO
WIPO (PCT)
Prior art keywords
subnet
mobile user
cluster head
head node
value
Prior art date
Application number
PCT/CN2011/073823
Other languages
French (fr)
Chinese (zh)
Inventor
裴庆祺
沈玉龙
李京英
姜晓鸿
尹浩
徐启建
马建峰
唐宏
吴作顺
Original Assignee
西安电子科技大学
中国电子设备系统工程公司研究所
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 西安电子科技大学, 中国电子设备系统工程公司研究所 filed Critical 西安电子科技大学
Publication of WO2011157087A1 publication Critical patent/WO2011157087A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • H04W36/0088Scheduling hand-off measurements

Definitions

  • the invention relates to the field of short-range wireless communication, in particular to a handover scheme of a mobile user in a clustering model of a wireless sensor network, which is specifically a signal strength indicator (RSI) and a link quality indicator index (LQI) in a wireless sensor network.
  • RSI signal strength indicator
  • LQI link quality indicator index
  • Wireless sensor network is a brand-new information acquisition platform. It has the advantage of being incomparable with other networks in information acquisition. It can monitor and collect information of various monitoring objects in the network distribution area in real time to achieve complex target within specified range. Detection and tracking can greatly compensate for the shortcomings of wireless network information collection. It has the characteristics of rapid deployment and strong resistance to destruction, and has broad application prospects.
  • Wireless sensor networks are made up of a large number of low-cost micronodes, which are typically battery-powered and work long-term in an unattended environment, often without replacing the battery. This requires efficient management and use of resources during wireless sensor network operation, reducing energy consumption, maximizing network lifetime and ensuring network connectivity for maximum long working hours.
  • a wireless sensor network consists of a sensor node, a subnet cluster head node, and a user.
  • a large number of sensor nodes are deployed in the monitoring area and set up a network.
  • the use of mobile-capable nodes to actively collect information can reduce the number of hops from the sensor nodes to the cluster head nodes, thereby saving energy, and can actively collect information in each subnet. Ensure network connectivity. Therefore, research on the mobility management of nodes and the manner of handover are introduced.
  • the traditional wireless sensor network mobile switching method has the following steps: First, the signal strength indicator RSSI is used as the handover criterion, and compared with the system preset parameters. If the system threshold is reached, the inter-subnet is started. Switching; the second step, scanning all subnets in the sensor network, selecting the subnet with the best performance as the switcher The third step is to complete the switch between subnets. If the switch fails, the connection is directly disconnected.
  • RSSI signal strength indicator
  • the decision criterion for handover can result in false switching or frequent switching. Since the RSSI is greatly affected by the environment, and sometimes the RSSI change is not caused by the mobile user moving away from the cluster head node, or because multiple mobile users compete for channels or signal interference between multiple nodes, so only rely on RSSI as a reference method for decision criteria often results in false switching or frequent switching, which not only wastes a lot of network resources, but also increases the packet loss rate and network throughput. In extreme cases, service may also occur for a long time. The situation of the interruption.
  • the mobile user When it is determined that a handover is required, the mobile user needs to scan all the subnets during the scanning phase, obtain the information therein, and decide which subnet to switch to, which causes a waste of time.
  • the reality is that the subnet to be accessed by the mobile user only needs to be selected among several adjacent subnets. Scanning all subnets not only causes waste of time, but also the delay caused by the scanning phase is the longest, which reaches The entire switching delay is about 90%.
  • the object of the present invention is to overcome the above-mentioned shortcomings of the prior art, and to provide a fast switching method and system based on a signal strength indicator index RSSI and a link strength indicator index LQI in a wireless sensor network, so as to reduce scan delay, handover delay and Data packet loss rate, increase network throughput and extend network lifetime.
  • the present invention provides a fast switching method based on RSSI and LQI in a wireless sensor network, including:
  • the signal strength indicator index RSSI and the link quality indicator index LQI information of the cluster head nodes of each subnet are obtained, and the signal strength indicator index RSSI and the link quality indicator index LQI information of each subnet are obtained.
  • Calculate the R value of each subnet select the first subnet to be joined according to the R value of each subnet, and send an association request;
  • the cluster head node of the first subnet determines, according to the association request, that the mobile user is allowed to join the subnet, and the mobile user accesses the first subnet;
  • the cluster head node of the first subnet acquires a signal strength indicator
  • the RSSI and the link quality indicator metric LQI value are generated, the location information of the mobile user is obtained according to the ⁇ , and the mobile user's next time position is predicted, and whether the handover process is triggered is determined; if yes, according to the prediction information
  • the location information of the mobile subscriber is acquired at the next moment, and the signal strength and link quality information of the cluster head nodes of each new subnet covering the area are obtained, and the values of the subnets are calculated, and the second subnet to be joined is selected according to the value. And send an association request;
  • the cluster head node of the second subnet decides to allow the mobile user to access according to the association request, the mobile user accesses the second subnet, and disconnects from the first subnet.
  • the implementation steps of the method include the following:
  • the mobile user enters the wireless sensor network to send a scan request, and then obtains the signal strength and link quality information of the cluster head nodes of each subnet through the active scan response, and the signal strength and link quality information of each subnet, Calculate the R value of each subnet, store these R values in the register, and then select the subnet with the largest R value from the register as the subnet to be joined, and send the association request;
  • the subnet cluster head node decides whether to allow the user to join the subnet according to the user mobility status, the requested service type, and the current subnet resource information in the user association request; if the user is allowed to join the subnet, go to the step (3), otherwise, the R value is searched from the register second only to the subnet of the subnet used as the available subnet, and the association request is sent;
  • the subnet cluster head node sends an association response to the user requiring access to the subnet
  • the user submits a bandwidth usage request to the sub-cluster head node according to the specific conditions of the current service, including the number of used time slots and the usage time;
  • the sub-cluster head node After receiving the bandwidth request from the user, the sub-cluster head node determines whether to approve the application according to the current status of the subnet; if the subnet provides the resource within the capability, the application is approved and the application is successfully sent to the user. In response, go to step (6); if the ability of the subnet to provide resources is exceeded, send the maximum bandwidth information that the current subnet can provide to the user, and go to step (8);
  • the user determines whether to join the subnet according to the current traffic volume. If the maximum bandwidth provided can meet the requirements of the service, then choose to join the subnet, start using the resources of the subnet, and go to the step. (8), otherwise find the R value from the register next to the subnet of the subnet used as the available subnet, go to step (3);
  • the cluster head node After the mobile user accesses the subnet, at every T time, if there is data transmission between the mobile user and the cluster head node, the cluster head node directly reads the signal strength indicator RSSI from the transmitted data frame. And the link quality indicator index LQI value, if no data transmission occurs, the mobile user sends an empty data frame to the sub-cluster cluster head node, and the signal strength indicator index RSSI and the link quality indicator index LQI value are read out from the frame.
  • step (9) Using ⁇ to compare with a preset system threshold, if ⁇ is in the threshold area, the cluster head node sends a location information request to the mobile user, and after receiving the request, the mobile user sends the location information to the cluster head node. Go to step (10); Otherwise, go to step (8);
  • the cluster head node After receiving the location information of the mobile user, the cluster head node predicts the location of the next moment of the user, and determines whether the handover process is triggered by the location information of the time of the mobile node; if the handover is triggered, the process proceeds to step (11). Otherwise go to step (8);
  • the cluster head node of the atomic network sends an active scan to the cluster head nodes of each new subnet covering the area according to the location information of the user at the next moment in the prediction information; and acquires the cluster head nodes of each new subnet through the active scan response Signal strength and link quality information, and calculate the value of each subnet, store it in the register, and then select the subnet with the largest value from the register as the subnet to be joined, and send the association request;
  • the atomic network cluster head node sends an association request to the new subnet cluster head node according to the mobile user type, the motion state and the service type, and proposes a bandwidth request;
  • the new subnet cluster head node decides whether to allow the user to join its subnet according to the bandwidth request in the association request; if the user is allowed to join the subnet, go to step (14); otherwise, look up the value from the register. After the subnet that uses the subnet is the available subnet, send the association request and repeat step (11);
  • the new subnet cluster head node decides whether to allow the mobile node to access according to the maximum bandwidth that can be provided by itself; if access is allowed, the atomic network cluster head node notifies the user to switch to the new subnet, and proceeds to the step ( 15); Otherwise, the value of the ⁇ value from the register is second only to the subnet of the subnet used as the available subnet, go to step (12);
  • the atomic network cluster head node After the user accesses the new subnet, if the atomic network cluster head node still stores the user's data, the atomic network cluster head node sends the data to the new subnet cluster head node, which is handed over to the user;
  • the invention also provides a fast switching system based on RSSI and LQI in a wireless sensor network, comprising: a mobile user, after entering the wireless sensor network, acquiring a signal strength indication index RSSI and a link of a cluster head node of each surrounding subnet.
  • the quality indicator index LQI information, and the signal strength indicator index RSSI and the link quality indicator index LQI information of each subnet are used to calculate the R value of each subnet, and the first sub-join to be added is selected according to the R value of each subnet.
  • a cluster head node of the first subnet configured to receive the association request sent by the mobile user, determine, according to the association request, that the mobile user is allowed to join the subnet, and the mobile user accesses the first After the subnet, obtaining the signal strength indicator index RSSI and the link quality indicator index LQI value, generating ⁇ , obtaining the location information of the mobile user according to ⁇ , and Predicting the location of the next moment of the mobile user, determining whether the handover process is triggered; if yes, obtaining the signal strength of the cluster head nodes of each new subnet covering the area according to the location information of the mobile subscriber at the next moment in the prediction information Link quality information, and calculating the value of each subnet, selecting a second subnet to be joined according to the value, and sending an association request;
  • the cluster head node of the second subnet is configured to allow the mobile user to access the second subnet according to the association request sent by the cluster head node of the first subnet.
  • the present invention uses the R value weighted by the signal strength indicator index RSSI and the link quality indicator index LQI as the system preset parameter, instead of using the RSSI as the system preset parameter in the conventional sense, the accuracy is
  • the aspect LQI is slightly higher than the RSSI, and the two are indicators indicating different categories. Therefore, using this method can greatly improve the accuracy and avoid mis-switching.
  • the present invention calculates the R values of each subnet and sorts them into registers according to the order from largest to smallest. Then, subnet selection by each R value can effectively balance the network energy and prolong the network life; especially when the selection of the pre-join subnet and the pre-switch subnet fails, the entire pre-join or pre-handover can be quickly restored.
  • the process without having to disconnect the network and then rescan, can greatly reduce scan latency, reduce signaling interactions, and reduce overall system overhead.
  • the present invention adopts the prediction of the geographical position in the pre-handover, and can accurately determine the subnet covering the position of the mobile node at the next moment, thereby greatly reducing the number of scanning subnets;
  • the total handover delay is 90%, so the handover delay can be greatly reduced, and the service with higher real-time requirements can provide better service.
  • the present invention uses a progressive decision criterion for handover decision.
  • the first condition is to determine whether ⁇ is within the system preset threshold area, and after the first condition is reached, the second condition is triggered, and the second condition is judgment. Whether the moving position of the mobile node at the next moment exceeds the coverage of the atomic network, and once the coverage of the atomic network is exceeded, the handover is triggered.
  • FIG. 1 is a schematic structural diagram of a wireless sensor network used in the present invention
  • FIG. 3 is a sub-flow diagram of the present invention for pre-joining using R values in the process of implementing fast handover;
  • FIG. 4 is a sub-flow diagram of the present invention for performing handover using a progressive decision criterion in implementing a fast handover procedure
  • FIG. 5 is a schematic diagram of a conventional mobile handover procedure
  • FIG. 6 is a schematic structural diagram of a fast switching system provided by the present invention. detailed description
  • the network structure used by the present invention is composed of a wireless sensor common node, a subnet cluster head node, and a mobile user.
  • the wireless sensor common node collects the information of the physical environment and transmits the information to the sub-cluster head node through the wireless link; the sub-cluster head node is responsible for merging the received information and rationally allocating the internal resources of the subnet; Inject queries and gather information into the network.
  • the subnet cluster head nodes are connected together by a wired network or a wireless network, and the subnets are combined to form a flexible and scalable wireless sensor network.
  • This network structure provides a variety of data services and applications, and supports multiple mobile users to use network resources at the same time.
  • the mobile user in the embodiment of the present invention refers to a mobile node, which may be a mobile terminal, and is referred to as a mobile user for ease of understanding.
  • the present invention provides a fast switching method based on RSSI and LQI in a wireless sensor network, including: S1: After a mobile user enters a wireless sensor network, acquires a signal strength indicator of a cluster head node of each surrounding subnet.
  • the RSSI and the link quality indicator index LQI information are calculated by the signal strength indicator index RSSI and the link quality indicator index LQI information of each subnet, and the R value of each subnet is calculated, and the R value of each subnet is selected to be added.
  • the first subnet and send an association request;
  • S2 the cluster head node of the first subnet decides to allow the mobile user to join the subnet according to the association request, and the mobile user accesses the first subnet;
  • the cluster head node of the first subnet After the mobile user accesses the first subnet, the cluster head node of the first subnet obtains the signal strength indicator index RSSI and the link quality indicator index LQI value, generates ⁇ , obtains the location information of the mobile user according to the ⁇ , and predicts the movement. The next time position of the user determines whether the handover process is triggered; if yes, the signal strength and link quality information of the cluster head nodes of each new subnet covering the area are obtained according to the location information of the mobile subscriber at the next moment in the prediction information. And calculating the R" value of each subnet, selecting the second subnet to be joined according to the value, and sending an association request;
  • S4 The cluster head node of the second subnet decides to allow the mobile user to access according to the association request, and the mobile user accesses the second subnet and disconnects from the first subnet.
  • the present invention provides a fast switching method based on RSSI and LQI in a wireless sensor network, and the specific implementation steps are as follows:
  • Step 1 The mobile user enters the wireless sensor network and obtains network information through an active scan request.
  • Step 2 Each sub-cluster head node sends an active scan response to the mobile user.
  • Step 3 The mobile user compares the received active scan response to determine the subnet to join, and sends an association request to the cluster head node of the subnet.
  • the mobile user obtains the signal strength indicator index RSSI and the link quality indicator indicator LQI of each subnet from the received active scan response;
  • RSSI is the measured signal strength indicator of each subnet
  • RSSI_L is the same as RSSI derived from the measured link quality indicator LQI value of each subnet. value, is the weight of RSSI
  • RSSI _ L ⁇ is the weight
  • Step 4 The subnet cluster head node determines whether to allow the mobile user to join the subnet according to the user mobility status, the requested service type, and the current subnet resource information in the mobile user association request.
  • the mobile user's mobile state is divided into a high-speed motion state, a medium-speed mobile state, and a low-speed mobile state; the mobile user's service type is divided into real-time service and non-real-time service. If the mobile user is allowed to join the subnet, go to step 5; otherwise, look for the available subnet from the register and go to the send association request in step 3.
  • the specific implementation method is as shown in Figure 3:
  • Step 5 The subnet cluster head node returns an association response to the mobile user.
  • Step 6 The mobile user submits a bandwidth usage request to the sub-cluster head node according to the specific situation of the current service, including using the number of slots and the usage time;
  • Step 7 After receiving the bandwidth usage request of the mobile user, the sub-cluster head node determines whether to approve the bandwidth usage application according to the current status of the subnet. If the subnet provides the resource within the capability of the subnet, the bandwidth usage application is approved. And moving to The user sends a successful application response, go to step 8; if the ability to provide resources beyond the subnet is exceeded, send the maximum bandwidth information that the current subnet can provide to the mobile user, go to step 9;
  • Step 8 The mobile user starts to use the subnet resource according to the information that the bandwidth usage request is approved by the received cluster head node, and proceeds to step 10;
  • Step 9 After receiving the maximum bandwidth information, the mobile user determines whether to join the subnet according to the current traffic. If the maximum bandwidth provided can meet the requirements of the service, then choose to join the subnet, start using the resources of the subnet, and go to Step 10; Otherwise, look up the available subnets from the register, and go to the sending association request in step 3.
  • the specific implementation method is as shown in Figure 3:
  • Step 10 After the mobile user accesses the subnet, every time period T, if there is data transmission with the cluster head node of the subnet, the cluster head node directly reads the RSSI and LQI values from the transmitted data. If there is no data transmission in the subnet, after the mobile user sends an empty data frame, the cluster head node reads the RSSI and LQI values from the received null data frame, and generates the following formula:
  • R' w,' X RSSI' + w 2 ' X RSSI _ l!
  • RSS ⁇ is the measured signal strength indicator of the mobile user
  • W ⁇ - is the measured link quality indicator of the mobile user
  • the value of the index LQI value derived from the RSSI is the weight of the weight
  • w 2 ' is the weight of -
  • the value of ⁇ and 1 ⁇ is determined by the distance between the sub-cluster head node and the mobile user.
  • the period T can be preset according to needs, for example, the default is 0.5s, and then dynamically adjusted according to the motion state of the mobile user. If the moving speed of the mobile user is faster, the value of the period T can be shortened, if the moving speed of the mobile user Slower, you can extend the value of period T;
  • Step 11 Use ⁇ to compare with the preset system threshold area, if ⁇ is in the threshold area, go to step 12; if ⁇ is not in the threshold area, go to step 10;
  • Step 12 The cluster head node sends a request to the mobile user, requesting the mobile user to send its current location information.
  • Step 14 After receiving the location information of the mobile user, the original cluster head node starts a second-order AR prediction algorithm to predict the mobile user. Next moment position ( , And according to ( "_ ⁇ *)) 2 + « _ 3 ⁇ )) 2 ⁇ 2 , judge whether the switching process is triggered, where XW , W represents the plane position information of the cluster head node of the current subnet, and r represents the current subnet.
  • XW represents the plane position information of the cluster head node of the current subnet
  • r represents the current subnet
  • Step 15 The atomic network cluster head node sends an active scan request to each new sub-network cluster head node covering the area according to the location information of the mobile user at the next moment in the prediction information.
  • Step 16 Each sub-cluster head node sends an active scan response to the cluster head node of the atomic network.
  • Step 17 The atomic network cluster head node determines a new subnet to be joined by the mobile user according to the received active scan response, and sends an association request to the cluster head node of the new subnet.
  • the atomic network cluster head node obtains the signal strength indicator index RSSI and the link quality indicator index LQI of each new subnet from the received active scan response;
  • R" ⁇ X RSSI" + w 2 " X RSSI _ i!'
  • R ⁇ W ⁇ is the measured signal strength indicator for each new subnet
  • W ⁇ - is the actual new subnet
  • the value of the link quality indicator LQI value derived from the RSSI is the weight of ⁇ , which is the weight of RSSI- ⁇ , and the values of 1 and 1 ⁇ " are determined by the cluster head node of the atomic network. The distance between the cluster head nodes of each new subnet is determined.
  • Step 18 The new subnet cluster head node determines whether to allow the mobile user to join the subnet according to the user mobility status, the requested service type, and the current subnet resource information in the association request, if the mobile user is allowed to join the subnet, then Go to step 19; otherwise, look up the available subnets from the register and send the association request.
  • the specific implementation method is as shown in Figure 3:
  • step 17 If the mobile user is not allowed to join the subnet, select the subnet with the R 11 value d from the register as the pre-joined new subnet; where ⁇ ⁇ is ⁇ ⁇ ⁇ "" is not currently selected The maximum value that has passed, that is, the largest value among the smaller unselected values. 3g) Then go to step 17 to send an association request to the pre-joined new subnet.
  • Step 19 The new subnet cluster head node sends an association response to the atomic network cluster head node.
  • Step 20 The cluster head node of the atomic network proposes a bandwidth usage application to the cluster head node of the new subnet according to the specific situation of the current service of the mobile subscriber, including using the number of slots and the usage time.
  • Step 21 After receiving the bandwidth usage request of the cluster head node of the atomic network, the cluster head node of the new subnet determines whether to approve the application according to the current status of the subnet, and if the capability of the subnet is provided, the bandwidth usage application Approved, and send a successful application response to the cluster head node of the atomic network, go to step 22; if the ability of the subnet to provide resources is exceeded, send the maximum bandwidth information that the current subnet can provide to the cluster head node of the atomic network, go to the step twenty three.
  • Step 22 The atomic network cluster head node proceeds to step 24 according to the bandwidth usage request approval information sent by the new subnet cluster head node.
  • Step 23 After receiving the maximum bandwidth information, the cluster head node of the atomic network determines whether to join the new subnet according to the current traffic volume. If the maximum bandwidth provided can meet the requirements of the service, then select to join the new subnet, and go to the step. 24; Otherwise, look up the available subnet from the register, and then go to the send association request in step 17, the specific implementation method is as shown in Figure 3: 3f) If the mobile user is not allowed to join the subnet, the value selected from the register The subnet of ⁇ is the pre-joined subnet; where, is the maximum value currently not selected in ⁇ , ⁇ ..., ⁇ ", that is, the largest value among the smaller unselected values.
  • step 17 Then go to step 17 to send an association request to the pre-joined subnet.
  • Step 24 The atomic network cluster head node notifies the mobile user to switch to the subnet covered by the new subnet cluster head node.
  • Step 25 After the mobile user accesses the new subnet, start using the subnet resources of the new subnet and disconnect from the atomic network.
  • Step 26 After the mobile user accesses the new subnet, if the atomic network cluster head node still has the data of the mobile user, the atomic network cluster head node sends the data to the new subnet cluster head node, and the data is forwarded to the mobile user. .
  • Step 27 Traverse all new subnets in the coverage area. If the mobile user's request is not met, the mobile user disconnects from the atomic network and switches using the traditional hard handover mode.
  • the traditional hard handover mode is shown in the handover process in FIG. 5, and the present invention is not described too much.
  • the present invention also provides a fast switching system based on RSSI and LQI in a wireless sensor network, including:
  • the mobile user 601 After entering the wireless sensor network, the mobile user 601 obtains the signal strength indicator index RSSI and the link quality indicator index LQI information of the cluster head nodes of each subnet, and the signal strength indicator index RSSI and link quality of each subnet Indicating the indicator LQI information, calculating the R value of each subnet, selecting the first subnet to be joined according to the R value of each subnet, and sending an association request, and accessing the first subnet after being allowed;
  • the cluster head node 602 of the first subnet is configured to receive an association request sent by the mobile user, determine, according to the association request, the mobile user to join the subnet, and obtain the signal strength indicator after the mobile user accesses the first subnet.
  • the RSSI and the link quality indicator index LQI value generate ⁇ , obtain the location information of the mobile user according to ⁇ , and predict the mobile user next time position, determine whether the handover process is triggered; if yes, move according to the next time in the prediction information
  • the location information of the user obtains the signal strength and link quality information of the cluster head nodes of each new subnet covering the area, calculates the value of each subnet, selects the second subnet to be added according to the value, and sends an association request. ;
  • the cluster head node 603 of the second subnet is configured to allow the mobile user to access the second subnet according to the association request sent by the cluster head node of the first subnet.
  • the present invention uses the R value weighted by the signal strength indicator index RSSI and the link quality indicator index LQI as the system preset parameter, instead of using the RSSI as the system preset parameter in the conventional sense, the accuracy is
  • the aspect LQI is slightly higher than the RSSI, and the two are indicators indicating different categories. Therefore, using this method can greatly improve the accuracy and avoid mis-switching.
  • the present invention calculates the R values of each subnet and sorts them into registers according to the order from largest to smallest. Then, subnet selection by each R value can effectively balance the network energy and prolong the network life; especially when the selection of the pre-join subnet and the pre-switch subnet fails, the entire pre-join or pre-handover can be quickly restored.
  • the process without having to disconnect the network and then rescan, can greatly reduce scan latency, reduce signaling interactions, and reduce overall system overhead.
  • the present invention adopts the prediction of the geographical position in the pre-handover, and can accurately determine the subnet covering the position of the mobile node at the next moment, thereby greatly reducing the number of scanning subnets;
  • the total handover delay is 90%, so the handover delay can be greatly reduced, and the service with higher real-time requirements can provide better service.
  • the present invention uses a progressive decision criterion for handover decision.
  • the first condition is to determine whether ⁇ is within the system preset threshold area, and after the first condition is reached, the second condition is triggered, and the second condition is judgment. Whether the moving position of the mobile node at the next moment exceeds the coverage of the atomic network, and once the coverage of the atomic network is exceeded, the handover is triggered.
  • All or part of the above technical solutions provided by the embodiments of the present invention may be completed by hardware related to program instructions, and the program may be stored in a readable storage medium, and the storage medium includes: a ROM, a RAM, a magnetic disk or an optical disk. Wait A variety of media that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A quick switch method based on Received Signal Strength Indicator (RSSI) and Link Quality Indicator (LQI) in a wireless sensor network is disclosed in the present invention, which mainly solves the problems of low switch judgment precision and long time delay in traditional switch process. The method includes the following implementing steps: 1) adopting an R value, obtained by weighting and compounding the RSSI and LQI, as a system preset parameter; 2) utilizing the R value for subnet selection, especially when a pre-addition fails, a pre-adding flow is restored rapidly, so that scanning time delay and signalling interactive times are reduced; 3) preestimating geographical positions when pre-switching, and determining a subnet covering the next moment position of a mobile user, so that times of scanning subnets and switch time delay are reduced; and 4) utilizing a progressive judgment rule so as to avoid error switch and ping-pong effect to a great extent. With the method, network capability is effectively balanced, and network life is prolonged. The method is suitable for the sensor network field which has high requirements on switch performance and is sensitive to switch time delay.

Description

无线传感器网络中的快速切换方法和系统 本申请要求于 2010年 6月 18日提交中国专利局、 申请号为 201010204178.X、 发明名称 为 "无线传感器网络中基于 RSSI和 LQI的快速切换方法" 的中国专利申请的优先权, 其全 部内容通过引用结合在本申请中。  The present invention claims to be submitted to the Chinese Patent Office on June 18, 2010, and the application number is 201010204178.X, and the invention name is "rapid switching method based on RSSI and LQI in wireless sensor networks". Priority of Chinese Patent Application, the entire contents of which is incorporated herein by reference.
 Say
技术领域 Technical field
本发明涉及短距离无线通信领域, 特别涉及无线传感器网络分簇模型中移动用户的切换 方案, 具体为一种无线传感器网络中基于信号强度指示指标 RSSI ( Received Signal Strength Indicator)和链路质量指示指标 LQI ( Link Quality Indi书cator) 的快速切换方法和系统, 用于需 要为移动用户提供高切换性能、 低时延及低能耗的应用场景中。 背景技术  The invention relates to the field of short-range wireless communication, in particular to a handover scheme of a mobile user in a clustering model of a wireless sensor network, which is specifically a signal strength indicator (RSI) and a link quality indicator index (LQI) in a wireless sensor network. (Link Quality Indi Cator) Fast switching method and system for applications that require high handover performance, low latency, and low power consumption for mobile users. Background technique
无线传感器网络是一种全新的信息获取平台, 在信息获取方面有着与其他网络不可比拟 的优势, 能够实时监测和采集网络分布区域内的各种监测对象的信息, 以实现复杂的指定范 围内目标检测与跟踪, 可极大的弥补无线网络信息采集方面的不足, 具有快速展开、 抗毁性 强等特点, 有着广阔的应用前景。  Wireless sensor network is a brand-new information acquisition platform. It has the advantage of being incomparable with other networks in information acquisition. It can monitor and collect information of various monitoring objects in the network distribution area in real time to achieve complex target within specified range. Detection and tracking can greatly compensate for the shortcomings of wireless network information collection. It has the characteristics of rapid deployment and strong resistance to destruction, and has broad application prospects.
无线传感器网络是由大量低成本的微型节点组成, 传感器节点通常由电池供电且长期工 作在无人值守的环境中, 通常无法更换电池。 这就要求无线传感器网络运行过程中, 有效管 理和使用资源, 减少能耗, 最大限度的延长网络寿命并确保网络的连通性, 获得最长的工作 时间。  Wireless sensor networks are made up of a large number of low-cost micronodes, which are typically battery-powered and work long-term in an unattended environment, often without replacing the battery. This requires efficient management and use of resources during wireless sensor network operation, reducing energy consumption, maximizing network lifetime and ensuring network connectivity for maximum long working hours.
无线传感器网络由传感器节点、 子网簇头节点和用户组成。 大量传感器节点部署在监测 区域并组建成网络, 利用具有移动能力的节点来主动的收集信息可以减少传感器节点到簇头 节点的跳数从而节省能量, 并且可以主动到各子网中去收集信息以确保网络的连通性。 也因 此引入了对节点的移动性管理以及越区切换方式的研究。  A wireless sensor network consists of a sensor node, a subnet cluster head node, and a user. A large number of sensor nodes are deployed in the monitoring area and set up a network. The use of mobile-capable nodes to actively collect information can reduce the number of hops from the sensor nodes to the cluster head nodes, thereby saving energy, and can actively collect information in each subnet. Ensure network connectivity. Therefore, research on the mobility management of nodes and the manner of handover are introduced.
传统的无线传感器网络移动切换方法其切换步骤是: 第一步, 使用信号强度指示指标 RSSI作为切换的判决准则, 与系统预设参数进行比较, 如果达到系统门限值, 则开始进行子 网间切换; 第二步, 对传感器网络中的所有子网进行扫描, 选出性能最优的子网作为切换子 网; 第三步, 完成子网间切换, 如果切换失败, 则直接断开连接。 The traditional wireless sensor network mobile switching method has the following steps: First, the signal strength indicator RSSI is used as the handover criterion, and compared with the system preset parameters. If the system threshold is reached, the inter-subnet is started. Switching; the second step, scanning all subnets in the sensor network, selecting the subnet with the best performance as the switcher The third step is to complete the switch between subnets. If the switch fails, the connection is directly disconnected.
在实现本发明的过程中, 发明人发现上述传统的无线传感器网络移动切换方法至少存在 以下不足:  In the process of implementing the present invention, the inventors have found that the above conventional wireless sensor network mobile switching method has at least the following disadvantages:
1 ) 仅使用信号强度指示指标 RSSI作为切换的判决准则, 会产生误切换或频繁切换。 由于 RSSI受环境的影响较大, 而且有时 RSSI的变化并不是因为移动用户远离簇头节点 造成的, 也可能是因为多个移动用户竞争信道或者多个节点之间信号干扰造成的, 所以仅依 靠 RSSI作为判决准则参考量的方案往往会产生误切换或频繁切换,不但会使大量网络资源浪 费, 而且会使丢包率增大以及网络吞吐量下降, 在极端的情况下还可能发生服务长时间中断 的情况。  1) Using only the signal strength indicator, RSSI, as the decision criterion for handover, can result in false switching or frequent switching. Since the RSSI is greatly affected by the environment, and sometimes the RSSI change is not caused by the mobile user moving away from the cluster head node, or because multiple mobile users compete for channels or signal interference between multiple nodes, so only rely on RSSI as a reference method for decision criteria often results in false switching or frequent switching, which not only wastes a lot of network resources, but also increases the packet loss rate and network throughput. In extreme cases, service may also occur for a long time. The situation of the interruption.
2) 当确定需要切换时, 移动用户在扫描阶段需要扫描所有的子网, 获取其中的信息, 并 决定向哪个子网切换, 会造成时间上的浪费。 但现实情况是移动用户将接入的子网仅需在相 邻的几个子网中选择即可, 扫描所有子网不仅会造成时间上的浪费, 而且扫描阶段造成的时 延最长, 其达到整个切换时延的 90 %左右。  2) When it is determined that a handover is required, the mobile user needs to scan all the subnets during the scanning phase, obtain the information therein, and decide which subnet to switch to, which causes a waste of time. However, the reality is that the subnet to be accessed by the mobile user only needs to be selected among several adjacent subnets. Scanning all subnets not only causes waste of time, but also the delay caused by the scanning phase is the longest, which reaches The entire switching delay is about 90%.
3)移动节点如果由于某种原因导致切换失败,则直接断开连接,重新开始整个切换过程, 这样不但会增大网络能耗, 降低网络寿命及产生频繁的信令交互, 而且会使所提供的服务中 断, 尤其是给实时性要求较高的业务带来无法容忍的后果。 发明内容  3) If the mobile node fails to switch for some reason, it will directly disconnect and restart the entire handover process, which will not only increase network energy consumption, reduce network lifetime and generate frequent signaling interactions, but also provide Service disruption, especially for unrealistic consequences for businesses with high real-time requirements. Summary of the invention
本发明的目的在于克服上述已有的技术缺点, 提出一种无线传感器网络中基于信号强度 指示指标 RSSI和链路强度指示指标 LQI的快速切换方法和系统, 以减少扫描时延、 切换时 延和数据丢包率, 提高网络吞吐量和延长网络寿命。  The object of the present invention is to overcome the above-mentioned shortcomings of the prior art, and to provide a fast switching method and system based on a signal strength indicator index RSSI and a link strength indicator index LQI in a wireless sensor network, so as to reduce scan delay, handover delay and Data packet loss rate, increase network throughput and extend network lifetime.
为了实现上述目的, 本发明提供了一种无线传感器网络中基于 RSSI和 LQI的快速切换 方法, 包括:  In order to achieve the above object, the present invention provides a fast switching method based on RSSI and LQI in a wireless sensor network, including:
移动用户进入无线传感器网络后, 获取周围各子网簇头节点的信号强度指示指标 RSSI 和链路质量指示指标 LQI信息, 并由各子网的信号强度指示指标 RSSI和链路质量指示指标 LQI信息, 计算出各子网的 R值, 根据各子网的 R值选出将要加入的第一子网, 并发送关联 请求;  After the mobile user enters the wireless sensor network, the signal strength indicator index RSSI and the link quality indicator index LQI information of the cluster head nodes of each subnet are obtained, and the signal strength indicator index RSSI and the link quality indicator index LQI information of each subnet are obtained. Calculate the R value of each subnet, select the first subnet to be joined according to the R value of each subnet, and send an association request;
所述第一子网的簇头节点根据所述关联请求, 决定允许该移动用户加入其子网, 所述移 动用户接入所述第一子网;  The cluster head node of the first subnet determines, according to the association request, that the mobile user is allowed to join the subnet, and the mobile user accesses the first subnet;
所述移动用户接入所述第一子网后, 所述第一子网的簇头节点获取信号强度指示指标 RSSI和链路质量指示指标 LQI值, 生成 ^, 根据 ^获取所述移动用户的位置信息, 并预测 所述移动用户下一时刻位置, 判断切换过程是否被触发; 如果是, 则根据预测信息中下一时 刻移动用户的位置信息, 获取覆盖此区域的各新子网簇头节点的信号强度和链路质量信息, 并计算出各子网的 值, 根据 值选择将要加入的第二子网, 并发送关联请求; After the mobile user accesses the first subnet, the cluster head node of the first subnet acquires a signal strength indicator The RSSI and the link quality indicator metric LQI value are generated, the location information of the mobile user is obtained according to the ^, and the mobile user's next time position is predicted, and whether the handover process is triggered is determined; if yes, according to the prediction information The location information of the mobile subscriber is acquired at the next moment, and the signal strength and link quality information of the cluster head nodes of each new subnet covering the area are obtained, and the values of the subnets are calculated, and the second subnet to be joined is selected according to the value. And send an association request;
所述第二子网的簇头节点根据所述关联请求, 决定允许该移动用户接入, 所述移动用户 接入所述第二子网, 并断开与所述第一子网的连接。  The cluster head node of the second subnet decides to allow the mobile user to access according to the association request, the mobile user accesses the second subnet, and disconnects from the first subnet.
所述方法的实现步骤包括如下:  The implementation steps of the method include the following:
( 1 )移动用户进入无线传感器网络先发送扫描请求, 再通过主动扫描响应获取周围各子 网簇头节点的信号强度和链路质量信息, 并由各子网的信号强度和链路质量信息, 计算出各 子网的 R值, 将这些 R值存入寄存器中, 再从寄存器中选择出 R值最大的子网为将要加入的 子网, 并发送关联请求;  (1) The mobile user enters the wireless sensor network to send a scan request, and then obtains the signal strength and link quality information of the cluster head nodes of each subnet through the active scan response, and the signal strength and link quality information of each subnet, Calculate the R value of each subnet, store these R values in the register, and then select the subnet with the largest R value from the register as the subnet to be joined, and send the association request;
(2)子网簇头节点根据用户关联请求中的用户移动状态、请求的服务类型及当前的子网 资源信息, 决定是否允许该用户加入其子网; 如果允许用户加入子网则转到步骤(3), 否则, 则从寄存器中查找 R值仅次于本次使用子网的子网为可用子网, 发送关联请求;  (2) The subnet cluster head node decides whether to allow the user to join the subnet according to the user mobility status, the requested service type, and the current subnet resource information in the user association request; if the user is allowed to join the subnet, go to the step (3), otherwise, the R value is searched from the register second only to the subnet of the subnet used as the available subnet, and the association request is sent;
(3) 子网簇头节点向要求接入子网的用户发送关联响应;  (3) The subnet cluster head node sends an association response to the user requiring access to the subnet;
(4)用户根据其当前业务的具体情况, 向子网簇头节点提出带宽使用申请, 包括使用保 障时隙个数及使用时间;  (4) The user submits a bandwidth usage request to the sub-cluster head node according to the specific conditions of the current service, including the number of used time slots and the usage time;
(5) 子网簇头节点收到用户的带宽申请后, 根据子网当前状况, 判断是否批准该申请; 若在子网提供资源的能力之内, 则申请被批准, 并向用户发送申请成功响应, 转到步骤(6); 若超出子网提供资源的能力, 则向用户发送当前子网能提供的最大带宽信息, 转到步骤(8);  (5) After receiving the bandwidth request from the user, the sub-cluster head node determines whether to approve the application according to the current status of the subnet; if the subnet provides the resource within the capability, the application is approved and the application is successfully sent to the user. In response, go to step (6); if the ability of the subnet to provide resources is exceeded, send the maximum bandwidth information that the current subnet can provide to the user, and go to step (8);
(6) 用户接到申请成功响应, 则开始使用子网资源, 即接入子网, 转到步骤 (8); (6) When the user receives the application and successfully responds, the user starts to use the subnet resource, that is, accesses the subnet, and proceeds to step (8);
(7)用户收到最大带宽信息, 则结合当前业务量判断是否加入子网, 如果所提供的最大 带宽能够满足业务的需求, 则选择加入该子网, 开始使用子网的资源, 转到步骤 (8), 否则 从寄存器中查找 R值仅次于本次使用子网的子网为可用子网, 转到步骤 (3); (7) If the user receives the maximum bandwidth information, it determines whether to join the subnet according to the current traffic volume. If the maximum bandwidth provided can meet the requirements of the service, then choose to join the subnet, start using the resources of the subnet, and go to the step. (8), otherwise find the R value from the register next to the subnet of the subnet used as the available subnet, go to step (3);
( 8) 移动用户接入子网后, 每隔 T时刻, 若移动用户与子网簇头节点之间有数据传输, 则簇头节点直接从所传输的数据帧中读取信号强度指示指标 RSSI和链路质量指示指标 LQI 值, 生成 若无数据传输, 则移动用户向子网簇头节点发送一个空的数据帧, 从此帧中读 出信号强度指示指标 RSSI和链路质量指示指标 LQI值, 生成 ^;  (8) After the mobile user accesses the subnet, at every T time, if there is data transmission between the mobile user and the cluster head node, the cluster head node directly reads the signal strength indicator RSSI from the transmitted data frame. And the link quality indicator index LQI value, if no data transmission occurs, the mobile user sends an empty data frame to the sub-cluster cluster head node, and the signal strength indicator index RSSI and the link quality indicator index LQI value are read out from the frame. Generate ^;
(9) 用 ^与预先设置的系统门限值进行比较, 若 ^在门限区域内, 簇头节点向移动用 户发送位置信息请求, 移动用户接到此请求后, 向簇头节点发送位置信息, 转到步骤 (10); 否则, 转到步骤 (8); (9) Using ^ to compare with a preset system threshold, if ^ is in the threshold area, the cluster head node sends a location information request to the mobile user, and after receiving the request, the mobile user sends the location information to the cluster head node. Go to step (10); Otherwise, go to step (8);
( 10) 簇头节点收到移动用户的位置信息后, 预测用户下一时刻位置, 并通过移动节点 下时刻的位置信息判断切换过程是否被触发; 如果切换被触发则转到步骤(11 ), 否则转到步 骤 (8);  (10) After receiving the location information of the mobile user, the cluster head node predicts the location of the next moment of the user, and determines whether the handover process is triggered by the location information of the time of the mobile node; if the handover is triggered, the process proceeds to step (11). Otherwise go to step (8);
( 11 ) 原子网簇头节点根据预测信息中下一时刻用户的位置信息, 向覆盖此区域的各新 子网簇头节点发送主动扫描; 并通过主动扫描响应获取周围各新子网簇头节点的信号强度和 链路质量信息, 并计算出各子网的 值, 存入寄存器中, 再从寄存器中选择出 值最大的 子网为将要加入的子网, 并发送关联请求;  (11) The cluster head node of the atomic network sends an active scan to the cluster head nodes of each new subnet covering the area according to the location information of the user at the next moment in the prediction information; and acquires the cluster head nodes of each new subnet through the active scan response Signal strength and link quality information, and calculate the value of each subnet, store it in the register, and then select the subnet with the largest value from the register as the subnet to be joined, and send the association request;
( 12) 原子网簇头节点根据移动用户类型, 运动状态及业务类型, 向新子网簇头节点发 送关联请求, 并提出带宽申请;  (12) The atomic network cluster head node sends an association request to the new subnet cluster head node according to the mobile user type, the motion state and the service type, and proposes a bandwidth request;
( 13) 新子网簇头节点根据关联请求中的带宽申请, 决定是否允许该用户加入其子网; 如果允许用户加入子网则转到步骤 (14), 否则, 则从寄存器中查找 ^值仅次于本次使用子 网的子网为可用子网, 发送关联请求并重复步骤 (11 );  (13) The new subnet cluster head node decides whether to allow the user to join its subnet according to the bandwidth request in the association request; if the user is allowed to join the subnet, go to step (14); otherwise, look up the value from the register. After the subnet that uses the subnet is the available subnet, send the association request and repeat step (11);
( 14) 新子网簇头节点根据自己所能提供的最大带宽, 决定是否允许移动节点接入; 如 果允许接入, 则原子网簇头节点通知用户将切换到新子网, 转到步骤(15); 否则, 则从寄存 器中查找 ^值仅次于本次使用子网的子网为可用子网, 转到步骤 (12);  (14) The new subnet cluster head node decides whether to allow the mobile node to access according to the maximum bandwidth that can be provided by itself; if access is allowed, the atomic network cluster head node notifies the user to switch to the new subnet, and proceeds to the step ( 15); Otherwise, the value of the ^ value from the register is second only to the subnet of the subnet used as the available subnet, go to step (12);
( 15) 若用户得到进行切换的命令, 则直接接入新子网, 开始使用子网资源并断开与原 子网的连接;  (15) If the user gets the command to switch, directly access the new subnet, start using the subnet resources and disconnect the original subnet;
( 16) 用户接入新子网后, 如果原子网簇头节点依然存有用户的数据, 则原子网簇头节 点将数据发送给新子网簇头节点, 由其转交给用户;  (16) After the user accesses the new subnet, if the atomic network cluster head node still stores the user's data, the atomic network cluster head node sends the data to the new subnet cluster head node, which is handed over to the user;
( 17) 如果遍历完覆盖区域的所有新子网, 用户的请求也得不到满足, 则用户断开与原 子网的连接, 采用传统的硬切换方式进行切换。  (17) If all the new subnets in the coverage area are traversed and the user's request is not met, the user disconnects from the original subnet and switches using the traditional hard handover mode.
本发明还提供了一种无线传感器网络中基于 RSSI和 LQI的快速切换系统, 包括: 移动用户, 用于进入无线传感器网络后, 获取周围各子网簇头节点的信号强度指示指标 RSSI和链路质量指示指标 LQI信息, 并由各子网的信号强度指示指标 RSSI和链路质量指示 指标 LQI信息, 计算出各子网的 R值, 根据各子网的 R值选出将要加入的第一子网, 并发送 关联请求, 在得到允许后接入所述第一子网;  The invention also provides a fast switching system based on RSSI and LQI in a wireless sensor network, comprising: a mobile user, after entering the wireless sensor network, acquiring a signal strength indication index RSSI and a link of a cluster head node of each surrounding subnet The quality indicator index LQI information, and the signal strength indicator index RSSI and the link quality indicator index LQI information of each subnet are used to calculate the R value of each subnet, and the first sub-join to be added is selected according to the R value of each subnet. Networking, and sending an association request, accessing the first subnet after being allowed;
第一子网的簇头节点, 用于接收所述移动用户发来的所述关联请求, 根据所述关联请求 决定允许该移动用户加入其子网, 在所述移动用户接入所述第一子网后, 获取信号强度指示 指标 RSSI和链路质量指示指标 LQI值, 生成 ^, 根据 ^获取所述移动用户的位置信息, 并 预测所述移动用户下一时刻位置, 判断切换过程是否被触发; 如果是, 则根据预测信息中下 一时刻移动用户的位置信息, 获取覆盖此区域的各新子网簇头节点的信号强度和链路质量信 息, 并计算出各子网的 值, 根据 值选择将要加入的第二子网, 并发送关联请求; a cluster head node of the first subnet, configured to receive the association request sent by the mobile user, determine, according to the association request, that the mobile user is allowed to join the subnet, and the mobile user accesses the first After the subnet, obtaining the signal strength indicator index RSSI and the link quality indicator index LQI value, generating ^, obtaining the location information of the mobile user according to ^, and Predicting the location of the next moment of the mobile user, determining whether the handover process is triggered; if yes, obtaining the signal strength of the cluster head nodes of each new subnet covering the area according to the location information of the mobile subscriber at the next moment in the prediction information Link quality information, and calculating the value of each subnet, selecting a second subnet to be joined according to the value, and sending an association request;
第二子网的簇头节点, 用于根据所述第一子网的簇头节点发来的关联请求, 决定允许该 移动用户接入所述第二子网。  The cluster head node of the second subnet is configured to allow the mobile user to access the second subnet according to the association request sent by the cluster head node of the first subnet.
本发明与现有技术相比具有的如下优点:  The present invention has the following advantages over the prior art:
( 1 ) 本发明由于使用了由信号强度指示指标 RSSI和链路质量指示指标 LQI加权复合 后的 R值做为系统预设参数, 而不是传统意义上仅用 RSSI作为系统预设参数, 在精度方面 LQI略高于 RSSI, 且两者是隶属于不同范畴的指示指标, 因而使用这种方法, 可较大的提高 精度, 避免误切换。  (1) The present invention uses the R value weighted by the signal strength indicator index RSSI and the link quality indicator index LQI as the system preset parameter, instead of using the RSSI as the system preset parameter in the conventional sense, the accuracy is The aspect LQI is slightly higher than the RSSI, and the two are indicators indicating different categories. Therefore, using this method can greatly improve the accuracy and avoid mis-switching.
(2) 本发明通过主动扫描响应获取周围各子网簇头节点的信号强度和链路质量信息后, 分别计算出各子网的 R值并对其按照从大到小的顺序排序存入寄存器, 再通过各 R值进行子 网选取, 可以有效的平衡网络能量, 延长网络寿命; 特别在对预加入子网和预切换子网的选 取出现失败时, 可以快速的恢复整个预加入或预切换流程, 而不用断开网络后, 再重新扫描, 可大大减小扫描延时、 减少信令交互和降低整个系统开销。  (2) After obtaining the signal strength and link quality information of the cluster head nodes of each subnet by the active scanning response, the present invention calculates the R values of each subnet and sorts them into registers according to the order from largest to smallest. Then, subnet selection by each R value can effectively balance the network energy and prolong the network life; especially when the selection of the pre-join subnet and the pre-switch subnet fails, the entire pre-join or pre-handover can be quickly restored. The process, without having to disconnect the network and then rescan, can greatly reduce scan latency, reduce signaling interactions, and reduce overall system overhead.
(3)本发明由于在预切换时采用了对地理位置的预测, 能精确的确定覆盖移动节点下一 时刻位置的子网, 因此可大大的减少扫描子网个数; 同时由于扫描时延占总切换时延的 90%, 因此可较大的减小切换时延, 对实时性要求较高的业务能提供较好的服务。  (3) The present invention adopts the prediction of the geographical position in the pre-handover, and can accurately determine the subnet covering the position of the mobile node at the next moment, thereby greatly reducing the number of scanning subnets; The total handover delay is 90%, so the handover delay can be greatly reduced, and the service with higher real-time requirements can provide better service.
(4) 本发明使用了一种递进式判决准则进行切换判决, 第一条件是判断 ^是否在系统 预设门限区域内, 达到第一条件后, 触发第二个条件, 第二条件是判断移动节点下一时刻的 移动位置是否超出了原子网的覆盖范围, 一旦超出原子网的覆盖范围, 则触发切换。 使用本 发明中的递进式判决准则, 可较大的提高切换判决的精度, 避免误切换和 "乒乓效应"。 附图说明  (4) The present invention uses a progressive decision criterion for handover decision. The first condition is to determine whether ^ is within the system preset threshold area, and after the first condition is reached, the second condition is triggered, and the second condition is judgment. Whether the moving position of the mobile node at the next moment exceeds the coverage of the atomic network, and once the coverage of the atomic network is exceeded, the handover is triggered. By using the progressive decision criterion in the present invention, the accuracy of the handover decision can be greatly improved, and false handover and "ping-pong effect" can be avoided. DRAWINGS
图 1是本发明使用的无线传感器网络结构示意图;  1 is a schematic structural diagram of a wireless sensor network used in the present invention;
图 2是本发明实现快速切换的总流程图;  2 is a general flowchart of the present invention for implementing fast switching;
图 3是本发明在实现快速切换过程中, 使用 R值进行预加入的子流程图;  3 is a sub-flow diagram of the present invention for pre-joining using R values in the process of implementing fast handover;
图 4是本发明在实现快速切换过程中, 使用递进式判决准则进行切换的子流程图; 图 5是传统移动切换流程示意图;  4 is a sub-flow diagram of the present invention for performing handover using a progressive decision criterion in implementing a fast handover procedure; FIG. 5 is a schematic diagram of a conventional mobile handover procedure;
图 6是本发明提供的快速切换系统结构示意图。 具体实施方式 FIG. 6 is a schematic structural diagram of a fast switching system provided by the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作进 一步地详细描述。  In order to make the objects, the technical solutions and the advantages of the present invention more apparent, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
下面结合附图对本发明做进一步的说明。  The invention will be further described below in conjunction with the accompanying drawings.
如图 1所示, 本发明使用的网络结构由无线传感器普通节点, 子网簇头节点和移动用户 构成。 无线传感器普通节点采集物理环境的信息并通过无线链路将信息传给子网簇头节点; 子网簇头节点负责将收到的信息进行融合并合理分配子网的内部资源; 移动用户动态的向网 络注入查询和收集信息。 子网簇头节点间通过有线网络或无线网络连接在一起, 将各子网组 合在一起形成灵活, 可扩展的无线传感器网络。 这种网络结构可提供多种数据服务与应用, 并支持多个移动用户同时使用网络资源。  As shown in Fig. 1, the network structure used by the present invention is composed of a wireless sensor common node, a subnet cluster head node, and a mobile user. The wireless sensor common node collects the information of the physical environment and transmits the information to the sub-cluster head node through the wireless link; the sub-cluster head node is responsible for merging the received information and rationally allocating the internal resources of the subnet; Inject queries and gather information into the network. The subnet cluster head nodes are connected together by a wired network or a wireless network, and the subnets are combined to form a flexible and scalable wireless sensor network. This network structure provides a variety of data services and applications, and supports multiple mobile users to use network resources at the same time.
本发明实施例中的移动用户是指移动节点, 可以是移动终端, 为便于理解下面都称为移 动用户。  The mobile user in the embodiment of the present invention refers to a mobile node, which may be a mobile terminal, and is referred to as a mobile user for ease of understanding.
本发明提供了一种无线传感器网络中基于 RSSI和 LQI的快速切换方法, 包括: S1 : 移动用户进入无线传感器网络后, 获取周围各子网簇头节点的信号强度指示指标 The present invention provides a fast switching method based on RSSI and LQI in a wireless sensor network, including: S1: After a mobile user enters a wireless sensor network, acquires a signal strength indicator of a cluster head node of each surrounding subnet.
RSSI和链路质量指示指标 LQI信息, 并由各子网的信号强度指示指标 RSSI和链路质量指示 指标 LQI信息, 计算出各子网的 R值, 根据各子网的 R值选出将要加入的第一子网, 并发送 关联请求; The RSSI and the link quality indicator index LQI information are calculated by the signal strength indicator index RSSI and the link quality indicator index LQI information of each subnet, and the R value of each subnet is calculated, and the R value of each subnet is selected to be added. The first subnet, and send an association request;
S2: 第一子网的簇头节点根据该关联请求, 决定允许该移动用户加入其子网, 该移动用 户接入第一子网;  S2: the cluster head node of the first subnet decides to allow the mobile user to join the subnet according to the association request, and the mobile user accesses the first subnet;
S3: 移动用户接入第一子网后, 第一子网的簇头节点获取信号强度指示指标 RSSI和链 路质量指示指标 LQI值, 生成 ^, 根据 ^获取移动用户的位置信息, 并预测移动用户下一 时刻位置, 判断切换过程是否被触发; 如果是, 则根据预测信息中下一时刻移动用户的位置 信息, 获取覆盖此区域的各新子网簇头节点的信号强度和链路质量信息, 并计算出各子网的 R"值, 根据 值选择将要加入的第二子网, 并发送关联请求;  S3: After the mobile user accesses the first subnet, the cluster head node of the first subnet obtains the signal strength indicator index RSSI and the link quality indicator index LQI value, generates ^, obtains the location information of the mobile user according to the ^, and predicts the movement. The next time position of the user determines whether the handover process is triggered; if yes, the signal strength and link quality information of the cluster head nodes of each new subnet covering the area are obtained according to the location information of the mobile subscriber at the next moment in the prediction information. And calculating the R" value of each subnet, selecting the second subnet to be joined according to the value, and sending an association request;
S4: 第二子网的簇头节点根据该关联请求, 决定允许该移动用户接入, 移动用户接入第 二子网, 并断开与第一子网的连接。  S4: The cluster head node of the second subnet decides to allow the mobile user to access according to the association request, and the mobile user accesses the second subnet and disconnects from the first subnet.
参照图 2, 本发明提供了一种无线传感器网络中基于 RSSI和 LQI的快速切换方法, 具体 实施步骤如下:  Referring to FIG. 2, the present invention provides a fast switching method based on RSSI and LQI in a wireless sensor network, and the specific implementation steps are as follows:
步骤 1 : 移动用户进入无线传感器网络, 通过主动扫描请求获取网络信息。 步骤 2: 各子网簇头节点向移动用户发送主动扫描响应。 Step 1: The mobile user enters the wireless sensor network and obtains network information through an active scan request. Step 2: Each sub-cluster head node sends an active scan response to the mobile user.
步骤 3: 移动用户根据收到的主动扫描响应进行比较确定要加入的子网, 并向该子网的 簇头节点发送关联请求。  Step 3: The mobile user compares the received active scan response to determine the subnet to join, and sends an association request to the cluster head node of the subnet.
参见图 3, 本步骤的具体实现步骤如下:  Referring to Figure 3, the specific implementation steps of this step are as follows:
3a)移动用户从收到的主动扫描响应中获取各子网的信号强度指示指标 RSSI和链路质量 指示指标 LQI;  3a) The mobile user obtains the signal strength indicator index RSSI and the link quality indicator indicator LQI of each subnet from the received active scan response;
3b)通过各子网的信号强度指示指标 RSSI和链路质量指示指标 LQI,采用如下公式生成 3b) The signal strength indicator index RSSI and the link quality indicator index LQI of each subnet are generated by the following formula
R: R:
R = w, xRSSI + w2 xRSSI _ L 其中, RSSI为实测出的各子网信号强度指示指标, RSSI_L为由实测出的各子网的链路 质量指示指标 LQI值导出的与 RSSI同纲量的值, 为 RSSI的权值, ^为 RSSI_L的权值, 且 和 ^的取值由移动用户与各子网之间的距离决定。 R = w, xRSSI + w 2 xRSSI _ L where RSSI is the measured signal strength indicator of each subnet, and RSSI_L is the same as RSSI derived from the measured link quality indicator LQI value of each subnet. value, is the weight of RSSI, RSSI _ L ^ is the weight, and ^ and the values determined by the distance between the mobile user and the sub-networks.
3c)计算出各子网的 R值后, 按照从大到小的顺序排序为 Rl>R2>R3> > Rn并存入寄存 器中;  3c) After calculating the R values of each subnet, sort them into Rl>R2>R3> > Rn in the order of largest to smallest and store them in the register;
3d) 从寄存器中选出 R值为 Rm的子网作为预加入的子网,其中 Rm为 Rl、 R2、 …、 Rn 中未被选取过的最大的值;  3d) Select a subnet with an R value of Rm from the register as a pre-joined subnet, where Rm is the largest value of Rl, R2, ..., Rn that has not been selected;
3e) 向预加入子网的簇头节点发送关联请求。  3e) Send an association request to the cluster head node pre-joining the subnet.
步骤 4: 子网簇头节点根据移动用户关联请求中的用户移动状态、 请求的服务类型及当 前的子网资源信息, 决定是否允许该移动用户加入其子网。 该移动用户的移动状态分为高速 运动状态、 中速移动状态和低速移动状态; 该移动用户的业务类型分为实时业务和非实时业 务。 如果允许移动用户加入子网则转到步骤 5; 否则从寄存器中查找可用子网, 并转到步骤 3 中的发送关联请求, 具体实施方法如图 3所述:  Step 4: The subnet cluster head node determines whether to allow the mobile user to join the subnet according to the user mobility status, the requested service type, and the current subnet resource information in the mobile user association request. The mobile user's mobile state is divided into a high-speed motion state, a medium-speed mobile state, and a low-speed mobile state; the mobile user's service type is divided into real-time service and non-real-time service. If the mobile user is allowed to join the subnet, go to step 5; otherwise, look for the available subnet from the register and go to the send association request in step 3. The specific implementation method is as shown in Figure 3:
3f)若不允许移动用户加入子网, 从寄存器中选出 R值为 ™+ι的子网作为预加入的子网; 然后转到步骤 3中的发送关联请求。 其中, 是 Rl、 R2、 …、 Rn中当前未被选取过的最 大值, 即比 Rm小的各个未选取的值中最大的值。  3f) If the mobile subscriber is not allowed to join the subnet, select the subnet with the R value of TM+ from the register as the pre-joined subnet; then go to the send association request in step 3. Among them, is the maximum value that has not been selected currently in Rl, R2, ..., Rn, that is, the largest value among the unselected values smaller than Rm.
步骤 5: 子网簇头节点向移动用户返回关联响应。  Step 5: The subnet cluster head node returns an association response to the mobile user.
步骤 6: 移动用户根据当前业务的具体情况, 向子网簇头节点提出带宽使用申请, 其中 包括使用时隙个数及使用时间;  Step 6: The mobile user submits a bandwidth usage request to the sub-cluster head node according to the specific situation of the current service, including using the number of slots and the usage time;
步骤 7: 子网簇头节点收到移动用户的带宽使用申请后, 根据子网当前状况, 判断是否 批准该带宽使用申请, 若在子网提供资源的能力之内, 则该带宽使用申请被批准, 并向移动 用户发送申请成功响应, 转到步骤 8; 若超出子网提供资源的能力, 则向移动用户发送当前 子网能提供的最大带宽信息, 转到步骤 9; Step 7: After receiving the bandwidth usage request of the mobile user, the sub-cluster head node determines whether to approve the bandwidth usage application according to the current status of the subnet. If the subnet provides the resource within the capability of the subnet, the bandwidth usage application is approved. And moving to The user sends a successful application response, go to step 8; if the ability to provide resources beyond the subnet is exceeded, send the maximum bandwidth information that the current subnet can provide to the mobile user, go to step 9;
步骤 8: 移动用户根据收到的子网簇头节点发来的该带宽使用申请被批准的信息, 开始 使用子网资源, 转到步骤 10;  Step 8: The mobile user starts to use the subnet resource according to the information that the bandwidth usage request is approved by the received cluster head node, and proceeds to step 10;
步骤 9: 移动用户收到最大带宽信息后, 结合当前业务量判断是否加入子网, 如果所提 供的最大带宽能够满足业务的需求, 则选择加入该子网, 开始使用子网的资源,转到步骤 10; 否则从寄存器中查找可用的子网, 并转到步骤 3中的发送关联请求, 具体实施方法如图 3所 述:  Step 9: After receiving the maximum bandwidth information, the mobile user determines whether to join the subnet according to the current traffic. If the maximum bandwidth provided can meet the requirements of the service, then choose to join the subnet, start using the resources of the subnet, and go to Step 10; Otherwise, look up the available subnets from the register, and go to the sending association request in step 3. The specific implementation method is as shown in Figure 3:
3f)若不允许移动用户加入子网, 从寄存器中选出 R值为 ™+2的子网作为预加入的子网; 其中, "^是 R1R2、 …、 Rn中当前未被选取过的最大值, 即比J ^"小的各个未选取的值 中最大的值。 3f) If the mobile user is not allowed to join the subnet, select the subnet with the R value of TM+2 as the pre-joined subnet from the register; where "^ is currently not selected in R1 , R2 , ..., Rn The maximum value, which is the largest of the individual unselected values smaller than J ^".
3g) 然后转到步骤 3中的向预加入的子网发送关联请求。  3g) Then go to the pre-joined subnet to send the association request in step 3.
步骤 10: 移动用户接入子网后, 每隔周期 T时刻, 若与该子网的簇头节点之间有数据传 输, 则簇头节点直接从该传输的数据中读取 RSSI和 LQI值, 若在该子网内无数据传输, 则 移动用户发送一个空的数据帧后, 簇头节点从收到的空数据帧中读出 RSSI和 LQI值, 并采 用如下公式生成  Step 10: After the mobile user accesses the subnet, every time period T, if there is data transmission with the cluster head node of the subnet, the cluster head node directly reads the RSSI and LQI values from the transmitted data. If there is no data transmission in the subnet, after the mobile user sends an empty data frame, the cluster head node reads the RSSI and LQI values from the received null data frame, and generates the following formula:
R' = w,' X RSSI' + w2' X RSSI _ l! 其中, RSS^为实测出的移动用户的信号强度指示指标, W^^ - 为由实测出的移动用 户的链路质量指示指标 LQI值导出的与 RSSI同纲量的值, 为 的权值, w2 '为 — 的权值, 且^^和1^的取值由子网簇头节点与移动用户之间的距离决定。 所述周期 T可以根 据需要预先设定, 如默认为 0.5s, 再根据移动用户的运动状态动态调整, 如果移动用户的运 动速度较快, 则可以縮短周期 T的值, 如果移动用户的运动速度较慢, 则可以延长周期 T的 值; R' = w,' X RSSI' + w 2 ' X RSSI _ l! where RSS^ is the measured signal strength indicator of the mobile user, W^^ - is the measured link quality indicator of the mobile user The value of the index LQI value derived from the RSSI is the weight of the weight, w 2 ' is the weight of -, and the value of ^^ and 1 ^ is determined by the distance between the sub-cluster head node and the mobile user. The period T can be preset according to needs, for example, the default is 0.5s, and then dynamically adjusted according to the motion state of the mobile user. If the moving speed of the mobile user is faster, the value of the period T can be shortened, if the moving speed of the mobile user Slower, you can extend the value of period T;
步骤 11 : 用 ^与预先设置的系统门限区域进行比较, 若 ^在门限区域内转到步骤 12; 若 ^不在门限区域内, 则转到步骤 10;  Step 11: Use ^ to compare with the preset system threshold area, if ^ is in the threshold area, go to step 12; if ^ is not in the threshold area, go to step 10;
步骤 12: 簇头节点向移动用户发送请求, 要求移动用户发送其当前位置信息; 步骤 13: 移动用户收到位置发送请求后, 向原子网簇头节点发送位置信息; 其中, 原子 网簇头节点是指移动用户当前所在的子网簇头节点, 即以上各步骤涉及的子网簇头节点, 为 便于区分切换后的新子网簇头节点, 因此, 将其称为原子网簇头节点。  Step 12: The cluster head node sends a request to the mobile user, requesting the mobile user to send its current location information. Step 13: After receiving the location sending request, the mobile user sends location information to the atomic network cluster head node; wherein, the atomic network cluster head node It refers to the cluster head node of the subnet where the mobile user is currently located, that is, the subnet cluster head node involved in the above steps. In order to distinguish the new subnet cluster head node after the handover, it is called the atomic network cluster head node.
步骤 14: 原簇头节点收到移动用户的位置信息后, 启动二阶 AR预测算法预测移动用户 下时刻位置 ( ,
Figure imgf000011_0001
并按照 ( 《_^*))2 + « _ 3^))22, 判断切换过程是否被触 发, 其中, X W , W代表当前子网簇头节点的平面位置信息, r代表当前子网簇头节点的 覆盖半径, 如果切换被触发则转到步骤 15 ; 否则转到步骤 10。 上述步骤 10至步骤 14如图 4 所示。
Step 14: After receiving the location information of the mobile user, the original cluster head node starts a second-order AR prediction algorithm to predict the mobile user. Next moment position ( ,
Figure imgf000011_0001
And according to ( "_^*)) 2 + « _ 3^)) 22 , judge whether the switching process is triggered, where XW , W represents the plane position information of the cluster head node of the current subnet, and r represents the current subnet The coverage radius of the cluster head node, if the switch is triggered, go to step 15; otherwise, go to step 10. The above steps 10 to 14 are as shown in FIG.
步骤 15 : 原子网簇头节点根据预测信息中下一时刻移动用户的位置信息, 向覆盖此区域 的各新子网簇头节点发送主动扫描请求。  Step 15: The atomic network cluster head node sends an active scan request to each new sub-network cluster head node covering the area according to the location information of the mobile user at the next moment in the prediction information.
步骤 16: 各子网簇头节点向原子网簇头节点发送主动扫描响应。  Step 16: Each sub-cluster head node sends an active scan response to the cluster head node of the atomic network.
步骤 17 : 原子网簇头节点根据收到的主动扫描响应确定移动用户将要加入的新子网, 并 向该新子网的簇头节点发送关联请求。  Step 17: The atomic network cluster head node determines a new subnet to be joined by the mobile user according to the received active scan response, and sends an association request to the cluster head node of the new subnet.
本步骤的具体实施方法如图 3所示:  The specific implementation method of this step is shown in Figure 3:
3a) 原子网簇头节点从收到的主动扫描响应中获取各新子网的信号强度指示指标 RSSI 和链路质量指示指标 LQI;  3a) The atomic network cluster head node obtains the signal strength indicator index RSSI and the link quality indicator index LQI of each new subnet from the received active scan response;
3b )通过各新子网的信号强度指示指标 RSSI和链路质量指示指标 LQI,采用如下公式计 算生成  3b) Calculate the signal strength indicator index RSSI and the link quality indicator index LQI of each new subnet using the following formula
R" = < X RSSI" + w2" X RSSI _ i!' 其中, R^W^为实测出的各新子网的信号强度指示指标, W^^- 为由实测出的各新子 网的链路质量指示指标 LQI 值导出的与 RSSI 同纲量的值, 为^^ ^的权值, 为 RSSI - ^的权值, 且11^ "的取值由原子网簇头节点与各新子网簇头节点之间的距离决 定。 R" = < X RSSI" + w 2 " X RSSI _ i!' where R^W^ is the measured signal strength indicator for each new subnet, W^^- is the actual new subnet The value of the link quality indicator LQI value derived from the RSSI is the weight of ^^^, which is the weight of RSSI- ^, and the values of 1 and 1 ^" are determined by the cluster head node of the atomic network. The distance between the cluster head nodes of each new subnet is determined.
3c)将计算出的各子网的 R"值, 按照从大到小的顺序排序为 RR' 〉…〉 R"«并存入寄 存器中; 3c) The calculated R" values of each subnet are sorted into RR ' 〉...〉 R "« and stored in the register in descending order;
3d)从寄存器中选出 R11值为 R' 的子网作为预加入的新子网,其中 R' 为 RW ',Rl1"中 未被选取过的最大的值; 3d) Select the subnet with the R 11 value R ' from the register as the pre-joined new subnet, where R ' is the largest value that has not been selected in R W ', Rl1 ";
3e) 向预加入的新子网的簇头节点发送关联请求。  3e) Send an association request to the cluster head node of the new subnet to be pre-joined.
步骤 18 : 新子网簇头节点根据关联请求中的用户移动状态、 请求的服务类型及当前的子 网资源信息, 决定是否允许该移动用户加入其子网,如果允许移动用户加入子网则转到步骤 19; 否则从寄存器中查找可用子网, 发送关联请求, 具体实施方法如图 3所述:  Step 18: The new subnet cluster head node determines whether to allow the mobile user to join the subnet according to the user mobility status, the requested service type, and the current subnet resource information in the association request, if the mobile user is allowed to join the subnet, then Go to step 19; otherwise, look up the available subnets from the register and send the association request. The specific implementation method is as shown in Figure 3:
3f)若不允许移动用户加入子网, 从寄存器中选出 R11值为 d的子网作为预加入的新子 网; 其中, ^ ^是^ ^ ···^" "中当前未被选取过的最大值, 即比 小的各个未选取的 值中最大的值。 3g)然后转到步骤 17中的向预加入的新子网发送关联请求。 3f) If the mobile user is not allowed to join the subnet, select the subnet with the R 11 value d from the register as the pre-joined new subnet; where ^ ^ is ^ ^ ···^"" is not currently selected The maximum value that has passed, that is, the largest value among the smaller unselected values. 3g) Then go to step 17 to send an association request to the pre-joined new subnet.
步骤 19: 新子网簇头节点向原子网簇头节点发送关联响应。  Step 19: The new subnet cluster head node sends an association response to the atomic network cluster head node.
步骤 20: 原子网簇头节点根据移动用户当前业务的具体情况, 向新子网簇头节点提出带 宽使用申请, 其中包括使用时隙个数及使用时间。  Step 20: The cluster head node of the atomic network proposes a bandwidth usage application to the cluster head node of the new subnet according to the specific situation of the current service of the mobile subscriber, including using the number of slots and the usage time.
步骤 21 : 新子网簇头节点收到原子网簇头节点的带宽使用申请后, 根据子网当前状况, 判断是否批准该申请, 若在子网提供资源的能力之内, 则该带宽使用申请被批准, 并向原子 网簇头节点发送申请成功响应, 转到步骤 22; 若超出子网提供资源的能力, 则向原子网簇头 节点发送当前子网能提供的最大带宽信息, 转到步骤 23。  Step 21: After receiving the bandwidth usage request of the cluster head node of the atomic network, the cluster head node of the new subnet determines whether to approve the application according to the current status of the subnet, and if the capability of the subnet is provided, the bandwidth usage application Approved, and send a successful application response to the cluster head node of the atomic network, go to step 22; if the ability of the subnet to provide resources is exceeded, send the maximum bandwidth information that the current subnet can provide to the cluster head node of the atomic network, go to the step twenty three.
步骤 22: 原子网簇头节点根据收到的新子网簇头节点发来的该带宽使用申请被批准的信 息, 转到步骤 24。  Step 22: The atomic network cluster head node proceeds to step 24 according to the bandwidth usage request approval information sent by the new subnet cluster head node.
步骤 23:原子网簇头节点收到最大带宽信息后,结合当前业务量判断是否加入该新子网, 如果所提供的最大带宽能够满足业务的需求, 则选择加入该新子网, 转到步骤 24; 否则从寄 存器中查找可用的子网, 然后转到步骤 17中的发送关联请求, 具体实施方法如图 3所述: 3f)若不允许移动用户加入子网,从寄存器中选出 值为^ 的子网作为预加入的子网; 其中, 是 ^,^^…,^"中当前未被选取过的最大值, 即比 小的各个未选取的值中 最大的值。  Step 23: After receiving the maximum bandwidth information, the cluster head node of the atomic network determines whether to join the new subnet according to the current traffic volume. If the maximum bandwidth provided can meet the requirements of the service, then select to join the new subnet, and go to the step. 24; Otherwise, look up the available subnet from the register, and then go to the send association request in step 17, the specific implementation method is as shown in Figure 3: 3f) If the mobile user is not allowed to join the subnet, the value selected from the register The subnet of ^ is the pre-joined subnet; where, is the maximum value currently not selected in ^, ^^..., ^", that is, the largest value among the smaller unselected values.
3g)然后转到步骤 17中的向预加入的子网发送关联请求。  3g) Then go to step 17 to send an association request to the pre-joined subnet.
步骤 24: 原子网簇头节点通知移动用户切换到新子网簇头节点覆盖的子网。  Step 24: The atomic network cluster head node notifies the mobile user to switch to the subnet covered by the new subnet cluster head node.
步骤 25: 移动用户接入新子网后, 开始使用新子网的子网资源, 并断开与原子网的连接。 步骤 26: 移动用户接入新子网后, 如果原子网簇头节点依然存有移动用户的数据, 则原 子网簇头节点将该数据发送给新子网簇头节点, 由其转交给移动用户。  Step 25: After the mobile user accesses the new subnet, start using the subnet resources of the new subnet and disconnect from the atomic network. Step 26: After the mobile user accesses the new subnet, if the atomic network cluster head node still has the data of the mobile user, the atomic network cluster head node sends the data to the new subnet cluster head node, and the data is forwarded to the mobile user. .
步骤 27: 遍历完覆盖区域的所有新子网, 如果移动用户的请求得不到满足, 则移动用户 断开与原子网的连接, 采用传统的硬切换方式进行切换。  Step 27: Traverse all new subnets in the coverage area. If the mobile user's request is not met, the mobile user disconnects from the atomic network and switches using the traditional hard handover mode.
其中, 所述传统的硬切换方式如图 5中的切换流程所示, 本发明不做过多说明。  The traditional hard handover mode is shown in the handover process in FIG. 5, and the present invention is not described too much.
参见图 6, 本发明还提供了一种无线传感器网络中基于 RSSI和 LQI的快速切换系统,包 括:  Referring to FIG. 6, the present invention also provides a fast switching system based on RSSI and LQI in a wireless sensor network, including:
移动用户 601, 用于进入无线传感器网络后, 获取周围各子网簇头节点的信号强度指示 指标 RSSI和链路质量指示指标 LQI信息, 并由各子网的信号强度指示指标 RSSI和链路质量 指示指标 LQI信息, 计算出各子网的 R值, 根据各子网的 R值选出将要加入的第一子网, 并 发送关联请求, 在得到允许后接入第一子网; 第一子网的簇头节点 602, 用于接收移动用户发来的关联请求, 根据关联请求决定允许 该移动用户加入其子网,在移动用户接入第一子网后,获取信号强度指示指标 RSSI和链路质 量指示指标 LQI值, 生成 ^, 根据 ^获取移动用户的位置信息, 并预测移动用户下一时刻 位置, 判断切换过程是否被触发; 如果是, 则根据预测信息中下一时刻移动用户的位置信息, 获取覆盖此区域的各新子网簇头节点的信号强度和链路质量信息, 并计算出各子网的 值, 根据 值选择将要加入的第二子网, 并发送关联请求; After entering the wireless sensor network, the mobile user 601 obtains the signal strength indicator index RSSI and the link quality indicator index LQI information of the cluster head nodes of each subnet, and the signal strength indicator index RSSI and link quality of each subnet Indicating the indicator LQI information, calculating the R value of each subnet, selecting the first subnet to be joined according to the R value of each subnet, and sending an association request, and accessing the first subnet after being allowed; The cluster head node 602 of the first subnet is configured to receive an association request sent by the mobile user, determine, according to the association request, the mobile user to join the subnet, and obtain the signal strength indicator after the mobile user accesses the first subnet. The RSSI and the link quality indicator index LQI value, generate ^, obtain the location information of the mobile user according to ^, and predict the mobile user next time position, determine whether the handover process is triggered; if yes, move according to the next time in the prediction information The location information of the user obtains the signal strength and link quality information of the cluster head nodes of each new subnet covering the area, calculates the value of each subnet, selects the second subnet to be added according to the value, and sends an association request. ;
第二子网的簇头节点 603, 用于根据第一子网的簇头节点发来的关联请求, 决定允许该 移动用户接入第二子网。  The cluster head node 603 of the second subnet is configured to allow the mobile user to access the second subnet according to the association request sent by the cluster head node of the first subnet.
在上述系统中可以执行本发明方法实施例中描述的方法, 此处不再赘述。  The method described in the method embodiment of the present invention may be performed in the foregoing system, and details are not described herein again.
本发明提供的无线传感器网络中基于 RSSI和 LQI的快速切换方法和系统, 与现有技术 相比具有的如下优点:  The fast switching method and system based on RSSI and LQI in the wireless sensor network provided by the invention has the following advantages compared with the prior art:
( 1 ) 本发明由于使用了由信号强度指示指标 RSSI和链路质量指示指标 LQI加权复合 后的 R值做为系统预设参数, 而不是传统意义上仅用 RSSI作为系统预设参数, 在精度方面 LQI略高于 RSSI, 且两者是隶属于不同范畴的指示指标, 因而使用这种方法, 可较大的提高 精度, 避免误切换。  (1) The present invention uses the R value weighted by the signal strength indicator index RSSI and the link quality indicator index LQI as the system preset parameter, instead of using the RSSI as the system preset parameter in the conventional sense, the accuracy is The aspect LQI is slightly higher than the RSSI, and the two are indicators indicating different categories. Therefore, using this method can greatly improve the accuracy and avoid mis-switching.
(2) 本发明通过主动扫描响应获取周围各子网簇头节点的信号强度和链路质量信息后, 分别计算出各子网的 R值并对其按照从大到小的顺序排序存入寄存器, 再通过各 R值进行子 网选取, 可以有效的平衡网络能量, 延长网络寿命; 特别在对预加入子网和预切换子网的选 取出现失败时, 可以快速的恢复整个预加入或预切换流程, 而不用断开网络后, 再重新扫描, 可大大减小扫描延时、 减少信令交互和降低整个系统开销。  (2) After obtaining the signal strength and link quality information of the cluster head nodes of each subnet by the active scanning response, the present invention calculates the R values of each subnet and sorts them into registers according to the order from largest to smallest. Then, subnet selection by each R value can effectively balance the network energy and prolong the network life; especially when the selection of the pre-join subnet and the pre-switch subnet fails, the entire pre-join or pre-handover can be quickly restored. The process, without having to disconnect the network and then rescan, can greatly reduce scan latency, reduce signaling interactions, and reduce overall system overhead.
(3)本发明由于在预切换时采用了对地理位置的预测, 能精确的确定覆盖移动节点下一 时刻位置的子网, 因此可大大的减少扫描子网个数; 同时由于扫描时延占总切换时延的 90%, 因此可较大的减小切换时延, 对实时性要求较高的业务能提供较好的服务。  (3) The present invention adopts the prediction of the geographical position in the pre-handover, and can accurately determine the subnet covering the position of the mobile node at the next moment, thereby greatly reducing the number of scanning subnets; The total handover delay is 90%, so the handover delay can be greatly reduced, and the service with higher real-time requirements can provide better service.
(4) 本发明使用了一种递进式判决准则进行切换判决, 第一条件是判断 ^是否在系统 预设门限区域内, 达到第一条件后, 触发第二个条件, 第二条件是判断移动节点下一时刻的 移动位置是否超出了原子网的覆盖范围, 一旦超出原子网的覆盖范围, 则触发切换。 使用本 发明中的递进式判决准则, 可较大的提高切换判决的精度, 避免误切换和 "乒乓效应"。 本发明实施例提供的上述技术方案的全部或部分可以通过程序指令相关的硬件来完成, 所述程序可以存储在可读取的存储介质中, 该存储介质包括: ROM、 RAM, 磁碟或者光盘等 各种可以存储程序代码的介质。 (4) The present invention uses a progressive decision criterion for handover decision. The first condition is to determine whether ^ is within the system preset threshold area, and after the first condition is reached, the second condition is triggered, and the second condition is judgment. Whether the moving position of the mobile node at the next moment exceeds the coverage of the atomic network, and once the coverage of the atomic network is exceeded, the handover is triggered. By using the progressive decision criterion in the present invention, the accuracy of the handover decision can be greatly improved, and the false handover and the "ping-pong effect" can be avoided. All or part of the above technical solutions provided by the embodiments of the present invention may be completed by hardware related to program instructions, and the program may be stored in a readable storage medium, and the storage medium includes: a ROM, a RAM, a magnetic disk or an optical disk. Wait A variety of media that can store program code.
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则之 内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims

权 利 要 求 书 Claim
1、 一种无线传感器网络中基于 RSSI和 LQI的快速切换方法, 其特征在于, 所述方法包 括: A fast switching method based on RSSI and LQI in a wireless sensor network, characterized in that the method comprises:
移动用户进入无线传感器网络后, 获取周围各子网簇头节点的信号强度指示指标 RSSI 和链路质量指示指标 LQI信息, 并由各子网的信号强度指示指标 RSSI和链路质量指示指标 LQI信息, 计算出各子网的 R值, 根据各子网的 R值选出将要加入的第一子网, 并发送关联 请求;  After the mobile user enters the wireless sensor network, the signal strength indicator index RSSI and the link quality indicator index LQI information of the cluster head nodes of each subnet are obtained, and the signal strength indicator index RSSI and the link quality indicator index LQI information of each subnet are obtained. Calculate the R value of each subnet, select the first subnet to be joined according to the R value of each subnet, and send an association request;
所述第一子网的簇头节点根据所述关联请求, 决定允许该移动用户加入其子网, 所述移 动用户接入所述第一子网;  The cluster head node of the first subnet determines, according to the association request, that the mobile user is allowed to join the subnet, and the mobile user accesses the first subnet;
所述移动用户接入所述第一子网后, 所述第一子网的簇头节点获取信号强度指示指标 After the mobile user accesses the first subnet, the cluster head node of the first subnet acquires a signal strength indicator
RSSI和链路质量指示指标 LQI值, 生成 ^, 根据 ^获取所述移动用户的位置信息, 并预测 所述移动用户下一时刻位置, 判断切换过程是否被触发; 如果是, 则根据预测信息中下一时 刻移动用户的位置信息, 获取覆盖此区域的各新子网簇头节点的信号强度和链路质量信息, 并计算出各子网的 值, 根据 值选择将要加入的第二子网, 并发送关联请求; The RSSI and the link quality indicator metric LQI value are generated, the location information of the mobile user is obtained according to the ^, and the mobile user's next time position is predicted, and whether the handover process is triggered is determined; if yes, according to the prediction information The location information of the mobile subscriber is acquired at the next moment, and the signal strength and link quality information of the cluster head nodes of each new subnet covering the area are obtained, and the values of the subnets are calculated, and the second subnet to be joined is selected according to the value. And send an association request;
所述第二子网的簇头节点根据所述关联请求, 决定允许该移动用户接入, 所述移动用户 接入所述第二子网, 并断开与所述第一子网的连接。  The cluster head node of the second subnet decides to allow the mobile user to access according to the association request, the mobile user accesses the second subnet, and disconnects from the first subnet.
2、 根据权利要求 1所述的快速切换方法, 其特征在于, 所述方法具体包括如下步骤: The fast switching method according to claim 1, wherein the method specifically includes the following steps:
( 1 )移动用户进入无线传感器网络后, 先发送扫描请求, 再通过主动扫描响应获取周围 各子网簇头节点的信号强度指示指标 RSSI和链路质量指示指标 LQI信息, 并由各子网的信 号强度指示指标 RSSI和链路质量指示指标 LQI信息, 计算出各子网的 R值, 将这些 R值存 入寄存器中,再从寄存器中选择出 R值最大的子网为将要加入的第一子网,并发送关联请求; (1) After the mobile user enters the wireless sensor network, it first sends a scan request, and then obtains the signal strength indication index RSSI and the link quality indicator index LQI information of the cluster head nodes of the surrounding subnets through the active scan response, and is performed by each subnet. The signal strength indicator index RSSI and the link quality indicator index LQI information, calculate the R value of each subnet, store these R values in the register, and then select the subnet with the largest R value from the register as the first to be added. Subnet and send an association request;
(2)所述第一子网的簇头节点根据移动用户关联请求中的用户移动状态、请求的服务类 型及当前的子网资源信息, 决定是否允许该移动用户加入其子网; 如果允许移动用户加入子 网则转到步骤 (3), 否则, 从寄存器中查找 R值仅次于本次使用子网的子网作为可用的第一 子网, 发送关联请求;  (2) The cluster head node of the first subnet determines whether to allow the mobile user to join the subnet according to the user mobility status, the requested service type, and the current subnet resource information in the mobile user association request; If the user joins the subnet, go to step (3). Otherwise, find the R value from the register next to the subnet using the subnet as the available first subnet, and send the association request;
(3) 所述第一子网的簇头节点向要求接入子网的移动用户发送关联响应;  (3) the cluster head node of the first subnet sends an association response to a mobile user that requires access to the subnet;
(4)移动用户根据其当前业务的具体情况, 向所述第一子网的簇头节点提出带宽使用申 请;  (4) The mobile user submits a bandwidth usage request to the cluster head node of the first subnet according to the specific situation of the current service;
(5)子网簇头节点收到移动用户的带宽使用申请后, 根据子网当前状况, 判断是否批准 该带宽使用申请; 若在子网提供资源的能力之内, 则所述带宽使用申请被批准, 并向移动用 户发送申请成功响应, 转到步骤 (6); 若超出子网提供资源的能力, 则向移动用户发送当前 子网能提供的最大带宽信息, 转到步骤 (7); (5) After receiving the bandwidth usage request of the mobile user, the sub-cluster head node determines whether to approve according to the current status of the subnet. The bandwidth usage request; if the subnet provides the resource capability, the bandwidth usage application is approved, and the application is successfully sent to the mobile user, and the process proceeds to step (6); if the subnet provides the resource capacity, Sending the maximum bandwidth information that the current subnet can provide to the mobile user, and proceeds to step (7);
(6) 移动用户接到所述申请成功响应, 则接入所述第一子网, 转到步骤 (8);  (6) The mobile user accesses the first subnet after receiving the application successfully, and proceeds to step (8);
(7) 移动用户收到所述最大带宽信息, 则结合当前业务量判断是否加入所述第一子网, 如果所述第一子网所提供的最大带宽能够满足业务的需求, 则接入所述第一子网, 转到步骤 (8), 否则从寄存器中查找 R值仅次于本次使用子网的子网作为可用的第一子网, 发送关联 请求, 转到步骤 (3);  (7) The mobile user receives the maximum bandwidth information, and determines whether to join the first subnet according to the current traffic volume. If the maximum bandwidth provided by the first subnet can meet the service requirement, the access station Said first subnet, go to step (8), otherwise look up the R value from the register next to the subnet using the subnet as the available first subnet, send the association request, go to step (3);
(8)移动用户接入所述第一子网后, 每隔 T时刻, 若移动用户与所述第一子网的簇头节 点之间有数据传输, 则所述第一子网的簇头节点直接从所传输的数据帧中读取信号强度指示 指标 RSSI和链路质量指示指标 LQI值, 生成 若无数据传输, 则移动用户向所述第一子 网的簇头节点发送一个空的数据帧, 所述第一子网的簇头节点从此帧中读出信号强度指示指 标 RSSI和链路质量指示指标 LQI值, 生成 R'  (8) After the mobile user accesses the first subnet, at time T, if there is data transmission between the mobile user and the cluster head node of the first subnet, the cluster head of the first subnet The node directly reads the signal strength indicator index RSSI and the link quality indicator index LQI value from the transmitted data frame, and if no data transmission occurs, the mobile user sends an empty data to the cluster head node of the first subnet. a frame, the cluster head node of the first subnet reads out a signal strength indicator index RSSI and a link quality indicator index LQI value from the frame, and generates an R′
(9) 所述第一子网的簇头节点用 ^与预先设置的系统门限区域进行比较, 若 ^在门限 区域内, 所述第一子网的簇头节点向移动用户发送位置信息请求, 移动用户接到此请求后, 向所述第一子网的簇头节点发送位置信息, 转到步骤 (10); 否则, 转到步骤 (8);  (9) The cluster head node of the first subnet is compared with a preset system threshold area, and if the threshold head area is within the threshold area, the cluster head node of the first subnet sends a location information request to the mobile user, After receiving the request, the mobile user sends location information to the cluster head node of the first subnet, and proceeds to step (10); otherwise, proceeds to step (8);
(10) 所述第一子网的簇头节点收到移动用户的位置信息后, 预测移动用户下一时刻位 置, 并通过移动用户下一时刻的位置信息判断切换过程是否被触发; 如果切换被触发则转到 步骤 (11), 否则转到步骤 (8);  (10) after receiving the location information of the mobile user, the cluster head node of the first subnet predicts the next time position of the mobile user, and determines whether the handover process is triggered by the location information of the mobile user at the next moment; if the handover is Trigger to go to step (11), otherwise go to step (8);
(11) 所述第一子网的簇头节点根据预测信息中下一时刻移动用户的位置信息, 向覆盖 此区域的各新子网簇头节点发送主动扫描; 并通过主动扫描响应获取周围各新子网簇头节点 的信号强度和链路质量信息, 并计算出各子网的 值, 存入寄存器中, 再从寄存器中选择出 值最大的子网为将要加入的第二子网, 并发送关联请求;  (11) The cluster head node of the first subnet sends an active scan to the cluster head nodes of each new subnet covering the area according to the location information of the mobile subscriber at the next moment in the prediction information; and obtains surrounding The signal strength and link quality information of the cluster head node of the new subnet, and calculate the value of each subnet, store it in the register, and then select the subnet with the largest value from the register as the second subnet to be joined, and Send an association request;
(12) 所述第一子网的簇头节点根据移动用户类型, 运动状态及业务类型, 向所述第二 子网的簇头节点发送关联请求, 并提出带宽使用申请;  (12) the cluster head node of the first subnet sends an association request to the cluster head node of the second subnet according to the mobile user type, the motion state, and the service type, and proposes a bandwidth usage application;
(13) 所述第二子网的簇头节点根据关联请求中的带宽使用申请, 决定是否允许移动用 户加入其子网; 如果允许移动用户加入子网则转到步骤(14), 否则, 则从寄存器中查找 值 仅次于本次使用子网的子网作为可用的第二子网, 发送关联请求并重复步骤 (11);  (13) the cluster head node of the second subnet determines whether to allow the mobile user to join the subnet according to the bandwidth usage request in the association request; if the mobile user is allowed to join the subnet, go to step (14), otherwise, Find the value from the register next to the subnet using the subnet as the available second subnet, send the association request and repeat step (11);
(14) 所述第二子网的簇头节点根据自己所能提供的最大带宽, 决定是否允许移动用户 接入; 如果允许接入, 则原子网簇头节点通知移动用户将切换到新子网, 转到步骤(15); 否 贝 |J,则从寄存器中查找 值仅次于本次使用子网的子网作为可用的第二子网,转到步骤 (12);(14) The cluster head node of the second subnet decides whether to allow mobile users to access according to the maximum bandwidth that can be provided by itself; if access is allowed, the atomic network cluster head node notifies the mobile user to switch to the new subnet. , go to step (15); no Bay|J, then look up the value from the register next to the subnet using the subnet as the available second subnet, go to step (12);
( 15 ) 移动用户得到进行切换的命令, 则接入所述第二子网, 并断开与所述第一子网的 连接; (15) the mobile user obtains a command to perform handover, accesses the second subnet, and disconnects from the first subnet;
( 16) 移动用户接入所述第二子网后, 如果所述第一子网簇头节点依然存有移动用户的 数据, 则所述第一子网的簇头节点将所述数据发送给所述第二子网的簇头节点, 由其转交给 移动用户;  (16) after the mobile user accesses the second subnet, if the first subnet cluster head node still stores data of the mobile user, the cluster head node of the first subnet sends the data to The cluster head node of the second subnet is handed over to the mobile user;
( 17) 如果遍历完覆盖区域的所有新子网, 移动用户的请求也得不到满足, 则移动用户 断开与所述第一子网的连接, 采用传统的硬切换方式进行切换。  (17) If all the new subnets in the coverage area are traversed and the request of the mobile user is not satisfied, the mobile user disconnects from the first subnet and switches using the traditional hard handover mode.
3、根据权利要求 1或 2所述的快速切换方法, 其特征在于, 所述由各子网的信号强度和 链路质量信息, 计算出各子网的 R值, 采用如下公式计算:  The fast switching method according to claim 1 or 2, wherein the R value of each subnet is calculated by the signal strength and link quality information of each subnet, and is calculated by the following formula:
R = w, xRSSI + w2 xRSSI _ L 其中, RSSI为实测出的各子网信号强度指示指标, RSSI_L为由实测出的各子网的链路 质量指示指标 LQI值导出的与 RSSI同纲量的值, 为 RSSI的权值, ^为 RSSI_L的权值, 且 和^2的取值由移动用户与各子网之间的距离决定。 R = w, xRSSI + w 2 xRSSI _ L where RSSI is the measured signal strength indicator of each subnet, and RSSI_L is the same as RSSI derived from the measured link quality indicator LQI value of each subnet. value, is the weight of RSSI, RSSI _ L ^ is a weighting value and the value 2 ^, and is determined by the distance between the mobile user and the sub-networks.
4、 根据权利要求 2所述的快速切换方法, 其特征在于, 其中步骤 (1 ) 所述的将这些 R 值存入寄存器中, 是按各子网 R值从大到小的顺序排序存入。  4. The fast switching method according to claim 2, wherein the storing the R values in the register according to step (1) is sequentially sorting and storing the R values of each subnet from large to small. .
5、 根据权利要求 2所述的快速切换方法, 其特征在于, 其中步骤 (2) 所述的用户移动 状态, 包括高速运动状态、 中速移动状态和低速移动状态。  The fast switching method according to claim 2, wherein the user movement state in the step (2) comprises a high speed motion state, a medium speed movement state, and a low speed movement state.
6、 根据权利要求 2所述的快速切换方法, 其特征在于, 其中步骤 (2) 所述的用户业务 类型, 包括实时业务和非实时业务。  The fast handover method according to claim 2, wherein the user service type described in step (2) comprises real-time services and non-real-time services.
7、 根据权利要求 2所述的快速切换方法, 其特征在于, 其中步骤 (8 ) 所述的簇头节点 直接从所传输的数据帧中读取信号强度指示指标 RSSI和链路质量指示指标 LQI值,生成 ^, 采用如下公式计算:  The fast handover method according to claim 2, wherein the cluster head node in step (8) directly reads the signal strength indicator index RSSI and the link quality indicator index LQI from the transmitted data frame. The value, generated ^, is calculated using the following formula:
R' = wl X RSSI1 + w2' x RSSI _ 其中, 为实测出的移动用户的信号强度指示指标, W^^ - 为由实测出的移动用 户的链路质量指示指标 LQI值导出的与 RSSI同纲量的值, 为 的权值, w2 '为 RSSI _ l! 的权值, 且^^和1^的取值由子网簇头节点与移动用户之间的距离决定。 R' = wl X RSSI 1 + w 2 ' x RSSI _ where, is the measured signal strength indicator of the mobile user, W^^ - is derived from the measured link quality indicator LQI value of the mobile user The value of the RSSI is the weight of the class, w 2 ' is the weight of RSSI _ l!, and the value of ^^ and 1 ^ is determined by the distance between the sub-cluster head node and the mobile user.
8、 根据权利要求 2所述的快速切换方法, 其特征在于, 其中步骤(10)所述的预测 λ移动 户下一时刻位置, 是通过二阶 AR预测算法预测出移动用户下一时刻的位置坐标 ( , )。 The fast handover method according to claim 2, wherein the predicted λ mobile subscriber next time position in step (10) is predicted by the second-order AR prediction algorithm to predict the location of the mobile subscriber at the next moment. Coordinates ( , ).
9、 根据权利要求 2所述的快速切换方法, 其特征在于, 其中步骤(10 )所述的通过移动 用户下一时刻 λ的位置信息 λ断切换过程是否被触发, 采用如下公式判决: The fast switching method according to claim 2, wherein, in the step (10), whether the switching process of the position information λ by the mobile user next time λ is triggered is determined by using the following formula:
(X (t) - x(t))2 + (Y(t) - y(t)† >(X (t) - x(t)) 2 + (Y(t) - y(t)† >
Figure imgf000018_0001
Figure imgf000018_0001
其中, Λ Χ « , ί^)代表当前子网簇头节点的平面坐标信息, r代表当前子网簇头节点的覆 盖半径, ^ , 为移动用户下时刻位置坐标。 Where Λ Χ « , ί^) represents the plane coordinate information of the cluster head node of the current subnet, r represents the coverage radius of the cluster head node of the current subnet, and ^ is the coordinates of the time position of the mobile user.
10、 根据权利要求 2所述的快速切换方法, 其特征在于, 其中步骤 (11 ) 所述的由各新 子网的信号强度和链路质量信息, 计算出各子网的 值, 采用如下公式计算:  The fast switching method according to claim 2, wherein, in step (11), the signal strength and link quality information of each new subnet are used to calculate the value of each subnet, and the following formula is adopted. Calculation:
R" = w " xRSSl" + w " xRSSI _ ΐ!' 其中, R^W^为实测出的各新子网的信号强度指示指标, W^^- 为由实测出的各新子 网的链路质量指示指标 LQI 值导出的与 RSSI 同纲量的值, 为^^ ^的权值, 为 RSS1 的权值, 且^^和1 ^的取值由原子网簇头节点与各新子网簇头节点之间的距离决 定。 R" = w "xRSSl" + w " xRSSI _ ΐ!' where R^W^ is the measured signal strength indicator for each new subnet, W^^- is the chain of each new subnet measured The value of the road quality indicator LQI value derived from the RSSI is the weight of ^^^ , which is the weight of RSS1 , and the values of ^^ and 1 ^ are determined by the atomic network cluster head node and each new subnet. The distance between the cluster head nodes is determined.
11、 一种无线传感器网络中基于 RSSI和 LQI的快速切换系统, 其特征在于, 所述系统 包括:  11. A fast switching system based on RSSI and LQI in a wireless sensor network, wherein the system comprises:
移动用户, 用于进入无线传感器网络后, 获取周围各子网簇头节点的信号强度指示指标 The mobile user, after entering the wireless sensor network, obtains the signal strength indicator of the cluster head node of each surrounding subnet
RSSI和链路质量指示指标 LQI信息, 并由各子网的信号强度指示指标 RSSI和链路质量指示 指标 LQI信息, 计算出各子网的 R值, 根据各子网的 R值选出将要加入的第一子网, 并发送 关联请求, 在得到允许后接入所述第一子网; The RSSI and the link quality indicator index LQI information are calculated by the signal strength indicator index RSSI and the link quality indicator index LQI information of each subnet, and the R value of each subnet is calculated, and the R value of each subnet is selected to be added. The first subnet, and send an association request, and access the first subnet after being allowed;
第一子网的簇头节点, 用于接收所述移动用户发来的所述关联请求, 根据所述关联请求 决定允许该移动用户加入其子网, 在所述移动用户接入所述第一子网后, 获取信号强度指示 指标 RSSI和链路质量指示指标 LQI值, 生成 ^, 根据 ^获取所述移动用户的位置信息, 并 预测所述移动用户下一时刻位置, 判断切换过程是否被触发; 如果是, 则根据预测信息中下 一时刻移动用户的位置信息, 获取覆盖此区域的各新子网簇头节点的信号强度和链路质量信 息, 并计算出各子网的 值, 根据 值选择将要加入的第二子网, 并发送关联请求; 第二子网的簇头节点, 用于根据所述第一子网的簇头节点发来的关联请求, 决定允许该 移动用户接入所述第二子网。  a cluster head node of the first subnet, configured to receive the association request sent by the mobile user, determine, according to the association request, that the mobile user is allowed to join the subnet, and the mobile user accesses the first After the subnet, obtaining the signal strength indicator index RSSI and the link quality indicator index LQI value, generating ^, obtaining the location information of the mobile user according to the ^, and predicting the next time position of the mobile user, determining whether the handover process is triggered If yes, the signal strength and link quality information of the cluster head nodes of each new subnet covering the area are obtained according to the location information of the mobile subscriber at the next moment in the prediction information, and the values of the subnets are calculated according to the value. Selecting a second subnet to be added, and sending an association request; a cluster head node of the second subnet, configured to allow the mobile user to access the location according to an association request sent by the cluster head node of the first subnet Said second subnet.
PCT/CN2011/073823 2010-06-18 2011-05-09 Quick switch method and system in wireless sensor network WO2011157087A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201010204178 CN101883409B (en) 2010-06-18 2010-06-18 RSSI-and-LQI-based rapid switch method in wireless sensor network
CN201010204178.X 2010-06-18

Publications (1)

Publication Number Publication Date
WO2011157087A1 true WO2011157087A1 (en) 2011-12-22

Family

ID=43055249

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/073823 WO2011157087A1 (en) 2010-06-18 2011-05-09 Quick switch method and system in wireless sensor network

Country Status (2)

Country Link
CN (1) CN101883409B (en)
WO (1) WO2011157087A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235248A (en) * 2018-01-04 2018-06-29 东北师范大学 A kind of multi-modal Intellisense indoor orientation method

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144455B (en) * 2013-05-06 2018-04-20 华为终端有限公司 The method and apparatus of communication quality is improved under wireless fidelity network environment
CN103634863B (en) * 2013-12-12 2017-01-04 哈尔滨海能达科技有限公司 A kind of digital clustering communication system, terminal and method of handover
CN103987131B (en) * 2014-05-30 2018-07-10 梅志国 Without line balance connection method and device, wireless communications method and control process device
CN106304246A (en) * 2015-05-11 2017-01-04 中兴通讯股份有限公司 A kind of cut-in method and corresponding access node, terminal and communication network
CN107911846B (en) * 2017-07-05 2021-01-01 国网浙江省电力公司 Network selection method of micropower wireless network child node
CN109981377B (en) * 2019-04-10 2022-03-01 北京搜狐新媒体信息技术有限公司 Distributed data center link monitoring method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420749A (en) * 2008-12-02 2009-04-29 中国科学技术大学苏州研究院 Determining method for indoor node region of wireless sensor network
US20090207748A1 (en) * 2008-02-14 2009-08-20 Hyo Hyun Choi Communication method and apparatus using received signal strength indicator in wireless sensor network
CN101715232A (en) * 2009-11-20 2010-05-26 西安电子科技大学 Positioning method of weighted wireless sensor network nodes based on RSSI and LQI

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100947805B1 (en) * 2007-12-05 2010-03-15 한국전자통신연구원 Method and equipment for reducing location uncertainty in asset tracking system using wireless sensor network
CN101217381A (en) * 2008-01-18 2008-07-09 北京航空航天大学 Wireless transducer network energy saving method based on cross layers
CN101378592A (en) * 2008-05-06 2009-03-04 中国科学技术大学苏州研究院 Method for locating wireless sensing network node base on RSSI

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090207748A1 (en) * 2008-02-14 2009-08-20 Hyo Hyun Choi Communication method and apparatus using received signal strength indicator in wireless sensor network
CN101420749A (en) * 2008-12-02 2009-04-29 中国科学技术大学苏州研究院 Determining method for indoor node region of wireless sensor network
CN101715232A (en) * 2009-11-20 2010-05-26 西安电子科技大学 Positioning method of weighted wireless sensor network nodes based on RSSI and LQI

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235248A (en) * 2018-01-04 2018-06-29 东北师范大学 A kind of multi-modal Intellisense indoor orientation method
CN108235248B (en) * 2018-01-04 2020-07-31 东北师范大学 Multi-mode intelligent sensing indoor positioning method

Also Published As

Publication number Publication date
CN101883409B (en) 2013-01-23
CN101883409A (en) 2010-11-10

Similar Documents

Publication Publication Date Title
WO2011157087A1 (en) Quick switch method and system in wireless sensor network
KR101242174B1 (en) Vertical handover method for overlay communication system
He et al. A simple and robust vertical handoff algorithm for heterogeneous wireless mobile networks
JP5093671B2 (en) Communication network system, network communication method, and communication management device
Alkhawlani et al. Multi-criteria vertical handover by TOPSIS and fuzzy logic
KR101126796B1 (en) Handover decision apparatus and method in the overlay mobile network environment
WO2007057977A1 (en) Radio communication system, base station, mobile device, and handover control server
Liu et al. Energy efficient network selection and seamless handovers in mixed networks
Cai et al. Dynamic and user-centric network selection in heterogeneous networks
Lott et al. Interworking of WLAN and 3G systems
US11877201B2 (en) Handovers for a user equipment using a mobility status
Baek et al. Network-initiated handover based on IEEE 802.21 framework for QoS service continuity in UMTS/802.16 e networks
CN113950113A (en) Hidden Markov-based Internet of vehicles switching decision algorithm
Kumaran et al. Vertical handover in vehicular ad-hoc network using multiple parameters
Gharsallah et al. MIH/SDN-Based Vertical Handover Approach for 5G Mobile Networks.
Yang et al. An energy-efficient handover scheme with geographic mobility awareness in WiMAX-WiFi integrated networks
Bhute et al. Vertical handover decision strategies in heterogeneous wireless networks
Jadhav et al. MOS-based handover protocol for next generation wireless networks
WO2013113230A1 (en) Method and terminal for data transmission
Sun et al. Group vertical handover in heterogeneous radio access networks
WO2023052010A1 (en) Trajectory data collection in mobile telecommunication systems
CN115297518A (en) Network switching method and system based on mobile user position
Seth Vertical handoff decision algorithms for next generation wireless networks: some issues
Madaan et al. An overview of vertical handoff decision algorithm
Alkhawlani Multi-criteria vertical handover for heterogonous networks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11795053

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11795053

Country of ref document: EP

Kind code of ref document: A1