Dynamic network time slot allocation method and network simulation system based on directional antenna

By using the dynamic network time slot allocation method of directional antennas and the OPNET network simulation platform in the UAV ad hoc network, the problems of high control overhead and routing interruption caused by node movement are solved, the network service quality and anti-interference ability are improved, and the requirements are met Network load and delay requirements in the UAV ad hoc network scenario.

CN117956591BActive Publication Date: 2024-09-17COMP APPL TECH INST OF CHINA NORTH IND GRP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410102611.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-24
Publication Date
2024-09-17
Estimated Expiration
2044-01-24

AI Technical Summary

Technical Problem

In large-scale UAV ad hoc networks, node movement leads to problems such as high control overhead and route interruption, and existing technologies fail to effectively improve network service quality and anti-interference capabilities.

Method used

A dynamic network time slot allocation method based on directional antennas is used to conduct neighbor discovery, frame reservation and data transmission through the time division multiple access protocol based on directional beams between nodes in the dynamic ad hoc network, and establish a node list based on priority groups. Time slots are allocated high and low to meet the transmission needs between nodes, and the OPNET network simulation platform is used to build a directional antenna dynamic Ad hoc network simulation system for simulation verification.

Benefits of technology

It effectively solves the problems of high control overhead and route interruption caused by node movement, improves network service quality and anti-interference ability, and meets the network load and delay requirements in the UAV ad hoc network scenario.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117956591B
    Figure CN117956591B
Patent Text Reader

Abstract

The present invention relates to a dynamic network time slot allocation method based on directional antennas and a network simulation system; the method comprises: performing neighbor discovery, frame reservation and data transmission based on a time division multiple access protocol of directional beams between nodes in a dynamic self-organizing network; performing power level negotiation and time slot reservation confirmation between nodes during the neighbor discovery period; performing re-linking and time slot confirmation between nodes during the frame reservation period; performing data transmission between nodes with negotiated power and reserved time slots during the data transmission period; performing service quality assurance of data transmission size, transmission delay and service priority of each node during the data transmission process of the dynamic self-organizing network; and performing time slot allocation from high priority group to low priority group according to neighbor node priority through the established node list based on different priority groups to meet the output transmission service requirements between nodes. The present invention improves the network service quality and anti-interference capability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of dynamic wireless network technology and network simulation, and in particular to a dynamic network time slot allocation method based on directional antennas and a network simulation system. Background Art

[0002] Mobile ad hoc network is a decentralized, self-organizing, multi-hop wireless network. As long as two nodes are within the communication range of each other, they can communicate with each other. Compared with wired fixed networks, Ad Hoc networks have small channel bandwidth and low data transmission rate. Ad Hoc networks that use channel multiple access control MAC protocol can improve channel utilization and network throughput, meet the requirements of service delay, packet loss rate and other indicators in drone ad hoc network scenarios, and ensure the real-time requirements of wired or emergency services.

[0003] Network simulation technology uses the simulation platform to build network node models, device models, and network link models to simulate the traffic of real networks, obtain the actual operation of the network and the load of each device in the network, and analyze the performance of the real network. OPNET is the current mainstream network simulation software, a hierarchical simulation method. From the perspective of the network level, OPNET provides three modeling mechanisms, from the bottom to the top: process model, node model, and network model. OPNET uses this hierarchical simulation method to describe network characteristics in detail.

[0004] In the specific application of UAV communication networks, channel resources are often obtained based on the size of the business volume, without paying attention to nodes that have small business volumes but important information to transmit, such as transmitting nodes and central nodes in the network. These nodes play different roles in the network, require different amounts of data to be transmitted, and have inconsistent requirements for latency. Summary of the invention

[0005] In view of the above analysis, the present invention aims to disclose a dynamic network time slot allocation method and a network simulation system for directional antennas; effectively solve the problems of large control overhead and routing interruption faced by node mobility in large-scale networks, and improve network service quality and anti-interference ability.

[0006] The invention discloses a dynamic network time slot allocation method based on directional antenna, comprising:

[0007] Step S1, nodes in the dynamic ad hoc network perform neighbor discovery, frame reservation and data transmission based on a time division multiple access protocol based on directional beams;

