[go: up one dir, main page]

CN104349417B - The network-building method of regional submarine communication network based on short life cycle - Google Patents

The network-building method of regional submarine communication network based on short life cycle Download PDF

Info

Publication number
CN104349417B
CN104349417B CN201310340520.2A CN201310340520A CN104349417B CN 104349417 B CN104349417 B CN 104349417B CN 201310340520 A CN201310340520 A CN 201310340520A CN 104349417 B CN104349417 B CN 104349417B
Authority
CN
China
Prior art keywords
node
cluster
cluster head
message
join
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310340520.2A
Other languages
Chinese (zh)
Other versions
CN104349417A (en
Inventor
刘磊
李宇
张扬帆
张春华
黄海宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Acoustics CAS
Original Assignee
Institute of Acoustics CAS
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 Institute of Acoustics CAS filed Critical Institute of Acoustics CAS
Priority to CN201310340520.2A priority Critical patent/CN104349417B/en
Publication of CN104349417A publication Critical patent/CN104349417A/en
Application granted granted Critical
Publication of CN104349417B publication Critical patent/CN104349417B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of network-building method of the regional submarine communication network based on short life cycle, including:The original state of each node is arranged to " unallocated state ";A node is selected, is broadcasted " cluster head broadcasting packet ", time-out time is set, oneself state is arranged to " applying to become cluster head ";Other nodes reply " adding cluster request message ", the node representated by source address are set to the leader cluster node of oneself, oneself state is revised as " cluster member " after " cluster head broadcasting packet " is received;The node of broadcast " cluster head broadcasting packet " receives " adding cluster request message " before the timeout, cancel timer, node representated by source address in " adding cluster request message " is set to cluster member, oneself state is set to " cluster head ", otherwise, oneself state is set to " unallocated state ", waits the broadcast " cluster head broadcasting packet " of next round, or receives " the cluster head broadcasting packet " transmitted by other nodes.

Description

基于短生命周期的区域性水下通信网的组网方法Networking method of regional underwater communication network based on short life cycle

技术领域technical field

本发明涉及水声网络领域,具体地说,本发明涉及一种基于短生命周期的区域性水下通信网的组网方法。The present invention relates to the field of underwater acoustic network, in particular, the present invention relates to a networking method of a regional underwater communication network based on a short life cycle.

背景技术Background technique

海洋占据了地球表面70%以上面积,平均深度达4km,蕴藏着丰富的油气、动力矿产等资源。同时,海洋是全球运输的主要通道,是全球环境的调节器,也是多种自然灾害的发源地和发生地。因此,海洋是维持人类社会可持续发展的重要战略空间,对人类的发展和社会进步起到重要作用。各海洋国家都相继投入了大量的财力开展对海洋的观测和开发,以期在海洋资源控制中占领主动地位。The ocean occupies more than 70% of the earth's surface, with an average depth of 4km, and is rich in oil, gas, power minerals and other resources. At the same time, the ocean is the main channel of global transportation, the regulator of the global environment, and the birthplace and occurrence place of various natural disasters. Therefore, the ocean is an important strategic space for maintaining the sustainable development of human society and plays an important role in human development and social progress. All oceanic countries have successively invested a large amount of financial resources in the observation and development of the ocean in order to take the initiative in the control of ocean resources.

相比较于空气中无线通信环境,水声信道是一个时变的时延和多普勒双扩散信道,信道条件非常恶劣。水中的声速一般在1500m/s左右,与无线电波的传播速度3.0×108m/s相比差了5个数量级。此外,声速还受温度、盐度和压力等多方面因素的影响,并且与载体的运动速度、水面的起伏速度等可比拟,因此多途效应、多普勒频移和信道的时变性更加明显且复杂。水声通信的恶劣环境和节点功能的限制影响到水声网络协议的设计,并且需要根据不同的应用场景开发更加优化的网络协议。Compared with the wireless communication environment in the air, the underwater acoustic channel is a time-varying delay and Doppler double-diffusion channel, and the channel conditions are very harsh. The speed of sound in water is generally around 1500m/s, which is 5 orders of magnitude lower than the propagation speed of radio waves of 3.0×10 8 m/s. In addition, the speed of sound is also affected by many factors such as temperature, salinity and pressure, and is comparable to the speed of the carrier and the fluctuation speed of the water surface, so the multi-path effect, Doppler frequency shift and time-varying channel are more obvious And complex. The harsh environment of underwater acoustic communication and the limitation of node functions affect the design of underwater acoustic network protocols, and it is necessary to develop more optimized network protocols according to different application scenarios.

网络按照是否预先知道路由信息可以分为固定网络和自组织网络两种。According to whether routing information is known in advance, the network can be divided into two types: fixed network and self-organizing network.

在固定网络中,节点位置固定,且一般在布放的时候就进行了严格的测量,所有的路由信息在组网之前就已经植入节点。固定的路由在无线领域经常用在中心控制式的网络中,所有节点都可以与网关直接通信。在水声领域,固定式的路由也有较为广泛的应用,尤其是与TDMA、CDMA等多址技术的结合使用,使得网络性能有较大的提升。但固定路由也存在一些问题,如扩展性差、节点不易替换等,不能适用于所有场景。In a fixed network, the positions of nodes are fixed, and strict measurements are generally carried out during deployment, and all routing information has been embedded in nodes before networking. Fixed routing is often used in the wireless field in centrally controlled networks where all nodes communicate directly with the gateway. In the field of underwater acoustics, fixed routing is also widely used, especially in combination with multiple access technologies such as TDMA and CDMA, which greatly improves network performance. However, fixed routing also has some problems, such as poor scalability and difficult node replacement, which cannot be applied to all scenarios.

在自组织网络中,自组织的路由协议按照路由建立的时间又可以分为前摄式和反馈式两种。前摄式路由中,路由建立过程发生在网络的初始化过程中。网络一旦布放就马上开始建立可能需要的所有路由,而不论该路由信息在后面是否会真正被用到。路由信息会周期地进行重建,同样不关心重建的路由信息是否会被用到。该类协议以DSDV为代表。反馈式路由下,只有当节点需要发送数据包给某节点时才会建立到该节点的路由,数据包随后进行发送。路由维护时会定期清除长期不用的路由。该类协议以AODV为代表。In an ad hoc network, ad hoc routing protocols can be divided into proactive and feedback based on the route establishment time. In proactive routing, route establishment occurs during network initialization. Once the network is deployed, it immediately begins to establish all the routes that may be needed, regardless of whether the routing information will actually be used later. The routing information will be rebuilt periodically, and it doesn't care whether the rebuilt routing information will be used. Such agreements are represented by DSDV. Under feedback routing, only when a node needs to send a data packet to a node will the route to the node be established, and the data packet will be sent later. Routes that have not been used for a long time will be cleared regularly during route maintenance. Such agreements are represented by AODV.

基于地理位置信息的路由根据网络中节点的位置来决定路由的选取,减少了路由建立过程中数据包广播的范围。不仅减少能量的浪费,还降低了包冲突的概率,减小了通信时延。基于地理位置信息的路由以VBF为代表。Routing based on geographical location information determines the selection of routes according to the location of nodes in the network, which reduces the scope of data packet broadcasting in the process of route establishment. It not only reduces the waste of energy, but also reduces the probability of packet collision and communication delay. Routing based on geographic location information is represented by VBF.

用于短生命周期的区域性水下通信的水声网络一般具有以下特点:网络规模较小,节点在布放后位置较为固定,声速变化以及节点的漂移不会对拓扑结构造成较大的改变,但由于布放精度不容易保证,布放初期无法得知网络实际的拓扑连接情况。基于水声网络的上述特点,水声网络需要采用自组织的路由协议。同时,由于水声网络的拓扑结构相对固定,网络的工作时间较短(一般一次工作过程维持8分钟左右),暂不需要定期清除旧的路由,也不需要定期更新路由。The underwater acoustic network used for regional underwater communication with a short life cycle generally has the following characteristics: the network scale is small, the position of the nodes after deployment is relatively fixed, and the change of sound velocity and the drift of nodes will not cause major changes to the topology , but because the deployment accuracy is not easy to guarantee, the actual topological connection of the network cannot be known at the initial stage of deployment. Based on the above characteristics of the underwater acoustic network, the underwater acoustic network needs to adopt a self-organizing routing protocol. At the same time, because the topology of the underwater acoustic network is relatively fixed and the working time of the network is short (generally, a working process lasts about 8 minutes), there is no need to regularly clear old routes or update routes.

现有技术中的AODV协议的路由建立延迟较高,这在传播延迟很高的水声网络中会进一步加大,无法满足快速组网的要求。而VBF协议要求节点可以测量信号发送方的角度,这在水声通信中并非总能得到满足,因此也无法用于水声网络的组建。由于水声网络中各个节点的路由不需要定期更新,因此DSDV协议也并不适用。The route establishment delay of the AODV protocol in the prior art is relatively high, which will be further increased in an underwater acoustic network with a high propagation delay, and cannot meet the requirements of fast networking. The VBF protocol requires that the node can measure the angle of the signal sender, which cannot always be satisfied in underwater acoustic communication, so it cannot be used for the establishment of underwater acoustic network. Since the routes of each node in the underwater acoustic network do not need to be updated regularly, the DSDV protocol is not applicable.

发明内容Contents of the invention

本发明的目的在于克服现有技术中的水下通信网的组网方法无法满足快速组网要求的缺陷,从而提供一种快速组网方法。The purpose of the present invention is to overcome the defect that the networking method of the underwater communication network in the prior art cannot meet the requirement of fast networking, so as to provide a fast networking method.

为了实现上述目的,本发明提供了一种基于短生命周期的区域性水下通信网的组网方法,包括:In order to achieve the above object, the present invention provides a method for networking of a regional underwater communication network based on a short life cycle, including:

步骤1)、将待组网的各个节点的初始状态均设置为“未分配状态”;从所述待组网的各个节点中选择一个节点,由该节点开始广播“簇头广播报文”,为该节点上的“等待加入簇请求报文定时器”设置超时时间,然后将自身状态设置为“正在申请成为簇头”;Step 1), the initial states of each node to be networked are set to "unassigned state"; a node is selected from each node to be networked, and the node starts broadcasting a "cluster head broadcast message", Set the timeout period for the "waiting to join the cluster request message timer" on the node, and then set its own status to "applying to become a cluster head";

