[go: up one dir, main page]

CN118200162A - A CSMA/CA network energy efficiency modeling method and system in industrial Internet of Things scenarios - Google Patents

A CSMA/CA network energy efficiency modeling method and system in industrial Internet of Things scenarios Download PDF

Info

Publication number
CN118200162A
CN118200162A CN202410363441.1A CN202410363441A CN118200162A CN 118200162 A CN118200162 A CN 118200162A CN 202410363441 A CN202410363441 A CN 202410363441A CN 118200162 A CN118200162 A CN 118200162A
Authority
CN
China
Prior art keywords
node
state
csma
network
probability
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.)
Pending
Application number
CN202410363441.1A
Other languages
Chinese (zh)
Inventor
胡钰林
蒋承轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN202410363441.1A priority Critical patent/CN118200162A/en
Publication of CN118200162A publication Critical patent/CN118200162A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/18502Airborne stations
    • H04B7/18506Communications with or from aircraft, i.e. aeronautical mobile service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a CSMA/CA network energy efficiency modeling method and system in an industrial Internet of things scene. According to the scheme, the CSMA/CA network node behaviors are modeled by using a two-dimensional Markov chain to obtain heterogeneous node steady-state transmission probability and collision probability, and the maximum single transmission power distribution boundary condition of the network node is described by analyzing hidden site problems caused by path loss due to wireless propagation effect in the industrial Internet of things field production scene, so that a set of CSMA/CA network node average energy efficiency model is provided, the calculation complexity is low, and the application value is good.

Description

一种工业物联网场景下CSMA/CA网络能效建模方法及系统A CSMA/CA network energy efficiency modeling method and system in industrial Internet of Things scenarios

技术领域Technical Field

本发明属于面向工业物联网领域,特别是涉及一种工业物联网场景下CSMA/CA网络能效建模方法及系统。The present invention belongs to the field of industrial Internet of Things, and in particular relates to a CSMA/CA network energy efficiency modeling method and system in an industrial Internet of Things scenario.

背景技术Background Art

目前,面向工业物联网(Industrial Internet of Things,IIoT)场景下,采用CSMA/CA(Carrier-Sense Multiple Access with Collision Avoidance,CSMA/CA)协议的现场通信网络存在一些能效优化策略。其中,一些技术方案采用自适应的监听策略,通过网络节点自适应调整最大竞争窗口大小,根据信道实时占用情况动态调整,以实现降低信道侦听过程中的能量消耗。一些技术手段采用动态功率控制方法,根据网络节点之间的距离以及环境噪声,动态调整单次数据传输的发送功率,同时满足了通信的QoS(Quality ofService,QoS)指标,也降低了网络总体的能量消耗。另一些技术手段采取了节能的节点睡眠-唤醒调度机制,在非传输时间段关闭或者降低无线电功耗,通过预定的唤醒机制来激活节点的无线电状态,减少节点空缓存时期的能耗。此外,也存在一些技术手段通过引入非均匀分布的退避算法来减少碰撞和重传概率,例如使用基于网络状况的动态退避算法。尽管上述技术方案在CSMA/CA网络通信场景下对网络的总体能效有一定程度的性能提升,但尚未针对面向工业互联网现场通信领域做针对性的优化设计。在实际的工业生产应用中,可能需要结合多种生产环境影响因素与网络资源分配策略来达到最佳的能效性能。因此,工业物联网场景下基于马尔科夫链的面向CSMA/CA网络能效建模方法仍是一个开放性的研究问题。At present, there are some energy efficiency optimization strategies for field communication networks using the CSMA/CA (Carrier-Sense Multiple Access with Collision Avoidance, CSMA/CA) protocol in the Industrial Internet of Things (IIoT) scenario. Among them, some technical solutions adopt an adaptive listening strategy, adaptively adjust the maximum contention window size through network nodes, and dynamically adjust it according to the real-time channel occupancy to reduce the energy consumption during the channel listening process. Some technical means adopt a dynamic power control method to dynamically adjust the transmission power of a single data transmission according to the distance between network nodes and environmental noise, while meeting the QoS (Quality of Service, QoS) indicators of communication and reducing the overall energy consumption of the network. Other technical means adopt an energy-saving node sleep-wake-up scheduling mechanism, shut down or reduce radio power consumption during non-transmission time periods, activate the node's radio state through a predetermined wake-up mechanism, and reduce the energy consumption of the node during the empty cache period. In addition, there are also some technical means to reduce the probability of collision and retransmission by introducing a non-uniformly distributed backoff algorithm, such as using a dynamic backoff algorithm based on network conditions. Although the above technical solutions have a certain degree of performance improvement on the overall energy efficiency of the network in the CSMA/CA network communication scenario, there has not yet been a targeted optimization design for the field of industrial Internet field communication. In actual industrial production applications, it may be necessary to combine multiple production environment influencing factors with network resource allocation strategies to achieve the best energy efficiency performance. Therefore, the energy efficiency modeling method for CSMA/CA networks based on Markov chains in the industrial Internet of Things scenario is still an open research problem.

发明内容Summary of the invention

面向基于CSMA/CA协议的工业物联网现场通信系统应用场景,针对面向工业物联网场景的CSMA/CA协议性能分析与节点功率及码长联合分配策略设计需求,本发明内容提供一种一种工业物联网场景下CSMA/CA网络能效建模方法及系统。Aiming at the application scenario of industrial Internet of Things field communication system based on CSMA/CA protocol, and aiming at the performance analysis of CSMA/CA protocol and the design requirements of node power and code length joint allocation strategy for industrial Internet of Things scenario, the present invention provides a CSMA/CA network energy efficiency modeling method and system in industrial Internet of Things scenario.

本发明提出一种工业物联网场景下CSMA/CA网络能效建模方法,其包括以下步骤:The present invention proposes a CSMA/CA network energy efficiency modeling method in an industrial Internet of Things scenario, which includes the following steps:

为达到上述目的,本发明方法的技术方案为:To achieve the above object, the technical solution of the method of the present invention is:

一种工业物联网场景下基于马尔科夫链的面向CSMA/CA网络能效建模方法,包括以下步骤:A CSMA/CA network energy efficiency modeling method based on Markov chain in an industrial Internet of Things scenario includes the following steps:

步骤1:基于CSMA/CA控制协议,将节点状态抽象为二维马尔科夫链构建CSMA/CA网络等效马尔科夫链模型,并得到二维马尔科夫链单步转移概率;Step 1: Based on the CSMA/CA control protocol, the node state is abstracted into a two-dimensional Markov chain to construct a CSMA/CA network equivalent Markov chain model, and the single-step transition probability of the two-dimensional Markov chain is obtained;

步骤2,基于步骤1所得到的二维马尔科夫链单步转移概率,基于离散排队论中稳态概率分布闭式解的求解方法,得到基于步骤1中所描述的CSMA/CA网络节点等效二维马尔科夫模型的稳态概率分布闭式解;同时,基于稳态概率分布闭式解,得到任意CSMA/CA网络节点在任意系统时隙内的稳态传输概率;Step 2: Based on the single-step transfer probability of the two-dimensional Markov chain obtained in step 1 and the closed-form solution of the steady-state probability distribution in discrete queuing theory, a closed-form solution of the steady-state probability distribution of the equivalent two-dimensional Markov model of the CSMA/CA network node described in step 1 is obtained; at the same time, based on the closed-form solution of the steady-state probability distribution, the steady-state transmission probability of any CSMA/CA network node in any system time slot is obtained;

步骤3,基于步骤2中得到的稳态概率分布闭式解和步骤2中得到的CSMA/CA网络节点稳态传输概率,基于概率论推导得到面向工业物联网现场通信系统场景下的信道侦听忙碌概率关于CSMA/CA网络节点单次传输最大发射功率的边界条件;Step 3: Based on the closed-form solution of the steady-state probability distribution obtained in step 2 and the steady-state transmission probability of the CSMA/CA network node obtained in step 2, the boundary conditions of the channel listening busy probability for the industrial Internet of Things field communication system scenario and the maximum transmission power of the CSMA/CA network node for a single transmission are derived based on probability theory;

步骤4,基于步骤3中所得到的关于节点发射功率分配策略边界条件的两类非线性方程组,基于概率论推导给出了工业物联网场景下CSMA/CA网络归一化网络吞吐量模型与网络平均能效模型。Step 4: Based on the two types of nonlinear equations about the boundary conditions of the node transmission power allocation strategy obtained in step 3, the normalized network throughput model and network average energy efficiency model of the CSMA/CA network in the industrial Internet of Things scenario are derived based on probability theory.

进一步地,所述步骤1中二维马尔科夫链构建CSMA/CA网络等效马尔科夫链模型为以退避阶级i和退避计时器剩余值j为状态变量的二维马尔科夫链,该马尔科夫链的每一个状态均由两个随机变量{s(t),v(t)}表示,其中,第一个维度的随机变量s(t)表示t时刻节点的退避阶级i,并有i∈[-1,m],其中,m表示CSMA/CA网络的最大退避阶数;第二个维度的随机变量v(t)表示t时刻节点的退避计时器剩余值j,并有j∈[-1,wm-1];其中,wm表示CSMA/CA网络达到最大退避阶数m时的竞争窗口大小,且有wi=2i·w0,i∈[0,m];其中,wi表示退避阶数为i时的最大竞争窗口大小,w0表示退避阶数为0时的竞争窗口大小;当退避阶级i与退避计时器剩余值j同时取值为-1时,表示节点处于空闲状态,即节点的发送队列为空,二维马尔科夫链的第一个状态参数i表示CSMA/CA网络节点当前所处退避阶级,i=-1时表示节点缓冲区为空,没有数据包等待传输;i≥0时表示节点缓冲区非空,存在数据包等待传输;二维马尔科夫链的第二个状态参数j表示节点当前退避计时器剩余值即j=-1时表示节点缓冲区为空,没有数据包等待传输,j≥0时表示节点缓冲区非空,存在数据包等待传输。Furthermore, the two-dimensional Markov chain in step 1 constructs an equivalent Markov chain model of the CSMA/CA network as a two-dimensional Markov chain with backoff level i and backoff timer remaining value j as state variables, and each state of the Markov chain is represented by two random variables {s(t), v(t)}, wherein the random variable s(t) of the first dimension represents the backoff level i of the node at time t, and i∈[-1,m], wherein m represents the maximum backoff order of the CSMA/CA network; the random variable v(t) of the second dimension represents the backoff timer remaining value j of the node at time t, and j∈[-1,w m -1]; wherein w m represents the contention window size when the CSMA/CA network reaches the maximum backoff order m, and w i =2 i ·w 0 ,i∈[0,m]; wherein w i represents the maximum contention window size when the backoff order is i, w 0 represents the contention window size when the backoff order is 0; when the backoff class i and the remaining value j of the backoff timer are both -1, it means that the node is in an idle state, that is, the sending queue of the node is empty. The first state parameter i of the two-dimensional Markov chain represents the current backoff class of the CSMA/CA network node. When i=-1, it means that the node buffer is empty and there are no data packets waiting to be transmitted; when i≥0, it means that the node buffer is not empty and there are data packets waiting to be transmitted; the second state parameter j of the two-dimensional Markov chain represents the remaining value of the current backoff timer of the node, that is, when j=-1, it means that the node buffer is empty and there are no data packets waiting to be transmitted. When j≥0, it means that the node buffer is not empty and there are data packets waiting to be transmitted.

进一步地,所述二维马尔科夫链单步转移概率为:Furthermore, the single-step transition probability of the two-dimensional Markov chain is:

其中,Pr{-1,-1|-1,-1}表示节点当前状态为空闲,在下一时隙内节点状态仍为空闲的概率;Among them, Pr{-1,-1|-1,-1} represents the probability that the node is currently idle and the node state will still be idle in the next time slot;

Pr{0,j|-1,-1}表示节点当前状态为空闲,在下一时隙内节点进入初始退避状态i=0且退避计时器值设定为j的过程的状态转移概率,该过程表示有新数据包到达,从而进入初始退避状态i=0的过程;Pr{0,j|-1,-1} represents the state transition probability of the node being idle in the next time slot and entering the initial backoff state i=0 with the backoff timer value set to j. This process indicates that a new data packet arrives and enters the initial backoff state i=0.

表示相同退避阶级i中,由当前状态j在下一时隙重新回到状态j的过程的状态转移概率,该过程表示节点侦测到当前信道环境为忙碌状态,从而冻结剩余退避计时器值的过程; represents the state transition probability of the process of returning to state j from the current state j in the next time slot in the same backoff level i. This process means that the node detects that the current channel environment is busy and freezes the remaining backoff timer value;

表示相同退避阶级i中,由当前状态j在下一时隙转移到状态j-1的过程的状态转移概率,该过程表示节点侦测到当前信道环境为空闲状态,从而将剩余退避计时器值减去1的过程; represents the state transition probability of the process of transitioning from the current state j to the state j-1 in the next time slot in the same backoff level i. This process means that the node detects that the current channel environment is idle, and thus subtracts 1 from the remaining backoff timer value;

Pr{i+1,j|i,0}表示节点当前时隙所处退避阶级i在下一时隙转移至i+1,且退避计时器值由当前时隙的0在下一时隙被设置为j的过程的状态转移概率,该过程表示由于数据碰撞或有限码长数据包解码错误,导致当前数据传输尝试失败,节点向更高退避阶级转移的过程;Pr{i+1,j|i,0} represents the state transition probability of the node's backoff level i in the current time slot being transferred to i+1 in the next time slot, and the backoff timer value is set from 0 in the current time slot to j in the next time slot. This process represents the process of the node transferring to a higher backoff level due to the failure of the current data transmission attempt due to data collision or finite code length data packet decoding error;

Pr{m,j|m,0}表示节点当前隙所处退避阶级为最高退避阶级m,退避计时器值由当前时隙的0在下一时隙被设置为j的过程的状态转移概率,该过程表示当节点到达最大退避阶级m后,节点将不再向更高退避阶级迈升,转而停留在当前最高退避阶级m,直到当前数据包的传输最终完成的过程;Pr{m,j|m,0} represents the state transition probability of the process in which the backoff level of the node in the current time slot is the highest backoff level m, and the backoff timer value is set from 0 in the current time slot to j in the next time slot. This process means that when the node reaches the maximum backoff level m, the node will no longer move to a higher backoff level, but stay at the current highest backoff level m until the transmission of the current data packet is finally completed;

Pr{-1,-1|i,0}表示节点当前时隙所处退避阶级为i,且退避计时器值为0,在下一时隙节点状态转移至空闲状态的状态转移概率,该过程表示节点成功完成了当前数据包的传输,由于没有新的数据包到达,节点回退到空闲状态的过程;Pr{-1,-1|i,0} indicates the state transition probability of the node in the current time slot being in backoff class i and the backoff timer value being 0, and the node state transitioning to the idle state in the next time slot. This process indicates that the node has successfully completed the transmission of the current data packet, and since no new data packets have arrived, the node falls back to the idle state;

Pr{0,j|i,0}表示节点当前时隙所处退避阶级为i,且退避计时器值为0,在下一时隙内节点进入初始退避状态i=0且退避计时器值设定为j的过程的状态转移概率,该过程表示节点成功完成了当前数据包的传输,由于没有新的数据包到达,节点回退到空闲状态的过程;该过程表示节点成功完成了当前数据包的传输,由于有新的数据包到达,节点初始化退避的过程;Pr{0,j|i,0} represents the state transition probability of the node in the current time slot being in backoff class i and the backoff timer value being 0, and the node entering the initial backoff state i=0 and the backoff timer value being set to j in the next time slot. This process represents the process in which the node successfully completes the transmission of the current data packet and returns to the idle state due to the arrival of no new data packets. This process represents the process in which the node successfully completes the transmission of the current data packet and initializes the backoff due to the arrival of new data packets.

q表示节点在完成对当前数据包的传输服务后,节点缓冲区仍然非空的概率,pcl,k是节点数据包传输发生碰撞的概率;q represents the probability that the node buffer is still not empty after the node completes the transmission service of the current data packet, p cl,k is the probability of collision in the transmission of the node data packet;

其中,对于CSMA/CA网络中的任意站点记其侦测到当前信道状态为忙碌的概率为以最大单次传输功率Pmax向中心网络接入点AP发送数据包,单次数据包传输在有限码长理论下的解码错误概率为εkAmong them, for any station in the CSMA/CA network The probability of detecting that the current channel state is busy is The data packet is sent to the central network access point AP with the maximum single transmission power P max . The decoding error probability of a single data packet transmission under the finite code length theory is ε k .

进一步地,所述步骤2中基于步骤1中所描述的CSMA/CA网络节点等效二维马尔科夫模型的稳态概率分布闭式解为:Furthermore, the closed-form solution of the steady-state probability distribution of the equivalent two-dimensional Markov model of the CSMA/CA network node described in step 1 in step 2 is:

bi,j为对于任意节点,在系统时间趋于无穷时,其马尔科夫链节点状态处于状态(i,j)的概率。b i,j is the probability that for any node, when the system time tends to infinity, the state of its Markov chain node is in state (i,j).

进一步地,基于上述步骤1中所得单步转移概率表达式,得到如下的稳态概率分布关系式:Furthermore, based on the single-step transition probability expression obtained in step 1 above, the following steady-state probability distribution relationship is obtained:

其中,表示状态变量i取值范围在i∈[0,m),且状态变量j取值范围在j∈(0,wi-1]条件下的稳态概率分布闭式解;表示状态变量i取值为i=m,且状态变量j取值范围在j∈(0,wm-1]条件下的稳态概率分布闭式解;表示CSMA/CA网络中节点k的错误传输概率,ptx,k表示节点处于稳态时传输数据包的概率,表示为:in, It represents the closed-form solution of the steady-state probability distribution under the condition that the state variable i takes values in the range i∈[0,m) and the state variable j takes values in the range j∈(0,wi - 1); It represents the closed-form solution of the steady-state probability distribution when the state variable i takes the value i=m and the state variable j takes the value range j∈(0,w m -1]); represents the error transmission probability of node k in the CSMA/CA network, and p tx,k represents the probability of transmitting a data packet when the node is in a steady state, which is expressed as:

基于节点稳态概率分布的归一化表达式以及节点数据包稳态传输概率表达式在给定网络内全体节点数目k,数据包生成概率q以及单次最大传输功率Pmax的条件下,得到节点处于稳态时传输数据包的概率。Normalized expression based on node steady-state probability distribution And the expression of the steady-state transmission probability of node data packets is Given the total number of nodes k in the network, the probability of packet generation q and the single maximum transmission power P max , the probability of a node transmitting a packet when in a steady state is obtained.

进一步地,所述步骤3中面向工业物联网现场通信系统场景下的信道侦听忙碌概率关于CSMA/CA网络节点单次传输最大发射功率Pmax的边界条件P1设定为两类非线性方程组,Furthermore, in the step 3, the boundary condition P1 of the channel listening busy probability in the industrial Internet of Things field communication system scenario with respect to the maximum transmission power P max of a single transmission of a CSMA/CA network node is set as two types of nonlinear equations,

其中,第一类非线性方程组:Among them, the first kind of nonlinear equations:

第一类非线性方程组表示分配足够大的单次传输发射功率Pmax≥P1时,CSMA/CA网络内节点k相关概率的表达式;The first type of nonlinear equations represents the expression of the probability of node k being related in the CSMA/CA network when a sufficiently large single transmission transmission power P max ≥ P 1 is allocated;

第二类非线性方程组:Nonlinear equations of the second kind:

第二类非线性方程组表示分配较低的单次传输发射功率Pmax<P1时,CSMA/CA网络内节点k相关概率的表达式;The second type of nonlinear equations represents the expression of the probability of node k being related in the CSMA/CA network when a lower single transmission power P max <P 1 is assigned;

其中,Q表示Q函数,表达式为V(γk)表示信道色散,表达式为C(γk)表示归一化的信道容量,表达式为C(γk)=log(1+γk);γk表示第k个网络节点在网络接入点处的接收信噪比;M表示码长;表示网络接入点;G0为参考距离处的信道参考增益;表示CSMA/CA网络中第k个节点在接入点处的信道增益;Pt表示为CSMA/CA网络内全体k个节点分配的发射功率;N0表示噪声功率;表示CSMA/CA网络中第k个节点与接入点之间的欧氏距离;P1表示分配功率的边界条件,即当分配功率满足条件Pt=Pmax≥P1时,CSMA/CA网络中将不存在隐蔽站效应,且有成立;当分配功率满足条件Pt=Pmax<P1时,CSMA/CA网络中存在隐蔽站效应,且有 Where Q represents the Q function, which is expressed as V(γ k ) represents the channel dispersion and is expressed as C(γ k ) represents the normalized channel capacity, expressed as C(γ k )=log(1+γ k ); γ k represents the received signal-to-noise ratio of the kth network node at the network access point; M represents the code length; represents the network access point; G 0 is the channel reference gain at the reference distance; Represents the kth node in the CSMA/CA network At the access point Pt represents the transmission power allocated to all k nodes in the CSMA/CA network; N0 represents the noise power; represents the Euclidean distance between the kth node and the access point in the CSMA/CA network; P 1 represents the boundary condition of the allocated power, that is, when the allocated power satisfies the condition P t =P max ≥P 1 , there will be no hidden station effect in the CSMA/CA network, and there is When the allocated power satisfies the condition P t = P max < P 1 , there is a hidden station effect in the CSMA/CA network, and there is

进一步地,P1表达式如下所示。Furthermore, the expression of P 1 is as follows.

其中,表示任意两个CSMA/CA网络节点之间的最大欧氏距离Pth表示节点侦听载波判定当前信道状态为空闲的接收功率阈值。in, Represents any two CSMA/CA network nodes The maximum Euclidean distance between Pth represents the receiving power threshold at which the node senses the carrier and determines that the current channel state is idle.

进一步地,所述步骤4中,工业物联网场景下CSMA/CA网络归一化网络吞吐量模型为:Furthermore, in step 4, the normalized network throughput model of the CSMA/CA network in the industrial Internet of Things scenario is:

其中,ps,k表示CSMA/CA网络中,第k个节点成功传输数据包的概率,其表达式为Sk表示第k个节点的吞吐量,其表达式为εk表示CSMA/CA网络内第k个节点在给定最大单次传输功率、码长以及数据包大小条件下的解码错误概率;D表示CSMA/CA网络中每个节点单次传输数据包的大小,单位为比特;表示二维马尔科夫链等效模型中,状态转移消耗时间等效CSMA/CA通信协议现实运行时间值的期望,其表达式为;Where ps,k represents the probability of the kth node successfully transmitting a data packet in the CSMA/CA network, and its expression is: S k represents the throughput of the kth node, and its expression is ε k represents the decoding error probability of the kth node in the CSMA/CA network under the given maximum single transmission power, code length and data packet size; D represents the size of a single transmission data packet of each node in the CSMA/CA network, in bits; In the two-dimensional Markov chain equivalent model, the expected value of the actual running time of the CSMA/CA communication protocol equivalent to the state transition time consumption time is expressed as follows:

其中,ptr表示CSMA/CA网络中,在任意一个系统时隙中,至少存在一个进行中的数据包传输事件的概率,其表达式为σ表示CSMA/CA协议中规定的单个退避时隙的长度;Tcol表示发生数据包碰撞时,无线信道被占用的时间;Tsuc表示数据包成功传输时,无线信道被占用的时间;Terr表示发生数据包解码错误时,无线信道被占用的时间;Where p tr represents the probability that there is at least one ongoing data packet transmission event in any system time slot in the CSMA/CA network, and its expression is σ represents the length of a single backoff slot specified in the CSMA/CA protocol; T col represents the time the wireless channel is occupied when a packet collision occurs; T suc represents the time the wireless channel is occupied when a packet is successfully transmitted; Terr represents the time the wireless channel is occupied when a packet decoding error occurs;

工业物联网场景下CSMA/CA网络平均能耗模型为:The average energy consumption model of CSMA/CA network in the industrial Internet of Things scenario is:

其中,Pave表示CSMA/CA网络的平均能耗,Pidle,Pcs,Pmax分别表示任意网络节点在空闲状态、退避状态以及发送状态下所消耗的功率;表示一次数据包传输周期内,节点在空闲状态下所经历时间的期望,其表达式为 表示一次数据包传输周期内,节点在载波侦听状态下所经历时间的期望,其表达式为 表示一次数据包传输周期内,节点k在数据发送状态下所经历时间的期望,其表达式为 Wherein, P ave represents the average energy consumption of the CSMA/CA network, P idle , P cs , and P max represent the power consumed by any network node in the idle state, backoff state, and sending state, respectively; It represents the expected time that a node spends in idle state during a data packet transmission cycle, and its expression is: It represents the expected time that a node spends in the carrier sensing state during a data packet transmission cycle, and its expression is: It represents the expected time that node k spends in the data sending state during a data packet transmission cycle, and its expression is:

另一方面,本发明提供一种工业物联网场景下网络能效建模系统,包括:On the other hand, the present invention provides a network energy efficiency modeling system in an industrial Internet of Things scenario, comprising:

模块一,其用于基于CSMA/CA控制协议,将节点状态抽象为二维马尔科夫链构建CSMA/CA网络等效马尔科夫链模型,并得到二维马尔科夫链单步转移概率;Module 1 is used to abstract the node state into a two-dimensional Markov chain based on the CSMA/CA control protocol to construct a CSMA/CA network equivalent Markov chain model and obtain the single-step transition probability of the two-dimensional Markov chain;

模块二,其用于基于所得到的二维马尔科夫链单步转移概率,基于离散排队论中稳态概率分布闭式解的求解方法,得到基于所描述的CSMA/CA网络节点等效二维马尔科夫模型的稳态概率分布闭式解;同时,基于稳态概率分布闭式解,得到任意CSMA/CA网络节点在任意系统时隙内的稳态传输概率;Module 2 is used to obtain the closed-form solution of the steady-state probability distribution of the equivalent two-dimensional Markov model of the described CSMA/CA network node based on the obtained single-step transition probability of the two-dimensional Markov chain and the solution method of the closed-form solution of the steady-state probability distribution in discrete queuing theory; at the same time, based on the closed-form solution of the steady-state probability distribution, the steady-state transmission probability of any CSMA/CA network node in any system time slot is obtained;

模块三,其用于基于得到的稳态概率分布闭式解和步骤2中得到的CSMA/CA网络节点稳态传输概率,基于概率论推导得到面向工业物联网现场通信系统场景下的信道侦听忙碌概率关于CSMA/CA网络节点单次传输最大发射功率的边界条件;Module three is used to derive the boundary conditions of the maximum transmission power of a single transmission of a CSMA/CA network node based on the closed-form solution of the steady-state probability distribution and the steady-state transmission probability of the CSMA/CA network node obtained in step 2 and the channel listening busy probability in the industrial Internet of Things field communication system scenario based on probability theory;

模块四,其用于基于所得到的关于节点发射功率分配策略边界条件的两类非线性方程组,基于概率论推导给出了工业物联网场景下CSMA/CA网络归一化网络吞吐量模型与网络平均能效模型。Module 4 is used to derive the normalized network throughput model and network average energy efficiency model of the CSMA/CA network in the industrial Internet of Things scenario based on the two types of nonlinear equations obtained about the boundary conditions of the node transmission power allocation strategy based on probability theory.

与现有技术相比,本发明具有如下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

本发明提供了有限码长传输下一种面向安全通信的无人机轨迹和用户调度联合设计方法,在无人机移动性、任务时间和用户调度系数的约束下,实现信道条件最差的地面用户的最大可达保密率最大化。本方案构建了该场景下的无人机最优轨迹,显著提高系统安全性的同时降低了算法复杂度。The present invention provides a joint design method for drone trajectory and user scheduling for secure communication under limited code length transmission, which maximizes the maximum achievable confidentiality rate of ground users with the worst channel conditions under the constraints of drone mobility, mission time and user scheduling coefficient. This scheme constructs the optimal trajectory of drones in this scenario, significantly improving system security while reducing algorithm complexity.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明考虑的非饱和CSMA/CA网络等效二维马尔科夫链节点模型。FIG. 1 is an equivalent two-dimensional Markov chain node model of a non-saturated CSMA/CA network considered in the present invention.

图2为本发明考虑的隐蔽站效应功率分配边界条件二维平面示意图。FIG. 2 is a two-dimensional schematic diagram of the boundary conditions of power allocation for the hidden station effect considered in the present invention.

具体实施方式DETAILED DESCRIPTION

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本发明普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians of the present invention without making creative work are within the scope of protection of the present invention.

实施例1Example 1

面向基于CSMA/CA协议的工业物联网现场通信系统应用场景,针对面向工业物联网场景的CSMA/CA协议性能分析与节点功率及码长联合分配策略设计需求,本发明内容提供了一套面向工业物联网现场通信场景的CSMA/CA网络性能分析模型。Aiming at the application scenario of industrial Internet of Things field communication system based on CSMA/CA protocol, the present invention provides a CSMA/CA network performance analysis model for industrial Internet of Things field communication scenario in accordance with the performance analysis of CSMA/CA protocol and the design requirements of node power and code length joint allocation strategy for industrial Internet of Things scenario.

以下结合附图,对本发明作进一步说明:The present invention will be further described below with reference to the accompanying drawings:

步骤1:基于CSMA/CA控制协议,我们将节点状态抽象为如图1所示的二维马尔科夫链,并得到相应的单步转移概率表达式。其中,节点业务非饱和,也即网络内任意节点的缓存区并非总是处于非空状态。该步骤实现了对CSMA/CA网络等效马尔科夫链模型的构建。Step 1: Based on the CSMA/CA control protocol, we abstract the node state into a two-dimensional Markov chain as shown in Figure 1, and obtain the corresponding single-step transition probability expression. Among them, the node service is non-saturated, that is, the cache area of any node in the network is not always in a non-empty state. This step realizes the construction of the equivalent Markov chain model of the CSMA/CA network.

其中,二维马尔科夫链的第一个状态参数i表示CSMA/CA网络节点当前所处退避阶级(i=-1时表示节点缓冲区为空,没有数据包等待传输;i≥0时表示节点缓冲区非空,存在数据包等待传输)。二维马尔科夫链的第二个状态参数j表示节点当前退避计时器剩余值(j=-1时表示节点缓冲区为空,没有数据包等待传输,j≥0时表示节点缓冲区非空,存在数据包等待传输)。The first state parameter i of the two-dimensional Markov chain represents the current backoff stage of the CSMA/CA network node (i=-1 means the node buffer is empty and there are no data packets waiting to be transmitted; i≥0 means the node buffer is not empty and there are data packets waiting to be transmitted). The second state parameter j of the two-dimensional Markov chain represents the remaining value of the node's current backoff timer (j=-1 means the node buffer is empty and there are no data packets waiting to be transmitted; j≥0 means the node buffer is not empty and there are data packets waiting to be transmitted).

同时,图1中参数wi表示任意CSMA/CA网络节点处于当前退避阶级i时,其最大竞争窗口长度。根据CSMA/CA控制协议,有wi=2iw0。图1中的单向箭头表示节点从状态(i,j)t转移至下一个状态(i,j)t+1的单步转移概率。其中,等效二维马尔科夫链中CSMA/CA网络节点参数i由状态i转移至状态i+1(退避失败)的过程表示由于数据碰撞或有限码长数据包解码错误,导致当前数据传输尝试失败,节点向更高退避阶级转移的过程,该过程的状态转移概率为在这一过程中,节点的最大退避窗口将变为当前窗口的两倍(指数退避机制)。同时,在相同退避阶级i中,节点参数j由状态j转移至状态j-1的过程表示节点侦测到当前信道环境为空闲状态(没有侦听到其他节点的数据传输),从而将剩余退避计时器值减去1的过程,该过程的状态转移概率为反之,由状态j重新回到状态j的过程表示节点侦测到当前信道环境为忙碌状态(侦听到存在其他节点的数据传输),从而冻结剩余退避计时器值的过程,该过程的状态转移概率为此外,概率q表示节点在完成对当前数据包的传输服务后,节点缓冲区仍然非空的概率。每当节点完成当前数据包的传输,若此时缓冲区内存在等待传输的数据包,则节点将初始化退避过程,初始化过程的状态转移概率为若此时缓存区为空,则节点将重新回到空闲状态,回到空闲状态的状态转移概率为(1-q)(1-εk)(1-pcl,k)。At the same time, the parameter w i in Figure 1 represents the maximum contention window length of any CSMA/CA network node when it is in the current backoff class i. According to the CSMA/CA control protocol, w i = 2 i w 0 . The one-way arrow in Figure 1 represents the single-step transition probability of the node from state (i, j) t to the next state (i, j) t+1 . Among them, the process of the CSMA/CA network node parameter i in the equivalent two-dimensional Markov chain transferring from state i to state i+1 (backoff failure) represents the process of the node transferring to a higher backoff class due to the failure of the current data transmission attempt due to data collision or finite code length data packet decoding error. The state transition probability of this process is In this process, the maximum backoff window of the node will become twice the current window (exponential backoff mechanism). At the same time, in the same backoff level i, the process of node parameter j transferring from state j to state j-1 indicates that the node detects that the current channel environment is idle (no data transmission from other nodes is heard), and thus the remaining backoff timer value is reduced by 1. The state transition probability of this process is On the contrary, the process of returning from state j to state j indicates that the node detects that the current channel environment is busy (hears data transmission from other nodes), thereby freezing the remaining backoff timer value. The state transition probability of this process is In addition, the probability q represents the probability that the node buffer is still not empty after the node completes the transmission service of the current data packet. Whenever the node completes the transmission of the current data packet, if there is a data packet waiting to be transmitted in the buffer at this time, the node will initialize the backoff process. The state transition probability of the initialization process is If the cache is empty at this time, the node will return to the idle state, and the state transition probability of returning to the idle state is (1-q)(1-ε k )(1-p cl,k ).

另外,值得注意的是,当节点到达最大退避阶m后,节点将不再向更高退避阶级迈升,转而停留在当前最高退避阶级m,直到当前数据包的传输最终完成。综上所述,我们可以得到基于以上状态转移概率表达式的单步转移概率。In addition, it is worth noting that when a node reaches the maximum backoff level m, it will no longer move to a higher backoff level, but will stay at the current highest backoff level m until the transmission of the current data packet is finally completed. In summary, we can obtain the single-step transition probability based on the above state transition probability expression.