[0008] During the neighbor discovery period, power level negotiation and time slot reservation confirmation are performed between nodes; during the frame reservation period, reconnection and time slot confirmation are performed between nodes; during the data transmission period, data transmission between nodes is performed with negotiated power and reserved time slots;

[0009] Step S2: During the dynamic ad hoc network data transmission process, quality of service assurance including data transmission size, transmission delay and service priority of each node is performed;

[0010] By establishing a node list based on different priority groups, time slots are allocated from high priority groups to low priority groups according to the priority of neighbor nodes to meet the output transmission service needs between nodes.

[0011] Furthermore, in step S1, it includes:

[0012] Step S101: During neighbor discovery, a pair of nodes with directional antennas that form direct communication conditions complete the power level negotiation of communication and the reservation confirmation of communication time slots through a three-way handshake;

[0013] Step S102: During the frame reservation period, reconnect according to the agreed time slot and agreed direction, and confirm the time slot;

[0014] Step S103: During data transmission, data transmission between nodes is performed in the reserved time slots at the negotiated time slots.

[0015] Furthermore, the three-way handshake during neighbor discovery includes:

[0016] 1) First handshake; Node 1, as the initiator of the handshake, broadcasts a handshake request message to potential neighbors at the maximum transmit power of the node transceiver; the handshake request message includes the identifier information of Node 1;

[0017] 2) Second handshake; Node 2, as the handshake responder, listens to the broadcasted handshake request information; if no information is received, Node 2 discards the handshake; if the information is received and Node 1 is determined to be a potential neighbor after obtaining the identifier of Node 1, Node 2 broadcasts a handshake response information to Node 1; the power level of the broadcasted handshake response information is determined according to the power of the broadcasted handshake response information of Node 1 received by Node 2;

[0018] The handshake response information includes the identifier information of node 1, the identifier information of node 2, the transmission power, the consent information and the idle time slot information of the node;

[0019] 3) The third handshake; Node 1 listens to the handshake response information returned by Node 2; If no information is received, Node 1 discards the handshake; If the information is successfully received, Node 1 calculates the rendezvous time with Node 2, and then broadcasts the handshake confirmation information to Node 2 for Node 2 to confirm the handshake; The power level of the broadcast handshake confirmation information is determined according to the transmission power in the handshake response information broadcast by Node 2;

[0020] The handshake confirmation information includes the identifier information of node 1, the identifier information of node 2, the transmission power and the node rendezvous time.

[0021] Furthermore, in the second handshake, after node 2 determines that node 1 is a potential neighbor, node 2 re-evaluates the neighbor relationship between node 2 and node 1 according to two situations to make frame reservation; wherein,

[0022] Case (1) Node 1 and Node 2 have detected each other at some time in the past and have agreed to reconfirm their connection and make an appointment at some time in the future;

[0023] Case (2): Node 1 and Node 2 have never detected each other before, or have detected each other before but could not agree on a time to re-secure the connection and make frame reservations.

[0024] Furthermore, in the third handshake, the node rendezvous time determination process under situation (2) includes:

[0025] 1) Node 1 first calculates the selected rendezvous time set N_free com , where N_free com =N_free1&N_free2; where N_free1 is the available time slot of node 1; N_free2 is the free time slot of node 2 obtained by node 1 in the second handshake;

[0026] 2) Node 1 transmits a response message to node 2; the response message includes the identifier information of node 1, the identifier information of node 2, the transmission power, and the selected rendezvous time set N_free com ;

[0027] 3) Node 2 waits for a response message from Node 1; if no response message is received, Node 2 assumes that Node 1 does not agree to establish a connection; otherwise, if Node 2 successfully receives a response message, Node 2 knows that Node 1 has confirmed the frame reservation, and Node 1 will start the frame reservation process. The frame reservation agreed between the two nodes is valid until the two nodes detect each other again.

[0028] Furthermore, in step S2, in order to meet the requirements of data volume, latency and service priority of each node, a priority queue is designed for each neighbor, and a priority is set for each node;