步骤2)、待组网中除广播“簇头广播报文”的节点外的其它节点在接收到“簇头广播报文”后,用ALOHA方式分别向发送“簇头广播报文”的节点回复“加入簇请求报文”,并将所接收的“簇头广播报文”中的源地址所代表的节点设为自己的簇头节点,将节点的自身状态修改为“簇成员”;Step 2) After receiving the "cluster head broadcast message", other nodes in the network to be formed except the node broadcasting the "cluster head broadcast message" send the "cluster head broadcast message" to the nodes using the ALOHA method respectively Reply to the "Join Cluster Request Message", and set the node represented by the source address in the received "Cluster Head Broadcast Message" as its own cluster head node, and modify the node's own status to "cluster member";

步骤3)、判断广播“簇头广播报文”的节点在“等待加入簇请求报文定时器”超时前是否收到任意一个“加入簇请求报文”,若收到,执行下一步,否则,执行步骤5);Step 3), judge whether the node broadcasting the "cluster head broadcast message" has received any "join cluster request message" before the "waiting to join the cluster request message timer" expires, if received, perform the next step, otherwise , execute step 5);

步骤4)、广播“簇头广播报文”的节点在第一次收到任意一个“加入簇请求报文”时,取消定时器,把所接收到的“加入簇请求报文”中的源地址所代表的节点设为自己的簇成员,并把节点自身的状态设为“簇头”;该节点之后再收到“加入簇请求报文”时,把所述“加入簇请求报文”中的源地址设为自己的簇成员,直至不再收到“加入簇请求报文”后结束组网操作;Step 4), when the node that broadcasts the "cluster head broadcast message" receives any "join cluster request message" for the first time, cancel the timer, and send the source data in the received "join cluster request message" to The node represented by the address is set as its own cluster member, and the state of the node itself is set as "cluster head"; when the node receives the "join cluster request message" later, it will set the "join cluster request message" The source address in is set as its own cluster member, and the networking operation is ended after the "join cluster request message" is no longer received;

