WO2023109007A1 - Time domain resource configuration method and apparatus, electronic device, and storage medium - Google Patents

Time domain resource configuration method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2023109007A1
WO2023109007A1 PCT/CN2022/093661 CN2022093661W WO2023109007A1 WO 2023109007 A1 WO2023109007 A1 WO 2023109007A1 CN 2022093661 W CN2022093661 W CN 2022093661W WO 2023109007 A1 WO2023109007 A1 WO 2023109007A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
domain resource
optimization problem
clock synchronization
resource allocation
Prior art date
Application number
PCT/CN2022/093661
Other languages
French (fr)
Chinese (zh)
Inventor
丰雷
李卫
王建全
孙雷
周雨
刘珊
黄蓉
谢坤宜
周彦伯
Original Assignee
北京邮电大学
北京科技大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京邮电大学, 北京科技大学 filed Critical 北京邮电大学
Publication of WO2023109007A1 publication Critical patent/WO2023109007A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/004Synchronisation arrangements compensating for timing error of reception due to propagation delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/543Allocation or scheduling criteria for wireless resources based on quality criteria based on requested quality, e.g. QoS
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/08Probabilistic or stochastic CAD

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Algebra (AREA)
  • Probability & Statistics with Applications (AREA)
  • Databases & Information Systems (AREA)
  • Operations Research (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application provides a time domain resource configuration method and apparatus, an electronic device, and a storage medium. The method comprises: obtaining an error covariance of clock synchronization precision; constructing a time domain resource configuration optimization problem on the basis of the error covariance of the clock synchronization precision, a time-preserving band length, and a data packet arrival rate, wherein the time domain resource configuration optimization problem is a problem of maximizing network throughput under the condition of ensuring the clock synchronization precision; solving the time domain resource configuration optimization problem to obtain the data packet arrival rate; and determining the network throughput on the basis of the data packet arrival rate and the time-preserving band length. According to the time domain resource configuration method and apparatus, the electronic device, and the storage medium provided in the present application, the maximized network throughput is calculated on the basis of the time-preserving band length and the data packet arrival rate obtained by solving the time domain resource configuration optimization problem, and the maximized network throughput reflects the configuration of time domain resources, so that optimization of the time domain resource configuration is achieved.

Description

时域资源配置方法、装置、电子设备和存储介质Time-domain resource allocation method, device, electronic device and storage medium
交叉引用cross reference
本申请引用于2021年12月17日提交的专利名称为“时域资源配置方法、装置、电子设备和存储介质”的第2021115554221号中国专利申请,其通过引用被全部并入本申请。This application refers to the Chinese patent application No. 2021115554221 filed on December 17, 2021 with the patent title "Time Domain Resource Configuration Method, Device, Electronic Equipment, and Storage Medium", which is fully incorporated by reference into this application.
技术领域technical field
本申请涉及无线通信技术领域,尤其涉及一种时域资源配置方法、装置、电子设备和存储介质。The present application relates to the technical field of wireless communication, and in particular to a time domain resource configuration method, device, electronic equipment and storage medium.
背景技术Background technique
第五代移动通信网络(5th generation mobile network,5G)技术可以为工业控制系统和数据流量提供低延迟和超可靠的确定性功能,其无线技术可以为整个工业制造设施和工厂提供系统连接的灵活性。时间敏感网络(Time Sensitive Network,TSN)是由IEEE 802.1TSN任务组制定的一系列IEEE 802以太网标准,能够为网络提供低时延、低抖动和极低数据丢失率的能力,使得以太网能适用于可靠性和时延要求严苛的时间敏感型应用场景。作为无线通信的5G,将传感器和执行器等工业设备以无线方式连接到TSN网络,可以充分发挥5G的灵活性和TSN的极低延迟性,起到有效减少电缆铺设和移动设备广泛应用等作用。The 5th generation mobile network (5G) technology can provide low-latency and ultra-reliable deterministic functions for industrial control systems and data traffic, and its wireless technology can provide flexible system connections for entire industrial manufacturing facilities and factories. sex. Time Sensitive Network (TSN) is a series of IEEE 802 Ethernet standards formulated by the IEEE 802.1TSN task group, which can provide the network with the ability of low delay, low jitter and extremely low data loss rate, so that Ethernet can It is suitable for time-sensitive application scenarios with strict reliability and delay requirements. As 5G for wireless communication, connecting industrial equipment such as sensors and actuators to the TSN network in a wireless manner can give full play to the flexibility of 5G and the extremely low latency of TSN, effectively reducing cable laying and the wide application of mobile devices. .
5G与TSN网络共存,这对5G确定性通信能力提出了较高要求,不仅需要5G网络提供超可靠低时延通信(Ultra Reliable Low Latency  Communications,URLLC)能力,还需要通过5G空口提供的同步时钟完成授时。在具有不确定性的无线链路环境中对时延的确定性进行评估,从而进一步确保时钟同步的精度以作为时域资源配置的支撑,是当下亟待解决的问题。The coexistence of 5G and TSN networks puts forward higher requirements for 5G deterministic communication capabilities, which not only require 5G networks to provide Ultra Reliable Low Latency Communications (URLLC) capabilities, but also require synchronous clocks provided through 5G air interfaces Complete the timing. It is an urgent problem to be solved at present to evaluate the determinism of delay in an uncertain wireless link environment, so as to further ensure the accuracy of clock synchronization as a support for time domain resource allocation.
发明内容Contents of the invention
针对现有技术存在的问题,本发明提供一种时域资源配置方法、装置、电子设备和存储介质。Aiming at the problems existing in the prior art, the present invention provides a time domain resource configuration method, device, electronic equipment and storage medium.
本发明提供一种时域资源配置方法,包括:The present invention provides a time domain resource configuration method, including:
获取时钟同步精度的误差协方差;Obtain the error covariance of clock synchronization accuracy;
基于所述时钟同步精度的误差协方差、保时带长度和数据包到达率构建时域资源配置优化问题;其中,所述时域资源配置优化问题为在保证时钟同步精度的条件下使网络吞吐量最大化的问题;Based on the error covariance of the clock synchronization accuracy, the time-guaranteed band length and the arrival rate of data packets, the time-domain resource allocation optimization problem is constructed; wherein, the time-domain resource allocation optimization problem is to make the network throughput under the condition of ensuring the clock synchronization accuracy The problem of maximizing the quantity;
对所述时域资源配置优化问题进行求解,得到所述数据包到达率;Solving the time-domain resource allocation optimization problem to obtain the data packet arrival rate;
基于所述数据包到达率和所述保时带长度确定所述网络吞吐量。The network throughput is determined based on the data packet arrival rate and the length of the timekeeping band.
根据本发明提供的一种时域资源配置方法,所述获取时钟同步精度的误差协方差包括:According to a time-domain resource configuration method provided by the present invention, the error covariance of obtaining clock synchronization accuracy includes:
基于时间戳信息和时钟状态变量构建时间戳观测模型;Construct a timestamp observation model based on timestamp information and clock state variables;
基于所述时间戳观测模型对网络时延确定性进行评估;Evaluating network delay certainty based on the time stamp observation model;
基于评估后的时间戳观测模型确定时钟同步精度的误差协方差。The error covariance of the clock synchronization accuracy is determined based on the evaluated timestamp observation model.
根据本发明提供的一种时域资源配置方法,所述基于时间戳信息和时钟状态变量构建时间戳观测模型,包括:According to a time-domain resource configuration method provided by the present invention, the construction of a time stamp observation model based on time stamp information and clock state variables includes:
基于公式(1)构建所述时间戳观测模型;Build the time stamp observation model based on formula (1);
z i,k=γ k[T i,1+T i,2-2t]=γ k[Cx i(k)+v i(k)]          (1) z i,kk [T i,1 +T i,2 -2t]=γ k [Cx i (k)+v i (k)] (1)
其中,z i,k为所述时间戳观测模型,γ k为二元伯努利随机变量,i为基站节点的数量,T i,1为基站节点gNB i向授时终端节点UE j发送时间同步变量的时刻,T i,2为基站节点gNB i收到终端节点UE j回复时间同步变量的时刻,j为终端节点的数量,t为理想参考时间,C为观测矩阵,C=[0 2],x i(k)为基站节点gNB i的时钟状态变量,k为时钟同步过程的第k周期,v i(k)为观测噪声,v i(k)=d i+Y i,k,v i(k)为服从N(0,R)分布的高斯随机变量,d i为同步过程中产生的固定时延,Y i,k为由于无线信道的随机性产生的随机时延。 Among them, z i,k is the time stamp observation model, γ k is a binary Bernoulli random variable, i is the number of base station nodes, T i,1 is the time synchronization sent by base station node gNB i to timing terminal node UE j The moment of the variable, T i,2 is the moment when the base station node gNB i receives the reply time synchronization variable from the terminal node UE j , j is the number of terminal nodes, t is the ideal reference time, C is the observation matrix, C=[0 2] , x i (k) is the clock state variable of the base station node gNB i , k is the kth period of the clock synchronization process, v i (k) is the observation noise, v i (k)=d i +Y i,k , v i (k) is a Gaussian random variable that obeys the N(0,R) distribution, d i is the fixed time delay generated during the synchronization process, and Y i, k is the random time delay generated due to the randomness of the wireless channel.
根据本发明提供的一种时域资源配置方法,所述基于所述时间戳观测模型对网络时延确定性进行评估,包括:According to a time-domain resource configuration method provided by the present invention, the evaluation of network delay certainty based on the time stamp observation model includes:
求解公式(2)中的无线网络时延确定性的置信度;Solving the confidence degree of the wireless network delay certainty in the formula (2);
p d=p{t l<x<αt u}p{0<w<(1-α)t u}             (2) p d =p{t l <x<αt u }p{0<w<(1-α)t u } (2)
其中,p d为所述无线网络时延确定性的置信度,α为时延比例因子,0<α<t l/t u,t l为传输时延和排队时延之和的下界,t u为传输时延和排队时延之和的上界,x为传输时延的随机变量,w为无线网络中节点的排队时延随机变量;p{t l<x<αt u}为x落在t l与αt u之间的概率值;
Figure PCTCN2022093661-appb-000001
z(t)=(2 L/(Wt)-1)/c,L为发送数据包的长度,W为信道的带宽,c为接收信噪比的常量系数;p{0<w<(1-α)t u}为w落在0与(1-α)t u之 间的概率值;
Figure PCTCN2022093661-appb-000002
θ满足约束条件E[e θA(1)]E[e -θS(1)]≤1,A(t)为(0,t)时段内的数据到达量,S(t)为(0,t)时段内的数据服务量;A(1)为单位时间内的数据到达量,S(1)为单位时间内的数据服务量,S[(1-α)t u]为(0,(1-α)t u)时段内的数据服务量;
Among them, p d is the confidence degree of the wireless network delay determinism, α is the delay scaling factor, 0<α<t l /t u , t l is the lower bound of the sum of transmission delay and queuing delay, t u is the upper bound of the sum of transmission delay and queuing delay, x is the random variable of transmission delay, w is the random variable of queuing delay of nodes in the wireless network; p{t l <x<αt u } is the Probability value between t l and αt u ;
Figure PCTCN2022093661-appb-000001
z(t)=(2 L/(Wt) -1)/c, L is the length of the transmitted data packet, W is the bandwidth of the channel, and c is the constant coefficient of the receiving SNR; p{0<w<(1 -α)t u } is the probability value of w falling between 0 and (1-α)t u ;
Figure PCTCN2022093661-appb-000002
θ satisfies the constraint condition E[e θA(1) ]E[e -θS(1) ]≤1, A(t) is the amount of data arrival in (0,t) period, S(t) is (0,t ) data service volume in the time period; A(1) is the data arrival volume per unit time, S(1) is the data service volume per unit time, and S[(1-α)t u ] is (0,(1 -α)t u ) data service volume in the time period;
基于所述无线网络时延确定性的置信度确定γ k的分布。 The distribution of γ k is determined based on the confidence of the wireless network delay determinism.
根据本发明提供的一种时域资源配置方法,所述基于评估后的时间戳观测模型确定时钟同步精度的误差协方差,包括:According to a time-domain resource configuration method provided by the present invention, the determination of the error covariance of the clock synchronization accuracy based on the evaluated time stamp observation model includes:
基于公式(3)确定所述时钟同步精度的误差协方差;Determine the error covariance of the clock synchronization accuracy based on formula (3);
P k=E[e ke k T]                                    (3) P k =E[e k e k T ] (3)
其中,P k为所述时钟同步精度的误差协方差,e k为时钟状态变量的估计误差,e k T为e k的转置矩阵,
Figure PCTCN2022093661-appb-000003
x k为时钟状态变量,
Figure PCTCN2022093661-appb-000004
为在观测值已知条件下对x k的估计,
Figure PCTCN2022093661-appb-000005
Wherein, P k is the error covariance of the clock synchronization accuracy, ek is the estimation error of the clock state variable, ek T is the transposition matrix of ek ,
Figure PCTCN2022093661-appb-000003
x k is the clock state variable,
Figure PCTCN2022093661-appb-000004
is the estimation of x k under the condition that the observed value is known,
Figure PCTCN2022093661-appb-000005
根据本发明提供的一种时域资源配置方法,所述基于所述时钟同步精度的误差协方差、保时带长度和数据包到达率构建时域资源配置优化问题表示为:According to a time-domain resource allocation method provided by the present invention, the time-domain resource allocation optimization problem based on the error covariance of the clock synchronization accuracy, the time-guaranteed band length, and the data packet arrival rate is expressed as:
P1:max{U(B,λ)};P1:max{U(B,λ)};
Figure PCTCN2022093661-appb-000006
Figure PCTCN2022093661-appb-000006
C2:Tr(E[P k])+ΔE k≤B<T SC2: Tr(E[P k ])+ΔE k ≤ B<T S ;
C3:0<λ<1;C3: 0<λ<1;
其中,P1为所述时域资源配置优化问题的目标函数,C1至C3是 目标函数P1的约束条件,U(B,λ)=R b,B为所述保时带长度,λ为所述数据包到达率,R b为网络吞吐量,P k为所述时钟同步精度的误差协方差,E[P k]为P k的期望值,E[P k]=AXA T+Q-λAXC T(CXC T+R) -1CXA T,X=E[P k-1],λ=E[γ k]=p d,ΔE k为同步过程中的固定误差,Tr(E[P k])为E[P k]的迹,T S为数据包时隙长度,A为系数矩阵,A T为系数矩阵的转置矩阵,Q为过程噪声的协方差矩阵,R为观测噪声的协方差,P k-1为k-1时刻的误差协方差矩阵。 Wherein, P1 is the objective function of the time-domain resource allocation optimization problem, C1 to C3 are the constraints of the objective function P1, U(B,λ)=R b , B is the length of the time-keeping band, and λ is the Packet arrival rate, R b is the network throughput, P k is the error covariance of the clock synchronization accuracy, E[P k ] is the expected value of P k , E[P k ]=AXA T +Q-λAXC T ( CXC T +R) -1 CXA T , X=E[P k-1 ], λ=E[γ k ]=p d , ΔE k is the fixed error in the synchronization process, Tr(E[P k ]) is The trace of E[P k ], T S is the time slot length of the data packet, A is the coefficient matrix, A T is the transpose matrix of the coefficient matrix, Q is the covariance matrix of the process noise, R is the covariance of the observation noise, P k-1 is the error covariance matrix at time k-1.
根据本发明提供的一种时域资源配置方法,所述对所述时域资源配置优化问题进行求解,得到所述数据包到达率,包括:According to a time-domain resource configuration method provided by the present invention, the solving of the time-domain resource configuration optimization problem to obtain the data packet arrival rate includes:
将所述时域资源配置优化问题转换为凸优化问题:Convert the time-domain resource allocation optimization problem into a convex optimization problem:
P2:min{Tr(P k)E[a k|P k]-VU} P2:min{Tr(P k )E[a k |P k ]-VU}
s.t.C4:Tr(E[P k])+ΔE k≤B<T SstC4:Tr(E[P k ])+ΔE k ≤ B<T S ;
C5:0<λ<1;C5:0<λ<1;
其中,P2为所述凸优化问题的目标函数,C4和C5是目标函数P2的约束条件,Tr(P k)为P k的迹,a k为虚拟队列的随机到达过程,E[a k|P k]为P k已知的情况下a k的期望值,V为控制系数,
Figure PCTCN2022093661-appb-000007
Figure PCTCN2022093661-appb-000008
P k+1=max{P k-b k,0}+a k,b k为虚拟队列的离去过程,b k为常量,且b k≥E[a k];
Among them, P2 is the objective function of the convex optimization problem, C4 and C5 are the constraints of the objective function P2, Tr(P k ) is the trace of P k , a k is the random arrival process of the virtual queue, E[a k | P k ] is the expected value of a k when P k is known, V is the control coefficient,
Figure PCTCN2022093661-appb-000007
Figure PCTCN2022093661-appb-000008
P k+1 =max{P k -b k ,0}+a k , b k is the departure process of the virtual queue, b k is a constant, and b k ≥ E[a k ];
对所述凸优化问题进行求解,得到所述数据包到达率。Solving the convex optimization problem to obtain the data packet arrival rate.
根据本发明提供的一种时域资源配置方法,所述基于所述数据包到达率和所述保时带长度确定所述网络吞吐量,包括:According to a time-domain resource configuration method provided by the present invention, the determining the network throughput based on the arrival rate of the data packet and the length of the time-guaranteed band includes:
基于公式(4)确定所述网络吞吐量;Determine the network throughput based on formula (4);
Figure PCTCN2022093661-appb-000009
Figure PCTCN2022093661-appb-000009
其中,W e为保时带长度的等效带宽,
Figure PCTCN2022093661-appb-000010
为Q(x)的反函数,
Figure PCTCN2022093661-appb-000011
1-λ为数据包丢失的概率,t为积分变量。
Among them, W e is the equivalent bandwidth of the time-guaranteed band length,
Figure PCTCN2022093661-appb-000010
is the inverse function of Q(x),
Figure PCTCN2022093661-appb-000011
1-λ is the probability of packet loss, and t is the integral variable.
本发明还提供一种时域资源配置装置,包括:The present invention also provides a device for configuring time-domain resources, including:
获取单元,用于获取时钟同步精度的误差协方差;An acquisition unit, configured to acquire the error covariance of the clock synchronization accuracy;
构建单元,用于基于所述时钟同步精度的误差协方差、保时带长度和数据包到达率构建时域资源配置优化问题;其中,所述时域资源配置优化问题为在保证时钟同步精度的条件下使网络吞吐量最大化的问题;A construction unit for constructing a time-domain resource configuration optimization problem based on the error covariance of the clock synchronization accuracy, the time-guaranteed band length, and the arrival rate of data packets; wherein, the time-domain resource configuration optimization problem is to ensure clock synchronization accuracy The problem of maximizing network throughput under the condition;
求解单元,用于对所述时域资源配置优化问题进行求解,得到所述数据包到达率;A solving unit, configured to solve the time-domain resource allocation optimization problem to obtain the data packet arrival rate;
确定单元,用于基于所述数据包到达率和所述保时带长度确定所述网络吞吐量。A determining unit, configured to determine the network throughput based on the arrival rate of the data packet and the length of the time guarantee band.
本发明还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述任一种所述时域资源配置方法的步骤。The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, it realizes any of the above-mentioned time-domain resources. Steps to configure the method.
本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述时域资源配置方法的步骤。The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the time-domain resource allocation methods described above are implemented.
本发明还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述时域资源配置方法的步骤。The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, the steps of any one of the time-domain resource allocation methods described above are implemented.
本发明提供的一种时域资源配置方法、装置、电子设备和存储介质,基于时钟同步精度的误差协方差、保时带长度和数据包到达率构建了时域资源配置优化问题,并基于保时带长度和求解时域资源配置优化问题得到的数据包到达率计算得到最大化的网络吞吐量。由于最大化的网络吞吐量反映了时域资源的配置,从而实现了对时域资源配置的优化。A time-domain resource allocation method, device, electronic equipment, and storage medium provided by the present invention construct a time-domain resource allocation optimization problem based on the error covariance of clock synchronization accuracy, the length of the time-guarantee band, and the arrival rate of data packets, and based on the guarantee The maximum network throughput can be obtained by calculating the time band length and the data packet arrival rate obtained by solving the time domain resource allocation optimization problem. Since the maximized network throughput reflects the allocation of time domain resources, the optimization of time domain resource allocation is realized.
附图说明Description of drawings
为了更清楚地说明本申请或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in this application or the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are the present For some embodiments of the application, those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本申请提供的时域资源配置方法的流程示意图之一;FIG. 1 is one of the schematic flow charts of the time domain resource allocation method provided by the present application;
图2是本申请提供的时域资源配置方法的流程示意图之二;FIG. 2 is the second schematic flow diagram of the time domain resource allocation method provided by the present application;
图3是本申请提供的双向信息交换机制的时间戳观测模型的示意图;Fig. 3 is a schematic diagram of the time stamp observation model of the two-way information exchange mechanism provided by the present application;
图4是本申请提供的时域资源配置装置的结构示意图;FIG. 4 is a schematic structural diagram of a time-domain resource configuration device provided by the present application;
图5是本申请提供的电子设备的实体结构示意图。FIG. 5 is a schematic diagram of the physical structure of the electronic device provided by the present application.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
下面结合图1至图3描述本发明的时域资源配置方法。The time domain resource configuration method of the present invention will be described below with reference to FIG. 1 to FIG. 3 .
图1是本发明提供的时域资源配置方法的流程示意图之一,如图1所示,该时域资源配置方法包括:Fig. 1 is one of the flow diagrams of the time domain resource configuration method provided by the present invention. As shown in Fig. 1, the time domain resource configuration method includes:
步骤101、获取时钟同步精度的误差协方差。 Step 101. Obtain error covariance of clock synchronization accuracy.
步骤102、基于所述时钟同步精度的误差协方差、保时带长度和数据包到达率构建时域资源配置优化问题。 Step 102, constructing a resource allocation optimization problem in the time domain based on the error covariance of the clock synchronization accuracy, the length of the time-guaranteed band, and the arrival rate of data packets.
其中,所述时域资源配置优化问题为在保证时钟同步精度的条件下使网络吞吐量最大化的问题。Wherein, the time-domain resource configuration optimization problem is a problem of maximizing network throughput under the condition of ensuring clock synchronization accuracy.
步骤103、对所述时域资源配置优化问题进行求解,得到所述数据包到达率。 Step 103, solving the time-domain resource allocation optimization problem to obtain the data packet arrival rate.
步骤104、基于所述数据包到达率和所述保时带长度确定所述网络吞吐量。 Step 104. Determine the network throughput based on the data packet arrival rate and the time-keeping band length.
本发明提供的一种时域资源配置方法,基于时钟同步精度的误差协方差、保时带长度和数据包到达率构建了时域资源配置优化问题,并基于保时带长度和求解时域资源配置优化问题得到的数据包到达 率计算得到最大化的网络吞吐量。由于最大化的网络吞吐量反映了时域资源的配置,从而实现了对时域资源配置的优化。A time-domain resource configuration method provided by the present invention constructs a time-domain resource allocation optimization problem based on the error covariance of clock synchronization accuracy, the length of the time-guaranteed band and the arrival rate of data packets, and solves the time-domain resource based on the length of the time-guaranteed band and the The packet arrival rate calculation obtained from the configuration optimization problem maximizes the network throughput. Since the maximized network throughput reflects the allocation of time domain resources, the optimization of time domain resource allocation is realized.
可选地,图2是本发明提供的时域资源配置方法的流程示意图之二,如图2所示,图1中的步骤101具体可通过以下步骤实现:Optionally, FIG. 2 is the second schematic flow diagram of the time domain resource configuration method provided by the present invention. As shown in FIG. 2, step 101 in FIG. 1 can be specifically implemented through the following steps:
步骤1011、基于时间戳信息和时钟状态变量构建时间戳观测模型。 Step 1011, construct a time stamp observation model based on the time stamp information and clock state variables.
可选地,基于公式(1)构建所述时间戳观测模型:Optionally, construct the time stamp observation model based on formula (1):
z i,k=γ k[T i,1+T i,2-2t]=γ k[Cx i(k)+v i(k)]         (1) z i,kk [T i,1 +T i,2 -2t]=γ k [Cx i (k)+v i (k)] (1)
其中,z i,k为所述时间戳观测模型,γ k为二元伯努利随机变量,也可以称为时间观测变量值,i为基站节点的数量,T i,1为基站节点gNB i向授时终端节点UE j发送时间同步变量的时刻,T i,2为基站节点gNB i收到终端节点UE j回复时间同步变量的时刻,j为终端节点的数量,t为理想参考时间,C为观测矩阵,C=[0 2],x i(k)为基站节点gNB i的时钟状态变量,k为时钟同步过程的第k周期,v i(k)为观测噪声,v i(k)=d i+Y i,k,v i(k)为服从N(0,R)分布的高斯随机变量,d i为同步过程中产生的固定时延,Y i,k为由于无线信道的随机性产生的随机时延。 Among them, z i,k is the time stamp observation model, γ k is a binary Bernoulli random variable, which can also be called the time observation variable value, i is the number of base station nodes, T i,1 is the base station node gNB i The time when the time synchronization variable is sent to the time service terminal node UE j , T i,2 is the time when the base station node gNB i receives the time synchronization variable from the terminal node UE j , j is the number of terminal nodes, t is the ideal reference time, and C is Observation matrix, C=[0 2], x i (k) is the clock state variable of base station node gNB i , k is the kth cycle of the clock synchronization process, v i (k) is the observation noise, v i (k) = d i +Y i,k , v i (k) is a Gaussian random variable that obeys the N(0,R) distribution, d i is the fixed delay generated during the synchronization process, and Y i,k is due to the randomness of the wireless channel Generated random delays.
示例地,本发明应用于5G基站和授时终端构成的无线通信环境,且5G基站和授时终端之间通过双向信息交换测量构成时钟同步系统,则基站节点gNB i的时钟状态变量的递推方程可以采用以下公式(5)表示: Exemplarily, the present invention is applied to a wireless communication environment composed of a 5G base station and a time service terminal, and a clock synchronization system is formed between the 5G base station and the time service terminal through two-way information exchange measurement, then the recurrence equation of the clock state variable of the base station node gNB i can be Expressed by the following formula (5):
x i(k)=Ax i(k-1)+w i(k)+b             (5) x i (k) = Axi (k-1) + w i (k) + b (5)
其中,
Figure PCTCN2022093661-appb-000012
β i(k)为gNB i的瞬时时钟偏斜,即时钟同步信号的频率偏移;
Figure PCTCN2022093661-appb-000013
为gNB i的累计时钟偏移,即相位偏移;x i(k-1)为k-1时刻基站节点gNB i的时钟状态变量;A为系数矩阵,
Figure PCTCN2022093661-appb-000014
τ 0为采样周期;w i(k)为过程噪声,w i(k)=[μ i(k)τ 0μ i(k)] T
Figure PCTCN2022093661-appb-000015
p i为相位噪声参数;B i(k)为标准维纳过程;B i′(k)为B i(k)关于k的差分;B i′(k-1)为B i(k-1)关于k-1的差分;B i(k-1)为第k-1个周期的标准维纳过程;μ i(k)是均值为0、方差为2p i的高斯过程;b为常数矩阵,b=[0-τ 0] T;w i(k)满足以下公式(6)和公式(7):
in,
Figure PCTCN2022093661-appb-000012
β i (k) is the instantaneous clock skew of gNB i , that is, the frequency offset of the clock synchronization signal;
Figure PCTCN2022093661-appb-000013
is the cumulative clock offset of gNB i , that is, the phase offset; x i (k-1) is the clock state variable of base station node gNB i at time k-1; A is the coefficient matrix,
Figure PCTCN2022093661-appb-000014
τ 0 is the sampling period; w i (k) is the process noise, w i (k)=[μ i (k)τ 0 μ i (k)] T ;
Figure PCTCN2022093661-appb-000015
p i is the phase noise parameter; B i (k) is the standard Wiener process; B i ′(k) is the difference of B i (k) with respect to k; B i ′(k-1) is the difference of B i (k-1 ) about the difference of k-1; B i (k-1) is the standard Wiener process of the k-1th period; μ i (k) is a Gaussian process with a mean of 0 and a variance of 2p i ; b is a constant matrix , b=[0-τ 0 ] T ; w i (k) satisfies the following formula (6) and formula (7):
E[w i(k)]=0                                     (6) E[w i (k)]=0 (6)
E[w i(k)w i T(k)]=Q                              (7) E[w i (k)w i T (k)]=Q (7)
其中,E[w i(k)]为w i(k)的期望值,E[w i(k)w i T(k)]为w i(k)w i T(k)的期望值。 Among them, E[w i (k)] is the expected value of w i (k), and E[w i (k)w i T (k)] is the expected value of w i (k)w i T (k).
基于上述对于时钟状态变量的定义,建立基于双向信息交换机制的时间戳观测模型。图3是本发明提供的双向信息交换机制的时间戳观测模型的示意图,如图3所示,设基站节点gNB i在一次双向时钟同步过程中的时间戳集合为{T i,1,T i,2},其中T i,1为基站节点gNB i向授时终端节点UE j发送时间同步变量的时刻,T i,1采用以下公式(8)表示,T i,2为基站节点gNB i收到终端节点UE j回复时间同步变量的时刻,T i,2采用以下公式(9)表示: Based on the above definition of clock state variables, a time stamp observation model based on a two-way information exchange mechanism is established. Fig. 3 is a schematic diagram of the time stamp observation model of the two-way information exchange mechanism provided by the present invention. As shown in Fig. 3, it is assumed that the time stamp set of the base station node gNB i in a two-way clock synchronization process is {T i, 1 , T i ,2 }, where T i,1 is the moment when the base station node gNB i sends the time synchronization variable to the timing terminal node UE j , T i,1 is expressed by the following formula (8), and T i,2 is the time when the base station node gNB i receives The moment when the terminal node UE j replies to the time synchronization variable, T i,2 is expressed by the following formula (9):
Figure PCTCN2022093661-appb-000016
Figure PCTCN2022093661-appb-000016
Figure PCTCN2022093661-appb-000017
Figure PCTCN2022093661-appb-000017
其中,
Figure PCTCN2022093661-appb-000018
为gNB i的累计时钟偏移,d i为同步过程中产生的固定时延,Y i,k为由于无线信道的随机性产生的随机时延,t=kτ 0表示理想参考时间,由于双向信息交换所占用的时间与整个时钟同步算法所需的时间相比较为短暂,因此可认为理想参考时间t在一轮双向信息交换中保持不变;研究表明可以将此类时延建模为独立同分布的高斯随机过程。
in,
Figure PCTCN2022093661-appb-000018
is the accumulated clock offset of gNB i , d i is the fixed time delay generated in the synchronization process, Y i,k is the random time delay due to the randomness of the wireless channel, t=kτ 0 represents the ideal reference time, due to the two-way information The time taken by the exchange is short compared to the time required by the entire clock synchronization algorithm, so the ideal reference time t can be considered to remain constant in a round of two-way information exchange; studies have shown that such delays can be modeled as Gaussian random process of the distribution.
需要说明的是,图3中的请求包是基站节点gNB i向授时终端节点UE j发送的数据包,回复包是终端节点UE j向基站节点gNB i回复的数据包。 It should be noted that the request packet in Figure 3 is a data packet sent by the base station node gNB i to the timing terminal node UE j , and the reply packet is a data packet replied by the terminal node UE j to the base station node gNB i .
将公式(8)和公式(9)相加再经过变换得到5G基站节点gNB i的初始观测模型,初始观测模型采用以下公式(10)表示: The initial observation model of the 5G base station node gNB i is obtained by adding formula (8) and formula (9) and transforming it. The initial observation model is expressed by the following formula (10):
Figure PCTCN2022093661-appb-000019
Figure PCTCN2022093661-appb-000019
其中,y i,k为初始观测模型。 Among them, y i,k is the initial observation model.
结合上述
Figure PCTCN2022093661-appb-000020
可将初始观测模型采用以下公式(11)表示:
combined with the above
Figure PCTCN2022093661-appb-000020
The initial observation model can be expressed by the following formula (11):
y i,k=Cx i(k)+v i(k)                             (11) y i,k =Cx i (k)+v i (k) (11)
其中,观测矩阵C=[0 2],观测噪声v i(k)=d i+Y i,k是服从N(0,R)分布的高斯随机变量。 Wherein, observation matrix C=[0 2], observation noise v i (k)=d i +Y i, k is a Gaussian random variable obeying N(0,R) distribution.
在5G网络中,由于受到无线信道衰落随机变量的影响,链路的 传输不再可靠,即在时钟同步的双向信息交换过程中,由gNB i发送向UE j的时间戳信息和UE j回复gNB i的时间戳信息都不能确保一定到达。因此,考虑对公式(11)的初始观测模型进行修正,使其契合无线工业网络场景下对于时间同步机制的建模。修正后的初始观测模型即为采用上述公式(1)表示的时间戳观测模型。 In the 5G network, due to the influence of the random variables of wireless channel fading, the transmission of the link is no longer reliable, that is, during the two-way information exchange process of clock synchronization, gNB i sends timestamp information to UE j and UE j replies to gNB The timestamp information of i cannot be guaranteed to arrive. Therefore, it is considered to modify the initial observation model of formula (11) to make it suitable for modeling the time synchronization mechanism in the wireless industrial network scenario. The corrected initial observation model is the time stamp observation model expressed by the above formula (1).
步骤1012、基于所述时间戳观测模型对网络时延确定性进行评估。Step 1012: Evaluate the network delay certainty based on the time stamp observation model.
可选地,求解公式(2)中的无线网络时延确定性的置信度;基于所述无线网络时延确定性的置信度确定γ k的分布。 Optionally, the confidence degree of wireless network delay certainty in formula (2) is solved; and the distribution of γ k is determined based on the confidence degree of wireless network delay certainty.
p d=p{t l<x<αt u}p{0<w<(1-α)t u}             (2) p d =p{t l <x<αt u }p{0<w<(1-α)t u } (2)
其中,p d为所述无线网络时延确定性的置信度,α为时延比例因子,0<α<t l/t u,t l为传输时延和排队时延之和的下界,t u为传输时延和排队时延之和的上界,x为传输时延的随机变量,w为无线网络中节点的排队时延随机变量;p{t l<x<αt u}为x落在t l与αt u之间的概率值;
Figure PCTCN2022093661-appb-000021
z(t)=(2 L/(Wt)-1)/c,L为发送数据包的长度,W为信道的带宽,c为接收信噪比的常量系数;p{0<w<(1-α)t u}为w落在0与(1-α)t u之间的概率值;
Figure PCTCN2022093661-appb-000022
θ满足约束条件E[e θA(1)]E[e -θS(1)]≤1,A(t)为(0,t)时段内的数据到达量,S(t)为(0,t)时段内的数据服务量,
Figure PCTCN2022093661-appb-000023
Figure PCTCN2022093661-appb-000024
的期望值,E[e θA(1)]为e θA(1)的期望值,E[e -θS(1)]为e -θS(1)的期望值。
Among them, p d is the confidence degree of the wireless network delay determinism, α is the delay scaling factor, 0<α<t l /t u , t l is the lower bound of the sum of transmission delay and queuing delay, t u is the upper bound of the sum of transmission delay and queuing delay, x is the random variable of transmission delay, w is the random variable of queuing delay of nodes in the wireless network; p{t l <x<αt u } is the Probability value between t l and αt u ;
Figure PCTCN2022093661-appb-000021
z(t)=(2 L/(Wt) -1)/c, L is the length of the transmitted data packet, W is the bandwidth of the channel, and c is the constant coefficient of the receiving SNR; p{0<w<(1 -α)t u } is the probability value of w falling between 0 and (1-α)t u ;
Figure PCTCN2022093661-appb-000022
θ satisfies the constraint condition E[e θA(1) ]E[e -θS(1) ]≤1, A(t) is the amount of data arrival in (0,t) period, S(t) is (0,t ) data service volume in the time period,
Figure PCTCN2022093661-appb-000023
for
Figure PCTCN2022093661-appb-000024
The expected value of , E[e θA(1) ] is the expected value of e θA(1) , E[e -θS(1) ] is the expected value of e -θS(1) .
示例地,基于二元伯努利随机变量γ k讨论5G无线网络确定性的描述指标。对于二元伯努利随机变量γ k,通过无线网络中时延落在指定区间内的概率来反映其取值的概率分布,即γ k~b(1,p d),p d采用以下公式(12)表示: As an example, the descriptive index of 5G wireless network determinism is discussed based on binary Bernoulli random variable γ k . For the binary Bernoulli random variable γ k , the probability distribution of its value is reflected by the probability that the time delay in the wireless network falls within the specified interval, that is, γ k ~ b(1,p d ), p d adopts the following formula (12) means:
p d=p{t l<x+w<t u},t l<t u                     (12) p d =p{t l <x+w<t u },t l <t u (12)
其中,b为伯努利分布,x表示传输时延的随机变量,其随机性主要由无线信道的衰落变量引起;w无线网络中节点的排队时延随机变量,是由数据包的到达过程和信道衰落的随机过程共同决定的联合随机变量;t l为时延的下界,t u为时延的上界;p d的值等于x+w的值落在区间(t l,t u)之间的概率值。一般来说,数据包的传输时延和排队时延是通信系统节点时延的主要组成部分,因此p d的值可以较为准确的刻画无线确定性网络中对于时延确定性估计的置信度。由于w是联合随机变量,直接求解公式(12)较为困难,因此将p d的计算式更新为上述公式(2),显然,公式(2)的时延边界条件是公式(12)的充分不必要条件,即当时延随机变量满足公式(2)的概率条件时,一定满足公式(12)的时延边界,反之则不能。因此,使用公式(2)作为p d的值来反映时延估计的确定性程度,进而刻画二元伯努利随机变量γ k的分布。 Among them, b is the Bernoulli distribution, x represents the random variable of the transmission delay, and its randomness is mainly caused by the fading variable of the wireless channel; the random variable of the queuing delay of nodes in the wireless network is determined by the arrival process of the data packet and The joint random variable jointly determined by the random process of channel fading; t l is the lower bound of the time delay, t u is the upper bound of the time delay; the value of p d is equal to the value of x+w and falls within the interval (t l , t u ) Probability value between . Generally speaking, the transmission delay and queuing delay of data packets are the main components of the node delay in the communication system, so the value of p d can more accurately describe the confidence of the delay deterministic estimation in the wireless deterministic network. Since w is a joint random variable, it is difficult to solve formula (12) directly, so the calculation formula of p d is updated to the above formula (2). Obviously, the time delay boundary condition of formula (2) is a sufficient deficiency of formula (12). The necessary condition, that is, when the time-delay random variable satisfies the probability condition of formula (2), it must satisfy the time-delay boundary of formula (12), and vice versa. Therefore, formula (2) is used as the value of p d to reflect the degree of certainty of the time delay estimation, and then describe the distribution of the binary Bernoulli random variable γ k .
公式(2)中p d的求解可以分为x和w两部分,关于x部分,由于x是信道衰落的随机变量的函数,因此对于参数为σ的瑞利随机信道,公式(2)中x的区间概率可以由香农信道容量公式和信道随机变量的 累积分布函数求得,采用公式(13)表示: The solution of p d in formula (2) can be divided into two parts x and w. Regarding the part x, since x is a function of the random variable of channel fading, for a Rayleigh random channel with parameter σ, x in formula (2) The interval probability of can be obtained by the Shannon channel capacity formula and the cumulative distribution function of the channel random variable, expressed by formula (13):
Figure PCTCN2022093661-appb-000025
Figure PCTCN2022093661-appb-000025
其中,z(t)=(2 L/(Wt)-1)/c,L为发送数据包的长度,W为信道的带宽,c为接收信噪比的常量系数;
Figure PCTCN2022093661-appb-000026
Figure PCTCN2022093661-appb-000027
Wherein, z (t)=(2 L/(Wt) -1)/c, L is the length of sending data packet, W is the bandwidth of channel, and c is the constant coefficient of receiving signal-to-noise ratio;
Figure PCTCN2022093661-appb-000026
Figure PCTCN2022093661-appb-000027
关于w部分,采用基于矩生成函数(Moment Generating Function,MGF)的随机网络演算理论求解公式(2)中w的区间概率,则对于相互独立并且都具有独立同分布增量和有限MGF的到达与服务过程,w的上边界满足以下公式(14):Regarding the part w, the random network calculus theory based on the moment generating function (Moment Generating Function, MGF) is used to solve the interval probability of w in the formula (2). In the service process, the upper boundary of w satisfies the following formula (14):
Figure PCTCN2022093661-appb-000028
Figure PCTCN2022093661-appb-000028
其中,θ满足约束条件E[e θA(1)]E[e -θS(1)]≤1,A(t)为(0,t)时段内的数据到达量,S(t)为(0,t)时段内的数据服务量;A(1)为单位时间内的数据到达量,S(1)为单位时间内的数据服务量,S[(1-α)t u]为(0,(1-α)t u)时段内的数据服务量;当θ的取值使得公式E[e θA(1)]E[e -θS(1)]≤1近似为1时,则公式(14)的等号近似成立,由此可求出公式(2)中w的区间概率,进而求得p d的值,完成对二元伯努利随机变量γ k分布的确定。 Among them, θ satisfies the constraint condition E[e θA(1) ]E[e -θS(1) ]≤1, A(t) is the data arrival amount in (0,t) period, S(t) is (0 , t) the data service volume in the time period; A(1) is the data arrival volume per unit time, S(1) is the data service volume per unit time, and S[(1-α)t u ] is (0, (1-α)t u ) data service volume in the time period; when the value of θ makes the formula E[e θA(1) ]E[e -θS(1) ]≤1 approximately 1, then the formula (14 ) is approximately established, from which the interval probability of w in formula (2) can be obtained, and then the value of p d can be obtained to complete the determination of the binary Bernoulli random variable γ k distribution.
步骤1013、基于评估后的时间戳观测模型确定时钟同步精度的误差协方差。Step 1013: Determine the error covariance of clock synchronization accuracy based on the evaluated time stamp observation model.
可选地,时域资源配置优化问题表示为:Optionally, the time-domain resource allocation optimization problem is expressed as:
P1:max{U(B,λ)};P1:max{U(B,λ)};
Figure PCTCN2022093661-appb-000029
Figure PCTCN2022093661-appb-000029
C2:Tr(E[P k])+ΔE k≤B<T SC2: Tr(E[P k ])+ΔE k ≤ B<T S ;
C3:0<λ<1;C3: 0<λ<1;
其中,P1为所述时域资源配置优化问题的目标函数,C1至C3为目标函数P1的约束条件,U(B,λ)=R b,B为所述保时带长度,λ为所述数据包到达率,R b为网络吞吐量,P k为所述时钟同步精度的误差协方差,E[P k]为P k的期望值,E[P k]=AXA T+Q-λAXC T(CXC T+R) -1CXA T,X=E[P k-1],λ=E[γ k]=p d,ΔE k为同步过程中的固定误差,E[P k-1]为P k-1的期望值,E[γ k]为γ k的期望值,Tr(E[P k])为E[P k]的迹,T S为数据包时隙长度,A为系数矩阵,A T为系数矩阵的转置矩阵,Q为过程噪声的协方差矩阵,R为观测噪声的协方差,P k-1为k-1时刻的误差协方差矩阵。 Wherein, P1 is the objective function of the time-domain resource allocation optimization problem, C1 to C3 are the constraints of the objective function P1, U(B,λ)=R b , B is the length of the time-keeping band, and λ is the Packet arrival rate, R b is the network throughput, P k is the error covariance of the clock synchronization accuracy, E[P k ] is the expected value of P k , E[P k ]=AXA T +Q-λAXC T ( CXC T +R) -1 CXA T , X=E[P k-1 ], λ=E[γ k ]=p d , ΔE k is the fixed error in the synchronization process, E[P k-1 ] is P The expected value of k-1 , E[γ k ] is the expected value of γ k , Tr(E[P k ]) is the trace of E[P k ], T S is the length of the data packet time slot, A is the coefficient matrix, A T is the transposition matrix of coefficient matrix, Q is the covariance matrix of process noise, R is the covariance of observation noise, and P k-1 is the error covariance matrix at time k-1.
可选地,基于上述对时间戳观测模型的定义,采用以下公式(3)确定时钟同步精度的误差协方差:Optionally, based on the above definition of the time stamp observation model, the following formula (3) is used to determine the error covariance of the clock synchronization accuracy:
P k=E[e ke k T]                                   (3) P k =E[e k e k T ] (3)
其中,P k为所述时钟同步精度的误差协方差,e k为时钟状态变量的估计误差,e k T为e k的转置矩阵,
Figure PCTCN2022093661-appb-000030
x k为时钟状态变量,
Figure PCTCN2022093661-appb-000031
为在观测值已知条件下对x k的估计,
Figure PCTCN2022093661-appb-000032
Wherein, P k is the error covariance of the clock synchronization accuracy, ek is the estimation error of the clock state variable, ek T is the transposition matrix of ek ,
Figure PCTCN2022093661-appb-000030
x k is the clock state variable,
Figure PCTCN2022093661-appb-000031
is the estimation of x k under the condition that the observed value is known,
Figure PCTCN2022093661-appb-000032
则基于卡尔曼滤波算法,在时间观测变量值存在丢失的情况下,在时钟同步的每个周期内,采用以下公式(15)至公式(19)对时钟同步精度的误差协方差P k进行更新: Then, based on the Kalman filter algorithm, in the case of loss of time observation variable values, the following formulas (15) to (19) are used to update the error covariance P k of the clock synchronization accuracy in each cycle of clock synchronization :
Figure PCTCN2022093661-appb-000033
Figure PCTCN2022093661-appb-000033
P k′=AP kA T+Q                                 (16) P k ′=AP k A T +Q (16)
Figure PCTCN2022093661-appb-000034
Figure PCTCN2022093661-appb-000034
P k+1=P k′-γ k+1K k+1CP k′                         (18) P k+1 = P k ′-γ k+1 K k+1 CP k ′ (18)
K k+1=P k′C T(CP k′C T+R) -1                       (19) K k+1 =P k ′C T (CP k ′C T +R) -1 (19)
其中,
Figure PCTCN2022093661-appb-000035
为卡尔曼滤波算法预测的x k,P k′为卡尔曼滤波算法预测的P k
Figure PCTCN2022093661-appb-000036
为更新的x k+1的估计,γ k+1为二元伯努利变量,K k+1为第k+1个周期的卡尔曼滤波增益,z k+1为第k+1个周期的时钟观测变量值。
in,
Figure PCTCN2022093661-appb-000035
is the x k predicted by the Kalman filter algorithm, P k ′ is the P k predicted by the Kalman filter algorithm,
Figure PCTCN2022093661-appb-000036
is the updated estimate of x k+1 , γ k+1 is a binary Bernoulli variable, K k+1 is the Kalman filter gain of the k+1th cycle, z k+1 is the k+1th cycle The clock observation variable value of .
将公式(16)、公式(19)代入公式(18)中,得到采用以下公式(20)表示的P k的递推式: Substituting formula (16) and formula (19) into formula (18), the recursive formula of P k represented by the following formula (20) is obtained:
P k+1=AP kA T+Q-γ kAP kC T(CP kC T+R) -1CP kA T     (20) P k+1 =AP k A T +Q-γ k AP k C T (CP k C T +R) -1 CP k A T (20)
从公式(20)中可以看出,P k是受γ k影响的随机变量;因此,对于P k在统计意义下的分析是十分有必要的,则在卡尔曼滤波算法运行有限次的前提下,求得采用以下公式(21)表示的E[P k]在稳态下的递推式: It can be seen from formula (20) that P k is a random variable affected by γ k ; therefore, it is very necessary to analyze P k in a statistical sense. , obtain the recursive formula of E[P k ] expressed in the following formula (21):
E[P k]=AXA T+Q-λAXC T(CXC T+R) -1CXA T        (21) E[P k ]=AXA T +Q-λAXC T (CXC T +R) -1 CXA T (21)
其中,X=E[P k-1],λ=E[γ k]=p dWherein, X=E[P k-1 ], λ=E[γ k ]=p d .
由于高精度授时业务对无线通信时延具有敏感性,为了防止时钟同步的误差造成数据传输过程中数据包的碰撞,在5G正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)时域上加 入保时带对每个传输时隙进行保护,即在每两个相邻传输时隙之间空出一部分作为保护间隔。显然,一方面,保时带越长,每个传输时隙所能传输的数据越少;另一方面,过小的保时带会使数据发生碰撞的概率增大,因此,保时带的长度需要合理设置,同时兼顾通信的有效性和可靠性,这里对保时带长度B可设置以下公式(22)的约束条件:Since high-precision timing services are sensitive to wireless communication delays, in order to prevent data packet collisions during data transmission caused by clock synchronization errors, in the 5G Orthogonal Frequency Division Multiple Access (OFDMA) time domain The time-guaranteed band is added to protect each transmission time slot, that is, a part is vacated between every two adjacent transmission time slots as a guard interval. Obviously, on the one hand, the longer the time-keeping band, the less data can be transmitted in each transmission slot; on the other hand, the too small time-keeping band will increase the probability of data collision, so the The length needs to be set reasonably, while taking into account the effectiveness and reliability of the communication. Here, the constraint conditions of the following formula (22) can be set for the length B of the time-guaranteed band:
B≥ΔE k+{E[P k]}                               (22) B≥ΔE k +{E[P k ]} (22)
其中,ΔE k为同步过程中的固定误差,{E[P k]}为增量同步方差,为简化计算,使用E[P k]的迹代替{E[P k]},即采用以下公式(23)表示保时带长度B的约束条件: Among them, ΔE k is the fixed error in the synchronization process, and {E[P k ]} is the incremental synchronization variance. To simplify the calculation, the trace of E[P k ] is used instead of {E[P k ]}, that is, the following formula (23) represents the constraint condition of the time-guaranteed belt length B:
B≥ΔE k+Tr(E[P k])                             (23) B≥ΔE k +Tr(E[P k ]) (23)
基于上述对于有时钟同步精度要求的确定性网络的分析,如何保证在时钟同步精度约束的条件下平衡时域资源的开销,最大化网络吞吐量是有必要的,从而将该问题确定为时域资源配置优化问题,该时域资源配置优化问题表示为:Based on the above analysis of deterministic networks with clock synchronization accuracy requirements, it is necessary to ensure that the overhead of time-domain resources is balanced and the network throughput is maximized under the constraints of clock synchronization accuracy, so this problem is determined as a time-domain Resource allocation optimization problem, the resource allocation optimization problem in time domain is expressed as:
P1:max{U(B,λ)};P1:max{U(B,λ)};
Figure PCTCN2022093661-appb-000037
Figure PCTCN2022093661-appb-000037
C2:Tr(E[P k])+ΔE k≤B<T SC2: Tr(E[P k ])+ΔE k ≤ B<T S ;
C3:0<λ<1。C3: 0<λ<1.
其中,U(B,λ)=R b,约束条件C1表示E[P k]的序列在长期条件下趋于稳定,即保证时钟同步的精度;约束条件C2表示保时带长度的设计准则,即不少于使数据产生碰撞的临界值,同时不能超过传输时隙 的长度;约束条件C3表示限制数据包到达率在(0,1)之间。 Among them, U(B,λ)=R b , constraint condition C1 indicates that the sequence of E[P k ] tends to be stable under long-term conditions, that is, to ensure the accuracy of clock synchronization; constraint condition C2 indicates the design criterion of the time-guarantee band length, That is, it is not less than the critical value that causes data to collide, and at the same time cannot exceed the length of the transmission time slot; the constraint condition C3 indicates that the arrival rate of data packets is limited between (0,1).
进一步地,将所述时域资源配置优化问题转换为凸优化问题:对所述凸优化问题进行求解,得到所述数据包到达率。Further, converting the time-domain resource allocation optimization problem into a convex optimization problem: solving the convex optimization problem to obtain the data packet arrival rate.
P2:min{Tr(P k)E[a k|P k]-VU} P2:min{Tr(P k )E[a k |P k ]-VU}
s.t.C4:Tr(E[P k])+ΔE k≤B<T SstC4:Tr(E[P k ])+ΔE k ≤ B<T S ;
C5:0<λ<1;C5:0<λ<1;
其中,P2为所述凸优化问题的目标函数,C4和C5是目标函数P2的约束条件,Tr(P k)为P k的迹,a k为虚拟队列的随机到达过程,E[a k|P k]为P k已知的情况下a k的期望值,V为控制系数,
Figure PCTCN2022093661-appb-000038
Figure PCTCN2022093661-appb-000039
P k+1=max{P k-b k,0}+a k,b k为虚拟队列的离去过程,b k为常量,且b k≥E[a k]。
Among them, P2 is the objective function of the convex optimization problem, C4 and C5 are the constraints of the objective function P2, Tr(P k ) is the trace of P k , a k is the random arrival process of the virtual queue, E[a k | P k ] is the expected value of a k when P k is known, V is the control coefficient,
Figure PCTCN2022093661-appb-000038
Figure PCTCN2022093661-appb-000039
P k+1 = max{P k -b k ,0}+a k , b k is the departure process of the virtual queue, b k is a constant, and b k ≥ E[a k ].
示例地,由于问题P1的约束条件中含有非线性约束,且由分析可知,其可行集和目标函数是非凸的,直接对P1进行求解较为困难,本发明采用基于深度强化学习的李雅普诺夫(Lyapunov)优化方法对问题P1进行分析与求解。As an example, since the constraints of problem P1 contain nonlinear constraints, and it can be seen from the analysis that its feasible set and objective function are non-convex, it is difficult to solve P1 directly. The present invention adopts Lyapunov ( Lyapunov) optimization method to analyze and solve the problem P1.
首先,基于Lyapunov优化理论将问题P1转化为时钟同步精度的误差协方差和吞吐量的联合优化问题。具体来说,对于误差协方差P k,基于公式(20)的递推式定义采用以下公式(24)表示的虚拟队列: First, based on the Lyapunov optimization theory, the problem P1 is transformed into a joint optimization problem of error covariance and throughput of clock synchronization accuracy. Specifically, for the error covariance P k , the recursive definition based on formula (20) adopts the virtual queue represented by the following formula (24):
P k+1=max{P k-b k,0}+a k                       (24) P k+1 =max{P k -b k ,0}+a k (24)
其中,P k+1为虚拟队列,b k为虚拟队列的离去过程,为方便计算,假设b k为常量,且满足b k≥E[a k],以保证队列稳定,E[a k]为a k的 期望值;a k为虚拟队列的随机到达过程,其随机性是由于(20)中的随机变量γ k所引入的,则a k可由公式(20)计算得到,a k采用以下公式(25)表示: Among them, P k+1 is the virtual queue, and b k is the departure process of the virtual queue. For the convenience of calculation, it is assumed that b k is a constant and satisfies b k ≥ E[a k ] to ensure the stability of the queue. E[a k ] is the expected value of a k ; a k is the random arrival process of the virtual queue, its randomness is introduced by the random variable γ k in (20), then a k can be calculated by the formula (20), and a k uses the following Formula (25) expresses:
Figure PCTCN2022093661-appb-000040
Figure PCTCN2022093661-appb-000040
基于公式(24)虚拟队列的定义,关于P k的Lyapunov函数L(P k)可采用以下公式(26)表示: Based on the definition of the virtual queue in formula (24), the Lyapunov function L(P k ) about P k can be expressed by the following formula (26):
L(P k)=P k 2/2                                    (26) L(P k )=P k 2 /2 (26)
则Lyapunov漂移函数Δ(P k)采用以下公式(27)表示: Then the Lyapunov drift function Δ(P k ) is expressed by the following formula (27):
Δ(P k)=L(P k+1)-L(P k)≤D+P kE[a k|P k]           (27) Δ(P k )=L(P k+1 )-L(P k )≤D+P k E[a k |P k ] (27)
其中,L(P k+1)为关于P k+1的Lyapunov函数,D为边界值,D=(E[a k 2|P k]+b k 2)/2,E[a k 2|P k]为P k已知的条件下随机变量a k的二阶矩的期望值。 Among them, L(P k+1 ) is the Lyapunov function about P k+1 , D is the boundary value, D=(E[a k 2 |P k ]+b k 2 )/2, E[a k 2 | P k ] is the expected value of the second moment of the random variable a k under the condition that P k is known.
则漂移加罚函数采用以下公式(28)表示:Then the drift plus penalty function is expressed by the following formula (28):
Δ(P k)-VU≤D+P kE[a k|P k]-VU                  (28) Δ(P k )-VU≤D+P k E[a k |P k ]-VU (28)
其中,V为控制系数,V用来调整漂移加罚函数对总体的影响,从而可以将问题P1转化为Lyapunov优化问题,即转化为由问题P2表示的凸优化问题:Among them, V is the control coefficient, and V is used to adjust the impact of the drift plus penalty function on the overall, so that the problem P1 can be transformed into a Lyapunov optimization problem, that is, a convex optimization problem represented by the problem P2:
P2:min{Tr(P k)E[a k|P k]-VU} P2: min{Tr(P k )E[a k |P k ]-VU}
s.t.C4:Tr(E[P k])+ΔE k≤B<T SstC4:Tr(E[P k ])+ΔE k ≤ B<T S ;
C5:0<λ<1。C5: 0<λ<1.
进一步地,从问题P2可以看出,尽管问题P2的约束条件已经得到简化,但由于C4和C5中的约束条件之间并不独立,即λ的变化会对E[P k]的值产生影响,进而影响B的约束条件。但是不难看出,保时带长度B的变化仅对问题P2的目标函数中的U直接产生影响,且U是关于B的单调递减函数,因此B的值只需设置为满足约束条件C2的最小值,即B=Tr(E[P k])+ΔE k。则问题P2可简化为: Furthermore, it can be seen from problem P2 that although the constraints of problem P2 have been simplified, since the constraints in C4 and C5 are not independent, that is, the change of λ will affect the value of E[P k ] , and then affect the constraints of B. But it is not difficult to see that the change of the length B of the time-guaranteed band only directly affects U in the objective function of the problem P2, and U is a monotonically decreasing function about B, so the value of B only needs to be set to the minimum value that satisfies the constraint condition C2 value, that is, B=Tr(E[P k ])+ΔE k . Then problem P2 can be simplified as:
P3:min{Tr(P k)E[a k|P k]-VU} P3: min{Tr(P k )E[a k |P k ]-VU}
s.t.C6:0<λ<1s.t.C6: 0<λ<1
其中,P3为凸优化问题的目标函数,C6为目标函数P3的约束条件。Among them, P3 is the objective function of the convex optimization problem, and C6 is the constraint condition of the objective function P3.
示例地,在B=Tr(E[P k])+ΔE k的情况下,对问题P3进行求解,得到数据包到达率。 For example, in the case of B=Tr(E[P k ])+ΔE k , the problem P3 is solved to obtain the data packet arrival rate.
本发明基于深度Q学习(deep Q-learning,DQN)的改进算法,即Dueling-DDQN(以下简称3DQN),对问题P3进行求解。3DQN算法主要由状态、动作和奖励三个部分组成,其中状态空间S={P k,U,B,λ},反映了3DQN算法中环境在当前步下各参数的值;动作空间a={x inc,x de},a取值{1,0}表示λ按步长增加,a取值{0,1}表示λ按步长减少;奖励函数r=Lya pre-Lya cur,其中,Lya pre表示表示算法在每轮迭代更新之前问题P3的目标函数的值,Lya cur表示算法在每轮迭代结束之后问题P3的目标函数的值,即r体现了算法在一轮迭代中目标函数的减少值,当算法求得最优解时,r的值趋于稳定,系 统收敛至最佳状态。 The present invention solves the problem P3 based on an improved algorithm of deep Q-learning (DQN), that is, Dueling-DDQN (hereinafter referred to as 3DQN). The 3DQN algorithm is mainly composed of three parts: state, action and reward, in which the state space S={P k ,U,B,λ} reflects the value of each parameter of the environment in the current step in the 3DQN algorithm; the action space a={ x inc , x de }, the value of a {1,0} means that λ increases according to the step size, and the value of a {0,1} means that λ decreases according to the step size; the reward function r=Lya pre -Lya cur , where, Lya pre indicates the value of the objective function of the problem P3 before each iteration of the algorithm is updated, and Lya cur indicates the value of the objective function of the problem P3 after each iteration of the algorithm, that is, r reflects the reduction of the objective function of the algorithm in one iteration When the algorithm obtains the optimal solution, the value of r tends to be stable, and the system converges to the optimal state.
具体在B=Tr(E[P k])+ΔE k的情况下,对问题P3进行求解的过程如下: Specifically, in the case of B=Tr(E[P k ])+ΔE k , the process of solving problem P3 is as follows:
获取初始状态变量和初始函数值;其中,初始状态变量包括初始误差协方差、初始数据包到达率、初始保时带长度和初始网络吞吐量;Obtain initial state variables and initial function values; wherein, the initial state variables include initial error covariance, initial data packet arrival rate, initial time zone length and initial network throughput;
根据初始状态变量在动作空间中选取目标动作;Select the target action in the action space according to the initial state variables;
执行目标动作,根据奖励函数计算在初始状态变量下采取目标动作的成本奖励,并生成下一状态变量;Execute the target action, calculate the cost reward of taking the target action under the initial state variable according to the reward function, and generate the next state variable;
将每个状态变量、对应的目标动作和成本奖励存入经验池中;Store each state variable, corresponding target action and cost reward in the experience pool;
在确定当前迭代次数大于或等于预设阈值时,从经验池中获取数据样本进行训练,确定状态的评估值;When it is determined that the current number of iterations is greater than or equal to the preset threshold, data samples are obtained from the experience pool for training, and the evaluation value of the state is determined;
在训练过程执行预设次时,将当前Q网络的参数复制到目标Q网络,直至达到收敛条件,输出最优的数据包到达率。When the training process is executed for a preset number of times, the parameters of the current Q network are copied to the target Q network until the convergence condition is reached, and the optimal packet arrival rate is output.
通过仿真结果表明本发明所提出的算法相比已有策略在时钟同步精度和吞吐量联合优化上具有一定的优越性。The simulation results show that the algorithm proposed by the present invention has certain superiority in joint optimization of clock synchronization accuracy and throughput compared with existing strategies.
可选地,图1中的步骤104具体可通过以下方式实现:Optionally, step 104 in FIG. 1 may specifically be implemented in the following manner:
基于公式(4)确定所述网络吞吐量:Determine the network throughput based on formula (4):
Figure PCTCN2022093661-appb-000041
Figure PCTCN2022093661-appb-000041
其中,W e为保时带长度的等效带宽,
Figure PCTCN2022093661-appb-000042
Figure PCTCN2022093661-appb-000043
为Q(x)的反函数,
Figure PCTCN2022093661-appb-000044
1-λ为数据包丢失的概率,也就是传输错误率,t为积分变量。
Among them, W e is the equivalent bandwidth of the time-guaranteed band length,
Figure PCTCN2022093661-appb-000042
Figure PCTCN2022093661-appb-000043
is the inverse function of Q(x),
Figure PCTCN2022093661-appb-000044
1-λ is the probability of packet loss, that is, the transmission error rate, and t is the integral variable.
示例地,在电网确定性通信场景下,可靠性对网络性能的影响比一般场景下的网络要大,反映到吞吐量上主要是数据包传输的错误率对其的影响,本发明采用考虑传输错误率的修正的信道容量计算方式来获取高可靠性的网络吞吐量,网络吞吐量的计算采用上述公式(4)表示。在确定保时带长度B,并计算得到最优的数据包到达率λ时,将保时带长度B和数据包到达率λ带入公式(4)中,得到最大化的网络吞吐量。For example, in the deterministic communication scenario of the power grid, the impact of reliability on network performance is greater than that of the network in general scenarios, and the throughput is mainly reflected in the impact of the error rate of data packet transmission on it. The present invention considers the transmission The error rate correction channel capacity calculation method is used to obtain high reliability network throughput, and the network throughput calculation is expressed by the above formula (4). When determining the length of the time-keeping band B and calculating the optimal data packet arrival rate λ, the length of the time-keeping band B and the data packet arrival rate λ are brought into formula (4) to obtain the maximum network throughput.
本发明提供的一种时域资源配置方法,基于时钟同步精度的误差协方差、保时带长度和数据包到达率构建了时域资源配置优化问题,并基于保时带长度和求解时域资源配置优化问题得到的数据包到达率计算得到最大化的网络吞吐量。由于最大化的网络吞吐量反映了时域资源的配置,从而实现了对时域资源配置的优化。A time-domain resource configuration method provided by the present invention constructs a time-domain resource allocation optimization problem based on the error covariance of clock synchronization accuracy, the length of the time-guaranteed band and the arrival rate of data packets, and solves the time-domain resource based on the length of the time-guaranteed band and the The packet arrival rate calculation obtained from the configuration optimization problem maximizes the network throughput. Since the maximized network throughput reflects the allocation of time domain resources, the optimization of time domain resource allocation is realized.
下面对本发明提供的时域资源配置装置进行描述,下文描述的时域资源配置装置与上文描述的时域资源配置方法可相互对应参照。The apparatus for configuring time-domain resources provided by the present invention is described below, and the apparatus for configuring time-domain resources described below and the method for configuring time-domain resources described above may refer to each other correspondingly.
图4是本发明提供的时域资源配置装置的结构示意图,如图4所示,该时域资源配置装置包括获取单元4014、构建单402元、求解单元4034和确定单404元;其中:Fig. 4 is a schematic structural diagram of a time-domain resource configuration device provided by the present invention. As shown in Fig. 4, the time-domain resource configuration device includes an acquisition unit 4014, a construction unit 402, a solving unit 4034, and a determination unit 404; wherein:
获取单元401,用于获取时钟同步精度的误差协方差;An acquisition unit 401, configured to acquire the error covariance of the clock synchronization accuracy;
构建单元402,用于基于所述时钟同步精度的误差协方差、保时带长度和数据包到达率构建时域资源配置优化问题;其中,所述时域资源配置优化问题为在保证时钟同步精度的条件下使网络吞吐量最 大化的问题;The construction unit 402 is configured to construct a time-domain resource allocation optimization problem based on the error covariance of the clock synchronization accuracy, the time-guaranteed band length, and the arrival rate of data packets; wherein, the time-domain resource allocation optimization problem is to ensure the clock synchronization accuracy The problem of maximizing network throughput under the condition of ;
求解单元403,用于对所述时域资源配置优化问题进行求解,得到所述数据包到达率;A solving unit 403, configured to solve the time-domain resource allocation optimization problem to obtain the data packet arrival rate;
确定单元404,用于基于所述数据包到达率和所述保时带长度确定所述网络吞吐量。A determining unit 404, configured to determine the network throughput based on the data packet arrival rate and the time-keeping band length.
本发明提供的一种时域资源配置装置,基于时钟同步精度的误差协方差、保时带长度和数据包到达率构建了时域资源配置优化问题,并基于保时带长度和求解时域资源配置优化问题得到的数据包到达率计算得到最大化的网络吞吐量。由于最大化的网络吞吐量反映了时域资源的配置,从而实现了对时域资源配置的优化。A time-domain resource configuration device provided by the present invention constructs a time-domain resource configuration optimization problem based on the error covariance of clock synchronization accuracy, the length of the time-guaranteed band, and the arrival rate of data packets, and solves the problem of time-domain resource allocation based on the length of the time-guaranteed band and the The packet arrival rate calculation obtained from the configuration optimization problem maximizes the network throughput. Since the maximized network throughput reflects the allocation of time domain resources, the optimization of time domain resource allocation is realized.
基于上述任一实施例,所述获取单元401具体用于:Based on any of the above embodiments, the acquiring unit 401 is specifically configured to:
基于时间戳信息和时钟状态变量构建时间戳观测模型;Construct a timestamp observation model based on timestamp information and clock state variables;
基于所述时间戳观测模型对网络时延确定性进行评估;Evaluating network delay certainty based on the time stamp observation model;
基于评估后的时间戳观测模型确定时钟同步精度的误差协方差。The error covariance of the clock synchronization accuracy is determined based on the evaluated timestamp observation model.
基于上述任一实施例,所述获取单元401还具体用于:Based on any of the above-mentioned embodiments, the acquiring unit 401 is further specifically configured to:
基于公式(1)构建所述时间戳观测模型;Build the time stamp observation model based on formula (1);
z i,k=γ k[T i,1+T i,2-2t]=γ k[Cx i(k)+v i(k)]        (1) z i,kk [T i,1 +T i,2 -2t]=γ k [Cx i (k)+v i (k)] (1)
其中,z i,k为所述时间戳观测模型,γ k为二元伯努利随机变量,i为基站节点的数量,T i,1为基站节点gNB i向授时终端节点UE j发送时间同步变量的时刻,T i,2为基站节点gNB i收到终端节点UE j回复时间同步变量的时刻,j为终端节点的数量,t为理想参考时间,C为观测 矩阵,C=[0 2],x i(k)为基站节点gNB i的时钟状态变量,k为时钟同步过程的第k周期,v i(k)为观测噪声,v i(k)=d i+Y i,k,v i(k)为服从N(0,R)分布的高斯随机变量,d i为同步过程中产生的固定时延,Y i,k为由于无线信道的随机性产生的随机时延。 Among them, z i,k is the time stamp observation model, γ k is a binary Bernoulli random variable, i is the number of base station nodes, T i,1 is the time synchronization sent by base station node gNB i to timing terminal node UE j The moment of the variable, T i,2 is the moment when the base station node gNB i receives the reply time synchronization variable from the terminal node UE j , j is the number of terminal nodes, t is the ideal reference time, C is the observation matrix, C=[0 2] , x i (k) is the clock state variable of the base station node gNB i , k is the kth period of the clock synchronization process, v i (k) is the observation noise, v i (k)=d i +Y i,k , v i (k) is a Gaussian random variable that obeys the N(0,R) distribution, d i is the fixed time delay generated during the synchronization process, and Y i, k is the random time delay generated due to the randomness of the wireless channel.
基于上述任一实施例,所述获取单元401还具体用于:Based on any of the above-mentioned embodiments, the acquiring unit 401 is further specifically configured to:
求解公式(2)中的无线网络时延确定性的置信度;Solving the confidence degree of the wireless network delay certainty in the formula (2);
p d=p{t l<x<αt u}p{0<w<(1-α)t u}            (2) p d =p{t l <x<αt u }p{0<w<(1-α)t u } (2)
其中,p d为所述无线网络时延确定性的置信度,α为时延比例因子,0<α<t l/t u,t l为传输时延和排队时延之和的下界,t u为传输时延和排队时延之和的上界,x为传输时延的随机变量,w为无线网络中节点的排队时延随机变量;p{t l<x<αt u}为x落在t l与αt u之间的概率值;
Figure PCTCN2022093661-appb-000045
z(t)=(2 L/(Wt)-1)/c,L为发送数据包的长度,W为信道的带宽,c为接收信噪比的常量系数;p{0<w<(1-α)t u}为w落在0与(1-α)t u之间的概率值;
Figure PCTCN2022093661-appb-000046
θ满足约束条件E[e θA(1)]E[e -θS(1)]≤1,A(1)为单位时间内的数据到达量,S(1)为单位时间内的数据服务量,S[(1-α)t u]为(0,(1-α)t u)时段内的数据服务量;
Among them, p d is the confidence degree of the wireless network delay determinism, α is the delay scaling factor, 0<α<t l /t u , t l is the lower bound of the sum of transmission delay and queuing delay, t u is the upper bound of the sum of transmission delay and queuing delay, x is the random variable of transmission delay, w is the random variable of queuing delay of nodes in the wireless network; p{t l <x<αt u } is the Probability value between t l and αt u ;
Figure PCTCN2022093661-appb-000045
z(t)=(2 L/(Wt) -1)/c, L is the length of the transmitted data packet, W is the bandwidth of the channel, and c is the constant coefficient of the receiving SNR; p{0<w<(1 -α)t u } is the probability value of w falling between 0 and (1-α)t u ;
Figure PCTCN2022093661-appb-000046
θ satisfies the constraint condition E[e θA(1) ]E[e -θS(1) ]≤1, A(1) is the amount of data arrival per unit time, S(1) is the data service volume per unit time, S[(1-α)t u ] is the data service volume in (0,(1-α)t u ) period;
基于所述无线网络时延确定性的置信度确定γ k的分布。 The distribution of γ k is determined based on the confidence of the wireless network delay determinism.
基于上述任一实施例,所述获取单元401还具体用于:Based on any of the above-mentioned embodiments, the acquiring unit 401 is further specifically configured to:
基于公式(3)确定所述时钟同步精度的误差协方差;Determine the error covariance of the clock synchronization accuracy based on formula (3);
P k=E[e ke k T]                                    (3) P k =E[e k e k T ] (3)
其中,P k为所述时钟同步精度的误差协方差,e k为时钟状态变量的估计误差,e k T为e k的转置矩阵,
Figure PCTCN2022093661-appb-000047
x k为时钟状态变量,
Figure PCTCN2022093661-appb-000048
为在观测值已知条件下对x k的估计,
Figure PCTCN2022093661-appb-000049
Wherein, P k is the error covariance of the clock synchronization accuracy, ek is the estimation error of the clock state variable, ek T is the transposition matrix of ek ,
Figure PCTCN2022093661-appb-000047
x k is the clock state variable,
Figure PCTCN2022093661-appb-000048
is the estimation of x k under the condition that the observed value is known,
Figure PCTCN2022093661-appb-000049
基于上述任一实施例,所述时域资源配置优化问题表示为:Based on any of the above-mentioned embodiments, the time-domain resource allocation optimization problem is expressed as:
P1:max{U(B,λ)};P1:max{U(B,λ)};
Figure PCTCN2022093661-appb-000050
Figure PCTCN2022093661-appb-000050
C2:Tr(E[P k])+ΔE k≤B<T SC2: Tr(E[P k ])+ΔE k ≤ B<T S ;
C3:0<λ<1;C3: 0<λ<1;
其中,P1为所述时域资源配置优化问题的目标函数,C1至C3是目标函数P1的约束条件,U(B,λ)=R b,B为所述保时带长度,λ为所述数据包到达率,R b为网络吞吐量,P k为所述时钟同步精度的误差协方差,E[P k]为P k的期望值,E[P k]=AXA T+Q-λAXC T(CXC T+R) -1CXA T,X=E[P k-1],λ=E[γ k]=p d,ΔE k为同步过程中的固定误差,Tr(E[P k])为E[P k]的迹,T S为数据包时隙长度,A为系数矩阵,A T为系数矩阵的转置矩阵,Q为过程噪声的协方差矩阵,R为观测噪声的协方差,P k-1为k-1时刻的误差协方差矩阵。 Wherein, P1 is the objective function of the time-domain resource allocation optimization problem, C1 to C3 are the constraints of the objective function P1, U(B,λ)=R b , B is the length of the time-keeping band, and λ is the Packet arrival rate, R b is the network throughput, P k is the error covariance of the clock synchronization accuracy, E[P k ] is the expected value of P k , E[P k ]=AXA T +Q-λAXC T ( CXC T +R) -1 CXA T , X=E[P k-1 ], λ=E[γ k ]=p d , ΔE k is the fixed error in the synchronization process, Tr(E[P k ]) is The trace of E[P k ], T S is the time slot length of the data packet, A is the coefficient matrix, A T is the transpose matrix of the coefficient matrix, Q is the covariance matrix of the process noise, R is the covariance of the observation noise, P k-1 is the error covariance matrix at time k-1.
基于上述任一实施例,所述求解单元403具体用于:Based on any of the above embodiments, the solving unit 403 is specifically configured to:
将所述时域资源配置优化问题转换为凸优化问题:Convert the time-domain resource allocation optimization problem into a convex optimization problem:
P2:min{Tr(P k)E[a k|P k]-VU} P2:min{Tr(P k )E[a k |P k ]-VU}
s.t.C4:Tr(E[P k])+ΔE k≤B<T SstC4:Tr(E[P k ])+ΔE k ≤ B<T S ;
C5:0<λ<1;C5:0<λ<1;
其中,P2为所述凸优化问题的目标函数,C4和C5是目标函数P2的约束条件,Tr(P k)为P k的迹,a k为虚拟队列的随机到达过程,E[a k|P k]为P k已知的情况下a k的期望值,V为控制系数,
Figure PCTCN2022093661-appb-000051
Figure PCTCN2022093661-appb-000052
P k+1=max{P k-b k,0}+a k,b k为虚拟队列的离去过程,b k为常量,且b k≥E[a k];
Among them, P2 is the objective function of the convex optimization problem, C4 and C5 are the constraints of the objective function P2, Tr(P k ) is the trace of P k , a k is the random arrival process of the virtual queue, E[a k | P k ] is the expected value of a k when P k is known, V is the control coefficient,
Figure PCTCN2022093661-appb-000051
Figure PCTCN2022093661-appb-000052
P k+1 =max{P k -b k ,0}+a k , b k is the departure process of the virtual queue, b k is a constant, and b k ≥ E[a k ];
对所述凸优化问题进行求解,得到所述数据包到达率。Solving the convex optimization problem to obtain the data packet arrival rate.
基于上述任一实施例,所述确定单元404具体用于:Based on any of the above embodiments, the determining unit 404 is specifically configured to:
基于公式(4)确定所述网络吞吐量;Determine the network throughput based on formula (4);
Figure PCTCN2022093661-appb-000053
Figure PCTCN2022093661-appb-000053
其中,W e为保时带长度的等效带宽,
Figure PCTCN2022093661-appb-000054
Figure PCTCN2022093661-appb-000055
为Q(x)的反函数,
Figure PCTCN2022093661-appb-000056
1-λ为数据包丢失的概率,t为积分变量。
Among them, W e is the equivalent bandwidth of the time-guaranteed band length,
Figure PCTCN2022093661-appb-000054
Figure PCTCN2022093661-appb-000055
is the inverse function of Q(x),
Figure PCTCN2022093661-appb-000056
1-λ is the probability of packet loss, and t is the integral variable.
图5是本发明提供的电子设备的实体结构示意图,如图5所示,该电子设备可以包括:处理器(processor)510、通信接口(Communications Interface)520、存储器(memory)530和通信总线540,其中,处理器510,通信接口520,存储器530通过通信总线540完成相互间的通信。处理器510可以调用存储器530中的逻辑指令,以执行时域资源配置方法,该方法包括:获取时钟同步精度的误差协方差;Fig. 5 is a schematic diagram of the physical structure of the electronic device provided by the present invention. As shown in Fig. 5, the electronic device may include: a processor (processor) 510, a communication interface (Communications Interface) 520, a memory (memory) 530 and a communication bus 540 , wherein, the processor 510 , the communication interface 520 , and the memory 530 communicate with each other through the communication bus 540 . The processor 510 can call the logic instructions in the memory 530 to execute the time domain resource configuration method, the method includes: obtaining the error covariance of the clock synchronization accuracy;
基于所述时钟同步精度的误差协方差、保时带长度和数据包到达率构建时域资源配置优化问题;其中,所述时域资源配置优化问题为在保证时钟同步精度的条件下使网络吞吐量最大化的问题;Based on the error covariance of the clock synchronization accuracy, the time-guaranteed band length and the arrival rate of data packets, the time-domain resource allocation optimization problem is constructed; wherein, the time-domain resource allocation optimization problem is to make the network throughput under the condition of ensuring the clock synchronization accuracy The problem of maximizing the quantity;
对所述时域资源配置优化问题进行求解,得到所述数据包到达率;Solving the time-domain resource allocation optimization problem to obtain the data packet arrival rate;
基于所述数据包到达率和所述保时带长度确定所述网络吞吐量。The network throughput is determined based on the data packet arrival rate and the length of the timekeeping band.
此外,上述的存储器530中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above logic instructions in the memory 530 may be implemented in the form of software function units and be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
另一方面,本发明还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的时域资源配置方法,该方法包括:获取时钟同步精度的误差协方差;On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can Executing the time-domain resource allocation method provided by the above methods, the method includes: obtaining the error covariance of the clock synchronization accuracy;
基于所述时钟同步精度的误差协方差、保时带长度和数据包到达 率构建时域资源配置优化问题;其中,所述时域资源配置优化问题为在保证时钟同步精度的条件下使网络吞吐量最大化的问题;Based on the error covariance of the clock synchronization accuracy, the time-guaranteed band length and the arrival rate of data packets, the time-domain resource allocation optimization problem is constructed; wherein, the time-domain resource allocation optimization problem is to make the network throughput under the condition of ensuring the clock synchronization accuracy The problem of maximizing the quantity;
对所述时域资源配置优化问题进行求解,得到所述数据包到达率;Solving the time-domain resource allocation optimization problem to obtain the data packet arrival rate;
基于所述数据包到达率和所述保时带长度确定所述网络吞吐量。The network throughput is determined based on the data packet arrival rate and the length of the timekeeping band.
又一方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法提供的时域资源配置方法,该方法包括:获取时钟同步精度的误差协方差;In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is implemented to execute the time-domain resource allocation method provided by the above-mentioned methods, the method Including: obtaining the error covariance of clock synchronization accuracy;
基于所述时钟同步精度的误差协方差、保时带长度和数据包到达率构建时域资源配置优化问题;其中,所述时域资源配置优化问题为在保证时钟同步精度的条件下使网络吞吐量最大化的问题;Based on the error covariance of the clock synchronization accuracy, the time-guaranteed band length and the arrival rate of data packets, the time-domain resource allocation optimization problem is constructed; wherein, the time-domain resource allocation optimization problem is to make the network throughput under the condition of ensuring the clock synchronization accuracy The problem of maximizing the quantity;
对所述时域资源配置优化问题进行求解,得到所述数据包到达率;Solving the time-domain resource allocation optimization problem to obtain the data packet arrival rate;
基于所述数据包到达率和所述保时带长度确定所述网络吞吐量。The network throughput is determined based on the data packet arrival rate and the length of the timekeeping band.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然 也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (12)

  1. 一种时域资源配置方法,其特征在于,包括:A time-domain resource allocation method, characterized in that it includes:
    获取时钟同步精度的误差协方差;Obtain the error covariance of clock synchronization accuracy;
    基于所述时钟同步精度的误差协方差、保时带长度和数据包到达率构建时域资源配置优化问题;其中,所述时域资源配置优化问题为在保证时钟同步精度的条件下使网络吞吐量最大化的问题;Based on the error covariance of the clock synchronization accuracy, the time-guaranteed band length and the arrival rate of data packets, the time-domain resource allocation optimization problem is constructed; wherein, the time-domain resource allocation optimization problem is to make the network throughput under the condition of ensuring the clock synchronization accuracy The problem of maximizing the quantity;
    对所述时域资源配置优化问题进行求解,得到所述数据包到达率;Solving the time-domain resource allocation optimization problem to obtain the data packet arrival rate;
    基于所述数据包到达率和所述保时带长度确定所述网络吞吐量。The network throughput is determined based on the data packet arrival rate and the length of the timekeeping band.
  2. 根据权利要求1所述的时域资源配置方法,其特征在于,所述获取时钟同步精度的误差协方差包括:The method for configuring time-domain resources according to claim 1, wherein the error covariance of obtaining clock synchronization accuracy comprises:
    基于时间戳信息和时钟状态变量构建时间戳观测模型;Construct a timestamp observation model based on timestamp information and clock state variables;
    基于所述时间戳观测模型对网络时延确定性进行评估;Evaluating network delay certainty based on the time stamp observation model;
    基于评估后的时间戳观测模型确定时钟同步精度的误差协方差。The error covariance of the clock synchronization accuracy is determined based on the evaluated timestamp observation model.
  3. 根据权利要求2所述的时域资源配置方法,其特征在于,所述基于时间戳信息和时钟状态变量构建时间戳观测模型,包括:The time-domain resource configuration method according to claim 2, wherein said constructing a time stamp observation model based on time stamp information and clock state variables comprises:
    基于公式(1)构建所述时间戳观测模型;Build the time stamp observation model based on formula (1);
    z i,k=γ k[T i,1+T i,2-2t]=γ k[Cx i(k)+v i(k)]  (1) z i,kk [T i,1 +T i,2 -2t]=γ k [Cx i (k)+v i (k)] (1)
    其中,z i,k为所述时间戳观测模型,γ k为二元伯努利随机变量,i为基站节点的数量,T i,1为基站节点gNB i向授时终端节点UE j发送时间同步变量的时刻,T i,2为基站节点gNB i收到终端节点UE j回复时间同步变量的时刻,j为终端节点的数量,t为理想参考时间,C为观测 矩阵,C=[0 2],x i(k)为基站节点gNB i的时钟状态变量,k为时钟同步过程的第k周期,v i(k)为观测噪声,v i(k)=d i+Y i,k,v i(k)为服从N(0,R)分布的高斯随机变量,d i为同步过程中产生的固定时延,Y i,k为由于无线信道的随机性产生的随机时延。 Among them, z i,k is the time stamp observation model, γ k is a binary Bernoulli random variable, i is the number of base station nodes, T i,1 is the time synchronization sent by base station node gNB i to timing terminal node UE j The moment of the variable, T i,2 is the moment when the base station node gNB i receives the reply time synchronization variable from the terminal node UE j , j is the number of terminal nodes, t is the ideal reference time, C is the observation matrix, C=[0 2] , x i (k) is the clock state variable of the base station node gNB i , k is the kth period of the clock synchronization process, v i (k) is the observation noise, v i (k)=d i +Y i,k , v i (k) is a Gaussian random variable that obeys the N(0,R) distribution, d i is the fixed time delay generated during the synchronization process, and Y i, k is the random time delay generated due to the randomness of the wireless channel.
  4. 根据权利要求3所述的时域资源配置方法,其特征在于,所述基于所述时间戳观测模型对网络时延确定性进行评估,包括:The time-domain resource configuration method according to claim 3, wherein the evaluation of network delay certainty based on the time stamp observation model includes:
    求解公式(2)中的无线网络时延确定性的置信度;Solving the confidence degree of the wireless network delay certainty in the formula (2);
    p d=p{t l<x<αt u}p{0<w<(1-α)t u}  (2) p d =p{t l <x<αt u }p{0<w<(1-α)t u } (2)
    其中,p d为所述无线网络时延确定性的置信度,α为时延比例因子,0<α<t l/t u,t l为传输时延和排队时延之和的下界,t u为传输时延和排队时延之和的上界,x为传输时延的随机变量,w为无线网络中节点的排队时延随机变量;p{t l<x<αt u}为x落在t l与αt u之间的概率值;
    Figure PCTCN2022093661-appb-100001
    z(t)=(2 L/(Wt)-1)/c,L为发送数据包的长度,W为信道的带宽,c为接收信噪比的常量系数;p{0<w<(1-α)t u}为w落在0与(1-α)t u之间的概率值;
    Figure PCTCN2022093661-appb-100002
    θ满足约束条件E[e θA(1)]E[e -θS(1)]≤1,A(1)为单位时间内的数据到达量,S(1)为单位时间内的数据服务量,S[(1-α)t u]为(0,(1-α)t u)时段内的数据服务量;
    Among them, p d is the confidence degree of the wireless network delay determinism, α is the delay scaling factor, 0<α<t l /t u , t l is the lower bound of the sum of transmission delay and queuing delay, t u is the upper bound of the sum of transmission delay and queuing delay, x is the random variable of transmission delay, w is the random variable of queuing delay of nodes in the wireless network; p{t l <x<αt u } is the Probability value between t l and αt u ;
    Figure PCTCN2022093661-appb-100001
    z(t)=(2 L/(Wt) -1)/c, L is the length of the transmitted data packet, W is the bandwidth of the channel, and c is the constant coefficient of the receiving SNR; p{0<w<(1 -α)t u } is the probability value of w falling between 0 and (1-α)t u ;
    Figure PCTCN2022093661-appb-100002
    θ satisfies the constraint condition E[e θA(1) ]E[e -θS(1) ]≤1, A(1) is the amount of data arrival per unit time, S(1) is the data service volume per unit time, S[(1-α)t u ] is the data service volume in (0,(1-α)t u ) period;
    基于所述无线网络时延确定性的置信度确定γ k的分布。 The distribution of γ k is determined based on the confidence of the wireless network delay determinism.
  5. 根据权利要求4所述的时域资源配置方法,其特征在于,所 述基于评估后的时间戳观测模型确定时钟同步精度的误差协方差,包括:The time-domain resource configuration method according to claim 4, wherein the error covariance of determining the clock synchronization accuracy based on the evaluated time stamp observation model comprises:
    基于公式(3)确定所述时钟同步精度的误差协方差;Determine the error covariance of the clock synchronization accuracy based on formula (3);
    P k=E[e ke k T]  (3) P k =E[e k e k T ] (3)
    其中,P k为所述时钟同步精度的误差协方差,e k为时钟状态变量的估计误差,e k T为e k的转置矩阵,
    Figure PCTCN2022093661-appb-100003
    x k为时钟状态变量,
    Figure PCTCN2022093661-appb-100004
    为在观测值已知条件下对x k的估计,
    Figure PCTCN2022093661-appb-100005
    Wherein, P k is the error covariance of the clock synchronization accuracy, ek is the estimation error of the clock state variable, ek T is the transposition matrix of ek ,
    Figure PCTCN2022093661-appb-100003
    x k is the clock state variable,
    Figure PCTCN2022093661-appb-100004
    is the estimation of x k under the condition that the observed value is known,
    Figure PCTCN2022093661-appb-100005
  6. 根据权利要求5所述的时域资源配置方法,其特征在于,所述时域资源配置优化问题表示为:The time-domain resource allocation method according to claim 5, wherein the time-domain resource allocation optimization problem is expressed as:
    P1:max{U(B,λ)};P1:max{U(B,λ)};
    Figure PCTCN2022093661-appb-100006
    Figure PCTCN2022093661-appb-100006
    C2:Tr(E[P k])+ΔE k≤B<T SC2: Tr(E[P k ])+ΔE k ≤ B<T S ;
    C3:0<λ<1;C3:0<λ<1;
    其中,P1为所述时域资源配置优化问题的目标函数,C1至C3是目标函数P1的约束条件,U(B,λ)=R b,B为所述保时带长度,λ为所述数据包到达率,R b为网络吞吐量,P k为所述时钟同步精度的误差协方差,E[P k]为P k的期望值,E[P k]=AXA T+Q-λAXC T(CXC T+R) -1CXA T,X=E[P k-1],λ=E[γ k]=p d,ΔE k为同步过程中的固定误差,Tr(E[P k])为E[P k]的迹,T S为数据包时隙长度,A为系数矩阵,A T为系数矩阵的转置矩阵,Q为过程噪声的协方差矩阵,R为观测噪声的协方差,P k-1为k-1时刻的误差协方差矩阵。 Wherein, P1 is the objective function of the time-domain resource allocation optimization problem, C1 to C3 are the constraints of the objective function P1, U(B,λ)=R b , B is the length of the time-keeping band, and λ is the Packet arrival rate, R b is the network throughput, P k is the error covariance of the clock synchronization accuracy, E[P k ] is the expected value of P k , E[P k ]=AXA T +Q-λAXC T ( CXC T +R) -1 CXA T , X=E[P k-1 ], λ=E[γ k ]=p d , ΔE k is the fixed error in the synchronization process, Tr(E[P k ]) is The trace of E[P k ], T S is the time slot length of the data packet, A is the coefficient matrix, A T is the transpose matrix of the coefficient matrix, Q is the covariance matrix of the process noise, R is the covariance of the observation noise, P k-1 is the error covariance matrix at time k-1.
  7. 根据权利要求6所述的时域资源配置方法,其特征在于,所述对所述时域资源配置优化问题进行求解,得到所述数据包到达率,包括:The time domain resource allocation method according to claim 6, wherein said solving the time domain resource allocation optimization problem to obtain the data packet arrival rate comprises:
    将所述时域资源配置优化问题转换为凸优化问题:Convert the time-domain resource allocation optimization problem into a convex optimization problem:
    P2:min{Tr(P k)E[a k|P k]-VU} P2:min{Tr(P k )E[a k |P k ]-VU}
    s.t.C4:Tr(E[P k])+ΔE k≤B<T SstC4:Tr(E[P k ])+ΔE k ≤ B<T S ;
    C5:0<λ<1;C5:0<λ<1;
    其中,P2为所述凸优化问题的目标函数,C4和C5是目标函数P2的约束条件,Tr(P k)为P k的迹,a k为虚拟队列的随机到达过程,E[a k|P k]为P k已知的情况下a k的期望值,V为控制系数,
    Figure PCTCN2022093661-appb-100007
    Figure PCTCN2022093661-appb-100008
    P k+1=max{P k-b k,0}+a k,b k为虚拟队列的离去过程,b k为常量,且b k≥E[a k];
    Among them, P2 is the objective function of the convex optimization problem, C4 and C5 are the constraints of the objective function P2, Tr(P k ) is the trace of P k , a k is the random arrival process of the virtual queue, E[a k | P k ] is the expected value of a k when P k is known, V is the control coefficient,
    Figure PCTCN2022093661-appb-100007
    Figure PCTCN2022093661-appb-100008
    P k+1 =max{P k -b k ,0}+a k , b k is the departure process of the virtual queue, b k is a constant, and b k ≥ E[a k ];
    对所述凸优化问题进行求解,得到所述数据包到达率。Solving the convex optimization problem to obtain the data packet arrival rate.
  8. 根据权利要求7所述的时域资源配置方法,其特征在于,所述基于所述数据包到达率和所述保时带长度确定所述网络吞吐量,包括:The method for configuring time-domain resources according to claim 7, wherein said determining said network throughput based on said data packet arrival rate and said time-guaranteed band length comprises:
    基于公式(4)确定所述网络吞吐量;Determine the network throughput based on formula (4);
    Figure PCTCN2022093661-appb-100009
    Figure PCTCN2022093661-appb-100009
    其中,W e为保时带长度的等效带宽,
    Figure PCTCN2022093661-appb-100010
    为Q(x)的反函数,
    Figure PCTCN2022093661-appb-100011
    1-λ为数据包丢失的概率,t为 积分变量。
    Among them, W e is the equivalent bandwidth of the time-guaranteed band length,
    Figure PCTCN2022093661-appb-100010
    is the inverse function of Q(x),
    Figure PCTCN2022093661-appb-100011
    1-λ is the probability of packet loss, and t is the integral variable.
  9. 一种时域资源配置装置,其特征在于,A time-domain resource allocation device, characterized in that,
    获取单元,用于获取时钟同步精度的误差协方差;An acquisition unit, configured to acquire the error covariance of the clock synchronization accuracy;
    构建单元,用于基于所述时钟同步精度的误差协方差、保时带长度和数据包到达率构建时域资源配置优化问题;其中,所述时域资源配置优化问题为在保证时钟同步精度的条件下使网络吞吐量最大化的问题;A construction unit for constructing a time-domain resource configuration optimization problem based on the error covariance of the clock synchronization accuracy, the time-guaranteed band length, and the arrival rate of data packets; wherein, the time-domain resource configuration optimization problem is to ensure clock synchronization accuracy The problem of maximizing network throughput under the condition;
    求解单元,用于对所述时域资源配置优化问题进行求解,得到所述数据包到达率;A solving unit, configured to solve the time-domain resource allocation optimization problem to obtain the data packet arrival rate;
    确定单元,用于基于所述数据包到达率和所述保时带长度确定所述网络吞吐量。A determining unit, configured to determine the network throughput based on the arrival rate of the data packet and the length of the time guarantee band.
  10. 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至8任一项所述时域资源配置方法的步骤。An electronic device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, characterized in that, when the processor executes the program, it implements claims 1 to 8 Steps in any one of the time-domain resource configuration methods.
  11. 一种非暂态计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至8任一项所述时域资源配置方法的步骤。A non-transitory computer-readable storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the method for configuring time-domain resources according to any one of claims 1 to 8 are implemented .
  12. 一种计算机程序产品,包括计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至8任一项所述时域资源配置方法的步骤。A computer program product, comprising a computer program, characterized in that, when the computer program is executed by a processor, the steps of the method for configuring time-domain resources according to any one of claims 1 to 8 are implemented.