[0029] When a neighbor node request is received during the neighbor discovery phase, the priority queue information and node priority information are extracted, and the node priorities are grouped. Nodes with the same priority are placed in the same group, thus forming a list of nodes based on different priority groups, and time slots are allocated from high-priority groups to low-priority groups. When all nodes in the network have finally cycled through, they enter the next time slot allocation waiting period.

[0030] Furthermore, step S2 includes:

[0031] Step S201: During the frame reservation phase, a neighbor node broadcast request is received, priority information of the request is extracted, and added to a priority group queue;

[0032] Step S202: determine the priority level, assign priority time slots to the tasks with the highest priority, and update the time slot list;

[0033] Step S203: Allocate node time slots to all nodes in the priority group, and then allocate node time slots to the next priority group.

[0034] The present invention also discloses a directional antenna dynamic Ad hoc network simulation system built using the OPNET network simulation platform; the OPNET modeling mechanism is used to perform network simulation of the dynamic network time slot allocation method based on directional antennas as described above; and the network access time, network delay and network quality of the protocol are simulated and verified through the network topology design, node design and process design of the channel access protocol.

[0035] Furthermore, the establishment process of the directional antenna dynamic Ad hoc network simulation system includes a network layer modeling process, a node layer modeling process and a process layer modeling process.

[0036] Furthermore, the modeling process includes:

[0037] 1) In the process of network layer modeling, the simulation network area is set, the mobile nodes are arranged, the priority level of the nodes, the movement trajectory and the maximum movement speed of the nodes are set;

[0038] 2) In the process of node layer modeling, the protocol stack of the node model includes the network layer, data link layer and application layer; among them,

[0039] The network layer uses the AODV protocol;

[0040] The data link layer adopts the time division multiple access protocol based on directional beams of this scheme;

[0041] The application layer uses the OPNET original simple_source module to simulate the ad hoc network to send packets at a fixed rate and time interval;

[0042] In the process of process layer modeling, a finite state machine of the time division multiple access protocol based on directional beam is designed. The states of the finite state machine include initialization state, idle state, neighbor discovery state, and message broadcast state.

[0043] Initialization state, used to initialize various state variables and global variables and read simulation properties and parameters;

[0044] Idle state, used to stay in this state when the simulation process does not need to do any action;

[0045] Message broadcast status, used to broadcast its own status information to surrounding nodes after the node joins the network;

[0046] The neighbor discovery state discovers the neighbor node information broadcast and implements the three-way handshake process.

[0047] The present invention can achieve one of the following beneficial effects:

[0048] The present invention discloses a dynamic network time slot allocation method based on directional antennas and a network simulation system. The present invention designs a dynamic time slot allocation method for a dynamic Ad Hoc network based on directional antennas, divides a channel into multiple time slots according to the time axis direction, and allocates nodes in the network to one or more time slots for message transmission; designs a time slot allocation scheme based on priority, and uses the network multi-service transmission requirements by adding node priority information; based on OPNET network simulation software, designs a dynamic time slot allocation protocol modeling for a directional antenna dynamic Ad hoc network based on OPNET, builds a network topology structure for network simulation, and realizes the reduction of network load and delay in a drone self-organizing network scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.

[0050] Figure 1 is a flow chart of a method for dynamic network time slot allocation based on directional antennas in an embodiment of the present invention;

[0051] Figure 2 The following is a flowchart of priority allocation in an embodiment of the present invention. DETAILED DESCRIPTION

[0052] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used to illustrate the principles of the present invention together with the embodiments of the present invention.

[0053] An embodiment of the present invention discloses a method for dynamic network time slot allocation based on directional antennas, such as Figure 1 As shown, including:

[0054] Step S1, nodes in the dynamic ad hoc network perform neighbor discovery, frame reservation and data transmission based on a time division multiple access protocol based on directional beams;

[0055] During the neighbor discovery period, power level negotiation and time slot reservation confirmation are performed between nodes; during the frame reservation period, reconnection and time slot confirmation are performed between nodes; during the data transmission period, data transmission between nodes is performed with negotiated power and reserved time slots;

[0056] Step S2: During the dynamic ad hoc network data transmission process, quality of service assurance including data transmission size, transmission delay and service priority of each node is performed;