步骤5)、广播“簇头广播报文”的节点将自身状态设为“未分配状态”,然后等待下一轮的广播“簇头广播报文”,或接收其他节点所发送的“簇头广播报文”。Step 5), the node that broadcasts the "cluster head broadcast message" sets its own state to "unassigned state", and then waits for the next round of broadcast "cluster head broadcast message", or receives the "cluster head broadcast message" sent by other nodes. broadcast message".

上述技术方案中,在所述的步骤2)中之后还包括:In the above-mentioned technical scheme, also include after described step 2):

步骤a)、待组网中除广播“簇头广播报文”的节点外的其它节点未接收到“簇头广播报文”,由该节点广播“簇头广播报文”,为该节点上的“等待加入簇请求报文定时器”设置超时时间,然后将自身状态设置为“正在申请成为簇头”;Step a), other nodes in the network to be formed except for the node broadcasting the "cluster head broadcast message" have not received the "cluster head broadcast message", and the node broadcasts the "cluster head broadcast message" for the node Set the timeout period for the "Waiting to join the cluster request message timer", and then set its own status to "applying to become a cluster head";

步骤b)、待待组网中的其他节点接收到“簇头广播报文”后,若该节点的自身状态已经为“簇成员”,则无需响应新接收到的“簇头广播报文”,若该节点的自身状态为“簇头”,用ALOHA方式给广播“簇头广播报文”的源节点回复“强令加入该簇报文”,并将该节点添加到自己的簇成员表中;Step b), after other nodes in the waiting network receive the "cluster head broadcast message", if the node's own status is already "cluster member", then there is no need to respond to the newly received "cluster head broadcast message" , if the node's own state is "cluster head", use ALOHA method to reply "forced to join the cluster message" to the source node that broadcasts the "cluster head broadcast message", and add the node to its own cluster membership table middle;

步骤c)、当步骤a)中广播“簇头广播报文”的节点收到“强令加入该簇报文”后,取消定时器,把“强令加入该簇报文”的源地址设为自己的簇头节点,并把状态设置为“簇成员”。Step c), when the node broadcasting the "cluster head broadcast message" in step a) receives the "forced to join the cluster message", cancel the timer, and set the source address of the "forced to join the cluster message" Be its own cluster head node, and set the state to "cluster member".

上述技术方案中,在所述的步骤1)中,从所述待组网的各个节点中选择一个节点采用随机选择的方式。In the above technical solution, in step 1), a random selection method is used to select a node from each node to be networked.

上述技术方案中,所述“簇头广播报文”包括两个字段,其中的chb_type字段包括4个比特,用于表示报文类型;chb_src字段包括4个比特,用于表示簇头源地址;In the above technical solution, the "cluster head broadcast message" includes two fields, wherein the chb_type field includes 4 bits for indicating the message type; the chb_src field includes 4 bits for indicating the source address of the cluster head;

所述“加入簇请求报文”包括三个字段,其中的jcr_type字段包括4个比特,用于表示报文类型;jcr_src字段包括4个比特,用于表示所要加入簇的节点的源地址;jcr_dst字段包括4个比特,用于表示所要加入簇的节点的目的地址。The "joining cluster request message" includes three fields, wherein the jcr_type field includes 4 bits, which are used to indicate the message type; the jcr_src field includes 4 bits, which are used to indicate the source address of the node to be added to the cluster; jcr_dst The field includes 4 bits and is used to represent the destination address of the node to be added to the cluster.

上述技术方案中,所述“强令加入该簇报文”包括三个字段,其中的fjr_type包括4个比特,用于表示报文类型,fjr_src包括4个比特,用于表示强令加入簇的节点的源地址,fjr_dst包括4个比特,用于表示强令加入簇的节点的目的地址。In the above technical solution, the "forced to join the cluster message" includes three fields, where fjr_type includes 4 bits for indicating the type of message, and fjr_src includes 4 bits for indicating the force to join the cluster The source address of the node, fjr_dst includes 4 bits, which is used to indicate the destination address of the node forcibly joining the cluster.