其中,Pr{-1,-1|-1,-1}表示节点当前状态为空闲,在下一时隙内节点状态仍为空闲的概率;Among them, Pr{-1,-1|-1,-1} represents the probability that the node is currently idle and the node state will still be idle in the next time slot;

Pr{0,j|-1,-1}表示节点当前状态为空闲,在下一时隙内节点进入初始退避状态i=0且退避计时器值设定为j的过程的状态转移概率,该过程表示有新数据包到达,从而进入初始退避状态i=0的过程;Pr{0,j|-1,-1} represents the state transition probability of the node being idle in the next time slot and entering the initial backoff state i=0 with the backoff timer value set to j. This process indicates that a new data packet arrives and enters the initial backoff state i=0.

表示相同退避阶级i中,由当前状态j在下一时隙重新回到状态j的过程的状态转移概率,该过程表示节点侦测到当前信道环境为忙碌状态,从而冻结剩余退避计时器值的过程; represents the state transition probability of the process of returning to state j from the current state j in the next time slot in the same backoff level i. This process means that the node detects that the current channel environment is busy and freezes the remaining backoff timer value;

表示相同退避阶级i中,由当前状态j在下一时隙转移到状态j-1的过程的状态转移概率,该过程表示节点侦测到当前信道环境为空闲状态,从而将剩余退避计时器值减去1的过程; represents the state transition probability of the process of transitioning from the current state j to the state j-1 in the next time slot in the same backoff level i. This process means that the node detects that the current channel environment is idle, and thus subtracts 1 from the remaining backoff timer value;

Pr{i+1,j|i,0}表示节点当前时隙所处退避阶级i在下一时隙转移至i+1,且退避计时器值由当前时隙的0在下一时隙被设置为j的过程的状态转移概率,该过程表示由于数据碰撞或有限码长数据包解码错误,导致当前数据传输尝试失败,节点向更高退避阶级转移的过程;Pr{i+1,j|i,0} represents the state transition probability of the node's backoff level i in the current time slot being transferred to i+1 in the next time slot, and the backoff timer value is set from 0 in the current time slot to j in the next time slot. This process represents the process of the node transferring to a higher backoff level due to the failure of the current data transmission attempt due to data collision or finite code length data packet decoding error;

Pr{m,j|m,0}表示节点当前隙所处退避阶级为最高退避阶级m,退避计时器值由当前时隙的0在下一时隙被设置为j的过程的状态转移概率,该过程表示当节点到达最大退避阶级m后,节点将不再向更高退避阶级迈升,转而停留在当前最高退避阶级m,直到当前数据包的传输最终完成的过程;Pr{m,j|m,0} represents the state transition probability of the process in which the backoff level of the node in the current time slot is the highest backoff level m, and the backoff timer value is set from 0 in the current time slot to j in the next time slot. This process means that when the node reaches the maximum backoff level m, the node will no longer move to a higher backoff level, but stay at the current highest backoff level m until the transmission of the current data packet is finally completed;

Pr{-1,-1|i,0}表示节点当前时隙所处退避阶级为i,且退避计时器值为0,在下一时隙节点状态转移至空闲状态的状态转移概率,该过程表示节点成功完成了当前数据包的传输,由于没有新的数据包到达,节点回退到空闲状态的过程;Pr{-1,-1|i,0} indicates the state transition probability of the node in the current time slot being in backoff class i and the backoff timer value being 0, and the node state transitioning to the idle state in the next time slot. This process indicates that the node has successfully completed the transmission of the current data packet, and since no new data packets have arrived, the node falls back to the idle state;

Pr{0,j|i,0}表示节点当前时隙所处退避阶级为i,且退避计时器值为0,在下一时隙内节点进入初始退避状态i=0且退避计时器值设定为j的过程的状态转移概率,该过程表示节点成功完成了当前数据包的传输,由于没有新的数据包到达,节点回退到空闲状态的过程;该过程表示节点成功完成了当前数据包的传输,由于有新的数据包到达,节点初始化退避的过程;Pr{0,j|i,0} represents the state transition probability of the node in the current time slot being in backoff class i and the backoff timer value being 0, and the node entering the initial backoff state i=0 and the backoff timer value being set to j in the next time slot. This process represents the process in which the node successfully completes the transmission of the current data packet and returns to the idle state due to the arrival of no new data packets. This process represents the process in which the node successfully completes the transmission of the current data packet and initializes the backoff due to the arrival of new data packets.

对于CSMA/CA网络中的任意站点记其侦测到当前信道状态为忙碌的概率为以最大单次传输功率Pmax向中心网络接入点AP(Access Point,AP)发送数据包,单次数据包传输在有限码长理论下的解码错误概率为εk,我们得到节点等效二维马尔科夫链单步转移概率。其中,第一、第二条概率转移表达式说明了非饱和模型下数据包生成过程对节点状态的影响;第三、第四条概率转移表达式表示的是考虑隐蔽站干扰的情况下,信号覆盖问题对于节点信道侦听过程的影响;第五、第六条概率转移表达式表示的是失败的传输尝试对节点状态转移的影响;最后,第七、第八条概率转移表达式表明数据传输尝试成功,节点转入空闲状态或重新开始下一次信道侦听过程的概率。For any station in the CSMA/CA network The probability of detecting that the current channel state is busy is The maximum single transmission power P max is used to send a data packet to the central network access point AP (Access Point, AP). The decoding error probability of a single data packet transmission under the finite code length theory is ε k , and we get the node equivalent two-dimensional Markov chain single-step transition probability. Among them, the first and second probability transition expressions illustrate the impact of the data packet generation process on the node state under the non-saturated model; the third and fourth probability transition expressions represent the impact of the signal coverage problem on the node channel listening process under the consideration of hidden station interference; the fifth and sixth probability transition expressions represent the impact of failed transmission attempts on node state transition; finally, the seventh and eighth probability transition expressions indicate the probability that the data transmission attempt is successful and the node enters the idle state or restarts the next channel listening process.

步骤2,基于步骤1所得到的二维马尔科夫链单步转移概率,基于离散排队论中稳态概率分布闭式解的求解方法,我们得到基于步骤1中所描述的CSMA/CA网络节点等效二维马尔科夫模型的稳态概率分布闭式解;同时,基于稳态概率分布闭式解,我们得到任意CSMA/CA网络节点在任意系统时隙内的稳态传输概率以实现在异构CSMA/CA网络下对模型精度的提升。Step 2: Based on the single-step transition probability of the two-dimensional Markov chain obtained in step 1, and based on the closed-form solution of the steady-state probability distribution in discrete queuing theory, we obtain the closed-form solution of the steady-state probability distribution of the equivalent two-dimensional Markov model of the CSMA/CA network node described in step 1; at the same time, based on the closed-form solution of the steady-state probability distribution, we obtain the steady-state transmission probability of any CSMA/CA network node in any system time slot: This can improve the model accuracy in heterogeneous CSMA/CA networks.

基于离散排队论中稳态概率分布闭式解的求解方法,对于任意节点,在系统时间趋于无穷(稳态)时,其马尔科夫链节点状态处于状态(i,j)的概率为bi,j,也即基于上述步骤1中所得单步转移概率表达式,我们可以得到如下所示的稳态概率分布关系式:Based on the closed-form solution of steady-state probability distribution in discrete queuing theory, for any node, when the system time tends to infinity (steady state), the probability that its Markov chain node state is in state (i, j) is b i,j , that is, Based on the single-step transition probability expression obtained in step 1 above, we can obtain the steady-state probability distribution relationship as shown below:

其中,第一个稳态概率分布关系式表示从二维马尔科夫链任意节点状态转入空闲节点状态b-1,-1的转移关系。由CSMA/CA控制协议可知,空闲状态仅可能从空闲状态自身,以及经历成功传输的传输状态转入;第二个花括号包含的稳态概率分布关系式表示从二维马尔科夫链任意节点状态转入第一层退避状态稳态分布b0,j,j∈[0,w0]的转移关系。对于第一层退避状态分布b0,j,其可能通过数据包生成过程,即退避初始化过程由空闲状态b-1,-1转入;通过经历成功传输且节点缓冲区非空的传输状态转入;通过网络节点的CCA(Clear Channel Assessment,CCA)功能侦听到当前信道为占用状态,重新回到当前状态b0,j;也可能经过CCA检测信道为空闲状态,由状态b0,j+1,j∈[0,w0-1)转入。对于第i层退避状态分布bi,j,其可能通过经历成功传输且节点缓冲区非空的传输状态bi-1,0转入;通过节点的CCA功能侦听到当前信道为占用状态,重新回到当前状态bi,j;也可能经过CCA检测信道为空闲状态,由状态bi,j+1,j∈[0,wi-1)转入。最后,对于第m层退避状态分布bm,j,其可能通过经历成功传输且节点缓冲区非空的传输状态bm-1,0,bm,0转入;通过节点的CCA功能侦听到当前信道为占用状态,重新回到当前状态bm,j;也可能经过CCA检测信道为空闲状态,由状态bm,j+1,j∈[0,wm-1)转入。Among them, the first steady-state probability distribution relationship represents the transition relationship from any node state of the two-dimensional Markov chain to the idle node state b -1,-1 . According to the CSMA/CA control protocol, the idle state can only be obtained from the idle state itself and the transmission state that has undergone successful transmission. The second curly bracket contains the steady-state probability distribution relation that represents the transition from any node state of the two-dimensional Markov chain to the first-level backoff state steady-state distribution b 0,j ,j∈[0,w 0 ]. For the first-level backoff state distribution b 0,j , it may be transferred from the idle state b -1,-1 through the packet generation process, that is, the backoff initialization process; through the transmission state that has experienced successful transmission and the node buffer is not empty Transition to state b 0,j; the current channel is detected as occupied through the CCA (Clear Channel Assessment, CCA) function of the network node, and the current state b 0,j is returned to; it is also possible to detect that the channel is idle through CCA and transition from state b 0,j+1 ,j∈[0,w 0 -1). For the i-th layer backoff state distribution b i,j , it may transition to state b i-1,0 through a successful transmission and a non-empty node buffer; the current channel is detected as occupied through the CCA function of the node, and the current state b i,j is returned to; it is also possible to detect that the channel is idle through CCA and transition from state b i,j+1 ,j∈[0,w i -1). Finally, for the backoff state distribution bm ,j at the mth layer, it may enter the state bm -1,0 , bm ,0 after experiencing successful transmission and the node buffer is not empty; it may return to the current state bm,j by detecting that the current channel is occupied through the node's CCA function; it may also enter the state bm,j+1 , j∈[0, wm -1) by detecting that the channel is idle through CCA.

经过对上述稳态概率分布关系式的整理与改写,我们可以进一步得到如下概率分布表达式。After sorting out and rewriting the above steady-state probability distribution relationship, we can further obtain the following probability distribution expression.

其中,表示CSMA/CA网络节点k的错误传输概率,这种传输错误是由于有限码长传输策略下的解码错误或节点数据包传输碰撞导致的。in, It represents the error transmission probability of node k in the CSMA/CA network. This transmission error is caused by decoding error under the finite code length transmission strategy or node data packet transmission collision.

最终,基于节点稳态概率分布的归一化表达式以及节点数据包稳态传输概率表达式在给定网络内全体节点数目k,数据包生成概率q以及单次最大传输功率Pmax的条件下,我们可以得到节点的稳态传输概率表达式闭式解如下。Finally, the normalized expression based on the node steady-state probability distribution is And the expression of the steady-state transmission probability of node data packets is Given the total number of nodes k in the network, the probability of packet generation q, and the maximum single transmission power P max , we can obtain the closed-form solution of the node's steady-state transmission probability expression as follows.