[0057] By establishing a node list based on different priority groups, time slots are allocated from high priority groups to low priority groups according to the priority of neighbor nodes to meet the output transmission service needs between nodes.

[0058] Specifically, the nodes in this embodiment are ground nodes or airborne nodes equipped with directional beam antennas to obtain high channel gain; in the ad hoc network, communication is carried out in three dimensions, communication occurs between ground nodes and airborne nodes, communication occurs between ground nodes at different altitudes, and communication occurs between airborne nodes flying at different altitudes.

[0059] The time division multiple access protocol based on directional beams divides the channel into multiple time slots along the time axis. Under the TDMA mode, nodes in the network can be allocated to one or more time slots to transmit information to meet the bandwidth information required by the nodes.

[0060] like Figure 2 As shown, time is divided into several frames, the first subframe is used for neighbor discovery, the second subframe is used for two nodes to reconfirm the connection found in the neighbor discovery process and store information, and the third subframe is data transmission. Each frame is divided into several time slots.

[0061] Each subframe is divided into multiple time periods. Each time slot during neighbor discovery / reservation consists of multiple mini-slots. During both neighbor discovery and reservation periods, a three-way handshake is required for power level negotiation and reservation confirmation. The three-way information content used in neighbor discovery is different from that used in reservation. Assume that the first subframe has n mini-slots and the second subframe has r mini-slots. The values ​​of n and r may be different and are configurable during network configuration. The third subframe has M time slots.

[0062] Specifically, in step S1, it includes:

[0063] Step S101: During neighbor discovery, a pair of nodes with directional antennas that form direct communication conditions complete the power level negotiation of communication and the reservation confirmation of communication time slots through a three-way handshake;

[0064] Step S102: During the frame reservation period, reconnect according to the agreed time slot and agreed direction, and confirm the time slot;

[0065] Step S103: During data transmission, data transmission between nodes is performed in the reserved time slots at the negotiated time slots.

[0066] More specifically,

[0067] A pair of nodes with directional antennas can communicate directly if the line connecting them is contained within the current transmit beam of one node and the current receive beam of the other node. Both nodes must point their beams toward each other at the same time and must be in complementary transmit / receive mode (i.e. one node transmits and the other receives).

[0068] In an ad hoc network such as a drone, communication occurs in three dimensions: between ground nodes and airborne nodes, between ground nodes at different altitudes, and between airborne nodes flying at different altitudes. To formalize this condition, assume and are the transmission and reception directions of the two nodes respectively. For narrow beam antennas, communication between two nodes requires that the two beams point in opposite directions and are in complementary transmission / reception mode, that is:

[0069]

[0070] In this embodiment, the scanning of a node is defined as a sequence of directional antenna pointing and patterns, which covers the entire search volume minimally through the area formed by the intersection of the volume and the beam with a width of ω centered at each pointing direction.

[0071] In each scan, the node scans in a predetermined order. When scanning, the node sends a broadcast in the specified direction of each antenna beam. When listening, the node waits for a broadcast in the specified direction of each antenna beam. If the listening node receives a broadcast, it will respond with its own broadcast in a short time interval according to the direction and hope to receive a receipt.

[0072] When selecting neighbor nodes for establishing communication, a node may detect all potential neighbors in a single directional sequence scan, but it usually takes multiple scans to find them. The lower and upper bounds of the number of scans required for all nodes in the network to discover all their potential neighbors depend on the characteristics of the realizable network graph and the node selection algorithm used by the nodes for selection, scanning, and monitoring. This scheme uses a deterministic mode selection algorithm. The initialization parameters of each node are N and j, where j∈{0,...N-1} (its unique identifier) ​​and N is the maximum number of nodes in the network. If the two nodes are within reach, they can be detected by each other in at most log2N scans.

[0073] Specifically, the three-way handshake during neighbor discovery includes:

[0074] 1) First handshake: Node 1, as the initiator of the handshake, broadcasts the handshake request information to potential neighbors at the maximum transmit power of its transceiver;