本发明的优点在于:The advantages of the present invention are:

本发明能够实现水下通信网的快速组网,有利于提高水下通信的效率。The invention can realize rapid networking of the underwater communication network, and is beneficial to improving the efficiency of underwater communication.

附图说明Description of drawings

图1是本发明的组网方法的流程图;Fig. 1 is the flowchart of the networking method of the present invention;

图2是在一个实施例中所组水下通信网络的示意图。Figure 2 is a schematic diagram of an assembled underwater communication network in one embodiment.

具体实施方式detailed description

现结合附图对本发明作进一步的描述。The present invention will be further described now in conjunction with accompanying drawing.

本发明的组网方法主要针对网络规模小,拓扑结构相对固定,工作时间短,需要同步和定位的使用环境。The networking method of the present invention is mainly aimed at the use environment where the network scale is small, the topology structure is relatively fixed, the working time is short, and synchronization and positioning are required.

网络拓扑结构是影响网络性能的一个重要因素。水声网络的基本拓扑结构有主从式和对等式两种。在主从式网络中,所有的网络节点通过一个中心节点进行通信。在对等式网络中,每一个节点都可以直接或通过中继节点与其他任何一个节点进行通信。当网络中节点个数较少时,主从式网络具有路由建立时间较短的优点,且通过一个中心节点与其他节点通信能满足要求,本发明的组网方法采用主从式拓扑结构来创建水声网络。Network topology is an important factor affecting network performance. The basic topology of the underwater acoustic network has two types: master-slave and peer-to-peer. In a master-slave network, all network nodes communicate through a central node. In a peer-to-peer network, each node can communicate with any other node directly or through relay nodes. When the number of nodes in the network is small, the master-slave network has the advantage of shorter route establishment time, and the communication with other nodes through a central node can meet the requirements. The networking method of the present invention uses a master-slave topology to create Hydroacoustic Network.

在对本发明的组网方法做详细说明之前,首先对本发明中所采用的数据结构加以介绍。Before explaining the networking method of the present invention in detail, the data structure adopted in the present invention will be introduced first.

水声网络中的节点存在四种可能的状态:UNSSIGNED、CLUSTER_HEAD、CLUSTER_MEMBER以及TO_BE_HEAD;分别表示未分配状态、簇头、簇成员、正在申请成为簇头。There are four possible states for the nodes in the underwater acoustic network: UNSSIGNED, CLUSTER_HEAD, CLUSTER_MEMBER, and TO_BE_HEAD; they represent unassigned state, cluster head, cluster member, and applying to become a cluster head respectively.

水声网络中的节点在组网过程中涉及三种命令报文:簇头广播报文(后文中简称CHB)、加入簇请求报文(后文中简称JCR)、强令加入该簇报文(后文中简称FJR)。其中,CHB的数据结构如表1所示,该报文包括两个字段,其中的chb_type字段包括4个比特,用于表示报文类型;chb_src字段包括4个比特,用于表示簇头源地址。JCR的数据结构如表2所示,该报文包括三个字段,其中的jcr_type字段包括4个比特,用于表示报文类型;jcr_src字段包括4个比特,用于表示所要加入簇的节点的源地址;jcr_dst字段包括4个比特,用于表示所要加入簇的节点的目的地址。FJR的数据结构如表3所示,该报文包括三个字段,其中的fjr_type包括4个比特,用于表示报文类型,fjr_src包括4个比特,用于表示强令加入簇的节点的源地址,fjr_dst包括4个比特,用于表示强令加入簇的节点的目的地址。The nodes in the underwater acoustic network involve three kinds of command messages in the networking process: the cluster head broadcast message (hereinafter referred to as CHB), the joining cluster request message (hereinafter referred to as JCR), and the forced joining of the cluster message ( Hereinafter referred to as FJR). Among them, the data structure of CHB is shown in Table 1. The message includes two fields, wherein the chb_type field includes 4 bits for indicating the message type; the chb_src field includes 4 bits for indicating the source address of the cluster head . The data structure of JCR is shown in Table 2. The message includes three fields, wherein the jcr_type field includes 4 bits, which are used to indicate the message type; the jcr_src field includes 4 bits, which are used to indicate the node to be added to the cluster. Source address; the jcr_dst field includes 4 bits, which are used to indicate the destination address of the node to be added to the cluster. The data structure of FJR is shown in Table 3. The message includes three fields, of which fjr_type includes 4 bits, which is used to indicate the message type, and fjr_src includes 4 bits, which is used to indicate the source of the node that is forced to join the cluster The address, fjr_dst includes 4 bits, and is used to indicate the destination address of the node forcibly joining the cluster.

表1Table 1

表2Table 2

表3table 3

在一个实施例中,如图2所示,某一期望组建的区域性水下通信网络包括3个节点,分别用0、1、2标示这些节点,这些节点相互间的距离应不大于100米。如图1所示,下面对该区域性水下通信网络的组网方法进行说明。In one embodiment, as shown in Figure 2, a desired regional underwater communication network includes 3 nodes, these nodes are marked with 0, 1, and 2 respectively, and the distance between these nodes should not be greater than 100 meters . As shown in FIG. 1 , the networking method of the regional underwater communication network will be described below.