PCT/CN2022/093661 2021-12-17 2022-05-18 Time domain resource configuration method and apparatus, electronic device, and storage medium WO2023109007A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111555422.1 2021-12-17
CN202111555422.1A CN114501644A (en) 2021-12-17 2021-12-17 Time domain resource configuration method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023109007A1 true WO2023109007A1 (en) 2023-06-22

Family

ID=81494416

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/093661 WO2023109007A1 (en) 2021-12-17 2022-05-18 Time domain resource configuration method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN114501644A (en)
WO (1) WO2023109007A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117176618A (en) * 2023-11-03 2023-12-05 中国西安卫星测控中心 Performance evaluation method for network data exchange software system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501644A (en) * 2021-12-17 2022-05-13 北京邮电大学 Time domain resource configuration method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313251A (en) * 2013-06-04 2013-09-18 北京邮电大学 Multi-cell cooperative resource allocation method based on potential game theory
CN106454920A (en) * 2016-11-02 2017-02-22 北京邮电大学 Resource allocation optimization algorithm based on time delay guarantee in LTE (Long Term Evolution) and D2D (Device-to-Device) hybrid network
CN111726811A (en) * 2020-05-26 2020-09-29 国网浙江省电力有限公司嘉兴供电公司 Slice resource allocation method and system for cognitive wireless network
CN112566131A (en) * 2020-11-17 2021-03-26 西安电子科技大学 C-RAN network resource allocation method based on time delay constraint
CN114501644A (en) * 2021-12-17 2022-05-13 北京邮电大学 Time domain resource configuration method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313251A (en) * 2013-06-04 2013-09-18 北京邮电大学 Multi-cell cooperative resource allocation method based on potential game theory
CN106454920A (en) * 2016-11-02 2017-02-22 北京邮电大学 Resource allocation optimization algorithm based on time delay guarantee in LTE (Long Term Evolution) and D2D (Device-to-Device) hybrid network
CN111726811A (en) * 2020-05-26 2020-09-29 国网浙江省电力有限公司嘉兴供电公司 Slice resource allocation method and system for cognitive wireless network
CN112566131A (en) * 2020-11-17 2021-03-26 西安电子科技大学 C-RAN network resource allocation method based on time delay constraint
CN114501644A (en) * 2021-12-17 2022-05-13 北京邮电大学 Time domain resource configuration method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117176618A (en) * 2023-11-03 2023-12-05 中国西安卫星测控中心 Performance evaluation method for network data exchange software system
CN117176618B (en) * 2023-11-03 2024-01-09 中国西安卫星测控中心 Performance evaluation method for network data exchange software system