步骤3,基于步骤1中得到的稳态概率分布闭式解步骤2中得到的CSMA/CA网络节点稳态传输概率基于概率论推导得到面向工业物联网现场通信系统场景下的信道侦听忙碌概率关于CSMA/CA网络节点单次传输最大发射功率Pmax的边界条件,以实现考虑隐蔽站效应(无线信号覆盖问题)条件下,CSMA/CA网络节点最大单次传输功率Pmax边界条件的分析。Step 3: Based on the closed-form solution of the steady-state probability distribution obtained in step 1 The steady-state transmission probability of CSMA/CA network nodes obtained in step 2 Based on probability theory, the channel listening busy probability for the industrial Internet of Things field communication system scenario is derived Regarding the boundary conditions of the maximum single transmission power P max of CSMA/CA network nodes, in order to analyze the boundary conditions of the maximum single transmission power P max of CSMA/CA network nodes under the condition of hidden station effect (wireless signal coverage problem).

我们考虑一个存在对数路径衰落效应的无线信道模型,其中信道增益Gtx可通过发送节点与接收节点之间的欧氏距离信道增益参考距离d0以及路径衰落因子a联合表示,其表达式如下所示。We consider a wireless channel model with logarithmic path fading effect, where the channel gain Gtx can be calculated by the sending node With receiving node The Euclidean distance between The channel gain reference distance d0 and the path fading factor a are jointly expressed as follows.

其中,Gtx(d0)表示信道在参考距离d0处的信道增益。此处取参考距离d0=1,并将参考距离处的信道参考增益表示为G0,我们得到如下表达式。Wherein, G tx (d 0 ) represents the channel gain at the reference distance d 0. Here, the reference distance d 0 =1 is taken, and the channel reference gain at the reference distance is expressed as G 0 , and we obtain the following expression.

在CSMA/CA网络中,当任意网络节点获得无线信道的使用权限后,该网络节点将随即启动一个以最大单次传输发射功率Pmax发送的数据包。考虑所有节点使用单根全向天线的情况下,单次数据包传输过程将在二维平面上近似生成一个圆形的信号覆盖区域。这个圆形信号覆盖区域的半径由802.11协议中规定的载波侦听接收功率门限Pth决定,即当接收功率大于门限值Pth时判定当前信道状态为忙碌,小于门限值Pth时判定当前信道状态为空闲。在给定载波侦听接收功率门限Pth,网络节点最大单次传输功率Pmax的条件下,我们可以得到CSMA/CA网络节点的载波侦听范围CSR(Carrier-Sensing Range,CSR),在此处我们将其表示为Rs,其表达式如下所示。In a CSMA/CA network, when any network node obtains the right to use the wireless channel, the network node will immediately start sending a data packet with the maximum single transmission power P max . Considering that all nodes use a single omnidirectional antenna, the single data packet transmission process will approximately generate a circular signal coverage area on a two-dimensional plane. The radius of this circular signal coverage area is determined by the carrier sense receiving power threshold P th specified in the 802.11 protocol, that is, when the receiving power is greater than the threshold value P th , the current channel state is determined to be busy, and when it is less than the threshold value P th , the current channel state is determined to be idle. Given the carrier sense receiving power threshold P th and the maximum single transmission power P max of the network node, we can get the carrier sensing range CSR (Carrier-Sensing Range, CSR) of the CSMA/CA network node, which is represented as R s here, and its expression is as follows.

在以某个网络节点在二维空间内的坐标为圆心,半径Rs定义的信号覆盖区域内所部属的网络节点将通过CCA功能侦听到该处于圆心的网络节点所发起的数据包传输事件,并停留在退避状态,以避免数据包的同时发送带来的数据包冲突。然而,在该圆形信号覆盖区域之外部署的其他网络节点将由于路径衰落的因素无法侦听到数据包传输事件。同时,这些节点将正常按照CSMA/CA协议进行信道侦听、指数退避过程,并在退避计时器归零时尝试发送缓冲区内的数据包,从而引发潜在的数据包碰撞。这种由无线传播效应导致的信道侦听错误,进而引发的数据包碰撞,学界一般将其称为隐蔽站效应。我们得到如下表达式。The network nodes deployed in the signal coverage area defined by the radius Rs with the coordinates of a network node in two-dimensional space as the center will detect the data packet transmission event initiated by the network node at the center of the circle through the CCA function, and stay in the backoff state to avoid data packet conflicts caused by the simultaneous transmission of data packets. However, other network nodes deployed outside the circular signal coverage area will not be able to detect data packet transmission events due to path fading. At the same time, these nodes will perform channel sensing and exponential backoff processes according to the CSMA/CA protocol, and try to send data packets in the buffer when the backoff timer returns to zero, thereby causing potential data packet collisions. This channel sensing error caused by wireless propagation effects, and the resulting data packet collisions, are generally referred to as the hidden station effect in academia. We get the following expression.

其中,表示节点k的非隐蔽站点集合,即属于集合内的网络节点可以侦听到节点k以最大单次传输功率Pmax发起的数据包传输事件;表示节点k的隐蔽站点集合,即属于集合内的网络节点无法侦听到节点k以最大单次传输功率Pmax发起的数据包传输事件。pcl,k表示节点k在退避计时器剩余数值归0、启动数据包传输时的碰撞概率;表示节点k在指数退避过程中,对信道状态的侦听判定为忙碌状态的概率。in, represents the set of non-hidden sites of node k, that is, belongs to the set Network nodes within The data packet transmission event initiated by node k with the maximum single transmission power P max can be detected; represents the hidden site set of node k, that is, belongs to the set Network nodes within The packet transmission event initiated by node k with the maximum single transmission power P max cannot be detected. p cl,k represents the collision probability of node k when the remaining value of the backoff timer returns to 0 and the packet transmission is started; It represents the probability that node k judges the channel status as busy during the exponential backoff process.

存在一种边界条件,即发送数据包的任意CSMA/CA网络节点以足够大的功率P1进行传输,其表达式如下所示。There is a boundary condition, that is, any CSMA/CA network node sending a data packet transmits with a sufficiently large power P 1 , which is expressed as follows.

其中,表示任意两个CSMA/CA网络节点之间的最大欧氏距离在这种功率分配策略下,除了发送数据包的网络节点自身以外,网络节点集合中的所有网络节点都将检测到当前传输事件,从而避免隐蔽站效应对通信过程的干扰问题。与之相对应,当发送数据包的CSMA/CA网络节点以相对较小的发射功率进行传输时,网络内的某些节点可能由于路径衰落影响存在隐蔽站碰撞效应,如附图2所示。综上所示,我们可以将这两种情况基于边界条件P1定义为两类非线性方程组,如下所示。in, Represents any two CSMA/CA network nodes The maximum Euclidean distance between Under this power allocation strategy, in addition to the network node itself that sends the data packet, the network node set All network nodes in the network will detect the current transmission event, thereby avoiding the interference of the hidden station effect on the communication process. Correspondingly, when the CSMA/CA network node that sends the data packet transmits with a relatively small transmission power, some nodes in the network may have a hidden station collision effect due to the influence of path fading, as shown in Figure 2. In summary, we can define these two situations as two types of nonlinear equations based on the boundary condition P 1 , as shown below.

第一类非线性方程组表示分配足够大的单次传输发射功率Pmax≥P1时,CSMA/CA网络内节点k相关概率的表达式。The first type of nonlinear equations represents the expression of the correlation probability of node k in the CSMA/CA network when a sufficiently large single transmission transmit power P max ≥ P 1 is allocated.

第二类非线性方程组表示分配较低的单次传输发射功率Pmax<P1时,CSMA/CA网络内节点k相关概率的表达式。其中,Q表示Q函数,表达式为V(γk)表示信道色散,表达式为C(γk)表示归一化的信道容量,表达式为C(γk)=log(1+γk);γk表示第k个网络节点在网络接入点处的接收信噪比;M表示码长;表示网络接入点;G0为参考距离处的信道参考增益;表示CSMA/CA网络中第k个节点在接入点处的信道增益;Pt表示为CSMA/CA网络内全体k个节点分配的发射功率;N0表示噪声功率;表示CSMA/CA网络中第k个节点与接入点之间的欧氏距离;P1表示分配功率的边界条件,即当分配功率满足条件Pt=Pmax≥P1时,CSMA/CA网络中将不存在隐蔽站效应,且有成立;当分配功率满足条件Pt=Pmax<P1时,CSMA/CA网络中存在隐蔽站效应,且有 The second type of nonlinear equations represents the expression of the probability of node k in the CSMA/CA network when the lower single transmission power P max <P 1 is assigned. Where Q represents the Q function, and the expression is V(γ k ) represents the channel dispersion and is expressed as C(γ k ) represents the normalized channel capacity, expressed as C(γ k )=log(1+γ k ); γ k represents the received signal-to-noise ratio of the kth network node at the network access point; M represents the code length; represents the network access point; G 0 is the channel reference gain at the reference distance; Represents the kth node in the CSMA/CA network At the access point Pt represents the transmission power allocated to all k nodes in the CSMA/CA network; N0 represents the noise power; represents the Euclidean distance between the kth node and the access point in the CSMA/CA network; P 1 represents the boundary condition of the allocated power, that is, when the allocated power satisfies the condition P t =P max ≥P 1 , there will be no hidden station effect in the CSMA/CA network, and there is When the allocated power satisfies the condition P t = P max < P 1 , there is a hidden station effect in the CSMA/CA network, and there is

步骤4,基于步骤3中所得到的关于节点发射功率分配策略边界条件的两类非线性方程组,我们基于概率论推导给出了工业物联网场景下CSMA/CA网络归一化网络吞吐量模型与网络平均能效模型,在细化了无线信号覆盖条件分析的前提下,提供了一套面向工业物联网现场通信场景的CSMA/CA网络性能分析模型。Step 4. Based on the two types of nonlinear equations about the boundary conditions of the node transmission power allocation strategy obtained in step 3, we derive the normalized network throughput model and network average energy efficiency model of the CSMA/CA network in the industrial Internet of Things scenario based on probability theory. On the premise of refining the analysis of wireless signal coverage conditions, we provide a set of CSMA/CA network performance analysis models for industrial Internet of Things field communication scenarios.

基于步骤2与步骤3中得到的异质化节点稳态传输概率闭式解我们可以得到如下条件概率ps,k,即网络内任意节点在完成指数退避过程(退避计时器剩余值归零)后,将以概率ps,k成功发送当前数据包,其表达式如下所示。Based on the closed-form solution of the steady-state transmission probability of heterogeneous nodes obtained in step 2 and step 3 We can obtain the following conditional probability ps,k , that is, any node in the network will successfully send the current data packet with probability ps,k after completing the exponential backoff process (the remaining value of the backoff timer returns to zero), and its expression is as follows.

同时,考虑到节点在二维等效马尔科夫链中每个状态bi,j的驻留时间并非固定的真实系统时间,也即,在马尔科夫链中的每个时隙可能分别被成功的数据包传输尝试、数据包冲突或无线信道空闲事件占用,马尔科夫链中的时隙长度是非均匀的。因此,为实现等效二维马尔科夫链的状态驻留时间与实际时间之间的转换,我们需要推导马尔科夫链中每个时隙所对应的真实系统时间期望值。At the same time, considering that the residence time of a node in each state b i,j in the two-dimensional equivalent Markov chain is not a fixed real system time, that is, each time slot in the Markov chain may be occupied by a successful packet transmission attempt, a packet collision, or a wireless channel idle event, the length of the time slot in the Markov chain is non-uniform. Therefore, in order to realize the conversion between the state residence time of the equivalent two-dimensional Markov chain and the actual time, we need to derive the expected value of the real system time corresponding to each time slot in the Markov chain.