步骤1)、将待组网的各个节点的初始状态均设置为UNSSIGNED;从所述待组网的各个节点中选择一个节点,由该节点开始广播CHB,为该节点上的“等待JCR定时器”设置超时时间,然后将自身状态设置为“TO_BE_HEAD”。Step 1), the initial state of each node of network to be formed is all set to UNSSIGNED; Select a node from each node of described network to be formed, start to broadcast CHB by this node, be " waiting for JCR timer on this node "Set the timeout period, and then set its own state to "TO_BE_HEAD".

当节点处于“TO_BE_HEAD”状态时,不会响应其他节点所发送的CHB。在本实施例中,为“等待JCR定时器”所设置的超时时间为2s,在其他实施例中,也可根据需要设置为其他值。在本步骤中,从多个节点中选择一个节点的方式是随机的,在本实施例中,假设所选择的节点为节点1。When a node is in the "TO_BE_HEAD" state, it will not respond to CHBs sent by other nodes. In this embodiment, the timeout time set for the "waiting for the JCR timer" is 2s, and in other embodiments, it can also be set to other values as required. In this step, the manner of selecting a node from multiple nodes is random, and in this embodiment, it is assumed that the selected node is node 1 .

步骤2)、待组网中除广播CHB的节点外的其它节点接收到CHB后,用ALOHA方式分别向发送CHB的节点回复JCR,并将所接收的CHB中的源地址所代表的节点设为自己的簇头节点,将节点的自身状态修改为CLUSTER_MEMBER。Step 2), after other nodes in the network to be received except the node broadcasting the CHB receive the CHB, use the ALOHA method to reply to the JCR respectively to the node sending the CHB, and set the node represented by the source address in the received CHB to For its own cluster head node, modify the node's own state to CLUSTER_MEMBER.

前文假设发出CHB的节点为节点1,因此,待组网中的节点0和节点2会将节点1作为自身的簇头节点,将自身状态修改为CLUSTER_MEMBER。In the above, it is assumed that the node sending CHB is node 1. Therefore, node 0 and node 2 in the network to be formed will use node 1 as their own cluster head node, and modify their status to CLUSTER_MEMBER.

步骤3)、判断广播CHB的节点在“等待JCR定时器”超时前是否收到任意一个JCR,若收到,执行下一步,否则,执行步骤5)。Step 3), judging whether the node broadcasting the CHB has received any JCR before the "waiting for JCR timer" expires, if so, go to the next step, otherwise go to step 5).

步骤4)、广播CHB的节点在第一次收到任意一个JCR时,取消定时器,把所接收到的JCR中的源地址所代表的节点设为自己的簇成员,并把节点自身的状态设为CLUSTER_HEAD;该节点之后再收到JCR时,只需把所述JCR中的源地址设为自己的簇成员,直至不再收到“加入簇请求报文”后结束组网操作。Step 4), when the node broadcasting CHB receives any JCR for the first time, cancel the timer, set the node represented by the source address in the received JCR as its own cluster member, and set the node's own state Set it as CLUSTER_HEAD; when the node receives JCR later, it only needs to set the source address in the JCR as its own cluster member until it no longer receives the "join cluster request message" and then ends the networking operation.

步骤5)、广播CHB的节点将自身状态设为UNSSIGED,然后等待下一轮的广播CHB,或接收其他节点所发送的CHB。Step 5), the node that broadcasts the CHB sets its state as UNSSIGED, and then waits for the next round of broadcasting the CHB, or receives the CHB sent by other nodes.

以上是本发明的组网方法的基本步骤。基于水声网络的特殊性,实际应用中还存在这样一种情况:待组网中除广播CHB的节点外的其它节点中,有些节点收到CHB并成功回复JCR,而另一些节点可能由于链路短暂失效并没有收到CHB。此时,这些没有收到CHB的节点会如步骤1)所描述的那样:广播CHB,为“等待JCR定时器”设置超时时间,将自身状态设置为“TO_BE_HEAD”。对于这种情况,已经将自身状态设置为CLUSTER_MEMBER的节点无需响应新接收到的CHB,而将自身状态设置为CLUSTER_HEAD的节点用ALOHA方式给广播CBH的源节点回复FJR,并将该节点添加到自己的簇成员表中。当广播CBH的节点收到FJR后,取消定时器,把FJR的源地址设为自己的簇头节点,并把状态设置为CLUSTER_MEMBER。The above are the basic steps of the networking method of the present invention. Based on the particularity of the underwater acoustic network, there is still such a situation in practical applications: Among the nodes in the network to be formed except the node broadcasting the CHB, some nodes receive the CHB and successfully reply to the JCR, while other nodes may be due to the chain The road briefly failed and no CHB was received. At this time, these nodes that have not received the CHB will do as described in step 1): broadcast the CHB, set the timeout period for the "waiting for the JCR timer", and set their own status to "TO_BE_HEAD". In this case, the node that has set its own state to CLUSTER_MEMBER does not need to respond to the newly received CHB, and the node that has set its own state to CLUSTER_HEAD uses ALOHA to reply to the source node broadcasting CBH FJR, and add this node to its own in the cluster membership table. When the node broadcasting CBH receives the FJR, it cancels the timer, sets the source address of the FJR as its own cluster head node, and sets the state as CLUSTER_MEMBER.

