CN107743047B - Wireless directional relay communication method and system - Google Patents
Wireless directional relay communication method and system Download PDFInfo
- Publication number
- CN107743047B CN107743047B CN201711013767.8A CN201711013767A CN107743047B CN 107743047 B CN107743047 B CN 107743047B CN 201711013767 A CN201711013767 A CN 201711013767A CN 107743047 B CN107743047 B CN 107743047B
- Authority
- CN
- China
- Prior art keywords
- address
- relay
- data packet
- relay node
- control terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 35
- 238000000034 method Methods 0.000 title claims abstract description 23
- 230000005540 biological transmission Effects 0.000 claims abstract description 55
- 238000012545 processing Methods 0.000 claims abstract description 13
- 230000004044 response Effects 0.000 claims description 79
- 238000013480 data collection Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 abstract description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 10
- 238000005259 measurement Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000002262 irrigation Effects 0.000 description 2
- 238000003973 irrigation Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000003750 conditioning effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000003621 irrigation water Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/14—Relay systems
- H04B7/15—Active relay systems
- H04B7/185—Space-based or airborne stations; Stations for satellite systems
- H04B7/18502—Airborne stations
- H04B7/18504—Aircraft used as relay or high altitude atmospheric platform
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Astronomy & Astrophysics (AREA)
- Aviation & Aerospace Engineering (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明涉及无线定向中继通信方法和系统,所述方法包括步骤:中继节点接收并解析数据包,所述数据包包括发送地址、中继地址、目标地址和数据信息;判断数据包中的中继地址是否为预先确定的中继路径中,位于本中继节点之前的最近一个中继节点的地址,如果是,则将数据包中的中继地址修改为当前中继节点的中继地址,并将中继地址修改后的数据包,按照预先确定的中继路径转发至当前传输方向下的下一个中继节点;否则不做处理。本发明方法通过中继的方式可以实现远距离传输,且中继节点只转发任务数据包,而对于接收到的其他数据包不做处理,避免占用带宽。
The invention relates to a wireless directional relay communication method and system. The method comprises the steps of: a relay node receives and parses a data packet, the data packet includes a sending address, a relay address, a target address and data information; Whether the relay address is the address of the nearest relay node before the current relay node in the predetermined relay path, if so, modify the relay address in the data packet to the relay address of the current relay node , and forward the data packet with the modified relay address to the next relay node in the current transmission direction according to the predetermined relay path; otherwise, no processing is performed. The method of the invention can realize long-distance transmission by means of relay, and the relay node only forwards the task data packets, and does not process other received data packets, so as to avoid occupying the bandwidth.
Description
技术领域technical field
本发明涉及通信技术领域,特别涉及一种无线定向中继通信方法及系统。The present invention relates to the field of communication technologies, and in particular, to a wireless directional relay communication method and system.
背景技术Background technique
宁夏是农业大省,耕地面积114.5万公顷,人均占有耕地2.82亩,高于全国平均水平,宁夏具有发展农业的良好条件,但宁夏地处西北干旱地带,水资源相对紧张,灌溉用水主要来源于黄河,黄河水利相关工程直接关系宁夏地区工农业发展的根本。Ningxia is a major agricultural province, with an area of 1.145 million hectares of arable land and 2.82 mu of arable land per capita, which is higher than the national average level. Ningxia has good conditions for developing agriculture, but Ningxia is located in the arid region of the northwest, where water resources are relatively scarce. The main source of irrigation water is The Yellow River and Yellow River water conservancy related projects are directly related to the foundation of industrial and agricultural development in Ningxia.
精确对水资源进行调控管理是实现水资源合理使用的前提。引黄灌渠斗口,特指干渠通向支渠的放水闸口。按照引黄灌区现行水资源管理办法,斗口流量是水管部门与用水单位结算水费的法定依据,因此对于斗口流量准确测量很重要。人工测量调整不便,计量准确度存在人为因素,因此目前多采用自动流量测量技术。然而自动流量测量技术需要将采集数据从采集点传输到调节系统。Accurate regulation and management of water resources is the premise of realizing the rational use of water resources. The bucket mouth of the Yellow River irrigation canal, especially the water discharge gate from the main canal to the branch canal. According to the current water resources management method in the Yellow River Diversion Irrigation District, the bucket mouth flow is the legal basis for the water management department and the water consumption unit to settle the water fee, so it is very important to accurately measure the bucket mouth flow. Manual measurement and adjustment are inconvenient, and there are human factors in the measurement accuracy, so at present, automatic flow measurement technology is mostly used. However, automatic flow measurement techniques require the transfer of collected data from the collection point to the conditioning system.
解决野外斗口流量测量与调节系统的通信问题可以采用有线或者无线通信的方式。有线通信方式需要远程布设通信线路,布设与维护工作量大,对于野外水利渠道施工难度更大,且成本高。成熟的3G/4G无线通信技术完全可以解决通信问题,但该类技术的使用成本较高。Wifi与Zigbee等协议通信协议成熟度高,使用广泛,但其通信距离有限,难以满足野外无线通信的要求。To solve the communication problem of the field bucket mouth flow measurement and regulation system, wired or wireless communication can be used. The wired communication method requires the remote layout of communication lines, which requires a lot of work for layout and maintenance, and is more difficult and costly for the construction of water conservancy channels in the wild. The mature 3G/4G wireless communication technology can completely solve the communication problem, but the use cost of such technology is relatively high. Protocol communication protocols such as Wifi and Zigbee are highly mature and widely used, but their communication distance is limited, which makes it difficult to meet the requirements of wireless communication in the field.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于改善现有技术中所存在的通信距离受限或成本高的不足,提供一种无线定向中继通信方法及系统。The purpose of the present invention is to improve the shortcomings of limited communication distance or high cost in the prior art, and to provide a wireless directional relay communication method and system.
为了实现上述发明目的,本发明实施例提供了以下技术方案:In order to achieve the above purpose of the invention, the embodiments of the present invention provide the following technical solutions:
一种无线定向中继通信方法,包括步骤:A wireless directional relay communication method, comprising the steps of:
远程控制端向中继节点发送数据采集请求的第一请求数据包,所述第一请求数据包包括发送地址、中继地址、目标地址和请求命令信息;中继地址设置为远程控制端地址,发送地址为远程控制端地址,目标地址为期望采集数据的目标中继节点地址;The remote control terminal sends the first request data packet of the data collection request to the relay node, and the first request data packet includes the sending address, the relay address, the target address and the request command information; the relay address is set as the remote control terminal address, The sending address is the address of the remote control terminal, and the target address is the address of the target relay node that expects to collect data;
中继节点接收并解析第一请求数据包,根据第一请求数据包中的发送地址和目标地址和预先确定的中继路径,确定当前传输方向,再判断第一请求数据包中的中继地址是否为当前传输方向下,位于本中继节点之前的最近一个中继节点的地址,如果是,则将请求数据包中的中继地址修改为本中继节点的地址,并将中继地址修改后的第一请求数据包,按照预先确定的中继路径,转发至当前传输方向下的下一个中继节点;否则不做处理。The relay node receives and parses the first request data packet, determines the current transmission direction according to the sending address and destination address in the first request data packet and the predetermined relay path, and then determines the relay address in the first request data packet Whether it is the address of the nearest relay node before this relay node in the current transmission direction, if so, modify the relay address in the request packet to the address of this relay node, and modify the relay address The subsequent first request data packet is forwarded to the next relay node in the current transmission direction according to the predetermined relay path; otherwise, no processing is performed.
目标中继节点接收到第一请求数据包后,根据第一请求数据包中的目标地址确定自己是目标中继节点,则将采集到的数据信息整合成响应数据包发送,所述响应数据包包括发送地址、中继地址、目标地址和所述数据信息;中继地址设置为当前中继节点地址,发送地址为当前中继节点地址,目标地址为远程控制端地址;After receiving the first request data packet, the target relay node determines that it is the target relay node according to the target address in the first request data packet, then integrates the collected data information into a response data packet and sends the response data packet. Including a sending address, a relay address, a target address and the data information; the relay address is set to the current relay node address, the sending address is the current relay node address, and the target address is the remote control terminal address;
中继节点接收并解析响应数据包,根据响应数据包中的发送地址和目标地址和预先确定的中继路径,确定当前传输方向,再判断响应数据包中的中继地址是否为当前传输方向下,位于本中继节点之前的最近一个中继节点的地址,如果是,则将响应数据包中的中继地址修改为本中继节点的地址,并将中继地址修改后的响应数据包,按照预先确定的中继路径,转发至当前传输方向下的下一个中继节点;否则不做处理。The relay node receives and parses the response data packet, determines the current transmission direction according to the sending address and destination address in the response data packet and the predetermined relay path, and then judges whether the relay address in the response data packet is in the current transmission direction. , the address of the nearest relay node before this relay node, if so, modify the relay address in the response packet to the address of this relay node, and modify the response packet with the modified relay address, It is forwarded to the next relay node in the current transmission direction according to the predetermined relay path; otherwise, no processing is performed.
上述方法中,一方面,通过中继的方式可以实现远距离传输,解决WiFi等方式传输距离有限的问题;另一方面,中继节点只转发与自己有关的任务(任务是指自己作为中继路径中的一员,具有传输数据包的任务)数据包,而对于其他数据包则不做处理,避免转发其他数据包所占用的带宽,进而降低通信成本。In the above method, on the one hand, long-distance transmission can be realized by means of relay, which solves the problem of limited transmission distance in WiFi and other methods; A member of the path has the task of transmitting data packets) data packets, but does not process other data packets, avoiding the bandwidth occupied by forwarding other data packets, thereby reducing communication costs.
本发明实施例还提供了一种无线定向中继通信系统,包括远程控制端、多个中继节点和多个信息采集设备,一个信息采集设备对应一个中继节点,信息采集设备采集到的数据信息通过与其对应的中继节点发送出去;多个中继节点之间的中继路径预先已确定;The embodiment of the present invention also provides a wireless directional relay communication system, including a remote control terminal, multiple relay nodes and multiple information collection devices, one information collection device corresponds to one relay node, and the data collected by the information collection device The information is sent out through its corresponding relay nodes; the relay paths between multiple relay nodes are predetermined;
远程控制端向中继节点发送数据采集请求的第一请求数据包,所述第一请求数据包包括发送地址、中继地址、目标地址和请求命令信息;中继地址设置为远程控制端地址,发送地址为远程控制端地址,目标地址为期望采集数据的目标中继节点地址;The remote control terminal sends the first request data packet of the data collection request to the relay node, and the first request data packet includes the sending address, the relay address, the target address and the request command information; the relay address is set as the remote control terminal address, The sending address is the address of the remote control terminal, and the target address is the address of the target relay node that expects to collect data;
中继节点接收并解析第一请求数据包,根据第一请求数据包中的发送地址和目标地址和预先确定的中继路径,确定当前传输方向,再判断第一请求数据包中的中继地址是否为当前传输方向下,位于本中继节点之前的最近一个中继节点的地址,如果是,则将请求数据包中的中继地址修改为本中继节点的地址,并将中继地址修改后的第一请求数据包,按照预先确定的中继路径,转发至当前传输方向下的下一个中继节点;否则不做处理;The relay node receives and parses the first request data packet, determines the current transmission direction according to the sending address and destination address in the first request data packet and the predetermined relay path, and then determines the relay address in the first request data packet Whether it is the address of the nearest relay node before this relay node in the current transmission direction, if so, modify the relay address in the request packet to the address of this relay node, and modify the relay address The subsequent first request data packet is forwarded to the next relay node in the current transmission direction according to the predetermined relay path; otherwise, no processing is performed;
目标中继节点接收到第一请求数据包后,根据第一请求数据包中的目标地址确定自己是目标中继节点,则将采集到的数据信息整合成响应数据包发送,所述响应数据包包括发送地址、中继地址、目标地址和所述数据信息;中继地址设置为当前中继节点地址,发送地址为当前中继节点地址,目标地址为远程控制端地址;After receiving the first request data packet, the target relay node determines that it is the target relay node according to the target address in the first request data packet, then integrates the collected data information into a response data packet and sends the response data packet. Including a sending address, a relay address, a target address and the data information; the relay address is set to the current relay node address, the sending address is the current relay node address, and the target address is the remote control terminal address;
中继节点接收并解析响应数据包,根据响应数据包中的发送地址和目标地址和预先确定的中继路径,确定当前传输方向,再判断响应数据包中的中继地址是否为当前传输方向下,位于本中继节点之前的最近一个中继节点的地址,如果是,则将响应数据包中的中继地址修改为本中继节点的地址,并将中继地址修改后的响应数据包,按照预先确定的中继路径,转发至当前传输方向下的下一个中继节点;否则不做处理;The relay node receives and parses the response data packet, determines the current transmission direction according to the sending address and destination address in the response data packet and the predetermined relay path, and then judges whether the relay address in the response data packet is in the current transmission direction. , the address of the nearest relay node before this relay node, if so, modify the relay address in the response packet to the address of this relay node, and modify the response packet with the modified relay address, According to the predetermined relay path, forward to the next relay node in the current transmission direction; otherwise, no processing is performed;
远程控制端收到目标地址为远程控制地址的响应数据包后,解析响应数据包,获得响应数据包中的数据信息。After receiving the response data packet whose target address is the remote control address, the remote control terminal parses the response data packet to obtain data information in the response data packet.
在进一步优化的方案中,该系统还包括搭载于无人机的无人机控制端;In a further optimized solution, the system also includes a UAV control terminal mounted on the UAV;
远程控制端向无人机控制端发送数据采集请求的第二请求数据包,所述第二请求数据包包括发送地址、中继地址、目标地址和请求命令信息;中继地址设置为无人机控制端地址,发送地址为远程控制端地址,目标地址为期望采集数据的目标中继节点地址;The remote control terminal sends the second request data packet of the data collection request to the drone control terminal, and the second request data packet includes the sending address, the relay address, the target address and the request command information; the relay address is set to the drone The address of the control terminal, the sending address is the address of the remote control terminal, and the target address is the address of the target relay node that expects to collect data;
搭载于无人机的无人机控制端接收并解析第二请求数据包,识别第二请求数据包中的目标地址,无人机飞往目标地址对应的中继节点上空,将第二请求数据包发送给目标中继节点;The drone control terminal mounted on the drone receives and parses the second request data packet, identifies the target address in the second request data packet, and the drone flies over the relay node corresponding to the target address, and transmits the second request data The packet is sent to the target relay node;
目标中继节点接收并解析第二请求数据包,根据第二请求数据包中的目标地址确定自己为目标中继节点,则将采集到的数据信息整合成响应数据包发送,所述响应数据包包括发送地址、中继地址、目标地址和所述数据信息;再判断第二请求数据包中的中继地址是否为无人机控制端地址,若是,则将中继地址设置为无人机控制端地址,发送地址为当前中继节点地址,目标地址为远程控制端地址;The target relay node receives and parses the second request data packet, determines that it is the target relay node according to the target address in the second request data packet, then integrates the collected data information into a response data packet and sends the response data packet. Including the sending address, the relay address, the target address and the data information; then determine whether the relay address in the second request data packet is the drone control terminal address, and if so, set the relay address to the drone control terminal address, the sending address is the current relay node address, and the destination address is the remote control terminal address;
无人机控制端接收并解析响应数据包,将响应数据包发送至远程控制端;The drone control terminal receives and parses the response data packet, and sends the response data packet to the remote control terminal;
远程控制端收到响应数据包后,解析响应数据包,获得响应数据包中的数据信息。After receiving the response data packet, the remote control terminal parses the response data packet to obtain the data information in the response data packet.
与现有技术相比,本发明方法及系统,通过中继的方式可以实现远距离传输,解决WiFi等方式传输距离有限的问题;中继节点只转发与自己有关的任务数据包,而对于其他数据包则不做处理,避免转发其他数据包所占用的带宽,继而避免为转发其他数据包而消耗的非必须支出的费用,降低野外信息传输的通信成本,解决了野外斗口流量测量与调节系统的通信问题,具有良好的市场及经济效益。Compared with the prior art, the method and system of the present invention can realize long-distance transmission by means of relay, and solve the problem of limited transmission distance in WiFi and other means; the relay node only forwards the task data packets related to itself, and the other The data packets are not processed, avoiding the bandwidth occupied by forwarding other data packets, and then avoiding the unnecessary expenses consumed for forwarding other data packets, reducing the communication cost of field information transmission, and solving the measurement and adjustment of field mouth flow. The communication problem of the system has good market and economic benefits.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1为本发明实施例提供的一种无线定向中继通信系统的系统架构示意图。FIG. 1 is a schematic diagram of a system architecture of a wireless directional relay communication system according to an embodiment of the present invention.
图2为本发明实施例提供的另一种无线定向中继通信系统的系统架构示意图。FIG. 2 is a schematic diagram of a system architecture of another wireless directional relay communication system according to an embodiment of the present invention.
图3为图1所示无线定向中继通信系统中的一个中继节点的处理流程图。FIG. 3 is a process flow diagram of a relay node in the wireless directional relay communication system shown in FIG. 1 .
具体实施方式Detailed ways
下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. The components of the embodiments of the invention generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present invention.
请参阅图1,本实施例中提供的第一种无线定向中继通信系统,该系统中包括远程控制端、多个中继节点和多个信息采集设备,一个信息采集设备对应一个中继节点,信息采集设备采集到的数据信息通过与其对应的中继节点发送出去;多个中继节点之间的中继路径预先已确定。Referring to FIG. 1, the first wireless directional relay communication system provided in this embodiment includes a remote control terminal, multiple relay nodes and multiple information collection devices, and one information collection device corresponds to one relay node , the data information collected by the information collection device is sent out through the corresponding relay nodes; the relay paths between the multiple relay nodes are predetermined.
信息采集设备在采集到数据信息(例如野外斗口流量数据)后,传输给与其对应的中继节点,通过中继节点发送出去。After the information collection equipment collects data information (such as field bucket mouth flow data), it transmits it to the corresponding relay node, and sends it out through the relay node.
远程控制端需要信息采集设备采集到的数据信息时,远程控制端向中继节点发送数据采集请求的第一请求数据包,所述第一请求数据包包括发送地址、中继地址、目标地址和请求命令信息;中继地址设置为远程控制端地址,发送地址为远程控制端地址,目标地址为期望采集数据的目标中继节点的地址,即任何一个中继节点都可能作为目标中继节点。When the remote control terminal needs the data information collected by the information collection device, the remote control terminal sends the first request data packet of the data collection request to the relay node, and the first request data packet includes the sending address, the relay address, the target address and the Request command information; the relay address is set to the remote control terminal address, the sending address is the remote control terminal address, and the target address is the address of the target relay node that expects to collect data, that is, any relay node may be used as the target relay node.
如图1(图1中的箭头表示传输方向)、图3所示,中继节点接收到第一请求数据包后,首先解析第一请求数据包,获取到第一请求数据包中的发送地址、中继地址、目标地址、请求命令信息;然后根据第一请求数据包中的发送地址和目标地址和预先确定的中继路径,确定当前传输方向,再判断第一请求数据包中的中继地址是否为当前传输方向下,位于本中继节点之前的最近一个中继节点的地址,如果是,则根据第一请求数据包中的中继地址确定当前传输方向,并将第一请求数据包中的中继地址修改为当前中继节点的地址,然后将中继地址修改后的第一请求数据包,按照预先确定的中继路径,转发至当前传输方向下的下一个中继节点;若第一请求数据包中的中继地址不是预先确定的中继路径中,位于本中继节点之前的最近一个中继节点的地址,则不做处理。As shown in Figure 1 (the arrow in Figure 1 indicates the transmission direction) and Figure 3, after receiving the first request data packet, the relay node first parses the first request data packet, and obtains the sending address in the first request data packet , relay address, target address, request command information; then according to the sending address and target address in the first request packet and the predetermined relay path, determine the current transmission direction, and then determine the relay in the first request packet Whether the address is the address of the nearest relay node before the current relay node in the current transmission direction, if so, the current transmission direction is determined according to the relay address in the first request packet, and the first request packet The relay address in is modified to the address of the current relay node, and then the first request data packet with the modified relay address is forwarded to the next relay node in the current transmission direction according to the predetermined relay path; if If the relay address in the first request data packet is not in the predetermined relay path, the address of the nearest relay node before the current relay node is not processed.
目标中继节点接收到第一请求数据包后,解析第一请求数据包,根据第一请求数据包中的目标地址确定自己为目标中继节点,则将采集到的数据信息整合成响应数据包发送,所述响应数据包包括发送地址、中继地址、目标地址和所述数据信息;中继地址设置为当前中继节点地址(也就是自己的地址),发送地址为当前中继节点地址,目标地址为远程控制端地址。After receiving the first request data packet, the target relay node parses the first request data packet, determines itself as the target relay node according to the target address in the first request data packet, and integrates the collected data information into a response data packet Send, the response data packet includes a sending address, a relay address, a target address and the data information; the relay address is set to the current relay node address (that is, its own address), and the sending address is the current relay node address, The destination address is the remote console address.
其他(目标中继节点以外的)中继节点接收并解析响应数据包,获取到响应数据包中的发送地址、中继地址、目标地址、数据信息;然后根据响应数据包中的发送地址和目标地址和预先确定的中继路径,确定当前传输方向,再判断响应数据包中的中继地址是否为当前传输方向下,位于本中继节点之前的最近一个中继节点的地址,如果是,则将响应数据包中的中继地址修改为本中继节点的地址,然后将中继地址修改后的响应数据包,按照预先确定的中继路径,转发至当前传输方向下的下一个中继节点;否则不做处理。Other relay nodes (other than the target relay node) receive and parse the response data packet, and obtain the sending address, relay address, target address, and data information in the response data packet; address and predetermined relay path, determine the current transmission direction, and then determine whether the relay address in the response packet is the address of the nearest relay node before the current relay node in the current transmission direction, if so, then Modify the relay address in the response packet to the address of this relay node, and then forward the response packet with the modified relay address to the next relay node in the current transmission direction according to the predetermined relay path. ; otherwise, no processing is performed.
远程控制端收到目标地址为远程控制地址的响应数据包后,解析响应数据包,获得响应数据包中的数据信息,完成数据信息采集任务。After receiving the response data packet whose target address is the remote control address, the remote control terminal parses the response data packet, obtains data information in the response data packet, and completes the data information collection task.
需要说明的是,任何一个中继节点都可能作为目标中继节点,当其作为目标中继节点时需要将采集到的数据信息整合成响应数据包,当其不是作为目标中继节点时,只需要根据当前的传输方向转发至下一个中继节点。具体实现时,中继节点接收到数据包后,解析数据包后,先根据目标地址判断自己是否为目标中继节点,若不是,则先确定当前传输方向,再确定是否需要转发该数据包,若需要转发就转发至下一个中继节点,若不需要转发则不做处理,若判断出自己是目标中继节点,则将采集到的数据信息整合成响应数据包发送。It should be noted that any relay node may be used as a target relay node. When it is a target relay node, it needs to integrate the collected data information into a response data packet. When it is not a target relay node, only It needs to be forwarded to the next relay node according to the current transmission direction. In the specific implementation, after the relay node receives the data packet and parses the data packet, it first determines whether it is the target relay node according to the target address. If not, it first determines the current transmission direction, and then determines whether it needs to forward the data packet. If it needs to be forwarded, it will be forwarded to the next relay node. If it does not need to be forwarded, it will not be processed. If it is determined that it is the target relay node, the collected data information will be integrated into a response data packet and sent.
即是说,中继节点只转发与自己有关的数据包,与自己无关的数据包则不转发,因而可以避免转发与自己无关的数据包时所占用的带宽,即避免为此而额外支付的费用,降低通信成本。That is to say, the relay node only forwards the data packets related to itself, and does not forward the data packets that are not related to itself, so it can avoid the bandwidth occupied when forwarding the data packets that are not related to itself, that is, avoid paying extra for this. costs and reduce communication costs.
例如,假设系统中有20个中继节点,远程控制端的地址为0,20个中继节点的地址分别为1、2、3、……、20,且依据各个中继节点在已确定的中继路径中的位置而设定,例如,地址为4的中继节点在中继路径中,位于地址分别为3和5的中继节点之间。For example, assuming that there are 20 relay nodes in the system, the address of the remote control terminal is 0, the addresses of the 20 relay nodes are 1, 2, 3, . The position in the relay path is set, for example, the relay node with address 4 is located in the relay path between the relay nodes with
假定地址为8的中继节点为目标中继节点,目标中继节点将与其对应的信息采集设备采集到的数据信息整合成响应数据包发送,响应数据包包括发送地址、中继地址、目标地址和所述数据信息,中继地址设置为8,发送地址为8,目标地址为0。Assuming that the relay node with address 8 is the target relay node, the target relay node integrates the data information collected by its corresponding information collection device into a response data packet and sends, and the response data packet includes the sending address, the relay address, and the target address. And the data information, the relay address is set to 8, the sending address is 8, and the destination address is 0.
假如当前地址为4的中继节点接收到一个数据包(第一请求数据包、响应数据包、第二请求数据包,对于中继节点而言,都是数据包,对每个数据包添加前缀仅是为了进行区分),解析该数据包后获知数据包中的发送地址为8,中继地址为5,目标地址为0,则可以判定出当前的传输方向为向远程控制端传输。然后当前地址为4的中继节点将响应数据包中的中继地址修改为自己的地址(地址为4),然后将修改后的第一请求数据包(即第一请求数据包中的中继地址已变为4)转发给地址为3的中继节点。假如当前地址为4的中继节点接收到的数据包中没有中继地址(也就是其他通信方式下的数据包),或者中继地址为6,或者中继地址为3,那么当前地址为4的中继节点对该数据包不做任何处理。If the relay node with the current address of 4 receives a data packet (the first request data packet, the response data packet, and the second request data packet, for the relay node, they are all data packets, and a prefix is added to each data packet. It is only for distinguishing), after parsing the data packet, it is known that the sending address in the data packet is 8, the relay address is 5, and the destination address is 0, then it can be determined that the current transmission direction is the transmission to the remote control terminal. Then the relay node whose current address is 4 modifies the relay address in the response packet to its own address (address 4), and then modifies the modified first request packet (that is, the relay in the first request packet The address has changed to 4) forwarded to the relay node with
容易理解的,在中继路径中,第一个中继节点位于远程控制端与第二个中继节点之间,因此第一个中继节点转发远程控制端发送的数据包,即是说,第一个中继节点分析出数据包中的中继地址与发送地址均为远程控制端的地址时,会将该数据包中的中继地址更改为自己的地址,然后转发给中继路径中的下一个中继节点。同理地,目标中继节点接收到目的地址为自己的地址时,会将数据信息整合成响应数据包后,将响应数据包向当前传输方向下的下一个中继节点发送。It is easy to understand that in the relay path, the first relay node is located between the remote control terminal and the second relay node, so the first relay node forwards the data packets sent by the remote control terminal, that is, When the first relay node analyzes that both the relay address and the sending address in the data packet are the addresses of the remote control terminal, it will change the relay address in the data packet to its own address, and then forward it to the relay node in the relay path. next relay node. Similarly, when the target relay node receives the destination address as its own address, it integrates the data information into a response data packet, and sends the response data packet to the next relay node in the current transmission direction.
通过这样的定向传输方式,存在以下好处:Through such a directional transmission method, there are the following advantages:
1)通过中继的方式可以保障数据信息的有效传输。1) The effective transmission of data information can be guaranteed by means of relay.
2)不转发其他通信方式下的数据包,避免占用带宽,降低通信成本。2) Do not forward data packets in other communication modes to avoid occupying bandwidth and reduce communication costs.
3)不转发位于本中继节点之前2个及以上中继节点的数据包,可以避免本中继节点重复多次转发,降低成本。以上述为例,若地址为4的中继节点转发了地址为6的中继节点发送的数据包给地址为3的中继节点,那么还要转发一次地址为5的中继节点转发的数据包给地址为3的中继节点,造成重复转发。3) The data packets of two or more relay nodes located in front of the relay node are not forwarded, which can avoid repeated forwarding by the relay node and reduce the cost. Taking the above example as an example, if the relay node with address 4 forwards the data packet sent by the relay node with address 6 to the relay node with
4)不转发当前传输方向下位于本中继节点之后的中继节点的数据包,可以避免本中继节点之后的中继节点重复多次转发,降低成本。以上述为例,若地址为4的中继节点转发了地址为3的中继节点发送的数据包给3,地址为4的中继节点本来就已经转发过一次数据包(3的数据包是从4那里获得的)给地址为3的中继节点了,现在还要转发一次,造成重复转发。4) Not forwarding the data packets of the relay nodes located behind the relay node in the current transmission direction can avoid repeated forwarding by the relay nodes behind the relay node and reduce costs. Taking the above example as an example, if the relay node with address 4 forwards the data packet sent by the relay node with
5)避免造成数据包转发紊乱,导致远程控制端不能获得数据包,或者重复多次获得相同的数据包。5) Avoid causing disorder of data packet forwarding, so that the remote control terminal cannot obtain the data packet, or repeatedly obtains the same data packet.
在通信系统链路中,难免出现远程控制端发送的数据请求命令无法响应,例如中继节点设备故障,或者无线发射功率降低等造成通信中断情况,若出现此种情况则采集的数据信息将无法送达到远程控制端。因此,作为补充,如图3所示,本发明实施例提供的第二种无线定向中继通信系统中,还包括无人机控制端(搭载于无人机上,利用无人机可在空间移动的优势进行数据传送),利用无人机控制端直接发送数据包至远程控制端或目标中继节点。例如,当远程控制端在设定时间范围内没有收到目标地址为远程控制端地址的数据包时,远程控制端向无人机控制端发送数据采集请求的第二请求数据包,所述第二请求数据包包括发送地址、中继地址、目标地址和请求命令信息;中继地址设置为无人机控制端地址,发送地址为远程控制端地址,目标地址为期望采集数据的目标中继节点地址。In the communication system link, it is inevitable that the data request command sent by the remote control terminal cannot be responded to, such as the failure of relay node equipment, or the reduction of wireless transmission power, which causes communication interruption. If this happens, the collected data information will not be able to sent to the remote control terminal. Therefore, as a supplement, as shown in FIG. 3 , the second wireless directional relay communication system provided by the embodiment of the present invention also includes a drone control terminal (mounted on the drone, and the drone can be used to move in space) data transmission), using the UAV control terminal to directly send data packets to the remote control terminal or the target relay node. For example, when the remote control terminal does not receive a data packet whose target address is the address of the remote control terminal within the set time range, the remote control terminal sends a second request data packet of a data collection request to the drone control terminal. The second request data packet includes sending address, relay address, target address and request command information; the relay address is set to the drone control terminal address, the sending address is the remote control terminal address, and the target address is the target relay node that expects to collect data address.
搭载于无人机的无人机控制端接收并解析第二请求数据包,识别第二请求数据包中的目标地址,无人机飞往目标地址对应的中继节点上空,将第二请求数据包发送给目标中继节点。The drone control terminal mounted on the drone receives and parses the second request data packet, identifies the target address in the second request data packet, and the drone flies over the relay node corresponding to the target address, and transmits the second request data The packet is sent to the target relay node.
目标中继节点接收到第二请求数据包后,根据第二请求数据包中的目的地址判断出自己为目标地址,则将采集到的数据信息整合成响应数据包发送,所述响应数据包包括发送地址、中继地址、目标地址和所述数据信息;中继地址设置为无人机控制端地址,发送地址为当前中继节点地址,目标地址为远程控制端地址。After receiving the second request data packet, the target relay node determines that it is the target address according to the destination address in the second request data packet, and then integrates the collected data information into a response data packet for sending, and the response data packet includes Sending address, relay address, target address and the data information; the relay address is set as the drone control terminal address, the sending address is the current relay node address, and the target address is the remote control terminal address.
无人机控制端接收并解析响应数据包,将响应数据包发送至远程控制端。The drone control terminal receives and parses the response data packet, and sends the response data packet to the remote control terminal.
远程控制端收到响应数据包后,解析响应数据包,获得响应数据包中的数据信息,完成数据采集任务。After receiving the response data packet, the remote control terminal parses the response data packet, obtains the data information in the response data packet, and completes the data collection task.
在系统中不包括无人机控制端时,可以按照远程控制端地址为A,从A+1开始依次设置的方式对中继路径上的各个中继节点的地址进行设置。在系统中包括无人机控制端时,可以按照远程控制端地址为A,无人机控制端为A+1,从A+2开始依次设置的方式对中继路径上的各个中继节点的地址进行设置。When the UAV control terminal is not included in the system, the address of each relay node on the relay path can be set in the manner of setting the address of the remote control terminal as A and starting from A+1. When the UAV control terminal is included in the system, the address of the remote control terminal is A, the UAV control terminal is A+1, and the order of setting from A+2 to each relay node on the relay path can be performed. address to set.
需要说明的是,在包含无人机控制端的系统中,只有在中继链路中断后才通过无人机控制端的方式进行数据传送,因此,当中继链路完好时,地址为A+2的中继节点会转发发送地址为远程控制端的数据包。可以通过判断发送地址与中继地址来实现,若发送地址与中继地址一致,且均为远程控制端的地址,则转发该数据包给A+3,否则不做处理。一方面不仅可以不影响系统的正常运转,另一方面,当通过无人机控制端发送的方式进行数据传送时,若远程控制端发送的数据包也被与其相邻的中继节点也接收了,也不进行转发,因为即使转发了也不能传输至目标中继节点(因为中继链路已中继),这样可以避免造成数据包重复转发,占用带宽。It should be noted that, in the system including the UAV control terminal, data transmission is carried out through the UAV control terminal only after the relay link is interrupted. Therefore, when the relay link is intact, the address is A+2. The relay node will forward the data packets sent to the remote control terminal. It can be realized by judging the sending address and the relay address. If the sending address is the same as the relay address, and both are the addresses of the remote control terminal, the data packet is forwarded to A+3, otherwise it is not processed. On the one hand, it can not only not affect the normal operation of the system, but on the other hand, when data transmission is carried out by means of the UAV control terminal, if the data packets sent by the remote control terminal are also received by the adjacent relay nodes , and do not forward, because even if it is forwarded, it cannot be transmitted to the target relay node (because the relay link has been relayed), which can avoid repeated forwarding of data packets and occupy bandwidth.
需要说明的是,目标中继节点接收的都是数据包,需要通过分析数据包中的发送地址和中继地址来判断是第一请求数据包还的第二请求数据包。即是说,在包含无人机控制端的系统中,具体实现时,实际上中继节点通过目标地址判断出自己是目标中继节点后,先将采集到的数据信息整合成响应数据包发送,所述响应数据包包括发送地址、中继地址、目标地址和所述数据信息;然后再判断数据包中的中继地址是否为无人机控制端地址,若是,则将响应数据包中的中继地址设置为无人机控制端地址,即此时是通过无人机控制端的方式进行数据传送;否则将中继地址设置为当前中继节点地址,即此时是通过中继链路进行数据传送。这样不仅可以保障系统的正常运转,也可以避免在通过无人机控制端的方式进行数据传送时,部分中继节点也进行无效的(中继链路中断)数据转发,造成带宽被无效占用。It should be noted that all the data packets received by the target relay node need to be determined by analyzing the sending address and the relay address in the data packets to determine whether it is the second request data packet returned by the first request data packet. That is to say, in the system including the UAV control terminal, in the actual implementation, after the relay node determines that it is the target relay node through the target address, it first integrates the collected data information into a response data packet and sends it. The response data packet includes the sending address, the relay address, the target address and the data information; then judge whether the relay address in the data packet is the drone control terminal address, and if so, will respond to the data packet in the The relay address is set to the address of the drone control terminal, that is, the data is transmitted through the drone control terminal at this time; otherwise, the relay address is set to the current relay node address, that is, the data is transmitted through the relay link at this time. send. This can not only ensure the normal operation of the system, but also prevent some relay nodes from performing invalid (relay link interruption) data forwarding when data is transmitted through the UAV control terminal, resulting in invalid bandwidth occupation.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711013767.8A CN107743047B (en) | 2017-10-26 | 2017-10-26 | Wireless directional relay communication method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711013767.8A CN107743047B (en) | 2017-10-26 | 2017-10-26 | Wireless directional relay communication method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107743047A CN107743047A (en) | 2018-02-27 |
CN107743047B true CN107743047B (en) | 2020-10-27 |
Family
ID=61238115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711013767.8A Active CN107743047B (en) | 2017-10-26 | 2017-10-26 | Wireless directional relay communication method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107743047B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110505600B (en) | 2018-05-18 | 2022-05-10 | 华为技术有限公司 | Routing method and device |
CN110035470B (en) * | 2019-03-25 | 2020-12-01 | 深圳市联智物联网科技有限公司 | Node equipment for realizing directional data access in multi-node wireless transmission system |
CN109922466B (en) * | 2019-03-25 | 2020-12-01 | 深圳市联智物联网科技有限公司 | Method for realizing directional data access in multi-node wireless transmission system |
CN110087279B (en) * | 2019-05-06 | 2022-11-08 | 西安非凡士智能科技有限公司 | Wireless relay networking data transmission method taking group as unit |
CN110913441B (en) * | 2019-11-28 | 2022-02-11 | 深圳市共进电子股份有限公司 | Data transmission method and device |
CN114079873B (en) * | 2020-08-14 | 2023-03-24 | 展讯半导体(南京)有限公司 | Multicast communication method and device without clear target user, storage medium, terminal and base station |
CN114449457B (en) * | 2021-12-29 | 2024-05-17 | 深圳市信致通信技术有限公司 | Data transmission method, node equipment and system based on chain network |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100555996C (en) * | 2006-12-14 | 2009-10-28 | 武汉隆泰科技有限公司 | Hierarchical routing method for long-distance communication of micropower wireless module |
CN101207557B (en) * | 2006-12-19 | 2012-03-07 | 中兴通讯股份有限公司 | System and method of data distributing in wireless sensor network |
US8279870B2 (en) * | 2007-08-01 | 2012-10-02 | Silver Spring Networks, Inc. | Method and system of routing in a utility smart-grid network |
JP5449183B2 (en) * | 2008-10-15 | 2014-03-19 | パナソニック株式会社 | Communication terminal and communication method |
US8929218B2 (en) * | 2010-09-10 | 2015-01-06 | Brocade Communication Systems, Inc. | Congestion notification across multiple layer-2 domains |
CN102628963B (en) * | 2011-11-02 | 2014-09-24 | 中国科学院地质与地球物理研究所 | The aircraft is equipped with a wireless relay station for data transmission of wireless telemetry instruments |
CN103095362A (en) * | 2012-12-18 | 2013-05-08 | 青岛乾程电子科技有限公司 | Inter-relaying method of wireless automatic meter reading system |
CN103353861B (en) * | 2013-06-18 | 2016-06-29 | 中国科学院计算技术研究所 | Realize method and the device of distributed I/O resource pool |
CN103415020A (en) * | 2013-07-26 | 2013-11-27 | 西安交通大学 | Interference solution based on frequency division in relay system |
WO2015124782A1 (en) * | 2014-02-21 | 2015-08-27 | Buzzinbees | System and method for handling inactive sim cards |
CN105530185B (en) * | 2014-09-29 | 2018-12-25 | 优视科技有限公司 | Covering route network, method for routing and router based on covering route network |
CN105071852B (en) * | 2015-08-27 | 2019-03-05 | 杨珊珊 | A kind of intelligent relay system and method using unmanned plane realization |
CN105407516B (en) * | 2015-10-23 | 2018-11-13 | 中央军委装备发展部第六十三研究所 | Multi-hop ad hoc network network anti-interference routing method based on link quality factors |
CN106535119A (en) * | 2016-10-14 | 2017-03-22 | 哈尔滨工业大学深圳研究生院 | Data transmission method for UAV (Unmanned Aerial Vehicle) relay mobile model based on variable data rate |
CN106788677B (en) * | 2016-12-09 | 2022-05-06 | 佛山科学技术学院 | Unmanned aerial vehicle data relay device based on mobile data network and method thereof |
-
2017
- 2017-10-26 CN CN201711013767.8A patent/CN107743047B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107743047A (en) | 2018-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107743047B (en) | Wireless directional relay communication method and system | |
US11457459B2 (en) | Communication mode selection method and apparatus | |
CN104654524B (en) | Air conditioner cluster control method and control device and air conditioner management system | |
CN106375482B (en) | Wireless object connection network access transmission system connected with TCP/IP network | |
CN112309175A (en) | Indication method and device for flight space information of unmanned aerial vehicle | |
CN103337142A (en) | Wireless networking method for electric energy meter management system | |
KR20170059379A (en) | Virtual router cluster, data forwarding method and device | |
US20170127468A1 (en) | Wireless terminal, metering device, and communication control method | |
CN104833994A (en) | Ad-Hoc network mode-based RTK (Real-Time Kinematic) Beidou positioning system and method | |
WO2021063193A1 (en) | Flow control method and apparatus, and node and storage medium | |
CN106302209B (en) | A kind of network-on-chip NoC and the method for data transmission | |
US20230080095A1 (en) | Method and device for generating vru path map related to moving path of vru by softv2x server in wireless communication system supporting sidelink | |
CN110139224A (en) | A kind of wireless self-networking method suitable for environment of internet of things | |
CN106603658A (en) | A method and device for data transmission of Internet of Vehicles based on software-defined network | |
CN106683463A (en) | Green light passage device based on satellite navigation system and application method thereof | |
US10979865B2 (en) | Handling of devices based on group membership | |
CN107018545A (en) | A kind of ad hoc network method being applied in wireless communication system | |
WO2018000262A1 (en) | D2d communication method and d2d device | |
US10349331B2 (en) | Packet processing method for software-defined network | |
CN103763751A (en) | Data transmission method and system of wireless sensor network | |
CN107659651A (en) | The method and system of group-net communication between a kind of vehicle | |
CN114793328B (en) | Power grid environment monitoring system and method based on 5G LoRa dynamic gateway | |
CN105337866B (en) | A flow switching method and device | |
CN109587826B (en) | A GTP data packet transmission method, related device and storage medium | |
CN106331091A (en) | Direct-current inter-station communication switching method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20250116 Address after: No. 261, Beicaizhuang Village, Zhangguantun Township, Cang County, Cangzhou City, Hebei Province 061000 Patentee after: Zheng Yanmin Country or region after: China Address before: 750021 No. 204 Wenchang North Road, Xixia District, the Ningxia Hui Autonomous Region, Yinchuan Patentee before: BEIFANG MINZU University Country or region before: China |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20250218 Address after: 061000 1809, Block A, Oriental Century City, Qiantong Avenue, Xinhua District, Cangzhou City, Hebei Province Patentee after: Hebei Xinyang Communication Technology Co.,Ltd. Country or region after: China Address before: No. 261, Beicaizhuang Village, Zhangguantun Township, Cang County, Cangzhou City, Hebei Province 061000 Patentee before: Zheng Yanmin Country or region before: China |
|
TR01 | Transfer of patent right |