我们将这个时间的期望值表示为其表达式如下所示。We express the expected value of this time as Its expression is as follows.

其中,ptr表示CSMA/CA网络中,在任意一个系统时隙中,至少存在一个进行中的数据包传输事件的概率,其表达式为σ表示CSMA/CA协议中规定的单个退避时隙的长度;Tcol表示发生数据包碰撞时,无线信道被占用的时间;Tsuc表示数据包成功传输时,无线信道被占用的时间;Terr表示发生数据包解码错误时,无线信道被占用的时间。根据802.11协议,Tcol,Tsuc,Terr这三类信道占用时间可被近似为多个CSMA/CA帧时间之和,其表达式如下所示。Where p tr represents the probability that there is at least one ongoing data packet transmission event in any system time slot in the CSMA/CA network, and its expression is σ represents the length of a single backoff slot specified in the CSMA/CA protocol; T col represents the time the wireless channel is occupied when a packet collision occurs; T suc represents the time the wireless channel is occupied when a packet is successfully transmitted; Terr represents the time the wireless channel is occupied when a packet decoding error occurs. According to the 802.11 protocol, the three types of channel occupation times T col , T suc , and Terr can be approximated as the sum of multiple CSMA/CA frame times, and their expressions are as follows.

其中,在给定数据链路层传输速率的情况下,H表示802.11协议规定的MAC层首部占用的时间;D表示传输D比特的数据包所占用的时间,在有限码长编码策略下,D可以表示为码长M与码元持续时间Ts的乘积,即D=MTs;δ表示无线信号传播时延;ACK表示传输ACK帧所占用的时间;SIFS表示CSMA/CA协议中规定的短帧间间隔SIFS(Short-Inter FrameSpacing,SIFS)所占用的时间;DIFS表示CSMA/CA协议中规定的分布式帧间间隔DIFS(Distributed Inter-Frame Spacing,DIFS)所占用的时间;ACKtimeout表示ACK帧接收时间阈值。Wherein, under a given data link layer transmission rate, H represents the time occupied by the MAC layer header specified in the 802.11 protocol; D represents the time occupied by transmitting a D-bit data packet. Under the finite code length coding strategy, D can be expressed as the product of the code length M and the code element duration Ts , that is, D= MTs ; δ represents the wireless signal propagation delay; ACK represents the time occupied by transmitting the ACK frame; SIFS represents the time occupied by the short inter-frame spacing SIFS (Short-Inter Frame Spacing, SIFS) specified in the CSMA/CA protocol; DIFS represents the time occupied by the distributed inter-frame spacing DIFS (Distributed Inter-Frame Spacing, DIFS) specified in the CSMA/CA protocol; ACK timeout represents the ACK frame receiving time threshold.

综上,我们可以得到归一化的CSMA/CA网络吞吐量表达式如下所示。In summary, we can get the normalized CSMA/CA network throughput expression as shown below.

最终,我们将推导在考虑到CSMA/CA网络节点载波侦听、数据包碰撞、解码错误、退避冻结机制和隐蔽站点干扰的情况下所需要的整体能耗。这个整体能耗综合考虑了碰撞事件、重传尝试(如果有的话)以及接入点处错误解码导致的数据包损坏所消耗的能量。在这里,我们将提出一个针对所考虑的CSMA/CA上行链路网络的平均能耗模型,其表达式如下所示。Finally, we will derive the overall energy consumption required by CSMA/CA network nodes taking into account carrier sensing, packet collisions, decoding errors, backoff freezing mechanisms, and hidden station interference. This overall energy consumption takes into account the energy consumed by collision events, retransmission attempts (if any), and packet corruption caused by erroneous decoding at the access point. Here, we will propose an average energy consumption model for the considered CSMA/CA uplink network, which is expressed as follows.

其中,Pave表示CSMA/CA网络的平均能耗,Pidle,Pcs,Pmax分别表示任意网络节点在空闲状态、退避状态以及发送状态下所消耗的功率;表示一次数据包传输周期内,节点在空闲状态下所经历时间的期望,其表达式为 表示一次数据包传输周期内,节点在载波侦听状态下所经历时间的期望,其表达式为 表示一次数据包传输周期内,节点k在数据发送状态下所经历时间的期望,其表达式为 Wherein, P ave represents the average energy consumption of the CSMA/CA network, P idle , P cs , and P max represent the power consumed by any network node in the idle state, backoff state, and sending state, respectively; It represents the expected time that a node spends in idle state during a data packet transmission cycle, and its expression is: It represents the expected time that a node spends in the carrier sensing state during a data packet transmission cycle, and its expression is: It represents the expected time that node k spends in the data sending state during a data packet transmission cycle, and its expression is:

实施例2Example 2

本实施例提供一种工业物联网场景下基于马尔科夫链的面向CSMA/CA网络能效建模系统,包括:This embodiment provides a CSMA/CA network energy efficiency modeling system based on Markov chain in an industrial Internet of Things scenario, including:

模块一,其用于基于CSMA/CA控制协议,将节点状态抽象为二维马尔科夫链构建CSMA/CA网络等效马尔科夫链模型,并得到二维马尔科夫链单步转移概率;Module 1 is used to abstract the node state into a two-dimensional Markov chain based on the CSMA/CA control protocol to construct a CSMA/CA network equivalent Markov chain model and obtain the single-step transition probability of the two-dimensional Markov chain;

模块二,其用于基于所得到的二维马尔科夫链单步转移概率,基于离散排队论中稳态概率分布闭式解的求解方法,得到基于所描述的CSMA/CA网络节点等效二维马尔科夫模型的稳态概率分布闭式解;同时,基于稳态概率分布闭式解,得到任意CSMA/CA网络节点在任意系统时隙内的稳态传输概率;Module 2 is used to obtain the closed-form solution of the steady-state probability distribution of the equivalent two-dimensional Markov model of the described CSMA/CA network node based on the obtained single-step transition probability of the two-dimensional Markov chain and the solution method of the closed-form solution of the steady-state probability distribution in discrete queuing theory; at the same time, based on the closed-form solution of the steady-state probability distribution, the steady-state transmission probability of any CSMA/CA network node in any system time slot is obtained;

模块三,其用于基于得到的稳态概率分布闭式解和步骤2中得到的CSMA/CA网络节点稳态传输概率,基于概率论推导得到面向工业物联网现场通信系统场景下的信道侦听忙碌概率关于CSMA/CA网络节点单次传输最大发射功率的边界条件;Module three is used to derive the boundary conditions of the maximum transmission power of a single transmission of a CSMA/CA network node based on the closed-form solution of the steady-state probability distribution and the steady-state transmission probability of the CSMA/CA network node obtained in step 2 and the channel listening busy probability in the industrial Internet of Things field communication system scenario based on probability theory;

模块四,其用于基于所得到的关于节点发射功率分配策略边界条件的两类非线性方程组,基于概率论推导给出了工业物联网场景下CSMA/CA网络归一化网络吞吐量模型与网络平均能效模型。Module 4 is used to derive the normalized network throughput model and network average energy efficiency model of the CSMA/CA network in the industrial Internet of Things scenario based on the two types of nonlinear equations obtained about the boundary conditions of the node transmission power allocation strategy based on probability theory.

尽管已描述了本发明的优选实例,但本领域的技术人员一旦得知了基本的创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围所有的变更和修改。Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其同等技术的范围之类,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. Thus, if these modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

其它未详细说明的部分均为现有技术。Other parts not described in detail are all prior art.

Claims (9)