例如,假设节点0收到CHB并成功回复JCR,节点2没有收到CHB并在之后向外广播CHB。此时,由于节点0的状态为CLUSTER_MEMBER,因此不响应其他的任何CHB;而节点1的状态为CLUSTER_HEAD,用ALOHA方式给广播CBH的源节点(即节点2)回复FJR,并将节点2添加到自己的簇成员表中。当节点2收到FJR后,取消定时器,把FJR的源地址设为自己的簇头节点,并把状态设置为CLUSTER_MEMBER。For example, assume that node 0 receives CHB and successfully replies to JCR, node 2 does not receive CHB and then broadcasts CHB. At this time, since the state of node 0 is CLUSTER_MEMBER, it does not respond to any other CHB; while the state of node 1 is CLUSTER_HEAD, use the ALOHA method to reply FJR to the source node (that is, node 2) broadcasting CBH, and add node 2 to in its own cluster membership table. When node 2 receives the FJR, cancel the timer, set the source address of the FJR as its own cluster head node, and set the state to CLUSTER_MEMBER.

以上是对本发明的组网方法的步骤描述。下面对本发明组网方法所用时间进行分析。The above is the description of the steps of the networking method of the present invention. The time spent by the networking method of the present invention is analyzed below.

设线性调频头的持续时间为X秒,数据包的比特数为PacketSize,通信速率DataRate=600bps,最大传播延时为τmax=0.0667秒,如果不考虑数据包的解调时间和CRC校验,则发生一个数据包的时间约为:Suppose the duration of the chirp head is X seconds, the bit number of the data packet is PacketSize, the communication rate DataRate=600bps, and the maximum propagation delay is τ max =0.0667 seconds, if the demodulation time and the CRC check of the data packet are not considered, Then the time for a packet to occur is approximately:

单位:秒。Unit: second.

广播“簇头广播报文(CHB)”的时间为:The time to broadcast the "cluster head broadcast message (CHB)" is:

ALOHA方式发送“加入簇请求报文(JCR)”的时间为:The time to send the "join cluster request message (JCR)" in ALOHA mode is:

同理,ALOHA方式发送“强令加入改簇报文(FJR)”的时间为:In the same way, the time to send the "Force to join the cluster change message (FJR)" in ALOHA mode is:

随机退避时间+(2×X)+0.1867s。Random backoff time +(2×X)+0.1867s.

根据上述时间计算方式,在如图2所示的实例中,假设有三个节点,节点0,1,2的位置分别为(0,0)、(0,100),(50,86.6)。用NS2对以上组网方式进行仿真,结果如下:According to the above time calculation method, in the example shown in Figure 2, suppose there are three nodes, and the positions of nodes 0, 1, and 2 are (0, 0), (0, 100), (50, 86.6) respectively. Using NS2 to simulate the above networking methods, the results are as follows:

(1)当第一个节点发送CHB随机退避时间为0s且没有出现丢包和碰撞时,组网时间为2.058s;(1) When the first node sends CHB with a random backoff time of 0s and no packet loss or collision occurs, the networking time is 2.058s;

(2)当一个节点发送CHB,另外两个节点同时回复JCR时,JCR冲突,MAC层会增大退避窗口CW,再随机退避后发送RTS不再冲突时,组网时间为3.769s;(2) When one node sends CHB and the other two nodes reply to JCR at the same time, the JCR conflicts, and the MAC layer will increase the backoff window CW, and then send RTS after random backoff without conflicting, the networking time is 3.769s;

(3)当有两个节点同时广播CHB时,CHB会碰撞,这两个节点由于在等待给自己的JCR,不会响应第三个节点发来的CHB,所以需要等待下一轮的广播CHB,组网时间为4.958s。(3) When two nodes broadcast CHB at the same time, the CHB will collide. Since these two nodes are waiting for their own JCR, they will not respond to the CHB sent by the third node, so they need to wait for the next round of broadcast CHB , and the networking time is 4.958s.

(4)对于节点1广播CHB后,只有节点0收到CHB并成功回复JCR,而节点2由于链路短暂失效而没收到CHB的情况,用NS2仿真,组网时间为4.408s。(4) After node 1 broadcasts CHB, only node 0 receives CHB and successfully replies to JCR, while node 2 does not receive CHB due to short-term link failure. Using NS2 simulation, the networking time is 4.408s.

本发明基本能满足在5s内完成组网,能够满足实际需要。The present invention can basically complete networking within 5s, and can meet actual needs.

最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制。尽管参照实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,对本发明的技术方案进行修改或者等同替换,都不脱离本发明技术方案的精神和范围,其均应涵盖在本发明的权利要求范围当中。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than limit them. Although the present invention has been described in detail with reference to the embodiments, those skilled in the art should understand that modifications or equivalent replacements to the technical solutions of the present invention do not depart from the spirit and scope of the technical solutions of the present invention, and all of them should be included in the scope of the present invention. within the scope of the claims.

Claims (5)