[0075] 2) Second handshake; Node 2, as the handshake responder, listens to the broadcasted handshake request information; if no information is received, Node 2 discards the handshake; if the information is received and Node 1 is determined to be a potential neighbor after obtaining the identifier of Node 1, Node 2 broadcasts a handshake response information to Node 1; the power level of the broadcasted handshake response information is determined according to the power of the broadcasted handshake response information of Node 1 received by Node 2;

[0076] The handshake response includes the identifier information of node 1, the identifier information of node 2, the transmission power, the consent information and the idle time slot information of the node;

[0077] The idle time slot information of the node is a binary vector N_free2, whose dimension is m×r, where m is the number of subframes that can be reserved, and r is the number of mini time slots of the second subframe.

[0078] Specifically, during the second handshake, after node 2 receives the information and obtains the identifier of node 1, it receives the received power rcv of the broadcast signal of node 1. 1,1 , calculate the transmission power trn1 of node 2, if trn1>trn max , node 2 believes that it is unable to establish a neighbor relationship with node 1. If trn1<trn max , node 2 will continue handshaking.

[0079] Among them, the transmission power of node 2 trn1=(rcv 1,1 -T)+VCSManginPower, where T is the antenna gain of node 2, and VCSManginPower is a configuration parameter that takes attenuation and other factors into consideration.

[0080] Node 1 is determined to be a potential neighbor; Node 2 will start to establish a future meeting time period with the potential neighbor; the future meeting time period is used by Node 2 to evaluate the relationship between the two nodes.

[0081] In this handshake, the node 2 re-evaluates the neighbor relationship between the node 2 and the node 1 according to two situations to make frame reservations; wherein,

[0082] Case (1) Node 1 and Node 2 have detected each other at some time in the past and have agreed to reconfirm their connection and make an appointment at some time in the future;

[0083] Case (2): Node 1 and Node 2 have never detected each other before, or have detected each other before but could not agree on a time to re-secure the connection and make frame reservations.

[0084] Node 2 will indicate whether it is situation (1) or situation (2) in the consent information field indicating consent or disagreement;

[0085] After establishing the future rendezvous time with node 1, node 2 sends a handshake response message to node 1 at a transmission power of trn1.

[0086] The handshake response information includes the identifier information of node 1, the identifier information of node 2, the transmission power, the consent information and the available binary vector N_free2 of free time slots, whose dimension is m×r, m is the number of subframes that can be reserved, and r is the number of mini time slots of the second subframe.

[0087] 3) The third handshake; Node 1 listens to the handshake response information returned by Node 2; If no information is received, Node 1 discards the handshake; If the information is successfully received, Node 1 calculates the rendezvous time with Node 2, and then broadcasts the handshake confirmation information to Node 2 for Node 2 to confirm the handshake; The power level of the broadcast handshake confirmation information is determined according to the transmission power in the handshake response information broadcast by Node 2;

[0088] The handshake confirmation information includes the identifier information of node 1, the identifier information of node 2, the transmission power, and the node rendezvous time.

[0089] In the third handshake, in case (1), node 1 agrees to the previous agreement and confirms with node 2 that they will make frame reservations at the agreed rendezvous time set.

[0090] In the third handshake, in case (2), the node rendezvous time determination process includes:

[0091] 1) Node 1 first calculates the selected rendezvous time set N_free com , where N_free com=N_free1&N_free2, where N_free1 is the available time slot of node 1; N_free2 is the free time slot of node 2 obtained by the second handshake;

[0092] 2) Node 1 transmits a response message to node 2 at a transmission power of trn1; the response message includes the identifier information of node 1, the identifier information of node 2, the transmission power trn1, and the selected rendezvous time set N_free com ;

[0093] 3) Node 2 waits for a response message from Node 1; if no response message is received, Node 2 assumes that Node 1 does not agree to establish a connection; otherwise, if Node 2 successfully receives a response message, Node 2 knows that Node 1 has confirmed the frame reservation, and Node 1 will start the frame reservation process. The frame reservation agreed between the two nodes is valid until the two nodes detect each other again.

[0094] At this point, the description of the three-way handshake is complete.

[0095] During the neighbor discovery process, two nodes detect each other and agree on a rendezvous time, during which the two nodes will reconnect and check whether the appointment can be completed. When re-detecting each other and making an appointment, the two nodes only need to point to each other in the direction agreed upon during neighbor discovery in the reserved sub-slot. If the two nodes can find each other in this direction, they must wait until the next frame or the next sub-slot within the neighbor discovery time to make an appointment.