1.一种工业物联网场景下CSMA/CA网络能效建模方法,其特征在于,包括以下步骤:1. A CSMA/CA network energy efficiency modeling method in an industrial Internet of Things scenario, characterized by comprising the following steps: 步骤1:基于CSMA/CA控制协议,将节点状态抽象为二维马尔科夫链构建CSMA/CA网络等效马尔科夫链模型,并得到二维马尔科夫链单步转移概率;Step 1: Based on the CSMA/CA control protocol, the node state is abstracted into a two-dimensional Markov chain to construct a CSMA/CA network equivalent Markov chain model, and the single-step transition probability of the two-dimensional Markov chain is obtained; 步骤2,基于步骤1所得到的二维马尔科夫链单步转移概率,基于离散排队论中稳态概率分布闭式解的求解方法,得到基于步骤1中所描述的CSMA/CA网络节点等效二维马尔科夫模型的稳态概率分布闭式解;同时,基于稳态概率分布闭式解,得到任意CSMA/CA网络节点在任意系统时隙内的稳态传输概率;Step 2: Based on the single-step transition probability of the two-dimensional Markov chain obtained in step 1 and the closed-form solution of the steady-state probability distribution in discrete queuing theory, a closed-form solution of the steady-state probability distribution of the equivalent two-dimensional Markov model of the CSMA/CA network node described in step 1 is obtained; at the same time, based on the closed-form solution of the steady-state probability distribution, the steady-state transmission probability of any CSMA/CA network node in any system time slot is obtained; 步骤3,基于步骤2中得到的稳态概率分布闭式解和步骤2中得到的CSMA/CA网络节点稳态传输概率,基于概率论推导得到面向工业物联网现场通信系统场景下的信道侦听忙碌概率关于CSMA/CA网络节点单次传输最大发射功率的边界条件;Step 3: Based on the closed-form solution of the steady-state probability distribution obtained in step 2 and the steady-state transmission probability of the CSMA/CA network node obtained in step 2, the boundary conditions of the channel listening busy probability for the industrial Internet of Things field communication system scenario and the maximum transmission power of the CSMA/CA network node for a single transmission are derived based on probability theory; 步骤4,基于步骤3中所得到的关于节点发射功率分配策略边界条件的两类非线性方程组,基于概率论推导给出了工业物联网场景下CSMA/CA网络归一化网络吞吐量模型与网络平均能效模型。Step 4: Based on the two types of nonlinear equations about the boundary conditions of the node transmission power allocation strategy obtained in step 3, the normalized network throughput model and network average energy efficiency model of the CSMA/CA network in the industrial Internet of Things scenario are derived based on probability theory. 2.根据权利要求1所述的一种工业物联网场景下CSMA/CA网络能效建模方法,其特征在于,所述步骤1中二维马尔科夫链构建CSMA/CA网络等效马尔科夫链模型为以退避阶级i和退避计时器剩余值j为状态变量的二维马尔科夫链,该马尔科夫链的每一个状态均由两个随机变量{s(t),v(t)}表示,其中,第一个维度的随机变量s(t)表示t时刻节点的退避阶级i,并有i∈[-1,m],其中,m表示CSMA/CA网络的最大退避阶数;第二个维度的随机变量v(t)表示t时刻节点的退避计时器剩余值j,并有j∈[-1,wm-1];其中,wm表示CSMA/CA网络达到最大退避阶数m时的竞争窗口大小,且有wi=2i·w0,i∈[0,m];其中,wi表示退避阶数为i时的最大竞争窗口大小,w0表示退避阶数为0时的竞争窗口大小;当退避阶级i与退避计时器剩余值j同时取值为-1时,表示节点处于空闲状态,即节点的发送队列为空,二维马尔科夫链的第一个状态参数i表示CSMA/CA网络节点当前所处退避阶级,i=-1时表示节点缓冲区为空,没有数据包等待传输;i≥0时表示节点缓冲区非空,存在数据包等待传输;二维马尔科夫链的第二个状态参数j表示节点当前退避计时器剩余值即j=-1时表示节点缓冲区为空,没有数据包等待传输,j≥0时表示节点缓冲区非空,存在数据包等待传输。2. According to a CSMA/CA network energy efficiency modeling method in an industrial Internet of Things scenario according to claim 1, it is characterized in that the two-dimensional Markov chain in step 1 constructs an equivalent Markov chain model of the CSMA/CA network as a two-dimensional Markov chain with backoff level i and backoff timer remaining value j as state variables, and each state of the Markov chain is represented by two random variables {s(t), v(t)}, wherein the random variable s(t) of the first dimension represents the backoff level i of the node at time t, and i∈[-1,m], wherein m represents the maximum backoff order of the CSMA/CA network; the random variable v(t) of the second dimension represents the backoff timer remaining value j of the node at time t, and j∈[-1,w m -1]; wherein w m represents the contention window size when the CSMA/CA network reaches the maximum backoff order m, and w i =2 i ·w 0 ,i∈[0,m]; wherein w i represents the maximum contention window size when the backoff order is i, w 0 represents the contention window size when the backoff order is 0; when the backoff class i and the remaining value j of the backoff timer are both -1, it means that the node is in an idle state, that is, the sending queue of the node is empty. The first state parameter i of the two-dimensional Markov chain represents the current backoff class of the CSMA/CA network node. When i=-1, it means that the node buffer is empty and there are no data packets waiting to be transmitted; when i≥0, it means that the node buffer is not empty and there are data packets waiting to be transmitted; the second state parameter j of the two-dimensional Markov chain represents the remaining value of the current backoff timer of the node, that is, when j=-1, it means that the node buffer is empty and there are no data packets waiting to be transmitted. When j≥0, it means that the node buffer is not empty and there are data packets waiting to be transmitted. 3.根据权利要求2所述的一种工业物联网场景下CSMA/CA网络能效建模方法,其特征在于,所述二维马尔科夫链单步转移概率为:3. According to a CSMA/CA network energy efficiency modeling method in an industrial Internet of Things scenario in claim 2, it is characterized in that the single-step transition probability of the two-dimensional Markov chain is: 其中,Pr{-1,-1|-1,-1}表示节点当前状态为空闲,在下一时隙内节点状态仍为空闲的概率;Among them, Pr{-1,-1|-1,-1} represents the probability that the node is currently idle and the node state will still be idle in the next time slot; Pr{0,j|-1,-1}表示节点当前状态为空闲,在下一时隙内节点进入初始退避状态i=0且退避计时器值设定为j的过程的状态转移概率,该过程表示有新数据包到达,从而进入初始退避状态i=0的过程;Pr{0,j|-1,-1} represents the state transition probability of the node being idle in the next time slot and entering the initial backoff state i=0 with the backoff timer value set to j. This process indicates that a new data packet arrives and enters the initial backoff state i=0. 表示相同退避阶级i中,由当前状态j在下一时隙重新回到状态j的过程的状态转移概率,该过程表示节点侦测到当前信道环境为忙碌状态,从而冻结剩余退避计时器值的过程; represents the state transition probability of the process of returning to state j from the current state j in the next time slot in the same backoff level i. This process means that the node detects that the current channel environment is busy and freezes the remaining backoff timer value; 表示相同退避阶级i中,由当前状态j在下一时隙转移到状态j-1的过程的状态转移概率,该过程表示节点侦测到当前信道环境为空闲状态,从而将剩余退避计时器值减去1的过程; represents the state transition probability of the process of transitioning from the current state j to the state j-1 in the next time slot in the same backoff level i. This process means that the node detects that the current channel environment is idle, and thus subtracts 1 from the remaining backoff timer value; Pr{i+1,j|i,0}表示节点当前时隙所处退避阶级i在下一时隙转移至i+1,且退避计时器值由当前时隙的0在下一时隙被设置为j的过程的状态转移概率,该过程表示由于数据碰撞或有限码长数据包解码错误,导致当前数据传输尝试失败,节点向更高退避阶级转移的过程;Pr{i+1,j|i,0} represents the state transition probability of the node's backoff level i in the current time slot being transferred to i+1 in the next time slot, and the backoff timer value is set from 0 in the current time slot to j in the next time slot. This process represents the process of the node transferring to a higher backoff level due to the failure of the current data transmission attempt due to data collision or finite code length data packet decoding error; Pr{m,j|m,0}表示节点当前隙所处退避阶级为最高退避阶级m,退避计时器值由当前时隙的0在下一时隙被设置为j的过程的状态转移概率,该过程表示当节点到达最大退避阶级m后,节点将不再向更高退避阶级迈升,转而停留在当前最高退避阶级m,直到当前数据包的传输最终完成的过程;Pr{m,j|m,0} represents the state transition probability of the process in which the backoff level of the node in the current time slot is the highest backoff level m, and the backoff timer value is set from 0 in the current time slot to j in the next time slot. This process means that when the node reaches the maximum backoff level m, the node will no longer move to a higher backoff level, but stay at the current highest backoff level m until the transmission of the current data packet is finally completed; Pr{-1,-1|i,0}表示节点当前时隙所处退避阶级为i,且退避计时器值为0,在下一时隙节点状态转移至空闲状态的状态转移概率,该过程表示节点成功完成了当前数据包的传输,由于没有新的数据包到达,节点回退到空闲状态的过程;Pr{-1,-1|i,0} indicates the state transition probability of the node in the current time slot being in backoff class i and the backoff timer value being 0, and the node state transitioning to the idle state in the next time slot. This process indicates that the node has successfully completed the transmission of the current data packet, and since no new data packets have arrived, the node falls back to the idle state; Pr{0,j|i,0}表示节点当前时隙所处退避阶级为i,且退避计时器值为0,在下一时隙内节点进入初始退避状态i=0且退避计时器值设定为j的过程的状态转移概率,该过程表示节点成功完成了当前数据包的传输,由于没有新的数据包到达,节点回退到空闲状态的过程;该过程表示节点成功完成了当前数据包的传输,由于有新的数据包到达,节点初始化退避的过程;Pr{0,j|i,0} represents the state transition probability of the node in the current time slot being in backoff class i and the backoff timer value being 0, and the node entering the initial backoff state i=0 and the backoff timer value being set to j in the next time slot. This process represents the process in which the node successfully completes the transmission of the current data packet and returns to the idle state due to the arrival of no new data packets. This process represents the process in which the node successfully completes the transmission of the current data packet and initializes the backoff due to the arrival of new data packets. q表示节点在完成对当前数据包的传输服务后,节点缓冲区仍然非空的概率,pcl,k是节点数据包传输发生碰撞的概率;q represents the probability that the node buffer is still not empty after the node completes the transmission service of the current data packet, p cl,k is the probability of collision in the transmission of the node data packet; 其中,对于CSMA/CA网络中的任意站点记其侦测到当前信道状态为忙碌的概率为以最大单次传输功率Pmax向中心网络接入点AP发送数据包,单次数据包传输在有限码长理论下的解码错误概率为εkAmong them, for any station in the CSMA/CA network The probability of detecting that the current channel state is busy is The data packet is sent to the central network access point AP with the maximum single transmission power P max . The decoding error probability of a single data packet transmission under the finite code length theory is ε k . 4.根据权利要求3所述的一种工业物联网场景下CSMA/CA网络能效建模方法,其特征在于,所述步骤2中基于步骤1中所描述的CSMA/CA网络节点等效二维马尔科夫模型的稳态概率分布闭式解为:4. According to a CSMA/CA network energy efficiency modeling method in an industrial Internet of Things scenario according to claim 3, it is characterized in that the closed-form solution of the steady-state probability distribution of the CSMA/CA network node equivalent two-dimensional Markov model described in step 1 in step 2 is: bi,j为对于任意节点,在系统时间趋于无穷时,其马尔科夫链节点状态处于状态(i,j)的概率。b i,j is the probability that for any node, when the system time tends to infinity, the state of its Markov chain node is in state (i,j). 5.根据权利要求4所述的一种工业物联网场景下CSMA/CA网络能效建模方法,其特征在于,基于上述步骤1中所得单步转移概率表达式,得到如下的稳态概率分布关系式:5. According to the CSMA/CA network energy efficiency modeling method in the industrial Internet of Things scenario of claim 4, it is characterized in that based on the single-step transition probability expression obtained in the above step 1, the following steady-state probability distribution relationship is obtained: 其中,表示状态变量i取值范围在i∈[0,m),且状态变量j取值范围在j∈(0,wi-1]条件下的稳态概率分布闭式解;表示状态变量i取值为i=m,且状态变量j取值范围在j∈(0,wm-1]条件下的稳态概率分布闭式解;表示CSMA/CA网络中节点k的错误传输概率,ptx,k表示节点处于稳态时传输数据包的概率,表示为:in, It represents the closed-form solution of the steady-state probability distribution under the condition that the state variable i takes values in the range i∈[0,m) and the state variable j takes values in the range j∈(0,wi - 1); It represents the closed-form solution of the steady-state probability distribution when the state variable i takes the value i=m and the state variable j takes the value range j∈(0,w m -1]); represents the error transmission probability of node k in the CSMA/CA network, and p tx,k represents the probability of transmitting a data packet when the node is in a steady state, which is expressed as: 基于节点稳态概率分布的归一化表达式以及节点数据包稳态传输概率表达式在给定网络内全体节点数目k,数据包生成概率q以及单次最大传输功率Pmax的条件下,得到节点处于稳态时传输数据包的概率。Normalized expression based on node steady-state probability distribution And the expression of the steady-state transmission probability of node data packets is Given the total number of nodes k in the network, the probability of packet generation q and the single maximum transmission power P max , the probability of a node transmitting a packet when in a steady state is obtained. 6.根据权利要求5所述的一种工业物联网场景下CSMA/CA网络能效建模方法,其特征在于,所述步骤3中面向工业物联网现场通信系统场景下的信道侦听忙碌概率关于CSMA/CA网络节点单次传输最大发射功率Pmax的边界条件P1设定为两类非线性方程组,6. The CSMA/CA network energy efficiency modeling method in an industrial Internet of Things scenario according to claim 5 is characterized in that the boundary condition P1 of the channel listening busy probability in the industrial Internet of Things field communication system scenario with respect to the maximum transmission power P max of a single transmission of a CSMA/CA network node in step 3 is set as two types of nonlinear equations, 其中,第一类非线性方程组:Among them, the first kind of nonlinear equations: 第一类非线性方程组表示分配足够大的单次传输发射功率Pmax≥P1时,CSMA/CA网络内节点k相关概率的表达式;The first type of nonlinear equations represents the expression of the probability of node k being related in the CSMA/CA network when a sufficiently large single transmission transmission power P max ≥ P 1 is allocated; 第二类非线性方程组:Nonlinear equations of the second kind: 第二类非线性方程组表示分配较低的单次传输发射功率Pmax<P1时,CSMA/CA网络内节点k相关概率的表达式;The second type of nonlinear equations represents the expression of the probability of node k being related in the CSMA/CA network when a lower single transmission power P max <P 1 is assigned; 其中,Q表示Q函数,表达式为V(γk)表示信道色散,表达式为C(γk)表示归一化的信道容量,表达式为C(γk)=log(1+γk);γk表示第k个网络节点在网络接入点处的接收信噪比;M表示码长;表示网络接入点;G0为参考距离处的信道参考增益;表示CSMA/CA网络中第k个节点在接入点处的信道增益;Pt表示为CSMA/CA网络内全体k个节点分配的发射功率;N0表示噪声功率;表示CSMA/CA网络中第k个节点与接入点之间的欧氏距离;P1表示分配功率的边界条件,即当分配功率满足条件Pt=Pmax≥P1时,CSMA/CA网络中将不存在隐蔽站效应,且有成立;当分配功率满足条件Pt=Pmax<P1时,CSMA/CA网络中存在隐蔽站效应,且有 Where Q represents the Q function, which is expressed as V(γ k ) represents the channel dispersion and is expressed as C(γ k ) represents the normalized channel capacity, expressed as C(γ k )=log(1+γ k ); γ k represents the received signal-to-noise ratio of the kth network node at the network access point; M represents the code length; represents the network access point; G 0 is the channel reference gain at the reference distance; Represents the kth node in the CSMA/CA network At the access point Pt represents the transmission power allocated to all k nodes in the CSMA/CA network; N0 represents the noise power; represents the Euclidean distance between the kth node and the access point in the CSMA/CA network; P 1 represents the boundary condition of the allocated power, that is, when the allocated power satisfies the condition P t =P max ≥P 1 , there will be no hidden station effect in the CSMA/CA network, and there is When the allocated power satisfies the condition P t = P max < P 1 , there is a hidden station effect in the CSMA/CA network, and there is 7.根据权利要求6所述的一种工业物联网场景下CSMA/CA网络能效建模方法,其特征在于,P1表达式如下所示:7. According to a CSMA/CA network energy efficiency modeling method in an industrial Internet of Things scenario according to claim 6, it is characterized in that the expression of P 1 is as follows: 其中,表示任意两个CSMA/CA网络节点之间的最大欧氏距离Pth表示节点侦听载波判定当前信道状态为空闲的接收功率阈值。in, Represents any two CSMA/CA network nodes The maximum Euclidean distance between Pth represents the receiving power threshold at which the node senses the carrier and determines that the current channel state is idle. 8.根据权利要求7所述的一种工业物联网场景下CSMA/CA网络能效建模方法,其特征在于,所述步骤4中,工业物联网场景下CSMA/CA网络归一化网络吞吐量模型为:8. The CSMA/CA network energy efficiency modeling method in an industrial Internet of Things scenario according to claim 7, characterized in that in step 4, the normalized network throughput model of the CSMA/CA network in the industrial Internet of Things scenario is: 其中,ps,k表示CSMA/CA网络中,第k个节点成功传输数据包的概率,其表达式为Sk表示第k个节点的吞吐量,其表达式为εk表示CSMA/CA网络内第k个节点在给定最大单次传输功率、码长以及数据包大小条件下的解码错误概率;D表示CSMA/CA网络中每个节点单次传输数据包的大小,单位为比特;表示二维马尔科夫链等效模型中,状态转移消耗时间等效CSMA/CA通信协议现实运行时间值的期望,其表达式为;Where ps,k represents the probability of the kth node successfully transmitting a data packet in the CSMA/CA network, and its expression is: S k represents the throughput of the kth node, and its expression is ε k represents the decoding error probability of the kth node in the CSMA/CA network under the given maximum single transmission power, code length and data packet size; D represents the size of a single transmission data packet of each node in the CSMA/CA network, in bits; In the two-dimensional Markov chain equivalent model, the expected value of the actual running time of the CSMA/CA communication protocol equivalent to the state transition time consumption time is expressed as follows: 其中,ptr表示CSMA/CA网络中,在任意一个系统时隙中,至少存在一个进行中的数据包传输事件的概率,其表达式为σ表示CSMA/CA协议中规定的单个退避时隙的长度;Tcol表示发生数据包碰撞时,无线信道被占用的时间;Tsuc表示数据包成功传输时,无线信道被占用的时间;Terr表示发生数据包解码错误时,无线信道被占用的时间;Where p tr represents the probability that there is at least one ongoing data packet transmission event in any system time slot in the CSMA/CA network, and its expression is σ represents the length of a single backoff slot specified in the CSMA/CA protocol; T col represents the time the wireless channel is occupied when a packet collision occurs; T suc represents the time the wireless channel is occupied when a packet is successfully transmitted; Terr represents the time the wireless channel is occupied when a packet decoding error occurs; 工业物联网场景下CSMA/CA网络平均能耗模型为:The average energy consumption model of CSMA/CA network in the industrial Internet of Things scenario is: 其中,Pave表示CSMA/CA网络的平均能耗,Pidle,Pcs,Pmax分别表示任意网络节点在空闲状态、退避状态以及发送状态下所消耗的功率;表示一次数据包传输周期内,节点在空闲状态下所经历时间的期望,其表达式为 表示一次数据包传输周期内,节点在载波侦听状态下所经历时间的期望,其表达式为 表示一次数据包传输周期内,节点k在数据发送状态下所经历时间的期望,其表达式为 Wherein, P ave represents the average energy consumption of the CSMA/CA network, P idle , P cs , and P max represent the power consumed by any network node in the idle state, backoff state, and sending state, respectively; It represents the expected time that a node spends in idle state during a data packet transmission cycle, and its expression is: It represents the expected time that a node spends in the carrier sensing state during a data packet transmission cycle, and its expression is: It represents the expected time that node k spends in the data sending state during a data packet transmission cycle, and its expression is: 9.一种工业物联网场景下CSMA/CA网络能效建模系统,其特征在于,包括:9. A CSMA/CA network energy efficiency modeling system in an industrial Internet of Things scenario, characterized by comprising: 模块一,其用于基于CSMA/CA控制协议,将节点状态抽象为二维马尔科夫链构建CSMA/CA网络等效马尔科夫链模型,并得到二维马尔科夫链单步转移概率;Module 1 is used to abstract the node state into a two-dimensional Markov chain based on the CSMA/CA control protocol to construct a CSMA/CA network equivalent Markov chain model and obtain the single-step transition probability of the two-dimensional Markov chain; 模块二,其用于基于所得到的二维马尔科夫链单步转移概率,基于离散排队论中稳态概率分布闭式解的求解方法,得到基于所描述的CSMA/CA网络节点等效二维马尔科夫模型的稳态概率分布闭式解;同时,基于稳态概率分布闭式解,得到任意CSMA/CA网络节点在任意系统时隙内的稳态传输概率;Module 2 is used to obtain the closed-form solution of the steady-state probability distribution of the equivalent two-dimensional Markov model of the described CSMA/CA network node based on the obtained single-step transition probability of the two-dimensional Markov chain and the solution method of the closed-form solution of the steady-state probability distribution in discrete queuing theory; at the same time, based on the closed-form solution of the steady-state probability distribution, the steady-state transmission probability of any CSMA/CA network node in any system time slot is obtained; 模块三,其用于基于得到的稳态概率分布闭式解和步骤2中得到的CSMA/CA网络节点稳态传输概率,基于概率论推导得到面向工业物联网现场通信系统场景下的信道侦听忙碌概率关于CSMA/CA网络节点单次传输最大发射功率的边界条件;Module three is used to derive the boundary conditions of the maximum transmission power of a single transmission of a CSMA/CA network node based on the closed-form solution of the steady-state probability distribution and the steady-state transmission probability of the CSMA/CA network node obtained in step 2 and the channel listening busy probability in the industrial Internet of Things field communication system scenario based on probability theory; 模块四,其用于基于所得到的关于节点发射功率分配策略边界条件的两类非线性方程组,基于概率论推导给出了工业物联网场景下CSMA/CA网络归一化网络吞吐量模型与网络平均能效模型;Module 4 is used to derive the normalized network throughput model and the average network energy efficiency model of the CSMA/CA network in the industrial Internet of Things scenario based on the two types of nonlinear equations obtained about the boundary conditions of the node transmission power allocation strategy based on probability theory; 所述工业物联网场景下基于马尔科夫链的面向CSMA/CA网络能效建模系统用于执行权利要求1-8中任一项所述的工业物联网场景下基于马尔科夫链的面向CSMA/CA网络能效建模方法中的步骤。The Markov chain-based CSMA/CA network energy efficiency modeling system in the industrial Internet of Things scenario is used to execute the steps in the Markov chain-based CSMA/CA network energy efficiency modeling method in the industrial Internet of Things scenario described in any one of claims 1-8.
CN202410363441.1A 2024-03-28 2024-03-28 A CSMA/CA network energy efficiency modeling method and system in industrial Internet of Things scenarios Pending CN118200162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410363441.1A CN118200162A (en) 2024-03-28 2024-03-28 A CSMA/CA network energy efficiency modeling method and system in industrial Internet of Things scenarios

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410363441.1A CN118200162A (en) 2024-03-28 2024-03-28 A CSMA/CA network energy efficiency modeling method and system in industrial Internet of Things scenarios