1.一种基于短生命周期的区域性水下通信网的组网方法,包括:1. A networking method based on a short life cycle regional underwater communication network, comprising: 步骤1)、将待组网的各个节点的初始状态均设置为“未分配状态”;从所述待组网的各个节点中选择一个节点,由该节点开始广播“簇头广播报文”,为该节点上的“等待加入簇请求报文定时器”设置超时时间,然后将自身状态设置为“正在申请成为簇头”;Step 1), the initial states of each node to be networked are set to "unassigned state"; a node is selected from each node to be networked, and the node starts broadcasting a "cluster head broadcast message", Set the timeout period for the "waiting to join the cluster request message timer" on the node, and then set its own status to "applying to become a cluster head"; 步骤2)、待组网中除广播“簇头广播报文”的节点外的其它节点在接收到“簇头广播报文”后,用ALOHA方式分别向发送“簇头广播报文”的节点回复“加入簇请求报文”,并将所接收的“簇头广播报文”中的源地址所代表的节点设为自己的簇头节点,将节点的自身状态修改为“簇成员”;Step 2) After receiving the "cluster head broadcast message", other nodes in the network to be formed except the node broadcasting the "cluster head broadcast message" send the "cluster head broadcast message" to the nodes using the ALOHA method respectively Reply to the "Join Cluster Request Message", and set the node represented by the source address in the received "Cluster Head Broadcast Message" as its own cluster head node, and modify the node's own status to "cluster member"; 步骤3)、判断广播“簇头广播报文”的节点在“等待加入簇请求报文定时器”超时前是否收到任意一个“加入簇请求报文”,若收到,执行下一步,否则,执行步骤5);Step 3), judge whether the node broadcasting the "cluster head broadcast message" has received any "join cluster request message" before the "waiting to join the cluster request message timer" expires, if received, perform the next step, otherwise , execute step 5); 步骤4)、广播“簇头广播报文”的节点在第一次收到任意一个“加入簇请求报文”时,取消定时器,把所接收到的“加入簇请求报文”中的源地址所代表的节点设为自己的簇成员,并把节点自身的状态设为“簇头”;该节点之后再收到“加入簇请求报文”时,把所述“加入簇请求报文”中的源地址设为自己的簇成员,直至不再收到“加入簇请求报文”后结束组网操作;Step 4), when the node that broadcasts the "cluster head broadcast message" receives any "join cluster request message" for the first time, cancel the timer, and send the source data in the received "join cluster request message" to The node represented by the address is set as its own cluster member, and the state of the node itself is set as "cluster head"; when the node receives the "join cluster request message" later, it will set the "join cluster request message" The source address in is set as its own cluster member, and the networking operation is ended after the "join cluster request message" is no longer received; 步骤5)、广播“簇头广播报文”的节点将自身状态设为“未分配状态”,然后等待下一轮的广播“簇头广播报文”,或接收其他节点所发送的“簇头广播报文”。Step 5), the node that broadcasts the "cluster head broadcast message" sets its own state to "unassigned state", and then waits for the next round of broadcast "cluster head broadcast message", or receives the "cluster head broadcast message" sent by other nodes. broadcast message". 2.根据权利要求1所述的基于短生命周期的区域性水下通信网的组网方法,其特征在于,在所述的步骤2)中之后还包括:2. the networking method based on the regional underwater communication network of short life cycle according to claim 1, is characterized in that, after described step 2) also comprises: 步骤a)、待组网中除广播“簇头广播报文”的节点外的其它节点未接收到“簇头广播报文”,由该除广播“簇头广播报文”的节点外的其它节点广播“簇头广播报文”,为该节点上的“等待加入簇请求报文定时器”设置超时时间,然后将自身状态设置为“正在申请成为簇头”;Step a), other nodes in the network to be formed except the node broadcasting the "cluster head broadcast message" have not received the "cluster head broadcast message", and the other nodes except the node broadcasting the "cluster head broadcast message" The node broadcasts the "cluster head broadcast message", sets the timeout period for the "waiting to join the cluster request message timer" on the node, and then sets its own state to "applying to become a cluster head"; 步骤b)、待待组网中的其他节点接收到“簇头广播报文”后,若该节点的自身状态已经为“簇成员”,则无需响应新接收到的“簇头广播报文”,若该节点的自身状态为“簇头”,用ALOHA方式给广播“簇头广播报文”的源节点回复“强令加入该簇报文”,并将该节点添加到自己的簇成员表中;Step b), after other nodes in the waiting network receive the "cluster head broadcast message", if the node's own status is already "cluster member", then there is no need to respond to the newly received "cluster head broadcast message" , if the node's own state is "cluster head", use ALOHA method to reply "forced to join the cluster message" to the source node that broadcasts the "cluster head broadcast message", and add the node to its own cluster membership table middle; 步骤c)、当步骤a)中广播“簇头广播报文”的节点收到“强令加入该簇报文”后,取消定时器,把“强令加入该簇报文”的源地址设为自己的簇头节点,并把状态设置为“簇成员”。Step c), when the node broadcasting the "cluster head broadcast message" in step a) receives the "forced to join the cluster message", cancel the timer, and set the source address of the "forced to join the cluster message" Be its own cluster head node, and set the state to "cluster member". 3.根据权利要求1或2所述的基于短生命周期的区域性水下通信网的组网方法,其特征在于,在所述的步骤1)中,从所述待组网的各个节点中选择一个节点采用随机选择的方式。3. the networking method based on the regional underwater communication network of short life cycle according to claim 1 or 2, it is characterized in that, in described step 1), from each node of described pending networking A node is selected by random selection. 4.根据权利要求1或2所述的基于短生命周期的区域性水下通信网的组网方法,其特征在于,所述“簇头广播报文”包括两个字段,其中的chb_type字段包括4个比特,用于表示报文类型;chb_src字段包括4个比特,用于表示簇头源地址;4. the networking method based on the regional underwater communication network of short life cycle according to claim 1 or 2, is characterized in that, described " cluster head broadcast message " comprises two fields, and wherein chb_type field comprises 4 bits, used to indicate the packet type; the chb_src field includes 4 bits, used to indicate the source address of the cluster head; 所述“加入簇请求报文”包括三个字段,其中的jcr_type字段包括4个比特,用于表示报文类型;jcr_src字段包括4个比特,用于表示所要加入簇的节点的源地址;jcr_dst字段包括4个比特,用于表示所要加入簇的节点的目的地址。The "joining cluster request message" includes three fields, wherein the jcr_type field includes 4 bits, which are used to indicate the message type; the jcr_src field includes 4 bits, which are used to indicate the source address of the node to be added to the cluster; jcr_dst The field includes 4 bits and is used to represent the destination address of the node to be added to the cluster. 5.根据权利要求2所述的基于短生命周期的区域性水下通信网的组网方法,其特征在于,所述“强令加入该簇报文”包括三个字段,其中的fjr_type包括4个比特,用于表示报文类型,fjr_src包括4个比特,用于表示强令加入簇的节点的源地址,fjr_dst包括4个比特,用于表示强令加入簇的节点的目的地址。5. the networking method of the regional underwater communication network based on short life cycle according to claim 2, it is characterized in that, described " forcibly joins this cluster message " comprises three fields, and wherein fjr_type comprises 4 bits, used to indicate the message type, fjr_src includes 4 bits, used to indicate the source address of the node that is forced to join the cluster, and fjr_dst includes 4 bits, used to indicate the destination address of the node that is forced to join the cluster.
CN201310340520.2A 2013-08-07 2013-08-07 The network-building method of regional submarine communication network based on short life cycle Expired - Fee Related CN104349417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310340520.2A CN104349417B (en) 2013-08-07 2013-08-07 The network-building method of regional submarine communication network based on short life cycle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310340520.2A CN104349417B (en) 2013-08-07 2013-08-07 The network-building method of regional submarine communication network based on short life cycle