[0096] In step S2, in order to meet the requirements of data volume, latency and service priority of each node, a priority queue is designed for each neighbor, and a priority is set for each node;

[0097] When a neighbor node request is received during the neighbor discovery phase, the priority queue information and node priority information are extracted, and the node priorities are grouped. Nodes with the same priority are placed in the same group, thus forming a list of nodes based on different priority groups, and time slots are allocated from high-priority groups to low-priority groups. When all nodes in the network have finally cycled through, they enter the next time slot allocation waiting period.

[0098] Specifically, Figure 2 As shown, step S2 includes:

[0099] Step S201: During the frame reservation phase, a neighbor node broadcast request is received, priority information of the request is extracted, and added to a priority group queue;

[0100] Step S202: determine the priority level, assign priority time slots to the tasks with the highest priority, and update the time slot list;

[0101] 1) Determine whether the current priority is the highest; if yes, allocate time slots according to the node request; if no, continue to search for the highest priority node;

[0102] 2) After allocating time slots to the requesting node, update the time slot allocation list; 3) Determine whether the priority group has been allocated. If not, return to step 2 for the next node to allocate time slots according to the request of the node; if yes, proceed to the next step;

[0103] Step S203: Allocate node time slots to all nodes in the priority group, and then allocate node time slots to the next priority group.

[0104] In step S203, when entering into the time slot allocation of the next priority group, the allocation process of steps 1)-3) can be repeated.

[0105] In an embodiment of the present invention, a directional antenna dynamic Ad hoc network simulation system is constructed using the OPNET network simulation platform; the network topology design, node design and process design of the channel access protocol are performed through the OPNET modeling mechanism, which is used to simulate and verify the protocol's network access time, network delay and network quality.

[0106] OPNET software adopts a three-layer modeling mechanism, namely the network layer, node layer and process layer. The network layer consists of subnets, nodes and communication links. The network layer setting describes the topology of the network. The node layer consists of functional entities and the data flow between them. The node layer simulates the communication process of communication nodes. The process layer consists of process models, and process behavior is implemented by programming languages.

[0107] Specifically, the establishment process of the directional antenna dynamic Ad hoc network simulation system includes a network layer modeling process, a node layer modeling process and a process layer modeling process.

[0108] More specific modeling process includes:

[0109] 1) In the process of network layer modeling, the simulation network area is set, the mobile nodes are arranged, the priority level of the nodes, the movement trajectory and the maximum movement speed of the nodes are set;

[0110] Specifically, a 6 km × 6 km simulation network area is selected, 50 mobile nodes are deployed in the simulation network area, and according to a certain moving trajectory, the maximum moving speed of the nodes is set to 10 m / h, and the priority levels of some nodes are set.

[0111] 2) In the process of node layer modeling, the protocol stack of the node model includes the network layer, data link layer and application layer; among them,

[0112] The network layer uses the AODV protocol;

[0113] The data link layer adopts the time division multiple access protocol based on directional beams of this scheme;

[0114] The application uses the original simple_source module of OPNET to simulate the ad hoc network to send packets at a fixed rate and time interval.

[0115] 3) In the process of process layer modeling, a finite state machine of the time division multiple access protocol based on directional beam is designed. The states of the finite state machine include initialization state, idle state, neighbor discovery state, and message broadcast state.

[0116] Initialization state, used to initialize various state variables and global variables and read simulation properties and parameters;

[0117] Idle state, used to stay in this state when the simulation process does not need to do any action;

[0118] Message broadcast status, used to broadcast its own status information to surrounding nodes after the node joins the network;

[0119] The neighbor discovery state discovers the neighbor node information broadcast and implements the three-way handshake process.

[0120] Compared with the prior art, the above technical solutions conceived by the present invention can achieve the following

[0121] Beneficial effects:

[0122] The present invention improves the standard wireless model in OPNET, constructs wireless mobile nodes based on the improved wireless model, and constructs a drone self-organizing network, so that the network has a larger load capacity and lower end-to-end delay under high-speed dynamic motion.