Publications (1)

Publication Number Publication Date
CN118200162A true CN118200162A (en) 2024-06-14

Family

ID=91413491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410363441.1A Pending CN118200162A (en) 2024-03-28 2024-03-28 A CSMA/CA network energy efficiency modeling method and system in industrial Internet of Things scenarios

Country Status (1)

Country Link
CN (1) CN118200162A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118741744A (en) * 2024-09-03 2024-10-01 武汉大学 Method and system for measuring timeliness of decision information in CSMA/CA non-saturated networks

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118741744A (en) * 2024-09-03 2024-10-01 武汉大学 Method and system for measuring timeliness of decision information in CSMA/CA non-saturated networks

Similar Documents

Publication Publication Date Title
Zhai et al. Performance analysis of IEEE 802.11 MAC protocols in wireless LANs
CN101938770B (en) Wireless network maximum retransmission times optimization method based on network channel state
CN104185298B (en) Network load dynamic self-adapting parameter regulation means based on priority
CN103313421B (en) Back off algorithm in the media access control protocol of multihop network and wireless sense network
CN112911723B (en) A channel access method for UAV swarm ad hoc network based on interference priority
CN103906207A (en) Wireless sensor network data transmission method based on self-adaptation required awakening technology
CN106686641B (en) Method for predicting available bandwidth of directional wireless self-organizing network link
CN115315020B (en) Intelligent CSMA/CA backoff method based on IEEE 802.15.4 protocol for differentiated services
Qiu et al. Distributed channel sensing MAC protocol for multi-UUV underwater acoustic network
Hung et al. Performance analysis of the IEEE 802.11 DCF in the presence of the hidden stations
CN108632911A (en) Adaptive conflict avoidance real-time media access control method based on overall scheduling
CN118200162A (en) A CSMA/CA network energy efficiency modeling method and system in industrial Internet of Things scenarios
Misic et al. Avoiding the bottlenecks in the MAC layer in 802.15. 4 low rate WPAN
CN105007586A (en) Two-factor based self-adaptive contention window adjusting method for SMAC protocol of wireless sensor network
Sanada et al. Throughput analysis for full duplex wireless local area networks with hidden nodes
CN119300170B (en) End-to-end throughput maximization method based on linear network
CN110312291A (en) A low-power LoRa wireless network data transmission algorithm
CN113099392B (en) Underwater broadcast transmission method based on hierarchy and state
Tsakmakis et al. On the Effect of Traffic Burstiness in LoRaWAN Networks' Performance
CN116367342A (en) Unmanned aerial vehicle ad hoc network channel access method and system under broadcast scene
CN104579578B (en) A kind of wireless communication link adaptive approach of anti-transmission interference
CN103139834B (en) A kind of wireless sensor network multi-velocity self-adapting back-off method
Madariaga et al. Delay Probability Distributions of Acknowledged CSMA/CA With Finite Re-Transmissions Over Fading Channels
Wang et al. Impact of channel conditions on the throughput optimization in 802.11 DCF
Zhu et al. CSMA/PJ: a protective jamming based MAC protocol to harmonize the long and short links

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