Publications (2)

Publication Number Publication Date
CN104349417A CN104349417A (en) 2015-02-11
CN104349417B true CN104349417B (en) 2017-11-21

Family

ID=52503997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310340520.2A Expired - Fee Related CN104349417B (en) 2013-08-07 2013-08-07 The network-building method of regional submarine communication network based on short life cycle

Country Status (1)

Country Link
CN (1) CN104349417B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987011A (en) * 1996-08-30 1999-11-16 Chai-Keong Toh Routing method for Ad-Hoc mobile networks
CN101835099A (en) * 2010-04-23 2010-09-15 西安电子科技大学 Routing Method for Large-Scale Sensor Networks Based on Clustering and RREP Broadcasting
CN102546323A (en) * 2010-12-14 2012-07-04 中国科学院声学研究所 Peer-to-peer network based on underwater sound and radio mixed channel

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5561121A (en) * 1993-11-09 1996-10-01 American Cyanamid Company Stable lyophilized thiotepa composition

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987011A (en) * 1996-08-30 1999-11-16 Chai-Keong Toh Routing method for Ad-Hoc mobile networks
CN101835099A (en) * 2010-04-23 2010-09-15 西安电子科技大学 Routing Method for Large-Scale Sensor Networks Based on Clustering and RREP Broadcasting
CN102546323A (en) * 2010-12-14 2012-07-04 中国科学院声学研究所 Peer-to-peer network based on underwater sound and radio mixed channel

Also Published As

Publication number Publication date
CN104349417A (en) 2015-02-11

Similar Documents

Publication Publication Date Title
AU2007270870A1 (en) Transmission of success and failure indications (ACK_bitmap) in relay networks
KR20050043019A (en) Method for electing leader of ad-hoc network
Kafhali et al. Effect of Mobility and Traffic Models on the energy consumption in MANET Routing Protocols
Yu et al. An ad hoc routing protocol with multiple backup routes
Xia et al. Applying link stability estimation mechanism to multicast routing in MANETs
Keshtgary et al. Performance evaluation of reactive, proactive and hybrid routing protocols in MANET
Huang et al. A clustering routing protocol for mobile ad hoc networks
Jabbar et al. On the performance of the current MANET routing protocols for VoIP, HTTP, and FTP applications
CN103532845B (en) Method for routing for intermittent connection wireless sensor network
Dezfouli et al. DICSA: Distributed and concurrent link scheduling algorithm for data gathering in wireless sensor networks
Li et al. Improved AODV routing protocol for vehicular Ad hoc networks
Rahman et al. Routing protocols for underwater ad hoc networks
CN103607747A (en) Inter-cluster virtual backbone route protocol method based on power control
Kumar et al. A review and design study of cross layer scheme based algorithm to reduce the link break in MANETs
CN104349417B (en) The network-building method of regional submarine communication network based on short life cycle
US10813033B1 (en) Partitioned network routing
Penumalli et al. An optimal CDS construction algorithm with activity scheduling in ad hoc networks
CN101795479B (en) Wireless short-distance networking method
Förster et al. An efficient implementation of reinforcement learning based routing on real WSN hardware
Gu et al. A Data Dissemination Algorithm Based on Maximization of Causal Path Entropy in Vehicular Ad Hoc Networks
Thamizhmaran CLUSTER BASED DATA COLLECTION SCHEME FOR VANET.
Narayandas et al. Energy efficient mobile adhoc networks for LoRa for self-organizing network in Internet of Things
Sanchez et al. Locally Optimal Source Routing for energy-efficient geographic routing
Jazyah et al. Performance Evaluation of Wireless Routing Protocols for MANET
Bartoš et al. Development of routing protocols for the solar‐powered autonomous underwater vehicle (SAUV) platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171121

Termination date: 20190807

CF01 Termination of patent right due to non-payment of annual fee