[0123] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A dynamic network time slot allocation method based on directional antenna, It is characterized in that include: Step S1, nodes in the dynamic ad hoc network perform neighbor discovery, frame reservation and data transmission based on a time division multiple access protocol based on directional beams; During the neighbor discovery period, power level negotiation and time slot reservation confirmation are performed between nodes; during the frame reservation period, reconnection and time slot confirmation are performed between nodes; during the data transmission period, data transmission between nodes is performed with negotiated power and reserved time slots; Step S2: During the dynamic ad hoc network data transmission process, quality of service assurance including data transmission size, transmission delay and service priority of each node is performed; By establishing a node list based on different priority groups, time slots are allocated from high priority groups to low priority groups according to the priority of neighbor nodes to meet the output transmission service needs between nodes; In step S1, it includes: Step S101: During neighbor discovery, a pair of nodes with directional antennas that form direct communication conditions complete the power level negotiation of communication and the reservation confirmation of communication time slots through a three-way handshake; Step S102: During the frame reservation period, reconnect according to the agreed time slot and agreed direction, and confirm the time slot; Step S103, during data transmission, data transmission between nodes is performed in the reserved time slot at the negotiated time slot; The three-way handshake during neighbor discovery consists of: 1) First handshake: Node 1, as the initiator of the handshake, broadcasts the handshake request information to potential neighbors at the maximum transmit power of its transceiver; 2) Second handshake; Node 2, as the handshake responder, listens to the broadcasted handshake request information; if no information is received, Node 2 discards the handshake; if the information is received and Node 1 is determined to be a potential neighbor after obtaining the identifier of Node 1, Node 2 broadcasts a handshake response information to Node 1; the power level of the broadcasted handshake response information is determined according to the power of the broadcasted handshake response information of Node 1 received by Node 2; The handshake response includes the identifier information of node 1, the identifier information of node 2, the transmission power, the consent information and the idle time slot information of the node; The idle time slot information of this node is a binary vector N_free 2 , whose dimension is m×r, where m is the number of subframes that can be reserved, and r is the number of mini-slots in the second subframe; During the second handshake, after node 2 receives the information and obtains the identifier of node 1, it receives the received power rcv of the broadcast signal of node 1. 1,1 , calculate the transmission power trn of node 2 1 , if trn 1 >trn max , node 2 believes that it is unable to establish a neighbor relationship with node 1. If trn 1 <trn max , node 2 will continue handshaking; Among them, the transmission power of node 2 is trn 1 =(rcv 1,1 -T)+VCSManginPower, where T is the antenna gain of node 2, VCSManginPower is a configuration parameter that takes into account factors such as attenuation, and trn max is the maximum value of the transmission power of node 2; Determine that node 1 is a potential neighbor; node 2 will start to establish a future meeting time period with the potential neighbor; the future meeting time period is used by node 2 to evaluate the relationship between the two nodes; In this handshake, the node 2 re-evaluates the neighbor relationship between the node 2 and the node 1 according to two situations to make frame reservation; wherein, Case 1: Node 1 and Node 2 have detected each other at some time in the past and have agreed to reconfirm their connection and make an appointment at some time in the future. Case 2: Node 1 and Node 2 have never detected each other before, or have detected each other before but could not agree on the time to re-guarantee the connection and make frame reservation; Node 2 will indicate whether it is case 1 or case 2 in the consent information field indicating consent or disagreement; After establishing the future rendezvous time with node 1, node 2 transmits at power trn 1 Send a handshake response message to node 1; 3) The third handshake; Node 1 listens to the handshake response information returned by Node 2; If no information is received, Node 1 discards the handshake; If the information is successfully received, Node 1 calculates the rendezvous time with Node 2, and then broadcasts the handshake confirmation information to Node 2 for Node 2 to confirm the handshake; The power level of the broadcast handshake confirmation information is determined according to the transmission power in the handshake response information broadcast by Node 2; The handshake confirmation information includes the identifier information of node 1, the identifier information of node 2, the transmission power and the node rendezvous time; In the third handshake, in case 1, node 1 agrees to the previous agreement and confirms with node 2 that they will make frame reservations at the agreed rendezvous time set; In the third handshake, under situation 2, the node rendezvous time determination process includes: 1) Node 1 first calculates the selected rendezvous time set N_free com , where N_free com =N_free 1 &N_free 2 , where N_free 1 is the available time slot of node 1; N_free 2 The idle time slot of node 2 obtained for the second handshake; 2) Node 1 transmits with power trn 1 Send a response message to node 2; the response message includes the identifier information of node 1, the identifier information of node 2, the transmission power trn 1 and the selected rendezvous time set N_free com ; 3) Node 2 waits for a response message from Node 1; if no response message is received, Node 2 assumes that Node 1 does not agree to establish a connection; otherwise, if Node 2 successfully receives a response message, Node 2 knows that Node 1 has confirmed the frame reservation, and Node 1 will start the frame reservation process. The frame reservation agreed between the two nodes is valid until the two nodes detect each other again.