Also Published As

Publication number Publication date
CN114501644A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
WO2023109007A1 (en) Time domain resource configuration method and apparatus, electronic device, and storage medium
Fujimoto et al. Network simulation
Khujamatov et al. Markov chain based modeling bandwith states of the wireless sensor networks of monitoring system
EP1424809B1 (en) Decentralized SLS monitoring in a differentiated service environment
Garetto et al. Performance analysis of 802.11 WLANs under sporadic traffic
Chen et al. Towards IEEE 802.15. 4e: A study of performance aspects
Cao et al. Delay characterization of mobile-edge computing for 6G time-sensitive services
Kermajani et al. Modeling the message count of the Trickle algorithm in a steady-state, static wireless sensor network
Martalò et al. Markov chain-based performance analysis of multihop IEEE 802.15. 4 wireless networks
Zhou et al. Analysis and implementation of packet preemption for time sensitive networks
Burns et al. Airtight: A resilient wireless communication protocol for mixed-criticality systems
Rabi et al. Networked estimation under contention‐based medium access
Srivastava et al. Performance analysis of beacon-less IEEE 802.15. 4 multi-hop networks
Ganjalizadeh et al. Translating cyber-physical control application requirements to network level parameters
Vlachou et al. How CSMA/CA with deferral affects performance and dynamics in power-line communications
Huang et al. Flexible cyclic queuing and forwarding for time-sensitive software-defined networks
Agoujil et al. Stochastic modeling and analysis of DTN networks
Liu et al. Fusion of state estimates over long-haul sensor networks with random loss and delay
CN109510681A (en) A kind of communication system time synchronization the smallest datum node selection method of series
Meyer et al. Improving lookahead in parallel wireless network simulation
Swain et al. A weighted average–based external clock synchronisation protocol for wireless sensor networks
Czachórski et al. A diffusion approximation model for wireless networks based on IEEE 802.11 standard
Chiariotti et al. Age of information in multihop connections with tributary traffic and no preemption
Chen et al. A dynamic estimation of the unsaturated buffer in the IEEE 802.11 DCF network: A particle filter framework approach
Hung et al. Throughput analysis and bandwidth allocation for IEEE 802.11 WLAN with hidden terminals

Legal Events

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

Ref document number: 22905775

Country of ref document: EP

Kind code of ref document: A1