2. The method for dynamic network time slot allocation based on directional antenna according to claim 1, It is characterized in that In step S2, in order to meet the requirements of data volume, latency and service priority of each node, a priority queue is designed for each neighbor, and a priority is set for each node; When a neighbor node request is received during the neighbor discovery phase, the priority queue information and node priority information are extracted, and the node priorities are grouped. Nodes with the same priority are placed in the same group, thus forming a list of nodes based on different priority groups, and time slots are allocated from high-priority groups to low-priority groups. When all nodes in the network have finally cycled through, they enter the next time slot allocation waiting period.

3. The method for dynamic network time slot allocation based on directional antenna according to claim 1, It is characterized in that Step S2 includes: Step S201: During the frame reservation phase, a neighbor node broadcast request is received, priority information of the request is extracted, and added to a priority group queue; Step S202: determine the priority level, assign priority time slots to the tasks with the highest priority, and update the time slot list; Step S203: Allocate node time slots to all nodes in the priority group, and then allocate node time slots to the next priority group.

4. A directional antenna dynamic Ad hoc network simulation system built using the OPNET network simulation platform, It is characterized in that The OPNET network simulation platform adopts a three-layer modeling mechanism, namely the network layer, node layer and process layer. The network layer consists of subnets, nodes and communication links. The network layer setting describes the topological structure of the network. The node layer consists of functional entities and the data flows between them. The node layer simulates the communication process of communication nodes. The process layer consists of process models, and process behaviors are implemented by programming languages; The modeling mechanism of OPNET is used to perform network simulation of the dynamic network time slot allocation method based on directional antenna as described in any one of claims 1 to 3; the network access time, network delay and network quality of the protocol are simulated and verified through the network topology design, node design and process design of the channel access protocol; The establishment process of the directional antenna dynamic Ad hoc network simulation system includes a network layer modeling process, a node layer modeling process and a process layer modeling process; The modeling process includes: 1) In the process of network layer modeling, the simulation network area is set, the mobile nodes are arranged, the priority level of the nodes, the movement trajectory and the maximum movement speed of the nodes are set; 2) In the process of node layer modeling, the protocol stack of the node model includes the network layer, data link layer and application layer; among them, The network layer uses the AODV protocol; The data link layer adopts the time division multiple access protocol based on directional beams of this scheme; The application uses the original simple_source module of OPNET to simulate the ad hoc network to send packets at a fixed rate and time interval; In the process of process layer modeling, a finite state machine of the time division multiple access protocol based on directional beam is designed. The states of the finite state machine include initialization state, idle state, neighbor discovery state, and message broadcast state. Initialization state, used to initialize various state variables and global variables and read simulation properties and parameters; Idle state, used to stay in this state when the simulation process does not need to do any action; Message broadcast status, used to broadcast its own status information to surrounding nodes after the node joins the network; The neighbor discovery state discovers the neighbor node information broadcast and implements the three-way handshake process.

Citation Information

Patent Citations

  • TDMA ad-hoc network beam selection method based on directional antenna

    CN105790817A

  • Multifrequency time division multiple access system and method based on directional antennas

    CN107979872A

  • Method for the dynamic reservation and allocation of time slots in a network with service warranty

    US20110013601A1